2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for ptask 0.0.x.
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.x'
584 PACKAGE_STRING='ptask 0.0.x'
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
630 XGETTEXT_EXTRA_OPTIONS
638 GETTEXT_MACRO_VERSION
667 INSTALL_STRIP_PROGRAM
709 program_transform_name
722 enable_option_checking
723 enable_dependency_tracking
730 enable_schemas_compile
732 ac_precious_vars='build_alias
755 # Initialize some variables set by options.
757 ac_init_version=false
758 ac_unrecognized_opts=
760 # The variables have the same names as the options, with
761 # dashes changed to underlines.
769 program_transform_name=s,x,x,
777 # Installation directory options.
778 # These are left unexpanded so users can "make install exec_prefix=/foo"
779 # and all the variables that are supposed to be based on exec_prefix
780 # by default will actually change.
781 # Use braces instead of parens because sh, perl, etc. also accept them.
782 # (The list follows the same order as the GNU Coding Standards.)
783 bindir='${exec_prefix}/bin'
784 sbindir='${exec_prefix}/sbin'
785 libexecdir='${exec_prefix}/libexec'
786 datarootdir='${prefix}/share'
787 datadir='${datarootdir}'
788 sysconfdir='${prefix}/etc'
789 sharedstatedir='${prefix}/com'
790 localstatedir='${prefix}/var'
791 includedir='${prefix}/include'
792 oldincludedir='/usr/include'
793 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
794 infodir='${datarootdir}/info'
799 libdir='${exec_prefix}/lib'
800 localedir='${datarootdir}/locale'
801 mandir='${datarootdir}/man'
807 # If the previous option needs an argument, assign it.
808 if test -n "$ac_prev"; then
809 eval $ac_prev=\$ac_option
815 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
820 # Accept the important Cygnus configure options, so we can diagnose typos.
822 case $ac_dashdash$ac_option in
826 -bindir | --bindir | --bindi | --bind | --bin | --bi)
828 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
831 -build | --build | --buil | --bui | --bu)
832 ac_prev=build_alias ;;
833 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
834 build_alias=$ac_optarg ;;
836 -cache-file | --cache-file | --cache-fil | --cache-fi \
837 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
838 ac_prev=cache_file ;;
839 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
840 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
841 cache_file=$ac_optarg ;;
844 cache_file=config.cache ;;
846 -datadir | --datadir | --datadi | --datad)
848 -datadir=* | --datadir=* | --datadi=* | --datad=*)
849 datadir=$ac_optarg ;;
851 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
852 | --dataroo | --dataro | --datar)
853 ac_prev=datarootdir ;;
854 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
855 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
856 datarootdir=$ac_optarg ;;
858 -disable-* | --disable-*)
859 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
860 # Reject names that are not valid shell variable names.
861 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
862 as_fn_error $? "invalid feature name: $ac_useropt"
863 ac_useropt_orig=$ac_useropt
864 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
865 case $ac_user_opts in
869 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
870 ac_unrecognized_sep=', ';;
872 eval enable_$ac_useropt=no ;;
874 -docdir | --docdir | --docdi | --doc | --do)
876 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
879 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
881 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
884 -enable-* | --enable-*)
885 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
886 # Reject names that are not valid shell variable names.
887 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
888 as_fn_error $? "invalid feature name: $ac_useropt"
889 ac_useropt_orig=$ac_useropt
890 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
891 case $ac_user_opts in
895 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
896 ac_unrecognized_sep=', ';;
898 eval enable_$ac_useropt=\$ac_optarg ;;
900 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
901 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
902 | --exec | --exe | --ex)
903 ac_prev=exec_prefix ;;
904 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
905 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
906 | --exec=* | --exe=* | --ex=*)
907 exec_prefix=$ac_optarg ;;
909 -gas | --gas | --ga | --g)
910 # Obsolete; use --with-gas.
913 -help | --help | --hel | --he | -h)
915 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
916 ac_init_help=recursive ;;
917 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
918 ac_init_help=short ;;
920 -host | --host | --hos | --ho)
921 ac_prev=host_alias ;;
922 -host=* | --host=* | --hos=* | --ho=*)
923 host_alias=$ac_optarg ;;
925 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
927 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
929 htmldir=$ac_optarg ;;
931 -includedir | --includedir | --includedi | --included | --include \
932 | --includ | --inclu | --incl | --inc)
933 ac_prev=includedir ;;
934 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
935 | --includ=* | --inclu=* | --incl=* | --inc=*)
936 includedir=$ac_optarg ;;
938 -infodir | --infodir | --infodi | --infod | --info | --inf)
940 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
941 infodir=$ac_optarg ;;
943 -libdir | --libdir | --libdi | --libd)
945 -libdir=* | --libdir=* | --libdi=* | --libd=*)
948 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
949 | --libexe | --libex | --libe)
950 ac_prev=libexecdir ;;
951 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
952 | --libexe=* | --libex=* | --libe=*)
953 libexecdir=$ac_optarg ;;
955 -localedir | --localedir | --localedi | --localed | --locale)
957 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
958 localedir=$ac_optarg ;;
960 -localstatedir | --localstatedir | --localstatedi | --localstated \
961 | --localstate | --localstat | --localsta | --localst | --locals)
962 ac_prev=localstatedir ;;
963 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
964 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
965 localstatedir=$ac_optarg ;;
967 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
969 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
973 # Obsolete; use --without-fp.
976 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
977 | --no-cr | --no-c | -n)
980 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
981 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
984 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
985 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
986 | --oldin | --oldi | --old | --ol | --o)
987 ac_prev=oldincludedir ;;
988 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
989 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
990 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
991 oldincludedir=$ac_optarg ;;
993 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
995 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
998 -program-prefix | --program-prefix | --program-prefi | --program-pref \
999 | --program-pre | --program-pr | --program-p)
1000 ac_prev=program_prefix ;;
1001 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1002 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1003 program_prefix=$ac_optarg ;;
1005 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1006 | --program-suf | --program-su | --program-s)
1007 ac_prev=program_suffix ;;
1008 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1009 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1010 program_suffix=$ac_optarg ;;
1012 -program-transform-name | --program-transform-name \
1013 | --program-transform-nam | --program-transform-na \
1014 | --program-transform-n | --program-transform- \
1015 | --program-transform | --program-transfor \
1016 | --program-transfo | --program-transf \
1017 | --program-trans | --program-tran \
1018 | --progr-tra | --program-tr | --program-t)
1019 ac_prev=program_transform_name ;;
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 program_transform_name=$ac_optarg ;;
1029 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1031 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1032 pdfdir=$ac_optarg ;;
1034 -psdir | --psdir | --psdi | --psd | --ps)
1036 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1039 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1040 | -silent | --silent | --silen | --sile | --sil)
1043 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1045 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1047 sbindir=$ac_optarg ;;
1049 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1050 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1051 | --sharedst | --shareds | --shared | --share | --shar \
1053 ac_prev=sharedstatedir ;;
1054 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1055 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1056 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1058 sharedstatedir=$ac_optarg ;;
1060 -site | --site | --sit)
1062 -site=* | --site=* | --sit=*)
1065 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1067 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1068 srcdir=$ac_optarg ;;
1070 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1071 | --syscon | --sysco | --sysc | --sys | --sy)
1072 ac_prev=sysconfdir ;;
1073 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1074 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1075 sysconfdir=$ac_optarg ;;
1077 -target | --target | --targe | --targ | --tar | --ta | --t)
1078 ac_prev=target_alias ;;
1079 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1080 target_alias=$ac_optarg ;;
1082 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1085 -version | --version | --versio | --versi | --vers | -V)
1086 ac_init_version=: ;;
1089 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1090 # Reject names that are not valid shell variable names.
1091 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1092 as_fn_error $? "invalid package name: $ac_useropt"
1093 ac_useropt_orig=$ac_useropt
1094 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1095 case $ac_user_opts in
1099 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1100 ac_unrecognized_sep=', ';;
1102 eval with_$ac_useropt=\$ac_optarg ;;
1104 -without-* | --without-*)
1105 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1106 # Reject names that are not valid shell variable names.
1107 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1108 as_fn_error $? "invalid package name: $ac_useropt"
1109 ac_useropt_orig=$ac_useropt
1110 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1111 case $ac_user_opts in
1115 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1116 ac_unrecognized_sep=', ';;
1118 eval with_$ac_useropt=no ;;
1121 # Obsolete; use --with-x.
1124 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1125 | --x-incl | --x-inc | --x-in | --x-i)
1126 ac_prev=x_includes ;;
1127 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1128 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1129 x_includes=$ac_optarg ;;
1131 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1132 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1133 ac_prev=x_libraries ;;
1134 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1135 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1136 x_libraries=$ac_optarg ;;
1138 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1139 Try \`$0 --help' for more information"
1143 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1144 # Reject names that are not valid shell variable names.
1145 case $ac_envvar in #(
1146 '' | [0-9]* | *[!_$as_cr_alnum]* )
1147 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1149 eval $ac_envvar=\$ac_optarg
1150 export $ac_envvar ;;
1153 # FIXME: should be removed in autoconf 3.0.
1154 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1155 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1156 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1157 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1163 if test -n "$ac_prev"; then
1164 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1165 as_fn_error $? "missing argument to $ac_option"
1168 if test -n "$ac_unrecognized_opts"; then
1169 case $enable_option_checking in
1171 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1172 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1176 # Check all directory arguments for consistency.
1177 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1178 datadir sysconfdir sharedstatedir localstatedir includedir \
1179 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1180 libdir localedir mandir
1182 eval ac_val=\$$ac_var
1183 # Remove trailing slashes.
1186 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1187 eval $ac_var=\$ac_val;;
1189 # Be sure to have absolute directory names.
1191 [\\/$]* | ?:[\\/]* ) continue;;
1192 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1194 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1197 # There might be people who depend on the old broken behavior: `$host'
1198 # used to hold the argument of --host etc.
1199 # FIXME: To remove some day.
1202 target=$target_alias
1204 # FIXME: To remove some day.
1205 if test "x$host_alias" != x; then
1206 if test "x$build_alias" = x; then
1207 cross_compiling=maybe
1208 elif test "x$build_alias" != "x$host_alias"; then
1214 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1216 test "$silent" = yes && exec 6>/dev/null
1219 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1220 ac_ls_di=`ls -di .` &&
1221 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1222 as_fn_error $? "working directory cannot be determined"
1223 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1224 as_fn_error $? "pwd does not report name of working directory"
1227 # Find the source files, if location was not specified.
1228 if test -z "$srcdir"; then
1229 ac_srcdir_defaulted=yes
1230 # Try the directory containing this script, then the parent directory.
1231 ac_confdir=`$as_dirname -- "$as_myself" ||
1232 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1233 X"$as_myself" : 'X\(//\)[^/]' \| \
1234 X"$as_myself" : 'X\(//\)$' \| \
1235 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1236 $as_echo X"$as_myself" |
1237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1255 if test ! -r "$srcdir/$ac_unique_file"; then
1259 ac_srcdir_defaulted=no
1261 if test ! -r "$srcdir/$ac_unique_file"; then
1262 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1263 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1265 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1267 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1269 # When building in place, set srcdir=.
1270 if test "$ac_abs_confdir" = "$ac_pwd"; then
1273 # Remove unnecessary trailing slashes from srcdir.
1274 # Double slashes in file names in object file debugging info
1275 # mess up M-x gdb in Emacs.
1277 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1279 for ac_var in $ac_precious_vars; do
1280 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1281 eval ac_env_${ac_var}_value=\$${ac_var}
1282 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1283 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1287 # Report the --help message.
1289 if test "$ac_init_help" = "long"; then
1290 # Omit some internal or obsolete options to make the list less imposing.
1291 # This message is too long to be a string in the A/UX 3.1 sh.
1293 \`configure' configures ptask 0.0.x to adapt to many kinds of systems.
1295 Usage: $0 [OPTION]... [VAR=VALUE]...
1297 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1298 VAR=VALUE. See below for descriptions of some of the useful variables.
1300 Defaults for the options are specified in brackets.
1303 -h, --help display this help and exit
1304 --help=short display options specific to this package
1305 --help=recursive display the short help of all the included packages
1306 -V, --version display version information and exit
1307 -q, --quiet, --silent do not print \`checking ...' messages
1308 --cache-file=FILE cache test results in FILE [disabled]
1309 -C, --config-cache alias for \`--cache-file=config.cache'
1310 -n, --no-create do not create output files
1311 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1313 Installation directories:
1314 --prefix=PREFIX install architecture-independent files in PREFIX
1315 [$ac_default_prefix]
1316 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1319 By default, \`make install' will install all the files in
1320 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1321 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1322 for instance \`--prefix=\$HOME'.
1324 For better control, use the options below.
1326 Fine tuning of the installation directories:
1327 --bindir=DIR user executables [EPREFIX/bin]
1328 --sbindir=DIR system admin executables [EPREFIX/sbin]
1329 --libexecdir=DIR program executables [EPREFIX/libexec]
1330 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1331 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1332 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1333 --libdir=DIR object code libraries [EPREFIX/lib]
1334 --includedir=DIR C header files [PREFIX/include]
1335 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1336 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1337 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1338 --infodir=DIR info documentation [DATAROOTDIR/info]
1339 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1340 --mandir=DIR man documentation [DATAROOTDIR/man]
1341 --docdir=DIR documentation root [DATAROOTDIR/doc/ptask]
1342 --htmldir=DIR html documentation [DOCDIR]
1343 --dvidir=DIR dvi documentation [DOCDIR]
1344 --pdfdir=DIR pdf documentation [DOCDIR]
1345 --psdir=DIR ps documentation [DOCDIR]
1351 --program-prefix=PREFIX prepend PREFIX to installed program names
1352 --program-suffix=SUFFIX append SUFFIX to installed program names
1353 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1356 --x-includes=DIR X include files are in DIR
1357 --x-libraries=DIR X library files are in DIR
1360 --build=BUILD configure for building on BUILD [guessed]
1361 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1365 if test -n "$ac_init_help"; then
1366 case $ac_init_help in
1367 short | recursive ) echo "Configuration of ptask 0.0.x:";;
1372 --disable-option-checking ignore unrecognized --enable/--with options
1373 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1374 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1375 --disable-dependency-tracking speeds up one-time build
1376 --enable-dependency-tracking do not reject slow dependency extractors
1377 --disable-nls do not use Native Language Support
1378 --disable-rpath do not hardcode runtime library paths
1379 --disable-schemas-compile
1380 Disable regeneration of gschemas.compiled on install
1383 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1384 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1385 --with-x use the X Window System
1386 --with-gnu-ld assume the C compiler uses GNU ld default=no
1387 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1388 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1389 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1390 --without-libintl-prefix don't search for libintl in includedir and libdir
1392 Some influential environment variables:
1393 CC C compiler command
1394 CFLAGS C compiler flags
1395 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1396 nonstandard directory <lib dir>
1397 LIBS libraries to pass to the linker, e.g. -l<library>
1398 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1399 you have headers in a nonstandard directory <include dir>
1400 XMKMF Path to xmkmf, Makefile generator for X Window System
1402 PKG_CONFIG path to pkg-config utility
1404 directories to add to pkg-config's search path
1406 path overriding pkg-config's built-in search path
1407 X11_CFLAGS C compiler flags for X11, overriding pkg-config
1408 X11_LIBS linker flags for X11, overriding pkg-config
1409 XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
1410 XEXT_LIBS linker flags for XEXT, overriding pkg-config
1411 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1412 GTK_LIBS linker flags for GTK, overriding pkg-config
1413 JSON_CFLAGS C compiler flags for JSON, overriding pkg-config
1414 JSON_LIBS linker flags for JSON, overriding pkg-config
1416 Use these variables to override the choices made by `configure' or to help
1417 it to find libraries and programs with nonstandard names/locations.
1419 Report bugs to <jeanfi@gmail.com>.
1420 ptask home page: <http://wpitchoune.net/ptask>.
1425 if test "$ac_init_help" = "recursive"; then
1426 # If there are subdirs, report their specific --help.
1427 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1428 test -d "$ac_dir" ||
1429 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1434 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1436 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1437 # A ".." for each directory in $ac_dir_suffix.
1438 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1439 case $ac_top_builddir_sub in
1440 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1441 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1444 ac_abs_top_builddir=$ac_pwd
1445 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1446 # for backward compatibility:
1447 ac_top_builddir=$ac_top_build_prefix
1450 .) # We are building in place.
1452 ac_top_srcdir=$ac_top_builddir_sub
1453 ac_abs_top_srcdir=$ac_pwd ;;
1454 [\\/]* | ?:[\\/]* ) # Absolute name.
1455 ac_srcdir=$srcdir$ac_dir_suffix;
1456 ac_top_srcdir=$srcdir
1457 ac_abs_top_srcdir=$srcdir ;;
1459 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1460 ac_top_srcdir=$ac_top_build_prefix$srcdir
1461 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1463 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1465 cd "$ac_dir" || { ac_status=$?; continue; }
1466 # Check for guested configure.
1467 if test -f "$ac_srcdir/configure.gnu"; then
1469 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1470 elif test -f "$ac_srcdir/configure"; then
1472 $SHELL "$ac_srcdir/configure" --help=recursive
1474 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1476 cd "$ac_pwd" || { ac_status=$?; break; }
1480 test -n "$ac_init_help" && exit $ac_status
1481 if $ac_init_version; then
1483 ptask configure 0.0.x
1484 generated by GNU Autoconf 2.69
1486 Copyright (C) 2012 Free Software Foundation, Inc.
1487 This configure script is free software; the Free Software Foundation
1488 gives unlimited permission to copy, distribute and modify it.
1493 ## ------------------------ ##
1494 ## Autoconf initialization. ##
1495 ## ------------------------ ##
1497 # ac_fn_c_try_compile LINENO
1498 # --------------------------
1499 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1500 ac_fn_c_try_compile ()
1502 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1503 rm -f conftest.$ac_objext
1504 if { { ac_try="$ac_compile"
1506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1507 *) ac_try_echo=$ac_try;;
1509 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1510 $as_echo "$ac_try_echo"; } >&5
1511 (eval "$ac_compile") 2>conftest.err
1513 if test -s conftest.err; then
1514 grep -v '^ *+' conftest.err >conftest.er1
1515 cat conftest.er1 >&5
1516 mv -f conftest.er1 conftest.err
1518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1519 test $ac_status = 0; } && {
1520 test -z "$ac_c_werror_flag" ||
1521 test ! -s conftest.err
1522 } && test -s conftest.$ac_objext; then :
1525 $as_echo "$as_me: failed program was:" >&5
1526 sed 's/^/| /' conftest.$ac_ext >&5
1530 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1531 as_fn_set_status $ac_retval
1533 } # ac_fn_c_try_compile
1535 # ac_fn_c_try_cpp LINENO
1536 # ----------------------
1537 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1540 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1541 if { { ac_try="$ac_cpp conftest.$ac_ext"
1543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1544 *) ac_try_echo=$ac_try;;
1546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1547 $as_echo "$ac_try_echo"; } >&5
1548 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1550 if test -s conftest.err; then
1551 grep -v '^ *+' conftest.err >conftest.er1
1552 cat conftest.er1 >&5
1553 mv -f conftest.er1 conftest.err
1555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1556 test $ac_status = 0; } > conftest.i && {
1557 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1558 test ! -s conftest.err
1562 $as_echo "$as_me: failed program was:" >&5
1563 sed 's/^/| /' conftest.$ac_ext >&5
1567 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1568 as_fn_set_status $ac_retval
1572 # ac_fn_c_try_link LINENO
1573 # -----------------------
1574 # Try to link conftest.$ac_ext, and return whether this succeeded.
1577 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1578 rm -f conftest.$ac_objext conftest$ac_exeext
1579 if { { ac_try="$ac_link"
1581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1582 *) ac_try_echo=$ac_try;;
1584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1585 $as_echo "$ac_try_echo"; } >&5
1586 (eval "$ac_link") 2>conftest.err
1588 if test -s conftest.err; then
1589 grep -v '^ *+' conftest.err >conftest.er1
1590 cat conftest.er1 >&5
1591 mv -f conftest.er1 conftest.err
1593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1594 test $ac_status = 0; } && {
1595 test -z "$ac_c_werror_flag" ||
1596 test ! -s conftest.err
1597 } && test -s conftest$ac_exeext && {
1598 test "$cross_compiling" = yes ||
1599 test -x conftest$ac_exeext
1603 $as_echo "$as_me: failed program was:" >&5
1604 sed 's/^/| /' conftest.$ac_ext >&5
1608 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1609 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1610 # interfere with the next link command; also delete a directory that is
1611 # left behind by Apple's compiler. We do this before executing the actions.
1612 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1613 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1614 as_fn_set_status $ac_retval
1616 } # ac_fn_c_try_link
1618 # ac_fn_c_try_run LINENO
1619 # ----------------------
1620 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1621 # that executables *can* be run.
1624 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1625 if { { ac_try="$ac_link"
1627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1628 *) ac_try_echo=$ac_try;;
1630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1631 $as_echo "$ac_try_echo"; } >&5
1632 (eval "$ac_link") 2>&5
1634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1635 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1636 { { case "(($ac_try" in
1637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1638 *) ac_try_echo=$ac_try;;
1640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1641 $as_echo "$ac_try_echo"; } >&5
1642 (eval "$ac_try") 2>&5
1644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1645 test $ac_status = 0; }; }; then :
1648 $as_echo "$as_me: program exited with status $ac_status" >&5
1649 $as_echo "$as_me: failed program was:" >&5
1650 sed 's/^/| /' conftest.$ac_ext >&5
1652 ac_retval=$ac_status
1654 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1655 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1656 as_fn_set_status $ac_retval
1659 cat >config.log <<_ACEOF
1660 This file contains any messages produced by compilers while
1661 running configure, to aid debugging if configure makes a mistake.
1663 It was created by ptask $as_me 0.0.x, which was
1664 generated by GNU Autoconf 2.69. Invocation command line was
1676 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1677 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1678 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1679 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1680 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1682 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1683 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1685 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1686 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1687 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1688 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1689 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1690 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1691 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1699 test -z "$as_dir" && as_dir=.
1700 $as_echo "PATH: $as_dir"
1716 # Keep a trace of the command line.
1717 # Strip out --no-create and --no-recursion so they do not pile up.
1718 # Strip out --silent because we don't want to record it for future runs.
1719 # Also quote any args containing shell meta-characters.
1720 # Make two passes to allow for proper duplicate-argument suppression.
1724 ac_must_keep_next=false
1730 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1731 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1732 | -silent | --silent | --silen | --sile | --sil)
1735 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1738 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1740 as_fn_append ac_configure_args1 " '$ac_arg'"
1741 if test $ac_must_keep_next = true; then
1742 ac_must_keep_next=false # Got value, back to normal.
1745 *=* | --config-cache | -C | -disable-* | --disable-* \
1746 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1747 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1748 | -with-* | --with-* | -without-* | --without-* | --x)
1749 case "$ac_configure_args0 " in
1750 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1753 -* ) ac_must_keep_next=true ;;
1756 as_fn_append ac_configure_args " '$ac_arg'"
1761 { ac_configure_args0=; unset ac_configure_args0;}
1762 { ac_configure_args1=; unset ac_configure_args1;}
1764 # When interrupted or exit'd, cleanup temporary files, and complete
1765 # config.log. We remove comments because anyway the quotes in there
1766 # would cause problems or look ugly.
1767 # WARNING: Use '\'' to represent an apostrophe within the trap.
1768 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1769 trap 'exit_status=$?
1770 # Save into config.log some information that might help in debugging.
1774 $as_echo "## ---------------- ##
1775 ## Cache variables. ##
1776 ## ---------------- ##"
1778 # The following way of writing the cache mishandles newlines in values,
1780 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1781 eval ac_val=\$$ac_var
1785 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1786 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1789 _ | IFS | as_nl) ;; #(
1790 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1791 *) { eval $ac_var=; unset $ac_var;} ;;
1796 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1797 *${as_nl}ac_space=\ *)
1799 "s/'\''/'\''\\\\'\'''\''/g;
1800 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1803 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1810 $as_echo "## ----------------- ##
1811 ## Output variables. ##
1812 ## ----------------- ##"
1814 for ac_var in $ac_subst_vars
1816 eval ac_val=\$$ac_var
1818 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1820 $as_echo "$ac_var='\''$ac_val'\''"
1824 if test -n "$ac_subst_files"; then
1825 $as_echo "## ------------------- ##
1826 ## File substitutions. ##
1827 ## ------------------- ##"
1829 for ac_var in $ac_subst_files
1831 eval ac_val=\$$ac_var
1833 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1835 $as_echo "$ac_var='\''$ac_val'\''"
1840 if test -s confdefs.h; then
1841 $as_echo "## ----------- ##
1848 test "$ac_signal" != 0 &&
1849 $as_echo "$as_me: caught signal $ac_signal"
1850 $as_echo "$as_me: exit $exit_status"
1852 rm -f core *.core core.conftest.* &&
1853 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1856 for ac_signal in 1 2 13 15; do
1857 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1861 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1862 rm -f -r conftest* confdefs.h
1864 $as_echo "/* confdefs.h */" > confdefs.h
1866 # Predefined preprocessor variables.
1868 cat >>confdefs.h <<_ACEOF
1869 #define PACKAGE_NAME "$PACKAGE_NAME"
1872 cat >>confdefs.h <<_ACEOF
1873 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1876 cat >>confdefs.h <<_ACEOF
1877 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1880 cat >>confdefs.h <<_ACEOF
1881 #define PACKAGE_STRING "$PACKAGE_STRING"
1884 cat >>confdefs.h <<_ACEOF
1885 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1888 cat >>confdefs.h <<_ACEOF
1889 #define PACKAGE_URL "$PACKAGE_URL"
1893 # Let the site file select an alternate cache file if it wants to.
1894 # Prefer an explicitly selected file to automatically selected ones.
1897 if test -n "$CONFIG_SITE"; then
1898 # We do not want a PATH search for config.site.
1899 case $CONFIG_SITE in #((
1900 -*) ac_site_file1=./$CONFIG_SITE;;
1901 */*) ac_site_file1=$CONFIG_SITE;;
1902 *) ac_site_file1=./$CONFIG_SITE;;
1904 elif test "x$prefix" != xNONE; then
1905 ac_site_file1=$prefix/share/config.site
1906 ac_site_file2=$prefix/etc/config.site
1908 ac_site_file1=$ac_default_prefix/share/config.site
1909 ac_site_file2=$ac_default_prefix/etc/config.site
1911 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1913 test "x$ac_site_file" = xNONE && continue
1914 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1916 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1917 sed 's/^/| /' "$ac_site_file" >&5
1919 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1920 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1921 as_fn_error $? "failed to load site script $ac_site_file
1922 See \`config.log' for more details" "$LINENO" 5; }
1926 if test -r "$cache_file"; then
1927 # Some versions of bash will fail to source /dev/null (special files
1928 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1929 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1931 $as_echo "$as_me: loading cache $cache_file" >&6;}
1933 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1934 *) . "./$cache_file";;
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1939 $as_echo "$as_me: creating cache $cache_file" >&6;}
1943 gt_needs="$gt_needs "
1944 # Check that the precious variables saved in the cache have kept the same
1946 ac_cache_corrupted=false
1947 for ac_var in $ac_precious_vars; do
1948 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1949 eval ac_new_set=\$ac_env_${ac_var}_set
1950 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1951 eval ac_new_val=\$ac_env_${ac_var}_value
1952 case $ac_old_set,$ac_new_set in
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1955 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1956 ac_cache_corrupted=: ;;
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1959 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1960 ac_cache_corrupted=: ;;
1963 if test "x$ac_old_val" != "x$ac_new_val"; then
1964 # differences in whitespace do not lead to failure.
1965 ac_old_val_w=`echo x $ac_old_val`
1966 ac_new_val_w=`echo x $ac_new_val`
1967 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1969 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1970 ac_cache_corrupted=:
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1973 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1974 eval $ac_var=\$ac_old_val
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1977 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1979 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1982 # Pass precious variables to config.status.
1983 if test "$ac_new_set" = set; then
1985 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1986 *) ac_arg=$ac_var=$ac_new_val ;;
1988 case " $ac_configure_args " in
1989 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1990 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1994 if $ac_cache_corrupted; then
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1996 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1998 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1999 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2001 ## -------------------- ##
2002 ## Main body of script. ##
2003 ## -------------------- ##
2006 ac_cpp='$CPP $CPPFLAGS'
2007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2013 am__api_version='1.11'
2016 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2017 if test -f "$ac_dir/install-sh"; then
2019 ac_install_sh="$ac_aux_dir/install-sh -c"
2021 elif test -f "$ac_dir/install.sh"; then
2023 ac_install_sh="$ac_aux_dir/install.sh -c"
2025 elif test -f "$ac_dir/shtool"; then
2027 ac_install_sh="$ac_aux_dir/shtool install -c"
2031 if test -z "$ac_aux_dir"; then
2032 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2035 # These three variables are undocumented and unsupported,
2036 # and are intended to be withdrawn in a future Autoconf release.
2037 # They can cause serious problems if a builder's source tree is in a directory
2038 # whose full name contains unusual characters.
2039 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2040 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2041 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2044 # Find a good install program. We prefer a C program (faster),
2045 # so one script is as good as another. But avoid the broken or
2046 # incompatible versions:
2047 # SysV /etc/install, /usr/sbin/install
2048 # SunOS /usr/etc/install
2049 # IRIX /sbin/install
2051 # AmigaOS /C/install, which installs bootblocks on floppy discs
2052 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2053 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2054 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2055 # OS/2's system install, which has a completely different semantic
2056 # ./install, which can be erroneously created by make from ./install.sh.
2057 # Reject install programs that cannot install multiple files.
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2059 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2060 if test -z "$INSTALL"; then
2061 if ${ac_cv_path_install+:} false; then :
2062 $as_echo_n "(cached) " >&6
2064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2068 test -z "$as_dir" && as_dir=.
2069 # Account for people who put trailing slashes in PATH elements.
2070 case $as_dir/ in #((
2071 ./ | .// | /[cC]/* | \
2072 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2073 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2076 # OSF1 and SCO ODT 3.0 have their own names for install.
2077 # Don't use installbsd from OSF since it installs stuff as root
2079 for ac_prog in ginstall scoinst install; do
2080 for ac_exec_ext in '' $ac_executable_extensions; do
2081 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2082 if test $ac_prog = install &&
2083 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2084 # AIX install. It has an incompatible calling convention.
2086 elif test $ac_prog = install &&
2087 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2088 # program-specific install script used by HP pwplus--don't use.
2091 rm -rf conftest.one conftest.two conftest.dir
2092 echo one > conftest.one
2093 echo two > conftest.two
2095 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2096 test -s conftest.one && test -s conftest.two &&
2097 test -s conftest.dir/conftest.one &&
2098 test -s conftest.dir/conftest.two
2100 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2113 rm -rf conftest.one conftest.two conftest.dir
2116 if test "${ac_cv_path_install+set}" = set; then
2117 INSTALL=$ac_cv_path_install
2119 # As a last resort, use the slow shell script. Don't cache a
2120 # value for INSTALL within a source directory, because that will
2121 # break other packages using the cache if that directory is
2122 # removed, or if the value is a relative name.
2123 INSTALL=$ac_install_sh
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2127 $as_echo "$INSTALL" >&6; }
2129 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2130 # It thinks the first close brace ends the variable substitution.
2131 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2133 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2135 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2138 $as_echo_n "checking whether build environment is sane... " >&6; }
2141 echo timestamp > conftest.file
2142 # Reject unsafe characters in $srcdir or the absolute working directory
2143 # name. Accept space and tab only in the latter.
2147 *[\\\"\#\$\&\'\`$am_lf]*)
2148 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2151 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2152 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2155 # Do `set' in a subshell so we don't clobber the current shell's
2156 # arguments. Must try -L first in case configure is actually a
2157 # symlink; some systems play weird games with the mod time of symlinks
2158 # (eg FreeBSD returns the mod time of the symlink's containing
2161 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2162 if test "$*" = "X"; then
2164 set X `ls -t "$srcdir/configure" conftest.file`
2167 if test "$*" != "X $srcdir/configure conftest.file" \
2168 && test "$*" != "X conftest.file $srcdir/configure"; then
2170 # If neither matched, then we have a broken ls. This can happen
2171 # if, for instance, CONFIG_SHELL is bash and it inherits a
2172 # broken ls alias from the environment. This has actually
2173 # happened. Such a system could not be considered "sane".
2174 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2175 alias in your environment" "$LINENO" 5
2178 test "$2" = conftest.file
2184 as_fn_error $? "newly created file is older than distributed files!
2185 Check your system clock" "$LINENO" 5
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2188 $as_echo "yes" >&6; }
2189 test "$program_prefix" != NONE &&
2190 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2191 # Use a double $ so make ignores it.
2192 test "$program_suffix" != NONE &&
2193 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2194 # Double any \ or $.
2195 # By default was `s,x,x', remove it if useless.
2196 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2197 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2199 # expand $ac_aux_dir to an absolute path
2200 am_aux_dir=`cd $ac_aux_dir && pwd`
2202 if test x"${MISSING+set}" != xset; then
2205 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2207 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2210 # Use eval to expand $SHELL
2211 if eval "$MISSING --run true"; then
2212 am_missing_run="$MISSING --run "
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2216 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2219 if test x"${install_sh}" != xset; then
2222 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2224 install_sh="\${SHELL} $am_aux_dir/install-sh"
2228 # Installed binaries are usually stripped using `strip' when the user
2229 # run `make install-strip'. However `strip' might not be the right
2230 # tool to use in cross-compilation environments, therefore Automake
2231 # will honor the `STRIP' environment variable to overrule this program.
2232 if test "$cross_compiling" != no; then
2233 if test -n "$ac_tool_prefix"; then
2234 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2235 set dummy ${ac_tool_prefix}strip; ac_word=$2
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2237 $as_echo_n "checking for $ac_word... " >&6; }
2238 if ${ac_cv_prog_STRIP+:} false; then :
2239 $as_echo_n "(cached) " >&6
2241 if test -n "$STRIP"; then
2242 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2248 test -z "$as_dir" && as_dir=.
2249 for ac_exec_ext in '' $ac_executable_extensions; do
2250 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2251 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2261 STRIP=$ac_cv_prog_STRIP
2262 if test -n "$STRIP"; then
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2264 $as_echo "$STRIP" >&6; }
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2267 $as_echo "no" >&6; }
2272 if test -z "$ac_cv_prog_STRIP"; then
2274 # Extract the first word of "strip", so it can be a program name with args.
2275 set dummy strip; ac_word=$2
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2277 $as_echo_n "checking for $ac_word... " >&6; }
2278 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2279 $as_echo_n "(cached) " >&6
2281 if test -n "$ac_ct_STRIP"; then
2282 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2288 test -z "$as_dir" && as_dir=.
2289 for ac_exec_ext in '' $ac_executable_extensions; do
2290 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2291 ac_cv_prog_ac_ct_STRIP="strip"
2292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2301 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2302 if test -n "$ac_ct_STRIP"; then
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2304 $as_echo "$ac_ct_STRIP" >&6; }
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2307 $as_echo "no" >&6; }
2310 if test "x$ac_ct_STRIP" = x; then
2313 case $cross_compiling:$ac_tool_warned in
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2316 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2317 ac_tool_warned=yes ;;
2322 STRIP="$ac_cv_prog_STRIP"
2326 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2329 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2330 if test -z "$MKDIR_P"; then
2331 if ${ac_cv_path_mkdir+:} false; then :
2332 $as_echo_n "(cached) " >&6
2334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2335 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2338 test -z "$as_dir" && as_dir=.
2339 for ac_prog in mkdir gmkdir; do
2340 for ac_exec_ext in '' $ac_executable_extensions; do
2341 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2342 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2343 'mkdir (GNU coreutils) '* | \
2344 'mkdir (coreutils) '* | \
2345 'mkdir (fileutils) '4.1*)
2346 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2356 test -d ./--version && rmdir ./--version
2357 if test "${ac_cv_path_mkdir+set}" = set; then
2358 MKDIR_P="$ac_cv_path_mkdir -p"
2360 # As a last resort, use the slow shell script. Don't cache a
2361 # value for MKDIR_P within a source directory, because that will
2362 # break other packages using the cache if that directory is
2363 # removed, or if the value is a relative name.
2364 MKDIR_P="$ac_install_sh -d"
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2368 $as_echo "$MKDIR_P" >&6; }
2372 [\\/$]* | ?:[\\/]*) ;;
2373 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2376 for ac_prog in gawk mawk nawk awk
2378 # Extract the first word of "$ac_prog", so it can be a program name with args.
2379 set dummy $ac_prog; ac_word=$2
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2381 $as_echo_n "checking for $ac_word... " >&6; }
2382 if ${ac_cv_prog_AWK+:} false; then :
2383 $as_echo_n "(cached) " >&6
2385 if test -n "$AWK"; then
2386 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2392 test -z "$as_dir" && as_dir=.
2393 for ac_exec_ext in '' $ac_executable_extensions; do
2394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2395 ac_cv_prog_AWK="$ac_prog"
2396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2406 if test -n "$AWK"; then
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2408 $as_echo "$AWK" >&6; }
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2411 $as_echo "no" >&6; }
2415 test -n "$AWK" && break
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2419 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2421 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2422 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2423 $as_echo_n "(cached) " >&6
2425 cat >conftest.make <<\_ACEOF
2428 @echo '@@@%%%=$(MAKE)=@@@%%%'
2430 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2431 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2433 eval ac_cv_prog_make_${ac_make}_set=yes;;
2435 eval ac_cv_prog_make_${ac_make}_set=no;;
2439 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2441 $as_echo "yes" >&6; }
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2445 $as_echo "no" >&6; }
2446 SET_MAKE="MAKE=${MAKE-make}"
2449 rm -rf .tst 2>/dev/null
2450 mkdir .tst 2>/dev/null
2451 if test -d .tst; then
2456 rmdir .tst 2>/dev/null
2458 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2459 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2460 # is not polluted with repeated "-I."
2461 am__isrc=' -I$(srcdir)'
2462 # test to see if srcdir already configured
2463 if test -f $srcdir/config.status; then
2464 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2468 # test whether we have cygpath
2469 if test -z "$CYGPATH_W"; then
2470 if (cygpath --version) >/dev/null 2>/dev/null; then
2471 CYGPATH_W='cygpath -w'
2478 # Define the identity of the package.
2483 cat >>confdefs.h <<_ACEOF
2484 #define PACKAGE "$PACKAGE"
2488 cat >>confdefs.h <<_ACEOF
2489 #define VERSION "$VERSION"
2492 # Some tools Automake needs.
2494 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2497 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2500 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2503 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2506 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2508 # We need awk for the "check" target. The system "awk" is bad on
2510 # Always define AMTAR for backward compatibility. Yes, it's still used
2511 # in the wild :-( We should find a proper way to deprecate it ...
2514 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2522 ac_config_headers="$ac_config_headers config.h"
2525 # Checks for programs.
2527 ac_cpp='$CPP $CPPFLAGS'
2528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2531 if test -n "$ac_tool_prefix"; then
2532 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2533 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2535 $as_echo_n "checking for $ac_word... " >&6; }
2536 if ${ac_cv_prog_CC+:} false; then :
2537 $as_echo_n "(cached) " >&6
2539 if test -n "$CC"; then
2540 ac_cv_prog_CC="$CC" # Let the user override the test.
2542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2546 test -z "$as_dir" && as_dir=.
2547 for ac_exec_ext in '' $ac_executable_extensions; do
2548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2549 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2560 if test -n "$CC"; then
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2562 $as_echo "$CC" >&6; }
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2565 $as_echo "no" >&6; }
2570 if test -z "$ac_cv_prog_CC"; then
2572 # Extract the first word of "gcc", so it can be a program name with args.
2573 set dummy gcc; ac_word=$2
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2575 $as_echo_n "checking for $ac_word... " >&6; }
2576 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2577 $as_echo_n "(cached) " >&6
2579 if test -n "$ac_ct_CC"; then
2580 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2586 test -z "$as_dir" && as_dir=.
2587 for ac_exec_ext in '' $ac_executable_extensions; do
2588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2589 ac_cv_prog_ac_ct_CC="gcc"
2590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2599 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2600 if test -n "$ac_ct_CC"; then
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2602 $as_echo "$ac_ct_CC" >&6; }
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2605 $as_echo "no" >&6; }
2608 if test "x$ac_ct_CC" = x; then
2611 case $cross_compiling:$ac_tool_warned in
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2615 ac_tool_warned=yes ;;
2623 if test -z "$CC"; then
2624 if test -n "$ac_tool_prefix"; then
2625 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2626 set dummy ${ac_tool_prefix}cc; ac_word=$2
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2628 $as_echo_n "checking for $ac_word... " >&6; }
2629 if ${ac_cv_prog_CC+:} false; then :
2630 $as_echo_n "(cached) " >&6
2632 if test -n "$CC"; then
2633 ac_cv_prog_CC="$CC" # Let the user override the test.
2635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2639 test -z "$as_dir" && as_dir=.
2640 for ac_exec_ext in '' $ac_executable_extensions; do
2641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2642 ac_cv_prog_CC="${ac_tool_prefix}cc"
2643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2653 if test -n "$CC"; then
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2655 $as_echo "$CC" >&6; }
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2658 $as_echo "no" >&6; }
2664 if test -z "$CC"; then
2665 # Extract the first word of "cc", so it can be a program name with args.
2666 set dummy cc; ac_word=$2
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2668 $as_echo_n "checking for $ac_word... " >&6; }
2669 if ${ac_cv_prog_CC+:} false; then :
2670 $as_echo_n "(cached) " >&6
2672 if test -n "$CC"; then
2673 ac_cv_prog_CC="$CC" # Let the user override the test.
2676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2680 test -z "$as_dir" && as_dir=.
2681 for ac_exec_ext in '' $ac_executable_extensions; do
2682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2683 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2684 ac_prog_rejected=yes
2688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2695 if test $ac_prog_rejected = yes; then
2696 # We found a bogon in the path, so make sure we never use it.
2697 set dummy $ac_cv_prog_CC
2699 if test $# != 0; then
2700 # We chose a different compiler from the bogus one.
2701 # However, it has the same basename, so the bogon will be chosen
2702 # first if we set CC to just the basename; use the full file name.
2704 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2710 if test -n "$CC"; then
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2712 $as_echo "$CC" >&6; }
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2715 $as_echo "no" >&6; }
2720 if test -z "$CC"; then
2721 if test -n "$ac_tool_prefix"; then
2722 for ac_prog in cl.exe
2724 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2725 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2727 $as_echo_n "checking for $ac_word... " >&6; }
2728 if ${ac_cv_prog_CC+:} false; then :
2729 $as_echo_n "(cached) " >&6
2731 if test -n "$CC"; then
2732 ac_cv_prog_CC="$CC" # Let the user override the test.
2734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2738 test -z "$as_dir" && as_dir=.
2739 for ac_exec_ext in '' $ac_executable_extensions; do
2740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2741 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2752 if test -n "$CC"; then
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2754 $as_echo "$CC" >&6; }
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2757 $as_echo "no" >&6; }
2761 test -n "$CC" && break
2764 if test -z "$CC"; then
2766 for ac_prog in cl.exe
2768 # Extract the first word of "$ac_prog", so it can be a program name with args.
2769 set dummy $ac_prog; ac_word=$2
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2771 $as_echo_n "checking for $ac_word... " >&6; }
2772 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2773 $as_echo_n "(cached) " >&6
2775 if test -n "$ac_ct_CC"; then
2776 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2782 test -z "$as_dir" && as_dir=.
2783 for ac_exec_ext in '' $ac_executable_extensions; do
2784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2785 ac_cv_prog_ac_ct_CC="$ac_prog"
2786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2795 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2796 if test -n "$ac_ct_CC"; then
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2798 $as_echo "$ac_ct_CC" >&6; }
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2801 $as_echo "no" >&6; }
2805 test -n "$ac_ct_CC" && break
2808 if test "x$ac_ct_CC" = x; then
2811 case $cross_compiling:$ac_tool_warned in
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2815 ac_tool_warned=yes ;;
2824 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2825 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2826 as_fn_error $? "no acceptable C compiler found in \$PATH
2827 See \`config.log' for more details" "$LINENO" 5; }
2829 # Provide some information about the compiler.
2830 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2833 for ac_option in --version -v -V -qversion; do
2834 { { ac_try="$ac_compiler $ac_option >&5"
2836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2837 *) ac_try_echo=$ac_try;;
2839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2840 $as_echo "$ac_try_echo"; } >&5
2841 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2843 if test -s conftest.err; then
2845 ... rest of stderr output deleted ...
2846 10q' conftest.err >conftest.er1
2847 cat conftest.er1 >&5
2849 rm -f conftest.er1 conftest.err
2850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2851 test $ac_status = 0; }
2854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2855 /* end confdefs.h. */
2865 ac_clean_files_save=$ac_clean_files
2866 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2867 # Try to create an executable without -o first, disregard a.out.
2868 # It will help us diagnose broken compilers, and finding out an intuition
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2871 $as_echo_n "checking whether the C compiler works... " >&6; }
2872 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2874 # The possible output files:
2875 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2878 for ac_file in $ac_files
2881 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2882 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2887 if { { ac_try="$ac_link_default"
2889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2890 *) ac_try_echo=$ac_try;;
2892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2893 $as_echo "$ac_try_echo"; } >&5
2894 (eval "$ac_link_default") 2>&5
2896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2897 test $ac_status = 0; }; then :
2898 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2899 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2900 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2901 # so that the user can short-circuit this test for compilers unknown to
2903 for ac_file in $ac_files ''
2905 test -f "$ac_file" || continue
2907 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2910 # We found the default executable, but exeext='' is most
2914 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2916 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2918 # We set ac_cv_exeext here because the later test for it is not
2919 # safe: cross compilers may not add the suffix if given an `-o'
2920 # argument, so we may need to know it at that point already.
2921 # Even if this section looks crufty: it has the advantage of
2928 test "$ac_cv_exeext" = no && ac_cv_exeext=
2933 if test -z "$ac_file"; then :
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2935 $as_echo "no" >&6; }
2936 $as_echo "$as_me: failed program was:" >&5
2937 sed 's/^/| /' conftest.$ac_ext >&5
2939 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2940 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2941 as_fn_error 77 "C compiler cannot create executables
2942 See \`config.log' for more details" "$LINENO" 5; }
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2945 $as_echo "yes" >&6; }
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2948 $as_echo_n "checking for C compiler default output file name... " >&6; }
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2950 $as_echo "$ac_file" >&6; }
2951 ac_exeext=$ac_cv_exeext
2953 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2954 ac_clean_files=$ac_clean_files_save
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2956 $as_echo_n "checking for suffix of executables... " >&6; }
2957 if { { ac_try="$ac_link"
2959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2960 *) ac_try_echo=$ac_try;;
2962 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2963 $as_echo "$ac_try_echo"; } >&5
2964 (eval "$ac_link") 2>&5
2966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2967 test $ac_status = 0; }; then :
2968 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2969 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2970 # work properly (i.e., refer to `conftest.exe'), while it won't with
2972 for ac_file in conftest.exe conftest conftest.*; do
2973 test -f "$ac_file" || continue
2975 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2976 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2982 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2983 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2984 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2985 See \`config.log' for more details" "$LINENO" 5; }
2987 rm -f conftest conftest$ac_cv_exeext
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2989 $as_echo "$ac_cv_exeext" >&6; }
2991 rm -f conftest.$ac_ext
2992 EXEEXT=$ac_cv_exeext
2994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2995 /* end confdefs.h. */
3000 FILE *f = fopen ("conftest.out", "w");
3001 return ferror (f) || fclose (f) != 0;
3007 ac_clean_files="$ac_clean_files conftest.out"
3008 # Check that the compiler produces executables we can run. If not, either
3009 # the compiler is broken, or we cross compile.
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3011 $as_echo_n "checking whether we are cross compiling... " >&6; }
3012 if test "$cross_compiling" != yes; then
3013 { { ac_try="$ac_link"
3015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3016 *) ac_try_echo=$ac_try;;
3018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3019 $as_echo "$ac_try_echo"; } >&5
3020 (eval "$ac_link") 2>&5
3022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3023 test $ac_status = 0; }
3024 if { ac_try='./conftest$ac_cv_exeext'
3025 { { case "(($ac_try" in
3026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3027 *) ac_try_echo=$ac_try;;
3029 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3030 $as_echo "$ac_try_echo"; } >&5
3031 (eval "$ac_try") 2>&5
3033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3034 test $ac_status = 0; }; }; then
3037 if test "$cross_compiling" = maybe; then
3040 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3042 as_fn_error $? "cannot run C compiled programs.
3043 If you meant to cross compile, use \`--host'.
3044 See \`config.log' for more details" "$LINENO" 5; }
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3049 $as_echo "$cross_compiling" >&6; }
3051 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3052 ac_clean_files=$ac_clean_files_save
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3054 $as_echo_n "checking for suffix of object files... " >&6; }
3055 if ${ac_cv_objext+:} false; then :
3056 $as_echo_n "(cached) " >&6
3058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3059 /* end confdefs.h. */
3069 rm -f conftest.o conftest.obj
3070 if { { ac_try="$ac_compile"
3072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3073 *) ac_try_echo=$ac_try;;
3075 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3076 $as_echo "$ac_try_echo"; } >&5
3077 (eval "$ac_compile") 2>&5
3079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3080 test $ac_status = 0; }; then :
3081 for ac_file in conftest.o conftest.obj conftest.*; do
3082 test -f "$ac_file" || continue;
3084 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3085 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3090 $as_echo "$as_me: failed program was:" >&5
3091 sed 's/^/| /' conftest.$ac_ext >&5
3093 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3094 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3095 as_fn_error $? "cannot compute suffix of object files: cannot compile
3096 See \`config.log' for more details" "$LINENO" 5; }
3098 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3101 $as_echo "$ac_cv_objext" >&6; }
3102 OBJEXT=$ac_cv_objext
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3105 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3106 if ${ac_cv_c_compiler_gnu+:} false; then :
3107 $as_echo_n "(cached) " >&6
3109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3110 /* end confdefs.h. */
3123 if ac_fn_c_try_compile "$LINENO"; then :
3128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3129 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3133 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3134 if test $ac_compiler_gnu = yes; then
3139 ac_test_CFLAGS=${CFLAGS+set}
3140 ac_save_CFLAGS=$CFLAGS
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3142 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3143 if ${ac_cv_prog_cc_g+:} false; then :
3144 $as_echo_n "(cached) " >&6
3146 ac_save_c_werror_flag=$ac_c_werror_flag
3147 ac_c_werror_flag=yes
3150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3151 /* end confdefs.h. */
3161 if ac_fn_c_try_compile "$LINENO"; then :
3165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3166 /* end confdefs.h. */
3176 if ac_fn_c_try_compile "$LINENO"; then :
3179 ac_c_werror_flag=$ac_save_c_werror_flag
3181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3182 /* end confdefs.h. */
3192 if ac_fn_c_try_compile "$LINENO"; then :
3195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3200 ac_c_werror_flag=$ac_save_c_werror_flag
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3203 $as_echo "$ac_cv_prog_cc_g" >&6; }
3204 if test "$ac_test_CFLAGS" = set; then
3205 CFLAGS=$ac_save_CFLAGS
3206 elif test $ac_cv_prog_cc_g = yes; then
3207 if test "$GCC" = yes; then
3213 if test "$GCC" = yes; then
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3220 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3221 if ${ac_cv_prog_cc_c89+:} false; then :
3222 $as_echo_n "(cached) " >&6
3224 ac_cv_prog_cc_c89=no
3226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3227 /* end confdefs.h. */
3231 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3232 struct buf { int x; };
3233 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3234 static char *e (p, i)
3240 static char *f (char * (*g) (char **, int), char **p, ...)
3245 s = g (p, va_arg (v,int));
3250 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3251 function prototypes and stuff, but not '\xHH' hex character constants.
3252 These don't provoke an error unfortunately, instead are silently treated
3253 as 'x'. The following induces an error, until -std is added to get
3254 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3255 array size at least. It's necessary to write '\x00'==0 to get something
3256 that's true only with -std. */
3257 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3259 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3260 inside strings and character constants. */
3262 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3264 int test (int i, double x);
3265 struct s1 {int (*f) (int a);};
3266 struct s2 {int (*f) (double a);};
3267 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3273 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3278 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3279 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3281 CC="$ac_save_CC $ac_arg"
3282 if ac_fn_c_try_compile "$LINENO"; then :
3283 ac_cv_prog_cc_c89=$ac_arg
3285 rm -f core conftest.err conftest.$ac_objext
3286 test "x$ac_cv_prog_cc_c89" != "xno" && break
3288 rm -f conftest.$ac_ext
3293 case "x$ac_cv_prog_cc_c89" in
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3296 $as_echo "none needed" >&6; } ;;
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3299 $as_echo "unsupported" >&6; } ;;
3301 CC="$CC $ac_cv_prog_cc_c89"
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3303 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3305 if test "x$ac_cv_prog_cc_c89" != xno; then :
3310 ac_cpp='$CPP $CPPFLAGS'
3311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3314 DEPDIR="${am__leading_dot}deps"
3316 ac_config_commands="$ac_config_commands depfiles"
3319 am_make=${MAKE-make}
3320 cat > confinc << 'END'
3322 @echo this is the am__doit target
3325 # If we don't find an include directive, just comment out the code.
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3327 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3331 # First try GNU make style include.
3332 echo "include confinc" > confmf
3333 # Ignore all kinds of additional output from `make'.
3334 case `$am_make -s -f confmf 2> /dev/null` in #(
3335 *the\ am__doit\ target*)
3341 # Now try BSD make style include.
3342 if test "$am__include" = "#"; then
3343 echo '.include "confinc"' > confmf
3344 case `$am_make -s -f confmf 2> /dev/null` in #(
3345 *the\ am__doit\ target*)
3346 am__include=.include
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3355 $as_echo "$_am_result" >&6; }
3356 rm -f confinc confmf
3358 # Check whether --enable-dependency-tracking was given.
3359 if test "${enable_dependency_tracking+set}" = set; then :
3360 enableval=$enable_dependency_tracking;
3363 if test "x$enable_dependency_tracking" != xno; then
3364 am_depcomp="$ac_aux_dir/depcomp"
3368 if test "x$enable_dependency_tracking" != xno; then
3378 depcc="$CC" am_compiler_list=
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3381 $as_echo_n "checking dependency style of $depcc... " >&6; }
3382 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3383 $as_echo_n "(cached) " >&6
3385 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3386 # We make a subdir and do the tests there. Otherwise we can end up
3387 # making bogus files that we don't know about and never remove. For
3388 # instance it was reported that on HP-UX the gcc test will end up
3389 # making a dummy file named `D' -- because `-MD' means `put the output
3393 # Copy depcomp to subdir because otherwise we won't find it if we're
3394 # using a relative directory.
3395 cp "$am_depcomp" conftest.dir
3397 # We will build objects and dependencies in a subdirectory because
3398 # it helps to detect inapplicable dependency modes. For instance
3399 # both Tru64's cc and ICC support -MD to output dependencies as a
3400 # side effect of compilation, but ICC will put the dependencies in
3401 # the current directory while Tru64 will put them in the object
3405 am_cv_CC_dependencies_compiler_type=none
3406 if test "$am_compiler_list" = ""; then
3407 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3410 case " $depcc " in #(
3411 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3414 for depmode in $am_compiler_list; do
3415 # Setup a source with many dependencies, because some compilers
3416 # like to wrap large dependency lists on column 80 (with \), and
3417 # we should not choose a depcomp mode which is confused by this.
3419 # We need to recreate these files for each test, as the compiler may
3420 # overwrite some of them when testing with obscure command lines.
3421 # This happens at least with the AIX C compiler.
3423 for i in 1 2 3 4 5 6; do
3424 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3425 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3426 # Solaris 8's {/usr,}/bin/sh.
3427 touch sub/conftst$i.h
3429 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3431 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3432 # mode. It turns out that the SunPro C++ compiler does not properly
3433 # handle `-M -o', and we need to detect this. Also, some Intel
3434 # versions had trouble with output in subdirs
3435 am__obj=sub/conftest.${OBJEXT-o}
3436 am__minus_obj="-o $am__obj"
3439 # This depmode causes a compiler race in universal mode.
3440 test "$am__universal" = false || continue
3443 # after this tag, mechanisms are not by side-effect, so they'll
3444 # only be used when explicitly requested
3445 if test "x$enable_dependency_tracking" = xyes; then
3451 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3452 # This compiler won't grok `-c -o', but also, the minuso test has
3453 # not run yet. These depmodes are late enough in the game, and
3454 # so weak that their functioning should not be impacted.
3455 am__obj=conftest.${OBJEXT-o}
3460 if depmode=$depmode \
3461 source=sub/conftest.c object=$am__obj \
3462 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3463 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3464 >/dev/null 2>conftest.err &&
3465 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3466 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3467 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3468 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3469 # icc doesn't choke on unknown options, it will just issue warnings
3470 # or remarks (even with -Werror). So we grep stderr for any message
3471 # that says an option was ignored or not supported.
3472 # When given -MP, icc 7.0 and 7.1 complain thusly:
3473 # icc: Command line warning: ignoring option '-M'; no argument required
3474 # The diagnosis changed in icc 8.0:
3475 # icc: Command line remark: option '-MP' not supported
3476 if (grep 'ignoring option' conftest.err ||
3477 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3478 am_cv_CC_dependencies_compiler_type=$depmode
3487 am_cv_CC_dependencies_compiler_type=none
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3492 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3493 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3496 test "x$enable_dependency_tracking" != xno \
3497 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3499 am__fastdepCC_FALSE='#'
3501 am__fastdepCC_TRUE='#'
3502 am__fastdepCC_FALSE=
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3507 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3508 if ${ac_cv_prog_cc_c99+:} false; then :
3509 $as_echo_n "(cached) " >&6
3511 ac_cv_prog_cc_c99=no
3513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3514 /* end confdefs.h. */
3516 #include <stdbool.h>
3521 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3522 #define debug(...) fprintf (stderr, __VA_ARGS__)
3523 #define showlist(...) puts (#__VA_ARGS__)
3524 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3526 test_varargs_macros (void)
3531 debug ("X = %d\n", x);
3532 showlist (The first, second, and third items.);
3533 report (x>y, "x is %d but y is %d", x, y);
3536 // Check long long types.
3537 #define BIG64 18446744073709551615ull
3538 #define BIG32 4294967295ul
3539 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3541 your preprocessor is broken;
3545 your preprocessor is broken;
3547 static long long int bignum = -9223372036854775807LL;
3548 static unsigned long long int ubignum = BIG64;
3550 struct incomplete_array
3558 const wchar_t *name;
3562 typedef const char *ccp;
3565 test_restrict (ccp restrict text)
3567 // See if C++-style comments work.
3568 // Iterate through items via the restricted pointer.
3569 // Also check for declarations in for loops.
3570 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3575 // Check varargs and va_copy.
3577 test_varargs (const char *format, ...)
3580 va_start (args, format);
3582 va_copy (args_copy, args);
3593 str = va_arg (args_copy, const char *);
3596 number = va_arg (args_copy, int);
3599 fnumber = va_arg (args_copy, double);
3614 _Bool success = false;
3617 if (test_restrict ("String literal") == 0)
3619 char *restrict newvar = "Another string";
3622 test_varargs ("s, d' f .", "string", 65, 34.234);
3623 test_varargs_macros ();
3625 // Check flexible array members.
3626 struct incomplete_array *ia =
3627 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3629 for (int i = 0; i < ia->datasize; ++i)
3630 ia->data[i] = i * 1.234;
3632 // Check named initializers.
3633 struct named_init ni = {
3635 .name = L"Test wide string",
3636 .average = 543.34343,
3641 int dynamic_array[ni.number];
3642 dynamic_array[ni.number - 1] = 543;
3644 // work around unused variable warnings
3645 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3646 || dynamic_array[ni.number - 1] != 543);
3652 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
3654 CC="$ac_save_CC $ac_arg"
3655 if ac_fn_c_try_compile "$LINENO"; then :
3656 ac_cv_prog_cc_c99=$ac_arg
3658 rm -f core conftest.err conftest.$ac_objext
3659 test "x$ac_cv_prog_cc_c99" != "xno" && break
3661 rm -f conftest.$ac_ext
3666 case "x$ac_cv_prog_cc_c99" in
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3669 $as_echo "none needed" >&6; } ;;
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3672 $as_echo "unsupported" >&6; } ;;
3674 CC="$CC $ac_cv_prog_cc_c99"
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3676 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3678 if test "x$ac_cv_prog_cc_c99" != xno; then :
3683 if test "x$CC" != xcc; then
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3685 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3688 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3690 set dummy $CC; ac_cc=`$as_echo "$2" |
3691 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3692 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3693 $as_echo_n "(cached) " >&6
3695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3696 /* end confdefs.h. */
3706 # Make sure it works both with $CC and with simple cc.
3707 # We do the test twice because some compilers refuse to overwrite an
3708 # existing .o file with -o, though they will create one.
3709 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3711 if { { case "(($ac_try" in
3712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3713 *) ac_try_echo=$ac_try;;
3715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3716 $as_echo "$ac_try_echo"; } >&5
3717 (eval "$ac_try") 2>&5
3719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3720 test $ac_status = 0; } &&
3721 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3723 *) ac_try_echo=$ac_try;;
3725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3726 $as_echo "$ac_try_echo"; } >&5
3727 (eval "$ac_try") 2>&5
3729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3730 test $ac_status = 0; };
3732 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3733 if test "x$CC" != xcc; then
3734 # Test first that cc exists at all.
3735 if { ac_try='cc -c conftest.$ac_ext >&5'
3736 { { case "(($ac_try" in
3737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3738 *) ac_try_echo=$ac_try;;
3740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3741 $as_echo "$ac_try_echo"; } >&5
3742 (eval "$ac_try") 2>&5
3744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3745 test $ac_status = 0; }; }; then
3746 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3748 if { { case "(($ac_try" in
3749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3750 *) ac_try_echo=$ac_try;;
3752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3753 $as_echo "$ac_try_echo"; } >&5
3754 (eval "$ac_try") 2>&5
3756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3757 test $ac_status = 0; } &&
3758 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3760 *) ac_try_echo=$ac_try;;
3762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3763 $as_echo "$ac_try_echo"; } >&5
3764 (eval "$ac_try") 2>&5
3766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3767 test $ac_status = 0; };
3772 # cc exists but doesn't like -o.
3773 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3778 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3780 rm -f core conftest*
3783 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3785 $as_echo "yes" >&6; }
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3788 $as_echo "no" >&6; }
3790 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3794 # FIXME: we rely on the cache variable name because
3795 # there is no other way.
3797 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3798 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3799 if test "$am_t" != yes; then
3800 # Losing compiler, so override with the script.
3801 # FIXME: It is wrong to rewrite CC.
3802 # But if we don't then we get into trouble of one sort or another.
3803 # A longer-term fix would be to have automake use am__CC in this case,
3804 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3805 CC="$am_aux_dir/compile $CC"
3810 # Checks for header files.
3813 ac_cpp='$CPP $CPPFLAGS'
3814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3818 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3819 # On Suns, sometimes $CPP names a directory.
3820 if test -n "$CPP" && test -d "$CPP"; then
3823 if test -z "$CPP"; then
3824 if ${ac_cv_prog_CPP+:} false; then :
3825 $as_echo_n "(cached) " >&6
3827 # Double quotes because CPP needs to be expanded
3828 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3831 for ac_c_preproc_warn_flag in '' yes
3833 # Use a header file that comes with gcc, so configuring glibc
3834 # with a fresh cross-compiler works.
3835 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3836 # <limits.h> exists even on freestanding compilers.
3837 # On the NeXT, cc -E runs the code through the compiler's parser,
3838 # not just through cpp. "Syntax error" is here to catch this case.
3839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3840 /* end confdefs.h. */
3842 # include <limits.h>
3844 # include <assert.h>
3848 if ac_fn_c_try_cpp "$LINENO"; then :
3851 # Broken: fails on valid input.
3854 rm -f conftest.err conftest.i conftest.$ac_ext
3856 # OK, works on sane cases. Now check whether nonexistent headers
3857 # can be detected and how.
3858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3859 /* end confdefs.h. */
3860 #include <ac_nonexistent.h>
3862 if ac_fn_c_try_cpp "$LINENO"; then :
3863 # Broken: success on invalid input.
3866 # Passes both tests.
3870 rm -f conftest.err conftest.i conftest.$ac_ext
3873 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3874 rm -f conftest.i conftest.err conftest.$ac_ext
3875 if $ac_preproc_ok; then :
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3888 $as_echo "$CPP" >&6; }
3890 for ac_c_preproc_warn_flag in '' yes
3892 # Use a header file that comes with gcc, so configuring glibc
3893 # with a fresh cross-compiler works.
3894 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3895 # <limits.h> exists even on freestanding compilers.
3896 # On the NeXT, cc -E runs the code through the compiler's parser,
3897 # not just through cpp. "Syntax error" is here to catch this case.
3898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3899 /* end confdefs.h. */
3901 # include <limits.h>
3903 # include <assert.h>
3907 if ac_fn_c_try_cpp "$LINENO"; then :
3910 # Broken: fails on valid input.
3913 rm -f conftest.err conftest.i conftest.$ac_ext
3915 # OK, works on sane cases. Now check whether nonexistent headers
3916 # can be detected and how.
3917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3918 /* end confdefs.h. */
3919 #include <ac_nonexistent.h>
3921 if ac_fn_c_try_cpp "$LINENO"; then :
3922 # Broken: success on invalid input.
3925 # Passes both tests.
3929 rm -f conftest.err conftest.i conftest.$ac_ext
3932 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3933 rm -f conftest.i conftest.err conftest.$ac_ext
3934 if $ac_preproc_ok; then :
3937 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3938 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3939 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3940 See \`config.log' for more details" "$LINENO" 5; }
3944 ac_cpp='$CPP $CPPFLAGS'
3945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
3951 $as_echo_n "checking for X... " >&6; }
3954 # Check whether --with-x was given.
3955 if test "${with_x+set}" = set; then :
3959 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3960 if test "x$with_x" = xno; then
3961 # The user explicitly disabled X.
3964 case $x_includes,$x_libraries in #(
3965 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
3966 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
3967 $as_echo_n "(cached) " >&6
3969 # One or both of the vars are not set, and there is no cached value.
3970 ac_x_includes=no ac_x_libraries=no
3971 rm -f -r conftest.dir
3972 if mkdir conftest.dir; then
3974 cat >Imakefile <<'_ACEOF'
3976 @echo incroot='${INCROOT}'
3978 @echo usrlibdir='${USRLIBDIR}'
3980 @echo libdir='${LIBDIR}'
3982 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3983 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3984 for ac_var in incroot usrlibdir libdir; do
3985 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3987 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3988 for ac_extension in a so sl dylib la dll; do
3989 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3990 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3991 ac_im_usrlibdir=$ac_im_libdir; break
3994 # Screen out bogus values from the imake configuration. They are
3995 # bogus both because they are the default anyway, and because
3996 # using them would break gcc on systems where it needs fixed includes.
3997 case $ac_im_incroot in
3998 /usr/include) ac_x_includes= ;;
3999 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
4001 case $ac_im_usrlibdir in
4002 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
4003 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
4007 rm -f -r conftest.dir
4010 # Standard set of common directories for X headers.
4011 # Check X11 before X11Rn because it is often a symlink to the current release.
4025 /usr/local/X11/include
4026 /usr/local/X11R7/include
4027 /usr/local/X11R6/include
4028 /usr/local/X11R5/include
4029 /usr/local/X11R4/include
4031 /usr/local/include/X11
4032 /usr/local/include/X11R7
4033 /usr/local/include/X11R6
4034 /usr/local/include/X11R5
4035 /usr/local/include/X11R4
4039 /usr/XFree86/include/X11
4043 /usr/unsupported/include
4045 /usr/local/x11r5/include
4046 /usr/lpp/Xamples/include
4048 /usr/openwin/include
4049 /usr/openwin/share/include'
4051 if test "$ac_x_includes" = no; then
4052 # Guess where to find include files, by looking for Xlib.h.
4053 # First, try using that file with no special directory specified.
4054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4055 /* end confdefs.h. */
4056 #include <X11/Xlib.h>
4058 if ac_fn_c_try_cpp "$LINENO"; then :
4059 # We can compile using X headers with no special include directory.
4062 for ac_dir in $ac_x_header_dirs; do
4063 if test -r "$ac_dir/X11/Xlib.h"; then
4064 ac_x_includes=$ac_dir
4069 rm -f conftest.err conftest.i conftest.$ac_ext
4070 fi # $ac_x_includes = no
4072 if test "$ac_x_libraries" = no; then
4073 # Check for the libraries.
4074 # See if we find them without any special options.
4075 # Don't add to $LIBS permanently.
4078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4079 /* end confdefs.h. */
4080 #include <X11/Xlib.h>
4089 if ac_fn_c_try_link "$LINENO"; then :
4091 # We can link X programs with no special library path.
4095 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4097 # Don't even attempt the hair of trying to link an X program!
4098 for ac_extension in a so sl dylib la dll; do
4099 if test -r "$ac_dir/libX11.$ac_extension"; then
4100 ac_x_libraries=$ac_dir
4106 rm -f core conftest.err conftest.$ac_objext \
4107 conftest$ac_exeext conftest.$ac_ext
4108 fi # $ac_x_libraries = no
4110 case $ac_x_includes,$ac_x_libraries in #(
4112 # Didn't find X, or a directory has "'" in its name.
4113 ac_cv_have_x="have_x=no";; #(
4115 # Record where we found X for the cache.
4116 ac_cv_have_x="have_x=yes\
4117 ac_x_includes='$ac_x_includes'\
4118 ac_x_libraries='$ac_x_libraries'"
4124 eval "$ac_cv_have_x"
4127 if test "$have_x" != yes; then
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
4129 $as_echo "$have_x" >&6; }
4132 # If each of the values was on the command line, it overrides each guess.
4133 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4134 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4135 # Update the cache value to reflect the command line values.
4136 ac_cv_have_x="have_x=yes\
4137 ac_x_includes='$x_includes'\
4138 ac_x_libraries='$x_libraries'"
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
4140 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4147 $as_echo_n "checking whether NLS is requested... " >&6; }
4148 # Check whether --enable-nls was given.
4149 if test "${enable_nls+set}" = set; then :
4150 enableval=$enable_nls; USE_NLS=$enableval
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4156 $as_echo "$USE_NLS" >&6; }
4161 GETTEXT_MACRO_VERSION=0.18
4166 # Prepare PATH_SEPARATOR.
4167 # The user is always right.
4168 if test "${PATH_SEPARATOR+set}" != set; then
4169 echo "#! /bin/sh" >conf$$.sh
4170 echo "exit 0" >>conf$$.sh
4172 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4180 # Find out how to test for executable files. Don't use a zero-byte file,
4181 # as systems may use methods other than mode bits to determine executability.
4182 cat >conf$$.file <<_ASEOF
4186 chmod +x conf$$.file
4187 if test -x conf$$.file >/dev/null 2>&1; then
4188 ac_executable_p="test -x"
4190 ac_executable_p="test -f"
4194 # Extract the first word of "msgfmt", so it can be a program name with args.
4195 set dummy msgfmt; ac_word=$2
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4197 $as_echo_n "checking for $ac_word... " >&6; }
4198 if ${ac_cv_path_MSGFMT+:} false; then :
4199 $as_echo_n "(cached) " >&6
4203 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4206 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4207 for ac_dir in $PATH; do
4209 test -z "$ac_dir" && ac_dir=.
4210 for ac_exec_ext in '' $ac_executable_extensions; do
4211 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4212 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4213 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
4214 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4215 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
4222 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
4226 MSGFMT="$ac_cv_path_MSGFMT"
4227 if test "$MSGFMT" != ":"; then
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4229 $as_echo "$MSGFMT" >&6; }
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4232 $as_echo "no" >&6; }
4235 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4236 set dummy gmsgfmt; ac_word=$2
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4238 $as_echo_n "checking for $ac_word... " >&6; }
4239 if ${ac_cv_path_GMSGFMT+:} false; then :
4240 $as_echo_n "(cached) " >&6
4244 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4251 test -z "$as_dir" && as_dir=.
4252 for ac_exec_ext in '' $ac_executable_extensions; do
4253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4254 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4262 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4266 GMSGFMT=$ac_cv_path_GMSGFMT
4267 if test -n "$GMSGFMT"; then
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4269 $as_echo "$GMSGFMT" >&6; }
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4272 $as_echo "no" >&6; }
4277 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4278 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
4279 *) MSGFMT_015=$MSGFMT ;;
4282 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4283 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
4284 *) GMSGFMT_015=$GMSGFMT ;;
4289 # Prepare PATH_SEPARATOR.
4290 # The user is always right.
4291 if test "${PATH_SEPARATOR+set}" != set; then
4292 echo "#! /bin/sh" >conf$$.sh
4293 echo "exit 0" >>conf$$.sh
4295 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4303 # Find out how to test for executable files. Don't use a zero-byte file,
4304 # as systems may use methods other than mode bits to determine executability.
4305 cat >conf$$.file <<_ASEOF
4309 chmod +x conf$$.file
4310 if test -x conf$$.file >/dev/null 2>&1; then
4311 ac_executable_p="test -x"
4313 ac_executable_p="test -f"
4317 # Extract the first word of "xgettext", so it can be a program name with args.
4318 set dummy xgettext; ac_word=$2
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4320 $as_echo_n "checking for $ac_word... " >&6; }
4321 if ${ac_cv_path_XGETTEXT+:} false; then :
4322 $as_echo_n "(cached) " >&6
4326 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4329 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4330 for ac_dir in $PATH; do
4332 test -z "$ac_dir" && ac_dir=.
4333 for ac_exec_ext in '' $ac_executable_extensions; do
4334 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4335 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4336 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
4337 (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
4338 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
4345 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4349 XGETTEXT="$ac_cv_path_XGETTEXT"
4350 if test "$XGETTEXT" != ":"; then
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4352 $as_echo "$XGETTEXT" >&6; }
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4355 $as_echo "no" >&6; }
4360 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4361 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
4362 *) XGETTEXT_015=$XGETTEXT ;;
4367 # Prepare PATH_SEPARATOR.
4368 # The user is always right.
4369 if test "${PATH_SEPARATOR+set}" != set; then
4370 echo "#! /bin/sh" >conf$$.sh
4371 echo "exit 0" >>conf$$.sh
4373 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4381 # Find out how to test for executable files. Don't use a zero-byte file,
4382 # as systems may use methods other than mode bits to determine executability.
4383 cat >conf$$.file <<_ASEOF
4387 chmod +x conf$$.file
4388 if test -x conf$$.file >/dev/null 2>&1; then
4389 ac_executable_p="test -x"
4391 ac_executable_p="test -f"
4395 # Extract the first word of "msgmerge", so it can be a program name with args.
4396 set dummy msgmerge; ac_word=$2
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4398 $as_echo_n "checking for $ac_word... " >&6; }
4399 if ${ac_cv_path_MSGMERGE+:} false; then :
4400 $as_echo_n "(cached) " >&6
4404 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4407 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4408 for ac_dir in $PATH; do
4410 test -z "$ac_dir" && ac_dir=.
4411 for ac_exec_ext in '' $ac_executable_extensions; do
4412 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4413 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4414 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
4415 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
4422 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
4426 MSGMERGE="$ac_cv_path_MSGMERGE"
4427 if test "$MSGMERGE" != ":"; then
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4429 $as_echo "$MSGMERGE" >&6; }
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4432 $as_echo "no" >&6; }
4436 test -n "$localedir" || localedir='${datadir}/locale'
4439 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
4442 ac_config_commands="$ac_config_commands po-directories"
4446 if test "X$prefix" = "XNONE"; then
4447 acl_final_prefix="$ac_default_prefix"
4449 acl_final_prefix="$prefix"
4451 if test "X$exec_prefix" = "XNONE"; then
4452 acl_final_exec_prefix='${prefix}'
4454 acl_final_exec_prefix="$exec_prefix"
4456 acl_save_prefix="$prefix"
4457 prefix="$acl_final_prefix"
4458 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
4459 prefix="$acl_save_prefix"
4461 # Make sure we can run config.sub.
4462 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4463 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4466 $as_echo_n "checking build system type... " >&6; }
4467 if ${ac_cv_build+:} false; then :
4468 $as_echo_n "(cached) " >&6
4470 ac_build_alias=$build_alias
4471 test "x$ac_build_alias" = x &&
4472 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4473 test "x$ac_build_alias" = x &&
4474 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4475 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4476 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4480 $as_echo "$ac_cv_build" >&6; }
4481 case $ac_cv_build in
4483 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4486 ac_save_IFS=$IFS; IFS='-'
4492 # Remember, the first character of IFS is used to create $*,
4493 # except with old shells:
4496 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4500 $as_echo_n "checking host system type... " >&6; }
4501 if ${ac_cv_host+:} false; then :
4502 $as_echo_n "(cached) " >&6
4504 if test "x$host_alias" = x; then
4505 ac_cv_host=$ac_cv_build
4507 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4508 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4513 $as_echo "$ac_cv_host" >&6; }
4516 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4519 ac_save_IFS=$IFS; IFS='-'
4525 # Remember, the first character of IFS is used to create $*,
4526 # except with old shells:
4529 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4533 # Check whether --with-gnu-ld was given.
4534 if test "${with_gnu_ld+set}" = set; then :
4535 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4540 # Prepare PATH_SEPARATOR.
4541 # The user is always right.
4542 if test "${PATH_SEPARATOR+set}" != set; then
4543 echo "#! /bin/sh" >conf$$.sh
4544 echo "exit 0" >>conf$$.sh
4546 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4554 if test "$GCC" = yes; then
4555 # Check if gcc -print-prog-name=ld gives a path.
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
4557 $as_echo_n "checking for ld used by GCC... " >&6; }
4560 # gcc leaves a trailing carriage return which upsets mingw
4561 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4563 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4566 # Accept absolute paths.
4567 [\\/]* | [A-Za-z]:[\\/]*)
4568 re_direlt='/[^/][^/]*/\.\./'
4569 # Canonicalize the path of ld
4570 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4571 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4572 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4574 test -z "$LD" && LD="$ac_prog"
4577 # If it fails, then pretend we aren't using GCC.
4581 # If it is relative, then search for the first ld in PATH.
4585 elif test "$with_gnu_ld" = yes; then
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4587 $as_echo_n "checking for GNU ld... " >&6; }
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4590 $as_echo_n "checking for non-GNU ld... " >&6; }
4592 if ${acl_cv_path_LD+:} false; then :
4593 $as_echo_n "(cached) " >&6
4595 if test -z "$LD"; then
4596 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4597 for ac_dir in $PATH; do
4598 test -z "$ac_dir" && ac_dir=.
4599 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4600 acl_cv_path_LD="$ac_dir/$ac_prog"
4601 # Check to see if the program is GNU ld. I'd rather use --version,
4602 # but apparently some GNU ld's only accept -v.
4603 # Break only if it was the GNU/non-GNU ld that we prefer.
4604 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
4605 *GNU* | *'with BFD'*)
4606 test "$with_gnu_ld" != no && break ;;
4608 test "$with_gnu_ld" != yes && break ;;
4614 acl_cv_path_LD="$LD" # Let the user override the test with a path.
4618 LD="$acl_cv_path_LD"
4619 if test -n "$LD"; then
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4621 $as_echo "$LD" >&6; }
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4624 $as_echo "no" >&6; }
4626 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4628 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4629 if ${acl_cv_prog_gnu_ld+:} false; then :
4630 $as_echo_n "(cached) " >&6
4632 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4633 case `$LD -v 2>&1 </dev/null` in
4634 *GNU* | *'with BFD'*)
4635 acl_cv_prog_gnu_ld=yes ;;
4637 acl_cv_prog_gnu_ld=no ;;
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4641 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
4642 with_gnu_ld=$acl_cv_prog_gnu_ld
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
4648 $as_echo_n "checking for shared library run path origin... " >&6; }
4649 if ${acl_cv_rpath+:} false; then :
4650 $as_echo_n "(cached) " >&6
4653 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
4654 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
4661 $as_echo "$acl_cv_rpath" >&6; }
4663 acl_libext="$acl_cv_libext"
4664 acl_shlibext="$acl_cv_shlibext"
4665 acl_libname_spec="$acl_cv_libname_spec"
4666 acl_library_names_spec="$acl_cv_library_names_spec"
4667 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
4668 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
4669 acl_hardcode_direct="$acl_cv_hardcode_direct"
4670 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
4671 # Check whether --enable-rpath was given.
4672 if test "${enable_rpath+set}" = set; then :
4673 enableval=$enable_rpath; :
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4680 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4681 if ${ac_cv_path_GREP+:} false; then :
4682 $as_echo_n "(cached) " >&6
4684 if test -z "$GREP"; then
4685 ac_path_GREP_found=false
4686 # Loop through the user's path and test for each of PROGNAME-LIST
4687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4688 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4691 test -z "$as_dir" && as_dir=.
4692 for ac_prog in grep ggrep; do
4693 for ac_exec_ext in '' $ac_executable_extensions; do
4694 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4695 as_fn_executable_p "$ac_path_GREP" || continue
4696 # Check for GNU ac_path_GREP and select it if it is found.
4697 # Check for GNU $ac_path_GREP
4698 case `"$ac_path_GREP" --version 2>&1` in
4700 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4703 $as_echo_n 0123456789 >"conftest.in"
4706 cat "conftest.in" "conftest.in" >"conftest.tmp"
4707 mv "conftest.tmp" "conftest.in"
4708 cp "conftest.in" "conftest.nl"
4709 $as_echo 'GREP' >> "conftest.nl"
4710 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4711 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4712 as_fn_arith $ac_count + 1 && ac_count=$as_val
4713 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4714 # Best one so far, save it but keep looking for a better one
4715 ac_cv_path_GREP="$ac_path_GREP"
4716 ac_path_GREP_max=$ac_count
4718 # 10*(2^10) chars as input seems more than enough
4719 test $ac_count -gt 10 && break
4721 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4724 $ac_path_GREP_found && break 3
4729 if test -z "$ac_cv_path_GREP"; then
4730 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4733 ac_cv_path_GREP=$GREP
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4738 $as_echo "$ac_cv_path_GREP" >&6; }
4739 GREP="$ac_cv_path_GREP"
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4743 $as_echo_n "checking for egrep... " >&6; }
4744 if ${ac_cv_path_EGREP+:} false; then :
4745 $as_echo_n "(cached) " >&6
4747 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4748 then ac_cv_path_EGREP="$GREP -E"
4750 if test -z "$EGREP"; then
4751 ac_path_EGREP_found=false
4752 # Loop through the user's path and test for each of PROGNAME-LIST
4753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4754 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4757 test -z "$as_dir" && as_dir=.
4758 for ac_prog in egrep; do
4759 for ac_exec_ext in '' $ac_executable_extensions; do
4760 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4761 as_fn_executable_p "$ac_path_EGREP" || continue
4762 # Check for GNU ac_path_EGREP and select it if it is found.
4763 # Check for GNU $ac_path_EGREP
4764 case `"$ac_path_EGREP" --version 2>&1` in
4766 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4769 $as_echo_n 0123456789 >"conftest.in"
4772 cat "conftest.in" "conftest.in" >"conftest.tmp"
4773 mv "conftest.tmp" "conftest.in"
4774 cp "conftest.in" "conftest.nl"
4775 $as_echo 'EGREP' >> "conftest.nl"
4776 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4777 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4778 as_fn_arith $ac_count + 1 && ac_count=$as_val
4779 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4780 # Best one so far, save it but keep looking for a better one
4781 ac_cv_path_EGREP="$ac_path_EGREP"
4782 ac_path_EGREP_max=$ac_count
4784 # 10*(2^10) chars as input seems more than enough
4785 test $ac_count -gt 10 && break
4787 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4790 $ac_path_EGREP_found && break 3
4795 if test -z "$ac_cv_path_EGREP"; then
4796 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4799 ac_cv_path_EGREP=$EGREP
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4805 $as_echo "$ac_cv_path_EGREP" >&6; }
4806 EGREP="$ac_cv_path_EGREP"
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
4816 $as_echo_n "checking for 64-bit host... " >&6; }
4817 if ${gl_cv_solaris_64bit+:} false; then :
4818 $as_echo_n "(cached) " >&6
4820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4821 /* end confdefs.h. */
4828 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4829 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
4830 gl_cv_solaris_64bit=yes
4832 gl_cv_solaris_64bit=no
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
4839 $as_echo "$gl_cv_solaris_64bit" >&6; }
4840 if test $gl_cv_solaris_64bit = yes; then
4841 acl_libdirstem=lib/64
4843 sparc*) acl_libdirstem2=lib/sparcv9 ;;
4844 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
4849 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
4850 if test -n "$searchpath"; then
4851 acl_save_IFS="${IFS= }"; IFS=":"
4852 for searchdir in $searchpath; do
4853 if test -d "$searchdir"; then
4854 case "$searchdir" in
4855 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
4857 # Better ignore directories of this form. They are misleading.
4859 *) searchdir=`cd "$searchdir" && pwd`
4860 case "$searchdir" in
4861 */lib64 ) acl_libdirstem=lib64 ;;
4870 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
4885 acl_save_prefix="$prefix"
4886 prefix="$acl_final_prefix"
4887 acl_save_exec_prefix="$exec_prefix"
4888 exec_prefix="$acl_final_exec_prefix"
4890 eval additional_includedir=\"$includedir\"
4891 eval additional_libdir=\"$libdir\"
4893 exec_prefix="$acl_save_exec_prefix"
4894 prefix="$acl_save_prefix"
4897 # Check whether --with-libiconv-prefix was given.
4898 if test "${with_libiconv_prefix+set}" = set; then :
4899 withval=$with_libiconv_prefix;
4900 if test "X$withval" = "Xno"; then
4903 if test "X$withval" = "X"; then
4905 acl_save_prefix="$prefix"
4906 prefix="$acl_final_prefix"
4907 acl_save_exec_prefix="$exec_prefix"
4908 exec_prefix="$acl_final_exec_prefix"
4910 eval additional_includedir=\"$includedir\"
4911 eval additional_libdir=\"$libdir\"
4913 exec_prefix="$acl_save_exec_prefix"
4914 prefix="$acl_save_prefix"
4917 additional_includedir="$withval/include"
4918 additional_libdir="$withval/$acl_libdirstem"
4919 if test "$acl_libdirstem2" != "$acl_libdirstem" \
4920 && ! test -d "$withval/$acl_libdirstem"; then
4921 additional_libdir="$withval/$acl_libdirstem2"
4935 names_already_handled=
4936 names_next_round='iconv '
4937 while test -n "$names_next_round"; do
4938 names_this_round="$names_next_round"
4940 for name in $names_this_round; do
4942 for n in $names_already_handled; do
4943 if test "$n" = "$name"; then
4948 if test -z "$already_handled"; then
4949 names_already_handled="$names_already_handled $name"
4950 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
4951 eval value=\"\$HAVE_LIB$uppername\"
4952 if test -n "$value"; then
4953 if test "$value" = yes; then
4954 eval value=\"\$LIB$uppername\"
4955 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
4956 eval value=\"\$LTLIB$uppername\"
4957 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
4966 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
4967 if test -n "$acl_shlibext"; then
4968 shrext=".$acl_shlibext" # typically: shrext=.so
4972 if test $use_additional = yes; then
4973 dir="$additional_libdir"
4974 if test -n "$acl_shlibext"; then
4975 if test -f "$dir/$libname$shrext"; then
4977 found_so="$dir/$libname$shrext"
4979 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
4980 ver=`(cd "$dir" && \
4981 for f in "$libname$shrext".*; do echo "$f"; done \
4982 | sed -e "s,^$libname$shrext\\\\.,," \
4983 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
4984 | sed 1q ) 2>/dev/null`
4985 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
4987 found_so="$dir/$libname$shrext.$ver"
4990 eval library_names=\"$acl_library_names_spec\"
4991 for f in $library_names; do
4992 if test -f "$dir/$f"; then
5001 if test "X$found_dir" = "X"; then
5002 if test -f "$dir/$libname.$acl_libext"; then
5004 found_a="$dir/$libname.$acl_libext"
5007 if test "X$found_dir" != "X"; then
5008 if test -f "$dir/$libname.la"; then
5009 found_la="$dir/$libname.la"
5013 if test "X$found_dir" = "X"; then
5014 for x in $LDFLAGS $LTLIBICONV; do
5016 acl_save_prefix="$prefix"
5017 prefix="$acl_final_prefix"
5018 acl_save_exec_prefix="$exec_prefix"
5019 exec_prefix="$acl_final_exec_prefix"
5021 exec_prefix="$acl_save_exec_prefix"
5022 prefix="$acl_save_prefix"
5026 dir=`echo "X$x" | sed -e 's/^X-L//'`
5027 if test -n "$acl_shlibext"; then
5028 if test -f "$dir/$libname$shrext"; then
5030 found_so="$dir/$libname$shrext"
5032 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5033 ver=`(cd "$dir" && \
5034 for f in "$libname$shrext".*; do echo "$f"; done \
5035 | sed -e "s,^$libname$shrext\\\\.,," \
5036 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5037 | sed 1q ) 2>/dev/null`
5038 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5040 found_so="$dir/$libname$shrext.$ver"
5043 eval library_names=\"$acl_library_names_spec\"
5044 for f in $library_names; do
5045 if test -f "$dir/$f"; then
5054 if test "X$found_dir" = "X"; then
5055 if test -f "$dir/$libname.$acl_libext"; then
5057 found_a="$dir/$libname.$acl_libext"
5060 if test "X$found_dir" != "X"; then
5061 if test -f "$dir/$libname.la"; then
5062 found_la="$dir/$libname.la"
5067 if test "X$found_dir" != "X"; then
5072 if test "X$found_dir" != "X"; then
5073 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5074 if test "X$found_so" != "X"; then
5075 if test "$enable_rpath" = no \
5076 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
5077 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
5078 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5081 for x in $ltrpathdirs; do
5082 if test "X$x" = "X$found_dir"; then
5087 if test -z "$haveit"; then
5088 ltrpathdirs="$ltrpathdirs $found_dir"
5090 if test "$acl_hardcode_direct" = yes; then
5091 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5093 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
5094 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5096 for x in $rpathdirs; do
5097 if test "X$x" = "X$found_dir"; then
5102 if test -z "$haveit"; then
5103 rpathdirs="$rpathdirs $found_dir"
5107 for x in $LDFLAGS $LIBICONV; do
5109 acl_save_prefix="$prefix"
5110 prefix="$acl_final_prefix"
5111 acl_save_exec_prefix="$exec_prefix"
5112 exec_prefix="$acl_final_exec_prefix"
5114 exec_prefix="$acl_save_exec_prefix"
5115 prefix="$acl_save_prefix"
5117 if test "X$x" = "X-L$found_dir"; then
5122 if test -z "$haveit"; then
5123 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5125 if test "$acl_hardcode_minus_L" != no; then
5126 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5128 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5134 if test "X$found_a" != "X"; then
5135 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
5137 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5140 additional_includedir=
5141 case "$found_dir" in
5142 */$acl_libdirstem | */$acl_libdirstem/)
5143 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5144 if test "$name" = 'iconv'; then
5145 LIBICONV_PREFIX="$basedir"
5147 additional_includedir="$basedir/include"
5149 */$acl_libdirstem2 | */$acl_libdirstem2/)
5150 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
5151 if test "$name" = 'iconv'; then
5152 LIBICONV_PREFIX="$basedir"
5154 additional_includedir="$basedir/include"
5157 if test "X$additional_includedir" != "X"; then
5158 if test "X$additional_includedir" != "X/usr/include"; then
5160 if test "X$additional_includedir" = "X/usr/local/include"; then
5161 if test -n "$GCC"; then
5163 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5167 if test -z "$haveit"; then
5168 for x in $CPPFLAGS $INCICONV; do
5170 acl_save_prefix="$prefix"
5171 prefix="$acl_final_prefix"
5172 acl_save_exec_prefix="$exec_prefix"
5173 exec_prefix="$acl_final_exec_prefix"
5175 exec_prefix="$acl_save_exec_prefix"
5176 prefix="$acl_save_prefix"
5178 if test "X$x" = "X-I$additional_includedir"; then
5183 if test -z "$haveit"; then
5184 if test -d "$additional_includedir"; then
5185 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5191 if test -n "$found_la"; then
5192 save_libdir="$libdir"
5194 */* | *\\*) . "$found_la" ;;
5195 *) . "./$found_la" ;;
5197 libdir="$save_libdir"
5198 for dep in $dependency_libs; do
5201 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5202 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
5203 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
5205 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
5206 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
5207 if test -n "$GCC"; then
5209 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5213 if test -z "$haveit"; then
5215 for x in $LDFLAGS $LIBICONV; do
5217 acl_save_prefix="$prefix"
5218 prefix="$acl_final_prefix"
5219 acl_save_exec_prefix="$exec_prefix"
5220 exec_prefix="$acl_final_exec_prefix"
5222 exec_prefix="$acl_save_exec_prefix"
5223 prefix="$acl_save_prefix"
5225 if test "X$x" = "X-L$additional_libdir"; then
5230 if test -z "$haveit"; then
5231 if test -d "$additional_libdir"; then
5232 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5236 for x in $LDFLAGS $LTLIBICONV; do
5238 acl_save_prefix="$prefix"
5239 prefix="$acl_final_prefix"
5240 acl_save_exec_prefix="$exec_prefix"
5241 exec_prefix="$acl_final_exec_prefix"
5243 exec_prefix="$acl_save_exec_prefix"
5244 prefix="$acl_save_prefix"
5246 if test "X$x" = "X-L$additional_libdir"; then
5251 if test -z "$haveit"; then
5252 if test -d "$additional_libdir"; then
5253 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5260 dir=`echo "X$dep" | sed -e 's/^X-R//'`
5261 if test "$enable_rpath" != no; then
5263 for x in $rpathdirs; do
5264 if test "X$x" = "X$dir"; then
5269 if test -z "$haveit"; then
5270 rpathdirs="$rpathdirs $dir"
5273 for x in $ltrpathdirs; do
5274 if test "X$x" = "X$dir"; then
5279 if test -z "$haveit"; then
5280 ltrpathdirs="$ltrpathdirs $dir"
5285 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5288 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5291 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
5292 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5298 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5299 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5305 if test "X$rpathdirs" != "X"; then
5306 if test -n "$acl_hardcode_libdir_separator"; then
5308 for found_dir in $rpathdirs; do
5309 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
5311 acl_save_libdir="$libdir"
5313 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5314 libdir="$acl_save_libdir"
5315 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5317 for found_dir in $rpathdirs; do
5318 acl_save_libdir="$libdir"
5320 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5321 libdir="$acl_save_libdir"
5322 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5326 if test "X$ltrpathdirs" != "X"; then
5327 for found_dir in $ltrpathdirs; do
5328 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
5363 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
5364 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
5365 $as_echo_n "(cached) " >&6
5367 gt_save_LIBS="$LIBS"
5368 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5370 /* end confdefs.h. */
5371 #include <CoreFoundation/CFPreferences.h>
5375 CFPreferencesCopyAppValue(NULL, NULL)
5380 if ac_fn_c_try_link "$LINENO"; then :
5381 gt_cv_func_CFPreferencesCopyAppValue=yes
5383 gt_cv_func_CFPreferencesCopyAppValue=no
5385 rm -f core conftest.err conftest.$ac_objext \
5386 conftest$ac_exeext conftest.$ac_ext
5387 LIBS="$gt_save_LIBS"
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
5390 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
5391 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
5393 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
5397 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
5398 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
5399 $as_echo_n "(cached) " >&6
5401 gt_save_LIBS="$LIBS"
5402 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5404 /* end confdefs.h. */
5405 #include <CoreFoundation/CFLocale.h>
5409 CFLocaleCopyCurrent();
5414 if ac_fn_c_try_link "$LINENO"; then :
5415 gt_cv_func_CFLocaleCopyCurrent=yes
5417 gt_cv_func_CFLocaleCopyCurrent=no
5419 rm -f core conftest.err conftest.$ac_objext \
5420 conftest$ac_exeext conftest.$ac_ext
5421 LIBS="$gt_save_LIBS"
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
5424 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
5425 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5427 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
5431 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5432 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
5444 case " $gt_needs " in
5445 *" need-formatstring-macros "*) gt_api_version=3 ;;
5446 *" need-ngettext "*) gt_api_version=2 ;;
5447 *) gt_api_version=1 ;;
5449 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
5450 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
5452 if test "$USE_NLS" = "yes"; then
5453 gt_use_preinstalled_gnugettext=no
5456 if test $gt_api_version -ge 3; then
5457 gt_revision_test_code='
5458 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
5459 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
5461 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
5464 gt_revision_test_code=
5466 if test $gt_api_version -ge 2; then
5467 gt_expression_test_code=' + * ngettext ("", "", 0)'
5469 gt_expression_test_code=
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
5473 $as_echo_n "checking for GNU gettext in libc... " >&6; }
5474 if eval \${$gt_func_gnugettext_libc+:} false; then :
5475 $as_echo_n "(cached) " >&6
5477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5478 /* end confdefs.h. */
5479 #include <libintl.h>
5480 $gt_revision_test_code
5481 extern int _nl_msg_cat_cntr;
5482 extern int *_nl_domain_bindings;
5486 bindtextdomain ("", "");
5487 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
5492 if ac_fn_c_try_link "$LINENO"; then :
5493 eval "$gt_func_gnugettext_libc=yes"
5495 eval "$gt_func_gnugettext_libc=no"
5497 rm -f core conftest.err conftest.$ac_objext \
5498 conftest$ac_exeext conftest.$ac_ext
5500 eval ac_res=\$$gt_func_gnugettext_libc
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5502 $as_echo "$ac_res" >&6; }
5504 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
5510 am_save_CPPFLAGS="$CPPFLAGS"
5512 for element in $INCICONV; do
5514 for x in $CPPFLAGS; do
5516 acl_save_prefix="$prefix"
5517 prefix="$acl_final_prefix"
5518 acl_save_exec_prefix="$exec_prefix"
5519 exec_prefix="$acl_final_exec_prefix"
5521 exec_prefix="$acl_save_exec_prefix"
5522 prefix="$acl_save_prefix"
5524 if test "X$x" = "X$element"; then
5529 if test -z "$haveit"; then
5530 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
5536 $as_echo_n "checking for iconv... " >&6; }
5537 if ${am_cv_func_iconv+:} false; then :
5538 $as_echo_n "(cached) " >&6
5541 am_cv_func_iconv="no, consider installing GNU libiconv"
5543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5544 /* end confdefs.h. */
5550 iconv_t cd = iconv_open("","");
5551 iconv(cd,NULL,NULL,NULL,NULL);
5557 if ac_fn_c_try_link "$LINENO"; then :
5558 am_cv_func_iconv=yes
5560 rm -f core conftest.err conftest.$ac_objext \
5561 conftest$ac_exeext conftest.$ac_ext
5562 if test "$am_cv_func_iconv" != yes; then
5563 am_save_LIBS="$LIBS"
5564 LIBS="$LIBS $LIBICONV"
5565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5566 /* end confdefs.h. */
5572 iconv_t cd = iconv_open("","");
5573 iconv(cd,NULL,NULL,NULL,NULL);
5579 if ac_fn_c_try_link "$LINENO"; then :
5581 am_cv_func_iconv=yes
5583 rm -f core conftest.err conftest.$ac_objext \
5584 conftest$ac_exeext conftest.$ac_ext
5585 LIBS="$am_save_LIBS"
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
5590 $as_echo "$am_cv_func_iconv" >&6; }
5591 if test "$am_cv_func_iconv" = yes; then
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
5593 $as_echo_n "checking for working iconv... " >&6; }
5594 if ${am_cv_func_iconv_works+:} false; then :
5595 $as_echo_n "(cached) " >&6
5598 am_save_LIBS="$LIBS"
5599 if test $am_cv_lib_iconv = yes; then
5600 LIBS="$LIBS $LIBICONV"
5602 if test "$cross_compiling" = yes; then :
5604 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
5605 *) am_cv_func_iconv_works="guessing yes" ;;
5608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5609 /* end confdefs.h. */
5615 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
5618 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
5619 if (cd_utf8_to_88591 != (iconv_t)(-1))
5621 static const char input[] = "\342\202\254"; /* EURO SIGN */
5623 const char *inptr = input;
5624 size_t inbytesleft = strlen (input);
5626 size_t outbytesleft = sizeof (buf);
5627 size_t res = iconv (cd_utf8_to_88591,
5628 (char **) &inptr, &inbytesleft,
5629 &outptr, &outbytesleft);
5634 /* Test against Solaris 10 bug: Failures are not distinguishable from
5635 successful returns. */
5637 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
5638 if (cd_ascii_to_88591 != (iconv_t)(-1))
5640 static const char input[] = "\263";
5642 const char *inptr = input;
5643 size_t inbytesleft = strlen (input);
5645 size_t outbytesleft = sizeof (buf);
5646 size_t res = iconv (cd_ascii_to_88591,
5647 (char **) &inptr, &inbytesleft,
5648 &outptr, &outbytesleft);
5653 #if 0 /* This bug could be worked around by the caller. */
5654 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
5656 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
5657 if (cd_88591_to_utf8 != (iconv_t)(-1))
5659 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
5661 const char *inptr = input;
5662 size_t inbytesleft = strlen (input);
5664 size_t outbytesleft = sizeof (buf);
5665 size_t res = iconv (cd_88591_to_utf8,
5666 (char **) &inptr, &inbytesleft,
5667 &outptr, &outbytesleft);
5673 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
5675 if (/* Try standardized names. */
5676 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
5677 /* Try IRIX, OSF/1 names. */
5678 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
5679 /* Try AIX names. */
5680 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
5681 /* Try HP-UX names. */
5682 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
5687 if ac_fn_c_try_run "$LINENO"; then :
5688 am_cv_func_iconv_works=yes
5690 am_cv_func_iconv_works=no
5692 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5693 conftest.$ac_objext conftest.beam conftest.$ac_ext
5696 LIBS="$am_save_LIBS"
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
5700 $as_echo "$am_cv_func_iconv_works" >&6; }
5701 case "$am_cv_func_iconv_works" in
5702 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
5703 *) am_func_iconv=yes ;;
5706 am_func_iconv=no am_cv_lib_iconv=no
5708 if test "$am_func_iconv" = yes; then
5710 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
5713 if test "$am_cv_lib_iconv" = yes; then
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
5715 $as_echo_n "checking how to link with libiconv... " >&6; }
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
5717 $as_echo "$LIBICONV" >&6; }
5719 CPPFLAGS="$am_save_CPPFLAGS"
5736 acl_save_prefix="$prefix"
5737 prefix="$acl_final_prefix"
5738 acl_save_exec_prefix="$exec_prefix"
5739 exec_prefix="$acl_final_exec_prefix"
5741 eval additional_includedir=\"$includedir\"
5742 eval additional_libdir=\"$libdir\"
5744 exec_prefix="$acl_save_exec_prefix"
5745 prefix="$acl_save_prefix"
5748 # Check whether --with-libintl-prefix was given.
5749 if test "${with_libintl_prefix+set}" = set; then :
5750 withval=$with_libintl_prefix;
5751 if test "X$withval" = "Xno"; then
5754 if test "X$withval" = "X"; then
5756 acl_save_prefix="$prefix"
5757 prefix="$acl_final_prefix"
5758 acl_save_exec_prefix="$exec_prefix"
5759 exec_prefix="$acl_final_exec_prefix"
5761 eval additional_includedir=\"$includedir\"
5762 eval additional_libdir=\"$libdir\"
5764 exec_prefix="$acl_save_exec_prefix"
5765 prefix="$acl_save_prefix"
5768 additional_includedir="$withval/include"
5769 additional_libdir="$withval/$acl_libdirstem"
5770 if test "$acl_libdirstem2" != "$acl_libdirstem" \
5771 && ! test -d "$withval/$acl_libdirstem"; then
5772 additional_libdir="$withval/$acl_libdirstem2"
5786 names_already_handled=
5787 names_next_round='intl '
5788 while test -n "$names_next_round"; do
5789 names_this_round="$names_next_round"
5791 for name in $names_this_round; do
5793 for n in $names_already_handled; do
5794 if test "$n" = "$name"; then
5799 if test -z "$already_handled"; then
5800 names_already_handled="$names_already_handled $name"
5801 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5802 eval value=\"\$HAVE_LIB$uppername\"
5803 if test -n "$value"; then
5804 if test "$value" = yes; then
5805 eval value=\"\$LIB$uppername\"
5806 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
5807 eval value=\"\$LTLIB$uppername\"
5808 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
5817 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
5818 if test -n "$acl_shlibext"; then
5819 shrext=".$acl_shlibext" # typically: shrext=.so
5823 if test $use_additional = yes; then
5824 dir="$additional_libdir"
5825 if test -n "$acl_shlibext"; then
5826 if test -f "$dir/$libname$shrext"; then
5828 found_so="$dir/$libname$shrext"
5830 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5831 ver=`(cd "$dir" && \
5832 for f in "$libname$shrext".*; do echo "$f"; done \
5833 | sed -e "s,^$libname$shrext\\\\.,," \
5834 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5835 | sed 1q ) 2>/dev/null`
5836 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5838 found_so="$dir/$libname$shrext.$ver"
5841 eval library_names=\"$acl_library_names_spec\"
5842 for f in $library_names; do
5843 if test -f "$dir/$f"; then
5852 if test "X$found_dir" = "X"; then
5853 if test -f "$dir/$libname.$acl_libext"; then
5855 found_a="$dir/$libname.$acl_libext"
5858 if test "X$found_dir" != "X"; then
5859 if test -f "$dir/$libname.la"; then
5860 found_la="$dir/$libname.la"
5864 if test "X$found_dir" = "X"; then
5865 for x in $LDFLAGS $LTLIBINTL; do
5867 acl_save_prefix="$prefix"
5868 prefix="$acl_final_prefix"
5869 acl_save_exec_prefix="$exec_prefix"
5870 exec_prefix="$acl_final_exec_prefix"
5872 exec_prefix="$acl_save_exec_prefix"
5873 prefix="$acl_save_prefix"
5877 dir=`echo "X$x" | sed -e 's/^X-L//'`
5878 if test -n "$acl_shlibext"; then
5879 if test -f "$dir/$libname$shrext"; then
5881 found_so="$dir/$libname$shrext"
5883 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5884 ver=`(cd "$dir" && \
5885 for f in "$libname$shrext".*; do echo "$f"; done \
5886 | sed -e "s,^$libname$shrext\\\\.,," \
5887 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5888 | sed 1q ) 2>/dev/null`
5889 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5891 found_so="$dir/$libname$shrext.$ver"
5894 eval library_names=\"$acl_library_names_spec\"
5895 for f in $library_names; do
5896 if test -f "$dir/$f"; then
5905 if test "X$found_dir" = "X"; then
5906 if test -f "$dir/$libname.$acl_libext"; then
5908 found_a="$dir/$libname.$acl_libext"
5911 if test "X$found_dir" != "X"; then
5912 if test -f "$dir/$libname.la"; then
5913 found_la="$dir/$libname.la"
5918 if test "X$found_dir" != "X"; then
5923 if test "X$found_dir" != "X"; then
5924 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
5925 if test "X$found_so" != "X"; then
5926 if test "$enable_rpath" = no \
5927 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
5928 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
5929 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5932 for x in $ltrpathdirs; do
5933 if test "X$x" = "X$found_dir"; then
5938 if test -z "$haveit"; then
5939 ltrpathdirs="$ltrpathdirs $found_dir"
5941 if test "$acl_hardcode_direct" = yes; then
5942 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5944 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
5945 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5947 for x in $rpathdirs; do
5948 if test "X$x" = "X$found_dir"; then
5953 if test -z "$haveit"; then
5954 rpathdirs="$rpathdirs $found_dir"
5958 for x in $LDFLAGS $LIBINTL; do
5960 acl_save_prefix="$prefix"
5961 prefix="$acl_final_prefix"
5962 acl_save_exec_prefix="$exec_prefix"
5963 exec_prefix="$acl_final_exec_prefix"
5965 exec_prefix="$acl_save_exec_prefix"
5966 prefix="$acl_save_prefix"
5968 if test "X$x" = "X-L$found_dir"; then
5973 if test -z "$haveit"; then
5974 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
5976 if test "$acl_hardcode_minus_L" != no; then
5977 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5979 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
5985 if test "X$found_a" != "X"; then
5986 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
5988 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
5991 additional_includedir=
5992 case "$found_dir" in
5993 */$acl_libdirstem | */$acl_libdirstem/)
5994 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5995 if test "$name" = 'intl'; then
5996 LIBINTL_PREFIX="$basedir"
5998 additional_includedir="$basedir/include"
6000 */$acl_libdirstem2 | */$acl_libdirstem2/)
6001 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
6002 if test "$name" = 'intl'; then
6003 LIBINTL_PREFIX="$basedir"
6005 additional_includedir="$basedir/include"
6008 if test "X$additional_includedir" != "X"; then
6009 if test "X$additional_includedir" != "X/usr/include"; then
6011 if test "X$additional_includedir" = "X/usr/local/include"; then
6012 if test -n "$GCC"; then
6014 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6018 if test -z "$haveit"; then
6019 for x in $CPPFLAGS $INCINTL; do
6021 acl_save_prefix="$prefix"
6022 prefix="$acl_final_prefix"
6023 acl_save_exec_prefix="$exec_prefix"
6024 exec_prefix="$acl_final_exec_prefix"
6026 exec_prefix="$acl_save_exec_prefix"
6027 prefix="$acl_save_prefix"
6029 if test "X$x" = "X-I$additional_includedir"; then
6034 if test -z "$haveit"; then
6035 if test -d "$additional_includedir"; then
6036 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6042 if test -n "$found_la"; then
6043 save_libdir="$libdir"
6045 */* | *\\*) . "$found_la" ;;
6046 *) . "./$found_la" ;;
6048 libdir="$save_libdir"
6049 for dep in $dependency_libs; do
6052 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
6053 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
6054 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
6056 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
6057 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
6058 if test -n "$GCC"; then
6060 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6064 if test -z "$haveit"; then
6066 for x in $LDFLAGS $LIBINTL; do
6068 acl_save_prefix="$prefix"
6069 prefix="$acl_final_prefix"
6070 acl_save_exec_prefix="$exec_prefix"
6071 exec_prefix="$acl_final_exec_prefix"
6073 exec_prefix="$acl_save_exec_prefix"
6074 prefix="$acl_save_prefix"
6076 if test "X$x" = "X-L$additional_libdir"; then
6081 if test -z "$haveit"; then
6082 if test -d "$additional_libdir"; then
6083 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6087 for x in $LDFLAGS $LTLIBINTL; do
6089 acl_save_prefix="$prefix"
6090 prefix="$acl_final_prefix"
6091 acl_save_exec_prefix="$exec_prefix"
6092 exec_prefix="$acl_final_exec_prefix"
6094 exec_prefix="$acl_save_exec_prefix"
6095 prefix="$acl_save_prefix"
6097 if test "X$x" = "X-L$additional_libdir"; then
6102 if test -z "$haveit"; then
6103 if test -d "$additional_libdir"; then
6104 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6111 dir=`echo "X$dep" | sed -e 's/^X-R//'`
6112 if test "$enable_rpath" != no; then
6114 for x in $rpathdirs; do
6115 if test "X$x" = "X$dir"; then
6120 if test -z "$haveit"; then
6121 rpathdirs="$rpathdirs $dir"
6124 for x in $ltrpathdirs; do
6125 if test "X$x" = "X$dir"; then
6130 if test -z "$haveit"; then
6131 ltrpathdirs="$ltrpathdirs $dir"
6136 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6139 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6142 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
6143 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6149 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6150 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6156 if test "X$rpathdirs" != "X"; then
6157 if test -n "$acl_hardcode_libdir_separator"; then
6159 for found_dir in $rpathdirs; do
6160 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
6162 acl_save_libdir="$libdir"
6164 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6165 libdir="$acl_save_libdir"
6166 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6168 for found_dir in $rpathdirs; do
6169 acl_save_libdir="$libdir"
6171 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6172 libdir="$acl_save_libdir"
6173 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6177 if test "X$ltrpathdirs" != "X"; then
6178 for found_dir in $ltrpathdirs; do
6179 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6189 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
6190 if eval \${$gt_func_gnugettext_libintl+:} false; then :
6191 $as_echo_n "(cached) " >&6
6193 gt_save_CPPFLAGS="$CPPFLAGS"
6194 CPPFLAGS="$CPPFLAGS $INCINTL"
6195 gt_save_LIBS="$LIBS"
6196 LIBS="$LIBS $LIBINTL"
6197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6198 /* end confdefs.h. */
6199 #include <libintl.h>
6200 $gt_revision_test_code
6201 extern int _nl_msg_cat_cntr;
6206 const char *_nl_expand_alias (const char *);
6210 bindtextdomain ("", "");
6211 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6216 if ac_fn_c_try_link "$LINENO"; then :
6217 eval "$gt_func_gnugettext_libintl=yes"
6219 eval "$gt_func_gnugettext_libintl=no"
6221 rm -f core conftest.err conftest.$ac_objext \
6222 conftest$ac_exeext conftest.$ac_ext
6223 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
6224 LIBS="$LIBS $LIBICONV"
6225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6226 /* end confdefs.h. */
6227 #include <libintl.h>
6228 $gt_revision_test_code
6229 extern int _nl_msg_cat_cntr;
6234 const char *_nl_expand_alias (const char *);
6238 bindtextdomain ("", "");
6239 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6244 if ac_fn_c_try_link "$LINENO"; then :
6245 LIBINTL="$LIBINTL $LIBICONV"
6246 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
6247 eval "$gt_func_gnugettext_libintl=yes"
6250 rm -f core conftest.err conftest.$ac_objext \
6251 conftest$ac_exeext conftest.$ac_ext
6253 CPPFLAGS="$gt_save_CPPFLAGS"
6254 LIBS="$gt_save_LIBS"
6256 eval ac_res=\$$gt_func_gnugettext_libintl
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6258 $as_echo "$ac_res" >&6; }
6261 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
6262 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
6263 && test "$PACKAGE" != gettext-runtime \
6264 && test "$PACKAGE" != gettext-tools; }; then
6265 gt_use_preinstalled_gnugettext=yes
6274 if test -n "$INTL_MACOSX_LIBS"; then
6275 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6276 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6277 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
6278 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
6282 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6283 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6285 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6293 $as_echo_n "checking whether to use NLS... " >&6; }
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6295 $as_echo "$USE_NLS" >&6; }
6296 if test "$USE_NLS" = "yes"; then
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6298 $as_echo_n "checking where the gettext function comes from... " >&6; }
6299 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6300 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6301 gt_source="external libintl"
6306 gt_source="included intl directory"
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6309 $as_echo "$gt_source" >&6; }
6312 if test "$USE_NLS" = "yes"; then
6314 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6315 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6317 $as_echo_n "checking how to link with libintl... " >&6; }
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6319 $as_echo "$LIBINTL" >&6; }
6321 for element in $INCINTL; do
6323 for x in $CPPFLAGS; do
6325 acl_save_prefix="$prefix"
6326 prefix="$acl_final_prefix"
6327 acl_save_exec_prefix="$exec_prefix"
6328 exec_prefix="$acl_final_exec_prefix"
6330 exec_prefix="$acl_save_exec_prefix"
6331 prefix="$acl_save_prefix"
6333 if test "X$x" = "X$element"; then
6338 if test -z "$haveit"; then
6339 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6346 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6349 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
6366 ############### common
6375 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6376 if test -n "$ac_tool_prefix"; then
6377 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6378 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6380 $as_echo_n "checking for $ac_word... " >&6; }
6381 if ${ac_cv_path_PKG_CONFIG+:} false; then :
6382 $as_echo_n "(cached) " >&6
6386 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6393 test -z "$as_dir" && as_dir=.
6394 for ac_exec_ext in '' $ac_executable_extensions; do
6395 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6396 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6407 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6408 if test -n "$PKG_CONFIG"; then
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6410 $as_echo "$PKG_CONFIG" >&6; }
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6413 $as_echo "no" >&6; }
6418 if test -z "$ac_cv_path_PKG_CONFIG"; then
6419 ac_pt_PKG_CONFIG=$PKG_CONFIG
6420 # Extract the first word of "pkg-config", so it can be a program name with args.
6421 set dummy pkg-config; ac_word=$2
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6423 $as_echo_n "checking for $ac_word... " >&6; }
6424 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
6425 $as_echo_n "(cached) " >&6
6427 case $ac_pt_PKG_CONFIG in
6429 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436 test -z "$as_dir" && as_dir=.
6437 for ac_exec_ext in '' $ac_executable_extensions; do
6438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6439 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6450 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6451 if test -n "$ac_pt_PKG_CONFIG"; then
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6453 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6456 $as_echo "no" >&6; }
6459 if test "x$ac_pt_PKG_CONFIG" = x; then
6462 case $cross_compiling:$ac_tool_warned in
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6466 ac_tool_warned=yes ;;
6468 PKG_CONFIG=$ac_pt_PKG_CONFIG
6471 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6475 if test -n "$PKG_CONFIG"; then
6476 _pkg_min_version=0.9.0
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
6478 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6479 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6481 $as_echo "yes" >&6; }
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6484 $as_echo "no" >&6; }
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
6491 $as_echo_n "checking for X11... " >&6; }
6493 if test -n "$X11_CFLAGS"; then
6494 pkg_cv_X11_CFLAGS="$X11_CFLAGS"
6495 elif test -n "$PKG_CONFIG"; then
6496 if test -n "$PKG_CONFIG" && \
6497 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
6498 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
6500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6501 test $ac_status = 0; }; then
6502 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
6503 test "x$?" != "x0" && pkg_failed=yes
6510 if test -n "$X11_LIBS"; then
6511 pkg_cv_X11_LIBS="$X11_LIBS"
6512 elif test -n "$PKG_CONFIG"; then
6513 if test -n "$PKG_CONFIG" && \
6514 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
6515 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
6517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6518 test $ac_status = 0; }; then
6519 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
6520 test "x$?" != "x0" && pkg_failed=yes
6530 if test $pkg_failed = yes; then
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6532 $as_echo "no" >&6; }
6534 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6535 _pkg_short_errors_supported=yes
6537 _pkg_short_errors_supported=no
6539 if test $_pkg_short_errors_supported = yes; then
6540 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1`
6542 X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1`
6544 # Put the nasty error message in config.log where it belongs
6545 echo "$X11_PKG_ERRORS" >&5
6547 as_fn_error $? "Package requirements (x11) were not met:
6551 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6552 installed software in a non-standard prefix.
6554 Alternatively, you may set the environment variables X11_CFLAGS
6555 and X11_LIBS to avoid the need to call pkg-config.
6556 See the pkg-config man page for more details." "$LINENO" 5
6557 elif test $pkg_failed = untried; then
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6559 $as_echo "no" >&6; }
6560 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6562 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6563 is in your PATH or set the PKG_CONFIG environment variable to the full
6566 Alternatively, you may set the environment variables X11_CFLAGS
6567 and X11_LIBS to avoid the need to call pkg-config.
6568 See the pkg-config man page for more details.
6570 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6571 See \`config.log' for more details" "$LINENO" 5; }
6573 X11_CFLAGS=$pkg_cv_X11_CFLAGS
6574 X11_LIBS=$pkg_cv_X11_LIBS
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6576 $as_echo "yes" >&6; }
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
6585 $as_echo_n "checking for XEXT... " >&6; }
6587 if test -n "$XEXT_CFLAGS"; then
6588 pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
6589 elif test -n "$PKG_CONFIG"; then
6590 if test -n "$PKG_CONFIG" && \
6591 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
6592 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
6594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6595 test $ac_status = 0; }; then
6596 pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xext" 2>/dev/null`
6597 test "x$?" != "x0" && pkg_failed=yes
6604 if test -n "$XEXT_LIBS"; then
6605 pkg_cv_XEXT_LIBS="$XEXT_LIBS"
6606 elif test -n "$PKG_CONFIG"; then
6607 if test -n "$PKG_CONFIG" && \
6608 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
6609 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
6611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6612 test $ac_status = 0; }; then
6613 pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xext" 2>/dev/null`
6614 test "x$?" != "x0" && pkg_failed=yes
6624 if test $pkg_failed = yes; then
6625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6626 $as_echo "no" >&6; }
6628 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6629 _pkg_short_errors_supported=yes
6631 _pkg_short_errors_supported=no
6633 if test $_pkg_short_errors_supported = yes; then
6634 XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xext" 2>&1`
6636 XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xext" 2>&1`
6638 # Put the nasty error message in config.log where it belongs
6639 echo "$XEXT_PKG_ERRORS" >&5
6641 as_fn_error $? "Package requirements (xext) were not met:
6645 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6646 installed software in a non-standard prefix.
6648 Alternatively, you may set the environment variables XEXT_CFLAGS
6649 and XEXT_LIBS to avoid the need to call pkg-config.
6650 See the pkg-config man page for more details." "$LINENO" 5
6651 elif test $pkg_failed = untried; then
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6653 $as_echo "no" >&6; }
6654 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6655 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6656 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6657 is in your PATH or set the PKG_CONFIG environment variable to the full
6660 Alternatively, you may set the environment variables XEXT_CFLAGS
6661 and XEXT_LIBS to avoid the need to call pkg-config.
6662 See the pkg-config man page for more details.
6664 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6665 See \`config.log' for more details" "$LINENO" 5; }
6667 XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
6668 XEXT_LIBS=$pkg_cv_XEXT_LIBS
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6670 $as_echo "yes" >&6; }
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
6680 $as_echo_n "checking for GTK... " >&6; }
6682 if test -n "$GTK_CFLAGS"; then
6683 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
6684 elif test -n "$PKG_CONFIG"; then
6685 if test -n "$PKG_CONFIG" && \
6686 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
6687 ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
6689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6690 test $ac_status = 0; }; then
6691 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0" 2>/dev/null`
6692 test "x$?" != "x0" && pkg_failed=yes
6699 if test -n "$GTK_LIBS"; then
6700 pkg_cv_GTK_LIBS="$GTK_LIBS"
6701 elif test -n "$PKG_CONFIG"; then
6702 if test -n "$PKG_CONFIG" && \
6703 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
6704 ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
6706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6707 test $ac_status = 0; }; then
6708 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0" 2>/dev/null`
6709 test "x$?" != "x0" && pkg_failed=yes
6719 if test $pkg_failed = yes; then
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6721 $as_echo "no" >&6; }
6723 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6724 _pkg_short_errors_supported=yes
6726 _pkg_short_errors_supported=no
6728 if test $_pkg_short_errors_supported = yes; then
6729 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0" 2>&1`
6731 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0" 2>&1`
6733 # Put the nasty error message in config.log where it belongs
6734 echo "$GTK_PKG_ERRORS" >&5
6736 as_fn_error $? "Package requirements (gtk+-3.0) were not met:
6740 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6741 installed software in a non-standard prefix.
6743 Alternatively, you may set the environment variables GTK_CFLAGS
6744 and GTK_LIBS to avoid the need to call pkg-config.
6745 See the pkg-config man page for more details." "$LINENO" 5
6746 elif test $pkg_failed = untried; then
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6748 $as_echo "no" >&6; }
6749 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6751 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6752 is in your PATH or set the PKG_CONFIG environment variable to the full
6755 Alternatively, you may set the environment variables GTK_CFLAGS
6756 and GTK_LIBS to avoid the need to call pkg-config.
6757 See the pkg-config man page for more details.
6759 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6760 See \`config.log' for more details" "$LINENO" 5; }
6762 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
6763 GTK_LIBS=$pkg_cv_GTK_LIBS
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6765 $as_echo "yes" >&6; }
6768 # ensure that only allowed headers are included
6769 GTK_CFLAGS+=" -DGTK_DISABLE_SINGLE_INCLUDES "
6770 # ensure that no gtk deprecated symbols are used
6771 GTK_CFLAGS+=" -DGDK_DISABLE_DEPRECATED "
6772 GTK_CFLAGS+=" -DGTK_DISABLE_DEPRECATED "
6773 # ensure use of accessors
6774 GTK_CFLAGS+=" -DGSEAL_ENABLE "
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
6783 $as_echo_n "checking for JSON... " >&6; }
6785 if test -n "$JSON_CFLAGS"; then
6786 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
6787 elif test -n "$PKG_CONFIG"; then
6788 if test -n "$PKG_CONFIG" && \
6789 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
6790 ($PKG_CONFIG --exists --print-errors "json") 2>&5
6792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6793 test $ac_status = 0; }; then
6794 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json" 2>/dev/null`
6795 test "x$?" != "x0" && pkg_failed=yes
6802 if test -n "$JSON_LIBS"; then
6803 pkg_cv_JSON_LIBS="$JSON_LIBS"
6804 elif test -n "$PKG_CONFIG"; then
6805 if test -n "$PKG_CONFIG" && \
6806 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
6807 ($PKG_CONFIG --exists --print-errors "json") 2>&5
6809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6810 test $ac_status = 0; }; then
6811 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json" 2>/dev/null`
6812 test "x$?" != "x0" && pkg_failed=yes
6822 if test $pkg_failed = yes; then
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6824 $as_echo "no" >&6; }
6826 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6827 _pkg_short_errors_supported=yes
6829 _pkg_short_errors_supported=no
6831 if test $_pkg_short_errors_supported = yes; then
6832 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json" 2>&1`
6834 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json" 2>&1`
6836 # Put the nasty error message in config.log where it belongs
6837 echo "$JSON_PKG_ERRORS" >&5
6839 as_fn_error $? "Package requirements (json) were not met:
6843 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6844 installed software in a non-standard prefix.
6846 Alternatively, you may set the environment variables JSON_CFLAGS
6847 and JSON_LIBS to avoid the need to call pkg-config.
6848 See the pkg-config man page for more details." "$LINENO" 5
6849 elif test $pkg_failed = untried; then
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6851 $as_echo "no" >&6; }
6852 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6853 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6854 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6855 is in your PATH or set the PKG_CONFIG environment variable to the full
6858 Alternatively, you may set the environment variables JSON_CFLAGS
6859 and JSON_LIBS to avoid the need to call pkg-config.
6860 See the pkg-config man page for more details.
6862 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6863 See \`config.log' for more details" "$LINENO" 5; }
6865 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
6866 JSON_LIBS=$pkg_cv_JSON_LIBS
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6868 $as_echo "yes" >&6; }
6877 # Check whether --enable-schemas-compile was given.
6878 if test "${enable_schemas_compile+set}" = set; then :
6879 enableval=$enable_schemas_compile; case ${enableval} in
6880 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
6881 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
6882 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
6894 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6895 if test -n "$ac_tool_prefix"; then
6896 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6897 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6899 $as_echo_n "checking for $ac_word... " >&6; }
6900 if ${ac_cv_path_PKG_CONFIG+:} false; then :
6901 $as_echo_n "(cached) " >&6
6905 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6912 test -z "$as_dir" && as_dir=.
6913 for ac_exec_ext in '' $ac_executable_extensions; do
6914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6915 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6926 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6927 if test -n "$PKG_CONFIG"; then
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6929 $as_echo "$PKG_CONFIG" >&6; }
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6932 $as_echo "no" >&6; }
6937 if test -z "$ac_cv_path_PKG_CONFIG"; then
6938 ac_pt_PKG_CONFIG=$PKG_CONFIG
6939 # Extract the first word of "pkg-config", so it can be a program name with args.
6940 set dummy pkg-config; ac_word=$2
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6942 $as_echo_n "checking for $ac_word... " >&6; }
6943 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
6944 $as_echo_n "(cached) " >&6
6946 case $ac_pt_PKG_CONFIG in
6948 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6955 test -z "$as_dir" && as_dir=.
6956 for ac_exec_ext in '' $ac_executable_extensions; do
6957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6958 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6969 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6970 if test -n "$ac_pt_PKG_CONFIG"; then
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6972 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6975 $as_echo "no" >&6; }
6978 if test "x$ac_pt_PKG_CONFIG" = x; then
6981 case $cross_compiling:$ac_tool_warned in
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6984 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6985 ac_tool_warned=yes ;;
6987 PKG_CONFIG=$ac_pt_PKG_CONFIG
6990 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6994 if test -n "$PKG_CONFIG"; then
6995 _pkg_min_version=0.16
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
6997 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6998 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7000 $as_echo "yes" >&6; }
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7003 $as_echo "no" >&6; }
7007 gsettingsschemadir=${datadir}/glib-2.0/schemas
7009 if test x$cross_compiling != xyes; then
7010 GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
7012 # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
7013 set dummy glib-compile-schemas; ac_word=$2
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7015 $as_echo_n "checking for $ac_word... " >&6; }
7016 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
7017 $as_echo_n "(cached) " >&6
7019 case $GLIB_COMPILE_SCHEMAS in
7021 ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
7024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7028 test -z "$as_dir" && as_dir=.
7029 for ac_exec_ext in '' $ac_executable_extensions; do
7030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7031 ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
7032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7042 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
7043 if test -n "$GLIB_COMPILE_SCHEMAS"; then
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
7045 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7048 $as_echo "no" >&6; }
7054 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
7055 as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
7061 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
7063 mostlyclean-am: clean-gsettings-schemas
7065 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
7067 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
7068 $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
7070 all-am: $(gsettings_SCHEMAS:.xml=.valid)
7071 uninstall-am: uninstall-gsettings-schemas
7072 install-data-am: install-gsettings-schemas
7074 .SECONDARY: $(gsettings_SCHEMAS)
7076 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
7078 if test -n "$^"; then \
7079 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
7080 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
7081 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
7084 uninstall-gsettings-schemas:
7085 @$(NORMAL_UNINSTALL)
7086 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
7087 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
7088 test -n "$$files" || exit 0; \
7089 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
7090 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
7091 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
7093 clean-gsettings-schemas:
7094 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
7096 ifdef gsettings_ENUM_NAMESPACE
7097 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
7098 $(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 $@
7108 ac_config_files="$ac_config_files Makefile icons/hicolor/scalable/Makefile po/Makefile.in src/Makefile src/glade/Makefile tests/Makefile"
7111 for ac_prog in help2man
7113 # Extract the first word of "$ac_prog", so it can be a program name with args.
7114 set dummy $ac_prog; ac_word=$2
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7116 $as_echo_n "checking for $ac_word... " >&6; }
7117 if ${ac_cv_prog_HELP2MAN+:} false; then :
7118 $as_echo_n "(cached) " >&6
7120 if test -n "$HELP2MAN"; then
7121 ac_cv_prog_HELP2MAN="$HELP2MAN" # Let the user override the test.
7123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7127 test -z "$as_dir" && as_dir=.
7128 for ac_exec_ext in '' $ac_executable_extensions; do
7129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7130 ac_cv_prog_HELP2MAN="$ac_prog"
7131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7140 HELP2MAN=$ac_cv_prog_HELP2MAN
7141 if test -n "$HELP2MAN"; then
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5
7143 $as_echo "$HELP2MAN" >&6; }
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7146 $as_echo "no" >&6; }
7150 test -n "$HELP2MAN" && break
7154 # Extract the first word of "cppcheck", so it can be a program name with args.
7155 set dummy cppcheck; ac_word=$2
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7157 $as_echo_n "checking for $ac_word... " >&6; }
7158 if ${ac_cv_prog_HAVE_CPPCHECK+:} false; then :
7159 $as_echo_n "(cached) " >&6
7161 if test -n "$HAVE_CPPCHECK"; then
7162 ac_cv_prog_HAVE_CPPCHECK="$HAVE_CPPCHECK" # Let the user override the test.
7164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7168 test -z "$as_dir" && as_dir=.
7169 for ac_exec_ext in '' $ac_executable_extensions; do
7170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7171 ac_cv_prog_HAVE_CPPCHECK="yes"
7172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7181 HAVE_CPPCHECK=$ac_cv_prog_HAVE_CPPCHECK
7182 if test -n "$HAVE_CPPCHECK"; then
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CPPCHECK" >&5
7184 $as_echo "$HAVE_CPPCHECK" >&6; }
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7187 $as_echo "no" >&6; }
7191 if test -n "$HAVE_CPPCHECK"; then
7200 cat >confcache <<\_ACEOF
7201 # This file is a shell script that caches the results of configure
7202 # tests run on this system so they can be shared between configure
7203 # scripts and configure runs, see configure's option --config-cache.
7204 # It is not useful on other systems. If it contains results you don't
7205 # want to keep, you may remove or edit it.
7207 # config.status only pays attention to the cache file if you give it
7208 # the --recheck option to rerun configure.
7210 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7211 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7216 # The following way of writing the cache mishandles newlines in values,
7217 # but we know of no workaround that is simple, portable, and efficient.
7218 # So, we kill variables containing newlines.
7219 # Ultrix sh set writes to stderr and can't be redirected directly,
7220 # and sets the high bit in the cache file unless we assign to the vars.
7222 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7223 eval ac_val=\$$ac_var
7227 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7228 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7231 _ | IFS | as_nl) ;; #(
7232 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7233 *) { eval $ac_var=; unset $ac_var;} ;;
7239 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7240 *${as_nl}ac_space=\ *)
7241 # `set' does not quote correctly, so add quotes: double-quote
7242 # substitution turns \\\\ into \\, and sed turns \\ into \.
7245 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7248 # `set' quotes correctly as required by POSIX, so do not add quotes.
7249 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7258 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7260 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7262 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7263 if test -w "$cache_file"; then
7264 if test "x$cache_file" != "x/dev/null"; then
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7266 $as_echo "$as_me: updating cache $cache_file" >&6;}
7267 if test ! -f "$cache_file" || test -h "$cache_file"; then
7268 cat confcache >"$cache_file"
7270 case $cache_file in #(
7272 mv -f confcache "$cache_file"$$ &&
7273 mv -f "$cache_file"$$ "$cache_file" ;; #(
7275 mv -f confcache "$cache_file" ;;
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7281 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7286 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7287 # Let make expand exec_prefix.
7288 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7290 DEFS=-DHAVE_CONFIG_H
7295 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7296 # 1. Remove the extension, and $U if already installed.
7297 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7298 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7299 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7300 # will be set to the directory where LIBOBJS objects are built.
7301 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7302 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7306 LTLIBOBJS=$ac_ltlibobjs
7309 if test -n "$EXEEXT"; then
7311 am__EXEEXT_FALSE='#'
7317 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7318 as_fn_error $? "conditional \"AMDEP\" was never defined.
7319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7321 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7322 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
7323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7325 if test -z "${CPPCHECK_TRUE}" && test -z "${CPPCHECK_FALSE}"; then
7326 as_fn_error $? "conditional \"CPPCHECK\" was never defined.
7327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7330 : "${CONFIG_STATUS=./config.status}"
7332 ac_clean_files_save=$ac_clean_files
7333 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7335 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7337 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7339 # Generated by $as_me.
7340 # Run this file to recreate the current configuration.
7341 # Compiler output produced by configure, useful for debugging
7342 # configure, is in config.log if it exists.
7348 SHELL=\${CONFIG_SHELL-$SHELL}
7351 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7352 ## -------------------- ##
7353 ## M4sh Initialization. ##
7354 ## -------------------- ##
7356 # Be more Bourne compatible
7357 DUALCASE=1; export DUALCASE # for MKS sh
7358 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7361 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7362 # is contrary to our usage. Disable this feature.
7363 alias -g '${1+"$@"}'='"$@"'
7364 setopt NO_GLOB_SUBST
7366 case `(set -o) 2>/dev/null` in #(
7378 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7379 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7380 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7381 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7382 # Prefer a ksh shell builtin over an external printf program on Solaris,
7383 # but without wasting forks for bash or zsh.
7384 if test -z "$BASH_VERSION$ZSH_VERSION" \
7385 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7386 as_echo='print -r --'
7387 as_echo_n='print -rn --'
7388 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7389 as_echo='printf %s\n'
7390 as_echo_n='printf %s'
7392 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7393 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7394 as_echo_n='/usr/ucb/echo -n'
7396 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7397 as_echo_n_body='eval
7401 expr "X$arg" : "X\\(.*\\)$as_nl";
7402 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7404 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7406 export as_echo_n_body
7407 as_echo_n='sh -c $as_echo_n_body as_echo'
7410 as_echo='sh -c $as_echo_body as_echo'
7413 # The user is always right.
7414 if test "${PATH_SEPARATOR+set}" != set; then
7416 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7417 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7424 # We need space, tab and new line, in precisely that order. Quoting is
7425 # there to prevent editors from complaining about space-tab.
7426 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7427 # splitting by setting IFS to empty value.)
7430 # Find who we are. Look in the path if we contain no directory separator.
7433 *[\\/]* ) as_myself=$0 ;;
7434 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7438 test -z "$as_dir" && as_dir=.
7439 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7445 # We did not find ourselves, most probably we were run as `sh COMMAND'
7446 # in which case we are not to be found in the path.
7447 if test "x$as_myself" = x; then
7450 if test ! -f "$as_myself"; then
7451 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7455 # Unset variables that we do not need and which cause bugs (e.g. in
7456 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7457 # suppresses any "Segmentation fault" message there. '((' could
7458 # trigger a bug in pdksh 5.2.14.
7459 for as_var in BASH_ENV ENV MAIL MAILPATH
7460 do eval test x\${$as_var+set} = xset \
7461 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7474 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7477 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7478 # ----------------------------------------
7479 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7480 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7481 # script with STATUS, using 1 if that was 0.
7484 as_status=$1; test $as_status -eq 0 && as_status=1
7486 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7487 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7489 $as_echo "$as_me: error: $2" >&2
7490 as_fn_exit $as_status
7494 # as_fn_set_status STATUS
7495 # -----------------------
7496 # Set $? to STATUS, without forking.
7500 } # as_fn_set_status
7504 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7514 # Portably unset VAR.
7517 { eval $1=; unset $1;}
7519 as_unset=as_fn_unset
7520 # as_fn_append VAR VALUE
7521 # ----------------------
7522 # Append the text in VALUE to the end of the definition contained in VAR. Take
7523 # advantage of any shell optimizations that allow amortized linear growth over
7524 # repeated appends, instead of the typical quadratic growth present in naive
7526 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7527 eval 'as_fn_append ()
7538 # as_fn_arith ARG...
7539 # ------------------
7540 # Perform arithmetic evaluation on the ARGs, and store the result in the
7541 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7542 # must be portable across $(()) and expr.
7543 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7544 eval 'as_fn_arith ()
7551 as_val=`expr "$@" || test $? -eq 1`
7556 if expr a : '\(a\)' >/dev/null 2>&1 &&
7557 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7563 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7564 as_basename=basename
7569 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7575 as_me=`$as_basename -- "$0" ||
7576 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7577 X"$0" : 'X\(//\)$' \| \
7578 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7580 sed '/^.*\/\([^/][^/]*\)\/*$/{
7594 # Avoid depending upon Character Ranges.
7595 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7596 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7597 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7598 as_cr_digits='0123456789'
7599 as_cr_alnum=$as_cr_Letters$as_cr_digits
7601 ECHO_C= ECHO_N= ECHO_T=
7602 case `echo -n x` in #(((((
7604 case `echo 'xy\c'` in
7605 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7607 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7614 rm -f conf$$ conf$$.exe conf$$.file
7615 if test -d conf$$.dir; then
7616 rm -f conf$$.dir/conf$$.file
7619 mkdir conf$$.dir 2>/dev/null
7621 if (echo >conf$$.file) 2>/dev/null; then
7622 if ln -s conf$$.file conf$$ 2>/dev/null; then
7624 # ... but there are two gotchas:
7625 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7626 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7627 # In both cases, we have to default to `cp -pR'.
7628 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7630 elif ln conf$$.file conf$$ 2>/dev/null; then
7638 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7639 rmdir conf$$.dir 2>/dev/null
7644 # Create "$as_dir" as a directory, including parents if necessary.
7649 -*) as_dir=./$as_dir;;
7651 test -d "$as_dir" || eval $as_mkdir_p || {
7655 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7656 *) as_qdir=$as_dir;;
7658 as_dirs="'$as_qdir' $as_dirs"
7659 as_dir=`$as_dirname -- "$as_dir" ||
7660 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7661 X"$as_dir" : 'X\(//\)[^/]' \| \
7662 X"$as_dir" : 'X\(//\)$' \| \
7663 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7664 $as_echo X"$as_dir" |
7665 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7682 test -d "$as_dir" && break
7684 test -z "$as_dirs" || eval "mkdir $as_dirs"
7685 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7689 if mkdir -p . 2>/dev/null; then
7690 as_mkdir_p='mkdir -p "$as_dir"'
7692 test -d ./-p && rmdir ./-p
7697 # as_fn_executable_p FILE
7698 # -----------------------
7699 # Test if FILE is an executable regular file.
7700 as_fn_executable_p ()
7702 test -f "$1" && test -x "$1"
7703 } # as_fn_executable_p
7705 as_executable_p=as_fn_executable_p
7707 # Sed expression to map a string onto a valid CPP name.
7708 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7710 # Sed expression to map a string onto a valid variable name.
7711 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7715 ## ----------------------------------- ##
7716 ## Main body of $CONFIG_STATUS script. ##
7717 ## ----------------------------------- ##
7719 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7721 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7722 # Save the log message, to keep $0 and so on meaningful, and to
7723 # report actual input values of CONFIG_FILES etc. instead of their
7724 # values after options handling.
7726 This file was extended by ptask $as_me 0.0.x, which was
7727 generated by GNU Autoconf 2.69. Invocation command line was
7729 CONFIG_FILES = $CONFIG_FILES
7730 CONFIG_HEADERS = $CONFIG_HEADERS
7731 CONFIG_LINKS = $CONFIG_LINKS
7732 CONFIG_COMMANDS = $CONFIG_COMMANDS
7735 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7740 case $ac_config_files in *"
7741 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7744 case $ac_config_headers in *"
7745 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7749 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7750 # Files that config.status was made for.
7751 config_files="$ac_config_files"
7752 config_headers="$ac_config_headers"
7753 config_commands="$ac_config_commands"
7757 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7759 \`$as_me' instantiates files and other configuration actions
7760 from templates according to the current configuration. Unless the files
7761 and actions are specified as TAGs, all are instantiated by default.
7763 Usage: $0 [OPTION]... [TAG]...
7765 -h, --help print this help, then exit
7766 -V, --version print version number and configuration settings, then exit
7767 --config print configuration, then exit
7768 -q, --quiet, --silent
7769 do not print progress messages
7770 -d, --debug don't remove temporary files
7771 --recheck update $as_me by reconfiguring in the same conditions
7772 --file=FILE[:TEMPLATE]
7773 instantiate the configuration file FILE
7774 --header=FILE[:TEMPLATE]
7775 instantiate the configuration header FILE
7777 Configuration files:
7780 Configuration headers:
7783 Configuration commands:
7786 Report bugs to <jeanfi@gmail.com>.
7787 ptask home page: <http://wpitchoune.net/ptask>."
7790 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7791 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7793 ptask config.status 0.0.x
7794 configured by $0, generated by GNU Autoconf 2.69,
7795 with options \\"\$ac_cs_config\\"
7797 Copyright (C) 2012 Free Software Foundation, Inc.
7798 This config.status script is free software; the Free Software Foundation
7799 gives unlimited permission to copy, distribute and modify it."
7806 test -n "\$AWK" || AWK=awk
7809 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7810 # The default lists apply if the user does not specify any file.
7816 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7817 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7821 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7833 # Handling of the options.
7834 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7836 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7837 $as_echo "$ac_cs_version"; exit ;;
7838 --config | --confi | --conf | --con | --co | --c )
7839 $as_echo "$ac_cs_config"; exit ;;
7840 --debug | --debu | --deb | --de | --d | -d )
7842 --file | --fil | --fi | --f )
7845 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7846 '') as_fn_error $? "missing file argument" ;;
7848 as_fn_append CONFIG_FILES " '$ac_optarg'"
7849 ac_need_defaults=false;;
7850 --header | --heade | --head | --hea )
7853 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7855 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7856 ac_need_defaults=false;;
7858 # Conflict between --help and --header
7859 as_fn_error $? "ambiguous option: \`$1'
7860 Try \`$0 --help' for more information.";;
7861 --help | --hel | -h )
7862 $as_echo "$ac_cs_usage"; exit ;;
7863 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7864 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7868 -*) as_fn_error $? "unrecognized option: \`$1'
7869 Try \`$0 --help' for more information." ;;
7871 *) as_fn_append ac_config_targets " $1"
7872 ac_need_defaults=false ;;
7878 ac_configure_extra_args=
7880 if $ac_cs_silent; then
7882 ac_configure_extra_args="$ac_configure_extra_args --silent"
7886 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7887 if \$ac_cs_recheck; then
7888 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7890 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7891 CONFIG_SHELL='$SHELL'
7897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7901 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7902 ## Running $as_me. ##
7908 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7912 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7913 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
7914 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
7915 # from automake < 1.5.
7916 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7917 # Capture the value of LINGUAS because we need it to compute CATALOGS.
7918 LINGUAS="${LINGUAS-%UNSET%}"
7923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7925 # Handling of arguments.
7926 for ac_config_target in $ac_config_targets
7928 case $ac_config_target in
7929 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7930 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7931 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
7932 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7933 "icons/hicolor/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/scalable/Makefile" ;;
7934 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
7935 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
7936 "src/glade/Makefile") CONFIG_FILES="$CONFIG_FILES src/glade/Makefile" ;;
7937 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
7939 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7944 # If the user did not use the arguments to specify the items to instantiate,
7945 # then the envvar interface is used. Set only those that are not.
7946 # We use the long form for the default assignment because of an extremely
7947 # bizarre bug on SunOS 4.1.3.
7948 if $ac_need_defaults; then
7949 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7950 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7951 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7954 # Have a temporary directory for convenience. Make it in the build tree
7955 # simply because there is no reason against having it here, and in addition,
7956 # creating and moving files from /tmp can sometimes cause problems.
7957 # Hook for its removal unless debugging.
7958 # Note that there is a small window in which the directory will not be cleaned:
7959 # after its creation but before its name has been assigned to `$tmp'.
7963 trap 'exit_status=$?
7965 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7967 trap 'as_fn_exit 1' 1 2 13 15
7969 # Create a (secure) tmp directory for tmp files.
7972 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7976 tmp=./conf$$-$RANDOM
7977 (umask 077 && mkdir "$tmp")
7978 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7981 # Set up the scripts for CONFIG_FILES section.
7982 # No need to generate them if there are no CONFIG_FILES.
7983 # This happens for instance with `./config.status config.h'.
7984 if test -n "$CONFIG_FILES"; then
7987 ac_cr=`echo X | tr X '\015'`
7988 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7989 # But we know of no other shell where ac_cr would be empty at this
7990 # point, so we can use a bashism as a fallback.
7991 if test "x$ac_cr" = x; then
7992 eval ac_cr=\$\'\\r\'
7994 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7995 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8001 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8006 echo "cat >conf$$subs.awk <<_ACEOF" &&
8007 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8010 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8011 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8013 for ac_last_try in false false false false false :; do
8014 . ./conf$$subs.sh ||
8015 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8017 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8018 if test $ac_delim_n = $ac_delim_num; then
8020 elif $ac_last_try; then
8021 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8023 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8029 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8033 s/^/S["/; s/!.*/"]=/
8043 s/\(.\{148\}\)..*/\1/
8045 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8050 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8057 s/\(.\{148\}\)..*/\1/
8059 s/["\\]/\\&/g; s/^/"/; s/$/"/
8063 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8068 ' <conf$$subs.awk | sed '
8073 ' >>$CONFIG_STATUS || ac_write_fail=1
8074 rm -f conf$$subs.awk
8075 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8077 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8078 for (key in S) S_is_set[key] = 1
8084 nfields = split(line, field, "@")
8086 len = length(field[1])
8087 for (i = 2; i < nfields; i++) {
8089 keylen = length(key)
8090 if (S_is_set[key]) {
8092 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8093 len += length(value) + length(field[++i])
8104 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8105 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8106 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8109 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8110 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8113 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8114 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8115 # trailing colons and then remove the whole line if VPATH becomes empty
8116 # (actually we leave an empty line to preserve line numbers).
8117 if test "x$srcdir" = x.; then
8118 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8136 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8137 fi # test -n "$CONFIG_FILES"
8139 # Set up the scripts for CONFIG_HEADERS section.
8140 # No need to generate them if there are no CONFIG_HEADERS.
8141 # This happens for instance with `./config.status Makefile'.
8142 if test -n "$CONFIG_HEADERS"; then
8143 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
8147 # Transform confdefs.h into an awk script `defines.awk', embedded as
8148 # here-document in config.status, that substitutes the proper values into
8149 # config.h.in to produce config.h.
8151 # Create a delimiter string that does not exist in confdefs.h, to ease
8152 # handling of long lines.
8154 for ac_last_try in false false :; do
8155 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
8156 if test -z "$ac_tt"; then
8158 elif $ac_last_try; then
8159 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8161 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8165 # For the awk script, D is an array of macro values keyed by name,
8166 # likewise P contains macro parameters if any. Preserve backslash
8167 # newline sequences.
8169 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8171 s/.\{148\}/&'"$ac_delim"'/g
8174 s/^[ ]*#[ ]*define[ ][ ]*/ /
8181 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8183 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
8187 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8188 D["\1"]=" \3\\\\\\n"\\/p
8190 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8195 s/.\{148\}/&'"$ac_delim"'/g
8200 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8203 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8205 ' <confdefs.h | sed '
8206 s/'"$ac_delim"'/"\\\
8207 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8209 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8210 for (key in D) D_is_set[key] = 1
8213 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8215 split(line, arg, " ")
8216 if (arg[1] == "#") {
8220 defundef = substr(arg[1], 2)
8223 split(mac1, mac2, "(") #)
8225 prefix = substr(line, 1, index(line, defundef) - 1)
8226 if (D_is_set[macro]) {
8227 # Preserve the white space surrounding the "#".
8228 print prefix "define", macro P[macro] D[macro]
8231 # Replace #undef with comments. This is necessary, for example,
8232 # in the case of _POSIX_SOURCE, which is predefined and required
8233 # on some systems where configure will not decide to define it.
8234 if (defundef == "undef") {
8235 print "/*", prefix defundef, macro, "*/"
8243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8244 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
8245 fi # test -n "$CONFIG_HEADERS"
8248 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8253 :[FHLC]) ac_mode=$ac_tag; continue;;
8255 case $ac_mode$ac_tag in
8257 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8258 :[FH]-) ac_tag=-:-;;
8259 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8276 -) ac_f="$ac_tmp/stdin";;
8277 *) # Look for the file first in the build tree, then in the source tree
8278 # (if the path is not absolute). The absolute path cannot be DOS-style,
8279 # because $ac_f cannot contain `:'.
8283 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8285 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8287 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8288 as_fn_append ac_file_inputs " '$ac_f'"
8291 # Let's still pretend it is `configure' which instantiates (i.e., don't
8292 # use $as_me), people would be surprised to read:
8293 # /* config.h. Generated by config.status. */
8294 configure_input='Generated from '`
8295 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8297 if test x"$ac_file" != x-; then
8298 configure_input="$ac_file. $configure_input"
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8300 $as_echo "$as_me: creating $ac_file" >&6;}
8302 # Neutralize special characters interpreted by sed in replacement strings.
8303 case $configure_input in #(
8304 *\&* | *\|* | *\\* )
8305 ac_sed_conf_input=`$as_echo "$configure_input" |
8306 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8307 *) ac_sed_conf_input=$configure_input;;
8311 *:-:* | *:-) cat >"$ac_tmp/stdin" \
8312 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8317 ac_dir=`$as_dirname -- "$ac_file" ||
8318 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8319 X"$ac_file" : 'X\(//\)[^/]' \| \
8320 X"$ac_file" : 'X\(//\)$' \| \
8321 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8322 $as_echo X"$ac_file" |
8323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8340 as_dir="$ac_dir"; as_fn_mkdir_p
8344 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8346 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8347 # A ".." for each directory in $ac_dir_suffix.
8348 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8349 case $ac_top_builddir_sub in
8350 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8351 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8354 ac_abs_top_builddir=$ac_pwd
8355 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8356 # for backward compatibility:
8357 ac_top_builddir=$ac_top_build_prefix
8360 .) # We are building in place.
8362 ac_top_srcdir=$ac_top_builddir_sub
8363 ac_abs_top_srcdir=$ac_pwd ;;
8364 [\\/]* | ?:[\\/]* ) # Absolute name.
8365 ac_srcdir=$srcdir$ac_dir_suffix;
8366 ac_top_srcdir=$srcdir
8367 ac_abs_top_srcdir=$srcdir ;;
8369 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8370 ac_top_srcdir=$ac_top_build_prefix$srcdir
8371 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8373 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8383 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8384 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8388 [\\/$]* | ?:[\\/]* ) ;;
8389 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8394 # If the template does not know about datarootdir, expand it.
8395 # FIXME: This hack should be removed a few years after 2.60.
8396 ac_datarootdir_hack=; ac_datarootdir_seen=
8407 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8408 *datarootdir*) ac_datarootdir_seen=yes;;
8409 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8411 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8413 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8414 ac_datarootdir_hack='
8415 s&@datadir@&$datadir&g
8416 s&@docdir@&$docdir&g
8417 s&@infodir@&$infodir&g
8418 s&@localedir@&$localedir&g
8419 s&@mandir@&$mandir&g
8420 s&\\\${datarootdir}&$datarootdir&g' ;;
8424 # Neutralize VPATH when `$srcdir' = `.'.
8425 # Shell code in configure.ac might set extrasub.
8426 # FIXME: do we really want to maintain this feature?
8427 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8428 ac_sed_extra="$ac_vpsub
8431 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8433 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8434 s|@configure_input@|$ac_sed_conf_input|;t t
8435 s&@top_builddir@&$ac_top_builddir_sub&;t t
8436 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8437 s&@srcdir@&$ac_srcdir&;t t
8438 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8439 s&@top_srcdir@&$ac_top_srcdir&;t t
8440 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8441 s&@builddir@&$ac_builddir&;t t
8442 s&@abs_builddir@&$ac_abs_builddir&;t t
8443 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8444 s&@INSTALL@&$ac_INSTALL&;t t
8445 s&@MKDIR_P@&$ac_MKDIR_P&;t t
8446 $ac_datarootdir_hack
8448 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8449 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8451 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8452 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8453 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8454 "$ac_tmp/out"`; test -z "$ac_out"; } &&
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8456 which seems to be undefined. Please make sure it is defined" >&5
8457 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8458 which seems to be undefined. Please make sure it is defined" >&2;}
8460 rm -f "$ac_tmp/stdin"
8462 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8463 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8465 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8471 if test x"$ac_file" != x-; then
8473 $as_echo "/* $configure_input */" \
8474 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8475 } >"$ac_tmp/config.h" \
8476 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8477 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8479 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8482 mv "$ac_tmp/config.h" "$ac_file" \
8483 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8486 $as_echo "/* $configure_input */" \
8487 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8488 || as_fn_error $? "could not create -" "$LINENO" 5
8490 # Compute "$ac_file"'s index in $config_headers.
8493 for _am_header in $config_headers :; do
8495 $_am_arg | $_am_arg:* )
8498 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8501 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8502 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8503 X"$_am_arg" : 'X\(//\)[^/]' \| \
8504 X"$_am_arg" : 'X\(//\)$' \| \
8505 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8506 $as_echo X"$_am_arg" |
8507 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8523 s/.*/./; q'`/stamp-h$_am_stamp_count
8526 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8527 $as_echo "$as_me: executing $ac_file commands" >&6;}
8532 case $ac_file$ac_mode in
8533 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8534 # Autoconf 2.62 quotes --file arguments for eval, but not when files
8535 # are listed without --file. Let's play safe and only enable the eval
8536 # if we detect the quoting.
8537 case $CONFIG_FILES in
8538 *\'*) eval set x "$CONFIG_FILES" ;;
8539 *) set x $CONFIG_FILES ;;
8544 # Strip MF so we end up with the name of the file.
8545 mf=`echo "$mf" | sed -e 's/:.*$//'`
8546 # Check whether this is an Automake generated Makefile or not.
8547 # We used to match only the files named `Makefile.in', but
8548 # some people rename them; so instead we look at the file content.
8549 # Grep'ing the first line is not enough: some people post-process
8550 # each Makefile.in and add a new line on top of each file to say so.
8551 # Grep'ing the whole file is not good either: AIX grep has a line
8552 # limit of 2048, but all sed's we know have understand at least 4000.
8553 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8554 dirpart=`$as_dirname -- "$mf" ||
8555 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8556 X"$mf" : 'X\(//\)[^/]' \| \
8557 X"$mf" : 'X\(//\)$' \| \
8558 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8560 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8580 # Extract the definition of DEPDIR, am__include, and am__quote
8581 # from the Makefile without running `make'.
8582 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8583 test -z "$DEPDIR" && continue
8584 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8585 test -z "am__include" && continue
8586 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8587 # When using ansi2knr, U may be empty or an underscore; expand it
8588 U=`sed -n 's/^U = //p' < "$mf"`
8589 # Find all dependency output files, they are included files with
8590 # $(DEPDIR) in their names. We invoke sed twice because it is the
8591 # simplest approach to changing $(DEPDIR) to its actual value in the
8593 for file in `sed -n "
8594 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8595 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8596 # Make sure the directory exists.
8597 test -f "$dirpart/$file" && continue
8598 fdir=`$as_dirname -- "$file" ||
8599 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8600 X"$file" : 'X\(//\)[^/]' \| \
8601 X"$file" : 'X\(//\)$' \| \
8602 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8604 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8621 as_dir=$dirpart/$fdir; as_fn_mkdir_p
8622 # echo "creating $dirpart/$file"
8623 echo '# dummy' > "$dirpart/$file"
8629 for ac_file in $CONFIG_FILES; do
8630 # Support "outfile[:infile[:infile...]]"
8632 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
8634 # PO directories have a Makefile.in generated from Makefile.in.in.
8635 case "$ac_file" in */Makefile.in)
8636 # Adjust a relative srcdir.
8637 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
8638 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
8639 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
8640 # In autoconf-2.13 it is called $ac_given_srcdir.
8641 # In autoconf-2.50 it is called $srcdir.
8642 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
8643 case "$ac_given_srcdir" in
8644 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
8645 /*) top_srcdir="$ac_given_srcdir" ;;
8646 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
8648 # Treat a directory as a PO directory if and only if it has a
8649 # POTFILES.in file. This allows packages to have multiple PO
8650 # directories under different names or in different locations.
8651 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8652 rm -f "$ac_dir/POTFILES"
8653 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
8654 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
8655 POMAKEFILEDEPS="POTFILES.in"
8656 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
8657 # on $ac_dir but don't depend on user-specified configuration
8659 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8660 # The LINGUAS file contains the set of available languages.
8661 if test -n "$OBSOLETE_ALL_LINGUAS"; then
8662 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
8664 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8665 # Hide the ALL_LINGUAS assigment from automake < 1.5.
8666 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8667 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
8669 # The set of available languages was given in configure.in.
8670 # Hide the ALL_LINGUAS assigment from automake < 1.5.
8671 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8674 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
8675 # Compute UPDATEPOFILES
8676 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
8677 # Compute DUMMYPOFILES
8678 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
8680 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
8681 case "$ac_given_srcdir" in
8683 *) srcdirpre='$(srcdir)/' ;;
8689 for lang in $ALL_LINGUAS; do
8690 POFILES="$POFILES $srcdirpre$lang.po"
8691 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
8692 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
8693 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
8695 # CATALOGS depends on both $ac_dir and the user's LINGUAS
8696 # environment variable.
8698 if test -n "$ALL_LINGUAS"; then
8699 for presentlang in $ALL_LINGUAS; do
8701 if test "%UNSET%" != "$LINGUAS"; then
8702 desiredlanguages="$LINGUAS"
8704 desiredlanguages="$ALL_LINGUAS"
8706 for desiredlang in $desiredlanguages; do
8707 # Use the presentlang catalog if desiredlang is
8708 # a. equal to presentlang, or
8709 # b. a variant of presentlang (because in this case,
8710 # presentlang can be used as a fallback for messages
8711 # which are not translated in the desiredlang catalog).
8712 case "$desiredlang" in
8713 "$presentlang"*) useit=yes;;
8716 if test $useit = yes; then
8717 INST_LINGUAS="$INST_LINGUAS $presentlang"
8722 if test -n "$INST_LINGUAS"; then
8723 for lang in $INST_LINGUAS; do
8724 CATALOGS="$CATALOGS $lang.gmo"
8727 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
8728 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"
8729 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
8730 if test -f "$f"; then
8732 *.orig | *.bak | *~) ;;
8733 *) cat "$f" >> "$ac_dir/Makefile" ;;
8748 ac_clean_files=$ac_clean_files_save
8750 test $ac_write_fail = 0 ||
8751 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8754 # configure is writing to config.log, and then calls config.status.
8755 # config.status does its own redirection, appending to config.log.
8756 # Unfortunately, on DOS this fails, as config.log is still kept open
8757 # by configure, so config.status won't be able to write to it; its
8758 # output is simply discarded. So we exec the FD to /dev/null,
8759 # effectively closing config.log, so it can be properly (re)opened and
8760 # appended to by config.status. When coming back to configure, we
8761 # need to make the FD available again.
8762 if test "$no_create" != yes; then
8764 ac_config_status_args=
8765 test "$silent" = yes &&
8766 ac_config_status_args="$ac_config_status_args --quiet"
8768 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8770 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8771 # would make configure fail if this is the last instruction.
8772 $ac_cs_success || as_fn_exit 1
8774 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8776 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}