2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for ptask 0.0.9.
5 # Report bugs to <jeanfi@gmail.com>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir=.
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
240 if test "x$CONFIG_SHELL" != x; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250 *v*x* | *x*v* ) as_opts=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and jeanfi@gmail.com
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.
582 PACKAGE_TARNAME='ptask'
583 PACKAGE_VERSION='0.0.9'
584 PACKAGE_STRING='ptask 0.0.9'
585 PACKAGE_BUGREPORT='jeanfi@gmail.com'
586 PACKAGE_URL='http://wpitchoune.net/ptask'
588 ac_unique_file="src/main.c"
590 ac_subst_vars='am__EXEEXT_FALSE
601 GSETTINGS_DISABLE_SCHEMAS_COMPILE
632 XGETTEXT_EXTRA_OPTIONS
640 GETTEXT_MACRO_VERSION
674 INSTALL_STRIP_PROGRAM
716 program_transform_name
729 enable_option_checking
731 enable_dependency_tracking
738 enable_schemas_compile
740 ac_precious_vars='build_alias
763 # Initialize some variables set by options.
765 ac_init_version=false
766 ac_unrecognized_opts=
768 # The variables have the same names as the options, with
769 # dashes changed to underlines.
777 program_transform_name=s,x,x,
785 # Installation directory options.
786 # These are left unexpanded so users can "make install exec_prefix=/foo"
787 # and all the variables that are supposed to be based on exec_prefix
788 # by default will actually change.
789 # Use braces instead of parens because sh, perl, etc. also accept them.
790 # (The list follows the same order as the GNU Coding Standards.)
791 bindir='${exec_prefix}/bin'
792 sbindir='${exec_prefix}/sbin'
793 libexecdir='${exec_prefix}/libexec'
794 datarootdir='${prefix}/share'
795 datadir='${datarootdir}'
796 sysconfdir='${prefix}/etc'
797 sharedstatedir='${prefix}/com'
798 localstatedir='${prefix}/var'
799 includedir='${prefix}/include'
800 oldincludedir='/usr/include'
801 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
802 infodir='${datarootdir}/info'
807 libdir='${exec_prefix}/lib'
808 localedir='${datarootdir}/locale'
809 mandir='${datarootdir}/man'
815 # If the previous option needs an argument, assign it.
816 if test -n "$ac_prev"; then
817 eval $ac_prev=\$ac_option
823 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
828 # Accept the important Cygnus configure options, so we can diagnose typos.
830 case $ac_dashdash$ac_option in
834 -bindir | --bindir | --bindi | --bind | --bin | --bi)
836 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
839 -build | --build | --buil | --bui | --bu)
840 ac_prev=build_alias ;;
841 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
842 build_alias=$ac_optarg ;;
844 -cache-file | --cache-file | --cache-fil | --cache-fi \
845 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
846 ac_prev=cache_file ;;
847 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
848 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
849 cache_file=$ac_optarg ;;
852 cache_file=config.cache ;;
854 -datadir | --datadir | --datadi | --datad)
856 -datadir=* | --datadir=* | --datadi=* | --datad=*)
857 datadir=$ac_optarg ;;
859 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
860 | --dataroo | --dataro | --datar)
861 ac_prev=datarootdir ;;
862 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
863 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
864 datarootdir=$ac_optarg ;;
866 -disable-* | --disable-*)
867 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
868 # Reject names that are not valid shell variable names.
869 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
870 as_fn_error $? "invalid feature name: $ac_useropt"
871 ac_useropt_orig=$ac_useropt
872 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
873 case $ac_user_opts in
877 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
878 ac_unrecognized_sep=', ';;
880 eval enable_$ac_useropt=no ;;
882 -docdir | --docdir | --docdi | --doc | --do)
884 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
887 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
889 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
892 -enable-* | --enable-*)
893 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
894 # Reject names that are not valid shell variable names.
895 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
896 as_fn_error $? "invalid feature name: $ac_useropt"
897 ac_useropt_orig=$ac_useropt
898 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
899 case $ac_user_opts in
903 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
904 ac_unrecognized_sep=', ';;
906 eval enable_$ac_useropt=\$ac_optarg ;;
908 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
909 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
910 | --exec | --exe | --ex)
911 ac_prev=exec_prefix ;;
912 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
913 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
914 | --exec=* | --exe=* | --ex=*)
915 exec_prefix=$ac_optarg ;;
917 -gas | --gas | --ga | --g)
918 # Obsolete; use --with-gas.
921 -help | --help | --hel | --he | -h)
923 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
924 ac_init_help=recursive ;;
925 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
926 ac_init_help=short ;;
928 -host | --host | --hos | --ho)
929 ac_prev=host_alias ;;
930 -host=* | --host=* | --hos=* | --ho=*)
931 host_alias=$ac_optarg ;;
933 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
935 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
937 htmldir=$ac_optarg ;;
939 -includedir | --includedir | --includedi | --included | --include \
940 | --includ | --inclu | --incl | --inc)
941 ac_prev=includedir ;;
942 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
943 | --includ=* | --inclu=* | --incl=* | --inc=*)
944 includedir=$ac_optarg ;;
946 -infodir | --infodir | --infodi | --infod | --info | --inf)
948 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
949 infodir=$ac_optarg ;;
951 -libdir | --libdir | --libdi | --libd)
953 -libdir=* | --libdir=* | --libdi=* | --libd=*)
956 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
957 | --libexe | --libex | --libe)
958 ac_prev=libexecdir ;;
959 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
960 | --libexe=* | --libex=* | --libe=*)
961 libexecdir=$ac_optarg ;;
963 -localedir | --localedir | --localedi | --localed | --locale)
965 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
966 localedir=$ac_optarg ;;
968 -localstatedir | --localstatedir | --localstatedi | --localstated \
969 | --localstate | --localstat | --localsta | --localst | --locals)
970 ac_prev=localstatedir ;;
971 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
972 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
973 localstatedir=$ac_optarg ;;
975 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
977 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
981 # Obsolete; use --without-fp.
984 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
985 | --no-cr | --no-c | -n)
988 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
989 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
992 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
993 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
994 | --oldin | --oldi | --old | --ol | --o)
995 ac_prev=oldincludedir ;;
996 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
997 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
998 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
999 oldincludedir=$ac_optarg ;;
1001 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1003 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1004 prefix=$ac_optarg ;;
1006 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1007 | --program-pre | --program-pr | --program-p)
1008 ac_prev=program_prefix ;;
1009 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1010 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1011 program_prefix=$ac_optarg ;;
1013 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1014 | --program-suf | --program-su | --program-s)
1015 ac_prev=program_suffix ;;
1016 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1017 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1018 program_suffix=$ac_optarg ;;
1020 -program-transform-name | --program-transform-name \
1021 | --program-transform-nam | --program-transform-na \
1022 | --program-transform-n | --program-transform- \
1023 | --program-transform | --program-transfor \
1024 | --program-transfo | --program-transf \
1025 | --program-trans | --program-tran \
1026 | --progr-tra | --program-tr | --program-t)
1027 ac_prev=program_transform_name ;;
1028 -program-transform-name=* | --program-transform-name=* \
1029 | --program-transform-nam=* | --program-transform-na=* \
1030 | --program-transform-n=* | --program-transform-=* \
1031 | --program-transform=* | --program-transfor=* \
1032 | --program-transfo=* | --program-transf=* \
1033 | --program-trans=* | --program-tran=* \
1034 | --progr-tra=* | --program-tr=* | --program-t=*)
1035 program_transform_name=$ac_optarg ;;
1037 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1039 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1040 pdfdir=$ac_optarg ;;
1042 -psdir | --psdir | --psdi | --psd | --ps)
1044 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1047 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1048 | -silent | --silent | --silen | --sile | --sil)
1051 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1053 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1055 sbindir=$ac_optarg ;;
1057 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1058 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1059 | --sharedst | --shareds | --shared | --share | --shar \
1061 ac_prev=sharedstatedir ;;
1062 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1063 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1064 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1066 sharedstatedir=$ac_optarg ;;
1068 -site | --site | --sit)
1070 -site=* | --site=* | --sit=*)
1073 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1075 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1076 srcdir=$ac_optarg ;;
1078 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1079 | --syscon | --sysco | --sysc | --sys | --sy)
1080 ac_prev=sysconfdir ;;
1081 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1082 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1083 sysconfdir=$ac_optarg ;;
1085 -target | --target | --targe | --targ | --tar | --ta | --t)
1086 ac_prev=target_alias ;;
1087 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1088 target_alias=$ac_optarg ;;
1090 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1093 -version | --version | --versio | --versi | --vers | -V)
1094 ac_init_version=: ;;
1097 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1098 # Reject names that are not valid shell variable names.
1099 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1100 as_fn_error $? "invalid package name: $ac_useropt"
1101 ac_useropt_orig=$ac_useropt
1102 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1103 case $ac_user_opts in
1107 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1108 ac_unrecognized_sep=', ';;
1110 eval with_$ac_useropt=\$ac_optarg ;;
1112 -without-* | --without-*)
1113 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1116 as_fn_error $? "invalid package name: $ac_useropt"
1117 ac_useropt_orig=$ac_useropt
1118 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1119 case $ac_user_opts in
1123 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1124 ac_unrecognized_sep=', ';;
1126 eval with_$ac_useropt=no ;;
1129 # Obsolete; use --with-x.
1132 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1133 | --x-incl | --x-inc | --x-in | --x-i)
1134 ac_prev=x_includes ;;
1135 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1136 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1137 x_includes=$ac_optarg ;;
1139 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1140 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1141 ac_prev=x_libraries ;;
1142 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1143 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1144 x_libraries=$ac_optarg ;;
1146 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1147 Try \`$0 --help' for more information"
1151 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1152 # Reject names that are not valid shell variable names.
1153 case $ac_envvar in #(
1154 '' | [0-9]* | *[!_$as_cr_alnum]* )
1155 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1157 eval $ac_envvar=\$ac_optarg
1158 export $ac_envvar ;;
1161 # FIXME: should be removed in autoconf 3.0.
1162 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1163 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1164 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1165 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1171 if test -n "$ac_prev"; then
1172 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1173 as_fn_error $? "missing argument to $ac_option"
1176 if test -n "$ac_unrecognized_opts"; then
1177 case $enable_option_checking in
1179 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1180 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1184 # Check all directory arguments for consistency.
1185 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1186 datadir sysconfdir sharedstatedir localstatedir includedir \
1187 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1188 libdir localedir mandir
1190 eval ac_val=\$$ac_var
1191 # Remove trailing slashes.
1194 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1195 eval $ac_var=\$ac_val;;
1197 # Be sure to have absolute directory names.
1199 [\\/$]* | ?:[\\/]* ) continue;;
1200 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1202 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1205 # There might be people who depend on the old broken behavior: `$host'
1206 # used to hold the argument of --host etc.
1207 # FIXME: To remove some day.
1210 target=$target_alias
1212 # FIXME: To remove some day.
1213 if test "x$host_alias" != x; then
1214 if test "x$build_alias" = x; then
1215 cross_compiling=maybe
1216 elif test "x$build_alias" != "x$host_alias"; then
1222 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1224 test "$silent" = yes && exec 6>/dev/null
1227 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1228 ac_ls_di=`ls -di .` &&
1229 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1230 as_fn_error $? "working directory cannot be determined"
1231 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1232 as_fn_error $? "pwd does not report name of working directory"
1235 # Find the source files, if location was not specified.
1236 if test -z "$srcdir"; then
1237 ac_srcdir_defaulted=yes
1238 # Try the directory containing this script, then the parent directory.
1239 ac_confdir=`$as_dirname -- "$as_myself" ||
1240 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1241 X"$as_myself" : 'X\(//\)[^/]' \| \
1242 X"$as_myself" : 'X\(//\)$' \| \
1243 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1244 $as_echo X"$as_myself" |
1245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1263 if test ! -r "$srcdir/$ac_unique_file"; then
1267 ac_srcdir_defaulted=no
1269 if test ! -r "$srcdir/$ac_unique_file"; then
1270 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1271 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1273 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1275 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1277 # When building in place, set srcdir=.
1278 if test "$ac_abs_confdir" = "$ac_pwd"; then
1281 # Remove unnecessary trailing slashes from srcdir.
1282 # Double slashes in file names in object file debugging info
1283 # mess up M-x gdb in Emacs.
1285 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1287 for ac_var in $ac_precious_vars; do
1288 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1289 eval ac_env_${ac_var}_value=\$${ac_var}
1290 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1291 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1295 # Report the --help message.
1297 if test "$ac_init_help" = "long"; then
1298 # Omit some internal or obsolete options to make the list less imposing.
1299 # This message is too long to be a string in the A/UX 3.1 sh.
1301 \`configure' configures ptask 0.0.9 to adapt to many kinds of systems.
1303 Usage: $0 [OPTION]... [VAR=VALUE]...
1305 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1306 VAR=VALUE. See below for descriptions of some of the useful variables.
1308 Defaults for the options are specified in brackets.
1311 -h, --help display this help and exit
1312 --help=short display options specific to this package
1313 --help=recursive display the short help of all the included packages
1314 -V, --version display version information and exit
1315 -q, --quiet, --silent do not print \`checking ...' messages
1316 --cache-file=FILE cache test results in FILE [disabled]
1317 -C, --config-cache alias for \`--cache-file=config.cache'
1318 -n, --no-create do not create output files
1319 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1321 Installation directories:
1322 --prefix=PREFIX install architecture-independent files in PREFIX
1323 [$ac_default_prefix]
1324 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1327 By default, \`make install' will install all the files in
1328 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1329 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1330 for instance \`--prefix=\$HOME'.
1332 For better control, use the options below.
1334 Fine tuning of the installation directories:
1335 --bindir=DIR user executables [EPREFIX/bin]
1336 --sbindir=DIR system admin executables [EPREFIX/sbin]
1337 --libexecdir=DIR program executables [EPREFIX/libexec]
1338 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1339 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1340 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1341 --libdir=DIR object code libraries [EPREFIX/lib]
1342 --includedir=DIR C header files [PREFIX/include]
1343 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1344 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1345 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1346 --infodir=DIR info documentation [DATAROOTDIR/info]
1347 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1348 --mandir=DIR man documentation [DATAROOTDIR/man]
1349 --docdir=DIR documentation root [DATAROOTDIR/doc/ptask]
1350 --htmldir=DIR html documentation [DOCDIR]
1351 --dvidir=DIR dvi documentation [DOCDIR]
1352 --pdfdir=DIR pdf documentation [DOCDIR]
1353 --psdir=DIR ps documentation [DOCDIR]
1359 --program-prefix=PREFIX prepend PREFIX to installed program names
1360 --program-suffix=SUFFIX append SUFFIX to installed program names
1361 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1364 --x-includes=DIR X include files are in DIR
1365 --x-libraries=DIR X library files are in DIR
1368 --build=BUILD configure for building on BUILD [guessed]
1369 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1373 if test -n "$ac_init_help"; then
1374 case $ac_init_help in
1375 short | recursive ) echo "Configuration of ptask 0.0.9:";;
1380 --disable-option-checking ignore unrecognized --enable/--with options
1381 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1382 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1383 --enable-silent-rules less verbose build output (undo: "make V=1")
1384 --disable-silent-rules verbose build output (undo: "make V=0")
1385 --enable-dependency-tracking
1386 do not reject slow dependency extractors
1387 --disable-dependency-tracking
1388 speeds up one-time build
1389 --disable-nls do not use Native Language Support
1390 --disable-rpath do not hardcode runtime library paths
1391 --disable-schemas-compile
1392 Disable regeneration of gschemas.compiled on install
1395 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1396 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1397 --with-x use the X Window System
1398 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1399 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1400 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1401 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1402 --without-libintl-prefix don't search for libintl in includedir and libdir
1404 Some influential environment variables:
1405 CC C compiler command
1406 CFLAGS C compiler flags
1407 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1408 nonstandard directory <lib dir>
1409 LIBS libraries to pass to the linker, e.g. -l<library>
1410 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1411 you have headers in a nonstandard directory <include dir>
1412 XMKMF Path to xmkmf, Makefile generator for X Window System
1414 PKG_CONFIG path to pkg-config utility
1416 directories to add to pkg-config's search path
1418 path overriding pkg-config's built-in search path
1419 X11_CFLAGS C compiler flags for X11, overriding pkg-config
1420 X11_LIBS linker flags for X11, overriding pkg-config
1421 XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
1422 XEXT_LIBS linker flags for XEXT, overriding pkg-config
1423 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1424 GTK_LIBS linker flags for GTK, overriding pkg-config
1425 JSON_CFLAGS C compiler flags for JSON, overriding pkg-config
1426 JSON_LIBS linker flags for JSON, overriding pkg-config
1428 Use these variables to override the choices made by `configure' or to help
1429 it to find libraries and programs with nonstandard names/locations.
1431 Report bugs to <jeanfi@gmail.com>.
1432 ptask home page: <http://wpitchoune.net/ptask>.
1437 if test "$ac_init_help" = "recursive"; then
1438 # If there are subdirs, report their specific --help.
1439 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1440 test -d "$ac_dir" ||
1441 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1446 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1448 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1449 # A ".." for each directory in $ac_dir_suffix.
1450 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1451 case $ac_top_builddir_sub in
1452 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1453 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1456 ac_abs_top_builddir=$ac_pwd
1457 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1458 # for backward compatibility:
1459 ac_top_builddir=$ac_top_build_prefix
1462 .) # We are building in place.
1464 ac_top_srcdir=$ac_top_builddir_sub
1465 ac_abs_top_srcdir=$ac_pwd ;;
1466 [\\/]* | ?:[\\/]* ) # Absolute name.
1467 ac_srcdir=$srcdir$ac_dir_suffix;
1468 ac_top_srcdir=$srcdir
1469 ac_abs_top_srcdir=$srcdir ;;
1471 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1472 ac_top_srcdir=$ac_top_build_prefix$srcdir
1473 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1475 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1477 cd "$ac_dir" || { ac_status=$?; continue; }
1478 # Check for guested configure.
1479 if test -f "$ac_srcdir/configure.gnu"; then
1481 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1482 elif test -f "$ac_srcdir/configure"; then
1484 $SHELL "$ac_srcdir/configure" --help=recursive
1486 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1488 cd "$ac_pwd" || { ac_status=$?; break; }
1492 test -n "$ac_init_help" && exit $ac_status
1493 if $ac_init_version; then
1495 ptask configure 0.0.9
1496 generated by GNU Autoconf 2.69
1498 Copyright (C) 2012 Free Software Foundation, Inc.
1499 This configure script is free software; the Free Software Foundation
1500 gives unlimited permission to copy, distribute and modify it.
1505 ## ------------------------ ##
1506 ## Autoconf initialization. ##
1507 ## ------------------------ ##
1509 # ac_fn_c_try_compile LINENO
1510 # --------------------------
1511 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1512 ac_fn_c_try_compile ()
1514 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1515 rm -f conftest.$ac_objext
1516 if { { ac_try="$ac_compile"
1518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1519 *) ac_try_echo=$ac_try;;
1521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1522 $as_echo "$ac_try_echo"; } >&5
1523 (eval "$ac_compile") 2>conftest.err
1525 if test -s conftest.err; then
1526 grep -v '^ *+' conftest.err >conftest.er1
1527 cat conftest.er1 >&5
1528 mv -f conftest.er1 conftest.err
1530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1531 test $ac_status = 0; } && {
1532 test -z "$ac_c_werror_flag" ||
1533 test ! -s conftest.err
1534 } && test -s conftest.$ac_objext; then :
1537 $as_echo "$as_me: failed program was:" >&5
1538 sed 's/^/| /' conftest.$ac_ext >&5
1542 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1543 as_fn_set_status $ac_retval
1545 } # ac_fn_c_try_compile
1547 # ac_fn_c_try_cpp LINENO
1548 # ----------------------
1549 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1552 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1553 if { { ac_try="$ac_cpp conftest.$ac_ext"
1555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1556 *) ac_try_echo=$ac_try;;
1558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1559 $as_echo "$ac_try_echo"; } >&5
1560 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1562 if test -s conftest.err; then
1563 grep -v '^ *+' conftest.err >conftest.er1
1564 cat conftest.er1 >&5
1565 mv -f conftest.er1 conftest.err
1567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1568 test $ac_status = 0; } > conftest.i && {
1569 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1570 test ! -s conftest.err
1574 $as_echo "$as_me: failed program was:" >&5
1575 sed 's/^/| /' conftest.$ac_ext >&5
1579 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1580 as_fn_set_status $ac_retval
1584 # ac_fn_c_try_link LINENO
1585 # -----------------------
1586 # Try to link conftest.$ac_ext, and return whether this succeeded.
1589 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1590 rm -f conftest.$ac_objext conftest$ac_exeext
1591 if { { ac_try="$ac_link"
1593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1594 *) ac_try_echo=$ac_try;;
1596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1597 $as_echo "$ac_try_echo"; } >&5
1598 (eval "$ac_link") 2>conftest.err
1600 if test -s conftest.err; then
1601 grep -v '^ *+' conftest.err >conftest.er1
1602 cat conftest.er1 >&5
1603 mv -f conftest.er1 conftest.err
1605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1606 test $ac_status = 0; } && {
1607 test -z "$ac_c_werror_flag" ||
1608 test ! -s conftest.err
1609 } && test -s conftest$ac_exeext && {
1610 test "$cross_compiling" = yes ||
1611 test -x conftest$ac_exeext
1615 $as_echo "$as_me: failed program was:" >&5
1616 sed 's/^/| /' conftest.$ac_ext >&5
1620 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1621 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1622 # interfere with the next link command; also delete a directory that is
1623 # left behind by Apple's compiler. We do this before executing the actions.
1624 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1625 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1626 as_fn_set_status $ac_retval
1628 } # ac_fn_c_try_link
1630 # ac_fn_c_try_run LINENO
1631 # ----------------------
1632 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1633 # that executables *can* be run.
1636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1637 if { { ac_try="$ac_link"
1639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1640 *) ac_try_echo=$ac_try;;
1642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1643 $as_echo "$ac_try_echo"; } >&5
1644 (eval "$ac_link") 2>&5
1646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1647 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1648 { { case "(($ac_try" in
1649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1650 *) ac_try_echo=$ac_try;;
1652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1653 $as_echo "$ac_try_echo"; } >&5
1654 (eval "$ac_try") 2>&5
1656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1657 test $ac_status = 0; }; }; then :
1660 $as_echo "$as_me: program exited with status $ac_status" >&5
1661 $as_echo "$as_me: failed program was:" >&5
1662 sed 's/^/| /' conftest.$ac_ext >&5
1664 ac_retval=$ac_status
1666 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1667 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1668 as_fn_set_status $ac_retval
1671 cat >config.log <<_ACEOF
1672 This file contains any messages produced by compilers while
1673 running configure, to aid debugging if configure makes a mistake.
1675 It was created by ptask $as_me 0.0.9, which was
1676 generated by GNU Autoconf 2.69. Invocation command line was
1688 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1689 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1690 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1691 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1692 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1694 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1695 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1697 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1698 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1699 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1700 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1701 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1702 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1703 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1711 test -z "$as_dir" && as_dir=.
1712 $as_echo "PATH: $as_dir"
1728 # Keep a trace of the command line.
1729 # Strip out --no-create and --no-recursion so they do not pile up.
1730 # Strip out --silent because we don't want to record it for future runs.
1731 # Also quote any args containing shell meta-characters.
1732 # Make two passes to allow for proper duplicate-argument suppression.
1736 ac_must_keep_next=false
1742 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1743 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1744 | -silent | --silent | --silen | --sile | --sil)
1747 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1750 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1752 as_fn_append ac_configure_args1 " '$ac_arg'"
1753 if test $ac_must_keep_next = true; then
1754 ac_must_keep_next=false # Got value, back to normal.
1757 *=* | --config-cache | -C | -disable-* | --disable-* \
1758 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1759 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1760 | -with-* | --with-* | -without-* | --without-* | --x)
1761 case "$ac_configure_args0 " in
1762 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1765 -* ) ac_must_keep_next=true ;;
1768 as_fn_append ac_configure_args " '$ac_arg'"
1773 { ac_configure_args0=; unset ac_configure_args0;}
1774 { ac_configure_args1=; unset ac_configure_args1;}
1776 # When interrupted or exit'd, cleanup temporary files, and complete
1777 # config.log. We remove comments because anyway the quotes in there
1778 # would cause problems or look ugly.
1779 # WARNING: Use '\'' to represent an apostrophe within the trap.
1780 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1781 trap 'exit_status=$?
1782 # Save into config.log some information that might help in debugging.
1786 $as_echo "## ---------------- ##
1787 ## Cache variables. ##
1788 ## ---------------- ##"
1790 # The following way of writing the cache mishandles newlines in values,
1792 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1793 eval ac_val=\$$ac_var
1797 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1798 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1801 _ | IFS | as_nl) ;; #(
1802 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1803 *) { eval $ac_var=; unset $ac_var;} ;;
1808 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1809 *${as_nl}ac_space=\ *)
1811 "s/'\''/'\''\\\\'\'''\''/g;
1812 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1815 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1822 $as_echo "## ----------------- ##
1823 ## Output variables. ##
1824 ## ----------------- ##"
1826 for ac_var in $ac_subst_vars
1828 eval ac_val=\$$ac_var
1830 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1832 $as_echo "$ac_var='\''$ac_val'\''"
1836 if test -n "$ac_subst_files"; then
1837 $as_echo "## ------------------- ##
1838 ## File substitutions. ##
1839 ## ------------------- ##"
1841 for ac_var in $ac_subst_files
1843 eval ac_val=\$$ac_var
1845 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1847 $as_echo "$ac_var='\''$ac_val'\''"
1852 if test -s confdefs.h; then
1853 $as_echo "## ----------- ##
1860 test "$ac_signal" != 0 &&
1861 $as_echo "$as_me: caught signal $ac_signal"
1862 $as_echo "$as_me: exit $exit_status"
1864 rm -f core *.core core.conftest.* &&
1865 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1868 for ac_signal in 1 2 13 15; do
1869 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1873 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1874 rm -f -r conftest* confdefs.h
1876 $as_echo "/* confdefs.h */" > confdefs.h
1878 # Predefined preprocessor variables.
1880 cat >>confdefs.h <<_ACEOF
1881 #define PACKAGE_NAME "$PACKAGE_NAME"
1884 cat >>confdefs.h <<_ACEOF
1885 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1888 cat >>confdefs.h <<_ACEOF
1889 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1892 cat >>confdefs.h <<_ACEOF
1893 #define PACKAGE_STRING "$PACKAGE_STRING"
1896 cat >>confdefs.h <<_ACEOF
1897 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1900 cat >>confdefs.h <<_ACEOF
1901 #define PACKAGE_URL "$PACKAGE_URL"
1905 # Let the site file select an alternate cache file if it wants to.
1906 # Prefer an explicitly selected file to automatically selected ones.
1909 if test -n "$CONFIG_SITE"; then
1910 # We do not want a PATH search for config.site.
1911 case $CONFIG_SITE in #((
1912 -*) ac_site_file1=./$CONFIG_SITE;;
1913 */*) ac_site_file1=$CONFIG_SITE;;
1914 *) ac_site_file1=./$CONFIG_SITE;;
1916 elif test "x$prefix" != xNONE; then
1917 ac_site_file1=$prefix/share/config.site
1918 ac_site_file2=$prefix/etc/config.site
1920 ac_site_file1=$ac_default_prefix/share/config.site
1921 ac_site_file2=$ac_default_prefix/etc/config.site
1923 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1925 test "x$ac_site_file" = xNONE && continue
1926 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1928 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1929 sed 's/^/| /' "$ac_site_file" >&5
1931 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1932 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1933 as_fn_error $? "failed to load site script $ac_site_file
1934 See \`config.log' for more details" "$LINENO" 5; }
1938 if test -r "$cache_file"; then
1939 # Some versions of bash will fail to source /dev/null (special files
1940 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1941 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1943 $as_echo "$as_me: loading cache $cache_file" >&6;}
1945 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1946 *) . "./$cache_file";;
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1951 $as_echo "$as_me: creating cache $cache_file" >&6;}
1955 gt_needs="$gt_needs "
1956 # Check that the precious variables saved in the cache have kept the same
1958 ac_cache_corrupted=false
1959 for ac_var in $ac_precious_vars; do
1960 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1961 eval ac_new_set=\$ac_env_${ac_var}_set
1962 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1963 eval ac_new_val=\$ac_env_${ac_var}_value
1964 case $ac_old_set,$ac_new_set in
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1967 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1968 ac_cache_corrupted=: ;;
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1971 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1972 ac_cache_corrupted=: ;;
1975 if test "x$ac_old_val" != "x$ac_new_val"; then
1976 # differences in whitespace do not lead to failure.
1977 ac_old_val_w=`echo x $ac_old_val`
1978 ac_new_val_w=`echo x $ac_new_val`
1979 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1981 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1982 ac_cache_corrupted=:
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1985 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1986 eval $ac_var=\$ac_old_val
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1989 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1991 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1994 # Pass precious variables to config.status.
1995 if test "$ac_new_set" = set; then
1997 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1998 *) ac_arg=$ac_var=$ac_new_val ;;
2000 case " $ac_configure_args " in
2001 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2002 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2006 if $ac_cache_corrupted; then
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2010 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2011 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2013 ## -------------------- ##
2014 ## Main body of script. ##
2015 ## -------------------- ##
2018 ac_cpp='$CPP $CPPFLAGS'
2019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2025 am__api_version='1.14'
2028 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2029 if test -f "$ac_dir/install-sh"; then
2031 ac_install_sh="$ac_aux_dir/install-sh -c"
2033 elif test -f "$ac_dir/install.sh"; then
2035 ac_install_sh="$ac_aux_dir/install.sh -c"
2037 elif test -f "$ac_dir/shtool"; then
2039 ac_install_sh="$ac_aux_dir/shtool install -c"
2043 if test -z "$ac_aux_dir"; then
2044 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2047 # These three variables are undocumented and unsupported,
2048 # and are intended to be withdrawn in a future Autoconf release.
2049 # They can cause serious problems if a builder's source tree is in a directory
2050 # whose full name contains unusual characters.
2051 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2052 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2053 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2056 # Find a good install program. We prefer a C program (faster),
2057 # so one script is as good as another. But avoid the broken or
2058 # incompatible versions:
2059 # SysV /etc/install, /usr/sbin/install
2060 # SunOS /usr/etc/install
2061 # IRIX /sbin/install
2063 # AmigaOS /C/install, which installs bootblocks on floppy discs
2064 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2065 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2066 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2067 # OS/2's system install, which has a completely different semantic
2068 # ./install, which can be erroneously created by make from ./install.sh.
2069 # Reject install programs that cannot install multiple files.
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2071 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2072 if test -z "$INSTALL"; then
2073 if ${ac_cv_path_install+:} false; then :
2074 $as_echo_n "(cached) " >&6
2076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2080 test -z "$as_dir" && as_dir=.
2081 # Account for people who put trailing slashes in PATH elements.
2082 case $as_dir/ in #((
2083 ./ | .// | /[cC]/* | \
2084 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2085 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2088 # OSF1 and SCO ODT 3.0 have their own names for install.
2089 # Don't use installbsd from OSF since it installs stuff as root
2091 for ac_prog in ginstall scoinst install; do
2092 for ac_exec_ext in '' $ac_executable_extensions; do
2093 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2094 if test $ac_prog = install &&
2095 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2096 # AIX install. It has an incompatible calling convention.
2098 elif test $ac_prog = install &&
2099 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2100 # program-specific install script used by HP pwplus--don't use.
2103 rm -rf conftest.one conftest.two conftest.dir
2104 echo one > conftest.one
2105 echo two > conftest.two
2107 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2108 test -s conftest.one && test -s conftest.two &&
2109 test -s conftest.dir/conftest.one &&
2110 test -s conftest.dir/conftest.two
2112 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2125 rm -rf conftest.one conftest.two conftest.dir
2128 if test "${ac_cv_path_install+set}" = set; then
2129 INSTALL=$ac_cv_path_install
2131 # As a last resort, use the slow shell script. Don't cache a
2132 # value for INSTALL within a source directory, because that will
2133 # break other packages using the cache if that directory is
2134 # removed, or if the value is a relative name.
2135 INSTALL=$ac_install_sh
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2139 $as_echo "$INSTALL" >&6; }
2141 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2142 # It thinks the first close brace ends the variable substitution.
2143 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2145 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2147 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2150 $as_echo_n "checking whether build environment is sane... " >&6; }
2151 # Reject unsafe characters in $srcdir or the absolute working directory
2152 # name. Accept space and tab only in the latter.
2156 *[\\\"\#\$\&\'\`$am_lf]*)
2157 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2160 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2161 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2164 # Do 'set' in a subshell so we don't clobber the current shell's
2165 # arguments. Must try -L first in case configure is actually a
2166 # symlink; some systems play weird games with the mod time of symlinks
2167 # (eg FreeBSD returns the mod time of the symlink's containing
2171 for am_try in 1 2; do
2172 echo "timestamp, slept: $am_has_slept" > conftest.file
2173 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2174 if test "$*" = "X"; then
2176 set X `ls -t "$srcdir/configure" conftest.file`
2178 if test "$*" != "X $srcdir/configure conftest.file" \
2179 && test "$*" != "X conftest.file $srcdir/configure"; then
2181 # If neither matched, then we have a broken ls. This can happen
2182 # if, for instance, CONFIG_SHELL is bash and it inherits a
2183 # broken ls alias from the environment. This has actually
2184 # happened. Such a system could not be considered "sane".
2185 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2186 alias in your environment" "$LINENO" 5
2188 if test "$2" = conftest.file || test $am_try -eq 2; then
2195 test "$2" = conftest.file
2201 as_fn_error $? "newly created file is older than distributed files!
2202 Check your system clock" "$LINENO" 5
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2205 $as_echo "yes" >&6; }
2206 # If we didn't sleep, we still need to ensure time stamps of config.status and
2207 # generated files are strictly newer.
2209 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2216 test "$program_prefix" != NONE &&
2217 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2218 # Use a double $ so make ignores it.
2219 test "$program_suffix" != NONE &&
2220 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2221 # Double any \ or $.
2222 # By default was `s,x,x', remove it if useless.
2223 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2224 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2226 # expand $ac_aux_dir to an absolute path
2227 am_aux_dir=`cd $ac_aux_dir && pwd`
2229 if test x"${MISSING+set}" != xset; then
2232 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2234 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2237 # Use eval to expand $SHELL
2238 if eval "$MISSING --is-lightweight"; then
2239 am_missing_run="$MISSING "
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2243 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2246 if test x"${install_sh}" != xset; then
2249 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2251 install_sh="\${SHELL} $am_aux_dir/install-sh"
2255 # Installed binaries are usually stripped using 'strip' when the user
2256 # run "make install-strip". However 'strip' might not be the right
2257 # tool to use in cross-compilation environments, therefore Automake
2258 # will honor the 'STRIP' environment variable to overrule this program.
2259 if test "$cross_compiling" != no; then
2260 if test -n "$ac_tool_prefix"; then
2261 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2262 set dummy ${ac_tool_prefix}strip; ac_word=$2
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2264 $as_echo_n "checking for $ac_word... " >&6; }
2265 if ${ac_cv_prog_STRIP+:} false; then :
2266 $as_echo_n "(cached) " >&6
2268 if test -n "$STRIP"; then
2269 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2275 test -z "$as_dir" && as_dir=.
2276 for ac_exec_ext in '' $ac_executable_extensions; do
2277 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2278 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2288 STRIP=$ac_cv_prog_STRIP
2289 if test -n "$STRIP"; then
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2291 $as_echo "$STRIP" >&6; }
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2294 $as_echo "no" >&6; }
2299 if test -z "$ac_cv_prog_STRIP"; then
2301 # Extract the first word of "strip", so it can be a program name with args.
2302 set dummy strip; ac_word=$2
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2304 $as_echo_n "checking for $ac_word... " >&6; }
2305 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2306 $as_echo_n "(cached) " >&6
2308 if test -n "$ac_ct_STRIP"; then
2309 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2315 test -z "$as_dir" && as_dir=.
2316 for ac_exec_ext in '' $ac_executable_extensions; do
2317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2318 ac_cv_prog_ac_ct_STRIP="strip"
2319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2328 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2329 if test -n "$ac_ct_STRIP"; then
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2331 $as_echo "$ac_ct_STRIP" >&6; }
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2334 $as_echo "no" >&6; }
2337 if test "x$ac_ct_STRIP" = x; then
2340 case $cross_compiling:$ac_tool_warned in
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2344 ac_tool_warned=yes ;;
2349 STRIP="$ac_cv_prog_STRIP"
2353 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2356 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2357 if test -z "$MKDIR_P"; then
2358 if ${ac_cv_path_mkdir+:} false; then :
2359 $as_echo_n "(cached) " >&6
2361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2362 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2365 test -z "$as_dir" && as_dir=.
2366 for ac_prog in mkdir gmkdir; do
2367 for ac_exec_ext in '' $ac_executable_extensions; do
2368 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2369 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2370 'mkdir (GNU coreutils) '* | \
2371 'mkdir (coreutils) '* | \
2372 'mkdir (fileutils) '4.1*)
2373 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2383 test -d ./--version && rmdir ./--version
2384 if test "${ac_cv_path_mkdir+set}" = set; then
2385 MKDIR_P="$ac_cv_path_mkdir -p"
2387 # As a last resort, use the slow shell script. Don't cache a
2388 # value for MKDIR_P within a source directory, because that will
2389 # break other packages using the cache if that directory is
2390 # removed, or if the value is a relative name.
2391 MKDIR_P="$ac_install_sh -d"
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2395 $as_echo "$MKDIR_P" >&6; }
2397 for ac_prog in gawk mawk nawk awk
2399 # Extract the first word of "$ac_prog", so it can be a program name with args.
2400 set dummy $ac_prog; ac_word=$2
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2402 $as_echo_n "checking for $ac_word... " >&6; }
2403 if ${ac_cv_prog_AWK+:} false; then :
2404 $as_echo_n "(cached) " >&6
2406 if test -n "$AWK"; then
2407 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2413 test -z "$as_dir" && as_dir=.
2414 for ac_exec_ext in '' $ac_executable_extensions; do
2415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2416 ac_cv_prog_AWK="$ac_prog"
2417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2427 if test -n "$AWK"; then
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2429 $as_echo "$AWK" >&6; }
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2432 $as_echo "no" >&6; }
2436 test -n "$AWK" && break
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2440 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2442 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2443 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2444 $as_echo_n "(cached) " >&6
2446 cat >conftest.make <<\_ACEOF
2449 @echo '@@@%%%=$(MAKE)=@@@%%%'
2451 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2452 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2454 eval ac_cv_prog_make_${ac_make}_set=yes;;
2456 eval ac_cv_prog_make_${ac_make}_set=no;;
2460 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2462 $as_echo "yes" >&6; }
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2466 $as_echo "no" >&6; }
2467 SET_MAKE="MAKE=${MAKE-make}"
2470 rm -rf .tst 2>/dev/null
2471 mkdir .tst 2>/dev/null
2472 if test -d .tst; then
2477 rmdir .tst 2>/dev/null
2479 # Check whether --enable-silent-rules was given.
2480 if test "${enable_silent_rules+set}" = set; then :
2481 enableval=$enable_silent_rules;
2484 case $enable_silent_rules in # (((
2485 yes) AM_DEFAULT_VERBOSITY=0;;
2486 no) AM_DEFAULT_VERBOSITY=1;;
2487 *) AM_DEFAULT_VERBOSITY=1;;
2489 am_make=${MAKE-make}
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2491 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2492 if ${am_cv_make_support_nested_variables+:} false; then :
2493 $as_echo_n "(cached) " >&6
2495 if $as_echo 'TRUE=$(BAR$(V))
2501 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2502 am_cv_make_support_nested_variables=yes
2504 am_cv_make_support_nested_variables=no
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2508 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2509 if test $am_cv_make_support_nested_variables = yes; then
2511 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2513 AM_V=$AM_DEFAULT_VERBOSITY
2514 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2518 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2519 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2520 # is not polluted with repeated "-I."
2521 am__isrc=' -I$(srcdir)'
2522 # test to see if srcdir already configured
2523 if test -f $srcdir/config.status; then
2524 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2528 # test whether we have cygpath
2529 if test -z "$CYGPATH_W"; then
2530 if (cygpath --version) >/dev/null 2>/dev/null; then
2531 CYGPATH_W='cygpath -w'
2538 # Define the identity of the package.
2543 cat >>confdefs.h <<_ACEOF
2544 #define PACKAGE "$PACKAGE"
2548 cat >>confdefs.h <<_ACEOF
2549 #define VERSION "$VERSION"
2552 # Some tools Automake needs.
2554 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2557 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2560 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2563 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2566 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2568 # For better backward compatibility. To be removed once Automake 1.9.x
2569 # dies out for good. For more background, see:
2570 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2571 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2572 mkdir_p='$(MKDIR_P)'
2574 # We need awk for the "check" target. The system "awk" is bad on
2576 # Always define AMTAR for backward compatibility. Yes, it's still used
2577 # in the wild :-( We should find a proper way to deprecate it ...
2581 # We'll loop over all known methods to create a tar archive until one works.
2582 _am_tools='gnutar pax cpio none'
2584 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2591 # POSIX will say in a future version that running "rm -f" with no argument
2592 # is OK; and we want to be able to make that assumption in our Makefile
2593 # recipes. So use an aggressive probe to check that the usage we want is
2594 # actually supported "in the wild" to an acceptable degree.
2595 # See automake bug#10828.
2596 # To make any issue more visible, cause the running configure to be aborted
2597 # by default if the 'rm' program in use doesn't match our expectations; the
2598 # user can still override this though.
2599 if rm -f && rm -fr && rm -rf; then : OK; else
2603 Your 'rm' program seems unable to run without file operands specified
2604 on the command line, even when the '-f' option is present. This is contrary
2605 to the behaviour of most rm programs out there, and not conforming with
2606 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2608 Please tell bug-automake@gnu.org about your system, including the value
2609 of your $PATH and any error possibly output before this message. This
2610 can help us improve future automake versions.
2613 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2614 echo 'Configuration will proceed anyway, since you have set the' >&2
2615 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2619 Aborting the configuration process, to ensure you take notice of the issue.
2621 You can download and install GNU coreutils to get an 'rm' implementation
2622 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2624 If you want to complete the configuration process using your problematic
2625 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2626 to "yes", and re-run configure.
2629 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2635 ac_config_headers="$ac_config_headers config.h"
2638 # Checks for programs.
2640 ac_cpp='$CPP $CPPFLAGS'
2641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2644 if test -n "$ac_tool_prefix"; then
2645 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2646 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2648 $as_echo_n "checking for $ac_word... " >&6; }
2649 if ${ac_cv_prog_CC+:} false; then :
2650 $as_echo_n "(cached) " >&6
2652 if test -n "$CC"; then
2653 ac_cv_prog_CC="$CC" # Let the user override the test.
2655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2659 test -z "$as_dir" && as_dir=.
2660 for ac_exec_ext in '' $ac_executable_extensions; do
2661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2662 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2673 if test -n "$CC"; then
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2675 $as_echo "$CC" >&6; }
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2678 $as_echo "no" >&6; }
2683 if test -z "$ac_cv_prog_CC"; then
2685 # Extract the first word of "gcc", so it can be a program name with args.
2686 set dummy gcc; ac_word=$2
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2688 $as_echo_n "checking for $ac_word... " >&6; }
2689 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2690 $as_echo_n "(cached) " >&6
2692 if test -n "$ac_ct_CC"; then
2693 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2699 test -z "$as_dir" && as_dir=.
2700 for ac_exec_ext in '' $ac_executable_extensions; do
2701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2702 ac_cv_prog_ac_ct_CC="gcc"
2703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2712 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2713 if test -n "$ac_ct_CC"; then
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2715 $as_echo "$ac_ct_CC" >&6; }
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2718 $as_echo "no" >&6; }
2721 if test "x$ac_ct_CC" = x; then
2724 case $cross_compiling:$ac_tool_warned in
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2727 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2728 ac_tool_warned=yes ;;
2736 if test -z "$CC"; then
2737 if test -n "$ac_tool_prefix"; then
2738 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2739 set dummy ${ac_tool_prefix}cc; ac_word=$2
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2741 $as_echo_n "checking for $ac_word... " >&6; }
2742 if ${ac_cv_prog_CC+:} false; then :
2743 $as_echo_n "(cached) " >&6
2745 if test -n "$CC"; then
2746 ac_cv_prog_CC="$CC" # Let the user override the test.
2748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2752 test -z "$as_dir" && as_dir=.
2753 for ac_exec_ext in '' $ac_executable_extensions; do
2754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2755 ac_cv_prog_CC="${ac_tool_prefix}cc"
2756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2766 if test -n "$CC"; then
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2768 $as_echo "$CC" >&6; }
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2771 $as_echo "no" >&6; }
2777 if test -z "$CC"; then
2778 # Extract the first word of "cc", so it can be a program name with args.
2779 set dummy cc; ac_word=$2
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2781 $as_echo_n "checking for $ac_word... " >&6; }
2782 if ${ac_cv_prog_CC+:} false; then :
2783 $as_echo_n "(cached) " >&6
2785 if test -n "$CC"; then
2786 ac_cv_prog_CC="$CC" # Let the user override the test.
2789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2793 test -z "$as_dir" && as_dir=.
2794 for ac_exec_ext in '' $ac_executable_extensions; do
2795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2796 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2797 ac_prog_rejected=yes
2801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2808 if test $ac_prog_rejected = yes; then
2809 # We found a bogon in the path, so make sure we never use it.
2810 set dummy $ac_cv_prog_CC
2812 if test $# != 0; then
2813 # We chose a different compiler from the bogus one.
2814 # However, it has the same basename, so the bogon will be chosen
2815 # first if we set CC to just the basename; use the full file name.
2817 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2823 if test -n "$CC"; then
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2825 $as_echo "$CC" >&6; }
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2828 $as_echo "no" >&6; }
2833 if test -z "$CC"; then
2834 if test -n "$ac_tool_prefix"; then
2835 for ac_prog in cl.exe
2837 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2838 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2840 $as_echo_n "checking for $ac_word... " >&6; }
2841 if ${ac_cv_prog_CC+:} false; then :
2842 $as_echo_n "(cached) " >&6
2844 if test -n "$CC"; then
2845 ac_cv_prog_CC="$CC" # Let the user override the test.
2847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2851 test -z "$as_dir" && as_dir=.
2852 for ac_exec_ext in '' $ac_executable_extensions; do
2853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2854 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2865 if test -n "$CC"; then
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2867 $as_echo "$CC" >&6; }
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2870 $as_echo "no" >&6; }
2874 test -n "$CC" && break
2877 if test -z "$CC"; then
2879 for ac_prog in cl.exe
2881 # Extract the first word of "$ac_prog", so it can be a program name with args.
2882 set dummy $ac_prog; ac_word=$2
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2884 $as_echo_n "checking for $ac_word... " >&6; }
2885 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2886 $as_echo_n "(cached) " >&6
2888 if test -n "$ac_ct_CC"; then
2889 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2895 test -z "$as_dir" && as_dir=.
2896 for ac_exec_ext in '' $ac_executable_extensions; do
2897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2898 ac_cv_prog_ac_ct_CC="$ac_prog"
2899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2908 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2909 if test -n "$ac_ct_CC"; then
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2911 $as_echo "$ac_ct_CC" >&6; }
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2914 $as_echo "no" >&6; }
2918 test -n "$ac_ct_CC" && break
2921 if test "x$ac_ct_CC" = x; then
2924 case $cross_compiling:$ac_tool_warned in
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2927 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2928 ac_tool_warned=yes ;;
2937 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2938 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2939 as_fn_error $? "no acceptable C compiler found in \$PATH
2940 See \`config.log' for more details" "$LINENO" 5; }
2942 # Provide some information about the compiler.
2943 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2946 for ac_option in --version -v -V -qversion; do
2947 { { ac_try="$ac_compiler $ac_option >&5"
2949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2950 *) ac_try_echo=$ac_try;;
2952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2953 $as_echo "$ac_try_echo"; } >&5
2954 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2956 if test -s conftest.err; then
2958 ... rest of stderr output deleted ...
2959 10q' conftest.err >conftest.er1
2960 cat conftest.er1 >&5
2962 rm -f conftest.er1 conftest.err
2963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2964 test $ac_status = 0; }
2967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2968 /* end confdefs.h. */
2978 ac_clean_files_save=$ac_clean_files
2979 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2980 # Try to create an executable without -o first, disregard a.out.
2981 # It will help us diagnose broken compilers, and finding out an intuition
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2984 $as_echo_n "checking whether the C compiler works... " >&6; }
2985 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2987 # The possible output files:
2988 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2991 for ac_file in $ac_files
2994 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2995 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3000 if { { ac_try="$ac_link_default"
3002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3003 *) ac_try_echo=$ac_try;;
3005 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3006 $as_echo "$ac_try_echo"; } >&5
3007 (eval "$ac_link_default") 2>&5
3009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3010 test $ac_status = 0; }; then :
3011 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3012 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3013 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3014 # so that the user can short-circuit this test for compilers unknown to
3016 for ac_file in $ac_files ''
3018 test -f "$ac_file" || continue
3020 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3023 # We found the default executable, but exeext='' is most
3027 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3029 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3031 # We set ac_cv_exeext here because the later test for it is not
3032 # safe: cross compilers may not add the suffix if given an `-o'
3033 # argument, so we may need to know it at that point already.
3034 # Even if this section looks crufty: it has the advantage of
3041 test "$ac_cv_exeext" = no && ac_cv_exeext=
3046 if test -z "$ac_file"; then :
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3048 $as_echo "no" >&6; }
3049 $as_echo "$as_me: failed program was:" >&5
3050 sed 's/^/| /' conftest.$ac_ext >&5
3052 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3053 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3054 as_fn_error 77 "C compiler cannot create executables
3055 See \`config.log' for more details" "$LINENO" 5; }
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3058 $as_echo "yes" >&6; }
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3061 $as_echo_n "checking for C compiler default output file name... " >&6; }
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3063 $as_echo "$ac_file" >&6; }
3064 ac_exeext=$ac_cv_exeext
3066 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3067 ac_clean_files=$ac_clean_files_save
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3069 $as_echo_n "checking for suffix of executables... " >&6; }
3070 if { { ac_try="$ac_link"
3072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3073 *) ac_try_echo=$ac_try;;
3075 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3076 $as_echo "$ac_try_echo"; } >&5
3077 (eval "$ac_link") 2>&5
3079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3080 test $ac_status = 0; }; then :
3081 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3082 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3083 # work properly (i.e., refer to `conftest.exe'), while it won't with
3085 for ac_file in conftest.exe conftest conftest.*; do
3086 test -f "$ac_file" || continue
3088 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3089 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3095 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3096 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3097 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3098 See \`config.log' for more details" "$LINENO" 5; }
3100 rm -f conftest conftest$ac_cv_exeext
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3102 $as_echo "$ac_cv_exeext" >&6; }
3104 rm -f conftest.$ac_ext
3105 EXEEXT=$ac_cv_exeext
3107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3108 /* end confdefs.h. */
3113 FILE *f = fopen ("conftest.out", "w");
3114 return ferror (f) || fclose (f) != 0;
3120 ac_clean_files="$ac_clean_files conftest.out"
3121 # Check that the compiler produces executables we can run. If not, either
3122 # the compiler is broken, or we cross compile.
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3124 $as_echo_n "checking whether we are cross compiling... " >&6; }
3125 if test "$cross_compiling" != yes; then
3126 { { ac_try="$ac_link"
3128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3129 *) ac_try_echo=$ac_try;;
3131 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3132 $as_echo "$ac_try_echo"; } >&5
3133 (eval "$ac_link") 2>&5
3135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3136 test $ac_status = 0; }
3137 if { ac_try='./conftest$ac_cv_exeext'
3138 { { case "(($ac_try" in
3139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3140 *) ac_try_echo=$ac_try;;
3142 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3143 $as_echo "$ac_try_echo"; } >&5
3144 (eval "$ac_try") 2>&5
3146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3147 test $ac_status = 0; }; }; then
3150 if test "$cross_compiling" = maybe; then
3153 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3155 as_fn_error $? "cannot run C compiled programs.
3156 If you meant to cross compile, use \`--host'.
3157 See \`config.log' for more details" "$LINENO" 5; }
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3162 $as_echo "$cross_compiling" >&6; }
3164 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3165 ac_clean_files=$ac_clean_files_save
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3167 $as_echo_n "checking for suffix of object files... " >&6; }
3168 if ${ac_cv_objext+:} false; then :
3169 $as_echo_n "(cached) " >&6
3171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3172 /* end confdefs.h. */
3182 rm -f conftest.o conftest.obj
3183 if { { ac_try="$ac_compile"
3185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3186 *) ac_try_echo=$ac_try;;
3188 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3189 $as_echo "$ac_try_echo"; } >&5
3190 (eval "$ac_compile") 2>&5
3192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3193 test $ac_status = 0; }; then :
3194 for ac_file in conftest.o conftest.obj conftest.*; do
3195 test -f "$ac_file" || continue;
3197 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3198 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3203 $as_echo "$as_me: failed program was:" >&5
3204 sed 's/^/| /' conftest.$ac_ext >&5
3206 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3208 as_fn_error $? "cannot compute suffix of object files: cannot compile
3209 See \`config.log' for more details" "$LINENO" 5; }
3211 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3214 $as_echo "$ac_cv_objext" >&6; }
3215 OBJEXT=$ac_cv_objext
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3218 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3219 if ${ac_cv_c_compiler_gnu+:} false; then :
3220 $as_echo_n "(cached) " >&6
3222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3223 /* end confdefs.h. */
3236 if ac_fn_c_try_compile "$LINENO"; then :
3241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3242 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3246 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3247 if test $ac_compiler_gnu = yes; then
3252 ac_test_CFLAGS=${CFLAGS+set}
3253 ac_save_CFLAGS=$CFLAGS
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3255 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3256 if ${ac_cv_prog_cc_g+:} false; then :
3257 $as_echo_n "(cached) " >&6
3259 ac_save_c_werror_flag=$ac_c_werror_flag
3260 ac_c_werror_flag=yes
3263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3264 /* end confdefs.h. */
3274 if ac_fn_c_try_compile "$LINENO"; then :
3278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3279 /* end confdefs.h. */
3289 if ac_fn_c_try_compile "$LINENO"; then :
3292 ac_c_werror_flag=$ac_save_c_werror_flag
3294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3295 /* end confdefs.h. */
3305 if ac_fn_c_try_compile "$LINENO"; then :
3308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3313 ac_c_werror_flag=$ac_save_c_werror_flag
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3316 $as_echo "$ac_cv_prog_cc_g" >&6; }
3317 if test "$ac_test_CFLAGS" = set; then
3318 CFLAGS=$ac_save_CFLAGS
3319 elif test $ac_cv_prog_cc_g = yes; then
3320 if test "$GCC" = yes; then
3326 if test "$GCC" = yes; then
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3333 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3334 if ${ac_cv_prog_cc_c89+:} false; then :
3335 $as_echo_n "(cached) " >&6
3337 ac_cv_prog_cc_c89=no
3339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3340 /* end confdefs.h. */
3344 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3345 struct buf { int x; };
3346 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3347 static char *e (p, i)
3353 static char *f (char * (*g) (char **, int), char **p, ...)
3358 s = g (p, va_arg (v,int));
3363 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3364 function prototypes and stuff, but not '\xHH' hex character constants.
3365 These don't provoke an error unfortunately, instead are silently treated
3366 as 'x'. The following induces an error, until -std is added to get
3367 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3368 array size at least. It's necessary to write '\x00'==0 to get something
3369 that's true only with -std. */
3370 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3372 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3373 inside strings and character constants. */
3375 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3377 int test (int i, double x);
3378 struct s1 {int (*f) (int a);};
3379 struct s2 {int (*f) (double a);};
3380 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3386 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3391 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3392 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3394 CC="$ac_save_CC $ac_arg"
3395 if ac_fn_c_try_compile "$LINENO"; then :
3396 ac_cv_prog_cc_c89=$ac_arg
3398 rm -f core conftest.err conftest.$ac_objext
3399 test "x$ac_cv_prog_cc_c89" != "xno" && break
3401 rm -f conftest.$ac_ext
3406 case "x$ac_cv_prog_cc_c89" in
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3409 $as_echo "none needed" >&6; } ;;
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3412 $as_echo "unsupported" >&6; } ;;
3414 CC="$CC $ac_cv_prog_cc_c89"
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3416 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3418 if test "x$ac_cv_prog_cc_c89" != xno; then :
3423 ac_cpp='$CPP $CPPFLAGS'
3424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3429 ac_cpp='$CPP $CPPFLAGS'
3430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3434 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3435 if ${am_cv_prog_cc_c_o+:} false; then :
3436 $as_echo_n "(cached) " >&6
3438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3439 /* end confdefs.h. */
3449 # Make sure it works both with $CC and with simple cc.
3450 # Following AC_PROG_CC_C_O, we do the test twice because some
3451 # compilers refuse to overwrite an existing .o file with -o,
3452 # though they will create one.
3453 am_cv_prog_cc_c_o=yes
3455 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3456 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459 (exit $ac_status); } \
3460 && test -f conftest2.$ac_objext; then
3463 am_cv_prog_cc_c_o=no
3467 rm -f core conftest*
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3471 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3472 if test "$am_cv_prog_cc_c_o" != yes; then
3473 # Losing compiler, so override with the script.
3474 # FIXME: It is wrong to rewrite CC.
3475 # But if we don't then we get into trouble of one sort or another.
3476 # A longer-term fix would be to have automake use am__CC in this case,
3477 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3478 CC="$am_aux_dir/compile $CC"
3481 ac_cpp='$CPP $CPPFLAGS'
3482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3486 DEPDIR="${am__leading_dot}deps"
3488 ac_config_commands="$ac_config_commands depfiles"
3491 am_make=${MAKE-make}
3492 cat > confinc << 'END'
3494 @echo this is the am__doit target
3497 # If we don't find an include directive, just comment out the code.
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3499 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3503 # First try GNU make style include.
3504 echo "include confinc" > confmf
3505 # Ignore all kinds of additional output from 'make'.
3506 case `$am_make -s -f confmf 2> /dev/null` in #(
3507 *the\ am__doit\ target*)
3513 # Now try BSD make style include.
3514 if test "$am__include" = "#"; then
3515 echo '.include "confinc"' > confmf
3516 case `$am_make -s -f confmf 2> /dev/null` in #(
3517 *the\ am__doit\ target*)
3518 am__include=.include
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3527 $as_echo "$_am_result" >&6; }
3528 rm -f confinc confmf
3530 # Check whether --enable-dependency-tracking was given.
3531 if test "${enable_dependency_tracking+set}" = set; then :
3532 enableval=$enable_dependency_tracking;
3535 if test "x$enable_dependency_tracking" != xno; then
3536 am_depcomp="$ac_aux_dir/depcomp"
3540 if test "x$enable_dependency_tracking" != xno; then
3550 depcc="$CC" am_compiler_list=
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3553 $as_echo_n "checking dependency style of $depcc... " >&6; }
3554 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3555 $as_echo_n "(cached) " >&6
3557 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3558 # We make a subdir and do the tests there. Otherwise we can end up
3559 # making bogus files that we don't know about and never remove. For
3560 # instance it was reported that on HP-UX the gcc test will end up
3561 # making a dummy file named 'D' -- because '-MD' means "put the output
3565 # Copy depcomp to subdir because otherwise we won't find it if we're
3566 # using a relative directory.
3567 cp "$am_depcomp" conftest.dir
3569 # We will build objects and dependencies in a subdirectory because
3570 # it helps to detect inapplicable dependency modes. For instance
3571 # both Tru64's cc and ICC support -MD to output dependencies as a
3572 # side effect of compilation, but ICC will put the dependencies in
3573 # the current directory while Tru64 will put them in the object
3577 am_cv_CC_dependencies_compiler_type=none
3578 if test "$am_compiler_list" = ""; then
3579 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3582 case " $depcc " in #(
3583 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3586 for depmode in $am_compiler_list; do
3587 # Setup a source with many dependencies, because some compilers
3588 # like to wrap large dependency lists on column 80 (with \), and
3589 # we should not choose a depcomp mode which is confused by this.
3591 # We need to recreate these files for each test, as the compiler may
3592 # overwrite some of them when testing with obscure command lines.
3593 # This happens at least with the AIX C compiler.
3595 for i in 1 2 3 4 5 6; do
3596 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3597 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3598 # Solaris 10 /bin/sh.
3599 echo '/* dummy */' > sub/conftst$i.h
3601 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3603 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3604 # mode. It turns out that the SunPro C++ compiler does not properly
3605 # handle '-M -o', and we need to detect this. Also, some Intel
3606 # versions had trouble with output in subdirs.
3607 am__obj=sub/conftest.${OBJEXT-o}
3608 am__minus_obj="-o $am__obj"
3611 # This depmode causes a compiler race in universal mode.
3612 test "$am__universal" = false || continue
3615 # After this tag, mechanisms are not by side-effect, so they'll
3616 # only be used when explicitly requested.
3617 if test "x$enable_dependency_tracking" = xyes; then
3623 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3624 # This compiler won't grok '-c -o', but also, the minuso test has
3625 # not run yet. These depmodes are late enough in the game, and
3626 # so weak that their functioning should not be impacted.
3627 am__obj=conftest.${OBJEXT-o}
3632 if depmode=$depmode \
3633 source=sub/conftest.c object=$am__obj \
3634 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3635 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3636 >/dev/null 2>conftest.err &&
3637 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3638 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3639 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3640 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3641 # icc doesn't choke on unknown options, it will just issue warnings
3642 # or remarks (even with -Werror). So we grep stderr for any message
3643 # that says an option was ignored or not supported.
3644 # When given -MP, icc 7.0 and 7.1 complain thusly:
3645 # icc: Command line warning: ignoring option '-M'; no argument required
3646 # The diagnosis changed in icc 8.0:
3647 # icc: Command line remark: option '-MP' not supported
3648 if (grep 'ignoring option' conftest.err ||
3649 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3650 am_cv_CC_dependencies_compiler_type=$depmode
3659 am_cv_CC_dependencies_compiler_type=none
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3664 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3665 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3668 test "x$enable_dependency_tracking" != xno \
3669 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3671 am__fastdepCC_FALSE='#'
3673 am__fastdepCC_TRUE='#'
3674 am__fastdepCC_FALSE=
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3679 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3680 if ${ac_cv_prog_cc_c99+:} false; then :
3681 $as_echo_n "(cached) " >&6
3683 ac_cv_prog_cc_c99=no
3685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3686 /* end confdefs.h. */
3688 #include <stdbool.h>
3693 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3694 #define debug(...) fprintf (stderr, __VA_ARGS__)
3695 #define showlist(...) puts (#__VA_ARGS__)
3696 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3698 test_varargs_macros (void)
3703 debug ("X = %d\n", x);
3704 showlist (The first, second, and third items.);
3705 report (x>y, "x is %d but y is %d", x, y);
3708 // Check long long types.
3709 #define BIG64 18446744073709551615ull
3710 #define BIG32 4294967295ul
3711 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3713 your preprocessor is broken;
3717 your preprocessor is broken;
3719 static long long int bignum = -9223372036854775807LL;
3720 static unsigned long long int ubignum = BIG64;
3722 struct incomplete_array
3730 const wchar_t *name;
3734 typedef const char *ccp;
3737 test_restrict (ccp restrict text)
3739 // See if C++-style comments work.
3740 // Iterate through items via the restricted pointer.
3741 // Also check for declarations in for loops.
3742 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3747 // Check varargs and va_copy.
3749 test_varargs (const char *format, ...)
3752 va_start (args, format);
3754 va_copy (args_copy, args);
3765 str = va_arg (args_copy, const char *);
3768 number = va_arg (args_copy, int);
3771 fnumber = va_arg (args_copy, double);
3786 _Bool success = false;
3789 if (test_restrict ("String literal") == 0)
3791 char *restrict newvar = "Another string";
3794 test_varargs ("s, d' f .", "string", 65, 34.234);
3795 test_varargs_macros ();
3797 // Check flexible array members.
3798 struct incomplete_array *ia =
3799 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3801 for (int i = 0; i < ia->datasize; ++i)
3802 ia->data[i] = i * 1.234;
3804 // Check named initializers.
3805 struct named_init ni = {
3807 .name = L"Test wide string",
3808 .average = 543.34343,
3813 int dynamic_array[ni.number];
3814 dynamic_array[ni.number - 1] = 543;
3816 // work around unused variable warnings
3817 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3818 || dynamic_array[ni.number - 1] != 543);
3824 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
3826 CC="$ac_save_CC $ac_arg"
3827 if ac_fn_c_try_compile "$LINENO"; then :
3828 ac_cv_prog_cc_c99=$ac_arg
3830 rm -f core conftest.err conftest.$ac_objext
3831 test "x$ac_cv_prog_cc_c99" != "xno" && break
3833 rm -f conftest.$ac_ext
3838 case "x$ac_cv_prog_cc_c99" in
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3841 $as_echo "none needed" >&6; } ;;
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3844 $as_echo "unsupported" >&6; } ;;
3846 CC="$CC $ac_cv_prog_cc_c99"
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3848 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3850 if test "x$ac_cv_prog_cc_c99" != xno; then :
3857 # Checks for header files.
3860 ac_cpp='$CPP $CPPFLAGS'
3861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3865 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3866 # On Suns, sometimes $CPP names a directory.
3867 if test -n "$CPP" && test -d "$CPP"; then
3870 if test -z "$CPP"; then
3871 if ${ac_cv_prog_CPP+:} false; then :
3872 $as_echo_n "(cached) " >&6
3874 # Double quotes because CPP needs to be expanded
3875 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3878 for ac_c_preproc_warn_flag in '' yes
3880 # Use a header file that comes with gcc, so configuring glibc
3881 # with a fresh cross-compiler works.
3882 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3883 # <limits.h> exists even on freestanding compilers.
3884 # On the NeXT, cc -E runs the code through the compiler's parser,
3885 # not just through cpp. "Syntax error" is here to catch this case.
3886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h. */
3889 # include <limits.h>
3891 # include <assert.h>
3895 if ac_fn_c_try_cpp "$LINENO"; then :
3898 # Broken: fails on valid input.
3901 rm -f conftest.err conftest.i conftest.$ac_ext
3903 # OK, works on sane cases. Now check whether nonexistent headers
3904 # can be detected and how.
3905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3906 /* end confdefs.h. */
3907 #include <ac_nonexistent.h>
3909 if ac_fn_c_try_cpp "$LINENO"; then :
3910 # Broken: success on invalid input.
3913 # Passes both tests.
3917 rm -f conftest.err conftest.i conftest.$ac_ext
3920 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3921 rm -f conftest.i conftest.err conftest.$ac_ext
3922 if $ac_preproc_ok; then :
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3935 $as_echo "$CPP" >&6; }
3937 for ac_c_preproc_warn_flag in '' yes
3939 # Use a header file that comes with gcc, so configuring glibc
3940 # with a fresh cross-compiler works.
3941 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3942 # <limits.h> exists even on freestanding compilers.
3943 # On the NeXT, cc -E runs the code through the compiler's parser,
3944 # not just through cpp. "Syntax error" is here to catch this case.
3945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3946 /* end confdefs.h. */
3948 # include <limits.h>
3950 # include <assert.h>
3954 if ac_fn_c_try_cpp "$LINENO"; then :
3957 # Broken: fails on valid input.
3960 rm -f conftest.err conftest.i conftest.$ac_ext
3962 # OK, works on sane cases. Now check whether nonexistent headers
3963 # can be detected and how.
3964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3965 /* end confdefs.h. */
3966 #include <ac_nonexistent.h>
3968 if ac_fn_c_try_cpp "$LINENO"; then :
3969 # Broken: success on invalid input.
3972 # Passes both tests.
3976 rm -f conftest.err conftest.i conftest.$ac_ext
3979 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3980 rm -f conftest.i conftest.err conftest.$ac_ext
3981 if $ac_preproc_ok; then :
3984 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3986 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3987 See \`config.log' for more details" "$LINENO" 5; }
3991 ac_cpp='$CPP $CPPFLAGS'
3992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
3998 $as_echo_n "checking for X... " >&6; }
4001 # Check whether --with-x was given.
4002 if test "${with_x+set}" = set; then :
4006 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
4007 if test "x$with_x" = xno; then
4008 # The user explicitly disabled X.
4011 case $x_includes,$x_libraries in #(
4012 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
4013 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
4014 $as_echo_n "(cached) " >&6
4016 # One or both of the vars are not set, and there is no cached value.
4017 ac_x_includes=no ac_x_libraries=no
4018 rm -f -r conftest.dir
4019 if mkdir conftest.dir; then
4021 cat >Imakefile <<'_ACEOF'
4023 @echo incroot='${INCROOT}'
4025 @echo usrlibdir='${USRLIBDIR}'
4027 @echo libdir='${LIBDIR}'
4029 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
4030 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4031 for ac_var in incroot usrlibdir libdir; do
4032 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
4034 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
4035 for ac_extension in a so sl dylib la dll; do
4036 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
4037 test -f "$ac_im_libdir/libX11.$ac_extension"; then
4038 ac_im_usrlibdir=$ac_im_libdir; break
4041 # Screen out bogus values from the imake configuration. They are
4042 # bogus both because they are the default anyway, and because
4043 # using them would break gcc on systems where it needs fixed includes.
4044 case $ac_im_incroot in
4045 /usr/include) ac_x_includes= ;;
4046 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
4048 case $ac_im_usrlibdir in
4049 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
4050 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
4054 rm -f -r conftest.dir
4057 # Standard set of common directories for X headers.
4058 # Check X11 before X11Rn because it is often a symlink to the current release.
4072 /usr/local/X11/include
4073 /usr/local/X11R7/include
4074 /usr/local/X11R6/include
4075 /usr/local/X11R5/include
4076 /usr/local/X11R4/include
4078 /usr/local/include/X11
4079 /usr/local/include/X11R7
4080 /usr/local/include/X11R6
4081 /usr/local/include/X11R5
4082 /usr/local/include/X11R4
4086 /usr/XFree86/include/X11
4090 /usr/unsupported/include
4092 /usr/local/x11r5/include
4093 /usr/lpp/Xamples/include
4095 /usr/openwin/include
4096 /usr/openwin/share/include'
4098 if test "$ac_x_includes" = no; then
4099 # Guess where to find include files, by looking for Xlib.h.
4100 # First, try using that file with no special directory specified.
4101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4102 /* end confdefs.h. */
4103 #include <X11/Xlib.h>
4105 if ac_fn_c_try_cpp "$LINENO"; then :
4106 # We can compile using X headers with no special include directory.
4109 for ac_dir in $ac_x_header_dirs; do
4110 if test -r "$ac_dir/X11/Xlib.h"; then
4111 ac_x_includes=$ac_dir
4116 rm -f conftest.err conftest.i conftest.$ac_ext
4117 fi # $ac_x_includes = no
4119 if test "$ac_x_libraries" = no; then
4120 # Check for the libraries.
4121 # See if we find them without any special options.
4122 # Don't add to $LIBS permanently.
4125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4126 /* end confdefs.h. */
4127 #include <X11/Xlib.h>
4136 if ac_fn_c_try_link "$LINENO"; then :
4138 # We can link X programs with no special library path.
4142 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4144 # Don't even attempt the hair of trying to link an X program!
4145 for ac_extension in a so sl dylib la dll; do
4146 if test -r "$ac_dir/libX11.$ac_extension"; then
4147 ac_x_libraries=$ac_dir
4153 rm -f core conftest.err conftest.$ac_objext \
4154 conftest$ac_exeext conftest.$ac_ext
4155 fi # $ac_x_libraries = no
4157 case $ac_x_includes,$ac_x_libraries in #(
4159 # Didn't find X, or a directory has "'" in its name.
4160 ac_cv_have_x="have_x=no";; #(
4162 # Record where we found X for the cache.
4163 ac_cv_have_x="have_x=yes\
4164 ac_x_includes='$ac_x_includes'\
4165 ac_x_libraries='$ac_x_libraries'"
4171 eval "$ac_cv_have_x"
4174 if test "$have_x" != yes; then
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
4176 $as_echo "$have_x" >&6; }
4179 # If each of the values was on the command line, it overrides each guess.
4180 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4181 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4182 # Update the cache value to reflect the command line values.
4183 ac_cv_have_x="have_x=yes\
4184 ac_x_includes='$x_includes'\
4185 ac_x_libraries='$x_libraries'"
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
4187 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4193 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4194 if ${ac_cv_path_SED+:} false; then :
4195 $as_echo_n "(cached) " >&6
4197 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4198 for ac_i in 1 2 3 4 5 6 7; do
4199 ac_script="$ac_script$as_nl$ac_script"
4201 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4202 { ac_script=; unset ac_script;}
4203 if test -z "$SED"; then
4204 ac_path_SED_found=false
4205 # Loop through the user's path and test for each of PROGNAME-LIST
4206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4210 test -z "$as_dir" && as_dir=.
4211 for ac_prog in sed gsed; do
4212 for ac_exec_ext in '' $ac_executable_extensions; do
4213 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4214 as_fn_executable_p "$ac_path_SED" || continue
4215 # Check for GNU ac_path_SED and select it if it is found.
4216 # Check for GNU $ac_path_SED
4217 case `"$ac_path_SED" --version 2>&1` in
4219 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4222 $as_echo_n 0123456789 >"conftest.in"
4225 cat "conftest.in" "conftest.in" >"conftest.tmp"
4226 mv "conftest.tmp" "conftest.in"
4227 cp "conftest.in" "conftest.nl"
4228 $as_echo '' >> "conftest.nl"
4229 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4230 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4231 as_fn_arith $ac_count + 1 && ac_count=$as_val
4232 if test $ac_count -gt ${ac_path_SED_max-0}; then
4233 # Best one so far, save it but keep looking for a better one
4234 ac_cv_path_SED="$ac_path_SED"
4235 ac_path_SED_max=$ac_count
4237 # 10*(2^10) chars as input seems more than enough
4238 test $ac_count -gt 10 && break
4240 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4243 $ac_path_SED_found && break 3
4248 if test -z "$ac_cv_path_SED"; then
4249 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4257 $as_echo "$ac_cv_path_SED" >&6; }
4258 SED="$ac_cv_path_SED"
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4263 $as_echo_n "checking whether NLS is requested... " >&6; }
4264 # Check whether --enable-nls was given.
4265 if test "${enable_nls+set}" = set; then :
4266 enableval=$enable_nls; USE_NLS=$enableval
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4272 $as_echo "$USE_NLS" >&6; }
4277 GETTEXT_MACRO_VERSION=0.19
4282 # Prepare PATH_SEPARATOR.
4283 # The user is always right.
4284 if test "${PATH_SEPARATOR+set}" != set; then
4285 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
4286 # contains only /bin. Note that ksh looks also at the FPATH variable,
4287 # so we have to set that as well for the test.
4289 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4290 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4291 || PATH_SEPARATOR=';'
4295 # Find out how to test for executable files. Don't use a zero-byte file,
4296 # as systems may use methods other than mode bits to determine executability.
4297 cat >conf$$.file <<_ASEOF
4301 chmod +x conf$$.file
4302 if test -x conf$$.file >/dev/null 2>&1; then
4303 ac_executable_p="test -x"
4305 ac_executable_p="test -f"
4309 # Extract the first word of "msgfmt", so it can be a program name with args.
4310 set dummy msgfmt; ac_word=$2
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4312 $as_echo_n "checking for $ac_word... " >&6; }
4313 if ${ac_cv_path_MSGFMT+:} false; then :
4314 $as_echo_n "(cached) " >&6
4318 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4321 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4322 for ac_dir in $PATH; do
4324 test -z "$ac_dir" && ac_dir=.
4325 for ac_exec_ext in '' $ac_executable_extensions; do
4326 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4327 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4328 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
4329 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4330 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
4337 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
4341 MSGFMT="$ac_cv_path_MSGFMT"
4342 if test "$MSGFMT" != ":"; then
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4344 $as_echo "$MSGFMT" >&6; }
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4347 $as_echo "no" >&6; }
4350 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4351 set dummy gmsgfmt; ac_word=$2
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4353 $as_echo_n "checking for $ac_word... " >&6; }
4354 if ${ac_cv_path_GMSGFMT+:} false; then :
4355 $as_echo_n "(cached) " >&6
4359 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4366 test -z "$as_dir" && as_dir=.
4367 for ac_exec_ext in '' $ac_executable_extensions; do
4368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4369 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4377 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4381 GMSGFMT=$ac_cv_path_GMSGFMT
4382 if test -n "$GMSGFMT"; then
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4384 $as_echo "$GMSGFMT" >&6; }
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4387 $as_echo "no" >&6; }
4392 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4393 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
4394 *) MSGFMT_015=$MSGFMT ;;
4397 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4398 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
4399 *) GMSGFMT_015=$GMSGFMT ;;
4404 # Prepare PATH_SEPARATOR.
4405 # The user is always right.
4406 if test "${PATH_SEPARATOR+set}" != set; then
4407 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
4408 # contains only /bin. Note that ksh looks also at the FPATH variable,
4409 # so we have to set that as well for the test.
4411 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4412 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4413 || PATH_SEPARATOR=';'
4417 # Find out how to test for executable files. Don't use a zero-byte file,
4418 # as systems may use methods other than mode bits to determine executability.
4419 cat >conf$$.file <<_ASEOF
4423 chmod +x conf$$.file
4424 if test -x conf$$.file >/dev/null 2>&1; then
4425 ac_executable_p="test -x"
4427 ac_executable_p="test -f"
4431 # Extract the first word of "xgettext", so it can be a program name with args.
4432 set dummy xgettext; ac_word=$2
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4434 $as_echo_n "checking for $ac_word... " >&6; }
4435 if ${ac_cv_path_XGETTEXT+:} false; then :
4436 $as_echo_n "(cached) " >&6
4440 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4443 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4444 for ac_dir in $PATH; do
4446 test -z "$ac_dir" && ac_dir=.
4447 for ac_exec_ext in '' $ac_executable_extensions; do
4448 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4449 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4450 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
4451 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4452 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
4459 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4463 XGETTEXT="$ac_cv_path_XGETTEXT"
4464 if test "$XGETTEXT" != ":"; then
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4466 $as_echo "$XGETTEXT" >&6; }
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4469 $as_echo "no" >&6; }
4474 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4475 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
4476 *) XGETTEXT_015=$XGETTEXT ;;
4481 # Prepare PATH_SEPARATOR.
4482 # The user is always right.
4483 if test "${PATH_SEPARATOR+set}" != set; then
4484 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
4485 # contains only /bin. Note that ksh looks also at the FPATH variable,
4486 # so we have to set that as well for the test.
4488 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4489 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4490 || PATH_SEPARATOR=';'
4494 # Find out how to test for executable files. Don't use a zero-byte file,
4495 # as systems may use methods other than mode bits to determine executability.
4496 cat >conf$$.file <<_ASEOF
4500 chmod +x conf$$.file
4501 if test -x conf$$.file >/dev/null 2>&1; then
4502 ac_executable_p="test -x"
4504 ac_executable_p="test -f"
4508 # Extract the first word of "msgmerge", so it can be a program name with args.
4509 set dummy msgmerge; ac_word=$2
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4511 $as_echo_n "checking for $ac_word... " >&6; }
4512 if ${ac_cv_path_MSGMERGE+:} false; then :
4513 $as_echo_n "(cached) " >&6
4517 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4520 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4521 for ac_dir in $PATH; do
4523 test -z "$ac_dir" && ac_dir=.
4524 for ac_exec_ext in '' $ac_executable_extensions; do
4525 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4526 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4527 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
4528 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
4535 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
4539 MSGMERGE="$ac_cv_path_MSGMERGE"
4540 if test "$MSGMERGE" != ":"; then
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4542 $as_echo "$MSGMERGE" >&6; }
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4545 $as_echo "no" >&6; }
4549 test -n "$localedir" || localedir='${datadir}/locale'
4552 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
4555 ac_config_commands="$ac_config_commands po-directories"
4559 if test "X$prefix" = "XNONE"; then
4560 acl_final_prefix="$ac_default_prefix"
4562 acl_final_prefix="$prefix"
4564 if test "X$exec_prefix" = "XNONE"; then
4565 acl_final_exec_prefix='${prefix}'
4567 acl_final_exec_prefix="$exec_prefix"
4569 acl_save_prefix="$prefix"
4570 prefix="$acl_final_prefix"
4571 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
4572 prefix="$acl_save_prefix"
4574 # Make sure we can run config.sub.
4575 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4576 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4579 $as_echo_n "checking build system type... " >&6; }
4580 if ${ac_cv_build+:} false; then :
4581 $as_echo_n "(cached) " >&6
4583 ac_build_alias=$build_alias
4584 test "x$ac_build_alias" = x &&
4585 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4586 test "x$ac_build_alias" = x &&
4587 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4588 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4589 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4593 $as_echo "$ac_cv_build" >&6; }
4594 case $ac_cv_build in
4596 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4599 ac_save_IFS=$IFS; IFS='-'
4605 # Remember, the first character of IFS is used to create $*,
4606 # except with old shells:
4609 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4613 $as_echo_n "checking host system type... " >&6; }
4614 if ${ac_cv_host+:} false; then :
4615 $as_echo_n "(cached) " >&6
4617 if test "x$host_alias" = x; then
4618 ac_cv_host=$ac_cv_build
4620 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4621 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4626 $as_echo "$ac_cv_host" >&6; }
4629 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4632 ac_save_IFS=$IFS; IFS='-'
4638 # Remember, the first character of IFS is used to create $*,
4639 # except with old shells:
4642 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4647 # Check whether --with-gnu-ld was given.
4648 if test "${with_gnu_ld+set}" = set; then :
4649 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4654 # Prepare PATH_SEPARATOR.
4655 # The user is always right.
4656 if test "${PATH_SEPARATOR+set}" != set; then
4657 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
4658 # contains only /bin. Note that ksh looks also at the FPATH variable,
4659 # so we have to set that as well for the test.
4661 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4662 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4663 || PATH_SEPARATOR=';'
4668 if test "$GCC" = yes; then
4669 # Check if gcc -print-prog-name=ld gives a path.
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4671 $as_echo_n "checking for ld used by $CC... " >&6; }
4674 # gcc leaves a trailing carriage return which upsets mingw
4675 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4677 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4680 # Accept absolute paths.
4682 re_direlt='/[^/][^/]*/\.\./'
4683 # Canonicalize the pathname of ld
4684 ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
4685 while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
4686 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4688 test -z "$LD" && LD="$ac_prog"
4691 # If it fails, then pretend we aren't using GCC.
4695 # If it is relative, then search for the first ld in PATH.
4699 elif test "$with_gnu_ld" = yes; then
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4701 $as_echo_n "checking for GNU ld... " >&6; }
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4704 $as_echo_n "checking for non-GNU ld... " >&6; }
4706 if ${acl_cv_path_LD+:} false; then :
4707 $as_echo_n "(cached) " >&6
4709 if test -z "$LD"; then
4710 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4711 for ac_dir in $PATH; do
4713 test -z "$ac_dir" && ac_dir=.
4714 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4715 acl_cv_path_LD="$ac_dir/$ac_prog"
4716 # Check to see if the program is GNU ld. I'd rather use --version,
4717 # but apparently some variants of GNU ld only accept -v.
4718 # Break only if it was the GNU/non-GNU ld that we prefer.
4719 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
4720 *GNU* | *'with BFD'*)
4721 test "$with_gnu_ld" != no && break
4724 test "$with_gnu_ld" != yes && break
4731 acl_cv_path_LD="$LD" # Let the user override the test with a path.
4735 LD="$acl_cv_path_LD"
4736 if test -n "$LD"; then
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4738 $as_echo "$LD" >&6; }
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4741 $as_echo "no" >&6; }
4743 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4745 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4746 if ${acl_cv_prog_gnu_ld+:} false; then :
4747 $as_echo_n "(cached) " >&6
4749 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4750 case `$LD -v 2>&1 </dev/null` in
4751 *GNU* | *'with BFD'*)
4752 acl_cv_prog_gnu_ld=yes
4755 acl_cv_prog_gnu_ld=no
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4760 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
4761 with_gnu_ld=$acl_cv_prog_gnu_ld
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
4767 $as_echo_n "checking for shared library run path origin... " >&6; }
4768 if ${acl_cv_rpath+:} false; then :
4769 $as_echo_n "(cached) " >&6
4772 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
4773 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
4780 $as_echo "$acl_cv_rpath" >&6; }
4782 acl_libext="$acl_cv_libext"
4783 acl_shlibext="$acl_cv_shlibext"
4784 acl_libname_spec="$acl_cv_libname_spec"
4785 acl_library_names_spec="$acl_cv_library_names_spec"
4786 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
4787 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
4788 acl_hardcode_direct="$acl_cv_hardcode_direct"
4789 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
4790 # Check whether --enable-rpath was given.
4791 if test "${enable_rpath+set}" = set; then :
4792 enableval=$enable_rpath; :
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4799 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4800 if ${ac_cv_path_GREP+:} false; then :
4801 $as_echo_n "(cached) " >&6
4803 if test -z "$GREP"; then
4804 ac_path_GREP_found=false
4805 # Loop through the user's path and test for each of PROGNAME-LIST
4806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4807 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4810 test -z "$as_dir" && as_dir=.
4811 for ac_prog in grep ggrep; do
4812 for ac_exec_ext in '' $ac_executable_extensions; do
4813 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4814 as_fn_executable_p "$ac_path_GREP" || continue
4815 # Check for GNU ac_path_GREP and select it if it is found.
4816 # Check for GNU $ac_path_GREP
4817 case `"$ac_path_GREP" --version 2>&1` in
4819 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4822 $as_echo_n 0123456789 >"conftest.in"
4825 cat "conftest.in" "conftest.in" >"conftest.tmp"
4826 mv "conftest.tmp" "conftest.in"
4827 cp "conftest.in" "conftest.nl"
4828 $as_echo 'GREP' >> "conftest.nl"
4829 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4830 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4831 as_fn_arith $ac_count + 1 && ac_count=$as_val
4832 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4833 # Best one so far, save it but keep looking for a better one
4834 ac_cv_path_GREP="$ac_path_GREP"
4835 ac_path_GREP_max=$ac_count
4837 # 10*(2^10) chars as input seems more than enough
4838 test $ac_count -gt 10 && break
4840 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4843 $ac_path_GREP_found && break 3
4848 if test -z "$ac_cv_path_GREP"; then
4849 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4852 ac_cv_path_GREP=$GREP
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4857 $as_echo "$ac_cv_path_GREP" >&6; }
4858 GREP="$ac_cv_path_GREP"
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4862 $as_echo_n "checking for egrep... " >&6; }
4863 if ${ac_cv_path_EGREP+:} false; then :
4864 $as_echo_n "(cached) " >&6
4866 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4867 then ac_cv_path_EGREP="$GREP -E"
4869 if test -z "$EGREP"; then
4870 ac_path_EGREP_found=false
4871 # Loop through the user's path and test for each of PROGNAME-LIST
4872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4873 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4876 test -z "$as_dir" && as_dir=.
4877 for ac_prog in egrep; do
4878 for ac_exec_ext in '' $ac_executable_extensions; do
4879 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4880 as_fn_executable_p "$ac_path_EGREP" || continue
4881 # Check for GNU ac_path_EGREP and select it if it is found.
4882 # Check for GNU $ac_path_EGREP
4883 case `"$ac_path_EGREP" --version 2>&1` in
4885 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4888 $as_echo_n 0123456789 >"conftest.in"
4891 cat "conftest.in" "conftest.in" >"conftest.tmp"
4892 mv "conftest.tmp" "conftest.in"
4893 cp "conftest.in" "conftest.nl"
4894 $as_echo 'EGREP' >> "conftest.nl"
4895 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4896 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4897 as_fn_arith $ac_count + 1 && ac_count=$as_val
4898 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4899 # Best one so far, save it but keep looking for a better one
4900 ac_cv_path_EGREP="$ac_path_EGREP"
4901 ac_path_EGREP_max=$ac_count
4903 # 10*(2^10) chars as input seems more than enough
4904 test $ac_count -gt 10 && break
4906 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4909 $ac_path_EGREP_found && break 3
4914 if test -z "$ac_cv_path_EGREP"; then
4915 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4918 ac_cv_path_EGREP=$EGREP
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4924 $as_echo "$ac_cv_path_EGREP" >&6; }
4925 EGREP="$ac_cv_path_EGREP"
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
4935 $as_echo_n "checking for 64-bit host... " >&6; }
4936 if ${gl_cv_solaris_64bit+:} false; then :
4937 $as_echo_n "(cached) " >&6
4939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4940 /* end confdefs.h. */
4947 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4948 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
4949 gl_cv_solaris_64bit=yes
4951 gl_cv_solaris_64bit=no
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
4958 $as_echo "$gl_cv_solaris_64bit" >&6; }
4959 if test $gl_cv_solaris_64bit = yes; then
4960 acl_libdirstem=lib/64
4962 sparc*) acl_libdirstem2=lib/sparcv9 ;;
4963 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
4968 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
4969 if test -n "$searchpath"; then
4970 acl_save_IFS="${IFS= }"; IFS=":"
4971 for searchdir in $searchpath; do
4972 if test -d "$searchdir"; then
4973 case "$searchdir" in
4974 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
4976 # Better ignore directories of this form. They are misleading.
4978 *) searchdir=`cd "$searchdir" && pwd`
4979 case "$searchdir" in
4980 */lib64 ) acl_libdirstem=lib64 ;;
4989 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
5004 acl_save_prefix="$prefix"
5005 prefix="$acl_final_prefix"
5006 acl_save_exec_prefix="$exec_prefix"
5007 exec_prefix="$acl_final_exec_prefix"
5009 eval additional_includedir=\"$includedir\"
5010 eval additional_libdir=\"$libdir\"
5012 exec_prefix="$acl_save_exec_prefix"
5013 prefix="$acl_save_prefix"
5016 # Check whether --with-libiconv-prefix was given.
5017 if test "${with_libiconv_prefix+set}" = set; then :
5018 withval=$with_libiconv_prefix;
5019 if test "X$withval" = "Xno"; then
5022 if test "X$withval" = "X"; then
5024 acl_save_prefix="$prefix"
5025 prefix="$acl_final_prefix"
5026 acl_save_exec_prefix="$exec_prefix"
5027 exec_prefix="$acl_final_exec_prefix"
5029 eval additional_includedir=\"$includedir\"
5030 eval additional_libdir=\"$libdir\"
5032 exec_prefix="$acl_save_exec_prefix"
5033 prefix="$acl_save_prefix"
5036 additional_includedir="$withval/include"
5037 additional_libdir="$withval/$acl_libdirstem"
5038 if test "$acl_libdirstem2" != "$acl_libdirstem" \
5039 && ! test -d "$withval/$acl_libdirstem"; then
5040 additional_libdir="$withval/$acl_libdirstem2"
5054 names_already_handled=
5055 names_next_round='iconv '
5056 while test -n "$names_next_round"; do
5057 names_this_round="$names_next_round"
5059 for name in $names_this_round; do
5061 for n in $names_already_handled; do
5062 if test "$n" = "$name"; then
5067 if test -z "$already_handled"; then
5068 names_already_handled="$names_already_handled $name"
5069 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
5070 eval value=\"\$HAVE_LIB$uppername\"
5071 if test -n "$value"; then
5072 if test "$value" = yes; then
5073 eval value=\"\$LIB$uppername\"
5074 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
5075 eval value=\"\$LTLIB$uppername\"
5076 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
5085 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
5086 if test -n "$acl_shlibext"; then
5087 shrext=".$acl_shlibext" # typically: shrext=.so
5091 if test $use_additional = yes; then
5092 dir="$additional_libdir"
5093 if test -n "$acl_shlibext"; then
5094 if test -f "$dir/$libname$shrext"; then
5096 found_so="$dir/$libname$shrext"
5098 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5099 ver=`(cd "$dir" && \
5100 for f in "$libname$shrext".*; do echo "$f"; done \
5101 | sed -e "s,^$libname$shrext\\\\.,," \
5102 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5103 | sed 1q ) 2>/dev/null`
5104 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5106 found_so="$dir/$libname$shrext.$ver"
5109 eval library_names=\"$acl_library_names_spec\"
5110 for f in $library_names; do
5111 if test -f "$dir/$f"; then
5120 if test "X$found_dir" = "X"; then
5121 if test -f "$dir/$libname.$acl_libext"; then
5123 found_a="$dir/$libname.$acl_libext"
5126 if test "X$found_dir" != "X"; then
5127 if test -f "$dir/$libname.la"; then
5128 found_la="$dir/$libname.la"
5132 if test "X$found_dir" = "X"; then
5133 for x in $LDFLAGS $LTLIBICONV; do
5135 acl_save_prefix="$prefix"
5136 prefix="$acl_final_prefix"
5137 acl_save_exec_prefix="$exec_prefix"
5138 exec_prefix="$acl_final_exec_prefix"
5140 exec_prefix="$acl_save_exec_prefix"
5141 prefix="$acl_save_prefix"
5145 dir=`echo "X$x" | sed -e 's/^X-L//'`
5146 if test -n "$acl_shlibext"; then
5147 if test -f "$dir/$libname$shrext"; then
5149 found_so="$dir/$libname$shrext"
5151 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5152 ver=`(cd "$dir" && \
5153 for f in "$libname$shrext".*; do echo "$f"; done \
5154 | sed -e "s,^$libname$shrext\\\\.,," \
5155 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5156 | sed 1q ) 2>/dev/null`
5157 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5159 found_so="$dir/$libname$shrext.$ver"
5162 eval library_names=\"$acl_library_names_spec\"
5163 for f in $library_names; do
5164 if test -f "$dir/$f"; then
5173 if test "X$found_dir" = "X"; then
5174 if test -f "$dir/$libname.$acl_libext"; then
5176 found_a="$dir/$libname.$acl_libext"
5179 if test "X$found_dir" != "X"; then
5180 if test -f "$dir/$libname.la"; then
5181 found_la="$dir/$libname.la"
5186 if test "X$found_dir" != "X"; then
5191 if test "X$found_dir" != "X"; then
5192 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5193 if test "X$found_so" != "X"; then
5194 if test "$enable_rpath" = no \
5195 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
5196 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
5197 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5200 for x in $ltrpathdirs; do
5201 if test "X$x" = "X$found_dir"; then
5206 if test -z "$haveit"; then
5207 ltrpathdirs="$ltrpathdirs $found_dir"
5209 if test "$acl_hardcode_direct" = yes; then
5210 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5212 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
5213 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5215 for x in $rpathdirs; do
5216 if test "X$x" = "X$found_dir"; then
5221 if test -z "$haveit"; then
5222 rpathdirs="$rpathdirs $found_dir"
5226 for x in $LDFLAGS $LIBICONV; do
5228 acl_save_prefix="$prefix"
5229 prefix="$acl_final_prefix"
5230 acl_save_exec_prefix="$exec_prefix"
5231 exec_prefix="$acl_final_exec_prefix"
5233 exec_prefix="$acl_save_exec_prefix"
5234 prefix="$acl_save_prefix"
5236 if test "X$x" = "X-L$found_dir"; then
5241 if test -z "$haveit"; then
5242 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5244 if test "$acl_hardcode_minus_L" != no; then
5245 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5247 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5253 if test "X$found_a" != "X"; then
5254 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
5256 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5259 additional_includedir=
5260 case "$found_dir" in
5261 */$acl_libdirstem | */$acl_libdirstem/)
5262 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5263 if test "$name" = 'iconv'; then
5264 LIBICONV_PREFIX="$basedir"
5266 additional_includedir="$basedir/include"
5268 */$acl_libdirstem2 | */$acl_libdirstem2/)
5269 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
5270 if test "$name" = 'iconv'; then
5271 LIBICONV_PREFIX="$basedir"
5273 additional_includedir="$basedir/include"
5276 if test "X$additional_includedir" != "X"; then
5277 if test "X$additional_includedir" != "X/usr/include"; then
5279 if test "X$additional_includedir" = "X/usr/local/include"; then
5280 if test -n "$GCC"; then
5282 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5286 if test -z "$haveit"; then
5287 for x in $CPPFLAGS $INCICONV; do
5289 acl_save_prefix="$prefix"
5290 prefix="$acl_final_prefix"
5291 acl_save_exec_prefix="$exec_prefix"
5292 exec_prefix="$acl_final_exec_prefix"
5294 exec_prefix="$acl_save_exec_prefix"
5295 prefix="$acl_save_prefix"
5297 if test "X$x" = "X-I$additional_includedir"; then
5302 if test -z "$haveit"; then
5303 if test -d "$additional_includedir"; then
5304 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5310 if test -n "$found_la"; then
5311 save_libdir="$libdir"
5313 */* | *\\*) . "$found_la" ;;
5314 *) . "./$found_la" ;;
5316 libdir="$save_libdir"
5317 for dep in $dependency_libs; do
5320 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5321 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
5322 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
5324 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
5325 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
5326 if test -n "$GCC"; then
5328 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5332 if test -z "$haveit"; then
5334 for x in $LDFLAGS $LIBICONV; do
5336 acl_save_prefix="$prefix"
5337 prefix="$acl_final_prefix"
5338 acl_save_exec_prefix="$exec_prefix"
5339 exec_prefix="$acl_final_exec_prefix"
5341 exec_prefix="$acl_save_exec_prefix"
5342 prefix="$acl_save_prefix"
5344 if test "X$x" = "X-L$additional_libdir"; then
5349 if test -z "$haveit"; then
5350 if test -d "$additional_libdir"; then
5351 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5355 for x in $LDFLAGS $LTLIBICONV; do
5357 acl_save_prefix="$prefix"
5358 prefix="$acl_final_prefix"
5359 acl_save_exec_prefix="$exec_prefix"
5360 exec_prefix="$acl_final_exec_prefix"
5362 exec_prefix="$acl_save_exec_prefix"
5363 prefix="$acl_save_prefix"
5365 if test "X$x" = "X-L$additional_libdir"; then
5370 if test -z "$haveit"; then
5371 if test -d "$additional_libdir"; then
5372 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5379 dir=`echo "X$dep" | sed -e 's/^X-R//'`
5380 if test "$enable_rpath" != no; then
5382 for x in $rpathdirs; do
5383 if test "X$x" = "X$dir"; then
5388 if test -z "$haveit"; then
5389 rpathdirs="$rpathdirs $dir"
5392 for x in $ltrpathdirs; do
5393 if test "X$x" = "X$dir"; then
5398 if test -z "$haveit"; then
5399 ltrpathdirs="$ltrpathdirs $dir"
5404 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5407 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5410 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
5411 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5417 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5418 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5424 if test "X$rpathdirs" != "X"; then
5425 if test -n "$acl_hardcode_libdir_separator"; then
5427 for found_dir in $rpathdirs; do
5428 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
5430 acl_save_libdir="$libdir"
5432 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5433 libdir="$acl_save_libdir"
5434 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5436 for found_dir in $rpathdirs; do
5437 acl_save_libdir="$libdir"
5439 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5440 libdir="$acl_save_libdir"
5441 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5445 if test "X$ltrpathdirs" != "X"; then
5446 for found_dir in $ltrpathdirs; do
5447 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
5482 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
5483 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
5484 $as_echo_n "(cached) " >&6
5486 gt_save_LIBS="$LIBS"
5487 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5489 /* end confdefs.h. */
5490 #include <CoreFoundation/CFPreferences.h>
5494 CFPreferencesCopyAppValue(NULL, NULL)
5499 if ac_fn_c_try_link "$LINENO"; then :
5500 gt_cv_func_CFPreferencesCopyAppValue=yes
5502 gt_cv_func_CFPreferencesCopyAppValue=no
5504 rm -f core conftest.err conftest.$ac_objext \
5505 conftest$ac_exeext conftest.$ac_ext
5506 LIBS="$gt_save_LIBS"
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
5509 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
5510 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
5512 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
5516 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
5517 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
5518 $as_echo_n "(cached) " >&6
5520 gt_save_LIBS="$LIBS"
5521 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5523 /* end confdefs.h. */
5524 #include <CoreFoundation/CFLocale.h>
5528 CFLocaleCopyCurrent();
5533 if ac_fn_c_try_link "$LINENO"; then :
5534 gt_cv_func_CFLocaleCopyCurrent=yes
5536 gt_cv_func_CFLocaleCopyCurrent=no
5538 rm -f core conftest.err conftest.$ac_objext \
5539 conftest$ac_exeext conftest.$ac_ext
5540 LIBS="$gt_save_LIBS"
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
5543 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
5544 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5546 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
5550 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5551 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
5563 case " $gt_needs " in
5564 *" need-formatstring-macros "*) gt_api_version=3 ;;
5565 *" need-ngettext "*) gt_api_version=2 ;;
5566 *) gt_api_version=1 ;;
5568 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
5569 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
5571 if test "$USE_NLS" = "yes"; then
5572 gt_use_preinstalled_gnugettext=no
5575 if test $gt_api_version -ge 3; then
5576 gt_revision_test_code='
5577 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
5578 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
5580 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
5583 gt_revision_test_code=
5585 if test $gt_api_version -ge 2; then
5586 gt_expression_test_code=' + * ngettext ("", "", 0)'
5588 gt_expression_test_code=
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
5592 $as_echo_n "checking for GNU gettext in libc... " >&6; }
5593 if eval \${$gt_func_gnugettext_libc+:} false; then :
5594 $as_echo_n "(cached) " >&6
5596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5597 /* end confdefs.h. */
5599 #include <libintl.h>
5600 $gt_revision_test_code
5601 extern int _nl_msg_cat_cntr;
5602 extern int *_nl_domain_bindings;
5608 bindtextdomain ("", "");
5609 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
5615 if ac_fn_c_try_link "$LINENO"; then :
5616 eval "$gt_func_gnugettext_libc=yes"
5618 eval "$gt_func_gnugettext_libc=no"
5620 rm -f core conftest.err conftest.$ac_objext \
5621 conftest$ac_exeext conftest.$ac_ext
5623 eval ac_res=\$$gt_func_gnugettext_libc
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5625 $as_echo "$ac_res" >&6; }
5627 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
5633 am_save_CPPFLAGS="$CPPFLAGS"
5635 for element in $INCICONV; do
5637 for x in $CPPFLAGS; do
5639 acl_save_prefix="$prefix"
5640 prefix="$acl_final_prefix"
5641 acl_save_exec_prefix="$exec_prefix"
5642 exec_prefix="$acl_final_exec_prefix"
5644 exec_prefix="$acl_save_exec_prefix"
5645 prefix="$acl_save_prefix"
5647 if test "X$x" = "X$element"; then
5652 if test -z "$haveit"; then
5653 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
5659 $as_echo_n "checking for iconv... " >&6; }
5660 if ${am_cv_func_iconv+:} false; then :
5661 $as_echo_n "(cached) " >&6
5664 am_cv_func_iconv="no, consider installing GNU libiconv"
5666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5667 /* end confdefs.h. */
5675 iconv_t cd = iconv_open("","");
5676 iconv(cd,NULL,NULL,NULL,NULL);
5682 if ac_fn_c_try_link "$LINENO"; then :
5683 am_cv_func_iconv=yes
5685 rm -f core conftest.err conftest.$ac_objext \
5686 conftest$ac_exeext conftest.$ac_ext
5687 if test "$am_cv_func_iconv" != yes; then
5688 am_save_LIBS="$LIBS"
5689 LIBS="$LIBS $LIBICONV"
5690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5691 /* end confdefs.h. */
5699 iconv_t cd = iconv_open("","");
5700 iconv(cd,NULL,NULL,NULL,NULL);
5706 if ac_fn_c_try_link "$LINENO"; then :
5708 am_cv_func_iconv=yes
5710 rm -f core conftest.err conftest.$ac_objext \
5711 conftest$ac_exeext conftest.$ac_ext
5712 LIBS="$am_save_LIBS"
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
5717 $as_echo "$am_cv_func_iconv" >&6; }
5718 if test "$am_cv_func_iconv" = yes; then
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
5720 $as_echo_n "checking for working iconv... " >&6; }
5721 if ${am_cv_func_iconv_works+:} false; then :
5722 $as_echo_n "(cached) " >&6
5725 am_save_LIBS="$LIBS"
5726 if test $am_cv_lib_iconv = yes; then
5727 LIBS="$LIBS $LIBICONV"
5729 if test "$cross_compiling" = yes; then :
5732 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
5733 *) am_cv_func_iconv_works="guessing yes" ;;
5737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5738 /* end confdefs.h. */
5745 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
5748 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
5749 if (cd_utf8_to_88591 != (iconv_t)(-1))
5751 static const char input[] = "\342\202\254"; /* EURO SIGN */
5753 const char *inptr = input;
5754 size_t inbytesleft = strlen (input);
5756 size_t outbytesleft = sizeof (buf);
5757 size_t res = iconv (cd_utf8_to_88591,
5758 (char **) &inptr, &inbytesleft,
5759 &outptr, &outbytesleft);
5762 iconv_close (cd_utf8_to_88591);
5765 /* Test against Solaris 10 bug: Failures are not distinguishable from
5766 successful returns. */
5768 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
5769 if (cd_ascii_to_88591 != (iconv_t)(-1))
5771 static const char input[] = "\263";
5773 const char *inptr = input;
5774 size_t inbytesleft = strlen (input);
5776 size_t outbytesleft = sizeof (buf);
5777 size_t res = iconv (cd_ascii_to_88591,
5778 (char **) &inptr, &inbytesleft,
5779 &outptr, &outbytesleft);
5782 iconv_close (cd_ascii_to_88591);
5785 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
5787 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
5788 if (cd_88591_to_utf8 != (iconv_t)(-1))
5790 static const char input[] = "\304";
5791 static char buf[2] = { (char)0xDE, (char)0xAD };
5792 const char *inptr = input;
5793 size_t inbytesleft = 1;
5795 size_t outbytesleft = 1;
5796 size_t res = iconv (cd_88591_to_utf8,
5797 (char **) &inptr, &inbytesleft,
5798 &outptr, &outbytesleft);
5799 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
5801 iconv_close (cd_88591_to_utf8);
5804 #if 0 /* This bug could be worked around by the caller. */
5805 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
5807 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
5808 if (cd_88591_to_utf8 != (iconv_t)(-1))
5810 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
5812 const char *inptr = input;
5813 size_t inbytesleft = strlen (input);
5815 size_t outbytesleft = sizeof (buf);
5816 size_t res = iconv (cd_88591_to_utf8,
5817 (char **) &inptr, &inbytesleft,
5818 &outptr, &outbytesleft);
5821 iconv_close (cd_88591_to_utf8);
5825 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
5827 if (/* Try standardized names. */
5828 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
5829 /* Try IRIX, OSF/1 names. */
5830 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
5831 /* Try AIX names. */
5832 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
5833 /* Try HP-UX names. */
5834 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
5839 if ac_fn_c_try_run "$LINENO"; then :
5840 am_cv_func_iconv_works=yes
5842 am_cv_func_iconv_works=no
5844 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5845 conftest.$ac_objext conftest.beam conftest.$ac_ext
5848 LIBS="$am_save_LIBS"
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
5852 $as_echo "$am_cv_func_iconv_works" >&6; }
5853 case "$am_cv_func_iconv_works" in
5854 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
5855 *) am_func_iconv=yes ;;
5858 am_func_iconv=no am_cv_lib_iconv=no
5860 if test "$am_func_iconv" = yes; then
5862 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
5865 if test "$am_cv_lib_iconv" = yes; then
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
5867 $as_echo_n "checking how to link with libiconv... " >&6; }
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
5869 $as_echo "$LIBICONV" >&6; }
5871 CPPFLAGS="$am_save_CPPFLAGS"
5888 acl_save_prefix="$prefix"
5889 prefix="$acl_final_prefix"
5890 acl_save_exec_prefix="$exec_prefix"
5891 exec_prefix="$acl_final_exec_prefix"
5893 eval additional_includedir=\"$includedir\"
5894 eval additional_libdir=\"$libdir\"
5896 exec_prefix="$acl_save_exec_prefix"
5897 prefix="$acl_save_prefix"
5900 # Check whether --with-libintl-prefix was given.
5901 if test "${with_libintl_prefix+set}" = set; then :
5902 withval=$with_libintl_prefix;
5903 if test "X$withval" = "Xno"; then
5906 if test "X$withval" = "X"; then
5908 acl_save_prefix="$prefix"
5909 prefix="$acl_final_prefix"
5910 acl_save_exec_prefix="$exec_prefix"
5911 exec_prefix="$acl_final_exec_prefix"
5913 eval additional_includedir=\"$includedir\"
5914 eval additional_libdir=\"$libdir\"
5916 exec_prefix="$acl_save_exec_prefix"
5917 prefix="$acl_save_prefix"
5920 additional_includedir="$withval/include"
5921 additional_libdir="$withval/$acl_libdirstem"
5922 if test "$acl_libdirstem2" != "$acl_libdirstem" \
5923 && ! test -d "$withval/$acl_libdirstem"; then
5924 additional_libdir="$withval/$acl_libdirstem2"
5938 names_already_handled=
5939 names_next_round='intl '
5940 while test -n "$names_next_round"; do
5941 names_this_round="$names_next_round"
5943 for name in $names_this_round; do
5945 for n in $names_already_handled; do
5946 if test "$n" = "$name"; then
5951 if test -z "$already_handled"; then
5952 names_already_handled="$names_already_handled $name"
5953 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
5954 eval value=\"\$HAVE_LIB$uppername\"
5955 if test -n "$value"; then
5956 if test "$value" = yes; then
5957 eval value=\"\$LIB$uppername\"
5958 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
5959 eval value=\"\$LTLIB$uppername\"
5960 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
5969 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
5970 if test -n "$acl_shlibext"; then
5971 shrext=".$acl_shlibext" # typically: shrext=.so
5975 if test $use_additional = yes; then
5976 dir="$additional_libdir"
5977 if test -n "$acl_shlibext"; then
5978 if test -f "$dir/$libname$shrext"; then
5980 found_so="$dir/$libname$shrext"
5982 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5983 ver=`(cd "$dir" && \
5984 for f in "$libname$shrext".*; do echo "$f"; done \
5985 | sed -e "s,^$libname$shrext\\\\.,," \
5986 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5987 | sed 1q ) 2>/dev/null`
5988 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5990 found_so="$dir/$libname$shrext.$ver"
5993 eval library_names=\"$acl_library_names_spec\"
5994 for f in $library_names; do
5995 if test -f "$dir/$f"; then
6004 if test "X$found_dir" = "X"; then
6005 if test -f "$dir/$libname.$acl_libext"; then
6007 found_a="$dir/$libname.$acl_libext"
6010 if test "X$found_dir" != "X"; then
6011 if test -f "$dir/$libname.la"; then
6012 found_la="$dir/$libname.la"
6016 if test "X$found_dir" = "X"; then
6017 for x in $LDFLAGS $LTLIBINTL; do
6019 acl_save_prefix="$prefix"
6020 prefix="$acl_final_prefix"
6021 acl_save_exec_prefix="$exec_prefix"
6022 exec_prefix="$acl_final_exec_prefix"
6024 exec_prefix="$acl_save_exec_prefix"
6025 prefix="$acl_save_prefix"
6029 dir=`echo "X$x" | sed -e 's/^X-L//'`
6030 if test -n "$acl_shlibext"; then
6031 if test -f "$dir/$libname$shrext"; then
6033 found_so="$dir/$libname$shrext"
6035 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6036 ver=`(cd "$dir" && \
6037 for f in "$libname$shrext".*; do echo "$f"; done \
6038 | sed -e "s,^$libname$shrext\\\\.,," \
6039 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6040 | sed 1q ) 2>/dev/null`
6041 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6043 found_so="$dir/$libname$shrext.$ver"
6046 eval library_names=\"$acl_library_names_spec\"
6047 for f in $library_names; do
6048 if test -f "$dir/$f"; then
6057 if test "X$found_dir" = "X"; then
6058 if test -f "$dir/$libname.$acl_libext"; then
6060 found_a="$dir/$libname.$acl_libext"
6063 if test "X$found_dir" != "X"; then
6064 if test -f "$dir/$libname.la"; then
6065 found_la="$dir/$libname.la"
6070 if test "X$found_dir" != "X"; then
6075 if test "X$found_dir" != "X"; then
6076 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6077 if test "X$found_so" != "X"; then
6078 if test "$enable_rpath" = no \
6079 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
6080 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
6081 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6084 for x in $ltrpathdirs; do
6085 if test "X$x" = "X$found_dir"; then
6090 if test -z "$haveit"; then
6091 ltrpathdirs="$ltrpathdirs $found_dir"
6093 if test "$acl_hardcode_direct" = yes; then
6094 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6096 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
6097 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6099 for x in $rpathdirs; do
6100 if test "X$x" = "X$found_dir"; then
6105 if test -z "$haveit"; then
6106 rpathdirs="$rpathdirs $found_dir"
6110 for x in $LDFLAGS $LIBINTL; do
6112 acl_save_prefix="$prefix"
6113 prefix="$acl_final_prefix"
6114 acl_save_exec_prefix="$exec_prefix"
6115 exec_prefix="$acl_final_exec_prefix"
6117 exec_prefix="$acl_save_exec_prefix"
6118 prefix="$acl_save_prefix"
6120 if test "X$x" = "X-L$found_dir"; then
6125 if test -z "$haveit"; then
6126 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6128 if test "$acl_hardcode_minus_L" != no; then
6129 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6131 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6137 if test "X$found_a" != "X"; then
6138 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
6140 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6143 additional_includedir=
6144 case "$found_dir" in
6145 */$acl_libdirstem | */$acl_libdirstem/)
6146 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
6147 if test "$name" = 'intl'; then
6148 LIBINTL_PREFIX="$basedir"
6150 additional_includedir="$basedir/include"
6152 */$acl_libdirstem2 | */$acl_libdirstem2/)
6153 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
6154 if test "$name" = 'intl'; then
6155 LIBINTL_PREFIX="$basedir"
6157 additional_includedir="$basedir/include"
6160 if test "X$additional_includedir" != "X"; then
6161 if test "X$additional_includedir" != "X/usr/include"; then
6163 if test "X$additional_includedir" = "X/usr/local/include"; then
6164 if test -n "$GCC"; then
6166 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6170 if test -z "$haveit"; then
6171 for x in $CPPFLAGS $INCINTL; do
6173 acl_save_prefix="$prefix"
6174 prefix="$acl_final_prefix"
6175 acl_save_exec_prefix="$exec_prefix"
6176 exec_prefix="$acl_final_exec_prefix"
6178 exec_prefix="$acl_save_exec_prefix"
6179 prefix="$acl_save_prefix"
6181 if test "X$x" = "X-I$additional_includedir"; then
6186 if test -z "$haveit"; then
6187 if test -d "$additional_includedir"; then
6188 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6194 if test -n "$found_la"; then
6195 save_libdir="$libdir"
6197 */* | *\\*) . "$found_la" ;;
6198 *) . "./$found_la" ;;
6200 libdir="$save_libdir"
6201 for dep in $dependency_libs; do
6204 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
6205 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
6206 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
6208 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
6209 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
6210 if test -n "$GCC"; then
6212 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6216 if test -z "$haveit"; then
6218 for x in $LDFLAGS $LIBINTL; do
6220 acl_save_prefix="$prefix"
6221 prefix="$acl_final_prefix"
6222 acl_save_exec_prefix="$exec_prefix"
6223 exec_prefix="$acl_final_exec_prefix"
6225 exec_prefix="$acl_save_exec_prefix"
6226 prefix="$acl_save_prefix"
6228 if test "X$x" = "X-L$additional_libdir"; then
6233 if test -z "$haveit"; then
6234 if test -d "$additional_libdir"; then
6235 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6239 for x in $LDFLAGS $LTLIBINTL; do
6241 acl_save_prefix="$prefix"
6242 prefix="$acl_final_prefix"
6243 acl_save_exec_prefix="$exec_prefix"
6244 exec_prefix="$acl_final_exec_prefix"
6246 exec_prefix="$acl_save_exec_prefix"
6247 prefix="$acl_save_prefix"
6249 if test "X$x" = "X-L$additional_libdir"; then
6254 if test -z "$haveit"; then
6255 if test -d "$additional_libdir"; then
6256 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6263 dir=`echo "X$dep" | sed -e 's/^X-R//'`
6264 if test "$enable_rpath" != no; then
6266 for x in $rpathdirs; do
6267 if test "X$x" = "X$dir"; then
6272 if test -z "$haveit"; then
6273 rpathdirs="$rpathdirs $dir"
6276 for x in $ltrpathdirs; do
6277 if test "X$x" = "X$dir"; then
6282 if test -z "$haveit"; then
6283 ltrpathdirs="$ltrpathdirs $dir"
6288 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6291 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6294 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
6295 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6301 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6302 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6308 if test "X$rpathdirs" != "X"; then
6309 if test -n "$acl_hardcode_libdir_separator"; then
6311 for found_dir in $rpathdirs; do
6312 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
6314 acl_save_libdir="$libdir"
6316 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6317 libdir="$acl_save_libdir"
6318 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6320 for found_dir in $rpathdirs; do
6321 acl_save_libdir="$libdir"
6323 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6324 libdir="$acl_save_libdir"
6325 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6329 if test "X$ltrpathdirs" != "X"; then
6330 for found_dir in $ltrpathdirs; do
6331 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6341 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
6342 if eval \${$gt_func_gnugettext_libintl+:} false; then :
6343 $as_echo_n "(cached) " >&6
6345 gt_save_CPPFLAGS="$CPPFLAGS"
6346 CPPFLAGS="$CPPFLAGS $INCINTL"
6347 gt_save_LIBS="$LIBS"
6348 LIBS="$LIBS $LIBINTL"
6349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6350 /* end confdefs.h. */
6352 #include <libintl.h>
6353 $gt_revision_test_code
6354 extern int _nl_msg_cat_cntr;
6359 const char *_nl_expand_alias (const char *);
6365 bindtextdomain ("", "");
6366 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6372 if ac_fn_c_try_link "$LINENO"; then :
6373 eval "$gt_func_gnugettext_libintl=yes"
6375 eval "$gt_func_gnugettext_libintl=no"
6377 rm -f core conftest.err conftest.$ac_objext \
6378 conftest$ac_exeext conftest.$ac_ext
6379 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
6380 LIBS="$LIBS $LIBICONV"
6381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6382 /* end confdefs.h. */
6384 #include <libintl.h>
6385 $gt_revision_test_code
6386 extern int _nl_msg_cat_cntr;
6391 const char *_nl_expand_alias (const char *);
6397 bindtextdomain ("", "");
6398 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6404 if ac_fn_c_try_link "$LINENO"; then :
6405 LIBINTL="$LIBINTL $LIBICONV"
6406 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
6407 eval "$gt_func_gnugettext_libintl=yes"
6410 rm -f core conftest.err conftest.$ac_objext \
6411 conftest$ac_exeext conftest.$ac_ext
6413 CPPFLAGS="$gt_save_CPPFLAGS"
6414 LIBS="$gt_save_LIBS"
6416 eval ac_res=\$$gt_func_gnugettext_libintl
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6418 $as_echo "$ac_res" >&6; }
6421 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
6422 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
6423 && test "$PACKAGE" != gettext-runtime \
6424 && test "$PACKAGE" != gettext-tools; }; then
6425 gt_use_preinstalled_gnugettext=yes
6434 if test -n "$INTL_MACOSX_LIBS"; then
6435 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6436 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6437 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
6438 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
6442 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6443 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6445 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6453 $as_echo_n "checking whether to use NLS... " >&6; }
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6455 $as_echo "$USE_NLS" >&6; }
6456 if test "$USE_NLS" = "yes"; then
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6458 $as_echo_n "checking where the gettext function comes from... " >&6; }
6459 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6460 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6461 gt_source="external libintl"
6466 gt_source="included intl directory"
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6469 $as_echo "$gt_source" >&6; }
6472 if test "$USE_NLS" = "yes"; then
6474 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6475 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6477 $as_echo_n "checking how to link with libintl... " >&6; }
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6479 $as_echo "$LIBINTL" >&6; }
6481 for element in $INCINTL; do
6483 for x in $CPPFLAGS; do
6485 acl_save_prefix="$prefix"
6486 prefix="$acl_final_prefix"
6487 acl_save_exec_prefix="$exec_prefix"
6488 exec_prefix="$acl_final_exec_prefix"
6490 exec_prefix="$acl_save_exec_prefix"
6491 prefix="$acl_save_prefix"
6493 if test "X$x" = "X$element"; then
6498 if test -z "$haveit"; then
6499 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6506 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6509 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
6526 ############### common
6535 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6536 if test -n "$ac_tool_prefix"; then
6537 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6538 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6540 $as_echo_n "checking for $ac_word... " >&6; }
6541 if ${ac_cv_path_PKG_CONFIG+:} false; then :
6542 $as_echo_n "(cached) " >&6
6546 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6553 test -z "$as_dir" && as_dir=.
6554 for ac_exec_ext in '' $ac_executable_extensions; do
6555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6556 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6567 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6568 if test -n "$PKG_CONFIG"; then
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6570 $as_echo "$PKG_CONFIG" >&6; }
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6573 $as_echo "no" >&6; }
6578 if test -z "$ac_cv_path_PKG_CONFIG"; then
6579 ac_pt_PKG_CONFIG=$PKG_CONFIG
6580 # Extract the first word of "pkg-config", so it can be a program name with args.
6581 set dummy pkg-config; ac_word=$2
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6583 $as_echo_n "checking for $ac_word... " >&6; }
6584 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
6585 $as_echo_n "(cached) " >&6
6587 case $ac_pt_PKG_CONFIG in
6589 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6596 test -z "$as_dir" && as_dir=.
6597 for ac_exec_ext in '' $ac_executable_extensions; do
6598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6599 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6610 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6611 if test -n "$ac_pt_PKG_CONFIG"; then
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6613 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6616 $as_echo "no" >&6; }
6619 if test "x$ac_pt_PKG_CONFIG" = x; then
6622 case $cross_compiling:$ac_tool_warned in
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6626 ac_tool_warned=yes ;;
6628 PKG_CONFIG=$ac_pt_PKG_CONFIG
6631 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6635 if test -n "$PKG_CONFIG"; then
6636 _pkg_min_version=0.9.0
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
6638 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6639 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6641 $as_echo "yes" >&6; }
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6644 $as_echo "no" >&6; }
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
6651 $as_echo_n "checking for X11... " >&6; }
6653 if test -n "$X11_CFLAGS"; then
6654 pkg_cv_X11_CFLAGS="$X11_CFLAGS"
6655 elif test -n "$PKG_CONFIG"; then
6656 if test -n "$PKG_CONFIG" && \
6657 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
6658 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
6660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6661 test $ac_status = 0; }; then
6662 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
6663 test "x$?" != "x0" && pkg_failed=yes
6670 if test -n "$X11_LIBS"; then
6671 pkg_cv_X11_LIBS="$X11_LIBS"
6672 elif test -n "$PKG_CONFIG"; then
6673 if test -n "$PKG_CONFIG" && \
6674 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
6675 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
6677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6678 test $ac_status = 0; }; then
6679 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
6680 test "x$?" != "x0" && pkg_failed=yes
6690 if test $pkg_failed = yes; then
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6692 $as_echo "no" >&6; }
6694 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6695 _pkg_short_errors_supported=yes
6697 _pkg_short_errors_supported=no
6699 if test $_pkg_short_errors_supported = yes; then
6700 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1`
6702 X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1`
6704 # Put the nasty error message in config.log where it belongs
6705 echo "$X11_PKG_ERRORS" >&5
6707 as_fn_error $? "Package requirements (x11) were not met:
6711 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6712 installed software in a non-standard prefix.
6714 Alternatively, you may set the environment variables X11_CFLAGS
6715 and X11_LIBS to avoid the need to call pkg-config.
6716 See the pkg-config man page for more details." "$LINENO" 5
6717 elif test $pkg_failed = untried; then
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6719 $as_echo "no" >&6; }
6720 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6722 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6723 is in your PATH or set the PKG_CONFIG environment variable to the full
6726 Alternatively, you may set the environment variables X11_CFLAGS
6727 and X11_LIBS to avoid the need to call pkg-config.
6728 See the pkg-config man page for more details.
6730 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6731 See \`config.log' for more details" "$LINENO" 5; }
6733 X11_CFLAGS=$pkg_cv_X11_CFLAGS
6734 X11_LIBS=$pkg_cv_X11_LIBS
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6736 $as_echo "yes" >&6; }
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
6745 $as_echo_n "checking for XEXT... " >&6; }
6747 if test -n "$XEXT_CFLAGS"; then
6748 pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
6749 elif test -n "$PKG_CONFIG"; then
6750 if test -n "$PKG_CONFIG" && \
6751 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
6752 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
6754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6755 test $ac_status = 0; }; then
6756 pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xext" 2>/dev/null`
6757 test "x$?" != "x0" && pkg_failed=yes
6764 if test -n "$XEXT_LIBS"; then
6765 pkg_cv_XEXT_LIBS="$XEXT_LIBS"
6766 elif test -n "$PKG_CONFIG"; then
6767 if test -n "$PKG_CONFIG" && \
6768 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
6769 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
6771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6772 test $ac_status = 0; }; then
6773 pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xext" 2>/dev/null`
6774 test "x$?" != "x0" && pkg_failed=yes
6784 if test $pkg_failed = yes; then
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6786 $as_echo "no" >&6; }
6788 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6789 _pkg_short_errors_supported=yes
6791 _pkg_short_errors_supported=no
6793 if test $_pkg_short_errors_supported = yes; then
6794 XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xext" 2>&1`
6796 XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xext" 2>&1`
6798 # Put the nasty error message in config.log where it belongs
6799 echo "$XEXT_PKG_ERRORS" >&5
6801 as_fn_error $? "Package requirements (xext) were not met:
6805 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6806 installed software in a non-standard prefix.
6808 Alternatively, you may set the environment variables XEXT_CFLAGS
6809 and XEXT_LIBS to avoid the need to call pkg-config.
6810 See the pkg-config man page for more details." "$LINENO" 5
6811 elif test $pkg_failed = untried; then
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6813 $as_echo "no" >&6; }
6814 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6815 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6816 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6817 is in your PATH or set the PKG_CONFIG environment variable to the full
6820 Alternatively, you may set the environment variables XEXT_CFLAGS
6821 and XEXT_LIBS to avoid the need to call pkg-config.
6822 See the pkg-config man page for more details.
6824 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6825 See \`config.log' for more details" "$LINENO" 5; }
6827 XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
6828 XEXT_LIBS=$pkg_cv_XEXT_LIBS
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6830 $as_echo "yes" >&6; }
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
6840 $as_echo_n "checking for GTK... " >&6; }
6842 if test -n "$GTK_CFLAGS"; then
6843 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
6844 elif test -n "$PKG_CONFIG"; then
6845 if test -n "$PKG_CONFIG" && \
6846 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.12\""; } >&5
6847 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.12") 2>&5
6849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6850 test $ac_status = 0; }; then
6851 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= 3.12" 2>/dev/null`
6852 test "x$?" != "x0" && pkg_failed=yes
6859 if test -n "$GTK_LIBS"; then
6860 pkg_cv_GTK_LIBS="$GTK_LIBS"
6861 elif test -n "$PKG_CONFIG"; then
6862 if test -n "$PKG_CONFIG" && \
6863 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.12\""; } >&5
6864 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.12") 2>&5
6866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6867 test $ac_status = 0; }; then
6868 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= 3.12" 2>/dev/null`
6869 test "x$?" != "x0" && pkg_failed=yes
6879 if test $pkg_failed = yes; then
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6881 $as_echo "no" >&6; }
6883 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6884 _pkg_short_errors_supported=yes
6886 _pkg_short_errors_supported=no
6888 if test $_pkg_short_errors_supported = yes; then
6889 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= 3.12" 2>&1`
6891 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= 3.12" 2>&1`
6893 # Put the nasty error message in config.log where it belongs
6894 echo "$GTK_PKG_ERRORS" >&5
6896 as_fn_error $? "Package requirements (gtk+-3.0 >= 3.12) were not met:
6900 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6901 installed software in a non-standard prefix.
6903 Alternatively, you may set the environment variables GTK_CFLAGS
6904 and GTK_LIBS to avoid the need to call pkg-config.
6905 See the pkg-config man page for more details." "$LINENO" 5
6906 elif test $pkg_failed = untried; then
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6908 $as_echo "no" >&6; }
6909 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6910 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6911 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6912 is in your PATH or set the PKG_CONFIG environment variable to the full
6915 Alternatively, you may set the environment variables GTK_CFLAGS
6916 and GTK_LIBS to avoid the need to call pkg-config.
6917 See the pkg-config man page for more details.
6919 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6920 See \`config.log' for more details" "$LINENO" 5; }
6922 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
6923 GTK_LIBS=$pkg_cv_GTK_LIBS
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6925 $as_echo "yes" >&6; }
6928 # ensure that only allowed headers are included
6929 GTK_CFLAGS+=" -DGTK_DISABLE_SINGLE_INCLUDES "
6930 # ensure that no gtk deprecated symbols are used
6931 GTK_CFLAGS+=" -DGDK_DISABLE_DEPRECATED "
6932 # GTK_CFLAGS+=" -DGTK_DISABLE_DEPRECATED "
6933 # ensure use of accessors
6934 GTK_CFLAGS+=" -DGSEAL_ENABLE "
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
6943 $as_echo_n "checking for JSON... " >&6; }
6945 if test -n "$JSON_CFLAGS"; then
6946 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
6947 elif test -n "$PKG_CONFIG"; then
6948 if test -n "$PKG_CONFIG" && \
6949 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
6950 ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
6952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6953 test $ac_status = 0; }; then
6954 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json-c" 2>/dev/null`
6955 test "x$?" != "x0" && pkg_failed=yes
6962 if test -n "$JSON_LIBS"; then
6963 pkg_cv_JSON_LIBS="$JSON_LIBS"
6964 elif test -n "$PKG_CONFIG"; then
6965 if test -n "$PKG_CONFIG" && \
6966 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
6967 ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
6969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6970 test $ac_status = 0; }; then
6971 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json-c" 2>/dev/null`
6972 test "x$?" != "x0" && pkg_failed=yes
6982 if test $pkg_failed = yes; then
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6984 $as_echo "no" >&6; }
6986 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6987 _pkg_short_errors_supported=yes
6989 _pkg_short_errors_supported=no
6991 if test $_pkg_short_errors_supported = yes; then
6992 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c" 2>&1`
6994 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json-c" 2>&1`
6996 # Put the nasty error message in config.log where it belongs
6997 echo "$JSON_PKG_ERRORS" >&5
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json-c missing\"" >&5
7000 $as_echo "$as_me: WARNING: \"json-c missing\"" >&2;}
7001 elif test $pkg_failed = untried; then
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7003 $as_echo "no" >&6; }
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json-c missing\"" >&5
7005 $as_echo "$as_me: WARNING: \"json-c missing\"" >&2;}
7007 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
7008 JSON_LIBS=$pkg_cv_JSON_LIBS
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7010 $as_echo "yes" >&6; }
7012 $as_echo "#define HAVE_JSON 1" >>confdefs.h
7016 if test "$JSON_LIBS" == ""; then
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
7020 $as_echo_n "checking for JSON... " >&6; }
7022 if test -n "$JSON_CFLAGS"; then
7023 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
7024 elif test -n "$PKG_CONFIG"; then
7025 if test -n "$PKG_CONFIG" && \
7026 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
7027 ($PKG_CONFIG --exists --print-errors "json") 2>&5
7029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7030 test $ac_status = 0; }; then
7031 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json" 2>/dev/null`
7032 test "x$?" != "x0" && pkg_failed=yes
7039 if test -n "$JSON_LIBS"; then
7040 pkg_cv_JSON_LIBS="$JSON_LIBS"
7041 elif test -n "$PKG_CONFIG"; then
7042 if test -n "$PKG_CONFIG" && \
7043 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
7044 ($PKG_CONFIG --exists --print-errors "json") 2>&5
7046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7047 test $ac_status = 0; }; then
7048 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json" 2>/dev/null`
7049 test "x$?" != "x0" && pkg_failed=yes
7059 if test $pkg_failed = yes; then
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7061 $as_echo "no" >&6; }
7063 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7064 _pkg_short_errors_supported=yes
7066 _pkg_short_errors_supported=no
7068 if test $_pkg_short_errors_supported = yes; then
7069 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json" 2>&1`
7071 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json" 2>&1`
7073 # Put the nasty error message in config.log where it belongs
7074 echo "$JSON_PKG_ERRORS" >&5
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json0 missing\"" >&5
7077 $as_echo "$as_me: WARNING: \"json0 missing\"" >&2;}
7078 elif test $pkg_failed = untried; then
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7080 $as_echo "no" >&6; }
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json0 missing\"" >&5
7082 $as_echo "$as_me: WARNING: \"json0 missing\"" >&2;}
7084 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
7085 JSON_LIBS=$pkg_cv_JSON_LIBS
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7087 $as_echo "yes" >&6; }
7089 $as_echo "#define HAVE_JSON 1" >>confdefs.h
7092 $as_echo "#define HAVE_JSON_0 1" >>confdefs.h
7097 if test -n "$JSON_LIBS"; then
7111 # Check whether --enable-schemas-compile was given.
7112 if test "${enable_schemas_compile+set}" = set; then :
7113 enableval=$enable_schemas_compile; case ${enableval} in
7114 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
7115 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
7116 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
7128 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7129 if test -n "$ac_tool_prefix"; then
7130 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7131 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7133 $as_echo_n "checking for $ac_word... " >&6; }
7134 if ${ac_cv_path_PKG_CONFIG+:} false; then :
7135 $as_echo_n "(cached) " >&6
7139 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7146 test -z "$as_dir" && as_dir=.
7147 for ac_exec_ext in '' $ac_executable_extensions; do
7148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7149 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7160 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7161 if test -n "$PKG_CONFIG"; then
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7163 $as_echo "$PKG_CONFIG" >&6; }
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7166 $as_echo "no" >&6; }
7171 if test -z "$ac_cv_path_PKG_CONFIG"; then
7172 ac_pt_PKG_CONFIG=$PKG_CONFIG
7173 # Extract the first word of "pkg-config", so it can be a program name with args.
7174 set dummy pkg-config; ac_word=$2
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7176 $as_echo_n "checking for $ac_word... " >&6; }
7177 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
7178 $as_echo_n "(cached) " >&6
7180 case $ac_pt_PKG_CONFIG in
7182 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
7185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7189 test -z "$as_dir" && as_dir=.
7190 for ac_exec_ext in '' $ac_executable_extensions; do
7191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7192 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7203 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
7204 if test -n "$ac_pt_PKG_CONFIG"; then
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
7206 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7209 $as_echo "no" >&6; }
7212 if test "x$ac_pt_PKG_CONFIG" = x; then
7215 case $cross_compiling:$ac_tool_warned in
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7218 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7219 ac_tool_warned=yes ;;
7221 PKG_CONFIG=$ac_pt_PKG_CONFIG
7224 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
7228 if test -n "$PKG_CONFIG"; then
7229 _pkg_min_version=0.16
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
7231 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
7232 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7234 $as_echo "yes" >&6; }
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7237 $as_echo "no" >&6; }
7241 gsettingsschemadir=${datadir}/glib-2.0/schemas
7243 if test x$cross_compiling != xyes; then
7244 GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
7246 # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
7247 set dummy glib-compile-schemas; ac_word=$2
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7249 $as_echo_n "checking for $ac_word... " >&6; }
7250 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
7251 $as_echo_n "(cached) " >&6
7253 case $GLIB_COMPILE_SCHEMAS in
7255 ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
7258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7262 test -z "$as_dir" && as_dir=.
7263 for ac_exec_ext in '' $ac_executable_extensions; do
7264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7265 ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
7266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7276 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
7277 if test -n "$GLIB_COMPILE_SCHEMAS"; then
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
7279 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7282 $as_echo "no" >&6; }
7288 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
7289 as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
7295 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
7297 mostlyclean-am: clean-gsettings-schemas
7299 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
7301 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
7302 $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p $(@D) && touch $@
7304 all-am: $(gsettings_SCHEMAS:.xml=.valid)
7305 uninstall-am: uninstall-gsettings-schemas
7306 install-data-am: install-gsettings-schemas
7308 .SECONDARY: $(gsettings_SCHEMAS)
7310 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
7312 if test -n "$^"; then \
7313 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
7314 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
7315 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
7318 uninstall-gsettings-schemas:
7319 @$(NORMAL_UNINSTALL)
7320 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
7321 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
7322 test -n "$$files" || exit 0; \
7323 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
7324 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
7325 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
7327 clean-gsettings-schemas:
7328 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
7330 ifdef gsettings_ENUM_NAMESPACE
7331 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
7332 $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
7342 ac_config_files="$ac_config_files Makefile icons/hicolor/scalable/Makefile po/Makefile.in src/Makefile src/glade/Makefile tests/Makefile"
7345 for ac_prog in help2man
7347 # Extract the first word of "$ac_prog", so it can be a program name with args.
7348 set dummy $ac_prog; ac_word=$2
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7350 $as_echo_n "checking for $ac_word... " >&6; }
7351 if ${ac_cv_prog_HELP2MAN+:} false; then :
7352 $as_echo_n "(cached) " >&6
7354 if test -n "$HELP2MAN"; then
7355 ac_cv_prog_HELP2MAN="$HELP2MAN" # Let the user override the test.
7357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7361 test -z "$as_dir" && as_dir=.
7362 for ac_exec_ext in '' $ac_executable_extensions; do
7363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7364 ac_cv_prog_HELP2MAN="$ac_prog"
7365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7374 HELP2MAN=$ac_cv_prog_HELP2MAN
7375 if test -n "$HELP2MAN"; then
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5
7377 $as_echo "$HELP2MAN" >&6; }
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7380 $as_echo "no" >&6; }
7384 test -n "$HELP2MAN" && break
7388 # Extract the first word of "cppcheck", so it can be a program name with args.
7389 set dummy cppcheck; ac_word=$2
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7391 $as_echo_n "checking for $ac_word... " >&6; }
7392 if ${ac_cv_prog_HAVE_CPPCHECK+:} false; then :
7393 $as_echo_n "(cached) " >&6
7395 if test -n "$HAVE_CPPCHECK"; then
7396 ac_cv_prog_HAVE_CPPCHECK="$HAVE_CPPCHECK" # Let the user override the test.
7398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7402 test -z "$as_dir" && as_dir=.
7403 for ac_exec_ext in '' $ac_executable_extensions; do
7404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7405 ac_cv_prog_HAVE_CPPCHECK="yes"
7406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7415 HAVE_CPPCHECK=$ac_cv_prog_HAVE_CPPCHECK
7416 if test -n "$HAVE_CPPCHECK"; then
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CPPCHECK" >&5
7418 $as_echo "$HAVE_CPPCHECK" >&6; }
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7421 $as_echo "no" >&6; }
7425 if test -n "$HAVE_CPPCHECK"; then
7434 cat >confcache <<\_ACEOF
7435 # This file is a shell script that caches the results of configure
7436 # tests run on this system so they can be shared between configure
7437 # scripts and configure runs, see configure's option --config-cache.
7438 # It is not useful on other systems. If it contains results you don't
7439 # want to keep, you may remove or edit it.
7441 # config.status only pays attention to the cache file if you give it
7442 # the --recheck option to rerun configure.
7444 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7445 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7450 # The following way of writing the cache mishandles newlines in values,
7451 # but we know of no workaround that is simple, portable, and efficient.
7452 # So, we kill variables containing newlines.
7453 # Ultrix sh set writes to stderr and can't be redirected directly,
7454 # and sets the high bit in the cache file unless we assign to the vars.
7456 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7457 eval ac_val=\$$ac_var
7461 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7462 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7465 _ | IFS | as_nl) ;; #(
7466 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7467 *) { eval $ac_var=; unset $ac_var;} ;;
7473 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7474 *${as_nl}ac_space=\ *)
7475 # `set' does not quote correctly, so add quotes: double-quote
7476 # substitution turns \\\\ into \\, and sed turns \\ into \.
7479 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7482 # `set' quotes correctly as required by POSIX, so do not add quotes.
7483 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7492 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7494 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7496 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7497 if test -w "$cache_file"; then
7498 if test "x$cache_file" != "x/dev/null"; then
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7500 $as_echo "$as_me: updating cache $cache_file" >&6;}
7501 if test ! -f "$cache_file" || test -h "$cache_file"; then
7502 cat confcache >"$cache_file"
7504 case $cache_file in #(
7506 mv -f confcache "$cache_file"$$ &&
7507 mv -f "$cache_file"$$ "$cache_file" ;; #(
7509 mv -f confcache "$cache_file" ;;
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7515 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7520 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7521 # Let make expand exec_prefix.
7522 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7524 DEFS=-DHAVE_CONFIG_H
7529 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7530 # 1. Remove the extension, and $U if already installed.
7531 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7532 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7533 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7534 # will be set to the directory where LIBOBJS objects are built.
7535 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7536 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7540 LTLIBOBJS=$ac_ltlibobjs
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
7544 $as_echo_n "checking that generated files are newer than configure... " >&6; }
7545 if test -n "$am_sleep_pid"; then
7546 # Hide warnings about reused PIDs.
7547 wait $am_sleep_pid 2>/dev/null
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
7550 $as_echo "done" >&6; }
7551 if test -n "$EXEEXT"; then
7553 am__EXEEXT_FALSE='#'
7559 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7560 as_fn_error $? "conditional \"AMDEP\" was never defined.
7561 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7563 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7564 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
7565 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7567 if test -z "${JSON_TRUE}" && test -z "${JSON_FALSE}"; then
7568 as_fn_error $? "conditional \"JSON\" was never defined.
7569 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7571 if test -z "${CPPCHECK_TRUE}" && test -z "${CPPCHECK_FALSE}"; then
7572 as_fn_error $? "conditional \"CPPCHECK\" was never defined.
7573 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7576 : "${CONFIG_STATUS=./config.status}"
7578 ac_clean_files_save=$ac_clean_files
7579 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7581 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7583 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7585 # Generated by $as_me.
7586 # Run this file to recreate the current configuration.
7587 # Compiler output produced by configure, useful for debugging
7588 # configure, is in config.log if it exists.
7594 SHELL=\${CONFIG_SHELL-$SHELL}
7597 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7598 ## -------------------- ##
7599 ## M4sh Initialization. ##
7600 ## -------------------- ##
7602 # Be more Bourne compatible
7603 DUALCASE=1; export DUALCASE # for MKS sh
7604 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7607 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7608 # is contrary to our usage. Disable this feature.
7609 alias -g '${1+"$@"}'='"$@"'
7610 setopt NO_GLOB_SUBST
7612 case `(set -o) 2>/dev/null` in #(
7624 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7625 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7626 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7627 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7628 # Prefer a ksh shell builtin over an external printf program on Solaris,
7629 # but without wasting forks for bash or zsh.
7630 if test -z "$BASH_VERSION$ZSH_VERSION" \
7631 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7632 as_echo='print -r --'
7633 as_echo_n='print -rn --'
7634 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7635 as_echo='printf %s\n'
7636 as_echo_n='printf %s'
7638 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7639 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7640 as_echo_n='/usr/ucb/echo -n'
7642 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7643 as_echo_n_body='eval
7647 expr "X$arg" : "X\\(.*\\)$as_nl";
7648 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7650 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7652 export as_echo_n_body
7653 as_echo_n='sh -c $as_echo_n_body as_echo'
7656 as_echo='sh -c $as_echo_body as_echo'
7659 # The user is always right.
7660 if test "${PATH_SEPARATOR+set}" != set; then
7662 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7663 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7670 # We need space, tab and new line, in precisely that order. Quoting is
7671 # there to prevent editors from complaining about space-tab.
7672 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7673 # splitting by setting IFS to empty value.)
7676 # Find who we are. Look in the path if we contain no directory separator.
7679 *[\\/]* ) as_myself=$0 ;;
7680 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7684 test -z "$as_dir" && as_dir=.
7685 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7691 # We did not find ourselves, most probably we were run as `sh COMMAND'
7692 # in which case we are not to be found in the path.
7693 if test "x$as_myself" = x; then
7696 if test ! -f "$as_myself"; then
7697 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7701 # Unset variables that we do not need and which cause bugs (e.g. in
7702 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7703 # suppresses any "Segmentation fault" message there. '((' could
7704 # trigger a bug in pdksh 5.2.14.
7705 for as_var in BASH_ENV ENV MAIL MAILPATH
7706 do eval test x\${$as_var+set} = xset \
7707 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7720 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7723 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7724 # ----------------------------------------
7725 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7726 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7727 # script with STATUS, using 1 if that was 0.
7730 as_status=$1; test $as_status -eq 0 && as_status=1
7732 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7733 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7735 $as_echo "$as_me: error: $2" >&2
7736 as_fn_exit $as_status
7740 # as_fn_set_status STATUS
7741 # -----------------------
7742 # Set $? to STATUS, without forking.
7746 } # as_fn_set_status
7750 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7760 # Portably unset VAR.
7763 { eval $1=; unset $1;}
7765 as_unset=as_fn_unset
7766 # as_fn_append VAR VALUE
7767 # ----------------------
7768 # Append the text in VALUE to the end of the definition contained in VAR. Take
7769 # advantage of any shell optimizations that allow amortized linear growth over
7770 # repeated appends, instead of the typical quadratic growth present in naive
7772 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7773 eval 'as_fn_append ()
7784 # as_fn_arith ARG...
7785 # ------------------
7786 # Perform arithmetic evaluation on the ARGs, and store the result in the
7787 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7788 # must be portable across $(()) and expr.
7789 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7790 eval 'as_fn_arith ()
7797 as_val=`expr "$@" || test $? -eq 1`
7802 if expr a : '\(a\)' >/dev/null 2>&1 &&
7803 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7809 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7810 as_basename=basename
7815 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7821 as_me=`$as_basename -- "$0" ||
7822 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7823 X"$0" : 'X\(//\)$' \| \
7824 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7826 sed '/^.*\/\([^/][^/]*\)\/*$/{
7840 # Avoid depending upon Character Ranges.
7841 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7842 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7843 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7844 as_cr_digits='0123456789'
7845 as_cr_alnum=$as_cr_Letters$as_cr_digits
7847 ECHO_C= ECHO_N= ECHO_T=
7848 case `echo -n x` in #(((((
7850 case `echo 'xy\c'` in
7851 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7853 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7860 rm -f conf$$ conf$$.exe conf$$.file
7861 if test -d conf$$.dir; then
7862 rm -f conf$$.dir/conf$$.file
7865 mkdir conf$$.dir 2>/dev/null
7867 if (echo >conf$$.file) 2>/dev/null; then
7868 if ln -s conf$$.file conf$$ 2>/dev/null; then
7870 # ... but there are two gotchas:
7871 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7872 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7873 # In both cases, we have to default to `cp -pR'.
7874 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7876 elif ln conf$$.file conf$$ 2>/dev/null; then
7884 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7885 rmdir conf$$.dir 2>/dev/null
7890 # Create "$as_dir" as a directory, including parents if necessary.
7895 -*) as_dir=./$as_dir;;
7897 test -d "$as_dir" || eval $as_mkdir_p || {
7901 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7902 *) as_qdir=$as_dir;;
7904 as_dirs="'$as_qdir' $as_dirs"
7905 as_dir=`$as_dirname -- "$as_dir" ||
7906 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7907 X"$as_dir" : 'X\(//\)[^/]' \| \
7908 X"$as_dir" : 'X\(//\)$' \| \
7909 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7910 $as_echo X"$as_dir" |
7911 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7928 test -d "$as_dir" && break
7930 test -z "$as_dirs" || eval "mkdir $as_dirs"
7931 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7935 if mkdir -p . 2>/dev/null; then
7936 as_mkdir_p='mkdir -p "$as_dir"'
7938 test -d ./-p && rmdir ./-p
7943 # as_fn_executable_p FILE
7944 # -----------------------
7945 # Test if FILE is an executable regular file.
7946 as_fn_executable_p ()
7948 test -f "$1" && test -x "$1"
7949 } # as_fn_executable_p
7951 as_executable_p=as_fn_executable_p
7953 # Sed expression to map a string onto a valid CPP name.
7954 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7956 # Sed expression to map a string onto a valid variable name.
7957 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7961 ## ----------------------------------- ##
7962 ## Main body of $CONFIG_STATUS script. ##
7963 ## ----------------------------------- ##
7965 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7967 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7968 # Save the log message, to keep $0 and so on meaningful, and to
7969 # report actual input values of CONFIG_FILES etc. instead of their
7970 # values after options handling.
7972 This file was extended by ptask $as_me 0.0.9, which was
7973 generated by GNU Autoconf 2.69. Invocation command line was
7975 CONFIG_FILES = $CONFIG_FILES
7976 CONFIG_HEADERS = $CONFIG_HEADERS
7977 CONFIG_LINKS = $CONFIG_LINKS
7978 CONFIG_COMMANDS = $CONFIG_COMMANDS
7981 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7986 case $ac_config_files in *"
7987 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7990 case $ac_config_headers in *"
7991 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7995 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7996 # Files that config.status was made for.
7997 config_files="$ac_config_files"
7998 config_headers="$ac_config_headers"
7999 config_commands="$ac_config_commands"
8003 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8005 \`$as_me' instantiates files and other configuration actions
8006 from templates according to the current configuration. Unless the files
8007 and actions are specified as TAGs, all are instantiated by default.
8009 Usage: $0 [OPTION]... [TAG]...
8011 -h, --help print this help, then exit
8012 -V, --version print version number and configuration settings, then exit
8013 --config print configuration, then exit
8014 -q, --quiet, --silent
8015 do not print progress messages
8016 -d, --debug don't remove temporary files
8017 --recheck update $as_me by reconfiguring in the same conditions
8018 --file=FILE[:TEMPLATE]
8019 instantiate the configuration file FILE
8020 --header=FILE[:TEMPLATE]
8021 instantiate the configuration header FILE
8023 Configuration files:
8026 Configuration headers:
8029 Configuration commands:
8032 Report bugs to <jeanfi@gmail.com>.
8033 ptask home page: <http://wpitchoune.net/ptask>."
8036 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8037 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8039 ptask config.status 0.0.9
8040 configured by $0, generated by GNU Autoconf 2.69,
8041 with options \\"\$ac_cs_config\\"
8043 Copyright (C) 2012 Free Software Foundation, Inc.
8044 This config.status script is free software; the Free Software Foundation
8045 gives unlimited permission to copy, distribute and modify it."
8052 test -n "\$AWK" || AWK=awk
8055 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8056 # The default lists apply if the user does not specify any file.
8062 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8063 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8067 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8079 # Handling of the options.
8080 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8082 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8083 $as_echo "$ac_cs_version"; exit ;;
8084 --config | --confi | --conf | --con | --co | --c )
8085 $as_echo "$ac_cs_config"; exit ;;
8086 --debug | --debu | --deb | --de | --d | -d )
8088 --file | --fil | --fi | --f )
8091 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8092 '') as_fn_error $? "missing file argument" ;;
8094 as_fn_append CONFIG_FILES " '$ac_optarg'"
8095 ac_need_defaults=false;;
8096 --header | --heade | --head | --hea )
8099 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8101 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8102 ac_need_defaults=false;;
8104 # Conflict between --help and --header
8105 as_fn_error $? "ambiguous option: \`$1'
8106 Try \`$0 --help' for more information.";;
8107 --help | --hel | -h )
8108 $as_echo "$ac_cs_usage"; exit ;;
8109 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8110 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8114 -*) as_fn_error $? "unrecognized option: \`$1'
8115 Try \`$0 --help' for more information." ;;
8117 *) as_fn_append ac_config_targets " $1"
8118 ac_need_defaults=false ;;
8124 ac_configure_extra_args=
8126 if $ac_cs_silent; then
8128 ac_configure_extra_args="$ac_configure_extra_args --silent"
8132 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8133 if \$ac_cs_recheck; then
8134 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8136 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8137 CONFIG_SHELL='$SHELL'
8143 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8147 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8148 ## Running $as_me. ##
8154 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8158 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8159 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
8160 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
8161 # from automake < 1.5.
8162 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
8163 # Capture the value of LINGUAS because we need it to compute CATALOGS.
8164 LINGUAS="${LINGUAS-%UNSET%}"
8169 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8171 # Handling of arguments.
8172 for ac_config_target in $ac_config_targets
8174 case $ac_config_target in
8175 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8176 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8177 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
8178 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8179 "icons/hicolor/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/scalable/Makefile" ;;
8180 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
8181 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8182 "src/glade/Makefile") CONFIG_FILES="$CONFIG_FILES src/glade/Makefile" ;;
8183 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
8185 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8190 # If the user did not use the arguments to specify the items to instantiate,
8191 # then the envvar interface is used. Set only those that are not.
8192 # We use the long form for the default assignment because of an extremely
8193 # bizarre bug on SunOS 4.1.3.
8194 if $ac_need_defaults; then
8195 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8196 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8197 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8200 # Have a temporary directory for convenience. Make it in the build tree
8201 # simply because there is no reason against having it here, and in addition,
8202 # creating and moving files from /tmp can sometimes cause problems.
8203 # Hook for its removal unless debugging.
8204 # Note that there is a small window in which the directory will not be cleaned:
8205 # after its creation but before its name has been assigned to `$tmp'.
8209 trap 'exit_status=$?
8211 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8213 trap 'as_fn_exit 1' 1 2 13 15
8215 # Create a (secure) tmp directory for tmp files.
8218 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8222 tmp=./conf$$-$RANDOM
8223 (umask 077 && mkdir "$tmp")
8224 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8227 # Set up the scripts for CONFIG_FILES section.
8228 # No need to generate them if there are no CONFIG_FILES.
8229 # This happens for instance with `./config.status config.h'.
8230 if test -n "$CONFIG_FILES"; then
8233 ac_cr=`echo X | tr X '\015'`
8234 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8235 # But we know of no other shell where ac_cr would be empty at this
8236 # point, so we can use a bashism as a fallback.
8237 if test "x$ac_cr" = x; then
8238 eval ac_cr=\$\'\\r\'
8240 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8241 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8247 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8252 echo "cat >conf$$subs.awk <<_ACEOF" &&
8253 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8256 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8257 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8259 for ac_last_try in false false false false false :; do
8260 . ./conf$$subs.sh ||
8261 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8263 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8264 if test $ac_delim_n = $ac_delim_num; then
8266 elif $ac_last_try; then
8267 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8269 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8274 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8275 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8279 s/^/S["/; s/!.*/"]=/
8289 s/\(.\{148\}\)..*/\1/
8291 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8296 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8303 s/\(.\{148\}\)..*/\1/
8305 s/["\\]/\\&/g; s/^/"/; s/$/"/
8309 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8314 ' <conf$$subs.awk | sed '
8319 ' >>$CONFIG_STATUS || ac_write_fail=1
8320 rm -f conf$$subs.awk
8321 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8323 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8324 for (key in S) S_is_set[key] = 1
8330 nfields = split(line, field, "@")
8332 len = length(field[1])
8333 for (i = 2; i < nfields; i++) {
8335 keylen = length(key)
8336 if (S_is_set[key]) {
8338 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8339 len += length(value) + length(field[++i])
8350 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8351 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8352 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8355 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8356 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8359 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8360 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8361 # trailing colons and then remove the whole line if VPATH becomes empty
8362 # (actually we leave an empty line to preserve line numbers).
8363 if test "x$srcdir" = x.; then
8364 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8382 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8383 fi # test -n "$CONFIG_FILES"
8385 # Set up the scripts for CONFIG_HEADERS section.
8386 # No need to generate them if there are no CONFIG_HEADERS.
8387 # This happens for instance with `./config.status Makefile'.
8388 if test -n "$CONFIG_HEADERS"; then
8389 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
8393 # Transform confdefs.h into an awk script `defines.awk', embedded as
8394 # here-document in config.status, that substitutes the proper values into
8395 # config.h.in to produce config.h.
8397 # Create a delimiter string that does not exist in confdefs.h, to ease
8398 # handling of long lines.
8400 for ac_last_try in false false :; do
8401 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
8402 if test -z "$ac_tt"; then
8404 elif $ac_last_try; then
8405 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8407 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8411 # For the awk script, D is an array of macro values keyed by name,
8412 # likewise P contains macro parameters if any. Preserve backslash
8413 # newline sequences.
8415 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8417 s/.\{148\}/&'"$ac_delim"'/g
8420 s/^[ ]*#[ ]*define[ ][ ]*/ /
8427 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8429 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
8433 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8434 D["\1"]=" \3\\\\\\n"\\/p
8436 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8441 s/.\{148\}/&'"$ac_delim"'/g
8446 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8449 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8451 ' <confdefs.h | sed '
8452 s/'"$ac_delim"'/"\\\
8453 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8455 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8456 for (key in D) D_is_set[key] = 1
8459 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8461 split(line, arg, " ")
8462 if (arg[1] == "#") {
8466 defundef = substr(arg[1], 2)
8469 split(mac1, mac2, "(") #)
8471 prefix = substr(line, 1, index(line, defundef) - 1)
8472 if (D_is_set[macro]) {
8473 # Preserve the white space surrounding the "#".
8474 print prefix "define", macro P[macro] D[macro]
8477 # Replace #undef with comments. This is necessary, for example,
8478 # in the case of _POSIX_SOURCE, which is predefined and required
8479 # on some systems where configure will not decide to define it.
8480 if (defundef == "undef") {
8481 print "/*", prefix defundef, macro, "*/"
8489 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8490 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
8491 fi # test -n "$CONFIG_HEADERS"
8494 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8499 :[FHLC]) ac_mode=$ac_tag; continue;;
8501 case $ac_mode$ac_tag in
8503 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8504 :[FH]-) ac_tag=-:-;;
8505 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8522 -) ac_f="$ac_tmp/stdin";;
8523 *) # Look for the file first in the build tree, then in the source tree
8524 # (if the path is not absolute). The absolute path cannot be DOS-style,
8525 # because $ac_f cannot contain `:'.
8529 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8531 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8533 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8534 as_fn_append ac_file_inputs " '$ac_f'"
8537 # Let's still pretend it is `configure' which instantiates (i.e., don't
8538 # use $as_me), people would be surprised to read:
8539 # /* config.h. Generated by config.status. */
8540 configure_input='Generated from '`
8541 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8543 if test x"$ac_file" != x-; then
8544 configure_input="$ac_file. $configure_input"
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8546 $as_echo "$as_me: creating $ac_file" >&6;}
8548 # Neutralize special characters interpreted by sed in replacement strings.
8549 case $configure_input in #(
8550 *\&* | *\|* | *\\* )
8551 ac_sed_conf_input=`$as_echo "$configure_input" |
8552 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8553 *) ac_sed_conf_input=$configure_input;;
8557 *:-:* | *:-) cat >"$ac_tmp/stdin" \
8558 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8563 ac_dir=`$as_dirname -- "$ac_file" ||
8564 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8565 X"$ac_file" : 'X\(//\)[^/]' \| \
8566 X"$ac_file" : 'X\(//\)$' \| \
8567 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8568 $as_echo X"$ac_file" |
8569 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8586 as_dir="$ac_dir"; as_fn_mkdir_p
8590 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8592 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8593 # A ".." for each directory in $ac_dir_suffix.
8594 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8595 case $ac_top_builddir_sub in
8596 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8597 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8600 ac_abs_top_builddir=$ac_pwd
8601 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8602 # for backward compatibility:
8603 ac_top_builddir=$ac_top_build_prefix
8606 .) # We are building in place.
8608 ac_top_srcdir=$ac_top_builddir_sub
8609 ac_abs_top_srcdir=$ac_pwd ;;
8610 [\\/]* | ?:[\\/]* ) # Absolute name.
8611 ac_srcdir=$srcdir$ac_dir_suffix;
8612 ac_top_srcdir=$srcdir
8613 ac_abs_top_srcdir=$srcdir ;;
8615 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8616 ac_top_srcdir=$ac_top_build_prefix$srcdir
8617 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8619 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8629 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8630 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8634 [\\/$]* | ?:[\\/]* ) ;;
8635 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8639 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8640 # If the template does not know about datarootdir, expand it.
8641 # FIXME: This hack should be removed a few years after 2.60.
8642 ac_datarootdir_hack=; ac_datarootdir_seen=
8653 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8654 *datarootdir*) ac_datarootdir_seen=yes;;
8655 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8657 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8659 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8660 ac_datarootdir_hack='
8661 s&@datadir@&$datadir&g
8662 s&@docdir@&$docdir&g
8663 s&@infodir@&$infodir&g
8664 s&@localedir@&$localedir&g
8665 s&@mandir@&$mandir&g
8666 s&\\\${datarootdir}&$datarootdir&g' ;;
8670 # Neutralize VPATH when `$srcdir' = `.'.
8671 # Shell code in configure.ac might set extrasub.
8672 # FIXME: do we really want to maintain this feature?
8673 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8674 ac_sed_extra="$ac_vpsub
8677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8679 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8680 s|@configure_input@|$ac_sed_conf_input|;t t
8681 s&@top_builddir@&$ac_top_builddir_sub&;t t
8682 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8683 s&@srcdir@&$ac_srcdir&;t t
8684 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8685 s&@top_srcdir@&$ac_top_srcdir&;t t
8686 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8687 s&@builddir@&$ac_builddir&;t t
8688 s&@abs_builddir@&$ac_abs_builddir&;t t
8689 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8690 s&@INSTALL@&$ac_INSTALL&;t t
8691 s&@MKDIR_P@&$ac_MKDIR_P&;t t
8692 $ac_datarootdir_hack
8694 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8695 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8697 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8698 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8699 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8700 "$ac_tmp/out"`; test -z "$ac_out"; } &&
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8702 which seems to be undefined. Please make sure it is defined" >&5
8703 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8704 which seems to be undefined. Please make sure it is defined" >&2;}
8706 rm -f "$ac_tmp/stdin"
8708 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8709 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8711 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8717 if test x"$ac_file" != x-; then
8719 $as_echo "/* $configure_input */" \
8720 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8721 } >"$ac_tmp/config.h" \
8722 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8723 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8725 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8728 mv "$ac_tmp/config.h" "$ac_file" \
8729 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8732 $as_echo "/* $configure_input */" \
8733 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8734 || as_fn_error $? "could not create -" "$LINENO" 5
8736 # Compute "$ac_file"'s index in $config_headers.
8739 for _am_header in $config_headers :; do
8741 $_am_arg | $_am_arg:* )
8744 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8747 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8748 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8749 X"$_am_arg" : 'X\(//\)[^/]' \| \
8750 X"$_am_arg" : 'X\(//\)$' \| \
8751 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8752 $as_echo X"$_am_arg" |
8753 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8769 s/.*/./; q'`/stamp-h$_am_stamp_count
8772 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8773 $as_echo "$as_me: executing $ac_file commands" >&6;}
8778 case $ac_file$ac_mode in
8779 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8780 # Older Autoconf quotes --file arguments for eval, but not when files
8781 # are listed without --file. Let's play safe and only enable the eval
8782 # if we detect the quoting.
8783 case $CONFIG_FILES in
8784 *\'*) eval set x "$CONFIG_FILES" ;;
8785 *) set x $CONFIG_FILES ;;
8790 # Strip MF so we end up with the name of the file.
8791 mf=`echo "$mf" | sed -e 's/:.*$//'`
8792 # Check whether this is an Automake generated Makefile or not.
8793 # We used to match only the files named 'Makefile.in', but
8794 # some people rename them; so instead we look at the file content.
8795 # Grep'ing the first line is not enough: some people post-process
8796 # each Makefile.in and add a new line on top of each file to say so.
8797 # Grep'ing the whole file is not good either: AIX grep has a line
8798 # limit of 2048, but all sed's we know have understand at least 4000.
8799 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8800 dirpart=`$as_dirname -- "$mf" ||
8801 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8802 X"$mf" : 'X\(//\)[^/]' \| \
8803 X"$mf" : 'X\(//\)$' \| \
8804 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8806 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8826 # Extract the definition of DEPDIR, am__include, and am__quote
8827 # from the Makefile without running 'make'.
8828 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8829 test -z "$DEPDIR" && continue
8830 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8831 test -z "$am__include" && continue
8832 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8833 # Find all dependency output files, they are included files with
8834 # $(DEPDIR) in their names. We invoke sed twice because it is the
8835 # simplest approach to changing $(DEPDIR) to its actual value in the
8837 for file in `sed -n "
8838 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8839 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
8840 # Make sure the directory exists.
8841 test -f "$dirpart/$file" && continue
8842 fdir=`$as_dirname -- "$file" ||
8843 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8844 X"$file" : 'X\(//\)[^/]' \| \
8845 X"$file" : 'X\(//\)$' \| \
8846 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8848 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8865 as_dir=$dirpart/$fdir; as_fn_mkdir_p
8866 # echo "creating $dirpart/$file"
8867 echo '# dummy' > "$dirpart/$file"
8873 for ac_file in $CONFIG_FILES; do
8874 # Support "outfile[:infile[:infile...]]"
8876 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
8878 # PO directories have a Makefile.in generated from Makefile.in.in.
8879 case "$ac_file" in */Makefile.in)
8880 # Adjust a relative srcdir.
8881 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
8882 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
8883 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
8884 # In autoconf-2.13 it is called $ac_given_srcdir.
8885 # In autoconf-2.50 it is called $srcdir.
8886 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
8887 case "$ac_given_srcdir" in
8888 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
8889 /*) top_srcdir="$ac_given_srcdir" ;;
8890 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
8892 # Treat a directory as a PO directory if and only if it has a
8893 # POTFILES.in file. This allows packages to have multiple PO
8894 # directories under different names or in different locations.
8895 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8896 rm -f "$ac_dir/POTFILES"
8897 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
8898 gt_tab=`printf '\t'`
8899 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
8900 POMAKEFILEDEPS="POTFILES.in"
8901 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
8902 # on $ac_dir but don't depend on user-specified configuration
8904 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8905 # The LINGUAS file contains the set of available languages.
8906 if test -n "$OBSOLETE_ALL_LINGUAS"; then
8907 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
8909 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8910 # Hide the ALL_LINGUAS assignment from automake < 1.5.
8911 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8912 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
8914 # The set of available languages was given in configure.in.
8915 # Hide the ALL_LINGUAS assignment from automake < 1.5.
8916 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8919 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
8920 # Compute UPDATEPOFILES
8921 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
8922 # Compute DUMMYPOFILES
8923 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
8925 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
8926 case "$ac_given_srcdir" in
8928 *) srcdirpre='$(srcdir)/' ;;
8934 for lang in $ALL_LINGUAS; do
8935 POFILES="$POFILES $srcdirpre$lang.po"
8936 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
8937 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
8938 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
8940 # CATALOGS depends on both $ac_dir and the user's LINGUAS
8941 # environment variable.
8943 if test -n "$ALL_LINGUAS"; then
8944 for presentlang in $ALL_LINGUAS; do
8946 if test "%UNSET%" != "$LINGUAS"; then
8947 desiredlanguages="$LINGUAS"
8949 desiredlanguages="$ALL_LINGUAS"
8951 for desiredlang in $desiredlanguages; do
8952 # Use the presentlang catalog if desiredlang is
8953 # a. equal to presentlang, or
8954 # b. a variant of presentlang (because in this case,
8955 # presentlang can be used as a fallback for messages
8956 # which are not translated in the desiredlang catalog).
8957 case "$desiredlang" in
8958 "$presentlang"*) useit=yes;;
8961 if test $useit = yes; then
8962 INST_LINGUAS="$INST_LINGUAS $presentlang"
8967 if test -n "$INST_LINGUAS"; then
8968 for lang in $INST_LINGUAS; do
8969 CATALOGS="$CATALOGS $lang.gmo"
8972 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
8973 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
8974 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
8975 if test -f "$f"; then
8977 *.orig | *.bak | *~) ;;
8978 *) cat "$f" >> "$ac_dir/Makefile" ;;
8993 ac_clean_files=$ac_clean_files_save
8995 test $ac_write_fail = 0 ||
8996 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8999 # configure is writing to config.log, and then calls config.status.
9000 # config.status does its own redirection, appending to config.log.
9001 # Unfortunately, on DOS this fails, as config.log is still kept open
9002 # by configure, so config.status won't be able to write to it; its
9003 # output is simply discarded. So we exec the FD to /dev/null,
9004 # effectively closing config.log, so it can be properly (re)opened and
9005 # appended to by config.status. When coming back to configure, we
9006 # need to make the FD available again.
9007 if test "$no_create" != yes; then
9009 ac_config_status_args=
9010 test "$silent" = yes &&
9011 ac_config_status_args="$ac_config_status_args --quiet"
9013 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9015 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9016 # would make configure fail if this is the last instruction.
9017 $ac_cs_success || as_fn_exit 1
9019 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9021 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}