2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for geeqie 1.6.
5 # Report bugs to <https://github.com/BestImageViewer/geeqie/issues>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
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+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
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
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
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
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 :
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+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
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; }
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 :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || 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 :
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir=.
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 :
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
240 if test "x$CONFIG_SHELL" != x; then :
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.
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250 *v*x* | *x*v* ) as_opts=-vx ;;
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
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."
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."
279 SHELL=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir=./$as_dir;;
324 test -d "$as_dir" || eval $as_mkdir_p || {
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
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
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
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 :
401 as_val=`expr "$@" || test $? -eq 1`
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.
413 as_status=$1; test $as_status -eq 0 && as_status=1
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
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
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
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. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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; }
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).
499 # Exit status is that of the last command.
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
532 elif ln conf$$.file conf$$ 2>/dev/null; then
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
546 test -d ./-p && rmdir ./-p
551 as_executable_p=as_fn_executable_p
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'"
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'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
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`
571 ac_default_prefix=/usr/local
573 ac_config_libobj_dir=.
580 # Identity of this package.
581 PACKAGE_NAME='geeqie'
582 PACKAGE_TARNAME='geeqie'
583 PACKAGE_VERSION='1.6'
584 PACKAGE_STRING='geeqie 1.6'
585 PACKAGE_BUGREPORT='https://github.com/BestImageViewer/geeqie/issues'
586 PACKAGE_URL='http://www.geeqie.org/'
588 ac_unique_file="src/main.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars='am__EXEEXT_FALSE
655 HAVE_LIBCHAMPLAIN_GTK_FALSE
656 HAVE_LIBCHAMPLAIN_GTK_TRUE
657 LIBCHAMPLAIN_GTK_LIBS
658 LIBCHAMPLAIN_GTK_CFLAGS
679 CONFIG_STATUS_DEPENDENCIES
684 HAVE_FFMPEGTHUMBNAILER_FALSE
685 HAVE_FFMPEGTHUMBNAILER_TRUE
686 FFMPEGTHUMBNAILER_LIBS
687 FFMPEGTHUMBNAILER_CFLAGS
711 GLIB_COMPILE_RESOURCES
720 EXTERNAL_PREFIX_FALSE
724 MS_LIB_AVAILABLE_FALSE
725 MS_LIB_AVAILABLE_TRUE
742 INTLTOOL_SERVICE_RULE
744 INTLTOOL_SCHEMAS_RULE
746 INTLTOOL_XML_NOMERGE_RULE
751 INTLTOOL_SOUNDLIST_RULE
758 INTLTOOL_DIRECTORY_RULE
759 INTLTOOL_DESKTOP_RULE
760 intltool__v_merge_options_0
761 intltool__v_merge_options_
762 INTLTOOL_V_MERGE_OPTIONS
837 DX_FLAG_DX_CURRENT_FEATURE
845 MAINTAINER_MODE_FALSE
859 INSTALL_STRIP_PROGRAM
902 program_transform_name
916 enable_option_checking
918 enable_maintainer_mode
933 enable_dependency_tracking
947 enable_ffmpegthumbnailer
958 ac_precious_vars='build_alias
979 GLIB_COMPILE_RESOURCES
984 FFMPEGTHUMBNAILER_CFLAGS
985 FFMPEGTHUMBNAILER_LIBS
994 LIBCHAMPLAIN_GTK_CFLAGS
995 LIBCHAMPLAIN_GTK_LIBS
1010 # Initialize some variables set by options.
1012 ac_init_version=false
1013 ac_unrecognized_opts=
1014 ac_unrecognized_sep=
1015 # The variables have the same names as the options, with
1016 # dashes changed to underlines.
1017 cache_file=/dev/null
1024 program_transform_name=s,x,x,
1032 # Installation directory options.
1033 # These are left unexpanded so users can "make install exec_prefix=/foo"
1034 # and all the variables that are supposed to be based on exec_prefix
1035 # by default will actually change.
1036 # Use braces instead of parens because sh, perl, etc. also accept them.
1037 # (The list follows the same order as the GNU Coding Standards.)
1038 bindir='${exec_prefix}/bin'
1039 sbindir='${exec_prefix}/sbin'
1040 libexecdir='${exec_prefix}/libexec'
1041 datarootdir='${prefix}/share'
1042 datadir='${datarootdir}'
1043 sysconfdir='${prefix}/etc'
1044 sharedstatedir='${prefix}/com'
1045 localstatedir='${prefix}/var'
1046 runstatedir='${localstatedir}/run'
1047 includedir='${prefix}/include'
1048 oldincludedir='/usr/include'
1049 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1050 infodir='${datarootdir}/info'
1055 libdir='${exec_prefix}/lib'
1056 localedir='${datarootdir}/locale'
1057 mandir='${datarootdir}/man'
1063 # If the previous option needs an argument, assign it.
1064 if test -n "$ac_prev"; then
1065 eval $ac_prev=\$ac_option
1071 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1076 # Accept the important Cygnus configure options, so we can diagnose typos.
1078 case $ac_dashdash$ac_option in
1082 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1084 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1085 bindir=$ac_optarg ;;
1087 -build | --build | --buil | --bui | --bu)
1088 ac_prev=build_alias ;;
1089 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1090 build_alias=$ac_optarg ;;
1092 -cache-file | --cache-file | --cache-fil | --cache-fi \
1093 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1094 ac_prev=cache_file ;;
1095 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1096 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1097 cache_file=$ac_optarg ;;
1099 --config-cache | -C)
1100 cache_file=config.cache ;;
1102 -datadir | --datadir | --datadi | --datad)
1104 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1105 datadir=$ac_optarg ;;
1107 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1108 | --dataroo | --dataro | --datar)
1109 ac_prev=datarootdir ;;
1110 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1111 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1112 datarootdir=$ac_optarg ;;
1114 -disable-* | --disable-*)
1115 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1116 # Reject names that are not valid shell variable names.
1117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1118 as_fn_error $? "invalid feature name: $ac_useropt"
1119 ac_useropt_orig=$ac_useropt
1120 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1121 case $ac_user_opts in
1123 "enable_$ac_useropt"
1125 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1126 ac_unrecognized_sep=', ';;
1128 eval enable_$ac_useropt=no ;;
1130 -docdir | --docdir | --docdi | --doc | --do)
1132 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1133 docdir=$ac_optarg ;;
1135 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1137 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1138 dvidir=$ac_optarg ;;
1140 -enable-* | --enable-*)
1141 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1142 # Reject names that are not valid shell variable names.
1143 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1144 as_fn_error $? "invalid feature name: $ac_useropt"
1145 ac_useropt_orig=$ac_useropt
1146 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1147 case $ac_user_opts in
1149 "enable_$ac_useropt"
1151 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1152 ac_unrecognized_sep=', ';;
1154 eval enable_$ac_useropt=\$ac_optarg ;;
1156 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1157 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1158 | --exec | --exe | --ex)
1159 ac_prev=exec_prefix ;;
1160 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1161 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1162 | --exec=* | --exe=* | --ex=*)
1163 exec_prefix=$ac_optarg ;;
1165 -gas | --gas | --ga | --g)
1166 # Obsolete; use --with-gas.
1169 -help | --help | --hel | --he | -h)
1170 ac_init_help=long ;;
1171 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1172 ac_init_help=recursive ;;
1173 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1174 ac_init_help=short ;;
1176 -host | --host | --hos | --ho)
1177 ac_prev=host_alias ;;
1178 -host=* | --host=* | --hos=* | --ho=*)
1179 host_alias=$ac_optarg ;;
1181 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1183 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1185 htmldir=$ac_optarg ;;
1187 -includedir | --includedir | --includedi | --included | --include \
1188 | --includ | --inclu | --incl | --inc)
1189 ac_prev=includedir ;;
1190 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1191 | --includ=* | --inclu=* | --incl=* | --inc=*)
1192 includedir=$ac_optarg ;;
1194 -infodir | --infodir | --infodi | --infod | --info | --inf)
1196 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1197 infodir=$ac_optarg ;;
1199 -libdir | --libdir | --libdi | --libd)
1201 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1202 libdir=$ac_optarg ;;
1204 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1205 | --libexe | --libex | --libe)
1206 ac_prev=libexecdir ;;
1207 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1208 | --libexe=* | --libex=* | --libe=*)
1209 libexecdir=$ac_optarg ;;
1211 -localedir | --localedir | --localedi | --localed | --locale)
1212 ac_prev=localedir ;;
1213 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1214 localedir=$ac_optarg ;;
1216 -localstatedir | --localstatedir | --localstatedi | --localstated \
1217 | --localstate | --localstat | --localsta | --localst | --locals)
1218 ac_prev=localstatedir ;;
1219 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1220 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1221 localstatedir=$ac_optarg ;;
1223 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1225 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1226 mandir=$ac_optarg ;;
1228 -nfp | --nfp | --nf)
1229 # Obsolete; use --without-fp.
1232 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1233 | --no-cr | --no-c | -n)
1236 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1237 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1240 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1241 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1242 | --oldin | --oldi | --old | --ol | --o)
1243 ac_prev=oldincludedir ;;
1244 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1245 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1246 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1247 oldincludedir=$ac_optarg ;;
1249 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1251 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1252 prefix=$ac_optarg ;;
1254 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1255 | --program-pre | --program-pr | --program-p)
1256 ac_prev=program_prefix ;;
1257 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1258 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1259 program_prefix=$ac_optarg ;;
1261 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1262 | --program-suf | --program-su | --program-s)
1263 ac_prev=program_suffix ;;
1264 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1265 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1266 program_suffix=$ac_optarg ;;
1268 -program-transform-name | --program-transform-name \
1269 | --program-transform-nam | --program-transform-na \
1270 | --program-transform-n | --program-transform- \
1271 | --program-transform | --program-transfor \
1272 | --program-transfo | --program-transf \
1273 | --program-trans | --program-tran \
1274 | --progr-tra | --program-tr | --program-t)
1275 ac_prev=program_transform_name ;;
1276 -program-transform-name=* | --program-transform-name=* \
1277 | --program-transform-nam=* | --program-transform-na=* \
1278 | --program-transform-n=* | --program-transform-=* \
1279 | --program-transform=* | --program-transfor=* \
1280 | --program-transfo=* | --program-transf=* \
1281 | --program-trans=* | --program-tran=* \
1282 | --progr-tra=* | --program-tr=* | --program-t=*)
1283 program_transform_name=$ac_optarg ;;
1285 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1287 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1288 pdfdir=$ac_optarg ;;
1290 -psdir | --psdir | --psdi | --psd | --ps)
1292 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1295 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1296 | -silent | --silent | --silen | --sile | --sil)
1299 -runstatedir | --runstatedir | --runstatedi | --runstated \
1300 | --runstate | --runstat | --runsta | --runst | --runs \
1301 | --run | --ru | --r)
1302 ac_prev=runstatedir ;;
1303 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1304 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1305 | --run=* | --ru=* | --r=*)
1306 runstatedir=$ac_optarg ;;
1308 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1310 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1312 sbindir=$ac_optarg ;;
1314 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1315 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1316 | --sharedst | --shareds | --shared | --share | --shar \
1318 ac_prev=sharedstatedir ;;
1319 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1320 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1321 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1323 sharedstatedir=$ac_optarg ;;
1325 -site | --site | --sit)
1327 -site=* | --site=* | --sit=*)
1330 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1332 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1333 srcdir=$ac_optarg ;;
1335 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1336 | --syscon | --sysco | --sysc | --sys | --sy)
1337 ac_prev=sysconfdir ;;
1338 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1339 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1340 sysconfdir=$ac_optarg ;;
1342 -target | --target | --targe | --targ | --tar | --ta | --t)
1343 ac_prev=target_alias ;;
1344 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1345 target_alias=$ac_optarg ;;
1347 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1350 -version | --version | --versio | --versi | --vers | -V)
1351 ac_init_version=: ;;
1354 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1355 # Reject names that are not valid shell variable names.
1356 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1357 as_fn_error $? "invalid package name: $ac_useropt"
1358 ac_useropt_orig=$ac_useropt
1359 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1360 case $ac_user_opts in
1364 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1365 ac_unrecognized_sep=', ';;
1367 eval with_$ac_useropt=\$ac_optarg ;;
1369 -without-* | --without-*)
1370 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1371 # Reject names that are not valid shell variable names.
1372 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1373 as_fn_error $? "invalid package name: $ac_useropt"
1374 ac_useropt_orig=$ac_useropt
1375 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1376 case $ac_user_opts in
1380 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1381 ac_unrecognized_sep=', ';;
1383 eval with_$ac_useropt=no ;;
1386 # Obsolete; use --with-x.
1389 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1390 | --x-incl | --x-inc | --x-in | --x-i)
1391 ac_prev=x_includes ;;
1392 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1393 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1394 x_includes=$ac_optarg ;;
1396 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1397 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1398 ac_prev=x_libraries ;;
1399 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1400 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1401 x_libraries=$ac_optarg ;;
1403 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1404 Try \`$0 --help' for more information"
1408 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1409 # Reject names that are not valid shell variable names.
1410 case $ac_envvar in #(
1411 '' | [0-9]* | *[!_$as_cr_alnum]* )
1412 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1414 eval $ac_envvar=\$ac_optarg
1415 export $ac_envvar ;;
1418 # FIXME: should be removed in autoconf 3.0.
1419 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1420 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1421 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1422 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1428 if test -n "$ac_prev"; then
1429 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1430 as_fn_error $? "missing argument to $ac_option"
1433 if test -n "$ac_unrecognized_opts"; then
1434 case $enable_option_checking in
1436 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1437 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1441 # Check all directory arguments for consistency.
1442 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1443 datadir sysconfdir sharedstatedir localstatedir includedir \
1444 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1445 libdir localedir mandir runstatedir
1447 eval ac_val=\$$ac_var
1448 # Remove trailing slashes.
1451 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1452 eval $ac_var=\$ac_val;;
1454 # Be sure to have absolute directory names.
1456 [\\/$]* | ?:[\\/]* ) continue;;
1457 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1459 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1462 # There might be people who depend on the old broken behavior: `$host'
1463 # used to hold the argument of --host etc.
1464 # FIXME: To remove some day.
1467 target=$target_alias
1469 # FIXME: To remove some day.
1470 if test "x$host_alias" != x; then
1471 if test "x$build_alias" = x; then
1472 cross_compiling=maybe
1473 elif test "x$build_alias" != "x$host_alias"; then
1479 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1481 test "$silent" = yes && exec 6>/dev/null
1484 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1485 ac_ls_di=`ls -di .` &&
1486 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1487 as_fn_error $? "working directory cannot be determined"
1488 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1489 as_fn_error $? "pwd does not report name of working directory"
1492 # Find the source files, if location was not specified.
1493 if test -z "$srcdir"; then
1494 ac_srcdir_defaulted=yes
1495 # Try the directory containing this script, then the parent directory.
1496 ac_confdir=`$as_dirname -- "$as_myself" ||
1497 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1498 X"$as_myself" : 'X\(//\)[^/]' \| \
1499 X"$as_myself" : 'X\(//\)$' \| \
1500 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1501 $as_echo X"$as_myself" |
1502 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1520 if test ! -r "$srcdir/$ac_unique_file"; then
1524 ac_srcdir_defaulted=no
1526 if test ! -r "$srcdir/$ac_unique_file"; then
1527 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1528 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1530 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1532 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1534 # When building in place, set srcdir=.
1535 if test "$ac_abs_confdir" = "$ac_pwd"; then
1538 # Remove unnecessary trailing slashes from srcdir.
1539 # Double slashes in file names in object file debugging info
1540 # mess up M-x gdb in Emacs.
1542 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1544 for ac_var in $ac_precious_vars; do
1545 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1546 eval ac_env_${ac_var}_value=\$${ac_var}
1547 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1548 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1552 # Report the --help message.
1554 if test "$ac_init_help" = "long"; then
1555 # Omit some internal or obsolete options to make the list less imposing.
1556 # This message is too long to be a string in the A/UX 3.1 sh.
1558 \`configure' configures geeqie 1.6 to adapt to many kinds of systems.
1560 Usage: $0 [OPTION]... [VAR=VALUE]...
1562 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1563 VAR=VALUE. See below for descriptions of some of the useful variables.
1565 Defaults for the options are specified in brackets.
1568 -h, --help display this help and exit
1569 --help=short display options specific to this package
1570 --help=recursive display the short help of all the included packages
1571 -V, --version display version information and exit
1572 -q, --quiet, --silent do not print \`checking ...' messages
1573 --cache-file=FILE cache test results in FILE [disabled]
1574 -C, --config-cache alias for \`--cache-file=config.cache'
1575 -n, --no-create do not create output files
1576 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1578 Installation directories:
1579 --prefix=PREFIX install architecture-independent files in PREFIX
1580 [$ac_default_prefix]
1581 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1584 By default, \`make install' will install all the files in
1585 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1586 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1587 for instance \`--prefix=\$HOME'.
1589 For better control, use the options below.
1591 Fine tuning of the installation directories:
1592 --bindir=DIR user executables [EPREFIX/bin]
1593 --sbindir=DIR system admin executables [EPREFIX/sbin]
1594 --libexecdir=DIR program executables [EPREFIX/libexec]
1595 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1596 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1597 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1598 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1599 --libdir=DIR object code libraries [EPREFIX/lib]
1600 --includedir=DIR C header files [PREFIX/include]
1601 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1602 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1603 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1604 --infodir=DIR info documentation [DATAROOTDIR/info]
1605 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1606 --mandir=DIR man documentation [DATAROOTDIR/man]
1607 --docdir=DIR documentation root [DATAROOTDIR/doc/geeqie]
1608 --htmldir=DIR html documentation [DOCDIR]
1609 --dvidir=DIR dvi documentation [DOCDIR]
1610 --pdfdir=DIR pdf documentation [DOCDIR]
1611 --psdir=DIR ps documentation [DOCDIR]
1617 --program-prefix=PREFIX prepend PREFIX to installed program names
1618 --program-suffix=SUFFIX append SUFFIX to installed program names
1619 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1623 if test -n "$ac_init_help"; then
1624 case $ac_init_help in
1625 short | recursive ) echo "Configuration of geeqie 1.6:";;
1630 --disable-option-checking ignore unrecognized --enable/--with options
1631 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1632 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1633 --enable-silent-rules less verbose build output (undo: "make V=1")
1634 --disable-silent-rules verbose build output (undo: "make V=0")
1635 --enable-maintainer-mode
1636 enable make rules and dependencies not useful (and
1637 sometimes confusing) to the casual installer
1639 Development options:
1640 --enable-developer turn on developers mode [default=no]
1641 --disable-doxygen-doc don't generate any doxygen documentation
1642 --disable-doxygen-dot don't generate graphics for doxygen documentation
1643 --enable-doxygen-man generate doxygen manual pages
1644 --enable-doxygen-rtf generate doxygen RTF documentation
1645 --enable-doxygen-xml generate doxygen XML documentation
1646 --enable-doxygen-chm generate doxygen compressed HTML help documentation
1647 --enable-doxygen-chi generate doxygen seperate compressed HTML help index
1649 --disable-doxygen-html don't generate doxygen plain HTML documentation
1650 --enable-doxygen-ps generate doxygen PostScript documentation
1651 --enable-doxygen-pdf generate doxygen PDF documentation
1653 Development options:
1654 --enable-debug-flags use compiler flags for debugging [default=no]
1656 Development options:
1657 --enable-debug-log enable debugging messages [default=yes]
1659 --enable-deprecated turn off checking of deprecated functions
1661 --enable-dependency-tracking
1662 do not reject slow dependency extractors
1663 --disable-dependency-tracking
1664 speeds up one-time build
1665 --disable-largefile omit support for large files
1666 --disable-nls do not use Native Language Support
1667 --disable-glibtest do not try to compile and run a test GLIB program
1668 --disable-gtk3 use gtk2 instead of gtk3
1669 --disable-gtktest do not try to compile and run a test GTK+ program
1670 --disable-threads disable thread support
1671 --disable-lirc disable lirc support (auto)
1672 --disable-lcms disable lcms support
1673 --disable-jpeg disable direct jpeg support
1674 --disable-tiff disable direct tiff support
1675 --disable-ffmpegthumbnailer
1676 disable ffmpegthumbnailer support for generating
1677 thumbnails of video files
1678 --disable-exiv2 disable exiv2 support
1679 --disable-map disable map support
1680 --disable-gpu-accel disable GPU acceleration support - experimental
1681 --disable-lua disable lua support
1682 --disable-pdf disable pdf support
1683 --disable-heif disable heif support
1684 --disable-webp disable webp support
1685 --disable-j2k disable j2k support
1686 --disable-djvu disable djvu support
1689 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1690 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1691 --with-readmedir=DIR install path for readme files
1692 --with-htmldir=DIR install path for html files
1693 --with-lirc-prefix=PATH Prefix where LIRC is installed
1695 Some influential environment variables:
1697 a4wide (default), a4, letter, legal or executive
1698 CC C compiler command
1699 CFLAGS C compiler flags
1700 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1701 nonstandard directory <lib dir>
1702 LIBS libraries to pass to the linker, e.g. -l<library>
1703 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1704 you have headers in a nonstandard directory <include dir>
1705 CXX C++ compiler command
1706 CXXFLAGS C++ compiler flags
1708 PKG_CONFIG path to pkg-config utility
1710 directories to add to pkg-config's search path
1712 path overriding pkg-config's built-in search path
1713 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1714 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1716 value of glib_genmarshal for glib-2.0, overriding pkg-config
1718 value of gobject_query for glib-2.0, overriding pkg-config
1720 value of glib_mkenums for glib-2.0, overriding pkg-config
1721 GLIB_COMPILE_RESOURCES
1722 value of glib_compile_resources for gio-2.0, overriding
1725 C compiler flags for GTHREAD, overriding pkg-config
1727 linker flags for GTHREAD, overriding pkg-config
1728 LCMS_CFLAGS C compiler flags for LCMS, overriding pkg-config
1729 LCMS_LIBS linker flags for LCMS, overriding pkg-config
1730 FFMPEGTHUMBNAILER_CFLAGS
1731 C compiler flags for FFMPEGTHUMBNAILER, overriding pkg-config
1732 FFMPEGTHUMBNAILER_LIBS
1733 linker flags for FFMPEGTHUMBNAILER, overriding pkg-config
1735 C compiler flags for EXIV2, overriding pkg-config
1736 EXIV2_LIBS linker flags for EXIV2, overriding pkg-config
1738 C compiler flags for CLUTTER, overriding pkg-config
1740 linker flags for CLUTTER, overriding pkg-config
1742 C compiler flags for CLUTTER_GTK, overriding pkg-config
1744 linker flags for CLUTTER_GTK, overriding pkg-config
1746 C compiler flags for LIBCHAMPLAIN, overriding pkg-config
1748 linker flags for LIBCHAMPLAIN, overriding pkg-config
1749 LIBCHAMPLAIN_GTK_CFLAGS
1750 C compiler flags for LIBCHAMPLAIN_GTK, overriding pkg-config
1751 LIBCHAMPLAIN_GTK_LIBS
1752 linker flags for LIBCHAMPLAIN_GTK, overriding pkg-config
1753 LUA_CFLAGS C compiler flags for LUA, overriding pkg-config
1754 LUA_LIBS linker flags for LUA, overriding pkg-config
1755 PDF_CFLAGS C compiler flags for PDF, overriding pkg-config
1756 PDF_LIBS linker flags for PDF, overriding pkg-config
1757 HEIF_CFLAGS C compiler flags for HEIF, overriding pkg-config
1758 HEIF_LIBS linker flags for HEIF, overriding pkg-config
1759 WEBP_CFLAGS C compiler flags for WEBP, overriding pkg-config
1760 WEBP_LIBS linker flags for WEBP, overriding pkg-config
1761 J2K_CFLAGS C compiler flags for J2K, overriding pkg-config
1762 J2K_LIBS linker flags for J2K, overriding pkg-config
1763 DJVU_CFLAGS C compiler flags for DJVU, overriding pkg-config
1764 DJVU_LIBS linker flags for DJVU, overriding pkg-config
1766 Use these variables to override the choices made by `configure' or to help
1767 it to find libraries and programs with nonstandard names/locations.
1769 Report bugs to <https://github.com/BestImageViewer/geeqie/issues>.
1770 geeqie home page: <http://www.geeqie.org/>.
1775 if test "$ac_init_help" = "recursive"; then
1776 # If there are subdirs, report their specific --help.
1777 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1778 test -d "$ac_dir" ||
1779 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1784 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1786 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1787 # A ".." for each directory in $ac_dir_suffix.
1788 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1789 case $ac_top_builddir_sub in
1790 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1791 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1794 ac_abs_top_builddir=$ac_pwd
1795 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1796 # for backward compatibility:
1797 ac_top_builddir=$ac_top_build_prefix
1800 .) # We are building in place.
1802 ac_top_srcdir=$ac_top_builddir_sub
1803 ac_abs_top_srcdir=$ac_pwd ;;
1804 [\\/]* | ?:[\\/]* ) # Absolute name.
1805 ac_srcdir=$srcdir$ac_dir_suffix;
1806 ac_top_srcdir=$srcdir
1807 ac_abs_top_srcdir=$srcdir ;;
1809 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1810 ac_top_srcdir=$ac_top_build_prefix$srcdir
1811 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1813 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1815 cd "$ac_dir" || { ac_status=$?; continue; }
1816 # Check for guested configure.
1817 if test -f "$ac_srcdir/configure.gnu"; then
1819 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1820 elif test -f "$ac_srcdir/configure"; then
1822 $SHELL "$ac_srcdir/configure" --help=recursive
1824 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1826 cd "$ac_pwd" || { ac_status=$?; break; }
1830 test -n "$ac_init_help" && exit $ac_status
1831 if $ac_init_version; then
1833 geeqie configure 1.6
1834 generated by GNU Autoconf 2.69
1836 Copyright (C) 2012 Free Software Foundation, Inc.
1837 This configure script is free software; the Free Software Foundation
1838 gives unlimited permission to copy, distribute and modify it.
1843 ## ------------------------ ##
1844 ## Autoconf initialization. ##
1845 ## ------------------------ ##
1847 # ac_fn_c_try_compile LINENO
1848 # --------------------------
1849 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1850 ac_fn_c_try_compile ()
1852 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853 rm -f conftest.$ac_objext
1854 if { { ac_try="$ac_compile"
1856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1857 *) ac_try_echo=$ac_try;;
1859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1860 $as_echo "$ac_try_echo"; } >&5
1861 (eval "$ac_compile") 2>conftest.err
1863 if test -s conftest.err; then
1864 grep -v '^ *+' conftest.err >conftest.er1
1865 cat conftest.er1 >&5
1866 mv -f conftest.er1 conftest.err
1868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1869 test $ac_status = 0; } && {
1870 test -z "$ac_c_werror_flag" ||
1871 test ! -s conftest.err
1872 } && test -s conftest.$ac_objext; then :
1875 $as_echo "$as_me: failed program was:" >&5
1876 sed 's/^/| /' conftest.$ac_ext >&5
1880 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1881 as_fn_set_status $ac_retval
1883 } # ac_fn_c_try_compile
1885 # ac_fn_c_try_link LINENO
1886 # -----------------------
1887 # Try to link conftest.$ac_ext, and return whether this succeeded.
1890 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891 rm -f conftest.$ac_objext conftest$ac_exeext
1892 if { { ac_try="$ac_link"
1894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1895 *) ac_try_echo=$ac_try;;
1897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1898 $as_echo "$ac_try_echo"; } >&5
1899 (eval "$ac_link") 2>conftest.err
1901 if test -s conftest.err; then
1902 grep -v '^ *+' conftest.err >conftest.er1
1903 cat conftest.er1 >&5
1904 mv -f conftest.er1 conftest.err
1906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1907 test $ac_status = 0; } && {
1908 test -z "$ac_c_werror_flag" ||
1909 test ! -s conftest.err
1910 } && test -s conftest$ac_exeext && {
1911 test "$cross_compiling" = yes ||
1912 test -x conftest$ac_exeext
1916 $as_echo "$as_me: failed program was:" >&5
1917 sed 's/^/| /' conftest.$ac_ext >&5
1921 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1922 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1923 # interfere with the next link command; also delete a directory that is
1924 # left behind by Apple's compiler. We do this before executing the actions.
1925 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1926 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1927 as_fn_set_status $ac_retval
1929 } # ac_fn_c_try_link
1931 # ac_fn_cxx_try_compile LINENO
1932 # ----------------------------
1933 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1934 ac_fn_cxx_try_compile ()
1936 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1937 rm -f conftest.$ac_objext
1938 if { { ac_try="$ac_compile"
1940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1941 *) ac_try_echo=$ac_try;;
1943 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1944 $as_echo "$ac_try_echo"; } >&5
1945 (eval "$ac_compile") 2>conftest.err
1947 if test -s conftest.err; then
1948 grep -v '^ *+' conftest.err >conftest.er1
1949 cat conftest.er1 >&5
1950 mv -f conftest.er1 conftest.err
1952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1953 test $ac_status = 0; } && {
1954 test -z "$ac_cxx_werror_flag" ||
1955 test ! -s conftest.err
1956 } && test -s conftest.$ac_objext; then :
1959 $as_echo "$as_me: failed program was:" >&5
1960 sed 's/^/| /' conftest.$ac_ext >&5
1964 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1965 as_fn_set_status $ac_retval
1967 } # ac_fn_cxx_try_compile
1969 # ac_fn_c_try_cpp LINENO
1970 # ----------------------
1971 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1974 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1975 if { { ac_try="$ac_cpp conftest.$ac_ext"
1977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1978 *) ac_try_echo=$ac_try;;
1980 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1981 $as_echo "$ac_try_echo"; } >&5
1982 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1984 if test -s conftest.err; then
1985 grep -v '^ *+' conftest.err >conftest.er1
1986 cat conftest.er1 >&5
1987 mv -f conftest.er1 conftest.err
1989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1990 test $ac_status = 0; } > conftest.i && {
1991 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1992 test ! -s conftest.err
1996 $as_echo "$as_me: failed program was:" >&5
1997 sed 's/^/| /' conftest.$ac_ext >&5
2001 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2002 as_fn_set_status $ac_retval
2006 # ac_fn_c_try_run LINENO
2007 # ----------------------
2008 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2009 # that executables *can* be run.
2012 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2013 if { { ac_try="$ac_link"
2015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2016 *) ac_try_echo=$ac_try;;
2018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2019 $as_echo "$ac_try_echo"; } >&5
2020 (eval "$ac_link") 2>&5
2022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2023 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2024 { { case "(($ac_try" in
2025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2026 *) ac_try_echo=$ac_try;;
2028 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2029 $as_echo "$ac_try_echo"; } >&5
2030 (eval "$ac_try") 2>&5
2032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2033 test $ac_status = 0; }; }; then :
2036 $as_echo "$as_me: program exited with status $ac_status" >&5
2037 $as_echo "$as_me: failed program was:" >&5
2038 sed 's/^/| /' conftest.$ac_ext >&5
2040 ac_retval=$ac_status
2042 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2043 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2044 as_fn_set_status $ac_retval
2048 # ac_fn_c_check_func LINENO FUNC VAR
2049 # ----------------------------------
2050 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2051 ac_fn_c_check_func ()
2053 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2055 $as_echo_n "checking for $2... " >&6; }
2056 if eval \${$3+:} false; then :
2057 $as_echo_n "(cached) " >&6
2059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2060 /* end confdefs.h. */
2061 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2063 #define $2 innocuous_$2
2065 /* System header to define __stub macros and hopefully few prototypes,
2066 which can conflict with char $2 (); below.
2067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2068 <limits.h> exists even on freestanding compilers. */
2071 # include <limits.h>
2073 # include <assert.h>
2078 /* Override any GCC internal prototype to avoid an error.
2079 Use char because int might match the return type of a GCC
2080 builtin and then its argument prototype would still apply. */
2085 /* The GNU C library defines this for functions which it implements
2086 to always fail with ENOSYS. Some functions are actually named
2087 something starting with __ and the normal name is an alias. */
2088 #if defined __stub_$2 || defined __stub___$2
2100 if ac_fn_c_try_link "$LINENO"; then :
2105 rm -f core conftest.err conftest.$ac_objext \
2106 conftest$ac_exeext conftest.$ac_ext
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2110 $as_echo "$ac_res" >&6; }
2111 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2113 } # ac_fn_c_check_func
2115 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2116 # -------------------------------------------------------
2117 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2118 # the include files in INCLUDES and setting the cache variable VAR
2120 ac_fn_c_check_header_mongrel ()
2122 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2123 if eval \${$3+:} false; then :
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2125 $as_echo_n "checking for $2... " >&6; }
2126 if eval \${$3+:} false; then :
2127 $as_echo_n "(cached) " >&6
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2131 $as_echo "$ac_res" >&6; }
2133 # Is the header compilable?
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2135 $as_echo_n "checking $2 usability... " >&6; }
2136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2137 /* end confdefs.h. */
2141 if ac_fn_c_try_compile "$LINENO"; then :
2142 ac_header_compiler=yes
2144 ac_header_compiler=no
2146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2148 $as_echo "$ac_header_compiler" >&6; }
2150 # Is the header present?
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2152 $as_echo_n "checking $2 presence... " >&6; }
2153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2154 /* end confdefs.h. */
2157 if ac_fn_c_try_cpp "$LINENO"; then :
2158 ac_header_preproc=yes
2160 ac_header_preproc=no
2162 rm -f conftest.err conftest.i conftest.$ac_ext
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2164 $as_echo "$ac_header_preproc" >&6; }
2166 # So? What about this header?
2167 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2170 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2172 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2176 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2178 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2180 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2182 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2184 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2185 ( $as_echo "## --------------------------------------------------------------- ##
2186 ## Report this to https://github.com/BestImageViewer/geeqie/issues ##
2187 ## --------------------------------------------------------------- ##"
2188 ) | sed "s/^/$as_me: WARNING: /" >&2
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2192 $as_echo_n "checking for $2... " >&6; }
2193 if eval \${$3+:} false; then :
2194 $as_echo_n "(cached) " >&6
2196 eval "$3=\$ac_header_compiler"
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2200 $as_echo "$ac_res" >&6; }
2202 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2204 } # ac_fn_c_check_header_mongrel
2206 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2207 # -------------------------------------------------------
2208 # Tests whether HEADER exists and can be compiled using the include files in
2209 # INCLUDES, setting the cache variable VAR accordingly.
2210 ac_fn_c_check_header_compile ()
2212 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2214 $as_echo_n "checking for $2... " >&6; }
2215 if eval \${$3+:} false; then :
2216 $as_echo_n "(cached) " >&6
2218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2219 /* end confdefs.h. */
2223 if ac_fn_c_try_compile "$LINENO"; then :
2228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2232 $as_echo "$ac_res" >&6; }
2233 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2235 } # ac_fn_c_check_header_compile
2237 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2238 # ----------------------------------------------------
2239 # Tries to find if the field MEMBER exists in type AGGR, after including
2240 # INCLUDES, setting cache variable VAR accordingly.
2241 ac_fn_c_check_member ()
2243 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2245 $as_echo_n "checking for $2.$3... " >&6; }
2246 if eval \${$4+:} false; then :
2247 $as_echo_n "(cached) " >&6
2249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2250 /* end confdefs.h. */
2262 if ac_fn_c_try_compile "$LINENO"; then :
2265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2266 /* end confdefs.h. */
2272 if (sizeof ac_aggr.$3)
2278 if ac_fn_c_try_compile "$LINENO"; then :
2283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2289 $as_echo "$ac_res" >&6; }
2290 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2292 } # ac_fn_c_check_member
2293 cat >config.log <<_ACEOF
2294 This file contains any messages produced by compilers while
2295 running configure, to aid debugging if configure makes a mistake.
2297 It was created by geeqie $as_me 1.6, which was
2298 generated by GNU Autoconf 2.69. Invocation command line was
2310 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2311 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2312 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2313 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2314 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2316 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2317 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2319 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2320 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2321 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2322 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2323 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2324 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2325 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2333 test -z "$as_dir" && as_dir=.
2334 $as_echo "PATH: $as_dir"
2350 # Keep a trace of the command line.
2351 # Strip out --no-create and --no-recursion so they do not pile up.
2352 # Strip out --silent because we don't want to record it for future runs.
2353 # Also quote any args containing shell meta-characters.
2354 # Make two passes to allow for proper duplicate-argument suppression.
2358 ac_must_keep_next=false
2364 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2365 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2366 | -silent | --silent | --silen | --sile | --sil)
2369 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2372 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2374 as_fn_append ac_configure_args1 " '$ac_arg'"
2375 if test $ac_must_keep_next = true; then
2376 ac_must_keep_next=false # Got value, back to normal.
2379 *=* | --config-cache | -C | -disable-* | --disable-* \
2380 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2381 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2382 | -with-* | --with-* | -without-* | --without-* | --x)
2383 case "$ac_configure_args0 " in
2384 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2387 -* ) ac_must_keep_next=true ;;
2390 as_fn_append ac_configure_args " '$ac_arg'"
2395 { ac_configure_args0=; unset ac_configure_args0;}
2396 { ac_configure_args1=; unset ac_configure_args1;}
2398 # When interrupted or exit'd, cleanup temporary files, and complete
2399 # config.log. We remove comments because anyway the quotes in there
2400 # would cause problems or look ugly.
2401 # WARNING: Use '\'' to represent an apostrophe within the trap.
2402 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2403 trap 'exit_status=$?
2404 # Save into config.log some information that might help in debugging.
2408 $as_echo "## ---------------- ##
2409 ## Cache variables. ##
2410 ## ---------------- ##"
2412 # The following way of writing the cache mishandles newlines in values,
2414 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2415 eval ac_val=\$$ac_var
2419 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2420 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2423 _ | IFS | as_nl) ;; #(
2424 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2425 *) { eval $ac_var=; unset $ac_var;} ;;
2430 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2431 *${as_nl}ac_space=\ *)
2433 "s/'\''/'\''\\\\'\'''\''/g;
2434 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2437 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2444 $as_echo "## ----------------- ##
2445 ## Output variables. ##
2446 ## ----------------- ##"
2448 for ac_var in $ac_subst_vars
2450 eval ac_val=\$$ac_var
2452 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2454 $as_echo "$ac_var='\''$ac_val'\''"
2458 if test -n "$ac_subst_files"; then
2459 $as_echo "## ------------------- ##
2460 ## File substitutions. ##
2461 ## ------------------- ##"
2463 for ac_var in $ac_subst_files
2465 eval ac_val=\$$ac_var
2467 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2469 $as_echo "$ac_var='\''$ac_val'\''"
2474 if test -s confdefs.h; then
2475 $as_echo "## ----------- ##
2482 test "$ac_signal" != 0 &&
2483 $as_echo "$as_me: caught signal $ac_signal"
2484 $as_echo "$as_me: exit $exit_status"
2486 rm -f core *.core core.conftest.* &&
2487 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2490 for ac_signal in 1 2 13 15; do
2491 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2495 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2496 rm -f -r conftest* confdefs.h
2498 $as_echo "/* confdefs.h */" > confdefs.h
2500 # Predefined preprocessor variables.
2502 cat >>confdefs.h <<_ACEOF
2503 #define PACKAGE_NAME "$PACKAGE_NAME"
2506 cat >>confdefs.h <<_ACEOF
2507 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2510 cat >>confdefs.h <<_ACEOF
2511 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2514 cat >>confdefs.h <<_ACEOF
2515 #define PACKAGE_STRING "$PACKAGE_STRING"
2518 cat >>confdefs.h <<_ACEOF
2519 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2522 cat >>confdefs.h <<_ACEOF
2523 #define PACKAGE_URL "$PACKAGE_URL"
2527 # Let the site file select an alternate cache file if it wants to.
2528 # Prefer an explicitly selected file to automatically selected ones.
2531 if test -n "$CONFIG_SITE"; then
2532 # We do not want a PATH search for config.site.
2533 case $CONFIG_SITE in #((
2534 -*) ac_site_file1=./$CONFIG_SITE;;
2535 */*) ac_site_file1=$CONFIG_SITE;;
2536 *) ac_site_file1=./$CONFIG_SITE;;
2538 elif test "x$prefix" != xNONE; then
2539 ac_site_file1=$prefix/share/config.site
2540 ac_site_file2=$prefix/etc/config.site
2542 ac_site_file1=$ac_default_prefix/share/config.site
2543 ac_site_file2=$ac_default_prefix/etc/config.site
2545 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2547 test "x$ac_site_file" = xNONE && continue
2548 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2550 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2551 sed 's/^/| /' "$ac_site_file" >&5
2553 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2555 as_fn_error $? "failed to load site script $ac_site_file
2556 See \`config.log' for more details" "$LINENO" 5; }
2560 if test -r "$cache_file"; then
2561 # Some versions of bash will fail to source /dev/null (special files
2562 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2563 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2565 $as_echo "$as_me: loading cache $cache_file" >&6;}
2567 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2568 *) . "./$cache_file";;
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2573 $as_echo "$as_me: creating cache $cache_file" >&6;}
2577 # Check that the precious variables saved in the cache have kept the same
2579 ac_cache_corrupted=false
2580 for ac_var in $ac_precious_vars; do
2581 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2582 eval ac_new_set=\$ac_env_${ac_var}_set
2583 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2584 eval ac_new_val=\$ac_env_${ac_var}_value
2585 case $ac_old_set,$ac_new_set in
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2588 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2589 ac_cache_corrupted=: ;;
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2592 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2593 ac_cache_corrupted=: ;;
2596 if test "x$ac_old_val" != "x$ac_new_val"; then
2597 # differences in whitespace do not lead to failure.
2598 ac_old_val_w=`echo x $ac_old_val`
2599 ac_new_val_w=`echo x $ac_new_val`
2600 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2602 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2603 ac_cache_corrupted=:
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2606 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2607 eval $ac_var=\$ac_old_val
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2610 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2612 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2615 # Pass precious variables to config.status.
2616 if test "$ac_new_set" = set; then
2618 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2619 *) ac_arg=$ac_var=$ac_new_val ;;
2621 case " $ac_configure_args " in
2622 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2623 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2627 if $ac_cache_corrupted; then
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2629 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2631 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2632 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2634 ## -------------------- ##
2635 ## Main body of script. ##
2636 ## -------------------- ##
2639 ac_cpp='$CPP $CPPFLAGS'
2640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2646 # Add -Werror to the default CFLAGS
2647 CFLAGS+=" -Werror -Wno-error=deprecated-declarations -Wno-error=sign-compare -Wno-error=return-type"
2649 # Check for rightly dirs
2653 for ac_dir in auxdir "$srcdir"/auxdir; do
2654 if test -f "$ac_dir/install-sh"; then
2656 ac_install_sh="$ac_aux_dir/install-sh -c"
2658 elif test -f "$ac_dir/install.sh"; then
2660 ac_install_sh="$ac_aux_dir/install.sh -c"
2662 elif test -f "$ac_dir/shtool"; then
2664 ac_install_sh="$ac_aux_dir/shtool install -c"
2668 if test -z "$ac_aux_dir"; then
2669 as_fn_error $? "cannot find install-sh, install.sh, or shtool in auxdir \"$srcdir\"/auxdir" "$LINENO" 5
2672 # These three variables are undocumented and unsupported,
2673 # and are intended to be withdrawn in a future Autoconf release.
2674 # They can cause serious problems if a builder's source tree is in a directory
2675 # whose full name contains unusual characters.
2676 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2677 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2678 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2681 # Require Automake 1.14 for %reldir% support
2682 am__api_version='1.16'
2684 # Find a good install program. We prefer a C program (faster),
2685 # so one script is as good as another. But avoid the broken or
2686 # incompatible versions:
2687 # SysV /etc/install, /usr/sbin/install
2688 # SunOS /usr/etc/install
2689 # IRIX /sbin/install
2691 # AmigaOS /C/install, which installs bootblocks on floppy discs
2692 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2693 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2694 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2695 # OS/2's system install, which has a completely different semantic
2696 # ./install, which can be erroneously created by make from ./install.sh.
2697 # Reject install programs that cannot install multiple files.
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2699 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2700 if test -z "$INSTALL"; then
2701 if ${ac_cv_path_install+:} false; then :
2702 $as_echo_n "(cached) " >&6
2704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2708 test -z "$as_dir" && as_dir=.
2709 # Account for people who put trailing slashes in PATH elements.
2710 case $as_dir/ in #((
2711 ./ | .// | /[cC]/* | \
2712 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2713 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2716 # OSF1 and SCO ODT 3.0 have their own names for install.
2717 # Don't use installbsd from OSF since it installs stuff as root
2719 for ac_prog in ginstall scoinst install; do
2720 for ac_exec_ext in '' $ac_executable_extensions; do
2721 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2722 if test $ac_prog = install &&
2723 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2724 # AIX install. It has an incompatible calling convention.
2726 elif test $ac_prog = install &&
2727 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2728 # program-specific install script used by HP pwplus--don't use.
2731 rm -rf conftest.one conftest.two conftest.dir
2732 echo one > conftest.one
2733 echo two > conftest.two
2735 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2736 test -s conftest.one && test -s conftest.two &&
2737 test -s conftest.dir/conftest.one &&
2738 test -s conftest.dir/conftest.two
2740 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2753 rm -rf conftest.one conftest.two conftest.dir
2756 if test "${ac_cv_path_install+set}" = set; then
2757 INSTALL=$ac_cv_path_install
2759 # As a last resort, use the slow shell script. Don't cache a
2760 # value for INSTALL within a source directory, because that will
2761 # break other packages using the cache if that directory is
2762 # removed, or if the value is a relative name.
2763 INSTALL=$ac_install_sh
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2767 $as_echo "$INSTALL" >&6; }
2769 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2770 # It thinks the first close brace ends the variable substitution.
2771 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2773 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2775 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2778 $as_echo_n "checking whether build environment is sane... " >&6; }
2779 # Reject unsafe characters in $srcdir or the absolute working directory
2780 # name. Accept space and tab only in the latter.
2784 *[\\\"\#\$\&\'\`$am_lf]*)
2785 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2788 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2789 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2792 # Do 'set' in a subshell so we don't clobber the current shell's
2793 # arguments. Must try -L first in case configure is actually a
2794 # symlink; some systems play weird games with the mod time of symlinks
2795 # (eg FreeBSD returns the mod time of the symlink's containing
2799 for am_try in 1 2; do
2800 echo "timestamp, slept: $am_has_slept" > conftest.file
2801 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2802 if test "$*" = "X"; then
2804 set X `ls -t "$srcdir/configure" conftest.file`
2806 if test "$*" != "X $srcdir/configure conftest.file" \
2807 && test "$*" != "X conftest.file $srcdir/configure"; then
2809 # If neither matched, then we have a broken ls. This can happen
2810 # if, for instance, CONFIG_SHELL is bash and it inherits a
2811 # broken ls alias from the environment. This has actually
2812 # happened. Such a system could not be considered "sane".
2813 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2814 alias in your environment" "$LINENO" 5
2816 if test "$2" = conftest.file || test $am_try -eq 2; then
2823 test "$2" = conftest.file
2829 as_fn_error $? "newly created file is older than distributed files!
2830 Check your system clock" "$LINENO" 5
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2833 $as_echo "yes" >&6; }
2834 # If we didn't sleep, we still need to ensure time stamps of config.status and
2835 # generated files are strictly newer.
2837 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2844 test "$program_prefix" != NONE &&
2845 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2846 # Use a double $ so make ignores it.
2847 test "$program_suffix" != NONE &&
2848 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2849 # Double any \ or $.
2850 # By default was `s,x,x', remove it if useless.
2851 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2852 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2854 # Expand $ac_aux_dir to an absolute path.
2855 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2857 if test x"${MISSING+set}" != xset; then
2860 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2862 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2865 # Use eval to expand $SHELL
2866 if eval "$MISSING --is-lightweight"; then
2867 am_missing_run="$MISSING "
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2871 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2874 if test x"${install_sh+set}" != xset; then
2877 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2879 install_sh="\${SHELL} $am_aux_dir/install-sh"
2883 # Installed binaries are usually stripped using 'strip' when the user
2884 # run "make install-strip". However 'strip' might not be the right
2885 # tool to use in cross-compilation environments, therefore Automake
2886 # will honor the 'STRIP' environment variable to overrule this program.
2887 if test "$cross_compiling" != no; then
2888 if test -n "$ac_tool_prefix"; then
2889 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2890 set dummy ${ac_tool_prefix}strip; ac_word=$2
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2892 $as_echo_n "checking for $ac_word... " >&6; }
2893 if ${ac_cv_prog_STRIP+:} false; then :
2894 $as_echo_n "(cached) " >&6
2896 if test -n "$STRIP"; then
2897 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2903 test -z "$as_dir" && as_dir=.
2904 for ac_exec_ext in '' $ac_executable_extensions; do
2905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2906 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2916 STRIP=$ac_cv_prog_STRIP
2917 if test -n "$STRIP"; then
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2919 $as_echo "$STRIP" >&6; }
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2922 $as_echo "no" >&6; }
2927 if test -z "$ac_cv_prog_STRIP"; then
2929 # Extract the first word of "strip", so it can be a program name with args.
2930 set dummy strip; ac_word=$2
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2932 $as_echo_n "checking for $ac_word... " >&6; }
2933 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2934 $as_echo_n "(cached) " >&6
2936 if test -n "$ac_ct_STRIP"; then
2937 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2943 test -z "$as_dir" && as_dir=.
2944 for ac_exec_ext in '' $ac_executable_extensions; do
2945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2946 ac_cv_prog_ac_ct_STRIP="strip"
2947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2956 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2957 if test -n "$ac_ct_STRIP"; then
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2959 $as_echo "$ac_ct_STRIP" >&6; }
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2962 $as_echo "no" >&6; }
2965 if test "x$ac_ct_STRIP" = x; then
2968 case $cross_compiling:$ac_tool_warned in
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2971 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2972 ac_tool_warned=yes ;;
2977 STRIP="$ac_cv_prog_STRIP"
2981 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2984 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2985 if test -z "$MKDIR_P"; then
2986 if ${ac_cv_path_mkdir+:} false; then :
2987 $as_echo_n "(cached) " >&6
2989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2990 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2993 test -z "$as_dir" && as_dir=.
2994 for ac_prog in mkdir gmkdir; do
2995 for ac_exec_ext in '' $ac_executable_extensions; do
2996 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2997 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2998 'mkdir (GNU coreutils) '* | \
2999 'mkdir (coreutils) '* | \
3000 'mkdir (fileutils) '4.1*)
3001 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3011 test -d ./--version && rmdir ./--version
3012 if test "${ac_cv_path_mkdir+set}" = set; then
3013 MKDIR_P="$ac_cv_path_mkdir -p"
3015 # As a last resort, use the slow shell script. Don't cache a
3016 # value for MKDIR_P within a source directory, because that will
3017 # break other packages using the cache if that directory is
3018 # removed, or if the value is a relative name.
3019 MKDIR_P="$ac_install_sh -d"
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3023 $as_echo "$MKDIR_P" >&6; }
3025 for ac_prog in gawk mawk nawk awk
3027 # Extract the first word of "$ac_prog", so it can be a program name with args.
3028 set dummy $ac_prog; ac_word=$2
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3030 $as_echo_n "checking for $ac_word... " >&6; }
3031 if ${ac_cv_prog_AWK+:} false; then :
3032 $as_echo_n "(cached) " >&6
3034 if test -n "$AWK"; then
3035 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3041 test -z "$as_dir" && as_dir=.
3042 for ac_exec_ext in '' $ac_executable_extensions; do
3043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3044 ac_cv_prog_AWK="$ac_prog"
3045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3055 if test -n "$AWK"; then
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3057 $as_echo "$AWK" >&6; }
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3060 $as_echo "no" >&6; }
3064 test -n "$AWK" && break
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3068 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3070 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3071 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3072 $as_echo_n "(cached) " >&6
3074 cat >conftest.make <<\_ACEOF
3077 @echo '@@@%%%=$(MAKE)=@@@%%%'
3079 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3080 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3082 eval ac_cv_prog_make_${ac_make}_set=yes;;
3084 eval ac_cv_prog_make_${ac_make}_set=no;;
3088 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3090 $as_echo "yes" >&6; }
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3094 $as_echo "no" >&6; }
3095 SET_MAKE="MAKE=${MAKE-make}"
3098 rm -rf .tst 2>/dev/null
3099 mkdir .tst 2>/dev/null
3100 if test -d .tst; then
3105 rmdir .tst 2>/dev/null
3107 # Check whether --enable-silent-rules was given.
3108 if test "${enable_silent_rules+set}" = set; then :
3109 enableval=$enable_silent_rules;
3112 case $enable_silent_rules in # (((
3113 yes) AM_DEFAULT_VERBOSITY=0;;
3114 no) AM_DEFAULT_VERBOSITY=1;;
3115 *) AM_DEFAULT_VERBOSITY=1;;
3117 am_make=${MAKE-make}
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3119 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3120 if ${am_cv_make_support_nested_variables+:} false; then :
3121 $as_echo_n "(cached) " >&6
3123 if $as_echo 'TRUE=$(BAR$(V))
3129 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3130 am_cv_make_support_nested_variables=yes
3132 am_cv_make_support_nested_variables=no
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3136 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3137 if test $am_cv_make_support_nested_variables = yes; then
3139 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3141 AM_V=$AM_DEFAULT_VERBOSITY
3142 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3146 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3147 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3148 # is not polluted with repeated "-I."
3149 am__isrc=' -I$(srcdir)'
3150 # test to see if srcdir already configured
3151 if test -f $srcdir/config.status; then
3152 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3156 # test whether we have cygpath
3157 if test -z "$CYGPATH_W"; then
3158 if (cygpath --version) >/dev/null 2>/dev/null; then
3159 CYGPATH_W='cygpath -w'
3166 # Define the identity of the package.
3171 cat >>confdefs.h <<_ACEOF
3172 #define PACKAGE "$PACKAGE"
3176 cat >>confdefs.h <<_ACEOF
3177 #define VERSION "$VERSION"
3180 # Some tools Automake needs.
3182 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3185 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3188 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3191 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3194 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3196 # For better backward compatibility. To be removed once Automake 1.9.x
3197 # dies out for good. For more background, see:
3198 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3199 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3200 mkdir_p='$(MKDIR_P)'
3202 # We need awk for the "check" target (and possibly the TAP driver). The
3203 # system "awk" is bad on some platforms.
3204 # Always define AMTAR for backward compatibility. Yes, it's still used
3205 # in the wild :-( We should find a proper way to deprecate it ...
3209 # We'll loop over all known methods to create a tar archive until one works.
3210 _am_tools='gnutar plaintar pax cpio none'
3212 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
3213 # There is notably a 21 bits limit for the UID and the GID. In fact,
3214 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
3216 am_max_uid=2097151 # 2^21 - 1
3217 am_max_gid=$am_max_uid
3218 # The $UID and $GID variables are not portable, so we need to resort
3219 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
3220 # below are definitely unexpected, so allow the users to see them
3221 # (that is, avoid stderr redirection).
3222 am_uid=`id -u || echo unknown`
3223 am_gid=`id -g || echo unknown`
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
3225 $as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
3226 if test $am_uid -le $am_max_uid; then
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3228 $as_echo "yes" >&6; }
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3231 $as_echo "no" >&6; }
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
3235 $as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
3236 if test $am_gid -le $am_max_gid; then
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3238 $as_echo "yes" >&6; }
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3241 $as_echo "no" >&6; }
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3246 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3248 # Go ahead even if we have the value already cached. We do so because we
3249 # need to set the values for the 'am__tar' and 'am__untar' variables.
3250 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3252 for _am_tool in $_am_tools; do
3255 for _am_tar in tar gnutar gtar; do
3256 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3257 ($_am_tar --version) >&5 2>&5
3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260 (exit $ac_status); } && break
3262 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3263 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3264 am__untar="$_am_tar -xf -"
3267 # Must skip GNU tar: if it does not support --format= it doesn't create
3268 # ustar tarball either.
3269 (tar --version) >/dev/null 2>&1 && continue
3270 am__tar='tar chf - "$$tardir"'
3271 am__tar_='tar chf - "$tardir"'
3272 am__untar='tar xf -'
3275 am__tar='pax -L -x ustar -w "$$tardir"'
3276 am__tar_='pax -L -x ustar -w "$tardir"'
3280 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3281 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3282 am__untar='cpio -i -H ustar -d'
3291 # If the value was cached, stop now. We just wanted to have am__tar
3292 # and am__untar set.
3293 test -n "${am_cv_prog_tar_ustar}" && break
3295 # tar/untar a dummy directory, and stop if the command works.
3298 echo GrepMe > conftest.dir/file
3299 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3300 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303 (exit $ac_status); }
3305 if test -s conftest.tar; then
3306 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3307 ($am__untar <conftest.tar) >&5 2>&5
3309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3310 (exit $ac_status); }
3311 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3312 (cat conftest.dir/file) >&5 2>&5
3314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315 (exit $ac_status); }
3316 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3321 if ${am_cv_prog_tar_ustar+:} false; then :
3322 $as_echo_n "(cached) " >&6
3324 am_cv_prog_tar_ustar=$_am_tool
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3328 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3335 # POSIX will say in a future version that running "rm -f" with no argument
3336 # is OK; and we want to be able to make that assumption in our Makefile
3337 # recipes. So use an aggressive probe to check that the usage we want is
3338 # actually supported "in the wild" to an acceptable degree.
3339 # See automake bug#10828.
3340 # To make any issue more visible, cause the running configure to be aborted
3341 # by default if the 'rm' program in use doesn't match our expectations; the
3342 # user can still override this though.
3343 if rm -f && rm -fr && rm -rf; then : OK; else
3347 Your 'rm' program seems unable to run without file operands specified
3348 on the command line, even when the '-f' option is present. This is contrary
3349 to the behaviour of most rm programs out there, and not conforming with
3350 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3352 Please tell bug-automake@gnu.org about your system, including the value
3353 of your $PATH and any error possibly output before this message. This
3354 can help us improve future automake versions.
3357 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3358 echo 'Configuration will proceed anyway, since you have set the' >&2
3359 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3363 Aborting the configuration process, to ensure you take notice of the issue.
3365 You can download and install GNU coreutils to get an 'rm' implementation
3366 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3368 If you want to complete the configuration process using your problematic
3369 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3370 to "yes", and re-run configure.
3373 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3378 ac_config_headers="$ac_config_headers config.h"
3381 # Only for developers
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3384 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3385 # Check whether --enable-maintainer-mode was given.
3386 if test "${enable_maintainer_mode+set}" = set; then :
3387 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3389 USE_MAINTAINER_MODE=no
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3393 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3394 if test $USE_MAINTAINER_MODE = yes; then
3395 MAINTAINER_MODE_TRUE=
3396 MAINTAINER_MODE_FALSE='#'
3398 MAINTAINER_MODE_TRUE='#'
3399 MAINTAINER_MODE_FALSE=
3402 MAINT=$MAINTAINER_MODE_TRUE
3406 # Silent build for automake >= 1.11
3407 # Check whether --enable-silent-rules was given.
3408 if test "${enable_silent_rules+set}" = set; then :
3409 enableval=$enable_silent_rules;
3412 case $enable_silent_rules in # (((
3413 yes) AM_DEFAULT_VERBOSITY=0;;
3414 no) AM_DEFAULT_VERBOSITY=1;;
3415 *) AM_DEFAULT_VERBOSITY=0;;
3417 am_make=${MAKE-make}
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3419 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3420 if ${am_cv_make_support_nested_variables+:} false; then :
3421 $as_echo_n "(cached) " >&6
3423 if $as_echo 'TRUE=$(BAR$(V))
3429 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3430 am_cv_make_support_nested_variables=yes
3432 am_cv_make_support_nested_variables=no
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3436 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3437 if test $am_cv_make_support_nested_variables = yes; then
3439 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3441 AM_V=$AM_DEFAULT_VERBOSITY
3442 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3447 # Check whether --enable-developer was given.
3448 if test "${enable_developer+set}" = set; then :
3449 enableval=$enable_developer;
3454 if test "x${enable_developer}" != "xyes"
3476 DX_PROJECT=$PACKAGE_NAME
3478 DX_CONFIG=doxygen.conf
3480 DX_DOCDIR=doc/doxygen
3483 # Environment variables used inside doxygen.cfg:
3484 DX_ENV="$DX_ENV SRCDIR='$srcdir'"
3486 DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
3488 DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
3490 DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
3498 # Check whether --enable-doxygen-doc was given.
3499 if test "${enable_doxygen_doc+set}" = set; then :
3500 enableval=$enable_doxygen_doc;
3501 case "$enableval" in
3513 as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
3525 if test "$DX_FLAG_doc" = 1; then
3527 if test -n "$ac_tool_prefix"; then
3528 # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
3529 set dummy ${ac_tool_prefix}doxygen; ac_word=$2
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3531 $as_echo_n "checking for $ac_word... " >&6; }
3532 if ${ac_cv_path_DX_DOXYGEN+:} false; then :
3533 $as_echo_n "(cached) " >&6
3537 ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
3540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3544 test -z "$as_dir" && as_dir=.
3545 for ac_exec_ext in '' $ac_executable_extensions; do
3546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3547 ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
3548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3558 DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
3559 if test -n "$DX_DOXYGEN"; then
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
3561 $as_echo "$DX_DOXYGEN" >&6; }
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3564 $as_echo "no" >&6; }
3569 if test -z "$ac_cv_path_DX_DOXYGEN"; then
3570 ac_pt_DX_DOXYGEN=$DX_DOXYGEN
3571 # Extract the first word of "doxygen", so it can be a program name with args.
3572 set dummy doxygen; ac_word=$2
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3574 $as_echo_n "checking for $ac_word... " >&6; }
3575 if ${ac_cv_path_ac_pt_DX_DOXYGEN+:} false; then :
3576 $as_echo_n "(cached) " >&6
3578 case $ac_pt_DX_DOXYGEN in
3580 ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
3583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3587 test -z "$as_dir" && as_dir=.
3588 for ac_exec_ext in '' $ac_executable_extensions; do
3589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3590 ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
3591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3601 ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
3602 if test -n "$ac_pt_DX_DOXYGEN"; then
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
3604 $as_echo "$ac_pt_DX_DOXYGEN" >&6; }
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3607 $as_echo "no" >&6; }
3610 if test "x$ac_pt_DX_DOXYGEN" = x; then
3613 case $cross_compiling:$ac_tool_warned in
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3616 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3617 ac_tool_warned=yes ;;
3619 DX_DOXYGEN=$ac_pt_DX_DOXYGEN
3622 DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
3625 if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
3627 $as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
3633 if test -n "$ac_tool_prefix"; then
3634 # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
3635 set dummy ${ac_tool_prefix}perl; ac_word=$2
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3637 $as_echo_n "checking for $ac_word... " >&6; }
3638 if ${ac_cv_path_DX_PERL+:} false; then :
3639 $as_echo_n "(cached) " >&6
3643 ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
3646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3650 test -z "$as_dir" && as_dir=.
3651 for ac_exec_ext in '' $ac_executable_extensions; do
3652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3653 ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
3654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3664 DX_PERL=$ac_cv_path_DX_PERL
3665 if test -n "$DX_PERL"; then
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
3667 $as_echo "$DX_PERL" >&6; }
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3670 $as_echo "no" >&6; }
3675 if test -z "$ac_cv_path_DX_PERL"; then
3676 ac_pt_DX_PERL=$DX_PERL
3677 # Extract the first word of "perl", so it can be a program name with args.
3678 set dummy perl; ac_word=$2
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3680 $as_echo_n "checking for $ac_word... " >&6; }
3681 if ${ac_cv_path_ac_pt_DX_PERL+:} false; then :
3682 $as_echo_n "(cached) " >&6
3684 case $ac_pt_DX_PERL in
3686 ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
3689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3693 test -z "$as_dir" && as_dir=.
3694 for ac_exec_ext in '' $ac_executable_extensions; do
3695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3696 ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
3697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3707 ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
3708 if test -n "$ac_pt_DX_PERL"; then
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
3710 $as_echo "$ac_pt_DX_PERL" >&6; }
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3713 $as_echo "no" >&6; }
3716 if test "x$ac_pt_DX_PERL" = x; then
3719 case $cross_compiling:$ac_tool_warned in
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3722 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3723 ac_tool_warned=yes ;;
3725 DX_PERL=$ac_pt_DX_PERL
3728 DX_PERL="$ac_cv_path_DX_PERL"
3731 if test "$DX_FLAG_doc$DX_PERL" = 1; then
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
3733 $as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
3740 if test "$DX_FLAG_doc" = 1; then
3743 DX_COND_doc_FALSE='#'
3745 DX_COND_doc_TRUE='#'
3749 DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
3755 DX_COND_doc_FALSE='#'
3757 DX_COND_doc_TRUE='#'
3771 # Check whether --enable-doxygen-dot was given.
3772 if test "${enable_doxygen_dot+set}" = set; then :
3773 enableval=$enable_doxygen_dot;
3774 case "$enableval" in
3780 test "$DX_FLAG_doc" = "1" \
3781 || as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
3789 as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
3798 test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
3804 if test "$DX_FLAG_dot" = 1; then
3806 if test -n "$ac_tool_prefix"; then
3807 # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
3808 set dummy ${ac_tool_prefix}dot; ac_word=$2
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3810 $as_echo_n "checking for $ac_word... " >&6; }
3811 if ${ac_cv_path_DX_DOT+:} false; then :
3812 $as_echo_n "(cached) " >&6
3816 ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
3819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3823 test -z "$as_dir" && as_dir=.
3824 for ac_exec_ext in '' $ac_executable_extensions; do
3825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3826 ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
3827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3837 DX_DOT=$ac_cv_path_DX_DOT
3838 if test -n "$DX_DOT"; then
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
3840 $as_echo "$DX_DOT" >&6; }
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3843 $as_echo "no" >&6; }
3848 if test -z "$ac_cv_path_DX_DOT"; then
3849 ac_pt_DX_DOT=$DX_DOT
3850 # Extract the first word of "dot", so it can be a program name with args.
3851 set dummy dot; ac_word=$2
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3853 $as_echo_n "checking for $ac_word... " >&6; }
3854 if ${ac_cv_path_ac_pt_DX_DOT+:} false; then :
3855 $as_echo_n "(cached) " >&6
3857 case $ac_pt_DX_DOT in
3859 ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
3862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3866 test -z "$as_dir" && as_dir=.
3867 for ac_exec_ext in '' $ac_executable_extensions; do
3868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3869 ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
3870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3880 ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
3881 if test -n "$ac_pt_DX_DOT"; then
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
3883 $as_echo "$ac_pt_DX_DOT" >&6; }
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3886 $as_echo "no" >&6; }
3889 if test "x$ac_pt_DX_DOT" = x; then
3892 case $cross_compiling:$ac_tool_warned in
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3895 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3896 ac_tool_warned=yes ;;
3898 DX_DOT=$ac_pt_DX_DOT
3901 DX_DOT="$ac_cv_path_DX_DOT"
3904 if test "$DX_FLAG_dot$DX_DOT" = 1; then
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
3906 $as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
3913 if test "$DX_FLAG_dot" = 1; then
3916 DX_COND_dot_FALSE='#'
3918 DX_COND_dot_TRUE='#'
3922 DX_ENV="$DX_ENV HAVE_DOT='YES'"
3924 DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
3930 DX_COND_dot_FALSE='#'
3932 DX_COND_dot_TRUE='#'
3936 DX_ENV="$DX_ENV HAVE_DOT='NO'"
3942 # Man pages generation:
3947 # Check whether --enable-doxygen-man was given.
3948 if test "${enable_doxygen_man+set}" = set; then :
3949 enableval=$enable_doxygen_man;
3950 case "$enableval" in
3956 test "$DX_FLAG_doc" = "1" \
3957 || as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
3965 as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
3974 test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
3980 if test "$DX_FLAG_man" = 1; then
3984 if test "$DX_FLAG_man" = 1; then
3987 DX_COND_man_FALSE='#'
3989 DX_COND_man_TRUE='#'
3993 DX_ENV="$DX_ENV GENERATE_MAN='YES'"
3999 DX_COND_man_FALSE='#'
4001 DX_COND_man_TRUE='#'
4005 DX_ENV="$DX_ENV GENERATE_MAN='NO'"
4011 # RTF file generation:
4016 # Check whether --enable-doxygen-rtf was given.
4017 if test "${enable_doxygen_rtf+set}" = set; then :
4018 enableval=$enable_doxygen_rtf;
4019 case "$enableval" in
4025 test "$DX_FLAG_doc" = "1" \
4026 || as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
4034 as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
4043 test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
4049 if test "$DX_FLAG_rtf" = 1; then
4053 if test "$DX_FLAG_rtf" = 1; then
4056 DX_COND_rtf_FALSE='#'
4058 DX_COND_rtf_TRUE='#'
4062 DX_ENV="$DX_ENV GENERATE_RTF='YES'"
4068 DX_COND_rtf_FALSE='#'
4070 DX_COND_rtf_TRUE='#'
4074 DX_ENV="$DX_ENV GENERATE_RTF='NO'"
4080 # XML file generation:
4085 # Check whether --enable-doxygen-xml was given.
4086 if test "${enable_doxygen_xml+set}" = set; then :
4087 enableval=$enable_doxygen_xml;
4088 case "$enableval" in
4094 test "$DX_FLAG_doc" = "1" \
4095 || as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
4103 as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
4112 test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
4118 if test "$DX_FLAG_xml" = 1; then
4122 if test "$DX_FLAG_xml" = 1; then
4125 DX_COND_xml_FALSE='#'
4127 DX_COND_xml_TRUE='#'
4131 DX_ENV="$DX_ENV GENERATE_XML='YES'"
4137 DX_COND_xml_FALSE='#'
4139 DX_COND_xml_TRUE='#'
4143 DX_ENV="$DX_ENV GENERATE_XML='NO'"
4149 # (Compressed) HTML help generation:
4154 # Check whether --enable-doxygen-chm was given.
4155 if test "${enable_doxygen_chm+set}" = set; then :
4156 enableval=$enable_doxygen_chm;
4157 case "$enableval" in
4163 test "$DX_FLAG_doc" = "1" \
4164 || as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
4172 as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
4181 test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
4187 if test "$DX_FLAG_chm" = 1; then
4189 if test -n "$ac_tool_prefix"; then
4190 # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
4191 set dummy ${ac_tool_prefix}hhc; ac_word=$2
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4193 $as_echo_n "checking for $ac_word... " >&6; }
4194 if ${ac_cv_path_DX_HHC+:} false; then :
4195 $as_echo_n "(cached) " >&6
4199 ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
4202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4206 test -z "$as_dir" && as_dir=.
4207 for ac_exec_ext in '' $ac_executable_extensions; do
4208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4209 ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
4210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4220 DX_HHC=$ac_cv_path_DX_HHC
4221 if test -n "$DX_HHC"; then
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
4223 $as_echo "$DX_HHC" >&6; }
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4226 $as_echo "no" >&6; }
4231 if test -z "$ac_cv_path_DX_HHC"; then
4232 ac_pt_DX_HHC=$DX_HHC
4233 # Extract the first word of "hhc", so it can be a program name with args.
4234 set dummy hhc; ac_word=$2
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4236 $as_echo_n "checking for $ac_word... " >&6; }
4237 if ${ac_cv_path_ac_pt_DX_HHC+:} false; then :
4238 $as_echo_n "(cached) " >&6
4240 case $ac_pt_DX_HHC in
4242 ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
4245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4249 test -z "$as_dir" && as_dir=.
4250 for ac_exec_ext in '' $ac_executable_extensions; do
4251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4252 ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
4253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4263 ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
4264 if test -n "$ac_pt_DX_HHC"; then
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
4266 $as_echo "$ac_pt_DX_HHC" >&6; }
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4269 $as_echo "no" >&6; }
4272 if test "x$ac_pt_DX_HHC" = x; then
4275 case $cross_compiling:$ac_tool_warned in
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4278 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4279 ac_tool_warned=yes ;;
4281 DX_HHC=$ac_pt_DX_HHC
4284 DX_HHC="$ac_cv_path_DX_HHC"
4287 if test "$DX_FLAG_chm$DX_HHC" = 1; then
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
4289 $as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
4296 if test "$DX_FLAG_chm" = 1; then
4299 DX_COND_chm_FALSE='#'
4301 DX_COND_chm_TRUE='#'
4305 DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
4307 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
4309 DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
4315 DX_COND_chm_FALSE='#'
4317 DX_COND_chm_TRUE='#'
4321 DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
4327 # Seperate CHI file generation.
4332 # Check whether --enable-doxygen-chi was given.
4333 if test "${enable_doxygen_chi+set}" = set; then :
4334 enableval=$enable_doxygen_chi;
4335 case "$enableval" in
4341 test "$DX_FLAG_chm" = "1" \
4342 || as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
4350 as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
4359 test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
4365 if test "$DX_FLAG_chi" = 1; then
4369 if test "$DX_FLAG_chi" = 1; then
4372 DX_COND_chi_FALSE='#'
4374 DX_COND_chi_TRUE='#'
4378 DX_ENV="$DX_ENV GENERATE_CHI='YES'"
4384 DX_COND_chi_FALSE='#'
4386 DX_COND_chi_TRUE='#'
4390 DX_ENV="$DX_ENV GENERATE_CHI='NO'"
4396 # Plain HTML pages generation:
4401 # Check whether --enable-doxygen-html was given.
4402 if test "${enable_doxygen_html+set}" = set; then :
4403 enableval=$enable_doxygen_html;
4404 case "$enableval" in
4410 test "$DX_FLAG_doc" = "1" \
4411 || as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
4413 test "$DX_FLAG_chm" = "0" \
4414 || as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
4422 as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
4431 test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
4434 test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
4440 if test "$DX_FLAG_html" = 1; then
4444 if test "$DX_FLAG_html" = 1; then
4447 DX_COND_html_FALSE='#'
4449 DX_COND_html_TRUE='#'
4453 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
4459 DX_COND_html_FALSE='#'
4461 DX_COND_html_TRUE='#'
4465 test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
4471 # PostScript file generation:
4476 # Check whether --enable-doxygen-ps was given.
4477 if test "${enable_doxygen_ps+set}" = set; then :
4478 enableval=$enable_doxygen_ps;
4479 case "$enableval" in
4485 test "$DX_FLAG_doc" = "1" \
4486 || as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
4494 as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
4503 test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
4509 if test "$DX_FLAG_ps" = 1; then
4511 if test -n "$ac_tool_prefix"; then
4512 # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
4513 set dummy ${ac_tool_prefix}latex; ac_word=$2
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4515 $as_echo_n "checking for $ac_word... " >&6; }
4516 if ${ac_cv_path_DX_LATEX+:} false; then :
4517 $as_echo_n "(cached) " >&6
4521 ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
4524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4528 test -z "$as_dir" && as_dir=.
4529 for ac_exec_ext in '' $ac_executable_extensions; do
4530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4531 ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
4532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4542 DX_LATEX=$ac_cv_path_DX_LATEX
4543 if test -n "$DX_LATEX"; then
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
4545 $as_echo "$DX_LATEX" >&6; }
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4548 $as_echo "no" >&6; }
4553 if test -z "$ac_cv_path_DX_LATEX"; then
4554 ac_pt_DX_LATEX=$DX_LATEX
4555 # Extract the first word of "latex", so it can be a program name with args.
4556 set dummy latex; ac_word=$2
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4558 $as_echo_n "checking for $ac_word... " >&6; }
4559 if ${ac_cv_path_ac_pt_DX_LATEX+:} false; then :
4560 $as_echo_n "(cached) " >&6
4562 case $ac_pt_DX_LATEX in
4564 ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
4567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4571 test -z "$as_dir" && as_dir=.
4572 for ac_exec_ext in '' $ac_executable_extensions; do
4573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4574 ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
4575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4585 ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
4586 if test -n "$ac_pt_DX_LATEX"; then
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
4588 $as_echo "$ac_pt_DX_LATEX" >&6; }
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4591 $as_echo "no" >&6; }
4594 if test "x$ac_pt_DX_LATEX" = x; then
4597 case $cross_compiling:$ac_tool_warned in
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4600 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4601 ac_tool_warned=yes ;;
4603 DX_LATEX=$ac_pt_DX_LATEX
4606 DX_LATEX="$ac_cv_path_DX_LATEX"
4609 if test "$DX_FLAG_ps$DX_LATEX" = 1; then
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
4611 $as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
4617 if test -n "$ac_tool_prefix"; then
4618 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
4619 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4621 $as_echo_n "checking for $ac_word... " >&6; }
4622 if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
4623 $as_echo_n "(cached) " >&6
4625 case $DX_MAKEINDEX in
4627 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
4630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4634 test -z "$as_dir" && as_dir=.
4635 for ac_exec_ext in '' $ac_executable_extensions; do
4636 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4637 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
4638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4648 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
4649 if test -n "$DX_MAKEINDEX"; then
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
4651 $as_echo "$DX_MAKEINDEX" >&6; }
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4654 $as_echo "no" >&6; }
4659 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
4660 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
4661 # Extract the first word of "makeindex", so it can be a program name with args.
4662 set dummy makeindex; ac_word=$2
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4664 $as_echo_n "checking for $ac_word... " >&6; }
4665 if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
4666 $as_echo_n "(cached) " >&6
4668 case $ac_pt_DX_MAKEINDEX in
4670 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
4673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4677 test -z "$as_dir" && as_dir=.
4678 for ac_exec_ext in '' $ac_executable_extensions; do
4679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4680 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
4681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4691 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
4692 if test -n "$ac_pt_DX_MAKEINDEX"; then
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
4694 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4697 $as_echo "no" >&6; }
4700 if test "x$ac_pt_DX_MAKEINDEX" = x; then
4703 case $cross_compiling:$ac_tool_warned in
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4706 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4707 ac_tool_warned=yes ;;
4709 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
4712 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
4715 if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
4717 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
4723 if test -n "$ac_tool_prefix"; then
4724 # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
4725 set dummy ${ac_tool_prefix}dvips; ac_word=$2
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4727 $as_echo_n "checking for $ac_word... " >&6; }
4728 if ${ac_cv_path_DX_DVIPS+:} false; then :
4729 $as_echo_n "(cached) " >&6
4733 ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
4736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4740 test -z "$as_dir" && as_dir=.
4741 for ac_exec_ext in '' $ac_executable_extensions; do
4742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4743 ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
4744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4754 DX_DVIPS=$ac_cv_path_DX_DVIPS
4755 if test -n "$DX_DVIPS"; then
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
4757 $as_echo "$DX_DVIPS" >&6; }
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4760 $as_echo "no" >&6; }
4765 if test -z "$ac_cv_path_DX_DVIPS"; then
4766 ac_pt_DX_DVIPS=$DX_DVIPS
4767 # Extract the first word of "dvips", so it can be a program name with args.
4768 set dummy dvips; ac_word=$2
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4770 $as_echo_n "checking for $ac_word... " >&6; }
4771 if ${ac_cv_path_ac_pt_DX_DVIPS+:} false; then :
4772 $as_echo_n "(cached) " >&6
4774 case $ac_pt_DX_DVIPS in
4776 ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
4779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4783 test -z "$as_dir" && as_dir=.
4784 for ac_exec_ext in '' $ac_executable_extensions; do
4785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4786 ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
4787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4797 ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
4798 if test -n "$ac_pt_DX_DVIPS"; then
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
4800 $as_echo "$ac_pt_DX_DVIPS" >&6; }
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4803 $as_echo "no" >&6; }
4806 if test "x$ac_pt_DX_DVIPS" = x; then
4809 case $cross_compiling:$ac_tool_warned in
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4812 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4813 ac_tool_warned=yes ;;
4815 DX_DVIPS=$ac_pt_DX_DVIPS
4818 DX_DVIPS="$ac_cv_path_DX_DVIPS"
4821 if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
4823 $as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
4829 if test -n "$ac_tool_prefix"; then
4830 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
4831 set dummy ${ac_tool_prefix}egrep; ac_word=$2
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4833 $as_echo_n "checking for $ac_word... " >&6; }
4834 if ${ac_cv_path_DX_EGREP+:} false; then :
4835 $as_echo_n "(cached) " >&6
4839 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
4842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4846 test -z "$as_dir" && as_dir=.
4847 for ac_exec_ext in '' $ac_executable_extensions; do
4848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4849 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
4850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4860 DX_EGREP=$ac_cv_path_DX_EGREP
4861 if test -n "$DX_EGREP"; then
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
4863 $as_echo "$DX_EGREP" >&6; }
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4866 $as_echo "no" >&6; }
4871 if test -z "$ac_cv_path_DX_EGREP"; then
4872 ac_pt_DX_EGREP=$DX_EGREP
4873 # Extract the first word of "egrep", so it can be a program name with args.
4874 set dummy egrep; ac_word=$2
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4876 $as_echo_n "checking for $ac_word... " >&6; }
4877 if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
4878 $as_echo_n "(cached) " >&6
4880 case $ac_pt_DX_EGREP in
4882 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
4885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4889 test -z "$as_dir" && as_dir=.
4890 for ac_exec_ext in '' $ac_executable_extensions; do
4891 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4892 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
4893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4903 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
4904 if test -n "$ac_pt_DX_EGREP"; then
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
4906 $as_echo "$ac_pt_DX_EGREP" >&6; }
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4909 $as_echo "no" >&6; }
4912 if test "x$ac_pt_DX_EGREP" = x; then
4915 case $cross_compiling:$ac_tool_warned in
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4918 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4919 ac_tool_warned=yes ;;
4921 DX_EGREP=$ac_pt_DX_EGREP
4924 DX_EGREP="$ac_cv_path_DX_EGREP"
4927 if test "$DX_FLAG_ps$DX_EGREP" = 1; then
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
4929 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
4936 if test "$DX_FLAG_ps" = 1; then
4939 DX_COND_ps_FALSE='#'
4950 DX_COND_ps_FALSE='#'
4961 # PDF file generation:
4966 # Check whether --enable-doxygen-pdf was given.
4967 if test "${enable_doxygen_pdf+set}" = set; then :
4968 enableval=$enable_doxygen_pdf;
4969 case "$enableval" in
4975 test "$DX_FLAG_doc" = "1" \
4976 || as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
4984 as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
4993 test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
4999 if test "$DX_FLAG_pdf" = 1; then
5001 if test -n "$ac_tool_prefix"; then
5002 # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
5003 set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5005 $as_echo_n "checking for $ac_word... " >&6; }
5006 if ${ac_cv_path_DX_PDFLATEX+:} false; then :
5007 $as_echo_n "(cached) " >&6
5009 case $DX_PDFLATEX in
5011 ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
5014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5018 test -z "$as_dir" && as_dir=.
5019 for ac_exec_ext in '' $ac_executable_extensions; do
5020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5021 ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
5022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5032 DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
5033 if test -n "$DX_PDFLATEX"; then
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
5035 $as_echo "$DX_PDFLATEX" >&6; }
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5038 $as_echo "no" >&6; }
5043 if test -z "$ac_cv_path_DX_PDFLATEX"; then
5044 ac_pt_DX_PDFLATEX=$DX_PDFLATEX
5045 # Extract the first word of "pdflatex", so it can be a program name with args.
5046 set dummy pdflatex; ac_word=$2
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5048 $as_echo_n "checking for $ac_word... " >&6; }
5049 if ${ac_cv_path_ac_pt_DX_PDFLATEX+:} false; then :
5050 $as_echo_n "(cached) " >&6
5052 case $ac_pt_DX_PDFLATEX in
5054 ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
5057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5061 test -z "$as_dir" && as_dir=.
5062 for ac_exec_ext in '' $ac_executable_extensions; do
5063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5064 ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
5065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5075 ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
5076 if test -n "$ac_pt_DX_PDFLATEX"; then
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
5078 $as_echo "$ac_pt_DX_PDFLATEX" >&6; }
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5081 $as_echo "no" >&6; }
5084 if test "x$ac_pt_DX_PDFLATEX" = x; then
5087 case $cross_compiling:$ac_tool_warned in
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5090 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5091 ac_tool_warned=yes ;;
5093 DX_PDFLATEX=$ac_pt_DX_PDFLATEX
5096 DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
5099 if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
5101 $as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
5107 if test -n "$ac_tool_prefix"; then
5108 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
5109 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5111 $as_echo_n "checking for $ac_word... " >&6; }
5112 if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
5113 $as_echo_n "(cached) " >&6
5115 case $DX_MAKEINDEX in
5117 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
5120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5124 test -z "$as_dir" && as_dir=.
5125 for ac_exec_ext in '' $ac_executable_extensions; do
5126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5127 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
5128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5138 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
5139 if test -n "$DX_MAKEINDEX"; then
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
5141 $as_echo "$DX_MAKEINDEX" >&6; }
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5144 $as_echo "no" >&6; }
5149 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
5150 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
5151 # Extract the first word of "makeindex", so it can be a program name with args.
5152 set dummy makeindex; ac_word=$2
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5154 $as_echo_n "checking for $ac_word... " >&6; }
5155 if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
5156 $as_echo_n "(cached) " >&6
5158 case $ac_pt_DX_MAKEINDEX in
5160 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
5163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5167 test -z "$as_dir" && as_dir=.
5168 for ac_exec_ext in '' $ac_executable_extensions; do
5169 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5170 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
5171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5181 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
5182 if test -n "$ac_pt_DX_MAKEINDEX"; then
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
5184 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5187 $as_echo "no" >&6; }
5190 if test "x$ac_pt_DX_MAKEINDEX" = x; then
5193 case $cross_compiling:$ac_tool_warned in
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5197 ac_tool_warned=yes ;;
5199 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
5202 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
5205 if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
5207 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
5213 if test -n "$ac_tool_prefix"; then
5214 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
5215 set dummy ${ac_tool_prefix}egrep; ac_word=$2
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5217 $as_echo_n "checking for $ac_word... " >&6; }
5218 if ${ac_cv_path_DX_EGREP+:} false; then :
5219 $as_echo_n "(cached) " >&6
5223 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
5226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5230 test -z "$as_dir" && as_dir=.
5231 for ac_exec_ext in '' $ac_executable_extensions; do
5232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5233 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
5234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5244 DX_EGREP=$ac_cv_path_DX_EGREP
5245 if test -n "$DX_EGREP"; then
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
5247 $as_echo "$DX_EGREP" >&6; }
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5250 $as_echo "no" >&6; }
5255 if test -z "$ac_cv_path_DX_EGREP"; then
5256 ac_pt_DX_EGREP=$DX_EGREP
5257 # Extract the first word of "egrep", so it can be a program name with args.
5258 set dummy egrep; ac_word=$2
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5260 $as_echo_n "checking for $ac_word... " >&6; }
5261 if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
5262 $as_echo_n "(cached) " >&6
5264 case $ac_pt_DX_EGREP in
5266 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
5269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5273 test -z "$as_dir" && as_dir=.
5274 for ac_exec_ext in '' $ac_executable_extensions; do
5275 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5276 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
5277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5287 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
5288 if test -n "$ac_pt_DX_EGREP"; then
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
5290 $as_echo "$ac_pt_DX_EGREP" >&6; }
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5293 $as_echo "no" >&6; }
5296 if test "x$ac_pt_DX_EGREP" = x; then
5299 case $cross_compiling:$ac_tool_warned in
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5303 ac_tool_warned=yes ;;
5305 DX_EGREP=$ac_pt_DX_EGREP
5308 DX_EGREP="$ac_cv_path_DX_EGREP"
5311 if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
5313 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
5320 if test "$DX_FLAG_pdf" = 1; then
5323 DX_COND_pdf_FALSE='#'
5325 DX_COND_pdf_TRUE='#'
5334 DX_COND_pdf_FALSE='#'
5336 DX_COND_pdf_TRUE='#'
5345 # LaTeX generation for PS and/or PDF:
5346 if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
5349 DX_COND_latex_FALSE='#'
5351 DX_COND_latex_TRUE='#'
5352 DX_COND_latex_FALSE=
5355 DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
5360 DX_COND_latex_FALSE='#'
5362 DX_COND_latex_TRUE='#'
5363 DX_COND_latex_FALSE=
5366 DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
5370 # Paper size for PS and/or PDF:
5372 case "$DOXYGEN_PAPER_SIZE" in
5375 DOXYGEN_PAPER_SIZE=""
5378 a4wide|a4|letter|legal|executive)
5379 DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
5383 as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
5388 #echo DX_FLAG_doc=$DX_FLAG_doc
5389 #echo DX_FLAG_dot=$DX_FLAG_dot
5390 #echo DX_FLAG_man=$DX_FLAG_man
5391 #echo DX_FLAG_html=$DX_FLAG_html
5392 #echo DX_FLAG_chm=$DX_FLAG_chm
5393 #echo DX_FLAG_chi=$DX_FLAG_chi
5394 #echo DX_FLAG_rtf=$DX_FLAG_rtf
5395 #echo DX_FLAG_xml=$DX_FLAG_xml
5396 #echo DX_FLAG_pdf=$DX_FLAG_pdf
5397 #echo DX_FLAG_ps=$DX_FLAG_ps
5398 #echo DX_ENV=$DX_ENV
5402 # ----------------------------------------------------------------------
5405 # Check whether --enable-debug-flags was given.
5406 if test "${enable_debug_flags+set}" = set; then :
5407 enableval=$enable_debug_flags;
5410 if test "x${enable_developer}" != "xyes"
5412 enable_debug_flags="no"
5414 enable_debug_flags="yes"
5420 # Check whether --enable-debug-log was given.
5421 if test "${enable_debug_log+set}" = set; then :
5422 enableval=$enable_debug_log;
5424 enable_debug_log="yes"
5428 if test "x${enable_debug_flags}" != "xno"
5430 if test "x${enable_developer}" = "xyes"
5432 CXXFLAGS="${CXXFLAGS} -Wall"
5433 CFLAGS="${CFLAGS} -Wstrict-prototypes -Wall"
5435 __COMMONFLAGS="-g -O0 -Wextra -Wunused-value -Wunused-variable -Wunused-function -Wunused-label -Wcomment -Wmissing-braces -Wparentheses -Wreturn-type -Wswitch -Wstrict-aliasing -Wno-unused-parameter -Wformat -Wformat-security -DGQ_DEBUG_PATH_UTF8=1"
5436 CXXFLAGS="${CXXFLAGS} ${__COMMONFLAGS}"
5437 CFLAGS="${CFLAGS} ${__COMMONFLAGS} -Wimplicit-int -Werror-implicit-function-declaration"
5438 __IS_DEBUG_FLAGS=yes
5443 if test "x${enable_debug_log}" != "xno"
5446 $as_echo "#define DEBUG 1" >>confdefs.h
5453 if test x$enable_debug_flags = xyes; then
5462 # Check whether --enable-deprecated was given.
5463 if test "${enable_deprecated+set}" = set; then :
5464 enableval=$enable_deprecated;
5467 if test "x${enable_developer}" != "xyes"
5469 enable_deprecated="no"
5471 enable_deprecated="yes"
5477 if test "x${enable_deprecated}" != "xno"
5479 CXXFLAGS="${CXXFLAGS} -DGTK_DISABLE_DEPRECATED=1 -DGDK_DISABLE_DEPRECATED=1 -DGDK_PIXBUF_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1"
5480 CFLAGS="${CFLAGS} -DGTK_DISABLE_DEPRECATED=1 -DGDK_DISABLE_DEPRECATED=1 -DGDK_PIXBUF_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1"
5487 DEPDIR="${am__leading_dot}deps"
5489 ac_config_commands="$ac_config_commands depfiles"
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
5492 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
5493 cat > confinc.mk << 'END'
5495 @echo this is the am__doit target >confinc.out
5500 # BSD make does it like this.
5501 echo '.include "confinc.mk" # ignored' > confmf.BSD
5502 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
5503 echo 'include confinc.mk # ignored' > confmf.GNU
5505 for s in GNU BSD; do
5506 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
5507 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
5509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510 (exit $ac_status); }
5511 case $?:`cat confinc.out 2>/dev/null` in #(
5512 '0:this is the am__doit target') :
5515 am__include='.include' am__quote='"' ;; #(
5517 am__include='include' am__quote='' ;;
5522 if test "$am__include" != "#"; then
5523 _am_result="yes ($s style)"
5527 rm -f confinc.* confmf.*
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
5529 $as_echo "${_am_result}" >&6; }
5531 # Check whether --enable-dependency-tracking was given.
5532 if test "${enable_dependency_tracking+set}" = set; then :
5533 enableval=$enable_dependency_tracking;
5536 if test "x$enable_dependency_tracking" != xno; then
5537 am_depcomp="$ac_aux_dir/depcomp"
5541 if test "x$enable_dependency_tracking" != xno; then
5551 ac_cpp='$CPP $CPPFLAGS'
5552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5555 if test -n "$ac_tool_prefix"; then
5556 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5557 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5559 $as_echo_n "checking for $ac_word... " >&6; }
5560 if ${ac_cv_prog_CC+:} false; then :
5561 $as_echo_n "(cached) " >&6
5563 if test -n "$CC"; then
5564 ac_cv_prog_CC="$CC" # Let the user override the test.
5566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5570 test -z "$as_dir" && as_dir=.
5571 for ac_exec_ext in '' $ac_executable_extensions; do
5572 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5573 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5584 if test -n "$CC"; then
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5586 $as_echo "$CC" >&6; }
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5589 $as_echo "no" >&6; }
5594 if test -z "$ac_cv_prog_CC"; then
5596 # Extract the first word of "gcc", so it can be a program name with args.
5597 set dummy gcc; ac_word=$2
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5599 $as_echo_n "checking for $ac_word... " >&6; }
5600 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5601 $as_echo_n "(cached) " >&6
5603 if test -n "$ac_ct_CC"; then
5604 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5610 test -z "$as_dir" && as_dir=.
5611 for ac_exec_ext in '' $ac_executable_extensions; do
5612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5613 ac_cv_prog_ac_ct_CC="gcc"
5614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5623 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5624 if test -n "$ac_ct_CC"; then
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5626 $as_echo "$ac_ct_CC" >&6; }
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5629 $as_echo "no" >&6; }
5632 if test "x$ac_ct_CC" = x; then
5635 case $cross_compiling:$ac_tool_warned in
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5639 ac_tool_warned=yes ;;
5647 if test -z "$CC"; then
5648 if test -n "$ac_tool_prefix"; then
5649 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5650 set dummy ${ac_tool_prefix}cc; ac_word=$2
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5652 $as_echo_n "checking for $ac_word... " >&6; }
5653 if ${ac_cv_prog_CC+:} false; then :
5654 $as_echo_n "(cached) " >&6
5656 if test -n "$CC"; then
5657 ac_cv_prog_CC="$CC" # Let the user override the test.
5659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5663 test -z "$as_dir" && as_dir=.
5664 for ac_exec_ext in '' $ac_executable_extensions; do
5665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5666 ac_cv_prog_CC="${ac_tool_prefix}cc"
5667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5677 if test -n "$CC"; then
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5679 $as_echo "$CC" >&6; }
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5682 $as_echo "no" >&6; }
5688 if test -z "$CC"; then
5689 # Extract the first word of "cc", so it can be a program name with args.
5690 set dummy cc; ac_word=$2
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5692 $as_echo_n "checking for $ac_word... " >&6; }
5693 if ${ac_cv_prog_CC+:} false; then :
5694 $as_echo_n "(cached) " >&6
5696 if test -n "$CC"; then
5697 ac_cv_prog_CC="$CC" # Let the user override the test.
5700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5704 test -z "$as_dir" && as_dir=.
5705 for ac_exec_ext in '' $ac_executable_extensions; do
5706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5707 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5708 ac_prog_rejected=yes
5712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5719 if test $ac_prog_rejected = yes; then
5720 # We found a bogon in the path, so make sure we never use it.
5721 set dummy $ac_cv_prog_CC
5723 if test $# != 0; then
5724 # We chose a different compiler from the bogus one.
5725 # However, it has the same basename, so the bogon will be chosen
5726 # first if we set CC to just the basename; use the full file name.
5728 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5734 if test -n "$CC"; then
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5736 $as_echo "$CC" >&6; }
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5739 $as_echo "no" >&6; }
5744 if test -z "$CC"; then
5745 if test -n "$ac_tool_prefix"; then
5746 for ac_prog in cl.exe
5748 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5749 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5751 $as_echo_n "checking for $ac_word... " >&6; }
5752 if ${ac_cv_prog_CC+:} false; then :
5753 $as_echo_n "(cached) " >&6
5755 if test -n "$CC"; then
5756 ac_cv_prog_CC="$CC" # Let the user override the test.
5758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5762 test -z "$as_dir" && as_dir=.
5763 for ac_exec_ext in '' $ac_executable_extensions; do
5764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5765 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5776 if test -n "$CC"; then
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5778 $as_echo "$CC" >&6; }
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5781 $as_echo "no" >&6; }
5785 test -n "$CC" && break
5788 if test -z "$CC"; then
5790 for ac_prog in cl.exe
5792 # Extract the first word of "$ac_prog", so it can be a program name with args.
5793 set dummy $ac_prog; ac_word=$2
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5795 $as_echo_n "checking for $ac_word... " >&6; }
5796 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5797 $as_echo_n "(cached) " >&6
5799 if test -n "$ac_ct_CC"; then
5800 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5806 test -z "$as_dir" && as_dir=.
5807 for ac_exec_ext in '' $ac_executable_extensions; do
5808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5809 ac_cv_prog_ac_ct_CC="$ac_prog"
5810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5819 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5820 if test -n "$ac_ct_CC"; then
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5822 $as_echo "$ac_ct_CC" >&6; }
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5825 $as_echo "no" >&6; }
5829 test -n "$ac_ct_CC" && break
5832 if test "x$ac_ct_CC" = x; then
5835 case $cross_compiling:$ac_tool_warned in
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5838 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5839 ac_tool_warned=yes ;;
5848 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5849 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5850 as_fn_error $? "no acceptable C compiler found in \$PATH
5851 See \`config.log' for more details" "$LINENO" 5; }
5853 # Provide some information about the compiler.
5854 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5857 for ac_option in --version -v -V -qversion; do
5858 { { ac_try="$ac_compiler $ac_option >&5"
5860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5861 *) ac_try_echo=$ac_try;;
5863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5864 $as_echo "$ac_try_echo"; } >&5
5865 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5867 if test -s conftest.err; then
5869 ... rest of stderr output deleted ...
5870 10q' conftest.err >conftest.er1
5871 cat conftest.er1 >&5
5873 rm -f conftest.er1 conftest.err
5874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5875 test $ac_status = 0; }
5878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5879 /* end confdefs.h. */
5889 ac_clean_files_save=$ac_clean_files
5890 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5891 # Try to create an executable without -o first, disregard a.out.
5892 # It will help us diagnose broken compilers, and finding out an intuition
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5895 $as_echo_n "checking whether the C compiler works... " >&6; }
5896 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5898 # The possible output files:
5899 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5902 for ac_file in $ac_files
5905 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5906 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5911 if { { ac_try="$ac_link_default"
5913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5914 *) ac_try_echo=$ac_try;;
5916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5917 $as_echo "$ac_try_echo"; } >&5
5918 (eval "$ac_link_default") 2>&5
5920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5921 test $ac_status = 0; }; then :
5922 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5923 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5924 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5925 # so that the user can short-circuit this test for compilers unknown to
5927 for ac_file in $ac_files ''
5929 test -f "$ac_file" || continue
5931 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5934 # We found the default executable, but exeext='' is most
5938 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
5940 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5942 # We set ac_cv_exeext here because the later test for it is not
5943 # safe: cross compilers may not add the suffix if given an `-o'
5944 # argument, so we may need to know it at that point already.
5945 # Even if this section looks crufty: it has the advantage of
5952 test "$ac_cv_exeext" = no && ac_cv_exeext=
5957 if test -z "$ac_file"; then :
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5959 $as_echo "no" >&6; }
5960 $as_echo "$as_me: failed program was:" >&5
5961 sed 's/^/| /' conftest.$ac_ext >&5
5963 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5964 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5965 as_fn_error 77 "C compiler cannot create executables
5966 See \`config.log' for more details" "$LINENO" 5; }
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5969 $as_echo "yes" >&6; }
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5972 $as_echo_n "checking for C compiler default output file name... " >&6; }
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5974 $as_echo "$ac_file" >&6; }
5975 ac_exeext=$ac_cv_exeext
5977 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5978 ac_clean_files=$ac_clean_files_save
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5980 $as_echo_n "checking for suffix of executables... " >&6; }
5981 if { { ac_try="$ac_link"
5983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5984 *) ac_try_echo=$ac_try;;
5986 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5987 $as_echo "$ac_try_echo"; } >&5
5988 (eval "$ac_link") 2>&5
5990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5991 test $ac_status = 0; }; then :
5992 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5993 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5994 # work properly (i.e., refer to `conftest.exe'), while it won't with
5996 for ac_file in conftest.exe conftest conftest.*; do
5997 test -f "$ac_file" || continue
5999 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
6000 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
6006 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6008 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
6009 See \`config.log' for more details" "$LINENO" 5; }
6011 rm -f conftest conftest$ac_cv_exeext
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
6013 $as_echo "$ac_cv_exeext" >&6; }
6015 rm -f conftest.$ac_ext
6016 EXEEXT=$ac_cv_exeext
6018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6019 /* end confdefs.h. */
6024 FILE *f = fopen ("conftest.out", "w");
6025 return ferror (f) || fclose (f) != 0;
6031 ac_clean_files="$ac_clean_files conftest.out"
6032 # Check that the compiler produces executables we can run. If not, either
6033 # the compiler is broken, or we cross compile.
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
6035 $as_echo_n "checking whether we are cross compiling... " >&6; }
6036 if test "$cross_compiling" != yes; then
6037 { { ac_try="$ac_link"
6039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6040 *) ac_try_echo=$ac_try;;
6042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6043 $as_echo "$ac_try_echo"; } >&5
6044 (eval "$ac_link") 2>&5
6046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6047 test $ac_status = 0; }
6048 if { ac_try='./conftest$ac_cv_exeext'
6049 { { case "(($ac_try" in
6050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6051 *) ac_try_echo=$ac_try;;
6053 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6054 $as_echo "$ac_try_echo"; } >&5
6055 (eval "$ac_try") 2>&5
6057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6058 test $ac_status = 0; }; }; then
6061 if test "$cross_compiling" = maybe; then
6064 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6066 as_fn_error $? "cannot run C compiled programs.
6067 If you meant to cross compile, use \`--host'.
6068 See \`config.log' for more details" "$LINENO" 5; }
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
6073 $as_echo "$cross_compiling" >&6; }
6075 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
6076 ac_clean_files=$ac_clean_files_save
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
6078 $as_echo_n "checking for suffix of object files... " >&6; }
6079 if ${ac_cv_objext+:} false; then :
6080 $as_echo_n "(cached) " >&6
6082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6083 /* end confdefs.h. */
6093 rm -f conftest.o conftest.obj
6094 if { { ac_try="$ac_compile"
6096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6097 *) ac_try_echo=$ac_try;;
6099 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6100 $as_echo "$ac_try_echo"; } >&5
6101 (eval "$ac_compile") 2>&5
6103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6104 test $ac_status = 0; }; then :
6105 for ac_file in conftest.o conftest.obj conftest.*; do
6106 test -f "$ac_file" || continue;
6108 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
6109 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
6114 $as_echo "$as_me: failed program was:" >&5
6115 sed 's/^/| /' conftest.$ac_ext >&5
6117 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6118 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6119 as_fn_error $? "cannot compute suffix of object files: cannot compile
6120 See \`config.log' for more details" "$LINENO" 5; }
6122 rm -f conftest.$ac_cv_objext conftest.$ac_ext
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
6125 $as_echo "$ac_cv_objext" >&6; }
6126 OBJEXT=$ac_cv_objext
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
6129 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
6130 if ${ac_cv_c_compiler_gnu+:} false; then :
6131 $as_echo_n "(cached) " >&6
6133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6134 /* end confdefs.h. */
6147 if ac_fn_c_try_compile "$LINENO"; then :
6152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6153 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
6157 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
6158 if test $ac_compiler_gnu = yes; then
6163 ac_test_CFLAGS=${CFLAGS+set}
6164 ac_save_CFLAGS=$CFLAGS
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
6166 $as_echo_n "checking whether $CC accepts -g... " >&6; }
6167 if ${ac_cv_prog_cc_g+:} false; then :
6168 $as_echo_n "(cached) " >&6
6170 ac_save_c_werror_flag=$ac_c_werror_flag
6171 ac_c_werror_flag=yes
6174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6175 /* end confdefs.h. */
6185 if ac_fn_c_try_compile "$LINENO"; then :
6189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6190 /* end confdefs.h. */
6200 if ac_fn_c_try_compile "$LINENO"; then :
6203 ac_c_werror_flag=$ac_save_c_werror_flag
6205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6206 /* end confdefs.h. */
6216 if ac_fn_c_try_compile "$LINENO"; then :
6219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6224 ac_c_werror_flag=$ac_save_c_werror_flag
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
6227 $as_echo "$ac_cv_prog_cc_g" >&6; }
6228 if test "$ac_test_CFLAGS" = set; then
6229 CFLAGS=$ac_save_CFLAGS
6230 elif test $ac_cv_prog_cc_g = yes; then
6231 if test "$GCC" = yes; then
6237 if test "$GCC" = yes; then
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6244 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6245 if ${ac_cv_prog_cc_c89+:} false; then :
6246 $as_echo_n "(cached) " >&6
6248 ac_cv_prog_cc_c89=no
6250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6251 /* end confdefs.h. */
6255 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6256 struct buf { int x; };
6257 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6258 static char *e (p, i)
6264 static char *f (char * (*g) (char **, int), char **p, ...)
6269 s = g (p, va_arg (v,int));
6274 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6275 function prototypes and stuff, but not '\xHH' hex character constants.
6276 These don't provoke an error unfortunately, instead are silently treated
6277 as 'x'. The following induces an error, until -std is added to get
6278 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6279 array size at least. It's necessary to write '\x00'==0 to get something
6280 that's true only with -std. */
6281 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6283 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6284 inside strings and character constants. */
6286 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6288 int test (int i, double x);
6289 struct s1 {int (*f) (int a);};
6290 struct s2 {int (*f) (double a);};
6291 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6297 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6302 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6303 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6305 CC="$ac_save_CC $ac_arg"
6306 if ac_fn_c_try_compile "$LINENO"; then :
6307 ac_cv_prog_cc_c89=$ac_arg
6309 rm -f core conftest.err conftest.$ac_objext
6310 test "x$ac_cv_prog_cc_c89" != "xno" && break
6312 rm -f conftest.$ac_ext
6317 case "x$ac_cv_prog_cc_c89" in
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6320 $as_echo "none needed" >&6; } ;;
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6323 $as_echo "unsupported" >&6; } ;;
6325 CC="$CC $ac_cv_prog_cc_c89"
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6327 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6329 if test "x$ac_cv_prog_cc_c89" != xno; then :
6334 ac_cpp='$CPP $CPPFLAGS'
6335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6340 ac_cpp='$CPP $CPPFLAGS'
6341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
6345 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
6346 if ${am_cv_prog_cc_c_o+:} false; then :
6347 $as_echo_n "(cached) " >&6
6349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6350 /* end confdefs.h. */
6360 # Make sure it works both with $CC and with simple cc.
6361 # Following AC_PROG_CC_C_O, we do the test twice because some
6362 # compilers refuse to overwrite an existing .o file with -o,
6363 # though they will create one.
6364 am_cv_prog_cc_c_o=yes
6366 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
6367 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
6369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370 (exit $ac_status); } \
6371 && test -f conftest2.$ac_objext; then
6374 am_cv_prog_cc_c_o=no
6378 rm -f core conftest*
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
6382 $as_echo "$am_cv_prog_cc_c_o" >&6; }
6383 if test "$am_cv_prog_cc_c_o" != yes; then
6384 # Losing compiler, so override with the script.
6385 # FIXME: It is wrong to rewrite CC.
6386 # But if we don't then we get into trouble of one sort or another.
6387 # A longer-term fix would be to have automake use am__CC in this case,
6388 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6389 CC="$am_aux_dir/compile $CC"
6392 ac_cpp='$CPP $CPPFLAGS'
6393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6398 depcc="$CC" am_compiler_list=
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6401 $as_echo_n "checking dependency style of $depcc... " >&6; }
6402 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
6403 $as_echo_n "(cached) " >&6
6405 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6406 # We make a subdir and do the tests there. Otherwise we can end up
6407 # making bogus files that we don't know about and never remove. For
6408 # instance it was reported that on HP-UX the gcc test will end up
6409 # making a dummy file named 'D' -- because '-MD' means "put the output
6413 # Copy depcomp to subdir because otherwise we won't find it if we're
6414 # using a relative directory.
6415 cp "$am_depcomp" conftest.dir
6417 # We will build objects and dependencies in a subdirectory because
6418 # it helps to detect inapplicable dependency modes. For instance
6419 # both Tru64's cc and ICC support -MD to output dependencies as a
6420 # side effect of compilation, but ICC will put the dependencies in
6421 # the current directory while Tru64 will put them in the object
6425 am_cv_CC_dependencies_compiler_type=none
6426 if test "$am_compiler_list" = ""; then
6427 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6430 case " $depcc " in #(
6431 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6434 for depmode in $am_compiler_list; do
6435 # Setup a source with many dependencies, because some compilers
6436 # like to wrap large dependency lists on column 80 (with \), and
6437 # we should not choose a depcomp mode which is confused by this.
6439 # We need to recreate these files for each test, as the compiler may
6440 # overwrite some of them when testing with obscure command lines.
6441 # This happens at least with the AIX C compiler.
6443 for i in 1 2 3 4 5 6; do
6444 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6445 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6446 # Solaris 10 /bin/sh.
6447 echo '/* dummy */' > sub/conftst$i.h
6449 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6451 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6452 # mode. It turns out that the SunPro C++ compiler does not properly
6453 # handle '-M -o', and we need to detect this. Also, some Intel
6454 # versions had trouble with output in subdirs.
6455 am__obj=sub/conftest.${OBJEXT-o}
6456 am__minus_obj="-o $am__obj"
6459 # This depmode causes a compiler race in universal mode.
6460 test "$am__universal" = false || continue
6463 # After this tag, mechanisms are not by side-effect, so they'll
6464 # only be used when explicitly requested.
6465 if test "x$enable_dependency_tracking" = xyes; then
6471 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6472 # This compiler won't grok '-c -o', but also, the minuso test has
6473 # not run yet. These depmodes are late enough in the game, and
6474 # so weak that their functioning should not be impacted.
6475 am__obj=conftest.${OBJEXT-o}
6480 if depmode=$depmode \
6481 source=sub/conftest.c object=$am__obj \
6482 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6483 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6484 >/dev/null 2>conftest.err &&
6485 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6486 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6487 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6488 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6489 # icc doesn't choke on unknown options, it will just issue warnings
6490 # or remarks (even with -Werror). So we grep stderr for any message
6491 # that says an option was ignored or not supported.
6492 # When given -MP, icc 7.0 and 7.1 complain thusly:
6493 # icc: Command line warning: ignoring option '-M'; no argument required
6494 # The diagnosis changed in icc 8.0:
6495 # icc: Command line remark: option '-MP' not supported
6496 if (grep 'ignoring option' conftest.err ||
6497 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6498 am_cv_CC_dependencies_compiler_type=$depmode
6507 am_cv_CC_dependencies_compiler_type=none
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6512 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6513 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6516 test "x$enable_dependency_tracking" != xno \
6517 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6519 am__fastdepCC_FALSE='#'
6521 am__fastdepCC_TRUE='#'
6522 am__fastdepCC_FALSE=
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
6528 $as_echo_n "checking for library containing strerror... " >&6; }
6529 if ${ac_cv_search_strerror+:} false; then :
6530 $as_echo_n "(cached) " >&6
6532 ac_func_search_save_LIBS=$LIBS
6533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6534 /* end confdefs.h. */
6536 /* Override any GCC internal prototype to avoid an error.
6537 Use char because int might match the return type of a GCC
6538 builtin and then its argument prototype would still apply. */
6551 for ac_lib in '' cposix; do
6552 if test -z "$ac_lib"; then
6553 ac_res="none required"
6556 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6558 if ac_fn_c_try_link "$LINENO"; then :
6559 ac_cv_search_strerror=$ac_res
6561 rm -f core conftest.err conftest.$ac_objext \
6563 if ${ac_cv_search_strerror+:} false; then :
6567 if ${ac_cv_search_strerror+:} false; then :
6570 ac_cv_search_strerror=no
6573 LIBS=$ac_func_search_save_LIBS
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
6576 $as_echo "$ac_cv_search_strerror" >&6; }
6577 ac_res=$ac_cv_search_strerror
6578 if test "$ac_res" != no; then :
6579 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6584 ac_cpp='$CPP $CPPFLAGS'
6585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6588 if test -n "$ac_tool_prefix"; then
6589 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
6590 set dummy ${ac_tool_prefix}gcc; ac_word=$2
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6592 $as_echo_n "checking for $ac_word... " >&6; }
6593 if ${ac_cv_prog_CC+:} false; then :
6594 $as_echo_n "(cached) " >&6
6596 if test -n "$CC"; then
6597 ac_cv_prog_CC="$CC" # Let the user override the test.
6599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6603 test -z "$as_dir" && as_dir=.
6604 for ac_exec_ext in '' $ac_executable_extensions; do
6605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6606 ac_cv_prog_CC="${ac_tool_prefix}gcc"
6607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6617 if test -n "$CC"; then
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6619 $as_echo "$CC" >&6; }
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6622 $as_echo "no" >&6; }
6627 if test -z "$ac_cv_prog_CC"; then
6629 # Extract the first word of "gcc", so it can be a program name with args.
6630 set dummy gcc; ac_word=$2
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6632 $as_echo_n "checking for $ac_word... " >&6; }
6633 if ${ac_cv_prog_ac_ct_CC+:} false; then :
6634 $as_echo_n "(cached) " >&6
6636 if test -n "$ac_ct_CC"; then
6637 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6643 test -z "$as_dir" && as_dir=.
6644 for ac_exec_ext in '' $ac_executable_extensions; do
6645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6646 ac_cv_prog_ac_ct_CC="gcc"
6647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6656 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6657 if test -n "$ac_ct_CC"; then
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
6659 $as_echo "$ac_ct_CC" >&6; }
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6662 $as_echo "no" >&6; }
6665 if test "x$ac_ct_CC" = x; then
6668 case $cross_compiling:$ac_tool_warned in
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6671 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6672 ac_tool_warned=yes ;;
6680 if test -z "$CC"; then
6681 if test -n "$ac_tool_prefix"; then
6682 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6683 set dummy ${ac_tool_prefix}cc; ac_word=$2
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6685 $as_echo_n "checking for $ac_word... " >&6; }
6686 if ${ac_cv_prog_CC+:} false; then :
6687 $as_echo_n "(cached) " >&6
6689 if test -n "$CC"; then
6690 ac_cv_prog_CC="$CC" # Let the user override the test.
6692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6696 test -z "$as_dir" && as_dir=.
6697 for ac_exec_ext in '' $ac_executable_extensions; do
6698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6699 ac_cv_prog_CC="${ac_tool_prefix}cc"
6700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6710 if test -n "$CC"; then
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6712 $as_echo "$CC" >&6; }
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6715 $as_echo "no" >&6; }
6721 if test -z "$CC"; then
6722 # Extract the first word of "cc", so it can be a program name with args.
6723 set dummy cc; ac_word=$2
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6725 $as_echo_n "checking for $ac_word... " >&6; }
6726 if ${ac_cv_prog_CC+:} false; then :
6727 $as_echo_n "(cached) " >&6
6729 if test -n "$CC"; then
6730 ac_cv_prog_CC="$CC" # Let the user override the test.
6733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6737 test -z "$as_dir" && as_dir=.
6738 for ac_exec_ext in '' $ac_executable_extensions; do
6739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6740 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6741 ac_prog_rejected=yes
6745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6752 if test $ac_prog_rejected = yes; then
6753 # We found a bogon in the path, so make sure we never use it.
6754 set dummy $ac_cv_prog_CC
6756 if test $# != 0; then
6757 # We chose a different compiler from the bogus one.
6758 # However, it has the same basename, so the bogon will be chosen
6759 # first if we set CC to just the basename; use the full file name.
6761 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
6767 if test -n "$CC"; then
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6769 $as_echo "$CC" >&6; }
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6772 $as_echo "no" >&6; }
6777 if test -z "$CC"; then
6778 if test -n "$ac_tool_prefix"; then
6779 for ac_prog in cl.exe
6781 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6782 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6784 $as_echo_n "checking for $ac_word... " >&6; }
6785 if ${ac_cv_prog_CC+:} false; then :
6786 $as_echo_n "(cached) " >&6
6788 if test -n "$CC"; then
6789 ac_cv_prog_CC="$CC" # Let the user override the test.
6791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6795 test -z "$as_dir" && as_dir=.
6796 for ac_exec_ext in '' $ac_executable_extensions; do
6797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6798 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6809 if test -n "$CC"; then
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6811 $as_echo "$CC" >&6; }
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6814 $as_echo "no" >&6; }
6818 test -n "$CC" && break
6821 if test -z "$CC"; then
6823 for ac_prog in cl.exe
6825 # Extract the first word of "$ac_prog", so it can be a program name with args.
6826 set dummy $ac_prog; ac_word=$2
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6828 $as_echo_n "checking for $ac_word... " >&6; }
6829 if ${ac_cv_prog_ac_ct_CC+:} false; then :
6830 $as_echo_n "(cached) " >&6
6832 if test -n "$ac_ct_CC"; then
6833 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6839 test -z "$as_dir" && as_dir=.
6840 for ac_exec_ext in '' $ac_executable_extensions; do
6841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6842 ac_cv_prog_ac_ct_CC="$ac_prog"
6843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6852 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6853 if test -n "$ac_ct_CC"; then
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
6855 $as_echo "$ac_ct_CC" >&6; }
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6858 $as_echo "no" >&6; }
6862 test -n "$ac_ct_CC" && break
6865 if test "x$ac_ct_CC" = x; then
6868 case $cross_compiling:$ac_tool_warned in
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6871 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6872 ac_tool_warned=yes ;;
6881 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6882 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6883 as_fn_error $? "no acceptable C compiler found in \$PATH
6884 See \`config.log' for more details" "$LINENO" 5; }
6886 # Provide some information about the compiler.
6887 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
6890 for ac_option in --version -v -V -qversion; do
6891 { { ac_try="$ac_compiler $ac_option >&5"
6893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6894 *) ac_try_echo=$ac_try;;
6896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6897 $as_echo "$ac_try_echo"; } >&5
6898 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6900 if test -s conftest.err; then
6902 ... rest of stderr output deleted ...
6903 10q' conftest.err >conftest.er1
6904 cat conftest.er1 >&5
6906 rm -f conftest.er1 conftest.err
6907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6908 test $ac_status = 0; }
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
6912 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
6913 if ${ac_cv_c_compiler_gnu+:} false; then :
6914 $as_echo_n "(cached) " >&6
6916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6917 /* end confdefs.h. */
6930 if ac_fn_c_try_compile "$LINENO"; then :
6935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6936 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
6940 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
6941 if test $ac_compiler_gnu = yes; then
6946 ac_test_CFLAGS=${CFLAGS+set}
6947 ac_save_CFLAGS=$CFLAGS
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
6949 $as_echo_n "checking whether $CC accepts -g... " >&6; }
6950 if ${ac_cv_prog_cc_g+:} false; then :
6951 $as_echo_n "(cached) " >&6
6953 ac_save_c_werror_flag=$ac_c_werror_flag
6954 ac_c_werror_flag=yes
6957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6958 /* end confdefs.h. */
6968 if ac_fn_c_try_compile "$LINENO"; then :
6972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6973 /* end confdefs.h. */
6983 if ac_fn_c_try_compile "$LINENO"; then :
6986 ac_c_werror_flag=$ac_save_c_werror_flag
6988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6989 /* end confdefs.h. */
6999 if ac_fn_c_try_compile "$LINENO"; then :
7002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7007 ac_c_werror_flag=$ac_save_c_werror_flag
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
7010 $as_echo "$ac_cv_prog_cc_g" >&6; }
7011 if test "$ac_test_CFLAGS" = set; then
7012 CFLAGS=$ac_save_CFLAGS
7013 elif test $ac_cv_prog_cc_g = yes; then
7014 if test "$GCC" = yes; then
7020 if test "$GCC" = yes; then
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
7027 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
7028 if ${ac_cv_prog_cc_c89+:} false; then :
7029 $as_echo_n "(cached) " >&6
7031 ac_cv_prog_cc_c89=no
7033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7034 /* end confdefs.h. */
7038 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
7039 struct buf { int x; };
7040 FILE * (*rcsopen) (struct buf *, struct stat *, int);
7041 static char *e (p, i)
7047 static char *f (char * (*g) (char **, int), char **p, ...)
7052 s = g (p, va_arg (v,int));
7057 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
7058 function prototypes and stuff, but not '\xHH' hex character constants.
7059 These don't provoke an error unfortunately, instead are silently treated
7060 as 'x'. The following induces an error, until -std is added to get
7061 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
7062 array size at least. It's necessary to write '\x00'==0 to get something
7063 that's true only with -std. */
7064 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
7066 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
7067 inside strings and character constants. */
7069 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
7071 int test (int i, double x);
7072 struct s1 {int (*f) (int a);};
7073 struct s2 {int (*f) (double a);};
7074 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
7080 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
7085 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
7086 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
7088 CC="$ac_save_CC $ac_arg"
7089 if ac_fn_c_try_compile "$LINENO"; then :
7090 ac_cv_prog_cc_c89=$ac_arg
7092 rm -f core conftest.err conftest.$ac_objext
7093 test "x$ac_cv_prog_cc_c89" != "xno" && break
7095 rm -f conftest.$ac_ext
7100 case "x$ac_cv_prog_cc_c89" in
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
7103 $as_echo "none needed" >&6; } ;;
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
7106 $as_echo "unsupported" >&6; } ;;
7108 CC="$CC $ac_cv_prog_cc_c89"
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
7110 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
7112 if test "x$ac_cv_prog_cc_c89" != xno; then :
7117 ac_cpp='$CPP $CPPFLAGS'
7118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7123 ac_cpp='$CPP $CPPFLAGS'
7124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
7128 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
7129 if ${am_cv_prog_cc_c_o+:} false; then :
7130 $as_echo_n "(cached) " >&6
7132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7133 /* end confdefs.h. */
7143 # Make sure it works both with $CC and with simple cc.
7144 # Following AC_PROG_CC_C_O, we do the test twice because some
7145 # compilers refuse to overwrite an existing .o file with -o,
7146 # though they will create one.
7147 am_cv_prog_cc_c_o=yes
7149 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
7150 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
7152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7153 (exit $ac_status); } \
7154 && test -f conftest2.$ac_objext; then
7157 am_cv_prog_cc_c_o=no
7161 rm -f core conftest*
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
7165 $as_echo "$am_cv_prog_cc_c_o" >&6; }
7166 if test "$am_cv_prog_cc_c_o" != yes; then
7167 # Losing compiler, so override with the script.
7168 # FIXME: It is wrong to rewrite CC.
7169 # But if we don't then we get into trouble of one sort or another.
7170 # A longer-term fix would be to have automake use am__CC in this case,
7171 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
7172 CC="$am_aux_dir/compile $CC"
7175 ac_cpp='$CPP $CPPFLAGS'
7176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7181 depcc="$CC" am_compiler_list=
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7184 $as_echo_n "checking dependency style of $depcc... " >&6; }
7185 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
7186 $as_echo_n "(cached) " >&6
7188 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7189 # We make a subdir and do the tests there. Otherwise we can end up
7190 # making bogus files that we don't know about and never remove. For
7191 # instance it was reported that on HP-UX the gcc test will end up
7192 # making a dummy file named 'D' -- because '-MD' means "put the output
7196 # Copy depcomp to subdir because otherwise we won't find it if we're
7197 # using a relative directory.
7198 cp "$am_depcomp" conftest.dir
7200 # We will build objects and dependencies in a subdirectory because
7201 # it helps to detect inapplicable dependency modes. For instance
7202 # both Tru64's cc and ICC support -MD to output dependencies as a
7203 # side effect of compilation, but ICC will put the dependencies in
7204 # the current directory while Tru64 will put them in the object
7208 am_cv_CC_dependencies_compiler_type=none
7209 if test "$am_compiler_list" = ""; then
7210 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7213 case " $depcc " in #(
7214 *\ -arch\ *\ -arch\ *) am__universal=true ;;
7217 for depmode in $am_compiler_list; do
7218 # Setup a source with many dependencies, because some compilers
7219 # like to wrap large dependency lists on column 80 (with \), and
7220 # we should not choose a depcomp mode which is confused by this.
7222 # We need to recreate these files for each test, as the compiler may
7223 # overwrite some of them when testing with obscure command lines.
7224 # This happens at least with the AIX C compiler.
7226 for i in 1 2 3 4 5 6; do
7227 echo '#include "conftst'$i'.h"' >> sub/conftest.c
7228 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
7229 # Solaris 10 /bin/sh.
7230 echo '/* dummy */' > sub/conftst$i.h
7232 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7234 # We check with '-c' and '-o' for the sake of the "dashmstdout"
7235 # mode. It turns out that the SunPro C++ compiler does not properly
7236 # handle '-M -o', and we need to detect this. Also, some Intel
7237 # versions had trouble with output in subdirs.
7238 am__obj=sub/conftest.${OBJEXT-o}
7239 am__minus_obj="-o $am__obj"
7242 # This depmode causes a compiler race in universal mode.
7243 test "$am__universal" = false || continue
7246 # After this tag, mechanisms are not by side-effect, so they'll
7247 # only be used when explicitly requested.
7248 if test "x$enable_dependency_tracking" = xyes; then
7254 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
7255 # This compiler won't grok '-c -o', but also, the minuso test has
7256 # not run yet. These depmodes are late enough in the game, and
7257 # so weak that their functioning should not be impacted.
7258 am__obj=conftest.${OBJEXT-o}
7263 if depmode=$depmode \
7264 source=sub/conftest.c object=$am__obj \
7265 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7266 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
7267 >/dev/null 2>conftest.err &&
7268 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7269 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7270 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
7271 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7272 # icc doesn't choke on unknown options, it will just issue warnings
7273 # or remarks (even with -Werror). So we grep stderr for any message
7274 # that says an option was ignored or not supported.
7275 # When given -MP, icc 7.0 and 7.1 complain thusly:
7276 # icc: Command line warning: ignoring option '-M'; no argument required
7277 # The diagnosis changed in icc 8.0:
7278 # icc: Command line remark: option '-MP' not supported
7279 if (grep 'ignoring option' conftest.err ||
7280 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7281 am_cv_CC_dependencies_compiler_type=$depmode
7290 am_cv_CC_dependencies_compiler_type=none
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
7295 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
7296 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
7299 test "x$enable_dependency_tracking" != xno \
7300 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
7302 am__fastdepCC_FALSE='#'
7304 am__fastdepCC_TRUE='#'
7305 am__fastdepCC_FALSE=
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
7310 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
7311 if ${ac_cv_prog_cc_c99+:} false; then :
7312 $as_echo_n "(cached) " >&6
7314 ac_cv_prog_cc_c99=no
7316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7317 /* end confdefs.h. */
7319 #include <stdbool.h>
7324 // Check varargs macros. These examples are taken from C99 6.10.3.5.
7325 #define debug(...) fprintf (stderr, __VA_ARGS__)
7326 #define showlist(...) puts (#__VA_ARGS__)
7327 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
7329 test_varargs_macros (void)
7334 debug ("X = %d\n", x);
7335 showlist (The first, second, and third items.);
7336 report (x>y, "x is %d but y is %d", x, y);
7339 // Check long long types.
7340 #define BIG64 18446744073709551615ull
7341 #define BIG32 4294967295ul
7342 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
7344 your preprocessor is broken;
7348 your preprocessor is broken;
7350 static long long int bignum = -9223372036854775807LL;
7351 static unsigned long long int ubignum = BIG64;
7353 struct incomplete_array
7361 const wchar_t *name;
7365 typedef const char *ccp;
7368 test_restrict (ccp restrict text)
7370 // See if C++-style comments work.
7371 // Iterate through items via the restricted pointer.
7372 // Also check for declarations in for loops.
7373 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
7378 // Check varargs and va_copy.
7380 test_varargs (const char *format, ...)
7383 va_start (args, format);
7385 va_copy (args_copy, args);
7396 str = va_arg (args_copy, const char *);
7399 number = va_arg (args_copy, int);
7402 fnumber = va_arg (args_copy, double);
7417 _Bool success = false;
7420 if (test_restrict ("String literal") == 0)
7422 char *restrict newvar = "Another string";
7425 test_varargs ("s, d' f .", "string", 65, 34.234);
7426 test_varargs_macros ();
7428 // Check flexible array members.
7429 struct incomplete_array *ia =
7430 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
7432 for (int i = 0; i < ia->datasize; ++i)
7433 ia->data[i] = i * 1.234;
7435 // Check named initializers.
7436 struct named_init ni = {
7438 .name = L"Test wide string",
7439 .average = 543.34343,
7444 int dynamic_array[ni.number];
7445 dynamic_array[ni.number - 1] = 543;
7447 // work around unused variable warnings
7448 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
7449 || dynamic_array[ni.number - 1] != 543);
7455 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
7457 CC="$ac_save_CC $ac_arg"
7458 if ac_fn_c_try_compile "$LINENO"; then :
7459 ac_cv_prog_cc_c99=$ac_arg
7461 rm -f core conftest.err conftest.$ac_objext
7462 test "x$ac_cv_prog_cc_c99" != "xno" && break
7464 rm -f conftest.$ac_ext
7469 case "x$ac_cv_prog_cc_c99" in
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
7472 $as_echo "none needed" >&6; } ;;
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
7475 $as_echo "unsupported" >&6; } ;;
7477 CC="$CC $ac_cv_prog_cc_c99"
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
7479 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
7481 if test "x$ac_cv_prog_cc_c99" != xno; then :
7487 ac_cpp='$CXXCPP $CPPFLAGS'
7488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7491 if test -z "$CXX"; then
7492 if test -n "$CCC"; then
7495 if test -n "$ac_tool_prefix"; then
7496 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7498 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7499 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7501 $as_echo_n "checking for $ac_word... " >&6; }
7502 if ${ac_cv_prog_CXX+:} false; then :
7503 $as_echo_n "(cached) " >&6
7505 if test -n "$CXX"; then
7506 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7512 test -z "$as_dir" && as_dir=.
7513 for ac_exec_ext in '' $ac_executable_extensions; do
7514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7515 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7526 if test -n "$CXX"; then
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
7528 $as_echo "$CXX" >&6; }
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7531 $as_echo "no" >&6; }
7535 test -n "$CXX" && break
7538 if test -z "$CXX"; then
7540 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7542 # Extract the first word of "$ac_prog", so it can be a program name with args.
7543 set dummy $ac_prog; ac_word=$2
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7545 $as_echo_n "checking for $ac_word... " >&6; }
7546 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
7547 $as_echo_n "(cached) " >&6
7549 if test -n "$ac_ct_CXX"; then
7550 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7556 test -z "$as_dir" && as_dir=.
7557 for ac_exec_ext in '' $ac_executable_extensions; do
7558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7559 ac_cv_prog_ac_ct_CXX="$ac_prog"
7560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7569 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7570 if test -n "$ac_ct_CXX"; then
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7572 $as_echo "$ac_ct_CXX" >&6; }
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7575 $as_echo "no" >&6; }
7579 test -n "$ac_ct_CXX" && break
7582 if test "x$ac_ct_CXX" = x; then
7585 case $cross_compiling:$ac_tool_warned in
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7589 ac_tool_warned=yes ;;
7597 # Provide some information about the compiler.
7598 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
7601 for ac_option in --version -v -V -qversion; do
7602 { { ac_try="$ac_compiler $ac_option >&5"
7604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7605 *) ac_try_echo=$ac_try;;
7607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7608 $as_echo "$ac_try_echo"; } >&5
7609 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
7611 if test -s conftest.err; then
7613 ... rest of stderr output deleted ...
7614 10q' conftest.err >conftest.er1
7615 cat conftest.er1 >&5
7617 rm -f conftest.er1 conftest.err
7618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7619 test $ac_status = 0; }
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
7623 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7624 if ${ac_cv_cxx_compiler_gnu+:} false; then :
7625 $as_echo_n "(cached) " >&6
7627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7628 /* end confdefs.h. */
7641 if ac_fn_cxx_try_compile "$LINENO"; then :
7646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7647 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
7651 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
7652 if test $ac_compiler_gnu = yes; then
7657 ac_test_CXXFLAGS=${CXXFLAGS+set}
7658 ac_save_CXXFLAGS=$CXXFLAGS
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
7660 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
7661 if ${ac_cv_prog_cxx_g+:} false; then :
7662 $as_echo_n "(cached) " >&6
7664 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7665 ac_cxx_werror_flag=yes
7668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7669 /* end confdefs.h. */
7679 if ac_fn_cxx_try_compile "$LINENO"; then :
7680 ac_cv_prog_cxx_g=yes
7683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7684 /* end confdefs.h. */
7694 if ac_fn_cxx_try_compile "$LINENO"; then :
7697 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7700 /* end confdefs.h. */
7710 if ac_fn_cxx_try_compile "$LINENO"; then :
7711 ac_cv_prog_cxx_g=yes
7713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7718 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
7721 $as_echo "$ac_cv_prog_cxx_g" >&6; }
7722 if test "$ac_test_CXXFLAGS" = set; then
7723 CXXFLAGS=$ac_save_CXXFLAGS
7724 elif test $ac_cv_prog_cxx_g = yes; then
7725 if test "$GXX" = yes; then
7731 if test "$GXX" = yes; then
7738 ac_cpp='$CPP $CPPFLAGS'
7739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7743 depcc="$CXX" am_compiler_list=
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7746 $as_echo_n "checking dependency style of $depcc... " >&6; }
7747 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
7748 $as_echo_n "(cached) " >&6
7750 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7751 # We make a subdir and do the tests there. Otherwise we can end up
7752 # making bogus files that we don't know about and never remove. For
7753 # instance it was reported that on HP-UX the gcc test will end up
7754 # making a dummy file named 'D' -- because '-MD' means "put the output
7758 # Copy depcomp to subdir because otherwise we won't find it if we're
7759 # using a relative directory.
7760 cp "$am_depcomp" conftest.dir
7762 # We will build objects and dependencies in a subdirectory because
7763 # it helps to detect inapplicable dependency modes. For instance
7764 # both Tru64's cc and ICC support -MD to output dependencies as a
7765 # side effect of compilation, but ICC will put the dependencies in
7766 # the current directory while Tru64 will put them in the object
7770 am_cv_CXX_dependencies_compiler_type=none
7771 if test "$am_compiler_list" = ""; then
7772 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7775 case " $depcc " in #(
7776 *\ -arch\ *\ -arch\ *) am__universal=true ;;
7779 for depmode in $am_compiler_list; do
7780 # Setup a source with many dependencies, because some compilers
7781 # like to wrap large dependency lists on column 80 (with \), and
7782 # we should not choose a depcomp mode which is confused by this.
7784 # We need to recreate these files for each test, as the compiler may
7785 # overwrite some of them when testing with obscure command lines.
7786 # This happens at least with the AIX C compiler.
7788 for i in 1 2 3 4 5 6; do
7789 echo '#include "conftst'$i'.h"' >> sub/conftest.c
7790 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
7791 # Solaris 10 /bin/sh.
7792 echo '/* dummy */' > sub/conftst$i.h
7794 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7796 # We check with '-c' and '-o' for the sake of the "dashmstdout"
7797 # mode. It turns out that the SunPro C++ compiler does not properly
7798 # handle '-M -o', and we need to detect this. Also, some Intel
7799 # versions had trouble with output in subdirs.
7800 am__obj=sub/conftest.${OBJEXT-o}
7801 am__minus_obj="-o $am__obj"
7804 # This depmode causes a compiler race in universal mode.
7805 test "$am__universal" = false || continue
7808 # After this tag, mechanisms are not by side-effect, so they'll
7809 # only be used when explicitly requested.
7810 if test "x$enable_dependency_tracking" = xyes; then
7816 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
7817 # This compiler won't grok '-c -o', but also, the minuso test has
7818 # not run yet. These depmodes are late enough in the game, and
7819 # so weak that their functioning should not be impacted.
7820 am__obj=conftest.${OBJEXT-o}
7825 if depmode=$depmode \
7826 source=sub/conftest.c object=$am__obj \
7827 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7828 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
7829 >/dev/null 2>conftest.err &&
7830 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7831 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7832 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
7833 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7834 # icc doesn't choke on unknown options, it will just issue warnings
7835 # or remarks (even with -Werror). So we grep stderr for any message
7836 # that says an option was ignored or not supported.
7837 # When given -MP, icc 7.0 and 7.1 complain thusly:
7838 # icc: Command line warning: ignoring option '-M'; no argument required
7839 # The diagnosis changed in icc 8.0:
7840 # icc: Command line remark: option '-MP' not supported
7841 if (grep 'ignoring option' conftest.err ||
7842 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7843 am_cv_CXX_dependencies_compiler_type=$depmode
7852 am_cv_CXX_dependencies_compiler_type=none
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
7857 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
7858 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7861 test "x$enable_dependency_tracking" != xno \
7862 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7863 am__fastdepCXX_TRUE=
7864 am__fastdepCXX_FALSE='#'
7866 am__fastdepCXX_TRUE='#'
7867 am__fastdepCXX_FALSE=
7872 ac_cpp='$CPP $CPPFLAGS'
7873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7877 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7878 # On Suns, sometimes $CPP names a directory.
7879 if test -n "$CPP" && test -d "$CPP"; then
7882 if test -z "$CPP"; then
7883 if ${ac_cv_prog_CPP+:} false; then :
7884 $as_echo_n "(cached) " >&6
7886 # Double quotes because CPP needs to be expanded
7887 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7890 for ac_c_preproc_warn_flag in '' yes
7892 # Use a header file that comes with gcc, so configuring glibc
7893 # with a fresh cross-compiler works.
7894 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7895 # <limits.h> exists even on freestanding compilers.
7896 # On the NeXT, cc -E runs the code through the compiler's parser,
7897 # not just through cpp. "Syntax error" is here to catch this case.
7898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7899 /* end confdefs.h. */
7901 # include <limits.h>
7903 # include <assert.h>
7907 if ac_fn_c_try_cpp "$LINENO"; then :
7910 # Broken: fails on valid input.
7913 rm -f conftest.err conftest.i conftest.$ac_ext
7915 # OK, works on sane cases. Now check whether nonexistent headers
7916 # can be detected and how.
7917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7918 /* end confdefs.h. */
7919 #include <ac_nonexistent.h>
7921 if ac_fn_c_try_cpp "$LINENO"; then :
7922 # Broken: success on invalid input.
7925 # Passes both tests.
7929 rm -f conftest.err conftest.i conftest.$ac_ext
7932 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7933 rm -f conftest.i conftest.err conftest.$ac_ext
7934 if $ac_preproc_ok; then :
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7947 $as_echo "$CPP" >&6; }
7949 for ac_c_preproc_warn_flag in '' yes
7951 # Use a header file that comes with gcc, so configuring glibc
7952 # with a fresh cross-compiler works.
7953 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7954 # <limits.h> exists even on freestanding compilers.
7955 # On the NeXT, cc -E runs the code through the compiler's parser,
7956 # not just through cpp. "Syntax error" is here to catch this case.
7957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7958 /* end confdefs.h. */
7960 # include <limits.h>
7962 # include <assert.h>
7966 if ac_fn_c_try_cpp "$LINENO"; then :
7969 # Broken: fails on valid input.
7972 rm -f conftest.err conftest.i conftest.$ac_ext
7974 # OK, works on sane cases. Now check whether nonexistent headers
7975 # can be detected and how.
7976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7977 /* end confdefs.h. */
7978 #include <ac_nonexistent.h>
7980 if ac_fn_c_try_cpp "$LINENO"; then :
7981 # Broken: success on invalid input.
7984 # Passes both tests.
7988 rm -f conftest.err conftest.i conftest.$ac_ext
7991 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7992 rm -f conftest.i conftest.err conftest.$ac_ext
7993 if $ac_preproc_ok; then :
7996 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7997 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7998 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7999 See \`config.log' for more details" "$LINENO" 5; }
8003 ac_cpp='$CPP $CPPFLAGS'
8004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
8010 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
8011 if ${ac_cv_path_GREP+:} false; then :
8012 $as_echo_n "(cached) " >&6
8014 if test -z "$GREP"; then
8015 ac_path_GREP_found=false
8016 # Loop through the user's path and test for each of PROGNAME-LIST
8017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8018 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
8021 test -z "$as_dir" && as_dir=.
8022 for ac_prog in grep ggrep; do
8023 for ac_exec_ext in '' $ac_executable_extensions; do
8024 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
8025 as_fn_executable_p "$ac_path_GREP" || continue
8026 # Check for GNU ac_path_GREP and select it if it is found.
8027 # Check for GNU $ac_path_GREP
8028 case `"$ac_path_GREP" --version 2>&1` in
8030 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
8033 $as_echo_n 0123456789 >"conftest.in"
8036 cat "conftest.in" "conftest.in" >"conftest.tmp"
8037 mv "conftest.tmp" "conftest.in"
8038 cp "conftest.in" "conftest.nl"
8039 $as_echo 'GREP' >> "conftest.nl"
8040 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
8041 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8042 as_fn_arith $ac_count + 1 && ac_count=$as_val
8043 if test $ac_count -gt ${ac_path_GREP_max-0}; then
8044 # Best one so far, save it but keep looking for a better one
8045 ac_cv_path_GREP="$ac_path_GREP"
8046 ac_path_GREP_max=$ac_count
8048 # 10*(2^10) chars as input seems more than enough
8049 test $ac_count -gt 10 && break
8051 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8054 $ac_path_GREP_found && break 3
8059 if test -z "$ac_cv_path_GREP"; then
8060 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
8063 ac_cv_path_GREP=$GREP
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
8068 $as_echo "$ac_cv_path_GREP" >&6; }
8069 GREP="$ac_cv_path_GREP"
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
8073 $as_echo_n "checking for egrep... " >&6; }
8074 if ${ac_cv_path_EGREP+:} false; then :
8075 $as_echo_n "(cached) " >&6
8077 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
8078 then ac_cv_path_EGREP="$GREP -E"
8080 if test -z "$EGREP"; then
8081 ac_path_EGREP_found=false
8082 # Loop through the user's path and test for each of PROGNAME-LIST
8083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8084 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
8087 test -z "$as_dir" && as_dir=.
8088 for ac_prog in egrep; do
8089 for ac_exec_ext in '' $ac_executable_extensions; do
8090 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
8091 as_fn_executable_p "$ac_path_EGREP" || continue
8092 # Check for GNU ac_path_EGREP and select it if it is found.
8093 # Check for GNU $ac_path_EGREP
8094 case `"$ac_path_EGREP" --version 2>&1` in
8096 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
8099 $as_echo_n 0123456789 >"conftest.in"
8102 cat "conftest.in" "conftest.in" >"conftest.tmp"
8103 mv "conftest.tmp" "conftest.in"
8104 cp "conftest.in" "conftest.nl"
8105 $as_echo 'EGREP' >> "conftest.nl"
8106 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
8107 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8108 as_fn_arith $ac_count + 1 && ac_count=$as_val
8109 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
8110 # Best one so far, save it but keep looking for a better one
8111 ac_cv_path_EGREP="$ac_path_EGREP"
8112 ac_path_EGREP_max=$ac_count
8114 # 10*(2^10) chars as input seems more than enough
8115 test $ac_count -gt 10 && break
8117 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8120 $ac_path_EGREP_found && break 3
8125 if test -z "$ac_cv_path_EGREP"; then
8126 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
8129 ac_cv_path_EGREP=$EGREP
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
8135 $as_echo "$ac_cv_path_EGREP" >&6; }
8136 EGREP="$ac_cv_path_EGREP"
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8140 $as_echo_n "checking for ANSI C header files... " >&6; }
8141 if ${ac_cv_header_stdc+:} false; then :
8142 $as_echo_n "(cached) " >&6
8144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8145 /* end confdefs.h. */
8159 if ac_fn_c_try_compile "$LINENO"; then :
8160 ac_cv_header_stdc=yes
8162 ac_cv_header_stdc=no
8164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8166 if test $ac_cv_header_stdc = yes; then
8167 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8169 /* end confdefs.h. */
8173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8174 $EGREP "memchr" >/dev/null 2>&1; then :
8177 ac_cv_header_stdc=no
8183 if test $ac_cv_header_stdc = yes; then
8184 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8186 /* end confdefs.h. */
8190 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8191 $EGREP "free" >/dev/null 2>&1; then :
8194 ac_cv_header_stdc=no
8200 if test $ac_cv_header_stdc = yes; then
8201 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8202 if test "$cross_compiling" = yes; then :
8205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8206 /* end confdefs.h. */
8209 #if ((' ' & 0x0FF) == 0x020)
8210 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8211 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8213 # define ISLOWER(c) \
8214 (('a' <= (c) && (c) <= 'i') \
8215 || ('j' <= (c) && (c) <= 'r') \
8216 || ('s' <= (c) && (c) <= 'z'))
8217 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8220 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8225 for (i = 0; i < 256; i++)
8226 if (XOR (islower (i), ISLOWER (i))
8227 || toupper (i) != TOUPPER (i))
8232 if ac_fn_c_try_run "$LINENO"; then :
8235 ac_cv_header_stdc=no
8237 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8238 conftest.$ac_objext conftest.beam conftest.$ac_ext
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8244 $as_echo "$ac_cv_header_stdc" >&6; }
8245 if test $ac_cv_header_stdc = yes; then
8247 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8252 # Check whether --enable-largefile was given.
8253 if test "${enable_largefile+set}" = set; then :
8254 enableval=$enable_largefile;
8257 if test "$enable_largefile" != no; then
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
8260 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
8261 if ${ac_cv_sys_largefile_CC+:} false; then :
8262 $as_echo_n "(cached) " >&6
8264 ac_cv_sys_largefile_CC=no
8265 if test "$GCC" != yes; then
8268 # IRIX 6.2 and later do not support large files by default,
8269 # so use the C compiler's -n32 option if that helps.
8270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8271 /* end confdefs.h. */
8272 #include <sys/types.h>
8273 /* Check that off_t can represent 2**63 - 1 correctly.
8274 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8275 since some C++ compilers masquerading as C compilers
8276 incorrectly reject 9223372036854775807. */
8277 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
8278 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8279 && LARGE_OFF_T % 2147483647 == 1)
8289 if ac_fn_c_try_compile "$LINENO"; then :
8292 rm -f core conftest.err conftest.$ac_objext
8294 if ac_fn_c_try_compile "$LINENO"; then :
8295 ac_cv_sys_largefile_CC=' -n32'; break
8297 rm -f core conftest.err conftest.$ac_objext
8301 rm -f conftest.$ac_ext
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
8305 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
8306 if test "$ac_cv_sys_largefile_CC" != no; then
8307 CC=$CC$ac_cv_sys_largefile_CC
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
8311 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
8312 if ${ac_cv_sys_file_offset_bits+:} false; then :
8313 $as_echo_n "(cached) " >&6
8316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8317 /* end confdefs.h. */
8318 #include <sys/types.h>
8319 /* Check that off_t can represent 2**63 - 1 correctly.
8320 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8321 since some C++ compilers masquerading as C compilers
8322 incorrectly reject 9223372036854775807. */
8323 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
8324 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8325 && LARGE_OFF_T % 2147483647 == 1)
8335 if ac_fn_c_try_compile "$LINENO"; then :
8336 ac_cv_sys_file_offset_bits=no; break
8338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8340 /* end confdefs.h. */
8341 #define _FILE_OFFSET_BITS 64
8342 #include <sys/types.h>
8343 /* Check that off_t can represent 2**63 - 1 correctly.
8344 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8345 since some C++ compilers masquerading as C compilers
8346 incorrectly reject 9223372036854775807. */
8347 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
8348 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8349 && LARGE_OFF_T % 2147483647 == 1)
8359 if ac_fn_c_try_compile "$LINENO"; then :
8360 ac_cv_sys_file_offset_bits=64; break
8362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8363 ac_cv_sys_file_offset_bits=unknown
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
8368 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
8369 case $ac_cv_sys_file_offset_bits in #(
8372 cat >>confdefs.h <<_ACEOF
8373 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
8378 if test $ac_cv_sys_file_offset_bits = unknown; then
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
8380 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
8381 if ${ac_cv_sys_large_files+:} false; then :
8382 $as_echo_n "(cached) " >&6
8385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8386 /* end confdefs.h. */
8387 #include <sys/types.h>
8388 /* Check that off_t can represent 2**63 - 1 correctly.
8389 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8390 since some C++ compilers masquerading as C compilers
8391 incorrectly reject 9223372036854775807. */
8392 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
8393 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8394 && LARGE_OFF_T % 2147483647 == 1)
8404 if ac_fn_c_try_compile "$LINENO"; then :
8405 ac_cv_sys_large_files=no; break
8407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8409 /* end confdefs.h. */
8410 #define _LARGE_FILES 1
8411 #include <sys/types.h>
8412 /* Check that off_t can represent 2**63 - 1 correctly.
8413 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8414 since some C++ compilers masquerading as C compilers
8415 incorrectly reject 9223372036854775807. */
8416 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
8417 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8418 && LARGE_OFF_T % 2147483647 == 1)
8428 if ac_fn_c_try_compile "$LINENO"; then :
8429 ac_cv_sys_large_files=1; break
8431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8432 ac_cv_sys_large_files=unknown
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
8437 $as_echo "$ac_cv_sys_large_files" >&6; }
8438 case $ac_cv_sys_large_files in #(
8441 cat >>confdefs.h <<_ACEOF
8442 #define _LARGE_FILES $ac_cv_sys_large_files
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
8454 $as_echo_n "checking whether NLS is requested... " >&6; }
8455 # Check whether --enable-nls was given.
8456 if test "${enable_nls+set}" = set; then :
8457 enableval=$enable_nls; USE_NLS=$enableval
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
8463 $as_echo "$USE_NLS" >&6; }
8468 case "$am__api_version" in
8470 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
8476 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
8477 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
8478 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
8479 if test -n "0.35.0"; then
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
8481 $as_echo_n "checking for intltool >= 0.35.0... " >&6; }
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
8483 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
8484 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
8485 as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
8488 # Extract the first word of "intltool-update", so it can be a program name with args.
8489 set dummy intltool-update; ac_word=$2
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8491 $as_echo_n "checking for $ac_word... " >&6; }
8492 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
8493 $as_echo_n "(cached) " >&6
8495 case $INTLTOOL_UPDATE in
8497 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
8500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8504 test -z "$as_dir" && as_dir=.
8505 for ac_exec_ext in '' $ac_executable_extensions; do
8506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8507 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
8508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8518 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
8519 if test -n "$INTLTOOL_UPDATE"; then
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
8521 $as_echo "$INTLTOOL_UPDATE" >&6; }
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8524 $as_echo "no" >&6; }
8528 # Extract the first word of "intltool-merge", so it can be a program name with args.
8529 set dummy intltool-merge; ac_word=$2
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8531 $as_echo_n "checking for $ac_word... " >&6; }
8532 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
8533 $as_echo_n "(cached) " >&6
8535 case $INTLTOOL_MERGE in
8537 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
8540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8544 test -z "$as_dir" && as_dir=.
8545 for ac_exec_ext in '' $ac_executable_extensions; do
8546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8547 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
8548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8558 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
8559 if test -n "$INTLTOOL_MERGE"; then
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
8561 $as_echo "$INTLTOOL_MERGE" >&6; }
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8564 $as_echo "no" >&6; }
8568 # Extract the first word of "intltool-extract", so it can be a program name with args.
8569 set dummy intltool-extract; ac_word=$2
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8571 $as_echo_n "checking for $ac_word... " >&6; }
8572 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
8573 $as_echo_n "(cached) " >&6
8575 case $INTLTOOL_EXTRACT in
8577 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
8580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8584 test -z "$as_dir" && as_dir=.
8585 for ac_exec_ext in '' $ac_executable_extensions; do
8586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8587 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
8588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8598 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
8599 if test -n "$INTLTOOL_EXTRACT"; then
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
8601 $as_echo "$INTLTOOL_EXTRACT" >&6; }
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8604 $as_echo "no" >&6; }
8608 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
8609 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
8612 if test -z "$AM_DEFAULT_VERBOSITY"; then
8613 AM_DEFAULT_VERBOSITY=1
8617 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
8618 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
8619 INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
8624 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
8625 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
8626 intltool__v_merge_options_0='-q'
8631 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8632 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8633 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8634 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8635 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
8636 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8637 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8638 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8639 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8640 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8641 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8642 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
8643 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
8645 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
8647 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8648 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8649 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8650 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8651 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8652 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8653 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8751 # Check the gettext tools to make sure they are GNU
8752 # Extract the first word of "xgettext", so it can be a program name with args.
8753 set dummy xgettext; ac_word=$2
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8755 $as_echo_n "checking for $ac_word... " >&6; }
8756 if ${ac_cv_path_XGETTEXT+:} false; then :
8757 $as_echo_n "(cached) " >&6
8761 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
8764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8768 test -z "$as_dir" && as_dir=.
8769 for ac_exec_ext in '' $ac_executable_extensions; do
8770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8771 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
8772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8782 XGETTEXT=$ac_cv_path_XGETTEXT
8783 if test -n "$XGETTEXT"; then
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
8785 $as_echo "$XGETTEXT" >&6; }
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8788 $as_echo "no" >&6; }
8792 # Extract the first word of "msgmerge", so it can be a program name with args.
8793 set dummy msgmerge; ac_word=$2
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8795 $as_echo_n "checking for $ac_word... " >&6; }
8796 if ${ac_cv_path_MSGMERGE+:} false; then :
8797 $as_echo_n "(cached) " >&6
8801 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
8804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8808 test -z "$as_dir" && as_dir=.
8809 for ac_exec_ext in '' $ac_executable_extensions; do
8810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8811 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
8812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8822 MSGMERGE=$ac_cv_path_MSGMERGE
8823 if test -n "$MSGMERGE"; then
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
8825 $as_echo "$MSGMERGE" >&6; }
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8828 $as_echo "no" >&6; }
8832 # Extract the first word of "msgfmt", so it can be a program name with args.
8833 set dummy msgfmt; ac_word=$2
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8835 $as_echo_n "checking for $ac_word... " >&6; }
8836 if ${ac_cv_path_MSGFMT+:} false; then :
8837 $as_echo_n "(cached) " >&6
8841 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
8844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8848 test -z "$as_dir" && as_dir=.
8849 for ac_exec_ext in '' $ac_executable_extensions; do
8850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8851 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
8852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8862 MSGFMT=$ac_cv_path_MSGFMT
8863 if test -n "$MSGFMT"; then
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
8865 $as_echo "$MSGFMT" >&6; }
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8868 $as_echo "no" >&6; }
8872 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8873 set dummy gmsgfmt; ac_word=$2
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8875 $as_echo_n "checking for $ac_word... " >&6; }
8876 if ${ac_cv_path_GMSGFMT+:} false; then :
8877 $as_echo_n "(cached) " >&6
8881 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
8884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8888 test -z "$as_dir" && as_dir=.
8889 for ac_exec_ext in '' $ac_executable_extensions; do
8890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8891 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
8892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8899 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
8903 GMSGFMT=$ac_cv_path_GMSGFMT
8904 if test -n "$GMSGFMT"; then
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
8906 $as_echo "$GMSGFMT" >&6; }
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8909 $as_echo "no" >&6; }
8913 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
8914 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
8916 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
8917 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
8918 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
8919 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
8920 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
8923 # Extract the first word of "perl", so it can be a program name with args.
8924 set dummy perl; ac_word=$2
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8926 $as_echo_n "checking for $ac_word... " >&6; }
8927 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
8928 $as_echo_n "(cached) " >&6
8930 case $INTLTOOL_PERL in
8932 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
8935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8939 test -z "$as_dir" && as_dir=.
8940 for ac_exec_ext in '' $ac_executable_extensions; do
8941 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8942 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
8943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8953 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
8954 if test -n "$INTLTOOL_PERL"; then
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
8956 $as_echo "$INTLTOOL_PERL" >&6; }
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8959 $as_echo "no" >&6; }
8963 if test -z "$INTLTOOL_PERL"; then
8964 as_fn_error $? "perl not found" "$LINENO" 5
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
8967 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
8968 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
8969 if test $? -ne 0; then
8970 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
8972 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
8974 $as_echo "$IT_PERL_VERSION" >&6; }
8976 if test "x" != "xno-xml"; then
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
8978 $as_echo_n "checking for XML::Parser... " >&6; }
8979 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8981 $as_echo "ok" >&6; }
8983 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
8987 # Substitute ALL_LINGUAS so we can use it in po/Makefile
8995 for ac_func in strverscmp access fsync fflush
8997 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8998 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
8999 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9000 cat >>confdefs.h <<_ACEOF
9001 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9009 # Check target architecture
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for some Win32 platform" >&5
9013 $as_echo_n "checking for some Win32 platform... " >&6; }
9014 case "$target_os" in
9018 $as_echo "#define PLATFORM_WIN32 1" >>confdefs.h
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5
9026 $as_echo "$platform_win32" >&6; }
9027 if test "$platform_win32" = "yes"; then
9028 PLATFORM_WIN32_TRUE=
9029 PLATFORM_WIN32_FALSE='#'
9031 PLATFORM_WIN32_TRUE='#'
9032 PLATFORM_WIN32_FALSE=
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
9037 $as_echo_n "checking for native Win32... " >&6; }
9038 case "$target_os" in
9042 $as_echo "#define OS_WIN32 1" >>confdefs.h
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
9054 $as_echo "$os_win32" >&6; }
9056 if test "$os_win32" = "yes"; then
9064 if test "$os_unix" = "yes"; then
9073 if test "$os_win32" = "yes"; then
9074 # Extract the first word of "lib.exe", so it can be a program name with args.
9075 set dummy lib.exe; ac_word=$2
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9077 $as_echo_n "checking for $ac_word... " >&6; }
9078 if ${ac_cv_prog_ms_librarian+:} false; then :
9079 $as_echo_n "(cached) " >&6
9081 if test -n "$ms_librarian"; then
9082 ac_cv_prog_ms_librarian="$ms_librarian" # Let the user override the test.
9084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9088 test -z "$as_dir" && as_dir=.
9089 for ac_exec_ext in '' $ac_executable_extensions; do
9090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9091 ac_cv_prog_ms_librarian="yes"
9092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9099 test -z "$ac_cv_prog_ms_librarian" && ac_cv_prog_ms_librarian="no"
9102 ms_librarian=$ac_cv_prog_ms_librarian
9103 if test -n "$ms_librarian"; then
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ms_librarian" >&5
9105 $as_echo "$ms_librarian" >&6; }
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9108 $as_echo "no" >&6; }
9112 if test -n "$ac_tool_prefix"; then
9113 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
9114 set dummy ${ac_tool_prefix}windres; ac_word=$2
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9116 $as_echo_n "checking for $ac_word... " >&6; }
9117 if ${ac_cv_prog_WINDRES+:} false; then :
9118 $as_echo_n "(cached) " >&6
9120 if test -n "$WINDRES"; then
9121 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9127 test -z "$as_dir" && as_dir=.
9128 for ac_exec_ext in '' $ac_executable_extensions; do
9129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9130 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
9131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9140 WINDRES=$ac_cv_prog_WINDRES
9141 if test -n "$WINDRES"; then
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
9143 $as_echo "$WINDRES" >&6; }
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9146 $as_echo "no" >&6; }
9151 if test -z "$ac_cv_prog_WINDRES"; then
9152 ac_ct_WINDRES=$WINDRES
9153 # Extract the first word of "windres", so it can be a program name with args.
9154 set dummy windres; ac_word=$2
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9156 $as_echo_n "checking for $ac_word... " >&6; }
9157 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
9158 $as_echo_n "(cached) " >&6
9160 if test -n "$ac_ct_WINDRES"; then
9161 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
9163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9167 test -z "$as_dir" && as_dir=.
9168 for ac_exec_ext in '' $ac_executable_extensions; do
9169 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9170 ac_cv_prog_ac_ct_WINDRES="windres"
9171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9180 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
9181 if test -n "$ac_ct_WINDRES"; then
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
9183 $as_echo "$ac_ct_WINDRES" >&6; }
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9186 $as_echo "no" >&6; }
9189 if test "x$ac_ct_WINDRES" = x; then
9192 case $cross_compiling:$ac_tool_warned in
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9196 ac_tool_warned=yes ;;
9198 WINDRES=$ac_ct_WINDRES
9201 WINDRES="$ac_cv_prog_WINDRES"
9208 if test x$ms_librarian = xyes; then
9209 MS_LIB_AVAILABLE_TRUE=
9210 MS_LIB_AVAILABLE_FALSE='#'
9212 MS_LIB_AVAILABLE_TRUE='#'
9213 MS_LIB_AVAILABLE_FALSE=
9216 if test "x$WINDRES" != "x:"; then
9218 HAVE_WINDRES_FALSE='#'
9220 HAVE_WINDRES_TRUE='#'
9226 if test "x$prefix" != "xNONE"; then
9227 EXTERNAL_PREFIX_TRUE=
9228 EXTERNAL_PREFIX_FALSE='#'
9230 EXTERNAL_PREFIX_TRUE='#'
9231 EXTERNAL_PREFIX_FALSE=
9235 if test "x$prefix" = "xNONE"; then
9244 # Check whether --enable-glibtest was given.
9245 if test "${enable_glibtest+set}" = set; then :
9246 enableval=$enable_glibtest;
9252 min_glib_version=2.52.0
9253 pkg_config_args="glib-2.0 >= $min_glib_version"
9258 pkg_config_args="$pkg_config_args gmodule-2.0"
9261 pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
9264 pkg_config_args="$pkg_config_args gobject-2.0"
9267 pkg_config_args="$pkg_config_args gthread-2.0"
9270 pkg_config_args="$pkg_config_args $module-2.0"
9282 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9283 if test -n "$ac_tool_prefix"; then
9284 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9285 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9287 $as_echo_n "checking for $ac_word... " >&6; }
9288 if ${ac_cv_path_PKG_CONFIG+:} false; then :
9289 $as_echo_n "(cached) " >&6
9293 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9300 test -z "$as_dir" && as_dir=.
9301 for ac_exec_ext in '' $ac_executable_extensions; do
9302 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9303 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9314 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9315 if test -n "$PKG_CONFIG"; then
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
9317 $as_echo "$PKG_CONFIG" >&6; }
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9320 $as_echo "no" >&6; }
9325 if test -z "$ac_cv_path_PKG_CONFIG"; then
9326 ac_pt_PKG_CONFIG=$PKG_CONFIG
9327 # Extract the first word of "pkg-config", so it can be a program name with args.
9328 set dummy pkg-config; ac_word=$2
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9330 $as_echo_n "checking for $ac_word... " >&6; }
9331 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
9332 $as_echo_n "(cached) " >&6
9334 case $ac_pt_PKG_CONFIG in
9336 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
9339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9343 test -z "$as_dir" && as_dir=.
9344 for ac_exec_ext in '' $ac_executable_extensions; do
9345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9346 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9357 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
9358 if test -n "$ac_pt_PKG_CONFIG"; then
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
9360 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9363 $as_echo "no" >&6; }
9366 if test "x$ac_pt_PKG_CONFIG" = x; then
9369 case $cross_compiling:$ac_tool_warned in
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9372 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9373 ac_tool_warned=yes ;;
9375 PKG_CONFIG=$ac_pt_PKG_CONFIG
9378 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
9382 if test -n "$PKG_CONFIG"; then
9383 _pkg_min_version=0.16
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
9385 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
9386 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9388 $as_echo "yes" >&6; }
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9391 $as_echo "no" >&6; }
9398 if test "x$PKG_CONFIG" = x ; then
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $pkg_config_args" >&5
9406 $as_echo_n "checking for $pkg_config_args... " >&6; }
9408 if test -n "$GLIB_CFLAGS"; then
9409 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
9410 elif test -n "$PKG_CONFIG"; then
9411 if test -n "$PKG_CONFIG" && \
9412 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_config_args\""; } >&5
9413 ($PKG_CONFIG --exists --print-errors "$pkg_config_args") 2>&5
9415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9416 test $ac_status = 0; }; then
9417 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$pkg_config_args" 2>/dev/null`
9418 test "x$?" != "x0" && pkg_failed=yes
9425 if test -n "$GLIB_LIBS"; then
9426 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
9427 elif test -n "$PKG_CONFIG"; then
9428 if test -n "$PKG_CONFIG" && \
9429 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_config_args\""; } >&5
9430 ($PKG_CONFIG --exists --print-errors "$pkg_config_args") 2>&5
9432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9433 test $ac_status = 0; }; then
9434 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$pkg_config_args" 2>/dev/null`
9435 test "x$?" != "x0" && pkg_failed=yes
9445 if test $pkg_failed = yes; then
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9447 $as_echo "no" >&6; }
9449 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9450 _pkg_short_errors_supported=yes
9452 _pkg_short_errors_supported=no
9454 if test $_pkg_short_errors_supported = yes; then
9455 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$pkg_config_args" 2>&1`
9457 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$pkg_config_args" 2>&1`
9459 # Put the nasty error message in config.log where it belongs
9460 echo "$GLIB_PKG_ERRORS" >&5
9463 elif test $pkg_failed = untried; then
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9465 $as_echo "no" >&6; }
9468 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
9469 GLIB_LIBS=$pkg_cv_GLIB_LIBS
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9471 $as_echo "yes" >&6; }
9476 if test -n "$GLIB_GENMARSHAL"; then
9477 pkg_cv_GLIB_GENMARSHAL="$GLIB_GENMARSHAL"
9478 elif test -n "$PKG_CONFIG"; then
9479 if test -n "$PKG_CONFIG" && \
9480 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
9481 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
9483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9484 test $ac_status = 0; }; then
9485 pkg_cv_GLIB_GENMARSHAL=`$PKG_CONFIG --variable="glib_genmarshal" "glib-2.0" 2>/dev/null`
9486 test "x$?" != "x0" && pkg_failed=yes
9493 GLIB_GENMARSHAL=$pkg_cv_GLIB_GENMARSHAL
9495 if test "x$GLIB_GENMARSHAL" = x""; then :
9499 if test -n "$GOBJECT_QUERY"; then
9500 pkg_cv_GOBJECT_QUERY="$GOBJECT_QUERY"
9501 elif test -n "$PKG_CONFIG"; then
9502 if test -n "$PKG_CONFIG" && \
9503 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
9504 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
9506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9507 test $ac_status = 0; }; then
9508 pkg_cv_GOBJECT_QUERY=`$PKG_CONFIG --variable="gobject_query" "glib-2.0" 2>/dev/null`
9509 test "x$?" != "x0" && pkg_failed=yes
9516 GOBJECT_QUERY=$pkg_cv_GOBJECT_QUERY
9518 if test "x$GOBJECT_QUERY" = x""; then :
9522 if test -n "$GLIB_MKENUMS"; then
9523 pkg_cv_GLIB_MKENUMS="$GLIB_MKENUMS"
9524 elif test -n "$PKG_CONFIG"; then
9525 if test -n "$PKG_CONFIG" && \
9526 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
9527 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
9529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9530 test $ac_status = 0; }; then
9531 pkg_cv_GLIB_MKENUMS=`$PKG_CONFIG --variable="glib_mkenums" "glib-2.0" 2>/dev/null`
9532 test "x$?" != "x0" && pkg_failed=yes
9539 GLIB_MKENUMS=$pkg_cv_GLIB_MKENUMS
9541 if test "x$GLIB_MKENUMS" = x""; then :
9545 if test -n "$GLIB_COMPILE_RESOURCES"; then
9546 pkg_cv_GLIB_COMPILE_RESOURCES="$GLIB_COMPILE_RESOURCES"
9547 elif test -n "$PKG_CONFIG"; then
9548 if test -n "$PKG_CONFIG" && \
9549 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
9550 ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
9552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9553 test $ac_status = 0; }; then
9554 pkg_cv_GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable="glib_compile_resources" "gio-2.0" 2>/dev/null`
9555 test "x$?" != "x0" && pkg_failed=yes
9562 GLIB_COMPILE_RESOURCES=$pkg_cv_GLIB_COMPILE_RESOURCES
9564 if test "x$GLIB_COMPILE_RESOURCES" = x""; then :
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
9569 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
9571 if test x$PKG_CONFIG != xno ; then
9572 ## don't try to run the test against uninstalled libtool libs
9573 if $PKG_CONFIG --uninstalled $pkg_config_args; then
9574 echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
9578 if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
9585 if test x"$no_glib" = x ; then
9586 glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
9587 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9588 glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
9589 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9590 glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
9591 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9592 if test "x$enable_glibtest" = "xyes" ; then
9593 ac_save_CFLAGS="$CFLAGS"
9594 ac_save_LIBS="$LIBS"
9595 CFLAGS="$CFLAGS $GLIB_CFLAGS"
9596 LIBS="$GLIB_LIBS $LIBS"
9598 if test "$cross_compiling" = yes; then :
9599 echo $ac_n "cross compiling; assumed OK... $ac_c"
9601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9602 /* end confdefs.h. */
9611 unsigned int major, minor, micro;
9613 fclose (fopen ("conf.glibtest", "w"));
9615 if (sscanf("$min_glib_version", "%u.%u.%u", &major, &minor, µ) != 3) {
9616 printf("%s, bad version string\n", "$min_glib_version");
9620 if ((glib_major_version != $glib_config_major_version) ||
9621 (glib_minor_version != $glib_config_minor_version) ||
9622 (glib_micro_version != $glib_config_micro_version))
9624 printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
9625 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
9626 glib_major_version, glib_minor_version, glib_micro_version);
9627 printf ("*** was found! If pkg-config was correct, then it is best\n");
9628 printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
9629 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
9630 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9631 printf("*** required on your system.\n");
9632 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
9633 printf("*** to point to the correct configuration files\n");
9635 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
9636 (glib_minor_version != GLIB_MINOR_VERSION) ||
9637 (glib_micro_version != GLIB_MICRO_VERSION))
9639 printf("*** GLib header files (version %d.%d.%d) do not match\n",
9640 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
9641 printf("*** library (version %d.%d.%d)\n",
9642 glib_major_version, glib_minor_version, glib_micro_version);
9646 if ((glib_major_version > major) ||
9647 ((glib_major_version == major) && (glib_minor_version > minor)) ||
9648 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
9654 printf("\n*** An old version of GLib (%u.%u.%u) was found.\n",
9655 glib_major_version, glib_minor_version, glib_micro_version);
9656 printf("*** You need a version of GLib newer than %u.%u.%u. The latest version of\n",
9657 major, minor, micro);
9658 printf("*** GLib is always available from ftp://ftp.gtk.org.\n");
9660 printf("*** If you have already installed a sufficiently new version, this error\n");
9661 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
9662 printf("*** being found. The easiest way to fix this is to remove the old version\n");
9663 printf("*** of GLib, but you can also set the PKG_CONFIG environment to point to the\n");
9664 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
9665 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
9666 printf("*** so that the correct libraries are found at run-time))\n");
9673 if ac_fn_c_try_run "$LINENO"; then :
9678 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9679 conftest.$ac_objext conftest.beam conftest.$ac_ext
9682 CFLAGS="$ac_save_CFLAGS"
9683 LIBS="$ac_save_LIBS"
9686 if test "x$no_glib" = x ; then
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
9688 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9692 $as_echo "no" >&6; }
9693 if test "$PKG_CONFIG" = "no" ; then
9694 echo "*** A new enough version of pkg-config was not found."
9695 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
9697 if test -f conf.glibtest ; then
9700 echo "*** Could not run GLib test program, checking why..."
9701 ac_save_CFLAGS="$CFLAGS"
9702 ac_save_LIBS="$LIBS"
9703 CFLAGS="$CFLAGS $GLIB_CFLAGS"
9704 LIBS="$LIBS $GLIB_LIBS"
9705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9706 /* end confdefs.h. */
9714 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
9719 if ac_fn_c_try_link "$LINENO"; then :
9720 echo "*** The test program compiled, but did not run. This usually means"
9721 echo "*** that the run-time linker is not finding GLib or finding the wrong"
9722 echo "*** version of GLib. If it is not finding GLib, you'll need to set your"
9723 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
9724 echo "*** to the installed location Also, make sure you have run ldconfig if that"
9725 echo "*** is required on your system"
9727 echo "*** If you have an old version installed, it is best to remove it, although"
9728 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
9730 echo "*** The test program failed to compile or link. See the file config.log for the"
9731 echo "*** exact error that occurred. This usually means GLib is incorrectly installed."
9733 rm -f core conftest.err conftest.$ac_objext \
9734 conftest$ac_exeext conftest.$ac_ext
9735 CFLAGS="$ac_save_CFLAGS"
9736 LIBS="$ac_save_LIBS"
9744 GLIB_COMPILE_RESOURCES=""
9745 as_fn_error $? "GLIB >= 2.52.0 not installed." "$LINENO" 5
9749 # Check whether --enable-gtk3 was given.
9750 if test "${enable_gtk3+set}" = set; then :
9751 enableval=$enable_gtk3; gtk3="${enableval}"
9757 if test x$gtk3 = xyes; then
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Gtk3 enabled\"" >&5
9759 $as_echo "$as_me: WARNING: \"Gtk3 enabled\"" >&2;}
9761 # Check whether --enable-gtktest was given.
9762 if test "${enable_gtktest+set}" = set; then :
9763 enableval=$enable_gtktest;
9768 min_gtk_version=3.0.0
9770 pkg_config_args="gtk+-3.0 >= $min_gtk_version"
9775 pkg_config_args="$pkg_config_args gthread-2.0"
9789 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9790 if test -n "$ac_tool_prefix"; then
9791 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9792 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9794 $as_echo_n "checking for $ac_word... " >&6; }
9795 if ${ac_cv_path_PKG_CONFIG+:} false; then :
9796 $as_echo_n "(cached) " >&6
9800 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9807 test -z "$as_dir" && as_dir=.
9808 for ac_exec_ext in '' $ac_executable_extensions; do
9809 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9810 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9821 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9822 if test -n "$PKG_CONFIG"; then
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
9824 $as_echo "$PKG_CONFIG" >&6; }
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9827 $as_echo "no" >&6; }
9832 if test -z "$ac_cv_path_PKG_CONFIG"; then
9833 ac_pt_PKG_CONFIG=$PKG_CONFIG
9834 # Extract the first word of "pkg-config", so it can be a program name with args.
9835 set dummy pkg-config; ac_word=$2
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9837 $as_echo_n "checking for $ac_word... " >&6; }
9838 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
9839 $as_echo_n "(cached) " >&6
9841 case $ac_pt_PKG_CONFIG in
9843 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
9846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9850 test -z "$as_dir" && as_dir=.
9851 for ac_exec_ext in '' $ac_executable_extensions; do
9852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9853 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9864 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
9865 if test -n "$ac_pt_PKG_CONFIG"; then
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
9867 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9870 $as_echo "no" >&6; }
9873 if test "x$ac_pt_PKG_CONFIG" = x; then
9876 case $cross_compiling:$ac_tool_warned in
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9879 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9880 ac_tool_warned=yes ;;
9882 PKG_CONFIG=$ac_pt_PKG_CONFIG
9885 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
9889 if test -n "$PKG_CONFIG"; then
9890 _pkg_min_version=0.16
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
9892 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
9893 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9895 $as_echo "yes" >&6; }
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9898 $as_echo "no" >&6; }
9903 if test -z "$PKG_CONFIG"; then
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
9908 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
9910 if test -n "$PKG_CONFIG"; then
9911 ## don't try to run the test against uninstalled libtool libs
9912 if $PKG_CONFIG --uninstalled $pkg_config_args; then
9913 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
9917 if $PKG_CONFIG $pkg_config_args; then
9924 if test x"$no_gtk" = x ; then
9925 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
9926 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
9927 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
9928 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9929 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
9930 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9931 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
9932 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9933 if test "x$enable_gtktest" = "xyes" ; then
9934 ac_save_CFLAGS="$CFLAGS"
9935 ac_save_LIBS="$LIBS"
9936 CFLAGS="$CFLAGS $GTK_CFLAGS"
9937 LIBS="$GTK_LIBS $LIBS"
9939 if test "$cross_compiling" = yes; then :
9940 echo $ac_n "cross compiling; assumed OK... $ac_c"
9942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9943 /* end confdefs.h. */
9945 #include <gtk/gtk.h>
9952 unsigned int major, minor, micro;
9954 fclose (fopen ("conf.gtktest", "w"));
9956 if (sscanf("$min_gtk_version", "%u.%u.%u", &major, &minor, µ) != 3) {
9957 printf("%s, bad version string\n", "$min_gtk_version");
9961 if ((gtk_major_version != $gtk_config_major_version) ||
9962 (gtk_minor_version != $gtk_config_minor_version) ||
9963 (gtk_micro_version != $gtk_config_micro_version))
9965 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
9966 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
9967 gtk_major_version, gtk_minor_version, gtk_micro_version);
9968 printf ("*** was found! If pkg-config was correct, then it is best\n");
9969 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
9970 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9971 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9972 printf("*** required on your system.\n");
9973 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
9974 printf("*** to point to the correct configuration files\n");
9976 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
9977 (gtk_minor_version != GTK_MINOR_VERSION) ||
9978 (gtk_micro_version != GTK_MICRO_VERSION))
9980 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
9981 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
9982 printf("*** library (version %d.%d.%d)\n",
9983 gtk_major_version, gtk_minor_version, gtk_micro_version);
9987 if ((gtk_major_version > major) ||
9988 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9989 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
9995 printf("\n*** An old version of GTK+ (%u.%u.%u) was found.\n",
9996 gtk_major_version, gtk_minor_version, gtk_micro_version);
9997 printf("*** You need a version of GTK+ newer than %u.%u.%u. The latest version of\n",
9998 major, minor, micro);
9999 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10001 printf("*** If you have already installed a sufficiently new version, this error\n");
10002 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
10003 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10004 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
10005 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
10006 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10007 printf("*** so that the correct libraries are found at run-time))\n");
10014 if ac_fn_c_try_run "$LINENO"; then :
10019 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10020 conftest.$ac_objext conftest.beam conftest.$ac_ext
10023 CFLAGS="$ac_save_CFLAGS"
10024 LIBS="$ac_save_LIBS"
10027 if test "x$no_gtk" = x ; then
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
10029 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10033 $as_echo "no" >&6; }
10034 if test -z "$PKG_CONFIG"; then
10035 echo "*** A new enough version of pkg-config was not found."
10036 echo "*** See http://pkgconfig.sourceforge.net"
10038 if test -f conf.gtktest ; then
10041 echo "*** Could not run GTK+ test program, checking why..."
10042 ac_save_CFLAGS="$CFLAGS"
10043 ac_save_LIBS="$LIBS"
10044 CFLAGS="$CFLAGS $GTK_CFLAGS"
10045 LIBS="$LIBS $GTK_LIBS"
10046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10047 /* end confdefs.h. */
10049 #include <gtk/gtk.h>
10055 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10060 if ac_fn_c_try_link "$LINENO"; then :
10061 echo "*** The test program compiled, but did not run. This usually means"
10062 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
10063 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
10064 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10065 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10066 echo "*** is required on your system"
10068 echo "*** If you have an old version installed, it is best to remove it, although"
10069 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10071 echo "*** The test program failed to compile or link. See the file config.log for the"
10072 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
10074 rm -f core conftest.err conftest.$ac_objext \
10075 conftest$ac_exeext conftest.$ac_ext
10076 CFLAGS="$ac_save_CFLAGS"
10077 LIBS="$ac_save_LIBS"
10082 as_fn_error $? "GTK+ >= 3.0.0 not installed." "$LINENO" 5
10089 if test x$gtk3 != xno; then
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Gtk3 is preferred...\"" >&5
10091 $as_echo "$as_me: WARNING: \"Gtk3 is preferred...\"" >&2;}
10093 # Check whether --enable-gtktest was given.
10094 if test "${enable_gtktest+set}" = set; then :
10095 enableval=$enable_gtktest;
10100 min_gtk_version=3.0.0
10102 pkg_config_args="gtk+-3.0 >= $min_gtk_version"
10107 pkg_config_args="$pkg_config_args gthread-2.0"
10121 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10122 if test -n "$ac_tool_prefix"; then
10123 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10124 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10126 $as_echo_n "checking for $ac_word... " >&6; }
10127 if ${ac_cv_path_PKG_CONFIG+:} false; then :
10128 $as_echo_n "(cached) " >&6
10130 case $PKG_CONFIG in
10132 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10136 for as_dir in $PATH
10139 test -z "$as_dir" && as_dir=.
10140 for ac_exec_ext in '' $ac_executable_extensions; do
10141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10142 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10153 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10154 if test -n "$PKG_CONFIG"; then
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10156 $as_echo "$PKG_CONFIG" >&6; }
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10159 $as_echo "no" >&6; }
10164 if test -z "$ac_cv_path_PKG_CONFIG"; then
10165 ac_pt_PKG_CONFIG=$PKG_CONFIG
10166 # Extract the first word of "pkg-config", so it can be a program name with args.
10167 set dummy pkg-config; ac_word=$2
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10169 $as_echo_n "checking for $ac_word... " >&6; }
10170 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
10171 $as_echo_n "(cached) " >&6
10173 case $ac_pt_PKG_CONFIG in
10175 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10179 for as_dir in $PATH
10182 test -z "$as_dir" && as_dir=.
10183 for ac_exec_ext in '' $ac_executable_extensions; do
10184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10185 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10196 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
10197 if test -n "$ac_pt_PKG_CONFIG"; then
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10199 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10202 $as_echo "no" >&6; }
10205 if test "x$ac_pt_PKG_CONFIG" = x; then
10208 case $cross_compiling:$ac_tool_warned in
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10212 ac_tool_warned=yes ;;
10214 PKG_CONFIG=$ac_pt_PKG_CONFIG
10217 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
10221 if test -n "$PKG_CONFIG"; then
10222 _pkg_min_version=0.16
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10224 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10225 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10227 $as_echo "yes" >&6; }
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10230 $as_echo "no" >&6; }
10235 if test -z "$PKG_CONFIG"; then
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
10240 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
10242 if test -n "$PKG_CONFIG"; then
10243 ## don't try to run the test against uninstalled libtool libs
10244 if $PKG_CONFIG --uninstalled $pkg_config_args; then
10245 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
10249 if $PKG_CONFIG $pkg_config_args; then
10256 if test x"$no_gtk" = x ; then
10257 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
10258 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
10259 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
10260 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10261 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
10262 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10263 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
10264 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10265 if test "x$enable_gtktest" = "xyes" ; then
10266 ac_save_CFLAGS="$CFLAGS"
10267 ac_save_LIBS="$LIBS"
10268 CFLAGS="$CFLAGS $GTK_CFLAGS"
10269 LIBS="$GTK_LIBS $LIBS"
10271 if test "$cross_compiling" = yes; then :
10272 echo $ac_n "cross compiling; assumed OK... $ac_c"
10274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10275 /* end confdefs.h. */
10277 #include <gtk/gtk.h>
10279 #include <stdlib.h>
10284 unsigned int major, minor, micro;
10286 fclose (fopen ("conf.gtktest", "w"));
10288 if (sscanf("$min_gtk_version", "%u.%u.%u", &major, &minor, µ) != 3) {
10289 printf("%s, bad version string\n", "$min_gtk_version");
10293 if ((gtk_major_version != $gtk_config_major_version) ||
10294 (gtk_minor_version != $gtk_config_minor_version) ||
10295 (gtk_micro_version != $gtk_config_micro_version))
10297 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10298 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10299 gtk_major_version, gtk_minor_version, gtk_micro_version);
10300 printf ("*** was found! If pkg-config was correct, then it is best\n");
10301 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10302 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10303 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10304 printf("*** required on your system.\n");
10305 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
10306 printf("*** to point to the correct configuration files\n");
10308 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10309 (gtk_minor_version != GTK_MINOR_VERSION) ||
10310 (gtk_micro_version != GTK_MICRO_VERSION))
10312 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10313 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10314 printf("*** library (version %d.%d.%d)\n",
10315 gtk_major_version, gtk_minor_version, gtk_micro_version);
10319 if ((gtk_major_version > major) ||
10320 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10321 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10327 printf("\n*** An old version of GTK+ (%u.%u.%u) was found.\n",
10328 gtk_major_version, gtk_minor_version, gtk_micro_version);
10329 printf("*** You need a version of GTK+ newer than %u.%u.%u. The latest version of\n",
10330 major, minor, micro);
10331 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10333 printf("*** If you have already installed a sufficiently new version, this error\n");
10334 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
10335 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10336 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
10337 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
10338 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10339 printf("*** so that the correct libraries are found at run-time))\n");
10346 if ac_fn_c_try_run "$LINENO"; then :
10351 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10352 conftest.$ac_objext conftest.beam conftest.$ac_ext
10355 CFLAGS="$ac_save_CFLAGS"
10356 LIBS="$ac_save_LIBS"
10359 if test "x$no_gtk" = x ; then
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
10361 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10365 $as_echo "no" >&6; }
10366 if test -z "$PKG_CONFIG"; then
10367 echo "*** A new enough version of pkg-config was not found."
10368 echo "*** See http://pkgconfig.sourceforge.net"
10370 if test -f conf.gtktest ; then
10373 echo "*** Could not run GTK+ test program, checking why..."
10374 ac_save_CFLAGS="$CFLAGS"
10375 ac_save_LIBS="$LIBS"
10376 CFLAGS="$CFLAGS $GTK_CFLAGS"
10377 LIBS="$LIBS $GTK_LIBS"
10378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10379 /* end confdefs.h. */
10381 #include <gtk/gtk.h>
10387 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10392 if ac_fn_c_try_link "$LINENO"; then :
10393 echo "*** The test program compiled, but did not run. This usually means"
10394 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
10395 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
10396 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10397 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10398 echo "*** is required on your system"
10400 echo "*** If you have an old version installed, it is best to remove it, although"
10401 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10403 echo "*** The test program failed to compile or link. See the file config.log for the"
10404 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
10406 rm -f core conftest.err conftest.$ac_objext \
10407 conftest$ac_exeext conftest.$ac_ext
10408 CFLAGS="$ac_save_CFLAGS"
10409 LIBS="$ac_save_LIBS"
10423 if test x$gtk3 = xno; then
10424 # Check whether --enable-gtktest was given.
10425 if test "${enable_gtktest+set}" = set; then :
10426 enableval=$enable_gtktest;
10432 pkg_config_args=gtk+-2.0
10437 pkg_config_args="$pkg_config_args gthread-2.0"
10452 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10453 if test -n "$ac_tool_prefix"; then
10454 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10455 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10457 $as_echo_n "checking for $ac_word... " >&6; }
10458 if ${ac_cv_path_PKG_CONFIG+:} false; then :
10459 $as_echo_n "(cached) " >&6
10461 case $PKG_CONFIG in
10463 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10467 for as_dir in $PATH
10470 test -z "$as_dir" && as_dir=.
10471 for ac_exec_ext in '' $ac_executable_extensions; do
10472 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10473 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10484 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10485 if test -n "$PKG_CONFIG"; then
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10487 $as_echo "$PKG_CONFIG" >&6; }
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10490 $as_echo "no" >&6; }
10495 if test -z "$ac_cv_path_PKG_CONFIG"; then
10496 ac_pt_PKG_CONFIG=$PKG_CONFIG
10497 # Extract the first word of "pkg-config", so it can be a program name with args.
10498 set dummy pkg-config; ac_word=$2
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10500 $as_echo_n "checking for $ac_word... " >&6; }
10501 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
10502 $as_echo_n "(cached) " >&6
10504 case $ac_pt_PKG_CONFIG in
10506 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10510 for as_dir in $PATH
10513 test -z "$as_dir" && as_dir=.
10514 for ac_exec_ext in '' $ac_executable_extensions; do
10515 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10516 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10527 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
10528 if test -n "$ac_pt_PKG_CONFIG"; then
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10530 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10533 $as_echo "no" >&6; }
10536 if test "x$ac_pt_PKG_CONFIG" = x; then
10539 case $cross_compiling:$ac_tool_warned in
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10542 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10543 ac_tool_warned=yes ;;
10545 PKG_CONFIG=$ac_pt_PKG_CONFIG
10548 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
10552 if test -n "$PKG_CONFIG"; then
10553 _pkg_min_version=0.7
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10555 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10556 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10558 $as_echo "yes" >&6; }
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10561 $as_echo "no" >&6; }
10566 min_gtk_version=2.20.0
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
10568 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
10570 if test x$PKG_CONFIG != xno ; then
10571 ## don't try to run the test against uninstalled libtool libs
10572 if $PKG_CONFIG --uninstalled $pkg_config_args; then
10573 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
10577 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
10584 if test x"$no_gtk" = x ; then
10585 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
10586 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
10587 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
10588 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10589 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
10590 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10591 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
10592 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10593 if test "x$enable_gtktest" = "xyes" ; then
10594 ac_save_CFLAGS="$CFLAGS"
10595 ac_save_LIBS="$LIBS"
10596 CFLAGS="$CFLAGS $GTK_CFLAGS"
10597 LIBS="$GTK_LIBS $LIBS"
10599 if test "$cross_compiling" = yes; then :
10600 echo $ac_n "cross compiling; assumed OK... $ac_c"
10602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10603 /* end confdefs.h. */
10605 #include <gtk/gtk.h>
10607 #include <stdlib.h>
10612 int major, minor, micro;
10615 fclose (fopen ("conf.gtktest", "w"));
10617 /* HP/UX 9 (%@#!) writes to sscanf strings */
10618 tmp_version = g_strdup("$min_gtk_version");
10619 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10620 printf("%s, bad version string\n", "$min_gtk_version");
10624 if ((gtk_major_version != $gtk_config_major_version) ||
10625 (gtk_minor_version != $gtk_config_minor_version) ||
10626 (gtk_micro_version != $gtk_config_micro_version))
10628 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10629 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10630 gtk_major_version, gtk_minor_version, gtk_micro_version);
10631 printf ("*** was found! If pkg-config was correct, then it is best\n");
10632 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10633 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10634 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10635 printf("*** required on your system.\n");
10636 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
10637 printf("*** to point to the correct configuration files\n");
10639 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10640 (gtk_minor_version != GTK_MINOR_VERSION) ||
10641 (gtk_micro_version != GTK_MICRO_VERSION))
10643 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10644 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10645 printf("*** library (version %d.%d.%d)\n",
10646 gtk_major_version, gtk_minor_version, gtk_micro_version);
10650 if ((gtk_major_version > major) ||
10651 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10652 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10658 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10659 gtk_major_version, gtk_minor_version, gtk_micro_version);
10660 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10661 major, minor, micro);
10662 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10664 printf("*** If you have already installed a sufficiently new version, this error\n");
10665 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
10666 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10667 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
10668 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
10669 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10670 printf("*** so that the correct libraries are found at run-time))\n");
10677 if ac_fn_c_try_run "$LINENO"; then :
10682 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10683 conftest.$ac_objext conftest.beam conftest.$ac_ext
10686 CFLAGS="$ac_save_CFLAGS"
10687 LIBS="$ac_save_LIBS"
10690 if test "x$no_gtk" = x ; then
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
10692 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10696 $as_echo "no" >&6; }
10697 if test "$PKG_CONFIG" = "no" ; then
10698 echo "*** A new enough version of pkg-config was not found."
10699 echo "*** See http://pkgconfig.sourceforge.net"
10701 if test -f conf.gtktest ; then
10704 echo "*** Could not run GTK+ test program, checking why..."
10705 ac_save_CFLAGS="$CFLAGS"
10706 ac_save_LIBS="$LIBS"
10707 CFLAGS="$CFLAGS $GTK_CFLAGS"
10708 LIBS="$LIBS $GTK_LIBS"
10709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10710 /* end confdefs.h. */
10712 #include <gtk/gtk.h>
10718 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10723 if ac_fn_c_try_link "$LINENO"; then :
10724 echo "*** The test program compiled, but did not run. This usually means"
10725 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
10726 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
10727 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10728 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10729 echo "*** is required on your system"
10731 echo "*** If you have an old version installed, it is best to remove it, although"
10732 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10734 echo "*** The test program failed to compile or link. See the file config.log for the"
10735 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
10737 rm -f core conftest.err conftest.$ac_objext \
10738 conftest$ac_exeext conftest.$ac_ext
10739 CFLAGS="$ac_save_CFLAGS"
10740 LIBS="$ac_save_LIBS"
10745 as_fn_error $? "GTK+ >= 2.20.0 not installed." "$LINENO" 5
10755 # Check whether --enable-threads was given.
10756 if test "${enable_threads+set}" = set; then :
10757 enableval=$enable_threads; threads="${enableval}"
10762 if test "x${threads}" != "xno" ; then
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthread-2.0" >&5
10766 $as_echo_n "checking for gthread-2.0... " >&6; }
10768 if test -n "$GTHREAD_CFLAGS"; then
10769 pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
10770 elif test -n "$PKG_CONFIG"; then
10771 if test -n "$PKG_CONFIG" && \
10772 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5
10773 ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
10775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10776 test $ac_status = 0; }; then
10777 pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0" 2>/dev/null`
10778 test "x$?" != "x0" && pkg_failed=yes
10785 if test -n "$GTHREAD_LIBS"; then
10786 pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
10787 elif test -n "$PKG_CONFIG"; then
10788 if test -n "$PKG_CONFIG" && \
10789 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5
10790 ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
10792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10793 test $ac_status = 0; }; then
10794 pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0" 2>/dev/null`
10795 test "x$?" != "x0" && pkg_failed=yes
10805 if test $pkg_failed = yes; then
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10807 $as_echo "no" >&6; }
10809 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10810 _pkg_short_errors_supported=yes
10812 _pkg_short_errors_supported=no
10814 if test $_pkg_short_errors_supported = yes; then
10815 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gthread-2.0" 2>&1`
10817 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gthread-2.0" 2>&1`
10819 # Put the nasty error message in config.log where it belongs
10820 echo "$GTHREAD_PKG_ERRORS" >&5
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"No thread support in glib\"" >&5
10823 $as_echo "$as_me: WARNING: \"No thread support in glib\"" >&2;}
10824 elif test $pkg_failed = untried; then
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10826 $as_echo "no" >&6; }
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"No thread support in glib\"" >&5
10828 $as_echo "$as_me: WARNING: \"No thread support in glib\"" >&2;}
10830 GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
10831 GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10833 $as_echo "yes" >&6; }
10838 if test "x$have_gthread" != "xno"; then
10840 $as_echo "#define HAVE_GTHREAD 1" >>confdefs.h
10842 GLIB_CFLAGS="$GTHREAD_CFLAGS"
10843 GLIB_LIBS="$GTHREAD_LIBS"
10847 for ac_prog in "gdk-pixbuf-csource"
10849 # Extract the first word of "$ac_prog", so it can be a program name with args.
10850 set dummy $ac_prog; ac_word=$2
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10852 $as_echo_n "checking for $ac_word... " >&6; }
10853 if ${ac_cv_path_GDK_PIXBUF_CSOURCE+:} false; then :
10854 $as_echo_n "(cached) " >&6
10856 case $GDK_PIXBUF_CSOURCE in
10858 ac_cv_path_GDK_PIXBUF_CSOURCE="$GDK_PIXBUF_CSOURCE" # Let the user override the test with a path.
10861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10862 for as_dir in $PATH
10865 test -z "$as_dir" && as_dir=.
10866 for ac_exec_ext in '' $ac_executable_extensions; do
10867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10868 ac_cv_path_GDK_PIXBUF_CSOURCE="$as_dir/$ac_word$ac_exec_ext"
10869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10879 GDK_PIXBUF_CSOURCE=$ac_cv_path_GDK_PIXBUF_CSOURCE
10880 if test -n "$GDK_PIXBUF_CSOURCE"; then
10881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_PIXBUF_CSOURCE" >&5
10882 $as_echo "$GDK_PIXBUF_CSOURCE" >&6; }
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10885 $as_echo "no" >&6; }
10889 test -n "$GDK_PIXBUF_CSOURCE" && break
10892 # Extract the first word of "glib-genmarshal", so it can be a program name with args.
10893 set dummy glib-genmarshal; ac_word=$2
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10895 $as_echo_n "checking for $ac_word... " >&6; }
10896 if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
10897 $as_echo_n "(cached) " >&6
10899 case $GLIB_GENMARSHAL in
10901 ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
10904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10905 for as_dir in $PATH
10908 test -z "$as_dir" && as_dir=.
10909 for ac_exec_ext in '' $ac_executable_extensions; do
10910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10911 ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
10912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10922 GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
10923 if test -n "$GLIB_GENMARSHAL"; then
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
10925 $as_echo "$GLIB_GENMARSHAL" >&6; }
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10928 $as_echo "no" >&6; }
10934 # Check whether --with-readmedir was given.
10935 if test "${with_readmedir+set}" = set; then :
10936 withval=$with_readmedir; readmedir=$withval
10938 readmedir="$prefix/share/doc/geeqie-$VERSION"
10942 # Check whether --with-htmldir was given.
10943 if test "${with_htmldir+set}" = set; then :
10944 withval=$with_htmldir; htmldir=$withval
10946 htmldir="$readmedir/html"
10951 cat >>confdefs.h <<_ACEOF
10952 #define GQ_HELPDIR "$readmedir"
10956 cat >>confdefs.h <<_ACEOF
10957 #define GQ_HTMLDIR "$htmldir"
10961 # Extract the first word of "yelp-build", so it can be a program name with args.
10962 set dummy yelp-build; ac_word=$2
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10964 $as_echo_n "checking for $ac_word... " >&6; }
10965 if ${ac_cv_path_GNOME_DOC_TOOL+:} false; then :
10966 $as_echo_n "(cached) " >&6
10968 case $GNOME_DOC_TOOL in
10970 ac_cv_path_GNOME_DOC_TOOL="$GNOME_DOC_TOOL" # Let the user override the test with a path.
10973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10974 for as_dir in $PATH
10977 test -z "$as_dir" && as_dir=.
10978 for ac_exec_ext in '' $ac_executable_extensions; do
10979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10980 ac_cv_path_GNOME_DOC_TOOL="$as_dir/$ac_word$ac_exec_ext"
10981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10991 GNOME_DOC_TOOL=$ac_cv_path_GNOME_DOC_TOOL
10992 if test -n "$GNOME_DOC_TOOL"; then
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNOME_DOC_TOOL" >&5
10994 $as_echo "$GNOME_DOC_TOOL" >&6; }
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10997 $as_echo "no" >&6; }
11005 eval "eval appdir=${datadir}/${PACKAGE}"
11007 cat >>confdefs.h <<_ACEOF
11008 #define GQ_APP_DIR "$appdir"
11013 eval "eval gq_bindir=${prefix}/lib/${PACKAGE}"
11015 cat >>confdefs.h <<_ACEOF
11016 #define GQ_BIN_DIR "$gq_bindir"
11022 # ----------------------------------------------------------------------
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if LIRC support is enabled" >&5
11025 $as_echo_n "checking if LIRC support is enabled... " >&6; }
11027 # Check whether --enable-lirc was given.
11028 if test "${enable_lirc+set}" = set; then :
11029 enableval=$enable_lirc;
11030 if test "x${enableval}" = "xyes" -a "x$GCC" = "xyes"; then
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11032 $as_echo "yes" >&6; }
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11036 $as_echo "no" >&6; }
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11041 $as_echo "no" >&6; }
11047 # Check whether --with-lirc-prefix was given.
11048 if test "${with_lirc_prefix+set}" = set; then :
11049 withval=$with_lirc_prefix;
11050 for dir in `echo "$withval" | tr : ' '`; do
11051 if test -d $dir/lib; then CXXFLAGS="$CXXFLAGS -L$dir/lib"; fi
11052 if test -d $dir/include; then CXXFLAGS="$CXXFLAGS -I$dir/include"; fi
11059 if test "x${lirc}" != "xno" ; then
11060 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
11061 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
11062 inttypes.h stdint.h unistd.h
11064 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11065 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
11067 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11068 cat >>confdefs.h <<_ACEOF
11069 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11077 ac_fn_c_check_header_mongrel "$LINENO" "lirc/lirc_client.h" "ac_cv_header_lirc_lirc_client_h" "$ac_includes_default"
11078 if test "x$ac_cv_header_lirc_lirc_client_h" = xyes; then :
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lirc_init in -llirc_client" >&5
11080 $as_echo_n "checking for lirc_init in -llirc_client... " >&6; }
11081 if ${ac_cv_lib_lirc_client_lirc_init+:} false; then :
11082 $as_echo_n "(cached) " >&6
11084 ac_check_lib_save_LIBS=$LIBS
11085 LIBS="-llirc_client $LIBS"
11086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11087 /* end confdefs.h. */
11089 /* Override any GCC internal prototype to avoid an error.
11090 Use char because int might match the return type of a GCC
11091 builtin and then its argument prototype would still apply. */
11099 return lirc_init ();
11104 if ac_fn_c_try_link "$LINENO"; then :
11105 ac_cv_lib_lirc_client_lirc_init=yes
11107 ac_cv_lib_lirc_client_lirc_init=no
11109 rm -f core conftest.err conftest.$ac_objext \
11110 conftest$ac_exeext conftest.$ac_ext
11111 LIBS=$ac_check_lib_save_LIBS
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lirc_client_lirc_init" >&5
11114 $as_echo "$ac_cv_lib_lirc_client_lirc_init" >&6; }
11115 if test "x$ac_cv_lib_lirc_client_lirc_init" = xyes; then :
11116 HAVE_LIRC=yes;LIBS=-llirc_client $LIBS;
11117 $as_echo "#define HAVE_LIRC /**/" >>confdefs.h
11125 if test "x$HAVE_LIRC" = xyes; then
11127 HAVE_LIRC_FALSE='#'
11136 # ----------------------------------------------------------------------
11138 # Check whether --enable-lcms was given.
11139 if test "${enable_lcms+set}" = set; then :
11140 enableval=$enable_lcms; liblcms=$enableval
11146 if test "x${liblcms}" != "xno"; then
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lcms2 >= 2.0" >&5
11150 $as_echo_n "checking for lcms2 >= 2.0... " >&6; }
11152 if test -n "$LCMS_CFLAGS"; then
11153 pkg_cv_LCMS_CFLAGS="$LCMS_CFLAGS"
11154 elif test -n "$PKG_CONFIG"; then
11155 if test -n "$PKG_CONFIG" && \
11156 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms2 >= 2.0\""; } >&5
11157 ($PKG_CONFIG --exists --print-errors "lcms2 >= 2.0") 2>&5
11159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11160 test $ac_status = 0; }; then
11161 pkg_cv_LCMS_CFLAGS=`$PKG_CONFIG --cflags "lcms2 >= 2.0" 2>/dev/null`
11162 test "x$?" != "x0" && pkg_failed=yes
11169 if test -n "$LCMS_LIBS"; then
11170 pkg_cv_LCMS_LIBS="$LCMS_LIBS"
11171 elif test -n "$PKG_CONFIG"; then
11172 if test -n "$PKG_CONFIG" && \
11173 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms2 >= 2.0\""; } >&5
11174 ($PKG_CONFIG --exists --print-errors "lcms2 >= 2.0") 2>&5
11176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11177 test $ac_status = 0; }; then
11178 pkg_cv_LCMS_LIBS=`$PKG_CONFIG --libs "lcms2 >= 2.0" 2>/dev/null`
11179 test "x$?" != "x0" && pkg_failed=yes
11189 if test $pkg_failed = yes; then
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11191 $as_echo "no" >&6; }
11193 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11194 _pkg_short_errors_supported=yes
11196 _pkg_short_errors_supported=no
11198 if test $_pkg_short_errors_supported = yes; then
11199 LCMS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lcms2 >= 2.0" 2>&1`
11201 LCMS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lcms2 >= 2.0" 2>&1`
11203 # Put the nasty error message in config.log where it belongs
11204 echo "$LCMS_PKG_ERRORS" >&5
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lcms >= 1.14" >&5
11210 $as_echo_n "checking for lcms >= 1.14... " >&6; }
11212 if test -n "$LCMS_CFLAGS"; then
11213 pkg_cv_LCMS_CFLAGS="$LCMS_CFLAGS"
11214 elif test -n "$PKG_CONFIG"; then
11215 if test -n "$PKG_CONFIG" && \
11216 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms >= 1.14\""; } >&5
11217 ($PKG_CONFIG --exists --print-errors "lcms >= 1.14") 2>&5
11219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11220 test $ac_status = 0; }; then
11221 pkg_cv_LCMS_CFLAGS=`$PKG_CONFIG --cflags "lcms >= 1.14" 2>/dev/null`
11222 test "x$?" != "x0" && pkg_failed=yes
11229 if test -n "$LCMS_LIBS"; then
11230 pkg_cv_LCMS_LIBS="$LCMS_LIBS"
11231 elif test -n "$PKG_CONFIG"; then
11232 if test -n "$PKG_CONFIG" && \
11233 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms >= 1.14\""; } >&5
11234 ($PKG_CONFIG --exists --print-errors "lcms >= 1.14") 2>&5
11236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11237 test $ac_status = 0; }; then
11238 pkg_cv_LCMS_LIBS=`$PKG_CONFIG --libs "lcms >= 1.14" 2>/dev/null`
11239 test "x$?" != "x0" && pkg_failed=yes
11249 if test $pkg_failed = yes; then
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11251 $as_echo "no" >&6; }
11253 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11254 _pkg_short_errors_supported=yes
11256 _pkg_short_errors_supported=no
11258 if test $_pkg_short_errors_supported = yes; then
11259 LCMS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lcms >= 1.14" 2>&1`
11261 LCMS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lcms >= 1.14" 2>&1`
11263 # Put the nasty error message in config.log where it belongs
11264 echo "$LCMS_PKG_ERRORS" >&5
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LCMS_PKG_ERRORS" >&5
11269 $as_echo "$as_me: WARNING: $LCMS_PKG_ERRORS" >&2;}
11271 elif test $pkg_failed = untried; then
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11273 $as_echo "no" >&6; }
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LCMS_PKG_ERRORS" >&5
11277 $as_echo "$as_me: WARNING: $LCMS_PKG_ERRORS" >&2;}
11280 LCMS_CFLAGS=$pkg_cv_LCMS_CFLAGS
11281 LCMS_LIBS=$pkg_cv_LCMS_LIBS
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11283 $as_echo "yes" >&6; }
11287 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
11292 elif test $pkg_failed = untried; then
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11294 $as_echo "no" >&6; }
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lcms >= 1.14" >&5
11299 $as_echo_n "checking for lcms >= 1.14... " >&6; }
11301 if test -n "$LCMS_CFLAGS"; then
11302 pkg_cv_LCMS_CFLAGS="$LCMS_CFLAGS"
11303 elif test -n "$PKG_CONFIG"; then
11304 if test -n "$PKG_CONFIG" && \
11305 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms >= 1.14\""; } >&5
11306 ($PKG_CONFIG --exists --print-errors "lcms >= 1.14") 2>&5
11308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11309 test $ac_status = 0; }; then
11310 pkg_cv_LCMS_CFLAGS=`$PKG_CONFIG --cflags "lcms >= 1.14" 2>/dev/null`
11311 test "x$?" != "x0" && pkg_failed=yes
11318 if test -n "$LCMS_LIBS"; then
11319 pkg_cv_LCMS_LIBS="$LCMS_LIBS"
11320 elif test -n "$PKG_CONFIG"; then
11321 if test -n "$PKG_CONFIG" && \
11322 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms >= 1.14\""; } >&5
11323 ($PKG_CONFIG --exists --print-errors "lcms >= 1.14") 2>&5
11325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11326 test $ac_status = 0; }; then
11327 pkg_cv_LCMS_LIBS=`$PKG_CONFIG --libs "lcms >= 1.14" 2>/dev/null`
11328 test "x$?" != "x0" && pkg_failed=yes
11338 if test $pkg_failed = yes; then
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11340 $as_echo "no" >&6; }
11342 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11343 _pkg_short_errors_supported=yes
11345 _pkg_short_errors_supported=no
11347 if test $_pkg_short_errors_supported = yes; then
11348 LCMS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lcms >= 1.14" 2>&1`
11350 LCMS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lcms >= 1.14" 2>&1`
11352 # Put the nasty error message in config.log where it belongs
11353 echo "$LCMS_PKG_ERRORS" >&5
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LCMS_PKG_ERRORS" >&5
11358 $as_echo "$as_me: WARNING: $LCMS_PKG_ERRORS" >&2;}
11360 elif test $pkg_failed = untried; then
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11362 $as_echo "no" >&6; }
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LCMS_PKG_ERRORS" >&5
11366 $as_echo "$as_me: WARNING: $LCMS_PKG_ERRORS" >&2;}
11369 LCMS_CFLAGS=$pkg_cv_LCMS_CFLAGS
11370 LCMS_LIBS=$pkg_cv_LCMS_LIBS
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11372 $as_echo "yes" >&6; }
11376 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
11382 LCMS_CFLAGS=$pkg_cv_LCMS_CFLAGS
11383 LCMS_LIBS=$pkg_cv_LCMS_LIBS
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11385 $as_echo "yes" >&6; }
11389 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
11392 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11400 if test "x$HAVE_LCMS" = xyes; then
11402 HAVE_LCMS_FALSE='#'
11412 # ----------------------------------------------------------------------
11414 # Check whether --enable-jpeg was given.
11415 if test "${enable_jpeg+set}" = set; then :
11416 enableval=$enable_jpeg; libjpeg=$enableval
11422 if test "x${libjpeg}" != "xno"; then
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_decompress in -ljpeg" >&5
11424 $as_echo_n "checking for jpeg_destroy_decompress in -ljpeg... " >&6; }
11425 if ${ac_cv_lib_jpeg_jpeg_destroy_decompress+:} false; then :
11426 $as_echo_n "(cached) " >&6
11428 ac_check_lib_save_LIBS=$LIBS
11429 LIBS="-ljpeg $LIBS"
11430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11431 /* end confdefs.h. */
11433 /* Override any GCC internal prototype to avoid an error.
11434 Use char because int might match the return type of a GCC
11435 builtin and then its argument prototype would still apply. */
11439 char jpeg_destroy_decompress ();
11443 return jpeg_destroy_decompress ();
11448 if ac_fn_c_try_link "$LINENO"; then :
11449 ac_cv_lib_jpeg_jpeg_destroy_decompress=yes
11451 ac_cv_lib_jpeg_jpeg_destroy_decompress=no
11453 rm -f core conftest.err conftest.$ac_objext \
11454 conftest$ac_exeext conftest.$ac_ext
11455 LIBS=$ac_check_lib_save_LIBS
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_decompress" >&5
11458 $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_decompress" >&6; }
11459 if test "x$ac_cv_lib_jpeg_jpeg_destroy_decompress" = xyes; then :
11463 $as_echo "#define HAVE_JPEG 1" >>confdefs.h
11473 if test "x$HAVE_JPEG" = xyes; then
11475 HAVE_JPEG_FALSE='#'
11486 # ----------------------------------------------------------------------
11488 # Check whether --enable-tiff was given.
11489 if test "${enable_tiff+set}" = set; then :
11490 enableval=$enable_tiff; libtiff=$enableval
11496 if test "x${libtiff}" != "xno"; then
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in -ltiff" >&5
11498 $as_echo_n "checking for TIFFClientOpen in -ltiff... " >&6; }
11499 if ${ac_cv_lib_tiff_TIFFClientOpen+:} false; then :
11500 $as_echo_n "(cached) " >&6
11502 ac_check_lib_save_LIBS=$LIBS
11503 LIBS="-ltiff $LIBS"
11504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11505 /* end confdefs.h. */
11507 /* Override any GCC internal prototype to avoid an error.
11508 Use char because int might match the return type of a GCC
11509 builtin and then its argument prototype would still apply. */
11513 char TIFFClientOpen ();
11517 return TIFFClientOpen ();
11522 if ac_fn_c_try_link "$LINENO"; then :
11523 ac_cv_lib_tiff_TIFFClientOpen=yes
11525 ac_cv_lib_tiff_TIFFClientOpen=no
11527 rm -f core conftest.err conftest.$ac_objext \
11528 conftest$ac_exeext conftest.$ac_ext
11529 LIBS=$ac_check_lib_save_LIBS
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFClientOpen" >&5
11532 $as_echo "$ac_cv_lib_tiff_TIFFClientOpen" >&6; }
11533 if test "x$ac_cv_lib_tiff_TIFFClientOpen" = xyes; then :
11537 $as_echo "#define HAVE_TIFF 1" >>confdefs.h
11547 if test "x$HAVE_TIFF" = xyes; then
11549 HAVE_TIFF_FALSE='#'
11558 # libffmpegthumbnailer support
11559 # ----------------------------------------------------------------------
11561 # Check whether --enable-ffmpegthumbnailer was given.
11562 if test "${enable_ffmpegthumbnailer+set}" = set; then :
11563 enableval=$enable_ffmpegthumbnailer; ffmpegthumbnailer=$enableval
11565 ffmpegthumbnailer=auto
11569 if test "x${ffmpegthumbnailer}" != "xno"; then
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libffmpegthumbnailer >= 2.1.0" >&5
11573 $as_echo_n "checking for libffmpegthumbnailer >= 2.1.0... " >&6; }
11575 if test -n "$FFMPEGTHUMBNAILER_CFLAGS"; then
11576 pkg_cv_FFMPEGTHUMBNAILER_CFLAGS="$FFMPEGTHUMBNAILER_CFLAGS"
11577 elif test -n "$PKG_CONFIG"; then
11578 if test -n "$PKG_CONFIG" && \
11579 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffmpegthumbnailer >= 2.1.0\""; } >&5
11580 ($PKG_CONFIG --exists --print-errors "libffmpegthumbnailer >= 2.1.0") 2>&5
11582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11583 test $ac_status = 0; }; then
11584 pkg_cv_FFMPEGTHUMBNAILER_CFLAGS=`$PKG_CONFIG --cflags "libffmpegthumbnailer >= 2.1.0" 2>/dev/null`
11585 test "x$?" != "x0" && pkg_failed=yes
11592 if test -n "$FFMPEGTHUMBNAILER_LIBS"; then
11593 pkg_cv_FFMPEGTHUMBNAILER_LIBS="$FFMPEGTHUMBNAILER_LIBS"
11594 elif test -n "$PKG_CONFIG"; then
11595 if test -n "$PKG_CONFIG" && \
11596 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffmpegthumbnailer >= 2.1.0\""; } >&5
11597 ($PKG_CONFIG --exists --print-errors "libffmpegthumbnailer >= 2.1.0") 2>&5
11599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11600 test $ac_status = 0; }; then
11601 pkg_cv_FFMPEGTHUMBNAILER_LIBS=`$PKG_CONFIG --libs "libffmpegthumbnailer >= 2.1.0" 2>/dev/null`
11602 test "x$?" != "x0" && pkg_failed=yes
11612 if test $pkg_failed = yes; then
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11614 $as_echo "no" >&6; }
11616 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11617 _pkg_short_errors_supported=yes
11619 _pkg_short_errors_supported=no
11621 if test $_pkg_short_errors_supported = yes; then
11622 FFMPEGTHUMBNAILER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffmpegthumbnailer >= 2.1.0" 2>&1`
11624 FFMPEGTHUMBNAILER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libffmpegthumbnailer >= 2.1.0" 2>&1`
11626 # Put the nasty error message in config.log where it belongs
11627 echo "$FFMPEGTHUMBNAILER_PKG_ERRORS" >&5
11630 HAVE_FFMPEGTHUMBNAILER=no
11632 elif test $pkg_failed = untried; then
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11634 $as_echo "no" >&6; }
11636 HAVE_FFMPEGTHUMBNAILER=no
11639 FFMPEGTHUMBNAILER_CFLAGS=$pkg_cv_FFMPEGTHUMBNAILER_CFLAGS
11640 FFMPEGTHUMBNAILER_LIBS=$pkg_cv_FFMPEGTHUMBNAILER_LIBS
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11642 $as_echo "yes" >&6; }
11644 HAVE_FFMPEGTHUMBNAILER=yes
11646 $as_echo "#define HAVE_FFMPEGTHUMBNAILER 1" >>confdefs.h
11648 ac_fn_c_check_member "$LINENO" "video_thumbnailer" "prefer_embedded_metadata" "ac_cv_member_video_thumbnailer_prefer_embedded_metadata" "#include <libffmpegthumbnailer/videothumbnailerc.h>
11650 if test "x$ac_cv_member_video_thumbnailer_prefer_embedded_metadata" = xyes; then :
11652 $as_echo "#define HAVE_FFMPEGTHUMBNAILER_METADATA 1" >>confdefs.h
11656 ac_fn_c_check_member "$LINENO" "image_data" "image_data_width" "ac_cv_member_image_data_image_data_width" "#include <libffmpegthumbnailer/videothumbnailerc.h>
11658 if test "x$ac_cv_member_image_data_image_data_width" = xyes; then :
11660 $as_echo "#define HAVE_FFMPEGTHUMBNAILER_RGB 1" >>confdefs.h
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for video_thumbnailer_set_size in -lffmpegthumbnailer" >&5
11665 $as_echo_n "checking for video_thumbnailer_set_size in -lffmpegthumbnailer... " >&6; }
11666 if ${ac_cv_lib_ffmpegthumbnailer_video_thumbnailer_set_size+:} false; then :
11667 $as_echo_n "(cached) " >&6
11669 ac_check_lib_save_LIBS=$LIBS
11670 LIBS="-lffmpegthumbnailer $LIBS"
11671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11672 /* end confdefs.h. */
11674 /* Override any GCC internal prototype to avoid an error.
11675 Use char because int might match the return type of a GCC
11676 builtin and then its argument prototype would still apply. */
11680 char video_thumbnailer_set_size ();
11684 return video_thumbnailer_set_size ();
11689 if ac_fn_c_try_link "$LINENO"; then :
11690 ac_cv_lib_ffmpegthumbnailer_video_thumbnailer_set_size=yes
11692 ac_cv_lib_ffmpegthumbnailer_video_thumbnailer_set_size=no
11694 rm -f core conftest.err conftest.$ac_objext \
11695 conftest$ac_exeext conftest.$ac_ext
11696 LIBS=$ac_check_lib_save_LIBS
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ffmpegthumbnailer_video_thumbnailer_set_size" >&5
11699 $as_echo "$ac_cv_lib_ffmpegthumbnailer_video_thumbnailer_set_size" >&6; }
11700 if test "x$ac_cv_lib_ffmpegthumbnailer_video_thumbnailer_set_size" = xyes; then :
11702 $as_echo "#define HAVE_FFMPEGTHUMBNAILER_WH 1" >>confdefs.h
11709 HAVE_FFMPEGTHUMBNAILER=disabled
11712 if test "x$HAVE_FFMPEGTHUMBNAILER" = xyes; then
11713 HAVE_FFMPEGTHUMBNAILER_TRUE=
11714 HAVE_FFMPEGTHUMBNAILER_FALSE='#'
11716 HAVE_FFMPEGTHUMBNAILER_TRUE='#'
11717 HAVE_FFMPEGTHUMBNAILER_FALSE=
11724 # ----------------------------------------------------------------------
11726 # Check whether --enable-exiv2 was given.
11727 if test "${enable_exiv2+set}" = set; then :
11728 enableval=$enable_exiv2; libexiv2=$enableval
11734 if test "x${libexiv2}" != "xno"; then
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exiv2 >= 0.11" >&5
11738 $as_echo_n "checking for exiv2 >= 0.11... " >&6; }
11740 if test -n "$EXIV2_CFLAGS"; then
11741 pkg_cv_EXIV2_CFLAGS="$EXIV2_CFLAGS"
11742 elif test -n "$PKG_CONFIG"; then
11743 if test -n "$PKG_CONFIG" && \
11744 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exiv2 >= 0.11\""; } >&5
11745 ($PKG_CONFIG --exists --print-errors "exiv2 >= 0.11") 2>&5
11747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11748 test $ac_status = 0; }; then
11749 pkg_cv_EXIV2_CFLAGS=`$PKG_CONFIG --cflags "exiv2 >= 0.11" 2>/dev/null`
11750 test "x$?" != "x0" && pkg_failed=yes
11757 if test -n "$EXIV2_LIBS"; then
11758 pkg_cv_EXIV2_LIBS="$EXIV2_LIBS"
11759 elif test -n "$PKG_CONFIG"; then
11760 if test -n "$PKG_CONFIG" && \
11761 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exiv2 >= 0.11\""; } >&5
11762 ($PKG_CONFIG --exists --print-errors "exiv2 >= 0.11") 2>&5
11764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11765 test $ac_status = 0; }; then
11766 pkg_cv_EXIV2_LIBS=`$PKG_CONFIG --libs "exiv2 >= 0.11" 2>/dev/null`
11767 test "x$?" != "x0" && pkg_failed=yes
11777 if test $pkg_failed = yes; then
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11779 $as_echo "no" >&6; }
11781 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11782 _pkg_short_errors_supported=yes
11784 _pkg_short_errors_supported=no
11786 if test $_pkg_short_errors_supported = yes; then
11787 EXIV2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "exiv2 >= 0.11" 2>&1`
11789 EXIV2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "exiv2 >= 0.11" 2>&1`
11791 # Put the nasty error message in config.log where it belongs
11792 echo "$EXIV2_PKG_ERRORS" >&5
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $EXIV2_PKG_ERRORS" >&5
11797 $as_echo "$as_me: WARNING: $EXIV2_PKG_ERRORS" >&2;}
11799 elif test $pkg_failed = untried; then
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11801 $as_echo "no" >&6; }
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $EXIV2_PKG_ERRORS" >&5
11805 $as_echo "$as_me: WARNING: $EXIV2_PKG_ERRORS" >&2;}
11808 EXIV2_CFLAGS=$pkg_cv_EXIV2_CFLAGS
11809 EXIV2_LIBS=$pkg_cv_EXIV2_LIBS
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11811 $as_echo "yes" >&6; }
11815 $as_echo "#define HAVE_EXIV2 1" >>confdefs.h
11820 HAVE_EXIV2=disabled
11823 if test "x$HAVE_EXIV2" = xyes; then
11825 HAVE_EXIV2_FALSE='#'
11827 HAVE_EXIV2_TRUE='#'
11836 # ----------------------------------------------------------------------
11838 ALL_LINGUAS="`grep -v '^#' "$srcdir/po/LINGUAS" | tr '\n' ' '`"
11839 CONFIG_STATUS_DEPENDENCIES='$(top_srcdir)/po/LINGUAS'
11842 GETTEXT_PACKAGE=$PACKAGE
11845 cat >>confdefs.h <<_ACEOF
11846 #define GETTEXT_PACKAGE "${GETTEXT_PACKAGE}"
11850 for ac_header in locale.h
11852 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
11853 if test "x$ac_cv_header_locale_h" = xyes; then :
11854 cat >>confdefs.h <<_ACEOF
11855 #define HAVE_LOCALE_H 1
11862 if test $ac_cv_header_locale_h = yes; then
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
11864 $as_echo_n "checking for LC_MESSAGES... " >&6; }
11865 if ${am_cv_val_LC_MESSAGES+:} false; then :
11866 $as_echo_n "(cached) " >&6
11868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11869 /* end confdefs.h. */
11870 #include <locale.h>
11879 if ac_fn_c_try_link "$LINENO"; then :
11880 am_cv_val_LC_MESSAGES=yes
11882 am_cv_val_LC_MESSAGES=no
11884 rm -f core conftest.err conftest.$ac_objext \
11885 conftest$ac_exeext conftest.$ac_ext
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
11888 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
11889 if test $am_cv_val_LC_MESSAGES = yes; then
11891 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
11898 gt_cv_have_gettext=no
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
11906 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
11907 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
11908 $as_echo_n "(cached) " >&6
11910 gt_save_LIBS="$LIBS"
11911 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
11912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11913 /* end confdefs.h. */
11914 #include <CoreFoundation/CFPreferences.h>
11918 CFPreferencesCopyAppValue(NULL, NULL)
11923 if ac_fn_c_try_link "$LINENO"; then :
11924 gt_cv_func_CFPreferencesCopyAppValue=yes
11926 gt_cv_func_CFPreferencesCopyAppValue=no
11928 rm -f core conftest.err conftest.$ac_objext \
11929 conftest$ac_exeext conftest.$ac_ext
11930 LIBS="$gt_save_LIBS"
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
11933 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
11934 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
11936 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
11940 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
11941 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
11942 $as_echo_n "(cached) " >&6
11944 gt_save_LIBS="$LIBS"
11945 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
11946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11947 /* end confdefs.h. */
11948 #include <CoreFoundation/CFLocale.h>
11952 CFLocaleCopyCurrent();
11957 if ac_fn_c_try_link "$LINENO"; then :
11958 gt_cv_func_CFLocaleCopyCurrent=yes
11960 gt_cv_func_CFLocaleCopyCurrent=no
11962 rm -f core conftest.err conftest.$ac_objext \
11963 conftest$ac_exeext conftest.$ac_ext
11964 LIBS="$gt_save_LIBS"
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
11967 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
11968 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
11970 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
11974 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
11975 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
11980 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
11981 if test "x$ac_cv_header_libintl_h" = xyes; then :
11982 gt_cv_func_dgettext_libintl="no"
11983 libintl_extra_libs=""
11986 # First check in libc
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
11989 $as_echo_n "checking for ngettext in libc... " >&6; }
11990 if ${gt_cv_func_ngettext_libc+:} false; then :
11991 $as_echo_n "(cached) " >&6
11993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11994 /* end confdefs.h. */
11996 #include <libintl.h>
12001 return !ngettext ("","", 1)
12006 if ac_fn_c_try_link "$LINENO"; then :
12007 gt_cv_func_ngettext_libc=yes
12009 gt_cv_func_ngettext_libc=no
12011 rm -f core conftest.err conftest.$ac_objext \
12012 conftest$ac_exeext conftest.$ac_ext
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
12016 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
12018 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
12020 $as_echo_n "checking for dgettext in libc... " >&6; }
12021 if ${gt_cv_func_dgettext_libc+:} false; then :
12022 $as_echo_n "(cached) " >&6
12024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12025 /* end confdefs.h. */
12027 #include <libintl.h>
12032 return !dgettext ("","")
12037 if ac_fn_c_try_link "$LINENO"; then :
12038 gt_cv_func_dgettext_libc=yes
12040 gt_cv_func_dgettext_libc=no
12042 rm -f core conftest.err conftest.$ac_objext \
12043 conftest$ac_exeext conftest.$ac_ext
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
12047 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
12050 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12051 for ac_func in bind_textdomain_codeset
12053 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12054 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12055 cat >>confdefs.h <<_ACEOF
12056 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
12065 # If we don't have everything we want, check in libintl
12067 if test "$gt_cv_func_dgettext_libc" != "yes" \
12068 || test "$gt_cv_func_ngettext_libc" != "yes" \
12069 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
12072 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
12073 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
12074 $as_echo_n "(cached) " >&6
12076 ac_check_lib_save_LIBS=$LIBS
12077 LIBS="-lintl $LIBS"
12078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12079 /* end confdefs.h. */
12081 /* Override any GCC internal prototype to avoid an error.
12082 Use char because int might match the return type of a GCC
12083 builtin and then its argument prototype would still apply. */
12087 char bindtextdomain ();
12091 return bindtextdomain ();
12096 if ac_fn_c_try_link "$LINENO"; then :
12097 ac_cv_lib_intl_bindtextdomain=yes
12099 ac_cv_lib_intl_bindtextdomain=no
12101 rm -f core conftest.err conftest.$ac_objext \
12102 conftest$ac_exeext conftest.$ac_ext
12103 LIBS=$ac_check_lib_save_LIBS
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
12106 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
12107 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12109 $as_echo_n "checking for ngettext in -lintl... " >&6; }
12110 if ${ac_cv_lib_intl_ngettext+:} false; then :
12111 $as_echo_n "(cached) " >&6
12113 ac_check_lib_save_LIBS=$LIBS
12114 LIBS="-lintl $LIBS"
12115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12116 /* end confdefs.h. */
12118 /* Override any GCC internal prototype to avoid an error.
12119 Use char because int might match the return type of a GCC
12120 builtin and then its argument prototype would still apply. */
12128 return ngettext ();
12133 if ac_fn_c_try_link "$LINENO"; then :
12134 ac_cv_lib_intl_ngettext=yes
12136 ac_cv_lib_intl_ngettext=no
12138 rm -f core conftest.err conftest.$ac_objext \
12139 conftest$ac_exeext conftest.$ac_ext
12140 LIBS=$ac_check_lib_save_LIBS
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12143 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12144 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
12146 $as_echo_n "checking for dgettext in -lintl... " >&6; }
12147 if ${ac_cv_lib_intl_dgettext+:} false; then :
12148 $as_echo_n "(cached) " >&6
12150 ac_check_lib_save_LIBS=$LIBS
12151 LIBS="-lintl $LIBS"
12152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12153 /* end confdefs.h. */
12155 /* Override any GCC internal prototype to avoid an error.
12156 Use char because int might match the return type of a GCC
12157 builtin and then its argument prototype would still apply. */
12165 return dgettext ();
12170 if ac_fn_c_try_link "$LINENO"; then :
12171 ac_cv_lib_intl_dgettext=yes
12173 ac_cv_lib_intl_dgettext=no
12175 rm -f core conftest.err conftest.$ac_objext \
12176 conftest$ac_exeext conftest.$ac_ext
12177 LIBS=$ac_check_lib_save_LIBS
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
12180 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
12181 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
12182 gt_cv_func_dgettext_libintl=yes
12190 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
12192 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12196 $as_echo_n "checking for ngettext in -lintl... " >&6; }
12197 if ${ac_cv_lib_intl_ngettext+:} false; then :
12198 $as_echo_n "(cached) " >&6
12200 ac_check_lib_save_LIBS=$LIBS
12201 LIBS="-lintl -liconv $LIBS"
12202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12203 /* end confdefs.h. */
12205 /* Override any GCC internal prototype to avoid an error.
12206 Use char because int might match the return type of a GCC
12207 builtin and then its argument prototype would still apply. */
12215 return ngettext ();
12220 if ac_fn_c_try_link "$LINENO"; then :
12221 ac_cv_lib_intl_ngettext=yes
12223 ac_cv_lib_intl_ngettext=no
12225 rm -f core conftest.err conftest.$ac_objext \
12226 conftest$ac_exeext conftest.$ac_ext
12227 LIBS=$ac_check_lib_save_LIBS
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12230 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12231 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
12233 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
12234 if ${ac_cv_lib_intl_dcgettext+:} false; then :
12235 $as_echo_n "(cached) " >&6
12237 ac_check_lib_save_LIBS=$LIBS
12238 LIBS="-lintl -liconv $LIBS"
12239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12240 /* end confdefs.h. */
12242 /* Override any GCC internal prototype to avoid an error.
12243 Use char because int might match the return type of a GCC
12244 builtin and then its argument prototype would still apply. */
12252 return dcgettext ();
12257 if ac_fn_c_try_link "$LINENO"; then :
12258 ac_cv_lib_intl_dcgettext=yes
12260 ac_cv_lib_intl_dcgettext=no
12262 rm -f core conftest.err conftest.$ac_objext \
12263 conftest$ac_exeext conftest.$ac_ext
12264 LIBS=$ac_check_lib_save_LIBS
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
12267 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
12268 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
12269 gt_cv_func_dgettext_libintl=yes
12270 libintl_extra_libs=-liconv
12282 # If we found libintl, then check in it for bind_textdomain_codeset();
12283 # we'll prefer libc if neither have bind_textdomain_codeset(),
12284 # and both have dgettext and ngettext
12286 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
12287 glib_save_LIBS="$LIBS"
12288 LIBS="$LIBS -lintl $libintl_extra_libs"
12289 unset ac_cv_func_bind_textdomain_codeset
12290 for ac_func in bind_textdomain_codeset
12292 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12293 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12294 cat >>confdefs.h <<_ACEOF
12295 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
12301 LIBS="$glib_save_LIBS"
12303 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
12304 gt_cv_func_dgettext_libc=no
12306 if test "$gt_cv_func_dgettext_libc" = "yes" \
12307 && test "$gt_cv_func_ngettext_libc" = "yes"; then
12308 gt_cv_func_dgettext_libintl=no
12314 if test "$gt_cv_func_dgettext_libc" = "yes" \
12315 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
12316 gt_cv_have_gettext=yes
12319 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
12320 INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS"
12323 if test "$gt_cv_have_gettext" = "yes"; then
12325 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
12327 # Extract the first word of "msgfmt", so it can be a program name with args.
12328 set dummy msgfmt; ac_word=$2
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12330 $as_echo_n "checking for $ac_word... " >&6; }
12331 if ${ac_cv_path_MSGFMT+:} false; then :
12332 $as_echo_n "(cached) " >&6
12336 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12339 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
12340 for ac_dir in $PATH; do
12341 test -z "$ac_dir" && ac_dir=.
12342 if test -f $ac_dir/$ac_word; then
12343 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
12344 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
12350 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
12354 MSGFMT="$ac_cv_path_MSGFMT"
12355 if test "$MSGFMT" != "no"; then
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12357 $as_echo "$MSGFMT" >&6; }
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12360 $as_echo "no" >&6; }
12362 if test "$MSGFMT" != "no"; then
12363 glib_save_LIBS="$LIBS"
12364 LIBS="$LIBS $INTLLIBS"
12365 for ac_func in dcgettext
12367 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
12368 if test "x$ac_cv_func_dcgettext" = xyes; then :
12369 cat >>confdefs.h <<_ACEOF
12370 #define HAVE_DCGETTEXT 1
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
12378 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
12379 cat >conftest.foo <<_ACEOF
12383 "Content-Type: text/plain; charset=UTF-8\n"
12384 "Project-Id-Version: test 1.0\n"
12385 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
12386 "Last-Translator: test <foo@bar.xx>\n"
12387 "Language-Team: C <LL@li.org>\n"
12388 "MIME-Version: 1.0\n"
12389 "Content-Transfer-Encoding: 8bit\n"
12392 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
12393 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
12395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12396 test $ac_status = 0; }; then
12397 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12398 $as_echo "yes" >&6; }
12399 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12400 $as_echo "no" >&6; }
12401 echo "$as_me: failed input was:" >&5
12402 sed 's/^/| /' conftest.foo >&5
12405 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12406 set dummy gmsgfmt; ac_word=$2
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12408 $as_echo_n "checking for $ac_word... " >&6; }
12409 if ${ac_cv_path_GMSGFMT+:} false; then :
12410 $as_echo_n "(cached) " >&6
12414 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12418 for as_dir in $PATH
12421 test -z "$as_dir" && as_dir=.
12422 for ac_exec_ext in '' $ac_executable_extensions; do
12423 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12424 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12432 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12436 GMSGFMT=$ac_cv_path_GMSGFMT
12437 if test -n "$GMSGFMT"; then
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12439 $as_echo "$GMSGFMT" >&6; }
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12442 $as_echo "no" >&6; }
12446 # Extract the first word of "xgettext", so it can be a program name with args.
12447 set dummy xgettext; ac_word=$2
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12449 $as_echo_n "checking for $ac_word... " >&6; }
12450 if ${ac_cv_path_XGETTEXT+:} false; then :
12451 $as_echo_n "(cached) " >&6
12453 case "$XGETTEXT" in
12455 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12458 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
12459 for ac_dir in $PATH; do
12460 test -z "$ac_dir" && ac_dir=.
12461 if test -f $ac_dir/$ac_word; then
12462 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
12463 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
12469 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12473 XGETTEXT="$ac_cv_path_XGETTEXT"
12474 if test "$XGETTEXT" != ":"; then
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12476 $as_echo "$XGETTEXT" >&6; }
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12479 $as_echo "no" >&6; }
12482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12483 /* end confdefs.h. */
12488 extern int _nl_msg_cat_cntr;
12489 return _nl_msg_cat_cntr
12494 if ac_fn_c_try_link "$LINENO"; then :
12500 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12501 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12520 rm -f core conftest.err conftest.$ac_objext \
12521 conftest$ac_exeext conftest.$ac_ext
12522 LIBS="$glib_save_LIBS"
12525 gt_cv_have_gettext=no
12533 if test "$gt_cv_have_gettext" = "yes" ; then
12535 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
12539 if test "$XGETTEXT" != ":"; then
12540 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
12544 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
12549 # We need to process the po/ directory.
12552 ac_config_commands="$ac_config_commands default-1"
12555 for lang in $ALL_LINGUAS; do
12556 GMOFILES="$GMOFILES $lang.gmo"
12557 POFILES="$POFILES $lang.po"
12572 if test "$gt_cv_have_gettext" = "yes"; then
12573 if test "x$ALL_LINGUAS" = "x"; then
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
12577 $as_echo_n "checking for catalogs to be installed... " >&6; }
12579 for presentlang in $ALL_LINGUAS; do
12581 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
12582 desiredlanguages="$LINGUAS"
12584 desiredlanguages="$ALL_LINGUAS"
12586 for desiredlang in $desiredlanguages; do
12587 # Use the presentlang catalog if desiredlang is
12588 # a. equal to presentlang, or
12589 # b. a variant of presentlang (because in this case,
12590 # presentlang can be used as a fallback for messages
12591 # which are not translated in the desiredlang catalog).
12592 case "$desiredlang" in
12593 "$presentlang"*) useit=yes;;
12596 if test $useit = yes; then
12597 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
12600 LINGUAS=$NEW_LINGUAS
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
12602 $as_echo "$LINGUAS" >&6; }
12605 if test -n "$LINGUAS"; then
12606 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
12611 if test -n "$ac_aux_dir"; then
12612 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
12614 if test -z "$MKINSTALLDIRS"; then
12615 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
12619 test -d po || mkdir po
12620 if test "x$srcdir" != "x."; then
12621 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
12622 posrcprefix="$srcdir/"
12624 posrcprefix="../$srcdir/"
12630 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
12631 < $srcdir/po/POTFILES.in > po/POTFILES
12633 glib_save_prefix="$prefix"
12634 glib_save_exec_prefix="$exec_prefix"
12635 glib_save_datarootdir="$datarootdir"
12636 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12637 test "x$exec_prefix" = xNONE && exec_prefix=$prefix
12638 datarootdir=`eval echo "${datarootdir}"`
12639 if test "x$CATOBJEXT" = "x.mo" ; then
12640 localedir=`eval echo "${libdir}/locale"`
12642 localedir=`eval echo "${datadir}/locale"`
12644 prefix="$glib_save_prefix"
12645 exec_prefix="$glib_save_exec_prefix"
12646 datarootdir="$glib_save_datarootdir"
12648 cat >>confdefs.h <<_ACEOF
12649 #define GQ_LOCALEDIR "$localedir"
12660 # clutter and champlain support
12661 # ----------------------------------------------------------------------
12663 # Check whether --enable-map was given.
12664 if test "${enable_map+set}" = set; then :
12665 enableval=$enable_map; libgps=$enableval
12671 # Check whether --enable-gpu-accel was given.
12672 if test "${enable_gpu_accel+set}" = set; then :
12673 enableval=$enable_gpu_accel; libclutter=$enableval
12679 if test "x${libclutter}" != "xno" -a "x${gtk3}" != "xno"; then
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clutter-1.0 >= 1.0" >&5
12683 $as_echo_n "checking for clutter-1.0 >= 1.0... " >&6; }
12685 if test -n "$CLUTTER_CFLAGS"; then
12686 pkg_cv_CLUTTER_CFLAGS="$CLUTTER_CFLAGS"
12687 elif test -n "$PKG_CONFIG"; then
12688 if test -n "$PKG_CONFIG" && \
12689 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-1.0 >= 1.0\""; } >&5
12690 ($PKG_CONFIG --exists --print-errors "clutter-1.0 >= 1.0") 2>&5
12692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12693 test $ac_status = 0; }; then
12694 pkg_cv_CLUTTER_CFLAGS=`$PKG_CONFIG --cflags "clutter-1.0 >= 1.0" 2>/dev/null`
12695 test "x$?" != "x0" && pkg_failed=yes
12702 if test -n "$CLUTTER_LIBS"; then
12703 pkg_cv_CLUTTER_LIBS="$CLUTTER_LIBS"
12704 elif test -n "$PKG_CONFIG"; then
12705 if test -n "$PKG_CONFIG" && \
12706 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-1.0 >= 1.0\""; } >&5
12707 ($PKG_CONFIG --exists --print-errors "clutter-1.0 >= 1.0") 2>&5
12709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12710 test $ac_status = 0; }; then
12711 pkg_cv_CLUTTER_LIBS=`$PKG_CONFIG --libs "clutter-1.0 >= 1.0" 2>/dev/null`
12712 test "x$?" != "x0" && pkg_failed=yes
12722 if test $pkg_failed = yes; then
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12724 $as_echo "no" >&6; }
12726 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12727 _pkg_short_errors_supported=yes
12729 _pkg_short_errors_supported=no
12731 if test $_pkg_short_errors_supported = yes; then
12732 CLUTTER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-1.0 >= 1.0" 2>&1`
12734 CLUTTER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-1.0 >= 1.0" 2>&1`
12736 # Put the nasty error message in config.log where it belongs
12737 echo "$CLUTTER_PKG_ERRORS" >&5
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $CLUTTER_PKG_ERRORS" >&5
12742 $as_echo "$as_me: WARNING: $CLUTTER_PKG_ERRORS" >&2;}
12744 elif test $pkg_failed = untried; then
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12746 $as_echo "no" >&6; }
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $CLUTTER_PKG_ERRORS" >&5
12750 $as_echo "$as_me: WARNING: $CLUTTER_PKG_ERRORS" >&2;}
12753 CLUTTER_CFLAGS=$pkg_cv_CLUTTER_CFLAGS
12754 CLUTTER_LIBS=$pkg_cv_CLUTTER_LIBS
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12756 $as_echo "yes" >&6; }
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clutter-gtk-1.0 >= 1.0" >&5
12761 $as_echo_n "checking for clutter-gtk-1.0 >= 1.0... " >&6; }
12763 if test -n "$CLUTTER_GTK_CFLAGS"; then
12764 pkg_cv_CLUTTER_GTK_CFLAGS="$CLUTTER_GTK_CFLAGS"
12765 elif test -n "$PKG_CONFIG"; then
12766 if test -n "$PKG_CONFIG" && \
12767 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gtk-1.0 >= 1.0\""; } >&5
12768 ($PKG_CONFIG --exists --print-errors "clutter-gtk-1.0 >= 1.0") 2>&5
12770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12771 test $ac_status = 0; }; then
12772 pkg_cv_CLUTTER_GTK_CFLAGS=`$PKG_CONFIG --cflags "clutter-gtk-1.0 >= 1.0" 2>/dev/null`
12773 test "x$?" != "x0" && pkg_failed=yes
12780 if test -n "$CLUTTER_GTK_LIBS"; then
12781 pkg_cv_CLUTTER_GTK_LIBS="$CLUTTER_GTK_LIBS"
12782 elif test -n "$PKG_CONFIG"; then
12783 if test -n "$PKG_CONFIG" && \
12784 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gtk-1.0 >= 1.0\""; } >&5
12785 ($PKG_CONFIG --exists --print-errors "clutter-gtk-1.0 >= 1.0") 2>&5
12787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12788 test $ac_status = 0; }; then
12789 pkg_cv_CLUTTER_GTK_LIBS=`$PKG_CONFIG --libs "clutter-gtk-1.0 >= 1.0" 2>/dev/null`
12790 test "x$?" != "x0" && pkg_failed=yes
12800 if test $pkg_failed = yes; then
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12802 $as_echo "no" >&6; }
12804 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12805 _pkg_short_errors_supported=yes
12807 _pkg_short_errors_supported=no
12809 if test $_pkg_short_errors_supported = yes; then
12810 CLUTTER_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-gtk-1.0 >= 1.0" 2>&1`
12812 CLUTTER_GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-gtk-1.0 >= 1.0" 2>&1`
12814 # Put the nasty error message in config.log where it belongs
12815 echo "$CLUTTER_GTK_PKG_ERRORS" >&5
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $CLUTTER_GTK_PKG_ERRORS" >&5
12820 $as_echo "$as_me: WARNING: $CLUTTER_GTK_PKG_ERRORS" >&2;}
12822 elif test $pkg_failed = untried; then
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12824 $as_echo "no" >&6; }
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $CLUTTER_GTK_PKG_ERRORS" >&5
12828 $as_echo "$as_me: WARNING: $CLUTTER_GTK_PKG_ERRORS" >&2;}
12831 CLUTTER_GTK_CFLAGS=$pkg_cv_CLUTTER_GTK_CFLAGS
12832 CLUTTER_GTK_LIBS=$pkg_cv_CLUTTER_GTK_LIBS
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12834 $as_echo "yes" >&6; }
12838 $as_echo "#define HAVE_CLUTTER 1" >>confdefs.h
12845 HAVE_CLUTTER=disabled
12854 # Libchamplain support - used for map facility
12855 # ----------------------------------------------------------------------
12857 if test "x${libgps}" != "xno" -a "x${HAVE_CLUTTER}" = "xyes"; then
12858 if test "x${gtk3}" != "xno"; then
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for champlain-0.12 >= 0.12" >&5
12862 $as_echo_n "checking for champlain-0.12 >= 0.12... " >&6; }
12864 if test -n "$LIBCHAMPLAIN_CFLAGS"; then
12865 pkg_cv_LIBCHAMPLAIN_CFLAGS="$LIBCHAMPLAIN_CFLAGS"
12866 elif test -n "$PKG_CONFIG"; then
12867 if test -n "$PKG_CONFIG" && \
12868 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"champlain-0.12 >= 0.12\""; } >&5
12869 ($PKG_CONFIG --exists --print-errors "champlain-0.12 >= 0.12") 2>&5
12871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12872 test $ac_status = 0; }; then
12873 pkg_cv_LIBCHAMPLAIN_CFLAGS=`$PKG_CONFIG --cflags "champlain-0.12 >= 0.12" 2>/dev/null`
12874 test "x$?" != "x0" && pkg_failed=yes
12881 if test -n "$LIBCHAMPLAIN_LIBS"; then
12882 pkg_cv_LIBCHAMPLAIN_LIBS="$LIBCHAMPLAIN_LIBS"
12883 elif test -n "$PKG_CONFIG"; then
12884 if test -n "$PKG_CONFIG" && \
12885 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"champlain-0.12 >= 0.12\""; } >&5
12886 ($PKG_CONFIG --exists --print-errors "champlain-0.12 >= 0.12") 2>&5
12888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12889 test $ac_status = 0; }; then
12890 pkg_cv_LIBCHAMPLAIN_LIBS=`$PKG_CONFIG --libs "champlain-0.12 >= 0.12" 2>/dev/null`
12891 test "x$?" != "x0" && pkg_failed=yes
12901 if test $pkg_failed = yes; then
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12903 $as_echo "no" >&6; }
12905 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12906 _pkg_short_errors_supported=yes
12908 _pkg_short_errors_supported=no
12910 if test $_pkg_short_errors_supported = yes; then
12911 LIBCHAMPLAIN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "champlain-0.12 >= 0.12" 2>&1`
12913 LIBCHAMPLAIN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "champlain-0.12 >= 0.12" 2>&1`
12915 # Put the nasty error message in config.log where it belongs
12916 echo "$LIBCHAMPLAIN_PKG_ERRORS" >&5
12919 HAVE_LIBCHAMPLAIN=no
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LIBCHAMPLAIN_PKG_ERRORS" >&5
12921 $as_echo "$as_me: WARNING: $LIBCHAMPLAIN_PKG_ERRORS" >&2;}
12923 elif test $pkg_failed = untried; then
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12925 $as_echo "no" >&6; }
12927 HAVE_LIBCHAMPLAIN=no
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LIBCHAMPLAIN_PKG_ERRORS" >&5
12929 $as_echo "$as_me: WARNING: $LIBCHAMPLAIN_PKG_ERRORS" >&2;}
12932 LIBCHAMPLAIN_CFLAGS=$pkg_cv_LIBCHAMPLAIN_CFLAGS
12933 LIBCHAMPLAIN_LIBS=$pkg_cv_LIBCHAMPLAIN_LIBS
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12935 $as_echo "yes" >&6; }
12937 HAVE_LIBCHAMPLAIN=yes
12939 $as_echo "#define HAVE_LIBCHAMPLAIN 1" >>confdefs.h
12944 HAVE_LIBCHAMPLAIN=disabled
12947 HAVE_LIBCHAMPLAIN=disabled
12950 if test "x${libgps}" != "xno" -a "x${HAVE_LIBCHAMPLAIN}" = "xyes" ; then
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for champlain-gtk-0.12 >= 0.12" >&5
12954 $as_echo_n "checking for champlain-gtk-0.12 >= 0.12... " >&6; }
12956 if test -n "$LIBCHAMPLAIN_GTK_CFLAGS"; then
12957 pkg_cv_LIBCHAMPLAIN_GTK_CFLAGS="$LIBCHAMPLAIN_GTK_CFLAGS"
12958 elif test -n "$PKG_CONFIG"; then
12959 if test -n "$PKG_CONFIG" && \
12960 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"champlain-gtk-0.12 >= 0.12\""; } >&5
12961 ($PKG_CONFIG --exists --print-errors "champlain-gtk-0.12 >= 0.12") 2>&5
12963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12964 test $ac_status = 0; }; then
12965 pkg_cv_LIBCHAMPLAIN_GTK_CFLAGS=`$PKG_CONFIG --cflags "champlain-gtk-0.12 >= 0.12" 2>/dev/null`
12966 test "x$?" != "x0" && pkg_failed=yes
12973 if test -n "$LIBCHAMPLAIN_GTK_LIBS"; then
12974 pkg_cv_LIBCHAMPLAIN_GTK_LIBS="$LIBCHAMPLAIN_GTK_LIBS"
12975 elif test -n "$PKG_CONFIG"; then
12976 if test -n "$PKG_CONFIG" && \
12977 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"champlain-gtk-0.12 >= 0.12\""; } >&5
12978 ($PKG_CONFIG --exists --print-errors "champlain-gtk-0.12 >= 0.12") 2>&5
12980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12981 test $ac_status = 0; }; then
12982 pkg_cv_LIBCHAMPLAIN_GTK_LIBS=`$PKG_CONFIG --libs "champlain-gtk-0.12 >= 0.12" 2>/dev/null`
12983 test "x$?" != "x0" && pkg_failed=yes
12993 if test $pkg_failed = yes; then
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12995 $as_echo "no" >&6; }
12997 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12998 _pkg_short_errors_supported=yes
13000 _pkg_short_errors_supported=no
13002 if test $_pkg_short_errors_supported = yes; then
13003 LIBCHAMPLAIN_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "champlain-gtk-0.12 >= 0.12" 2>&1`
13005 LIBCHAMPLAIN_GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "champlain-gtk-0.12 >= 0.12" 2>&1`
13007 # Put the nasty error message in config.log where it belongs
13008 echo "$LIBCHAMPLAIN_GTK_PKG_ERRORS" >&5
13011 HAVE_LIBCHAMPLAIN_GTK=no
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LIBCHAMPLAIN_GTK_PKG_ERRORS" >&5
13013 $as_echo "$as_me: WARNING: $LIBCHAMPLAIN_GTK_PKG_ERRORS" >&2;}
13015 elif test $pkg_failed = untried; then
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13017 $as_echo "no" >&6; }
13019 HAVE_LIBCHAMPLAIN_GTK=no
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LIBCHAMPLAIN_GTK_PKG_ERRORS" >&5
13021 $as_echo "$as_me: WARNING: $LIBCHAMPLAIN_GTK_PKG_ERRORS" >&2;}
13024 LIBCHAMPLAIN_GTK_CFLAGS=$pkg_cv_LIBCHAMPLAIN_GTK_CFLAGS
13025 LIBCHAMPLAIN_GTK_LIBS=$pkg_cv_LIBCHAMPLAIN_GTK_LIBS
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13027 $as_echo "yes" >&6; }
13029 HAVE_LIBCHAMPLAIN_GTK=yes
13031 $as_echo "#define HAVE_LIBCHAMPLAIN_GTK 1" >>confdefs.h
13036 HAVE_LIBCHAMPLAIN_GTK=disabled
13039 if test "x$HAVE_LIBCHAMPLAIN_GTK" = xyes; then
13040 HAVE_LIBCHAMPLAIN_GTK_TRUE=
13041 HAVE_LIBCHAMPLAIN_GTK_FALSE='#'
13043 HAVE_LIBCHAMPLAIN_GTK_TRUE='#'
13044 HAVE_LIBCHAMPLAIN_GTK_FALSE=
13051 # ----------------------------------------------------------------------
13053 # Check whether --enable-lua was given.
13054 if test "${enable_lua+set}" = set; then :
13055 enableval=$enable_lua; liblua=$enableval
13061 if test "x${liblua}" != "xno"; then
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lua5.3 >= 5.3" >&5
13065 $as_echo_n "checking for lua5.3 >= 5.3... " >&6; }
13067 if test -n "$LUA_CFLAGS"; then
13068 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13069 elif test -n "$PKG_CONFIG"; then
13070 if test -n "$PKG_CONFIG" && \
13071 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3 >= 5.3\""; } >&5
13072 ($PKG_CONFIG --exists --print-errors "lua5.3 >= 5.3") 2>&5
13074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13075 test $ac_status = 0; }; then
13076 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.3 >= 5.3" 2>/dev/null`
13077 test "x$?" != "x0" && pkg_failed=yes
13084 if test -n "$LUA_LIBS"; then
13085 pkg_cv_LUA_LIBS="$LUA_LIBS"
13086 elif test -n "$PKG_CONFIG"; then
13087 if test -n "$PKG_CONFIG" && \
13088 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3 >= 5.3\""; } >&5
13089 ($PKG_CONFIG --exists --print-errors "lua5.3 >= 5.3") 2>&5
13091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13092 test $ac_status = 0; }; then
13093 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.3 >= 5.3" 2>/dev/null`
13094 test "x$?" != "x0" && pkg_failed=yes
13104 if test $pkg_failed = yes; then
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13106 $as_echo "no" >&6; }
13108 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13109 _pkg_short_errors_supported=yes
13111 _pkg_short_errors_supported=no
13113 if test $_pkg_short_errors_supported = yes; then
13114 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua5.3 >= 5.3" 2>&1`
13116 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua5.3 >= 5.3" 2>&1`
13118 # Put the nasty error message in config.log where it belongs
13119 echo "$LUA_PKG_ERRORS" >&5
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lua5.1 >= 5.1" >&5
13125 $as_echo_n "checking for lua5.1 >= 5.1... " >&6; }
13127 if test -n "$LUA_CFLAGS"; then
13128 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13129 elif test -n "$PKG_CONFIG"; then
13130 if test -n "$PKG_CONFIG" && \
13131 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
13132 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
13134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13135 test $ac_status = 0; }; then
13136 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
13137 test "x$?" != "x0" && pkg_failed=yes
13144 if test -n "$LUA_LIBS"; then
13145 pkg_cv_LUA_LIBS="$LUA_LIBS"
13146 elif test -n "$PKG_CONFIG"; then
13147 if test -n "$PKG_CONFIG" && \
13148 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
13149 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
13151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13152 test $ac_status = 0; }; then
13153 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
13154 test "x$?" != "x0" && pkg_failed=yes
13164 if test $pkg_failed = yes; then
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13166 $as_echo "no" >&6; }
13168 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13169 _pkg_short_errors_supported=yes
13171 _pkg_short_errors_supported=no
13173 if test $_pkg_short_errors_supported = yes; then
13174 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua5.1 >= 5.1" 2>&1`
13176 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua5.1 >= 5.1" 2>&1`
13178 # Put the nasty error message in config.log where it belongs
13179 echo "$LUA_PKG_ERRORS" >&5
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lua >= 5.1" >&5
13185 $as_echo_n "checking for lua >= 5.1... " >&6; }
13187 if test -n "$LUA_CFLAGS"; then
13188 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13189 elif test -n "$PKG_CONFIG"; then
13190 if test -n "$PKG_CONFIG" && \
13191 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
13192 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
13194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13195 test $ac_status = 0; }; then
13196 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1" 2>/dev/null`
13197 test "x$?" != "x0" && pkg_failed=yes
13204 if test -n "$LUA_LIBS"; then
13205 pkg_cv_LUA_LIBS="$LUA_LIBS"
13206 elif test -n "$PKG_CONFIG"; then
13207 if test -n "$PKG_CONFIG" && \
13208 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
13209 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
13211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13212 test $ac_status = 0; }; then
13213 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1" 2>/dev/null`
13214 test "x$?" != "x0" && pkg_failed=yes
13224 if test $pkg_failed = yes; then
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13226 $as_echo "no" >&6; }
13228 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13229 _pkg_short_errors_supported=yes
13231 _pkg_short_errors_supported=no
13233 if test $_pkg_short_errors_supported = yes; then
13234 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua >= 5.1" 2>&1`
13236 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua >= 5.1" 2>&1`
13238 # Put the nasty error message in config.log where it belongs
13239 echo "$LUA_PKG_ERRORS" >&5
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
13244 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
13246 elif test $pkg_failed = untried; then
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13248 $as_echo "no" >&6; }
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
13252 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
13255 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13256 LUA_LIBS=$pkg_cv_LUA_LIBS
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13258 $as_echo "yes" >&6; }
13262 $as_echo "#define HAVE_LUA 1" >>confdefs.h
13267 elif test $pkg_failed = untried; then
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13269 $as_echo "no" >&6; }
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lua >= 5.1" >&5
13274 $as_echo_n "checking for lua >= 5.1... " >&6; }
13276 if test -n "$LUA_CFLAGS"; then
13277 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13278 elif test -n "$PKG_CONFIG"; then
13279 if test -n "$PKG_CONFIG" && \
13280 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
13281 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
13283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13284 test $ac_status = 0; }; then
13285 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1" 2>/dev/null`
13286 test "x$?" != "x0" && pkg_failed=yes
13293 if test -n "$LUA_LIBS"; then
13294 pkg_cv_LUA_LIBS="$LUA_LIBS"
13295 elif test -n "$PKG_CONFIG"; then
13296 if test -n "$PKG_CONFIG" && \
13297 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
13298 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
13300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13301 test $ac_status = 0; }; then
13302 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1" 2>/dev/null`
13303 test "x$?" != "x0" && pkg_failed=yes
13313 if test $pkg_failed = yes; then
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13315 $as_echo "no" >&6; }
13317 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13318 _pkg_short_errors_supported=yes
13320 _pkg_short_errors_supported=no
13322 if test $_pkg_short_errors_supported = yes; then
13323 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua >= 5.1" 2>&1`
13325 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua >= 5.1" 2>&1`
13327 # Put the nasty error message in config.log where it belongs
13328 echo "$LUA_PKG_ERRORS" >&5
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
13333 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
13335 elif test $pkg_failed = untried; then
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13337 $as_echo "no" >&6; }
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
13341 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
13344 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13345 LUA_LIBS=$pkg_cv_LUA_LIBS
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13347 $as_echo "yes" >&6; }
13351 $as_echo "#define HAVE_LUA 1" >>confdefs.h
13357 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13358 LUA_LIBS=$pkg_cv_LUA_LIBS
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13360 $as_echo "yes" >&6; }
13364 $as_echo "#define HAVE_LUA 1" >>confdefs.h
13369 elif test $pkg_failed = untried; then
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13371 $as_echo "no" >&6; }
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lua5.1 >= 5.1" >&5
13376 $as_echo_n "checking for lua5.1 >= 5.1... " >&6; }
13378 if test -n "$LUA_CFLAGS"; then
13379 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13380 elif test -n "$PKG_CONFIG"; then
13381 if test -n "$PKG_CONFIG" && \
13382 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
13383 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
13385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13386 test $ac_status = 0; }; then
13387 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
13388 test "x$?" != "x0" && pkg_failed=yes
13395 if test -n "$LUA_LIBS"; then
13396 pkg_cv_LUA_LIBS="$LUA_LIBS"
13397 elif test -n "$PKG_CONFIG"; then
13398 if test -n "$PKG_CONFIG" && \
13399 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
13400 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
13402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13403 test $ac_status = 0; }; then
13404 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
13405 test "x$?" != "x0" && pkg_failed=yes
13415 if test $pkg_failed = yes; then
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13417 $as_echo "no" >&6; }
13419 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13420 _pkg_short_errors_supported=yes
13422 _pkg_short_errors_supported=no
13424 if test $_pkg_short_errors_supported = yes; then
13425 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua5.1 >= 5.1" 2>&1`
13427 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua5.1 >= 5.1" 2>&1`
13429 # Put the nasty error message in config.log where it belongs
13430 echo "$LUA_PKG_ERRORS" >&5
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lua >= 5.1" >&5
13436 $as_echo_n "checking for lua >= 5.1... " >&6; }
13438 if test -n "$LUA_CFLAGS"; then
13439 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13440 elif test -n "$PKG_CONFIG"; then
13441 if test -n "$PKG_CONFIG" && \
13442 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
13443 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
13445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13446 test $ac_status = 0; }; then
13447 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1" 2>/dev/null`
13448 test "x$?" != "x0" && pkg_failed=yes
13455 if test -n "$LUA_LIBS"; then
13456 pkg_cv_LUA_LIBS="$LUA_LIBS"
13457 elif test -n "$PKG_CONFIG"; then
13458 if test -n "$PKG_CONFIG" && \
13459 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
13460 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
13462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13463 test $ac_status = 0; }; then
13464 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1" 2>/dev/null`
13465 test "x$?" != "x0" && pkg_failed=yes
13475 if test $pkg_failed = yes; then
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13477 $as_echo "no" >&6; }
13479 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13480 _pkg_short_errors_supported=yes
13482 _pkg_short_errors_supported=no
13484 if test $_pkg_short_errors_supported = yes; then
13485 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua >= 5.1" 2>&1`
13487 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua >= 5.1" 2>&1`
13489 # Put the nasty error message in config.log where it belongs
13490 echo "$LUA_PKG_ERRORS" >&5
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
13495 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
13497 elif test $pkg_failed = untried; then
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13499 $as_echo "no" >&6; }
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
13503 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
13506 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13507 LUA_LIBS=$pkg_cv_LUA_LIBS
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13509 $as_echo "yes" >&6; }
13513 $as_echo "#define HAVE_LUA 1" >>confdefs.h
13518 elif test $pkg_failed = untried; then
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13520 $as_echo "no" >&6; }
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lua >= 5.1" >&5
13525 $as_echo_n "checking for lua >= 5.1... " >&6; }
13527 if test -n "$LUA_CFLAGS"; then
13528 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13529 elif test -n "$PKG_CONFIG"; then
13530 if test -n "$PKG_CONFIG" && \
13531 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
13532 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
13534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13535 test $ac_status = 0; }; then
13536 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1" 2>/dev/null`
13537 test "x$?" != "x0" && pkg_failed=yes
13544 if test -n "$LUA_LIBS"; then
13545 pkg_cv_LUA_LIBS="$LUA_LIBS"
13546 elif test -n "$PKG_CONFIG"; then
13547 if test -n "$PKG_CONFIG" && \
13548 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
13549 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
13551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13552 test $ac_status = 0; }; then
13553 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1" 2>/dev/null`
13554 test "x$?" != "x0" && pkg_failed=yes
13564 if test $pkg_failed = yes; then
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13566 $as_echo "no" >&6; }
13568 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13569 _pkg_short_errors_supported=yes
13571 _pkg_short_errors_supported=no
13573 if test $_pkg_short_errors_supported = yes; then
13574 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua >= 5.1" 2>&1`
13576 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua >= 5.1" 2>&1`
13578 # Put the nasty error message in config.log where it belongs
13579 echo "$LUA_PKG_ERRORS" >&5
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
13584 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
13586 elif test $pkg_failed = untried; then
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13588 $as_echo "no" >&6; }
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
13592 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
13595 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13596 LUA_LIBS=$pkg_cv_LUA_LIBS
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13598 $as_echo "yes" >&6; }
13602 $as_echo "#define HAVE_LUA 1" >>confdefs.h
13608 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13609 LUA_LIBS=$pkg_cv_LUA_LIBS
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13611 $as_echo "yes" >&6; }
13615 $as_echo "#define HAVE_LUA 1" >>confdefs.h
13621 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13622 LUA_LIBS=$pkg_cv_LUA_LIBS
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13624 $as_echo "yes" >&6; }
13628 $as_echo "#define HAVE_LUA 1" >>confdefs.h
13636 if test "x$HAVE_LUA" = xyes; then
13648 # ----------------------------------------------------------------------
13650 if test "x${gtk3}" != "xno"; then
13651 # Check whether --enable-pdf was given.
13652 if test "${enable_pdf+set}" = set; then :
13653 enableval=$enable_pdf; libpdf=$enableval
13659 if test "x${libpdf}" != "xno"; then
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poppler-glib >= 0.62" >&5
13663 $as_echo_n "checking for poppler-glib >= 0.62... " >&6; }
13665 if test -n "$PDF_CFLAGS"; then
13666 pkg_cv_PDF_CFLAGS="$PDF_CFLAGS"
13667 elif test -n "$PKG_CONFIG"; then
13668 if test -n "$PKG_CONFIG" && \
13669 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler-glib >= 0.62\""; } >&5
13670 ($PKG_CONFIG --exists --print-errors "poppler-glib >= 0.62") 2>&5
13672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13673 test $ac_status = 0; }; then
13674 pkg_cv_PDF_CFLAGS=`$PKG_CONFIG --cflags "poppler-glib >= 0.62" 2>/dev/null`
13675 test "x$?" != "x0" && pkg_failed=yes
13682 if test -n "$PDF_LIBS"; then
13683 pkg_cv_PDF_LIBS="$PDF_LIBS"
13684 elif test -n "$PKG_CONFIG"; then
13685 if test -n "$PKG_CONFIG" && \
13686 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler-glib >= 0.62\""; } >&5
13687 ($PKG_CONFIG --exists --print-errors "poppler-glib >= 0.62") 2>&5
13689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13690 test $ac_status = 0; }; then
13691 pkg_cv_PDF_LIBS=`$PKG_CONFIG --libs "poppler-glib >= 0.62" 2>/dev/null`
13692 test "x$?" != "x0" && pkg_failed=yes
13702 if test $pkg_failed = yes; then
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13704 $as_echo "no" >&6; }
13706 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13707 _pkg_short_errors_supported=yes
13709 _pkg_short_errors_supported=no
13711 if test $_pkg_short_errors_supported = yes; then
13712 PDF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "poppler-glib >= 0.62" 2>&1`
13714 PDF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "poppler-glib >= 0.62" 2>&1`
13716 # Put the nasty error message in config.log where it belongs
13717 echo "$PDF_PKG_ERRORS" >&5
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $PDF_PKG_ERRORS" >&5
13722 $as_echo "$as_me: WARNING: $PDF_PKG_ERRORS" >&2;}
13724 elif test $pkg_failed = untried; then
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13726 $as_echo "no" >&6; }
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $PDF_PKG_ERRORS" >&5
13730 $as_echo "$as_me: WARNING: $PDF_PKG_ERRORS" >&2;}
13733 PDF_CFLAGS=$pkg_cv_PDF_CFLAGS
13734 PDF_LIBS=$pkg_cv_PDF_LIBS
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13736 $as_echo "yes" >&6; }
13740 $as_echo "#define HAVE_PDF 1" >>confdefs.h
13751 if test "x$HAVE_PDF" = xyes; then
13763 # ----------------------------------------------------------------------
13765 # Check whether --enable-heif was given.
13766 if test "${enable_heif+set}" = set; then :
13767 enableval=$enable_heif; libheif=$enableval
13773 if test "x${libheif}" != "xno"; then
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libheif >= 1.3.2" >&5
13777 $as_echo_n "checking for libheif >= 1.3.2... " >&6; }
13779 if test -n "$HEIF_CFLAGS"; then
13780 pkg_cv_HEIF_CFLAGS="$HEIF_CFLAGS"
13781 elif test -n "$PKG_CONFIG"; then
13782 if test -n "$PKG_CONFIG" && \
13783 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libheif >= 1.3.2\""; } >&5
13784 ($PKG_CONFIG --exists --print-errors "libheif >= 1.3.2") 2>&5
13786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13787 test $ac_status = 0; }; then
13788 pkg_cv_HEIF_CFLAGS=`$PKG_CONFIG --cflags "libheif >= 1.3.2" 2>/dev/null`
13789 test "x$?" != "x0" && pkg_failed=yes
13796 if test -n "$HEIF_LIBS"; then
13797 pkg_cv_HEIF_LIBS="$HEIF_LIBS"
13798 elif test -n "$PKG_CONFIG"; then
13799 if test -n "$PKG_CONFIG" && \
13800 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libheif >= 1.3.2\""; } >&5
13801 ($PKG_CONFIG --exists --print-errors "libheif >= 1.3.2") 2>&5
13803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13804 test $ac_status = 0; }; then
13805 pkg_cv_HEIF_LIBS=`$PKG_CONFIG --libs "libheif >= 1.3.2" 2>/dev/null`
13806 test "x$?" != "x0" && pkg_failed=yes
13816 if test $pkg_failed = yes; then
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13818 $as_echo "no" >&6; }
13820 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13821 _pkg_short_errors_supported=yes
13823 _pkg_short_errors_supported=no
13825 if test $_pkg_short_errors_supported = yes; then
13826 HEIF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libheif >= 1.3.2" 2>&1`
13828 HEIF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libheif >= 1.3.2" 2>&1`
13830 # Put the nasty error message in config.log where it belongs
13831 echo "$HEIF_PKG_ERRORS" >&5
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $HEIF_PKG_ERRORS" >&5
13836 $as_echo "$as_me: WARNING: $HEIF_PKG_ERRORS" >&2;}
13838 elif test $pkg_failed = untried; then
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13840 $as_echo "no" >&6; }
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $HEIF_PKG_ERRORS" >&5
13844 $as_echo "$as_me: WARNING: $HEIF_PKG_ERRORS" >&2;}
13847 HEIF_CFLAGS=$pkg_cv_HEIF_CFLAGS
13848 HEIF_LIBS=$pkg_cv_HEIF_LIBS
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13850 $as_echo "yes" >&6; }
13854 $as_echo "#define HAVE_HEIF 1" >>confdefs.h
13862 if test "x$HAVE_HEIF" = xyes; then
13864 HAVE_HEIF_FALSE='#'
13874 # ----------------------------------------------------------------------
13876 # Check whether --enable-webp was given.
13877 if test "${enable_webp+set}" = set; then :
13878 enableval=$enable_webp; libwebp=$enableval
13884 if test "x${libwebp}" != "xno"; then
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libwebp >= 0.6.1" >&5
13888 $as_echo_n "checking for libwebp >= 0.6.1... " >&6; }
13890 if test -n "$WEBP_CFLAGS"; then
13891 pkg_cv_WEBP_CFLAGS="$WEBP_CFLAGS"
13892 elif test -n "$PKG_CONFIG"; then
13893 if test -n "$PKG_CONFIG" && \
13894 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libwebp >= 0.6.1\""; } >&5
13895 ($PKG_CONFIG --exists --print-errors "libwebp >= 0.6.1") 2>&5
13897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13898 test $ac_status = 0; }; then
13899 pkg_cv_WEBP_CFLAGS=`$PKG_CONFIG --cflags "libwebp >= 0.6.1" 2>/dev/null`
13900 test "x$?" != "x0" && pkg_failed=yes
13907 if test -n "$WEBP_LIBS"; then
13908 pkg_cv_WEBP_LIBS="$WEBP_LIBS"
13909 elif test -n "$PKG_CONFIG"; then
13910 if test -n "$PKG_CONFIG" && \
13911 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libwebp >= 0.6.1\""; } >&5
13912 ($PKG_CONFIG --exists --print-errors "libwebp >= 0.6.1") 2>&5
13914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13915 test $ac_status = 0; }; then
13916 pkg_cv_WEBP_LIBS=`$PKG_CONFIG --libs "libwebp >= 0.6.1" 2>/dev/null`
13917 test "x$?" != "x0" && pkg_failed=yes
13927 if test $pkg_failed = yes; then
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13929 $as_echo "no" >&6; }
13931 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13932 _pkg_short_errors_supported=yes
13934 _pkg_short_errors_supported=no
13936 if test $_pkg_short_errors_supported = yes; then
13937 WEBP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libwebp >= 0.6.1" 2>&1`
13939 WEBP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libwebp >= 0.6.1" 2>&1`
13941 # Put the nasty error message in config.log where it belongs
13942 echo "$WEBP_PKG_ERRORS" >&5
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $WEBP_PKG_ERRORS" >&5
13947 $as_echo "$as_me: WARNING: $WEBP_PKG_ERRORS" >&2;}
13949 elif test $pkg_failed = untried; then
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13951 $as_echo "no" >&6; }
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $WEBP_PKG_ERRORS" >&5
13955 $as_echo "$as_me: WARNING: $WEBP_PKG_ERRORS" >&2;}
13958 WEBP_CFLAGS=$pkg_cv_WEBP_CFLAGS
13959 WEBP_LIBS=$pkg_cv_WEBP_LIBS
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13961 $as_echo "yes" >&6; }
13965 $as_echo "#define HAVE_WEBP 1" >>confdefs.h
13973 if test "x$HAVE_WEBP" = xyes; then
13975 HAVE_WEBP_FALSE='#'
13985 # ----------------------------------------------------------------------
13987 # Check whether --enable-j2k was given.
13988 if test "${enable_j2k+set}" = set; then :
13989 enableval=$enable_j2k; libopenjp2=$enableval
13995 if test "x${libopenjp2}" != "xno"; then
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libopenjp2 >= 2.3.0" >&5
13999 $as_echo_n "checking for libopenjp2 >= 2.3.0... " >&6; }
14001 if test -n "$J2K_CFLAGS"; then
14002 pkg_cv_J2K_CFLAGS="$J2K_CFLAGS"
14003 elif test -n "$PKG_CONFIG"; then
14004 if test -n "$PKG_CONFIG" && \
14005 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libopenjp2 >= 2.3.0\""; } >&5
14006 ($PKG_CONFIG --exists --print-errors "libopenjp2 >= 2.3.0") 2>&5
14008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14009 test $ac_status = 0; }; then
14010 pkg_cv_J2K_CFLAGS=`$PKG_CONFIG --cflags "libopenjp2 >= 2.3.0" 2>/dev/null`
14011 test "x$?" != "x0" && pkg_failed=yes
14018 if test -n "$J2K_LIBS"; then
14019 pkg_cv_J2K_LIBS="$J2K_LIBS"
14020 elif test -n "$PKG_CONFIG"; then
14021 if test -n "$PKG_CONFIG" && \
14022 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libopenjp2 >= 2.3.0\""; } >&5
14023 ($PKG_CONFIG --exists --print-errors "libopenjp2 >= 2.3.0") 2>&5
14025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14026 test $ac_status = 0; }; then
14027 pkg_cv_J2K_LIBS=`$PKG_CONFIG --libs "libopenjp2 >= 2.3.0" 2>/dev/null`
14028 test "x$?" != "x0" && pkg_failed=yes
14038 if test $pkg_failed = yes; then
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14040 $as_echo "no" >&6; }
14042 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14043 _pkg_short_errors_supported=yes
14045 _pkg_short_errors_supported=no
14047 if test $_pkg_short_errors_supported = yes; then
14048 J2K_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libopenjp2 >= 2.3.0" 2>&1`
14050 J2K_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libopenjp2 >= 2.3.0" 2>&1`
14052 # Put the nasty error message in config.log where it belongs
14053 echo "$J2K_PKG_ERRORS" >&5
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $J2K_PKG_ERRORS" >&5
14058 $as_echo "$as_me: WARNING: $J2K_PKG_ERRORS" >&2;}
14060 elif test $pkg_failed = untried; then
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14062 $as_echo "no" >&6; }
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $J2K_PKG_ERRORS" >&5
14066 $as_echo "$as_me: WARNING: $J2K_PKG_ERRORS" >&2;}
14069 J2K_CFLAGS=$pkg_cv_J2K_CFLAGS
14070 J2K_LIBS=$pkg_cv_J2K_LIBS
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14072 $as_echo "yes" >&6; }
14076 $as_echo "#define HAVE_J2K 1" >>confdefs.h
14084 if test "x$HAVE_J2K" = xyes; then
14096 # ----------------------------------------------------------------------
14098 # Check whether --enable-djvu was given.
14099 if test "${enable_djvu+set}" = set; then :
14100 enableval=$enable_djvu; libdjvulibre=$enableval
14106 if test "x${libdjvulibre}" != "xno"; then
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ddjvuapi >= 3.5.27" >&5
14110 $as_echo_n "checking for ddjvuapi >= 3.5.27... " >&6; }
14112 if test -n "$DJVU_CFLAGS"; then
14113 pkg_cv_DJVU_CFLAGS="$DJVU_CFLAGS"
14114 elif test -n "$PKG_CONFIG"; then
14115 if test -n "$PKG_CONFIG" && \
14116 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ddjvuapi >= 3.5.27\""; } >&5
14117 ($PKG_CONFIG --exists --print-errors "ddjvuapi >= 3.5.27") 2>&5
14119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14120 test $ac_status = 0; }; then
14121 pkg_cv_DJVU_CFLAGS=`$PKG_CONFIG --cflags "ddjvuapi >= 3.5.27" 2>/dev/null`
14122 test "x$?" != "x0" && pkg_failed=yes
14129 if test -n "$DJVU_LIBS"; then
14130 pkg_cv_DJVU_LIBS="$DJVU_LIBS"
14131 elif test -n "$PKG_CONFIG"; then
14132 if test -n "$PKG_CONFIG" && \
14133 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ddjvuapi >= 3.5.27\""; } >&5
14134 ($PKG_CONFIG --exists --print-errors "ddjvuapi >= 3.5.27") 2>&5
14136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14137 test $ac_status = 0; }; then
14138 pkg_cv_DJVU_LIBS=`$PKG_CONFIG --libs "ddjvuapi >= 3.5.27" 2>/dev/null`
14139 test "x$?" != "x0" && pkg_failed=yes
14149 if test $pkg_failed = yes; then
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14151 $as_echo "no" >&6; }
14153 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14154 _pkg_short_errors_supported=yes
14156 _pkg_short_errors_supported=no
14158 if test $_pkg_short_errors_supported = yes; then
14159 DJVU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ddjvuapi >= 3.5.27" 2>&1`
14161 DJVU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ddjvuapi >= 3.5.27" 2>&1`
14163 # Put the nasty error message in config.log where it belongs
14164 echo "$DJVU_PKG_ERRORS" >&5
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $DJVU_PKG_ERRORS" >&5
14169 $as_echo "$as_me: WARNING: $DJVU_PKG_ERRORS" >&2;}
14171 elif test $pkg_failed = untried; then
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14173 $as_echo "no" >&6; }
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $DJVU_PKG_ERRORS" >&5
14177 $as_echo "$as_me: WARNING: $DJVU_PKG_ERRORS" >&2;}
14180 DJVU_CFLAGS=$pkg_cv_DJVU_CFLAGS
14181 DJVU_LIBS=$pkg_cv_DJVU_LIBS
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14183 $as_echo "yes" >&6; }
14187 $as_echo "#define HAVE_DJVU 1" >>confdefs.h
14195 if test "x$HAVE_DJVU" = xyes; then
14197 HAVE_DJVU_FALSE='#'
14207 # ----------------------------------------------------------------------
14209 if "$(command -v markdown)" ; then
14210 HAVE_MARKDOWN_TRUE=
14211 HAVE_MARKDOWN_FALSE='#'
14213 HAVE_MARKDOWN_TRUE='#'
14214 HAVE_MARKDOWN_FALSE=
14218 # _NL_TIME_FIRST_WEEKDAY support
14219 # note that it is an enum and not a define
14220 # ----------------------------------------------------------------------
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _NL_TIME_FIRST_WEEKDAY" >&5
14223 $as_echo_n "checking for _NL_TIME_FIRST_WEEKDAY... " >&6; }
14224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14225 /* end confdefs.h. */
14226 #include <langinfo.h>
14232 c = *((unsigned char *) nl_langinfo(_NL_TIME_FIRST_WEEKDAY));
14238 if ac_fn_c_try_link "$LINENO"; then :
14243 rm -f core conftest.err conftest.$ac_objext \
14244 conftest$ac_exeext conftest.$ac_ext
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_ok" >&5
14246 $as_echo "$nl_ok" >&6; }
14247 if test "$nl_ok" = "yes"; then
14249 $as_echo "#define HAVE__NL_TIME_FIRST_WEEKDAY 1" >>confdefs.h
14253 # ----------------------------------------------------------------------
14260 ac_config_files="$ac_config_files Makefile src/Makefile src/icons/Makefile src/icons/svg/Makefile po/Makefile.in doc/Makefile plugins/Makefile plugins/symlink/Makefile plugins/rotate/Makefile plugins/ufraw/Makefile plugins/geocode-parameters/Makefile plugins/export-jpeg/Makefile plugins/tethered-photography/Makefile plugins/camera-import/Makefile plugins/image-crop/Makefile plugins/random-image/Makefile plugins/lens/Makefile geeqie.spec"
14263 cat >confcache <<\_ACEOF
14264 # This file is a shell script that caches the results of configure
14265 # tests run on this system so they can be shared between configure
14266 # scripts and configure runs, see configure's option --config-cache.
14267 # It is not useful on other systems. If it contains results you don't
14268 # want to keep, you may remove or edit it.
14270 # config.status only pays attention to the cache file if you give it
14271 # the --recheck option to rerun configure.
14273 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14274 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14275 # following values.
14279 # The following way of writing the cache mishandles newlines in values,
14280 # but we know of no workaround that is simple, portable, and efficient.
14281 # So, we kill variables containing newlines.
14282 # Ultrix sh set writes to stderr and can't be redirected directly,
14283 # and sets the high bit in the cache file unless we assign to the vars.
14285 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14286 eval ac_val=\$$ac_var
14290 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14291 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14294 _ | IFS | as_nl) ;; #(
14295 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14296 *) { eval $ac_var=; unset $ac_var;} ;;
14302 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14303 *${as_nl}ac_space=\ *)
14304 # `set' does not quote correctly, so add quotes: double-quote
14305 # substitution turns \\\\ into \\, and sed turns \\ into \.
14308 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14311 # `set' quotes correctly as required by POSIX, so do not add quotes.
14312 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14321 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14323 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14325 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14326 if test -w "$cache_file"; then
14327 if test "x$cache_file" != "x/dev/null"; then
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14329 $as_echo "$as_me: updating cache $cache_file" >&6;}
14330 if test ! -f "$cache_file" || test -h "$cache_file"; then
14331 cat confcache >"$cache_file"
14333 case $cache_file in #(
14335 mv -f confcache "$cache_file"$$ &&
14336 mv -f "$cache_file"$$ "$cache_file" ;; #(
14338 mv -f confcache "$cache_file" ;;
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14344 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14349 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14350 # Let make expand exec_prefix.
14351 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14353 DEFS=-DHAVE_CONFIG_H
14358 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14359 # 1. Remove the extension, and $U if already installed.
14360 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14361 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14362 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14363 # will be set to the directory where LIBOBJS objects are built.
14364 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14365 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14367 LIBOBJS=$ac_libobjs
14369 LTLIBOBJS=$ac_ltlibobjs
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14373 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14374 if test -n "$am_sleep_pid"; then
14375 # Hide warnings about reused PIDs.
14376 wait $am_sleep_pid 2>/dev/null
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14379 $as_echo "done" >&6; }
14380 if test -n "$EXEEXT"; then
14382 am__EXEEXT_FALSE='#'
14384 am__EXEEXT_TRUE='#'
14388 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14389 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14392 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
14393 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
14394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14396 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
14397 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
14398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14400 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
14401 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
14402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14404 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
14405 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
14406 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14408 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
14409 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
14410 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14412 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
14413 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
14414 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14416 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
14417 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
14418 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14420 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
14421 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
14422 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14424 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
14425 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
14426 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14428 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
14429 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
14430 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14432 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
14433 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
14434 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14436 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
14437 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
14438 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14440 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
14441 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
14442 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14444 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
14445 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
14446 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14448 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
14449 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
14450 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14452 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
14453 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
14454 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14456 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
14457 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
14458 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14460 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
14461 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
14462 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14464 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
14465 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
14466 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14468 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
14469 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
14470 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14472 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
14473 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
14474 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14476 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
14477 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
14478 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14480 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
14481 as_fn_error $? "conditional \"DEBUG\" was never defined.
14482 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14484 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14485 as_fn_error $? "conditional \"AMDEP\" was never defined.
14486 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14488 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14489 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14490 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14492 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14493 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14494 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14496 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
14497 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
14498 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14501 ac_config_commands="$ac_config_commands po/stamp-it"
14504 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
14505 as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
14506 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14508 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
14509 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
14510 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14512 if test -z "${OS_UNIX_TRUE}" && test -z "${OS_UNIX_FALSE}"; then
14513 as_fn_error $? "conditional \"OS_UNIX\" was never defined.
14514 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14516 if test -z "${MS_LIB_AVAILABLE_TRUE}" && test -z "${MS_LIB_AVAILABLE_FALSE}"; then
14517 as_fn_error $? "conditional \"MS_LIB_AVAILABLE\" was never defined.
14518 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14520 if test -z "${HAVE_WINDRES_TRUE}" && test -z "${HAVE_WINDRES_FALSE}"; then
14521 as_fn_error $? "conditional \"HAVE_WINDRES\" was never defined.
14522 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14524 if test -z "${EXTERNAL_PREFIX_TRUE}" && test -z "${EXTERNAL_PREFIX_FALSE}"; then
14525 as_fn_error $? "conditional \"EXTERNAL_PREFIX\" was never defined.
14526 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14528 if test -z "${HAVE_LIRC_TRUE}" && test -z "${HAVE_LIRC_FALSE}"; then
14529 as_fn_error $? "conditional \"HAVE_LIRC\" was never defined.
14530 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14532 if test -z "${HAVE_LCMS_TRUE}" && test -z "${HAVE_LCMS_FALSE}"; then
14533 as_fn_error $? "conditional \"HAVE_LCMS\" was never defined.
14534 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14536 if test -z "${HAVE_JPEG_TRUE}" && test -z "${HAVE_JPEG_FALSE}"; then
14537 as_fn_error $? "conditional \"HAVE_JPEG\" was never defined.
14538 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14540 if test -z "${HAVE_TIFF_TRUE}" && test -z "${HAVE_TIFF_FALSE}"; then
14541 as_fn_error $? "conditional \"HAVE_TIFF\" was never defined.
14542 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14544 if test -z "${HAVE_FFMPEGTHUMBNAILER_TRUE}" && test -z "${HAVE_FFMPEGTHUMBNAILER_FALSE}"; then
14545 as_fn_error $? "conditional \"HAVE_FFMPEGTHUMBNAILER\" was never defined.
14546 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14548 if test -z "${HAVE_EXIV2_TRUE}" && test -z "${HAVE_EXIV2_FALSE}"; then
14549 as_fn_error $? "conditional \"HAVE_EXIV2\" was never defined.
14550 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14552 if test -z "${HAVE_LIBCHAMPLAIN_GTK_TRUE}" && test -z "${HAVE_LIBCHAMPLAIN_GTK_FALSE}"; then
14553 as_fn_error $? "conditional \"HAVE_LIBCHAMPLAIN_GTK\" was never defined.
14554 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14556 if test -z "${HAVE_LUA_TRUE}" && test -z "${HAVE_LUA_FALSE}"; then
14557 as_fn_error $? "conditional \"HAVE_LUA\" was never defined.
14558 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14560 if test -z "${HAVE_PDF_TRUE}" && test -z "${HAVE_PDF_FALSE}"; then
14561 as_fn_error $? "conditional \"HAVE_PDF\" was never defined.
14562 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14564 if test -z "${HAVE_HEIF_TRUE}" && test -z "${HAVE_HEIF_FALSE}"; then
14565 as_fn_error $? "conditional \"HAVE_HEIF\" was never defined.
14566 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14568 if test -z "${HAVE_WEBP_TRUE}" && test -z "${HAVE_WEBP_FALSE}"; then
14569 as_fn_error $? "conditional \"HAVE_WEBP\" was never defined.
14570 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14572 if test -z "${HAVE_J2K_TRUE}" && test -z "${HAVE_J2K_FALSE}"; then
14573 as_fn_error $? "conditional \"HAVE_J2K\" was never defined.
14574 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14576 if test -z "${HAVE_DJVU_TRUE}" && test -z "${HAVE_DJVU_FALSE}"; then
14577 as_fn_error $? "conditional \"HAVE_DJVU\" was never defined.
14578 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14580 if test -z "${HAVE_MARKDOWN_TRUE}" && test -z "${HAVE_MARKDOWN_FALSE}"; then
14581 as_fn_error $? "conditional \"HAVE_MARKDOWN\" was never defined.
14582 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14585 : "${CONFIG_STATUS=./config.status}"
14587 ac_clean_files_save=$ac_clean_files
14588 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14590 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14592 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14594 # Generated by $as_me.
14595 # Run this file to recreate the current configuration.
14596 # Compiler output produced by configure, useful for debugging
14597 # configure, is in config.log if it exists.
14600 ac_cs_recheck=false
14603 SHELL=\${CONFIG_SHELL-$SHELL}
14606 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14607 ## -------------------- ##
14608 ## M4sh Initialization. ##
14609 ## -------------------- ##
14611 # Be more Bourne compatible
14612 DUALCASE=1; export DUALCASE # for MKS sh
14613 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14616 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14617 # is contrary to our usage. Disable this feature.
14618 alias -g '${1+"$@"}'='"$@"'
14619 setopt NO_GLOB_SUBST
14621 case `(set -o) 2>/dev/null` in #(
14633 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14634 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14635 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14636 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14637 # Prefer a ksh shell builtin over an external printf program on Solaris,
14638 # but without wasting forks for bash or zsh.
14639 if test -z "$BASH_VERSION$ZSH_VERSION" \
14640 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14641 as_echo='print -r --'
14642 as_echo_n='print -rn --'
14643 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14644 as_echo='printf %s\n'
14645 as_echo_n='printf %s'
14647 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14648 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14649 as_echo_n='/usr/ucb/echo -n'
14651 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14652 as_echo_n_body='eval
14656 expr "X$arg" : "X\\(.*\\)$as_nl";
14657 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14659 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14661 export as_echo_n_body
14662 as_echo_n='sh -c $as_echo_n_body as_echo'
14664 export as_echo_body
14665 as_echo='sh -c $as_echo_body as_echo'
14668 # The user is always right.
14669 if test "${PATH_SEPARATOR+set}" != set; then
14671 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14672 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14679 # We need space, tab and new line, in precisely that order. Quoting is
14680 # there to prevent editors from complaining about space-tab.
14681 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14682 # splitting by setting IFS to empty value.)
14685 # Find who we are. Look in the path if we contain no directory separator.
14688 *[\\/]* ) as_myself=$0 ;;
14689 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14690 for as_dir in $PATH
14693 test -z "$as_dir" && as_dir=.
14694 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14700 # We did not find ourselves, most probably we were run as `sh COMMAND'
14701 # in which case we are not to be found in the path.
14702 if test "x$as_myself" = x; then
14705 if test ! -f "$as_myself"; then
14706 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14710 # Unset variables that we do not need and which cause bugs (e.g. in
14711 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14712 # suppresses any "Segmentation fault" message there. '((' could
14713 # trigger a bug in pdksh 5.2.14.
14714 for as_var in BASH_ENV ENV MAIL MAILPATH
14715 do eval test x\${$as_var+set} = xset \
14716 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14729 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14732 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14733 # ----------------------------------------
14734 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14735 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14736 # script with STATUS, using 1 if that was 0.
14739 as_status=$1; test $as_status -eq 0 && as_status=1
14741 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14742 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14744 $as_echo "$as_me: error: $2" >&2
14745 as_fn_exit $as_status
14749 # as_fn_set_status STATUS
14750 # -----------------------
14751 # Set $? to STATUS, without forking.
14752 as_fn_set_status ()
14755 } # as_fn_set_status
14757 # as_fn_exit STATUS
14758 # -----------------
14759 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14763 as_fn_set_status $1
14769 # Portably unset VAR.
14772 { eval $1=; unset $1;}
14774 as_unset=as_fn_unset
14775 # as_fn_append VAR VALUE
14776 # ----------------------
14777 # Append the text in VALUE to the end of the definition contained in VAR. Take
14778 # advantage of any shell optimizations that allow amortized linear growth over
14779 # repeated appends, instead of the typical quadratic growth present in naive
14781 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14782 eval 'as_fn_append ()
14793 # as_fn_arith ARG...
14794 # ------------------
14795 # Perform arithmetic evaluation on the ARGs, and store the result in the
14796 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14797 # must be portable across $(()) and expr.
14798 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14799 eval 'as_fn_arith ()
14806 as_val=`expr "$@" || test $? -eq 1`
14811 if expr a : '\(a\)' >/dev/null 2>&1 &&
14812 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14818 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14819 as_basename=basename
14824 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14830 as_me=`$as_basename -- "$0" ||
14831 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14832 X"$0" : 'X\(//\)$' \| \
14833 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14835 sed '/^.*\/\([^/][^/]*\)\/*$/{
14849 # Avoid depending upon Character Ranges.
14850 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14851 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14852 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14853 as_cr_digits='0123456789'
14854 as_cr_alnum=$as_cr_Letters$as_cr_digits
14856 ECHO_C= ECHO_N= ECHO_T=
14857 case `echo -n x` in #(((((
14859 case `echo 'xy\c'` in
14860 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14862 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14869 rm -f conf$$ conf$$.exe conf$$.file
14870 if test -d conf$$.dir; then
14871 rm -f conf$$.dir/conf$$.file
14874 mkdir conf$$.dir 2>/dev/null
14876 if (echo >conf$$.file) 2>/dev/null; then
14877 if ln -s conf$$.file conf$$ 2>/dev/null; then
14879 # ... but there are two gotchas:
14880 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14881 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14882 # In both cases, we have to default to `cp -pR'.
14883 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14885 elif ln conf$$.file conf$$ 2>/dev/null; then
14893 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14894 rmdir conf$$.dir 2>/dev/null
14899 # Create "$as_dir" as a directory, including parents if necessary.
14904 -*) as_dir=./$as_dir;;
14906 test -d "$as_dir" || eval $as_mkdir_p || {
14910 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14911 *) as_qdir=$as_dir;;
14913 as_dirs="'$as_qdir' $as_dirs"
14914 as_dir=`$as_dirname -- "$as_dir" ||
14915 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14916 X"$as_dir" : 'X\(//\)[^/]' \| \
14917 X"$as_dir" : 'X\(//\)$' \| \
14918 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14919 $as_echo X"$as_dir" |
14920 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14924 /^X\(\/\/\)[^/].*/{
14937 test -d "$as_dir" && break
14939 test -z "$as_dirs" || eval "mkdir $as_dirs"
14940 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14944 if mkdir -p . 2>/dev/null; then
14945 as_mkdir_p='mkdir -p "$as_dir"'
14947 test -d ./-p && rmdir ./-p
14952 # as_fn_executable_p FILE
14953 # -----------------------
14954 # Test if FILE is an executable regular file.
14955 as_fn_executable_p ()
14957 test -f "$1" && test -x "$1"
14958 } # as_fn_executable_p
14959 as_test_x='test -x'
14960 as_executable_p=as_fn_executable_p
14962 # Sed expression to map a string onto a valid CPP name.
14963 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14965 # Sed expression to map a string onto a valid variable name.
14966 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14970 ## ----------------------------------- ##
14971 ## Main body of $CONFIG_STATUS script. ##
14972 ## ----------------------------------- ##
14974 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14976 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14977 # Save the log message, to keep $0 and so on meaningful, and to
14978 # report actual input values of CONFIG_FILES etc. instead of their
14979 # values after options handling.
14981 This file was extended by geeqie $as_me 1.6, which was
14982 generated by GNU Autoconf 2.69. Invocation command line was
14984 CONFIG_FILES = $CONFIG_FILES
14985 CONFIG_HEADERS = $CONFIG_HEADERS
14986 CONFIG_LINKS = $CONFIG_LINKS
14987 CONFIG_COMMANDS = $CONFIG_COMMANDS
14990 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14995 case $ac_config_files in *"
14996 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14999 case $ac_config_headers in *"
15000 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15005 # Files that config.status was made for.
15006 config_files="$ac_config_files"
15007 config_headers="$ac_config_headers"
15008 config_commands="$ac_config_commands"
15012 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15014 \`$as_me' instantiates files and other configuration actions
15015 from templates according to the current configuration. Unless the files
15016 and actions are specified as TAGs, all are instantiated by default.
15018 Usage: $0 [OPTION]... [TAG]...
15020 -h, --help print this help, then exit
15021 -V, --version print version number and configuration settings, then exit
15022 --config print configuration, then exit
15023 -q, --quiet, --silent
15024 do not print progress messages
15025 -d, --debug don't remove temporary files
15026 --recheck update $as_me by reconfiguring in the same conditions
15027 --file=FILE[:TEMPLATE]
15028 instantiate the configuration file FILE
15029 --header=FILE[:TEMPLATE]
15030 instantiate the configuration header FILE
15032 Configuration files:
15035 Configuration headers:
15038 Configuration commands:
15041 Report bugs to <https://github.com/BestImageViewer/geeqie/issues>.
15042 geeqie home page: <http://www.geeqie.org/>."
15045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15046 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15048 geeqie config.status 1.6
15049 configured by $0, generated by GNU Autoconf 2.69,
15050 with options \\"\$ac_cs_config\\"
15052 Copyright (C) 2012 Free Software Foundation, Inc.
15053 This config.status script is free software; the Free Software Foundation
15054 gives unlimited permission to copy, distribute and modify it."
15061 test -n "\$AWK" || AWK=awk
15064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15065 # The default lists apply if the user does not specify any file.
15071 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15072 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15076 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15088 # Handling of the options.
15089 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15091 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15092 $as_echo "$ac_cs_version"; exit ;;
15093 --config | --confi | --conf | --con | --co | --c )
15094 $as_echo "$ac_cs_config"; exit ;;
15095 --debug | --debu | --deb | --de | --d | -d )
15097 --file | --fil | --fi | --f )
15100 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15101 '') as_fn_error $? "missing file argument" ;;
15103 as_fn_append CONFIG_FILES " '$ac_optarg'"
15104 ac_need_defaults=false;;
15105 --header | --heade | --head | --hea )
15108 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15110 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15111 ac_need_defaults=false;;
15113 # Conflict between --help and --header
15114 as_fn_error $? "ambiguous option: \`$1'
15115 Try \`$0 --help' for more information.";;
15116 --help | --hel | -h )
15117 $as_echo "$ac_cs_usage"; exit ;;
15118 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15119 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15122 # This is an error.
15123 -*) as_fn_error $? "unrecognized option: \`$1'
15124 Try \`$0 --help' for more information." ;;
15126 *) as_fn_append ac_config_targets " $1"
15127 ac_need_defaults=false ;;
15133 ac_configure_extra_args=
15135 if $ac_cs_silent; then
15137 ac_configure_extra_args="$ac_configure_extra_args --silent"
15141 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15142 if \$ac_cs_recheck; then
15143 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15145 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15146 CONFIG_SHELL='$SHELL'
15147 export CONFIG_SHELL
15152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15156 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15157 ## Running $as_me. ##
15163 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15167 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
15172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15174 # Handling of arguments.
15175 for ac_config_target in $ac_config_targets
15177 case $ac_config_target in
15178 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15179 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15180 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
15181 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15182 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15183 "src/icons/Makefile") CONFIG_FILES="$CONFIG_FILES src/icons/Makefile" ;;
15184 "src/icons/svg/Makefile") CONFIG_FILES="$CONFIG_FILES src/icons/svg/Makefile" ;;
15185 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15186 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15187 "plugins/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;;
15188 "plugins/symlink/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/symlink/Makefile" ;;
15189 "plugins/rotate/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/rotate/Makefile" ;;
15190 "plugins/ufraw/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/ufraw/Makefile" ;;
15191 "plugins/geocode-parameters/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/geocode-parameters/Makefile" ;;
15192 "plugins/export-jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/export-jpeg/Makefile" ;;
15193 "plugins/tethered-photography/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/tethered-photography/Makefile" ;;
15194 "plugins/camera-import/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/camera-import/Makefile" ;;
15195 "plugins/image-crop/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/image-crop/Makefile" ;;
15196 "plugins/random-image/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/random-image/Makefile" ;;
15197 "plugins/lens/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/lens/Makefile" ;;
15198 "geeqie.spec") CONFIG_FILES="$CONFIG_FILES geeqie.spec" ;;
15199 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
15201 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15206 # If the user did not use the arguments to specify the items to instantiate,
15207 # then the envvar interface is used. Set only those that are not.
15208 # We use the long form for the default assignment because of an extremely
15209 # bizarre bug on SunOS 4.1.3.
15210 if $ac_need_defaults; then
15211 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15212 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15213 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15216 # Have a temporary directory for convenience. Make it in the build tree
15217 # simply because there is no reason against having it here, and in addition,
15218 # creating and moving files from /tmp can sometimes cause problems.
15219 # Hook for its removal unless debugging.
15220 # Note that there is a small window in which the directory will not be cleaned:
15221 # after its creation but before its name has been assigned to `$tmp'.
15225 trap 'exit_status=$?
15226 : "${ac_tmp:=$tmp}"
15227 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15229 trap 'as_fn_exit 1' 1 2 13 15
15231 # Create a (secure) tmp directory for tmp files.
15234 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15238 tmp=./conf$$-$RANDOM
15239 (umask 077 && mkdir "$tmp")
15240 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15243 # Set up the scripts for CONFIG_FILES section.
15244 # No need to generate them if there are no CONFIG_FILES.
15245 # This happens for instance with `./config.status config.h'.
15246 if test -n "$CONFIG_FILES"; then
15249 ac_cr=`echo X | tr X '\015'`
15250 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15251 # But we know of no other shell where ac_cr would be empty at this
15252 # point, so we can use a bashism as a fallback.
15253 if test "x$ac_cr" = x; then
15254 eval ac_cr=\$\'\\r\'
15256 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15257 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15260 ac_cs_awk_cr=$ac_cr
15263 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15268 echo "cat >conf$$subs.awk <<_ACEOF" &&
15269 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15271 } >conf$$subs.sh ||
15272 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15273 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15275 for ac_last_try in false false false false false :; do
15276 . ./conf$$subs.sh ||
15277 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15279 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15280 if test $ac_delim_n = $ac_delim_num; then
15282 elif $ac_last_try; then
15283 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15285 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15288 rm -f conf$$subs.sh
15290 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15291 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15295 s/^/S["/; s/!.*/"]=/
15305 s/\(.\{148\}\)..*/\1/
15307 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15312 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15319 s/\(.\{148\}\)..*/\1/
15321 s/["\\]/\\&/g; s/^/"/; s/$/"/
15325 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15330 ' <conf$$subs.awk | sed '
15335 ' >>$CONFIG_STATUS || ac_write_fail=1
15336 rm -f conf$$subs.awk
15337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15339 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15340 for (key in S) S_is_set[key] = 1
15346 nfields = split(line, field, "@")
15348 len = length(field[1])
15349 for (i = 2; i < nfields; i++) {
15351 keylen = length(key)
15352 if (S_is_set[key]) {
15354 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15355 len += length(value) + length(field[++i])
15366 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15367 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15368 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15371 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15372 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15375 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15376 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15377 # trailing colons and then remove the whole line if VPATH becomes empty
15378 # (actually we leave an empty line to preserve line numbers).
15379 if test "x$srcdir" = x.; then
15380 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15399 fi # test -n "$CONFIG_FILES"
15401 # Set up the scripts for CONFIG_HEADERS section.
15402 # No need to generate them if there are no CONFIG_HEADERS.
15403 # This happens for instance with `./config.status Makefile'.
15404 if test -n "$CONFIG_HEADERS"; then
15405 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15409 # Transform confdefs.h into an awk script `defines.awk', embedded as
15410 # here-document in config.status, that substitutes the proper values into
15411 # config.h.in to produce config.h.
15413 # Create a delimiter string that does not exist in confdefs.h, to ease
15414 # handling of long lines.
15416 for ac_last_try in false false :; do
15417 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15418 if test -z "$ac_tt"; then
15420 elif $ac_last_try; then
15421 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15423 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15427 # For the awk script, D is an array of macro values keyed by name,
15428 # likewise P contains macro parameters if any. Preserve backslash
15429 # newline sequences.
15431 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15433 s/.\{148\}/&'"$ac_delim"'/g
15436 s/^[ ]*#[ ]*define[ ][ ]*/ /
15443 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15445 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15449 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15450 D["\1"]=" \3\\\\\\n"\\/p
15452 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15457 s/.\{148\}/&'"$ac_delim"'/g
15462 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15465 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15467 ' <confdefs.h | sed '
15468 s/'"$ac_delim"'/"\\\
15469 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15471 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15472 for (key in D) D_is_set[key] = 1
15475 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15477 split(line, arg, " ")
15478 if (arg[1] == "#") {
15482 defundef = substr(arg[1], 2)
15485 split(mac1, mac2, "(") #)
15487 prefix = substr(line, 1, index(line, defundef) - 1)
15488 if (D_is_set[macro]) {
15489 # Preserve the white space surrounding the "#".
15490 print prefix "define", macro P[macro] D[macro]
15493 # Replace #undef with comments. This is necessary, for example,
15494 # in the case of _POSIX_SOURCE, which is predefined and required
15495 # on some systems where configure will not decide to define it.
15496 if (defundef == "undef") {
15497 print "/*", prefix defundef, macro, "*/"
15505 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15506 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15507 fi # test -n "$CONFIG_HEADERS"
15510 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15515 :[FHLC]) ac_mode=$ac_tag; continue;;
15517 case $ac_mode$ac_tag in
15519 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15520 :[FH]-) ac_tag=-:-;;
15521 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15538 -) ac_f="$ac_tmp/stdin";;
15539 *) # Look for the file first in the build tree, then in the source tree
15540 # (if the path is not absolute). The absolute path cannot be DOS-style,
15541 # because $ac_f cannot contain `:'.
15545 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15547 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15549 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15550 as_fn_append ac_file_inputs " '$ac_f'"
15553 # Let's still pretend it is `configure' which instantiates (i.e., don't
15554 # use $as_me), people would be surprised to read:
15555 # /* config.h. Generated by config.status. */
15556 configure_input='Generated from '`
15557 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15559 if test x"$ac_file" != x-; then
15560 configure_input="$ac_file. $configure_input"
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15562 $as_echo "$as_me: creating $ac_file" >&6;}
15564 # Neutralize special characters interpreted by sed in replacement strings.
15565 case $configure_input in #(
15566 *\&* | *\|* | *\\* )
15567 ac_sed_conf_input=`$as_echo "$configure_input" |
15568 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15569 *) ac_sed_conf_input=$configure_input;;
15573 *:-:* | *:-) cat >"$ac_tmp/stdin" \
15574 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15579 ac_dir=`$as_dirname -- "$ac_file" ||
15580 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15581 X"$ac_file" : 'X\(//\)[^/]' \| \
15582 X"$ac_file" : 'X\(//\)$' \| \
15583 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15584 $as_echo X"$ac_file" |
15585 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15589 /^X\(\/\/\)[^/].*/{
15602 as_dir="$ac_dir"; as_fn_mkdir_p
15606 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15608 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15609 # A ".." for each directory in $ac_dir_suffix.
15610 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15611 case $ac_top_builddir_sub in
15612 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15613 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15616 ac_abs_top_builddir=$ac_pwd
15617 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15618 # for backward compatibility:
15619 ac_top_builddir=$ac_top_build_prefix
15622 .) # We are building in place.
15624 ac_top_srcdir=$ac_top_builddir_sub
15625 ac_abs_top_srcdir=$ac_pwd ;;
15626 [\\/]* | ?:[\\/]* ) # Absolute name.
15627 ac_srcdir=$srcdir$ac_dir_suffix;
15628 ac_top_srcdir=$srcdir
15629 ac_abs_top_srcdir=$srcdir ;;
15630 *) # Relative name.
15631 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15632 ac_top_srcdir=$ac_top_build_prefix$srcdir
15633 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15635 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15645 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15646 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15648 ac_MKDIR_P=$MKDIR_P
15650 [\\/$]* | ?:[\\/]* ) ;;
15651 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15655 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15656 # If the template does not know about datarootdir, expand it.
15657 # FIXME: This hack should be removed a few years after 2.60.
15658 ac_datarootdir_hack=; ac_datarootdir_seen=
15669 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15670 *datarootdir*) ac_datarootdir_seen=yes;;
15671 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15673 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15675 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15676 ac_datarootdir_hack='
15677 s&@datadir@&$datadir&g
15678 s&@docdir@&$docdir&g
15679 s&@infodir@&$infodir&g
15680 s&@localedir@&$localedir&g
15681 s&@mandir@&$mandir&g
15682 s&\\\${datarootdir}&$datarootdir&g' ;;
15686 # Neutralize VPATH when `$srcdir' = `.'.
15687 # Shell code in configure.ac might set extrasub.
15688 # FIXME: do we really want to maintain this feature?
15689 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15690 ac_sed_extra="$ac_vpsub
15693 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15695 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15696 s|@configure_input@|$ac_sed_conf_input|;t t
15697 s&@top_builddir@&$ac_top_builddir_sub&;t t
15698 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15699 s&@srcdir@&$ac_srcdir&;t t
15700 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15701 s&@top_srcdir@&$ac_top_srcdir&;t t
15702 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15703 s&@builddir@&$ac_builddir&;t t
15704 s&@abs_builddir@&$ac_abs_builddir&;t t
15705 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15706 s&@INSTALL@&$ac_INSTALL&;t t
15707 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15708 $ac_datarootdir_hack
15710 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15711 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15713 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15714 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15715 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15716 "$ac_tmp/out"`; test -z "$ac_out"; } &&
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15718 which seems to be undefined. Please make sure it is defined" >&5
15719 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15720 which seems to be undefined. Please make sure it is defined" >&2;}
15722 rm -f "$ac_tmp/stdin"
15724 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15725 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15727 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15733 if test x"$ac_file" != x-; then
15735 $as_echo "/* $configure_input */" \
15736 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15737 } >"$ac_tmp/config.h" \
15738 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15739 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15741 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15744 mv "$ac_tmp/config.h" "$ac_file" \
15745 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15748 $as_echo "/* $configure_input */" \
15749 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15750 || as_fn_error $? "could not create -" "$LINENO" 5
15752 # Compute "$ac_file"'s index in $config_headers.
15755 for _am_header in $config_headers :; do
15756 case $_am_header in
15757 $_am_arg | $_am_arg:* )
15760 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15763 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15764 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15765 X"$_am_arg" : 'X\(//\)[^/]' \| \
15766 X"$_am_arg" : 'X\(//\)$' \| \
15767 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15768 $as_echo X"$_am_arg" |
15769 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15773 /^X\(\/\/\)[^/].*/{
15785 s/.*/./; q'`/stamp-h$_am_stamp_count
15788 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15789 $as_echo "$as_me: executing $ac_file commands" >&6;}
15794 case $ac_file$ac_mode in
15795 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15796 # Older Autoconf quotes --file arguments for eval, but not when files
15797 # are listed without --file. Let's play safe and only enable the eval
15798 # if we detect the quoting.
15799 # TODO: see whether this extra hack can be removed once we start
15800 # requiring Autoconf 2.70 or later.
15801 case $CONFIG_FILES in #(
15803 eval set x "$CONFIG_FILES" ;; #(
15805 set x $CONFIG_FILES ;; #(
15810 # Used to flag and report bootstrapping failures.
15814 # Strip MF so we end up with the name of the file.
15815 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
15816 # Check whether this is an Automake generated Makefile which includes
15817 # dependency-tracking related rules and includes.
15818 # Grep'ing the whole file directly is not great: AIX grep has a line
15819 # limit of 2048, but all sed's we know have understand at least 4000.
15820 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
15822 am_dirpart=`$as_dirname -- "$am_mf" ||
15823 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15824 X"$am_mf" : 'X\(//\)[^/]' \| \
15825 X"$am_mf" : 'X\(//\)$' \| \
15826 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
15827 $as_echo X"$am_mf" |
15828 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15832 /^X\(\/\/\)[^/].*/{
15845 am_filepart=`$as_basename -- "$am_mf" ||
15846 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
15847 X"$am_mf" : 'X\(//\)$' \| \
15848 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
15849 $as_echo X/"$am_mf" |
15850 sed '/^.*\/\([^/][^/]*\)\/*$/{
15863 { echo "$as_me:$LINENO: cd "$am_dirpart" \
15864 && sed -e '/# am--include-marker/d' "$am_filepart" \
15865 | $MAKE -f - am--depfiles" >&5
15866 (cd "$am_dirpart" \
15867 && sed -e '/# am--include-marker/d' "$am_filepart" \
15868 | $MAKE -f - am--depfiles) >&5 2>&5
15870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15871 (exit $ac_status); } || am_rc=$?
15873 if test $am_rc -ne 0; then
15874 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15875 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15876 as_fn_error $? "Something went wrong bootstrapping makefile fragments
15877 for automatic dependency tracking. If GNU make was not used, consider
15878 re-running the configure script with MAKE=\"gmake\" (or whatever is
15879 necessary). You can also try re-running configure with the
15880 '--disable-dependency-tracking' option to at least be able to build
15881 the package (albeit without support for automatic dependency tracking).
15882 See \`config.log' for more details" "$LINENO" 5; }
15884 { am_dirpart=; unset am_dirpart;}
15885 { am_filepart=; unset am_filepart;}
15886 { am_mf=; unset am_mf;}
15887 { am_rc=; unset am_rc;}
15888 rm -f conftest-deps.mk
15891 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
15892 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
15895 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
15896 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
15898 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
15903 '"s|^| $ac_top_srcdir/|" \
15904 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
15906 sed '/^POTFILES =/,/[^\\]$/ {
15910 ' "po/Makefile.in" >"po/Makefile"
15911 rm -f "po/Makefile.tmp"
15912 mv "po/stamp-it.tmp" "po/stamp-it"
15921 ac_clean_files=$ac_clean_files_save
15923 test $ac_write_fail = 0 ||
15924 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15927 # configure is writing to config.log, and then calls config.status.
15928 # config.status does its own redirection, appending to config.log.
15929 # Unfortunately, on DOS this fails, as config.log is still kept open
15930 # by configure, so config.status won't be able to write to it; its
15931 # output is simply discarded. So we exec the FD to /dev/null,
15932 # effectively closing config.log, so it can be properly (re)opened and
15933 # appended to by config.status. When coming back to configure, we
15934 # need to make the FD available again.
15935 if test "$no_create" != yes; then
15937 ac_config_status_args=
15938 test "$silent" = yes &&
15939 ac_config_status_args="$ac_config_status_args --quiet"
15941 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15943 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15944 # would make configure fail if this is the last instruction.
15945 $ac_cs_success || as_fn_exit 1
15947 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15949 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15953 cat > config.report << END
15959 Name: $PACKAGE_NAME
15960 Version: $PACKAGE_VERSION
15964 Win32: $platform_win32 (native: $os_win32)
15969 CPPFLAGS: $__CPPFLAGS
15971 CXXFLAGS: $CXXFLAGS
15974 Thread: $GTHREAD_LIBS
15975 Others: $JPEG_LIBS $TIFF_LIBS $LCMS_LIBS $EXIV2_LIBS $CLUTTER_LIBS $CLUTTER_GTK_LIBS $LIBCHAMPLAIN_LIBS $LIBCHAMPLAIN_GTK_LIBS $LUA_LIBS
15978 NLS support: $USE_NLS
15982 Developer: $__IS_DEVELOPER
15983 Debug flags: $__IS_DEBUG_FLAGS
15984 Debug log: $__IS_DEBUG_LOG
15985 Deprecated: $__IS_DEPRECATED
15991 Clutter: $HAVE_CLUTTER
15992 Libchamplain: $HAVE_LIBCHAMPLAIN
15993 Libchamplain-gtk: $HAVE_LIBCHAMPLAIN_GTK
15995 FFmpegthumbnailer: $HAVE_FFMPEGTHUMBNAILER
16003 Doxygen: $DX_DOXYGEN
16004 doc-tool: $GNOME_DOC_TOOL
16011 Now you can type "make" to build Geeqie
16012 (or you take blue pill and the story ends :)