2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for geeqie 1.5.
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.5'
584 PACKAGE_STRING='geeqie 1.5'
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
639 HAVE_LIBCHAMPLAIN_GTK_FALSE
640 HAVE_LIBCHAMPLAIN_GTK_TRUE
641 LIBCHAMPLAIN_GTK_LIBS
642 LIBCHAMPLAIN_GTK_CFLAGS
663 CONFIG_STATUS_DEPENDENCIES
668 HAVE_FFMPEGTHUMBNAILER_FALSE
669 HAVE_FFMPEGTHUMBNAILER_TRUE
670 FFMPEGTHUMBNAILER_LIBS
671 FFMPEGTHUMBNAILER_CFLAGS
695 GLIB_COMPILE_RESOURCES
706 MS_LIB_AVAILABLE_FALSE
707 MS_LIB_AVAILABLE_TRUE
724 INTLTOOL_SERVICE_RULE
726 INTLTOOL_SCHEMAS_RULE
728 INTLTOOL_XML_NOMERGE_RULE
733 INTLTOOL_SOUNDLIST_RULE
740 INTLTOOL_DIRECTORY_RULE
741 INTLTOOL_DESKTOP_RULE
742 intltool__v_merge_options_0
743 intltool__v_merge_options_
744 INTLTOOL_V_MERGE_OPTIONS
819 DX_FLAG_DX_CURRENT_FEATURE
827 MAINTAINER_MODE_FALSE
841 INSTALL_STRIP_PROGRAM
884 program_transform_name
898 enable_option_checking
900 enable_maintainer_mode
915 enable_dependency_tracking
929 enable_ffmpegthumbnailer
936 ac_precious_vars='build_alias
957 GLIB_COMPILE_RESOURCES
962 FFMPEGTHUMBNAILER_CFLAGS
963 FFMPEGTHUMBNAILER_LIBS
972 LIBCHAMPLAIN_GTK_CFLAGS
973 LIBCHAMPLAIN_GTK_LIBS
980 # Initialize some variables set by options.
982 ac_init_version=false
983 ac_unrecognized_opts=
985 # The variables have the same names as the options, with
986 # dashes changed to underlines.
994 program_transform_name=s,x,x,
1002 # Installation directory options.
1003 # These are left unexpanded so users can "make install exec_prefix=/foo"
1004 # and all the variables that are supposed to be based on exec_prefix
1005 # by default will actually change.
1006 # Use braces instead of parens because sh, perl, etc. also accept them.
1007 # (The list follows the same order as the GNU Coding Standards.)
1008 bindir='${exec_prefix}/bin'
1009 sbindir='${exec_prefix}/sbin'
1010 libexecdir='${exec_prefix}/libexec'
1011 datarootdir='${prefix}/share'
1012 datadir='${datarootdir}'
1013 sysconfdir='${prefix}/etc'
1014 sharedstatedir='${prefix}/com'
1015 localstatedir='${prefix}/var'
1016 runstatedir='${localstatedir}/run'
1017 includedir='${prefix}/include'
1018 oldincludedir='/usr/include'
1019 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1020 infodir='${datarootdir}/info'
1025 libdir='${exec_prefix}/lib'
1026 localedir='${datarootdir}/locale'
1027 mandir='${datarootdir}/man'
1033 # If the previous option needs an argument, assign it.
1034 if test -n "$ac_prev"; then
1035 eval $ac_prev=\$ac_option
1041 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1046 # Accept the important Cygnus configure options, so we can diagnose typos.
1048 case $ac_dashdash$ac_option in
1052 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1054 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1055 bindir=$ac_optarg ;;
1057 -build | --build | --buil | --bui | --bu)
1058 ac_prev=build_alias ;;
1059 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1060 build_alias=$ac_optarg ;;
1062 -cache-file | --cache-file | --cache-fil | --cache-fi \
1063 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1064 ac_prev=cache_file ;;
1065 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1066 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1067 cache_file=$ac_optarg ;;
1069 --config-cache | -C)
1070 cache_file=config.cache ;;
1072 -datadir | --datadir | --datadi | --datad)
1074 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1075 datadir=$ac_optarg ;;
1077 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1078 | --dataroo | --dataro | --datar)
1079 ac_prev=datarootdir ;;
1080 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1081 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1082 datarootdir=$ac_optarg ;;
1084 -disable-* | --disable-*)
1085 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1086 # Reject names that are not valid shell variable names.
1087 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1088 as_fn_error $? "invalid feature name: $ac_useropt"
1089 ac_useropt_orig=$ac_useropt
1090 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1091 case $ac_user_opts in
1093 "enable_$ac_useropt"
1095 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1096 ac_unrecognized_sep=', ';;
1098 eval enable_$ac_useropt=no ;;
1100 -docdir | --docdir | --docdi | --doc | --do)
1102 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1103 docdir=$ac_optarg ;;
1105 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1107 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1108 dvidir=$ac_optarg ;;
1110 -enable-* | --enable-*)
1111 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1114 as_fn_error $? "invalid feature name: $ac_useropt"
1115 ac_useropt_orig=$ac_useropt
1116 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1117 case $ac_user_opts in
1119 "enable_$ac_useropt"
1121 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1122 ac_unrecognized_sep=', ';;
1124 eval enable_$ac_useropt=\$ac_optarg ;;
1126 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1127 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1128 | --exec | --exe | --ex)
1129 ac_prev=exec_prefix ;;
1130 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1131 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1132 | --exec=* | --exe=* | --ex=*)
1133 exec_prefix=$ac_optarg ;;
1135 -gas | --gas | --ga | --g)
1136 # Obsolete; use --with-gas.
1139 -help | --help | --hel | --he | -h)
1140 ac_init_help=long ;;
1141 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1142 ac_init_help=recursive ;;
1143 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1144 ac_init_help=short ;;
1146 -host | --host | --hos | --ho)
1147 ac_prev=host_alias ;;
1148 -host=* | --host=* | --hos=* | --ho=*)
1149 host_alias=$ac_optarg ;;
1151 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1153 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1155 htmldir=$ac_optarg ;;
1157 -includedir | --includedir | --includedi | --included | --include \
1158 | --includ | --inclu | --incl | --inc)
1159 ac_prev=includedir ;;
1160 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1161 | --includ=* | --inclu=* | --incl=* | --inc=*)
1162 includedir=$ac_optarg ;;
1164 -infodir | --infodir | --infodi | --infod | --info | --inf)
1166 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1167 infodir=$ac_optarg ;;
1169 -libdir | --libdir | --libdi | --libd)
1171 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1172 libdir=$ac_optarg ;;
1174 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1175 | --libexe | --libex | --libe)
1176 ac_prev=libexecdir ;;
1177 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1178 | --libexe=* | --libex=* | --libe=*)
1179 libexecdir=$ac_optarg ;;
1181 -localedir | --localedir | --localedi | --localed | --locale)
1182 ac_prev=localedir ;;
1183 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1184 localedir=$ac_optarg ;;
1186 -localstatedir | --localstatedir | --localstatedi | --localstated \
1187 | --localstate | --localstat | --localsta | --localst | --locals)
1188 ac_prev=localstatedir ;;
1189 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1190 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1191 localstatedir=$ac_optarg ;;
1193 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1195 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1196 mandir=$ac_optarg ;;
1198 -nfp | --nfp | --nf)
1199 # Obsolete; use --without-fp.
1202 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1203 | --no-cr | --no-c | -n)
1206 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1207 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1210 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1211 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1212 | --oldin | --oldi | --old | --ol | --o)
1213 ac_prev=oldincludedir ;;
1214 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1215 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1216 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1217 oldincludedir=$ac_optarg ;;
1219 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1221 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1222 prefix=$ac_optarg ;;
1224 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1225 | --program-pre | --program-pr | --program-p)
1226 ac_prev=program_prefix ;;
1227 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1228 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1229 program_prefix=$ac_optarg ;;
1231 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1232 | --program-suf | --program-su | --program-s)
1233 ac_prev=program_suffix ;;
1234 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1235 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1236 program_suffix=$ac_optarg ;;
1238 -program-transform-name | --program-transform-name \
1239 | --program-transform-nam | --program-transform-na \
1240 | --program-transform-n | --program-transform- \
1241 | --program-transform | --program-transfor \
1242 | --program-transfo | --program-transf \
1243 | --program-trans | --program-tran \
1244 | --progr-tra | --program-tr | --program-t)
1245 ac_prev=program_transform_name ;;
1246 -program-transform-name=* | --program-transform-name=* \
1247 | --program-transform-nam=* | --program-transform-na=* \
1248 | --program-transform-n=* | --program-transform-=* \
1249 | --program-transform=* | --program-transfor=* \
1250 | --program-transfo=* | --program-transf=* \
1251 | --program-trans=* | --program-tran=* \
1252 | --progr-tra=* | --program-tr=* | --program-t=*)
1253 program_transform_name=$ac_optarg ;;
1255 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1257 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1258 pdfdir=$ac_optarg ;;
1260 -psdir | --psdir | --psdi | --psd | --ps)
1262 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1265 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1266 | -silent | --silent | --silen | --sile | --sil)
1269 -runstatedir | --runstatedir | --runstatedi | --runstated \
1270 | --runstate | --runstat | --runsta | --runst | --runs \
1271 | --run | --ru | --r)
1272 ac_prev=runstatedir ;;
1273 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1274 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1275 | --run=* | --ru=* | --r=*)
1276 runstatedir=$ac_optarg ;;
1278 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1280 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1282 sbindir=$ac_optarg ;;
1284 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1285 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1286 | --sharedst | --shareds | --shared | --share | --shar \
1288 ac_prev=sharedstatedir ;;
1289 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1290 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1291 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1293 sharedstatedir=$ac_optarg ;;
1295 -site | --site | --sit)
1297 -site=* | --site=* | --sit=*)
1300 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1302 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1303 srcdir=$ac_optarg ;;
1305 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1306 | --syscon | --sysco | --sysc | --sys | --sy)
1307 ac_prev=sysconfdir ;;
1308 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1309 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1310 sysconfdir=$ac_optarg ;;
1312 -target | --target | --targe | --targ | --tar | --ta | --t)
1313 ac_prev=target_alias ;;
1314 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1315 target_alias=$ac_optarg ;;
1317 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1320 -version | --version | --versio | --versi | --vers | -V)
1321 ac_init_version=: ;;
1324 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1325 # Reject names that are not valid shell variable names.
1326 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1327 as_fn_error $? "invalid package name: $ac_useropt"
1328 ac_useropt_orig=$ac_useropt
1329 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1330 case $ac_user_opts in
1334 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1335 ac_unrecognized_sep=', ';;
1337 eval with_$ac_useropt=\$ac_optarg ;;
1339 -without-* | --without-*)
1340 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1341 # Reject names that are not valid shell variable names.
1342 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1343 as_fn_error $? "invalid package name: $ac_useropt"
1344 ac_useropt_orig=$ac_useropt
1345 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1346 case $ac_user_opts in
1350 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1351 ac_unrecognized_sep=', ';;
1353 eval with_$ac_useropt=no ;;
1356 # Obsolete; use --with-x.
1359 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1360 | --x-incl | --x-inc | --x-in | --x-i)
1361 ac_prev=x_includes ;;
1362 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1363 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1364 x_includes=$ac_optarg ;;
1366 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1367 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1368 ac_prev=x_libraries ;;
1369 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1370 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1371 x_libraries=$ac_optarg ;;
1373 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1374 Try \`$0 --help' for more information"
1378 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1379 # Reject names that are not valid shell variable names.
1380 case $ac_envvar in #(
1381 '' | [0-9]* | *[!_$as_cr_alnum]* )
1382 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1384 eval $ac_envvar=\$ac_optarg
1385 export $ac_envvar ;;
1388 # FIXME: should be removed in autoconf 3.0.
1389 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1390 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1391 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1392 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1398 if test -n "$ac_prev"; then
1399 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1400 as_fn_error $? "missing argument to $ac_option"
1403 if test -n "$ac_unrecognized_opts"; then
1404 case $enable_option_checking in
1406 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1407 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1411 # Check all directory arguments for consistency.
1412 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1413 datadir sysconfdir sharedstatedir localstatedir includedir \
1414 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1415 libdir localedir mandir runstatedir
1417 eval ac_val=\$$ac_var
1418 # Remove trailing slashes.
1421 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1422 eval $ac_var=\$ac_val;;
1424 # Be sure to have absolute directory names.
1426 [\\/$]* | ?:[\\/]* ) continue;;
1427 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1429 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1432 # There might be people who depend on the old broken behavior: `$host'
1433 # used to hold the argument of --host etc.
1434 # FIXME: To remove some day.
1437 target=$target_alias
1439 # FIXME: To remove some day.
1440 if test "x$host_alias" != x; then
1441 if test "x$build_alias" = x; then
1442 cross_compiling=maybe
1443 elif test "x$build_alias" != "x$host_alias"; then
1449 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1451 test "$silent" = yes && exec 6>/dev/null
1454 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1455 ac_ls_di=`ls -di .` &&
1456 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1457 as_fn_error $? "working directory cannot be determined"
1458 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1459 as_fn_error $? "pwd does not report name of working directory"
1462 # Find the source files, if location was not specified.
1463 if test -z "$srcdir"; then
1464 ac_srcdir_defaulted=yes
1465 # Try the directory containing this script, then the parent directory.
1466 ac_confdir=`$as_dirname -- "$as_myself" ||
1467 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1468 X"$as_myself" : 'X\(//\)[^/]' \| \
1469 X"$as_myself" : 'X\(//\)$' \| \
1470 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1471 $as_echo X"$as_myself" |
1472 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1490 if test ! -r "$srcdir/$ac_unique_file"; then
1494 ac_srcdir_defaulted=no
1496 if test ! -r "$srcdir/$ac_unique_file"; then
1497 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1498 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1500 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1502 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1504 # When building in place, set srcdir=.
1505 if test "$ac_abs_confdir" = "$ac_pwd"; then
1508 # Remove unnecessary trailing slashes from srcdir.
1509 # Double slashes in file names in object file debugging info
1510 # mess up M-x gdb in Emacs.
1512 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1514 for ac_var in $ac_precious_vars; do
1515 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1516 eval ac_env_${ac_var}_value=\$${ac_var}
1517 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1518 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1522 # Report the --help message.
1524 if test "$ac_init_help" = "long"; then
1525 # Omit some internal or obsolete options to make the list less imposing.
1526 # This message is too long to be a string in the A/UX 3.1 sh.
1528 \`configure' configures geeqie 1.5 to adapt to many kinds of systems.
1530 Usage: $0 [OPTION]... [VAR=VALUE]...
1532 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1533 VAR=VALUE. See below for descriptions of some of the useful variables.
1535 Defaults for the options are specified in brackets.
1538 -h, --help display this help and exit
1539 --help=short display options specific to this package
1540 --help=recursive display the short help of all the included packages
1541 -V, --version display version information and exit
1542 -q, --quiet, --silent do not print \`checking ...' messages
1543 --cache-file=FILE cache test results in FILE [disabled]
1544 -C, --config-cache alias for \`--cache-file=config.cache'
1545 -n, --no-create do not create output files
1546 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1548 Installation directories:
1549 --prefix=PREFIX install architecture-independent files in PREFIX
1550 [$ac_default_prefix]
1551 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1554 By default, \`make install' will install all the files in
1555 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1556 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1557 for instance \`--prefix=\$HOME'.
1559 For better control, use the options below.
1561 Fine tuning of the installation directories:
1562 --bindir=DIR user executables [EPREFIX/bin]
1563 --sbindir=DIR system admin executables [EPREFIX/sbin]
1564 --libexecdir=DIR program executables [EPREFIX/libexec]
1565 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1566 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1567 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1568 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1569 --libdir=DIR object code libraries [EPREFIX/lib]
1570 --includedir=DIR C header files [PREFIX/include]
1571 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1572 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1573 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1574 --infodir=DIR info documentation [DATAROOTDIR/info]
1575 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1576 --mandir=DIR man documentation [DATAROOTDIR/man]
1577 --docdir=DIR documentation root [DATAROOTDIR/doc/geeqie]
1578 --htmldir=DIR html documentation [DOCDIR]
1579 --dvidir=DIR dvi documentation [DOCDIR]
1580 --pdfdir=DIR pdf documentation [DOCDIR]
1581 --psdir=DIR ps documentation [DOCDIR]
1587 --program-prefix=PREFIX prepend PREFIX to installed program names
1588 --program-suffix=SUFFIX append SUFFIX to installed program names
1589 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1593 if test -n "$ac_init_help"; then
1594 case $ac_init_help in
1595 short | recursive ) echo "Configuration of geeqie 1.5:";;
1600 --disable-option-checking ignore unrecognized --enable/--with options
1601 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1602 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1603 --enable-silent-rules less verbose build output (undo: "make V=1")
1604 --disable-silent-rules verbose build output (undo: "make V=0")
1605 --enable-maintainer-mode
1606 enable make rules and dependencies not useful (and
1607 sometimes confusing) to the casual installer
1609 Development options:
1610 --enable-developer turn on developers mode [default=no]
1611 --disable-doxygen-doc don't generate any doxygen documentation
1612 --disable-doxygen-dot don't generate graphics for doxygen documentation
1613 --enable-doxygen-man generate doxygen manual pages
1614 --enable-doxygen-rtf generate doxygen RTF documentation
1615 --enable-doxygen-xml generate doxygen XML documentation
1616 --enable-doxygen-chm generate doxygen compressed HTML help documentation
1617 --enable-doxygen-chi generate doxygen seperate compressed HTML help index
1619 --disable-doxygen-html don't generate doxygen plain HTML documentation
1620 --enable-doxygen-ps generate doxygen PostScript documentation
1621 --enable-doxygen-pdf generate doxygen PDF documentation
1623 Development options:
1624 --enable-debug-flags use compiler flags for debugging [default=no]
1626 Development options:
1627 --enable-debug-log enable debugging messages [default=yes]
1629 --enable-deprecated turn off checking of deprecated functions
1631 --enable-dependency-tracking
1632 do not reject slow dependency extractors
1633 --disable-dependency-tracking
1634 speeds up one-time build
1635 --disable-largefile omit support for large files
1636 --disable-nls do not use Native Language Support
1637 --disable-glibtest do not try to compile and run a test GLIB program
1638 --enable-gtk3 use gtk3 instead of gtk2
1639 --disable-gtktest do not try to compile and run a test GTK+ program
1640 --disable-threads disable thread support
1641 --disable-lirc disable lirc support (auto)
1642 --disable-lcms disable lcms support
1643 --disable-jpeg disable direct jpeg support
1644 --disable-tiff disable direct tiff support
1645 --disable-ffmpegthumbnailer
1646 disable ffmpegthumbnailer support for generating
1647 thumbnails of video files
1648 --disable-exiv2 disable exiv2 support
1649 --disable-map disable map support
1650 --disable-gpu-accel disable GPU acceleration support - experimental
1651 --disable-lua disable lua support
1652 --disable-pdf disable pdf support
1655 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1656 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1657 --with-readmedir=DIR install path for readme files
1658 --with-htmldir=DIR install path for html files
1659 --with-lirc-prefix=PATH Prefix where LIRC is installed
1661 Some influential environment variables:
1663 a4wide (default), a4, letter, legal or executive
1664 CC C compiler command
1665 CFLAGS C compiler flags
1666 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1667 nonstandard directory <lib dir>
1668 LIBS libraries to pass to the linker, e.g. -l<library>
1669 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1670 you have headers in a nonstandard directory <include dir>
1671 CXX C++ compiler command
1672 CXXFLAGS C++ compiler flags
1674 PKG_CONFIG path to pkg-config utility
1676 directories to add to pkg-config's search path
1678 path overriding pkg-config's built-in search path
1679 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1680 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1682 value of glib_genmarshal for glib-2.0, overriding pkg-config
1684 value of gobject_query for glib-2.0, overriding pkg-config
1686 value of glib_mkenums for glib-2.0, overriding pkg-config
1687 GLIB_COMPILE_RESOURCES
1688 value of glib_compile_resources for gio-2.0, overriding
1691 C compiler flags for GTHREAD, overriding pkg-config
1693 linker flags for GTHREAD, overriding pkg-config
1694 LCMS_CFLAGS C compiler flags for LCMS, overriding pkg-config
1695 LCMS_LIBS linker flags for LCMS, overriding pkg-config
1696 FFMPEGTHUMBNAILER_CFLAGS
1697 C compiler flags for FFMPEGTHUMBNAILER, overriding pkg-config
1698 FFMPEGTHUMBNAILER_LIBS
1699 linker flags for FFMPEGTHUMBNAILER, overriding pkg-config
1701 C compiler flags for EXIV2, overriding pkg-config
1702 EXIV2_LIBS linker flags for EXIV2, overriding pkg-config
1704 C compiler flags for CLUTTER, overriding pkg-config
1706 linker flags for CLUTTER, overriding pkg-config
1708 C compiler flags for CLUTTER_GTK, overriding pkg-config
1710 linker flags for CLUTTER_GTK, overriding pkg-config
1712 C compiler flags for LIBCHAMPLAIN, overriding pkg-config
1714 linker flags for LIBCHAMPLAIN, overriding pkg-config
1715 LIBCHAMPLAIN_GTK_CFLAGS
1716 C compiler flags for LIBCHAMPLAIN_GTK, overriding pkg-config
1717 LIBCHAMPLAIN_GTK_LIBS
1718 linker flags for LIBCHAMPLAIN_GTK, overriding pkg-config
1719 LUA_CFLAGS C compiler flags for LUA, overriding pkg-config
1720 LUA_LIBS linker flags for LUA, overriding pkg-config
1721 PDF_CFLAGS C compiler flags for PDF, overriding pkg-config
1722 PDF_LIBS linker flags for PDF, overriding pkg-config
1724 Use these variables to override the choices made by `configure' or to help
1725 it to find libraries and programs with nonstandard names/locations.
1727 Report bugs to <https://github.com/BestImageViewer/geeqie/issues>.
1728 geeqie home page: <http://www.geeqie.org/>.
1733 if test "$ac_init_help" = "recursive"; then
1734 # If there are subdirs, report their specific --help.
1735 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1736 test -d "$ac_dir" ||
1737 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1742 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1744 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1745 # A ".." for each directory in $ac_dir_suffix.
1746 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1747 case $ac_top_builddir_sub in
1748 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1749 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1752 ac_abs_top_builddir=$ac_pwd
1753 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1754 # for backward compatibility:
1755 ac_top_builddir=$ac_top_build_prefix
1758 .) # We are building in place.
1760 ac_top_srcdir=$ac_top_builddir_sub
1761 ac_abs_top_srcdir=$ac_pwd ;;
1762 [\\/]* | ?:[\\/]* ) # Absolute name.
1763 ac_srcdir=$srcdir$ac_dir_suffix;
1764 ac_top_srcdir=$srcdir
1765 ac_abs_top_srcdir=$srcdir ;;
1767 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1768 ac_top_srcdir=$ac_top_build_prefix$srcdir
1769 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1771 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1773 cd "$ac_dir" || { ac_status=$?; continue; }
1774 # Check for guested configure.
1775 if test -f "$ac_srcdir/configure.gnu"; then
1777 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1778 elif test -f "$ac_srcdir/configure"; then
1780 $SHELL "$ac_srcdir/configure" --help=recursive
1782 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1784 cd "$ac_pwd" || { ac_status=$?; break; }
1788 test -n "$ac_init_help" && exit $ac_status
1789 if $ac_init_version; then
1791 geeqie configure 1.5
1792 generated by GNU Autoconf 2.69
1794 Copyright (C) 2012 Free Software Foundation, Inc.
1795 This configure script is free software; the Free Software Foundation
1796 gives unlimited permission to copy, distribute and modify it.
1801 ## ------------------------ ##
1802 ## Autoconf initialization. ##
1803 ## ------------------------ ##
1805 # ac_fn_c_try_compile LINENO
1806 # --------------------------
1807 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1808 ac_fn_c_try_compile ()
1810 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1811 rm -f conftest.$ac_objext
1812 if { { ac_try="$ac_compile"
1814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1815 *) ac_try_echo=$ac_try;;
1817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1818 $as_echo "$ac_try_echo"; } >&5
1819 (eval "$ac_compile") 2>conftest.err
1821 if test -s conftest.err; then
1822 grep -v '^ *+' conftest.err >conftest.er1
1823 cat conftest.er1 >&5
1824 mv -f conftest.er1 conftest.err
1826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1827 test $ac_status = 0; } && {
1828 test -z "$ac_c_werror_flag" ||
1829 test ! -s conftest.err
1830 } && test -s conftest.$ac_objext; then :
1833 $as_echo "$as_me: failed program was:" >&5
1834 sed 's/^/| /' conftest.$ac_ext >&5
1838 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1839 as_fn_set_status $ac_retval
1841 } # ac_fn_c_try_compile
1843 # ac_fn_c_try_link LINENO
1844 # -----------------------
1845 # Try to link conftest.$ac_ext, and return whether this succeeded.
1848 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1849 rm -f conftest.$ac_objext conftest$ac_exeext
1850 if { { ac_try="$ac_link"
1852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1853 *) ac_try_echo=$ac_try;;
1855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1856 $as_echo "$ac_try_echo"; } >&5
1857 (eval "$ac_link") 2>conftest.err
1859 if test -s conftest.err; then
1860 grep -v '^ *+' conftest.err >conftest.er1
1861 cat conftest.er1 >&5
1862 mv -f conftest.er1 conftest.err
1864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1865 test $ac_status = 0; } && {
1866 test -z "$ac_c_werror_flag" ||
1867 test ! -s conftest.err
1868 } && test -s conftest$ac_exeext && {
1869 test "$cross_compiling" = yes ||
1870 test -x conftest$ac_exeext
1874 $as_echo "$as_me: failed program was:" >&5
1875 sed 's/^/| /' conftest.$ac_ext >&5
1879 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1880 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1881 # interfere with the next link command; also delete a directory that is
1882 # left behind by Apple's compiler. We do this before executing the actions.
1883 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1884 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1885 as_fn_set_status $ac_retval
1887 } # ac_fn_c_try_link
1889 # ac_fn_cxx_try_compile LINENO
1890 # ----------------------------
1891 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1892 ac_fn_cxx_try_compile ()
1894 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1895 rm -f conftest.$ac_objext
1896 if { { ac_try="$ac_compile"
1898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1899 *) ac_try_echo=$ac_try;;
1901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1902 $as_echo "$ac_try_echo"; } >&5
1903 (eval "$ac_compile") 2>conftest.err
1905 if test -s conftest.err; then
1906 grep -v '^ *+' conftest.err >conftest.er1
1907 cat conftest.er1 >&5
1908 mv -f conftest.er1 conftest.err
1910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1911 test $ac_status = 0; } && {
1912 test -z "$ac_cxx_werror_flag" ||
1913 test ! -s conftest.err
1914 } && test -s conftest.$ac_objext; then :
1917 $as_echo "$as_me: failed program was:" >&5
1918 sed 's/^/| /' conftest.$ac_ext >&5
1922 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1923 as_fn_set_status $ac_retval
1925 } # ac_fn_cxx_try_compile
1927 # ac_fn_c_try_cpp LINENO
1928 # ----------------------
1929 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1932 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1933 if { { ac_try="$ac_cpp conftest.$ac_ext"
1935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1936 *) ac_try_echo=$ac_try;;
1938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1939 $as_echo "$ac_try_echo"; } >&5
1940 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1942 if test -s conftest.err; then
1943 grep -v '^ *+' conftest.err >conftest.er1
1944 cat conftest.er1 >&5
1945 mv -f conftest.er1 conftest.err
1947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1948 test $ac_status = 0; } > conftest.i && {
1949 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1950 test ! -s conftest.err
1954 $as_echo "$as_me: failed program was:" >&5
1955 sed 's/^/| /' conftest.$ac_ext >&5
1959 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1960 as_fn_set_status $ac_retval
1964 # ac_fn_c_try_run LINENO
1965 # ----------------------
1966 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1967 # that executables *can* be run.
1970 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1971 if { { ac_try="$ac_link"
1973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1974 *) ac_try_echo=$ac_try;;
1976 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1977 $as_echo "$ac_try_echo"; } >&5
1978 (eval "$ac_link") 2>&5
1980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1981 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1982 { { case "(($ac_try" in
1983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1984 *) ac_try_echo=$ac_try;;
1986 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1987 $as_echo "$ac_try_echo"; } >&5
1988 (eval "$ac_try") 2>&5
1990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1991 test $ac_status = 0; }; }; then :
1994 $as_echo "$as_me: program exited with status $ac_status" >&5
1995 $as_echo "$as_me: failed program was:" >&5
1996 sed 's/^/| /' conftest.$ac_ext >&5
1998 ac_retval=$ac_status
2000 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2001 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2002 as_fn_set_status $ac_retval
2006 # ac_fn_c_check_func LINENO FUNC VAR
2007 # ----------------------------------
2008 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2009 ac_fn_c_check_func ()
2011 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2013 $as_echo_n "checking for $2... " >&6; }
2014 if eval \${$3+:} false; then :
2015 $as_echo_n "(cached) " >&6
2017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2018 /* end confdefs.h. */
2019 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2021 #define $2 innocuous_$2
2023 /* System header to define __stub macros and hopefully few prototypes,
2024 which can conflict with char $2 (); below.
2025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2026 <limits.h> exists even on freestanding compilers. */
2029 # include <limits.h>
2031 # include <assert.h>
2036 /* Override any GCC internal prototype to avoid an error.
2037 Use char because int might match the return type of a GCC
2038 builtin and then its argument prototype would still apply. */
2043 /* The GNU C library defines this for functions which it implements
2044 to always fail with ENOSYS. Some functions are actually named
2045 something starting with __ and the normal name is an alias. */
2046 #if defined __stub_$2 || defined __stub___$2
2058 if ac_fn_c_try_link "$LINENO"; then :
2063 rm -f core conftest.err conftest.$ac_objext \
2064 conftest$ac_exeext conftest.$ac_ext
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2068 $as_echo "$ac_res" >&6; }
2069 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2071 } # ac_fn_c_check_func
2073 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2074 # -------------------------------------------------------
2075 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2076 # the include files in INCLUDES and setting the cache variable VAR
2078 ac_fn_c_check_header_mongrel ()
2080 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2081 if eval \${$3+:} false; then :
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2083 $as_echo_n "checking for $2... " >&6; }
2084 if eval \${$3+:} false; then :
2085 $as_echo_n "(cached) " >&6
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2089 $as_echo "$ac_res" >&6; }
2091 # Is the header compilable?
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2093 $as_echo_n "checking $2 usability... " >&6; }
2094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2095 /* end confdefs.h. */
2099 if ac_fn_c_try_compile "$LINENO"; then :
2100 ac_header_compiler=yes
2102 ac_header_compiler=no
2104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2106 $as_echo "$ac_header_compiler" >&6; }
2108 # Is the header present?
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2110 $as_echo_n "checking $2 presence... " >&6; }
2111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2112 /* end confdefs.h. */
2115 if ac_fn_c_try_cpp "$LINENO"; then :
2116 ac_header_preproc=yes
2118 ac_header_preproc=no
2120 rm -f conftest.err conftest.i conftest.$ac_ext
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2122 $as_echo "$ac_header_preproc" >&6; }
2124 # So? What about this header?
2125 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2128 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2130 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2134 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2136 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2138 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2140 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2142 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2143 ( $as_echo "## --------------------------------------------------------------- ##
2144 ## Report this to https://github.com/BestImageViewer/geeqie/issues ##
2145 ## --------------------------------------------------------------- ##"
2146 ) | sed "s/^/$as_me: WARNING: /" >&2
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2150 $as_echo_n "checking for $2... " >&6; }
2151 if eval \${$3+:} false; then :
2152 $as_echo_n "(cached) " >&6
2154 eval "$3=\$ac_header_compiler"
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2158 $as_echo "$ac_res" >&6; }
2160 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2162 } # ac_fn_c_check_header_mongrel
2164 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2165 # -------------------------------------------------------
2166 # Tests whether HEADER exists and can be compiled using the include files in
2167 # INCLUDES, setting the cache variable VAR accordingly.
2168 ac_fn_c_check_header_compile ()
2170 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2172 $as_echo_n "checking for $2... " >&6; }
2173 if eval \${$3+:} false; then :
2174 $as_echo_n "(cached) " >&6
2176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2177 /* end confdefs.h. */
2181 if ac_fn_c_try_compile "$LINENO"; then :
2186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2190 $as_echo "$ac_res" >&6; }
2191 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2193 } # ac_fn_c_check_header_compile
2195 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2196 # ----------------------------------------------------
2197 # Tries to find if the field MEMBER exists in type AGGR, after including
2198 # INCLUDES, setting cache variable VAR accordingly.
2199 ac_fn_c_check_member ()
2201 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2203 $as_echo_n "checking for $2.$3... " >&6; }
2204 if eval \${$4+:} false; then :
2205 $as_echo_n "(cached) " >&6
2207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2208 /* end confdefs.h. */
2220 if ac_fn_c_try_compile "$LINENO"; then :
2223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2224 /* end confdefs.h. */
2230 if (sizeof ac_aggr.$3)
2236 if ac_fn_c_try_compile "$LINENO"; then :
2241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2247 $as_echo "$ac_res" >&6; }
2248 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2250 } # ac_fn_c_check_member
2251 cat >config.log <<_ACEOF
2252 This file contains any messages produced by compilers while
2253 running configure, to aid debugging if configure makes a mistake.
2255 It was created by geeqie $as_me 1.5, which was
2256 generated by GNU Autoconf 2.69. Invocation command line was
2268 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2269 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2270 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2271 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2272 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2274 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2275 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2277 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2278 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2279 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2280 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2281 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2282 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2283 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2291 test -z "$as_dir" && as_dir=.
2292 $as_echo "PATH: $as_dir"
2308 # Keep a trace of the command line.
2309 # Strip out --no-create and --no-recursion so they do not pile up.
2310 # Strip out --silent because we don't want to record it for future runs.
2311 # Also quote any args containing shell meta-characters.
2312 # Make two passes to allow for proper duplicate-argument suppression.
2316 ac_must_keep_next=false
2322 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2323 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2324 | -silent | --silent | --silen | --sile | --sil)
2327 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2330 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2332 as_fn_append ac_configure_args1 " '$ac_arg'"
2333 if test $ac_must_keep_next = true; then
2334 ac_must_keep_next=false # Got value, back to normal.
2337 *=* | --config-cache | -C | -disable-* | --disable-* \
2338 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2339 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2340 | -with-* | --with-* | -without-* | --without-* | --x)
2341 case "$ac_configure_args0 " in
2342 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2345 -* ) ac_must_keep_next=true ;;
2348 as_fn_append ac_configure_args " '$ac_arg'"
2353 { ac_configure_args0=; unset ac_configure_args0;}
2354 { ac_configure_args1=; unset ac_configure_args1;}
2356 # When interrupted or exit'd, cleanup temporary files, and complete
2357 # config.log. We remove comments because anyway the quotes in there
2358 # would cause problems or look ugly.
2359 # WARNING: Use '\'' to represent an apostrophe within the trap.
2360 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2361 trap 'exit_status=$?
2362 # Save into config.log some information that might help in debugging.
2366 $as_echo "## ---------------- ##
2367 ## Cache variables. ##
2368 ## ---------------- ##"
2370 # The following way of writing the cache mishandles newlines in values,
2372 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2373 eval ac_val=\$$ac_var
2377 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2378 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2381 _ | IFS | as_nl) ;; #(
2382 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2383 *) { eval $ac_var=; unset $ac_var;} ;;
2388 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2389 *${as_nl}ac_space=\ *)
2391 "s/'\''/'\''\\\\'\'''\''/g;
2392 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2395 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2402 $as_echo "## ----------------- ##
2403 ## Output variables. ##
2404 ## ----------------- ##"
2406 for ac_var in $ac_subst_vars
2408 eval ac_val=\$$ac_var
2410 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2412 $as_echo "$ac_var='\''$ac_val'\''"
2416 if test -n "$ac_subst_files"; then
2417 $as_echo "## ------------------- ##
2418 ## File substitutions. ##
2419 ## ------------------- ##"
2421 for ac_var in $ac_subst_files
2423 eval ac_val=\$$ac_var
2425 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2427 $as_echo "$ac_var='\''$ac_val'\''"
2432 if test -s confdefs.h; then
2433 $as_echo "## ----------- ##
2440 test "$ac_signal" != 0 &&
2441 $as_echo "$as_me: caught signal $ac_signal"
2442 $as_echo "$as_me: exit $exit_status"
2444 rm -f core *.core core.conftest.* &&
2445 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2448 for ac_signal in 1 2 13 15; do
2449 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2453 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2454 rm -f -r conftest* confdefs.h
2456 $as_echo "/* confdefs.h */" > confdefs.h
2458 # Predefined preprocessor variables.
2460 cat >>confdefs.h <<_ACEOF
2461 #define PACKAGE_NAME "$PACKAGE_NAME"
2464 cat >>confdefs.h <<_ACEOF
2465 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2468 cat >>confdefs.h <<_ACEOF
2469 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2472 cat >>confdefs.h <<_ACEOF
2473 #define PACKAGE_STRING "$PACKAGE_STRING"
2476 cat >>confdefs.h <<_ACEOF
2477 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2480 cat >>confdefs.h <<_ACEOF
2481 #define PACKAGE_URL "$PACKAGE_URL"
2485 # Let the site file select an alternate cache file if it wants to.
2486 # Prefer an explicitly selected file to automatically selected ones.
2489 if test -n "$CONFIG_SITE"; then
2490 # We do not want a PATH search for config.site.
2491 case $CONFIG_SITE in #((
2492 -*) ac_site_file1=./$CONFIG_SITE;;
2493 */*) ac_site_file1=$CONFIG_SITE;;
2494 *) ac_site_file1=./$CONFIG_SITE;;
2496 elif test "x$prefix" != xNONE; then
2497 ac_site_file1=$prefix/share/config.site
2498 ac_site_file2=$prefix/etc/config.site
2500 ac_site_file1=$ac_default_prefix/share/config.site
2501 ac_site_file2=$ac_default_prefix/etc/config.site
2503 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2505 test "x$ac_site_file" = xNONE && continue
2506 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2508 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2509 sed 's/^/| /' "$ac_site_file" >&5
2511 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2512 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2513 as_fn_error $? "failed to load site script $ac_site_file
2514 See \`config.log' for more details" "$LINENO" 5; }
2518 if test -r "$cache_file"; then
2519 # Some versions of bash will fail to source /dev/null (special files
2520 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2521 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2523 $as_echo "$as_me: loading cache $cache_file" >&6;}
2525 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2526 *) . "./$cache_file";;
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2531 $as_echo "$as_me: creating cache $cache_file" >&6;}
2535 # Check that the precious variables saved in the cache have kept the same
2537 ac_cache_corrupted=false
2538 for ac_var in $ac_precious_vars; do
2539 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2540 eval ac_new_set=\$ac_env_${ac_var}_set
2541 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2542 eval ac_new_val=\$ac_env_${ac_var}_value
2543 case $ac_old_set,$ac_new_set in
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2546 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2547 ac_cache_corrupted=: ;;
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2550 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2551 ac_cache_corrupted=: ;;
2554 if test "x$ac_old_val" != "x$ac_new_val"; then
2555 # differences in whitespace do not lead to failure.
2556 ac_old_val_w=`echo x $ac_old_val`
2557 ac_new_val_w=`echo x $ac_new_val`
2558 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2560 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2561 ac_cache_corrupted=:
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2564 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2565 eval $ac_var=\$ac_old_val
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2568 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2570 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2573 # Pass precious variables to config.status.
2574 if test "$ac_new_set" = set; then
2576 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2577 *) ac_arg=$ac_var=$ac_new_val ;;
2579 case " $ac_configure_args " in
2580 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2581 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2585 if $ac_cache_corrupted; then
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2587 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2589 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2590 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2592 ## -------------------- ##
2593 ## Main body of script. ##
2594 ## -------------------- ##
2597 ac_cpp='$CPP $CPPFLAGS'
2598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2604 # Add -Werror to the default CFLAGS
2605 CFLAGS+=" -Werror -Wno-error=deprecated-declarations -Wno-error=sign-compare -Wno-error=return-type"
2607 # Check for rightly dirs
2611 for ac_dir in auxdir "$srcdir"/auxdir; do
2612 if test -f "$ac_dir/install-sh"; then
2614 ac_install_sh="$ac_aux_dir/install-sh -c"
2616 elif test -f "$ac_dir/install.sh"; then
2618 ac_install_sh="$ac_aux_dir/install.sh -c"
2620 elif test -f "$ac_dir/shtool"; then
2622 ac_install_sh="$ac_aux_dir/shtool install -c"
2626 if test -z "$ac_aux_dir"; then
2627 as_fn_error $? "cannot find install-sh, install.sh, or shtool in auxdir \"$srcdir\"/auxdir" "$LINENO" 5
2630 # These three variables are undocumented and unsupported,
2631 # and are intended to be withdrawn in a future Autoconf release.
2632 # They can cause serious problems if a builder's source tree is in a directory
2633 # whose full name contains unusual characters.
2634 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2635 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2636 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2639 # Require Automake 1.14 for %reldir% support
2640 am__api_version='1.16'
2642 # Find a good install program. We prefer a C program (faster),
2643 # so one script is as good as another. But avoid the broken or
2644 # incompatible versions:
2645 # SysV /etc/install, /usr/sbin/install
2646 # SunOS /usr/etc/install
2647 # IRIX /sbin/install
2649 # AmigaOS /C/install, which installs bootblocks on floppy discs
2650 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2651 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2652 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2653 # OS/2's system install, which has a completely different semantic
2654 # ./install, which can be erroneously created by make from ./install.sh.
2655 # Reject install programs that cannot install multiple files.
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2657 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2658 if test -z "$INSTALL"; then
2659 if ${ac_cv_path_install+:} false; then :
2660 $as_echo_n "(cached) " >&6
2662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2666 test -z "$as_dir" && as_dir=.
2667 # Account for people who put trailing slashes in PATH elements.
2668 case $as_dir/ in #((
2669 ./ | .// | /[cC]/* | \
2670 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2671 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2674 # OSF1 and SCO ODT 3.0 have their own names for install.
2675 # Don't use installbsd from OSF since it installs stuff as root
2677 for ac_prog in ginstall scoinst install; do
2678 for ac_exec_ext in '' $ac_executable_extensions; do
2679 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2680 if test $ac_prog = install &&
2681 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2682 # AIX install. It has an incompatible calling convention.
2684 elif test $ac_prog = install &&
2685 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2686 # program-specific install script used by HP pwplus--don't use.
2689 rm -rf conftest.one conftest.two conftest.dir
2690 echo one > conftest.one
2691 echo two > conftest.two
2693 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2694 test -s conftest.one && test -s conftest.two &&
2695 test -s conftest.dir/conftest.one &&
2696 test -s conftest.dir/conftest.two
2698 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2711 rm -rf conftest.one conftest.two conftest.dir
2714 if test "${ac_cv_path_install+set}" = set; then
2715 INSTALL=$ac_cv_path_install
2717 # As a last resort, use the slow shell script. Don't cache a
2718 # value for INSTALL within a source directory, because that will
2719 # break other packages using the cache if that directory is
2720 # removed, or if the value is a relative name.
2721 INSTALL=$ac_install_sh
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2725 $as_echo "$INSTALL" >&6; }
2727 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2728 # It thinks the first close brace ends the variable substitution.
2729 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2731 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2733 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2736 $as_echo_n "checking whether build environment is sane... " >&6; }
2737 # Reject unsafe characters in $srcdir or the absolute working directory
2738 # name. Accept space and tab only in the latter.
2742 *[\\\"\#\$\&\'\`$am_lf]*)
2743 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2746 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2747 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2750 # Do 'set' in a subshell so we don't clobber the current shell's
2751 # arguments. Must try -L first in case configure is actually a
2752 # symlink; some systems play weird games with the mod time of symlinks
2753 # (eg FreeBSD returns the mod time of the symlink's containing
2757 for am_try in 1 2; do
2758 echo "timestamp, slept: $am_has_slept" > conftest.file
2759 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2760 if test "$*" = "X"; then
2762 set X `ls -t "$srcdir/configure" conftest.file`
2764 if test "$*" != "X $srcdir/configure conftest.file" \
2765 && test "$*" != "X conftest.file $srcdir/configure"; then
2767 # If neither matched, then we have a broken ls. This can happen
2768 # if, for instance, CONFIG_SHELL is bash and it inherits a
2769 # broken ls alias from the environment. This has actually
2770 # happened. Such a system could not be considered "sane".
2771 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2772 alias in your environment" "$LINENO" 5
2774 if test "$2" = conftest.file || test $am_try -eq 2; then
2781 test "$2" = conftest.file
2787 as_fn_error $? "newly created file is older than distributed files!
2788 Check your system clock" "$LINENO" 5
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2791 $as_echo "yes" >&6; }
2792 # If we didn't sleep, we still need to ensure time stamps of config.status and
2793 # generated files are strictly newer.
2795 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2802 test "$program_prefix" != NONE &&
2803 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2804 # Use a double $ so make ignores it.
2805 test "$program_suffix" != NONE &&
2806 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2807 # Double any \ or $.
2808 # By default was `s,x,x', remove it if useless.
2809 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2810 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2812 # Expand $ac_aux_dir to an absolute path.
2813 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2815 if test x"${MISSING+set}" != xset; then
2818 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2820 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2823 # Use eval to expand $SHELL
2824 if eval "$MISSING --is-lightweight"; then
2825 am_missing_run="$MISSING "
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2829 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2832 if test x"${install_sh+set}" != xset; then
2835 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2837 install_sh="\${SHELL} $am_aux_dir/install-sh"
2841 # Installed binaries are usually stripped using 'strip' when the user
2842 # run "make install-strip". However 'strip' might not be the right
2843 # tool to use in cross-compilation environments, therefore Automake
2844 # will honor the 'STRIP' environment variable to overrule this program.
2845 if test "$cross_compiling" != no; then
2846 if test -n "$ac_tool_prefix"; then
2847 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2848 set dummy ${ac_tool_prefix}strip; ac_word=$2
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2850 $as_echo_n "checking for $ac_word... " >&6; }
2851 if ${ac_cv_prog_STRIP+:} false; then :
2852 $as_echo_n "(cached) " >&6
2854 if test -n "$STRIP"; then
2855 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2861 test -z "$as_dir" && as_dir=.
2862 for ac_exec_ext in '' $ac_executable_extensions; do
2863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2864 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2874 STRIP=$ac_cv_prog_STRIP
2875 if test -n "$STRIP"; then
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2877 $as_echo "$STRIP" >&6; }
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2880 $as_echo "no" >&6; }
2885 if test -z "$ac_cv_prog_STRIP"; then
2887 # Extract the first word of "strip", so it can be a program name with args.
2888 set dummy strip; ac_word=$2
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2890 $as_echo_n "checking for $ac_word... " >&6; }
2891 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2892 $as_echo_n "(cached) " >&6
2894 if test -n "$ac_ct_STRIP"; then
2895 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2901 test -z "$as_dir" && as_dir=.
2902 for ac_exec_ext in '' $ac_executable_extensions; do
2903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2904 ac_cv_prog_ac_ct_STRIP="strip"
2905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2914 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2915 if test -n "$ac_ct_STRIP"; then
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2917 $as_echo "$ac_ct_STRIP" >&6; }
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2920 $as_echo "no" >&6; }
2923 if test "x$ac_ct_STRIP" = x; then
2926 case $cross_compiling:$ac_tool_warned in
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2929 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2930 ac_tool_warned=yes ;;
2935 STRIP="$ac_cv_prog_STRIP"
2939 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2942 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2943 if test -z "$MKDIR_P"; then
2944 if ${ac_cv_path_mkdir+:} false; then :
2945 $as_echo_n "(cached) " >&6
2947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2948 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2951 test -z "$as_dir" && as_dir=.
2952 for ac_prog in mkdir gmkdir; do
2953 for ac_exec_ext in '' $ac_executable_extensions; do
2954 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2955 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2956 'mkdir (GNU coreutils) '* | \
2957 'mkdir (coreutils) '* | \
2958 'mkdir (fileutils) '4.1*)
2959 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2969 test -d ./--version && rmdir ./--version
2970 if test "${ac_cv_path_mkdir+set}" = set; then
2971 MKDIR_P="$ac_cv_path_mkdir -p"
2973 # As a last resort, use the slow shell script. Don't cache a
2974 # value for MKDIR_P within a source directory, because that will
2975 # break other packages using the cache if that directory is
2976 # removed, or if the value is a relative name.
2977 MKDIR_P="$ac_install_sh -d"
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2981 $as_echo "$MKDIR_P" >&6; }
2983 for ac_prog in gawk mawk nawk awk
2985 # Extract the first word of "$ac_prog", so it can be a program name with args.
2986 set dummy $ac_prog; ac_word=$2
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2988 $as_echo_n "checking for $ac_word... " >&6; }
2989 if ${ac_cv_prog_AWK+:} false; then :
2990 $as_echo_n "(cached) " >&6
2992 if test -n "$AWK"; then
2993 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2999 test -z "$as_dir" && as_dir=.
3000 for ac_exec_ext in '' $ac_executable_extensions; do
3001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3002 ac_cv_prog_AWK="$ac_prog"
3003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3013 if test -n "$AWK"; then
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3015 $as_echo "$AWK" >&6; }
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3018 $as_echo "no" >&6; }
3022 test -n "$AWK" && break
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3026 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3028 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3029 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3030 $as_echo_n "(cached) " >&6
3032 cat >conftest.make <<\_ACEOF
3035 @echo '@@@%%%=$(MAKE)=@@@%%%'
3037 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3038 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3040 eval ac_cv_prog_make_${ac_make}_set=yes;;
3042 eval ac_cv_prog_make_${ac_make}_set=no;;
3046 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3048 $as_echo "yes" >&6; }
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3052 $as_echo "no" >&6; }
3053 SET_MAKE="MAKE=${MAKE-make}"
3056 rm -rf .tst 2>/dev/null
3057 mkdir .tst 2>/dev/null
3058 if test -d .tst; then
3063 rmdir .tst 2>/dev/null
3065 # Check whether --enable-silent-rules was given.
3066 if test "${enable_silent_rules+set}" = set; then :
3067 enableval=$enable_silent_rules;
3070 case $enable_silent_rules in # (((
3071 yes) AM_DEFAULT_VERBOSITY=0;;
3072 no) AM_DEFAULT_VERBOSITY=1;;
3073 *) AM_DEFAULT_VERBOSITY=1;;
3075 am_make=${MAKE-make}
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3077 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3078 if ${am_cv_make_support_nested_variables+:} false; then :
3079 $as_echo_n "(cached) " >&6
3081 if $as_echo 'TRUE=$(BAR$(V))
3087 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3088 am_cv_make_support_nested_variables=yes
3090 am_cv_make_support_nested_variables=no
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3094 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3095 if test $am_cv_make_support_nested_variables = yes; then
3097 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3099 AM_V=$AM_DEFAULT_VERBOSITY
3100 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3104 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3105 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3106 # is not polluted with repeated "-I."
3107 am__isrc=' -I$(srcdir)'
3108 # test to see if srcdir already configured
3109 if test -f $srcdir/config.status; then
3110 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3114 # test whether we have cygpath
3115 if test -z "$CYGPATH_W"; then
3116 if (cygpath --version) >/dev/null 2>/dev/null; then
3117 CYGPATH_W='cygpath -w'
3124 # Define the identity of the package.
3129 cat >>confdefs.h <<_ACEOF
3130 #define PACKAGE "$PACKAGE"
3134 cat >>confdefs.h <<_ACEOF
3135 #define VERSION "$VERSION"
3138 # Some tools Automake needs.
3140 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3143 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3146 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3149 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3152 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3154 # For better backward compatibility. To be removed once Automake 1.9.x
3155 # dies out for good. For more background, see:
3156 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3157 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3158 mkdir_p='$(MKDIR_P)'
3160 # We need awk for the "check" target (and possibly the TAP driver). The
3161 # system "awk" is bad on some platforms.
3162 # Always define AMTAR for backward compatibility. Yes, it's still used
3163 # in the wild :-( We should find a proper way to deprecate it ...
3167 # We'll loop over all known methods to create a tar archive until one works.
3168 _am_tools='gnutar pax cpio none'
3170 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3177 # POSIX will say in a future version that running "rm -f" with no argument
3178 # is OK; and we want to be able to make that assumption in our Makefile
3179 # recipes. So use an aggressive probe to check that the usage we want is
3180 # actually supported "in the wild" to an acceptable degree.
3181 # See automake bug#10828.
3182 # To make any issue more visible, cause the running configure to be aborted
3183 # by default if the 'rm' program in use doesn't match our expectations; the
3184 # user can still override this though.
3185 if rm -f && rm -fr && rm -rf; then : OK; else
3189 Your 'rm' program seems unable to run without file operands specified
3190 on the command line, even when the '-f' option is present. This is contrary
3191 to the behaviour of most rm programs out there, and not conforming with
3192 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3194 Please tell bug-automake@gnu.org about your system, including the value
3195 of your $PATH and any error possibly output before this message. This
3196 can help us improve future automake versions.
3199 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3200 echo 'Configuration will proceed anyway, since you have set the' >&2
3201 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3205 Aborting the configuration process, to ensure you take notice of the issue.
3207 You can download and install GNU coreutils to get an 'rm' implementation
3208 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3210 If you want to complete the configuration process using your problematic
3211 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3212 to "yes", and re-run configure.
3215 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3220 ac_config_headers="$ac_config_headers config.h"
3223 # Only for developers
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3226 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3227 # Check whether --enable-maintainer-mode was given.
3228 if test "${enable_maintainer_mode+set}" = set; then :
3229 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3231 USE_MAINTAINER_MODE=no
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3235 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3236 if test $USE_MAINTAINER_MODE = yes; then
3237 MAINTAINER_MODE_TRUE=
3238 MAINTAINER_MODE_FALSE='#'
3240 MAINTAINER_MODE_TRUE='#'
3241 MAINTAINER_MODE_FALSE=
3244 MAINT=$MAINTAINER_MODE_TRUE
3248 # Silent build for automake >= 1.11
3249 # Check whether --enable-silent-rules was given.
3250 if test "${enable_silent_rules+set}" = set; then :
3251 enableval=$enable_silent_rules;
3254 case $enable_silent_rules in # (((
3255 yes) AM_DEFAULT_VERBOSITY=0;;
3256 no) AM_DEFAULT_VERBOSITY=1;;
3257 *) AM_DEFAULT_VERBOSITY=0;;
3259 am_make=${MAKE-make}
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3261 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3262 if ${am_cv_make_support_nested_variables+:} false; then :
3263 $as_echo_n "(cached) " >&6
3265 if $as_echo 'TRUE=$(BAR$(V))
3271 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3272 am_cv_make_support_nested_variables=yes
3274 am_cv_make_support_nested_variables=no
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3278 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3279 if test $am_cv_make_support_nested_variables = yes; then
3281 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3283 AM_V=$AM_DEFAULT_VERBOSITY
3284 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3289 # Check whether --enable-developer was given.
3290 if test "${enable_developer+set}" = set; then :
3291 enableval=$enable_developer;
3296 if test "x${enable_developer}" != "xyes"
3318 DX_PROJECT=$PACKAGE_NAME
3320 DX_CONFIG=doxygen.conf
3322 DX_DOCDIR=doc/doxygen
3325 # Environment variables used inside doxygen.cfg:
3326 DX_ENV="$DX_ENV SRCDIR='$srcdir'"
3328 DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
3330 DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
3332 DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
3340 # Check whether --enable-doxygen-doc was given.
3341 if test "${enable_doxygen_doc+set}" = set; then :
3342 enableval=$enable_doxygen_doc;
3343 case "$enableval" in
3355 as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
3367 if test "$DX_FLAG_doc" = 1; then
3369 if test -n "$ac_tool_prefix"; then
3370 # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
3371 set dummy ${ac_tool_prefix}doxygen; ac_word=$2
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3373 $as_echo_n "checking for $ac_word... " >&6; }
3374 if ${ac_cv_path_DX_DOXYGEN+:} false; then :
3375 $as_echo_n "(cached) " >&6
3379 ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
3382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3386 test -z "$as_dir" && as_dir=.
3387 for ac_exec_ext in '' $ac_executable_extensions; do
3388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3389 ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
3390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3400 DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
3401 if test -n "$DX_DOXYGEN"; then
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
3403 $as_echo "$DX_DOXYGEN" >&6; }
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3406 $as_echo "no" >&6; }
3411 if test -z "$ac_cv_path_DX_DOXYGEN"; then
3412 ac_pt_DX_DOXYGEN=$DX_DOXYGEN
3413 # Extract the first word of "doxygen", so it can be a program name with args.
3414 set dummy doxygen; ac_word=$2
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3416 $as_echo_n "checking for $ac_word... " >&6; }
3417 if ${ac_cv_path_ac_pt_DX_DOXYGEN+:} false; then :
3418 $as_echo_n "(cached) " >&6
3420 case $ac_pt_DX_DOXYGEN in
3422 ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
3425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3429 test -z "$as_dir" && as_dir=.
3430 for ac_exec_ext in '' $ac_executable_extensions; do
3431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3432 ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
3433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3443 ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
3444 if test -n "$ac_pt_DX_DOXYGEN"; then
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
3446 $as_echo "$ac_pt_DX_DOXYGEN" >&6; }
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3449 $as_echo "no" >&6; }
3452 if test "x$ac_pt_DX_DOXYGEN" = x; then
3455 case $cross_compiling:$ac_tool_warned in
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3459 ac_tool_warned=yes ;;
3461 DX_DOXYGEN=$ac_pt_DX_DOXYGEN
3464 DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
3467 if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
3469 $as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
3475 if test -n "$ac_tool_prefix"; then
3476 # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
3477 set dummy ${ac_tool_prefix}perl; ac_word=$2
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3479 $as_echo_n "checking for $ac_word... " >&6; }
3480 if ${ac_cv_path_DX_PERL+:} false; then :
3481 $as_echo_n "(cached) " >&6
3485 ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
3488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3492 test -z "$as_dir" && as_dir=.
3493 for ac_exec_ext in '' $ac_executable_extensions; do
3494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3495 ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
3496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3506 DX_PERL=$ac_cv_path_DX_PERL
3507 if test -n "$DX_PERL"; then
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
3509 $as_echo "$DX_PERL" >&6; }
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3512 $as_echo "no" >&6; }
3517 if test -z "$ac_cv_path_DX_PERL"; then
3518 ac_pt_DX_PERL=$DX_PERL
3519 # Extract the first word of "perl", so it can be a program name with args.
3520 set dummy perl; ac_word=$2
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3522 $as_echo_n "checking for $ac_word... " >&6; }
3523 if ${ac_cv_path_ac_pt_DX_PERL+:} false; then :
3524 $as_echo_n "(cached) " >&6
3526 case $ac_pt_DX_PERL in
3528 ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
3531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3535 test -z "$as_dir" && as_dir=.
3536 for ac_exec_ext in '' $ac_executable_extensions; do
3537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3538 ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
3539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3549 ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
3550 if test -n "$ac_pt_DX_PERL"; then
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
3552 $as_echo "$ac_pt_DX_PERL" >&6; }
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3555 $as_echo "no" >&6; }
3558 if test "x$ac_pt_DX_PERL" = x; then
3561 case $cross_compiling:$ac_tool_warned in
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3564 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3565 ac_tool_warned=yes ;;
3567 DX_PERL=$ac_pt_DX_PERL
3570 DX_PERL="$ac_cv_path_DX_PERL"
3573 if test "$DX_FLAG_doc$DX_PERL" = 1; then
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
3575 $as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
3582 if test "$DX_FLAG_doc" = 1; then
3585 DX_COND_doc_FALSE='#'
3587 DX_COND_doc_TRUE='#'
3591 DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
3597 DX_COND_doc_FALSE='#'
3599 DX_COND_doc_TRUE='#'
3613 # Check whether --enable-doxygen-dot was given.
3614 if test "${enable_doxygen_dot+set}" = set; then :
3615 enableval=$enable_doxygen_dot;
3616 case "$enableval" in
3622 test "$DX_FLAG_doc" = "1" \
3623 || as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
3631 as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
3640 test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
3646 if test "$DX_FLAG_dot" = 1; then
3648 if test -n "$ac_tool_prefix"; then
3649 # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
3650 set dummy ${ac_tool_prefix}dot; ac_word=$2
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3652 $as_echo_n "checking for $ac_word... " >&6; }
3653 if ${ac_cv_path_DX_DOT+:} false; then :
3654 $as_echo_n "(cached) " >&6
3658 ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
3661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3665 test -z "$as_dir" && as_dir=.
3666 for ac_exec_ext in '' $ac_executable_extensions; do
3667 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3668 ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
3669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3679 DX_DOT=$ac_cv_path_DX_DOT
3680 if test -n "$DX_DOT"; then
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
3682 $as_echo "$DX_DOT" >&6; }
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3685 $as_echo "no" >&6; }
3690 if test -z "$ac_cv_path_DX_DOT"; then
3691 ac_pt_DX_DOT=$DX_DOT
3692 # Extract the first word of "dot", so it can be a program name with args.
3693 set dummy dot; ac_word=$2
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3695 $as_echo_n "checking for $ac_word... " >&6; }
3696 if ${ac_cv_path_ac_pt_DX_DOT+:} false; then :
3697 $as_echo_n "(cached) " >&6
3699 case $ac_pt_DX_DOT in
3701 ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
3704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3708 test -z "$as_dir" && as_dir=.
3709 for ac_exec_ext in '' $ac_executable_extensions; do
3710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3711 ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
3712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3722 ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
3723 if test -n "$ac_pt_DX_DOT"; then
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
3725 $as_echo "$ac_pt_DX_DOT" >&6; }
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3728 $as_echo "no" >&6; }
3731 if test "x$ac_pt_DX_DOT" = x; then
3734 case $cross_compiling:$ac_tool_warned in
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3737 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3738 ac_tool_warned=yes ;;
3740 DX_DOT=$ac_pt_DX_DOT
3743 DX_DOT="$ac_cv_path_DX_DOT"
3746 if test "$DX_FLAG_dot$DX_DOT" = 1; then
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
3748 $as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
3755 if test "$DX_FLAG_dot" = 1; then
3758 DX_COND_dot_FALSE='#'
3760 DX_COND_dot_TRUE='#'
3764 DX_ENV="$DX_ENV HAVE_DOT='YES'"
3766 DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
3772 DX_COND_dot_FALSE='#'
3774 DX_COND_dot_TRUE='#'
3778 DX_ENV="$DX_ENV HAVE_DOT='NO'"
3784 # Man pages generation:
3789 # Check whether --enable-doxygen-man was given.
3790 if test "${enable_doxygen_man+set}" = set; then :
3791 enableval=$enable_doxygen_man;
3792 case "$enableval" in
3798 test "$DX_FLAG_doc" = "1" \
3799 || as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
3807 as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
3816 test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
3822 if test "$DX_FLAG_man" = 1; then
3826 if test "$DX_FLAG_man" = 1; then
3829 DX_COND_man_FALSE='#'
3831 DX_COND_man_TRUE='#'
3835 DX_ENV="$DX_ENV GENERATE_MAN='YES'"
3841 DX_COND_man_FALSE='#'
3843 DX_COND_man_TRUE='#'
3847 DX_ENV="$DX_ENV GENERATE_MAN='NO'"
3853 # RTF file generation:
3858 # Check whether --enable-doxygen-rtf was given.
3859 if test "${enable_doxygen_rtf+set}" = set; then :
3860 enableval=$enable_doxygen_rtf;
3861 case "$enableval" in
3867 test "$DX_FLAG_doc" = "1" \
3868 || as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
3876 as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
3885 test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
3891 if test "$DX_FLAG_rtf" = 1; then
3895 if test "$DX_FLAG_rtf" = 1; then
3898 DX_COND_rtf_FALSE='#'
3900 DX_COND_rtf_TRUE='#'
3904 DX_ENV="$DX_ENV GENERATE_RTF='YES'"
3910 DX_COND_rtf_FALSE='#'
3912 DX_COND_rtf_TRUE='#'
3916 DX_ENV="$DX_ENV GENERATE_RTF='NO'"
3922 # XML file generation:
3927 # Check whether --enable-doxygen-xml was given.
3928 if test "${enable_doxygen_xml+set}" = set; then :
3929 enableval=$enable_doxygen_xml;
3930 case "$enableval" in
3936 test "$DX_FLAG_doc" = "1" \
3937 || as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
3945 as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
3954 test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
3960 if test "$DX_FLAG_xml" = 1; then
3964 if test "$DX_FLAG_xml" = 1; then
3967 DX_COND_xml_FALSE='#'
3969 DX_COND_xml_TRUE='#'
3973 DX_ENV="$DX_ENV GENERATE_XML='YES'"
3979 DX_COND_xml_FALSE='#'
3981 DX_COND_xml_TRUE='#'
3985 DX_ENV="$DX_ENV GENERATE_XML='NO'"
3991 # (Compressed) HTML help generation:
3996 # Check whether --enable-doxygen-chm was given.
3997 if test "${enable_doxygen_chm+set}" = set; then :
3998 enableval=$enable_doxygen_chm;
3999 case "$enableval" in
4005 test "$DX_FLAG_doc" = "1" \
4006 || as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
4014 as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
4023 test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
4029 if test "$DX_FLAG_chm" = 1; then
4031 if test -n "$ac_tool_prefix"; then
4032 # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
4033 set dummy ${ac_tool_prefix}hhc; ac_word=$2
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4035 $as_echo_n "checking for $ac_word... " >&6; }
4036 if ${ac_cv_path_DX_HHC+:} false; then :
4037 $as_echo_n "(cached) " >&6
4041 ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
4044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4048 test -z "$as_dir" && as_dir=.
4049 for ac_exec_ext in '' $ac_executable_extensions; do
4050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4051 ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
4052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4062 DX_HHC=$ac_cv_path_DX_HHC
4063 if test -n "$DX_HHC"; then
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
4065 $as_echo "$DX_HHC" >&6; }
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4068 $as_echo "no" >&6; }
4073 if test -z "$ac_cv_path_DX_HHC"; then
4074 ac_pt_DX_HHC=$DX_HHC
4075 # Extract the first word of "hhc", so it can be a program name with args.
4076 set dummy hhc; ac_word=$2
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4078 $as_echo_n "checking for $ac_word... " >&6; }
4079 if ${ac_cv_path_ac_pt_DX_HHC+:} false; then :
4080 $as_echo_n "(cached) " >&6
4082 case $ac_pt_DX_HHC in
4084 ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
4087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4091 test -z "$as_dir" && as_dir=.
4092 for ac_exec_ext in '' $ac_executable_extensions; do
4093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4094 ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
4095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4105 ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
4106 if test -n "$ac_pt_DX_HHC"; then
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
4108 $as_echo "$ac_pt_DX_HHC" >&6; }
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4111 $as_echo "no" >&6; }
4114 if test "x$ac_pt_DX_HHC" = x; then
4117 case $cross_compiling:$ac_tool_warned in
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4121 ac_tool_warned=yes ;;
4123 DX_HHC=$ac_pt_DX_HHC
4126 DX_HHC="$ac_cv_path_DX_HHC"
4129 if test "$DX_FLAG_chm$DX_HHC" = 1; then
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
4131 $as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
4138 if test "$DX_FLAG_chm" = 1; then
4141 DX_COND_chm_FALSE='#'
4143 DX_COND_chm_TRUE='#'
4147 DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
4149 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
4151 DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
4157 DX_COND_chm_FALSE='#'
4159 DX_COND_chm_TRUE='#'
4163 DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
4169 # Seperate CHI file generation.
4174 # Check whether --enable-doxygen-chi was given.
4175 if test "${enable_doxygen_chi+set}" = set; then :
4176 enableval=$enable_doxygen_chi;
4177 case "$enableval" in
4183 test "$DX_FLAG_chm" = "1" \
4184 || as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
4192 as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
4201 test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
4207 if test "$DX_FLAG_chi" = 1; then
4211 if test "$DX_FLAG_chi" = 1; then
4214 DX_COND_chi_FALSE='#'
4216 DX_COND_chi_TRUE='#'
4220 DX_ENV="$DX_ENV GENERATE_CHI='YES'"
4226 DX_COND_chi_FALSE='#'
4228 DX_COND_chi_TRUE='#'
4232 DX_ENV="$DX_ENV GENERATE_CHI='NO'"
4238 # Plain HTML pages generation:
4243 # Check whether --enable-doxygen-html was given.
4244 if test "${enable_doxygen_html+set}" = set; then :
4245 enableval=$enable_doxygen_html;
4246 case "$enableval" in
4252 test "$DX_FLAG_doc" = "1" \
4253 || as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
4255 test "$DX_FLAG_chm" = "0" \
4256 || as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
4264 as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
4273 test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
4276 test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
4282 if test "$DX_FLAG_html" = 1; then
4286 if test "$DX_FLAG_html" = 1; then
4289 DX_COND_html_FALSE='#'
4291 DX_COND_html_TRUE='#'
4295 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
4301 DX_COND_html_FALSE='#'
4303 DX_COND_html_TRUE='#'
4307 test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
4313 # PostScript file generation:
4318 # Check whether --enable-doxygen-ps was given.
4319 if test "${enable_doxygen_ps+set}" = set; then :
4320 enableval=$enable_doxygen_ps;
4321 case "$enableval" in
4327 test "$DX_FLAG_doc" = "1" \
4328 || as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
4336 as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
4345 test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
4351 if test "$DX_FLAG_ps" = 1; then
4353 if test -n "$ac_tool_prefix"; then
4354 # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
4355 set dummy ${ac_tool_prefix}latex; ac_word=$2
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4357 $as_echo_n "checking for $ac_word... " >&6; }
4358 if ${ac_cv_path_DX_LATEX+:} false; then :
4359 $as_echo_n "(cached) " >&6
4363 ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
4366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4370 test -z "$as_dir" && as_dir=.
4371 for ac_exec_ext in '' $ac_executable_extensions; do
4372 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4373 ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
4374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4384 DX_LATEX=$ac_cv_path_DX_LATEX
4385 if test -n "$DX_LATEX"; then
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
4387 $as_echo "$DX_LATEX" >&6; }
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4390 $as_echo "no" >&6; }
4395 if test -z "$ac_cv_path_DX_LATEX"; then
4396 ac_pt_DX_LATEX=$DX_LATEX
4397 # Extract the first word of "latex", so it can be a program name with args.
4398 set dummy latex; ac_word=$2
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4400 $as_echo_n "checking for $ac_word... " >&6; }
4401 if ${ac_cv_path_ac_pt_DX_LATEX+:} false; then :
4402 $as_echo_n "(cached) " >&6
4404 case $ac_pt_DX_LATEX in
4406 ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
4409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4413 test -z "$as_dir" && as_dir=.
4414 for ac_exec_ext in '' $ac_executable_extensions; do
4415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4416 ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
4417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4427 ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
4428 if test -n "$ac_pt_DX_LATEX"; then
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
4430 $as_echo "$ac_pt_DX_LATEX" >&6; }
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4433 $as_echo "no" >&6; }
4436 if test "x$ac_pt_DX_LATEX" = x; then
4439 case $cross_compiling:$ac_tool_warned in
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4443 ac_tool_warned=yes ;;
4445 DX_LATEX=$ac_pt_DX_LATEX
4448 DX_LATEX="$ac_cv_path_DX_LATEX"
4451 if test "$DX_FLAG_ps$DX_LATEX" = 1; then
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
4453 $as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
4459 if test -n "$ac_tool_prefix"; then
4460 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
4461 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4463 $as_echo_n "checking for $ac_word... " >&6; }
4464 if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
4465 $as_echo_n "(cached) " >&6
4467 case $DX_MAKEINDEX in
4469 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
4472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4476 test -z "$as_dir" && as_dir=.
4477 for ac_exec_ext in '' $ac_executable_extensions; do
4478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4479 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
4480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4490 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
4491 if test -n "$DX_MAKEINDEX"; then
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
4493 $as_echo "$DX_MAKEINDEX" >&6; }
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4496 $as_echo "no" >&6; }
4501 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
4502 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
4503 # Extract the first word of "makeindex", so it can be a program name with args.
4504 set dummy makeindex; ac_word=$2
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4506 $as_echo_n "checking for $ac_word... " >&6; }
4507 if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
4508 $as_echo_n "(cached) " >&6
4510 case $ac_pt_DX_MAKEINDEX in
4512 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
4515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4519 test -z "$as_dir" && as_dir=.
4520 for ac_exec_ext in '' $ac_executable_extensions; do
4521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4522 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
4523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4533 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
4534 if test -n "$ac_pt_DX_MAKEINDEX"; then
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
4536 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4539 $as_echo "no" >&6; }
4542 if test "x$ac_pt_DX_MAKEINDEX" = x; then
4545 case $cross_compiling:$ac_tool_warned in
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4548 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4549 ac_tool_warned=yes ;;
4551 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
4554 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
4557 if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
4559 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
4565 if test -n "$ac_tool_prefix"; then
4566 # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
4567 set dummy ${ac_tool_prefix}dvips; ac_word=$2
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4569 $as_echo_n "checking for $ac_word... " >&6; }
4570 if ${ac_cv_path_DX_DVIPS+:} false; then :
4571 $as_echo_n "(cached) " >&6
4575 ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
4578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4582 test -z "$as_dir" && as_dir=.
4583 for ac_exec_ext in '' $ac_executable_extensions; do
4584 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4585 ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
4586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4596 DX_DVIPS=$ac_cv_path_DX_DVIPS
4597 if test -n "$DX_DVIPS"; then
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
4599 $as_echo "$DX_DVIPS" >&6; }
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4602 $as_echo "no" >&6; }
4607 if test -z "$ac_cv_path_DX_DVIPS"; then
4608 ac_pt_DX_DVIPS=$DX_DVIPS
4609 # Extract the first word of "dvips", so it can be a program name with args.
4610 set dummy dvips; ac_word=$2
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4612 $as_echo_n "checking for $ac_word... " >&6; }
4613 if ${ac_cv_path_ac_pt_DX_DVIPS+:} false; then :
4614 $as_echo_n "(cached) " >&6
4616 case $ac_pt_DX_DVIPS in
4618 ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
4621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4625 test -z "$as_dir" && as_dir=.
4626 for ac_exec_ext in '' $ac_executable_extensions; do
4627 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4628 ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
4629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4639 ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
4640 if test -n "$ac_pt_DX_DVIPS"; then
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
4642 $as_echo "$ac_pt_DX_DVIPS" >&6; }
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4645 $as_echo "no" >&6; }
4648 if test "x$ac_pt_DX_DVIPS" = x; then
4651 case $cross_compiling:$ac_tool_warned in
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4654 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4655 ac_tool_warned=yes ;;
4657 DX_DVIPS=$ac_pt_DX_DVIPS
4660 DX_DVIPS="$ac_cv_path_DX_DVIPS"
4663 if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
4665 $as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
4671 if test -n "$ac_tool_prefix"; then
4672 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
4673 set dummy ${ac_tool_prefix}egrep; ac_word=$2
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4675 $as_echo_n "checking for $ac_word... " >&6; }
4676 if ${ac_cv_path_DX_EGREP+:} false; then :
4677 $as_echo_n "(cached) " >&6
4681 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
4684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4688 test -z "$as_dir" && as_dir=.
4689 for ac_exec_ext in '' $ac_executable_extensions; do
4690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4691 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
4692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4702 DX_EGREP=$ac_cv_path_DX_EGREP
4703 if test -n "$DX_EGREP"; then
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
4705 $as_echo "$DX_EGREP" >&6; }
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4708 $as_echo "no" >&6; }
4713 if test -z "$ac_cv_path_DX_EGREP"; then
4714 ac_pt_DX_EGREP=$DX_EGREP
4715 # Extract the first word of "egrep", so it can be a program name with args.
4716 set dummy egrep; ac_word=$2
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4718 $as_echo_n "checking for $ac_word... " >&6; }
4719 if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
4720 $as_echo_n "(cached) " >&6
4722 case $ac_pt_DX_EGREP in
4724 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
4727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4731 test -z "$as_dir" && as_dir=.
4732 for ac_exec_ext in '' $ac_executable_extensions; do
4733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4734 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
4735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4745 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
4746 if test -n "$ac_pt_DX_EGREP"; then
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
4748 $as_echo "$ac_pt_DX_EGREP" >&6; }
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4751 $as_echo "no" >&6; }
4754 if test "x$ac_pt_DX_EGREP" = x; then
4757 case $cross_compiling:$ac_tool_warned in
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4760 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4761 ac_tool_warned=yes ;;
4763 DX_EGREP=$ac_pt_DX_EGREP
4766 DX_EGREP="$ac_cv_path_DX_EGREP"
4769 if test "$DX_FLAG_ps$DX_EGREP" = 1; then
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
4771 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
4778 if test "$DX_FLAG_ps" = 1; then
4781 DX_COND_ps_FALSE='#'
4792 DX_COND_ps_FALSE='#'
4803 # PDF file generation:
4808 # Check whether --enable-doxygen-pdf was given.
4809 if test "${enable_doxygen_pdf+set}" = set; then :
4810 enableval=$enable_doxygen_pdf;
4811 case "$enableval" in
4817 test "$DX_FLAG_doc" = "1" \
4818 || as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
4826 as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
4835 test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
4841 if test "$DX_FLAG_pdf" = 1; then
4843 if test -n "$ac_tool_prefix"; then
4844 # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
4845 set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4847 $as_echo_n "checking for $ac_word... " >&6; }
4848 if ${ac_cv_path_DX_PDFLATEX+:} false; then :
4849 $as_echo_n "(cached) " >&6
4851 case $DX_PDFLATEX in
4853 ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
4856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4860 test -z "$as_dir" && as_dir=.
4861 for ac_exec_ext in '' $ac_executable_extensions; do
4862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4863 ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
4864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4874 DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
4875 if test -n "$DX_PDFLATEX"; then
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
4877 $as_echo "$DX_PDFLATEX" >&6; }
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4880 $as_echo "no" >&6; }
4885 if test -z "$ac_cv_path_DX_PDFLATEX"; then
4886 ac_pt_DX_PDFLATEX=$DX_PDFLATEX
4887 # Extract the first word of "pdflatex", so it can be a program name with args.
4888 set dummy pdflatex; ac_word=$2
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4890 $as_echo_n "checking for $ac_word... " >&6; }
4891 if ${ac_cv_path_ac_pt_DX_PDFLATEX+:} false; then :
4892 $as_echo_n "(cached) " >&6
4894 case $ac_pt_DX_PDFLATEX in
4896 ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
4899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4903 test -z "$as_dir" && as_dir=.
4904 for ac_exec_ext in '' $ac_executable_extensions; do
4905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4906 ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
4907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4917 ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
4918 if test -n "$ac_pt_DX_PDFLATEX"; then
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
4920 $as_echo "$ac_pt_DX_PDFLATEX" >&6; }
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4923 $as_echo "no" >&6; }
4926 if test "x$ac_pt_DX_PDFLATEX" = x; then
4929 case $cross_compiling:$ac_tool_warned in
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4932 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4933 ac_tool_warned=yes ;;
4935 DX_PDFLATEX=$ac_pt_DX_PDFLATEX
4938 DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
4941 if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
4943 $as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
4949 if test -n "$ac_tool_prefix"; then
4950 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
4951 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4953 $as_echo_n "checking for $ac_word... " >&6; }
4954 if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
4955 $as_echo_n "(cached) " >&6
4957 case $DX_MAKEINDEX in
4959 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
4962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4966 test -z "$as_dir" && as_dir=.
4967 for ac_exec_ext in '' $ac_executable_extensions; do
4968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4969 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
4970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4980 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
4981 if test -n "$DX_MAKEINDEX"; then
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
4983 $as_echo "$DX_MAKEINDEX" >&6; }
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4986 $as_echo "no" >&6; }
4991 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
4992 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
4993 # Extract the first word of "makeindex", so it can be a program name with args.
4994 set dummy makeindex; ac_word=$2
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4996 $as_echo_n "checking for $ac_word... " >&6; }
4997 if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
4998 $as_echo_n "(cached) " >&6
5000 case $ac_pt_DX_MAKEINDEX in
5002 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
5005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5009 test -z "$as_dir" && as_dir=.
5010 for ac_exec_ext in '' $ac_executable_extensions; do
5011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5012 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
5013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5023 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
5024 if test -n "$ac_pt_DX_MAKEINDEX"; then
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
5026 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5029 $as_echo "no" >&6; }
5032 if test "x$ac_pt_DX_MAKEINDEX" = x; then
5035 case $cross_compiling:$ac_tool_warned in
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5039 ac_tool_warned=yes ;;
5041 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
5044 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
5047 if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
5049 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
5055 if test -n "$ac_tool_prefix"; then
5056 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
5057 set dummy ${ac_tool_prefix}egrep; ac_word=$2
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5059 $as_echo_n "checking for $ac_word... " >&6; }
5060 if ${ac_cv_path_DX_EGREP+:} false; then :
5061 $as_echo_n "(cached) " >&6
5065 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
5068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5072 test -z "$as_dir" && as_dir=.
5073 for ac_exec_ext in '' $ac_executable_extensions; do
5074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5075 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
5076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5086 DX_EGREP=$ac_cv_path_DX_EGREP
5087 if test -n "$DX_EGREP"; then
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
5089 $as_echo "$DX_EGREP" >&6; }
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5092 $as_echo "no" >&6; }
5097 if test -z "$ac_cv_path_DX_EGREP"; then
5098 ac_pt_DX_EGREP=$DX_EGREP
5099 # Extract the first word of "egrep", so it can be a program name with args.
5100 set dummy egrep; ac_word=$2
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5102 $as_echo_n "checking for $ac_word... " >&6; }
5103 if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
5104 $as_echo_n "(cached) " >&6
5106 case $ac_pt_DX_EGREP in
5108 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
5111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5115 test -z "$as_dir" && as_dir=.
5116 for ac_exec_ext in '' $ac_executable_extensions; do
5117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5118 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
5119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5129 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
5130 if test -n "$ac_pt_DX_EGREP"; then
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
5132 $as_echo "$ac_pt_DX_EGREP" >&6; }
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5135 $as_echo "no" >&6; }
5138 if test "x$ac_pt_DX_EGREP" = x; then
5141 case $cross_compiling:$ac_tool_warned in
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5144 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5145 ac_tool_warned=yes ;;
5147 DX_EGREP=$ac_pt_DX_EGREP
5150 DX_EGREP="$ac_cv_path_DX_EGREP"
5153 if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
5155 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
5162 if test "$DX_FLAG_pdf" = 1; then
5165 DX_COND_pdf_FALSE='#'
5167 DX_COND_pdf_TRUE='#'
5176 DX_COND_pdf_FALSE='#'
5178 DX_COND_pdf_TRUE='#'
5187 # LaTeX generation for PS and/or PDF:
5188 if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
5191 DX_COND_latex_FALSE='#'
5193 DX_COND_latex_TRUE='#'
5194 DX_COND_latex_FALSE=
5197 DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
5202 DX_COND_latex_FALSE='#'
5204 DX_COND_latex_TRUE='#'
5205 DX_COND_latex_FALSE=
5208 DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
5212 # Paper size for PS and/or PDF:
5214 case "$DOXYGEN_PAPER_SIZE" in
5217 DOXYGEN_PAPER_SIZE=""
5220 a4wide|a4|letter|legal|executive)
5221 DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
5225 as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
5230 #echo DX_FLAG_doc=$DX_FLAG_doc
5231 #echo DX_FLAG_dot=$DX_FLAG_dot
5232 #echo DX_FLAG_man=$DX_FLAG_man
5233 #echo DX_FLAG_html=$DX_FLAG_html
5234 #echo DX_FLAG_chm=$DX_FLAG_chm
5235 #echo DX_FLAG_chi=$DX_FLAG_chi
5236 #echo DX_FLAG_rtf=$DX_FLAG_rtf
5237 #echo DX_FLAG_xml=$DX_FLAG_xml
5238 #echo DX_FLAG_pdf=$DX_FLAG_pdf
5239 #echo DX_FLAG_ps=$DX_FLAG_ps
5240 #echo DX_ENV=$DX_ENV
5244 # ----------------------------------------------------------------------
5247 # Check whether --enable-debug-flags was given.
5248 if test "${enable_debug_flags+set}" = set; then :
5249 enableval=$enable_debug_flags;
5252 if test "x${enable_developer}" != "xyes"
5254 enable_debug_flags="no"
5256 enable_debug_flags="yes"
5262 # Check whether --enable-debug-log was given.
5263 if test "${enable_debug_log+set}" = set; then :
5264 enableval=$enable_debug_log;
5266 enable_debug_log="yes"
5270 if test "x${enable_debug_flags}" != "xno"
5272 if test "x${enable_developer}" = "xyes"
5274 CXXFLAGS="${CXXFLAGS} -Wall"
5275 CFLAGS="${CFLAGS} -Wstrict-prototypes -Wall"
5277 __COMMONFLAGS="-g -O0 -Wextra -Wunused-value -Wunused-variable -Wunused-function -Wunused-label -Wcomment -Wmissing-braces -Wparentheses -Wreturn-type -Wswitch -Wstrict-aliasing -Wno-unused-parameter -Wformat -Wformat-security -DGQ_DEBUG_PATH_UTF8=1"
5278 CXXFLAGS="${CXXFLAGS} ${__COMMONFLAGS}"
5279 CFLAGS="${CFLAGS} ${__COMMONFLAGS} -Wimplicit-int -Werror-implicit-function-declaration"
5280 __IS_DEBUG_FLAGS=yes
5285 if test "x${enable_debug_log}" != "xno"
5288 $as_echo "#define DEBUG 1" >>confdefs.h
5295 if test x$enable_debug_flags = xyes; then
5304 # Check whether --enable-deprecated was given.
5305 if test "${enable_deprecated+set}" = set; then :
5306 enableval=$enable_deprecated;
5309 if test "x${enable_developer}" != "xyes"
5311 enable_deprecated="no"
5313 enable_deprecated="yes"
5319 if test "x${enable_deprecated}" != "xno"
5321 CXXFLAGS="${CXXFLAGS} -DGTK_DISABLE_DEPRECATED=1 -DGDK_DISABLE_DEPRECATED=1 -DGDK_PIXBUF_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1"
5322 CFLAGS="${CFLAGS} -DGTK_DISABLE_DEPRECATED=1 -DGDK_DISABLE_DEPRECATED=1 -DGDK_PIXBUF_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1"
5329 DEPDIR="${am__leading_dot}deps"
5331 ac_config_commands="$ac_config_commands depfiles"
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
5334 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
5335 cat > confinc.mk << 'END'
5337 @echo this is the am__doit target >confinc.out
5342 # BSD make does it like this.
5343 echo '.include "confinc.mk" # ignored' > confmf.BSD
5344 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
5345 echo 'include confinc.mk # ignored' > confmf.GNU
5347 for s in GNU BSD; do
5348 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
5349 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
5351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5352 (exit $ac_status); }
5353 case $?:`cat confinc.out 2>/dev/null` in #(
5354 '0:this is the am__doit target') :
5357 am__include='.include' am__quote='"' ;; #(
5359 am__include='include' am__quote='' ;;
5364 if test "$am__include" != "#"; then
5365 _am_result="yes ($s style)"
5369 rm -f confinc.* confmf.*
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
5371 $as_echo "${_am_result}" >&6; }
5373 # Check whether --enable-dependency-tracking was given.
5374 if test "${enable_dependency_tracking+set}" = set; then :
5375 enableval=$enable_dependency_tracking;
5378 if test "x$enable_dependency_tracking" != xno; then
5379 am_depcomp="$ac_aux_dir/depcomp"
5383 if test "x$enable_dependency_tracking" != xno; then
5393 ac_cpp='$CPP $CPPFLAGS'
5394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5397 if test -n "$ac_tool_prefix"; then
5398 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5399 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5401 $as_echo_n "checking for $ac_word... " >&6; }
5402 if ${ac_cv_prog_CC+:} false; then :
5403 $as_echo_n "(cached) " >&6
5405 if test -n "$CC"; then
5406 ac_cv_prog_CC="$CC" # Let the user override the test.
5408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5412 test -z "$as_dir" && as_dir=.
5413 for ac_exec_ext in '' $ac_executable_extensions; do
5414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5415 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5426 if test -n "$CC"; then
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5428 $as_echo "$CC" >&6; }
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5431 $as_echo "no" >&6; }
5436 if test -z "$ac_cv_prog_CC"; then
5438 # Extract the first word of "gcc", so it can be a program name with args.
5439 set dummy gcc; ac_word=$2
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5441 $as_echo_n "checking for $ac_word... " >&6; }
5442 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5443 $as_echo_n "(cached) " >&6
5445 if test -n "$ac_ct_CC"; then
5446 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5452 test -z "$as_dir" && as_dir=.
5453 for ac_exec_ext in '' $ac_executable_extensions; do
5454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5455 ac_cv_prog_ac_ct_CC="gcc"
5456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5465 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5466 if test -n "$ac_ct_CC"; then
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5468 $as_echo "$ac_ct_CC" >&6; }
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5471 $as_echo "no" >&6; }
5474 if test "x$ac_ct_CC" = x; then
5477 case $cross_compiling:$ac_tool_warned in
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5480 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5481 ac_tool_warned=yes ;;
5489 if test -z "$CC"; then
5490 if test -n "$ac_tool_prefix"; then
5491 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5492 set dummy ${ac_tool_prefix}cc; ac_word=$2
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5494 $as_echo_n "checking for $ac_word... " >&6; }
5495 if ${ac_cv_prog_CC+:} false; then :
5496 $as_echo_n "(cached) " >&6
5498 if test -n "$CC"; then
5499 ac_cv_prog_CC="$CC" # Let the user override the test.
5501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5505 test -z "$as_dir" && as_dir=.
5506 for ac_exec_ext in '' $ac_executable_extensions; do
5507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5508 ac_cv_prog_CC="${ac_tool_prefix}cc"
5509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5519 if test -n "$CC"; then
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5521 $as_echo "$CC" >&6; }
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5524 $as_echo "no" >&6; }
5530 if test -z "$CC"; then
5531 # Extract the first word of "cc", so it can be a program name with args.
5532 set dummy cc; ac_word=$2
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5534 $as_echo_n "checking for $ac_word... " >&6; }
5535 if ${ac_cv_prog_CC+:} false; then :
5536 $as_echo_n "(cached) " >&6
5538 if test -n "$CC"; then
5539 ac_cv_prog_CC="$CC" # Let the user override the test.
5542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5546 test -z "$as_dir" && as_dir=.
5547 for ac_exec_ext in '' $ac_executable_extensions; do
5548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5549 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5550 ac_prog_rejected=yes
5554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5561 if test $ac_prog_rejected = yes; then
5562 # We found a bogon in the path, so make sure we never use it.
5563 set dummy $ac_cv_prog_CC
5565 if test $# != 0; then
5566 # We chose a different compiler from the bogus one.
5567 # However, it has the same basename, so the bogon will be chosen
5568 # first if we set CC to just the basename; use the full file name.
5570 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5576 if test -n "$CC"; then
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5578 $as_echo "$CC" >&6; }
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5581 $as_echo "no" >&6; }
5586 if test -z "$CC"; then
5587 if test -n "$ac_tool_prefix"; then
5588 for ac_prog in cl.exe
5590 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5591 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5593 $as_echo_n "checking for $ac_word... " >&6; }
5594 if ${ac_cv_prog_CC+:} false; then :
5595 $as_echo_n "(cached) " >&6
5597 if test -n "$CC"; then
5598 ac_cv_prog_CC="$CC" # Let the user override the test.
5600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5604 test -z "$as_dir" && as_dir=.
5605 for ac_exec_ext in '' $ac_executable_extensions; do
5606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5607 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5618 if test -n "$CC"; then
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5620 $as_echo "$CC" >&6; }
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5623 $as_echo "no" >&6; }
5627 test -n "$CC" && break
5630 if test -z "$CC"; then
5632 for ac_prog in cl.exe
5634 # Extract the first word of "$ac_prog", so it can be a program name with args.
5635 set dummy $ac_prog; ac_word=$2
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5637 $as_echo_n "checking for $ac_word... " >&6; }
5638 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5639 $as_echo_n "(cached) " >&6
5641 if test -n "$ac_ct_CC"; then
5642 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5648 test -z "$as_dir" && as_dir=.
5649 for ac_exec_ext in '' $ac_executable_extensions; do
5650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5651 ac_cv_prog_ac_ct_CC="$ac_prog"
5652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5661 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5662 if test -n "$ac_ct_CC"; then
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5664 $as_echo "$ac_ct_CC" >&6; }
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5667 $as_echo "no" >&6; }
5671 test -n "$ac_ct_CC" && break
5674 if test "x$ac_ct_CC" = x; then
5677 case $cross_compiling:$ac_tool_warned in
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5681 ac_tool_warned=yes ;;
5690 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5692 as_fn_error $? "no acceptable C compiler found in \$PATH
5693 See \`config.log' for more details" "$LINENO" 5; }
5695 # Provide some information about the compiler.
5696 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5699 for ac_option in --version -v -V -qversion; do
5700 { { ac_try="$ac_compiler $ac_option >&5"
5702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5703 *) ac_try_echo=$ac_try;;
5705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5706 $as_echo "$ac_try_echo"; } >&5
5707 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5709 if test -s conftest.err; then
5711 ... rest of stderr output deleted ...
5712 10q' conftest.err >conftest.er1
5713 cat conftest.er1 >&5
5715 rm -f conftest.er1 conftest.err
5716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5717 test $ac_status = 0; }
5720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5721 /* end confdefs.h. */
5731 ac_clean_files_save=$ac_clean_files
5732 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5733 # Try to create an executable without -o first, disregard a.out.
5734 # It will help us diagnose broken compilers, and finding out an intuition
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5737 $as_echo_n "checking whether the C compiler works... " >&6; }
5738 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5740 # The possible output files:
5741 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5744 for ac_file in $ac_files
5747 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5748 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5753 if { { ac_try="$ac_link_default"
5755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5756 *) ac_try_echo=$ac_try;;
5758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5759 $as_echo "$ac_try_echo"; } >&5
5760 (eval "$ac_link_default") 2>&5
5762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5763 test $ac_status = 0; }; then :
5764 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5765 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5766 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5767 # so that the user can short-circuit this test for compilers unknown to
5769 for ac_file in $ac_files ''
5771 test -f "$ac_file" || continue
5773 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5776 # We found the default executable, but exeext='' is most
5780 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
5782 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5784 # We set ac_cv_exeext here because the later test for it is not
5785 # safe: cross compilers may not add the suffix if given an `-o'
5786 # argument, so we may need to know it at that point already.
5787 # Even if this section looks crufty: it has the advantage of
5794 test "$ac_cv_exeext" = no && ac_cv_exeext=
5799 if test -z "$ac_file"; then :
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5801 $as_echo "no" >&6; }
5802 $as_echo "$as_me: failed program was:" >&5
5803 sed 's/^/| /' conftest.$ac_ext >&5
5805 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5807 as_fn_error 77 "C compiler cannot create executables
5808 See \`config.log' for more details" "$LINENO" 5; }
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5811 $as_echo "yes" >&6; }
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5814 $as_echo_n "checking for C compiler default output file name... " >&6; }
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5816 $as_echo "$ac_file" >&6; }
5817 ac_exeext=$ac_cv_exeext
5819 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5820 ac_clean_files=$ac_clean_files_save
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5822 $as_echo_n "checking for suffix of executables... " >&6; }
5823 if { { ac_try="$ac_link"
5825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5826 *) ac_try_echo=$ac_try;;
5828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5829 $as_echo "$ac_try_echo"; } >&5
5830 (eval "$ac_link") 2>&5
5832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5833 test $ac_status = 0; }; then :
5834 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5835 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5836 # work properly (i.e., refer to `conftest.exe'), while it won't with
5838 for ac_file in conftest.exe conftest conftest.*; do
5839 test -f "$ac_file" || continue
5841 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5842 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5848 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5849 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5850 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5851 See \`config.log' for more details" "$LINENO" 5; }
5853 rm -f conftest conftest$ac_cv_exeext
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5855 $as_echo "$ac_cv_exeext" >&6; }
5857 rm -f conftest.$ac_ext
5858 EXEEXT=$ac_cv_exeext
5860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5861 /* end confdefs.h. */
5866 FILE *f = fopen ("conftest.out", "w");
5867 return ferror (f) || fclose (f) != 0;
5873 ac_clean_files="$ac_clean_files conftest.out"
5874 # Check that the compiler produces executables we can run. If not, either
5875 # the compiler is broken, or we cross compile.
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5877 $as_echo_n "checking whether we are cross compiling... " >&6; }
5878 if test "$cross_compiling" != yes; then
5879 { { ac_try="$ac_link"
5881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5882 *) ac_try_echo=$ac_try;;
5884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5885 $as_echo "$ac_try_echo"; } >&5
5886 (eval "$ac_link") 2>&5
5888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5889 test $ac_status = 0; }
5890 if { ac_try='./conftest$ac_cv_exeext'
5891 { { case "(($ac_try" in
5892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5893 *) ac_try_echo=$ac_try;;
5895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5896 $as_echo "$ac_try_echo"; } >&5
5897 (eval "$ac_try") 2>&5
5899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5900 test $ac_status = 0; }; }; then
5903 if test "$cross_compiling" = maybe; then
5906 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5907 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5908 as_fn_error $? "cannot run C compiled programs.
5909 If you meant to cross compile, use \`--host'.
5910 See \`config.log' for more details" "$LINENO" 5; }
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5915 $as_echo "$cross_compiling" >&6; }
5917 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5918 ac_clean_files=$ac_clean_files_save
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5920 $as_echo_n "checking for suffix of object files... " >&6; }
5921 if ${ac_cv_objext+:} false; then :
5922 $as_echo_n "(cached) " >&6
5924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5925 /* end confdefs.h. */
5935 rm -f conftest.o conftest.obj
5936 if { { ac_try="$ac_compile"
5938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5939 *) ac_try_echo=$ac_try;;
5941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5942 $as_echo "$ac_try_echo"; } >&5
5943 (eval "$ac_compile") 2>&5
5945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5946 test $ac_status = 0; }; then :
5947 for ac_file in conftest.o conftest.obj conftest.*; do
5948 test -f "$ac_file" || continue;
5950 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5951 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5956 $as_echo "$as_me: failed program was:" >&5
5957 sed 's/^/| /' conftest.$ac_ext >&5
5959 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5960 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5961 as_fn_error $? "cannot compute suffix of object files: cannot compile
5962 See \`config.log' for more details" "$LINENO" 5; }
5964 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5967 $as_echo "$ac_cv_objext" >&6; }
5968 OBJEXT=$ac_cv_objext
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5971 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5972 if ${ac_cv_c_compiler_gnu+:} false; then :
5973 $as_echo_n "(cached) " >&6
5975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5976 /* end confdefs.h. */
5989 if ac_fn_c_try_compile "$LINENO"; then :
5994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5995 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5999 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
6000 if test $ac_compiler_gnu = yes; then
6005 ac_test_CFLAGS=${CFLAGS+set}
6006 ac_save_CFLAGS=$CFLAGS
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
6008 $as_echo_n "checking whether $CC accepts -g... " >&6; }
6009 if ${ac_cv_prog_cc_g+:} false; then :
6010 $as_echo_n "(cached) " >&6
6012 ac_save_c_werror_flag=$ac_c_werror_flag
6013 ac_c_werror_flag=yes
6016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6017 /* end confdefs.h. */
6027 if ac_fn_c_try_compile "$LINENO"; then :
6031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6032 /* end confdefs.h. */
6042 if ac_fn_c_try_compile "$LINENO"; then :
6045 ac_c_werror_flag=$ac_save_c_werror_flag
6047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6048 /* end confdefs.h. */
6058 if ac_fn_c_try_compile "$LINENO"; then :
6061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6066 ac_c_werror_flag=$ac_save_c_werror_flag
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
6069 $as_echo "$ac_cv_prog_cc_g" >&6; }
6070 if test "$ac_test_CFLAGS" = set; then
6071 CFLAGS=$ac_save_CFLAGS
6072 elif test $ac_cv_prog_cc_g = yes; then
6073 if test "$GCC" = yes; then
6079 if test "$GCC" = yes; then
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6086 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6087 if ${ac_cv_prog_cc_c89+:} false; then :
6088 $as_echo_n "(cached) " >&6
6090 ac_cv_prog_cc_c89=no
6092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6093 /* end confdefs.h. */
6097 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6098 struct buf { int x; };
6099 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6100 static char *e (p, i)
6106 static char *f (char * (*g) (char **, int), char **p, ...)
6111 s = g (p, va_arg (v,int));
6116 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6117 function prototypes and stuff, but not '\xHH' hex character constants.
6118 These don't provoke an error unfortunately, instead are silently treated
6119 as 'x'. The following induces an error, until -std is added to get
6120 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6121 array size at least. It's necessary to write '\x00'==0 to get something
6122 that's true only with -std. */
6123 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6125 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6126 inside strings and character constants. */
6128 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6130 int test (int i, double x);
6131 struct s1 {int (*f) (int a);};
6132 struct s2 {int (*f) (double a);};
6133 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6139 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6144 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6145 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6147 CC="$ac_save_CC $ac_arg"
6148 if ac_fn_c_try_compile "$LINENO"; then :
6149 ac_cv_prog_cc_c89=$ac_arg
6151 rm -f core conftest.err conftest.$ac_objext
6152 test "x$ac_cv_prog_cc_c89" != "xno" && break
6154 rm -f conftest.$ac_ext
6159 case "x$ac_cv_prog_cc_c89" in
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6162 $as_echo "none needed" >&6; } ;;
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6165 $as_echo "unsupported" >&6; } ;;
6167 CC="$CC $ac_cv_prog_cc_c89"
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6169 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6171 if test "x$ac_cv_prog_cc_c89" != xno; then :
6176 ac_cpp='$CPP $CPPFLAGS'
6177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6182 ac_cpp='$CPP $CPPFLAGS'
6183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
6187 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
6188 if ${am_cv_prog_cc_c_o+:} false; then :
6189 $as_echo_n "(cached) " >&6
6191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6192 /* end confdefs.h. */
6202 # Make sure it works both with $CC and with simple cc.
6203 # Following AC_PROG_CC_C_O, we do the test twice because some
6204 # compilers refuse to overwrite an existing .o file with -o,
6205 # though they will create one.
6206 am_cv_prog_cc_c_o=yes
6208 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
6209 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
6211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6212 (exit $ac_status); } \
6213 && test -f conftest2.$ac_objext; then
6216 am_cv_prog_cc_c_o=no
6220 rm -f core conftest*
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
6224 $as_echo "$am_cv_prog_cc_c_o" >&6; }
6225 if test "$am_cv_prog_cc_c_o" != yes; then
6226 # Losing compiler, so override with the script.
6227 # FIXME: It is wrong to rewrite CC.
6228 # But if we don't then we get into trouble of one sort or another.
6229 # A longer-term fix would be to have automake use am__CC in this case,
6230 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6231 CC="$am_aux_dir/compile $CC"
6234 ac_cpp='$CPP $CPPFLAGS'
6235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6240 depcc="$CC" am_compiler_list=
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6243 $as_echo_n "checking dependency style of $depcc... " >&6; }
6244 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
6245 $as_echo_n "(cached) " >&6
6247 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6248 # We make a subdir and do the tests there. Otherwise we can end up
6249 # making bogus files that we don't know about and never remove. For
6250 # instance it was reported that on HP-UX the gcc test will end up
6251 # making a dummy file named 'D' -- because '-MD' means "put the output
6255 # Copy depcomp to subdir because otherwise we won't find it if we're
6256 # using a relative directory.
6257 cp "$am_depcomp" conftest.dir
6259 # We will build objects and dependencies in a subdirectory because
6260 # it helps to detect inapplicable dependency modes. For instance
6261 # both Tru64's cc and ICC support -MD to output dependencies as a
6262 # side effect of compilation, but ICC will put the dependencies in
6263 # the current directory while Tru64 will put them in the object
6267 am_cv_CC_dependencies_compiler_type=none
6268 if test "$am_compiler_list" = ""; then
6269 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6272 case " $depcc " in #(
6273 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6276 for depmode in $am_compiler_list; do
6277 # Setup a source with many dependencies, because some compilers
6278 # like to wrap large dependency lists on column 80 (with \), and
6279 # we should not choose a depcomp mode which is confused by this.
6281 # We need to recreate these files for each test, as the compiler may
6282 # overwrite some of them when testing with obscure command lines.
6283 # This happens at least with the AIX C compiler.
6285 for i in 1 2 3 4 5 6; do
6286 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6287 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6288 # Solaris 10 /bin/sh.
6289 echo '/* dummy */' > sub/conftst$i.h
6291 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6293 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6294 # mode. It turns out that the SunPro C++ compiler does not properly
6295 # handle '-M -o', and we need to detect this. Also, some Intel
6296 # versions had trouble with output in subdirs.
6297 am__obj=sub/conftest.${OBJEXT-o}
6298 am__minus_obj="-o $am__obj"
6301 # This depmode causes a compiler race in universal mode.
6302 test "$am__universal" = false || continue
6305 # After this tag, mechanisms are not by side-effect, so they'll
6306 # only be used when explicitly requested.
6307 if test "x$enable_dependency_tracking" = xyes; then
6313 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6314 # This compiler won't grok '-c -o', but also, the minuso test has
6315 # not run yet. These depmodes are late enough in the game, and
6316 # so weak that their functioning should not be impacted.
6317 am__obj=conftest.${OBJEXT-o}
6322 if depmode=$depmode \
6323 source=sub/conftest.c object=$am__obj \
6324 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6325 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6326 >/dev/null 2>conftest.err &&
6327 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6328 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6329 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6330 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6331 # icc doesn't choke on unknown options, it will just issue warnings
6332 # or remarks (even with -Werror). So we grep stderr for any message
6333 # that says an option was ignored or not supported.
6334 # When given -MP, icc 7.0 and 7.1 complain thusly:
6335 # icc: Command line warning: ignoring option '-M'; no argument required
6336 # The diagnosis changed in icc 8.0:
6337 # icc: Command line remark: option '-MP' not supported
6338 if (grep 'ignoring option' conftest.err ||
6339 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6340 am_cv_CC_dependencies_compiler_type=$depmode
6349 am_cv_CC_dependencies_compiler_type=none
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6354 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6355 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6358 test "x$enable_dependency_tracking" != xno \
6359 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6361 am__fastdepCC_FALSE='#'
6363 am__fastdepCC_TRUE='#'
6364 am__fastdepCC_FALSE=
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
6370 $as_echo_n "checking for library containing strerror... " >&6; }
6371 if ${ac_cv_search_strerror+:} false; then :
6372 $as_echo_n "(cached) " >&6
6374 ac_func_search_save_LIBS=$LIBS
6375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6376 /* end confdefs.h. */
6378 /* Override any GCC internal prototype to avoid an error.
6379 Use char because int might match the return type of a GCC
6380 builtin and then its argument prototype would still apply. */
6393 for ac_lib in '' cposix; do
6394 if test -z "$ac_lib"; then
6395 ac_res="none required"
6398 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6400 if ac_fn_c_try_link "$LINENO"; then :
6401 ac_cv_search_strerror=$ac_res
6403 rm -f core conftest.err conftest.$ac_objext \
6405 if ${ac_cv_search_strerror+:} false; then :
6409 if ${ac_cv_search_strerror+:} false; then :
6412 ac_cv_search_strerror=no
6415 LIBS=$ac_func_search_save_LIBS
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
6418 $as_echo "$ac_cv_search_strerror" >&6; }
6419 ac_res=$ac_cv_search_strerror
6420 if test "$ac_res" != no; then :
6421 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6426 ac_cpp='$CPP $CPPFLAGS'
6427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6430 if test -n "$ac_tool_prefix"; then
6431 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
6432 set dummy ${ac_tool_prefix}gcc; ac_word=$2
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6434 $as_echo_n "checking for $ac_word... " >&6; }
6435 if ${ac_cv_prog_CC+:} false; then :
6436 $as_echo_n "(cached) " >&6
6438 if test -n "$CC"; then
6439 ac_cv_prog_CC="$CC" # Let the user override the test.
6441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6445 test -z "$as_dir" && as_dir=.
6446 for ac_exec_ext in '' $ac_executable_extensions; do
6447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6448 ac_cv_prog_CC="${ac_tool_prefix}gcc"
6449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6459 if test -n "$CC"; then
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6461 $as_echo "$CC" >&6; }
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6464 $as_echo "no" >&6; }
6469 if test -z "$ac_cv_prog_CC"; then
6471 # Extract the first word of "gcc", so it can be a program name with args.
6472 set dummy gcc; ac_word=$2
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6474 $as_echo_n "checking for $ac_word... " >&6; }
6475 if ${ac_cv_prog_ac_ct_CC+:} false; then :
6476 $as_echo_n "(cached) " >&6
6478 if test -n "$ac_ct_CC"; then
6479 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6485 test -z "$as_dir" && as_dir=.
6486 for ac_exec_ext in '' $ac_executable_extensions; do
6487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6488 ac_cv_prog_ac_ct_CC="gcc"
6489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6498 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6499 if test -n "$ac_ct_CC"; then
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
6501 $as_echo "$ac_ct_CC" >&6; }
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6504 $as_echo "no" >&6; }
6507 if test "x$ac_ct_CC" = x; then
6510 case $cross_compiling:$ac_tool_warned in
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6514 ac_tool_warned=yes ;;
6522 if test -z "$CC"; then
6523 if test -n "$ac_tool_prefix"; then
6524 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6525 set dummy ${ac_tool_prefix}cc; ac_word=$2
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6527 $as_echo_n "checking for $ac_word... " >&6; }
6528 if ${ac_cv_prog_CC+:} false; then :
6529 $as_echo_n "(cached) " >&6
6531 if test -n "$CC"; then
6532 ac_cv_prog_CC="$CC" # Let the user override the test.
6534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6538 test -z "$as_dir" && as_dir=.
6539 for ac_exec_ext in '' $ac_executable_extensions; do
6540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6541 ac_cv_prog_CC="${ac_tool_prefix}cc"
6542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6552 if test -n "$CC"; then
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6554 $as_echo "$CC" >&6; }
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6557 $as_echo "no" >&6; }
6563 if test -z "$CC"; then
6564 # Extract the first word of "cc", so it can be a program name with args.
6565 set dummy cc; ac_word=$2
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6567 $as_echo_n "checking for $ac_word... " >&6; }
6568 if ${ac_cv_prog_CC+:} false; then :
6569 $as_echo_n "(cached) " >&6
6571 if test -n "$CC"; then
6572 ac_cv_prog_CC="$CC" # Let the user override the test.
6575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6579 test -z "$as_dir" && as_dir=.
6580 for ac_exec_ext in '' $ac_executable_extensions; do
6581 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6582 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6583 ac_prog_rejected=yes
6587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6594 if test $ac_prog_rejected = yes; then
6595 # We found a bogon in the path, so make sure we never use it.
6596 set dummy $ac_cv_prog_CC
6598 if test $# != 0; then
6599 # We chose a different compiler from the bogus one.
6600 # However, it has the same basename, so the bogon will be chosen
6601 # first if we set CC to just the basename; use the full file name.
6603 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
6609 if test -n "$CC"; then
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6611 $as_echo "$CC" >&6; }
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6614 $as_echo "no" >&6; }
6619 if test -z "$CC"; then
6620 if test -n "$ac_tool_prefix"; then
6621 for ac_prog in cl.exe
6623 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6624 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6626 $as_echo_n "checking for $ac_word... " >&6; }
6627 if ${ac_cv_prog_CC+:} false; then :
6628 $as_echo_n "(cached) " >&6
6630 if test -n "$CC"; then
6631 ac_cv_prog_CC="$CC" # Let the user override the test.
6633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6637 test -z "$as_dir" && as_dir=.
6638 for ac_exec_ext in '' $ac_executable_extensions; do
6639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6640 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6651 if test -n "$CC"; then
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6653 $as_echo "$CC" >&6; }
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6656 $as_echo "no" >&6; }
6660 test -n "$CC" && break
6663 if test -z "$CC"; then
6665 for ac_prog in cl.exe
6667 # Extract the first word of "$ac_prog", so it can be a program name with args.
6668 set dummy $ac_prog; ac_word=$2
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6670 $as_echo_n "checking for $ac_word... " >&6; }
6671 if ${ac_cv_prog_ac_ct_CC+:} false; then :
6672 $as_echo_n "(cached) " >&6
6674 if test -n "$ac_ct_CC"; then
6675 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6681 test -z "$as_dir" && as_dir=.
6682 for ac_exec_ext in '' $ac_executable_extensions; do
6683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6684 ac_cv_prog_ac_ct_CC="$ac_prog"
6685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6694 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6695 if test -n "$ac_ct_CC"; then
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
6697 $as_echo "$ac_ct_CC" >&6; }
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6700 $as_echo "no" >&6; }
6704 test -n "$ac_ct_CC" && break
6707 if test "x$ac_ct_CC" = x; then
6710 case $cross_compiling:$ac_tool_warned in
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6713 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6714 ac_tool_warned=yes ;;
6723 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6725 as_fn_error $? "no acceptable C compiler found in \$PATH
6726 See \`config.log' for more details" "$LINENO" 5; }
6728 # Provide some information about the compiler.
6729 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
6732 for ac_option in --version -v -V -qversion; do
6733 { { ac_try="$ac_compiler $ac_option >&5"
6735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6736 *) ac_try_echo=$ac_try;;
6738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6739 $as_echo "$ac_try_echo"; } >&5
6740 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6742 if test -s conftest.err; then
6744 ... rest of stderr output deleted ...
6745 10q' conftest.err >conftest.er1
6746 cat conftest.er1 >&5
6748 rm -f conftest.er1 conftest.err
6749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6750 test $ac_status = 0; }
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
6754 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
6755 if ${ac_cv_c_compiler_gnu+:} false; then :
6756 $as_echo_n "(cached) " >&6
6758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6759 /* end confdefs.h. */
6772 if ac_fn_c_try_compile "$LINENO"; then :
6777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6778 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
6782 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
6783 if test $ac_compiler_gnu = yes; then
6788 ac_test_CFLAGS=${CFLAGS+set}
6789 ac_save_CFLAGS=$CFLAGS
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
6791 $as_echo_n "checking whether $CC accepts -g... " >&6; }
6792 if ${ac_cv_prog_cc_g+:} false; then :
6793 $as_echo_n "(cached) " >&6
6795 ac_save_c_werror_flag=$ac_c_werror_flag
6796 ac_c_werror_flag=yes
6799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6800 /* end confdefs.h. */
6810 if ac_fn_c_try_compile "$LINENO"; then :
6814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6815 /* end confdefs.h. */
6825 if ac_fn_c_try_compile "$LINENO"; then :
6828 ac_c_werror_flag=$ac_save_c_werror_flag
6830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6831 /* end confdefs.h. */
6841 if ac_fn_c_try_compile "$LINENO"; then :
6844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6849 ac_c_werror_flag=$ac_save_c_werror_flag
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
6852 $as_echo "$ac_cv_prog_cc_g" >&6; }
6853 if test "$ac_test_CFLAGS" = set; then
6854 CFLAGS=$ac_save_CFLAGS
6855 elif test $ac_cv_prog_cc_g = yes; then
6856 if test "$GCC" = yes; then
6862 if test "$GCC" = yes; then
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6869 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6870 if ${ac_cv_prog_cc_c89+:} false; then :
6871 $as_echo_n "(cached) " >&6
6873 ac_cv_prog_cc_c89=no
6875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6876 /* end confdefs.h. */
6880 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6881 struct buf { int x; };
6882 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6883 static char *e (p, i)
6889 static char *f (char * (*g) (char **, int), char **p, ...)
6894 s = g (p, va_arg (v,int));
6899 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6900 function prototypes and stuff, but not '\xHH' hex character constants.
6901 These don't provoke an error unfortunately, instead are silently treated
6902 as 'x'. The following induces an error, until -std is added to get
6903 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6904 array size at least. It's necessary to write '\x00'==0 to get something
6905 that's true only with -std. */
6906 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6908 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6909 inside strings and character constants. */
6911 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6913 int test (int i, double x);
6914 struct s1 {int (*f) (int a);};
6915 struct s2 {int (*f) (double a);};
6916 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6922 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6927 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6928 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6930 CC="$ac_save_CC $ac_arg"
6931 if ac_fn_c_try_compile "$LINENO"; then :
6932 ac_cv_prog_cc_c89=$ac_arg
6934 rm -f core conftest.err conftest.$ac_objext
6935 test "x$ac_cv_prog_cc_c89" != "xno" && break
6937 rm -f conftest.$ac_ext
6942 case "x$ac_cv_prog_cc_c89" in
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6945 $as_echo "none needed" >&6; } ;;
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6948 $as_echo "unsupported" >&6; } ;;
6950 CC="$CC $ac_cv_prog_cc_c89"
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6952 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6954 if test "x$ac_cv_prog_cc_c89" != xno; then :
6959 ac_cpp='$CPP $CPPFLAGS'
6960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6965 ac_cpp='$CPP $CPPFLAGS'
6966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
6970 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
6971 if ${am_cv_prog_cc_c_o+:} false; then :
6972 $as_echo_n "(cached) " >&6
6974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6975 /* end confdefs.h. */
6985 # Make sure it works both with $CC and with simple cc.
6986 # Following AC_PROG_CC_C_O, we do the test twice because some
6987 # compilers refuse to overwrite an existing .o file with -o,
6988 # though they will create one.
6989 am_cv_prog_cc_c_o=yes
6991 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
6992 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
6994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6995 (exit $ac_status); } \
6996 && test -f conftest2.$ac_objext; then
6999 am_cv_prog_cc_c_o=no
7003 rm -f core conftest*
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
7007 $as_echo "$am_cv_prog_cc_c_o" >&6; }
7008 if test "$am_cv_prog_cc_c_o" != yes; then
7009 # Losing compiler, so override with the script.
7010 # FIXME: It is wrong to rewrite CC.
7011 # But if we don't then we get into trouble of one sort or another.
7012 # A longer-term fix would be to have automake use am__CC in this case,
7013 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
7014 CC="$am_aux_dir/compile $CC"
7017 ac_cpp='$CPP $CPPFLAGS'
7018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7023 depcc="$CC" am_compiler_list=
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7026 $as_echo_n "checking dependency style of $depcc... " >&6; }
7027 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
7028 $as_echo_n "(cached) " >&6
7030 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7031 # We make a subdir and do the tests there. Otherwise we can end up
7032 # making bogus files that we don't know about and never remove. For
7033 # instance it was reported that on HP-UX the gcc test will end up
7034 # making a dummy file named 'D' -- because '-MD' means "put the output
7038 # Copy depcomp to subdir because otherwise we won't find it if we're
7039 # using a relative directory.
7040 cp "$am_depcomp" conftest.dir
7042 # We will build objects and dependencies in a subdirectory because
7043 # it helps to detect inapplicable dependency modes. For instance
7044 # both Tru64's cc and ICC support -MD to output dependencies as a
7045 # side effect of compilation, but ICC will put the dependencies in
7046 # the current directory while Tru64 will put them in the object
7050 am_cv_CC_dependencies_compiler_type=none
7051 if test "$am_compiler_list" = ""; then
7052 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7055 case " $depcc " in #(
7056 *\ -arch\ *\ -arch\ *) am__universal=true ;;
7059 for depmode in $am_compiler_list; do
7060 # Setup a source with many dependencies, because some compilers
7061 # like to wrap large dependency lists on column 80 (with \), and
7062 # we should not choose a depcomp mode which is confused by this.
7064 # We need to recreate these files for each test, as the compiler may
7065 # overwrite some of them when testing with obscure command lines.
7066 # This happens at least with the AIX C compiler.
7068 for i in 1 2 3 4 5 6; do
7069 echo '#include "conftst'$i'.h"' >> sub/conftest.c
7070 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
7071 # Solaris 10 /bin/sh.
7072 echo '/* dummy */' > sub/conftst$i.h
7074 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7076 # We check with '-c' and '-o' for the sake of the "dashmstdout"
7077 # mode. It turns out that the SunPro C++ compiler does not properly
7078 # handle '-M -o', and we need to detect this. Also, some Intel
7079 # versions had trouble with output in subdirs.
7080 am__obj=sub/conftest.${OBJEXT-o}
7081 am__minus_obj="-o $am__obj"
7084 # This depmode causes a compiler race in universal mode.
7085 test "$am__universal" = false || continue
7088 # After this tag, mechanisms are not by side-effect, so they'll
7089 # only be used when explicitly requested.
7090 if test "x$enable_dependency_tracking" = xyes; then
7096 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
7097 # This compiler won't grok '-c -o', but also, the minuso test has
7098 # not run yet. These depmodes are late enough in the game, and
7099 # so weak that their functioning should not be impacted.
7100 am__obj=conftest.${OBJEXT-o}
7105 if depmode=$depmode \
7106 source=sub/conftest.c object=$am__obj \
7107 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7108 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
7109 >/dev/null 2>conftest.err &&
7110 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7111 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7112 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
7113 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7114 # icc doesn't choke on unknown options, it will just issue warnings
7115 # or remarks (even with -Werror). So we grep stderr for any message
7116 # that says an option was ignored or not supported.
7117 # When given -MP, icc 7.0 and 7.1 complain thusly:
7118 # icc: Command line warning: ignoring option '-M'; no argument required
7119 # The diagnosis changed in icc 8.0:
7120 # icc: Command line remark: option '-MP' not supported
7121 if (grep 'ignoring option' conftest.err ||
7122 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7123 am_cv_CC_dependencies_compiler_type=$depmode
7132 am_cv_CC_dependencies_compiler_type=none
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
7137 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
7138 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
7141 test "x$enable_dependency_tracking" != xno \
7142 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
7144 am__fastdepCC_FALSE='#'
7146 am__fastdepCC_TRUE='#'
7147 am__fastdepCC_FALSE=
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
7152 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
7153 if ${ac_cv_prog_cc_c99+:} false; then :
7154 $as_echo_n "(cached) " >&6
7156 ac_cv_prog_cc_c99=no
7158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7159 /* end confdefs.h. */
7161 #include <stdbool.h>
7166 // Check varargs macros. These examples are taken from C99 6.10.3.5.
7167 #define debug(...) fprintf (stderr, __VA_ARGS__)
7168 #define showlist(...) puts (#__VA_ARGS__)
7169 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
7171 test_varargs_macros (void)
7176 debug ("X = %d\n", x);
7177 showlist (The first, second, and third items.);
7178 report (x>y, "x is %d but y is %d", x, y);
7181 // Check long long types.
7182 #define BIG64 18446744073709551615ull
7183 #define BIG32 4294967295ul
7184 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
7186 your preprocessor is broken;
7190 your preprocessor is broken;
7192 static long long int bignum = -9223372036854775807LL;
7193 static unsigned long long int ubignum = BIG64;
7195 struct incomplete_array
7203 const wchar_t *name;
7207 typedef const char *ccp;
7210 test_restrict (ccp restrict text)
7212 // See if C++-style comments work.
7213 // Iterate through items via the restricted pointer.
7214 // Also check for declarations in for loops.
7215 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
7220 // Check varargs and va_copy.
7222 test_varargs (const char *format, ...)
7225 va_start (args, format);
7227 va_copy (args_copy, args);
7238 str = va_arg (args_copy, const char *);
7241 number = va_arg (args_copy, int);
7244 fnumber = va_arg (args_copy, double);
7259 _Bool success = false;
7262 if (test_restrict ("String literal") == 0)
7264 char *restrict newvar = "Another string";
7267 test_varargs ("s, d' f .", "string", 65, 34.234);
7268 test_varargs_macros ();
7270 // Check flexible array members.
7271 struct incomplete_array *ia =
7272 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
7274 for (int i = 0; i < ia->datasize; ++i)
7275 ia->data[i] = i * 1.234;
7277 // Check named initializers.
7278 struct named_init ni = {
7280 .name = L"Test wide string",
7281 .average = 543.34343,
7286 int dynamic_array[ni.number];
7287 dynamic_array[ni.number - 1] = 543;
7289 // work around unused variable warnings
7290 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
7291 || dynamic_array[ni.number - 1] != 543);
7297 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
7299 CC="$ac_save_CC $ac_arg"
7300 if ac_fn_c_try_compile "$LINENO"; then :
7301 ac_cv_prog_cc_c99=$ac_arg
7303 rm -f core conftest.err conftest.$ac_objext
7304 test "x$ac_cv_prog_cc_c99" != "xno" && break
7306 rm -f conftest.$ac_ext
7311 case "x$ac_cv_prog_cc_c99" in
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
7314 $as_echo "none needed" >&6; } ;;
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
7317 $as_echo "unsupported" >&6; } ;;
7319 CC="$CC $ac_cv_prog_cc_c99"
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
7321 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
7323 if test "x$ac_cv_prog_cc_c99" != xno; then :
7329 ac_cpp='$CXXCPP $CPPFLAGS'
7330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7333 if test -z "$CXX"; then
7334 if test -n "$CCC"; then
7337 if test -n "$ac_tool_prefix"; then
7338 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7340 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7341 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7343 $as_echo_n "checking for $ac_word... " >&6; }
7344 if ${ac_cv_prog_CXX+:} false; then :
7345 $as_echo_n "(cached) " >&6
7347 if test -n "$CXX"; then
7348 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7354 test -z "$as_dir" && as_dir=.
7355 for ac_exec_ext in '' $ac_executable_extensions; do
7356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7357 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7368 if test -n "$CXX"; then
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
7370 $as_echo "$CXX" >&6; }
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7373 $as_echo "no" >&6; }
7377 test -n "$CXX" && break
7380 if test -z "$CXX"; then
7382 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7384 # Extract the first word of "$ac_prog", so it can be a program name with args.
7385 set dummy $ac_prog; ac_word=$2
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7387 $as_echo_n "checking for $ac_word... " >&6; }
7388 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
7389 $as_echo_n "(cached) " >&6
7391 if test -n "$ac_ct_CXX"; then
7392 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7398 test -z "$as_dir" && as_dir=.
7399 for ac_exec_ext in '' $ac_executable_extensions; do
7400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7401 ac_cv_prog_ac_ct_CXX="$ac_prog"
7402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7411 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7412 if test -n "$ac_ct_CXX"; then
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7414 $as_echo "$ac_ct_CXX" >&6; }
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7417 $as_echo "no" >&6; }
7421 test -n "$ac_ct_CXX" && break
7424 if test "x$ac_ct_CXX" = x; then
7427 case $cross_compiling:$ac_tool_warned in
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7431 ac_tool_warned=yes ;;
7439 # Provide some information about the compiler.
7440 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
7443 for ac_option in --version -v -V -qversion; do
7444 { { ac_try="$ac_compiler $ac_option >&5"
7446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7447 *) ac_try_echo=$ac_try;;
7449 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7450 $as_echo "$ac_try_echo"; } >&5
7451 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
7453 if test -s conftest.err; then
7455 ... rest of stderr output deleted ...
7456 10q' conftest.err >conftest.er1
7457 cat conftest.er1 >&5
7459 rm -f conftest.er1 conftest.err
7460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7461 test $ac_status = 0; }
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
7465 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7466 if ${ac_cv_cxx_compiler_gnu+:} false; then :
7467 $as_echo_n "(cached) " >&6
7469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7470 /* end confdefs.h. */
7483 if ac_fn_cxx_try_compile "$LINENO"; then :
7488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7489 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
7493 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
7494 if test $ac_compiler_gnu = yes; then
7499 ac_test_CXXFLAGS=${CXXFLAGS+set}
7500 ac_save_CXXFLAGS=$CXXFLAGS
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
7502 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
7503 if ${ac_cv_prog_cxx_g+:} false; then :
7504 $as_echo_n "(cached) " >&6
7506 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7507 ac_cxx_werror_flag=yes
7510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7511 /* end confdefs.h. */
7521 if ac_fn_cxx_try_compile "$LINENO"; then :
7522 ac_cv_prog_cxx_g=yes
7525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7526 /* end confdefs.h. */
7536 if ac_fn_cxx_try_compile "$LINENO"; then :
7539 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7542 /* end confdefs.h. */
7552 if ac_fn_cxx_try_compile "$LINENO"; then :
7553 ac_cv_prog_cxx_g=yes
7555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7560 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
7563 $as_echo "$ac_cv_prog_cxx_g" >&6; }
7564 if test "$ac_test_CXXFLAGS" = set; then
7565 CXXFLAGS=$ac_save_CXXFLAGS
7566 elif test $ac_cv_prog_cxx_g = yes; then
7567 if test "$GXX" = yes; then
7573 if test "$GXX" = yes; then
7580 ac_cpp='$CPP $CPPFLAGS'
7581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7585 depcc="$CXX" am_compiler_list=
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7588 $as_echo_n "checking dependency style of $depcc... " >&6; }
7589 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
7590 $as_echo_n "(cached) " >&6
7592 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7593 # We make a subdir and do the tests there. Otherwise we can end up
7594 # making bogus files that we don't know about and never remove. For
7595 # instance it was reported that on HP-UX the gcc test will end up
7596 # making a dummy file named 'D' -- because '-MD' means "put the output
7600 # Copy depcomp to subdir because otherwise we won't find it if we're
7601 # using a relative directory.
7602 cp "$am_depcomp" conftest.dir
7604 # We will build objects and dependencies in a subdirectory because
7605 # it helps to detect inapplicable dependency modes. For instance
7606 # both Tru64's cc and ICC support -MD to output dependencies as a
7607 # side effect of compilation, but ICC will put the dependencies in
7608 # the current directory while Tru64 will put them in the object
7612 am_cv_CXX_dependencies_compiler_type=none
7613 if test "$am_compiler_list" = ""; then
7614 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7617 case " $depcc " in #(
7618 *\ -arch\ *\ -arch\ *) am__universal=true ;;
7621 for depmode in $am_compiler_list; do
7622 # Setup a source with many dependencies, because some compilers
7623 # like to wrap large dependency lists on column 80 (with \), and
7624 # we should not choose a depcomp mode which is confused by this.
7626 # We need to recreate these files for each test, as the compiler may
7627 # overwrite some of them when testing with obscure command lines.
7628 # This happens at least with the AIX C compiler.
7630 for i in 1 2 3 4 5 6; do
7631 echo '#include "conftst'$i'.h"' >> sub/conftest.c
7632 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
7633 # Solaris 10 /bin/sh.
7634 echo '/* dummy */' > sub/conftst$i.h
7636 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7638 # We check with '-c' and '-o' for the sake of the "dashmstdout"
7639 # mode. It turns out that the SunPro C++ compiler does not properly
7640 # handle '-M -o', and we need to detect this. Also, some Intel
7641 # versions had trouble with output in subdirs.
7642 am__obj=sub/conftest.${OBJEXT-o}
7643 am__minus_obj="-o $am__obj"
7646 # This depmode causes a compiler race in universal mode.
7647 test "$am__universal" = false || continue
7650 # After this tag, mechanisms are not by side-effect, so they'll
7651 # only be used when explicitly requested.
7652 if test "x$enable_dependency_tracking" = xyes; then
7658 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
7659 # This compiler won't grok '-c -o', but also, the minuso test has
7660 # not run yet. These depmodes are late enough in the game, and
7661 # so weak that their functioning should not be impacted.
7662 am__obj=conftest.${OBJEXT-o}
7667 if depmode=$depmode \
7668 source=sub/conftest.c object=$am__obj \
7669 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7670 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
7671 >/dev/null 2>conftest.err &&
7672 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7673 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7674 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
7675 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7676 # icc doesn't choke on unknown options, it will just issue warnings
7677 # or remarks (even with -Werror). So we grep stderr for any message
7678 # that says an option was ignored or not supported.
7679 # When given -MP, icc 7.0 and 7.1 complain thusly:
7680 # icc: Command line warning: ignoring option '-M'; no argument required
7681 # The diagnosis changed in icc 8.0:
7682 # icc: Command line remark: option '-MP' not supported
7683 if (grep 'ignoring option' conftest.err ||
7684 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7685 am_cv_CXX_dependencies_compiler_type=$depmode
7694 am_cv_CXX_dependencies_compiler_type=none
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
7699 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
7700 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7703 test "x$enable_dependency_tracking" != xno \
7704 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7705 am__fastdepCXX_TRUE=
7706 am__fastdepCXX_FALSE='#'
7708 am__fastdepCXX_TRUE='#'
7709 am__fastdepCXX_FALSE=
7714 ac_cpp='$CPP $CPPFLAGS'
7715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7719 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7720 # On Suns, sometimes $CPP names a directory.
7721 if test -n "$CPP" && test -d "$CPP"; then
7724 if test -z "$CPP"; then
7725 if ${ac_cv_prog_CPP+:} false; then :
7726 $as_echo_n "(cached) " >&6
7728 # Double quotes because CPP needs to be expanded
7729 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7732 for ac_c_preproc_warn_flag in '' yes
7734 # Use a header file that comes with gcc, so configuring glibc
7735 # with a fresh cross-compiler works.
7736 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7737 # <limits.h> exists even on freestanding compilers.
7738 # On the NeXT, cc -E runs the code through the compiler's parser,
7739 # not just through cpp. "Syntax error" is here to catch this case.
7740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7741 /* end confdefs.h. */
7743 # include <limits.h>
7745 # include <assert.h>
7749 if ac_fn_c_try_cpp "$LINENO"; then :
7752 # Broken: fails on valid input.
7755 rm -f conftest.err conftest.i conftest.$ac_ext
7757 # OK, works on sane cases. Now check whether nonexistent headers
7758 # can be detected and how.
7759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7760 /* end confdefs.h. */
7761 #include <ac_nonexistent.h>
7763 if ac_fn_c_try_cpp "$LINENO"; then :
7764 # Broken: success on invalid input.
7767 # Passes both tests.
7771 rm -f conftest.err conftest.i conftest.$ac_ext
7774 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7775 rm -f conftest.i conftest.err conftest.$ac_ext
7776 if $ac_preproc_ok; then :
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7789 $as_echo "$CPP" >&6; }
7791 for ac_c_preproc_warn_flag in '' yes
7793 # Use a header file that comes with gcc, so configuring glibc
7794 # with a fresh cross-compiler works.
7795 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7796 # <limits.h> exists even on freestanding compilers.
7797 # On the NeXT, cc -E runs the code through the compiler's parser,
7798 # not just through cpp. "Syntax error" is here to catch this case.
7799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7800 /* end confdefs.h. */
7802 # include <limits.h>
7804 # include <assert.h>
7808 if ac_fn_c_try_cpp "$LINENO"; then :
7811 # Broken: fails on valid input.
7814 rm -f conftest.err conftest.i conftest.$ac_ext
7816 # OK, works on sane cases. Now check whether nonexistent headers
7817 # can be detected and how.
7818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7819 /* end confdefs.h. */
7820 #include <ac_nonexistent.h>
7822 if ac_fn_c_try_cpp "$LINENO"; then :
7823 # Broken: success on invalid input.
7826 # Passes both tests.
7830 rm -f conftest.err conftest.i conftest.$ac_ext
7833 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7834 rm -f conftest.i conftest.err conftest.$ac_ext
7835 if $ac_preproc_ok; then :
7838 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7840 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7841 See \`config.log' for more details" "$LINENO" 5; }
7845 ac_cpp='$CPP $CPPFLAGS'
7846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7852 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7853 if ${ac_cv_path_GREP+:} false; then :
7854 $as_echo_n "(cached) " >&6
7856 if test -z "$GREP"; then
7857 ac_path_GREP_found=false
7858 # Loop through the user's path and test for each of PROGNAME-LIST
7859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7860 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7863 test -z "$as_dir" && as_dir=.
7864 for ac_prog in grep ggrep; do
7865 for ac_exec_ext in '' $ac_executable_extensions; do
7866 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7867 as_fn_executable_p "$ac_path_GREP" || continue
7868 # Check for GNU ac_path_GREP and select it if it is found.
7869 # Check for GNU $ac_path_GREP
7870 case `"$ac_path_GREP" --version 2>&1` in
7872 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7875 $as_echo_n 0123456789 >"conftest.in"
7878 cat "conftest.in" "conftest.in" >"conftest.tmp"
7879 mv "conftest.tmp" "conftest.in"
7880 cp "conftest.in" "conftest.nl"
7881 $as_echo 'GREP' >> "conftest.nl"
7882 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7883 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7884 as_fn_arith $ac_count + 1 && ac_count=$as_val
7885 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7886 # Best one so far, save it but keep looking for a better one
7887 ac_cv_path_GREP="$ac_path_GREP"
7888 ac_path_GREP_max=$ac_count
7890 # 10*(2^10) chars as input seems more than enough
7891 test $ac_count -gt 10 && break
7893 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7896 $ac_path_GREP_found && break 3
7901 if test -z "$ac_cv_path_GREP"; then
7902 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7905 ac_cv_path_GREP=$GREP
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7910 $as_echo "$ac_cv_path_GREP" >&6; }
7911 GREP="$ac_cv_path_GREP"
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7915 $as_echo_n "checking for egrep... " >&6; }
7916 if ${ac_cv_path_EGREP+:} false; then :
7917 $as_echo_n "(cached) " >&6
7919 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7920 then ac_cv_path_EGREP="$GREP -E"
7922 if test -z "$EGREP"; then
7923 ac_path_EGREP_found=false
7924 # Loop through the user's path and test for each of PROGNAME-LIST
7925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7926 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7929 test -z "$as_dir" && as_dir=.
7930 for ac_prog in egrep; do
7931 for ac_exec_ext in '' $ac_executable_extensions; do
7932 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
7933 as_fn_executable_p "$ac_path_EGREP" || continue
7934 # Check for GNU ac_path_EGREP and select it if it is found.
7935 # Check for GNU $ac_path_EGREP
7936 case `"$ac_path_EGREP" --version 2>&1` in
7938 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7941 $as_echo_n 0123456789 >"conftest.in"
7944 cat "conftest.in" "conftest.in" >"conftest.tmp"
7945 mv "conftest.tmp" "conftest.in"
7946 cp "conftest.in" "conftest.nl"
7947 $as_echo 'EGREP' >> "conftest.nl"
7948 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7949 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7950 as_fn_arith $ac_count + 1 && ac_count=$as_val
7951 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7952 # Best one so far, save it but keep looking for a better one
7953 ac_cv_path_EGREP="$ac_path_EGREP"
7954 ac_path_EGREP_max=$ac_count
7956 # 10*(2^10) chars as input seems more than enough
7957 test $ac_count -gt 10 && break
7959 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7962 $ac_path_EGREP_found && break 3
7967 if test -z "$ac_cv_path_EGREP"; then
7968 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7971 ac_cv_path_EGREP=$EGREP
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7977 $as_echo "$ac_cv_path_EGREP" >&6; }
7978 EGREP="$ac_cv_path_EGREP"
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7982 $as_echo_n "checking for ANSI C header files... " >&6; }
7983 if ${ac_cv_header_stdc+:} false; then :
7984 $as_echo_n "(cached) " >&6
7986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7987 /* end confdefs.h. */
8001 if ac_fn_c_try_compile "$LINENO"; then :
8002 ac_cv_header_stdc=yes
8004 ac_cv_header_stdc=no
8006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8008 if test $ac_cv_header_stdc = yes; then
8009 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8011 /* end confdefs.h. */
8015 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8016 $EGREP "memchr" >/dev/null 2>&1; then :
8019 ac_cv_header_stdc=no
8025 if test $ac_cv_header_stdc = yes; then
8026 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8028 /* end confdefs.h. */
8032 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8033 $EGREP "free" >/dev/null 2>&1; then :
8036 ac_cv_header_stdc=no
8042 if test $ac_cv_header_stdc = yes; then
8043 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8044 if test "$cross_compiling" = yes; then :
8047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8048 /* end confdefs.h. */
8051 #if ((' ' & 0x0FF) == 0x020)
8052 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8053 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8055 # define ISLOWER(c) \
8056 (('a' <= (c) && (c) <= 'i') \
8057 || ('j' <= (c) && (c) <= 'r') \
8058 || ('s' <= (c) && (c) <= 'z'))
8059 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8062 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8067 for (i = 0; i < 256; i++)
8068 if (XOR (islower (i), ISLOWER (i))
8069 || toupper (i) != TOUPPER (i))
8074 if ac_fn_c_try_run "$LINENO"; then :
8077 ac_cv_header_stdc=no
8079 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8080 conftest.$ac_objext conftest.beam conftest.$ac_ext
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8086 $as_echo "$ac_cv_header_stdc" >&6; }
8087 if test $ac_cv_header_stdc = yes; then
8089 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8094 # Check whether --enable-largefile was given.
8095 if test "${enable_largefile+set}" = set; then :
8096 enableval=$enable_largefile;
8099 if test "$enable_largefile" != no; then
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
8102 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
8103 if ${ac_cv_sys_largefile_CC+:} false; then :
8104 $as_echo_n "(cached) " >&6
8106 ac_cv_sys_largefile_CC=no
8107 if test "$GCC" != yes; then
8110 # IRIX 6.2 and later do not support large files by default,
8111 # so use the C compiler's -n32 option if that helps.
8112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8113 /* end confdefs.h. */
8114 #include <sys/types.h>
8115 /* Check that off_t can represent 2**63 - 1 correctly.
8116 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8117 since some C++ compilers masquerading as C compilers
8118 incorrectly reject 9223372036854775807. */
8119 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
8120 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8121 && LARGE_OFF_T % 2147483647 == 1)
8131 if ac_fn_c_try_compile "$LINENO"; then :
8134 rm -f core conftest.err conftest.$ac_objext
8136 if ac_fn_c_try_compile "$LINENO"; then :
8137 ac_cv_sys_largefile_CC=' -n32'; break
8139 rm -f core conftest.err conftest.$ac_objext
8143 rm -f conftest.$ac_ext
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
8147 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
8148 if test "$ac_cv_sys_largefile_CC" != no; then
8149 CC=$CC$ac_cv_sys_largefile_CC
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
8153 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
8154 if ${ac_cv_sys_file_offset_bits+:} false; then :
8155 $as_echo_n "(cached) " >&6
8158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8159 /* end confdefs.h. */
8160 #include <sys/types.h>
8161 /* Check that off_t can represent 2**63 - 1 correctly.
8162 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8163 since some C++ compilers masquerading as C compilers
8164 incorrectly reject 9223372036854775807. */
8165 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
8166 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8167 && LARGE_OFF_T % 2147483647 == 1)
8177 if ac_fn_c_try_compile "$LINENO"; then :
8178 ac_cv_sys_file_offset_bits=no; break
8180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8182 /* end confdefs.h. */
8183 #define _FILE_OFFSET_BITS 64
8184 #include <sys/types.h>
8185 /* Check that off_t can represent 2**63 - 1 correctly.
8186 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8187 since some C++ compilers masquerading as C compilers
8188 incorrectly reject 9223372036854775807. */
8189 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
8190 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8191 && LARGE_OFF_T % 2147483647 == 1)
8201 if ac_fn_c_try_compile "$LINENO"; then :
8202 ac_cv_sys_file_offset_bits=64; break
8204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8205 ac_cv_sys_file_offset_bits=unknown
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
8210 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
8211 case $ac_cv_sys_file_offset_bits in #(
8214 cat >>confdefs.h <<_ACEOF
8215 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
8220 if test $ac_cv_sys_file_offset_bits = unknown; then
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
8222 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
8223 if ${ac_cv_sys_large_files+:} false; then :
8224 $as_echo_n "(cached) " >&6
8227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8228 /* end confdefs.h. */
8229 #include <sys/types.h>
8230 /* Check that off_t can represent 2**63 - 1 correctly.
8231 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8232 since some C++ compilers masquerading as C compilers
8233 incorrectly reject 9223372036854775807. */
8234 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
8235 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8236 && LARGE_OFF_T % 2147483647 == 1)
8246 if ac_fn_c_try_compile "$LINENO"; then :
8247 ac_cv_sys_large_files=no; break
8249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8251 /* end confdefs.h. */
8252 #define _LARGE_FILES 1
8253 #include <sys/types.h>
8254 /* Check that off_t can represent 2**63 - 1 correctly.
8255 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8256 since some C++ compilers masquerading as C compilers
8257 incorrectly reject 9223372036854775807. */
8258 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
8259 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8260 && LARGE_OFF_T % 2147483647 == 1)
8270 if ac_fn_c_try_compile "$LINENO"; then :
8271 ac_cv_sys_large_files=1; break
8273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8274 ac_cv_sys_large_files=unknown
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
8279 $as_echo "$ac_cv_sys_large_files" >&6; }
8280 case $ac_cv_sys_large_files in #(
8283 cat >>confdefs.h <<_ACEOF
8284 #define _LARGE_FILES $ac_cv_sys_large_files
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
8296 $as_echo_n "checking whether NLS is requested... " >&6; }
8297 # Check whether --enable-nls was given.
8298 if test "${enable_nls+set}" = set; then :
8299 enableval=$enable_nls; USE_NLS=$enableval
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
8305 $as_echo "$USE_NLS" >&6; }
8310 case "$am__api_version" in
8312 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
8318 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
8319 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
8320 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
8321 if test -n "0.35.0"; then
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
8323 $as_echo_n "checking for intltool >= 0.35.0... " >&6; }
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
8325 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
8326 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
8327 as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
8330 # Extract the first word of "intltool-update", so it can be a program name with args.
8331 set dummy intltool-update; ac_word=$2
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8333 $as_echo_n "checking for $ac_word... " >&6; }
8334 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
8335 $as_echo_n "(cached) " >&6
8337 case $INTLTOOL_UPDATE in
8339 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
8342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8346 test -z "$as_dir" && as_dir=.
8347 for ac_exec_ext in '' $ac_executable_extensions; do
8348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8349 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
8350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8360 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
8361 if test -n "$INTLTOOL_UPDATE"; then
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
8363 $as_echo "$INTLTOOL_UPDATE" >&6; }
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8366 $as_echo "no" >&6; }
8370 # Extract the first word of "intltool-merge", so it can be a program name with args.
8371 set dummy intltool-merge; ac_word=$2
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8373 $as_echo_n "checking for $ac_word... " >&6; }
8374 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
8375 $as_echo_n "(cached) " >&6
8377 case $INTLTOOL_MERGE in
8379 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
8382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8386 test -z "$as_dir" && as_dir=.
8387 for ac_exec_ext in '' $ac_executable_extensions; do
8388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8389 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
8390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8400 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
8401 if test -n "$INTLTOOL_MERGE"; then
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
8403 $as_echo "$INTLTOOL_MERGE" >&6; }
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8406 $as_echo "no" >&6; }
8410 # Extract the first word of "intltool-extract", so it can be a program name with args.
8411 set dummy intltool-extract; ac_word=$2
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8413 $as_echo_n "checking for $ac_word... " >&6; }
8414 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
8415 $as_echo_n "(cached) " >&6
8417 case $INTLTOOL_EXTRACT in
8419 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
8422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8426 test -z "$as_dir" && as_dir=.
8427 for ac_exec_ext in '' $ac_executable_extensions; do
8428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8429 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
8430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8440 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
8441 if test -n "$INTLTOOL_EXTRACT"; then
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
8443 $as_echo "$INTLTOOL_EXTRACT" >&6; }
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8446 $as_echo "no" >&6; }
8450 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
8451 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
8454 if test -z "$AM_DEFAULT_VERBOSITY"; then
8455 AM_DEFAULT_VERBOSITY=1
8459 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
8460 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
8461 INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
8466 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
8467 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
8468 intltool__v_merge_options_0='-q'
8473 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8474 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8475 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8476 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8477 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
8478 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8479 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8480 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8481 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8482 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8483 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8484 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
8485 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
8487 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
8489 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8490 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8491 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8492 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8493 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8494 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8495 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8593 # Check the gettext tools to make sure they are GNU
8594 # Extract the first word of "xgettext", so it can be a program name with args.
8595 set dummy xgettext; ac_word=$2
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8597 $as_echo_n "checking for $ac_word... " >&6; }
8598 if ${ac_cv_path_XGETTEXT+:} false; then :
8599 $as_echo_n "(cached) " >&6
8603 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
8606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8610 test -z "$as_dir" && as_dir=.
8611 for ac_exec_ext in '' $ac_executable_extensions; do
8612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8613 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
8614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8624 XGETTEXT=$ac_cv_path_XGETTEXT
8625 if test -n "$XGETTEXT"; then
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
8627 $as_echo "$XGETTEXT" >&6; }
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8630 $as_echo "no" >&6; }
8634 # Extract the first word of "msgmerge", so it can be a program name with args.
8635 set dummy msgmerge; ac_word=$2
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8637 $as_echo_n "checking for $ac_word... " >&6; }
8638 if ${ac_cv_path_MSGMERGE+:} false; then :
8639 $as_echo_n "(cached) " >&6
8643 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
8646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8650 test -z "$as_dir" && as_dir=.
8651 for ac_exec_ext in '' $ac_executable_extensions; do
8652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8653 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
8654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8664 MSGMERGE=$ac_cv_path_MSGMERGE
8665 if test -n "$MSGMERGE"; then
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
8667 $as_echo "$MSGMERGE" >&6; }
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8670 $as_echo "no" >&6; }
8674 # Extract the first word of "msgfmt", so it can be a program name with args.
8675 set dummy msgfmt; ac_word=$2
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8677 $as_echo_n "checking for $ac_word... " >&6; }
8678 if ${ac_cv_path_MSGFMT+:} false; then :
8679 $as_echo_n "(cached) " >&6
8683 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
8686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8690 test -z "$as_dir" && as_dir=.
8691 for ac_exec_ext in '' $ac_executable_extensions; do
8692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8693 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
8694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8704 MSGFMT=$ac_cv_path_MSGFMT
8705 if test -n "$MSGFMT"; then
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
8707 $as_echo "$MSGFMT" >&6; }
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8710 $as_echo "no" >&6; }
8714 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8715 set dummy gmsgfmt; ac_word=$2
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8717 $as_echo_n "checking for $ac_word... " >&6; }
8718 if ${ac_cv_path_GMSGFMT+:} false; then :
8719 $as_echo_n "(cached) " >&6
8723 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
8726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8730 test -z "$as_dir" && as_dir=.
8731 for ac_exec_ext in '' $ac_executable_extensions; do
8732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8733 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
8734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8741 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
8745 GMSGFMT=$ac_cv_path_GMSGFMT
8746 if test -n "$GMSGFMT"; then
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
8748 $as_echo "$GMSGFMT" >&6; }
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8751 $as_echo "no" >&6; }
8755 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
8756 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
8758 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
8759 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
8760 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
8761 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
8762 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
8765 # Extract the first word of "perl", so it can be a program name with args.
8766 set dummy perl; ac_word=$2
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8768 $as_echo_n "checking for $ac_word... " >&6; }
8769 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
8770 $as_echo_n "(cached) " >&6
8772 case $INTLTOOL_PERL in
8774 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
8777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8781 test -z "$as_dir" && as_dir=.
8782 for ac_exec_ext in '' $ac_executable_extensions; do
8783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8784 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
8785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8795 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
8796 if test -n "$INTLTOOL_PERL"; then
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
8798 $as_echo "$INTLTOOL_PERL" >&6; }
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8801 $as_echo "no" >&6; }
8805 if test -z "$INTLTOOL_PERL"; then
8806 as_fn_error $? "perl not found" "$LINENO" 5
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
8809 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
8810 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
8811 if test $? -ne 0; then
8812 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
8814 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
8816 $as_echo "$IT_PERL_VERSION" >&6; }
8818 if test "x" != "xno-xml"; then
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
8820 $as_echo_n "checking for XML::Parser... " >&6; }
8821 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8823 $as_echo "ok" >&6; }
8825 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
8829 # Substitute ALL_LINGUAS so we can use it in po/Makefile
8837 for ac_func in strverscmp access fsync fflush
8839 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8840 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
8841 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8842 cat >>confdefs.h <<_ACEOF
8843 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8851 # Check target architecture
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for some Win32 platform" >&5
8855 $as_echo_n "checking for some Win32 platform... " >&6; }
8856 case "$target_os" in
8860 $as_echo "#define PLATFORM_WIN32 1" >>confdefs.h
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5
8868 $as_echo "$platform_win32" >&6; }
8869 if test "$platform_win32" = "yes"; then
8870 PLATFORM_WIN32_TRUE=
8871 PLATFORM_WIN32_FALSE='#'
8873 PLATFORM_WIN32_TRUE='#'
8874 PLATFORM_WIN32_FALSE=
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
8879 $as_echo_n "checking for native Win32... " >&6; }
8880 case "$target_os" in
8884 $as_echo "#define OS_WIN32 1" >>confdefs.h
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
8896 $as_echo "$os_win32" >&6; }
8898 if test "$os_win32" = "yes"; then
8906 if test "$os_unix" = "yes"; then
8915 if test "$os_win32" = "yes"; then
8916 # Extract the first word of "lib.exe", so it can be a program name with args.
8917 set dummy lib.exe; ac_word=$2
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8919 $as_echo_n "checking for $ac_word... " >&6; }
8920 if ${ac_cv_prog_ms_librarian+:} false; then :
8921 $as_echo_n "(cached) " >&6
8923 if test -n "$ms_librarian"; then
8924 ac_cv_prog_ms_librarian="$ms_librarian" # Let the user override the test.
8926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8930 test -z "$as_dir" && as_dir=.
8931 for ac_exec_ext in '' $ac_executable_extensions; do
8932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8933 ac_cv_prog_ms_librarian="yes"
8934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8941 test -z "$ac_cv_prog_ms_librarian" && ac_cv_prog_ms_librarian="no"
8944 ms_librarian=$ac_cv_prog_ms_librarian
8945 if test -n "$ms_librarian"; then
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ms_librarian" >&5
8947 $as_echo "$ms_librarian" >&6; }
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8950 $as_echo "no" >&6; }
8954 if test -n "$ac_tool_prefix"; then
8955 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
8956 set dummy ${ac_tool_prefix}windres; ac_word=$2
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8958 $as_echo_n "checking for $ac_word... " >&6; }
8959 if ${ac_cv_prog_WINDRES+:} false; then :
8960 $as_echo_n "(cached) " >&6
8962 if test -n "$WINDRES"; then
8963 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8969 test -z "$as_dir" && as_dir=.
8970 for ac_exec_ext in '' $ac_executable_extensions; do
8971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8972 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
8973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8982 WINDRES=$ac_cv_prog_WINDRES
8983 if test -n "$WINDRES"; then
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
8985 $as_echo "$WINDRES" >&6; }
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8988 $as_echo "no" >&6; }
8993 if test -z "$ac_cv_prog_WINDRES"; then
8994 ac_ct_WINDRES=$WINDRES
8995 # Extract the first word of "windres", so it can be a program name with args.
8996 set dummy windres; ac_word=$2
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8998 $as_echo_n "checking for $ac_word... " >&6; }
8999 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
9000 $as_echo_n "(cached) " >&6
9002 if test -n "$ac_ct_WINDRES"; then
9003 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
9005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9009 test -z "$as_dir" && as_dir=.
9010 for ac_exec_ext in '' $ac_executable_extensions; do
9011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9012 ac_cv_prog_ac_ct_WINDRES="windres"
9013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9022 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
9023 if test -n "$ac_ct_WINDRES"; then
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
9025 $as_echo "$ac_ct_WINDRES" >&6; }
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9028 $as_echo "no" >&6; }
9031 if test "x$ac_ct_WINDRES" = x; then
9034 case $cross_compiling:$ac_tool_warned in
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9037 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9038 ac_tool_warned=yes ;;
9040 WINDRES=$ac_ct_WINDRES
9043 WINDRES="$ac_cv_prog_WINDRES"
9050 if test x$ms_librarian = xyes; then
9051 MS_LIB_AVAILABLE_TRUE=
9052 MS_LIB_AVAILABLE_FALSE='#'
9054 MS_LIB_AVAILABLE_TRUE='#'
9055 MS_LIB_AVAILABLE_FALSE=
9058 if test "x$WINDRES" != "x:"; then
9060 HAVE_WINDRES_FALSE='#'
9062 HAVE_WINDRES_TRUE='#'
9068 if test "x$prefix" = "xNONE"; then
9077 # Check whether --enable-glibtest was given.
9078 if test "${enable_glibtest+set}" = set; then :
9079 enableval=$enable_glibtest;
9085 min_glib_version=2.24.0
9086 pkg_config_args="glib-2.0 >= $min_glib_version"
9091 pkg_config_args="$pkg_config_args gmodule-2.0"
9094 pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
9097 pkg_config_args="$pkg_config_args gobject-2.0"
9100 pkg_config_args="$pkg_config_args gthread-2.0"
9103 pkg_config_args="$pkg_config_args $module-2.0"
9115 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9116 if test -n "$ac_tool_prefix"; then
9117 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9118 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9120 $as_echo_n "checking for $ac_word... " >&6; }
9121 if ${ac_cv_path_PKG_CONFIG+:} false; then :
9122 $as_echo_n "(cached) " >&6
9126 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9133 test -z "$as_dir" && as_dir=.
9134 for ac_exec_ext in '' $ac_executable_extensions; do
9135 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9136 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9147 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9148 if test -n "$PKG_CONFIG"; then
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
9150 $as_echo "$PKG_CONFIG" >&6; }
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9153 $as_echo "no" >&6; }
9158 if test -z "$ac_cv_path_PKG_CONFIG"; then
9159 ac_pt_PKG_CONFIG=$PKG_CONFIG
9160 # Extract the first word of "pkg-config", so it can be a program name with args.
9161 set dummy pkg-config; ac_word=$2
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9163 $as_echo_n "checking for $ac_word... " >&6; }
9164 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
9165 $as_echo_n "(cached) " >&6
9167 case $ac_pt_PKG_CONFIG in
9169 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
9172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9176 test -z "$as_dir" && as_dir=.
9177 for ac_exec_ext in '' $ac_executable_extensions; do
9178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9179 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9190 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
9191 if test -n "$ac_pt_PKG_CONFIG"; then
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
9193 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9196 $as_echo "no" >&6; }
9199 if test "x$ac_pt_PKG_CONFIG" = x; then
9202 case $cross_compiling:$ac_tool_warned in
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9205 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9206 ac_tool_warned=yes ;;
9208 PKG_CONFIG=$ac_pt_PKG_CONFIG
9211 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
9215 if test -n "$PKG_CONFIG"; then
9216 _pkg_min_version=0.16
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
9218 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
9219 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9221 $as_echo "yes" >&6; }
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9224 $as_echo "no" >&6; }
9231 if test "x$PKG_CONFIG" = x ; then
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
9239 $as_echo_n "checking for GLIB... " >&6; }
9241 if test -n "$GLIB_CFLAGS"; then
9242 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
9243 elif test -n "$PKG_CONFIG"; then
9244 if test -n "$PKG_CONFIG" && \
9245 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_config_args\""; } >&5
9246 ($PKG_CONFIG --exists --print-errors "$pkg_config_args") 2>&5
9248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9249 test $ac_status = 0; }; then
9250 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$pkg_config_args" 2>/dev/null`
9251 test "x$?" != "x0" && pkg_failed=yes
9258 if test -n "$GLIB_LIBS"; then
9259 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
9260 elif test -n "$PKG_CONFIG"; then
9261 if test -n "$PKG_CONFIG" && \
9262 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_config_args\""; } >&5
9263 ($PKG_CONFIG --exists --print-errors "$pkg_config_args") 2>&5
9265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9266 test $ac_status = 0; }; then
9267 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$pkg_config_args" 2>/dev/null`
9268 test "x$?" != "x0" && pkg_failed=yes
9278 if test $pkg_failed = yes; then
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9280 $as_echo "no" >&6; }
9282 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9283 _pkg_short_errors_supported=yes
9285 _pkg_short_errors_supported=no
9287 if test $_pkg_short_errors_supported = yes; then
9288 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$pkg_config_args" 2>&1`
9290 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$pkg_config_args" 2>&1`
9292 # Put the nasty error message in config.log where it belongs
9293 echo "$GLIB_PKG_ERRORS" >&5
9296 elif test $pkg_failed = untried; then
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9298 $as_echo "no" >&6; }
9301 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
9302 GLIB_LIBS=$pkg_cv_GLIB_LIBS
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9304 $as_echo "yes" >&6; }
9309 if test -n "$GLIB_GENMARSHAL"; then
9310 pkg_cv_GLIB_GENMARSHAL="$GLIB_GENMARSHAL"
9311 elif test -n "$PKG_CONFIG"; then
9312 if test -n "$PKG_CONFIG" && \
9313 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
9314 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
9316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9317 test $ac_status = 0; }; then
9318 pkg_cv_GLIB_GENMARSHAL=`$PKG_CONFIG --variable="glib_genmarshal" "glib-2.0" 2>/dev/null`
9319 test "x$?" != "x0" && pkg_failed=yes
9326 GLIB_GENMARSHAL=$pkg_cv_GLIB_GENMARSHAL
9328 if test "x$GLIB_GENMARSHAL" = x""; then :
9332 if test -n "$GOBJECT_QUERY"; then
9333 pkg_cv_GOBJECT_QUERY="$GOBJECT_QUERY"
9334 elif test -n "$PKG_CONFIG"; then
9335 if test -n "$PKG_CONFIG" && \
9336 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
9337 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
9339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9340 test $ac_status = 0; }; then
9341 pkg_cv_GOBJECT_QUERY=`$PKG_CONFIG --variable="gobject_query" "glib-2.0" 2>/dev/null`
9342 test "x$?" != "x0" && pkg_failed=yes
9349 GOBJECT_QUERY=$pkg_cv_GOBJECT_QUERY
9351 if test "x$GOBJECT_QUERY" = x""; then :
9355 if test -n "$GLIB_MKENUMS"; then
9356 pkg_cv_GLIB_MKENUMS="$GLIB_MKENUMS"
9357 elif test -n "$PKG_CONFIG"; then
9358 if test -n "$PKG_CONFIG" && \
9359 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
9360 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
9362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9363 test $ac_status = 0; }; then
9364 pkg_cv_GLIB_MKENUMS=`$PKG_CONFIG --variable="glib_mkenums" "glib-2.0" 2>/dev/null`
9365 test "x$?" != "x0" && pkg_failed=yes
9372 GLIB_MKENUMS=$pkg_cv_GLIB_MKENUMS
9374 if test "x$GLIB_MKENUMS" = x""; then :
9378 if test -n "$GLIB_COMPILE_RESOURCES"; then
9379 pkg_cv_GLIB_COMPILE_RESOURCES="$GLIB_COMPILE_RESOURCES"
9380 elif test -n "$PKG_CONFIG"; then
9381 if test -n "$PKG_CONFIG" && \
9382 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
9383 ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
9385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9386 test $ac_status = 0; }; then
9387 pkg_cv_GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable="glib_compile_resources" "gio-2.0" 2>/dev/null`
9388 test "x$?" != "x0" && pkg_failed=yes
9395 GLIB_COMPILE_RESOURCES=$pkg_cv_GLIB_COMPILE_RESOURCES
9397 if test "x$GLIB_COMPILE_RESOURCES" = x""; then :
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
9402 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
9404 if test x$PKG_CONFIG != xno ; then
9405 ## don't try to run the test against uninstalled libtool libs
9406 if $PKG_CONFIG --uninstalled $pkg_config_args; then
9407 echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
9411 if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
9418 if test x"$no_glib" = x ; then
9419 glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
9420 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9421 glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
9422 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9423 glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
9424 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9425 if test "x$enable_glibtest" = "xyes" ; then
9426 ac_save_CFLAGS="$CFLAGS"
9427 ac_save_LIBS="$LIBS"
9428 CFLAGS="$CFLAGS $GLIB_CFLAGS"
9429 LIBS="$GLIB_LIBS $LIBS"
9431 if test "$cross_compiling" = yes; then :
9432 echo $ac_n "cross compiling; assumed OK... $ac_c"
9434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9435 /* end confdefs.h. */
9444 unsigned int major, minor, micro;
9446 fclose (fopen ("conf.glibtest", "w"));
9448 if (sscanf("$min_glib_version", "%u.%u.%u", &major, &minor, µ) != 3) {
9449 printf("%s, bad version string\n", "$min_glib_version");
9453 if ((glib_major_version != $glib_config_major_version) ||
9454 (glib_minor_version != $glib_config_minor_version) ||
9455 (glib_micro_version != $glib_config_micro_version))
9457 printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
9458 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
9459 glib_major_version, glib_minor_version, glib_micro_version);
9460 printf ("*** was found! If pkg-config was correct, then it is best\n");
9461 printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
9462 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9463 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9464 printf("*** required on your system.\n");
9465 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
9466 printf("*** to point to the correct configuration files\n");
9468 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
9469 (glib_minor_version != GLIB_MINOR_VERSION) ||
9470 (glib_micro_version != GLIB_MICRO_VERSION))
9472 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
9473 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
9474 printf("*** library (version %d.%d.%d)\n",
9475 glib_major_version, glib_minor_version, glib_micro_version);
9479 if ((glib_major_version > major) ||
9480 ((glib_major_version == major) && (glib_minor_version > minor)) ||
9481 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
9487 printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
9488 glib_major_version, glib_minor_version, glib_micro_version);
9489 printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
9490 major, minor, micro);
9491 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
9493 printf("*** If you have already installed a sufficiently new version, this error\n");
9494 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
9495 printf("*** being found. The easiest way to fix this is to remove the old version\n");
9496 printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
9497 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
9498 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
9499 printf("*** so that the correct libraries are found at run-time))\n");
9506 if ac_fn_c_try_run "$LINENO"; then :
9511 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9512 conftest.$ac_objext conftest.beam conftest.$ac_ext
9515 CFLAGS="$ac_save_CFLAGS"
9516 LIBS="$ac_save_LIBS"
9519 if test "x$no_glib" = x ; then
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
9521 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9525 $as_echo "no" >&6; }
9526 if test "$PKG_CONFIG" = "no" ; then
9527 echo "*** A new enough version of pkg-config was not found."
9528 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
9530 if test -f conf.glibtest ; then
9533 echo "*** Could not run GLIB test program, checking why..."
9534 ac_save_CFLAGS="$CFLAGS"
9535 ac_save_LIBS="$LIBS"
9536 CFLAGS="$CFLAGS $GLIB_CFLAGS"
9537 LIBS="$LIBS $GLIB_LIBS"
9538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9539 /* end confdefs.h. */
9547 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
9552 if ac_fn_c_try_link "$LINENO"; then :
9553 echo "*** The test program compiled, but did not run. This usually means"
9554 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
9555 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
9556 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
9557 echo "*** to the installed location Also, make sure you have run ldconfig if that"
9558 echo "*** is required on your system"
9560 echo "*** If you have an old version installed, it is best to remove it, although"
9561 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
9563 echo "*** The test program failed to compile or link. See the file config.log for the"
9564 echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
9566 rm -f core conftest.err conftest.$ac_objext \
9567 conftest$ac_exeext conftest.$ac_ext
9568 CFLAGS="$ac_save_CFLAGS"
9569 LIBS="$ac_save_LIBS"
9577 GLIB_COMPILE_RESOURCES=""
9578 as_fn_error $? "GLIB >= 2.24.0 not installed." "$LINENO" 5
9582 # Check whether --enable-gtk3 was given.
9583 if test "${enable_gtk3+set}" = set; then :
9584 enableval=$enable_gtk3; gtk3="${enableval}"
9590 if test x$gtk3 = xyes; then
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Gtk3 enabled\"" >&5
9592 $as_echo "$as_me: WARNING: \"Gtk3 enabled\"" >&2;}
9594 # Check whether --enable-gtktest was given.
9595 if test "${enable_gtktest+set}" = set; then :
9596 enableval=$enable_gtktest;
9601 min_gtk_version=3.0.0
9603 pkg_config_args="gtk+-3.0 >= $min_gtk_version"
9608 pkg_config_args="$pkg_config_args gthread-2.0"
9622 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9623 if test -n "$ac_tool_prefix"; then
9624 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9625 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9627 $as_echo_n "checking for $ac_word... " >&6; }
9628 if ${ac_cv_path_PKG_CONFIG+:} false; then :
9629 $as_echo_n "(cached) " >&6
9633 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9640 test -z "$as_dir" && as_dir=.
9641 for ac_exec_ext in '' $ac_executable_extensions; do
9642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9643 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9654 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9655 if test -n "$PKG_CONFIG"; then
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
9657 $as_echo "$PKG_CONFIG" >&6; }
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9660 $as_echo "no" >&6; }
9665 if test -z "$ac_cv_path_PKG_CONFIG"; then
9666 ac_pt_PKG_CONFIG=$PKG_CONFIG
9667 # Extract the first word of "pkg-config", so it can be a program name with args.
9668 set dummy pkg-config; ac_word=$2
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9670 $as_echo_n "checking for $ac_word... " >&6; }
9671 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
9672 $as_echo_n "(cached) " >&6
9674 case $ac_pt_PKG_CONFIG in
9676 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
9679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9683 test -z "$as_dir" && as_dir=.
9684 for ac_exec_ext in '' $ac_executable_extensions; do
9685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9686 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9697 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
9698 if test -n "$ac_pt_PKG_CONFIG"; then
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
9700 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9703 $as_echo "no" >&6; }
9706 if test "x$ac_pt_PKG_CONFIG" = x; then
9709 case $cross_compiling:$ac_tool_warned in
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9713 ac_tool_warned=yes ;;
9715 PKG_CONFIG=$ac_pt_PKG_CONFIG
9718 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
9722 if test -n "$PKG_CONFIG"; then
9723 _pkg_min_version=0.16
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
9725 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
9726 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9728 $as_echo "yes" >&6; }
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9731 $as_echo "no" >&6; }
9736 if test -z "$PKG_CONFIG"; then
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
9741 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
9743 if test -n "$PKG_CONFIG"; then
9744 ## don't try to run the test against uninstalled libtool libs
9745 if $PKG_CONFIG --uninstalled $pkg_config_args; then
9746 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
9750 if $PKG_CONFIG $pkg_config_args; then
9757 if test x"$no_gtk" = x ; then
9758 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
9759 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
9760 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
9761 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9762 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
9763 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9764 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
9765 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9766 if test "x$enable_gtktest" = "xyes" ; then
9767 ac_save_CFLAGS="$CFLAGS"
9768 ac_save_LIBS="$LIBS"
9769 CFLAGS="$CFLAGS $GTK_CFLAGS"
9770 LIBS="$GTK_LIBS $LIBS"
9772 if test "$cross_compiling" = yes; then :
9773 echo $ac_n "cross compiling; assumed OK... $ac_c"
9775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9776 /* end confdefs.h. */
9778 #include <gtk/gtk.h>
9785 unsigned int major, minor, micro;
9787 fclose (fopen ("conf.gtktest", "w"));
9789 if (sscanf("$min_gtk_version", "%u.%u.%u", &major, &minor, µ) != 3) {
9790 printf("%s, bad version string\n", "$min_gtk_version");
9794 if ((gtk_major_version != $gtk_config_major_version) ||
9795 (gtk_minor_version != $gtk_config_minor_version) ||
9796 (gtk_micro_version != $gtk_config_micro_version))
9798 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
9799 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
9800 gtk_major_version, gtk_minor_version, gtk_micro_version);
9801 printf ("*** was found! If pkg-config was correct, then it is best\n");
9802 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
9803 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9804 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9805 printf("*** required on your system.\n");
9806 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
9807 printf("*** to point to the correct configuration files\n");
9809 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
9810 (gtk_minor_version != GTK_MINOR_VERSION) ||
9811 (gtk_micro_version != GTK_MICRO_VERSION))
9813 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
9814 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
9815 printf("*** library (version %d.%d.%d)\n",
9816 gtk_major_version, gtk_minor_version, gtk_micro_version);
9820 if ((gtk_major_version > major) ||
9821 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9822 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
9828 printf("\n*** An old version of GTK+ (%u.%u.%u) was found.\n",
9829 gtk_major_version, gtk_minor_version, gtk_micro_version);
9830 printf("*** You need a version of GTK+ newer than %u.%u.%u. The latest version of\n",
9831 major, minor, micro);
9832 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
9834 printf("*** If you have already installed a sufficiently new version, this error\n");
9835 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
9836 printf("*** being found. The easiest way to fix this is to remove the old version\n");
9837 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
9838 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
9839 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
9840 printf("*** so that the correct libraries are found at run-time))\n");
9847 if ac_fn_c_try_run "$LINENO"; then :
9852 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9853 conftest.$ac_objext conftest.beam conftest.$ac_ext
9856 CFLAGS="$ac_save_CFLAGS"
9857 LIBS="$ac_save_LIBS"
9860 if test "x$no_gtk" = x ; then
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
9862 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9866 $as_echo "no" >&6; }
9867 if test -z "$PKG_CONFIG"; then
9868 echo "*** A new enough version of pkg-config was not found."
9869 echo "*** See http://pkgconfig.sourceforge.net"
9871 if test -f conf.gtktest ; then
9874 echo "*** Could not run GTK+ test program, checking why..."
9875 ac_save_CFLAGS="$CFLAGS"
9876 ac_save_LIBS="$LIBS"
9877 CFLAGS="$CFLAGS $GTK_CFLAGS"
9878 LIBS="$LIBS $GTK_LIBS"
9879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9880 /* end confdefs.h. */
9882 #include <gtk/gtk.h>
9888 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
9893 if ac_fn_c_try_link "$LINENO"; then :
9894 echo "*** The test program compiled, but did not run. This usually means"
9895 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
9896 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
9897 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
9898 echo "*** to the installed location Also, make sure you have run ldconfig if that"
9899 echo "*** is required on your system"
9901 echo "*** If you have an old version installed, it is best to remove it, although"
9902 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
9904 echo "*** The test program failed to compile or link. See the file config.log for the"
9905 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
9907 rm -f core conftest.err conftest.$ac_objext \
9908 conftest$ac_exeext conftest.$ac_ext
9909 CFLAGS="$ac_save_CFLAGS"
9910 LIBS="$ac_save_LIBS"
9915 as_fn_error $? "GTK+ >= 3.0.0 not installed." "$LINENO" 5
9923 if test x$gtk3 = xno; then
9924 # Check whether --enable-gtktest was given.
9925 if test "${enable_gtktest+set}" = set; then :
9926 enableval=$enable_gtktest;
9932 pkg_config_args=gtk+-2.0
9937 pkg_config_args="$pkg_config_args gthread-2.0"
9952 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9953 if test -n "$ac_tool_prefix"; then
9954 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9955 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9957 $as_echo_n "checking for $ac_word... " >&6; }
9958 if ${ac_cv_path_PKG_CONFIG+:} false; then :
9959 $as_echo_n "(cached) " >&6
9963 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9970 test -z "$as_dir" && as_dir=.
9971 for ac_exec_ext in '' $ac_executable_extensions; do
9972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9973 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9984 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9985 if test -n "$PKG_CONFIG"; then
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
9987 $as_echo "$PKG_CONFIG" >&6; }
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9990 $as_echo "no" >&6; }
9995 if test -z "$ac_cv_path_PKG_CONFIG"; then
9996 ac_pt_PKG_CONFIG=$PKG_CONFIG
9997 # Extract the first word of "pkg-config", so it can be a program name with args.
9998 set dummy pkg-config; ac_word=$2
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10000 $as_echo_n "checking for $ac_word... " >&6; }
10001 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
10002 $as_echo_n "(cached) " >&6
10004 case $ac_pt_PKG_CONFIG in
10006 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10010 for as_dir in $PATH
10013 test -z "$as_dir" && as_dir=.
10014 for ac_exec_ext in '' $ac_executable_extensions; do
10015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10016 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10027 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
10028 if test -n "$ac_pt_PKG_CONFIG"; then
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10030 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10033 $as_echo "no" >&6; }
10036 if test "x$ac_pt_PKG_CONFIG" = x; then
10039 case $cross_compiling:$ac_tool_warned in
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10042 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10043 ac_tool_warned=yes ;;
10045 PKG_CONFIG=$ac_pt_PKG_CONFIG
10048 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
10052 if test -n "$PKG_CONFIG"; then
10053 _pkg_min_version=0.7
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10055 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10056 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10058 $as_echo "yes" >&6; }
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10061 $as_echo "no" >&6; }
10066 min_gtk_version=2.20.0
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
10068 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
10070 if test x$PKG_CONFIG != xno ; then
10071 ## don't try to run the test against uninstalled libtool libs
10072 if $PKG_CONFIG --uninstalled $pkg_config_args; then
10073 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
10077 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
10084 if test x"$no_gtk" = x ; then
10085 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
10086 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
10087 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
10088 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10089 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
10090 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10091 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
10092 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10093 if test "x$enable_gtktest" = "xyes" ; then
10094 ac_save_CFLAGS="$CFLAGS"
10095 ac_save_LIBS="$LIBS"
10096 CFLAGS="$CFLAGS $GTK_CFLAGS"
10097 LIBS="$GTK_LIBS $LIBS"
10099 if test "$cross_compiling" = yes; then :
10100 echo $ac_n "cross compiling; assumed OK... $ac_c"
10102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10103 /* end confdefs.h. */
10105 #include <gtk/gtk.h>
10107 #include <stdlib.h>
10112 int major, minor, micro;
10115 fclose (fopen ("conf.gtktest", "w"));
10117 /* HP/UX 9 (%@#!) writes to sscanf strings */
10118 tmp_version = g_strdup("$min_gtk_version");
10119 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10120 printf("%s, bad version string\n", "$min_gtk_version");
10124 if ((gtk_major_version != $gtk_config_major_version) ||
10125 (gtk_minor_version != $gtk_config_minor_version) ||
10126 (gtk_micro_version != $gtk_config_micro_version))
10128 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10129 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10130 gtk_major_version, gtk_minor_version, gtk_micro_version);
10131 printf ("*** was found! If pkg-config was correct, then it is best\n");
10132 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10133 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10134 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10135 printf("*** required on your system.\n");
10136 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
10137 printf("*** to point to the correct configuration files\n");
10139 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10140 (gtk_minor_version != GTK_MINOR_VERSION) ||
10141 (gtk_micro_version != GTK_MICRO_VERSION))
10143 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10144 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10145 printf("*** library (version %d.%d.%d)\n",
10146 gtk_major_version, gtk_minor_version, gtk_micro_version);
10150 if ((gtk_major_version > major) ||
10151 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10152 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10158 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10159 gtk_major_version, gtk_minor_version, gtk_micro_version);
10160 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10161 major, minor, micro);
10162 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10164 printf("*** If you have already installed a sufficiently new version, this error\n");
10165 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
10166 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10167 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
10168 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
10169 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10170 printf("*** so that the correct libraries are found at run-time))\n");
10177 if ac_fn_c_try_run "$LINENO"; then :
10182 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10183 conftest.$ac_objext conftest.beam conftest.$ac_ext
10186 CFLAGS="$ac_save_CFLAGS"
10187 LIBS="$ac_save_LIBS"
10190 if test "x$no_gtk" = x ; then
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
10192 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10196 $as_echo "no" >&6; }
10197 if test "$PKG_CONFIG" = "no" ; then
10198 echo "*** A new enough version of pkg-config was not found."
10199 echo "*** See http://pkgconfig.sourceforge.net"
10201 if test -f conf.gtktest ; then
10204 echo "*** Could not run GTK+ test program, checking why..."
10205 ac_save_CFLAGS="$CFLAGS"
10206 ac_save_LIBS="$LIBS"
10207 CFLAGS="$CFLAGS $GTK_CFLAGS"
10208 LIBS="$LIBS $GTK_LIBS"
10209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10210 /* end confdefs.h. */
10212 #include <gtk/gtk.h>
10218 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10223 if ac_fn_c_try_link "$LINENO"; then :
10224 echo "*** The test program compiled, but did not run. This usually means"
10225 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
10226 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
10227 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10228 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10229 echo "*** is required on your system"
10231 echo "*** If you have an old version installed, it is best to remove it, although"
10232 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10234 echo "*** The test program failed to compile or link. See the file config.log for the"
10235 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
10237 rm -f core conftest.err conftest.$ac_objext \
10238 conftest$ac_exeext conftest.$ac_ext
10239 CFLAGS="$ac_save_CFLAGS"
10240 LIBS="$ac_save_LIBS"
10245 as_fn_error $? "GTK+ >= 2.20.0 not installed." "$LINENO" 5
10255 # Check whether --enable-threads was given.
10256 if test "${enable_threads+set}" = set; then :
10257 enableval=$enable_threads; threads="${enableval}"
10262 if test "x${threads}" != "xno" ; then
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD" >&5
10266 $as_echo_n "checking for GTHREAD... " >&6; }
10268 if test -n "$GTHREAD_CFLAGS"; then
10269 pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
10270 elif test -n "$PKG_CONFIG"; then
10271 if test -n "$PKG_CONFIG" && \
10272 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5
10273 ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
10275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10276 test $ac_status = 0; }; then
10277 pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0" 2>/dev/null`
10278 test "x$?" != "x0" && pkg_failed=yes
10285 if test -n "$GTHREAD_LIBS"; then
10286 pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
10287 elif test -n "$PKG_CONFIG"; then
10288 if test -n "$PKG_CONFIG" && \
10289 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5
10290 ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
10292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10293 test $ac_status = 0; }; then
10294 pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0" 2>/dev/null`
10295 test "x$?" != "x0" && pkg_failed=yes
10305 if test $pkg_failed = yes; then
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10307 $as_echo "no" >&6; }
10309 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10310 _pkg_short_errors_supported=yes
10312 _pkg_short_errors_supported=no
10314 if test $_pkg_short_errors_supported = yes; then
10315 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gthread-2.0" 2>&1`
10317 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gthread-2.0" 2>&1`
10319 # Put the nasty error message in config.log where it belongs
10320 echo "$GTHREAD_PKG_ERRORS" >&5
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"No thread support in glib\"" >&5
10323 $as_echo "$as_me: WARNING: \"No thread support in glib\"" >&2;}
10324 elif test $pkg_failed = untried; then
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10326 $as_echo "no" >&6; }
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"No thread support in glib\"" >&5
10328 $as_echo "$as_me: WARNING: \"No thread support in glib\"" >&2;}
10330 GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
10331 GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10333 $as_echo "yes" >&6; }
10338 if test "x$have_gthread" != "xno"; then
10340 $as_echo "#define HAVE_GTHREAD 1" >>confdefs.h
10342 GLIB_CFLAGS="$GTHREAD_CFLAGS"
10343 GLIB_LIBS="$GTHREAD_LIBS"
10347 for ac_prog in "gdk-pixbuf-csource"
10349 # Extract the first word of "$ac_prog", so it can be a program name with args.
10350 set dummy $ac_prog; ac_word=$2
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10352 $as_echo_n "checking for $ac_word... " >&6; }
10353 if ${ac_cv_path_GDK_PIXBUF_CSOURCE+:} false; then :
10354 $as_echo_n "(cached) " >&6
10356 case $GDK_PIXBUF_CSOURCE in
10358 ac_cv_path_GDK_PIXBUF_CSOURCE="$GDK_PIXBUF_CSOURCE" # Let the user override the test with a path.
10361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10362 for as_dir in $PATH
10365 test -z "$as_dir" && as_dir=.
10366 for ac_exec_ext in '' $ac_executable_extensions; do
10367 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10368 ac_cv_path_GDK_PIXBUF_CSOURCE="$as_dir/$ac_word$ac_exec_ext"
10369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10379 GDK_PIXBUF_CSOURCE=$ac_cv_path_GDK_PIXBUF_CSOURCE
10380 if test -n "$GDK_PIXBUF_CSOURCE"; then
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_PIXBUF_CSOURCE" >&5
10382 $as_echo "$GDK_PIXBUF_CSOURCE" >&6; }
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10385 $as_echo "no" >&6; }
10389 test -n "$GDK_PIXBUF_CSOURCE" && break
10392 # Extract the first word of "glib-genmarshal", so it can be a program name with args.
10393 set dummy glib-genmarshal; ac_word=$2
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10395 $as_echo_n "checking for $ac_word... " >&6; }
10396 if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
10397 $as_echo_n "(cached) " >&6
10399 case $GLIB_GENMARSHAL in
10401 ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
10404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10405 for as_dir in $PATH
10408 test -z "$as_dir" && as_dir=.
10409 for ac_exec_ext in '' $ac_executable_extensions; do
10410 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10411 ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
10412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10422 GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
10423 if test -n "$GLIB_GENMARSHAL"; then
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
10425 $as_echo "$GLIB_GENMARSHAL" >&6; }
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10428 $as_echo "no" >&6; }
10434 # Check whether --with-readmedir was given.
10435 if test "${with_readmedir+set}" = set; then :
10436 withval=$with_readmedir; readmedir=$withval
10438 readmedir="$prefix/share/doc/geeqie-$VERSION"
10442 # Check whether --with-htmldir was given.
10443 if test "${with_htmldir+set}" = set; then :
10444 withval=$with_htmldir; htmldir=$withval
10446 htmldir="$readmedir/html"
10451 cat >>confdefs.h <<_ACEOF
10452 #define GQ_HELPDIR "$readmedir"
10456 cat >>confdefs.h <<_ACEOF
10457 #define GQ_HTMLDIR "$htmldir"
10461 # Extract the first word of "gnome-doc-tool", so it can be a program name with args.
10462 set dummy gnome-doc-tool; ac_word=$2
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10464 $as_echo_n "checking for $ac_word... " >&6; }
10465 if ${ac_cv_path_GNOME_DOC_TOOL+:} false; then :
10466 $as_echo_n "(cached) " >&6
10468 case $GNOME_DOC_TOOL in
10470 ac_cv_path_GNOME_DOC_TOOL="$GNOME_DOC_TOOL" # Let the user override the test with a path.
10473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10474 for as_dir in $PATH
10477 test -z "$as_dir" && as_dir=.
10478 for ac_exec_ext in '' $ac_executable_extensions; do
10479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10480 ac_cv_path_GNOME_DOC_TOOL="$as_dir/$ac_word$ac_exec_ext"
10481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10491 GNOME_DOC_TOOL=$ac_cv_path_GNOME_DOC_TOOL
10492 if test -n "$GNOME_DOC_TOOL"; then
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNOME_DOC_TOOL" >&5
10494 $as_echo "$GNOME_DOC_TOOL" >&6; }
10496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10497 $as_echo "no" >&6; }
10505 eval "eval appdir=${datadir}/${PACKAGE}"
10507 cat >>confdefs.h <<_ACEOF
10508 #define GQ_APP_DIR "$appdir"
10513 eval "eval gq_bindir=${prefix}/lib/${PACKAGE}"
10515 cat >>confdefs.h <<_ACEOF
10516 #define GQ_BIN_DIR "$gq_bindir"
10522 # ----------------------------------------------------------------------
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if LIRC support is enabled" >&5
10525 $as_echo_n "checking if LIRC support is enabled... " >&6; }
10527 # Check whether --enable-lirc was given.
10528 if test "${enable_lirc+set}" = set; then :
10529 enableval=$enable_lirc;
10530 if test "x${enableval}" = "xyes" -a "x$GCC" = "xyes"; then
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10532 $as_echo "yes" >&6; }
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10536 $as_echo "no" >&6; }
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10541 $as_echo "no" >&6; }
10547 # Check whether --with-lirc-prefix was given.
10548 if test "${with_lirc_prefix+set}" = set; then :
10549 withval=$with_lirc_prefix;
10550 for dir in `echo "$withval" | tr : ' '`; do
10551 if test -d $dir/lib; then CXXFLAGS="$CXXFLAGS -L$dir/lib"; fi
10552 if test -d $dir/include; then CXXFLAGS="$CXXFLAGS -I$dir/include"; fi
10559 if test "x${lirc}" != "xno" ; then
10560 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
10561 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
10562 inttypes.h stdint.h unistd.h
10564 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10565 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
10567 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10568 cat >>confdefs.h <<_ACEOF
10569 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10577 ac_fn_c_check_header_mongrel "$LINENO" "lirc/lirc_client.h" "ac_cv_header_lirc_lirc_client_h" "$ac_includes_default"
10578 if test "x$ac_cv_header_lirc_lirc_client_h" = xyes; then :
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lirc_init in -llirc_client" >&5
10580 $as_echo_n "checking for lirc_init in -llirc_client... " >&6; }
10581 if ${ac_cv_lib_lirc_client_lirc_init+:} false; then :
10582 $as_echo_n "(cached) " >&6
10584 ac_check_lib_save_LIBS=$LIBS
10585 LIBS="-llirc_client $LIBS"
10586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10587 /* end confdefs.h. */
10589 /* Override any GCC internal prototype to avoid an error.
10590 Use char because int might match the return type of a GCC
10591 builtin and then its argument prototype would still apply. */
10599 return lirc_init ();
10604 if ac_fn_c_try_link "$LINENO"; then :
10605 ac_cv_lib_lirc_client_lirc_init=yes
10607 ac_cv_lib_lirc_client_lirc_init=no
10609 rm -f core conftest.err conftest.$ac_objext \
10610 conftest$ac_exeext conftest.$ac_ext
10611 LIBS=$ac_check_lib_save_LIBS
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lirc_client_lirc_init" >&5
10614 $as_echo "$ac_cv_lib_lirc_client_lirc_init" >&6; }
10615 if test "x$ac_cv_lib_lirc_client_lirc_init" = xyes; then :
10616 HAVE_LIRC=yes;LIBS=-llirc_client $LIBS;
10617 $as_echo "#define HAVE_LIRC /**/" >>confdefs.h
10625 if test "x$HAVE_LIRC" = xyes; then
10627 HAVE_LIRC_FALSE='#'
10636 # ----------------------------------------------------------------------
10638 # Check whether --enable-lcms was given.
10639 if test "${enable_lcms+set}" = set; then :
10640 enableval=$enable_lcms; liblcms=$enableval
10646 if test "x${liblcms}" != "xno"; then
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LCMS" >&5
10650 $as_echo_n "checking for LCMS... " >&6; }
10652 if test -n "$LCMS_CFLAGS"; then
10653 pkg_cv_LCMS_CFLAGS="$LCMS_CFLAGS"
10654 elif test -n "$PKG_CONFIG"; then
10655 if test -n "$PKG_CONFIG" && \
10656 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms2 >= 2.0\""; } >&5
10657 ($PKG_CONFIG --exists --print-errors "lcms2 >= 2.0") 2>&5
10659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10660 test $ac_status = 0; }; then
10661 pkg_cv_LCMS_CFLAGS=`$PKG_CONFIG --cflags "lcms2 >= 2.0" 2>/dev/null`
10662 test "x$?" != "x0" && pkg_failed=yes
10669 if test -n "$LCMS_LIBS"; then
10670 pkg_cv_LCMS_LIBS="$LCMS_LIBS"
10671 elif test -n "$PKG_CONFIG"; then
10672 if test -n "$PKG_CONFIG" && \
10673 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms2 >= 2.0\""; } >&5
10674 ($PKG_CONFIG --exists --print-errors "lcms2 >= 2.0") 2>&5
10676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10677 test $ac_status = 0; }; then
10678 pkg_cv_LCMS_LIBS=`$PKG_CONFIG --libs "lcms2 >= 2.0" 2>/dev/null`
10679 test "x$?" != "x0" && pkg_failed=yes
10689 if test $pkg_failed = yes; then
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10691 $as_echo "no" >&6; }
10693 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10694 _pkg_short_errors_supported=yes
10696 _pkg_short_errors_supported=no
10698 if test $_pkg_short_errors_supported = yes; then
10699 LCMS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lcms2 >= 2.0" 2>&1`
10701 LCMS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lcms2 >= 2.0" 2>&1`
10703 # Put the nasty error message in config.log where it belongs
10704 echo "$LCMS_PKG_ERRORS" >&5
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LCMS" >&5
10710 $as_echo_n "checking for LCMS... " >&6; }
10712 if test -n "$LCMS_CFLAGS"; then
10713 pkg_cv_LCMS_CFLAGS="$LCMS_CFLAGS"
10714 elif test -n "$PKG_CONFIG"; then
10715 if test -n "$PKG_CONFIG" && \
10716 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms >= 1.14\""; } >&5
10717 ($PKG_CONFIG --exists --print-errors "lcms >= 1.14") 2>&5
10719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10720 test $ac_status = 0; }; then
10721 pkg_cv_LCMS_CFLAGS=`$PKG_CONFIG --cflags "lcms >= 1.14" 2>/dev/null`
10722 test "x$?" != "x0" && pkg_failed=yes
10729 if test -n "$LCMS_LIBS"; then
10730 pkg_cv_LCMS_LIBS="$LCMS_LIBS"
10731 elif test -n "$PKG_CONFIG"; then
10732 if test -n "$PKG_CONFIG" && \
10733 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms >= 1.14\""; } >&5
10734 ($PKG_CONFIG --exists --print-errors "lcms >= 1.14") 2>&5
10736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10737 test $ac_status = 0; }; then
10738 pkg_cv_LCMS_LIBS=`$PKG_CONFIG --libs "lcms >= 1.14" 2>/dev/null`
10739 test "x$?" != "x0" && pkg_failed=yes
10749 if test $pkg_failed = yes; then
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10751 $as_echo "no" >&6; }
10753 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10754 _pkg_short_errors_supported=yes
10756 _pkg_short_errors_supported=no
10758 if test $_pkg_short_errors_supported = yes; then
10759 LCMS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lcms >= 1.14" 2>&1`
10761 LCMS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lcms >= 1.14" 2>&1`
10763 # Put the nasty error message in config.log where it belongs
10764 echo "$LCMS_PKG_ERRORS" >&5
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LCMS_PKG_ERRORS" >&5
10769 $as_echo "$as_me: WARNING: $LCMS_PKG_ERRORS" >&2;}
10771 elif test $pkg_failed = untried; then
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10773 $as_echo "no" >&6; }
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LCMS_PKG_ERRORS" >&5
10777 $as_echo "$as_me: WARNING: $LCMS_PKG_ERRORS" >&2;}
10780 LCMS_CFLAGS=$pkg_cv_LCMS_CFLAGS
10781 LCMS_LIBS=$pkg_cv_LCMS_LIBS
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10783 $as_echo "yes" >&6; }
10787 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10792 elif test $pkg_failed = untried; then
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10794 $as_echo "no" >&6; }
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LCMS" >&5
10799 $as_echo_n "checking for LCMS... " >&6; }
10801 if test -n "$LCMS_CFLAGS"; then
10802 pkg_cv_LCMS_CFLAGS="$LCMS_CFLAGS"
10803 elif test -n "$PKG_CONFIG"; then
10804 if test -n "$PKG_CONFIG" && \
10805 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms >= 1.14\""; } >&5
10806 ($PKG_CONFIG --exists --print-errors "lcms >= 1.14") 2>&5
10808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10809 test $ac_status = 0; }; then
10810 pkg_cv_LCMS_CFLAGS=`$PKG_CONFIG --cflags "lcms >= 1.14" 2>/dev/null`
10811 test "x$?" != "x0" && pkg_failed=yes
10818 if test -n "$LCMS_LIBS"; then
10819 pkg_cv_LCMS_LIBS="$LCMS_LIBS"
10820 elif test -n "$PKG_CONFIG"; then
10821 if test -n "$PKG_CONFIG" && \
10822 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms >= 1.14\""; } >&5
10823 ($PKG_CONFIG --exists --print-errors "lcms >= 1.14") 2>&5
10825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10826 test $ac_status = 0; }; then
10827 pkg_cv_LCMS_LIBS=`$PKG_CONFIG --libs "lcms >= 1.14" 2>/dev/null`
10828 test "x$?" != "x0" && pkg_failed=yes
10838 if test $pkg_failed = yes; then
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10840 $as_echo "no" >&6; }
10842 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10843 _pkg_short_errors_supported=yes
10845 _pkg_short_errors_supported=no
10847 if test $_pkg_short_errors_supported = yes; then
10848 LCMS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lcms >= 1.14" 2>&1`
10850 LCMS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lcms >= 1.14" 2>&1`
10852 # Put the nasty error message in config.log where it belongs
10853 echo "$LCMS_PKG_ERRORS" >&5
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LCMS_PKG_ERRORS" >&5
10858 $as_echo "$as_me: WARNING: $LCMS_PKG_ERRORS" >&2;}
10860 elif test $pkg_failed = untried; then
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10862 $as_echo "no" >&6; }
10865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LCMS_PKG_ERRORS" >&5
10866 $as_echo "$as_me: WARNING: $LCMS_PKG_ERRORS" >&2;}
10869 LCMS_CFLAGS=$pkg_cv_LCMS_CFLAGS
10870 LCMS_LIBS=$pkg_cv_LCMS_LIBS
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10872 $as_echo "yes" >&6; }
10876 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10882 LCMS_CFLAGS=$pkg_cv_LCMS_CFLAGS
10883 LCMS_LIBS=$pkg_cv_LCMS_LIBS
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10885 $as_echo "yes" >&6; }
10889 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10892 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
10900 if test "x$HAVE_LCMS" = xyes; then
10902 HAVE_LCMS_FALSE='#'
10912 # ----------------------------------------------------------------------
10914 # Check whether --enable-jpeg was given.
10915 if test "${enable_jpeg+set}" = set; then :
10916 enableval=$enable_jpeg; libjpeg=$enableval
10922 if test "x${libjpeg}" != "xno"; then
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_decompress in -ljpeg" >&5
10924 $as_echo_n "checking for jpeg_destroy_decompress in -ljpeg... " >&6; }
10925 if ${ac_cv_lib_jpeg_jpeg_destroy_decompress+:} false; then :
10926 $as_echo_n "(cached) " >&6
10928 ac_check_lib_save_LIBS=$LIBS
10929 LIBS="-ljpeg $LIBS"
10930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10931 /* end confdefs.h. */
10933 /* Override any GCC internal prototype to avoid an error.
10934 Use char because int might match the return type of a GCC
10935 builtin and then its argument prototype would still apply. */
10939 char jpeg_destroy_decompress ();
10943 return jpeg_destroy_decompress ();
10948 if ac_fn_c_try_link "$LINENO"; then :
10949 ac_cv_lib_jpeg_jpeg_destroy_decompress=yes
10951 ac_cv_lib_jpeg_jpeg_destroy_decompress=no
10953 rm -f core conftest.err conftest.$ac_objext \
10954 conftest$ac_exeext conftest.$ac_ext
10955 LIBS=$ac_check_lib_save_LIBS
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_decompress" >&5
10958 $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_decompress" >&6; }
10959 if test "x$ac_cv_lib_jpeg_jpeg_destroy_decompress" = xyes; then :
10963 $as_echo "#define HAVE_JPEG 1" >>confdefs.h
10973 if test "x$HAVE_JPEG" = xyes; then
10975 HAVE_JPEG_FALSE='#'
10986 # ----------------------------------------------------------------------
10988 # Check whether --enable-tiff was given.
10989 if test "${enable_tiff+set}" = set; then :
10990 enableval=$enable_tiff; libtiff=$enableval
10996 if test "x${libtiff}" != "xno"; then
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in -ltiff" >&5
10998 $as_echo_n "checking for TIFFClientOpen in -ltiff... " >&6; }
10999 if ${ac_cv_lib_tiff_TIFFClientOpen+:} false; then :
11000 $as_echo_n "(cached) " >&6
11002 ac_check_lib_save_LIBS=$LIBS
11003 LIBS="-ltiff $LIBS"
11004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11005 /* end confdefs.h. */
11007 /* Override any GCC internal prototype to avoid an error.
11008 Use char because int might match the return type of a GCC
11009 builtin and then its argument prototype would still apply. */
11013 char TIFFClientOpen ();
11017 return TIFFClientOpen ();
11022 if ac_fn_c_try_link "$LINENO"; then :
11023 ac_cv_lib_tiff_TIFFClientOpen=yes
11025 ac_cv_lib_tiff_TIFFClientOpen=no
11027 rm -f core conftest.err conftest.$ac_objext \
11028 conftest$ac_exeext conftest.$ac_ext
11029 LIBS=$ac_check_lib_save_LIBS
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFClientOpen" >&5
11032 $as_echo "$ac_cv_lib_tiff_TIFFClientOpen" >&6; }
11033 if test "x$ac_cv_lib_tiff_TIFFClientOpen" = xyes; then :
11037 $as_echo "#define HAVE_TIFF 1" >>confdefs.h
11047 if test "x$HAVE_TIFF" = xyes; then
11049 HAVE_TIFF_FALSE='#'
11058 # libffmpegthumbnailer support
11059 # ----------------------------------------------------------------------
11061 # Check whether --enable-ffmpegthumbnailer was given.
11062 if test "${enable_ffmpegthumbnailer+set}" = set; then :
11063 enableval=$enable_ffmpegthumbnailer; ffmpegthumbnailer=$enableval
11065 ffmpegthumbnailer=auto
11069 if test "x${ffmpegthumbnailer}" != "xno"; then
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FFMPEGTHUMBNAILER" >&5
11073 $as_echo_n "checking for FFMPEGTHUMBNAILER... " >&6; }
11075 if test -n "$FFMPEGTHUMBNAILER_CFLAGS"; then
11076 pkg_cv_FFMPEGTHUMBNAILER_CFLAGS="$FFMPEGTHUMBNAILER_CFLAGS"
11077 elif test -n "$PKG_CONFIG"; then
11078 if test -n "$PKG_CONFIG" && \
11079 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffmpegthumbnailer >= 2.1.0\""; } >&5
11080 ($PKG_CONFIG --exists --print-errors "libffmpegthumbnailer >= 2.1.0") 2>&5
11082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11083 test $ac_status = 0; }; then
11084 pkg_cv_FFMPEGTHUMBNAILER_CFLAGS=`$PKG_CONFIG --cflags "libffmpegthumbnailer >= 2.1.0" 2>/dev/null`
11085 test "x$?" != "x0" && pkg_failed=yes
11092 if test -n "$FFMPEGTHUMBNAILER_LIBS"; then
11093 pkg_cv_FFMPEGTHUMBNAILER_LIBS="$FFMPEGTHUMBNAILER_LIBS"
11094 elif test -n "$PKG_CONFIG"; then
11095 if test -n "$PKG_CONFIG" && \
11096 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffmpegthumbnailer >= 2.1.0\""; } >&5
11097 ($PKG_CONFIG --exists --print-errors "libffmpegthumbnailer >= 2.1.0") 2>&5
11099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11100 test $ac_status = 0; }; then
11101 pkg_cv_FFMPEGTHUMBNAILER_LIBS=`$PKG_CONFIG --libs "libffmpegthumbnailer >= 2.1.0" 2>/dev/null`
11102 test "x$?" != "x0" && pkg_failed=yes
11112 if test $pkg_failed = yes; then
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11114 $as_echo "no" >&6; }
11116 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11117 _pkg_short_errors_supported=yes
11119 _pkg_short_errors_supported=no
11121 if test $_pkg_short_errors_supported = yes; then
11122 FFMPEGTHUMBNAILER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffmpegthumbnailer >= 2.1.0" 2>&1`
11124 FFMPEGTHUMBNAILER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libffmpegthumbnailer >= 2.1.0" 2>&1`
11126 # Put the nasty error message in config.log where it belongs
11127 echo "$FFMPEGTHUMBNAILER_PKG_ERRORS" >&5
11130 HAVE_FFMPEGTHUMBNAILER=no
11132 elif test $pkg_failed = untried; then
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11134 $as_echo "no" >&6; }
11136 HAVE_FFMPEGTHUMBNAILER=no
11139 FFMPEGTHUMBNAILER_CFLAGS=$pkg_cv_FFMPEGTHUMBNAILER_CFLAGS
11140 FFMPEGTHUMBNAILER_LIBS=$pkg_cv_FFMPEGTHUMBNAILER_LIBS
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11142 $as_echo "yes" >&6; }
11144 HAVE_FFMPEGTHUMBNAILER=yes
11146 $as_echo "#define HAVE_FFMPEGTHUMBNAILER 1" >>confdefs.h
11148 ac_fn_c_check_member "$LINENO" "video_thumbnailer" "prefer_embedded_metadata" "ac_cv_member_video_thumbnailer_prefer_embedded_metadata" "#include <libffmpegthumbnailer/videothumbnailerc.h>
11150 if test "x$ac_cv_member_video_thumbnailer_prefer_embedded_metadata" = xyes; then :
11152 $as_echo "#define HAVE_FFMPEGTHUMBNAILER_METADATA 1" >>confdefs.h
11156 ac_fn_c_check_member "$LINENO" "image_data" "image_data_width" "ac_cv_member_image_data_image_data_width" "#include <libffmpegthumbnailer/videothumbnailerc.h>
11158 if test "x$ac_cv_member_image_data_image_data_width" = xyes; then :
11160 $as_echo "#define HAVE_FFMPEGTHUMBNAILER_RGB 1" >>confdefs.h
11164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for video_thumbnailer_set_size in -lffmpegthumbnailer" >&5
11165 $as_echo_n "checking for video_thumbnailer_set_size in -lffmpegthumbnailer... " >&6; }
11166 if ${ac_cv_lib_ffmpegthumbnailer_video_thumbnailer_set_size+:} false; then :
11167 $as_echo_n "(cached) " >&6
11169 ac_check_lib_save_LIBS=$LIBS
11170 LIBS="-lffmpegthumbnailer $LIBS"
11171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11172 /* end confdefs.h. */
11174 /* Override any GCC internal prototype to avoid an error.
11175 Use char because int might match the return type of a GCC
11176 builtin and then its argument prototype would still apply. */
11180 char video_thumbnailer_set_size ();
11184 return video_thumbnailer_set_size ();
11189 if ac_fn_c_try_link "$LINENO"; then :
11190 ac_cv_lib_ffmpegthumbnailer_video_thumbnailer_set_size=yes
11192 ac_cv_lib_ffmpegthumbnailer_video_thumbnailer_set_size=no
11194 rm -f core conftest.err conftest.$ac_objext \
11195 conftest$ac_exeext conftest.$ac_ext
11196 LIBS=$ac_check_lib_save_LIBS
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ffmpegthumbnailer_video_thumbnailer_set_size" >&5
11199 $as_echo "$ac_cv_lib_ffmpegthumbnailer_video_thumbnailer_set_size" >&6; }
11200 if test "x$ac_cv_lib_ffmpegthumbnailer_video_thumbnailer_set_size" = xyes; then :
11202 $as_echo "#define HAVE_FFMPEGTHUMBNAILER_WH 1" >>confdefs.h
11209 HAVE_FFMPEGTHUMBNAILER=disabled
11212 if test "x$HAVE_FFMPEGTHUMBNAILER" = xyes; then
11213 HAVE_FFMPEGTHUMBNAILER_TRUE=
11214 HAVE_FFMPEGTHUMBNAILER_FALSE='#'
11216 HAVE_FFMPEGTHUMBNAILER_TRUE='#'
11217 HAVE_FFMPEGTHUMBNAILER_FALSE=
11224 # ----------------------------------------------------------------------
11226 # Check whether --enable-exiv2 was given.
11227 if test "${enable_exiv2+set}" = set; then :
11228 enableval=$enable_exiv2; libexiv2=$enableval
11234 if test "x${libexiv2}" != "xno"; then
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXIV2" >&5
11238 $as_echo_n "checking for EXIV2... " >&6; }
11240 if test -n "$EXIV2_CFLAGS"; then
11241 pkg_cv_EXIV2_CFLAGS="$EXIV2_CFLAGS"
11242 elif test -n "$PKG_CONFIG"; then
11243 if test -n "$PKG_CONFIG" && \
11244 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exiv2 >= 0.11\""; } >&5
11245 ($PKG_CONFIG --exists --print-errors "exiv2 >= 0.11") 2>&5
11247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11248 test $ac_status = 0; }; then
11249 pkg_cv_EXIV2_CFLAGS=`$PKG_CONFIG --cflags "exiv2 >= 0.11" 2>/dev/null`
11250 test "x$?" != "x0" && pkg_failed=yes
11257 if test -n "$EXIV2_LIBS"; then
11258 pkg_cv_EXIV2_LIBS="$EXIV2_LIBS"
11259 elif test -n "$PKG_CONFIG"; then
11260 if test -n "$PKG_CONFIG" && \
11261 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exiv2 >= 0.11\""; } >&5
11262 ($PKG_CONFIG --exists --print-errors "exiv2 >= 0.11") 2>&5
11264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11265 test $ac_status = 0; }; then
11266 pkg_cv_EXIV2_LIBS=`$PKG_CONFIG --libs "exiv2 >= 0.11" 2>/dev/null`
11267 test "x$?" != "x0" && pkg_failed=yes
11277 if test $pkg_failed = yes; then
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11279 $as_echo "no" >&6; }
11281 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11282 _pkg_short_errors_supported=yes
11284 _pkg_short_errors_supported=no
11286 if test $_pkg_short_errors_supported = yes; then
11287 EXIV2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "exiv2 >= 0.11" 2>&1`
11289 EXIV2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "exiv2 >= 0.11" 2>&1`
11291 # Put the nasty error message in config.log where it belongs
11292 echo "$EXIV2_PKG_ERRORS" >&5
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $EXIV2_PKG_ERRORS" >&5
11297 $as_echo "$as_me: WARNING: $EXIV2_PKG_ERRORS" >&2;}
11299 elif test $pkg_failed = untried; then
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11301 $as_echo "no" >&6; }
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $EXIV2_PKG_ERRORS" >&5
11305 $as_echo "$as_me: WARNING: $EXIV2_PKG_ERRORS" >&2;}
11308 EXIV2_CFLAGS=$pkg_cv_EXIV2_CFLAGS
11309 EXIV2_LIBS=$pkg_cv_EXIV2_LIBS
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11311 $as_echo "yes" >&6; }
11315 $as_echo "#define HAVE_EXIV2 1" >>confdefs.h
11320 HAVE_EXIV2=disabled
11323 if test "x$HAVE_EXIV2" = xyes; then
11325 HAVE_EXIV2_FALSE='#'
11327 HAVE_EXIV2_TRUE='#'
11336 # ----------------------------------------------------------------------
11338 ALL_LINGUAS="`grep -v '^#' "$srcdir/po/LINGUAS" | tr '\n' ' '`"
11339 CONFIG_STATUS_DEPENDENCIES='$(top_srcdir)/po/LINGUAS'
11342 GETTEXT_PACKAGE=$PACKAGE
11345 cat >>confdefs.h <<_ACEOF
11346 #define GETTEXT_PACKAGE "${GETTEXT_PACKAGE}"
11350 for ac_header in locale.h
11352 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
11353 if test "x$ac_cv_header_locale_h" = xyes; then :
11354 cat >>confdefs.h <<_ACEOF
11355 #define HAVE_LOCALE_H 1
11362 if test $ac_cv_header_locale_h = yes; then
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
11364 $as_echo_n "checking for LC_MESSAGES... " >&6; }
11365 if ${am_cv_val_LC_MESSAGES+:} false; then :
11366 $as_echo_n "(cached) " >&6
11368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11369 /* end confdefs.h. */
11370 #include <locale.h>
11379 if ac_fn_c_try_link "$LINENO"; then :
11380 am_cv_val_LC_MESSAGES=yes
11382 am_cv_val_LC_MESSAGES=no
11384 rm -f core conftest.err conftest.$ac_objext \
11385 conftest$ac_exeext conftest.$ac_ext
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
11388 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
11389 if test $am_cv_val_LC_MESSAGES = yes; then
11391 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
11398 gt_cv_have_gettext=no
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
11406 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
11407 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
11408 $as_echo_n "(cached) " >&6
11410 gt_save_LIBS="$LIBS"
11411 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
11412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413 /* end confdefs.h. */
11414 #include <CoreFoundation/CFPreferences.h>
11418 CFPreferencesCopyAppValue(NULL, NULL)
11423 if ac_fn_c_try_link "$LINENO"; then :
11424 gt_cv_func_CFPreferencesCopyAppValue=yes
11426 gt_cv_func_CFPreferencesCopyAppValue=no
11428 rm -f core conftest.err conftest.$ac_objext \
11429 conftest$ac_exeext conftest.$ac_ext
11430 LIBS="$gt_save_LIBS"
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
11433 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
11434 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
11436 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
11440 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
11441 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
11442 $as_echo_n "(cached) " >&6
11444 gt_save_LIBS="$LIBS"
11445 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
11446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11447 /* end confdefs.h. */
11448 #include <CoreFoundation/CFLocale.h>
11452 CFLocaleCopyCurrent();
11457 if ac_fn_c_try_link "$LINENO"; then :
11458 gt_cv_func_CFLocaleCopyCurrent=yes
11460 gt_cv_func_CFLocaleCopyCurrent=no
11462 rm -f core conftest.err conftest.$ac_objext \
11463 conftest$ac_exeext conftest.$ac_ext
11464 LIBS="$gt_save_LIBS"
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
11467 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
11468 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
11470 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
11474 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
11475 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
11480 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
11481 if test "x$ac_cv_header_libintl_h" = xyes; then :
11482 gt_cv_func_dgettext_libintl="no"
11483 libintl_extra_libs=""
11486 # First check in libc
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
11489 $as_echo_n "checking for ngettext in libc... " >&6; }
11490 if ${gt_cv_func_ngettext_libc+:} false; then :
11491 $as_echo_n "(cached) " >&6
11493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11494 /* end confdefs.h. */
11496 #include <libintl.h>
11501 return !ngettext ("","", 1)
11506 if ac_fn_c_try_link "$LINENO"; then :
11507 gt_cv_func_ngettext_libc=yes
11509 gt_cv_func_ngettext_libc=no
11511 rm -f core conftest.err conftest.$ac_objext \
11512 conftest$ac_exeext conftest.$ac_ext
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
11516 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
11518 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
11520 $as_echo_n "checking for dgettext in libc... " >&6; }
11521 if ${gt_cv_func_dgettext_libc+:} false; then :
11522 $as_echo_n "(cached) " >&6
11524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11525 /* end confdefs.h. */
11527 #include <libintl.h>
11532 return !dgettext ("","")
11537 if ac_fn_c_try_link "$LINENO"; then :
11538 gt_cv_func_dgettext_libc=yes
11540 gt_cv_func_dgettext_libc=no
11542 rm -f core conftest.err conftest.$ac_objext \
11543 conftest$ac_exeext conftest.$ac_ext
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
11547 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
11550 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
11551 for ac_func in bind_textdomain_codeset
11553 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11554 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
11555 cat >>confdefs.h <<_ACEOF
11556 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
11565 # If we don't have everything we want, check in libintl
11567 if test "$gt_cv_func_dgettext_libc" != "yes" \
11568 || test "$gt_cv_func_ngettext_libc" != "yes" \
11569 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
11572 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
11573 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
11574 $as_echo_n "(cached) " >&6
11576 ac_check_lib_save_LIBS=$LIBS
11577 LIBS="-lintl $LIBS"
11578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11579 /* end confdefs.h. */
11581 /* Override any GCC internal prototype to avoid an error.
11582 Use char because int might match the return type of a GCC
11583 builtin and then its argument prototype would still apply. */
11587 char bindtextdomain ();
11591 return bindtextdomain ();
11596 if ac_fn_c_try_link "$LINENO"; then :
11597 ac_cv_lib_intl_bindtextdomain=yes
11599 ac_cv_lib_intl_bindtextdomain=no
11601 rm -f core conftest.err conftest.$ac_objext \
11602 conftest$ac_exeext conftest.$ac_ext
11603 LIBS=$ac_check_lib_save_LIBS
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
11606 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
11607 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
11609 $as_echo_n "checking for ngettext in -lintl... " >&6; }
11610 if ${ac_cv_lib_intl_ngettext+:} false; then :
11611 $as_echo_n "(cached) " >&6
11613 ac_check_lib_save_LIBS=$LIBS
11614 LIBS="-lintl $LIBS"
11615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11616 /* end confdefs.h. */
11618 /* Override any GCC internal prototype to avoid an error.
11619 Use char because int might match the return type of a GCC
11620 builtin and then its argument prototype would still apply. */
11628 return ngettext ();
11633 if ac_fn_c_try_link "$LINENO"; then :
11634 ac_cv_lib_intl_ngettext=yes
11636 ac_cv_lib_intl_ngettext=no
11638 rm -f core conftest.err conftest.$ac_objext \
11639 conftest$ac_exeext conftest.$ac_ext
11640 LIBS=$ac_check_lib_save_LIBS
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
11643 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
11644 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
11646 $as_echo_n "checking for dgettext in -lintl... " >&6; }
11647 if ${ac_cv_lib_intl_dgettext+:} false; then :
11648 $as_echo_n "(cached) " >&6
11650 ac_check_lib_save_LIBS=$LIBS
11651 LIBS="-lintl $LIBS"
11652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11653 /* end confdefs.h. */
11655 /* Override any GCC internal prototype to avoid an error.
11656 Use char because int might match the return type of a GCC
11657 builtin and then its argument prototype would still apply. */
11665 return dgettext ();
11670 if ac_fn_c_try_link "$LINENO"; then :
11671 ac_cv_lib_intl_dgettext=yes
11673 ac_cv_lib_intl_dgettext=no
11675 rm -f core conftest.err conftest.$ac_objext \
11676 conftest$ac_exeext conftest.$ac_ext
11677 LIBS=$ac_check_lib_save_LIBS
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
11680 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
11681 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
11682 gt_cv_func_dgettext_libintl=yes
11690 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
11692 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
11696 $as_echo_n "checking for ngettext in -lintl... " >&6; }
11697 if ${ac_cv_lib_intl_ngettext+:} false; then :
11698 $as_echo_n "(cached) " >&6
11700 ac_check_lib_save_LIBS=$LIBS
11701 LIBS="-lintl -liconv $LIBS"
11702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11703 /* end confdefs.h. */
11705 /* Override any GCC internal prototype to avoid an error.
11706 Use char because int might match the return type of a GCC
11707 builtin and then its argument prototype would still apply. */
11715 return ngettext ();
11720 if ac_fn_c_try_link "$LINENO"; then :
11721 ac_cv_lib_intl_ngettext=yes
11723 ac_cv_lib_intl_ngettext=no
11725 rm -f core conftest.err conftest.$ac_objext \
11726 conftest$ac_exeext conftest.$ac_ext
11727 LIBS=$ac_check_lib_save_LIBS
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
11730 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
11731 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
11733 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
11734 if ${ac_cv_lib_intl_dcgettext+:} false; then :
11735 $as_echo_n "(cached) " >&6
11737 ac_check_lib_save_LIBS=$LIBS
11738 LIBS="-lintl -liconv $LIBS"
11739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11740 /* end confdefs.h. */
11742 /* Override any GCC internal prototype to avoid an error.
11743 Use char because int might match the return type of a GCC
11744 builtin and then its argument prototype would still apply. */
11752 return dcgettext ();
11757 if ac_fn_c_try_link "$LINENO"; then :
11758 ac_cv_lib_intl_dcgettext=yes
11760 ac_cv_lib_intl_dcgettext=no
11762 rm -f core conftest.err conftest.$ac_objext \
11763 conftest$ac_exeext conftest.$ac_ext
11764 LIBS=$ac_check_lib_save_LIBS
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
11767 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
11768 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
11769 gt_cv_func_dgettext_libintl=yes
11770 libintl_extra_libs=-liconv
11782 # If we found libintl, then check in it for bind_textdomain_codeset();
11783 # we'll prefer libc if neither have bind_textdomain_codeset(),
11784 # and both have dgettext and ngettext
11786 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
11787 glib_save_LIBS="$LIBS"
11788 LIBS="$LIBS -lintl $libintl_extra_libs"
11789 unset ac_cv_func_bind_textdomain_codeset
11790 for ac_func in bind_textdomain_codeset
11792 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11793 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
11794 cat >>confdefs.h <<_ACEOF
11795 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
11801 LIBS="$glib_save_LIBS"
11803 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
11804 gt_cv_func_dgettext_libc=no
11806 if test "$gt_cv_func_dgettext_libc" = "yes" \
11807 && test "$gt_cv_func_ngettext_libc" = "yes"; then
11808 gt_cv_func_dgettext_libintl=no
11814 if test "$gt_cv_func_dgettext_libc" = "yes" \
11815 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
11816 gt_cv_have_gettext=yes
11819 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
11820 INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS"
11823 if test "$gt_cv_have_gettext" = "yes"; then
11825 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
11827 # Extract the first word of "msgfmt", so it can be a program name with args.
11828 set dummy msgfmt; ac_word=$2
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11830 $as_echo_n "checking for $ac_word... " >&6; }
11831 if ${ac_cv_path_MSGFMT+:} false; then :
11832 $as_echo_n "(cached) " >&6
11836 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
11839 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
11840 for ac_dir in $PATH; do
11841 test -z "$ac_dir" && ac_dir=.
11842 if test -f $ac_dir/$ac_word; then
11843 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
11844 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
11850 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
11854 MSGFMT="$ac_cv_path_MSGFMT"
11855 if test "$MSGFMT" != "no"; then
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11857 $as_echo "$MSGFMT" >&6; }
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11860 $as_echo "no" >&6; }
11862 if test "$MSGFMT" != "no"; then
11863 glib_save_LIBS="$LIBS"
11864 LIBS="$LIBS $INTLLIBS"
11865 for ac_func in dcgettext
11867 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
11868 if test "x$ac_cv_func_dcgettext" = xyes; then :
11869 cat >>confdefs.h <<_ACEOF
11870 #define HAVE_DCGETTEXT 1
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
11878 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
11879 cat >conftest.foo <<_ACEOF
11883 "Content-Type: text/plain; charset=UTF-8\n"
11884 "Project-Id-Version: test 1.0\n"
11885 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
11886 "Last-Translator: test <foo@bar.xx>\n"
11887 "Language-Team: C <LL@li.org>\n"
11888 "MIME-Version: 1.0\n"
11889 "Content-Transfer-Encoding: 8bit\n"
11892 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
11893 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
11895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11896 test $ac_status = 0; }; then
11897 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11898 $as_echo "yes" >&6; }
11899 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11900 $as_echo "no" >&6; }
11901 echo "$as_me: failed input was:" >&5
11902 sed 's/^/| /' conftest.foo >&5
11905 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11906 set dummy gmsgfmt; ac_word=$2
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11908 $as_echo_n "checking for $ac_word... " >&6; }
11909 if ${ac_cv_path_GMSGFMT+:} false; then :
11910 $as_echo_n "(cached) " >&6
11914 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
11917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11918 for as_dir in $PATH
11921 test -z "$as_dir" && as_dir=.
11922 for ac_exec_ext in '' $ac_executable_extensions; do
11923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11924 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11932 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11936 GMSGFMT=$ac_cv_path_GMSGFMT
11937 if test -n "$GMSGFMT"; then
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11939 $as_echo "$GMSGFMT" >&6; }
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11942 $as_echo "no" >&6; }
11946 # Extract the first word of "xgettext", so it can be a program name with args.
11947 set dummy xgettext; ac_word=$2
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11949 $as_echo_n "checking for $ac_word... " >&6; }
11950 if ${ac_cv_path_XGETTEXT+:} false; then :
11951 $as_echo_n "(cached) " >&6
11953 case "$XGETTEXT" in
11955 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11958 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
11959 for ac_dir in $PATH; do
11960 test -z "$ac_dir" && ac_dir=.
11961 if test -f $ac_dir/$ac_word; then
11962 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
11963 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
11969 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
11973 XGETTEXT="$ac_cv_path_XGETTEXT"
11974 if test "$XGETTEXT" != ":"; then
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11976 $as_echo "$XGETTEXT" >&6; }
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11979 $as_echo "no" >&6; }
11982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11983 /* end confdefs.h. */
11988 extern int _nl_msg_cat_cntr;
11989 return _nl_msg_cat_cntr
11994 if ac_fn_c_try_link "$LINENO"; then :
12000 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12001 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12020 rm -f core conftest.err conftest.$ac_objext \
12021 conftest$ac_exeext conftest.$ac_ext
12022 LIBS="$glib_save_LIBS"
12025 gt_cv_have_gettext=no
12033 if test "$gt_cv_have_gettext" = "yes" ; then
12035 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
12039 if test "$XGETTEXT" != ":"; then
12040 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
12044 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
12049 # We need to process the po/ directory.
12052 ac_config_commands="$ac_config_commands default-1"
12055 for lang in $ALL_LINGUAS; do
12056 GMOFILES="$GMOFILES $lang.gmo"
12057 POFILES="$POFILES $lang.po"
12072 if test "$gt_cv_have_gettext" = "yes"; then
12073 if test "x$ALL_LINGUAS" = "x"; then
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
12077 $as_echo_n "checking for catalogs to be installed... " >&6; }
12079 for presentlang in $ALL_LINGUAS; do
12081 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
12082 desiredlanguages="$LINGUAS"
12084 desiredlanguages="$ALL_LINGUAS"
12086 for desiredlang in $desiredlanguages; do
12087 # Use the presentlang catalog if desiredlang is
12088 # a. equal to presentlang, or
12089 # b. a variant of presentlang (because in this case,
12090 # presentlang can be used as a fallback for messages
12091 # which are not translated in the desiredlang catalog).
12092 case "$desiredlang" in
12093 "$presentlang"*) useit=yes;;
12096 if test $useit = yes; then
12097 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
12100 LINGUAS=$NEW_LINGUAS
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
12102 $as_echo "$LINGUAS" >&6; }
12105 if test -n "$LINGUAS"; then
12106 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
12111 if test -n "$ac_aux_dir"; then
12112 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
12114 if test -z "$MKINSTALLDIRS"; then
12115 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
12119 test -d po || mkdir po
12120 if test "x$srcdir" != "x."; then
12121 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
12122 posrcprefix="$srcdir/"
12124 posrcprefix="../$srcdir/"
12130 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
12131 < $srcdir/po/POTFILES.in > po/POTFILES
12133 glib_save_prefix="$prefix"
12134 glib_save_exec_prefix="$exec_prefix"
12135 glib_save_datarootdir="$datarootdir"
12136 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12137 test "x$exec_prefix" = xNONE && exec_prefix=$prefix
12138 datarootdir=`eval echo "${datarootdir}"`
12139 if test "x$CATOBJEXT" = "x.mo" ; then
12140 localedir=`eval echo "${libdir}/locale"`
12142 localedir=`eval echo "${datadir}/locale"`
12144 prefix="$glib_save_prefix"
12145 exec_prefix="$glib_save_exec_prefix"
12146 datarootdir="$glib_save_datarootdir"
12148 cat >>confdefs.h <<_ACEOF
12149 #define GQ_LOCALEDIR "$localedir"
12160 # clutter and champlain support
12161 # ----------------------------------------------------------------------
12163 # Check whether --enable-map was given.
12164 if test "${enable_map+set}" = set; then :
12165 enableval=$enable_map; libgps=$enableval
12171 # Check whether --enable-gpu-accel was given.
12172 if test "${enable_gpu_accel+set}" = set; then :
12173 enableval=$enable_gpu_accel; libclutter=$enableval
12179 if test "x${libclutter}" != "xno" -a "x${gtk3}" != "xno"; then
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTER" >&5
12183 $as_echo_n "checking for CLUTTER... " >&6; }
12185 if test -n "$CLUTTER_CFLAGS"; then
12186 pkg_cv_CLUTTER_CFLAGS="$CLUTTER_CFLAGS"
12187 elif test -n "$PKG_CONFIG"; then
12188 if test -n "$PKG_CONFIG" && \
12189 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-1.0 >= 1.0\""; } >&5
12190 ($PKG_CONFIG --exists --print-errors "clutter-1.0 >= 1.0") 2>&5
12192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12193 test $ac_status = 0; }; then
12194 pkg_cv_CLUTTER_CFLAGS=`$PKG_CONFIG --cflags "clutter-1.0 >= 1.0" 2>/dev/null`
12195 test "x$?" != "x0" && pkg_failed=yes
12202 if test -n "$CLUTTER_LIBS"; then
12203 pkg_cv_CLUTTER_LIBS="$CLUTTER_LIBS"
12204 elif test -n "$PKG_CONFIG"; then
12205 if test -n "$PKG_CONFIG" && \
12206 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-1.0 >= 1.0\""; } >&5
12207 ($PKG_CONFIG --exists --print-errors "clutter-1.0 >= 1.0") 2>&5
12209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12210 test $ac_status = 0; }; then
12211 pkg_cv_CLUTTER_LIBS=`$PKG_CONFIG --libs "clutter-1.0 >= 1.0" 2>/dev/null`
12212 test "x$?" != "x0" && pkg_failed=yes
12222 if test $pkg_failed = yes; then
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12224 $as_echo "no" >&6; }
12226 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12227 _pkg_short_errors_supported=yes
12229 _pkg_short_errors_supported=no
12231 if test $_pkg_short_errors_supported = yes; then
12232 CLUTTER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-1.0 >= 1.0" 2>&1`
12234 CLUTTER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-1.0 >= 1.0" 2>&1`
12236 # Put the nasty error message in config.log where it belongs
12237 echo "$CLUTTER_PKG_ERRORS" >&5
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $CLUTTER_PKG_ERRORS" >&5
12242 $as_echo "$as_me: WARNING: $CLUTTER_PKG_ERRORS" >&2;}
12244 elif test $pkg_failed = untried; then
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12246 $as_echo "no" >&6; }
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $CLUTTER_PKG_ERRORS" >&5
12250 $as_echo "$as_me: WARNING: $CLUTTER_PKG_ERRORS" >&2;}
12253 CLUTTER_CFLAGS=$pkg_cv_CLUTTER_CFLAGS
12254 CLUTTER_LIBS=$pkg_cv_CLUTTER_LIBS
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12256 $as_echo "yes" >&6; }
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTER_GTK" >&5
12261 $as_echo_n "checking for CLUTTER_GTK... " >&6; }
12263 if test -n "$CLUTTER_GTK_CFLAGS"; then
12264 pkg_cv_CLUTTER_GTK_CFLAGS="$CLUTTER_GTK_CFLAGS"
12265 elif test -n "$PKG_CONFIG"; then
12266 if test -n "$PKG_CONFIG" && \
12267 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gtk-1.0 >= 1.0\""; } >&5
12268 ($PKG_CONFIG --exists --print-errors "clutter-gtk-1.0 >= 1.0") 2>&5
12270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12271 test $ac_status = 0; }; then
12272 pkg_cv_CLUTTER_GTK_CFLAGS=`$PKG_CONFIG --cflags "clutter-gtk-1.0 >= 1.0" 2>/dev/null`
12273 test "x$?" != "x0" && pkg_failed=yes
12280 if test -n "$CLUTTER_GTK_LIBS"; then
12281 pkg_cv_CLUTTER_GTK_LIBS="$CLUTTER_GTK_LIBS"
12282 elif test -n "$PKG_CONFIG"; then
12283 if test -n "$PKG_CONFIG" && \
12284 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gtk-1.0 >= 1.0\""; } >&5
12285 ($PKG_CONFIG --exists --print-errors "clutter-gtk-1.0 >= 1.0") 2>&5
12287 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12288 test $ac_status = 0; }; then
12289 pkg_cv_CLUTTER_GTK_LIBS=`$PKG_CONFIG --libs "clutter-gtk-1.0 >= 1.0" 2>/dev/null`
12290 test "x$?" != "x0" && pkg_failed=yes
12300 if test $pkg_failed = yes; then
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12302 $as_echo "no" >&6; }
12304 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12305 _pkg_short_errors_supported=yes
12307 _pkg_short_errors_supported=no
12309 if test $_pkg_short_errors_supported = yes; then
12310 CLUTTER_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-gtk-1.0 >= 1.0" 2>&1`
12312 CLUTTER_GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-gtk-1.0 >= 1.0" 2>&1`
12314 # Put the nasty error message in config.log where it belongs
12315 echo "$CLUTTER_GTK_PKG_ERRORS" >&5
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $CLUTTER_GTK_PKG_ERRORS" >&5
12320 $as_echo "$as_me: WARNING: $CLUTTER_GTK_PKG_ERRORS" >&2;}
12322 elif test $pkg_failed = untried; then
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12324 $as_echo "no" >&6; }
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $CLUTTER_GTK_PKG_ERRORS" >&5
12328 $as_echo "$as_me: WARNING: $CLUTTER_GTK_PKG_ERRORS" >&2;}
12331 CLUTTER_GTK_CFLAGS=$pkg_cv_CLUTTER_GTK_CFLAGS
12332 CLUTTER_GTK_LIBS=$pkg_cv_CLUTTER_GTK_LIBS
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12334 $as_echo "yes" >&6; }
12338 $as_echo "#define HAVE_CLUTTER 1" >>confdefs.h
12345 HAVE_CLUTTER=disabled
12354 # Libchamplain support - used for map facility
12355 # ----------------------------------------------------------------------
12357 if test "x${libgps}" != "xno" -a "x${HAVE_CLUTTER}" = "xyes"; then
12358 if test "x${gtk3}" != "xno"; then
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCHAMPLAIN" >&5
12362 $as_echo_n "checking for LIBCHAMPLAIN... " >&6; }
12364 if test -n "$LIBCHAMPLAIN_CFLAGS"; then
12365 pkg_cv_LIBCHAMPLAIN_CFLAGS="$LIBCHAMPLAIN_CFLAGS"
12366 elif test -n "$PKG_CONFIG"; then
12367 if test -n "$PKG_CONFIG" && \
12368 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"champlain-0.12 >= 0.12\""; } >&5
12369 ($PKG_CONFIG --exists --print-errors "champlain-0.12 >= 0.12") 2>&5
12371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12372 test $ac_status = 0; }; then
12373 pkg_cv_LIBCHAMPLAIN_CFLAGS=`$PKG_CONFIG --cflags "champlain-0.12 >= 0.12" 2>/dev/null`
12374 test "x$?" != "x0" && pkg_failed=yes
12381 if test -n "$LIBCHAMPLAIN_LIBS"; then
12382 pkg_cv_LIBCHAMPLAIN_LIBS="$LIBCHAMPLAIN_LIBS"
12383 elif test -n "$PKG_CONFIG"; then
12384 if test -n "$PKG_CONFIG" && \
12385 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"champlain-0.12 >= 0.12\""; } >&5
12386 ($PKG_CONFIG --exists --print-errors "champlain-0.12 >= 0.12") 2>&5
12388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12389 test $ac_status = 0; }; then
12390 pkg_cv_LIBCHAMPLAIN_LIBS=`$PKG_CONFIG --libs "champlain-0.12 >= 0.12" 2>/dev/null`
12391 test "x$?" != "x0" && pkg_failed=yes
12401 if test $pkg_failed = yes; then
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12403 $as_echo "no" >&6; }
12405 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12406 _pkg_short_errors_supported=yes
12408 _pkg_short_errors_supported=no
12410 if test $_pkg_short_errors_supported = yes; then
12411 LIBCHAMPLAIN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "champlain-0.12 >= 0.12" 2>&1`
12413 LIBCHAMPLAIN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "champlain-0.12 >= 0.12" 2>&1`
12415 # Put the nasty error message in config.log where it belongs
12416 echo "$LIBCHAMPLAIN_PKG_ERRORS" >&5
12419 HAVE_LIBCHAMPLAIN=no
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LIBCHAMPLAIN_PKG_ERRORS" >&5
12421 $as_echo "$as_me: WARNING: $LIBCHAMPLAIN_PKG_ERRORS" >&2;}
12423 elif test $pkg_failed = untried; then
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12425 $as_echo "no" >&6; }
12427 HAVE_LIBCHAMPLAIN=no
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LIBCHAMPLAIN_PKG_ERRORS" >&5
12429 $as_echo "$as_me: WARNING: $LIBCHAMPLAIN_PKG_ERRORS" >&2;}
12432 LIBCHAMPLAIN_CFLAGS=$pkg_cv_LIBCHAMPLAIN_CFLAGS
12433 LIBCHAMPLAIN_LIBS=$pkg_cv_LIBCHAMPLAIN_LIBS
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12435 $as_echo "yes" >&6; }
12437 HAVE_LIBCHAMPLAIN=yes
12439 $as_echo "#define HAVE_LIBCHAMPLAIN 1" >>confdefs.h
12444 HAVE_LIBCHAMPLAIN=disabled
12447 HAVE_LIBCHAMPLAIN=disabled
12450 if test "x${libgps}" != "xno" -a "x${HAVE_LIBCHAMPLAIN}" = "xyes" ; then
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCHAMPLAIN_GTK" >&5
12454 $as_echo_n "checking for LIBCHAMPLAIN_GTK... " >&6; }
12456 if test -n "$LIBCHAMPLAIN_GTK_CFLAGS"; then
12457 pkg_cv_LIBCHAMPLAIN_GTK_CFLAGS="$LIBCHAMPLAIN_GTK_CFLAGS"
12458 elif test -n "$PKG_CONFIG"; then
12459 if test -n "$PKG_CONFIG" && \
12460 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"champlain-gtk-0.12 >= 0.12\""; } >&5
12461 ($PKG_CONFIG --exists --print-errors "champlain-gtk-0.12 >= 0.12") 2>&5
12463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12464 test $ac_status = 0; }; then
12465 pkg_cv_LIBCHAMPLAIN_GTK_CFLAGS=`$PKG_CONFIG --cflags "champlain-gtk-0.12 >= 0.12" 2>/dev/null`
12466 test "x$?" != "x0" && pkg_failed=yes
12473 if test -n "$LIBCHAMPLAIN_GTK_LIBS"; then
12474 pkg_cv_LIBCHAMPLAIN_GTK_LIBS="$LIBCHAMPLAIN_GTK_LIBS"
12475 elif test -n "$PKG_CONFIG"; then
12476 if test -n "$PKG_CONFIG" && \
12477 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"champlain-gtk-0.12 >= 0.12\""; } >&5
12478 ($PKG_CONFIG --exists --print-errors "champlain-gtk-0.12 >= 0.12") 2>&5
12480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12481 test $ac_status = 0; }; then
12482 pkg_cv_LIBCHAMPLAIN_GTK_LIBS=`$PKG_CONFIG --libs "champlain-gtk-0.12 >= 0.12" 2>/dev/null`
12483 test "x$?" != "x0" && pkg_failed=yes
12493 if test $pkg_failed = yes; then
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12495 $as_echo "no" >&6; }
12497 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12498 _pkg_short_errors_supported=yes
12500 _pkg_short_errors_supported=no
12502 if test $_pkg_short_errors_supported = yes; then
12503 LIBCHAMPLAIN_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "champlain-gtk-0.12 >= 0.12" 2>&1`
12505 LIBCHAMPLAIN_GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "champlain-gtk-0.12 >= 0.12" 2>&1`
12507 # Put the nasty error message in config.log where it belongs
12508 echo "$LIBCHAMPLAIN_GTK_PKG_ERRORS" >&5
12511 HAVE_LIBCHAMPLAIN_GTK=no
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LIBCHAMPLAIN_GTK_PKG_ERRORS" >&5
12513 $as_echo "$as_me: WARNING: $LIBCHAMPLAIN_GTK_PKG_ERRORS" >&2;}
12515 elif test $pkg_failed = untried; then
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12517 $as_echo "no" >&6; }
12519 HAVE_LIBCHAMPLAIN_GTK=no
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LIBCHAMPLAIN_GTK_PKG_ERRORS" >&5
12521 $as_echo "$as_me: WARNING: $LIBCHAMPLAIN_GTK_PKG_ERRORS" >&2;}
12524 LIBCHAMPLAIN_GTK_CFLAGS=$pkg_cv_LIBCHAMPLAIN_GTK_CFLAGS
12525 LIBCHAMPLAIN_GTK_LIBS=$pkg_cv_LIBCHAMPLAIN_GTK_LIBS
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12527 $as_echo "yes" >&6; }
12529 HAVE_LIBCHAMPLAIN_GTK=yes
12531 $as_echo "#define HAVE_LIBCHAMPLAIN_GTK 1" >>confdefs.h
12536 HAVE_LIBCHAMPLAIN_GTK=disabled
12539 if test "x$HAVE_LIBCHAMPLAIN_GTK" = xyes; then
12540 HAVE_LIBCHAMPLAIN_GTK_TRUE=
12541 HAVE_LIBCHAMPLAIN_GTK_FALSE='#'
12543 HAVE_LIBCHAMPLAIN_GTK_TRUE='#'
12544 HAVE_LIBCHAMPLAIN_GTK_FALSE=
12551 # ----------------------------------------------------------------------
12553 # Check whether --enable-lua was given.
12554 if test "${enable_lua+set}" = set; then :
12555 enableval=$enable_lua; liblua=$enableval
12561 if test "x${liblua}" != "xno"; then
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
12565 $as_echo_n "checking for LUA... " >&6; }
12567 if test -n "$LUA_CFLAGS"; then
12568 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
12569 elif test -n "$PKG_CONFIG"; then
12570 if test -n "$PKG_CONFIG" && \
12571 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
12572 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
12574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12575 test $ac_status = 0; }; then
12576 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
12577 test "x$?" != "x0" && pkg_failed=yes
12584 if test -n "$LUA_LIBS"; then
12585 pkg_cv_LUA_LIBS="$LUA_LIBS"
12586 elif test -n "$PKG_CONFIG"; then
12587 if test -n "$PKG_CONFIG" && \
12588 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
12589 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
12591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12592 test $ac_status = 0; }; then
12593 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
12594 test "x$?" != "x0" && pkg_failed=yes
12604 if test $pkg_failed = yes; then
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12606 $as_echo "no" >&6; }
12608 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12609 _pkg_short_errors_supported=yes
12611 _pkg_short_errors_supported=no
12613 if test $_pkg_short_errors_supported = yes; then
12614 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua5.1 >= 5.1" 2>&1`
12616 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua5.1 >= 5.1" 2>&1`
12618 # Put the nasty error message in config.log where it belongs
12619 echo "$LUA_PKG_ERRORS" >&5
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
12625 $as_echo_n "checking for LUA... " >&6; }
12627 if test -n "$LUA_CFLAGS"; then
12628 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
12629 elif test -n "$PKG_CONFIG"; then
12630 if test -n "$PKG_CONFIG" && \
12631 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
12632 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
12634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12635 test $ac_status = 0; }; then
12636 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1" 2>/dev/null`
12637 test "x$?" != "x0" && pkg_failed=yes
12644 if test -n "$LUA_LIBS"; then
12645 pkg_cv_LUA_LIBS="$LUA_LIBS"
12646 elif test -n "$PKG_CONFIG"; then
12647 if test -n "$PKG_CONFIG" && \
12648 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
12649 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
12651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12652 test $ac_status = 0; }; then
12653 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1" 2>/dev/null`
12654 test "x$?" != "x0" && pkg_failed=yes
12664 if test $pkg_failed = yes; then
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12666 $as_echo "no" >&6; }
12668 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12669 _pkg_short_errors_supported=yes
12671 _pkg_short_errors_supported=no
12673 if test $_pkg_short_errors_supported = yes; then
12674 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua >= 5.1" 2>&1`
12676 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua >= 5.1" 2>&1`
12678 # Put the nasty error message in config.log where it belongs
12679 echo "$LUA_PKG_ERRORS" >&5
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
12684 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
12686 elif test $pkg_failed = untried; then
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12688 $as_echo "no" >&6; }
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
12692 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
12695 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
12696 LUA_LIBS=$pkg_cv_LUA_LIBS
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12698 $as_echo "yes" >&6; }
12702 $as_echo "#define HAVE_LUA 1" >>confdefs.h
12707 elif test $pkg_failed = untried; then
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12709 $as_echo "no" >&6; }
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
12714 $as_echo_n "checking for LUA... " >&6; }
12716 if test -n "$LUA_CFLAGS"; then
12717 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
12718 elif test -n "$PKG_CONFIG"; then
12719 if test -n "$PKG_CONFIG" && \
12720 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
12721 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
12723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12724 test $ac_status = 0; }; then
12725 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1" 2>/dev/null`
12726 test "x$?" != "x0" && pkg_failed=yes
12733 if test -n "$LUA_LIBS"; then
12734 pkg_cv_LUA_LIBS="$LUA_LIBS"
12735 elif test -n "$PKG_CONFIG"; then
12736 if test -n "$PKG_CONFIG" && \
12737 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
12738 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
12740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12741 test $ac_status = 0; }; then
12742 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1" 2>/dev/null`
12743 test "x$?" != "x0" && pkg_failed=yes
12753 if test $pkg_failed = yes; then
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12755 $as_echo "no" >&6; }
12757 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12758 _pkg_short_errors_supported=yes
12760 _pkg_short_errors_supported=no
12762 if test $_pkg_short_errors_supported = yes; then
12763 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua >= 5.1" 2>&1`
12765 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua >= 5.1" 2>&1`
12767 # Put the nasty error message in config.log where it belongs
12768 echo "$LUA_PKG_ERRORS" >&5
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
12773 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
12775 elif test $pkg_failed = untried; then
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12777 $as_echo "no" >&6; }
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
12781 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
12784 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
12785 LUA_LIBS=$pkg_cv_LUA_LIBS
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12787 $as_echo "yes" >&6; }
12791 $as_echo "#define HAVE_LUA 1" >>confdefs.h
12797 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
12798 LUA_LIBS=$pkg_cv_LUA_LIBS
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12800 $as_echo "yes" >&6; }
12804 $as_echo "#define HAVE_LUA 1" >>confdefs.h
12812 if test "x$HAVE_LUA" = xyes; then
12824 # ----------------------------------------------------------------------
12826 if test "x${gtk3}" != "xno"; then
12827 # Check whether --enable-pdf was given.
12828 if test "${enable_pdf+set}" = set; then :
12829 enableval=$enable_pdf; libpdf=$enableval
12835 if test "x${libpdf}" != "xno"; then
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PDF" >&5
12839 $as_echo_n "checking for PDF... " >&6; }
12841 if test -n "$PDF_CFLAGS"; then
12842 pkg_cv_PDF_CFLAGS="$PDF_CFLAGS"
12843 elif test -n "$PKG_CONFIG"; then
12844 if test -n "$PKG_CONFIG" && \
12845 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler-glib >= 0.62\""; } >&5
12846 ($PKG_CONFIG --exists --print-errors "poppler-glib >= 0.62") 2>&5
12848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12849 test $ac_status = 0; }; then
12850 pkg_cv_PDF_CFLAGS=`$PKG_CONFIG --cflags "poppler-glib >= 0.62" 2>/dev/null`
12851 test "x$?" != "x0" && pkg_failed=yes
12858 if test -n "$PDF_LIBS"; then
12859 pkg_cv_PDF_LIBS="$PDF_LIBS"
12860 elif test -n "$PKG_CONFIG"; then
12861 if test -n "$PKG_CONFIG" && \
12862 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler-glib >= 0.62\""; } >&5
12863 ($PKG_CONFIG --exists --print-errors "poppler-glib >= 0.62") 2>&5
12865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12866 test $ac_status = 0; }; then
12867 pkg_cv_PDF_LIBS=`$PKG_CONFIG --libs "poppler-glib >= 0.62" 2>/dev/null`
12868 test "x$?" != "x0" && pkg_failed=yes
12878 if test $pkg_failed = yes; then
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12880 $as_echo "no" >&6; }
12882 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12883 _pkg_short_errors_supported=yes
12885 _pkg_short_errors_supported=no
12887 if test $_pkg_short_errors_supported = yes; then
12888 PDF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "poppler-glib >= 0.62" 2>&1`
12890 PDF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "poppler-glib >= 0.62" 2>&1`
12892 # Put the nasty error message in config.log where it belongs
12893 echo "$PDF_PKG_ERRORS" >&5
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $PDF_PKG_ERRORS" >&5
12898 $as_echo "$as_me: WARNING: $PDF_PKG_ERRORS" >&2;}
12900 elif test $pkg_failed = untried; then
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12902 $as_echo "no" >&6; }
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $PDF_PKG_ERRORS" >&5
12906 $as_echo "$as_me: WARNING: $PDF_PKG_ERRORS" >&2;}
12909 PDF_CFLAGS=$pkg_cv_PDF_CFLAGS
12910 PDF_LIBS=$pkg_cv_PDF_LIBS
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12912 $as_echo "yes" >&6; }
12916 $as_echo "#define HAVE_PDF 1" >>confdefs.h
12927 if test "x$HAVE_PDF" = xyes; then
12939 # ----------------------------------------------------------------------
12941 if "$(command -v markdown)" ; then
12942 HAVE_MARKDOWN_TRUE=
12943 HAVE_MARKDOWN_FALSE='#'
12945 HAVE_MARKDOWN_TRUE='#'
12946 HAVE_MARKDOWN_FALSE=
12950 # ----------------------------------------------------------------------
12957 ac_config_files="$ac_config_files Makefile src/Makefile src/icons/Makefile src/icons/svg/Makefile po/Makefile.in doc/Makefile plugins/Makefile plugins/symlink/Makefile plugins/rotate/Makefile plugins/ufraw/Makefile plugins/geocode-parameters/Makefile plugins/export-jpeg/Makefile plugins/tethered-photography/Makefile plugins/camera-import/Makefile plugins/image-crop/Makefile plugins/random-image/Makefile geeqie.spec"
12960 cat >confcache <<\_ACEOF
12961 # This file is a shell script that caches the results of configure
12962 # tests run on this system so they can be shared between configure
12963 # scripts and configure runs, see configure's option --config-cache.
12964 # It is not useful on other systems. If it contains results you don't
12965 # want to keep, you may remove or edit it.
12967 # config.status only pays attention to the cache file if you give it
12968 # the --recheck option to rerun configure.
12970 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12971 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12972 # following values.
12976 # The following way of writing the cache mishandles newlines in values,
12977 # but we know of no workaround that is simple, portable, and efficient.
12978 # So, we kill variables containing newlines.
12979 # Ultrix sh set writes to stderr and can't be redirected directly,
12980 # and sets the high bit in the cache file unless we assign to the vars.
12982 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12983 eval ac_val=\$$ac_var
12987 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12988 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12991 _ | IFS | as_nl) ;; #(
12992 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12993 *) { eval $ac_var=; unset $ac_var;} ;;
12999 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13000 *${as_nl}ac_space=\ *)
13001 # `set' does not quote correctly, so add quotes: double-quote
13002 # substitution turns \\\\ into \\, and sed turns \\ into \.
13005 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13008 # `set' quotes correctly as required by POSIX, so do not add quotes.
13009 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13018 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13020 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13022 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13023 if test -w "$cache_file"; then
13024 if test "x$cache_file" != "x/dev/null"; then
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13026 $as_echo "$as_me: updating cache $cache_file" >&6;}
13027 if test ! -f "$cache_file" || test -h "$cache_file"; then
13028 cat confcache >"$cache_file"
13030 case $cache_file in #(
13032 mv -f confcache "$cache_file"$$ &&
13033 mv -f "$cache_file"$$ "$cache_file" ;; #(
13035 mv -f confcache "$cache_file" ;;
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13041 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13046 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13047 # Let make expand exec_prefix.
13048 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13050 DEFS=-DHAVE_CONFIG_H
13055 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13056 # 1. Remove the extension, and $U if already installed.
13057 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13058 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13059 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13060 # will be set to the directory where LIBOBJS objects are built.
13061 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13062 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13064 LIBOBJS=$ac_libobjs
13066 LTLIBOBJS=$ac_ltlibobjs
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13070 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13071 if test -n "$am_sleep_pid"; then
13072 # Hide warnings about reused PIDs.
13073 wait $am_sleep_pid 2>/dev/null
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13076 $as_echo "done" >&6; }
13077 if test -n "$EXEEXT"; then
13079 am__EXEEXT_FALSE='#'
13081 am__EXEEXT_TRUE='#'
13085 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13086 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13087 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13089 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
13090 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
13091 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13093 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
13094 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
13095 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13097 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
13098 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
13099 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13101 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
13102 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
13103 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13105 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
13106 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
13107 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13109 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
13110 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
13111 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13113 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
13114 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
13115 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13117 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
13118 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
13119 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13121 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
13122 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
13123 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13125 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
13126 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
13127 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13129 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
13130 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
13131 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13133 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
13134 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
13135 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13137 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
13138 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
13139 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13141 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
13142 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
13143 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13145 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
13146 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
13147 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13149 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
13150 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
13151 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13153 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
13154 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
13155 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13157 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
13158 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
13159 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13161 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
13162 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
13163 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13165 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
13166 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
13167 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13169 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
13170 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
13171 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13173 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
13174 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
13175 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13177 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
13178 as_fn_error $? "conditional \"DEBUG\" was never defined.
13179 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13181 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13182 as_fn_error $? "conditional \"AMDEP\" was never defined.
13183 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13185 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13186 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13187 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13189 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13190 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13191 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13193 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
13194 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
13195 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13198 ac_config_commands="$ac_config_commands po/stamp-it"
13201 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
13202 as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
13203 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13205 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
13206 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
13207 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13209 if test -z "${OS_UNIX_TRUE}" && test -z "${OS_UNIX_FALSE}"; then
13210 as_fn_error $? "conditional \"OS_UNIX\" was never defined.
13211 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13213 if test -z "${MS_LIB_AVAILABLE_TRUE}" && test -z "${MS_LIB_AVAILABLE_FALSE}"; then
13214 as_fn_error $? "conditional \"MS_LIB_AVAILABLE\" was never defined.
13215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13217 if test -z "${HAVE_WINDRES_TRUE}" && test -z "${HAVE_WINDRES_FALSE}"; then
13218 as_fn_error $? "conditional \"HAVE_WINDRES\" was never defined.
13219 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13221 if test -z "${HAVE_LIRC_TRUE}" && test -z "${HAVE_LIRC_FALSE}"; then
13222 as_fn_error $? "conditional \"HAVE_LIRC\" was never defined.
13223 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13225 if test -z "${HAVE_LCMS_TRUE}" && test -z "${HAVE_LCMS_FALSE}"; then
13226 as_fn_error $? "conditional \"HAVE_LCMS\" was never defined.
13227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13229 if test -z "${HAVE_JPEG_TRUE}" && test -z "${HAVE_JPEG_FALSE}"; then
13230 as_fn_error $? "conditional \"HAVE_JPEG\" was never defined.
13231 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13233 if test -z "${HAVE_TIFF_TRUE}" && test -z "${HAVE_TIFF_FALSE}"; then
13234 as_fn_error $? "conditional \"HAVE_TIFF\" was never defined.
13235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13237 if test -z "${HAVE_FFMPEGTHUMBNAILER_TRUE}" && test -z "${HAVE_FFMPEGTHUMBNAILER_FALSE}"; then
13238 as_fn_error $? "conditional \"HAVE_FFMPEGTHUMBNAILER\" was never defined.
13239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13241 if test -z "${HAVE_EXIV2_TRUE}" && test -z "${HAVE_EXIV2_FALSE}"; then
13242 as_fn_error $? "conditional \"HAVE_EXIV2\" was never defined.
13243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13245 if test -z "${HAVE_LIBCHAMPLAIN_GTK_TRUE}" && test -z "${HAVE_LIBCHAMPLAIN_GTK_FALSE}"; then
13246 as_fn_error $? "conditional \"HAVE_LIBCHAMPLAIN_GTK\" was never defined.
13247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13249 if test -z "${HAVE_LUA_TRUE}" && test -z "${HAVE_LUA_FALSE}"; then
13250 as_fn_error $? "conditional \"HAVE_LUA\" was never defined.
13251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13253 if test -z "${HAVE_PDF_TRUE}" && test -z "${HAVE_PDF_FALSE}"; then
13254 as_fn_error $? "conditional \"HAVE_PDF\" was never defined.
13255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13257 if test -z "${HAVE_MARKDOWN_TRUE}" && test -z "${HAVE_MARKDOWN_FALSE}"; then
13258 as_fn_error $? "conditional \"HAVE_MARKDOWN\" was never defined.
13259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13262 : "${CONFIG_STATUS=./config.status}"
13264 ac_clean_files_save=$ac_clean_files
13265 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13267 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13269 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13271 # Generated by $as_me.
13272 # Run this file to recreate the current configuration.
13273 # Compiler output produced by configure, useful for debugging
13274 # configure, is in config.log if it exists.
13277 ac_cs_recheck=false
13280 SHELL=\${CONFIG_SHELL-$SHELL}
13283 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13284 ## -------------------- ##
13285 ## M4sh Initialization. ##
13286 ## -------------------- ##
13288 # Be more Bourne compatible
13289 DUALCASE=1; export DUALCASE # for MKS sh
13290 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13293 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13294 # is contrary to our usage. Disable this feature.
13295 alias -g '${1+"$@"}'='"$@"'
13296 setopt NO_GLOB_SUBST
13298 case `(set -o) 2>/dev/null` in #(
13310 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13311 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13312 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13313 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13314 # Prefer a ksh shell builtin over an external printf program on Solaris,
13315 # but without wasting forks for bash or zsh.
13316 if test -z "$BASH_VERSION$ZSH_VERSION" \
13317 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13318 as_echo='print -r --'
13319 as_echo_n='print -rn --'
13320 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13321 as_echo='printf %s\n'
13322 as_echo_n='printf %s'
13324 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13325 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13326 as_echo_n='/usr/ucb/echo -n'
13328 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13329 as_echo_n_body='eval
13333 expr "X$arg" : "X\\(.*\\)$as_nl";
13334 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13336 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13338 export as_echo_n_body
13339 as_echo_n='sh -c $as_echo_n_body as_echo'
13341 export as_echo_body
13342 as_echo='sh -c $as_echo_body as_echo'
13345 # The user is always right.
13346 if test "${PATH_SEPARATOR+set}" != set; then
13348 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13349 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13356 # We need space, tab and new line, in precisely that order. Quoting is
13357 # there to prevent editors from complaining about space-tab.
13358 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13359 # splitting by setting IFS to empty value.)
13362 # Find who we are. Look in the path if we contain no directory separator.
13365 *[\\/]* ) as_myself=$0 ;;
13366 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13367 for as_dir in $PATH
13370 test -z "$as_dir" && as_dir=.
13371 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13377 # We did not find ourselves, most probably we were run as `sh COMMAND'
13378 # in which case we are not to be found in the path.
13379 if test "x$as_myself" = x; then
13382 if test ! -f "$as_myself"; then
13383 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13387 # Unset variables that we do not need and which cause bugs (e.g. in
13388 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13389 # suppresses any "Segmentation fault" message there. '((' could
13390 # trigger a bug in pdksh 5.2.14.
13391 for as_var in BASH_ENV ENV MAIL MAILPATH
13392 do eval test x\${$as_var+set} = xset \
13393 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13406 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13409 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13410 # ----------------------------------------
13411 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13412 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13413 # script with STATUS, using 1 if that was 0.
13416 as_status=$1; test $as_status -eq 0 && as_status=1
13418 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13419 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13421 $as_echo "$as_me: error: $2" >&2
13422 as_fn_exit $as_status
13426 # as_fn_set_status STATUS
13427 # -----------------------
13428 # Set $? to STATUS, without forking.
13429 as_fn_set_status ()
13432 } # as_fn_set_status
13434 # as_fn_exit STATUS
13435 # -----------------
13436 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13440 as_fn_set_status $1
13446 # Portably unset VAR.
13449 { eval $1=; unset $1;}
13451 as_unset=as_fn_unset
13452 # as_fn_append VAR VALUE
13453 # ----------------------
13454 # Append the text in VALUE to the end of the definition contained in VAR. Take
13455 # advantage of any shell optimizations that allow amortized linear growth over
13456 # repeated appends, instead of the typical quadratic growth present in naive
13458 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13459 eval 'as_fn_append ()
13470 # as_fn_arith ARG...
13471 # ------------------
13472 # Perform arithmetic evaluation on the ARGs, and store the result in the
13473 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13474 # must be portable across $(()) and expr.
13475 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13476 eval 'as_fn_arith ()
13483 as_val=`expr "$@" || test $? -eq 1`
13488 if expr a : '\(a\)' >/dev/null 2>&1 &&
13489 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13495 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13496 as_basename=basename
13501 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13507 as_me=`$as_basename -- "$0" ||
13508 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13509 X"$0" : 'X\(//\)$' \| \
13510 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13512 sed '/^.*\/\([^/][^/]*\)\/*$/{
13526 # Avoid depending upon Character Ranges.
13527 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13528 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13529 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13530 as_cr_digits='0123456789'
13531 as_cr_alnum=$as_cr_Letters$as_cr_digits
13533 ECHO_C= ECHO_N= ECHO_T=
13534 case `echo -n x` in #(((((
13536 case `echo 'xy\c'` in
13537 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13539 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13546 rm -f conf$$ conf$$.exe conf$$.file
13547 if test -d conf$$.dir; then
13548 rm -f conf$$.dir/conf$$.file
13551 mkdir conf$$.dir 2>/dev/null
13553 if (echo >conf$$.file) 2>/dev/null; then
13554 if ln -s conf$$.file conf$$ 2>/dev/null; then
13556 # ... but there are two gotchas:
13557 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13558 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13559 # In both cases, we have to default to `cp -pR'.
13560 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13562 elif ln conf$$.file conf$$ 2>/dev/null; then
13570 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13571 rmdir conf$$.dir 2>/dev/null
13576 # Create "$as_dir" as a directory, including parents if necessary.
13581 -*) as_dir=./$as_dir;;
13583 test -d "$as_dir" || eval $as_mkdir_p || {
13587 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13588 *) as_qdir=$as_dir;;
13590 as_dirs="'$as_qdir' $as_dirs"
13591 as_dir=`$as_dirname -- "$as_dir" ||
13592 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13593 X"$as_dir" : 'X\(//\)[^/]' \| \
13594 X"$as_dir" : 'X\(//\)$' \| \
13595 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13596 $as_echo X"$as_dir" |
13597 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13601 /^X\(\/\/\)[^/].*/{
13614 test -d "$as_dir" && break
13616 test -z "$as_dirs" || eval "mkdir $as_dirs"
13617 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13621 if mkdir -p . 2>/dev/null; then
13622 as_mkdir_p='mkdir -p "$as_dir"'
13624 test -d ./-p && rmdir ./-p
13629 # as_fn_executable_p FILE
13630 # -----------------------
13631 # Test if FILE is an executable regular file.
13632 as_fn_executable_p ()
13634 test -f "$1" && test -x "$1"
13635 } # as_fn_executable_p
13636 as_test_x='test -x'
13637 as_executable_p=as_fn_executable_p
13639 # Sed expression to map a string onto a valid CPP name.
13640 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13642 # Sed expression to map a string onto a valid variable name.
13643 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13647 ## ----------------------------------- ##
13648 ## Main body of $CONFIG_STATUS script. ##
13649 ## ----------------------------------- ##
13651 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13653 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13654 # Save the log message, to keep $0 and so on meaningful, and to
13655 # report actual input values of CONFIG_FILES etc. instead of their
13656 # values after options handling.
13658 This file was extended by geeqie $as_me 1.5, which was
13659 generated by GNU Autoconf 2.69. Invocation command line was
13661 CONFIG_FILES = $CONFIG_FILES
13662 CONFIG_HEADERS = $CONFIG_HEADERS
13663 CONFIG_LINKS = $CONFIG_LINKS
13664 CONFIG_COMMANDS = $CONFIG_COMMANDS
13667 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13672 case $ac_config_files in *"
13673 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13676 case $ac_config_headers in *"
13677 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13681 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13682 # Files that config.status was made for.
13683 config_files="$ac_config_files"
13684 config_headers="$ac_config_headers"
13685 config_commands="$ac_config_commands"
13689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13691 \`$as_me' instantiates files and other configuration actions
13692 from templates according to the current configuration. Unless the files
13693 and actions are specified as TAGs, all are instantiated by default.
13695 Usage: $0 [OPTION]... [TAG]...
13697 -h, --help print this help, then exit
13698 -V, --version print version number and configuration settings, then exit
13699 --config print configuration, then exit
13700 -q, --quiet, --silent
13701 do not print progress messages
13702 -d, --debug don't remove temporary files
13703 --recheck update $as_me by reconfiguring in the same conditions
13704 --file=FILE[:TEMPLATE]
13705 instantiate the configuration file FILE
13706 --header=FILE[:TEMPLATE]
13707 instantiate the configuration header FILE
13709 Configuration files:
13712 Configuration headers:
13715 Configuration commands:
13718 Report bugs to <https://github.com/BestImageViewer/geeqie/issues>.
13719 geeqie home page: <http://www.geeqie.org/>."
13722 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13723 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13725 geeqie config.status 1.5
13726 configured by $0, generated by GNU Autoconf 2.69,
13727 with options \\"\$ac_cs_config\\"
13729 Copyright (C) 2012 Free Software Foundation, Inc.
13730 This config.status script is free software; the Free Software Foundation
13731 gives unlimited permission to copy, distribute and modify it."
13738 test -n "\$AWK" || AWK=awk
13741 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13742 # The default lists apply if the user does not specify any file.
13748 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13749 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13753 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13765 # Handling of the options.
13766 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13768 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13769 $as_echo "$ac_cs_version"; exit ;;
13770 --config | --confi | --conf | --con | --co | --c )
13771 $as_echo "$ac_cs_config"; exit ;;
13772 --debug | --debu | --deb | --de | --d | -d )
13774 --file | --fil | --fi | --f )
13777 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13778 '') as_fn_error $? "missing file argument" ;;
13780 as_fn_append CONFIG_FILES " '$ac_optarg'"
13781 ac_need_defaults=false;;
13782 --header | --heade | --head | --hea )
13785 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13787 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13788 ac_need_defaults=false;;
13790 # Conflict between --help and --header
13791 as_fn_error $? "ambiguous option: \`$1'
13792 Try \`$0 --help' for more information.";;
13793 --help | --hel | -h )
13794 $as_echo "$ac_cs_usage"; exit ;;
13795 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13796 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13799 # This is an error.
13800 -*) as_fn_error $? "unrecognized option: \`$1'
13801 Try \`$0 --help' for more information." ;;
13803 *) as_fn_append ac_config_targets " $1"
13804 ac_need_defaults=false ;;
13810 ac_configure_extra_args=
13812 if $ac_cs_silent; then
13814 ac_configure_extra_args="$ac_configure_extra_args --silent"
13818 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13819 if \$ac_cs_recheck; then
13820 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13822 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13823 CONFIG_SHELL='$SHELL'
13824 export CONFIG_SHELL
13829 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13833 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13834 ## Running $as_me. ##
13840 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13844 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
13849 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13851 # Handling of arguments.
13852 for ac_config_target in $ac_config_targets
13854 case $ac_config_target in
13855 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13856 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13857 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
13858 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13859 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13860 "src/icons/Makefile") CONFIG_FILES="$CONFIG_FILES src/icons/Makefile" ;;
13861 "src/icons/svg/Makefile") CONFIG_FILES="$CONFIG_FILES src/icons/svg/Makefile" ;;
13862 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
13863 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13864 "plugins/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;;
13865 "plugins/symlink/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/symlink/Makefile" ;;
13866 "plugins/rotate/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/rotate/Makefile" ;;
13867 "plugins/ufraw/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/ufraw/Makefile" ;;
13868 "plugins/geocode-parameters/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/geocode-parameters/Makefile" ;;
13869 "plugins/export-jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/export-jpeg/Makefile" ;;
13870 "plugins/tethered-photography/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/tethered-photography/Makefile" ;;
13871 "plugins/camera-import/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/camera-import/Makefile" ;;
13872 "plugins/image-crop/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/image-crop/Makefile" ;;
13873 "plugins/random-image/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/random-image/Makefile" ;;
13874 "geeqie.spec") CONFIG_FILES="$CONFIG_FILES geeqie.spec" ;;
13875 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
13877 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13882 # If the user did not use the arguments to specify the items to instantiate,
13883 # then the envvar interface is used. Set only those that are not.
13884 # We use the long form for the default assignment because of an extremely
13885 # bizarre bug on SunOS 4.1.3.
13886 if $ac_need_defaults; then
13887 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13888 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13889 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13892 # Have a temporary directory for convenience. Make it in the build tree
13893 # simply because there is no reason against having it here, and in addition,
13894 # creating and moving files from /tmp can sometimes cause problems.
13895 # Hook for its removal unless debugging.
13896 # Note that there is a small window in which the directory will not be cleaned:
13897 # after its creation but before its name has been assigned to `$tmp'.
13901 trap 'exit_status=$?
13902 : "${ac_tmp:=$tmp}"
13903 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13905 trap 'as_fn_exit 1' 1 2 13 15
13907 # Create a (secure) tmp directory for tmp files.
13910 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13914 tmp=./conf$$-$RANDOM
13915 (umask 077 && mkdir "$tmp")
13916 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13919 # Set up the scripts for CONFIG_FILES section.
13920 # No need to generate them if there are no CONFIG_FILES.
13921 # This happens for instance with `./config.status config.h'.
13922 if test -n "$CONFIG_FILES"; then
13925 ac_cr=`echo X | tr X '\015'`
13926 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13927 # But we know of no other shell where ac_cr would be empty at this
13928 # point, so we can use a bashism as a fallback.
13929 if test "x$ac_cr" = x; then
13930 eval ac_cr=\$\'\\r\'
13932 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13933 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13936 ac_cs_awk_cr=$ac_cr
13939 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13944 echo "cat >conf$$subs.awk <<_ACEOF" &&
13945 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13947 } >conf$$subs.sh ||
13948 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13949 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13951 for ac_last_try in false false false false false :; do
13952 . ./conf$$subs.sh ||
13953 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13955 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13956 if test $ac_delim_n = $ac_delim_num; then
13958 elif $ac_last_try; then
13959 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13961 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13964 rm -f conf$$subs.sh
13966 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13967 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13971 s/^/S["/; s/!.*/"]=/
13981 s/\(.\{148\}\)..*/\1/
13983 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13988 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13995 s/\(.\{148\}\)..*/\1/
13997 s/["\\]/\\&/g; s/^/"/; s/$/"/
14001 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14006 ' <conf$$subs.awk | sed '
14011 ' >>$CONFIG_STATUS || ac_write_fail=1
14012 rm -f conf$$subs.awk
14013 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14015 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14016 for (key in S) S_is_set[key] = 1
14022 nfields = split(line, field, "@")
14024 len = length(field[1])
14025 for (i = 2; i < nfields; i++) {
14027 keylen = length(key)
14028 if (S_is_set[key]) {
14030 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14031 len += length(value) + length(field[++i])
14042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14043 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14044 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14047 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14048 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14051 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14052 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14053 # trailing colons and then remove the whole line if VPATH becomes empty
14054 # (actually we leave an empty line to preserve line numbers).
14055 if test "x$srcdir" = x.; then
14056 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14075 fi # test -n "$CONFIG_FILES"
14077 # Set up the scripts for CONFIG_HEADERS section.
14078 # No need to generate them if there are no CONFIG_HEADERS.
14079 # This happens for instance with `./config.status Makefile'.
14080 if test -n "$CONFIG_HEADERS"; then
14081 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14085 # Transform confdefs.h into an awk script `defines.awk', embedded as
14086 # here-document in config.status, that substitutes the proper values into
14087 # config.h.in to produce config.h.
14089 # Create a delimiter string that does not exist in confdefs.h, to ease
14090 # handling of long lines.
14092 for ac_last_try in false false :; do
14093 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14094 if test -z "$ac_tt"; then
14096 elif $ac_last_try; then
14097 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14099 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14103 # For the awk script, D is an array of macro values keyed by name,
14104 # likewise P contains macro parameters if any. Preserve backslash
14105 # newline sequences.
14107 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14109 s/.\{148\}/&'"$ac_delim"'/g
14112 s/^[ ]*#[ ]*define[ ][ ]*/ /
14119 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14121 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14125 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14126 D["\1"]=" \3\\\\\\n"\\/p
14128 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14133 s/.\{148\}/&'"$ac_delim"'/g
14138 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14141 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14143 ' <confdefs.h | sed '
14144 s/'"$ac_delim"'/"\\\
14145 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14148 for (key in D) D_is_set[key] = 1
14151 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14153 split(line, arg, " ")
14154 if (arg[1] == "#") {
14158 defundef = substr(arg[1], 2)
14161 split(mac1, mac2, "(") #)
14163 prefix = substr(line, 1, index(line, defundef) - 1)
14164 if (D_is_set[macro]) {
14165 # Preserve the white space surrounding the "#".
14166 print prefix "define", macro P[macro] D[macro]
14169 # Replace #undef with comments. This is necessary, for example,
14170 # in the case of _POSIX_SOURCE, which is predefined and required
14171 # on some systems where configure will not decide to define it.
14172 if (defundef == "undef") {
14173 print "/*", prefix defundef, macro, "*/"
14181 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14182 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14183 fi # test -n "$CONFIG_HEADERS"
14186 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14191 :[FHLC]) ac_mode=$ac_tag; continue;;
14193 case $ac_mode$ac_tag in
14195 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14196 :[FH]-) ac_tag=-:-;;
14197 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14214 -) ac_f="$ac_tmp/stdin";;
14215 *) # Look for the file first in the build tree, then in the source tree
14216 # (if the path is not absolute). The absolute path cannot be DOS-style,
14217 # because $ac_f cannot contain `:'.
14221 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14223 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14225 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14226 as_fn_append ac_file_inputs " '$ac_f'"
14229 # Let's still pretend it is `configure' which instantiates (i.e., don't
14230 # use $as_me), people would be surprised to read:
14231 # /* config.h. Generated by config.status. */
14232 configure_input='Generated from '`
14233 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14235 if test x"$ac_file" != x-; then
14236 configure_input="$ac_file. $configure_input"
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14238 $as_echo "$as_me: creating $ac_file" >&6;}
14240 # Neutralize special characters interpreted by sed in replacement strings.
14241 case $configure_input in #(
14242 *\&* | *\|* | *\\* )
14243 ac_sed_conf_input=`$as_echo "$configure_input" |
14244 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14245 *) ac_sed_conf_input=$configure_input;;
14249 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14250 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14255 ac_dir=`$as_dirname -- "$ac_file" ||
14256 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14257 X"$ac_file" : 'X\(//\)[^/]' \| \
14258 X"$ac_file" : 'X\(//\)$' \| \
14259 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14260 $as_echo X"$ac_file" |
14261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14265 /^X\(\/\/\)[^/].*/{
14278 as_dir="$ac_dir"; as_fn_mkdir_p
14282 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14284 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14285 # A ".." for each directory in $ac_dir_suffix.
14286 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14287 case $ac_top_builddir_sub in
14288 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14289 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14292 ac_abs_top_builddir=$ac_pwd
14293 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14294 # for backward compatibility:
14295 ac_top_builddir=$ac_top_build_prefix
14298 .) # We are building in place.
14300 ac_top_srcdir=$ac_top_builddir_sub
14301 ac_abs_top_srcdir=$ac_pwd ;;
14302 [\\/]* | ?:[\\/]* ) # Absolute name.
14303 ac_srcdir=$srcdir$ac_dir_suffix;
14304 ac_top_srcdir=$srcdir
14305 ac_abs_top_srcdir=$srcdir ;;
14306 *) # Relative name.
14307 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14308 ac_top_srcdir=$ac_top_build_prefix$srcdir
14309 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14311 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14321 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14322 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14324 ac_MKDIR_P=$MKDIR_P
14326 [\\/$]* | ?:[\\/]* ) ;;
14327 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14332 # If the template does not know about datarootdir, expand it.
14333 # FIXME: This hack should be removed a few years after 2.60.
14334 ac_datarootdir_hack=; ac_datarootdir_seen=
14345 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14346 *datarootdir*) ac_datarootdir_seen=yes;;
14347 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14349 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14351 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14352 ac_datarootdir_hack='
14353 s&@datadir@&$datadir&g
14354 s&@docdir@&$docdir&g
14355 s&@infodir@&$infodir&g
14356 s&@localedir@&$localedir&g
14357 s&@mandir@&$mandir&g
14358 s&\\\${datarootdir}&$datarootdir&g' ;;
14362 # Neutralize VPATH when `$srcdir' = `.'.
14363 # Shell code in configure.ac might set extrasub.
14364 # FIXME: do we really want to maintain this feature?
14365 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14366 ac_sed_extra="$ac_vpsub
14369 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14371 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14372 s|@configure_input@|$ac_sed_conf_input|;t t
14373 s&@top_builddir@&$ac_top_builddir_sub&;t t
14374 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14375 s&@srcdir@&$ac_srcdir&;t t
14376 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14377 s&@top_srcdir@&$ac_top_srcdir&;t t
14378 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14379 s&@builddir@&$ac_builddir&;t t
14380 s&@abs_builddir@&$ac_abs_builddir&;t t
14381 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14382 s&@INSTALL@&$ac_INSTALL&;t t
14383 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14384 $ac_datarootdir_hack
14386 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14387 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14389 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14390 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14391 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14392 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14394 which seems to be undefined. Please make sure it is defined" >&5
14395 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14396 which seems to be undefined. Please make sure it is defined" >&2;}
14398 rm -f "$ac_tmp/stdin"
14400 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14401 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14403 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14409 if test x"$ac_file" != x-; then
14411 $as_echo "/* $configure_input */" \
14412 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14413 } >"$ac_tmp/config.h" \
14414 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14415 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14417 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14420 mv "$ac_tmp/config.h" "$ac_file" \
14421 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14424 $as_echo "/* $configure_input */" \
14425 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14426 || as_fn_error $? "could not create -" "$LINENO" 5
14428 # Compute "$ac_file"'s index in $config_headers.
14431 for _am_header in $config_headers :; do
14432 case $_am_header in
14433 $_am_arg | $_am_arg:* )
14436 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14439 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14440 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14441 X"$_am_arg" : 'X\(//\)[^/]' \| \
14442 X"$_am_arg" : 'X\(//\)$' \| \
14443 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14444 $as_echo X"$_am_arg" |
14445 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14449 /^X\(\/\/\)[^/].*/{
14461 s/.*/./; q'`/stamp-h$_am_stamp_count
14464 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14465 $as_echo "$as_me: executing $ac_file commands" >&6;}
14470 case $ac_file$ac_mode in
14471 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14472 # Older Autoconf quotes --file arguments for eval, but not when files
14473 # are listed without --file. Let's play safe and only enable the eval
14474 # if we detect the quoting.
14475 # TODO: see whether this extra hack can be removed once we start
14476 # requiring Autoconf 2.70 or later.
14477 case $CONFIG_FILES in #(
14479 eval set x "$CONFIG_FILES" ;; #(
14481 set x $CONFIG_FILES ;; #(
14486 # Used to flag and report bootstrapping failures.
14490 # Strip MF so we end up with the name of the file.
14491 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
14492 # Check whether this is an Automake generated Makefile which includes
14493 # dependency-tracking related rules and includes.
14494 # Grep'ing the whole file directly is not great: AIX grep has a line
14495 # limit of 2048, but all sed's we know have understand at least 4000.
14496 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
14498 am_dirpart=`$as_dirname -- "$am_mf" ||
14499 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14500 X"$am_mf" : 'X\(//\)[^/]' \| \
14501 X"$am_mf" : 'X\(//\)$' \| \
14502 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
14503 $as_echo X"$am_mf" |
14504 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14508 /^X\(\/\/\)[^/].*/{
14521 am_filepart=`$as_basename -- "$am_mf" ||
14522 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
14523 X"$am_mf" : 'X\(//\)$' \| \
14524 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
14525 $as_echo X/"$am_mf" |
14526 sed '/^.*\/\([^/][^/]*\)\/*$/{
14539 { echo "$as_me:$LINENO: cd "$am_dirpart" \
14540 && sed -e '/# am--include-marker/d' "$am_filepart" \
14541 | $MAKE -f - am--depfiles" >&5
14542 (cd "$am_dirpart" \
14543 && sed -e '/# am--include-marker/d' "$am_filepart" \
14544 | $MAKE -f - am--depfiles) >&5 2>&5
14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547 (exit $ac_status); } || am_rc=$?
14549 if test $am_rc -ne 0; then
14550 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14551 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14552 as_fn_error $? "Something went wrong bootstrapping makefile fragments
14553 for automatic dependency tracking. Try re-running configure with the
14554 '--disable-dependency-tracking' option to at least be able to build
14555 the package (albeit without support for automatic dependency tracking).
14556 See \`config.log' for more details" "$LINENO" 5; }
14558 { am_dirpart=; unset am_dirpart;}
14559 { am_filepart=; unset am_filepart;}
14560 { am_mf=; unset am_mf;}
14561 { am_rc=; unset am_rc;}
14562 rm -f conftest-deps.mk
14565 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
14566 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
14569 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
14570 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
14572 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
14577 '"s|^| $ac_top_srcdir/|" \
14578 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
14580 sed '/^POTFILES =/,/[^\\]$/ {
14584 ' "po/Makefile.in" >"po/Makefile"
14585 rm -f "po/Makefile.tmp"
14586 mv "po/stamp-it.tmp" "po/stamp-it"
14595 ac_clean_files=$ac_clean_files_save
14597 test $ac_write_fail = 0 ||
14598 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14601 # configure is writing to config.log, and then calls config.status.
14602 # config.status does its own redirection, appending to config.log.
14603 # Unfortunately, on DOS this fails, as config.log is still kept open
14604 # by configure, so config.status won't be able to write to it; its
14605 # output is simply discarded. So we exec the FD to /dev/null,
14606 # effectively closing config.log, so it can be properly (re)opened and
14607 # appended to by config.status. When coming back to configure, we
14608 # need to make the FD available again.
14609 if test "$no_create" != yes; then
14611 ac_config_status_args=
14612 test "$silent" = yes &&
14613 ac_config_status_args="$ac_config_status_args --quiet"
14615 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14617 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14618 # would make configure fail if this is the last instruction.
14619 $ac_cs_success || as_fn_exit 1
14621 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14623 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14627 cat > config.report << END
14633 Name: $PACKAGE_NAME
14634 Version: $PACKAGE_VERSION
14638 Win32: $platform_win32 (native: $os_win32)
14643 CPPFLAGS: $__CPPFLAGS
14645 CXXFLAGS: $CXXFLAGS
14648 Thread: $GTHREAD_LIBS
14649 Others: $JPEG_LIBS $TIFF_LIBS $LCMS_LIBS $EXIV2_LIBS $CLUTTER_LIBS $CLUTTER_GTK_LIBS $LIBCHAMPLAIN_LIBS $LIBCHAMPLAIN_GTK_LIBS $LUA_LIBS
14652 NLS support: $USE_NLS
14656 Developer: $__IS_DEVELOPER
14657 Debug flags: $__IS_DEBUG_FLAGS
14658 Debug log: $__IS_DEBUG_LOG
14659 Deprecated: $__IS_DEPRECATED
14665 Clutter: $HAVE_CLUTTER
14666 Libchamplain: $HAVE_LIBCHAMPLAIN
14667 Libchamplain-gtk: $HAVE_LIBCHAMPLAIN_GTK
14669 FFmpegthumbnailer: $HAVE_FFMPEGTHUMBNAILER
14673 Doxygen: $DX_DOXYGEN
14674 doc-tool: $GNOME_DOC_TOOL
14681 Now you can type "make" to build Geeqie
14682 (or you take blue pill and the story ends :)