2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for ptask 0.0.6.
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.6'
584 PACKAGE_STRING='ptask 0.0.6'
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.6 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.6:";;
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.6
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.6, 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
2634 ac_config_headers="$ac_config_headers config.h"
2637 # Checks for programs.
2639 ac_cpp='$CPP $CPPFLAGS'
2640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2643 if test -n "$ac_tool_prefix"; then
2644 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2645 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2647 $as_echo_n "checking for $ac_word... " >&6; }
2648 if ${ac_cv_prog_CC+:} false; then :
2649 $as_echo_n "(cached) " >&6
2651 if test -n "$CC"; then
2652 ac_cv_prog_CC="$CC" # Let the user override the test.
2654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2658 test -z "$as_dir" && as_dir=.
2659 for ac_exec_ext in '' $ac_executable_extensions; do
2660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2661 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2672 if test -n "$CC"; then
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2674 $as_echo "$CC" >&6; }
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2677 $as_echo "no" >&6; }
2682 if test -z "$ac_cv_prog_CC"; then
2684 # Extract the first word of "gcc", so it can be a program name with args.
2685 set dummy gcc; ac_word=$2
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2687 $as_echo_n "checking for $ac_word... " >&6; }
2688 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2689 $as_echo_n "(cached) " >&6
2691 if test -n "$ac_ct_CC"; then
2692 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2698 test -z "$as_dir" && as_dir=.
2699 for ac_exec_ext in '' $ac_executable_extensions; do
2700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2701 ac_cv_prog_ac_ct_CC="gcc"
2702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2711 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2712 if test -n "$ac_ct_CC"; then
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2714 $as_echo "$ac_ct_CC" >&6; }
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2717 $as_echo "no" >&6; }
2720 if test "x$ac_ct_CC" = x; then
2723 case $cross_compiling:$ac_tool_warned in
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2727 ac_tool_warned=yes ;;
2735 if test -z "$CC"; then
2736 if test -n "$ac_tool_prefix"; then
2737 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2738 set dummy ${ac_tool_prefix}cc; ac_word=$2
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2740 $as_echo_n "checking for $ac_word... " >&6; }
2741 if ${ac_cv_prog_CC+:} false; then :
2742 $as_echo_n "(cached) " >&6
2744 if test -n "$CC"; then
2745 ac_cv_prog_CC="$CC" # Let the user override the test.
2747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2751 test -z "$as_dir" && as_dir=.
2752 for ac_exec_ext in '' $ac_executable_extensions; do
2753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2754 ac_cv_prog_CC="${ac_tool_prefix}cc"
2755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2765 if test -n "$CC"; then
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2767 $as_echo "$CC" >&6; }
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2770 $as_echo "no" >&6; }
2776 if test -z "$CC"; then
2777 # Extract the first word of "cc", so it can be a program name with args.
2778 set dummy cc; ac_word=$2
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2780 $as_echo_n "checking for $ac_word... " >&6; }
2781 if ${ac_cv_prog_CC+:} false; then :
2782 $as_echo_n "(cached) " >&6
2784 if test -n "$CC"; then
2785 ac_cv_prog_CC="$CC" # Let the user override the test.
2788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2792 test -z "$as_dir" && as_dir=.
2793 for ac_exec_ext in '' $ac_executable_extensions; do
2794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2795 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2796 ac_prog_rejected=yes
2800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2807 if test $ac_prog_rejected = yes; then
2808 # We found a bogon in the path, so make sure we never use it.
2809 set dummy $ac_cv_prog_CC
2811 if test $# != 0; then
2812 # We chose a different compiler from the bogus one.
2813 # However, it has the same basename, so the bogon will be chosen
2814 # first if we set CC to just the basename; use the full file name.
2816 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2822 if test -n "$CC"; then
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2824 $as_echo "$CC" >&6; }
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2827 $as_echo "no" >&6; }
2832 if test -z "$CC"; then
2833 if test -n "$ac_tool_prefix"; then
2834 for ac_prog in cl.exe
2836 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2837 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2839 $as_echo_n "checking for $ac_word... " >&6; }
2840 if ${ac_cv_prog_CC+:} false; then :
2841 $as_echo_n "(cached) " >&6
2843 if test -n "$CC"; then
2844 ac_cv_prog_CC="$CC" # Let the user override the test.
2846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2850 test -z "$as_dir" && as_dir=.
2851 for ac_exec_ext in '' $ac_executable_extensions; do
2852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2853 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2864 if test -n "$CC"; then
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2866 $as_echo "$CC" >&6; }
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2869 $as_echo "no" >&6; }
2873 test -n "$CC" && break
2876 if test -z "$CC"; then
2878 for ac_prog in cl.exe
2880 # Extract the first word of "$ac_prog", so it can be a program name with args.
2881 set dummy $ac_prog; ac_word=$2
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2883 $as_echo_n "checking for $ac_word... " >&6; }
2884 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2885 $as_echo_n "(cached) " >&6
2887 if test -n "$ac_ct_CC"; then
2888 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2894 test -z "$as_dir" && as_dir=.
2895 for ac_exec_ext in '' $ac_executable_extensions; do
2896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2897 ac_cv_prog_ac_ct_CC="$ac_prog"
2898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2907 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2908 if test -n "$ac_ct_CC"; then
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2910 $as_echo "$ac_ct_CC" >&6; }
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2913 $as_echo "no" >&6; }
2917 test -n "$ac_ct_CC" && break
2920 if test "x$ac_ct_CC" = x; then
2923 case $cross_compiling:$ac_tool_warned in
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2926 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2927 ac_tool_warned=yes ;;
2936 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2937 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2938 as_fn_error $? "no acceptable C compiler found in \$PATH
2939 See \`config.log' for more details" "$LINENO" 5; }
2941 # Provide some information about the compiler.
2942 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2945 for ac_option in --version -v -V -qversion; do
2946 { { ac_try="$ac_compiler $ac_option >&5"
2948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2949 *) ac_try_echo=$ac_try;;
2951 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2952 $as_echo "$ac_try_echo"; } >&5
2953 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2955 if test -s conftest.err; then
2957 ... rest of stderr output deleted ...
2958 10q' conftest.err >conftest.er1
2959 cat conftest.er1 >&5
2961 rm -f conftest.er1 conftest.err
2962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2963 test $ac_status = 0; }
2966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2967 /* end confdefs.h. */
2977 ac_clean_files_save=$ac_clean_files
2978 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2979 # Try to create an executable without -o first, disregard a.out.
2980 # It will help us diagnose broken compilers, and finding out an intuition
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2983 $as_echo_n "checking whether the C compiler works... " >&6; }
2984 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2986 # The possible output files:
2987 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2990 for ac_file in $ac_files
2993 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2994 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2999 if { { ac_try="$ac_link_default"
3001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3002 *) ac_try_echo=$ac_try;;
3004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3005 $as_echo "$ac_try_echo"; } >&5
3006 (eval "$ac_link_default") 2>&5
3008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3009 test $ac_status = 0; }; then :
3010 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3011 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3012 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3013 # so that the user can short-circuit this test for compilers unknown to
3015 for ac_file in $ac_files ''
3017 test -f "$ac_file" || continue
3019 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3022 # We found the default executable, but exeext='' is most
3026 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3028 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3030 # We set ac_cv_exeext here because the later test for it is not
3031 # safe: cross compilers may not add the suffix if given an `-o'
3032 # argument, so we may need to know it at that point already.
3033 # Even if this section looks crufty: it has the advantage of
3040 test "$ac_cv_exeext" = no && ac_cv_exeext=
3045 if test -z "$ac_file"; then :
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3047 $as_echo "no" >&6; }
3048 $as_echo "$as_me: failed program was:" >&5
3049 sed 's/^/| /' conftest.$ac_ext >&5
3051 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3052 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3053 as_fn_error 77 "C compiler cannot create executables
3054 See \`config.log' for more details" "$LINENO" 5; }
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3057 $as_echo "yes" >&6; }
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3060 $as_echo_n "checking for C compiler default output file name... " >&6; }
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3062 $as_echo "$ac_file" >&6; }
3063 ac_exeext=$ac_cv_exeext
3065 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3066 ac_clean_files=$ac_clean_files_save
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3068 $as_echo_n "checking for suffix of executables... " >&6; }
3069 if { { ac_try="$ac_link"
3071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3072 *) ac_try_echo=$ac_try;;
3074 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3075 $as_echo "$ac_try_echo"; } >&5
3076 (eval "$ac_link") 2>&5
3078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3079 test $ac_status = 0; }; then :
3080 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3081 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3082 # work properly (i.e., refer to `conftest.exe'), while it won't with
3084 for ac_file in conftest.exe conftest conftest.*; do
3085 test -f "$ac_file" || continue
3087 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3088 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3094 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3096 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3097 See \`config.log' for more details" "$LINENO" 5; }
3099 rm -f conftest conftest$ac_cv_exeext
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3101 $as_echo "$ac_cv_exeext" >&6; }
3103 rm -f conftest.$ac_ext
3104 EXEEXT=$ac_cv_exeext
3106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3107 /* end confdefs.h. */
3112 FILE *f = fopen ("conftest.out", "w");
3113 return ferror (f) || fclose (f) != 0;
3119 ac_clean_files="$ac_clean_files conftest.out"
3120 # Check that the compiler produces executables we can run. If not, either
3121 # the compiler is broken, or we cross compile.
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3123 $as_echo_n "checking whether we are cross compiling... " >&6; }
3124 if test "$cross_compiling" != yes; then
3125 { { ac_try="$ac_link"
3127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3128 *) ac_try_echo=$ac_try;;
3130 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3131 $as_echo "$ac_try_echo"; } >&5
3132 (eval "$ac_link") 2>&5
3134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3135 test $ac_status = 0; }
3136 if { ac_try='./conftest$ac_cv_exeext'
3137 { { case "(($ac_try" in
3138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3139 *) ac_try_echo=$ac_try;;
3141 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3142 $as_echo "$ac_try_echo"; } >&5
3143 (eval "$ac_try") 2>&5
3145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3146 test $ac_status = 0; }; }; then
3149 if test "$cross_compiling" = maybe; then
3152 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3153 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3154 as_fn_error $? "cannot run C compiled programs.
3155 If you meant to cross compile, use \`--host'.
3156 See \`config.log' for more details" "$LINENO" 5; }
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3161 $as_echo "$cross_compiling" >&6; }
3163 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3164 ac_clean_files=$ac_clean_files_save
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3166 $as_echo_n "checking for suffix of object files... " >&6; }
3167 if ${ac_cv_objext+:} false; then :
3168 $as_echo_n "(cached) " >&6
3170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3171 /* end confdefs.h. */
3181 rm -f conftest.o conftest.obj
3182 if { { ac_try="$ac_compile"
3184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3185 *) ac_try_echo=$ac_try;;
3187 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3188 $as_echo "$ac_try_echo"; } >&5
3189 (eval "$ac_compile") 2>&5
3191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3192 test $ac_status = 0; }; then :
3193 for ac_file in conftest.o conftest.obj conftest.*; do
3194 test -f "$ac_file" || continue;
3196 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3197 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3202 $as_echo "$as_me: failed program was:" >&5
3203 sed 's/^/| /' conftest.$ac_ext >&5
3205 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3207 as_fn_error $? "cannot compute suffix of object files: cannot compile
3208 See \`config.log' for more details" "$LINENO" 5; }
3210 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3213 $as_echo "$ac_cv_objext" >&6; }
3214 OBJEXT=$ac_cv_objext
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3217 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3218 if ${ac_cv_c_compiler_gnu+:} false; then :
3219 $as_echo_n "(cached) " >&6
3221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3222 /* end confdefs.h. */
3235 if ac_fn_c_try_compile "$LINENO"; then :
3240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3241 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3245 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3246 if test $ac_compiler_gnu = yes; then
3251 ac_test_CFLAGS=${CFLAGS+set}
3252 ac_save_CFLAGS=$CFLAGS
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3254 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3255 if ${ac_cv_prog_cc_g+:} false; then :
3256 $as_echo_n "(cached) " >&6
3258 ac_save_c_werror_flag=$ac_c_werror_flag
3259 ac_c_werror_flag=yes
3262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3263 /* end confdefs.h. */
3273 if ac_fn_c_try_compile "$LINENO"; then :
3277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3278 /* end confdefs.h. */
3288 if ac_fn_c_try_compile "$LINENO"; then :
3291 ac_c_werror_flag=$ac_save_c_werror_flag
3293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3294 /* end confdefs.h. */
3304 if ac_fn_c_try_compile "$LINENO"; then :
3307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3312 ac_c_werror_flag=$ac_save_c_werror_flag
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3315 $as_echo "$ac_cv_prog_cc_g" >&6; }
3316 if test "$ac_test_CFLAGS" = set; then
3317 CFLAGS=$ac_save_CFLAGS
3318 elif test $ac_cv_prog_cc_g = yes; then
3319 if test "$GCC" = yes; then
3325 if test "$GCC" = yes; then
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3332 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3333 if ${ac_cv_prog_cc_c89+:} false; then :
3334 $as_echo_n "(cached) " >&6
3336 ac_cv_prog_cc_c89=no
3338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3339 /* end confdefs.h. */
3343 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3344 struct buf { int x; };
3345 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3346 static char *e (p, i)
3352 static char *f (char * (*g) (char **, int), char **p, ...)
3357 s = g (p, va_arg (v,int));
3362 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3363 function prototypes and stuff, but not '\xHH' hex character constants.
3364 These don't provoke an error unfortunately, instead are silently treated
3365 as 'x'. The following induces an error, until -std is added to get
3366 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3367 array size at least. It's necessary to write '\x00'==0 to get something
3368 that's true only with -std. */
3369 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3371 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3372 inside strings and character constants. */
3374 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3376 int test (int i, double x);
3377 struct s1 {int (*f) (int a);};
3378 struct s2 {int (*f) (double a);};
3379 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3385 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3390 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3391 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3393 CC="$ac_save_CC $ac_arg"
3394 if ac_fn_c_try_compile "$LINENO"; then :
3395 ac_cv_prog_cc_c89=$ac_arg
3397 rm -f core conftest.err conftest.$ac_objext
3398 test "x$ac_cv_prog_cc_c89" != "xno" && break
3400 rm -f conftest.$ac_ext
3405 case "x$ac_cv_prog_cc_c89" in
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3408 $as_echo "none needed" >&6; } ;;
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3411 $as_echo "unsupported" >&6; } ;;
3413 CC="$CC $ac_cv_prog_cc_c89"
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3415 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3417 if test "x$ac_cv_prog_cc_c89" != xno; then :
3422 ac_cpp='$CPP $CPPFLAGS'
3423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3428 ac_cpp='$CPP $CPPFLAGS'
3429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3433 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3434 if ${am_cv_prog_cc_c_o+:} false; then :
3435 $as_echo_n "(cached) " >&6
3437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3438 /* end confdefs.h. */
3448 # Make sure it works both with $CC and with simple cc.
3449 # Following AC_PROG_CC_C_O, we do the test twice because some
3450 # compilers refuse to overwrite an existing .o file with -o,
3451 # though they will create one.
3452 am_cv_prog_cc_c_o=yes
3454 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3455 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3458 (exit $ac_status); } \
3459 && test -f conftest2.$ac_objext; then
3462 am_cv_prog_cc_c_o=no
3466 rm -f core conftest*
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3470 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3471 if test "$am_cv_prog_cc_c_o" != yes; then
3472 # Losing compiler, so override with the script.
3473 # FIXME: It is wrong to rewrite CC.
3474 # But if we don't then we get into trouble of one sort or another.
3475 # A longer-term fix would be to have automake use am__CC in this case,
3476 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3477 CC="$am_aux_dir/compile $CC"
3480 ac_cpp='$CPP $CPPFLAGS'
3481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3485 DEPDIR="${am__leading_dot}deps"
3487 ac_config_commands="$ac_config_commands depfiles"
3490 am_make=${MAKE-make}
3491 cat > confinc << 'END'
3493 @echo this is the am__doit target
3496 # If we don't find an include directive, just comment out the code.
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3498 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3502 # First try GNU make style include.
3503 echo "include confinc" > confmf
3504 # Ignore all kinds of additional output from 'make'.
3505 case `$am_make -s -f confmf 2> /dev/null` in #(
3506 *the\ am__doit\ target*)
3512 # Now try BSD make style include.
3513 if test "$am__include" = "#"; then
3514 echo '.include "confinc"' > confmf
3515 case `$am_make -s -f confmf 2> /dev/null` in #(
3516 *the\ am__doit\ target*)
3517 am__include=.include
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3526 $as_echo "$_am_result" >&6; }
3527 rm -f confinc confmf
3529 # Check whether --enable-dependency-tracking was given.
3530 if test "${enable_dependency_tracking+set}" = set; then :
3531 enableval=$enable_dependency_tracking;
3534 if test "x$enable_dependency_tracking" != xno; then
3535 am_depcomp="$ac_aux_dir/depcomp"
3539 if test "x$enable_dependency_tracking" != xno; then
3549 depcc="$CC" am_compiler_list=
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3552 $as_echo_n "checking dependency style of $depcc... " >&6; }
3553 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3554 $as_echo_n "(cached) " >&6
3556 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3557 # We make a subdir and do the tests there. Otherwise we can end up
3558 # making bogus files that we don't know about and never remove. For
3559 # instance it was reported that on HP-UX the gcc test will end up
3560 # making a dummy file named 'D' -- because '-MD' means "put the output
3564 # Copy depcomp to subdir because otherwise we won't find it if we're
3565 # using a relative directory.
3566 cp "$am_depcomp" conftest.dir
3568 # We will build objects and dependencies in a subdirectory because
3569 # it helps to detect inapplicable dependency modes. For instance
3570 # both Tru64's cc and ICC support -MD to output dependencies as a
3571 # side effect of compilation, but ICC will put the dependencies in
3572 # the current directory while Tru64 will put them in the object
3576 am_cv_CC_dependencies_compiler_type=none
3577 if test "$am_compiler_list" = ""; then
3578 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3581 case " $depcc " in #(
3582 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3585 for depmode in $am_compiler_list; do
3586 # Setup a source with many dependencies, because some compilers
3587 # like to wrap large dependency lists on column 80 (with \), and
3588 # we should not choose a depcomp mode which is confused by this.
3590 # We need to recreate these files for each test, as the compiler may
3591 # overwrite some of them when testing with obscure command lines.
3592 # This happens at least with the AIX C compiler.
3594 for i in 1 2 3 4 5 6; do
3595 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3596 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3597 # Solaris 10 /bin/sh.
3598 echo '/* dummy */' > sub/conftst$i.h
3600 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3602 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3603 # mode. It turns out that the SunPro C++ compiler does not properly
3604 # handle '-M -o', and we need to detect this. Also, some Intel
3605 # versions had trouble with output in subdirs.
3606 am__obj=sub/conftest.${OBJEXT-o}
3607 am__minus_obj="-o $am__obj"
3610 # This depmode causes a compiler race in universal mode.
3611 test "$am__universal" = false || continue
3614 # After this tag, mechanisms are not by side-effect, so they'll
3615 # only be used when explicitly requested.
3616 if test "x$enable_dependency_tracking" = xyes; then
3622 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3623 # This compiler won't grok '-c -o', but also, the minuso test has
3624 # not run yet. These depmodes are late enough in the game, and
3625 # so weak that their functioning should not be impacted.
3626 am__obj=conftest.${OBJEXT-o}
3631 if depmode=$depmode \
3632 source=sub/conftest.c object=$am__obj \
3633 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3634 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3635 >/dev/null 2>conftest.err &&
3636 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3637 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3638 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3639 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3640 # icc doesn't choke on unknown options, it will just issue warnings
3641 # or remarks (even with -Werror). So we grep stderr for any message
3642 # that says an option was ignored or not supported.
3643 # When given -MP, icc 7.0 and 7.1 complain thusly:
3644 # icc: Command line warning: ignoring option '-M'; no argument required
3645 # The diagnosis changed in icc 8.0:
3646 # icc: Command line remark: option '-MP' not supported
3647 if (grep 'ignoring option' conftest.err ||
3648 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3649 am_cv_CC_dependencies_compiler_type=$depmode
3658 am_cv_CC_dependencies_compiler_type=none
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3663 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3664 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3667 test "x$enable_dependency_tracking" != xno \
3668 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3670 am__fastdepCC_FALSE='#'
3672 am__fastdepCC_TRUE='#'
3673 am__fastdepCC_FALSE=
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3678 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3679 if ${ac_cv_prog_cc_c99+:} false; then :
3680 $as_echo_n "(cached) " >&6
3682 ac_cv_prog_cc_c99=no
3684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3685 /* end confdefs.h. */
3687 #include <stdbool.h>
3692 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3693 #define debug(...) fprintf (stderr, __VA_ARGS__)
3694 #define showlist(...) puts (#__VA_ARGS__)
3695 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3697 test_varargs_macros (void)
3702 debug ("X = %d\n", x);
3703 showlist (The first, second, and third items.);
3704 report (x>y, "x is %d but y is %d", x, y);
3707 // Check long long types.
3708 #define BIG64 18446744073709551615ull
3709 #define BIG32 4294967295ul
3710 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3712 your preprocessor is broken;
3716 your preprocessor is broken;
3718 static long long int bignum = -9223372036854775807LL;
3719 static unsigned long long int ubignum = BIG64;
3721 struct incomplete_array
3729 const wchar_t *name;
3733 typedef const char *ccp;
3736 test_restrict (ccp restrict text)
3738 // See if C++-style comments work.
3739 // Iterate through items via the restricted pointer.
3740 // Also check for declarations in for loops.
3741 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3746 // Check varargs and va_copy.
3748 test_varargs (const char *format, ...)
3751 va_start (args, format);
3753 va_copy (args_copy, args);
3764 str = va_arg (args_copy, const char *);
3767 number = va_arg (args_copy, int);
3770 fnumber = va_arg (args_copy, double);
3785 _Bool success = false;
3788 if (test_restrict ("String literal") == 0)
3790 char *restrict newvar = "Another string";
3793 test_varargs ("s, d' f .", "string", 65, 34.234);
3794 test_varargs_macros ();
3796 // Check flexible array members.
3797 struct incomplete_array *ia =
3798 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3800 for (int i = 0; i < ia->datasize; ++i)
3801 ia->data[i] = i * 1.234;
3803 // Check named initializers.
3804 struct named_init ni = {
3806 .name = L"Test wide string",
3807 .average = 543.34343,
3812 int dynamic_array[ni.number];
3813 dynamic_array[ni.number - 1] = 543;
3815 // work around unused variable warnings
3816 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3817 || dynamic_array[ni.number - 1] != 543);
3823 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
3825 CC="$ac_save_CC $ac_arg"
3826 if ac_fn_c_try_compile "$LINENO"; then :
3827 ac_cv_prog_cc_c99=$ac_arg
3829 rm -f core conftest.err conftest.$ac_objext
3830 test "x$ac_cv_prog_cc_c99" != "xno" && break
3832 rm -f conftest.$ac_ext
3837 case "x$ac_cv_prog_cc_c99" in
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3840 $as_echo "none needed" >&6; } ;;
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3843 $as_echo "unsupported" >&6; } ;;
3845 CC="$CC $ac_cv_prog_cc_c99"
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3847 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3849 if test "x$ac_cv_prog_cc_c99" != xno; then :
3856 # Checks for header files.
3859 ac_cpp='$CPP $CPPFLAGS'
3860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3864 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3865 # On Suns, sometimes $CPP names a directory.
3866 if test -n "$CPP" && test -d "$CPP"; then
3869 if test -z "$CPP"; then
3870 if ${ac_cv_prog_CPP+:} false; then :
3871 $as_echo_n "(cached) " >&6
3873 # Double quotes because CPP needs to be expanded
3874 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3877 for ac_c_preproc_warn_flag in '' yes
3879 # Use a header file that comes with gcc, so configuring glibc
3880 # with a fresh cross-compiler works.
3881 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3882 # <limits.h> exists even on freestanding compilers.
3883 # On the NeXT, cc -E runs the code through the compiler's parser,
3884 # not just through cpp. "Syntax error" is here to catch this case.
3885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3886 /* end confdefs.h. */
3888 # include <limits.h>
3890 # include <assert.h>
3894 if ac_fn_c_try_cpp "$LINENO"; then :
3897 # Broken: fails on valid input.
3900 rm -f conftest.err conftest.i conftest.$ac_ext
3902 # OK, works on sane cases. Now check whether nonexistent headers
3903 # can be detected and how.
3904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3905 /* end confdefs.h. */
3906 #include <ac_nonexistent.h>
3908 if ac_fn_c_try_cpp "$LINENO"; then :
3909 # Broken: success on invalid input.
3912 # Passes both tests.
3916 rm -f conftest.err conftest.i conftest.$ac_ext
3919 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3920 rm -f conftest.i conftest.err conftest.$ac_ext
3921 if $ac_preproc_ok; then :
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3934 $as_echo "$CPP" >&6; }
3936 for ac_c_preproc_warn_flag in '' yes
3938 # Use a header file that comes with gcc, so configuring glibc
3939 # with a fresh cross-compiler works.
3940 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3941 # <limits.h> exists even on freestanding compilers.
3942 # On the NeXT, cc -E runs the code through the compiler's parser,
3943 # not just through cpp. "Syntax error" is here to catch this case.
3944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3945 /* end confdefs.h. */
3947 # include <limits.h>
3949 # include <assert.h>
3953 if ac_fn_c_try_cpp "$LINENO"; then :
3956 # Broken: fails on valid input.
3959 rm -f conftest.err conftest.i conftest.$ac_ext
3961 # OK, works on sane cases. Now check whether nonexistent headers
3962 # can be detected and how.
3963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3964 /* end confdefs.h. */
3965 #include <ac_nonexistent.h>
3967 if ac_fn_c_try_cpp "$LINENO"; then :
3968 # Broken: success on invalid input.
3971 # Passes both tests.
3975 rm -f conftest.err conftest.i conftest.$ac_ext
3978 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3979 rm -f conftest.i conftest.err conftest.$ac_ext
3980 if $ac_preproc_ok; then :
3983 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3984 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3985 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3986 See \`config.log' for more details" "$LINENO" 5; }
3990 ac_cpp='$CPP $CPPFLAGS'
3991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
3997 $as_echo_n "checking for X... " >&6; }
4000 # Check whether --with-x was given.
4001 if test "${with_x+set}" = set; then :
4005 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
4006 if test "x$with_x" = xno; then
4007 # The user explicitly disabled X.
4010 case $x_includes,$x_libraries in #(
4011 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
4012 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
4013 $as_echo_n "(cached) " >&6
4015 # One or both of the vars are not set, and there is no cached value.
4016 ac_x_includes=no ac_x_libraries=no
4017 rm -f -r conftest.dir
4018 if mkdir conftest.dir; then
4020 cat >Imakefile <<'_ACEOF'
4022 @echo incroot='${INCROOT}'
4024 @echo usrlibdir='${USRLIBDIR}'
4026 @echo libdir='${LIBDIR}'
4028 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
4029 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4030 for ac_var in incroot usrlibdir libdir; do
4031 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
4033 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
4034 for ac_extension in a so sl dylib la dll; do
4035 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
4036 test -f "$ac_im_libdir/libX11.$ac_extension"; then
4037 ac_im_usrlibdir=$ac_im_libdir; break
4040 # Screen out bogus values from the imake configuration. They are
4041 # bogus both because they are the default anyway, and because
4042 # using them would break gcc on systems where it needs fixed includes.
4043 case $ac_im_incroot in
4044 /usr/include) ac_x_includes= ;;
4045 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
4047 case $ac_im_usrlibdir in
4048 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
4049 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
4053 rm -f -r conftest.dir
4056 # Standard set of common directories for X headers.
4057 # Check X11 before X11Rn because it is often a symlink to the current release.
4071 /usr/local/X11/include
4072 /usr/local/X11R7/include
4073 /usr/local/X11R6/include
4074 /usr/local/X11R5/include
4075 /usr/local/X11R4/include
4077 /usr/local/include/X11
4078 /usr/local/include/X11R7
4079 /usr/local/include/X11R6
4080 /usr/local/include/X11R5
4081 /usr/local/include/X11R4
4085 /usr/XFree86/include/X11
4089 /usr/unsupported/include
4091 /usr/local/x11r5/include
4092 /usr/lpp/Xamples/include
4094 /usr/openwin/include
4095 /usr/openwin/share/include'
4097 if test "$ac_x_includes" = no; then
4098 # Guess where to find include files, by looking for Xlib.h.
4099 # First, try using that file with no special directory specified.
4100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4101 /* end confdefs.h. */
4102 #include <X11/Xlib.h>
4104 if ac_fn_c_try_cpp "$LINENO"; then :
4105 # We can compile using X headers with no special include directory.
4108 for ac_dir in $ac_x_header_dirs; do
4109 if test -r "$ac_dir/X11/Xlib.h"; then
4110 ac_x_includes=$ac_dir
4115 rm -f conftest.err conftest.i conftest.$ac_ext
4116 fi # $ac_x_includes = no
4118 if test "$ac_x_libraries" = no; then
4119 # Check for the libraries.
4120 # See if we find them without any special options.
4121 # Don't add to $LIBS permanently.
4124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4125 /* end confdefs.h. */
4126 #include <X11/Xlib.h>
4135 if ac_fn_c_try_link "$LINENO"; then :
4137 # We can link X programs with no special library path.
4141 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4143 # Don't even attempt the hair of trying to link an X program!
4144 for ac_extension in a so sl dylib la dll; do
4145 if test -r "$ac_dir/libX11.$ac_extension"; then
4146 ac_x_libraries=$ac_dir
4152 rm -f core conftest.err conftest.$ac_objext \
4153 conftest$ac_exeext conftest.$ac_ext
4154 fi # $ac_x_libraries = no
4156 case $ac_x_includes,$ac_x_libraries in #(
4158 # Didn't find X, or a directory has "'" in its name.
4159 ac_cv_have_x="have_x=no";; #(
4161 # Record where we found X for the cache.
4162 ac_cv_have_x="have_x=yes\
4163 ac_x_includes='$ac_x_includes'\
4164 ac_x_libraries='$ac_x_libraries'"
4170 eval "$ac_cv_have_x"
4173 if test "$have_x" != yes; then
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
4175 $as_echo "$have_x" >&6; }
4178 # If each of the values was on the command line, it overrides each guess.
4179 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4180 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4181 # Update the cache value to reflect the command line values.
4182 ac_cv_have_x="have_x=yes\
4183 ac_x_includes='$x_includes'\
4184 ac_x_libraries='$x_libraries'"
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
4186 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4192 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4193 if ${ac_cv_path_SED+:} false; then :
4194 $as_echo_n "(cached) " >&6
4196 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4197 for ac_i in 1 2 3 4 5 6 7; do
4198 ac_script="$ac_script$as_nl$ac_script"
4200 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4201 { ac_script=; unset ac_script;}
4202 if test -z "$SED"; then
4203 ac_path_SED_found=false
4204 # Loop through the user's path and test for each of PROGNAME-LIST
4205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4209 test -z "$as_dir" && as_dir=.
4210 for ac_prog in sed gsed; do
4211 for ac_exec_ext in '' $ac_executable_extensions; do
4212 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4213 as_fn_executable_p "$ac_path_SED" || continue
4214 # Check for GNU ac_path_SED and select it if it is found.
4215 # Check for GNU $ac_path_SED
4216 case `"$ac_path_SED" --version 2>&1` in
4218 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4221 $as_echo_n 0123456789 >"conftest.in"
4224 cat "conftest.in" "conftest.in" >"conftest.tmp"
4225 mv "conftest.tmp" "conftest.in"
4226 cp "conftest.in" "conftest.nl"
4227 $as_echo '' >> "conftest.nl"
4228 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4229 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4230 as_fn_arith $ac_count + 1 && ac_count=$as_val
4231 if test $ac_count -gt ${ac_path_SED_max-0}; then
4232 # Best one so far, save it but keep looking for a better one
4233 ac_cv_path_SED="$ac_path_SED"
4234 ac_path_SED_max=$ac_count
4236 # 10*(2^10) chars as input seems more than enough
4237 test $ac_count -gt 10 && break
4239 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4242 $ac_path_SED_found && break 3
4247 if test -z "$ac_cv_path_SED"; then
4248 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4256 $as_echo "$ac_cv_path_SED" >&6; }
4257 SED="$ac_cv_path_SED"
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4262 $as_echo_n "checking whether NLS is requested... " >&6; }
4263 # Check whether --enable-nls was given.
4264 if test "${enable_nls+set}" = set; then :
4265 enableval=$enable_nls; USE_NLS=$enableval
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4271 $as_echo "$USE_NLS" >&6; }
4276 GETTEXT_MACRO_VERSION=0.18
4281 # Prepare PATH_SEPARATOR.
4282 # The user is always right.
4283 if test "${PATH_SEPARATOR+set}" != set; then
4284 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
4285 # contains only /bin. Note that ksh looks also at the FPATH variable,
4286 # so we have to set that as well for the test.
4288 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4289 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4290 || PATH_SEPARATOR=';'
4294 # Find out how to test for executable files. Don't use a zero-byte file,
4295 # as systems may use methods other than mode bits to determine executability.
4296 cat >conf$$.file <<_ASEOF
4300 chmod +x conf$$.file
4301 if test -x conf$$.file >/dev/null 2>&1; then
4302 ac_executable_p="test -x"
4304 ac_executable_p="test -f"
4308 # Extract the first word of "msgfmt", so it can be a program name with args.
4309 set dummy msgfmt; ac_word=$2
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4311 $as_echo_n "checking for $ac_word... " >&6; }
4312 if ${ac_cv_path_MSGFMT+:} false; then :
4313 $as_echo_n "(cached) " >&6
4317 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4320 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4321 for ac_dir in $PATH; do
4323 test -z "$ac_dir" && ac_dir=.
4324 for ac_exec_ext in '' $ac_executable_extensions; do
4325 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4326 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4327 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
4328 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4329 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
4336 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
4340 MSGFMT="$ac_cv_path_MSGFMT"
4341 if test "$MSGFMT" != ":"; then
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4343 $as_echo "$MSGFMT" >&6; }
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4346 $as_echo "no" >&6; }
4349 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4350 set dummy gmsgfmt; ac_word=$2
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4352 $as_echo_n "checking for $ac_word... " >&6; }
4353 if ${ac_cv_path_GMSGFMT+:} false; then :
4354 $as_echo_n "(cached) " >&6
4358 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4365 test -z "$as_dir" && as_dir=.
4366 for ac_exec_ext in '' $ac_executable_extensions; do
4367 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4368 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4376 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4380 GMSGFMT=$ac_cv_path_GMSGFMT
4381 if test -n "$GMSGFMT"; then
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4383 $as_echo "$GMSGFMT" >&6; }
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4386 $as_echo "no" >&6; }
4391 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4392 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
4393 *) MSGFMT_015=$MSGFMT ;;
4396 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4397 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
4398 *) GMSGFMT_015=$GMSGFMT ;;
4403 # Prepare PATH_SEPARATOR.
4404 # The user is always right.
4405 if test "${PATH_SEPARATOR+set}" != set; then
4406 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
4407 # contains only /bin. Note that ksh looks also at the FPATH variable,
4408 # so we have to set that as well for the test.
4410 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4411 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4412 || PATH_SEPARATOR=';'
4416 # Find out how to test for executable files. Don't use a zero-byte file,
4417 # as systems may use methods other than mode bits to determine executability.
4418 cat >conf$$.file <<_ASEOF
4422 chmod +x conf$$.file
4423 if test -x conf$$.file >/dev/null 2>&1; then
4424 ac_executable_p="test -x"
4426 ac_executable_p="test -f"
4430 # Extract the first word of "xgettext", so it can be a program name with args.
4431 set dummy xgettext; ac_word=$2
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4433 $as_echo_n "checking for $ac_word... " >&6; }
4434 if ${ac_cv_path_XGETTEXT+:} false; then :
4435 $as_echo_n "(cached) " >&6
4439 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4442 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4443 for ac_dir in $PATH; do
4445 test -z "$ac_dir" && ac_dir=.
4446 for ac_exec_ext in '' $ac_executable_extensions; do
4447 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4448 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4449 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
4450 (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
4451 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
4458 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4462 XGETTEXT="$ac_cv_path_XGETTEXT"
4463 if test "$XGETTEXT" != ":"; then
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4465 $as_echo "$XGETTEXT" >&6; }
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4468 $as_echo "no" >&6; }
4473 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4474 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
4475 *) XGETTEXT_015=$XGETTEXT ;;
4480 # Prepare PATH_SEPARATOR.
4481 # The user is always right.
4482 if test "${PATH_SEPARATOR+set}" != set; then
4483 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
4484 # contains only /bin. Note that ksh looks also at the FPATH variable,
4485 # so we have to set that as well for the test.
4487 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4488 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4489 || PATH_SEPARATOR=';'
4493 # Find out how to test for executable files. Don't use a zero-byte file,
4494 # as systems may use methods other than mode bits to determine executability.
4495 cat >conf$$.file <<_ASEOF
4499 chmod +x conf$$.file
4500 if test -x conf$$.file >/dev/null 2>&1; then
4501 ac_executable_p="test -x"
4503 ac_executable_p="test -f"
4507 # Extract the first word of "msgmerge", so it can be a program name with args.
4508 set dummy msgmerge; ac_word=$2
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4510 $as_echo_n "checking for $ac_word... " >&6; }
4511 if ${ac_cv_path_MSGMERGE+:} false; then :
4512 $as_echo_n "(cached) " >&6
4516 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4519 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4520 for ac_dir in $PATH; do
4522 test -z "$ac_dir" && ac_dir=.
4523 for ac_exec_ext in '' $ac_executable_extensions; do
4524 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4525 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4526 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
4527 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
4534 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
4538 MSGMERGE="$ac_cv_path_MSGMERGE"
4539 if test "$MSGMERGE" != ":"; then
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4541 $as_echo "$MSGMERGE" >&6; }
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4544 $as_echo "no" >&6; }
4548 test -n "$localedir" || localedir='${datadir}/locale'
4551 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
4554 ac_config_commands="$ac_config_commands po-directories"
4558 if test "X$prefix" = "XNONE"; then
4559 acl_final_prefix="$ac_default_prefix"
4561 acl_final_prefix="$prefix"
4563 if test "X$exec_prefix" = "XNONE"; then
4564 acl_final_exec_prefix='${prefix}'
4566 acl_final_exec_prefix="$exec_prefix"
4568 acl_save_prefix="$prefix"
4569 prefix="$acl_final_prefix"
4570 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
4571 prefix="$acl_save_prefix"
4573 # Make sure we can run config.sub.
4574 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4575 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4578 $as_echo_n "checking build system type... " >&6; }
4579 if ${ac_cv_build+:} false; then :
4580 $as_echo_n "(cached) " >&6
4582 ac_build_alias=$build_alias
4583 test "x$ac_build_alias" = x &&
4584 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4585 test "x$ac_build_alias" = x &&
4586 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4587 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4588 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4592 $as_echo "$ac_cv_build" >&6; }
4593 case $ac_cv_build in
4595 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4598 ac_save_IFS=$IFS; IFS='-'
4604 # Remember, the first character of IFS is used to create $*,
4605 # except with old shells:
4608 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4612 $as_echo_n "checking host system type... " >&6; }
4613 if ${ac_cv_host+:} false; then :
4614 $as_echo_n "(cached) " >&6
4616 if test "x$host_alias" = x; then
4617 ac_cv_host=$ac_cv_build
4619 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4620 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4625 $as_echo "$ac_cv_host" >&6; }
4628 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4631 ac_save_IFS=$IFS; IFS='-'
4637 # Remember, the first character of IFS is used to create $*,
4638 # except with old shells:
4641 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4646 # Check whether --with-gnu-ld was given.
4647 if test "${with_gnu_ld+set}" = set; then :
4648 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4653 # Prepare PATH_SEPARATOR.
4654 # The user is always right.
4655 if test "${PATH_SEPARATOR+set}" != set; then
4656 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
4657 # contains only /bin. Note that ksh looks also at the FPATH variable,
4658 # so we have to set that as well for the test.
4660 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4661 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4662 || PATH_SEPARATOR=';'
4667 if test "$GCC" = yes; then
4668 # Check if gcc -print-prog-name=ld gives a path.
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4670 $as_echo_n "checking for ld used by $CC... " >&6; }
4673 # gcc leaves a trailing carriage return which upsets mingw
4674 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4676 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4679 # Accept absolute paths.
4681 re_direlt='/[^/][^/]*/\.\./'
4682 # Canonicalize the pathname of ld
4683 ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
4684 while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
4685 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4687 test -z "$LD" && LD="$ac_prog"
4690 # If it fails, then pretend we aren't using GCC.
4694 # If it is relative, then search for the first ld in PATH.
4698 elif test "$with_gnu_ld" = yes; then
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4700 $as_echo_n "checking for GNU ld... " >&6; }
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4703 $as_echo_n "checking for non-GNU ld... " >&6; }
4705 if ${acl_cv_path_LD+:} false; then :
4706 $as_echo_n "(cached) " >&6
4708 if test -z "$LD"; then
4709 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4710 for ac_dir in $PATH; do
4712 test -z "$ac_dir" && ac_dir=.
4713 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4714 acl_cv_path_LD="$ac_dir/$ac_prog"
4715 # Check to see if the program is GNU ld. I'd rather use --version,
4716 # but apparently some variants of GNU ld only accept -v.
4717 # Break only if it was the GNU/non-GNU ld that we prefer.
4718 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
4719 *GNU* | *'with BFD'*)
4720 test "$with_gnu_ld" != no && break
4723 test "$with_gnu_ld" != yes && break
4730 acl_cv_path_LD="$LD" # Let the user override the test with a path.
4734 LD="$acl_cv_path_LD"
4735 if test -n "$LD"; then
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4737 $as_echo "$LD" >&6; }
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4740 $as_echo "no" >&6; }
4742 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4744 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4745 if ${acl_cv_prog_gnu_ld+:} false; then :
4746 $as_echo_n "(cached) " >&6
4748 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4749 case `$LD -v 2>&1 </dev/null` in
4750 *GNU* | *'with BFD'*)
4751 acl_cv_prog_gnu_ld=yes
4754 acl_cv_prog_gnu_ld=no
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4759 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
4760 with_gnu_ld=$acl_cv_prog_gnu_ld
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
4766 $as_echo_n "checking for shared library run path origin... " >&6; }
4767 if ${acl_cv_rpath+:} false; then :
4768 $as_echo_n "(cached) " >&6
4771 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
4772 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
4779 $as_echo "$acl_cv_rpath" >&6; }
4781 acl_libext="$acl_cv_libext"
4782 acl_shlibext="$acl_cv_shlibext"
4783 acl_libname_spec="$acl_cv_libname_spec"
4784 acl_library_names_spec="$acl_cv_library_names_spec"
4785 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
4786 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
4787 acl_hardcode_direct="$acl_cv_hardcode_direct"
4788 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
4789 # Check whether --enable-rpath was given.
4790 if test "${enable_rpath+set}" = set; then :
4791 enableval=$enable_rpath; :
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4798 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4799 if ${ac_cv_path_GREP+:} false; then :
4800 $as_echo_n "(cached) " >&6
4802 if test -z "$GREP"; then
4803 ac_path_GREP_found=false
4804 # Loop through the user's path and test for each of PROGNAME-LIST
4805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4806 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4809 test -z "$as_dir" && as_dir=.
4810 for ac_prog in grep ggrep; do
4811 for ac_exec_ext in '' $ac_executable_extensions; do
4812 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4813 as_fn_executable_p "$ac_path_GREP" || continue
4814 # Check for GNU ac_path_GREP and select it if it is found.
4815 # Check for GNU $ac_path_GREP
4816 case `"$ac_path_GREP" --version 2>&1` in
4818 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4821 $as_echo_n 0123456789 >"conftest.in"
4824 cat "conftest.in" "conftest.in" >"conftest.tmp"
4825 mv "conftest.tmp" "conftest.in"
4826 cp "conftest.in" "conftest.nl"
4827 $as_echo 'GREP' >> "conftest.nl"
4828 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4829 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4830 as_fn_arith $ac_count + 1 && ac_count=$as_val
4831 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4832 # Best one so far, save it but keep looking for a better one
4833 ac_cv_path_GREP="$ac_path_GREP"
4834 ac_path_GREP_max=$ac_count
4836 # 10*(2^10) chars as input seems more than enough
4837 test $ac_count -gt 10 && break
4839 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4842 $ac_path_GREP_found && break 3
4847 if test -z "$ac_cv_path_GREP"; then
4848 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4851 ac_cv_path_GREP=$GREP
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4856 $as_echo "$ac_cv_path_GREP" >&6; }
4857 GREP="$ac_cv_path_GREP"
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4861 $as_echo_n "checking for egrep... " >&6; }
4862 if ${ac_cv_path_EGREP+:} false; then :
4863 $as_echo_n "(cached) " >&6
4865 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4866 then ac_cv_path_EGREP="$GREP -E"
4868 if test -z "$EGREP"; then
4869 ac_path_EGREP_found=false
4870 # Loop through the user's path and test for each of PROGNAME-LIST
4871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4872 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4875 test -z "$as_dir" && as_dir=.
4876 for ac_prog in egrep; do
4877 for ac_exec_ext in '' $ac_executable_extensions; do
4878 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4879 as_fn_executable_p "$ac_path_EGREP" || continue
4880 # Check for GNU ac_path_EGREP and select it if it is found.
4881 # Check for GNU $ac_path_EGREP
4882 case `"$ac_path_EGREP" --version 2>&1` in
4884 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4887 $as_echo_n 0123456789 >"conftest.in"
4890 cat "conftest.in" "conftest.in" >"conftest.tmp"
4891 mv "conftest.tmp" "conftest.in"
4892 cp "conftest.in" "conftest.nl"
4893 $as_echo 'EGREP' >> "conftest.nl"
4894 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4895 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4896 as_fn_arith $ac_count + 1 && ac_count=$as_val
4897 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4898 # Best one so far, save it but keep looking for a better one
4899 ac_cv_path_EGREP="$ac_path_EGREP"
4900 ac_path_EGREP_max=$ac_count
4902 # 10*(2^10) chars as input seems more than enough
4903 test $ac_count -gt 10 && break
4905 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4908 $ac_path_EGREP_found && break 3
4913 if test -z "$ac_cv_path_EGREP"; then
4914 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4917 ac_cv_path_EGREP=$EGREP
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4923 $as_echo "$ac_cv_path_EGREP" >&6; }
4924 EGREP="$ac_cv_path_EGREP"
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
4934 $as_echo_n "checking for 64-bit host... " >&6; }
4935 if ${gl_cv_solaris_64bit+:} false; then :
4936 $as_echo_n "(cached) " >&6
4938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4939 /* end confdefs.h. */
4946 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4947 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
4948 gl_cv_solaris_64bit=yes
4950 gl_cv_solaris_64bit=no
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
4957 $as_echo "$gl_cv_solaris_64bit" >&6; }
4958 if test $gl_cv_solaris_64bit = yes; then
4959 acl_libdirstem=lib/64
4961 sparc*) acl_libdirstem2=lib/sparcv9 ;;
4962 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
4967 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
4968 if test -n "$searchpath"; then
4969 acl_save_IFS="${IFS= }"; IFS=":"
4970 for searchdir in $searchpath; do
4971 if test -d "$searchdir"; then
4972 case "$searchdir" in
4973 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
4975 # Better ignore directories of this form. They are misleading.
4977 *) searchdir=`cd "$searchdir" && pwd`
4978 case "$searchdir" in
4979 */lib64 ) acl_libdirstem=lib64 ;;
4988 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
5003 acl_save_prefix="$prefix"
5004 prefix="$acl_final_prefix"
5005 acl_save_exec_prefix="$exec_prefix"
5006 exec_prefix="$acl_final_exec_prefix"
5008 eval additional_includedir=\"$includedir\"
5009 eval additional_libdir=\"$libdir\"
5011 exec_prefix="$acl_save_exec_prefix"
5012 prefix="$acl_save_prefix"
5015 # Check whether --with-libiconv-prefix was given.
5016 if test "${with_libiconv_prefix+set}" = set; then :
5017 withval=$with_libiconv_prefix;
5018 if test "X$withval" = "Xno"; then
5021 if test "X$withval" = "X"; then
5023 acl_save_prefix="$prefix"
5024 prefix="$acl_final_prefix"
5025 acl_save_exec_prefix="$exec_prefix"
5026 exec_prefix="$acl_final_exec_prefix"
5028 eval additional_includedir=\"$includedir\"
5029 eval additional_libdir=\"$libdir\"
5031 exec_prefix="$acl_save_exec_prefix"
5032 prefix="$acl_save_prefix"
5035 additional_includedir="$withval/include"
5036 additional_libdir="$withval/$acl_libdirstem"
5037 if test "$acl_libdirstem2" != "$acl_libdirstem" \
5038 && ! test -d "$withval/$acl_libdirstem"; then
5039 additional_libdir="$withval/$acl_libdirstem2"
5053 names_already_handled=
5054 names_next_round='iconv '
5055 while test -n "$names_next_round"; do
5056 names_this_round="$names_next_round"
5058 for name in $names_this_round; do
5060 for n in $names_already_handled; do
5061 if test "$n" = "$name"; then
5066 if test -z "$already_handled"; then
5067 names_already_handled="$names_already_handled $name"
5068 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
5069 eval value=\"\$HAVE_LIB$uppername\"
5070 if test -n "$value"; then
5071 if test "$value" = yes; then
5072 eval value=\"\$LIB$uppername\"
5073 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
5074 eval value=\"\$LTLIB$uppername\"
5075 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
5084 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
5085 if test -n "$acl_shlibext"; then
5086 shrext=".$acl_shlibext" # typically: shrext=.so
5090 if test $use_additional = yes; then
5091 dir="$additional_libdir"
5092 if test -n "$acl_shlibext"; then
5093 if test -f "$dir/$libname$shrext"; then
5095 found_so="$dir/$libname$shrext"
5097 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5098 ver=`(cd "$dir" && \
5099 for f in "$libname$shrext".*; do echo "$f"; done \
5100 | sed -e "s,^$libname$shrext\\\\.,," \
5101 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5102 | sed 1q ) 2>/dev/null`
5103 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5105 found_so="$dir/$libname$shrext.$ver"
5108 eval library_names=\"$acl_library_names_spec\"
5109 for f in $library_names; do
5110 if test -f "$dir/$f"; then
5119 if test "X$found_dir" = "X"; then
5120 if test -f "$dir/$libname.$acl_libext"; then
5122 found_a="$dir/$libname.$acl_libext"
5125 if test "X$found_dir" != "X"; then
5126 if test -f "$dir/$libname.la"; then
5127 found_la="$dir/$libname.la"
5131 if test "X$found_dir" = "X"; then
5132 for x in $LDFLAGS $LTLIBICONV; do
5134 acl_save_prefix="$prefix"
5135 prefix="$acl_final_prefix"
5136 acl_save_exec_prefix="$exec_prefix"
5137 exec_prefix="$acl_final_exec_prefix"
5139 exec_prefix="$acl_save_exec_prefix"
5140 prefix="$acl_save_prefix"
5144 dir=`echo "X$x" | sed -e 's/^X-L//'`
5145 if test -n "$acl_shlibext"; then
5146 if test -f "$dir/$libname$shrext"; then
5148 found_so="$dir/$libname$shrext"
5150 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5151 ver=`(cd "$dir" && \
5152 for f in "$libname$shrext".*; do echo "$f"; done \
5153 | sed -e "s,^$libname$shrext\\\\.,," \
5154 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5155 | sed 1q ) 2>/dev/null`
5156 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5158 found_so="$dir/$libname$shrext.$ver"
5161 eval library_names=\"$acl_library_names_spec\"
5162 for f in $library_names; do
5163 if test -f "$dir/$f"; then
5172 if test "X$found_dir" = "X"; then
5173 if test -f "$dir/$libname.$acl_libext"; then
5175 found_a="$dir/$libname.$acl_libext"
5178 if test "X$found_dir" != "X"; then
5179 if test -f "$dir/$libname.la"; then
5180 found_la="$dir/$libname.la"
5185 if test "X$found_dir" != "X"; then
5190 if test "X$found_dir" != "X"; then
5191 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5192 if test "X$found_so" != "X"; then
5193 if test "$enable_rpath" = no \
5194 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
5195 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
5196 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5199 for x in $ltrpathdirs; do
5200 if test "X$x" = "X$found_dir"; then
5205 if test -z "$haveit"; then
5206 ltrpathdirs="$ltrpathdirs $found_dir"
5208 if test "$acl_hardcode_direct" = yes; then
5209 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5211 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
5212 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5214 for x in $rpathdirs; do
5215 if test "X$x" = "X$found_dir"; then
5220 if test -z "$haveit"; then
5221 rpathdirs="$rpathdirs $found_dir"
5225 for x in $LDFLAGS $LIBICONV; do
5227 acl_save_prefix="$prefix"
5228 prefix="$acl_final_prefix"
5229 acl_save_exec_prefix="$exec_prefix"
5230 exec_prefix="$acl_final_exec_prefix"
5232 exec_prefix="$acl_save_exec_prefix"
5233 prefix="$acl_save_prefix"
5235 if test "X$x" = "X-L$found_dir"; then
5240 if test -z "$haveit"; then
5241 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5243 if test "$acl_hardcode_minus_L" != no; then
5244 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5246 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5252 if test "X$found_a" != "X"; then
5253 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
5255 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5258 additional_includedir=
5259 case "$found_dir" in
5260 */$acl_libdirstem | */$acl_libdirstem/)
5261 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5262 if test "$name" = 'iconv'; then
5263 LIBICONV_PREFIX="$basedir"
5265 additional_includedir="$basedir/include"
5267 */$acl_libdirstem2 | */$acl_libdirstem2/)
5268 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
5269 if test "$name" = 'iconv'; then
5270 LIBICONV_PREFIX="$basedir"
5272 additional_includedir="$basedir/include"
5275 if test "X$additional_includedir" != "X"; then
5276 if test "X$additional_includedir" != "X/usr/include"; then
5278 if test "X$additional_includedir" = "X/usr/local/include"; then
5279 if test -n "$GCC"; then
5281 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5285 if test -z "$haveit"; then
5286 for x in $CPPFLAGS $INCICONV; do
5288 acl_save_prefix="$prefix"
5289 prefix="$acl_final_prefix"
5290 acl_save_exec_prefix="$exec_prefix"
5291 exec_prefix="$acl_final_exec_prefix"
5293 exec_prefix="$acl_save_exec_prefix"
5294 prefix="$acl_save_prefix"
5296 if test "X$x" = "X-I$additional_includedir"; then
5301 if test -z "$haveit"; then
5302 if test -d "$additional_includedir"; then
5303 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5309 if test -n "$found_la"; then
5310 save_libdir="$libdir"
5312 */* | *\\*) . "$found_la" ;;
5313 *) . "./$found_la" ;;
5315 libdir="$save_libdir"
5316 for dep in $dependency_libs; do
5319 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5320 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
5321 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
5323 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
5324 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
5325 if test -n "$GCC"; then
5327 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5331 if test -z "$haveit"; then
5333 for x in $LDFLAGS $LIBICONV; do
5335 acl_save_prefix="$prefix"
5336 prefix="$acl_final_prefix"
5337 acl_save_exec_prefix="$exec_prefix"
5338 exec_prefix="$acl_final_exec_prefix"
5340 exec_prefix="$acl_save_exec_prefix"
5341 prefix="$acl_save_prefix"
5343 if test "X$x" = "X-L$additional_libdir"; then
5348 if test -z "$haveit"; then
5349 if test -d "$additional_libdir"; then
5350 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5354 for x in $LDFLAGS $LTLIBICONV; do
5356 acl_save_prefix="$prefix"
5357 prefix="$acl_final_prefix"
5358 acl_save_exec_prefix="$exec_prefix"
5359 exec_prefix="$acl_final_exec_prefix"
5361 exec_prefix="$acl_save_exec_prefix"
5362 prefix="$acl_save_prefix"
5364 if test "X$x" = "X-L$additional_libdir"; then
5369 if test -z "$haveit"; then
5370 if test -d "$additional_libdir"; then
5371 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5378 dir=`echo "X$dep" | sed -e 's/^X-R//'`
5379 if test "$enable_rpath" != no; then
5381 for x in $rpathdirs; do
5382 if test "X$x" = "X$dir"; then
5387 if test -z "$haveit"; then
5388 rpathdirs="$rpathdirs $dir"
5391 for x in $ltrpathdirs; do
5392 if test "X$x" = "X$dir"; then
5397 if test -z "$haveit"; then
5398 ltrpathdirs="$ltrpathdirs $dir"
5403 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5406 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5409 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
5410 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5416 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5417 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5423 if test "X$rpathdirs" != "X"; then
5424 if test -n "$acl_hardcode_libdir_separator"; then
5426 for found_dir in $rpathdirs; do
5427 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
5429 acl_save_libdir="$libdir"
5431 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5432 libdir="$acl_save_libdir"
5433 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5435 for found_dir in $rpathdirs; do
5436 acl_save_libdir="$libdir"
5438 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5439 libdir="$acl_save_libdir"
5440 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5444 if test "X$ltrpathdirs" != "X"; then
5445 for found_dir in $ltrpathdirs; do
5446 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
5481 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
5482 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
5483 $as_echo_n "(cached) " >&6
5485 gt_save_LIBS="$LIBS"
5486 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5488 /* end confdefs.h. */
5489 #include <CoreFoundation/CFPreferences.h>
5493 CFPreferencesCopyAppValue(NULL, NULL)
5498 if ac_fn_c_try_link "$LINENO"; then :
5499 gt_cv_func_CFPreferencesCopyAppValue=yes
5501 gt_cv_func_CFPreferencesCopyAppValue=no
5503 rm -f core conftest.err conftest.$ac_objext \
5504 conftest$ac_exeext conftest.$ac_ext
5505 LIBS="$gt_save_LIBS"
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
5508 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
5509 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
5511 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
5515 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
5516 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
5517 $as_echo_n "(cached) " >&6
5519 gt_save_LIBS="$LIBS"
5520 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5522 /* end confdefs.h. */
5523 #include <CoreFoundation/CFLocale.h>
5527 CFLocaleCopyCurrent();
5532 if ac_fn_c_try_link "$LINENO"; then :
5533 gt_cv_func_CFLocaleCopyCurrent=yes
5535 gt_cv_func_CFLocaleCopyCurrent=no
5537 rm -f core conftest.err conftest.$ac_objext \
5538 conftest$ac_exeext conftest.$ac_ext
5539 LIBS="$gt_save_LIBS"
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
5542 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
5543 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5545 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
5549 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5550 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
5562 case " $gt_needs " in
5563 *" need-formatstring-macros "*) gt_api_version=3 ;;
5564 *" need-ngettext "*) gt_api_version=2 ;;
5565 *) gt_api_version=1 ;;
5567 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
5568 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
5570 if test "$USE_NLS" = "yes"; then
5571 gt_use_preinstalled_gnugettext=no
5574 if test $gt_api_version -ge 3; then
5575 gt_revision_test_code='
5576 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
5577 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
5579 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
5582 gt_revision_test_code=
5584 if test $gt_api_version -ge 2; then
5585 gt_expression_test_code=' + * ngettext ("", "", 0)'
5587 gt_expression_test_code=
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
5591 $as_echo_n "checking for GNU gettext in libc... " >&6; }
5592 if eval \${$gt_func_gnugettext_libc+:} false; then :
5593 $as_echo_n "(cached) " >&6
5595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5596 /* end confdefs.h. */
5598 #include <libintl.h>
5599 $gt_revision_test_code
5600 extern int _nl_msg_cat_cntr;
5601 extern int *_nl_domain_bindings;
5607 bindtextdomain ("", "");
5608 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
5614 if ac_fn_c_try_link "$LINENO"; then :
5615 eval "$gt_func_gnugettext_libc=yes"
5617 eval "$gt_func_gnugettext_libc=no"
5619 rm -f core conftest.err conftest.$ac_objext \
5620 conftest$ac_exeext conftest.$ac_ext
5622 eval ac_res=\$$gt_func_gnugettext_libc
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5624 $as_echo "$ac_res" >&6; }
5626 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
5632 am_save_CPPFLAGS="$CPPFLAGS"
5634 for element in $INCICONV; do
5636 for x in $CPPFLAGS; do
5638 acl_save_prefix="$prefix"
5639 prefix="$acl_final_prefix"
5640 acl_save_exec_prefix="$exec_prefix"
5641 exec_prefix="$acl_final_exec_prefix"
5643 exec_prefix="$acl_save_exec_prefix"
5644 prefix="$acl_save_prefix"
5646 if test "X$x" = "X$element"; then
5651 if test -z "$haveit"; then
5652 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
5658 $as_echo_n "checking for iconv... " >&6; }
5659 if ${am_cv_func_iconv+:} false; then :
5660 $as_echo_n "(cached) " >&6
5663 am_cv_func_iconv="no, consider installing GNU libiconv"
5665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5666 /* end confdefs.h. */
5674 iconv_t cd = iconv_open("","");
5675 iconv(cd,NULL,NULL,NULL,NULL);
5681 if ac_fn_c_try_link "$LINENO"; then :
5682 am_cv_func_iconv=yes
5684 rm -f core conftest.err conftest.$ac_objext \
5685 conftest$ac_exeext conftest.$ac_ext
5686 if test "$am_cv_func_iconv" != yes; then
5687 am_save_LIBS="$LIBS"
5688 LIBS="$LIBS $LIBICONV"
5689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5690 /* end confdefs.h. */
5698 iconv_t cd = iconv_open("","");
5699 iconv(cd,NULL,NULL,NULL,NULL);
5705 if ac_fn_c_try_link "$LINENO"; then :
5707 am_cv_func_iconv=yes
5709 rm -f core conftest.err conftest.$ac_objext \
5710 conftest$ac_exeext conftest.$ac_ext
5711 LIBS="$am_save_LIBS"
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
5716 $as_echo "$am_cv_func_iconv" >&6; }
5717 if test "$am_cv_func_iconv" = yes; then
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
5719 $as_echo_n "checking for working iconv... " >&6; }
5720 if ${am_cv_func_iconv_works+:} false; then :
5721 $as_echo_n "(cached) " >&6
5724 am_save_LIBS="$LIBS"
5725 if test $am_cv_lib_iconv = yes; then
5726 LIBS="$LIBS $LIBICONV"
5728 if test "$cross_compiling" = yes; then :
5731 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
5732 *) am_cv_func_iconv_works="guessing yes" ;;
5736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5737 /* end confdefs.h. */
5744 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
5747 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
5748 if (cd_utf8_to_88591 != (iconv_t)(-1))
5750 static const char input[] = "\342\202\254"; /* EURO SIGN */
5752 const char *inptr = input;
5753 size_t inbytesleft = strlen (input);
5755 size_t outbytesleft = sizeof (buf);
5756 size_t res = iconv (cd_utf8_to_88591,
5757 (char **) &inptr, &inbytesleft,
5758 &outptr, &outbytesleft);
5761 iconv_close (cd_utf8_to_88591);
5764 /* Test against Solaris 10 bug: Failures are not distinguishable from
5765 successful returns. */
5767 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
5768 if (cd_ascii_to_88591 != (iconv_t)(-1))
5770 static const char input[] = "\263";
5772 const char *inptr = input;
5773 size_t inbytesleft = strlen (input);
5775 size_t outbytesleft = sizeof (buf);
5776 size_t res = iconv (cd_ascii_to_88591,
5777 (char **) &inptr, &inbytesleft,
5778 &outptr, &outbytesleft);
5781 iconv_close (cd_ascii_to_88591);
5784 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
5786 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
5787 if (cd_88591_to_utf8 != (iconv_t)(-1))
5789 static const char input[] = "\304";
5790 static char buf[2] = { (char)0xDE, (char)0xAD };
5791 const char *inptr = input;
5792 size_t inbytesleft = 1;
5794 size_t outbytesleft = 1;
5795 size_t res = iconv (cd_88591_to_utf8,
5796 (char **) &inptr, &inbytesleft,
5797 &outptr, &outbytesleft);
5798 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
5800 iconv_close (cd_88591_to_utf8);
5803 #if 0 /* This bug could be worked around by the caller. */
5804 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
5806 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
5807 if (cd_88591_to_utf8 != (iconv_t)(-1))
5809 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
5811 const char *inptr = input;
5812 size_t inbytesleft = strlen (input);
5814 size_t outbytesleft = sizeof (buf);
5815 size_t res = iconv (cd_88591_to_utf8,
5816 (char **) &inptr, &inbytesleft,
5817 &outptr, &outbytesleft);
5820 iconv_close (cd_88591_to_utf8);
5824 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
5826 if (/* Try standardized names. */
5827 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
5828 /* Try IRIX, OSF/1 names. */
5829 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
5830 /* Try AIX names. */
5831 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
5832 /* Try HP-UX names. */
5833 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
5838 if ac_fn_c_try_run "$LINENO"; then :
5839 am_cv_func_iconv_works=yes
5841 am_cv_func_iconv_works=no
5843 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5844 conftest.$ac_objext conftest.beam conftest.$ac_ext
5847 LIBS="$am_save_LIBS"
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
5851 $as_echo "$am_cv_func_iconv_works" >&6; }
5852 case "$am_cv_func_iconv_works" in
5853 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
5854 *) am_func_iconv=yes ;;
5857 am_func_iconv=no am_cv_lib_iconv=no
5859 if test "$am_func_iconv" = yes; then
5861 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
5864 if test "$am_cv_lib_iconv" = yes; then
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
5866 $as_echo_n "checking how to link with libiconv... " >&6; }
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
5868 $as_echo "$LIBICONV" >&6; }
5870 CPPFLAGS="$am_save_CPPFLAGS"
5887 acl_save_prefix="$prefix"
5888 prefix="$acl_final_prefix"
5889 acl_save_exec_prefix="$exec_prefix"
5890 exec_prefix="$acl_final_exec_prefix"
5892 eval additional_includedir=\"$includedir\"
5893 eval additional_libdir=\"$libdir\"
5895 exec_prefix="$acl_save_exec_prefix"
5896 prefix="$acl_save_prefix"
5899 # Check whether --with-libintl-prefix was given.
5900 if test "${with_libintl_prefix+set}" = set; then :
5901 withval=$with_libintl_prefix;
5902 if test "X$withval" = "Xno"; then
5905 if test "X$withval" = "X"; then
5907 acl_save_prefix="$prefix"
5908 prefix="$acl_final_prefix"
5909 acl_save_exec_prefix="$exec_prefix"
5910 exec_prefix="$acl_final_exec_prefix"
5912 eval additional_includedir=\"$includedir\"
5913 eval additional_libdir=\"$libdir\"
5915 exec_prefix="$acl_save_exec_prefix"
5916 prefix="$acl_save_prefix"
5919 additional_includedir="$withval/include"
5920 additional_libdir="$withval/$acl_libdirstem"
5921 if test "$acl_libdirstem2" != "$acl_libdirstem" \
5922 && ! test -d "$withval/$acl_libdirstem"; then
5923 additional_libdir="$withval/$acl_libdirstem2"
5937 names_already_handled=
5938 names_next_round='intl '
5939 while test -n "$names_next_round"; do
5940 names_this_round="$names_next_round"
5942 for name in $names_this_round; do
5944 for n in $names_already_handled; do
5945 if test "$n" = "$name"; then
5950 if test -z "$already_handled"; then
5951 names_already_handled="$names_already_handled $name"
5952 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
5953 eval value=\"\$HAVE_LIB$uppername\"
5954 if test -n "$value"; then
5955 if test "$value" = yes; then
5956 eval value=\"\$LIB$uppername\"
5957 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
5958 eval value=\"\$LTLIB$uppername\"
5959 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
5968 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
5969 if test -n "$acl_shlibext"; then
5970 shrext=".$acl_shlibext" # typically: shrext=.so
5974 if test $use_additional = yes; then
5975 dir="$additional_libdir"
5976 if test -n "$acl_shlibext"; then
5977 if test -f "$dir/$libname$shrext"; then
5979 found_so="$dir/$libname$shrext"
5981 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5982 ver=`(cd "$dir" && \
5983 for f in "$libname$shrext".*; do echo "$f"; done \
5984 | sed -e "s,^$libname$shrext\\\\.,," \
5985 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5986 | sed 1q ) 2>/dev/null`
5987 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5989 found_so="$dir/$libname$shrext.$ver"
5992 eval library_names=\"$acl_library_names_spec\"
5993 for f in $library_names; do
5994 if test -f "$dir/$f"; then
6003 if test "X$found_dir" = "X"; then
6004 if test -f "$dir/$libname.$acl_libext"; then
6006 found_a="$dir/$libname.$acl_libext"
6009 if test "X$found_dir" != "X"; then
6010 if test -f "$dir/$libname.la"; then
6011 found_la="$dir/$libname.la"
6015 if test "X$found_dir" = "X"; then
6016 for x in $LDFLAGS $LTLIBINTL; do
6018 acl_save_prefix="$prefix"
6019 prefix="$acl_final_prefix"
6020 acl_save_exec_prefix="$exec_prefix"
6021 exec_prefix="$acl_final_exec_prefix"
6023 exec_prefix="$acl_save_exec_prefix"
6024 prefix="$acl_save_prefix"
6028 dir=`echo "X$x" | sed -e 's/^X-L//'`
6029 if test -n "$acl_shlibext"; then
6030 if test -f "$dir/$libname$shrext"; then
6032 found_so="$dir/$libname$shrext"
6034 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6035 ver=`(cd "$dir" && \
6036 for f in "$libname$shrext".*; do echo "$f"; done \
6037 | sed -e "s,^$libname$shrext\\\\.,," \
6038 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6039 | sed 1q ) 2>/dev/null`
6040 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6042 found_so="$dir/$libname$shrext.$ver"
6045 eval library_names=\"$acl_library_names_spec\"
6046 for f in $library_names; do
6047 if test -f "$dir/$f"; then
6056 if test "X$found_dir" = "X"; then
6057 if test -f "$dir/$libname.$acl_libext"; then
6059 found_a="$dir/$libname.$acl_libext"
6062 if test "X$found_dir" != "X"; then
6063 if test -f "$dir/$libname.la"; then
6064 found_la="$dir/$libname.la"
6069 if test "X$found_dir" != "X"; then
6074 if test "X$found_dir" != "X"; then
6075 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6076 if test "X$found_so" != "X"; then
6077 if test "$enable_rpath" = no \
6078 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
6079 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
6080 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6083 for x in $ltrpathdirs; do
6084 if test "X$x" = "X$found_dir"; then
6089 if test -z "$haveit"; then
6090 ltrpathdirs="$ltrpathdirs $found_dir"
6092 if test "$acl_hardcode_direct" = yes; then
6093 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6095 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
6096 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6098 for x in $rpathdirs; do
6099 if test "X$x" = "X$found_dir"; then
6104 if test -z "$haveit"; then
6105 rpathdirs="$rpathdirs $found_dir"
6109 for x in $LDFLAGS $LIBINTL; do
6111 acl_save_prefix="$prefix"
6112 prefix="$acl_final_prefix"
6113 acl_save_exec_prefix="$exec_prefix"
6114 exec_prefix="$acl_final_exec_prefix"
6116 exec_prefix="$acl_save_exec_prefix"
6117 prefix="$acl_save_prefix"
6119 if test "X$x" = "X-L$found_dir"; then
6124 if test -z "$haveit"; then
6125 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6127 if test "$acl_hardcode_minus_L" != no; then
6128 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6130 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6136 if test "X$found_a" != "X"; then
6137 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
6139 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6142 additional_includedir=
6143 case "$found_dir" in
6144 */$acl_libdirstem | */$acl_libdirstem/)
6145 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
6146 if test "$name" = 'intl'; then
6147 LIBINTL_PREFIX="$basedir"
6149 additional_includedir="$basedir/include"
6151 */$acl_libdirstem2 | */$acl_libdirstem2/)
6152 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
6153 if test "$name" = 'intl'; then
6154 LIBINTL_PREFIX="$basedir"
6156 additional_includedir="$basedir/include"
6159 if test "X$additional_includedir" != "X"; then
6160 if test "X$additional_includedir" != "X/usr/include"; then
6162 if test "X$additional_includedir" = "X/usr/local/include"; then
6163 if test -n "$GCC"; then
6165 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6169 if test -z "$haveit"; then
6170 for x in $CPPFLAGS $INCINTL; do
6172 acl_save_prefix="$prefix"
6173 prefix="$acl_final_prefix"
6174 acl_save_exec_prefix="$exec_prefix"
6175 exec_prefix="$acl_final_exec_prefix"
6177 exec_prefix="$acl_save_exec_prefix"
6178 prefix="$acl_save_prefix"
6180 if test "X$x" = "X-I$additional_includedir"; then
6185 if test -z "$haveit"; then
6186 if test -d "$additional_includedir"; then
6187 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6193 if test -n "$found_la"; then
6194 save_libdir="$libdir"
6196 */* | *\\*) . "$found_la" ;;
6197 *) . "./$found_la" ;;
6199 libdir="$save_libdir"
6200 for dep in $dependency_libs; do
6203 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
6204 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
6205 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
6207 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
6208 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
6209 if test -n "$GCC"; then
6211 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6215 if test -z "$haveit"; then
6217 for x in $LDFLAGS $LIBINTL; do
6219 acl_save_prefix="$prefix"
6220 prefix="$acl_final_prefix"
6221 acl_save_exec_prefix="$exec_prefix"
6222 exec_prefix="$acl_final_exec_prefix"
6224 exec_prefix="$acl_save_exec_prefix"
6225 prefix="$acl_save_prefix"
6227 if test "X$x" = "X-L$additional_libdir"; then
6232 if test -z "$haveit"; then
6233 if test -d "$additional_libdir"; then
6234 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6238 for x in $LDFLAGS $LTLIBINTL; do
6240 acl_save_prefix="$prefix"
6241 prefix="$acl_final_prefix"
6242 acl_save_exec_prefix="$exec_prefix"
6243 exec_prefix="$acl_final_exec_prefix"
6245 exec_prefix="$acl_save_exec_prefix"
6246 prefix="$acl_save_prefix"
6248 if test "X$x" = "X-L$additional_libdir"; then
6253 if test -z "$haveit"; then
6254 if test -d "$additional_libdir"; then
6255 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6262 dir=`echo "X$dep" | sed -e 's/^X-R//'`
6263 if test "$enable_rpath" != no; then
6265 for x in $rpathdirs; do
6266 if test "X$x" = "X$dir"; then
6271 if test -z "$haveit"; then
6272 rpathdirs="$rpathdirs $dir"
6275 for x in $ltrpathdirs; do
6276 if test "X$x" = "X$dir"; then
6281 if test -z "$haveit"; then
6282 ltrpathdirs="$ltrpathdirs $dir"
6287 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6290 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6293 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
6294 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6300 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6301 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6307 if test "X$rpathdirs" != "X"; then
6308 if test -n "$acl_hardcode_libdir_separator"; then
6310 for found_dir in $rpathdirs; do
6311 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
6313 acl_save_libdir="$libdir"
6315 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6316 libdir="$acl_save_libdir"
6317 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6319 for found_dir in $rpathdirs; do
6320 acl_save_libdir="$libdir"
6322 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6323 libdir="$acl_save_libdir"
6324 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6328 if test "X$ltrpathdirs" != "X"; then
6329 for found_dir in $ltrpathdirs; do
6330 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6340 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
6341 if eval \${$gt_func_gnugettext_libintl+:} false; then :
6342 $as_echo_n "(cached) " >&6
6344 gt_save_CPPFLAGS="$CPPFLAGS"
6345 CPPFLAGS="$CPPFLAGS $INCINTL"
6346 gt_save_LIBS="$LIBS"
6347 LIBS="$LIBS $LIBINTL"
6348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6349 /* end confdefs.h. */
6351 #include <libintl.h>
6352 $gt_revision_test_code
6353 extern int _nl_msg_cat_cntr;
6358 const char *_nl_expand_alias (const char *);
6364 bindtextdomain ("", "");
6365 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6371 if ac_fn_c_try_link "$LINENO"; then :
6372 eval "$gt_func_gnugettext_libintl=yes"
6374 eval "$gt_func_gnugettext_libintl=no"
6376 rm -f core conftest.err conftest.$ac_objext \
6377 conftest$ac_exeext conftest.$ac_ext
6378 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
6379 LIBS="$LIBS $LIBICONV"
6380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6381 /* end confdefs.h. */
6383 #include <libintl.h>
6384 $gt_revision_test_code
6385 extern int _nl_msg_cat_cntr;
6390 const char *_nl_expand_alias (const char *);
6396 bindtextdomain ("", "");
6397 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6403 if ac_fn_c_try_link "$LINENO"; then :
6404 LIBINTL="$LIBINTL $LIBICONV"
6405 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
6406 eval "$gt_func_gnugettext_libintl=yes"
6409 rm -f core conftest.err conftest.$ac_objext \
6410 conftest$ac_exeext conftest.$ac_ext
6412 CPPFLAGS="$gt_save_CPPFLAGS"
6413 LIBS="$gt_save_LIBS"
6415 eval ac_res=\$$gt_func_gnugettext_libintl
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6417 $as_echo "$ac_res" >&6; }
6420 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
6421 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
6422 && test "$PACKAGE" != gettext-runtime \
6423 && test "$PACKAGE" != gettext-tools; }; then
6424 gt_use_preinstalled_gnugettext=yes
6433 if test -n "$INTL_MACOSX_LIBS"; then
6434 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6435 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6436 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
6437 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
6441 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6442 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6444 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6452 $as_echo_n "checking whether to use NLS... " >&6; }
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6454 $as_echo "$USE_NLS" >&6; }
6455 if test "$USE_NLS" = "yes"; then
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6457 $as_echo_n "checking where the gettext function comes from... " >&6; }
6458 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6459 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6460 gt_source="external libintl"
6465 gt_source="included intl directory"
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6468 $as_echo "$gt_source" >&6; }
6471 if test "$USE_NLS" = "yes"; then
6473 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6474 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6476 $as_echo_n "checking how to link with libintl... " >&6; }
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6478 $as_echo "$LIBINTL" >&6; }
6480 for element in $INCINTL; do
6482 for x in $CPPFLAGS; do
6484 acl_save_prefix="$prefix"
6485 prefix="$acl_final_prefix"
6486 acl_save_exec_prefix="$exec_prefix"
6487 exec_prefix="$acl_final_exec_prefix"
6489 exec_prefix="$acl_save_exec_prefix"
6490 prefix="$acl_save_prefix"
6492 if test "X$x" = "X$element"; then
6497 if test -z "$haveit"; then
6498 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6505 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6508 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
6525 ############### common
6534 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6535 if test -n "$ac_tool_prefix"; then
6536 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6537 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6539 $as_echo_n "checking for $ac_word... " >&6; }
6540 if ${ac_cv_path_PKG_CONFIG+:} false; then :
6541 $as_echo_n "(cached) " >&6
6545 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6552 test -z "$as_dir" && as_dir=.
6553 for ac_exec_ext in '' $ac_executable_extensions; do
6554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6555 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6566 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6567 if test -n "$PKG_CONFIG"; then
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6569 $as_echo "$PKG_CONFIG" >&6; }
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6572 $as_echo "no" >&6; }
6577 if test -z "$ac_cv_path_PKG_CONFIG"; then
6578 ac_pt_PKG_CONFIG=$PKG_CONFIG
6579 # Extract the first word of "pkg-config", so it can be a program name with args.
6580 set dummy pkg-config; ac_word=$2
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6582 $as_echo_n "checking for $ac_word... " >&6; }
6583 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
6584 $as_echo_n "(cached) " >&6
6586 case $ac_pt_PKG_CONFIG in
6588 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6595 test -z "$as_dir" && as_dir=.
6596 for ac_exec_ext in '' $ac_executable_extensions; do
6597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6598 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6609 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6610 if test -n "$ac_pt_PKG_CONFIG"; then
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6612 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6615 $as_echo "no" >&6; }
6618 if test "x$ac_pt_PKG_CONFIG" = x; then
6621 case $cross_compiling:$ac_tool_warned in
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6625 ac_tool_warned=yes ;;
6627 PKG_CONFIG=$ac_pt_PKG_CONFIG
6630 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6634 if test -n "$PKG_CONFIG"; then
6635 _pkg_min_version=0.9.0
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
6637 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6638 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6640 $as_echo "yes" >&6; }
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6643 $as_echo "no" >&6; }
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
6650 $as_echo_n "checking for X11... " >&6; }
6652 if test -n "$X11_CFLAGS"; then
6653 pkg_cv_X11_CFLAGS="$X11_CFLAGS"
6654 elif test -n "$PKG_CONFIG"; then
6655 if test -n "$PKG_CONFIG" && \
6656 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
6657 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
6659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6660 test $ac_status = 0; }; then
6661 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
6662 test "x$?" != "x0" && pkg_failed=yes
6669 if test -n "$X11_LIBS"; then
6670 pkg_cv_X11_LIBS="$X11_LIBS"
6671 elif test -n "$PKG_CONFIG"; then
6672 if test -n "$PKG_CONFIG" && \
6673 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
6674 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
6676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6677 test $ac_status = 0; }; then
6678 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
6679 test "x$?" != "x0" && pkg_failed=yes
6689 if test $pkg_failed = yes; then
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6691 $as_echo "no" >&6; }
6693 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6694 _pkg_short_errors_supported=yes
6696 _pkg_short_errors_supported=no
6698 if test $_pkg_short_errors_supported = yes; then
6699 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1`
6701 X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1`
6703 # Put the nasty error message in config.log where it belongs
6704 echo "$X11_PKG_ERRORS" >&5
6706 as_fn_error $? "Package requirements (x11) were not met:
6710 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6711 installed software in a non-standard prefix.
6713 Alternatively, you may set the environment variables X11_CFLAGS
6714 and X11_LIBS to avoid the need to call pkg-config.
6715 See the pkg-config man page for more details." "$LINENO" 5
6716 elif test $pkg_failed = untried; then
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6718 $as_echo "no" >&6; }
6719 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6721 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6722 is in your PATH or set the PKG_CONFIG environment variable to the full
6725 Alternatively, you may set the environment variables X11_CFLAGS
6726 and X11_LIBS to avoid the need to call pkg-config.
6727 See the pkg-config man page for more details.
6729 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6730 See \`config.log' for more details" "$LINENO" 5; }
6732 X11_CFLAGS=$pkg_cv_X11_CFLAGS
6733 X11_LIBS=$pkg_cv_X11_LIBS
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6735 $as_echo "yes" >&6; }
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
6744 $as_echo_n "checking for XEXT... " >&6; }
6746 if test -n "$XEXT_CFLAGS"; then
6747 pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
6748 elif test -n "$PKG_CONFIG"; then
6749 if test -n "$PKG_CONFIG" && \
6750 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
6751 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
6753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6754 test $ac_status = 0; }; then
6755 pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xext" 2>/dev/null`
6756 test "x$?" != "x0" && pkg_failed=yes
6763 if test -n "$XEXT_LIBS"; then
6764 pkg_cv_XEXT_LIBS="$XEXT_LIBS"
6765 elif test -n "$PKG_CONFIG"; then
6766 if test -n "$PKG_CONFIG" && \
6767 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
6768 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
6770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6771 test $ac_status = 0; }; then
6772 pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xext" 2>/dev/null`
6773 test "x$?" != "x0" && pkg_failed=yes
6783 if test $pkg_failed = yes; then
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6785 $as_echo "no" >&6; }
6787 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6788 _pkg_short_errors_supported=yes
6790 _pkg_short_errors_supported=no
6792 if test $_pkg_short_errors_supported = yes; then
6793 XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xext" 2>&1`
6795 XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xext" 2>&1`
6797 # Put the nasty error message in config.log where it belongs
6798 echo "$XEXT_PKG_ERRORS" >&5
6800 as_fn_error $? "Package requirements (xext) were not met:
6804 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6805 installed software in a non-standard prefix.
6807 Alternatively, you may set the environment variables XEXT_CFLAGS
6808 and XEXT_LIBS to avoid the need to call pkg-config.
6809 See the pkg-config man page for more details." "$LINENO" 5
6810 elif test $pkg_failed = untried; then
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6812 $as_echo "no" >&6; }
6813 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6815 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6816 is in your PATH or set the PKG_CONFIG environment variable to the full
6819 Alternatively, you may set the environment variables XEXT_CFLAGS
6820 and XEXT_LIBS to avoid the need to call pkg-config.
6821 See the pkg-config man page for more details.
6823 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6824 See \`config.log' for more details" "$LINENO" 5; }
6826 XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
6827 XEXT_LIBS=$pkg_cv_XEXT_LIBS
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6829 $as_echo "yes" >&6; }
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
6839 $as_echo_n "checking for GTK... " >&6; }
6841 if test -n "$GTK_CFLAGS"; then
6842 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
6843 elif test -n "$PKG_CONFIG"; then
6844 if test -n "$PKG_CONFIG" && \
6845 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
6846 ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
6848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6849 test $ac_status = 0; }; then
6850 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0" 2>/dev/null`
6851 test "x$?" != "x0" && pkg_failed=yes
6858 if test -n "$GTK_LIBS"; then
6859 pkg_cv_GTK_LIBS="$GTK_LIBS"
6860 elif test -n "$PKG_CONFIG"; then
6861 if test -n "$PKG_CONFIG" && \
6862 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
6863 ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
6865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6866 test $ac_status = 0; }; then
6867 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0" 2>/dev/null`
6868 test "x$?" != "x0" && pkg_failed=yes
6878 if test $pkg_failed = yes; then
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6880 $as_echo "no" >&6; }
6882 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6883 _pkg_short_errors_supported=yes
6885 _pkg_short_errors_supported=no
6887 if test $_pkg_short_errors_supported = yes; then
6888 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0" 2>&1`
6890 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0" 2>&1`
6892 # Put the nasty error message in config.log where it belongs
6893 echo "$GTK_PKG_ERRORS" >&5
6895 as_fn_error $? "Package requirements (gtk+-3.0) were not met:
6899 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6900 installed software in a non-standard prefix.
6902 Alternatively, you may set the environment variables GTK_CFLAGS
6903 and GTK_LIBS to avoid the need to call pkg-config.
6904 See the pkg-config man page for more details." "$LINENO" 5
6905 elif test $pkg_failed = untried; then
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6907 $as_echo "no" >&6; }
6908 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6910 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6911 is in your PATH or set the PKG_CONFIG environment variable to the full
6914 Alternatively, you may set the environment variables GTK_CFLAGS
6915 and GTK_LIBS to avoid the need to call pkg-config.
6916 See the pkg-config man page for more details.
6918 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6919 See \`config.log' for more details" "$LINENO" 5; }
6921 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
6922 GTK_LIBS=$pkg_cv_GTK_LIBS
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6924 $as_echo "yes" >&6; }
6927 # ensure that only allowed headers are included
6928 GTK_CFLAGS+=" -DGTK_DISABLE_SINGLE_INCLUDES "
6929 # ensure that no gtk deprecated symbols are used
6930 GTK_CFLAGS+=" -DGDK_DISABLE_DEPRECATED "
6931 # GTK_CFLAGS+=" -DGTK_DISABLE_DEPRECATED "
6932 # ensure use of accessors
6933 GTK_CFLAGS+=" -DGSEAL_ENABLE "
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
6942 $as_echo_n "checking for JSON... " >&6; }
6944 if test -n "$JSON_CFLAGS"; then
6945 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
6946 elif test -n "$PKG_CONFIG"; then
6947 if test -n "$PKG_CONFIG" && \
6948 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
6949 ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
6951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6952 test $ac_status = 0; }; then
6953 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json-c" 2>/dev/null`
6954 test "x$?" != "x0" && pkg_failed=yes
6961 if test -n "$JSON_LIBS"; then
6962 pkg_cv_JSON_LIBS="$JSON_LIBS"
6963 elif test -n "$PKG_CONFIG"; then
6964 if test -n "$PKG_CONFIG" && \
6965 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
6966 ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
6968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6969 test $ac_status = 0; }; then
6970 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json-c" 2>/dev/null`
6971 test "x$?" != "x0" && pkg_failed=yes
6981 if test $pkg_failed = yes; then
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6983 $as_echo "no" >&6; }
6985 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6986 _pkg_short_errors_supported=yes
6988 _pkg_short_errors_supported=no
6990 if test $_pkg_short_errors_supported = yes; then
6991 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c" 2>&1`
6993 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json-c" 2>&1`
6995 # Put the nasty error message in config.log where it belongs
6996 echo "$JSON_PKG_ERRORS" >&5
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json-c missing\"" >&5
6999 $as_echo "$as_me: WARNING: \"json-c missing\"" >&2;}
7000 elif test $pkg_failed = untried; then
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7002 $as_echo "no" >&6; }
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json-c missing\"" >&5
7004 $as_echo "$as_me: WARNING: \"json-c missing\"" >&2;}
7006 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
7007 JSON_LIBS=$pkg_cv_JSON_LIBS
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7009 $as_echo "yes" >&6; }
7011 $as_echo "#define HAVE_JSON 1" >>confdefs.h
7015 if test "$JSON_LIBS" == ""; then
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
7019 $as_echo_n "checking for JSON... " >&6; }
7021 if test -n "$JSON_CFLAGS"; then
7022 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
7023 elif test -n "$PKG_CONFIG"; then
7024 if test -n "$PKG_CONFIG" && \
7025 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
7026 ($PKG_CONFIG --exists --print-errors "json") 2>&5
7028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7029 test $ac_status = 0; }; then
7030 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json" 2>/dev/null`
7031 test "x$?" != "x0" && pkg_failed=yes
7038 if test -n "$JSON_LIBS"; then
7039 pkg_cv_JSON_LIBS="$JSON_LIBS"
7040 elif test -n "$PKG_CONFIG"; then
7041 if test -n "$PKG_CONFIG" && \
7042 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
7043 ($PKG_CONFIG --exists --print-errors "json") 2>&5
7045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7046 test $ac_status = 0; }; then
7047 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json" 2>/dev/null`
7048 test "x$?" != "x0" && pkg_failed=yes
7058 if test $pkg_failed = yes; then
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7060 $as_echo "no" >&6; }
7062 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7063 _pkg_short_errors_supported=yes
7065 _pkg_short_errors_supported=no
7067 if test $_pkg_short_errors_supported = yes; then
7068 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json" 2>&1`
7070 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json" 2>&1`
7072 # Put the nasty error message in config.log where it belongs
7073 echo "$JSON_PKG_ERRORS" >&5
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json0 missing\"" >&5
7076 $as_echo "$as_me: WARNING: \"json0 missing\"" >&2;}
7077 elif test $pkg_failed = untried; then
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7079 $as_echo "no" >&6; }
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json0 missing\"" >&5
7081 $as_echo "$as_me: WARNING: \"json0 missing\"" >&2;}
7083 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
7084 JSON_LIBS=$pkg_cv_JSON_LIBS
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7086 $as_echo "yes" >&6; }
7088 $as_echo "#define HAVE_JSON 1" >>confdefs.h
7091 $as_echo "#define HAVE_JSON_0 1" >>confdefs.h
7096 if test -n "$JSON_LIBS"; then
7110 # Check whether --enable-schemas-compile was given.
7111 if test "${enable_schemas_compile+set}" = set; then :
7112 enableval=$enable_schemas_compile; case ${enableval} in
7113 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
7114 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
7115 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
7127 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7128 if test -n "$ac_tool_prefix"; then
7129 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7130 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7132 $as_echo_n "checking for $ac_word... " >&6; }
7133 if ${ac_cv_path_PKG_CONFIG+:} false; then :
7134 $as_echo_n "(cached) " >&6
7138 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7145 test -z "$as_dir" && as_dir=.
7146 for ac_exec_ext in '' $ac_executable_extensions; do
7147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7148 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7159 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7160 if test -n "$PKG_CONFIG"; then
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7162 $as_echo "$PKG_CONFIG" >&6; }
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7165 $as_echo "no" >&6; }
7170 if test -z "$ac_cv_path_PKG_CONFIG"; then
7171 ac_pt_PKG_CONFIG=$PKG_CONFIG
7172 # Extract the first word of "pkg-config", so it can be a program name with args.
7173 set dummy pkg-config; ac_word=$2
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7175 $as_echo_n "checking for $ac_word... " >&6; }
7176 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
7177 $as_echo_n "(cached) " >&6
7179 case $ac_pt_PKG_CONFIG in
7181 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
7184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7188 test -z "$as_dir" && as_dir=.
7189 for ac_exec_ext in '' $ac_executable_extensions; do
7190 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7191 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7202 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
7203 if test -n "$ac_pt_PKG_CONFIG"; then
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
7205 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7208 $as_echo "no" >&6; }
7211 if test "x$ac_pt_PKG_CONFIG" = x; then
7214 case $cross_compiling:$ac_tool_warned in
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7217 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7218 ac_tool_warned=yes ;;
7220 PKG_CONFIG=$ac_pt_PKG_CONFIG
7223 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
7227 if test -n "$PKG_CONFIG"; then
7228 _pkg_min_version=0.16
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
7230 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
7231 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7233 $as_echo "yes" >&6; }
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7236 $as_echo "no" >&6; }
7240 gsettingsschemadir=${datadir}/glib-2.0/schemas
7242 if test x$cross_compiling != xyes; then
7243 GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
7245 # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
7246 set dummy glib-compile-schemas; ac_word=$2
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7248 $as_echo_n "checking for $ac_word... " >&6; }
7249 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
7250 $as_echo_n "(cached) " >&6
7252 case $GLIB_COMPILE_SCHEMAS in
7254 ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
7257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7261 test -z "$as_dir" && as_dir=.
7262 for ac_exec_ext in '' $ac_executable_extensions; do
7263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7264 ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
7265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7275 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
7276 if test -n "$GLIB_COMPILE_SCHEMAS"; then
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
7278 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7281 $as_echo "no" >&6; }
7287 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
7288 as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
7294 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
7296 mostlyclean-am: clean-gsettings-schemas
7298 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
7300 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
7301 $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p $(@D) && touch $@
7303 all-am: $(gsettings_SCHEMAS:.xml=.valid)
7304 uninstall-am: uninstall-gsettings-schemas
7305 install-data-am: install-gsettings-schemas
7307 .SECONDARY: $(gsettings_SCHEMAS)
7309 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
7311 if test -n "$^"; then \
7312 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
7313 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
7314 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
7317 uninstall-gsettings-schemas:
7318 @$(NORMAL_UNINSTALL)
7319 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
7320 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
7321 test -n "$$files" || exit 0; \
7322 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
7323 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
7324 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
7326 clean-gsettings-schemas:
7327 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
7329 ifdef gsettings_ENUM_NAMESPACE
7330 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
7331 $(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 $@
7341 ac_config_files="$ac_config_files Makefile icons/hicolor/scalable/Makefile po/Makefile.in src/Makefile src/glade/Makefile tests/Makefile"
7344 for ac_prog in help2man
7346 # Extract the first word of "$ac_prog", so it can be a program name with args.
7347 set dummy $ac_prog; ac_word=$2
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7349 $as_echo_n "checking for $ac_word... " >&6; }
7350 if ${ac_cv_prog_HELP2MAN+:} false; then :
7351 $as_echo_n "(cached) " >&6
7353 if test -n "$HELP2MAN"; then
7354 ac_cv_prog_HELP2MAN="$HELP2MAN" # Let the user override the test.
7356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7360 test -z "$as_dir" && as_dir=.
7361 for ac_exec_ext in '' $ac_executable_extensions; do
7362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7363 ac_cv_prog_HELP2MAN="$ac_prog"
7364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7373 HELP2MAN=$ac_cv_prog_HELP2MAN
7374 if test -n "$HELP2MAN"; then
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5
7376 $as_echo "$HELP2MAN" >&6; }
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7379 $as_echo "no" >&6; }
7383 test -n "$HELP2MAN" && break
7387 # Extract the first word of "cppcheck", so it can be a program name with args.
7388 set dummy cppcheck; ac_word=$2
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 $as_echo_n "checking for $ac_word... " >&6; }
7391 if ${ac_cv_prog_HAVE_CPPCHECK+:} false; then :
7392 $as_echo_n "(cached) " >&6
7394 if test -n "$HAVE_CPPCHECK"; then
7395 ac_cv_prog_HAVE_CPPCHECK="$HAVE_CPPCHECK" # Let the user override the test.
7397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7401 test -z "$as_dir" && as_dir=.
7402 for ac_exec_ext in '' $ac_executable_extensions; do
7403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7404 ac_cv_prog_HAVE_CPPCHECK="yes"
7405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7414 HAVE_CPPCHECK=$ac_cv_prog_HAVE_CPPCHECK
7415 if test -n "$HAVE_CPPCHECK"; then
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CPPCHECK" >&5
7417 $as_echo "$HAVE_CPPCHECK" >&6; }
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420 $as_echo "no" >&6; }
7424 if test -n "$HAVE_CPPCHECK"; then
7433 cat >confcache <<\_ACEOF
7434 # This file is a shell script that caches the results of configure
7435 # tests run on this system so they can be shared between configure
7436 # scripts and configure runs, see configure's option --config-cache.
7437 # It is not useful on other systems. If it contains results you don't
7438 # want to keep, you may remove or edit it.
7440 # config.status only pays attention to the cache file if you give it
7441 # the --recheck option to rerun configure.
7443 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7444 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7449 # The following way of writing the cache mishandles newlines in values,
7450 # but we know of no workaround that is simple, portable, and efficient.
7451 # So, we kill variables containing newlines.
7452 # Ultrix sh set writes to stderr and can't be redirected directly,
7453 # and sets the high bit in the cache file unless we assign to the vars.
7455 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7456 eval ac_val=\$$ac_var
7460 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7461 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7464 _ | IFS | as_nl) ;; #(
7465 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7466 *) { eval $ac_var=; unset $ac_var;} ;;
7472 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7473 *${as_nl}ac_space=\ *)
7474 # `set' does not quote correctly, so add quotes: double-quote
7475 # substitution turns \\\\ into \\, and sed turns \\ into \.
7478 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7481 # `set' quotes correctly as required by POSIX, so do not add quotes.
7482 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7491 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7493 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7495 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7496 if test -w "$cache_file"; then
7497 if test "x$cache_file" != "x/dev/null"; then
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7499 $as_echo "$as_me: updating cache $cache_file" >&6;}
7500 if test ! -f "$cache_file" || test -h "$cache_file"; then
7501 cat confcache >"$cache_file"
7503 case $cache_file in #(
7505 mv -f confcache "$cache_file"$$ &&
7506 mv -f "$cache_file"$$ "$cache_file" ;; #(
7508 mv -f confcache "$cache_file" ;;
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7514 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7519 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7520 # Let make expand exec_prefix.
7521 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7523 DEFS=-DHAVE_CONFIG_H
7528 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7529 # 1. Remove the extension, and $U if already installed.
7530 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7531 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7532 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7533 # will be set to the directory where LIBOBJS objects are built.
7534 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7535 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7539 LTLIBOBJS=$ac_ltlibobjs
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
7543 $as_echo_n "checking that generated files are newer than configure... " >&6; }
7544 if test -n "$am_sleep_pid"; then
7545 # Hide warnings about reused PIDs.
7546 wait $am_sleep_pid 2>/dev/null
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
7549 $as_echo "done" >&6; }
7550 if test -n "$EXEEXT"; then
7552 am__EXEEXT_FALSE='#'
7558 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7559 as_fn_error $? "conditional \"AMDEP\" was never defined.
7560 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7562 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7563 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
7564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7566 if test -z "${JSON_TRUE}" && test -z "${JSON_FALSE}"; then
7567 as_fn_error $? "conditional \"JSON\" was never defined.
7568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7570 if test -z "${CPPCHECK_TRUE}" && test -z "${CPPCHECK_FALSE}"; then
7571 as_fn_error $? "conditional \"CPPCHECK\" was never defined.
7572 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7575 : "${CONFIG_STATUS=./config.status}"
7577 ac_clean_files_save=$ac_clean_files
7578 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7580 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7582 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7584 # Generated by $as_me.
7585 # Run this file to recreate the current configuration.
7586 # Compiler output produced by configure, useful for debugging
7587 # configure, is in config.log if it exists.
7593 SHELL=\${CONFIG_SHELL-$SHELL}
7596 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7597 ## -------------------- ##
7598 ## M4sh Initialization. ##
7599 ## -------------------- ##
7601 # Be more Bourne compatible
7602 DUALCASE=1; export DUALCASE # for MKS sh
7603 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7606 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7607 # is contrary to our usage. Disable this feature.
7608 alias -g '${1+"$@"}'='"$@"'
7609 setopt NO_GLOB_SUBST
7611 case `(set -o) 2>/dev/null` in #(
7623 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7624 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7625 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7626 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7627 # Prefer a ksh shell builtin over an external printf program on Solaris,
7628 # but without wasting forks for bash or zsh.
7629 if test -z "$BASH_VERSION$ZSH_VERSION" \
7630 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7631 as_echo='print -r --'
7632 as_echo_n='print -rn --'
7633 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7634 as_echo='printf %s\n'
7635 as_echo_n='printf %s'
7637 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7638 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7639 as_echo_n='/usr/ucb/echo -n'
7641 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7642 as_echo_n_body='eval
7646 expr "X$arg" : "X\\(.*\\)$as_nl";
7647 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7649 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7651 export as_echo_n_body
7652 as_echo_n='sh -c $as_echo_n_body as_echo'
7655 as_echo='sh -c $as_echo_body as_echo'
7658 # The user is always right.
7659 if test "${PATH_SEPARATOR+set}" != set; then
7661 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7662 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7669 # We need space, tab and new line, in precisely that order. Quoting is
7670 # there to prevent editors from complaining about space-tab.
7671 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7672 # splitting by setting IFS to empty value.)
7675 # Find who we are. Look in the path if we contain no directory separator.
7678 *[\\/]* ) as_myself=$0 ;;
7679 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7683 test -z "$as_dir" && as_dir=.
7684 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7690 # We did not find ourselves, most probably we were run as `sh COMMAND'
7691 # in which case we are not to be found in the path.
7692 if test "x$as_myself" = x; then
7695 if test ! -f "$as_myself"; then
7696 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7700 # Unset variables that we do not need and which cause bugs (e.g. in
7701 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7702 # suppresses any "Segmentation fault" message there. '((' could
7703 # trigger a bug in pdksh 5.2.14.
7704 for as_var in BASH_ENV ENV MAIL MAILPATH
7705 do eval test x\${$as_var+set} = xset \
7706 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7719 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7722 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7723 # ----------------------------------------
7724 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7725 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7726 # script with STATUS, using 1 if that was 0.
7729 as_status=$1; test $as_status -eq 0 && as_status=1
7731 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7732 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7734 $as_echo "$as_me: error: $2" >&2
7735 as_fn_exit $as_status
7739 # as_fn_set_status STATUS
7740 # -----------------------
7741 # Set $? to STATUS, without forking.
7745 } # as_fn_set_status
7749 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7759 # Portably unset VAR.
7762 { eval $1=; unset $1;}
7764 as_unset=as_fn_unset
7765 # as_fn_append VAR VALUE
7766 # ----------------------
7767 # Append the text in VALUE to the end of the definition contained in VAR. Take
7768 # advantage of any shell optimizations that allow amortized linear growth over
7769 # repeated appends, instead of the typical quadratic growth present in naive
7771 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7772 eval 'as_fn_append ()
7783 # as_fn_arith ARG...
7784 # ------------------
7785 # Perform arithmetic evaluation on the ARGs, and store the result in the
7786 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7787 # must be portable across $(()) and expr.
7788 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7789 eval 'as_fn_arith ()
7796 as_val=`expr "$@" || test $? -eq 1`
7801 if expr a : '\(a\)' >/dev/null 2>&1 &&
7802 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7808 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7809 as_basename=basename
7814 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7820 as_me=`$as_basename -- "$0" ||
7821 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7822 X"$0" : 'X\(//\)$' \| \
7823 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7825 sed '/^.*\/\([^/][^/]*\)\/*$/{
7839 # Avoid depending upon Character Ranges.
7840 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7841 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7842 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7843 as_cr_digits='0123456789'
7844 as_cr_alnum=$as_cr_Letters$as_cr_digits
7846 ECHO_C= ECHO_N= ECHO_T=
7847 case `echo -n x` in #(((((
7849 case `echo 'xy\c'` in
7850 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7852 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7859 rm -f conf$$ conf$$.exe conf$$.file
7860 if test -d conf$$.dir; then
7861 rm -f conf$$.dir/conf$$.file
7864 mkdir conf$$.dir 2>/dev/null
7866 if (echo >conf$$.file) 2>/dev/null; then
7867 if ln -s conf$$.file conf$$ 2>/dev/null; then
7869 # ... but there are two gotchas:
7870 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7871 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7872 # In both cases, we have to default to `cp -pR'.
7873 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7875 elif ln conf$$.file conf$$ 2>/dev/null; then
7883 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7884 rmdir conf$$.dir 2>/dev/null
7889 # Create "$as_dir" as a directory, including parents if necessary.
7894 -*) as_dir=./$as_dir;;
7896 test -d "$as_dir" || eval $as_mkdir_p || {
7900 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7901 *) as_qdir=$as_dir;;
7903 as_dirs="'$as_qdir' $as_dirs"
7904 as_dir=`$as_dirname -- "$as_dir" ||
7905 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7906 X"$as_dir" : 'X\(//\)[^/]' \| \
7907 X"$as_dir" : 'X\(//\)$' \| \
7908 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7909 $as_echo X"$as_dir" |
7910 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7927 test -d "$as_dir" && break
7929 test -z "$as_dirs" || eval "mkdir $as_dirs"
7930 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7934 if mkdir -p . 2>/dev/null; then
7935 as_mkdir_p='mkdir -p "$as_dir"'
7937 test -d ./-p && rmdir ./-p
7942 # as_fn_executable_p FILE
7943 # -----------------------
7944 # Test if FILE is an executable regular file.
7945 as_fn_executable_p ()
7947 test -f "$1" && test -x "$1"
7948 } # as_fn_executable_p
7950 as_executable_p=as_fn_executable_p
7952 # Sed expression to map a string onto a valid CPP name.
7953 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7955 # Sed expression to map a string onto a valid variable name.
7956 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7960 ## ----------------------------------- ##
7961 ## Main body of $CONFIG_STATUS script. ##
7962 ## ----------------------------------- ##
7964 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7967 # Save the log message, to keep $0 and so on meaningful, and to
7968 # report actual input values of CONFIG_FILES etc. instead of their
7969 # values after options handling.
7971 This file was extended by ptask $as_me 0.0.6, which was
7972 generated by GNU Autoconf 2.69. Invocation command line was
7974 CONFIG_FILES = $CONFIG_FILES
7975 CONFIG_HEADERS = $CONFIG_HEADERS
7976 CONFIG_LINKS = $CONFIG_LINKS
7977 CONFIG_COMMANDS = $CONFIG_COMMANDS
7980 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7985 case $ac_config_files in *"
7986 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7989 case $ac_config_headers in *"
7990 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7994 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7995 # Files that config.status was made for.
7996 config_files="$ac_config_files"
7997 config_headers="$ac_config_headers"
7998 config_commands="$ac_config_commands"
8002 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8004 \`$as_me' instantiates files and other configuration actions
8005 from templates according to the current configuration. Unless the files
8006 and actions are specified as TAGs, all are instantiated by default.
8008 Usage: $0 [OPTION]... [TAG]...
8010 -h, --help print this help, then exit
8011 -V, --version print version number and configuration settings, then exit
8012 --config print configuration, then exit
8013 -q, --quiet, --silent
8014 do not print progress messages
8015 -d, --debug don't remove temporary files
8016 --recheck update $as_me by reconfiguring in the same conditions
8017 --file=FILE[:TEMPLATE]
8018 instantiate the configuration file FILE
8019 --header=FILE[:TEMPLATE]
8020 instantiate the configuration header FILE
8022 Configuration files:
8025 Configuration headers:
8028 Configuration commands:
8031 Report bugs to <jeanfi@gmail.com>.
8032 ptask home page: <http://wpitchoune.net/ptask>."
8035 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8036 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8038 ptask config.status 0.0.6
8039 configured by $0, generated by GNU Autoconf 2.69,
8040 with options \\"\$ac_cs_config\\"
8042 Copyright (C) 2012 Free Software Foundation, Inc.
8043 This config.status script is free software; the Free Software Foundation
8044 gives unlimited permission to copy, distribute and modify it."
8051 test -n "\$AWK" || AWK=awk
8054 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8055 # The default lists apply if the user does not specify any file.
8061 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8062 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8066 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8078 # Handling of the options.
8079 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8081 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8082 $as_echo "$ac_cs_version"; exit ;;
8083 --config | --confi | --conf | --con | --co | --c )
8084 $as_echo "$ac_cs_config"; exit ;;
8085 --debug | --debu | --deb | --de | --d | -d )
8087 --file | --fil | --fi | --f )
8090 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8091 '') as_fn_error $? "missing file argument" ;;
8093 as_fn_append CONFIG_FILES " '$ac_optarg'"
8094 ac_need_defaults=false;;
8095 --header | --heade | --head | --hea )
8098 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8100 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8101 ac_need_defaults=false;;
8103 # Conflict between --help and --header
8104 as_fn_error $? "ambiguous option: \`$1'
8105 Try \`$0 --help' for more information.";;
8106 --help | --hel | -h )
8107 $as_echo "$ac_cs_usage"; exit ;;
8108 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8109 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8113 -*) as_fn_error $? "unrecognized option: \`$1'
8114 Try \`$0 --help' for more information." ;;
8116 *) as_fn_append ac_config_targets " $1"
8117 ac_need_defaults=false ;;
8123 ac_configure_extra_args=
8125 if $ac_cs_silent; then
8127 ac_configure_extra_args="$ac_configure_extra_args --silent"
8131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8132 if \$ac_cs_recheck; then
8133 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8135 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8136 CONFIG_SHELL='$SHELL'
8142 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8146 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8147 ## Running $as_me. ##
8153 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8157 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8158 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
8159 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
8160 # from automake < 1.5.
8161 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
8162 # Capture the value of LINGUAS because we need it to compute CATALOGS.
8163 LINGUAS="${LINGUAS-%UNSET%}"
8168 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8170 # Handling of arguments.
8171 for ac_config_target in $ac_config_targets
8173 case $ac_config_target in
8174 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8175 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8176 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
8177 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8178 "icons/hicolor/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/scalable/Makefile" ;;
8179 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
8180 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8181 "src/glade/Makefile") CONFIG_FILES="$CONFIG_FILES src/glade/Makefile" ;;
8182 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
8184 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8189 # If the user did not use the arguments to specify the items to instantiate,
8190 # then the envvar interface is used. Set only those that are not.
8191 # We use the long form for the default assignment because of an extremely
8192 # bizarre bug on SunOS 4.1.3.
8193 if $ac_need_defaults; then
8194 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8195 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8196 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8199 # Have a temporary directory for convenience. Make it in the build tree
8200 # simply because there is no reason against having it here, and in addition,
8201 # creating and moving files from /tmp can sometimes cause problems.
8202 # Hook for its removal unless debugging.
8203 # Note that there is a small window in which the directory will not be cleaned:
8204 # after its creation but before its name has been assigned to `$tmp'.
8208 trap 'exit_status=$?
8210 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8212 trap 'as_fn_exit 1' 1 2 13 15
8214 # Create a (secure) tmp directory for tmp files.
8217 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8221 tmp=./conf$$-$RANDOM
8222 (umask 077 && mkdir "$tmp")
8223 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8226 # Set up the scripts for CONFIG_FILES section.
8227 # No need to generate them if there are no CONFIG_FILES.
8228 # This happens for instance with `./config.status config.h'.
8229 if test -n "$CONFIG_FILES"; then
8232 ac_cr=`echo X | tr X '\015'`
8233 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8234 # But we know of no other shell where ac_cr would be empty at this
8235 # point, so we can use a bashism as a fallback.
8236 if test "x$ac_cr" = x; then
8237 eval ac_cr=\$\'\\r\'
8239 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8240 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8246 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8251 echo "cat >conf$$subs.awk <<_ACEOF" &&
8252 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8255 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8256 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8258 for ac_last_try in false false false false false :; do
8259 . ./conf$$subs.sh ||
8260 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8262 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8263 if test $ac_delim_n = $ac_delim_num; then
8265 elif $ac_last_try; then
8266 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8268 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8273 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8274 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8278 s/^/S["/; s/!.*/"]=/
8288 s/\(.\{148\}\)..*/\1/
8290 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8295 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8302 s/\(.\{148\}\)..*/\1/
8304 s/["\\]/\\&/g; s/^/"/; s/$/"/
8308 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8313 ' <conf$$subs.awk | sed '
8318 ' >>$CONFIG_STATUS || ac_write_fail=1
8319 rm -f conf$$subs.awk
8320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8322 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8323 for (key in S) S_is_set[key] = 1
8329 nfields = split(line, field, "@")
8331 len = length(field[1])
8332 for (i = 2; i < nfields; i++) {
8334 keylen = length(key)
8335 if (S_is_set[key]) {
8337 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8338 len += length(value) + length(field[++i])
8349 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8350 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8351 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8354 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8355 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8358 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8359 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8360 # trailing colons and then remove the whole line if VPATH becomes empty
8361 # (actually we leave an empty line to preserve line numbers).
8362 if test "x$srcdir" = x.; then
8363 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8382 fi # test -n "$CONFIG_FILES"
8384 # Set up the scripts for CONFIG_HEADERS section.
8385 # No need to generate them if there are no CONFIG_HEADERS.
8386 # This happens for instance with `./config.status Makefile'.
8387 if test -n "$CONFIG_HEADERS"; then
8388 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
8392 # Transform confdefs.h into an awk script `defines.awk', embedded as
8393 # here-document in config.status, that substitutes the proper values into
8394 # config.h.in to produce config.h.
8396 # Create a delimiter string that does not exist in confdefs.h, to ease
8397 # handling of long lines.
8399 for ac_last_try in false false :; do
8400 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
8401 if test -z "$ac_tt"; then
8403 elif $ac_last_try; then
8404 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8406 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8410 # For the awk script, D is an array of macro values keyed by name,
8411 # likewise P contains macro parameters if any. Preserve backslash
8412 # newline sequences.
8414 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8416 s/.\{148\}/&'"$ac_delim"'/g
8419 s/^[ ]*#[ ]*define[ ][ ]*/ /
8426 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8428 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
8432 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8433 D["\1"]=" \3\\\\\\n"\\/p
8435 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8440 s/.\{148\}/&'"$ac_delim"'/g
8445 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8448 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8450 ' <confdefs.h | sed '
8451 s/'"$ac_delim"'/"\\\
8452 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8454 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8455 for (key in D) D_is_set[key] = 1
8458 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8460 split(line, arg, " ")
8461 if (arg[1] == "#") {
8465 defundef = substr(arg[1], 2)
8468 split(mac1, mac2, "(") #)
8470 prefix = substr(line, 1, index(line, defundef) - 1)
8471 if (D_is_set[macro]) {
8472 # Preserve the white space surrounding the "#".
8473 print prefix "define", macro P[macro] D[macro]
8476 # Replace #undef with comments. This is necessary, for example,
8477 # in the case of _POSIX_SOURCE, which is predefined and required
8478 # on some systems where configure will not decide to define it.
8479 if (defundef == "undef") {
8480 print "/*", prefix defundef, macro, "*/"
8488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8489 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
8490 fi # test -n "$CONFIG_HEADERS"
8493 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8498 :[FHLC]) ac_mode=$ac_tag; continue;;
8500 case $ac_mode$ac_tag in
8502 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8503 :[FH]-) ac_tag=-:-;;
8504 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8521 -) ac_f="$ac_tmp/stdin";;
8522 *) # Look for the file first in the build tree, then in the source tree
8523 # (if the path is not absolute). The absolute path cannot be DOS-style,
8524 # because $ac_f cannot contain `:'.
8528 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8530 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8532 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8533 as_fn_append ac_file_inputs " '$ac_f'"
8536 # Let's still pretend it is `configure' which instantiates (i.e., don't
8537 # use $as_me), people would be surprised to read:
8538 # /* config.h. Generated by config.status. */
8539 configure_input='Generated from '`
8540 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8542 if test x"$ac_file" != x-; then
8543 configure_input="$ac_file. $configure_input"
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8545 $as_echo "$as_me: creating $ac_file" >&6;}
8547 # Neutralize special characters interpreted by sed in replacement strings.
8548 case $configure_input in #(
8549 *\&* | *\|* | *\\* )
8550 ac_sed_conf_input=`$as_echo "$configure_input" |
8551 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8552 *) ac_sed_conf_input=$configure_input;;
8556 *:-:* | *:-) cat >"$ac_tmp/stdin" \
8557 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8562 ac_dir=`$as_dirname -- "$ac_file" ||
8563 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8564 X"$ac_file" : 'X\(//\)[^/]' \| \
8565 X"$ac_file" : 'X\(//\)$' \| \
8566 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8567 $as_echo X"$ac_file" |
8568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8585 as_dir="$ac_dir"; as_fn_mkdir_p
8589 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8591 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8592 # A ".." for each directory in $ac_dir_suffix.
8593 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8594 case $ac_top_builddir_sub in
8595 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8596 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8599 ac_abs_top_builddir=$ac_pwd
8600 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8601 # for backward compatibility:
8602 ac_top_builddir=$ac_top_build_prefix
8605 .) # We are building in place.
8607 ac_top_srcdir=$ac_top_builddir_sub
8608 ac_abs_top_srcdir=$ac_pwd ;;
8609 [\\/]* | ?:[\\/]* ) # Absolute name.
8610 ac_srcdir=$srcdir$ac_dir_suffix;
8611 ac_top_srcdir=$srcdir
8612 ac_abs_top_srcdir=$srcdir ;;
8614 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8615 ac_top_srcdir=$ac_top_build_prefix$srcdir
8616 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8618 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8628 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8629 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8633 [\\/$]* | ?:[\\/]* ) ;;
8634 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8638 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8639 # If the template does not know about datarootdir, expand it.
8640 # FIXME: This hack should be removed a few years after 2.60.
8641 ac_datarootdir_hack=; ac_datarootdir_seen=
8652 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8653 *datarootdir*) ac_datarootdir_seen=yes;;
8654 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8656 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8658 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8659 ac_datarootdir_hack='
8660 s&@datadir@&$datadir&g
8661 s&@docdir@&$docdir&g
8662 s&@infodir@&$infodir&g
8663 s&@localedir@&$localedir&g
8664 s&@mandir@&$mandir&g
8665 s&\\\${datarootdir}&$datarootdir&g' ;;
8669 # Neutralize VPATH when `$srcdir' = `.'.
8670 # Shell code in configure.ac might set extrasub.
8671 # FIXME: do we really want to maintain this feature?
8672 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8673 ac_sed_extra="$ac_vpsub
8676 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8678 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8679 s|@configure_input@|$ac_sed_conf_input|;t t
8680 s&@top_builddir@&$ac_top_builddir_sub&;t t
8681 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8682 s&@srcdir@&$ac_srcdir&;t t
8683 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8684 s&@top_srcdir@&$ac_top_srcdir&;t t
8685 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8686 s&@builddir@&$ac_builddir&;t t
8687 s&@abs_builddir@&$ac_abs_builddir&;t t
8688 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8689 s&@INSTALL@&$ac_INSTALL&;t t
8690 s&@MKDIR_P@&$ac_MKDIR_P&;t t
8691 $ac_datarootdir_hack
8693 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8694 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8696 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8697 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8698 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8699 "$ac_tmp/out"`; test -z "$ac_out"; } &&
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8701 which seems to be undefined. Please make sure it is defined" >&5
8702 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8703 which seems to be undefined. Please make sure it is defined" >&2;}
8705 rm -f "$ac_tmp/stdin"
8707 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8708 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8710 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8716 if test x"$ac_file" != x-; then
8718 $as_echo "/* $configure_input */" \
8719 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8720 } >"$ac_tmp/config.h" \
8721 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8722 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8724 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8727 mv "$ac_tmp/config.h" "$ac_file" \
8728 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8731 $as_echo "/* $configure_input */" \
8732 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8733 || as_fn_error $? "could not create -" "$LINENO" 5
8735 # Compute "$ac_file"'s index in $config_headers.
8738 for _am_header in $config_headers :; do
8740 $_am_arg | $_am_arg:* )
8743 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8746 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8747 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8748 X"$_am_arg" : 'X\(//\)[^/]' \| \
8749 X"$_am_arg" : 'X\(//\)$' \| \
8750 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8751 $as_echo X"$_am_arg" |
8752 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8768 s/.*/./; q'`/stamp-h$_am_stamp_count
8771 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8772 $as_echo "$as_me: executing $ac_file commands" >&6;}
8777 case $ac_file$ac_mode in
8778 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8779 # Older Autoconf quotes --file arguments for eval, but not when files
8780 # are listed without --file. Let's play safe and only enable the eval
8781 # if we detect the quoting.
8782 case $CONFIG_FILES in
8783 *\'*) eval set x "$CONFIG_FILES" ;;
8784 *) set x $CONFIG_FILES ;;
8789 # Strip MF so we end up with the name of the file.
8790 mf=`echo "$mf" | sed -e 's/:.*$//'`
8791 # Check whether this is an Automake generated Makefile or not.
8792 # We used to match only the files named 'Makefile.in', but
8793 # some people rename them; so instead we look at the file content.
8794 # Grep'ing the first line is not enough: some people post-process
8795 # each Makefile.in and add a new line on top of each file to say so.
8796 # Grep'ing the whole file is not good either: AIX grep has a line
8797 # limit of 2048, but all sed's we know have understand at least 4000.
8798 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8799 dirpart=`$as_dirname -- "$mf" ||
8800 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8801 X"$mf" : 'X\(//\)[^/]' \| \
8802 X"$mf" : 'X\(//\)$' \| \
8803 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8805 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8825 # Extract the definition of DEPDIR, am__include, and am__quote
8826 # from the Makefile without running 'make'.
8827 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8828 test -z "$DEPDIR" && continue
8829 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8830 test -z "$am__include" && continue
8831 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8832 # Find all dependency output files, they are included files with
8833 # $(DEPDIR) in their names. We invoke sed twice because it is the
8834 # simplest approach to changing $(DEPDIR) to its actual value in the
8836 for file in `sed -n "
8837 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8838 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
8839 # Make sure the directory exists.
8840 test -f "$dirpart/$file" && continue
8841 fdir=`$as_dirname -- "$file" ||
8842 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8843 X"$file" : 'X\(//\)[^/]' \| \
8844 X"$file" : 'X\(//\)$' \| \
8845 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8847 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8864 as_dir=$dirpart/$fdir; as_fn_mkdir_p
8865 # echo "creating $dirpart/$file"
8866 echo '# dummy' > "$dirpart/$file"
8872 for ac_file in $CONFIG_FILES; do
8873 # Support "outfile[:infile[:infile...]]"
8875 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
8877 # PO directories have a Makefile.in generated from Makefile.in.in.
8878 case "$ac_file" in */Makefile.in)
8879 # Adjust a relative srcdir.
8880 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
8881 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
8882 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
8883 # In autoconf-2.13 it is called $ac_given_srcdir.
8884 # In autoconf-2.50 it is called $srcdir.
8885 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
8886 case "$ac_given_srcdir" in
8887 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
8888 /*) top_srcdir="$ac_given_srcdir" ;;
8889 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
8891 # Treat a directory as a PO directory if and only if it has a
8892 # POTFILES.in file. This allows packages to have multiple PO
8893 # directories under different names or in different locations.
8894 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8895 rm -f "$ac_dir/POTFILES"
8896 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
8897 gt_tab=`printf '\t'`
8898 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"
8899 POMAKEFILEDEPS="POTFILES.in"
8900 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
8901 # on $ac_dir but don't depend on user-specified configuration
8903 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8904 # The LINGUAS file contains the set of available languages.
8905 if test -n "$OBSOLETE_ALL_LINGUAS"; then
8906 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
8908 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8909 # Hide the ALL_LINGUAS assignment from automake < 1.5.
8910 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8911 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
8913 # The set of available languages was given in configure.in.
8914 # Hide the ALL_LINGUAS assignment from automake < 1.5.
8915 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8918 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
8919 # Compute UPDATEPOFILES
8920 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
8921 # Compute DUMMYPOFILES
8922 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
8924 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
8925 case "$ac_given_srcdir" in
8927 *) srcdirpre='$(srcdir)/' ;;
8933 for lang in $ALL_LINGUAS; do
8934 POFILES="$POFILES $srcdirpre$lang.po"
8935 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
8936 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
8937 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
8939 # CATALOGS depends on both $ac_dir and the user's LINGUAS
8940 # environment variable.
8942 if test -n "$ALL_LINGUAS"; then
8943 for presentlang in $ALL_LINGUAS; do
8945 if test "%UNSET%" != "$LINGUAS"; then
8946 desiredlanguages="$LINGUAS"
8948 desiredlanguages="$ALL_LINGUAS"
8950 for desiredlang in $desiredlanguages; do
8951 # Use the presentlang catalog if desiredlang is
8952 # a. equal to presentlang, or
8953 # b. a variant of presentlang (because in this case,
8954 # presentlang can be used as a fallback for messages
8955 # which are not translated in the desiredlang catalog).
8956 case "$desiredlang" in
8957 "$presentlang"*) useit=yes;;
8960 if test $useit = yes; then
8961 INST_LINGUAS="$INST_LINGUAS $presentlang"
8966 if test -n "$INST_LINGUAS"; then
8967 for lang in $INST_LINGUAS; do
8968 CATALOGS="$CATALOGS $lang.gmo"
8971 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
8972 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"
8973 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
8974 if test -f "$f"; then
8976 *.orig | *.bak | *~) ;;
8977 *) cat "$f" >> "$ac_dir/Makefile" ;;
8992 ac_clean_files=$ac_clean_files_save
8994 test $ac_write_fail = 0 ||
8995 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8998 # configure is writing to config.log, and then calls config.status.
8999 # config.status does its own redirection, appending to config.log.
9000 # Unfortunately, on DOS this fails, as config.log is still kept open
9001 # by configure, so config.status won't be able to write to it; its
9002 # output is simply discarded. So we exec the FD to /dev/null,
9003 # effectively closing config.log, so it can be properly (re)opened and
9004 # appended to by config.status. When coming back to configure, we
9005 # need to make the FD available again.
9006 if test "$no_create" != yes; then
9008 ac_config_status_args=
9009 test "$silent" = yes &&
9010 ac_config_status_args="$ac_config_status_args --quiet"
9012 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9014 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9015 # would make configure fail if this is the last instruction.
9016 $ac_cs_success || as_fn_exit 1
9018 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9020 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}