2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for shared-mime-info 1.5.
5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=shared-mime-info>.
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://bugs.freedesktop.org/enter_bug.cgi?product=shared-mime-info
271 $0: about your system, including any error possibly output
272 $0: before this message. Then install a modern shell, or
273 $0: manually run the script under such a shell if you do
280 SHELL=${CONFIG_SHELL-/bin/sh}
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
291 # Portably unset VAR.
294 { eval $1=; unset $1;}
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318 # Create "$as_dir" as a directory, including parents if necessary.
323 -*) as_dir=./$as_dir;;
325 test -d "$as_dir" || eval $as_mkdir_p || {
329 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
332 as_dirs="'$as_qdir' $as_dirs"
333 as_dir=`$as_dirname -- "$as_dir" ||
334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
335 X"$as_dir" : 'X\(//\)[^/]' \| \
336 X"$as_dir" : 'X\(//\)$' \| \
337 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
338 $as_echo X"$as_dir" |
339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
356 test -d "$as_dir" && break
358 test -z "$as_dirs" || eval "mkdir $as_dirs"
359 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364 # as_fn_executable_p FILE
365 # -----------------------
366 # Test if FILE is an executable regular file.
367 as_fn_executable_p ()
369 test -f "$1" && test -x "$1"
370 } # as_fn_executable_p
371 # as_fn_append VAR VALUE
372 # ----------------------
373 # Append the text in VALUE to the end of the definition contained in VAR. Take
374 # advantage of any shell optimizations that allow amortized linear growth over
375 # repeated appends, instead of the typical quadratic growth present in naive
377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
378 eval 'as_fn_append ()
391 # Perform arithmetic evaluation on the ARGs, and store the result in the
392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
393 # must be portable across $(()) and expr.
394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402 as_val=`expr "$@" || test $? -eq 1`
407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
408 # ----------------------------------------
409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
411 # script with STATUS, using 1 if that was 0.
414 as_status=$1; test $as_status -eq 0 && as_status=1
416 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
417 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
419 $as_echo "$as_me: error: $2" >&2
420 as_fn_exit $as_status
423 if expr a : '\(a\)' >/dev/null 2>&1 &&
424 test "X`expr 00001 : '.*\(...\)'`" = X001; then
430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
442 as_me=`$as_basename -- "$0" ||
443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
444 X"$0" : 'X\(//\)$' \| \
445 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
447 sed '/^.*\/\([^/][^/]*\)\/*$/{
461 # Avoid depending upon Character Ranges.
462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
465 as_cr_digits='0123456789'
466 as_cr_alnum=$as_cr_Letters$as_cr_digits
469 as_lineno_1=$LINENO as_lineno_1a=$LINENO
470 as_lineno_2=$LINENO as_lineno_2a=$LINENO
471 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
472 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
473 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
485 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
489 chmod +x "$as_me.lineno" ||
490 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
492 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
493 # already done that, so ensure we don't try to do so again and fall
494 # in an infinite loop. This has already happened in practice.
495 _as_can_reexec=no; export _as_can_reexec
496 # Don't try to exec as it changes $[0], causing all sort of problems
497 # (the dirname of $[0] is not the place where we might find the
498 # original and so on. Autoconf is especially sensitive to this).
500 # Exit status is that of the last command.
504 ECHO_C= ECHO_N= ECHO_T=
505 case `echo -n x` in #(((((
507 case `echo 'xy\c'` in
508 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
510 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
517 rm -f conf$$ conf$$.exe conf$$.file
518 if test -d conf$$.dir; then
519 rm -f conf$$.dir/conf$$.file
522 mkdir conf$$.dir 2>/dev/null
524 if (echo >conf$$.file) 2>/dev/null; then
525 if ln -s conf$$.file conf$$ 2>/dev/null; then
527 # ... but there are two gotchas:
528 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
529 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
530 # In both cases, we have to default to `cp -pR'.
531 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
533 elif ln conf$$.file conf$$ 2>/dev/null; then
541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
542 rmdir conf$$.dir 2>/dev/null
544 if mkdir -p . 2>/dev/null; then
545 as_mkdir_p='mkdir -p "$as_dir"'
547 test -d ./-p && rmdir ./-p
552 as_executable_p=as_fn_executable_p
554 # Sed expression to map a string onto a valid CPP name.
555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
557 # Sed expression to map a string onto a valid variable name.
558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
561 test -n "$DJDIR" || exec 7<&0 </dev/null
565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
566 # so uname gets run too.
567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
572 ac_default_prefix=/usr/local
574 ac_config_libobj_dir=.
581 # Identity of this package.
582 PACKAGE_NAME='shared-mime-info'
583 PACKAGE_TARNAME='shared-mime-info'
584 PACKAGE_VERSION='1.5'
585 PACKAGE_STRING='shared-mime-info 1.5'
586 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=shared-mime-info'
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
630 ENABLE_UPDATE_MIMEDB_FALSE
631 ENABLE_UPDATE_MIMEDB_TRUE
633 ENABLE_DEFAULT_MAKE_CHECK_FALSE
634 ENABLE_DEFAULT_MAKE_CHECK_TRUE
644 CROSS_COMPILING_FALSE
669 INTLTOOL_SERVICE_RULE
671 INTLTOOL_SCHEMAS_RULE
673 INTLTOOL_XML_NOMERGE_RULE
678 INTLTOOL_SOUNDLIST_RULE
685 INTLTOOL_DIRECTORY_RULE
686 INTLTOOL_DESKTOP_RULE
687 intltool__v_merge_options_0
688 intltool__v_merge_options_
689 INTLTOOL_V_MERGE_OPTIONS
726 INSTALL_STRIP_PROGRAM
768 program_transform_name
781 enable_option_checking
783 enable_dependency_tracking
785 enable_default_make_check
788 ac_precious_vars='build_alias
806 # Initialize some variables set by options.
808 ac_init_version=false
809 ac_unrecognized_opts=
811 # The variables have the same names as the options, with
812 # dashes changed to underlines.
820 program_transform_name=s,x,x,
828 # Installation directory options.
829 # These are left unexpanded so users can "make install exec_prefix=/foo"
830 # and all the variables that are supposed to be based on exec_prefix
831 # by default will actually change.
832 # Use braces instead of parens because sh, perl, etc. also accept them.
833 # (The list follows the same order as the GNU Coding Standards.)
834 bindir='${exec_prefix}/bin'
835 sbindir='${exec_prefix}/sbin'
836 libexecdir='${exec_prefix}/libexec'
837 datarootdir='${prefix}/share'
838 datadir='${datarootdir}'
839 sysconfdir='${prefix}/etc'
840 sharedstatedir='${prefix}/com'
841 localstatedir='${prefix}/var'
842 includedir='${prefix}/include'
843 oldincludedir='/usr/include'
844 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
845 infodir='${datarootdir}/info'
850 libdir='${exec_prefix}/lib'
851 localedir='${datarootdir}/locale'
852 mandir='${datarootdir}/man'
858 # If the previous option needs an argument, assign it.
859 if test -n "$ac_prev"; then
860 eval $ac_prev=\$ac_option
866 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
871 # Accept the important Cygnus configure options, so we can diagnose typos.
873 case $ac_dashdash$ac_option in
877 -bindir | --bindir | --bindi | --bind | --bin | --bi)
879 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
882 -build | --build | --buil | --bui | --bu)
883 ac_prev=build_alias ;;
884 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
885 build_alias=$ac_optarg ;;
887 -cache-file | --cache-file | --cache-fil | --cache-fi \
888 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
889 ac_prev=cache_file ;;
890 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
891 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
892 cache_file=$ac_optarg ;;
895 cache_file=config.cache ;;
897 -datadir | --datadir | --datadi | --datad)
899 -datadir=* | --datadir=* | --datadi=* | --datad=*)
900 datadir=$ac_optarg ;;
902 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
903 | --dataroo | --dataro | --datar)
904 ac_prev=datarootdir ;;
905 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
906 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
907 datarootdir=$ac_optarg ;;
909 -disable-* | --disable-*)
910 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
911 # Reject names that are not valid shell variable names.
912 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
913 as_fn_error $? "invalid feature name: $ac_useropt"
914 ac_useropt_orig=$ac_useropt
915 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
916 case $ac_user_opts in
920 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
921 ac_unrecognized_sep=', ';;
923 eval enable_$ac_useropt=no ;;
925 -docdir | --docdir | --docdi | --doc | --do)
927 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
930 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
932 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
935 -enable-* | --enable-*)
936 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
937 # Reject names that are not valid shell variable names.
938 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
939 as_fn_error $? "invalid feature name: $ac_useropt"
940 ac_useropt_orig=$ac_useropt
941 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
942 case $ac_user_opts in
946 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
947 ac_unrecognized_sep=', ';;
949 eval enable_$ac_useropt=\$ac_optarg ;;
951 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
952 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
953 | --exec | --exe | --ex)
954 ac_prev=exec_prefix ;;
955 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
956 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
957 | --exec=* | --exe=* | --ex=*)
958 exec_prefix=$ac_optarg ;;
960 -gas | --gas | --ga | --g)
961 # Obsolete; use --with-gas.
964 -help | --help | --hel | --he | -h)
966 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
967 ac_init_help=recursive ;;
968 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
969 ac_init_help=short ;;
971 -host | --host | --hos | --ho)
972 ac_prev=host_alias ;;
973 -host=* | --host=* | --hos=* | --ho=*)
974 host_alias=$ac_optarg ;;
976 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
978 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
980 htmldir=$ac_optarg ;;
982 -includedir | --includedir | --includedi | --included | --include \
983 | --includ | --inclu | --incl | --inc)
984 ac_prev=includedir ;;
985 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
986 | --includ=* | --inclu=* | --incl=* | --inc=*)
987 includedir=$ac_optarg ;;
989 -infodir | --infodir | --infodi | --infod | --info | --inf)
991 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
992 infodir=$ac_optarg ;;
994 -libdir | --libdir | --libdi | --libd)
996 -libdir=* | --libdir=* | --libdi=* | --libd=*)
999 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1000 | --libexe | --libex | --libe)
1001 ac_prev=libexecdir ;;
1002 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1003 | --libexe=* | --libex=* | --libe=*)
1004 libexecdir=$ac_optarg ;;
1006 -localedir | --localedir | --localedi | --localed | --locale)
1007 ac_prev=localedir ;;
1008 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1009 localedir=$ac_optarg ;;
1011 -localstatedir | --localstatedir | --localstatedi | --localstated \
1012 | --localstate | --localstat | --localsta | --localst | --locals)
1013 ac_prev=localstatedir ;;
1014 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1015 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1016 localstatedir=$ac_optarg ;;
1018 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1020 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1021 mandir=$ac_optarg ;;
1023 -nfp | --nfp | --nf)
1024 # Obsolete; use --without-fp.
1027 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1028 | --no-cr | --no-c | -n)
1031 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1032 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1035 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1036 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1037 | --oldin | --oldi | --old | --ol | --o)
1038 ac_prev=oldincludedir ;;
1039 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1040 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1041 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1042 oldincludedir=$ac_optarg ;;
1044 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1046 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1047 prefix=$ac_optarg ;;
1049 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1050 | --program-pre | --program-pr | --program-p)
1051 ac_prev=program_prefix ;;
1052 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1053 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1054 program_prefix=$ac_optarg ;;
1056 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1057 | --program-suf | --program-su | --program-s)
1058 ac_prev=program_suffix ;;
1059 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1060 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1061 program_suffix=$ac_optarg ;;
1063 -program-transform-name | --program-transform-name \
1064 | --program-transform-nam | --program-transform-na \
1065 | --program-transform-n | --program-transform- \
1066 | --program-transform | --program-transfor \
1067 | --program-transfo | --program-transf \
1068 | --program-trans | --program-tran \
1069 | --progr-tra | --program-tr | --program-t)
1070 ac_prev=program_transform_name ;;
1071 -program-transform-name=* | --program-transform-name=* \
1072 | --program-transform-nam=* | --program-transform-na=* \
1073 | --program-transform-n=* | --program-transform-=* \
1074 | --program-transform=* | --program-transfor=* \
1075 | --program-transfo=* | --program-transf=* \
1076 | --program-trans=* | --program-tran=* \
1077 | --progr-tra=* | --program-tr=* | --program-t=*)
1078 program_transform_name=$ac_optarg ;;
1080 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1082 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1083 pdfdir=$ac_optarg ;;
1085 -psdir | --psdir | --psdi | --psd | --ps)
1087 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1090 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1091 | -silent | --silent | --silen | --sile | --sil)
1094 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1096 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1098 sbindir=$ac_optarg ;;
1100 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1101 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1102 | --sharedst | --shareds | --shared | --share | --shar \
1104 ac_prev=sharedstatedir ;;
1105 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1106 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1107 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1109 sharedstatedir=$ac_optarg ;;
1111 -site | --site | --sit)
1113 -site=* | --site=* | --sit=*)
1116 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1118 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1119 srcdir=$ac_optarg ;;
1121 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1122 | --syscon | --sysco | --sysc | --sys | --sy)
1123 ac_prev=sysconfdir ;;
1124 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1125 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1126 sysconfdir=$ac_optarg ;;
1128 -target | --target | --targe | --targ | --tar | --ta | --t)
1129 ac_prev=target_alias ;;
1130 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1131 target_alias=$ac_optarg ;;
1133 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1136 -version | --version | --versio | --versi | --vers | -V)
1137 ac_init_version=: ;;
1140 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1141 # Reject names that are not valid shell variable names.
1142 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1143 as_fn_error $? "invalid package name: $ac_useropt"
1144 ac_useropt_orig=$ac_useropt
1145 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1146 case $ac_user_opts in
1150 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1151 ac_unrecognized_sep=', ';;
1153 eval with_$ac_useropt=\$ac_optarg ;;
1155 -without-* | --without-*)
1156 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1159 as_fn_error $? "invalid package name: $ac_useropt"
1160 ac_useropt_orig=$ac_useropt
1161 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1162 case $ac_user_opts in
1166 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1167 ac_unrecognized_sep=', ';;
1169 eval with_$ac_useropt=no ;;
1172 # Obsolete; use --with-x.
1175 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1176 | --x-incl | --x-inc | --x-in | --x-i)
1177 ac_prev=x_includes ;;
1178 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1179 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1180 x_includes=$ac_optarg ;;
1182 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1183 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1184 ac_prev=x_libraries ;;
1185 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1186 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1187 x_libraries=$ac_optarg ;;
1189 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1190 Try \`$0 --help' for more information"
1194 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1195 # Reject names that are not valid shell variable names.
1196 case $ac_envvar in #(
1197 '' | [0-9]* | *[!_$as_cr_alnum]* )
1198 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1200 eval $ac_envvar=\$ac_optarg
1201 export $ac_envvar ;;
1204 # FIXME: should be removed in autoconf 3.0.
1205 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1206 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1207 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1208 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1214 if test -n "$ac_prev"; then
1215 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1216 as_fn_error $? "missing argument to $ac_option"
1219 if test -n "$ac_unrecognized_opts"; then
1220 case $enable_option_checking in
1222 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1223 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1227 # Check all directory arguments for consistency.
1228 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1229 datadir sysconfdir sharedstatedir localstatedir includedir \
1230 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1231 libdir localedir mandir
1233 eval ac_val=\$$ac_var
1234 # Remove trailing slashes.
1237 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1238 eval $ac_var=\$ac_val;;
1240 # Be sure to have absolute directory names.
1242 [\\/$]* | ?:[\\/]* ) continue;;
1243 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1245 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1248 # There might be people who depend on the old broken behavior: `$host'
1249 # used to hold the argument of --host etc.
1250 # FIXME: To remove some day.
1253 target=$target_alias
1255 # FIXME: To remove some day.
1256 if test "x$host_alias" != x; then
1257 if test "x$build_alias" = x; then
1258 cross_compiling=maybe
1259 elif test "x$build_alias" != "x$host_alias"; then
1265 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1267 test "$silent" = yes && exec 6>/dev/null
1270 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1271 ac_ls_di=`ls -di .` &&
1272 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1273 as_fn_error $? "working directory cannot be determined"
1274 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1275 as_fn_error $? "pwd does not report name of working directory"
1278 # Find the source files, if location was not specified.
1279 if test -z "$srcdir"; then
1280 ac_srcdir_defaulted=yes
1281 # Try the directory containing this script, then the parent directory.
1282 ac_confdir=`$as_dirname -- "$as_myself" ||
1283 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1284 X"$as_myself" : 'X\(//\)[^/]' \| \
1285 X"$as_myself" : 'X\(//\)$' \| \
1286 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1287 $as_echo X"$as_myself" |
1288 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1306 if test ! -r "$srcdir/$ac_unique_file"; then
1310 ac_srcdir_defaulted=no
1312 if test ! -r "$srcdir/$ac_unique_file"; then
1313 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1314 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1316 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1318 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1320 # When building in place, set srcdir=.
1321 if test "$ac_abs_confdir" = "$ac_pwd"; then
1324 # Remove unnecessary trailing slashes from srcdir.
1325 # Double slashes in file names in object file debugging info
1326 # mess up M-x gdb in Emacs.
1328 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1330 for ac_var in $ac_precious_vars; do
1331 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1332 eval ac_env_${ac_var}_value=\$${ac_var}
1333 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1334 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1338 # Report the --help message.
1340 if test "$ac_init_help" = "long"; then
1341 # Omit some internal or obsolete options to make the list less imposing.
1342 # This message is too long to be a string in the A/UX 3.1 sh.
1344 \`configure' configures shared-mime-info 1.5 to adapt to many kinds of systems.
1346 Usage: $0 [OPTION]... [VAR=VALUE]...
1348 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1349 VAR=VALUE. See below for descriptions of some of the useful variables.
1351 Defaults for the options are specified in brackets.
1354 -h, --help display this help and exit
1355 --help=short display options specific to this package
1356 --help=recursive display the short help of all the included packages
1357 -V, --version display version information and exit
1358 -q, --quiet, --silent do not print \`checking ...' messages
1359 --cache-file=FILE cache test results in FILE [disabled]
1360 -C, --config-cache alias for \`--cache-file=config.cache'
1361 -n, --no-create do not create output files
1362 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1364 Installation directories:
1365 --prefix=PREFIX install architecture-independent files in PREFIX
1366 [$ac_default_prefix]
1367 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1370 By default, \`make install' will install all the files in
1371 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1372 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1373 for instance \`--prefix=\$HOME'.
1375 For better control, use the options below.
1377 Fine tuning of the installation directories:
1378 --bindir=DIR user executables [EPREFIX/bin]
1379 --sbindir=DIR system admin executables [EPREFIX/sbin]
1380 --libexecdir=DIR program executables [EPREFIX/libexec]
1381 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1382 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1383 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1384 --libdir=DIR object code libraries [EPREFIX/lib]
1385 --includedir=DIR C header files [PREFIX/include]
1386 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1387 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1388 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1389 --infodir=DIR info documentation [DATAROOTDIR/info]
1390 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1391 --mandir=DIR man documentation [DATAROOTDIR/man]
1392 --docdir=DIR documentation root
1393 [DATAROOTDIR/doc/shared-mime-info]
1394 --htmldir=DIR html documentation [DOCDIR]
1395 --dvidir=DIR dvi documentation [DOCDIR]
1396 --pdfdir=DIR pdf documentation [DOCDIR]
1397 --psdir=DIR ps documentation [DOCDIR]
1403 --program-prefix=PREFIX prepend PREFIX to installed program names
1404 --program-suffix=SUFFIX append SUFFIX to installed program names
1405 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1409 if test -n "$ac_init_help"; then
1410 case $ac_init_help in
1411 short | recursive ) echo "Configuration of shared-mime-info 1.5:";;
1416 --disable-option-checking ignore unrecognized --enable/--with options
1417 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1418 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1419 --enable-silent-rules less verbose build output (undo: "make V=1")
1420 --disable-silent-rules verbose build output (undo: "make V=0")
1421 --enable-dependency-tracking
1422 do not reject slow dependency extractors
1423 --disable-dependency-tracking
1424 speeds up one-time build
1425 --disable-nls do not use Native Language Support
1426 --disable-default-make-check
1427 run make check by default [default=yes]
1428 --disable-update-mimedb disable the update-mime-database after install
1431 Some influential environment variables:
1432 CC C compiler command
1433 CFLAGS C compiler flags
1434 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1435 nonstandard directory <lib dir>
1436 LIBS libraries to pass to the linker, e.g. -l<library>
1437 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1438 you have headers in a nonstandard directory <include dir>
1440 PKG_CONFIG path to pkg-config utility
1442 directories to add to pkg-config's search path
1444 path overriding pkg-config's built-in search path
1445 ALL_CFLAGS C compiler flags for ALL, overriding pkg-config
1446 ALL_LIBS linker flags for ALL, overriding pkg-config
1447 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
1448 GIO_LIBS linker flags for GIO, overriding pkg-config
1450 Use these variables to override the choices made by `configure' or to help
1451 it to find libraries and programs with nonstandard names/locations.
1453 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=shared-mime-info>.
1458 if test "$ac_init_help" = "recursive"; then
1459 # If there are subdirs, report their specific --help.
1460 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1461 test -d "$ac_dir" ||
1462 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1467 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1469 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1470 # A ".." for each directory in $ac_dir_suffix.
1471 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1472 case $ac_top_builddir_sub in
1473 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1474 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1477 ac_abs_top_builddir=$ac_pwd
1478 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1479 # for backward compatibility:
1480 ac_top_builddir=$ac_top_build_prefix
1483 .) # We are building in place.
1485 ac_top_srcdir=$ac_top_builddir_sub
1486 ac_abs_top_srcdir=$ac_pwd ;;
1487 [\\/]* | ?:[\\/]* ) # Absolute name.
1488 ac_srcdir=$srcdir$ac_dir_suffix;
1489 ac_top_srcdir=$srcdir
1490 ac_abs_top_srcdir=$srcdir ;;
1492 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1493 ac_top_srcdir=$ac_top_build_prefix$srcdir
1494 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1496 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1498 cd "$ac_dir" || { ac_status=$?; continue; }
1499 # Check for guested configure.
1500 if test -f "$ac_srcdir/configure.gnu"; then
1502 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1503 elif test -f "$ac_srcdir/configure"; then
1505 $SHELL "$ac_srcdir/configure" --help=recursive
1507 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1509 cd "$ac_pwd" || { ac_status=$?; break; }
1513 test -n "$ac_init_help" && exit $ac_status
1514 if $ac_init_version; then
1516 shared-mime-info configure 1.5
1517 generated by GNU Autoconf 2.69
1519 Copyright (C) 2012 Free Software Foundation, Inc.
1520 This configure script is free software; the Free Software Foundation
1521 gives unlimited permission to copy, distribute and modify it.
1526 ## ------------------------ ##
1527 ## Autoconf initialization. ##
1528 ## ------------------------ ##
1530 # ac_fn_c_try_compile LINENO
1531 # --------------------------
1532 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1533 ac_fn_c_try_compile ()
1535 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1536 rm -f conftest.$ac_objext
1537 if { { ac_try="$ac_compile"
1539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1540 *) ac_try_echo=$ac_try;;
1542 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1543 $as_echo "$ac_try_echo"; } >&5
1544 (eval "$ac_compile") 2>conftest.err
1546 if test -s conftest.err; then
1547 grep -v '^ *+' conftest.err >conftest.er1
1548 cat conftest.er1 >&5
1549 mv -f conftest.er1 conftest.err
1551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1552 test $ac_status = 0; } && {
1553 test -z "$ac_c_werror_flag" ||
1554 test ! -s conftest.err
1555 } && test -s conftest.$ac_objext; then :
1558 $as_echo "$as_me: failed program was:" >&5
1559 sed 's/^/| /' conftest.$ac_ext >&5
1563 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1564 as_fn_set_status $ac_retval
1566 } # ac_fn_c_try_compile
1568 # ac_fn_c_try_cpp LINENO
1569 # ----------------------
1570 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1573 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1574 if { { ac_try="$ac_cpp conftest.$ac_ext"
1576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1577 *) ac_try_echo=$ac_try;;
1579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1580 $as_echo "$ac_try_echo"; } >&5
1581 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1583 if test -s conftest.err; then
1584 grep -v '^ *+' conftest.err >conftest.er1
1585 cat conftest.er1 >&5
1586 mv -f conftest.er1 conftest.err
1588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1589 test $ac_status = 0; } > conftest.i && {
1590 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1591 test ! -s conftest.err
1595 $as_echo "$as_me: failed program was:" >&5
1596 sed 's/^/| /' conftest.$ac_ext >&5
1600 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1601 as_fn_set_status $ac_retval
1605 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1606 # -------------------------------------------------------
1607 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1608 # the include files in INCLUDES and setting the cache variable VAR
1610 ac_fn_c_check_header_mongrel ()
1612 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1613 if eval \${$3+:} false; then :
1614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1615 $as_echo_n "checking for $2... " >&6; }
1616 if eval \${$3+:} false; then :
1617 $as_echo_n "(cached) " >&6
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1621 $as_echo "$ac_res" >&6; }
1623 # Is the header compilable?
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1625 $as_echo_n "checking $2 usability... " >&6; }
1626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1627 /* end confdefs.h. */
1631 if ac_fn_c_try_compile "$LINENO"; then :
1632 ac_header_compiler=yes
1634 ac_header_compiler=no
1636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1638 $as_echo "$ac_header_compiler" >&6; }
1640 # Is the header present?
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1642 $as_echo_n "checking $2 presence... " >&6; }
1643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1644 /* end confdefs.h. */
1647 if ac_fn_c_try_cpp "$LINENO"; then :
1648 ac_header_preproc=yes
1650 ac_header_preproc=no
1652 rm -f conftest.err conftest.i conftest.$ac_ext
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1654 $as_echo "$ac_header_preproc" >&6; }
1656 # So? What about this header?
1657 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1660 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1662 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1666 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1668 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1670 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1672 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1674 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1675 ( $as_echo "## ---------------------------------------------------------------------------------- ##
1676 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=shared-mime-info ##
1677 ## ---------------------------------------------------------------------------------- ##"
1678 ) | sed "s/^/$as_me: WARNING: /" >&2
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1682 $as_echo_n "checking for $2... " >&6; }
1683 if eval \${$3+:} false; then :
1684 $as_echo_n "(cached) " >&6
1686 eval "$3=\$ac_header_compiler"
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1690 $as_echo "$ac_res" >&6; }
1692 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1694 } # ac_fn_c_check_header_mongrel
1696 # ac_fn_c_try_run LINENO
1697 # ----------------------
1698 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1699 # that executables *can* be run.
1702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703 if { { ac_try="$ac_link"
1705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1706 *) ac_try_echo=$ac_try;;
1708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1709 $as_echo "$ac_try_echo"; } >&5
1710 (eval "$ac_link") 2>&5
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1714 { { case "(($ac_try" in
1715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1716 *) ac_try_echo=$ac_try;;
1718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1719 $as_echo "$ac_try_echo"; } >&5
1720 (eval "$ac_try") 2>&5
1722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1723 test $ac_status = 0; }; }; then :
1726 $as_echo "$as_me: program exited with status $ac_status" >&5
1727 $as_echo "$as_me: failed program was:" >&5
1728 sed 's/^/| /' conftest.$ac_ext >&5
1730 ac_retval=$ac_status
1732 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1733 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1734 as_fn_set_status $ac_retval
1738 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1739 # -------------------------------------------------------
1740 # Tests whether HEADER exists and can be compiled using the include files in
1741 # INCLUDES, setting the cache variable VAR accordingly.
1742 ac_fn_c_check_header_compile ()
1744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1746 $as_echo_n "checking for $2... " >&6; }
1747 if eval \${$3+:} false; then :
1748 $as_echo_n "(cached) " >&6
1750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1751 /* end confdefs.h. */
1755 if ac_fn_c_try_compile "$LINENO"; then :
1760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1764 $as_echo "$ac_res" >&6; }
1765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1767 } # ac_fn_c_check_header_compile
1769 # ac_fn_c_try_link LINENO
1770 # -----------------------
1771 # Try to link conftest.$ac_ext, and return whether this succeeded.
1774 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775 rm -f conftest.$ac_objext conftest$ac_exeext
1776 if { { ac_try="$ac_link"
1778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1779 *) ac_try_echo=$ac_try;;
1781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1782 $as_echo "$ac_try_echo"; } >&5
1783 (eval "$ac_link") 2>conftest.err
1785 if test -s conftest.err; then
1786 grep -v '^ *+' conftest.err >conftest.er1
1787 cat conftest.er1 >&5
1788 mv -f conftest.er1 conftest.err
1790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1791 test $ac_status = 0; } && {
1792 test -z "$ac_c_werror_flag" ||
1793 test ! -s conftest.err
1794 } && test -s conftest$ac_exeext && {
1795 test "$cross_compiling" = yes ||
1796 test -x conftest$ac_exeext
1800 $as_echo "$as_me: failed program was:" >&5
1801 sed 's/^/| /' conftest.$ac_ext >&5
1805 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1806 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1807 # interfere with the next link command; also delete a directory that is
1808 # left behind by Apple's compiler. We do this before executing the actions.
1809 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1810 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1811 as_fn_set_status $ac_retval
1813 } # ac_fn_c_try_link
1815 # ac_fn_c_check_func LINENO FUNC VAR
1816 # ----------------------------------
1817 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1818 ac_fn_c_check_func ()
1820 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1822 $as_echo_n "checking for $2... " >&6; }
1823 if eval \${$3+:} false; then :
1824 $as_echo_n "(cached) " >&6
1826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1827 /* end confdefs.h. */
1828 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1829 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1830 #define $2 innocuous_$2
1832 /* System header to define __stub macros and hopefully few prototypes,
1833 which can conflict with char $2 (); below.
1834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1835 <limits.h> exists even on freestanding compilers. */
1838 # include <limits.h>
1840 # include <assert.h>
1845 /* Override any GCC internal prototype to avoid an error.
1846 Use char because int might match the return type of a GCC
1847 builtin and then its argument prototype would still apply. */
1852 /* The GNU C library defines this for functions which it implements
1853 to always fail with ENOSYS. Some functions are actually named
1854 something starting with __ and the normal name is an alias. */
1855 #if defined __stub_$2 || defined __stub___$2
1867 if ac_fn_c_try_link "$LINENO"; then :
1872 rm -f core conftest.err conftest.$ac_objext \
1873 conftest$ac_exeext conftest.$ac_ext
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1877 $as_echo "$ac_res" >&6; }
1878 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1880 } # ac_fn_c_check_func
1881 cat >config.log <<_ACEOF
1882 This file contains any messages produced by compilers while
1883 running configure, to aid debugging if configure makes a mistake.
1885 It was created by shared-mime-info $as_me 1.5, which was
1886 generated by GNU Autoconf 2.69. Invocation command line was
1898 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1899 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1900 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1901 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1902 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1904 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1905 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1907 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1908 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1909 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1910 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1911 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1912 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1913 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1921 test -z "$as_dir" && as_dir=.
1922 $as_echo "PATH: $as_dir"
1938 # Keep a trace of the command line.
1939 # Strip out --no-create and --no-recursion so they do not pile up.
1940 # Strip out --silent because we don't want to record it for future runs.
1941 # Also quote any args containing shell meta-characters.
1942 # Make two passes to allow for proper duplicate-argument suppression.
1946 ac_must_keep_next=false
1952 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1953 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1954 | -silent | --silent | --silen | --sile | --sil)
1957 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1960 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1962 as_fn_append ac_configure_args1 " '$ac_arg'"
1963 if test $ac_must_keep_next = true; then
1964 ac_must_keep_next=false # Got value, back to normal.
1967 *=* | --config-cache | -C | -disable-* | --disable-* \
1968 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1969 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1970 | -with-* | --with-* | -without-* | --without-* | --x)
1971 case "$ac_configure_args0 " in
1972 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1975 -* ) ac_must_keep_next=true ;;
1978 as_fn_append ac_configure_args " '$ac_arg'"
1983 { ac_configure_args0=; unset ac_configure_args0;}
1984 { ac_configure_args1=; unset ac_configure_args1;}
1986 # When interrupted or exit'd, cleanup temporary files, and complete
1987 # config.log. We remove comments because anyway the quotes in there
1988 # would cause problems or look ugly.
1989 # WARNING: Use '\'' to represent an apostrophe within the trap.
1990 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1991 trap 'exit_status=$?
1992 # Save into config.log some information that might help in debugging.
1996 $as_echo "## ---------------- ##
1997 ## Cache variables. ##
1998 ## ---------------- ##"
2000 # The following way of writing the cache mishandles newlines in values,
2002 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2003 eval ac_val=\$$ac_var
2007 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2008 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2011 _ | IFS | as_nl) ;; #(
2012 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2013 *) { eval $ac_var=; unset $ac_var;} ;;
2018 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2019 *${as_nl}ac_space=\ *)
2021 "s/'\''/'\''\\\\'\'''\''/g;
2022 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2025 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2032 $as_echo "## ----------------- ##
2033 ## Output variables. ##
2034 ## ----------------- ##"
2036 for ac_var in $ac_subst_vars
2038 eval ac_val=\$$ac_var
2040 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2042 $as_echo "$ac_var='\''$ac_val'\''"
2046 if test -n "$ac_subst_files"; then
2047 $as_echo "## ------------------- ##
2048 ## File substitutions. ##
2049 ## ------------------- ##"
2051 for ac_var in $ac_subst_files
2053 eval ac_val=\$$ac_var
2055 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2057 $as_echo "$ac_var='\''$ac_val'\''"
2062 if test -s confdefs.h; then
2063 $as_echo "## ----------- ##
2070 test "$ac_signal" != 0 &&
2071 $as_echo "$as_me: caught signal $ac_signal"
2072 $as_echo "$as_me: exit $exit_status"
2074 rm -f core *.core core.conftest.* &&
2075 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2078 for ac_signal in 1 2 13 15; do
2079 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2083 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2084 rm -f -r conftest* confdefs.h
2086 $as_echo "/* confdefs.h */" > confdefs.h
2088 # Predefined preprocessor variables.
2090 cat >>confdefs.h <<_ACEOF
2091 #define PACKAGE_NAME "$PACKAGE_NAME"
2094 cat >>confdefs.h <<_ACEOF
2095 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2098 cat >>confdefs.h <<_ACEOF
2099 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2102 cat >>confdefs.h <<_ACEOF
2103 #define PACKAGE_STRING "$PACKAGE_STRING"
2106 cat >>confdefs.h <<_ACEOF
2107 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2110 cat >>confdefs.h <<_ACEOF
2111 #define PACKAGE_URL "$PACKAGE_URL"
2115 # Let the site file select an alternate cache file if it wants to.
2116 # Prefer an explicitly selected file to automatically selected ones.
2119 if test -n "$CONFIG_SITE"; then
2120 # We do not want a PATH search for config.site.
2121 case $CONFIG_SITE in #((
2122 -*) ac_site_file1=./$CONFIG_SITE;;
2123 */*) ac_site_file1=$CONFIG_SITE;;
2124 *) ac_site_file1=./$CONFIG_SITE;;
2126 elif test "x$prefix" != xNONE; then
2127 ac_site_file1=$prefix/share/config.site
2128 ac_site_file2=$prefix/etc/config.site
2130 ac_site_file1=$ac_default_prefix/share/config.site
2131 ac_site_file2=$ac_default_prefix/etc/config.site
2133 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2135 test "x$ac_site_file" = xNONE && continue
2136 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2138 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2139 sed 's/^/| /' "$ac_site_file" >&5
2141 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2142 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2143 as_fn_error $? "failed to load site script $ac_site_file
2144 See \`config.log' for more details" "$LINENO" 5; }
2148 if test -r "$cache_file"; then
2149 # Some versions of bash will fail to source /dev/null (special files
2150 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2151 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2153 $as_echo "$as_me: loading cache $cache_file" >&6;}
2155 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2156 *) . "./$cache_file";;
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2161 $as_echo "$as_me: creating cache $cache_file" >&6;}
2165 # Check that the precious variables saved in the cache have kept the same
2167 ac_cache_corrupted=false
2168 for ac_var in $ac_precious_vars; do
2169 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2170 eval ac_new_set=\$ac_env_${ac_var}_set
2171 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2172 eval ac_new_val=\$ac_env_${ac_var}_value
2173 case $ac_old_set,$ac_new_set in
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2176 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2177 ac_cache_corrupted=: ;;
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2180 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2181 ac_cache_corrupted=: ;;
2184 if test "x$ac_old_val" != "x$ac_new_val"; then
2185 # differences in whitespace do not lead to failure.
2186 ac_old_val_w=`echo x $ac_old_val`
2187 ac_new_val_w=`echo x $ac_new_val`
2188 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2190 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2191 ac_cache_corrupted=:
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2194 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2195 eval $ac_var=\$ac_old_val
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2198 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2200 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2203 # Pass precious variables to config.status.
2204 if test "$ac_new_set" = set; then
2206 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2207 *) ac_arg=$ac_var=$ac_new_val ;;
2209 case " $ac_configure_args " in
2210 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2211 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2215 if $ac_cache_corrupted; then
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2217 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2219 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2220 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2222 ## -------------------- ##
2223 ## Main body of script. ##
2224 ## -------------------- ##
2227 ac_cpp='$CPP $CPPFLAGS'
2228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2234 am__api_version='1.15'
2237 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2238 if test -f "$ac_dir/install-sh"; then
2240 ac_install_sh="$ac_aux_dir/install-sh -c"
2242 elif test -f "$ac_dir/install.sh"; then
2244 ac_install_sh="$ac_aux_dir/install.sh -c"
2246 elif test -f "$ac_dir/shtool"; then
2248 ac_install_sh="$ac_aux_dir/shtool install -c"
2252 if test -z "$ac_aux_dir"; then
2253 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2256 # These three variables are undocumented and unsupported,
2257 # and are intended to be withdrawn in a future Autoconf release.
2258 # They can cause serious problems if a builder's source tree is in a directory
2259 # whose full name contains unusual characters.
2260 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2261 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2262 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2265 # Find a good install program. We prefer a C program (faster),
2266 # so one script is as good as another. But avoid the broken or
2267 # incompatible versions:
2268 # SysV /etc/install, /usr/sbin/install
2269 # SunOS /usr/etc/install
2270 # IRIX /sbin/install
2272 # AmigaOS /C/install, which installs bootblocks on floppy discs
2273 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2274 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2275 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2276 # OS/2's system install, which has a completely different semantic
2277 # ./install, which can be erroneously created by make from ./install.sh.
2278 # Reject install programs that cannot install multiple files.
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2280 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2281 if test -z "$INSTALL"; then
2282 if ${ac_cv_path_install+:} false; then :
2283 $as_echo_n "(cached) " >&6
2285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2289 test -z "$as_dir" && as_dir=.
2290 # Account for people who put trailing slashes in PATH elements.
2291 case $as_dir/ in #((
2292 ./ | .// | /[cC]/* | \
2293 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2294 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2297 # OSF1 and SCO ODT 3.0 have their own names for install.
2298 # Don't use installbsd from OSF since it installs stuff as root
2300 for ac_prog in ginstall scoinst install; do
2301 for ac_exec_ext in '' $ac_executable_extensions; do
2302 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2303 if test $ac_prog = install &&
2304 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2305 # AIX install. It has an incompatible calling convention.
2307 elif test $ac_prog = install &&
2308 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2309 # program-specific install script used by HP pwplus--don't use.
2312 rm -rf conftest.one conftest.two conftest.dir
2313 echo one > conftest.one
2314 echo two > conftest.two
2316 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2317 test -s conftest.one && test -s conftest.two &&
2318 test -s conftest.dir/conftest.one &&
2319 test -s conftest.dir/conftest.two
2321 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2334 rm -rf conftest.one conftest.two conftest.dir
2337 if test "${ac_cv_path_install+set}" = set; then
2338 INSTALL=$ac_cv_path_install
2340 # As a last resort, use the slow shell script. Don't cache a
2341 # value for INSTALL within a source directory, because that will
2342 # break other packages using the cache if that directory is
2343 # removed, or if the value is a relative name.
2344 INSTALL=$ac_install_sh
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2348 $as_echo "$INSTALL" >&6; }
2350 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2351 # It thinks the first close brace ends the variable substitution.
2352 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2354 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2356 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2359 $as_echo_n "checking whether build environment is sane... " >&6; }
2360 # Reject unsafe characters in $srcdir or the absolute working directory
2361 # name. Accept space and tab only in the latter.
2365 *[\\\"\#\$\&\'\`$am_lf]*)
2366 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2369 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2370 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2373 # Do 'set' in a subshell so we don't clobber the current shell's
2374 # arguments. Must try -L first in case configure is actually a
2375 # symlink; some systems play weird games with the mod time of symlinks
2376 # (eg FreeBSD returns the mod time of the symlink's containing
2380 for am_try in 1 2; do
2381 echo "timestamp, slept: $am_has_slept" > conftest.file
2382 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2383 if test "$*" = "X"; then
2385 set X `ls -t "$srcdir/configure" conftest.file`
2387 if test "$*" != "X $srcdir/configure conftest.file" \
2388 && test "$*" != "X conftest.file $srcdir/configure"; then
2390 # If neither matched, then we have a broken ls. This can happen
2391 # if, for instance, CONFIG_SHELL is bash and it inherits a
2392 # broken ls alias from the environment. This has actually
2393 # happened. Such a system could not be considered "sane".
2394 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2395 alias in your environment" "$LINENO" 5
2397 if test "$2" = conftest.file || test $am_try -eq 2; then
2404 test "$2" = conftest.file
2410 as_fn_error $? "newly created file is older than distributed files!
2411 Check your system clock" "$LINENO" 5
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2414 $as_echo "yes" >&6; }
2415 # If we didn't sleep, we still need to ensure time stamps of config.status and
2416 # generated files are strictly newer.
2418 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2425 test "$program_prefix" != NONE &&
2426 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2427 # Use a double $ so make ignores it.
2428 test "$program_suffix" != NONE &&
2429 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2430 # Double any \ or $.
2431 # By default was `s,x,x', remove it if useless.
2432 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2433 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2435 # Expand $ac_aux_dir to an absolute path.
2436 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2438 if test x"${MISSING+set}" != xset; then
2441 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2443 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2446 # Use eval to expand $SHELL
2447 if eval "$MISSING --is-lightweight"; then
2448 am_missing_run="$MISSING "
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2452 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2455 if test x"${install_sh+set}" != xset; then
2458 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2460 install_sh="\${SHELL} $am_aux_dir/install-sh"
2464 # Installed binaries are usually stripped using 'strip' when the user
2465 # run "make install-strip". However 'strip' might not be the right
2466 # tool to use in cross-compilation environments, therefore Automake
2467 # will honor the 'STRIP' environment variable to overrule this program.
2468 if test "$cross_compiling" != no; then
2469 if test -n "$ac_tool_prefix"; then
2470 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2471 set dummy ${ac_tool_prefix}strip; ac_word=$2
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2473 $as_echo_n "checking for $ac_word... " >&6; }
2474 if ${ac_cv_prog_STRIP+:} false; then :
2475 $as_echo_n "(cached) " >&6
2477 if test -n "$STRIP"; then
2478 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2484 test -z "$as_dir" && as_dir=.
2485 for ac_exec_ext in '' $ac_executable_extensions; do
2486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2487 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2497 STRIP=$ac_cv_prog_STRIP
2498 if test -n "$STRIP"; then
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2500 $as_echo "$STRIP" >&6; }
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2503 $as_echo "no" >&6; }
2508 if test -z "$ac_cv_prog_STRIP"; then
2510 # Extract the first word of "strip", so it can be a program name with args.
2511 set dummy strip; ac_word=$2
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2513 $as_echo_n "checking for $ac_word... " >&6; }
2514 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2515 $as_echo_n "(cached) " >&6
2517 if test -n "$ac_ct_STRIP"; then
2518 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2524 test -z "$as_dir" && as_dir=.
2525 for ac_exec_ext in '' $ac_executable_extensions; do
2526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2527 ac_cv_prog_ac_ct_STRIP="strip"
2528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2537 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2538 if test -n "$ac_ct_STRIP"; then
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2540 $as_echo "$ac_ct_STRIP" >&6; }
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2543 $as_echo "no" >&6; }
2546 if test "x$ac_ct_STRIP" = x; then
2549 case $cross_compiling:$ac_tool_warned in
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2553 ac_tool_warned=yes ;;
2558 STRIP="$ac_cv_prog_STRIP"
2562 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2565 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2566 if test -z "$MKDIR_P"; then
2567 if ${ac_cv_path_mkdir+:} false; then :
2568 $as_echo_n "(cached) " >&6
2570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2571 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2574 test -z "$as_dir" && as_dir=.
2575 for ac_prog in mkdir gmkdir; do
2576 for ac_exec_ext in '' $ac_executable_extensions; do
2577 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2578 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2579 'mkdir (GNU coreutils) '* | \
2580 'mkdir (coreutils) '* | \
2581 'mkdir (fileutils) '4.1*)
2582 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2592 test -d ./--version && rmdir ./--version
2593 if test "${ac_cv_path_mkdir+set}" = set; then
2594 MKDIR_P="$ac_cv_path_mkdir -p"
2596 # As a last resort, use the slow shell script. Don't cache a
2597 # value for MKDIR_P within a source directory, because that will
2598 # break other packages using the cache if that directory is
2599 # removed, or if the value is a relative name.
2600 MKDIR_P="$ac_install_sh -d"
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2604 $as_echo "$MKDIR_P" >&6; }
2606 for ac_prog in gawk mawk nawk awk
2608 # Extract the first word of "$ac_prog", so it can be a program name with args.
2609 set dummy $ac_prog; ac_word=$2
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2611 $as_echo_n "checking for $ac_word... " >&6; }
2612 if ${ac_cv_prog_AWK+:} false; then :
2613 $as_echo_n "(cached) " >&6
2615 if test -n "$AWK"; then
2616 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2622 test -z "$as_dir" && as_dir=.
2623 for ac_exec_ext in '' $ac_executable_extensions; do
2624 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2625 ac_cv_prog_AWK="$ac_prog"
2626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2636 if test -n "$AWK"; then
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2638 $as_echo "$AWK" >&6; }
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2641 $as_echo "no" >&6; }
2645 test -n "$AWK" && break
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2649 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2651 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2652 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2653 $as_echo_n "(cached) " >&6
2655 cat >conftest.make <<\_ACEOF
2658 @echo '@@@%%%=$(MAKE)=@@@%%%'
2660 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2661 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2663 eval ac_cv_prog_make_${ac_make}_set=yes;;
2665 eval ac_cv_prog_make_${ac_make}_set=no;;
2669 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2671 $as_echo "yes" >&6; }
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2675 $as_echo "no" >&6; }
2676 SET_MAKE="MAKE=${MAKE-make}"
2679 rm -rf .tst 2>/dev/null
2680 mkdir .tst 2>/dev/null
2681 if test -d .tst; then
2686 rmdir .tst 2>/dev/null
2688 # Check whether --enable-silent-rules was given.
2689 if test "${enable_silent_rules+set}" = set; then :
2690 enableval=$enable_silent_rules;
2693 case $enable_silent_rules in # (((
2694 yes) AM_DEFAULT_VERBOSITY=0;;
2695 no) AM_DEFAULT_VERBOSITY=1;;
2696 *) AM_DEFAULT_VERBOSITY=1;;
2698 am_make=${MAKE-make}
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2700 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2701 if ${am_cv_make_support_nested_variables+:} false; then :
2702 $as_echo_n "(cached) " >&6
2704 if $as_echo 'TRUE=$(BAR$(V))
2710 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2711 am_cv_make_support_nested_variables=yes
2713 am_cv_make_support_nested_variables=no
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2717 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2718 if test $am_cv_make_support_nested_variables = yes; then
2720 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2722 AM_V=$AM_DEFAULT_VERBOSITY
2723 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2727 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2728 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2729 # is not polluted with repeated "-I."
2730 am__isrc=' -I$(srcdir)'
2731 # test to see if srcdir already configured
2732 if test -f $srcdir/config.status; then
2733 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2737 # test whether we have cygpath
2738 if test -z "$CYGPATH_W"; then
2739 if (cygpath --version) >/dev/null 2>/dev/null; then
2740 CYGPATH_W='cygpath -w'
2747 # Define the identity of the package.
2748 PACKAGE='shared-mime-info'
2752 cat >>confdefs.h <<_ACEOF
2753 #define PACKAGE "$PACKAGE"
2757 cat >>confdefs.h <<_ACEOF
2758 #define VERSION "$VERSION"
2761 # Some tools Automake needs.
2763 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2766 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2769 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2772 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2775 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2777 # For better backward compatibility. To be removed once Automake 1.9.x
2778 # dies out for good. For more background, see:
2779 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2780 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2781 mkdir_p='$(MKDIR_P)'
2783 # We need awk for the "check" target (and possibly the TAP driver). The
2784 # system "awk" is bad on some platforms.
2785 # Always define AMTAR for backward compatibility. Yes, it's still used
2786 # in the wild :-( We should find a proper way to deprecate it ...
2790 # We'll loop over all known methods to create a tar archive until one works.
2791 _am_tools='gnutar pax cpio none'
2793 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2800 # POSIX will say in a future version that running "rm -f" with no argument
2801 # is OK; and we want to be able to make that assumption in our Makefile
2802 # recipes. So use an aggressive probe to check that the usage we want is
2803 # actually supported "in the wild" to an acceptable degree.
2804 # See automake bug#10828.
2805 # To make any issue more visible, cause the running configure to be aborted
2806 # by default if the 'rm' program in use doesn't match our expectations; the
2807 # user can still override this though.
2808 if rm -f && rm -fr && rm -rf; then : OK; else
2812 Your 'rm' program seems unable to run without file operands specified
2813 on the command line, even when the '-f' option is present. This is contrary
2814 to the behaviour of most rm programs out there, and not conforming with
2815 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2817 Please tell bug-automake@gnu.org about your system, including the value
2818 of your $PATH and any error possibly output before this message. This
2819 can help us improve future automake versions.
2822 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2823 echo 'Configuration will proceed anyway, since you have set the' >&2
2824 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2828 Aborting the configuration process, to ensure you take notice of the issue.
2830 You can download and install GNU coreutils to get an 'rm' implementation
2831 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2833 If you want to complete the configuration process using your problematic
2834 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2835 to "yes", and re-run configure.
2838 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2843 ac_config_headers="$ac_config_headers config.h"
2846 # Enable silent build when available (Automake 1.11)
2847 # Check whether --enable-silent-rules was given.
2848 if test "${enable_silent_rules+set}" = set; then :
2849 enableval=$enable_silent_rules;
2852 case $enable_silent_rules in # (((
2853 yes) AM_DEFAULT_VERBOSITY=0;;
2854 no) AM_DEFAULT_VERBOSITY=1;;
2855 *) AM_DEFAULT_VERBOSITY=0;;
2857 am_make=${MAKE-make}
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2859 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2860 if ${am_cv_make_support_nested_variables+:} false; then :
2861 $as_echo_n "(cached) " >&6
2863 if $as_echo 'TRUE=$(BAR$(V))
2869 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2870 am_cv_make_support_nested_variables=yes
2872 am_cv_make_support_nested_variables=no
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2876 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2877 if test $am_cv_make_support_nested_variables = yes; then
2879 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2881 AM_V=$AM_DEFAULT_VERBOSITY
2882 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2888 ac_cpp='$CPP $CPPFLAGS'
2889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2892 if test -n "$ac_tool_prefix"; then
2893 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2894 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2896 $as_echo_n "checking for $ac_word... " >&6; }
2897 if ${ac_cv_prog_CC+:} false; then :
2898 $as_echo_n "(cached) " >&6
2900 if test -n "$CC"; then
2901 ac_cv_prog_CC="$CC" # Let the user override the test.
2903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2907 test -z "$as_dir" && as_dir=.
2908 for ac_exec_ext in '' $ac_executable_extensions; do
2909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2910 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2921 if test -n "$CC"; then
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2923 $as_echo "$CC" >&6; }
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2926 $as_echo "no" >&6; }
2931 if test -z "$ac_cv_prog_CC"; then
2933 # Extract the first word of "gcc", so it can be a program name with args.
2934 set dummy gcc; ac_word=$2
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2936 $as_echo_n "checking for $ac_word... " >&6; }
2937 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2938 $as_echo_n "(cached) " >&6
2940 if test -n "$ac_ct_CC"; then
2941 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2947 test -z "$as_dir" && as_dir=.
2948 for ac_exec_ext in '' $ac_executable_extensions; do
2949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2950 ac_cv_prog_ac_ct_CC="gcc"
2951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2960 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2961 if test -n "$ac_ct_CC"; then
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2963 $as_echo "$ac_ct_CC" >&6; }
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2966 $as_echo "no" >&6; }
2969 if test "x$ac_ct_CC" = x; then
2972 case $cross_compiling:$ac_tool_warned in
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2975 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2976 ac_tool_warned=yes ;;
2984 if test -z "$CC"; then
2985 if test -n "$ac_tool_prefix"; then
2986 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2987 set dummy ${ac_tool_prefix}cc; ac_word=$2
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2989 $as_echo_n "checking for $ac_word... " >&6; }
2990 if ${ac_cv_prog_CC+:} false; then :
2991 $as_echo_n "(cached) " >&6
2993 if test -n "$CC"; then
2994 ac_cv_prog_CC="$CC" # Let the user override the test.
2996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3000 test -z "$as_dir" && as_dir=.
3001 for ac_exec_ext in '' $ac_executable_extensions; do
3002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3003 ac_cv_prog_CC="${ac_tool_prefix}cc"
3004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3014 if test -n "$CC"; then
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3016 $as_echo "$CC" >&6; }
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3019 $as_echo "no" >&6; }
3025 if test -z "$CC"; then
3026 # Extract the first word of "cc", so it can be a program name with args.
3027 set dummy cc; ac_word=$2
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3029 $as_echo_n "checking for $ac_word... " >&6; }
3030 if ${ac_cv_prog_CC+:} false; then :
3031 $as_echo_n "(cached) " >&6
3033 if test -n "$CC"; then
3034 ac_cv_prog_CC="$CC" # Let the user override the test.
3037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3041 test -z "$as_dir" && as_dir=.
3042 for ac_exec_ext in '' $ac_executable_extensions; do
3043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3044 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3045 ac_prog_rejected=yes
3049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3056 if test $ac_prog_rejected = yes; then
3057 # We found a bogon in the path, so make sure we never use it.
3058 set dummy $ac_cv_prog_CC
3060 if test $# != 0; then
3061 # We chose a different compiler from the bogus one.
3062 # However, it has the same basename, so the bogon will be chosen
3063 # first if we set CC to just the basename; use the full file name.
3065 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3071 if test -n "$CC"; then
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3073 $as_echo "$CC" >&6; }
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3076 $as_echo "no" >&6; }
3081 if test -z "$CC"; then
3082 if test -n "$ac_tool_prefix"; then
3083 for ac_prog in cl.exe
3085 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3086 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3088 $as_echo_n "checking for $ac_word... " >&6; }
3089 if ${ac_cv_prog_CC+:} false; then :
3090 $as_echo_n "(cached) " >&6
3092 if test -n "$CC"; then
3093 ac_cv_prog_CC="$CC" # Let the user override the test.
3095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3099 test -z "$as_dir" && as_dir=.
3100 for ac_exec_ext in '' $ac_executable_extensions; do
3101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3102 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3113 if test -n "$CC"; then
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3115 $as_echo "$CC" >&6; }
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3118 $as_echo "no" >&6; }
3122 test -n "$CC" && break
3125 if test -z "$CC"; then
3127 for ac_prog in cl.exe
3129 # Extract the first word of "$ac_prog", so it can be a program name with args.
3130 set dummy $ac_prog; ac_word=$2
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3132 $as_echo_n "checking for $ac_word... " >&6; }
3133 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3134 $as_echo_n "(cached) " >&6
3136 if test -n "$ac_ct_CC"; then
3137 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3143 test -z "$as_dir" && as_dir=.
3144 for ac_exec_ext in '' $ac_executable_extensions; do
3145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3146 ac_cv_prog_ac_ct_CC="$ac_prog"
3147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3156 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3157 if test -n "$ac_ct_CC"; then
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3159 $as_echo "$ac_ct_CC" >&6; }
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3162 $as_echo "no" >&6; }
3166 test -n "$ac_ct_CC" && break
3169 if test "x$ac_ct_CC" = x; then
3172 case $cross_compiling:$ac_tool_warned in
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3176 ac_tool_warned=yes ;;
3185 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3187 as_fn_error $? "no acceptable C compiler found in \$PATH
3188 See \`config.log' for more details" "$LINENO" 5; }
3190 # Provide some information about the compiler.
3191 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3194 for ac_option in --version -v -V -qversion; do
3195 { { ac_try="$ac_compiler $ac_option >&5"
3197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3198 *) ac_try_echo=$ac_try;;
3200 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3201 $as_echo "$ac_try_echo"; } >&5
3202 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3204 if test -s conftest.err; then
3206 ... rest of stderr output deleted ...
3207 10q' conftest.err >conftest.er1
3208 cat conftest.er1 >&5
3210 rm -f conftest.er1 conftest.err
3211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3212 test $ac_status = 0; }
3215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3216 /* end confdefs.h. */
3226 ac_clean_files_save=$ac_clean_files
3227 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3228 # Try to create an executable without -o first, disregard a.out.
3229 # It will help us diagnose broken compilers, and finding out an intuition
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3232 $as_echo_n "checking whether the C compiler works... " >&6; }
3233 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3235 # The possible output files:
3236 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3239 for ac_file in $ac_files
3242 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3243 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3248 if { { ac_try="$ac_link_default"
3250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3251 *) ac_try_echo=$ac_try;;
3253 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3254 $as_echo "$ac_try_echo"; } >&5
3255 (eval "$ac_link_default") 2>&5
3257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3258 test $ac_status = 0; }; then :
3259 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3260 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3261 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3262 # so that the user can short-circuit this test for compilers unknown to
3264 for ac_file in $ac_files ''
3266 test -f "$ac_file" || continue
3268 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3271 # We found the default executable, but exeext='' is most
3275 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3277 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3279 # We set ac_cv_exeext here because the later test for it is not
3280 # safe: cross compilers may not add the suffix if given an `-o'
3281 # argument, so we may need to know it at that point already.
3282 # Even if this section looks crufty: it has the advantage of
3289 test "$ac_cv_exeext" = no && ac_cv_exeext=
3294 if test -z "$ac_file"; then :
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3296 $as_echo "no" >&6; }
3297 $as_echo "$as_me: failed program was:" >&5
3298 sed 's/^/| /' conftest.$ac_ext >&5
3300 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3302 as_fn_error 77 "C compiler cannot create executables
3303 See \`config.log' for more details" "$LINENO" 5; }
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3306 $as_echo "yes" >&6; }
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3309 $as_echo_n "checking for C compiler default output file name... " >&6; }
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3311 $as_echo "$ac_file" >&6; }
3312 ac_exeext=$ac_cv_exeext
3314 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3315 ac_clean_files=$ac_clean_files_save
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3317 $as_echo_n "checking for suffix of executables... " >&6; }
3318 if { { ac_try="$ac_link"
3320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3321 *) ac_try_echo=$ac_try;;
3323 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3324 $as_echo "$ac_try_echo"; } >&5
3325 (eval "$ac_link") 2>&5
3327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3328 test $ac_status = 0; }; then :
3329 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3330 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3331 # work properly (i.e., refer to `conftest.exe'), while it won't with
3333 for ac_file in conftest.exe conftest conftest.*; do
3334 test -f "$ac_file" || continue
3336 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3337 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3343 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3344 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3345 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3346 See \`config.log' for more details" "$LINENO" 5; }
3348 rm -f conftest conftest$ac_cv_exeext
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3350 $as_echo "$ac_cv_exeext" >&6; }
3352 rm -f conftest.$ac_ext
3353 EXEEXT=$ac_cv_exeext
3355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3356 /* end confdefs.h. */
3361 FILE *f = fopen ("conftest.out", "w");
3362 return ferror (f) || fclose (f) != 0;
3368 ac_clean_files="$ac_clean_files conftest.out"
3369 # Check that the compiler produces executables we can run. If not, either
3370 # the compiler is broken, or we cross compile.
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3372 $as_echo_n "checking whether we are cross compiling... " >&6; }
3373 if test "$cross_compiling" != yes; then
3374 { { ac_try="$ac_link"
3376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3377 *) ac_try_echo=$ac_try;;
3379 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3380 $as_echo "$ac_try_echo"; } >&5
3381 (eval "$ac_link") 2>&5
3383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3384 test $ac_status = 0; }
3385 if { ac_try='./conftest$ac_cv_exeext'
3386 { { case "(($ac_try" in
3387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3388 *) ac_try_echo=$ac_try;;
3390 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3391 $as_echo "$ac_try_echo"; } >&5
3392 (eval "$ac_try") 2>&5
3394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3395 test $ac_status = 0; }; }; then
3398 if test "$cross_compiling" = maybe; then
3401 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3403 as_fn_error $? "cannot run C compiled programs.
3404 If you meant to cross compile, use \`--host'.
3405 See \`config.log' for more details" "$LINENO" 5; }
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3410 $as_echo "$cross_compiling" >&6; }
3412 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3413 ac_clean_files=$ac_clean_files_save
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3415 $as_echo_n "checking for suffix of object files... " >&6; }
3416 if ${ac_cv_objext+:} false; then :
3417 $as_echo_n "(cached) " >&6
3419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3420 /* end confdefs.h. */
3430 rm -f conftest.o conftest.obj
3431 if { { ac_try="$ac_compile"
3433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3434 *) ac_try_echo=$ac_try;;
3436 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3437 $as_echo "$ac_try_echo"; } >&5
3438 (eval "$ac_compile") 2>&5
3440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3441 test $ac_status = 0; }; then :
3442 for ac_file in conftest.o conftest.obj conftest.*; do
3443 test -f "$ac_file" || continue;
3445 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3446 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3451 $as_echo "$as_me: failed program was:" >&5
3452 sed 's/^/| /' conftest.$ac_ext >&5
3454 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3456 as_fn_error $? "cannot compute suffix of object files: cannot compile
3457 See \`config.log' for more details" "$LINENO" 5; }
3459 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3462 $as_echo "$ac_cv_objext" >&6; }
3463 OBJEXT=$ac_cv_objext
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3466 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3467 if ${ac_cv_c_compiler_gnu+:} false; then :
3468 $as_echo_n "(cached) " >&6
3470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3471 /* end confdefs.h. */
3484 if ac_fn_c_try_compile "$LINENO"; then :
3489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3490 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3494 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3495 if test $ac_compiler_gnu = yes; then
3500 ac_test_CFLAGS=${CFLAGS+set}
3501 ac_save_CFLAGS=$CFLAGS
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3503 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3504 if ${ac_cv_prog_cc_g+:} false; then :
3505 $as_echo_n "(cached) " >&6
3507 ac_save_c_werror_flag=$ac_c_werror_flag
3508 ac_c_werror_flag=yes
3511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3512 /* end confdefs.h. */
3522 if ac_fn_c_try_compile "$LINENO"; then :
3526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3527 /* end confdefs.h. */
3537 if ac_fn_c_try_compile "$LINENO"; then :
3540 ac_c_werror_flag=$ac_save_c_werror_flag
3542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3543 /* end confdefs.h. */
3553 if ac_fn_c_try_compile "$LINENO"; then :
3556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3561 ac_c_werror_flag=$ac_save_c_werror_flag
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3564 $as_echo "$ac_cv_prog_cc_g" >&6; }
3565 if test "$ac_test_CFLAGS" = set; then
3566 CFLAGS=$ac_save_CFLAGS
3567 elif test $ac_cv_prog_cc_g = yes; then
3568 if test "$GCC" = yes; then
3574 if test "$GCC" = yes; then
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3581 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3582 if ${ac_cv_prog_cc_c89+:} false; then :
3583 $as_echo_n "(cached) " >&6
3585 ac_cv_prog_cc_c89=no
3587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3588 /* end confdefs.h. */
3592 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3593 struct buf { int x; };
3594 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3595 static char *e (p, i)
3601 static char *f (char * (*g) (char **, int), char **p, ...)
3606 s = g (p, va_arg (v,int));
3611 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3612 function prototypes and stuff, but not '\xHH' hex character constants.
3613 These don't provoke an error unfortunately, instead are silently treated
3614 as 'x'. The following induces an error, until -std is added to get
3615 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3616 array size at least. It's necessary to write '\x00'==0 to get something
3617 that's true only with -std. */
3618 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3620 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3621 inside strings and character constants. */
3623 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3625 int test (int i, double x);
3626 struct s1 {int (*f) (int a);};
3627 struct s2 {int (*f) (double a);};
3628 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3634 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3639 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3640 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3642 CC="$ac_save_CC $ac_arg"
3643 if ac_fn_c_try_compile "$LINENO"; then :
3644 ac_cv_prog_cc_c89=$ac_arg
3646 rm -f core conftest.err conftest.$ac_objext
3647 test "x$ac_cv_prog_cc_c89" != "xno" && break
3649 rm -f conftest.$ac_ext
3654 case "x$ac_cv_prog_cc_c89" in
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3657 $as_echo "none needed" >&6; } ;;
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3660 $as_echo "unsupported" >&6; } ;;
3662 CC="$CC $ac_cv_prog_cc_c89"
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3664 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3666 if test "x$ac_cv_prog_cc_c89" != xno; then :
3671 ac_cpp='$CPP $CPPFLAGS'
3672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3677 ac_cpp='$CPP $CPPFLAGS'
3678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3682 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3683 if ${am_cv_prog_cc_c_o+:} false; then :
3684 $as_echo_n "(cached) " >&6
3686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3687 /* end confdefs.h. */
3697 # Make sure it works both with $CC and with simple cc.
3698 # Following AC_PROG_CC_C_O, we do the test twice because some
3699 # compilers refuse to overwrite an existing .o file with -o,
3700 # though they will create one.
3701 am_cv_prog_cc_c_o=yes
3703 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3704 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3707 (exit $ac_status); } \
3708 && test -f conftest2.$ac_objext; then
3711 am_cv_prog_cc_c_o=no
3715 rm -f core conftest*
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3719 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3720 if test "$am_cv_prog_cc_c_o" != yes; then
3721 # Losing compiler, so override with the script.
3722 # FIXME: It is wrong to rewrite CC.
3723 # But if we don't then we get into trouble of one sort or another.
3724 # A longer-term fix would be to have automake use am__CC in this case,
3725 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3726 CC="$am_aux_dir/compile $CC"
3729 ac_cpp='$CPP $CPPFLAGS'
3730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3734 DEPDIR="${am__leading_dot}deps"
3736 ac_config_commands="$ac_config_commands depfiles"
3739 am_make=${MAKE-make}
3740 cat > confinc << 'END'
3742 @echo this is the am__doit target
3745 # If we don't find an include directive, just comment out the code.
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3747 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3751 # First try GNU make style include.
3752 echo "include confinc" > confmf
3753 # Ignore all kinds of additional output from 'make'.
3754 case `$am_make -s -f confmf 2> /dev/null` in #(
3755 *the\ am__doit\ target*)
3761 # Now try BSD make style include.
3762 if test "$am__include" = "#"; then
3763 echo '.include "confinc"' > confmf
3764 case `$am_make -s -f confmf 2> /dev/null` in #(
3765 *the\ am__doit\ target*)
3766 am__include=.include
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3775 $as_echo "$_am_result" >&6; }
3776 rm -f confinc confmf
3778 # Check whether --enable-dependency-tracking was given.
3779 if test "${enable_dependency_tracking+set}" = set; then :
3780 enableval=$enable_dependency_tracking;
3783 if test "x$enable_dependency_tracking" != xno; then
3784 am_depcomp="$ac_aux_dir/depcomp"
3788 if test "x$enable_dependency_tracking" != xno; then
3798 depcc="$CC" am_compiler_list=
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3801 $as_echo_n "checking dependency style of $depcc... " >&6; }
3802 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3803 $as_echo_n "(cached) " >&6
3805 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3806 # We make a subdir and do the tests there. Otherwise we can end up
3807 # making bogus files that we don't know about and never remove. For
3808 # instance it was reported that on HP-UX the gcc test will end up
3809 # making a dummy file named 'D' -- because '-MD' means "put the output
3813 # Copy depcomp to subdir because otherwise we won't find it if we're
3814 # using a relative directory.
3815 cp "$am_depcomp" conftest.dir
3817 # We will build objects and dependencies in a subdirectory because
3818 # it helps to detect inapplicable dependency modes. For instance
3819 # both Tru64's cc and ICC support -MD to output dependencies as a
3820 # side effect of compilation, but ICC will put the dependencies in
3821 # the current directory while Tru64 will put them in the object
3825 am_cv_CC_dependencies_compiler_type=none
3826 if test "$am_compiler_list" = ""; then
3827 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3830 case " $depcc " in #(
3831 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3834 for depmode in $am_compiler_list; do
3835 # Setup a source with many dependencies, because some compilers
3836 # like to wrap large dependency lists on column 80 (with \), and
3837 # we should not choose a depcomp mode which is confused by this.
3839 # We need to recreate these files for each test, as the compiler may
3840 # overwrite some of them when testing with obscure command lines.
3841 # This happens at least with the AIX C compiler.
3843 for i in 1 2 3 4 5 6; do
3844 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3845 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3846 # Solaris 10 /bin/sh.
3847 echo '/* dummy */' > sub/conftst$i.h
3849 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3851 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3852 # mode. It turns out that the SunPro C++ compiler does not properly
3853 # handle '-M -o', and we need to detect this. Also, some Intel
3854 # versions had trouble with output in subdirs.
3855 am__obj=sub/conftest.${OBJEXT-o}
3856 am__minus_obj="-o $am__obj"
3859 # This depmode causes a compiler race in universal mode.
3860 test "$am__universal" = false || continue
3863 # After this tag, mechanisms are not by side-effect, so they'll
3864 # only be used when explicitly requested.
3865 if test "x$enable_dependency_tracking" = xyes; then
3871 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3872 # This compiler won't grok '-c -o', but also, the minuso test has
3873 # not run yet. These depmodes are late enough in the game, and
3874 # so weak that their functioning should not be impacted.
3875 am__obj=conftest.${OBJEXT-o}
3880 if depmode=$depmode \
3881 source=sub/conftest.c object=$am__obj \
3882 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3883 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3884 >/dev/null 2>conftest.err &&
3885 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3886 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3887 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3888 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3889 # icc doesn't choke on unknown options, it will just issue warnings
3890 # or remarks (even with -Werror). So we grep stderr for any message
3891 # that says an option was ignored or not supported.
3892 # When given -MP, icc 7.0 and 7.1 complain thusly:
3893 # icc: Command line warning: ignoring option '-M'; no argument required
3894 # The diagnosis changed in icc 8.0:
3895 # icc: Command line remark: option '-MP' not supported
3896 if (grep 'ignoring option' conftest.err ||
3897 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3898 am_cv_CC_dependencies_compiler_type=$depmode
3907 am_cv_CC_dependencies_compiler_type=none
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3912 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3913 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3916 test "x$enable_dependency_tracking" != xno \
3917 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3919 am__fastdepCC_FALSE='#'
3921 am__fastdepCC_TRUE='#'
3922 am__fastdepCC_FALSE=
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
3929 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
3930 if ${ac_cv_c_const+:} false; then :
3931 $as_echo_n "(cached) " >&6
3933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3934 /* end confdefs.h. */
3941 /* Ultrix mips cc rejects this sort of thing. */
3942 typedef int charset[2];
3943 const charset cs = { 0, 0 };
3944 /* SunOS 4.1.1 cc rejects this. */
3945 char const *const *pcpcc;
3947 /* NEC SVR4.0.2 mips cc rejects this. */
3948 struct point {int x, y;};
3949 static struct point const zero = {0,0};
3950 /* AIX XL C 1.02.0.0 rejects this.
3951 It does not let you subtract one const X* pointer from another in
3952 an arm of an if-expression whose if-part is not a constant
3954 const char *g = "string";
3955 pcpcc = &g + (g ? g-g : 0);
3956 /* HPUX 7.0 cc rejects these. */
3958 ppc = (char**) pcpcc;
3959 pcpcc = (char const *const *) ppc;
3960 { /* SCO 3.2v4 cc rejects this sort of thing. */
3963 char const *s = 0 ? (char *) 0 : (char const *) 0;
3968 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3970 const int *foo = &x[0];
3973 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3974 typedef const int *iptr;
3978 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
3979 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3980 struct s { int j; const int *ap[3]; } bx;
3981 struct s *b = &bx; b->j = 5;
3983 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3987 return !cs[0] && !zero.x;
3994 if ac_fn_c_try_compile "$LINENO"; then :
3999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4002 $as_echo "$ac_cv_c_const" >&6; }
4003 if test $ac_cv_c_const = no; then
4005 $as_echo "#define const /**/" >>confdefs.h
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4013 $as_echo_n "checking whether NLS is requested... " >&6; }
4014 # Check whether --enable-nls was given.
4015 if test "${enable_nls+set}" = set; then :
4016 enableval=$enable_nls; USE_NLS=$enableval
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4022 $as_echo "$USE_NLS" >&6; }
4027 case "$am__api_version" in
4029 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
4035 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4036 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
4037 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4038 if test -n "0.35.0"; then
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
4040 $as_echo_n "checking for intltool >= 0.35.0... " >&6; }
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
4042 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
4043 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
4044 as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
4047 # Extract the first word of "intltool-update", so it can be a program name with args.
4048 set dummy intltool-update; ac_word=$2
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4050 $as_echo_n "checking for $ac_word... " >&6; }
4051 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
4052 $as_echo_n "(cached) " >&6
4054 case $INTLTOOL_UPDATE in
4056 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
4059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4063 test -z "$as_dir" && as_dir=.
4064 for ac_exec_ext in '' $ac_executable_extensions; do
4065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4066 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
4067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4077 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4078 if test -n "$INTLTOOL_UPDATE"; then
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
4080 $as_echo "$INTLTOOL_UPDATE" >&6; }
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4083 $as_echo "no" >&6; }
4087 # Extract the first word of "intltool-merge", so it can be a program name with args.
4088 set dummy intltool-merge; ac_word=$2
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4090 $as_echo_n "checking for $ac_word... " >&6; }
4091 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
4092 $as_echo_n "(cached) " >&6
4094 case $INTLTOOL_MERGE in
4096 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
4099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4103 test -z "$as_dir" && as_dir=.
4104 for ac_exec_ext in '' $ac_executable_extensions; do
4105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4106 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4117 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4118 if test -n "$INTLTOOL_MERGE"; then
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
4120 $as_echo "$INTLTOOL_MERGE" >&6; }
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4123 $as_echo "no" >&6; }
4127 # Extract the first word of "intltool-extract", so it can be a program name with args.
4128 set dummy intltool-extract; ac_word=$2
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4130 $as_echo_n "checking for $ac_word... " >&6; }
4131 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
4132 $as_echo_n "(cached) " >&6
4134 case $INTLTOOL_EXTRACT in
4136 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4143 test -z "$as_dir" && as_dir=.
4144 for ac_exec_ext in '' $ac_executable_extensions; do
4145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4146 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4157 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4158 if test -n "$INTLTOOL_EXTRACT"; then
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4160 $as_echo "$INTLTOOL_EXTRACT" >&6; }
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4163 $as_echo "no" >&6; }
4167 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4168 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
4171 if test -z "$AM_DEFAULT_VERBOSITY"; then
4172 AM_DEFAULT_VERBOSITY=1
4176 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
4177 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
4178 INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
4183 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
4184 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
4185 intltool__v_merge_options_0='-q'
4190 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 $< $@'
4191 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 $< $@'
4192 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 $< $@'
4193 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 $< $@'
4194 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 $< $@'
4195 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 $< $@'
4196 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 $< $@'
4197 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 $< $@'
4198 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 $< $@'
4199 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 $< $@'
4200 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 $< $@'
4201 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
4202 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 $< $@'
4204 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'
4206 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 $< $@'
4207 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 $< $@'
4208 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 $< $@'
4209 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 $< $@'
4210 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 $< $@'
4211 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 $< $@'
4212 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 $< $@'
4310 # Check the gettext tools to make sure they are GNU
4311 # Extract the first word of "xgettext", so it can be a program name with args.
4312 set dummy xgettext; ac_word=$2
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4314 $as_echo_n "checking for $ac_word... " >&6; }
4315 if ${ac_cv_path_XGETTEXT+:} false; then :
4316 $as_echo_n "(cached) " >&6
4320 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4327 test -z "$as_dir" && as_dir=.
4328 for ac_exec_ext in '' $ac_executable_extensions; do
4329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4330 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4341 XGETTEXT=$ac_cv_path_XGETTEXT
4342 if test -n "$XGETTEXT"; then
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4344 $as_echo "$XGETTEXT" >&6; }
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4347 $as_echo "no" >&6; }
4351 # Extract the first word of "msgmerge", so it can be a program name with args.
4352 set dummy msgmerge; ac_word=$2
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4354 $as_echo_n "checking for $ac_word... " >&6; }
4355 if ${ac_cv_path_MSGMERGE+:} false; then :
4356 $as_echo_n "(cached) " >&6
4360 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4367 test -z "$as_dir" && as_dir=.
4368 for ac_exec_ext in '' $ac_executable_extensions; do
4369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4370 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4381 MSGMERGE=$ac_cv_path_MSGMERGE
4382 if test -n "$MSGMERGE"; then
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4384 $as_echo "$MSGMERGE" >&6; }
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4387 $as_echo "no" >&6; }
4391 # Extract the first word of "msgfmt", so it can be a program name with args.
4392 set dummy msgfmt; ac_word=$2
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4394 $as_echo_n "checking for $ac_word... " >&6; }
4395 if ${ac_cv_path_MSGFMT+:} false; then :
4396 $as_echo_n "(cached) " >&6
4400 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4407 test -z "$as_dir" && as_dir=.
4408 for ac_exec_ext in '' $ac_executable_extensions; do
4409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4410 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4421 MSGFMT=$ac_cv_path_MSGFMT
4422 if test -n "$MSGFMT"; then
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4424 $as_echo "$MSGFMT" >&6; }
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4427 $as_echo "no" >&6; }
4431 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4432 set dummy gmsgfmt; ac_word=$2
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4434 $as_echo_n "checking for $ac_word... " >&6; }
4435 if ${ac_cv_path_GMSGFMT+:} false; then :
4436 $as_echo_n "(cached) " >&6
4440 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4447 test -z "$as_dir" && as_dir=.
4448 for ac_exec_ext in '' $ac_executable_extensions; do
4449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4450 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4458 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4462 GMSGFMT=$ac_cv_path_GMSGFMT
4463 if test -n "$GMSGFMT"; then
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4465 $as_echo "$GMSGFMT" >&6; }
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4468 $as_echo "no" >&6; }
4472 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4473 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4475 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4476 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4477 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4478 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4479 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4482 # Extract the first word of "perl", so it can be a program name with args.
4483 set dummy perl; ac_word=$2
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4485 $as_echo_n "checking for $ac_word... " >&6; }
4486 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
4487 $as_echo_n "(cached) " >&6
4489 case $INTLTOOL_PERL in
4491 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4498 test -z "$as_dir" && as_dir=.
4499 for ac_exec_ext in '' $ac_executable_extensions; do
4500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4501 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4512 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4513 if test -n "$INTLTOOL_PERL"; then
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4515 $as_echo "$INTLTOOL_PERL" >&6; }
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4518 $as_echo "no" >&6; }
4522 if test -z "$INTLTOOL_PERL"; then
4523 as_fn_error $? "perl not found" "$LINENO" 5
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4526 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
4527 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4528 if test $? -ne 0; then
4529 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
4531 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4533 $as_echo "$IT_PERL_VERSION" >&6; }
4535 if test "x" != "xno-xml"; then
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4537 $as_echo_n "checking for XML::Parser... " >&6; }
4538 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4540 $as_echo "ok" >&6; }
4542 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
4546 # Substitute ALL_LINGUAS so we can use it in po/Makefile
4553 GETTEXT_PACKAGE=shared-mime-info
4556 ac_cpp='$CPP $CPPFLAGS'
4557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4561 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4562 # On Suns, sometimes $CPP names a directory.
4563 if test -n "$CPP" && test -d "$CPP"; then
4566 if test -z "$CPP"; then
4567 if ${ac_cv_prog_CPP+:} false; then :
4568 $as_echo_n "(cached) " >&6
4570 # Double quotes because CPP needs to be expanded
4571 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4574 for ac_c_preproc_warn_flag in '' yes
4576 # Use a header file that comes with gcc, so configuring glibc
4577 # with a fresh cross-compiler works.
4578 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4579 # <limits.h> exists even on freestanding compilers.
4580 # On the NeXT, cc -E runs the code through the compiler's parser,
4581 # not just through cpp. "Syntax error" is here to catch this case.
4582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4583 /* end confdefs.h. */
4585 # include <limits.h>
4587 # include <assert.h>
4591 if ac_fn_c_try_cpp "$LINENO"; then :
4594 # Broken: fails on valid input.
4597 rm -f conftest.err conftest.i conftest.$ac_ext
4599 # OK, works on sane cases. Now check whether nonexistent headers
4600 # can be detected and how.
4601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4602 /* end confdefs.h. */
4603 #include <ac_nonexistent.h>
4605 if ac_fn_c_try_cpp "$LINENO"; then :
4606 # Broken: success on invalid input.
4609 # Passes both tests.
4613 rm -f conftest.err conftest.i conftest.$ac_ext
4616 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4617 rm -f conftest.i conftest.err conftest.$ac_ext
4618 if $ac_preproc_ok; then :
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4631 $as_echo "$CPP" >&6; }
4633 for ac_c_preproc_warn_flag in '' yes
4635 # Use a header file that comes with gcc, so configuring glibc
4636 # with a fresh cross-compiler works.
4637 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4638 # <limits.h> exists even on freestanding compilers.
4639 # On the NeXT, cc -E runs the code through the compiler's parser,
4640 # not just through cpp. "Syntax error" is here to catch this case.
4641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4642 /* end confdefs.h. */
4644 # include <limits.h>
4646 # include <assert.h>
4650 if ac_fn_c_try_cpp "$LINENO"; then :
4653 # Broken: fails on valid input.
4656 rm -f conftest.err conftest.i conftest.$ac_ext
4658 # OK, works on sane cases. Now check whether nonexistent headers
4659 # can be detected and how.
4660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4661 /* end confdefs.h. */
4662 #include <ac_nonexistent.h>
4664 if ac_fn_c_try_cpp "$LINENO"; then :
4665 # Broken: success on invalid input.
4668 # Passes both tests.
4672 rm -f conftest.err conftest.i conftest.$ac_ext
4675 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4676 rm -f conftest.i conftest.err conftest.$ac_ext
4677 if $ac_preproc_ok; then :
4680 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4681 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4682 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4683 See \`config.log' for more details" "$LINENO" 5; }
4687 ac_cpp='$CPP $CPPFLAGS'
4688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4694 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4695 if ${ac_cv_path_GREP+:} false; then :
4696 $as_echo_n "(cached) " >&6
4698 if test -z "$GREP"; then
4699 ac_path_GREP_found=false
4700 # Loop through the user's path and test for each of PROGNAME-LIST
4701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4702 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4705 test -z "$as_dir" && as_dir=.
4706 for ac_prog in grep ggrep; do
4707 for ac_exec_ext in '' $ac_executable_extensions; do
4708 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4709 as_fn_executable_p "$ac_path_GREP" || continue
4710 # Check for GNU ac_path_GREP and select it if it is found.
4711 # Check for GNU $ac_path_GREP
4712 case `"$ac_path_GREP" --version 2>&1` in
4714 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4717 $as_echo_n 0123456789 >"conftest.in"
4720 cat "conftest.in" "conftest.in" >"conftest.tmp"
4721 mv "conftest.tmp" "conftest.in"
4722 cp "conftest.in" "conftest.nl"
4723 $as_echo 'GREP' >> "conftest.nl"
4724 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4725 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4726 as_fn_arith $ac_count + 1 && ac_count=$as_val
4727 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4728 # Best one so far, save it but keep looking for a better one
4729 ac_cv_path_GREP="$ac_path_GREP"
4730 ac_path_GREP_max=$ac_count
4732 # 10*(2^10) chars as input seems more than enough
4733 test $ac_count -gt 10 && break
4735 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4738 $ac_path_GREP_found && break 3
4743 if test -z "$ac_cv_path_GREP"; then
4744 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4747 ac_cv_path_GREP=$GREP
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4752 $as_echo "$ac_cv_path_GREP" >&6; }
4753 GREP="$ac_cv_path_GREP"
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4757 $as_echo_n "checking for egrep... " >&6; }
4758 if ${ac_cv_path_EGREP+:} false; then :
4759 $as_echo_n "(cached) " >&6
4761 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4762 then ac_cv_path_EGREP="$GREP -E"
4764 if test -z "$EGREP"; then
4765 ac_path_EGREP_found=false
4766 # Loop through the user's path and test for each of PROGNAME-LIST
4767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4768 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4771 test -z "$as_dir" && as_dir=.
4772 for ac_prog in egrep; do
4773 for ac_exec_ext in '' $ac_executable_extensions; do
4774 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4775 as_fn_executable_p "$ac_path_EGREP" || continue
4776 # Check for GNU ac_path_EGREP and select it if it is found.
4777 # Check for GNU $ac_path_EGREP
4778 case `"$ac_path_EGREP" --version 2>&1` in
4780 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4783 $as_echo_n 0123456789 >"conftest.in"
4786 cat "conftest.in" "conftest.in" >"conftest.tmp"
4787 mv "conftest.tmp" "conftest.in"
4788 cp "conftest.in" "conftest.nl"
4789 $as_echo 'EGREP' >> "conftest.nl"
4790 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4791 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4792 as_fn_arith $ac_count + 1 && ac_count=$as_val
4793 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4794 # Best one so far, save it but keep looking for a better one
4795 ac_cv_path_EGREP="$ac_path_EGREP"
4796 ac_path_EGREP_max=$ac_count
4798 # 10*(2^10) chars as input seems more than enough
4799 test $ac_count -gt 10 && break
4801 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4804 $ac_path_EGREP_found && break 3
4809 if test -z "$ac_cv_path_EGREP"; then
4810 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4813 ac_cv_path_EGREP=$EGREP
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4819 $as_echo "$ac_cv_path_EGREP" >&6; }
4820 EGREP="$ac_cv_path_EGREP"
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4824 $as_echo_n "checking for ANSI C header files... " >&6; }
4825 if ${ac_cv_header_stdc+:} false; then :
4826 $as_echo_n "(cached) " >&6
4828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4829 /* end confdefs.h. */
4843 if ac_fn_c_try_compile "$LINENO"; then :
4844 ac_cv_header_stdc=yes
4846 ac_cv_header_stdc=no
4848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4850 if test $ac_cv_header_stdc = yes; then
4851 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4853 /* end confdefs.h. */
4857 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4858 $EGREP "memchr" >/dev/null 2>&1; then :
4861 ac_cv_header_stdc=no
4867 if test $ac_cv_header_stdc = yes; then
4868 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4870 /* end confdefs.h. */
4874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4875 $EGREP "free" >/dev/null 2>&1; then :
4878 ac_cv_header_stdc=no
4884 if test $ac_cv_header_stdc = yes; then
4885 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4886 if test "$cross_compiling" = yes; then :
4889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4890 /* end confdefs.h. */
4893 #if ((' ' & 0x0FF) == 0x020)
4894 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4895 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4897 # define ISLOWER(c) \
4898 (('a' <= (c) && (c) <= 'i') \
4899 || ('j' <= (c) && (c) <= 'r') \
4900 || ('s' <= (c) && (c) <= 'z'))
4901 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4904 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4909 for (i = 0; i < 256; i++)
4910 if (XOR (islower (i), ISLOWER (i))
4911 || toupper (i) != TOUPPER (i))
4916 if ac_fn_c_try_run "$LINENO"; then :
4919 ac_cv_header_stdc=no
4921 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4922 conftest.$ac_objext conftest.beam conftest.$ac_ext
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4928 $as_echo "$ac_cv_header_stdc" >&6; }
4929 if test $ac_cv_header_stdc = yes; then
4931 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4935 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4936 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4937 inttypes.h stdint.h unistd.h
4939 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4940 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4942 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4943 cat >>confdefs.h <<_ACEOF
4944 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4953 for ac_header in locale.h
4955 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
4956 if test "x$ac_cv_header_locale_h" = xyes; then :
4957 cat >>confdefs.h <<_ACEOF
4958 #define HAVE_LOCALE_H 1
4965 if test $ac_cv_header_locale_h = yes; then
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
4967 $as_echo_n "checking for LC_MESSAGES... " >&6; }
4968 if ${am_cv_val_LC_MESSAGES+:} false; then :
4969 $as_echo_n "(cached) " >&6
4971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4972 /* end confdefs.h. */
4982 if ac_fn_c_try_link "$LINENO"; then :
4983 am_cv_val_LC_MESSAGES=yes
4985 am_cv_val_LC_MESSAGES=no
4987 rm -f core conftest.err conftest.$ac_objext \
4988 conftest$ac_exeext conftest.$ac_ext
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
4991 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
4992 if test $am_cv_val_LC_MESSAGES = yes; then
4994 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
5001 gt_cv_have_gettext=no
5007 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
5008 if test "x$ac_cv_header_libintl_h" = xyes; then :
5009 gt_cv_func_dgettext_libintl="no"
5010 libintl_extra_libs=""
5013 # First check in libc
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
5016 $as_echo_n "checking for ngettext in libc... " >&6; }
5017 if ${gt_cv_func_ngettext_libc+:} false; then :
5018 $as_echo_n "(cached) " >&6
5020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5021 /* end confdefs.h. */
5023 #include <libintl.h>
5028 return !ngettext ("","", 1)
5033 if ac_fn_c_try_link "$LINENO"; then :
5034 gt_cv_func_ngettext_libc=yes
5036 gt_cv_func_ngettext_libc=no
5038 rm -f core conftest.err conftest.$ac_objext \
5039 conftest$ac_exeext conftest.$ac_ext
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
5043 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
5045 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
5047 $as_echo_n "checking for dgettext in libc... " >&6; }
5048 if ${gt_cv_func_dgettext_libc+:} false; then :
5049 $as_echo_n "(cached) " >&6
5051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5052 /* end confdefs.h. */
5054 #include <libintl.h>
5059 return !dgettext ("","")
5064 if ac_fn_c_try_link "$LINENO"; then :
5065 gt_cv_func_dgettext_libc=yes
5067 gt_cv_func_dgettext_libc=no
5069 rm -f core conftest.err conftest.$ac_objext \
5070 conftest$ac_exeext conftest.$ac_ext
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
5074 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
5077 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5078 for ac_func in bind_textdomain_codeset
5080 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5081 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
5082 cat >>confdefs.h <<_ACEOF
5083 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
5092 # If we don't have everything we want, check in libintl
5094 if test "$gt_cv_func_dgettext_libc" != "yes" \
5095 || test "$gt_cv_func_ngettext_libc" != "yes" \
5096 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
5099 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
5100 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
5101 $as_echo_n "(cached) " >&6
5103 ac_check_lib_save_LIBS=$LIBS
5105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5106 /* end confdefs.h. */
5108 /* Override any GCC internal prototype to avoid an error.
5109 Use char because int might match the return type of a GCC
5110 builtin and then its argument prototype would still apply. */
5114 char bindtextdomain ();
5118 return bindtextdomain ();
5123 if ac_fn_c_try_link "$LINENO"; then :
5124 ac_cv_lib_intl_bindtextdomain=yes
5126 ac_cv_lib_intl_bindtextdomain=no
5128 rm -f core conftest.err conftest.$ac_objext \
5129 conftest$ac_exeext conftest.$ac_ext
5130 LIBS=$ac_check_lib_save_LIBS
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
5133 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
5134 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5136 $as_echo_n "checking for ngettext in -lintl... " >&6; }
5137 if ${ac_cv_lib_intl_ngettext+:} false; then :
5138 $as_echo_n "(cached) " >&6
5140 ac_check_lib_save_LIBS=$LIBS
5142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5143 /* end confdefs.h. */
5145 /* Override any GCC internal prototype to avoid an error.
5146 Use char because int might match the return type of a GCC
5147 builtin and then its argument prototype would still apply. */
5160 if ac_fn_c_try_link "$LINENO"; then :
5161 ac_cv_lib_intl_ngettext=yes
5163 ac_cv_lib_intl_ngettext=no
5165 rm -f core conftest.err conftest.$ac_objext \
5166 conftest$ac_exeext conftest.$ac_ext
5167 LIBS=$ac_check_lib_save_LIBS
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5170 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5171 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
5173 $as_echo_n "checking for dgettext in -lintl... " >&6; }
5174 if ${ac_cv_lib_intl_dgettext+:} false; then :
5175 $as_echo_n "(cached) " >&6
5177 ac_check_lib_save_LIBS=$LIBS
5179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5180 /* end confdefs.h. */
5182 /* Override any GCC internal prototype to avoid an error.
5183 Use char because int might match the return type of a GCC
5184 builtin and then its argument prototype would still apply. */
5197 if ac_fn_c_try_link "$LINENO"; then :
5198 ac_cv_lib_intl_dgettext=yes
5200 ac_cv_lib_intl_dgettext=no
5202 rm -f core conftest.err conftest.$ac_objext \
5203 conftest$ac_exeext conftest.$ac_ext
5204 LIBS=$ac_check_lib_save_LIBS
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
5207 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
5208 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
5209 gt_cv_func_dgettext_libintl=yes
5217 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
5219 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5223 $as_echo_n "checking for ngettext in -lintl... " >&6; }
5224 if ${ac_cv_lib_intl_ngettext+:} false; then :
5225 $as_echo_n "(cached) " >&6
5227 ac_check_lib_save_LIBS=$LIBS
5228 LIBS="-lintl -liconv $LIBS"
5229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5230 /* end confdefs.h. */
5232 /* Override any GCC internal prototype to avoid an error.
5233 Use char because int might match the return type of a GCC
5234 builtin and then its argument prototype would still apply. */
5247 if ac_fn_c_try_link "$LINENO"; then :
5248 ac_cv_lib_intl_ngettext=yes
5250 ac_cv_lib_intl_ngettext=no
5252 rm -f core conftest.err conftest.$ac_objext \
5253 conftest$ac_exeext conftest.$ac_ext
5254 LIBS=$ac_check_lib_save_LIBS
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5257 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5258 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
5260 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
5261 if ${ac_cv_lib_intl_dcgettext+:} false; then :
5262 $as_echo_n "(cached) " >&6
5264 ac_check_lib_save_LIBS=$LIBS
5265 LIBS="-lintl -liconv $LIBS"
5266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5267 /* end confdefs.h. */
5269 /* Override any GCC internal prototype to avoid an error.
5270 Use char because int might match the return type of a GCC
5271 builtin and then its argument prototype would still apply. */
5279 return dcgettext ();
5284 if ac_fn_c_try_link "$LINENO"; then :
5285 ac_cv_lib_intl_dcgettext=yes
5287 ac_cv_lib_intl_dcgettext=no
5289 rm -f core conftest.err conftest.$ac_objext \
5290 conftest$ac_exeext conftest.$ac_ext
5291 LIBS=$ac_check_lib_save_LIBS
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
5294 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
5295 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
5296 gt_cv_func_dgettext_libintl=yes
5297 libintl_extra_libs=-liconv
5309 # If we found libintl, then check in it for bind_textdomain_codeset();
5310 # we'll prefer libc if neither have bind_textdomain_codeset(),
5311 # and both have dgettext and ngettext
5313 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
5314 glib_save_LIBS="$LIBS"
5315 LIBS="$LIBS -lintl $libintl_extra_libs"
5316 unset ac_cv_func_bind_textdomain_codeset
5317 for ac_func in bind_textdomain_codeset
5319 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5320 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
5321 cat >>confdefs.h <<_ACEOF
5322 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
5328 LIBS="$glib_save_LIBS"
5330 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
5331 gt_cv_func_dgettext_libc=no
5333 if test "$gt_cv_func_dgettext_libc" = "yes" \
5334 && test "$gt_cv_func_ngettext_libc" = "yes"; then
5335 gt_cv_func_dgettext_libintl=no
5341 if test "$gt_cv_func_dgettext_libc" = "yes" \
5342 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
5343 gt_cv_have_gettext=yes
5346 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
5347 INTLLIBS="-lintl $libintl_extra_libs"
5350 if test "$gt_cv_have_gettext" = "yes"; then
5352 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
5354 # Extract the first word of "msgfmt", so it can be a program name with args.
5355 set dummy msgfmt; ac_word=$2
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5357 $as_echo_n "checking for $ac_word... " >&6; }
5358 if ${ac_cv_path_MSGFMT+:} false; then :
5359 $as_echo_n "(cached) " >&6
5363 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5366 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5367 for ac_dir in $PATH; do
5368 test -z "$ac_dir" && ac_dir=.
5369 if test -f $ac_dir/$ac_word; then
5370 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5371 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
5377 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
5381 MSGFMT="$ac_cv_path_MSGFMT"
5382 if test "$MSGFMT" != "no"; then
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5384 $as_echo "$MSGFMT" >&6; }
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5387 $as_echo "no" >&6; }
5389 if test "$MSGFMT" != "no"; then
5390 glib_save_LIBS="$LIBS"
5391 LIBS="$LIBS $INTLLIBS"
5392 for ac_func in dcgettext
5394 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
5395 if test "x$ac_cv_func_dcgettext" = xyes; then :
5396 cat >>confdefs.h <<_ACEOF
5397 #define HAVE_DCGETTEXT 1
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
5405 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
5406 cat >conftest.foo <<_ACEOF
5410 "Content-Type: text/plain; charset=UTF-8\n"
5411 "Project-Id-Version: test 1.0\n"
5412 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
5413 "Last-Translator: test <foo@bar.xx>\n"
5414 "Language-Team: C <LL@li.org>\n"
5415 "MIME-Version: 1.0\n"
5416 "Content-Transfer-Encoding: 8bit\n"
5419 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
5420 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
5422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5423 test $ac_status = 0; }; then
5424 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5425 $as_echo "yes" >&6; }
5426 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5427 $as_echo "no" >&6; }
5428 echo "$as_me: failed input was:" >&5
5429 sed 's/^/| /' conftest.foo >&5
5432 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5433 set dummy gmsgfmt; ac_word=$2
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5435 $as_echo_n "checking for $ac_word... " >&6; }
5436 if ${ac_cv_path_GMSGFMT+:} false; then :
5437 $as_echo_n "(cached) " >&6
5441 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5448 test -z "$as_dir" && as_dir=.
5449 for ac_exec_ext in '' $ac_executable_extensions; do
5450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5451 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5459 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5463 GMSGFMT=$ac_cv_path_GMSGFMT
5464 if test -n "$GMSGFMT"; then
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5466 $as_echo "$GMSGFMT" >&6; }
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5469 $as_echo "no" >&6; }
5473 # Extract the first word of "xgettext", so it can be a program name with args.
5474 set dummy xgettext; ac_word=$2
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5476 $as_echo_n "checking for $ac_word... " >&6; }
5477 if ${ac_cv_path_XGETTEXT+:} false; then :
5478 $as_echo_n "(cached) " >&6
5482 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5485 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5486 for ac_dir in $PATH; do
5487 test -z "$ac_dir" && ac_dir=.
5488 if test -f $ac_dir/$ac_word; then
5489 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5490 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
5496 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5500 XGETTEXT="$ac_cv_path_XGETTEXT"
5501 if test "$XGETTEXT" != ":"; then
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5503 $as_echo "$XGETTEXT" >&6; }
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5506 $as_echo "no" >&6; }
5509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5510 /* end confdefs.h. */
5515 extern int _nl_msg_cat_cntr;
5516 return _nl_msg_cat_cntr
5521 if ac_fn_c_try_link "$LINENO"; then :
5527 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5528 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
5547 rm -f core conftest.err conftest.$ac_objext \
5548 conftest$ac_exeext conftest.$ac_ext
5549 LIBS="$glib_save_LIBS"
5552 gt_cv_have_gettext=no
5560 if test "$gt_cv_have_gettext" = "yes" ; then
5562 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
5566 if test "$XGETTEXT" != ":"; then
5567 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
5571 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
5576 # We need to process the po/ directory.
5579 ac_config_commands="$ac_config_commands default-1"
5582 for lang in $ALL_LINGUAS; do
5583 GMOFILES="$GMOFILES $lang.gmo"
5584 POFILES="$POFILES $lang.po"
5599 if test "$gt_cv_have_gettext" = "yes"; then
5600 if test "x$ALL_LINGUAS" = "x"; then
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
5604 $as_echo_n "checking for catalogs to be installed... " >&6; }
5606 for presentlang in $ALL_LINGUAS; do
5608 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
5609 desiredlanguages="$LINGUAS"
5611 desiredlanguages="$ALL_LINGUAS"
5613 for desiredlang in $desiredlanguages; do
5614 # Use the presentlang catalog if desiredlang is
5615 # a. equal to presentlang, or
5616 # b. a variant of presentlang (because in this case,
5617 # presentlang can be used as a fallback for messages
5618 # which are not translated in the desiredlang catalog).
5619 case "$desiredlang" in
5620 "$presentlang"*) useit=yes;;
5623 if test $useit = yes; then
5624 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
5627 LINGUAS=$NEW_LINGUAS
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
5629 $as_echo "$LINGUAS" >&6; }
5632 if test -n "$LINGUAS"; then
5633 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
5638 if test -n "$ac_aux_dir"; then
5639 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
5641 if test -z "$MKINSTALLDIRS"; then
5642 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
5646 test -d po || mkdir po
5647 if test "x$srcdir" != "x."; then
5648 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
5649 posrcprefix="$srcdir/"
5651 posrcprefix="../$srcdir/"
5657 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
5658 < $srcdir/po/POTFILES.in > po/POTFILES
5661 for ac_func in fdatasync
5663 ac_fn_c_check_func "$LINENO" "fdatasync" "ac_cv_func_fdatasync"
5664 if test "x$ac_cv_func_fdatasync" = xyes; then :
5665 cat >>confdefs.h <<_ACEOF
5666 #define HAVE_FDATASYNC 1
5673 if test $cross_compiling = yes; then
5674 CROSS_COMPILING_TRUE=
5675 CROSS_COMPILING_FALSE='#'
5677 CROSS_COMPILING_TRUE='#'
5678 CROSS_COMPILING_FALSE=
5689 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5690 if test -n "$ac_tool_prefix"; then
5691 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5692 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5694 $as_echo_n "checking for $ac_word... " >&6; }
5695 if ${ac_cv_path_PKG_CONFIG+:} false; then :
5696 $as_echo_n "(cached) " >&6
5700 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5707 test -z "$as_dir" && as_dir=.
5708 for ac_exec_ext in '' $ac_executable_extensions; do
5709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5710 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5721 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5722 if test -n "$PKG_CONFIG"; then
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5724 $as_echo "$PKG_CONFIG" >&6; }
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5727 $as_echo "no" >&6; }
5732 if test -z "$ac_cv_path_PKG_CONFIG"; then
5733 ac_pt_PKG_CONFIG=$PKG_CONFIG
5734 # Extract the first word of "pkg-config", so it can be a program name with args.
5735 set dummy pkg-config; ac_word=$2
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5737 $as_echo_n "checking for $ac_word... " >&6; }
5738 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
5739 $as_echo_n "(cached) " >&6
5741 case $ac_pt_PKG_CONFIG in
5743 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5750 test -z "$as_dir" && as_dir=.
5751 for ac_exec_ext in '' $ac_executable_extensions; do
5752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5753 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5764 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5765 if test -n "$ac_pt_PKG_CONFIG"; then
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5767 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5770 $as_echo "no" >&6; }
5773 if test "x$ac_pt_PKG_CONFIG" = x; then
5776 case $cross_compiling:$ac_tool_warned in
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5779 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5780 ac_tool_warned=yes ;;
5782 PKG_CONFIG=$ac_pt_PKG_CONFIG
5785 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5789 if test -n "$PKG_CONFIG"; then
5790 _pkg_min_version=0.9.0
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5792 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5793 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5795 $as_echo "yes" >&6; }
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5798 $as_echo "no" >&6; }
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALL" >&5
5805 $as_echo_n "checking for ALL... " >&6; }
5807 if test -n "$ALL_CFLAGS"; then
5808 pkg_cv_ALL_CFLAGS="$ALL_CFLAGS"
5809 elif test -n "$PKG_CONFIG"; then
5810 if test -n "$PKG_CONFIG" && \
5811 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
5812 libxml-2.0 >= 2.4 \\
5813 glib-2.0 >= 2.6.0\""; } >&5
5814 ($PKG_CONFIG --exists --print-errors "\
5816 glib-2.0 >= 2.6.0") 2>&5
5818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5819 test $ac_status = 0; }; then
5820 pkg_cv_ALL_CFLAGS=`$PKG_CONFIG --cflags "\
5822 glib-2.0 >= 2.6.0" 2>/dev/null`
5823 test "x$?" != "x0" && pkg_failed=yes
5830 if test -n "$ALL_LIBS"; then
5831 pkg_cv_ALL_LIBS="$ALL_LIBS"
5832 elif test -n "$PKG_CONFIG"; then
5833 if test -n "$PKG_CONFIG" && \
5834 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
5835 libxml-2.0 >= 2.4 \\
5836 glib-2.0 >= 2.6.0\""; } >&5
5837 ($PKG_CONFIG --exists --print-errors "\
5839 glib-2.0 >= 2.6.0") 2>&5
5841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5842 test $ac_status = 0; }; then
5843 pkg_cv_ALL_LIBS=`$PKG_CONFIG --libs "\
5845 glib-2.0 >= 2.6.0" 2>/dev/null`
5846 test "x$?" != "x0" && pkg_failed=yes
5856 if test $pkg_failed = yes; then
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5858 $as_echo "no" >&6; }
5860 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5861 _pkg_short_errors_supported=yes
5863 _pkg_short_errors_supported=no
5865 if test $_pkg_short_errors_supported = yes; then
5866 ALL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
5868 glib-2.0 >= 2.6.0" 2>&1`
5870 ALL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
5872 glib-2.0 >= 2.6.0" 2>&1`
5874 # Put the nasty error message in config.log where it belongs
5875 echo "$ALL_PKG_ERRORS" >&5
5877 as_fn_error $? "Package requirements (\
5879 glib-2.0 >= 2.6.0) were not met:
5883 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5884 installed software in a non-standard prefix.
5886 Alternatively, you may set the environment variables ALL_CFLAGS
5887 and ALL_LIBS to avoid the need to call pkg-config.
5888 See the pkg-config man page for more details." "$LINENO" 5
5889 elif test $pkg_failed = untried; then
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5891 $as_echo "no" >&6; }
5892 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5893 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5894 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
5895 is in your PATH or set the PKG_CONFIG environment variable to the full
5898 Alternatively, you may set the environment variables ALL_CFLAGS
5899 and ALL_LIBS to avoid the need to call pkg-config.
5900 See the pkg-config man page for more details.
5902 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5903 See \`config.log' for more details" "$LINENO" 5; }
5905 ALL_CFLAGS=$pkg_cv_ALL_CFLAGS
5906 ALL_LIBS=$pkg_cv_ALL_LIBS
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5908 $as_echo "yes" >&6; }
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
5917 $as_echo_n "checking for GIO... " >&6; }
5919 if test -n "$GIO_CFLAGS"; then
5920 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
5921 elif test -n "$PKG_CONFIG"; then
5922 if test -n "$PKG_CONFIG" && \
5923 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
5924 ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
5926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5927 test $ac_status = 0; }; then
5928 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0" 2>/dev/null`
5929 test "x$?" != "x0" && pkg_failed=yes
5936 if test -n "$GIO_LIBS"; then
5937 pkg_cv_GIO_LIBS="$GIO_LIBS"
5938 elif test -n "$PKG_CONFIG"; then
5939 if test -n "$PKG_CONFIG" && \
5940 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
5941 ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
5943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5944 test $ac_status = 0; }; then
5945 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0" 2>/dev/null`
5946 test "x$?" != "x0" && pkg_failed=yes
5956 if test $pkg_failed = yes; then
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5958 $as_echo "no" >&6; }
5960 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5961 _pkg_short_errors_supported=yes
5963 _pkg_short_errors_supported=no
5965 if test $_pkg_short_errors_supported = yes; then
5966 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0" 2>&1`
5968 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0" 2>&1`
5970 # Put the nasty error message in config.log where it belongs
5971 echo "$GIO_PKG_ERRORS" >&5
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5974 $as_echo "no" >&6; }
5975 elif test $pkg_failed = untried; then
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5977 $as_echo "no" >&6; }
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5979 $as_echo "no" >&6; }
5981 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
5982 GIO_LIBS=$pkg_cv_GIO_LIBS
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5984 $as_echo "yes" >&6; }
5988 if test "x$HAVE_GIO" = "xyes"; then
5998 if test "x$GCC" = "xyes"; then
6000 *[\ \ ]-Wall[\ \ ]*) ;;
6001 *) CFLAGS="$CFLAGS -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings" ;;
6006 # Check whether --enable-default-make-check was given.
6007 if test "${enable_default_make_check+set}" = set; then :
6008 enableval=$enable_default_make_check;
6010 enable_default_make_check=yes
6013 if test x$enable_default_make_check = xyes; then
6014 ENABLE_DEFAULT_MAKE_CHECK_TRUE=
6015 ENABLE_DEFAULT_MAKE_CHECK_FALSE='#'
6017 ENABLE_DEFAULT_MAKE_CHECK_TRUE='#'
6018 ENABLE_DEFAULT_MAKE_CHECK_FALSE=
6022 # Check whether --enable-update-mimedb was given.
6023 if test "${enable_update_mimedb+set}" = set; then :
6024 enableval=$enable_update_mimedb;
6026 enable_update_mimedb=yes
6030 if test $cross_compiling = yes && test x$enable_update_mimedb = xyes; then
6031 # Extract the first word of "update-mime-database", so it can be a program name with args.
6032 set dummy update-mime-database; ac_word=$2
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6034 $as_echo_n "checking for $ac_word... " >&6; }
6035 if ${ac_cv_path_UPDATE_MIME_DATABASE+:} false; then :
6036 $as_echo_n "(cached) " >&6
6038 case $UPDATE_MIME_DATABASE in
6040 ac_cv_path_UPDATE_MIME_DATABASE="$UPDATE_MIME_DATABASE" # Let the user override the test with a path.
6043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6047 test -z "$as_dir" && as_dir=.
6048 for ac_exec_ext in '' $ac_executable_extensions; do
6049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6050 ac_cv_path_UPDATE_MIME_DATABASE="$as_dir/$ac_word$ac_exec_ext"
6051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6058 test -z "$ac_cv_path_UPDATE_MIME_DATABASE" && ac_cv_path_UPDATE_MIME_DATABASE="no"
6062 UPDATE_MIME_DATABASE=$ac_cv_path_UPDATE_MIME_DATABASE
6063 if test -n "$UPDATE_MIME_DATABASE"; then
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_MIME_DATABASE" >&5
6065 $as_echo "$UPDATE_MIME_DATABASE" >&6; }
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6068 $as_echo "no" >&6; }
6072 if test x$UPDATE_MIME_DATABASE = xno; then
6073 enable_update_mimedb=no
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find the update-mime-database program in your PATH. Your mime database will not be updated upon install." >&5
6075 $as_echo "$as_me: WARNING: Could not find the update-mime-database program in your PATH. Your mime database will not be updated upon install." >&2;}
6079 if test x$enable_update_mimedb = xyes; then
6080 ENABLE_UPDATE_MIMEDB_TRUE=
6081 ENABLE_UPDATE_MIMEDB_FALSE='#'
6083 ENABLE_UPDATE_MIMEDB_TRUE='#'
6084 ENABLE_UPDATE_MIMEDB_FALSE=
6088 # Extract the first word of "xmllint", so it can be a program name with args.
6089 set dummy xmllint; ac_word=$2
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6091 $as_echo_n "checking for $ac_word... " >&6; }
6092 if ${ac_cv_path_XMLLINT+:} false; then :
6093 $as_echo_n "(cached) " >&6
6097 ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path.
6100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6104 test -z "$as_dir" && as_dir=.
6105 for ac_exec_ext in '' $ac_executable_extensions; do
6106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6107 ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"
6108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6118 XMLLINT=$ac_cv_path_XMLLINT
6119 if test -n "$XMLLINT"; then
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
6121 $as_echo "$XMLLINT" >&6; }
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6124 $as_echo "no" >&6; }
6129 ac_config_files="$ac_config_files Makefile shared-mime-info.pc po/Makefile.in"
6132 cat >confcache <<\_ACEOF
6133 # This file is a shell script that caches the results of configure
6134 # tests run on this system so they can be shared between configure
6135 # scripts and configure runs, see configure's option --config-cache.
6136 # It is not useful on other systems. If it contains results you don't
6137 # want to keep, you may remove or edit it.
6139 # config.status only pays attention to the cache file if you give it
6140 # the --recheck option to rerun configure.
6142 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6143 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6148 # The following way of writing the cache mishandles newlines in values,
6149 # but we know of no workaround that is simple, portable, and efficient.
6150 # So, we kill variables containing newlines.
6151 # Ultrix sh set writes to stderr and can't be redirected directly,
6152 # and sets the high bit in the cache file unless we assign to the vars.
6154 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6155 eval ac_val=\$$ac_var
6159 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6160 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6163 _ | IFS | as_nl) ;; #(
6164 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6165 *) { eval $ac_var=; unset $ac_var;} ;;
6171 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6172 *${as_nl}ac_space=\ *)
6173 # `set' does not quote correctly, so add quotes: double-quote
6174 # substitution turns \\\\ into \\, and sed turns \\ into \.
6177 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6180 # `set' quotes correctly as required by POSIX, so do not add quotes.
6181 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6190 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6192 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6194 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6195 if test -w "$cache_file"; then
6196 if test "x$cache_file" != "x/dev/null"; then
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6198 $as_echo "$as_me: updating cache $cache_file" >&6;}
6199 if test ! -f "$cache_file" || test -h "$cache_file"; then
6200 cat confcache >"$cache_file"
6202 case $cache_file in #(
6204 mv -f confcache "$cache_file"$$ &&
6205 mv -f "$cache_file"$$ "$cache_file" ;; #(
6207 mv -f confcache "$cache_file" ;;
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6213 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6218 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6219 # Let make expand exec_prefix.
6220 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6222 DEFS=-DHAVE_CONFIG_H
6227 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6228 # 1. Remove the extension, and $U if already installed.
6229 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6230 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6231 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6232 # will be set to the directory where LIBOBJS objects are built.
6233 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6234 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6238 LTLIBOBJS=$ac_ltlibobjs
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6242 $as_echo_n "checking that generated files are newer than configure... " >&6; }
6243 if test -n "$am_sleep_pid"; then
6244 # Hide warnings about reused PIDs.
6245 wait $am_sleep_pid 2>/dev/null
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6248 $as_echo "done" >&6; }
6249 if test -n "$EXEEXT"; then
6251 am__EXEEXT_FALSE='#'
6257 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6258 as_fn_error $? "conditional \"AMDEP\" was never defined.
6259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6261 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6262 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6266 ac_config_commands="$ac_config_commands po/stamp-it"
6269 if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
6270 as_fn_error $? "conditional \"CROSS_COMPILING\" was never defined.
6271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6273 if test -z "${HAVE_GIO_TRUE}" && test -z "${HAVE_GIO_FALSE}"; then
6274 as_fn_error $? "conditional \"HAVE_GIO\" was never defined.
6275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6277 if test -z "${ENABLE_DEFAULT_MAKE_CHECK_TRUE}" && test -z "${ENABLE_DEFAULT_MAKE_CHECK_FALSE}"; then
6278 as_fn_error $? "conditional \"ENABLE_DEFAULT_MAKE_CHECK\" was never defined.
6279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6281 if test -z "${ENABLE_UPDATE_MIMEDB_TRUE}" && test -z "${ENABLE_UPDATE_MIMEDB_FALSE}"; then
6282 as_fn_error $? "conditional \"ENABLE_UPDATE_MIMEDB\" was never defined.
6283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6286 : "${CONFIG_STATUS=./config.status}"
6288 ac_clean_files_save=$ac_clean_files
6289 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6291 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6293 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6295 # Generated by $as_me.
6296 # Run this file to recreate the current configuration.
6297 # Compiler output produced by configure, useful for debugging
6298 # configure, is in config.log if it exists.
6304 SHELL=\${CONFIG_SHELL-$SHELL}
6307 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6308 ## -------------------- ##
6309 ## M4sh Initialization. ##
6310 ## -------------------- ##
6312 # Be more Bourne compatible
6313 DUALCASE=1; export DUALCASE # for MKS sh
6314 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6317 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6318 # is contrary to our usage. Disable this feature.
6319 alias -g '${1+"$@"}'='"$@"'
6320 setopt NO_GLOB_SUBST
6322 case `(set -o) 2>/dev/null` in #(
6334 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6335 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6336 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6337 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6338 # Prefer a ksh shell builtin over an external printf program on Solaris,
6339 # but without wasting forks for bash or zsh.
6340 if test -z "$BASH_VERSION$ZSH_VERSION" \
6341 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6342 as_echo='print -r --'
6343 as_echo_n='print -rn --'
6344 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6345 as_echo='printf %s\n'
6346 as_echo_n='printf %s'
6348 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6349 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6350 as_echo_n='/usr/ucb/echo -n'
6352 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6353 as_echo_n_body='eval
6357 expr "X$arg" : "X\\(.*\\)$as_nl";
6358 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6360 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6362 export as_echo_n_body
6363 as_echo_n='sh -c $as_echo_n_body as_echo'
6366 as_echo='sh -c $as_echo_body as_echo'
6369 # The user is always right.
6370 if test "${PATH_SEPARATOR+set}" != set; then
6372 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6373 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6380 # We need space, tab and new line, in precisely that order. Quoting is
6381 # there to prevent editors from complaining about space-tab.
6382 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6383 # splitting by setting IFS to empty value.)
6386 # Find who we are. Look in the path if we contain no directory separator.
6389 *[\\/]* ) as_myself=$0 ;;
6390 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6394 test -z "$as_dir" && as_dir=.
6395 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6401 # We did not find ourselves, most probably we were run as `sh COMMAND'
6402 # in which case we are not to be found in the path.
6403 if test "x$as_myself" = x; then
6406 if test ! -f "$as_myself"; then
6407 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6411 # Unset variables that we do not need and which cause bugs (e.g. in
6412 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6413 # suppresses any "Segmentation fault" message there. '((' could
6414 # trigger a bug in pdksh 5.2.14.
6415 for as_var in BASH_ENV ENV MAIL MAILPATH
6416 do eval test x\${$as_var+set} = xset \
6417 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6430 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6433 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6434 # ----------------------------------------
6435 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6436 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6437 # script with STATUS, using 1 if that was 0.
6440 as_status=$1; test $as_status -eq 0 && as_status=1
6442 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6443 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6445 $as_echo "$as_me: error: $2" >&2
6446 as_fn_exit $as_status
6450 # as_fn_set_status STATUS
6451 # -----------------------
6452 # Set $? to STATUS, without forking.
6456 } # as_fn_set_status
6460 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6470 # Portably unset VAR.
6473 { eval $1=; unset $1;}
6475 as_unset=as_fn_unset
6476 # as_fn_append VAR VALUE
6477 # ----------------------
6478 # Append the text in VALUE to the end of the definition contained in VAR. Take
6479 # advantage of any shell optimizations that allow amortized linear growth over
6480 # repeated appends, instead of the typical quadratic growth present in naive
6482 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6483 eval 'as_fn_append ()
6494 # as_fn_arith ARG...
6495 # ------------------
6496 # Perform arithmetic evaluation on the ARGs, and store the result in the
6497 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6498 # must be portable across $(()) and expr.
6499 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6500 eval 'as_fn_arith ()
6507 as_val=`expr "$@" || test $? -eq 1`
6512 if expr a : '\(a\)' >/dev/null 2>&1 &&
6513 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6519 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6520 as_basename=basename
6525 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6531 as_me=`$as_basename -- "$0" ||
6532 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6533 X"$0" : 'X\(//\)$' \| \
6534 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6536 sed '/^.*\/\([^/][^/]*\)\/*$/{
6550 # Avoid depending upon Character Ranges.
6551 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6552 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6553 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6554 as_cr_digits='0123456789'
6555 as_cr_alnum=$as_cr_Letters$as_cr_digits
6557 ECHO_C= ECHO_N= ECHO_T=
6558 case `echo -n x` in #(((((
6560 case `echo 'xy\c'` in
6561 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6563 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6570 rm -f conf$$ conf$$.exe conf$$.file
6571 if test -d conf$$.dir; then
6572 rm -f conf$$.dir/conf$$.file
6575 mkdir conf$$.dir 2>/dev/null
6577 if (echo >conf$$.file) 2>/dev/null; then
6578 if ln -s conf$$.file conf$$ 2>/dev/null; then
6580 # ... but there are two gotchas:
6581 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6582 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6583 # In both cases, we have to default to `cp -pR'.
6584 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6586 elif ln conf$$.file conf$$ 2>/dev/null; then
6594 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6595 rmdir conf$$.dir 2>/dev/null
6600 # Create "$as_dir" as a directory, including parents if necessary.
6605 -*) as_dir=./$as_dir;;
6607 test -d "$as_dir" || eval $as_mkdir_p || {
6611 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6612 *) as_qdir=$as_dir;;
6614 as_dirs="'$as_qdir' $as_dirs"
6615 as_dir=`$as_dirname -- "$as_dir" ||
6616 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6617 X"$as_dir" : 'X\(//\)[^/]' \| \
6618 X"$as_dir" : 'X\(//\)$' \| \
6619 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6620 $as_echo X"$as_dir" |
6621 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6638 test -d "$as_dir" && break
6640 test -z "$as_dirs" || eval "mkdir $as_dirs"
6641 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6645 if mkdir -p . 2>/dev/null; then
6646 as_mkdir_p='mkdir -p "$as_dir"'
6648 test -d ./-p && rmdir ./-p
6653 # as_fn_executable_p FILE
6654 # -----------------------
6655 # Test if FILE is an executable regular file.
6656 as_fn_executable_p ()
6658 test -f "$1" && test -x "$1"
6659 } # as_fn_executable_p
6661 as_executable_p=as_fn_executable_p
6663 # Sed expression to map a string onto a valid CPP name.
6664 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6666 # Sed expression to map a string onto a valid variable name.
6667 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6671 ## ----------------------------------- ##
6672 ## Main body of $CONFIG_STATUS script. ##
6673 ## ----------------------------------- ##
6675 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6678 # Save the log message, to keep $0 and so on meaningful, and to
6679 # report actual input values of CONFIG_FILES etc. instead of their
6680 # values after options handling.
6682 This file was extended by shared-mime-info $as_me 1.5, which was
6683 generated by GNU Autoconf 2.69. Invocation command line was
6685 CONFIG_FILES = $CONFIG_FILES
6686 CONFIG_HEADERS = $CONFIG_HEADERS
6687 CONFIG_LINKS = $CONFIG_LINKS
6688 CONFIG_COMMANDS = $CONFIG_COMMANDS
6691 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6696 case $ac_config_files in *"
6697 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6700 case $ac_config_headers in *"
6701 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6705 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6706 # Files that config.status was made for.
6707 config_files="$ac_config_files"
6708 config_headers="$ac_config_headers"
6709 config_commands="$ac_config_commands"
6713 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6715 \`$as_me' instantiates files and other configuration actions
6716 from templates according to the current configuration. Unless the files
6717 and actions are specified as TAGs, all are instantiated by default.
6719 Usage: $0 [OPTION]... [TAG]...
6721 -h, --help print this help, then exit
6722 -V, --version print version number and configuration settings, then exit
6723 --config print configuration, then exit
6724 -q, --quiet, --silent
6725 do not print progress messages
6726 -d, --debug don't remove temporary files
6727 --recheck update $as_me by reconfiguring in the same conditions
6728 --file=FILE[:TEMPLATE]
6729 instantiate the configuration file FILE
6730 --header=FILE[:TEMPLATE]
6731 instantiate the configuration header FILE
6733 Configuration files:
6736 Configuration headers:
6739 Configuration commands:
6742 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=shared-mime-info>."
6745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6746 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6748 shared-mime-info config.status 1.5
6749 configured by $0, generated by GNU Autoconf 2.69,
6750 with options \\"\$ac_cs_config\\"
6752 Copyright (C) 2012 Free Software Foundation, Inc.
6753 This config.status script is free software; the Free Software Foundation
6754 gives unlimited permission to copy, distribute and modify it."
6761 test -n "\$AWK" || AWK=awk
6764 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6765 # The default lists apply if the user does not specify any file.
6771 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6772 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6776 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6788 # Handling of the options.
6789 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6791 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6792 $as_echo "$ac_cs_version"; exit ;;
6793 --config | --confi | --conf | --con | --co | --c )
6794 $as_echo "$ac_cs_config"; exit ;;
6795 --debug | --debu | --deb | --de | --d | -d )
6797 --file | --fil | --fi | --f )
6800 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6801 '') as_fn_error $? "missing file argument" ;;
6803 as_fn_append CONFIG_FILES " '$ac_optarg'"
6804 ac_need_defaults=false;;
6805 --header | --heade | --head | --hea )
6808 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6810 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6811 ac_need_defaults=false;;
6813 # Conflict between --help and --header
6814 as_fn_error $? "ambiguous option: \`$1'
6815 Try \`$0 --help' for more information.";;
6816 --help | --hel | -h )
6817 $as_echo "$ac_cs_usage"; exit ;;
6818 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6819 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6823 -*) as_fn_error $? "unrecognized option: \`$1'
6824 Try \`$0 --help' for more information." ;;
6826 *) as_fn_append ac_config_targets " $1"
6827 ac_need_defaults=false ;;
6833 ac_configure_extra_args=
6835 if $ac_cs_silent; then
6837 ac_configure_extra_args="$ac_configure_extra_args --silent"
6841 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6842 if \$ac_cs_recheck; then
6843 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6845 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6846 CONFIG_SHELL='$SHELL'
6852 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6856 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6857 ## Running $as_me. ##
6863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6867 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6872 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6874 # Handling of arguments.
6875 for ac_config_target in $ac_config_targets
6877 case $ac_config_target in
6878 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6879 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6880 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
6881 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6882 "shared-mime-info.pc") CONFIG_FILES="$CONFIG_FILES shared-mime-info.pc" ;;
6883 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
6884 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
6886 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6891 # If the user did not use the arguments to specify the items to instantiate,
6892 # then the envvar interface is used. Set only those that are not.
6893 # We use the long form for the default assignment because of an extremely
6894 # bizarre bug on SunOS 4.1.3.
6895 if $ac_need_defaults; then
6896 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6897 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6898 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6901 # Have a temporary directory for convenience. Make it in the build tree
6902 # simply because there is no reason against having it here, and in addition,
6903 # creating and moving files from /tmp can sometimes cause problems.
6904 # Hook for its removal unless debugging.
6905 # Note that there is a small window in which the directory will not be cleaned:
6906 # after its creation but before its name has been assigned to `$tmp'.
6910 trap 'exit_status=$?
6912 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6914 trap 'as_fn_exit 1' 1 2 13 15
6916 # Create a (secure) tmp directory for tmp files.
6919 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6923 tmp=./conf$$-$RANDOM
6924 (umask 077 && mkdir "$tmp")
6925 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6928 # Set up the scripts for CONFIG_FILES section.
6929 # No need to generate them if there are no CONFIG_FILES.
6930 # This happens for instance with `./config.status config.h'.
6931 if test -n "$CONFIG_FILES"; then
6934 ac_cr=`echo X | tr X '\015'`
6935 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6936 # But we know of no other shell where ac_cr would be empty at this
6937 # point, so we can use a bashism as a fallback.
6938 if test "x$ac_cr" = x; then
6939 eval ac_cr=\$\'\\r\'
6941 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6942 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6948 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6953 echo "cat >conf$$subs.awk <<_ACEOF" &&
6954 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6957 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6958 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6960 for ac_last_try in false false false false false :; do
6961 . ./conf$$subs.sh ||
6962 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6964 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6965 if test $ac_delim_n = $ac_delim_num; then
6967 elif $ac_last_try; then
6968 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6970 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6976 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6980 s/^/S["/; s/!.*/"]=/
6990 s/\(.\{148\}\)..*/\1/
6992 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6997 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7004 s/\(.\{148\}\)..*/\1/
7006 s/["\\]/\\&/g; s/^/"/; s/$/"/
7010 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7015 ' <conf$$subs.awk | sed '
7020 ' >>$CONFIG_STATUS || ac_write_fail=1
7021 rm -f conf$$subs.awk
7022 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7024 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7025 for (key in S) S_is_set[key] = 1
7031 nfields = split(line, field, "@")
7033 len = length(field[1])
7034 for (i = 2; i < nfields; i++) {
7036 keylen = length(key)
7037 if (S_is_set[key]) {
7039 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7040 len += length(value) + length(field[++i])
7051 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7052 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7053 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7056 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7057 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7060 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7061 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7062 # trailing colons and then remove the whole line if VPATH becomes empty
7063 # (actually we leave an empty line to preserve line numbers).
7064 if test "x$srcdir" = x.; then
7065 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7083 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7084 fi # test -n "$CONFIG_FILES"
7086 # Set up the scripts for CONFIG_HEADERS section.
7087 # No need to generate them if there are no CONFIG_HEADERS.
7088 # This happens for instance with `./config.status Makefile'.
7089 if test -n "$CONFIG_HEADERS"; then
7090 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
7094 # Transform confdefs.h into an awk script `defines.awk', embedded as
7095 # here-document in config.status, that substitutes the proper values into
7096 # config.h.in to produce config.h.
7098 # Create a delimiter string that does not exist in confdefs.h, to ease
7099 # handling of long lines.
7101 for ac_last_try in false false :; do
7102 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
7103 if test -z "$ac_tt"; then
7105 elif $ac_last_try; then
7106 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7108 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7112 # For the awk script, D is an array of macro values keyed by name,
7113 # likewise P contains macro parameters if any. Preserve backslash
7114 # newline sequences.
7116 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7118 s/.\{148\}/&'"$ac_delim"'/g
7121 s/^[ ]*#[ ]*define[ ][ ]*/ /
7128 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7130 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7134 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7135 D["\1"]=" \3\\\\\\n"\\/p
7137 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7142 s/.\{148\}/&'"$ac_delim"'/g
7147 s/["\\]/\\&/g; s/^/"/; s/$/"/p
7150 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7152 ' <confdefs.h | sed '
7153 s/'"$ac_delim"'/"\\\
7154 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7156 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7157 for (key in D) D_is_set[key] = 1
7160 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7162 split(line, arg, " ")
7163 if (arg[1] == "#") {
7167 defundef = substr(arg[1], 2)
7170 split(mac1, mac2, "(") #)
7172 prefix = substr(line, 1, index(line, defundef) - 1)
7173 if (D_is_set[macro]) {
7174 # Preserve the white space surrounding the "#".
7175 print prefix "define", macro P[macro] D[macro]
7178 # Replace #undef with comments. This is necessary, for example,
7179 # in the case of _POSIX_SOURCE, which is predefined and required
7180 # on some systems where configure will not decide to define it.
7181 if (defundef == "undef") {
7182 print "/*", prefix defundef, macro, "*/"
7190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7191 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7192 fi # test -n "$CONFIG_HEADERS"
7195 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7200 :[FHLC]) ac_mode=$ac_tag; continue;;
7202 case $ac_mode$ac_tag in
7204 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7205 :[FH]-) ac_tag=-:-;;
7206 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7223 -) ac_f="$ac_tmp/stdin";;
7224 *) # Look for the file first in the build tree, then in the source tree
7225 # (if the path is not absolute). The absolute path cannot be DOS-style,
7226 # because $ac_f cannot contain `:'.
7230 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7232 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7234 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7235 as_fn_append ac_file_inputs " '$ac_f'"
7238 # Let's still pretend it is `configure' which instantiates (i.e., don't
7239 # use $as_me), people would be surprised to read:
7240 # /* config.h. Generated by config.status. */
7241 configure_input='Generated from '`
7242 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7244 if test x"$ac_file" != x-; then
7245 configure_input="$ac_file. $configure_input"
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7247 $as_echo "$as_me: creating $ac_file" >&6;}
7249 # Neutralize special characters interpreted by sed in replacement strings.
7250 case $configure_input in #(
7251 *\&* | *\|* | *\\* )
7252 ac_sed_conf_input=`$as_echo "$configure_input" |
7253 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7254 *) ac_sed_conf_input=$configure_input;;
7258 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7259 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7264 ac_dir=`$as_dirname -- "$ac_file" ||
7265 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7266 X"$ac_file" : 'X\(//\)[^/]' \| \
7267 X"$ac_file" : 'X\(//\)$' \| \
7268 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7269 $as_echo X"$ac_file" |
7270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7287 as_dir="$ac_dir"; as_fn_mkdir_p
7291 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7293 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7294 # A ".." for each directory in $ac_dir_suffix.
7295 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7296 case $ac_top_builddir_sub in
7297 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7298 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7301 ac_abs_top_builddir=$ac_pwd
7302 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7303 # for backward compatibility:
7304 ac_top_builddir=$ac_top_build_prefix
7307 .) # We are building in place.
7309 ac_top_srcdir=$ac_top_builddir_sub
7310 ac_abs_top_srcdir=$ac_pwd ;;
7311 [\\/]* | ?:[\\/]* ) # Absolute name.
7312 ac_srcdir=$srcdir$ac_dir_suffix;
7313 ac_top_srcdir=$srcdir
7314 ac_abs_top_srcdir=$srcdir ;;
7316 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7317 ac_top_srcdir=$ac_top_build_prefix$srcdir
7318 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7320 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7330 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7331 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7335 [\\/$]* | ?:[\\/]* ) ;;
7336 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7341 # If the template does not know about datarootdir, expand it.
7342 # FIXME: This hack should be removed a few years after 2.60.
7343 ac_datarootdir_hack=; ac_datarootdir_seen=
7354 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7355 *datarootdir*) ac_datarootdir_seen=yes;;
7356 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7358 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7360 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7361 ac_datarootdir_hack='
7362 s&@datadir@&$datadir&g
7363 s&@docdir@&$docdir&g
7364 s&@infodir@&$infodir&g
7365 s&@localedir@&$localedir&g
7366 s&@mandir@&$mandir&g
7367 s&\\\${datarootdir}&$datarootdir&g' ;;
7371 # Neutralize VPATH when `$srcdir' = `.'.
7372 # Shell code in configure.ac might set extrasub.
7373 # FIXME: do we really want to maintain this feature?
7374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7375 ac_sed_extra="$ac_vpsub
7378 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7380 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7381 s|@configure_input@|$ac_sed_conf_input|;t t
7382 s&@top_builddir@&$ac_top_builddir_sub&;t t
7383 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7384 s&@srcdir@&$ac_srcdir&;t t
7385 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7386 s&@top_srcdir@&$ac_top_srcdir&;t t
7387 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7388 s&@builddir@&$ac_builddir&;t t
7389 s&@abs_builddir@&$ac_abs_builddir&;t t
7390 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7391 s&@INSTALL@&$ac_INSTALL&;t t
7392 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7393 $ac_datarootdir_hack
7395 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7396 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7398 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7399 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7400 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7401 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7403 which seems to be undefined. Please make sure it is defined" >&5
7404 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7405 which seems to be undefined. Please make sure it is defined" >&2;}
7407 rm -f "$ac_tmp/stdin"
7409 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7410 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7412 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7418 if test x"$ac_file" != x-; then
7420 $as_echo "/* $configure_input */" \
7421 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7422 } >"$ac_tmp/config.h" \
7423 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7424 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7426 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7429 mv "$ac_tmp/config.h" "$ac_file" \
7430 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7433 $as_echo "/* $configure_input */" \
7434 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7435 || as_fn_error $? "could not create -" "$LINENO" 5
7437 # Compute "$ac_file"'s index in $config_headers.
7440 for _am_header in $config_headers :; do
7442 $_am_arg | $_am_arg:* )
7445 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7448 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7449 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7450 X"$_am_arg" : 'X\(//\)[^/]' \| \
7451 X"$_am_arg" : 'X\(//\)$' \| \
7452 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7453 $as_echo X"$_am_arg" |
7454 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7470 s/.*/./; q'`/stamp-h$_am_stamp_count
7473 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7474 $as_echo "$as_me: executing $ac_file commands" >&6;}
7479 case $ac_file$ac_mode in
7480 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7481 # Older Autoconf quotes --file arguments for eval, but not when files
7482 # are listed without --file. Let's play safe and only enable the eval
7483 # if we detect the quoting.
7484 case $CONFIG_FILES in
7485 *\'*) eval set x "$CONFIG_FILES" ;;
7486 *) set x $CONFIG_FILES ;;
7491 # Strip MF so we end up with the name of the file.
7492 mf=`echo "$mf" | sed -e 's/:.*$//'`
7493 # Check whether this is an Automake generated Makefile or not.
7494 # We used to match only the files named 'Makefile.in', but
7495 # some people rename them; so instead we look at the file content.
7496 # Grep'ing the first line is not enough: some people post-process
7497 # each Makefile.in and add a new line on top of each file to say so.
7498 # Grep'ing the whole file is not good either: AIX grep has a line
7499 # limit of 2048, but all sed's we know have understand at least 4000.
7500 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7501 dirpart=`$as_dirname -- "$mf" ||
7502 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7503 X"$mf" : 'X\(//\)[^/]' \| \
7504 X"$mf" : 'X\(//\)$' \| \
7505 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7507 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7527 # Extract the definition of DEPDIR, am__include, and am__quote
7528 # from the Makefile without running 'make'.
7529 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7530 test -z "$DEPDIR" && continue
7531 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7532 test -z "$am__include" && continue
7533 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7534 # Find all dependency output files, they are included files with
7535 # $(DEPDIR) in their names. We invoke sed twice because it is the
7536 # simplest approach to changing $(DEPDIR) to its actual value in the
7538 for file in `sed -n "
7539 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7540 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
7541 # Make sure the directory exists.
7542 test -f "$dirpart/$file" && continue
7543 fdir=`$as_dirname -- "$file" ||
7544 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7545 X"$file" : 'X\(//\)[^/]' \| \
7546 X"$file" : 'X\(//\)$' \| \
7547 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7549 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7566 as_dir=$dirpart/$fdir; as_fn_mkdir_p
7567 # echo "creating $dirpart/$file"
7568 echo '# dummy' > "$dirpart/$file"
7573 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
7574 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
7577 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
7578 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
7580 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
7585 '"s|^| $ac_top_srcdir/|" \
7586 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
7588 sed '/^POTFILES =/,/[^\\]$/ {
7592 ' "po/Makefile.in" >"po/Makefile"
7593 rm -f "po/Makefile.tmp"
7594 mv "po/stamp-it.tmp" "po/stamp-it"
7603 ac_clean_files=$ac_clean_files_save
7605 test $ac_write_fail = 0 ||
7606 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7609 # configure is writing to config.log, and then calls config.status.
7610 # config.status does its own redirection, appending to config.log.
7611 # Unfortunately, on DOS this fails, as config.log is still kept open
7612 # by configure, so config.status won't be able to write to it; its
7613 # output is simply discarded. So we exec the FD to /dev/null,
7614 # effectively closing config.log, so it can be properly (re)opened and
7615 # appended to by config.status. When coming back to configure, we
7616 # need to make the FD available again.
7617 if test "$no_create" != yes; then
7619 ac_config_status_args=
7620 test "$silent" = yes &&
7621 ac_config_status_args="$ac_config_status_args --quiet"
7623 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7625 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7626 # would make configure fail if this is the last instruction.
7627 $ac_cs_success || as_fn_exit 1
7629 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7631 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}