2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for desktop-file-utils 0.21.
5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=desktop-file-utils>.
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 if (eval "$as_required") 2>/dev/null; then :
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 test -z "$as_dir" && as_dir=.
218 for as_base in sh bash ksh sh5; do
219 # Try only shells that exist, to save several forks.
220 as_shell=$as_dir/$as_base
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 CONFIG_SHELL=$as_shell as_have_required=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
239 if test "x$CONFIG_SHELL" != x; then :
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 *v*x* | *x*v* ) as_opts=-vx ;;
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
261 if test x$as_have_required = xno; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x${ZSH_VERSION+set} = xset ; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 $as_echo "$0: Please tell bug-autoconf@gnu.org and
269 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=desktop-file-utils
270 $0: about your system, including any error possibly output
271 $0: before this message. Then install a modern shell, or
272 $0: manually run the script under such a shell if you do
279 SHELL=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir=./$as_dir;;
324 test -d "$as_dir" || eval $as_mkdir_p || {
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
401 as_val=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status=$1; test $as_status -eq 0 && as_status=1
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
532 elif ln conf$$.file conf$$ 2>/dev/null; then
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
546 test -d ./-p && rmdir ./-p
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix=/usr/local
573 ac_config_libobj_dir=.
580 # Identity of this package.
581 PACKAGE_NAME='desktop-file-utils'
582 PACKAGE_TARNAME='desktop-file-utils'
583 PACKAGE_VERSION='0.21'
584 PACKAGE_STRING='desktop-file-utils 0.21'
585 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=desktop-file-utils'
588 ac_unique_file="src/validate.h"
589 ac_subst_vars='am__EXEEXT_FALSE
596 DESKTOP_FILE_UTILS_LIBS
597 DESKTOP_FILE_UTILS_CFLAGS
631 INSTALL_STRIP_PROGRAM
673 program_transform_name
686 enable_option_checking
688 enable_dependency_tracking
691 ac_precious_vars='build_alias
702 DESKTOP_FILE_UTILS_CFLAGS
703 DESKTOP_FILE_UTILS_LIBS
708 # Initialize some variables set by options.
710 ac_init_version=false
711 ac_unrecognized_opts=
713 # The variables have the same names as the options, with
714 # dashes changed to underlines.
722 program_transform_name=s,x,x,
730 # Installation directory options.
731 # These are left unexpanded so users can "make install exec_prefix=/foo"
732 # and all the variables that are supposed to be based on exec_prefix
733 # by default will actually change.
734 # Use braces instead of parens because sh, perl, etc. also accept them.
735 # (The list follows the same order as the GNU Coding Standards.)
736 bindir='${exec_prefix}/bin'
737 sbindir='${exec_prefix}/sbin'
738 libexecdir='${exec_prefix}/libexec'
739 datarootdir='${prefix}/share'
740 datadir='${datarootdir}'
741 sysconfdir='${prefix}/etc'
742 sharedstatedir='${prefix}/com'
743 localstatedir='${prefix}/var'
744 includedir='${prefix}/include'
745 oldincludedir='/usr/include'
746 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
747 infodir='${datarootdir}/info'
752 libdir='${exec_prefix}/lib'
753 localedir='${datarootdir}/locale'
754 mandir='${datarootdir}/man'
760 # If the previous option needs an argument, assign it.
761 if test -n "$ac_prev"; then
762 eval $ac_prev=\$ac_option
768 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
773 # Accept the important Cygnus configure options, so we can diagnose typos.
775 case $ac_dashdash$ac_option in
779 -bindir | --bindir | --bindi | --bind | --bin | --bi)
781 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
784 -build | --build | --buil | --bui | --bu)
785 ac_prev=build_alias ;;
786 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
787 build_alias=$ac_optarg ;;
789 -cache-file | --cache-file | --cache-fil | --cache-fi \
790 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
791 ac_prev=cache_file ;;
792 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
793 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
794 cache_file=$ac_optarg ;;
797 cache_file=config.cache ;;
799 -datadir | --datadir | --datadi | --datad)
801 -datadir=* | --datadir=* | --datadi=* | --datad=*)
802 datadir=$ac_optarg ;;
804 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
805 | --dataroo | --dataro | --datar)
806 ac_prev=datarootdir ;;
807 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
808 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
809 datarootdir=$ac_optarg ;;
811 -disable-* | --disable-*)
812 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
813 # Reject names that are not valid shell variable names.
814 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
815 as_fn_error $? "invalid feature name: $ac_useropt"
816 ac_useropt_orig=$ac_useropt
817 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
818 case $ac_user_opts in
822 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
823 ac_unrecognized_sep=', ';;
825 eval enable_$ac_useropt=no ;;
827 -docdir | --docdir | --docdi | --doc | --do)
829 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
832 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
834 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
837 -enable-* | --enable-*)
838 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
839 # Reject names that are not valid shell variable names.
840 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
841 as_fn_error $? "invalid feature name: $ac_useropt"
842 ac_useropt_orig=$ac_useropt
843 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
844 case $ac_user_opts in
848 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
849 ac_unrecognized_sep=', ';;
851 eval enable_$ac_useropt=\$ac_optarg ;;
853 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
854 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
855 | --exec | --exe | --ex)
856 ac_prev=exec_prefix ;;
857 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
858 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
859 | --exec=* | --exe=* | --ex=*)
860 exec_prefix=$ac_optarg ;;
862 -gas | --gas | --ga | --g)
863 # Obsolete; use --with-gas.
866 -help | --help | --hel | --he | -h)
868 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
869 ac_init_help=recursive ;;
870 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
871 ac_init_help=short ;;
873 -host | --host | --hos | --ho)
874 ac_prev=host_alias ;;
875 -host=* | --host=* | --hos=* | --ho=*)
876 host_alias=$ac_optarg ;;
878 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
880 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
882 htmldir=$ac_optarg ;;
884 -includedir | --includedir | --includedi | --included | --include \
885 | --includ | --inclu | --incl | --inc)
886 ac_prev=includedir ;;
887 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
888 | --includ=* | --inclu=* | --incl=* | --inc=*)
889 includedir=$ac_optarg ;;
891 -infodir | --infodir | --infodi | --infod | --info | --inf)
893 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
894 infodir=$ac_optarg ;;
896 -libdir | --libdir | --libdi | --libd)
898 -libdir=* | --libdir=* | --libdi=* | --libd=*)
901 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
902 | --libexe | --libex | --libe)
903 ac_prev=libexecdir ;;
904 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
905 | --libexe=* | --libex=* | --libe=*)
906 libexecdir=$ac_optarg ;;
908 -localedir | --localedir | --localedi | --localed | --locale)
910 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
911 localedir=$ac_optarg ;;
913 -localstatedir | --localstatedir | --localstatedi | --localstated \
914 | --localstate | --localstat | --localsta | --localst | --locals)
915 ac_prev=localstatedir ;;
916 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
917 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
918 localstatedir=$ac_optarg ;;
920 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
922 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
926 # Obsolete; use --without-fp.
929 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
930 | --no-cr | --no-c | -n)
933 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
934 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
937 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
938 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
939 | --oldin | --oldi | --old | --ol | --o)
940 ac_prev=oldincludedir ;;
941 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
942 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
943 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
944 oldincludedir=$ac_optarg ;;
946 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
948 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
951 -program-prefix | --program-prefix | --program-prefi | --program-pref \
952 | --program-pre | --program-pr | --program-p)
953 ac_prev=program_prefix ;;
954 -program-prefix=* | --program-prefix=* | --program-prefi=* \
955 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
956 program_prefix=$ac_optarg ;;
958 -program-suffix | --program-suffix | --program-suffi | --program-suff \
959 | --program-suf | --program-su | --program-s)
960 ac_prev=program_suffix ;;
961 -program-suffix=* | --program-suffix=* | --program-suffi=* \
962 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
963 program_suffix=$ac_optarg ;;
965 -program-transform-name | --program-transform-name \
966 | --program-transform-nam | --program-transform-na \
967 | --program-transform-n | --program-transform- \
968 | --program-transform | --program-transfor \
969 | --program-transfo | --program-transf \
970 | --program-trans | --program-tran \
971 | --progr-tra | --program-tr | --program-t)
972 ac_prev=program_transform_name ;;
973 -program-transform-name=* | --program-transform-name=* \
974 | --program-transform-nam=* | --program-transform-na=* \
975 | --program-transform-n=* | --program-transform-=* \
976 | --program-transform=* | --program-transfor=* \
977 | --program-transfo=* | --program-transf=* \
978 | --program-trans=* | --program-tran=* \
979 | --progr-tra=* | --program-tr=* | --program-t=*)
980 program_transform_name=$ac_optarg ;;
982 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
984 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
987 -psdir | --psdir | --psdi | --psd | --ps)
989 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
992 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
993 | -silent | --silent | --silen | --sile | --sil)
996 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
998 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1000 sbindir=$ac_optarg ;;
1002 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1003 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1004 | --sharedst | --shareds | --shared | --share | --shar \
1006 ac_prev=sharedstatedir ;;
1007 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1008 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1009 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1011 sharedstatedir=$ac_optarg ;;
1013 -site | --site | --sit)
1015 -site=* | --site=* | --sit=*)
1018 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1020 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1021 srcdir=$ac_optarg ;;
1023 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1024 | --syscon | --sysco | --sysc | --sys | --sy)
1025 ac_prev=sysconfdir ;;
1026 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1027 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1028 sysconfdir=$ac_optarg ;;
1030 -target | --target | --targe | --targ | --tar | --ta | --t)
1031 ac_prev=target_alias ;;
1032 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1033 target_alias=$ac_optarg ;;
1035 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1038 -version | --version | --versio | --versi | --vers | -V)
1039 ac_init_version=: ;;
1042 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1043 # Reject names that are not valid shell variable names.
1044 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1045 as_fn_error $? "invalid package name: $ac_useropt"
1046 ac_useropt_orig=$ac_useropt
1047 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1048 case $ac_user_opts in
1052 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1053 ac_unrecognized_sep=', ';;
1055 eval with_$ac_useropt=\$ac_optarg ;;
1057 -without-* | --without-*)
1058 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1059 # Reject names that are not valid shell variable names.
1060 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1061 as_fn_error $? "invalid package name: $ac_useropt"
1062 ac_useropt_orig=$ac_useropt
1063 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1064 case $ac_user_opts in
1068 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1069 ac_unrecognized_sep=', ';;
1071 eval with_$ac_useropt=no ;;
1074 # Obsolete; use --with-x.
1077 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1078 | --x-incl | --x-inc | --x-in | --x-i)
1079 ac_prev=x_includes ;;
1080 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1081 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1082 x_includes=$ac_optarg ;;
1084 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1085 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1086 ac_prev=x_libraries ;;
1087 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1088 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1089 x_libraries=$ac_optarg ;;
1091 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1092 Try \`$0 --help' for more information"
1096 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1097 # Reject names that are not valid shell variable names.
1098 case $ac_envvar in #(
1099 '' | [0-9]* | *[!_$as_cr_alnum]* )
1100 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1102 eval $ac_envvar=\$ac_optarg
1103 export $ac_envvar ;;
1106 # FIXME: should be removed in autoconf 3.0.
1107 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1108 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1109 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1110 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1116 if test -n "$ac_prev"; then
1117 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1118 as_fn_error $? "missing argument to $ac_option"
1121 if test -n "$ac_unrecognized_opts"; then
1122 case $enable_option_checking in
1124 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1125 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1129 # Check all directory arguments for consistency.
1130 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1131 datadir sysconfdir sharedstatedir localstatedir includedir \
1132 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1133 libdir localedir mandir
1135 eval ac_val=\$$ac_var
1136 # Remove trailing slashes.
1139 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1140 eval $ac_var=\$ac_val;;
1142 # Be sure to have absolute directory names.
1144 [\\/$]* | ?:[\\/]* ) continue;;
1145 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1147 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1150 # There might be people who depend on the old broken behavior: `$host'
1151 # used to hold the argument of --host etc.
1152 # FIXME: To remove some day.
1155 target=$target_alias
1157 # FIXME: To remove some day.
1158 if test "x$host_alias" != x; then
1159 if test "x$build_alias" = x; then
1160 cross_compiling=maybe
1161 elif test "x$build_alias" != "x$host_alias"; then
1167 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1169 test "$silent" = yes && exec 6>/dev/null
1172 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1173 ac_ls_di=`ls -di .` &&
1174 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1175 as_fn_error $? "working directory cannot be determined"
1176 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1177 as_fn_error $? "pwd does not report name of working directory"
1180 # Find the source files, if location was not specified.
1181 if test -z "$srcdir"; then
1182 ac_srcdir_defaulted=yes
1183 # Try the directory containing this script, then the parent directory.
1184 ac_confdir=`$as_dirname -- "$as_myself" ||
1185 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1186 X"$as_myself" : 'X\(//\)[^/]' \| \
1187 X"$as_myself" : 'X\(//\)$' \| \
1188 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1189 $as_echo X"$as_myself" |
1190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1208 if test ! -r "$srcdir/$ac_unique_file"; then
1212 ac_srcdir_defaulted=no
1214 if test ! -r "$srcdir/$ac_unique_file"; then
1215 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1216 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1218 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1220 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1222 # When building in place, set srcdir=.
1223 if test "$ac_abs_confdir" = "$ac_pwd"; then
1226 # Remove unnecessary trailing slashes from srcdir.
1227 # Double slashes in file names in object file debugging info
1228 # mess up M-x gdb in Emacs.
1230 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1232 for ac_var in $ac_precious_vars; do
1233 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1234 eval ac_env_${ac_var}_value=\$${ac_var}
1235 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1236 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1240 # Report the --help message.
1242 if test "$ac_init_help" = "long"; then
1243 # Omit some internal or obsolete options to make the list less imposing.
1244 # This message is too long to be a string in the A/UX 3.1 sh.
1246 \`configure' configures desktop-file-utils 0.21 to adapt to many kinds of systems.
1248 Usage: $0 [OPTION]... [VAR=VALUE]...
1250 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1251 VAR=VALUE. See below for descriptions of some of the useful variables.
1253 Defaults for the options are specified in brackets.
1256 -h, --help display this help and exit
1257 --help=short display options specific to this package
1258 --help=recursive display the short help of all the included packages
1259 -V, --version display version information and exit
1260 -q, --quiet, --silent do not print \`checking ...' messages
1261 --cache-file=FILE cache test results in FILE [disabled]
1262 -C, --config-cache alias for \`--cache-file=config.cache'
1263 -n, --no-create do not create output files
1264 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1266 Installation directories:
1267 --prefix=PREFIX install architecture-independent files in PREFIX
1268 [$ac_default_prefix]
1269 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1272 By default, \`make install' will install all the files in
1273 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1274 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1275 for instance \`--prefix=\$HOME'.
1277 For better control, use the options below.
1279 Fine tuning of the installation directories:
1280 --bindir=DIR user executables [EPREFIX/bin]
1281 --sbindir=DIR system admin executables [EPREFIX/sbin]
1282 --libexecdir=DIR program executables [EPREFIX/libexec]
1283 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1284 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1285 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1286 --libdir=DIR object code libraries [EPREFIX/lib]
1287 --includedir=DIR C header files [PREFIX/include]
1288 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1289 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1290 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1291 --infodir=DIR info documentation [DATAROOTDIR/info]
1292 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1293 --mandir=DIR man documentation [DATAROOTDIR/man]
1294 --docdir=DIR documentation root
1295 [DATAROOTDIR/doc/desktop-file-utils]
1296 --htmldir=DIR html documentation [DOCDIR]
1297 --dvidir=DIR dvi documentation [DOCDIR]
1298 --pdfdir=DIR pdf documentation [DOCDIR]
1299 --psdir=DIR ps documentation [DOCDIR]
1305 --program-prefix=PREFIX prepend PREFIX to installed program names
1306 --program-suffix=SUFFIX append SUFFIX to installed program names
1307 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1311 if test -n "$ac_init_help"; then
1312 case $ac_init_help in
1313 short | recursive ) echo "Configuration of desktop-file-utils 0.21:";;
1318 --disable-option-checking ignore unrecognized --enable/--with options
1319 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1320 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1321 --enable-silent-rules less verbose build output (undo: "make V=1")
1322 --disable-silent-rules verbose build output (undo: "make V=0")
1323 --enable-dependency-tracking
1324 do not reject slow dependency extractors
1325 --disable-dependency-tracking
1326 speeds up one-time build
1329 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1330 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1331 --with-lispdir override the default lisp directory
1333 Some influential environment variables:
1334 CC C compiler command
1335 CFLAGS C compiler flags
1336 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1337 nonstandard directory <lib dir>
1338 LIBS libraries to pass to the linker, e.g. -l<library>
1339 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1340 you have headers in a nonstandard directory <include dir>
1341 PKG_CONFIG path to pkg-config utility
1343 directories to add to pkg-config's search path
1345 path overriding pkg-config's built-in search path
1346 DESKTOP_FILE_UTILS_CFLAGS
1347 C compiler flags for DESKTOP_FILE_UTILS, overriding pkg-config
1348 DESKTOP_FILE_UTILS_LIBS
1349 linker flags for DESKTOP_FILE_UTILS, overriding pkg-config
1350 EMACS the Emacs editor command
1352 the Emacs library search path
1354 Use these variables to override the choices made by `configure' or to help
1355 it to find libraries and programs with nonstandard names/locations.
1357 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=desktop-file-utils>.
1362 if test "$ac_init_help" = "recursive"; then
1363 # If there are subdirs, report their specific --help.
1364 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1365 test -d "$ac_dir" ||
1366 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1371 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1373 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1374 # A ".." for each directory in $ac_dir_suffix.
1375 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1376 case $ac_top_builddir_sub in
1377 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1378 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1381 ac_abs_top_builddir=$ac_pwd
1382 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1383 # for backward compatibility:
1384 ac_top_builddir=$ac_top_build_prefix
1387 .) # We are building in place.
1389 ac_top_srcdir=$ac_top_builddir_sub
1390 ac_abs_top_srcdir=$ac_pwd ;;
1391 [\\/]* | ?:[\\/]* ) # Absolute name.
1392 ac_srcdir=$srcdir$ac_dir_suffix;
1393 ac_top_srcdir=$srcdir
1394 ac_abs_top_srcdir=$srcdir ;;
1396 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1397 ac_top_srcdir=$ac_top_build_prefix$srcdir
1398 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1400 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1402 cd "$ac_dir" || { ac_status=$?; continue; }
1403 # Check for guested configure.
1404 if test -f "$ac_srcdir/configure.gnu"; then
1406 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1407 elif test -f "$ac_srcdir/configure"; then
1409 $SHELL "$ac_srcdir/configure" --help=recursive
1411 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1413 cd "$ac_pwd" || { ac_status=$?; break; }
1417 test -n "$ac_init_help" && exit $ac_status
1418 if $ac_init_version; then
1420 desktop-file-utils configure 0.21
1421 generated by GNU Autoconf 2.69
1423 Copyright (C) 2012 Free Software Foundation, Inc.
1424 This configure script is free software; the Free Software Foundation
1425 gives unlimited permission to copy, distribute and modify it.
1430 ## ------------------------ ##
1431 ## Autoconf initialization. ##
1432 ## ------------------------ ##
1434 # ac_fn_c_try_compile LINENO
1435 # --------------------------
1436 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1437 ac_fn_c_try_compile ()
1439 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1440 rm -f conftest.$ac_objext
1441 if { { ac_try="$ac_compile"
1443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1444 *) ac_try_echo=$ac_try;;
1446 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1447 $as_echo "$ac_try_echo"; } >&5
1448 (eval "$ac_compile") 2>conftest.err
1450 if test -s conftest.err; then
1451 grep -v '^ *+' conftest.err >conftest.er1
1452 cat conftest.er1 >&5
1453 mv -f conftest.er1 conftest.err
1455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1456 test $ac_status = 0; } && {
1457 test -z "$ac_c_werror_flag" ||
1458 test ! -s conftest.err
1459 } && test -s conftest.$ac_objext; then :
1462 $as_echo "$as_me: failed program was:" >&5
1463 sed 's/^/| /' conftest.$ac_ext >&5
1467 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1468 as_fn_set_status $ac_retval
1470 } # ac_fn_c_try_compile
1471 cat >config.log <<_ACEOF
1472 This file contains any messages produced by compilers while
1473 running configure, to aid debugging if configure makes a mistake.
1475 It was created by desktop-file-utils $as_me 0.21, which was
1476 generated by GNU Autoconf 2.69. Invocation command line was
1488 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1489 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1490 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1491 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1492 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1494 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1495 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1497 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1498 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1499 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1500 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1501 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1502 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1503 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1511 test -z "$as_dir" && as_dir=.
1512 $as_echo "PATH: $as_dir"
1528 # Keep a trace of the command line.
1529 # Strip out --no-create and --no-recursion so they do not pile up.
1530 # Strip out --silent because we don't want to record it for future runs.
1531 # Also quote any args containing shell meta-characters.
1532 # Make two passes to allow for proper duplicate-argument suppression.
1536 ac_must_keep_next=false
1542 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1543 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1544 | -silent | --silent | --silen | --sile | --sil)
1547 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1550 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1552 as_fn_append ac_configure_args1 " '$ac_arg'"
1553 if test $ac_must_keep_next = true; then
1554 ac_must_keep_next=false # Got value, back to normal.
1557 *=* | --config-cache | -C | -disable-* | --disable-* \
1558 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1559 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1560 | -with-* | --with-* | -without-* | --without-* | --x)
1561 case "$ac_configure_args0 " in
1562 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1565 -* ) ac_must_keep_next=true ;;
1568 as_fn_append ac_configure_args " '$ac_arg'"
1573 { ac_configure_args0=; unset ac_configure_args0;}
1574 { ac_configure_args1=; unset ac_configure_args1;}
1576 # When interrupted or exit'd, cleanup temporary files, and complete
1577 # config.log. We remove comments because anyway the quotes in there
1578 # would cause problems or look ugly.
1579 # WARNING: Use '\'' to represent an apostrophe within the trap.
1580 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1581 trap 'exit_status=$?
1582 # Save into config.log some information that might help in debugging.
1586 $as_echo "## ---------------- ##
1587 ## Cache variables. ##
1588 ## ---------------- ##"
1590 # The following way of writing the cache mishandles newlines in values,
1592 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1593 eval ac_val=\$$ac_var
1597 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1598 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1601 _ | IFS | as_nl) ;; #(
1602 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1603 *) { eval $ac_var=; unset $ac_var;} ;;
1608 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1609 *${as_nl}ac_space=\ *)
1611 "s/'\''/'\''\\\\'\'''\''/g;
1612 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1615 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1622 $as_echo "## ----------------- ##
1623 ## Output variables. ##
1624 ## ----------------- ##"
1626 for ac_var in $ac_subst_vars
1628 eval ac_val=\$$ac_var
1630 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1632 $as_echo "$ac_var='\''$ac_val'\''"
1636 if test -n "$ac_subst_files"; then
1637 $as_echo "## ------------------- ##
1638 ## File substitutions. ##
1639 ## ------------------- ##"
1641 for ac_var in $ac_subst_files
1643 eval ac_val=\$$ac_var
1645 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1647 $as_echo "$ac_var='\''$ac_val'\''"
1652 if test -s confdefs.h; then
1653 $as_echo "## ----------- ##
1660 test "$ac_signal" != 0 &&
1661 $as_echo "$as_me: caught signal $ac_signal"
1662 $as_echo "$as_me: exit $exit_status"
1664 rm -f core *.core core.conftest.* &&
1665 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1668 for ac_signal in 1 2 13 15; do
1669 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1673 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1674 rm -f -r conftest* confdefs.h
1676 $as_echo "/* confdefs.h */" > confdefs.h
1678 # Predefined preprocessor variables.
1680 cat >>confdefs.h <<_ACEOF
1681 #define PACKAGE_NAME "$PACKAGE_NAME"
1684 cat >>confdefs.h <<_ACEOF
1685 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1688 cat >>confdefs.h <<_ACEOF
1689 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1692 cat >>confdefs.h <<_ACEOF
1693 #define PACKAGE_STRING "$PACKAGE_STRING"
1696 cat >>confdefs.h <<_ACEOF
1697 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1700 cat >>confdefs.h <<_ACEOF
1701 #define PACKAGE_URL "$PACKAGE_URL"
1705 # Let the site file select an alternate cache file if it wants to.
1706 # Prefer an explicitly selected file to automatically selected ones.
1709 if test -n "$CONFIG_SITE"; then
1710 # We do not want a PATH search for config.site.
1711 case $CONFIG_SITE in #((
1712 -*) ac_site_file1=./$CONFIG_SITE;;
1713 */*) ac_site_file1=$CONFIG_SITE;;
1714 *) ac_site_file1=./$CONFIG_SITE;;
1716 elif test "x$prefix" != xNONE; then
1717 ac_site_file1=$prefix/share/config.site
1718 ac_site_file2=$prefix/etc/config.site
1720 ac_site_file1=$ac_default_prefix/share/config.site
1721 ac_site_file2=$ac_default_prefix/etc/config.site
1723 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1725 test "x$ac_site_file" = xNONE && continue
1726 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1728 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1729 sed 's/^/| /' "$ac_site_file" >&5
1731 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1733 as_fn_error $? "failed to load site script $ac_site_file
1734 See \`config.log' for more details" "$LINENO" 5; }
1738 if test -r "$cache_file"; then
1739 # Some versions of bash will fail to source /dev/null (special files
1740 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1741 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1743 $as_echo "$as_me: loading cache $cache_file" >&6;}
1745 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1746 *) . "./$cache_file";;
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1751 $as_echo "$as_me: creating cache $cache_file" >&6;}
1755 # Check that the precious variables saved in the cache have kept the same
1757 ac_cache_corrupted=false
1758 for ac_var in $ac_precious_vars; do
1759 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1760 eval ac_new_set=\$ac_env_${ac_var}_set
1761 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1762 eval ac_new_val=\$ac_env_${ac_var}_value
1763 case $ac_old_set,$ac_new_set in
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1766 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1767 ac_cache_corrupted=: ;;
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1770 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1771 ac_cache_corrupted=: ;;
1774 if test "x$ac_old_val" != "x$ac_new_val"; then
1775 # differences in whitespace do not lead to failure.
1776 ac_old_val_w=`echo x $ac_old_val`
1777 ac_new_val_w=`echo x $ac_new_val`
1778 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1780 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1781 ac_cache_corrupted=:
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1784 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1785 eval $ac_var=\$ac_old_val
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1788 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1790 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1793 # Pass precious variables to config.status.
1794 if test "$ac_new_set" = set; then
1796 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1797 *) ac_arg=$ac_var=$ac_new_val ;;
1799 case " $ac_configure_args " in
1800 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1801 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1805 if $ac_cache_corrupted; then
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1807 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1809 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1810 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1812 ## -------------------- ##
1813 ## Main body of script. ##
1814 ## -------------------- ##
1817 ac_cpp='$CPP $CPPFLAGS'
1818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1825 am__api_version='1.12'
1828 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1829 if test -f "$ac_dir/install-sh"; then
1831 ac_install_sh="$ac_aux_dir/install-sh -c"
1833 elif test -f "$ac_dir/install.sh"; then
1835 ac_install_sh="$ac_aux_dir/install.sh -c"
1837 elif test -f "$ac_dir/shtool"; then
1839 ac_install_sh="$ac_aux_dir/shtool install -c"
1843 if test -z "$ac_aux_dir"; then
1844 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1847 # These three variables are undocumented and unsupported,
1848 # and are intended to be withdrawn in a future Autoconf release.
1849 # They can cause serious problems if a builder's source tree is in a directory
1850 # whose full name contains unusual characters.
1851 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1852 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1853 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1856 # Find a good install program. We prefer a C program (faster),
1857 # so one script is as good as another. But avoid the broken or
1858 # incompatible versions:
1859 # SysV /etc/install, /usr/sbin/install
1860 # SunOS /usr/etc/install
1861 # IRIX /sbin/install
1863 # AmigaOS /C/install, which installs bootblocks on floppy discs
1864 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1865 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1866 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1867 # OS/2's system install, which has a completely different semantic
1868 # ./install, which can be erroneously created by make from ./install.sh.
1869 # Reject install programs that cannot install multiple files.
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1871 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1872 if test -z "$INSTALL"; then
1873 if ${ac_cv_path_install+:} false; then :
1874 $as_echo_n "(cached) " >&6
1876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1880 test -z "$as_dir" && as_dir=.
1881 # Account for people who put trailing slashes in PATH elements.
1882 case $as_dir/ in #((
1883 ./ | .// | /[cC]/* | \
1884 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1885 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1888 # OSF1 and SCO ODT 3.0 have their own names for install.
1889 # Don't use installbsd from OSF since it installs stuff as root
1891 for ac_prog in ginstall scoinst install; do
1892 for ac_exec_ext in '' $ac_executable_extensions; do
1893 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1894 if test $ac_prog = install &&
1895 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1896 # AIX install. It has an incompatible calling convention.
1898 elif test $ac_prog = install &&
1899 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1900 # program-specific install script used by HP pwplus--don't use.
1903 rm -rf conftest.one conftest.two conftest.dir
1904 echo one > conftest.one
1905 echo two > conftest.two
1907 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1908 test -s conftest.one && test -s conftest.two &&
1909 test -s conftest.dir/conftest.one &&
1910 test -s conftest.dir/conftest.two
1912 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1925 rm -rf conftest.one conftest.two conftest.dir
1928 if test "${ac_cv_path_install+set}" = set; then
1929 INSTALL=$ac_cv_path_install
1931 # As a last resort, use the slow shell script. Don't cache a
1932 # value for INSTALL within a source directory, because that will
1933 # break other packages using the cache if that directory is
1934 # removed, or if the value is a relative name.
1935 INSTALL=$ac_install_sh
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1939 $as_echo "$INSTALL" >&6; }
1941 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1942 # It thinks the first close brace ends the variable substitution.
1943 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1945 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1947 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1950 $as_echo_n "checking whether build environment is sane... " >&6; }
1951 # Reject unsafe characters in $srcdir or the absolute working directory
1952 # name. Accept space and tab only in the latter.
1956 *[\\\"\#\$\&\'\`$am_lf]*)
1957 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1960 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1961 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1964 # Do 'set' in a subshell so we don't clobber the current shell's
1965 # arguments. Must try -L first in case configure is actually a
1966 # symlink; some systems play weird games with the mod time of symlinks
1967 # (eg FreeBSD returns the mod time of the symlink's containing
1971 for am_try in 1 2; do
1972 echo "timestamp, slept: $am_has_slept" > conftest.file
1973 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1974 if test "$*" = "X"; then
1976 set X `ls -t "$srcdir/configure" conftest.file`
1978 if test "$*" != "X $srcdir/configure conftest.file" \
1979 && test "$*" != "X conftest.file $srcdir/configure"; then
1981 # If neither matched, then we have a broken ls. This can happen
1982 # if, for instance, CONFIG_SHELL is bash and it inherits a
1983 # broken ls alias from the environment. This has actually
1984 # happened. Such a system could not be considered "sane".
1985 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1986 alias in your environment" "$LINENO" 5
1988 if test "$2" = conftest.file || test $am_try -eq 2; then
1995 test "$2" = conftest.file
2001 as_fn_error $? "newly created file is older than distributed files!
2002 Check your system clock" "$LINENO" 5
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2005 $as_echo "yes" >&6; }
2006 # If we didn't sleep, we still need to ensure time stamps of config.status and
2007 # generated files are strictly newer.
2009 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2016 test "$program_prefix" != NONE &&
2017 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2018 # Use a double $ so make ignores it.
2019 test "$program_suffix" != NONE &&
2020 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2021 # Double any \ or $.
2022 # By default was `s,x,x', remove it if useless.
2023 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2024 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2026 # expand $ac_aux_dir to an absolute path
2027 am_aux_dir=`cd $ac_aux_dir && pwd`
2029 if test x"${MISSING+set}" != xset; then
2032 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2034 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2037 # Use eval to expand $SHELL
2038 if eval "$MISSING --run true"; then
2039 am_missing_run="$MISSING --run "
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2043 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2046 if test x"${install_sh}" != xset; then
2049 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2051 install_sh="\${SHELL} $am_aux_dir/install-sh"
2055 # Installed binaries are usually stripped using 'strip' when the user
2056 # run "make install-strip". However 'strip' might not be the right
2057 # tool to use in cross-compilation environments, therefore Automake
2058 # will honor the 'STRIP' environment variable to overrule this program.
2059 if test "$cross_compiling" != no; then
2060 if test -n "$ac_tool_prefix"; then
2061 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2062 set dummy ${ac_tool_prefix}strip; ac_word=$2
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2064 $as_echo_n "checking for $ac_word... " >&6; }
2065 if ${ac_cv_prog_STRIP+:} false; then :
2066 $as_echo_n "(cached) " >&6
2068 if test -n "$STRIP"; then
2069 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2075 test -z "$as_dir" && as_dir=.
2076 for ac_exec_ext in '' $ac_executable_extensions; do
2077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2078 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2088 STRIP=$ac_cv_prog_STRIP
2089 if test -n "$STRIP"; then
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2091 $as_echo "$STRIP" >&6; }
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2094 $as_echo "no" >&6; }
2099 if test -z "$ac_cv_prog_STRIP"; then
2101 # Extract the first word of "strip", so it can be a program name with args.
2102 set dummy strip; ac_word=$2
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2104 $as_echo_n "checking for $ac_word... " >&6; }
2105 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2106 $as_echo_n "(cached) " >&6
2108 if test -n "$ac_ct_STRIP"; then
2109 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2115 test -z "$as_dir" && as_dir=.
2116 for ac_exec_ext in '' $ac_executable_extensions; do
2117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2118 ac_cv_prog_ac_ct_STRIP="strip"
2119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2128 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2129 if test -n "$ac_ct_STRIP"; then
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2131 $as_echo "$ac_ct_STRIP" >&6; }
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2134 $as_echo "no" >&6; }
2137 if test "x$ac_ct_STRIP" = x; then
2140 case $cross_compiling:$ac_tool_warned in
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2143 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2144 ac_tool_warned=yes ;;
2149 STRIP="$ac_cv_prog_STRIP"
2153 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2156 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2157 if test -z "$MKDIR_P"; then
2158 if ${ac_cv_path_mkdir+:} false; then :
2159 $as_echo_n "(cached) " >&6
2161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2162 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2165 test -z "$as_dir" && as_dir=.
2166 for ac_prog in mkdir gmkdir; do
2167 for ac_exec_ext in '' $ac_executable_extensions; do
2168 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2169 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2170 'mkdir (GNU coreutils) '* | \
2171 'mkdir (coreutils) '* | \
2172 'mkdir (fileutils) '4.1*)
2173 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2183 test -d ./--version && rmdir ./--version
2184 if test "${ac_cv_path_mkdir+set}" = set; then
2185 MKDIR_P="$ac_cv_path_mkdir -p"
2187 # As a last resort, use the slow shell script. Don't cache a
2188 # value for MKDIR_P within a source directory, because that will
2189 # break other packages using the cache if that directory is
2190 # removed, or if the value is a relative name.
2191 MKDIR_P="$ac_install_sh -d"
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2195 $as_echo "$MKDIR_P" >&6; }
2197 for ac_prog in gawk mawk nawk awk
2199 # Extract the first word of "$ac_prog", so it can be a program name with args.
2200 set dummy $ac_prog; ac_word=$2
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2202 $as_echo_n "checking for $ac_word... " >&6; }
2203 if ${ac_cv_prog_AWK+:} false; then :
2204 $as_echo_n "(cached) " >&6
2206 if test -n "$AWK"; then
2207 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2213 test -z "$as_dir" && as_dir=.
2214 for ac_exec_ext in '' $ac_executable_extensions; do
2215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2216 ac_cv_prog_AWK="$ac_prog"
2217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2227 if test -n "$AWK"; then
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2229 $as_echo "$AWK" >&6; }
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2232 $as_echo "no" >&6; }
2236 test -n "$AWK" && break
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2240 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2242 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2243 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2244 $as_echo_n "(cached) " >&6
2246 cat >conftest.make <<\_ACEOF
2249 @echo '@@@%%%=$(MAKE)=@@@%%%'
2251 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2252 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2254 eval ac_cv_prog_make_${ac_make}_set=yes;;
2256 eval ac_cv_prog_make_${ac_make}_set=no;;
2260 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2262 $as_echo "yes" >&6; }
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2266 $as_echo "no" >&6; }
2267 SET_MAKE="MAKE=${MAKE-make}"
2270 rm -rf .tst 2>/dev/null
2271 mkdir .tst 2>/dev/null
2272 if test -d .tst; then
2277 rmdir .tst 2>/dev/null
2279 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2280 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2281 # is not polluted with repeated "-I."
2282 am__isrc=' -I$(srcdir)'
2283 # test to see if srcdir already configured
2284 if test -f $srcdir/config.status; then
2285 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2289 # test whether we have cygpath
2290 if test -z "$CYGPATH_W"; then
2291 if (cygpath --version) >/dev/null 2>/dev/null; then
2292 CYGPATH_W='cygpath -w'
2299 # Define the identity of the package.
2300 PACKAGE='desktop-file-utils'
2304 cat >>confdefs.h <<_ACEOF
2305 #define PACKAGE "$PACKAGE"
2309 cat >>confdefs.h <<_ACEOF
2310 #define VERSION "$VERSION"
2313 # Some tools Automake needs.
2315 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2318 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2321 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2324 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2327 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2330 # We need awk for the "check" target. The system "awk" is bad on
2332 # Always define AMTAR for backward compatibility. Yes, it's still used
2333 # in the wild :-( We should find a proper way to deprecate it ...
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2338 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
2339 # Loop over all known methods to create a tar archive until one works.
2340 _am_tools='gnutar plaintar pax cpio none'
2341 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2342 # Do not fold the above two line into one, because Tru64 sh and
2343 # Solaris sh will not grok spaces in the rhs of '-'.
2344 for _am_tool in $_am_tools
2348 for _am_tar in tar gnutar gtar;
2350 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2351 ($_am_tar --version) >&5 2>&5
2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354 (exit $ac_status); } && break
2356 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2357 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2358 am__untar="$_am_tar -xf -"
2361 # Must skip GNU tar: if it does not support --format= it doesn't create
2362 # ustar tarball either.
2363 (tar --version) >/dev/null 2>&1 && continue
2364 am__tar='tar chf - "$$tardir"'
2365 am__tar_='tar chf - "$tardir"'
2366 am__untar='tar xf -'
2369 am__tar='pax -L -x ustar -w "$$tardir"'
2370 am__tar_='pax -L -x ustar -w "$tardir"'
2374 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2375 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2376 am__untar='cpio -i -H ustar -d'
2385 # If the value was cached, stop now. We just wanted to have am__tar
2386 # and am__untar set.
2387 test -n "${am_cv_prog_tar_ustar}" && break
2389 # tar/untar a dummy directory, and stop if the command works
2392 echo GrepMe > conftest.dir/file
2393 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2394 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397 (exit $ac_status); }
2399 if test -s conftest.tar; then
2400 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2401 ($am__untar <conftest.tar) >&5 2>&5
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); }
2405 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2410 if ${am_cv_prog_tar_ustar+:} false; then :
2411 $as_echo_n "(cached) " >&6
2413 am_cv_prog_tar_ustar=$_am_tool
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2417 $as_echo "$am_cv_prog_tar_ustar" >&6; }
2423 # Check whether --enable-silent-rules was given.
2424 if test "${enable_silent_rules+set}" = set; then :
2425 enableval=$enable_silent_rules;
2428 case $enable_silent_rules in # (((
2429 yes) AM_DEFAULT_VERBOSITY=0;;
2430 no) AM_DEFAULT_VERBOSITY=1;;
2431 *) AM_DEFAULT_VERBOSITY=0;;
2433 am_make=${MAKE-make}
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2435 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2436 if ${am_cv_make_support_nested_variables+:} false; then :
2437 $as_echo_n "(cached) " >&6
2439 if $as_echo 'TRUE=$(BAR$(V))
2445 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2446 am_cv_make_support_nested_variables=yes
2448 am_cv_make_support_nested_variables=no
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2452 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2453 if test $am_cv_make_support_nested_variables = yes; then
2455 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2457 AM_V=$AM_DEFAULT_VERBOSITY
2458 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2463 ac_config_headers="$ac_config_headers config.h"
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2467 $as_echo_n "checking whether ln -s works... " >&6; }
2469 if test "$LN_S" = "ln -s"; then
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2471 $as_echo "yes" >&6; }
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2474 $as_echo "no, using $LN_S" >&6; }
2478 ac_cpp='$CPP $CPPFLAGS'
2479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2482 if test -n "$ac_tool_prefix"; then
2483 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2484 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2486 $as_echo_n "checking for $ac_word... " >&6; }
2487 if ${ac_cv_prog_CC+:} false; then :
2488 $as_echo_n "(cached) " >&6
2490 if test -n "$CC"; then
2491 ac_cv_prog_CC="$CC" # Let the user override the test.
2493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2497 test -z "$as_dir" && as_dir=.
2498 for ac_exec_ext in '' $ac_executable_extensions; do
2499 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2500 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2511 if test -n "$CC"; then
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2513 $as_echo "$CC" >&6; }
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2516 $as_echo "no" >&6; }
2521 if test -z "$ac_cv_prog_CC"; then
2523 # Extract the first word of "gcc", so it can be a program name with args.
2524 set dummy gcc; ac_word=$2
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2526 $as_echo_n "checking for $ac_word... " >&6; }
2527 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2528 $as_echo_n "(cached) " >&6
2530 if test -n "$ac_ct_CC"; then
2531 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2537 test -z "$as_dir" && as_dir=.
2538 for ac_exec_ext in '' $ac_executable_extensions; do
2539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2540 ac_cv_prog_ac_ct_CC="gcc"
2541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2550 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2551 if test -n "$ac_ct_CC"; then
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2553 $as_echo "$ac_ct_CC" >&6; }
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2556 $as_echo "no" >&6; }
2559 if test "x$ac_ct_CC" = x; then
2562 case $cross_compiling:$ac_tool_warned in
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2565 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2566 ac_tool_warned=yes ;;
2574 if test -z "$CC"; then
2575 if test -n "$ac_tool_prefix"; then
2576 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2577 set dummy ${ac_tool_prefix}cc; ac_word=$2
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2579 $as_echo_n "checking for $ac_word... " >&6; }
2580 if ${ac_cv_prog_CC+:} false; then :
2581 $as_echo_n "(cached) " >&6
2583 if test -n "$CC"; then
2584 ac_cv_prog_CC="$CC" # Let the user override the test.
2586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2590 test -z "$as_dir" && as_dir=.
2591 for ac_exec_ext in '' $ac_executable_extensions; do
2592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2593 ac_cv_prog_CC="${ac_tool_prefix}cc"
2594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2604 if test -n "$CC"; then
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2606 $as_echo "$CC" >&6; }
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2609 $as_echo "no" >&6; }
2615 if test -z "$CC"; then
2616 # Extract the first word of "cc", so it can be a program name with args.
2617 set dummy cc; ac_word=$2
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2619 $as_echo_n "checking for $ac_word... " >&6; }
2620 if ${ac_cv_prog_CC+:} false; then :
2621 $as_echo_n "(cached) " >&6
2623 if test -n "$CC"; then
2624 ac_cv_prog_CC="$CC" # Let the user override the test.
2627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2631 test -z "$as_dir" && as_dir=.
2632 for ac_exec_ext in '' $ac_executable_extensions; do
2633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2634 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2635 ac_prog_rejected=yes
2639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2646 if test $ac_prog_rejected = yes; then
2647 # We found a bogon in the path, so make sure we never use it.
2648 set dummy $ac_cv_prog_CC
2650 if test $# != 0; then
2651 # We chose a different compiler from the bogus one.
2652 # However, it has the same basename, so the bogon will be chosen
2653 # first if we set CC to just the basename; use the full file name.
2655 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2661 if test -n "$CC"; then
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2663 $as_echo "$CC" >&6; }
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2666 $as_echo "no" >&6; }
2671 if test -z "$CC"; then
2672 if test -n "$ac_tool_prefix"; then
2673 for ac_prog in cl.exe
2675 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2676 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2678 $as_echo_n "checking for $ac_word... " >&6; }
2679 if ${ac_cv_prog_CC+:} false; then :
2680 $as_echo_n "(cached) " >&6
2682 if test -n "$CC"; then
2683 ac_cv_prog_CC="$CC" # Let the user override the test.
2685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2689 test -z "$as_dir" && as_dir=.
2690 for ac_exec_ext in '' $ac_executable_extensions; do
2691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2692 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2703 if test -n "$CC"; then
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2705 $as_echo "$CC" >&6; }
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2708 $as_echo "no" >&6; }
2712 test -n "$CC" && break
2715 if test -z "$CC"; then
2717 for ac_prog in cl.exe
2719 # Extract the first word of "$ac_prog", so it can be a program name with args.
2720 set dummy $ac_prog; ac_word=$2
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2722 $as_echo_n "checking for $ac_word... " >&6; }
2723 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2724 $as_echo_n "(cached) " >&6
2726 if test -n "$ac_ct_CC"; then
2727 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2733 test -z "$as_dir" && as_dir=.
2734 for ac_exec_ext in '' $ac_executable_extensions; do
2735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2736 ac_cv_prog_ac_ct_CC="$ac_prog"
2737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2746 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2747 if test -n "$ac_ct_CC"; then
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2749 $as_echo "$ac_ct_CC" >&6; }
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2752 $as_echo "no" >&6; }
2756 test -n "$ac_ct_CC" && break
2759 if test "x$ac_ct_CC" = x; then
2762 case $cross_compiling:$ac_tool_warned in
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2765 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2766 ac_tool_warned=yes ;;
2775 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2776 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2777 as_fn_error $? "no acceptable C compiler found in \$PATH
2778 See \`config.log' for more details" "$LINENO" 5; }
2780 # Provide some information about the compiler.
2781 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2784 for ac_option in --version -v -V -qversion; do
2785 { { ac_try="$ac_compiler $ac_option >&5"
2787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2788 *) ac_try_echo=$ac_try;;
2790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2791 $as_echo "$ac_try_echo"; } >&5
2792 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2794 if test -s conftest.err; then
2796 ... rest of stderr output deleted ...
2797 10q' conftest.err >conftest.er1
2798 cat conftest.er1 >&5
2800 rm -f conftest.er1 conftest.err
2801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2802 test $ac_status = 0; }
2805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2806 /* end confdefs.h. */
2816 ac_clean_files_save=$ac_clean_files
2817 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2818 # Try to create an executable without -o first, disregard a.out.
2819 # It will help us diagnose broken compilers, and finding out an intuition
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2822 $as_echo_n "checking whether the C compiler works... " >&6; }
2823 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2825 # The possible output files:
2826 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2829 for ac_file in $ac_files
2832 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2833 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2838 if { { ac_try="$ac_link_default"
2840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2841 *) ac_try_echo=$ac_try;;
2843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2844 $as_echo "$ac_try_echo"; } >&5
2845 (eval "$ac_link_default") 2>&5
2847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2848 test $ac_status = 0; }; then :
2849 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2850 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2851 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2852 # so that the user can short-circuit this test for compilers unknown to
2854 for ac_file in $ac_files ''
2856 test -f "$ac_file" || continue
2858 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2861 # We found the default executable, but exeext='' is most
2865 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2867 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2869 # We set ac_cv_exeext here because the later test for it is not
2870 # safe: cross compilers may not add the suffix if given an `-o'
2871 # argument, so we may need to know it at that point already.
2872 # Even if this section looks crufty: it has the advantage of
2879 test "$ac_cv_exeext" = no && ac_cv_exeext=
2884 if test -z "$ac_file"; then :
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2886 $as_echo "no" >&6; }
2887 $as_echo "$as_me: failed program was:" >&5
2888 sed 's/^/| /' conftest.$ac_ext >&5
2890 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2892 as_fn_error 77 "C compiler cannot create executables
2893 See \`config.log' for more details" "$LINENO" 5; }
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2896 $as_echo "yes" >&6; }
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2899 $as_echo_n "checking for C compiler default output file name... " >&6; }
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2901 $as_echo "$ac_file" >&6; }
2902 ac_exeext=$ac_cv_exeext
2904 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2905 ac_clean_files=$ac_clean_files_save
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2907 $as_echo_n "checking for suffix of executables... " >&6; }
2908 if { { ac_try="$ac_link"
2910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2911 *) ac_try_echo=$ac_try;;
2913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2914 $as_echo "$ac_try_echo"; } >&5
2915 (eval "$ac_link") 2>&5
2917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2918 test $ac_status = 0; }; then :
2919 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2920 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2921 # work properly (i.e., refer to `conftest.exe'), while it won't with
2923 for ac_file in conftest.exe conftest conftest.*; do
2924 test -f "$ac_file" || continue
2926 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2927 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2933 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2934 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2935 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2936 See \`config.log' for more details" "$LINENO" 5; }
2938 rm -f conftest conftest$ac_cv_exeext
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2940 $as_echo "$ac_cv_exeext" >&6; }
2942 rm -f conftest.$ac_ext
2943 EXEEXT=$ac_cv_exeext
2945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2946 /* end confdefs.h. */
2951 FILE *f = fopen ("conftest.out", "w");
2952 return ferror (f) || fclose (f) != 0;
2958 ac_clean_files="$ac_clean_files conftest.out"
2959 # Check that the compiler produces executables we can run. If not, either
2960 # the compiler is broken, or we cross compile.
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2962 $as_echo_n "checking whether we are cross compiling... " >&6; }
2963 if test "$cross_compiling" != yes; then
2964 { { ac_try="$ac_link"
2966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2967 *) ac_try_echo=$ac_try;;
2969 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2970 $as_echo "$ac_try_echo"; } >&5
2971 (eval "$ac_link") 2>&5
2973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2974 test $ac_status = 0; }
2975 if { ac_try='./conftest$ac_cv_exeext'
2976 { { case "(($ac_try" in
2977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2978 *) ac_try_echo=$ac_try;;
2980 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2981 $as_echo "$ac_try_echo"; } >&5
2982 (eval "$ac_try") 2>&5
2984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2985 test $ac_status = 0; }; }; then
2988 if test "$cross_compiling" = maybe; then
2991 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2992 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2993 as_fn_error $? "cannot run C compiled programs.
2994 If you meant to cross compile, use \`--host'.
2995 See \`config.log' for more details" "$LINENO" 5; }
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3000 $as_echo "$cross_compiling" >&6; }
3002 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3003 ac_clean_files=$ac_clean_files_save
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3005 $as_echo_n "checking for suffix of object files... " >&6; }
3006 if ${ac_cv_objext+:} false; then :
3007 $as_echo_n "(cached) " >&6
3009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3010 /* end confdefs.h. */
3020 rm -f conftest.o conftest.obj
3021 if { { ac_try="$ac_compile"
3023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3024 *) ac_try_echo=$ac_try;;
3026 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3027 $as_echo "$ac_try_echo"; } >&5
3028 (eval "$ac_compile") 2>&5
3030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3031 test $ac_status = 0; }; then :
3032 for ac_file in conftest.o conftest.obj conftest.*; do
3033 test -f "$ac_file" || continue;
3035 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3036 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3041 $as_echo "$as_me: failed program was:" >&5
3042 sed 's/^/| /' conftest.$ac_ext >&5
3044 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3046 as_fn_error $? "cannot compute suffix of object files: cannot compile
3047 See \`config.log' for more details" "$LINENO" 5; }
3049 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3052 $as_echo "$ac_cv_objext" >&6; }
3053 OBJEXT=$ac_cv_objext
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3056 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3057 if ${ac_cv_c_compiler_gnu+:} false; then :
3058 $as_echo_n "(cached) " >&6
3060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3061 /* end confdefs.h. */
3074 if ac_fn_c_try_compile "$LINENO"; then :
3079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3080 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3084 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3085 if test $ac_compiler_gnu = yes; then
3090 ac_test_CFLAGS=${CFLAGS+set}
3091 ac_save_CFLAGS=$CFLAGS
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3093 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3094 if ${ac_cv_prog_cc_g+:} false; then :
3095 $as_echo_n "(cached) " >&6
3097 ac_save_c_werror_flag=$ac_c_werror_flag
3098 ac_c_werror_flag=yes
3101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3102 /* end confdefs.h. */
3112 if ac_fn_c_try_compile "$LINENO"; then :
3116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3117 /* end confdefs.h. */
3127 if ac_fn_c_try_compile "$LINENO"; then :
3130 ac_c_werror_flag=$ac_save_c_werror_flag
3132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3133 /* end confdefs.h. */
3143 if ac_fn_c_try_compile "$LINENO"; then :
3146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3151 ac_c_werror_flag=$ac_save_c_werror_flag
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3154 $as_echo "$ac_cv_prog_cc_g" >&6; }
3155 if test "$ac_test_CFLAGS" = set; then
3156 CFLAGS=$ac_save_CFLAGS
3157 elif test $ac_cv_prog_cc_g = yes; then
3158 if test "$GCC" = yes; then
3164 if test "$GCC" = yes; then
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3171 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3172 if ${ac_cv_prog_cc_c89+:} false; then :
3173 $as_echo_n "(cached) " >&6
3175 ac_cv_prog_cc_c89=no
3177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3178 /* end confdefs.h. */
3182 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3183 struct buf { int x; };
3184 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3185 static char *e (p, i)
3191 static char *f (char * (*g) (char **, int), char **p, ...)
3196 s = g (p, va_arg (v,int));
3201 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3202 function prototypes and stuff, but not '\xHH' hex character constants.
3203 These don't provoke an error unfortunately, instead are silently treated
3204 as 'x'. The following induces an error, until -std is added to get
3205 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3206 array size at least. It's necessary to write '\x00'==0 to get something
3207 that's true only with -std. */
3208 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3210 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3211 inside strings and character constants. */
3213 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3215 int test (int i, double x);
3216 struct s1 {int (*f) (int a);};
3217 struct s2 {int (*f) (double a);};
3218 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3224 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3229 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3230 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3232 CC="$ac_save_CC $ac_arg"
3233 if ac_fn_c_try_compile "$LINENO"; then :
3234 ac_cv_prog_cc_c89=$ac_arg
3236 rm -f core conftest.err conftest.$ac_objext
3237 test "x$ac_cv_prog_cc_c89" != "xno" && break
3239 rm -f conftest.$ac_ext
3244 case "x$ac_cv_prog_cc_c89" in
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3247 $as_echo "none needed" >&6; } ;;
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3250 $as_echo "unsupported" >&6; } ;;
3252 CC="$CC $ac_cv_prog_cc_c89"
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3254 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3256 if test "x$ac_cv_prog_cc_c89" != xno; then :
3261 ac_cpp='$CPP $CPPFLAGS'
3262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3265 DEPDIR="${am__leading_dot}deps"
3267 ac_config_commands="$ac_config_commands depfiles"
3270 am_make=${MAKE-make}
3271 cat > confinc << 'END'
3273 @echo this is the am__doit target
3276 # If we don't find an include directive, just comment out the code.
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3278 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3282 # First try GNU make style include.
3283 echo "include confinc" > confmf
3284 # Ignore all kinds of additional output from 'make'.
3285 case `$am_make -s -f confmf 2> /dev/null` in #(
3286 *the\ am__doit\ target*)
3292 # Now try BSD make style include.
3293 if test "$am__include" = "#"; then
3294 echo '.include "confinc"' > confmf
3295 case `$am_make -s -f confmf 2> /dev/null` in #(
3296 *the\ am__doit\ target*)
3297 am__include=.include
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3306 $as_echo "$_am_result" >&6; }
3307 rm -f confinc confmf
3309 # Check whether --enable-dependency-tracking was given.
3310 if test "${enable_dependency_tracking+set}" = set; then :
3311 enableval=$enable_dependency_tracking;
3314 if test "x$enable_dependency_tracking" != xno; then
3315 am_depcomp="$ac_aux_dir/depcomp"
3319 if test "x$enable_dependency_tracking" != xno; then
3329 depcc="$CC" am_compiler_list=
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3332 $as_echo_n "checking dependency style of $depcc... " >&6; }
3333 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3334 $as_echo_n "(cached) " >&6
3336 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3337 # We make a subdir and do the tests there. Otherwise we can end up
3338 # making bogus files that we don't know about and never remove. For
3339 # instance it was reported that on HP-UX the gcc test will end up
3340 # making a dummy file named 'D' -- because '-MD' means "put the output
3344 # Copy depcomp to subdir because otherwise we won't find it if we're
3345 # using a relative directory.
3346 cp "$am_depcomp" conftest.dir
3348 # We will build objects and dependencies in a subdirectory because
3349 # it helps to detect inapplicable dependency modes. For instance
3350 # both Tru64's cc and ICC support -MD to output dependencies as a
3351 # side effect of compilation, but ICC will put the dependencies in
3352 # the current directory while Tru64 will put them in the object
3356 am_cv_CC_dependencies_compiler_type=none
3357 if test "$am_compiler_list" = ""; then
3358 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3361 case " $depcc " in #(
3362 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3365 for depmode in $am_compiler_list; do
3366 # Setup a source with many dependencies, because some compilers
3367 # like to wrap large dependency lists on column 80 (with \), and
3368 # we should not choose a depcomp mode which is confused by this.
3370 # We need to recreate these files for each test, as the compiler may
3371 # overwrite some of them when testing with obscure command lines.
3372 # This happens at least with the AIX C compiler.
3374 for i in 1 2 3 4 5 6; do
3375 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3376 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3377 # Solaris 10 /bin/sh.
3378 echo '/* dummy */' > sub/conftst$i.h
3380 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3382 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3383 # mode. It turns out that the SunPro C++ compiler does not properly
3384 # handle '-M -o', and we need to detect this. Also, some Intel
3385 # versions had trouble with output in subdirs.
3386 am__obj=sub/conftest.${OBJEXT-o}
3387 am__minus_obj="-o $am__obj"
3390 # This depmode causes a compiler race in universal mode.
3391 test "$am__universal" = false || continue
3394 # After this tag, mechanisms are not by side-effect, so they'll
3395 # only be used when explicitly requested.
3396 if test "x$enable_dependency_tracking" = xyes; then
3402 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3403 # This compiler won't grok '-c -o', but also, the minuso test has
3404 # not run yet. These depmodes are late enough in the game, and
3405 # so weak that their functioning should not be impacted.
3406 am__obj=conftest.${OBJEXT-o}
3411 if depmode=$depmode \
3412 source=sub/conftest.c object=$am__obj \
3413 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3414 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3415 >/dev/null 2>conftest.err &&
3416 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3417 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3418 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3419 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3420 # icc doesn't choke on unknown options, it will just issue warnings
3421 # or remarks (even with -Werror). So we grep stderr for any message
3422 # that says an option was ignored or not supported.
3423 # When given -MP, icc 7.0 and 7.1 complain thusly:
3424 # icc: Command line warning: ignoring option '-M'; no argument required
3425 # The diagnosis changed in icc 8.0:
3426 # icc: Command line remark: option '-MP' not supported
3427 if (grep 'ignoring option' conftest.err ||
3428 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3429 am_cv_CC_dependencies_compiler_type=$depmode
3438 am_cv_CC_dependencies_compiler_type=none
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3443 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3444 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3447 test "x$enable_dependency_tracking" != xno \
3448 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3450 am__fastdepCC_FALSE='#'
3452 am__fastdepCC_TRUE='#'
3453 am__fastdepCC_FALSE=
3458 if test "x$GCC" = "xyes"; then
3460 *[\ \ ]-Wall[\ \ ]*) ;;
3461 *) CFLAGS="$CFLAGS -Wall" ;;
3465 *[\ \ ]-Wchar-subscripts[\ \ ]*) ;;
3466 *) CFLAGS="$CFLAGS -Wchar-subscripts" ;;
3470 *[\ \ ]-Wmissing-declarations[\ \ ]*) ;;
3471 *) CFLAGS="$CFLAGS -Wmissing-declarations" ;;
3475 *[\ \ ]-Wmissing-prototypes[\ \ ]*) ;;
3476 *) CFLAGS="$CFLAGS -Wmissing-prototypes" ;;
3480 *[\ \ ]-Wnested-externs[\ \ ]*) ;;
3481 *) CFLAGS="$CFLAGS -Wnested-externs" ;;
3485 *[\ \ ]-Wpointer-arith[\ \ ]*) ;;
3486 *) CFLAGS="$CFLAGS -Wpointer-arith" ;;
3490 *[\ \ ]-Wcast-align[\ \ ]*) ;;
3491 *) CFLAGS="$CFLAGS -Wcast-align" ;;
3495 *[\ \ ]-Wsign-compare[\ \ ]*) ;;
3496 *) CFLAGS="$CFLAGS -Wsign-compare" ;;
3499 if test "x$enable_ansi" = "xyes"; then
3501 *[\ \ ]-ansi[\ \ ]*) ;;
3502 *) CFLAGS="$CFLAGS -ansi" ;;
3506 *[\ \ ]-pedantic[\ \ ]*) ;;
3507 *) CFLAGS="$CFLAGS -pedantic" ;;
3510 if test x$enable_gcov = xyes; then
3512 *[\ \ ]-fprofile-arcs[\ \ ]*) ;;
3513 *) CFLAGS="$CFLAGS -fprofile-arcs" ;;
3516 *[\ \ ]-ftest-coverage[\ \ ]*) ;;
3517 *) CFLAGS="$CFLAGS -ftest-coverage" ;;
3520 ## remove optimization
3521 CFLAGS=`echo "$CFLAGS" | sed -e 's/-O[0-9]*//g'`
3524 if test x$enable_gcov = xyes; then
3525 as_fn_error $? "--enable-gcov can only be used with gcc" "$LINENO" 5
3529 # compress spaces in flags
3530 CFLAGS=`echo "$CFLAGS" | sed -e 's/ +/ /g'`
3531 CPPFLAGS=`echo "$CPPFLAGS" | sed -e 's/ +/ /g'`
3539 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3540 if test -n "$ac_tool_prefix"; then
3541 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3542 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3544 $as_echo_n "checking for $ac_word... " >&6; }
3545 if ${ac_cv_path_PKG_CONFIG+:} false; then :
3546 $as_echo_n "(cached) " >&6
3550 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3557 test -z "$as_dir" && as_dir=.
3558 for ac_exec_ext in '' $ac_executable_extensions; do
3559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3560 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3571 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3572 if test -n "$PKG_CONFIG"; then
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3574 $as_echo "$PKG_CONFIG" >&6; }
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3577 $as_echo "no" >&6; }
3582 if test -z "$ac_cv_path_PKG_CONFIG"; then
3583 ac_pt_PKG_CONFIG=$PKG_CONFIG
3584 # Extract the first word of "pkg-config", so it can be a program name with args.
3585 set dummy pkg-config; ac_word=$2
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3587 $as_echo_n "checking for $ac_word... " >&6; }
3588 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
3589 $as_echo_n "(cached) " >&6
3591 case $ac_pt_PKG_CONFIG in
3593 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3600 test -z "$as_dir" && as_dir=.
3601 for ac_exec_ext in '' $ac_executable_extensions; do
3602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3603 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3614 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3615 if test -n "$ac_pt_PKG_CONFIG"; then
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3617 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3620 $as_echo "no" >&6; }
3623 if test "x$ac_pt_PKG_CONFIG" = x; then
3626 case $cross_compiling:$ac_tool_warned in
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3630 ac_tool_warned=yes ;;
3632 PKG_CONFIG=$ac_pt_PKG_CONFIG
3635 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3639 if test -n "$PKG_CONFIG"; then
3640 _pkg_min_version=0.9.0
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3642 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3643 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3645 $as_echo "yes" >&6; }
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3648 $as_echo "no" >&6; }
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DESKTOP_FILE_UTILS" >&5
3655 $as_echo_n "checking for DESKTOP_FILE_UTILS... " >&6; }
3657 if test -n "$DESKTOP_FILE_UTILS_CFLAGS"; then
3658 pkg_cv_DESKTOP_FILE_UTILS_CFLAGS="$DESKTOP_FILE_UTILS_CFLAGS"
3659 elif test -n "$PKG_CONFIG"; then
3660 if test -n "$PKG_CONFIG" && \
3661 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.8.0\""; } >&5
3662 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.8.0") 2>&5
3664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3665 test $ac_status = 0; }; then
3666 pkg_cv_DESKTOP_FILE_UTILS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.8.0" 2>/dev/null`
3673 if test -n "$DESKTOP_FILE_UTILS_LIBS"; then
3674 pkg_cv_DESKTOP_FILE_UTILS_LIBS="$DESKTOP_FILE_UTILS_LIBS"
3675 elif test -n "$PKG_CONFIG"; then
3676 if test -n "$PKG_CONFIG" && \
3677 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.8.0\""; } >&5
3678 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.8.0") 2>&5
3680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3681 test $ac_status = 0; }; then
3682 pkg_cv_DESKTOP_FILE_UTILS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.8.0" 2>/dev/null`
3692 if test $pkg_failed = yes; then
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3694 $as_echo "no" >&6; }
3696 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3697 _pkg_short_errors_supported=yes
3699 _pkg_short_errors_supported=no
3701 if test $_pkg_short_errors_supported = yes; then
3702 DESKTOP_FILE_UTILS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.8.0" 2>&1`
3704 DESKTOP_FILE_UTILS_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.8.0" 2>&1`
3706 # Put the nasty error message in config.log where it belongs
3707 echo "$DESKTOP_FILE_UTILS_PKG_ERRORS" >&5
3709 as_fn_error $? "Package requirements (glib-2.0 >= 2.8.0) were not met:
3711 $DESKTOP_FILE_UTILS_PKG_ERRORS
3713 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3714 installed software in a non-standard prefix.
3716 Alternatively, you may set the environment variables DESKTOP_FILE_UTILS_CFLAGS
3717 and DESKTOP_FILE_UTILS_LIBS to avoid the need to call pkg-config.
3718 See the pkg-config man page for more details." "$LINENO" 5
3719 elif test $pkg_failed = untried; then
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3721 $as_echo "no" >&6; }
3722 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3724 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
3725 is in your PATH or set the PKG_CONFIG environment variable to the full
3728 Alternatively, you may set the environment variables DESKTOP_FILE_UTILS_CFLAGS
3729 and DESKTOP_FILE_UTILS_LIBS to avoid the need to call pkg-config.
3730 See the pkg-config man page for more details.
3732 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3733 See \`config.log' for more details" "$LINENO" 5; }
3735 DESKTOP_FILE_UTILS_CFLAGS=$pkg_cv_DESKTOP_FILE_UTILS_CFLAGS
3736 DESKTOP_FILE_UTILS_LIBS=$pkg_cv_DESKTOP_FILE_UTILS_LIBS
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3738 $as_echo "yes" >&6; }
3742 # If set to t, that means we are running in a shell under Emacs.
3743 # If you have an Emacs named "t", then use the full path.
3744 test x"$EMACS" = xt && EMACS=
3745 for ac_prog in emacs xemacs
3747 # Extract the first word of "$ac_prog", so it can be a program name with args.
3748 set dummy $ac_prog; ac_word=$2
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3750 $as_echo_n "checking for $ac_word... " >&6; }
3751 if ${ac_cv_prog_EMACS+:} false; then :
3752 $as_echo_n "(cached) " >&6
3754 if test -n "$EMACS"; then
3755 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
3757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3761 test -z "$as_dir" && as_dir=.
3762 for ac_exec_ext in '' $ac_executable_extensions; do
3763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3764 ac_cv_prog_EMACS="$ac_prog"
3765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3774 EMACS=$ac_cv_prog_EMACS
3775 if test -n "$EMACS"; then
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EMACS" >&5
3777 $as_echo "$EMACS" >&6; }
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3780 $as_echo "no" >&6; }
3784 test -n "$EMACS" && break
3786 test -n "$EMACS" || EMACS="no"
3791 # Check whether --with-lispdir was given.
3792 if test "${with_lispdir+set}" = set; then :
3793 withval=$with_lispdir; lispdir="$withval"
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where .elc files should go" >&5
3795 $as_echo_n "checking where .elc files should go... " >&6; }
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lispdir" >&5
3797 $as_echo "$lispdir" >&6; }
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where .elc files should go" >&5
3801 $as_echo_n "checking where .elc files should go... " >&6; }
3802 if ${am_cv_lispdir+:} false; then :
3803 $as_echo_n "(cached) " >&6
3806 if test $EMACS != "no"; then
3807 if test x${lispdir+set} != xset; then
3808 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
3809 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
3810 # which is non-obvious for non-emacs users.
3811 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
3812 # emacsen earlier and avoid running this altogether.
3813 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) \"\\n\")) (setq load-path (cdr load-path)))' </dev/null >conftest.out"; } >&5
3814 ($EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) "\n")) (setq load-path (cdr load-path)))' </dev/null >conftest.out) 2>&5
3816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3817 test $ac_status = 0; }
3818 am_cv_lispdir=`sed -n \
3820 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
3821 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datarootdir}/\1,;p;q;}' \
3826 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_lispdir" >&5
3830 $as_echo "$am_cv_lispdir" >&6; }
3831 lispdir="$am_cv_lispdir"
3838 ac_config_files="$ac_config_files Makefile man/Makefile misc/Makefile src/Makefile"
3841 cat >confcache <<\_ACEOF
3842 # This file is a shell script that caches the results of configure
3843 # tests run on this system so they can be shared between configure
3844 # scripts and configure runs, see configure's option --config-cache.
3845 # It is not useful on other systems. If it contains results you don't
3846 # want to keep, you may remove or edit it.
3848 # config.status only pays attention to the cache file if you give it
3849 # the --recheck option to rerun configure.
3851 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3852 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3857 # The following way of writing the cache mishandles newlines in values,
3858 # but we know of no workaround that is simple, portable, and efficient.
3859 # So, we kill variables containing newlines.
3860 # Ultrix sh set writes to stderr and can't be redirected directly,
3861 # and sets the high bit in the cache file unless we assign to the vars.
3863 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3864 eval ac_val=\$$ac_var
3868 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3869 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3872 _ | IFS | as_nl) ;; #(
3873 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3874 *) { eval $ac_var=; unset $ac_var;} ;;
3880 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3881 *${as_nl}ac_space=\ *)
3882 # `set' does not quote correctly, so add quotes: double-quote
3883 # substitution turns \\\\ into \\, and sed turns \\ into \.
3886 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3889 # `set' quotes correctly as required by POSIX, so do not add quotes.
3890 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3899 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3901 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3903 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3904 if test -w "$cache_file"; then
3905 if test "x$cache_file" != "x/dev/null"; then
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3907 $as_echo "$as_me: updating cache $cache_file" >&6;}
3908 if test ! -f "$cache_file" || test -h "$cache_file"; then
3909 cat confcache >"$cache_file"
3911 case $cache_file in #(
3913 mv -f confcache "$cache_file"$$ &&
3914 mv -f "$cache_file"$$ "$cache_file" ;; #(
3916 mv -f confcache "$cache_file" ;;
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3922 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3927 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3928 # Let make expand exec_prefix.
3929 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3931 DEFS=-DHAVE_CONFIG_H
3936 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3937 # 1. Remove the extension, and $U if already installed.
3938 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3939 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3940 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3941 # will be set to the directory where LIBOBJS objects are built.
3942 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3943 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3947 LTLIBOBJS=$ac_ltlibobjs
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
3951 $as_echo_n "checking that generated files are newer than configure... " >&6; }
3952 if test -n "$am_sleep_pid"; then
3953 # Hide warnings about reused PIDs.
3954 wait $am_sleep_pid 2>/dev/null
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
3957 $as_echo "done" >&6; }
3958 if test -n "$EXEEXT"; then
3960 am__EXEEXT_FALSE='#'
3966 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3967 as_fn_error $? "conditional \"AMDEP\" was never defined.
3968 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3970 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3971 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
3972 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3975 : "${CONFIG_STATUS=./config.status}"
3977 ac_clean_files_save=$ac_clean_files
3978 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3980 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3982 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3984 # Generated by $as_me.
3985 # Run this file to recreate the current configuration.
3986 # Compiler output produced by configure, useful for debugging
3987 # configure, is in config.log if it exists.
3993 SHELL=\${CONFIG_SHELL-$SHELL}
3996 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3997 ## -------------------- ##
3998 ## M4sh Initialization. ##
3999 ## -------------------- ##
4001 # Be more Bourne compatible
4002 DUALCASE=1; export DUALCASE # for MKS sh
4003 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4006 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4007 # is contrary to our usage. Disable this feature.
4008 alias -g '${1+"$@"}'='"$@"'
4009 setopt NO_GLOB_SUBST
4011 case `(set -o) 2>/dev/null` in #(
4023 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4024 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4025 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4026 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4027 # Prefer a ksh shell builtin over an external printf program on Solaris,
4028 # but without wasting forks for bash or zsh.
4029 if test -z "$BASH_VERSION$ZSH_VERSION" \
4030 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4031 as_echo='print -r --'
4032 as_echo_n='print -rn --'
4033 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4034 as_echo='printf %s\n'
4035 as_echo_n='printf %s'
4037 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4038 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4039 as_echo_n='/usr/ucb/echo -n'
4041 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4042 as_echo_n_body='eval
4046 expr "X$arg" : "X\\(.*\\)$as_nl";
4047 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4049 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4051 export as_echo_n_body
4052 as_echo_n='sh -c $as_echo_n_body as_echo'
4055 as_echo='sh -c $as_echo_body as_echo'
4058 # The user is always right.
4059 if test "${PATH_SEPARATOR+set}" != set; then
4061 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4062 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4069 # We need space, tab and new line, in precisely that order. Quoting is
4070 # there to prevent editors from complaining about space-tab.
4071 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4072 # splitting by setting IFS to empty value.)
4075 # Find who we are. Look in the path if we contain no directory separator.
4078 *[\\/]* ) as_myself=$0 ;;
4079 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4083 test -z "$as_dir" && as_dir=.
4084 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4090 # We did not find ourselves, most probably we were run as `sh COMMAND'
4091 # in which case we are not to be found in the path.
4092 if test "x$as_myself" = x; then
4095 if test ! -f "$as_myself"; then
4096 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4100 # Unset variables that we do not need and which cause bugs (e.g. in
4101 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4102 # suppresses any "Segmentation fault" message there. '((' could
4103 # trigger a bug in pdksh 5.2.14.
4104 for as_var in BASH_ENV ENV MAIL MAILPATH
4105 do eval test x\${$as_var+set} = xset \
4106 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4119 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4122 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4123 # ----------------------------------------
4124 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4125 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4126 # script with STATUS, using 1 if that was 0.
4129 as_status=$1; test $as_status -eq 0 && as_status=1
4131 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4132 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4134 $as_echo "$as_me: error: $2" >&2
4135 as_fn_exit $as_status
4139 # as_fn_set_status STATUS
4140 # -----------------------
4141 # Set $? to STATUS, without forking.
4145 } # as_fn_set_status
4149 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4159 # Portably unset VAR.
4162 { eval $1=; unset $1;}
4164 as_unset=as_fn_unset
4165 # as_fn_append VAR VALUE
4166 # ----------------------
4167 # Append the text in VALUE to the end of the definition contained in VAR. Take
4168 # advantage of any shell optimizations that allow amortized linear growth over
4169 # repeated appends, instead of the typical quadratic growth present in naive
4171 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4172 eval 'as_fn_append ()
4183 # as_fn_arith ARG...
4184 # ------------------
4185 # Perform arithmetic evaluation on the ARGs, and store the result in the
4186 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4187 # must be portable across $(()) and expr.
4188 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4189 eval 'as_fn_arith ()
4196 as_val=`expr "$@" || test $? -eq 1`
4201 if expr a : '\(a\)' >/dev/null 2>&1 &&
4202 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4208 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4209 as_basename=basename
4214 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4220 as_me=`$as_basename -- "$0" ||
4221 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4222 X"$0" : 'X\(//\)$' \| \
4223 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4225 sed '/^.*\/\([^/][^/]*\)\/*$/{
4239 # Avoid depending upon Character Ranges.
4240 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4241 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4242 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4243 as_cr_digits='0123456789'
4244 as_cr_alnum=$as_cr_Letters$as_cr_digits
4246 ECHO_C= ECHO_N= ECHO_T=
4247 case `echo -n x` in #(((((
4249 case `echo 'xy\c'` in
4250 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4252 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4259 rm -f conf$$ conf$$.exe conf$$.file
4260 if test -d conf$$.dir; then
4261 rm -f conf$$.dir/conf$$.file
4264 mkdir conf$$.dir 2>/dev/null
4266 if (echo >conf$$.file) 2>/dev/null; then
4267 if ln -s conf$$.file conf$$ 2>/dev/null; then
4269 # ... but there are two gotchas:
4270 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4271 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4272 # In both cases, we have to default to `cp -pR'.
4273 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4275 elif ln conf$$.file conf$$ 2>/dev/null; then
4283 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4284 rmdir conf$$.dir 2>/dev/null
4289 # Create "$as_dir" as a directory, including parents if necessary.
4294 -*) as_dir=./$as_dir;;
4296 test -d "$as_dir" || eval $as_mkdir_p || {
4300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4301 *) as_qdir=$as_dir;;
4303 as_dirs="'$as_qdir' $as_dirs"
4304 as_dir=`$as_dirname -- "$as_dir" ||
4305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4306 X"$as_dir" : 'X\(//\)[^/]' \| \
4307 X"$as_dir" : 'X\(//\)$' \| \
4308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4309 $as_echo X"$as_dir" |
4310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4327 test -d "$as_dir" && break
4329 test -z "$as_dirs" || eval "mkdir $as_dirs"
4330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4334 if mkdir -p . 2>/dev/null; then
4335 as_mkdir_p='mkdir -p "$as_dir"'
4337 test -d ./-p && rmdir ./-p
4342 # as_fn_executable_p FILE
4343 # -----------------------
4344 # Test if FILE is an executable regular file.
4345 as_fn_executable_p ()
4347 test -f "$1" && test -x "$1"
4348 } # as_fn_executable_p
4350 as_executable_p=as_fn_executable_p
4352 # Sed expression to map a string onto a valid CPP name.
4353 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4355 # Sed expression to map a string onto a valid variable name.
4356 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4360 ## ----------------------------------- ##
4361 ## Main body of $CONFIG_STATUS script. ##
4362 ## ----------------------------------- ##
4364 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4366 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4367 # Save the log message, to keep $0 and so on meaningful, and to
4368 # report actual input values of CONFIG_FILES etc. instead of their
4369 # values after options handling.
4371 This file was extended by desktop-file-utils $as_me 0.21, which was
4372 generated by GNU Autoconf 2.69. Invocation command line was
4374 CONFIG_FILES = $CONFIG_FILES
4375 CONFIG_HEADERS = $CONFIG_HEADERS
4376 CONFIG_LINKS = $CONFIG_LINKS
4377 CONFIG_COMMANDS = $CONFIG_COMMANDS
4380 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4385 case $ac_config_files in *"
4386 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4389 case $ac_config_headers in *"
4390 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4394 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4395 # Files that config.status was made for.
4396 config_files="$ac_config_files"
4397 config_headers="$ac_config_headers"
4398 config_commands="$ac_config_commands"
4402 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4404 \`$as_me' instantiates files and other configuration actions
4405 from templates according to the current configuration. Unless the files
4406 and actions are specified as TAGs, all are instantiated by default.
4408 Usage: $0 [OPTION]... [TAG]...
4410 -h, --help print this help, then exit
4411 -V, --version print version number and configuration settings, then exit
4412 --config print configuration, then exit
4413 -q, --quiet, --silent
4414 do not print progress messages
4415 -d, --debug don't remove temporary files
4416 --recheck update $as_me by reconfiguring in the same conditions
4417 --file=FILE[:TEMPLATE]
4418 instantiate the configuration file FILE
4419 --header=FILE[:TEMPLATE]
4420 instantiate the configuration header FILE
4422 Configuration files:
4425 Configuration headers:
4428 Configuration commands:
4431 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=desktop-file-utils>."
4434 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4435 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4437 desktop-file-utils config.status 0.21
4438 configured by $0, generated by GNU Autoconf 2.69,
4439 with options \\"\$ac_cs_config\\"
4441 Copyright (C) 2012 Free Software Foundation, Inc.
4442 This config.status script is free software; the Free Software Foundation
4443 gives unlimited permission to copy, distribute and modify it."
4450 test -n "\$AWK" || AWK=awk
4453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4454 # The default lists apply if the user does not specify any file.
4460 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4461 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4465 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4477 # Handling of the options.
4478 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4480 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4481 $as_echo "$ac_cs_version"; exit ;;
4482 --config | --confi | --conf | --con | --co | --c )
4483 $as_echo "$ac_cs_config"; exit ;;
4484 --debug | --debu | --deb | --de | --d | -d )
4486 --file | --fil | --fi | --f )
4489 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4490 '') as_fn_error $? "missing file argument" ;;
4492 as_fn_append CONFIG_FILES " '$ac_optarg'"
4493 ac_need_defaults=false;;
4494 --header | --heade | --head | --hea )
4497 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4499 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4500 ac_need_defaults=false;;
4502 # Conflict between --help and --header
4503 as_fn_error $? "ambiguous option: \`$1'
4504 Try \`$0 --help' for more information.";;
4505 --help | --hel | -h )
4506 $as_echo "$ac_cs_usage"; exit ;;
4507 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4508 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4512 -*) as_fn_error $? "unrecognized option: \`$1'
4513 Try \`$0 --help' for more information." ;;
4515 *) as_fn_append ac_config_targets " $1"
4516 ac_need_defaults=false ;;
4522 ac_configure_extra_args=
4524 if $ac_cs_silent; then
4526 ac_configure_extra_args="$ac_configure_extra_args --silent"
4530 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4531 if \$ac_cs_recheck; then
4532 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4534 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4535 CONFIG_SHELL='$SHELL'
4541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4545 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4546 ## Running $as_me. ##
4552 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4556 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4562 # Handling of arguments.
4563 for ac_config_target in $ac_config_targets
4565 case $ac_config_target in
4566 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4567 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4568 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4569 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
4570 "misc/Makefile") CONFIG_FILES="$CONFIG_FILES misc/Makefile" ;;
4571 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4573 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4578 # If the user did not use the arguments to specify the items to instantiate,
4579 # then the envvar interface is used. Set only those that are not.
4580 # We use the long form for the default assignment because of an extremely
4581 # bizarre bug on SunOS 4.1.3.
4582 if $ac_need_defaults; then
4583 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4584 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4585 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4588 # Have a temporary directory for convenience. Make it in the build tree
4589 # simply because there is no reason against having it here, and in addition,
4590 # creating and moving files from /tmp can sometimes cause problems.
4591 # Hook for its removal unless debugging.
4592 # Note that there is a small window in which the directory will not be cleaned:
4593 # after its creation but before its name has been assigned to `$tmp'.
4597 trap 'exit_status=$?
4599 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4601 trap 'as_fn_exit 1' 1 2 13 15
4603 # Create a (secure) tmp directory for tmp files.
4606 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4610 tmp=./conf$$-$RANDOM
4611 (umask 077 && mkdir "$tmp")
4612 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4615 # Set up the scripts for CONFIG_FILES section.
4616 # No need to generate them if there are no CONFIG_FILES.
4617 # This happens for instance with `./config.status config.h'.
4618 if test -n "$CONFIG_FILES"; then
4621 ac_cr=`echo X | tr X '\015'`
4622 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4623 # But we know of no other shell where ac_cr would be empty at this
4624 # point, so we can use a bashism as a fallback.
4625 if test "x$ac_cr" = x; then
4626 eval ac_cr=\$\'\\r\'
4628 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4629 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4635 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4640 echo "cat >conf$$subs.awk <<_ACEOF" &&
4641 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4644 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4645 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4647 for ac_last_try in false false false false false :; do
4648 . ./conf$$subs.sh ||
4649 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4651 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4652 if test $ac_delim_n = $ac_delim_num; then
4654 elif $ac_last_try; then
4655 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4657 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4662 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4663 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4667 s/^/S["/; s/!.*/"]=/
4677 s/\(.\{148\}\)..*/\1/
4679 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4684 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4691 s/\(.\{148\}\)..*/\1/
4693 s/["\\]/\\&/g; s/^/"/; s/$/"/
4697 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4702 ' <conf$$subs.awk | sed '
4707 ' >>$CONFIG_STATUS || ac_write_fail=1
4708 rm -f conf$$subs.awk
4709 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4711 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4712 for (key in S) S_is_set[key] = 1
4718 nfields = split(line, field, "@")
4720 len = length(field[1])
4721 for (i = 2; i < nfields; i++) {
4723 keylen = length(key)
4724 if (S_is_set[key]) {
4726 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4727 len += length(value) + length(field[++i])
4738 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4739 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4740 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4743 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4744 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4747 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4748 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4749 # trailing colons and then remove the whole line if VPATH becomes empty
4750 # (actually we leave an empty line to preserve line numbers).
4751 if test "x$srcdir" = x.; then
4752 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4770 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4771 fi # test -n "$CONFIG_FILES"
4773 # Set up the scripts for CONFIG_HEADERS section.
4774 # No need to generate them if there are no CONFIG_HEADERS.
4775 # This happens for instance with `./config.status Makefile'.
4776 if test -n "$CONFIG_HEADERS"; then
4777 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4781 # Transform confdefs.h into an awk script `defines.awk', embedded as
4782 # here-document in config.status, that substitutes the proper values into
4783 # config.h.in to produce config.h.
4785 # Create a delimiter string that does not exist in confdefs.h, to ease
4786 # handling of long lines.
4788 for ac_last_try in false false :; do
4789 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4790 if test -z "$ac_tt"; then
4792 elif $ac_last_try; then
4793 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4795 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4799 # For the awk script, D is an array of macro values keyed by name,
4800 # likewise P contains macro parameters if any. Preserve backslash
4801 # newline sequences.
4803 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4805 s/.\{148\}/&'"$ac_delim"'/g
4808 s/^[ ]*#[ ]*define[ ][ ]*/ /
4815 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4817 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4821 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4822 D["\1"]=" \3\\\\\\n"\\/p
4824 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4829 s/.\{148\}/&'"$ac_delim"'/g
4834 s/["\\]/\\&/g; s/^/"/; s/$/"/p
4837 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4839 ' <confdefs.h | sed '
4840 s/'"$ac_delim"'/"\\\
4841 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4843 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4844 for (key in D) D_is_set[key] = 1
4847 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4849 split(line, arg, " ")
4850 if (arg[1] == "#") {
4854 defundef = substr(arg[1], 2)
4857 split(mac1, mac2, "(") #)
4859 prefix = substr(line, 1, index(line, defundef) - 1)
4860 if (D_is_set[macro]) {
4861 # Preserve the white space surrounding the "#".
4862 print prefix "define", macro P[macro] D[macro]
4865 # Replace #undef with comments. This is necessary, for example,
4866 # in the case of _POSIX_SOURCE, which is predefined and required
4867 # on some systems where configure will not decide to define it.
4868 if (defundef == "undef") {
4869 print "/*", prefix defundef, macro, "*/"
4877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4878 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4879 fi # test -n "$CONFIG_HEADERS"
4882 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
4887 :[FHLC]) ac_mode=$ac_tag; continue;;
4889 case $ac_mode$ac_tag in
4891 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4892 :[FH]-) ac_tag=-:-;;
4893 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4910 -) ac_f="$ac_tmp/stdin";;
4911 *) # Look for the file first in the build tree, then in the source tree
4912 # (if the path is not absolute). The absolute path cannot be DOS-style,
4913 # because $ac_f cannot contain `:'.
4917 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4919 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4921 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4922 as_fn_append ac_file_inputs " '$ac_f'"
4925 # Let's still pretend it is `configure' which instantiates (i.e., don't
4926 # use $as_me), people would be surprised to read:
4927 # /* config.h. Generated by config.status. */
4928 configure_input='Generated from '`
4929 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4931 if test x"$ac_file" != x-; then
4932 configure_input="$ac_file. $configure_input"
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4934 $as_echo "$as_me: creating $ac_file" >&6;}
4936 # Neutralize special characters interpreted by sed in replacement strings.
4937 case $configure_input in #(
4938 *\&* | *\|* | *\\* )
4939 ac_sed_conf_input=`$as_echo "$configure_input" |
4940 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4941 *) ac_sed_conf_input=$configure_input;;
4945 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4946 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4951 ac_dir=`$as_dirname -- "$ac_file" ||
4952 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4953 X"$ac_file" : 'X\(//\)[^/]' \| \
4954 X"$ac_file" : 'X\(//\)$' \| \
4955 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4956 $as_echo X"$ac_file" |
4957 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4974 as_dir="$ac_dir"; as_fn_mkdir_p
4978 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4980 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4981 # A ".." for each directory in $ac_dir_suffix.
4982 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4983 case $ac_top_builddir_sub in
4984 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4985 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4988 ac_abs_top_builddir=$ac_pwd
4989 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4990 # for backward compatibility:
4991 ac_top_builddir=$ac_top_build_prefix
4994 .) # We are building in place.
4996 ac_top_srcdir=$ac_top_builddir_sub
4997 ac_abs_top_srcdir=$ac_pwd ;;
4998 [\\/]* | ?:[\\/]* ) # Absolute name.
4999 ac_srcdir=$srcdir$ac_dir_suffix;
5000 ac_top_srcdir=$srcdir
5001 ac_abs_top_srcdir=$srcdir ;;
5003 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5004 ac_top_srcdir=$ac_top_build_prefix$srcdir
5005 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5007 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5017 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5018 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5022 [\\/$]* | ?:[\\/]* ) ;;
5023 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5027 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5028 # If the template does not know about datarootdir, expand it.
5029 # FIXME: This hack should be removed a few years after 2.60.
5030 ac_datarootdir_hack=; ac_datarootdir_seen=
5041 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5042 *datarootdir*) ac_datarootdir_seen=yes;;
5043 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5045 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5047 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5048 ac_datarootdir_hack='
5049 s&@datadir@&$datadir&g
5050 s&@docdir@&$docdir&g
5051 s&@infodir@&$infodir&g
5052 s&@localedir@&$localedir&g
5053 s&@mandir@&$mandir&g
5054 s&\\\${datarootdir}&$datarootdir&g' ;;
5058 # Neutralize VPATH when `$srcdir' = `.'.
5059 # Shell code in configure.ac might set extrasub.
5060 # FIXME: do we really want to maintain this feature?
5061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5062 ac_sed_extra="$ac_vpsub
5065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5067 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5068 s|@configure_input@|$ac_sed_conf_input|;t t
5069 s&@top_builddir@&$ac_top_builddir_sub&;t t
5070 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5071 s&@srcdir@&$ac_srcdir&;t t
5072 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5073 s&@top_srcdir@&$ac_top_srcdir&;t t
5074 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5075 s&@builddir@&$ac_builddir&;t t
5076 s&@abs_builddir@&$ac_abs_builddir&;t t
5077 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5078 s&@INSTALL@&$ac_INSTALL&;t t
5079 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5080 $ac_datarootdir_hack
5082 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5083 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5085 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5086 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5087 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5088 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5090 which seems to be undefined. Please make sure it is defined" >&5
5091 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5092 which seems to be undefined. Please make sure it is defined" >&2;}
5094 rm -f "$ac_tmp/stdin"
5096 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5097 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5099 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5105 if test x"$ac_file" != x-; then
5107 $as_echo "/* $configure_input */" \
5108 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5109 } >"$ac_tmp/config.h" \
5110 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5111 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5113 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5116 mv "$ac_tmp/config.h" "$ac_file" \
5117 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5120 $as_echo "/* $configure_input */" \
5121 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5122 || as_fn_error $? "could not create -" "$LINENO" 5
5124 # Compute "$ac_file"'s index in $config_headers.
5127 for _am_header in $config_headers :; do
5129 $_am_arg | $_am_arg:* )
5132 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5135 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5136 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5137 X"$_am_arg" : 'X\(//\)[^/]' \| \
5138 X"$_am_arg" : 'X\(//\)$' \| \
5139 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5140 $as_echo X"$_am_arg" |
5141 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5157 s/.*/./; q'`/stamp-h$_am_stamp_count
5160 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5161 $as_echo "$as_me: executing $ac_file commands" >&6;}
5166 case $ac_file$ac_mode in
5167 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5168 # Autoconf 2.62 quotes --file arguments for eval, but not when files
5169 # are listed without --file. Let's play safe and only enable the eval
5170 # if we detect the quoting.
5171 case $CONFIG_FILES in
5172 *\'*) eval set x "$CONFIG_FILES" ;;
5173 *) set x $CONFIG_FILES ;;
5178 # Strip MF so we end up with the name of the file.
5179 mf=`echo "$mf" | sed -e 's/:.*$//'`
5180 # Check whether this is an Automake generated Makefile or not.
5181 # We used to match only the files named 'Makefile.in', but
5182 # some people rename them; so instead we look at the file content.
5183 # Grep'ing the first line is not enough: some people post-process
5184 # each Makefile.in and add a new line on top of each file to say so.
5185 # Grep'ing the whole file is not good either: AIX grep has a line
5186 # limit of 2048, but all sed's we know have understand at least 4000.
5187 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5188 dirpart=`$as_dirname -- "$mf" ||
5189 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5190 X"$mf" : 'X\(//\)[^/]' \| \
5191 X"$mf" : 'X\(//\)$' \| \
5192 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5194 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5214 # Extract the definition of DEPDIR, am__include, and am__quote
5215 # from the Makefile without running 'make'.
5216 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5217 test -z "$DEPDIR" && continue
5218 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5219 test -z "am__include" && continue
5220 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5221 # Find all dependency output files, they are included files with
5222 # $(DEPDIR) in their names. We invoke sed twice because it is the
5223 # simplest approach to changing $(DEPDIR) to its actual value in the
5225 for file in `sed -n "
5226 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5227 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
5228 # Make sure the directory exists.
5229 test -f "$dirpart/$file" && continue
5230 fdir=`$as_dirname -- "$file" ||
5231 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5232 X"$file" : 'X\(//\)[^/]' \| \
5233 X"$file" : 'X\(//\)$' \| \
5234 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5253 as_dir=$dirpart/$fdir; as_fn_mkdir_p
5254 # echo "creating $dirpart/$file"
5255 echo '# dummy' > "$dirpart/$file"
5267 ac_clean_files=$ac_clean_files_save
5269 test $ac_write_fail = 0 ||
5270 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5273 # configure is writing to config.log, and then calls config.status.
5274 # config.status does its own redirection, appending to config.log.
5275 # Unfortunately, on DOS this fails, as config.log is still kept open
5276 # by configure, so config.status won't be able to write to it; its
5277 # output is simply discarded. So we exec the FD to /dev/null,
5278 # effectively closing config.log, so it can be properly (re)opened and
5279 # appended to by config.status. When coming back to configure, we
5280 # need to make the FD available again.
5281 if test "$no_create" != yes; then
5283 ac_config_status_args=
5284 test "$silent" = yes &&
5285 ac_config_status_args="$ac_config_status_args --quiet"
5287 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5289 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5290 # would make configure fail if this is the last instruction.
5291 $ac_cs_success || as_fn_exit 1
5293 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5295 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}