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 if test "x$CC" != xcc; then
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3508 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3511 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3513 set dummy $CC; ac_cc=`$as_echo "$2" |
3514 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3515 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3516 $as_echo_n "(cached) " >&6
3518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3519 /* end confdefs.h. */
3529 # Make sure it works both with $CC and with simple cc.
3530 # We do the test twice because some compilers refuse to overwrite an
3531 # existing .o file with -o, though they will create one.
3532 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3534 if { { case "(($ac_try" in
3535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3536 *) ac_try_echo=$ac_try;;
3538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3539 $as_echo "$ac_try_echo"; } >&5
3540 (eval "$ac_try") 2>&5
3542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3543 test $ac_status = 0; } &&
3544 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3546 *) ac_try_echo=$ac_try;;
3548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3549 $as_echo "$ac_try_echo"; } >&5
3550 (eval "$ac_try") 2>&5
3552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3553 test $ac_status = 0; };
3555 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3556 if test "x$CC" != xcc; then
3557 # Test first that cc exists at all.
3558 if { ac_try='cc -c conftest.$ac_ext >&5'
3559 { { case "(($ac_try" in
3560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3561 *) ac_try_echo=$ac_try;;
3563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3564 $as_echo "$ac_try_echo"; } >&5
3565 (eval "$ac_try") 2>&5
3567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3568 test $ac_status = 0; }; }; then
3569 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3571 if { { case "(($ac_try" in
3572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3573 *) ac_try_echo=$ac_try;;
3575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3576 $as_echo "$ac_try_echo"; } >&5
3577 (eval "$ac_try") 2>&5
3579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3580 test $ac_status = 0; } &&
3581 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3583 *) ac_try_echo=$ac_try;;
3585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3586 $as_echo "$ac_try_echo"; } >&5
3587 (eval "$ac_try") 2>&5
3589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3590 test $ac_status = 0; };
3595 # cc exists but doesn't like -o.
3596 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3601 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3603 rm -f core conftest*
3606 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3608 $as_echo "yes" >&6; }
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3611 $as_echo "no" >&6; }
3613 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3617 # FIXME: we rely on the cache variable name because
3618 # there is no other way.
3620 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3621 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3622 if test "$am_t" != yes; then
3623 # Losing compiler, so override with the script.
3624 # FIXME: It is wrong to rewrite CC.
3625 # But if we don't then we get into trouble of one sort or another.
3626 # A longer-term fix would be to have automake use am__CC in this case,
3627 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3628 CC="$am_aux_dir/compile $CC"
3633 # Checks for header files.
3636 ac_cpp='$CPP $CPPFLAGS'
3637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3641 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3642 # On Suns, sometimes $CPP names a directory.
3643 if test -n "$CPP" && test -d "$CPP"; then
3646 if test -z "$CPP"; then
3647 if ${ac_cv_prog_CPP+:} false; then :
3648 $as_echo_n "(cached) " >&6
3650 # Double quotes because CPP needs to be expanded
3651 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3654 for ac_c_preproc_warn_flag in '' yes
3656 # Use a header file that comes with gcc, so configuring glibc
3657 # with a fresh cross-compiler works.
3658 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3659 # <limits.h> exists even on freestanding compilers.
3660 # On the NeXT, cc -E runs the code through the compiler's parser,
3661 # not just through cpp. "Syntax error" is here to catch this case.
3662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3663 /* end confdefs.h. */
3665 # include <limits.h>
3667 # include <assert.h>
3671 if ac_fn_c_try_cpp "$LINENO"; then :
3674 # Broken: fails on valid input.
3677 rm -f conftest.err conftest.i conftest.$ac_ext
3679 # OK, works on sane cases. Now check whether nonexistent headers
3680 # can be detected and how.
3681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3682 /* end confdefs.h. */
3683 #include <ac_nonexistent.h>
3685 if ac_fn_c_try_cpp "$LINENO"; then :
3686 # Broken: success on invalid input.
3689 # Passes both tests.
3693 rm -f conftest.err conftest.i conftest.$ac_ext
3696 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3697 rm -f conftest.i conftest.err conftest.$ac_ext
3698 if $ac_preproc_ok; then :
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3711 $as_echo "$CPP" >&6; }
3713 for ac_c_preproc_warn_flag in '' yes
3715 # Use a header file that comes with gcc, so configuring glibc
3716 # with a fresh cross-compiler works.
3717 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3718 # <limits.h> exists even on freestanding compilers.
3719 # On the NeXT, cc -E runs the code through the compiler's parser,
3720 # not just through cpp. "Syntax error" is here to catch this case.
3721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3722 /* end confdefs.h. */
3724 # include <limits.h>
3726 # include <assert.h>
3730 if ac_fn_c_try_cpp "$LINENO"; then :
3733 # Broken: fails on valid input.
3736 rm -f conftest.err conftest.i conftest.$ac_ext
3738 # OK, works on sane cases. Now check whether nonexistent headers
3739 # can be detected and how.
3740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3741 /* end confdefs.h. */
3742 #include <ac_nonexistent.h>
3744 if ac_fn_c_try_cpp "$LINENO"; then :
3745 # Broken: success on invalid input.
3748 # Passes both tests.
3752 rm -f conftest.err conftest.i conftest.$ac_ext
3755 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3756 rm -f conftest.i conftest.err conftest.$ac_ext
3757 if $ac_preproc_ok; then :
3760 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3761 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3762 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3763 See \`config.log' for more details" "$LINENO" 5; }
3767 ac_cpp='$CPP $CPPFLAGS'
3768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
3774 $as_echo_n "checking for X... " >&6; }
3777 # Check whether --with-x was given.
3778 if test "${with_x+set}" = set; then :
3782 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3783 if test "x$with_x" = xno; then
3784 # The user explicitly disabled X.
3787 case $x_includes,$x_libraries in #(
3788 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
3789 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
3790 $as_echo_n "(cached) " >&6
3792 # One or both of the vars are not set, and there is no cached value.
3793 ac_x_includes=no ac_x_libraries=no
3794 rm -f -r conftest.dir
3795 if mkdir conftest.dir; then
3797 cat >Imakefile <<'_ACEOF'
3799 @echo incroot='${INCROOT}'
3801 @echo usrlibdir='${USRLIBDIR}'
3803 @echo libdir='${LIBDIR}'
3805 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3806 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3807 for ac_var in incroot usrlibdir libdir; do
3808 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3810 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3811 for ac_extension in a so sl dylib la dll; do
3812 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3813 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3814 ac_im_usrlibdir=$ac_im_libdir; break
3817 # Screen out bogus values from the imake configuration. They are
3818 # bogus both because they are the default anyway, and because
3819 # using them would break gcc on systems where it needs fixed includes.
3820 case $ac_im_incroot in
3821 /usr/include) ac_x_includes= ;;
3822 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3824 case $ac_im_usrlibdir in
3825 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
3826 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3830 rm -f -r conftest.dir
3833 # Standard set of common directories for X headers.
3834 # Check X11 before X11Rn because it is often a symlink to the current release.
3848 /usr/local/X11/include
3849 /usr/local/X11R7/include
3850 /usr/local/X11R6/include
3851 /usr/local/X11R5/include
3852 /usr/local/X11R4/include
3854 /usr/local/include/X11
3855 /usr/local/include/X11R7
3856 /usr/local/include/X11R6
3857 /usr/local/include/X11R5
3858 /usr/local/include/X11R4
3862 /usr/XFree86/include/X11
3866 /usr/unsupported/include
3868 /usr/local/x11r5/include
3869 /usr/lpp/Xamples/include
3871 /usr/openwin/include
3872 /usr/openwin/share/include'
3874 if test "$ac_x_includes" = no; then
3875 # Guess where to find include files, by looking for Xlib.h.
3876 # First, try using that file with no special directory specified.
3877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3878 /* end confdefs.h. */
3879 #include <X11/Xlib.h>
3881 if ac_fn_c_try_cpp "$LINENO"; then :
3882 # We can compile using X headers with no special include directory.
3885 for ac_dir in $ac_x_header_dirs; do
3886 if test -r "$ac_dir/X11/Xlib.h"; then
3887 ac_x_includes=$ac_dir
3892 rm -f conftest.err conftest.i conftest.$ac_ext
3893 fi # $ac_x_includes = no
3895 if test "$ac_x_libraries" = no; then
3896 # Check for the libraries.
3897 # See if we find them without any special options.
3898 # Don't add to $LIBS permanently.
3901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3902 /* end confdefs.h. */
3903 #include <X11/Xlib.h>
3912 if ac_fn_c_try_link "$LINENO"; then :
3914 # We can link X programs with no special library path.
3918 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3920 # Don't even attempt the hair of trying to link an X program!
3921 for ac_extension in a so sl dylib la dll; do
3922 if test -r "$ac_dir/libX11.$ac_extension"; then
3923 ac_x_libraries=$ac_dir
3929 rm -f core conftest.err conftest.$ac_objext \
3930 conftest$ac_exeext conftest.$ac_ext
3931 fi # $ac_x_libraries = no
3933 case $ac_x_includes,$ac_x_libraries in #(
3935 # Didn't find X, or a directory has "'" in its name.
3936 ac_cv_have_x="have_x=no";; #(
3938 # Record where we found X for the cache.
3939 ac_cv_have_x="have_x=yes\
3940 ac_x_includes='$ac_x_includes'\
3941 ac_x_libraries='$ac_x_libraries'"
3947 eval "$ac_cv_have_x"
3950 if test "$have_x" != yes; then
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
3952 $as_echo "$have_x" >&6; }
3955 # If each of the values was on the command line, it overrides each guess.
3956 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3957 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3958 # Update the cache value to reflect the command line values.
3959 ac_cv_have_x="have_x=yes\
3960 ac_x_includes='$x_includes'\
3961 ac_x_libraries='$x_libraries'"
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
3963 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
3970 $as_echo_n "checking whether NLS is requested... " >&6; }
3971 # Check whether --enable-nls was given.
3972 if test "${enable_nls+set}" = set; then :
3973 enableval=$enable_nls; USE_NLS=$enableval
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
3979 $as_echo "$USE_NLS" >&6; }
3984 GETTEXT_MACRO_VERSION=0.18
3989 # Prepare PATH_SEPARATOR.
3990 # The user is always right.
3991 if test "${PATH_SEPARATOR+set}" != set; then
3992 echo "#! /bin/sh" >conf$$.sh
3993 echo "exit 0" >>conf$$.sh
3995 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4003 # Find out how to test for executable files. Don't use a zero-byte file,
4004 # as systems may use methods other than mode bits to determine executability.
4005 cat >conf$$.file <<_ASEOF
4009 chmod +x conf$$.file
4010 if test -x conf$$.file >/dev/null 2>&1; then
4011 ac_executable_p="test -x"
4013 ac_executable_p="test -f"
4017 # Extract the first word of "msgfmt", so it can be a program name with args.
4018 set dummy msgfmt; ac_word=$2
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4020 $as_echo_n "checking for $ac_word... " >&6; }
4021 if ${ac_cv_path_MSGFMT+:} false; then :
4022 $as_echo_n "(cached) " >&6
4026 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4029 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4030 for ac_dir in $PATH; do
4032 test -z "$ac_dir" && ac_dir=.
4033 for ac_exec_ext in '' $ac_executable_extensions; do
4034 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4035 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4036 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
4037 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4038 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
4045 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
4049 MSGFMT="$ac_cv_path_MSGFMT"
4050 if test "$MSGFMT" != ":"; then
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4052 $as_echo "$MSGFMT" >&6; }
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4055 $as_echo "no" >&6; }
4058 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4059 set dummy gmsgfmt; ac_word=$2
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4061 $as_echo_n "checking for $ac_word... " >&6; }
4062 if ${ac_cv_path_GMSGFMT+:} false; then :
4063 $as_echo_n "(cached) " >&6
4067 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4074 test -z "$as_dir" && as_dir=.
4075 for ac_exec_ext in '' $ac_executable_extensions; do
4076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4077 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4085 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4089 GMSGFMT=$ac_cv_path_GMSGFMT
4090 if test -n "$GMSGFMT"; then
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4092 $as_echo "$GMSGFMT" >&6; }
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4095 $as_echo "no" >&6; }
4100 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4101 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
4102 *) MSGFMT_015=$MSGFMT ;;
4105 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4106 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
4107 *) GMSGFMT_015=$GMSGFMT ;;
4112 # Prepare PATH_SEPARATOR.
4113 # The user is always right.
4114 if test "${PATH_SEPARATOR+set}" != set; then
4115 echo "#! /bin/sh" >conf$$.sh
4116 echo "exit 0" >>conf$$.sh
4118 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4126 # Find out how to test for executable files. Don't use a zero-byte file,
4127 # as systems may use methods other than mode bits to determine executability.
4128 cat >conf$$.file <<_ASEOF
4132 chmod +x conf$$.file
4133 if test -x conf$$.file >/dev/null 2>&1; then
4134 ac_executable_p="test -x"
4136 ac_executable_p="test -f"
4140 # Extract the first word of "xgettext", so it can be a program name with args.
4141 set dummy xgettext; ac_word=$2
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4143 $as_echo_n "checking for $ac_word... " >&6; }
4144 if ${ac_cv_path_XGETTEXT+:} false; then :
4145 $as_echo_n "(cached) " >&6
4149 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4152 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4153 for ac_dir in $PATH; do
4155 test -z "$ac_dir" && ac_dir=.
4156 for ac_exec_ext in '' $ac_executable_extensions; do
4157 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4158 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4159 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
4160 (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
4161 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
4168 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4172 XGETTEXT="$ac_cv_path_XGETTEXT"
4173 if test "$XGETTEXT" != ":"; then
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4175 $as_echo "$XGETTEXT" >&6; }
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4178 $as_echo "no" >&6; }
4183 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4184 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
4185 *) XGETTEXT_015=$XGETTEXT ;;
4190 # Prepare PATH_SEPARATOR.
4191 # The user is always right.
4192 if test "${PATH_SEPARATOR+set}" != set; then
4193 echo "#! /bin/sh" >conf$$.sh
4194 echo "exit 0" >>conf$$.sh
4196 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4204 # Find out how to test for executable files. Don't use a zero-byte file,
4205 # as systems may use methods other than mode bits to determine executability.
4206 cat >conf$$.file <<_ASEOF
4210 chmod +x conf$$.file
4211 if test -x conf$$.file >/dev/null 2>&1; then
4212 ac_executable_p="test -x"
4214 ac_executable_p="test -f"
4218 # Extract the first word of "msgmerge", so it can be a program name with args.
4219 set dummy msgmerge; ac_word=$2
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4221 $as_echo_n "checking for $ac_word... " >&6; }
4222 if ${ac_cv_path_MSGMERGE+:} false; then :
4223 $as_echo_n "(cached) " >&6
4227 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4230 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4231 for ac_dir in $PATH; do
4233 test -z "$ac_dir" && ac_dir=.
4234 for ac_exec_ext in '' $ac_executable_extensions; do
4235 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4236 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4237 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
4238 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
4245 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
4249 MSGMERGE="$ac_cv_path_MSGMERGE"
4250 if test "$MSGMERGE" != ":"; then
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4252 $as_echo "$MSGMERGE" >&6; }
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4255 $as_echo "no" >&6; }
4259 test -n "$localedir" || localedir='${datadir}/locale'
4262 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
4265 ac_config_commands="$ac_config_commands po-directories"
4269 if test "X$prefix" = "XNONE"; then
4270 acl_final_prefix="$ac_default_prefix"
4272 acl_final_prefix="$prefix"
4274 if test "X$exec_prefix" = "XNONE"; then
4275 acl_final_exec_prefix='${prefix}'
4277 acl_final_exec_prefix="$exec_prefix"
4279 acl_save_prefix="$prefix"
4280 prefix="$acl_final_prefix"
4281 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
4282 prefix="$acl_save_prefix"
4284 # Make sure we can run config.sub.
4285 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4286 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4289 $as_echo_n "checking build system type... " >&6; }
4290 if ${ac_cv_build+:} false; then :
4291 $as_echo_n "(cached) " >&6
4293 ac_build_alias=$build_alias
4294 test "x$ac_build_alias" = x &&
4295 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4296 test "x$ac_build_alias" = x &&
4297 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4298 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4299 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4303 $as_echo "$ac_cv_build" >&6; }
4304 case $ac_cv_build in
4306 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4309 ac_save_IFS=$IFS; IFS='-'
4315 # Remember, the first character of IFS is used to create $*,
4316 # except with old shells:
4319 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4323 $as_echo_n "checking host system type... " >&6; }
4324 if ${ac_cv_host+:} false; then :
4325 $as_echo_n "(cached) " >&6
4327 if test "x$host_alias" = x; then
4328 ac_cv_host=$ac_cv_build
4330 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4331 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4336 $as_echo "$ac_cv_host" >&6; }
4339 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4342 ac_save_IFS=$IFS; IFS='-'
4348 # Remember, the first character of IFS is used to create $*,
4349 # except with old shells:
4352 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4356 # Check whether --with-gnu-ld was given.
4357 if test "${with_gnu_ld+set}" = set; then :
4358 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4363 # Prepare PATH_SEPARATOR.
4364 # The user is always right.
4365 if test "${PATH_SEPARATOR+set}" != set; then
4366 echo "#! /bin/sh" >conf$$.sh
4367 echo "exit 0" >>conf$$.sh
4369 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4377 if test "$GCC" = yes; then
4378 # Check if gcc -print-prog-name=ld gives a path.
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
4380 $as_echo_n "checking for ld used by GCC... " >&6; }
4383 # gcc leaves a trailing carriage return which upsets mingw
4384 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4386 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4389 # Accept absolute paths.
4390 [\\/]* | [A-Za-z]:[\\/]*)
4391 re_direlt='/[^/][^/]*/\.\./'
4392 # Canonicalize the path of ld
4393 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4394 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4395 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4397 test -z "$LD" && LD="$ac_prog"
4400 # If it fails, then pretend we aren't using GCC.
4404 # If it is relative, then search for the first ld in PATH.
4408 elif test "$with_gnu_ld" = yes; then
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4410 $as_echo_n "checking for GNU ld... " >&6; }
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4413 $as_echo_n "checking for non-GNU ld... " >&6; }
4415 if ${acl_cv_path_LD+:} false; then :
4416 $as_echo_n "(cached) " >&6
4418 if test -z "$LD"; then
4419 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4420 for ac_dir in $PATH; do
4421 test -z "$ac_dir" && ac_dir=.
4422 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4423 acl_cv_path_LD="$ac_dir/$ac_prog"
4424 # Check to see if the program is GNU ld. I'd rather use --version,
4425 # but apparently some GNU ld's only accept -v.
4426 # Break only if it was the GNU/non-GNU ld that we prefer.
4427 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
4428 *GNU* | *'with BFD'*)
4429 test "$with_gnu_ld" != no && break ;;
4431 test "$with_gnu_ld" != yes && break ;;
4437 acl_cv_path_LD="$LD" # Let the user override the test with a path.
4441 LD="$acl_cv_path_LD"
4442 if test -n "$LD"; then
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4444 $as_echo "$LD" >&6; }
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4447 $as_echo "no" >&6; }
4449 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4451 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4452 if ${acl_cv_prog_gnu_ld+:} false; then :
4453 $as_echo_n "(cached) " >&6
4455 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4456 case `$LD -v 2>&1 </dev/null` in
4457 *GNU* | *'with BFD'*)
4458 acl_cv_prog_gnu_ld=yes ;;
4460 acl_cv_prog_gnu_ld=no ;;
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4464 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
4465 with_gnu_ld=$acl_cv_prog_gnu_ld
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
4471 $as_echo_n "checking for shared library run path origin... " >&6; }
4472 if ${acl_cv_rpath+:} false; then :
4473 $as_echo_n "(cached) " >&6
4476 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
4477 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
4484 $as_echo "$acl_cv_rpath" >&6; }
4486 acl_libext="$acl_cv_libext"
4487 acl_shlibext="$acl_cv_shlibext"
4488 acl_libname_spec="$acl_cv_libname_spec"
4489 acl_library_names_spec="$acl_cv_library_names_spec"
4490 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
4491 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
4492 acl_hardcode_direct="$acl_cv_hardcode_direct"
4493 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
4494 # Check whether --enable-rpath was given.
4495 if test "${enable_rpath+set}" = set; then :
4496 enableval=$enable_rpath; :
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4503 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4504 if ${ac_cv_path_GREP+:} false; then :
4505 $as_echo_n "(cached) " >&6
4507 if test -z "$GREP"; then
4508 ac_path_GREP_found=false
4509 # Loop through the user's path and test for each of PROGNAME-LIST
4510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4511 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4514 test -z "$as_dir" && as_dir=.
4515 for ac_prog in grep ggrep; do
4516 for ac_exec_ext in '' $ac_executable_extensions; do
4517 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4518 as_fn_executable_p "$ac_path_GREP" || continue
4519 # Check for GNU ac_path_GREP and select it if it is found.
4520 # Check for GNU $ac_path_GREP
4521 case `"$ac_path_GREP" --version 2>&1` in
4523 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4526 $as_echo_n 0123456789 >"conftest.in"
4529 cat "conftest.in" "conftest.in" >"conftest.tmp"
4530 mv "conftest.tmp" "conftest.in"
4531 cp "conftest.in" "conftest.nl"
4532 $as_echo 'GREP' >> "conftest.nl"
4533 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4534 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4535 as_fn_arith $ac_count + 1 && ac_count=$as_val
4536 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4537 # Best one so far, save it but keep looking for a better one
4538 ac_cv_path_GREP="$ac_path_GREP"
4539 ac_path_GREP_max=$ac_count
4541 # 10*(2^10) chars as input seems more than enough
4542 test $ac_count -gt 10 && break
4544 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4547 $ac_path_GREP_found && break 3
4552 if test -z "$ac_cv_path_GREP"; then
4553 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4556 ac_cv_path_GREP=$GREP
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4561 $as_echo "$ac_cv_path_GREP" >&6; }
4562 GREP="$ac_cv_path_GREP"
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4566 $as_echo_n "checking for egrep... " >&6; }
4567 if ${ac_cv_path_EGREP+:} false; then :
4568 $as_echo_n "(cached) " >&6
4570 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4571 then ac_cv_path_EGREP="$GREP -E"
4573 if test -z "$EGREP"; then
4574 ac_path_EGREP_found=false
4575 # Loop through the user's path and test for each of PROGNAME-LIST
4576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4577 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4580 test -z "$as_dir" && as_dir=.
4581 for ac_prog in egrep; do
4582 for ac_exec_ext in '' $ac_executable_extensions; do
4583 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4584 as_fn_executable_p "$ac_path_EGREP" || continue
4585 # Check for GNU ac_path_EGREP and select it if it is found.
4586 # Check for GNU $ac_path_EGREP
4587 case `"$ac_path_EGREP" --version 2>&1` in
4589 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4592 $as_echo_n 0123456789 >"conftest.in"
4595 cat "conftest.in" "conftest.in" >"conftest.tmp"
4596 mv "conftest.tmp" "conftest.in"
4597 cp "conftest.in" "conftest.nl"
4598 $as_echo 'EGREP' >> "conftest.nl"
4599 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4600 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4601 as_fn_arith $ac_count + 1 && ac_count=$as_val
4602 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4603 # Best one so far, save it but keep looking for a better one
4604 ac_cv_path_EGREP="$ac_path_EGREP"
4605 ac_path_EGREP_max=$ac_count
4607 # 10*(2^10) chars as input seems more than enough
4608 test $ac_count -gt 10 && break
4610 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4613 $ac_path_EGREP_found && break 3
4618 if test -z "$ac_cv_path_EGREP"; then
4619 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4622 ac_cv_path_EGREP=$EGREP
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4628 $as_echo "$ac_cv_path_EGREP" >&6; }
4629 EGREP="$ac_cv_path_EGREP"
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
4639 $as_echo_n "checking for 64-bit host... " >&6; }
4640 if ${gl_cv_solaris_64bit+:} false; then :
4641 $as_echo_n "(cached) " >&6
4643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4644 /* end confdefs.h. */
4651 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4652 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
4653 gl_cv_solaris_64bit=yes
4655 gl_cv_solaris_64bit=no
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
4662 $as_echo "$gl_cv_solaris_64bit" >&6; }
4663 if test $gl_cv_solaris_64bit = yes; then
4664 acl_libdirstem=lib/64
4666 sparc*) acl_libdirstem2=lib/sparcv9 ;;
4667 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
4672 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
4673 if test -n "$searchpath"; then
4674 acl_save_IFS="${IFS= }"; IFS=":"
4675 for searchdir in $searchpath; do
4676 if test -d "$searchdir"; then
4677 case "$searchdir" in
4678 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
4680 # Better ignore directories of this form. They are misleading.
4682 *) searchdir=`cd "$searchdir" && pwd`
4683 case "$searchdir" in
4684 */lib64 ) acl_libdirstem=lib64 ;;
4693 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
4708 acl_save_prefix="$prefix"
4709 prefix="$acl_final_prefix"
4710 acl_save_exec_prefix="$exec_prefix"
4711 exec_prefix="$acl_final_exec_prefix"
4713 eval additional_includedir=\"$includedir\"
4714 eval additional_libdir=\"$libdir\"
4716 exec_prefix="$acl_save_exec_prefix"
4717 prefix="$acl_save_prefix"
4720 # Check whether --with-libiconv-prefix was given.
4721 if test "${with_libiconv_prefix+set}" = set; then :
4722 withval=$with_libiconv_prefix;
4723 if test "X$withval" = "Xno"; then
4726 if test "X$withval" = "X"; then
4728 acl_save_prefix="$prefix"
4729 prefix="$acl_final_prefix"
4730 acl_save_exec_prefix="$exec_prefix"
4731 exec_prefix="$acl_final_exec_prefix"
4733 eval additional_includedir=\"$includedir\"
4734 eval additional_libdir=\"$libdir\"
4736 exec_prefix="$acl_save_exec_prefix"
4737 prefix="$acl_save_prefix"
4740 additional_includedir="$withval/include"
4741 additional_libdir="$withval/$acl_libdirstem"
4742 if test "$acl_libdirstem2" != "$acl_libdirstem" \
4743 && ! test -d "$withval/$acl_libdirstem"; then
4744 additional_libdir="$withval/$acl_libdirstem2"
4758 names_already_handled=
4759 names_next_round='iconv '
4760 while test -n "$names_next_round"; do
4761 names_this_round="$names_next_round"
4763 for name in $names_this_round; do
4765 for n in $names_already_handled; do
4766 if test "$n" = "$name"; then
4771 if test -z "$already_handled"; then
4772 names_already_handled="$names_already_handled $name"
4773 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
4774 eval value=\"\$HAVE_LIB$uppername\"
4775 if test -n "$value"; then
4776 if test "$value" = yes; then
4777 eval value=\"\$LIB$uppername\"
4778 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
4779 eval value=\"\$LTLIB$uppername\"
4780 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
4789 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
4790 if test -n "$acl_shlibext"; then
4791 shrext=".$acl_shlibext" # typically: shrext=.so
4795 if test $use_additional = yes; then
4796 dir="$additional_libdir"
4797 if test -n "$acl_shlibext"; then
4798 if test -f "$dir/$libname$shrext"; then
4800 found_so="$dir/$libname$shrext"
4802 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
4803 ver=`(cd "$dir" && \
4804 for f in "$libname$shrext".*; do echo "$f"; done \
4805 | sed -e "s,^$libname$shrext\\\\.,," \
4806 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
4807 | sed 1q ) 2>/dev/null`
4808 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
4810 found_so="$dir/$libname$shrext.$ver"
4813 eval library_names=\"$acl_library_names_spec\"
4814 for f in $library_names; do
4815 if test -f "$dir/$f"; then
4824 if test "X$found_dir" = "X"; then
4825 if test -f "$dir/$libname.$acl_libext"; then
4827 found_a="$dir/$libname.$acl_libext"
4830 if test "X$found_dir" != "X"; then
4831 if test -f "$dir/$libname.la"; then
4832 found_la="$dir/$libname.la"
4836 if test "X$found_dir" = "X"; then
4837 for x in $LDFLAGS $LTLIBICONV; do
4839 acl_save_prefix="$prefix"
4840 prefix="$acl_final_prefix"
4841 acl_save_exec_prefix="$exec_prefix"
4842 exec_prefix="$acl_final_exec_prefix"
4844 exec_prefix="$acl_save_exec_prefix"
4845 prefix="$acl_save_prefix"
4849 dir=`echo "X$x" | sed -e 's/^X-L//'`
4850 if test -n "$acl_shlibext"; then
4851 if test -f "$dir/$libname$shrext"; then
4853 found_so="$dir/$libname$shrext"
4855 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
4856 ver=`(cd "$dir" && \
4857 for f in "$libname$shrext".*; do echo "$f"; done \
4858 | sed -e "s,^$libname$shrext\\\\.,," \
4859 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
4860 | sed 1q ) 2>/dev/null`
4861 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
4863 found_so="$dir/$libname$shrext.$ver"
4866 eval library_names=\"$acl_library_names_spec\"
4867 for f in $library_names; do
4868 if test -f "$dir/$f"; then
4877 if test "X$found_dir" = "X"; then
4878 if test -f "$dir/$libname.$acl_libext"; then
4880 found_a="$dir/$libname.$acl_libext"
4883 if test "X$found_dir" != "X"; then
4884 if test -f "$dir/$libname.la"; then
4885 found_la="$dir/$libname.la"
4890 if test "X$found_dir" != "X"; then
4895 if test "X$found_dir" != "X"; then
4896 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
4897 if test "X$found_so" != "X"; then
4898 if test "$enable_rpath" = no \
4899 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
4900 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
4901 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4904 for x in $ltrpathdirs; do
4905 if test "X$x" = "X$found_dir"; then
4910 if test -z "$haveit"; then
4911 ltrpathdirs="$ltrpathdirs $found_dir"
4913 if test "$acl_hardcode_direct" = yes; then
4914 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4916 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
4917 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4919 for x in $rpathdirs; do
4920 if test "X$x" = "X$found_dir"; then
4925 if test -z "$haveit"; then
4926 rpathdirs="$rpathdirs $found_dir"
4930 for x in $LDFLAGS $LIBICONV; do
4932 acl_save_prefix="$prefix"
4933 prefix="$acl_final_prefix"
4934 acl_save_exec_prefix="$exec_prefix"
4935 exec_prefix="$acl_final_exec_prefix"
4937 exec_prefix="$acl_save_exec_prefix"
4938 prefix="$acl_save_prefix"
4940 if test "X$x" = "X-L$found_dir"; then
4945 if test -z "$haveit"; then
4946 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
4948 if test "$acl_hardcode_minus_L" != no; then
4949 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4951 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
4957 if test "X$found_a" != "X"; then
4958 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
4960 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
4963 additional_includedir=
4964 case "$found_dir" in
4965 */$acl_libdirstem | */$acl_libdirstem/)
4966 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
4967 if test "$name" = 'iconv'; then
4968 LIBICONV_PREFIX="$basedir"
4970 additional_includedir="$basedir/include"
4972 */$acl_libdirstem2 | */$acl_libdirstem2/)
4973 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
4974 if test "$name" = 'iconv'; then
4975 LIBICONV_PREFIX="$basedir"
4977 additional_includedir="$basedir/include"
4980 if test "X$additional_includedir" != "X"; then
4981 if test "X$additional_includedir" != "X/usr/include"; then
4983 if test "X$additional_includedir" = "X/usr/local/include"; then
4984 if test -n "$GCC"; then
4986 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4990 if test -z "$haveit"; then
4991 for x in $CPPFLAGS $INCICONV; do
4993 acl_save_prefix="$prefix"
4994 prefix="$acl_final_prefix"
4995 acl_save_exec_prefix="$exec_prefix"
4996 exec_prefix="$acl_final_exec_prefix"
4998 exec_prefix="$acl_save_exec_prefix"
4999 prefix="$acl_save_prefix"
5001 if test "X$x" = "X-I$additional_includedir"; then
5006 if test -z "$haveit"; then
5007 if test -d "$additional_includedir"; then
5008 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5014 if test -n "$found_la"; then
5015 save_libdir="$libdir"
5017 */* | *\\*) . "$found_la" ;;
5018 *) . "./$found_la" ;;
5020 libdir="$save_libdir"
5021 for dep in $dependency_libs; do
5024 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5025 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
5026 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
5028 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
5029 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
5030 if test -n "$GCC"; then
5032 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5036 if test -z "$haveit"; then
5038 for x in $LDFLAGS $LIBICONV; do
5040 acl_save_prefix="$prefix"
5041 prefix="$acl_final_prefix"
5042 acl_save_exec_prefix="$exec_prefix"
5043 exec_prefix="$acl_final_exec_prefix"
5045 exec_prefix="$acl_save_exec_prefix"
5046 prefix="$acl_save_prefix"
5048 if test "X$x" = "X-L$additional_libdir"; then
5053 if test -z "$haveit"; then
5054 if test -d "$additional_libdir"; then
5055 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5059 for x in $LDFLAGS $LTLIBICONV; do
5061 acl_save_prefix="$prefix"
5062 prefix="$acl_final_prefix"
5063 acl_save_exec_prefix="$exec_prefix"
5064 exec_prefix="$acl_final_exec_prefix"
5066 exec_prefix="$acl_save_exec_prefix"
5067 prefix="$acl_save_prefix"
5069 if test "X$x" = "X-L$additional_libdir"; then
5074 if test -z "$haveit"; then
5075 if test -d "$additional_libdir"; then
5076 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5083 dir=`echo "X$dep" | sed -e 's/^X-R//'`
5084 if test "$enable_rpath" != no; then
5086 for x in $rpathdirs; do
5087 if test "X$x" = "X$dir"; then
5092 if test -z "$haveit"; then
5093 rpathdirs="$rpathdirs $dir"
5096 for x in $ltrpathdirs; do
5097 if test "X$x" = "X$dir"; then
5102 if test -z "$haveit"; then
5103 ltrpathdirs="$ltrpathdirs $dir"
5108 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5111 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5114 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
5115 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5121 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5122 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5128 if test "X$rpathdirs" != "X"; then
5129 if test -n "$acl_hardcode_libdir_separator"; then
5131 for found_dir in $rpathdirs; do
5132 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
5134 acl_save_libdir="$libdir"
5136 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5137 libdir="$acl_save_libdir"
5138 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5140 for found_dir in $rpathdirs; do
5141 acl_save_libdir="$libdir"
5143 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5144 libdir="$acl_save_libdir"
5145 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5149 if test "X$ltrpathdirs" != "X"; then
5150 for found_dir in $ltrpathdirs; do
5151 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
5186 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
5187 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
5188 $as_echo_n "(cached) " >&6
5190 gt_save_LIBS="$LIBS"
5191 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5193 /* end confdefs.h. */
5194 #include <CoreFoundation/CFPreferences.h>
5198 CFPreferencesCopyAppValue(NULL, NULL)
5203 if ac_fn_c_try_link "$LINENO"; then :
5204 gt_cv_func_CFPreferencesCopyAppValue=yes
5206 gt_cv_func_CFPreferencesCopyAppValue=no
5208 rm -f core conftest.err conftest.$ac_objext \
5209 conftest$ac_exeext conftest.$ac_ext
5210 LIBS="$gt_save_LIBS"
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
5213 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
5214 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
5216 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
5220 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
5221 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
5222 $as_echo_n "(cached) " >&6
5224 gt_save_LIBS="$LIBS"
5225 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5227 /* end confdefs.h. */
5228 #include <CoreFoundation/CFLocale.h>
5232 CFLocaleCopyCurrent();
5237 if ac_fn_c_try_link "$LINENO"; then :
5238 gt_cv_func_CFLocaleCopyCurrent=yes
5240 gt_cv_func_CFLocaleCopyCurrent=no
5242 rm -f core conftest.err conftest.$ac_objext \
5243 conftest$ac_exeext conftest.$ac_ext
5244 LIBS="$gt_save_LIBS"
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
5247 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
5248 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5250 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
5254 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5255 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
5267 case " $gt_needs " in
5268 *" need-formatstring-macros "*) gt_api_version=3 ;;
5269 *" need-ngettext "*) gt_api_version=2 ;;
5270 *) gt_api_version=1 ;;
5272 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
5273 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
5275 if test "$USE_NLS" = "yes"; then
5276 gt_use_preinstalled_gnugettext=no
5279 if test $gt_api_version -ge 3; then
5280 gt_revision_test_code='
5281 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
5282 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
5284 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
5287 gt_revision_test_code=
5289 if test $gt_api_version -ge 2; then
5290 gt_expression_test_code=' + * ngettext ("", "", 0)'
5292 gt_expression_test_code=
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
5296 $as_echo_n "checking for GNU gettext in libc... " >&6; }
5297 if eval \${$gt_func_gnugettext_libc+:} false; then :
5298 $as_echo_n "(cached) " >&6
5300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5301 /* end confdefs.h. */
5302 #include <libintl.h>
5303 $gt_revision_test_code
5304 extern int _nl_msg_cat_cntr;
5305 extern int *_nl_domain_bindings;
5309 bindtextdomain ("", "");
5310 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
5315 if ac_fn_c_try_link "$LINENO"; then :
5316 eval "$gt_func_gnugettext_libc=yes"
5318 eval "$gt_func_gnugettext_libc=no"
5320 rm -f core conftest.err conftest.$ac_objext \
5321 conftest$ac_exeext conftest.$ac_ext
5323 eval ac_res=\$$gt_func_gnugettext_libc
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5325 $as_echo "$ac_res" >&6; }
5327 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
5333 am_save_CPPFLAGS="$CPPFLAGS"
5335 for element in $INCICONV; do
5337 for x in $CPPFLAGS; do
5339 acl_save_prefix="$prefix"
5340 prefix="$acl_final_prefix"
5341 acl_save_exec_prefix="$exec_prefix"
5342 exec_prefix="$acl_final_exec_prefix"
5344 exec_prefix="$acl_save_exec_prefix"
5345 prefix="$acl_save_prefix"
5347 if test "X$x" = "X$element"; then
5352 if test -z "$haveit"; then
5353 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
5359 $as_echo_n "checking for iconv... " >&6; }
5360 if ${am_cv_func_iconv+:} false; then :
5361 $as_echo_n "(cached) " >&6
5364 am_cv_func_iconv="no, consider installing GNU libiconv"
5366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5367 /* end confdefs.h. */
5373 iconv_t cd = iconv_open("","");
5374 iconv(cd,NULL,NULL,NULL,NULL);
5380 if ac_fn_c_try_link "$LINENO"; then :
5381 am_cv_func_iconv=yes
5383 rm -f core conftest.err conftest.$ac_objext \
5384 conftest$ac_exeext conftest.$ac_ext
5385 if test "$am_cv_func_iconv" != yes; then
5386 am_save_LIBS="$LIBS"
5387 LIBS="$LIBS $LIBICONV"
5388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5389 /* end confdefs.h. */
5395 iconv_t cd = iconv_open("","");
5396 iconv(cd,NULL,NULL,NULL,NULL);
5402 if ac_fn_c_try_link "$LINENO"; then :
5404 am_cv_func_iconv=yes
5406 rm -f core conftest.err conftest.$ac_objext \
5407 conftest$ac_exeext conftest.$ac_ext
5408 LIBS="$am_save_LIBS"
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
5413 $as_echo "$am_cv_func_iconv" >&6; }
5414 if test "$am_cv_func_iconv" = yes; then
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
5416 $as_echo_n "checking for working iconv... " >&6; }
5417 if ${am_cv_func_iconv_works+:} false; then :
5418 $as_echo_n "(cached) " >&6
5421 am_save_LIBS="$LIBS"
5422 if test $am_cv_lib_iconv = yes; then
5423 LIBS="$LIBS $LIBICONV"
5425 if test "$cross_compiling" = yes; then :
5427 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
5428 *) am_cv_func_iconv_works="guessing yes" ;;
5431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5432 /* end confdefs.h. */
5438 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
5441 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
5442 if (cd_utf8_to_88591 != (iconv_t)(-1))
5444 static const char input[] = "\342\202\254"; /* EURO SIGN */
5446 const char *inptr = input;
5447 size_t inbytesleft = strlen (input);
5449 size_t outbytesleft = sizeof (buf);
5450 size_t res = iconv (cd_utf8_to_88591,
5451 (char **) &inptr, &inbytesleft,
5452 &outptr, &outbytesleft);
5457 /* Test against Solaris 10 bug: Failures are not distinguishable from
5458 successful returns. */
5460 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
5461 if (cd_ascii_to_88591 != (iconv_t)(-1))
5463 static const char input[] = "\263";
5465 const char *inptr = input;
5466 size_t inbytesleft = strlen (input);
5468 size_t outbytesleft = sizeof (buf);
5469 size_t res = iconv (cd_ascii_to_88591,
5470 (char **) &inptr, &inbytesleft,
5471 &outptr, &outbytesleft);
5476 #if 0 /* This bug could be worked around by the caller. */
5477 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
5479 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
5480 if (cd_88591_to_utf8 != (iconv_t)(-1))
5482 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
5484 const char *inptr = input;
5485 size_t inbytesleft = strlen (input);
5487 size_t outbytesleft = sizeof (buf);
5488 size_t res = iconv (cd_88591_to_utf8,
5489 (char **) &inptr, &inbytesleft,
5490 &outptr, &outbytesleft);
5496 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
5498 if (/* Try standardized names. */
5499 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
5500 /* Try IRIX, OSF/1 names. */
5501 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
5502 /* Try AIX names. */
5503 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
5504 /* Try HP-UX names. */
5505 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
5510 if ac_fn_c_try_run "$LINENO"; then :
5511 am_cv_func_iconv_works=yes
5513 am_cv_func_iconv_works=no
5515 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5516 conftest.$ac_objext conftest.beam conftest.$ac_ext
5519 LIBS="$am_save_LIBS"
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
5523 $as_echo "$am_cv_func_iconv_works" >&6; }
5524 case "$am_cv_func_iconv_works" in
5525 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
5526 *) am_func_iconv=yes ;;
5529 am_func_iconv=no am_cv_lib_iconv=no
5531 if test "$am_func_iconv" = yes; then
5533 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
5536 if test "$am_cv_lib_iconv" = yes; then
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
5538 $as_echo_n "checking how to link with libiconv... " >&6; }
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
5540 $as_echo "$LIBICONV" >&6; }
5542 CPPFLAGS="$am_save_CPPFLAGS"
5559 acl_save_prefix="$prefix"
5560 prefix="$acl_final_prefix"
5561 acl_save_exec_prefix="$exec_prefix"
5562 exec_prefix="$acl_final_exec_prefix"
5564 eval additional_includedir=\"$includedir\"
5565 eval additional_libdir=\"$libdir\"
5567 exec_prefix="$acl_save_exec_prefix"
5568 prefix="$acl_save_prefix"
5571 # Check whether --with-libintl-prefix was given.
5572 if test "${with_libintl_prefix+set}" = set; then :
5573 withval=$with_libintl_prefix;
5574 if test "X$withval" = "Xno"; then
5577 if test "X$withval" = "X"; then
5579 acl_save_prefix="$prefix"
5580 prefix="$acl_final_prefix"
5581 acl_save_exec_prefix="$exec_prefix"
5582 exec_prefix="$acl_final_exec_prefix"
5584 eval additional_includedir=\"$includedir\"
5585 eval additional_libdir=\"$libdir\"
5587 exec_prefix="$acl_save_exec_prefix"
5588 prefix="$acl_save_prefix"
5591 additional_includedir="$withval/include"
5592 additional_libdir="$withval/$acl_libdirstem"
5593 if test "$acl_libdirstem2" != "$acl_libdirstem" \
5594 && ! test -d "$withval/$acl_libdirstem"; then
5595 additional_libdir="$withval/$acl_libdirstem2"
5609 names_already_handled=
5610 names_next_round='intl '
5611 while test -n "$names_next_round"; do
5612 names_this_round="$names_next_round"
5614 for name in $names_this_round; do
5616 for n in $names_already_handled; do
5617 if test "$n" = "$name"; then
5622 if test -z "$already_handled"; then
5623 names_already_handled="$names_already_handled $name"
5624 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5625 eval value=\"\$HAVE_LIB$uppername\"
5626 if test -n "$value"; then
5627 if test "$value" = yes; then
5628 eval value=\"\$LIB$uppername\"
5629 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
5630 eval value=\"\$LTLIB$uppername\"
5631 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
5640 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
5641 if test -n "$acl_shlibext"; then
5642 shrext=".$acl_shlibext" # typically: shrext=.so
5646 if test $use_additional = yes; then
5647 dir="$additional_libdir"
5648 if test -n "$acl_shlibext"; then
5649 if test -f "$dir/$libname$shrext"; then
5651 found_so="$dir/$libname$shrext"
5653 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5654 ver=`(cd "$dir" && \
5655 for f in "$libname$shrext".*; do echo "$f"; done \
5656 | sed -e "s,^$libname$shrext\\\\.,," \
5657 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5658 | sed 1q ) 2>/dev/null`
5659 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5661 found_so="$dir/$libname$shrext.$ver"
5664 eval library_names=\"$acl_library_names_spec\"
5665 for f in $library_names; do
5666 if test -f "$dir/$f"; then
5675 if test "X$found_dir" = "X"; then
5676 if test -f "$dir/$libname.$acl_libext"; then
5678 found_a="$dir/$libname.$acl_libext"
5681 if test "X$found_dir" != "X"; then
5682 if test -f "$dir/$libname.la"; then
5683 found_la="$dir/$libname.la"
5687 if test "X$found_dir" = "X"; then
5688 for x in $LDFLAGS $LTLIBINTL; do
5690 acl_save_prefix="$prefix"
5691 prefix="$acl_final_prefix"
5692 acl_save_exec_prefix="$exec_prefix"
5693 exec_prefix="$acl_final_exec_prefix"
5695 exec_prefix="$acl_save_exec_prefix"
5696 prefix="$acl_save_prefix"
5700 dir=`echo "X$x" | sed -e 's/^X-L//'`
5701 if test -n "$acl_shlibext"; then
5702 if test -f "$dir/$libname$shrext"; then
5704 found_so="$dir/$libname$shrext"
5706 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5707 ver=`(cd "$dir" && \
5708 for f in "$libname$shrext".*; do echo "$f"; done \
5709 | sed -e "s,^$libname$shrext\\\\.,," \
5710 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5711 | sed 1q ) 2>/dev/null`
5712 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5714 found_so="$dir/$libname$shrext.$ver"
5717 eval library_names=\"$acl_library_names_spec\"
5718 for f in $library_names; do
5719 if test -f "$dir/$f"; then
5728 if test "X$found_dir" = "X"; then
5729 if test -f "$dir/$libname.$acl_libext"; then
5731 found_a="$dir/$libname.$acl_libext"
5734 if test "X$found_dir" != "X"; then
5735 if test -f "$dir/$libname.la"; then
5736 found_la="$dir/$libname.la"
5741 if test "X$found_dir" != "X"; then
5746 if test "X$found_dir" != "X"; then
5747 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
5748 if test "X$found_so" != "X"; then
5749 if test "$enable_rpath" = no \
5750 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
5751 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
5752 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5755 for x in $ltrpathdirs; do
5756 if test "X$x" = "X$found_dir"; then
5761 if test -z "$haveit"; then
5762 ltrpathdirs="$ltrpathdirs $found_dir"
5764 if test "$acl_hardcode_direct" = yes; then
5765 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5767 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
5768 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5770 for x in $rpathdirs; do
5771 if test "X$x" = "X$found_dir"; then
5776 if test -z "$haveit"; then
5777 rpathdirs="$rpathdirs $found_dir"
5781 for x in $LDFLAGS $LIBINTL; do
5783 acl_save_prefix="$prefix"
5784 prefix="$acl_final_prefix"
5785 acl_save_exec_prefix="$exec_prefix"
5786 exec_prefix="$acl_final_exec_prefix"
5788 exec_prefix="$acl_save_exec_prefix"
5789 prefix="$acl_save_prefix"
5791 if test "X$x" = "X-L$found_dir"; then
5796 if test -z "$haveit"; then
5797 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
5799 if test "$acl_hardcode_minus_L" != no; then
5800 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5802 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
5808 if test "X$found_a" != "X"; then
5809 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
5811 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
5814 additional_includedir=
5815 case "$found_dir" in
5816 */$acl_libdirstem | */$acl_libdirstem/)
5817 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5818 if test "$name" = 'intl'; then
5819 LIBINTL_PREFIX="$basedir"
5821 additional_includedir="$basedir/include"
5823 */$acl_libdirstem2 | */$acl_libdirstem2/)
5824 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
5825 if test "$name" = 'intl'; then
5826 LIBINTL_PREFIX="$basedir"
5828 additional_includedir="$basedir/include"
5831 if test "X$additional_includedir" != "X"; then
5832 if test "X$additional_includedir" != "X/usr/include"; then
5834 if test "X$additional_includedir" = "X/usr/local/include"; then
5835 if test -n "$GCC"; then
5837 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5841 if test -z "$haveit"; then
5842 for x in $CPPFLAGS $INCINTL; do
5844 acl_save_prefix="$prefix"
5845 prefix="$acl_final_prefix"
5846 acl_save_exec_prefix="$exec_prefix"
5847 exec_prefix="$acl_final_exec_prefix"
5849 exec_prefix="$acl_save_exec_prefix"
5850 prefix="$acl_save_prefix"
5852 if test "X$x" = "X-I$additional_includedir"; then
5857 if test -z "$haveit"; then
5858 if test -d "$additional_includedir"; then
5859 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
5865 if test -n "$found_la"; then
5866 save_libdir="$libdir"
5868 */* | *\\*) . "$found_la" ;;
5869 *) . "./$found_la" ;;
5871 libdir="$save_libdir"
5872 for dep in $dependency_libs; do
5875 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5876 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
5877 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
5879 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
5880 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
5881 if test -n "$GCC"; then
5883 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5887 if test -z "$haveit"; then
5889 for x in $LDFLAGS $LIBINTL; do
5891 acl_save_prefix="$prefix"
5892 prefix="$acl_final_prefix"
5893 acl_save_exec_prefix="$exec_prefix"
5894 exec_prefix="$acl_final_exec_prefix"
5896 exec_prefix="$acl_save_exec_prefix"
5897 prefix="$acl_save_prefix"
5899 if test "X$x" = "X-L$additional_libdir"; then
5904 if test -z "$haveit"; then
5905 if test -d "$additional_libdir"; then
5906 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
5910 for x in $LDFLAGS $LTLIBINTL; do
5912 acl_save_prefix="$prefix"
5913 prefix="$acl_final_prefix"
5914 acl_save_exec_prefix="$exec_prefix"
5915 exec_prefix="$acl_final_exec_prefix"
5917 exec_prefix="$acl_save_exec_prefix"
5918 prefix="$acl_save_prefix"
5920 if test "X$x" = "X-L$additional_libdir"; then
5925 if test -z "$haveit"; then
5926 if test -d "$additional_libdir"; then
5927 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
5934 dir=`echo "X$dep" | sed -e 's/^X-R//'`
5935 if test "$enable_rpath" != no; then
5937 for x in $rpathdirs; do
5938 if test "X$x" = "X$dir"; then
5943 if test -z "$haveit"; then
5944 rpathdirs="$rpathdirs $dir"
5947 for x in $ltrpathdirs; do
5948 if test "X$x" = "X$dir"; then
5953 if test -z "$haveit"; then
5954 ltrpathdirs="$ltrpathdirs $dir"
5959 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5962 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5965 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
5966 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
5972 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
5973 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
5979 if test "X$rpathdirs" != "X"; then
5980 if test -n "$acl_hardcode_libdir_separator"; then
5982 for found_dir in $rpathdirs; do
5983 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
5985 acl_save_libdir="$libdir"
5987 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5988 libdir="$acl_save_libdir"
5989 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
5991 for found_dir in $rpathdirs; do
5992 acl_save_libdir="$libdir"
5994 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5995 libdir="$acl_save_libdir"
5996 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6000 if test "X$ltrpathdirs" != "X"; then
6001 for found_dir in $ltrpathdirs; do
6002 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6012 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
6013 if eval \${$gt_func_gnugettext_libintl+:} false; then :
6014 $as_echo_n "(cached) " >&6
6016 gt_save_CPPFLAGS="$CPPFLAGS"
6017 CPPFLAGS="$CPPFLAGS $INCINTL"
6018 gt_save_LIBS="$LIBS"
6019 LIBS="$LIBS $LIBINTL"
6020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6021 /* end confdefs.h. */
6022 #include <libintl.h>
6023 $gt_revision_test_code
6024 extern int _nl_msg_cat_cntr;
6029 const char *_nl_expand_alias (const char *);
6033 bindtextdomain ("", "");
6034 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6039 if ac_fn_c_try_link "$LINENO"; then :
6040 eval "$gt_func_gnugettext_libintl=yes"
6042 eval "$gt_func_gnugettext_libintl=no"
6044 rm -f core conftest.err conftest.$ac_objext \
6045 conftest$ac_exeext conftest.$ac_ext
6046 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
6047 LIBS="$LIBS $LIBICONV"
6048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6049 /* end confdefs.h. */
6050 #include <libintl.h>
6051 $gt_revision_test_code
6052 extern int _nl_msg_cat_cntr;
6057 const char *_nl_expand_alias (const char *);
6061 bindtextdomain ("", "");
6062 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6067 if ac_fn_c_try_link "$LINENO"; then :
6068 LIBINTL="$LIBINTL $LIBICONV"
6069 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
6070 eval "$gt_func_gnugettext_libintl=yes"
6073 rm -f core conftest.err conftest.$ac_objext \
6074 conftest$ac_exeext conftest.$ac_ext
6076 CPPFLAGS="$gt_save_CPPFLAGS"
6077 LIBS="$gt_save_LIBS"
6079 eval ac_res=\$$gt_func_gnugettext_libintl
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6081 $as_echo "$ac_res" >&6; }
6084 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
6085 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
6086 && test "$PACKAGE" != gettext-runtime \
6087 && test "$PACKAGE" != gettext-tools; }; then
6088 gt_use_preinstalled_gnugettext=yes
6097 if test -n "$INTL_MACOSX_LIBS"; then
6098 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6099 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6100 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
6101 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
6105 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6106 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6108 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6116 $as_echo_n "checking whether to use NLS... " >&6; }
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6118 $as_echo "$USE_NLS" >&6; }
6119 if test "$USE_NLS" = "yes"; then
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6121 $as_echo_n "checking where the gettext function comes from... " >&6; }
6122 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6123 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6124 gt_source="external libintl"
6129 gt_source="included intl directory"
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6132 $as_echo "$gt_source" >&6; }
6135 if test "$USE_NLS" = "yes"; then
6137 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6138 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6140 $as_echo_n "checking how to link with libintl... " >&6; }
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6142 $as_echo "$LIBINTL" >&6; }
6144 for element in $INCINTL; do
6146 for x in $CPPFLAGS; do
6148 acl_save_prefix="$prefix"
6149 prefix="$acl_final_prefix"
6150 acl_save_exec_prefix="$exec_prefix"
6151 exec_prefix="$acl_final_exec_prefix"
6153 exec_prefix="$acl_save_exec_prefix"
6154 prefix="$acl_save_prefix"
6156 if test "X$x" = "X$element"; then
6161 if test -z "$haveit"; then
6162 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6169 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6172 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
6189 ############### common
6198 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6199 if test -n "$ac_tool_prefix"; then
6200 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6201 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6203 $as_echo_n "checking for $ac_word... " >&6; }
6204 if ${ac_cv_path_PKG_CONFIG+:} false; then :
6205 $as_echo_n "(cached) " >&6
6209 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6216 test -z "$as_dir" && as_dir=.
6217 for ac_exec_ext in '' $ac_executable_extensions; do
6218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6219 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6230 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6231 if test -n "$PKG_CONFIG"; then
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6233 $as_echo "$PKG_CONFIG" >&6; }
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6236 $as_echo "no" >&6; }
6241 if test -z "$ac_cv_path_PKG_CONFIG"; then
6242 ac_pt_PKG_CONFIG=$PKG_CONFIG
6243 # Extract the first word of "pkg-config", so it can be a program name with args.
6244 set dummy pkg-config; ac_word=$2
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6246 $as_echo_n "checking for $ac_word... " >&6; }
6247 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
6248 $as_echo_n "(cached) " >&6
6250 case $ac_pt_PKG_CONFIG in
6252 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6259 test -z "$as_dir" && as_dir=.
6260 for ac_exec_ext in '' $ac_executable_extensions; do
6261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6262 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6273 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6274 if test -n "$ac_pt_PKG_CONFIG"; then
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6276 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6279 $as_echo "no" >&6; }
6282 if test "x$ac_pt_PKG_CONFIG" = x; then
6285 case $cross_compiling:$ac_tool_warned in
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6289 ac_tool_warned=yes ;;
6291 PKG_CONFIG=$ac_pt_PKG_CONFIG
6294 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6298 if test -n "$PKG_CONFIG"; then
6299 _pkg_min_version=0.9.0
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
6301 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6302 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6304 $as_echo "yes" >&6; }
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6307 $as_echo "no" >&6; }
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
6314 $as_echo_n "checking for X11... " >&6; }
6316 if test -n "$X11_CFLAGS"; then
6317 pkg_cv_X11_CFLAGS="$X11_CFLAGS"
6318 elif test -n "$PKG_CONFIG"; then
6319 if test -n "$PKG_CONFIG" && \
6320 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
6321 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
6323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6324 test $ac_status = 0; }; then
6325 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
6326 test "x$?" != "x0" && pkg_failed=yes
6333 if test -n "$X11_LIBS"; then
6334 pkg_cv_X11_LIBS="$X11_LIBS"
6335 elif test -n "$PKG_CONFIG"; then
6336 if test -n "$PKG_CONFIG" && \
6337 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
6338 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
6340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6341 test $ac_status = 0; }; then
6342 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
6343 test "x$?" != "x0" && pkg_failed=yes
6353 if test $pkg_failed = yes; then
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6355 $as_echo "no" >&6; }
6357 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6358 _pkg_short_errors_supported=yes
6360 _pkg_short_errors_supported=no
6362 if test $_pkg_short_errors_supported = yes; then
6363 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1`
6365 X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1`
6367 # Put the nasty error message in config.log where it belongs
6368 echo "$X11_PKG_ERRORS" >&5
6370 as_fn_error $? "Package requirements (x11) were not met:
6374 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6375 installed software in a non-standard prefix.
6377 Alternatively, you may set the environment variables X11_CFLAGS
6378 and X11_LIBS to avoid the need to call pkg-config.
6379 See the pkg-config man page for more details." "$LINENO" 5
6380 elif test $pkg_failed = untried; then
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6382 $as_echo "no" >&6; }
6383 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6385 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6386 is in your PATH or set the PKG_CONFIG environment variable to the full
6389 Alternatively, you may set the environment variables X11_CFLAGS
6390 and X11_LIBS to avoid the need to call pkg-config.
6391 See the pkg-config man page for more details.
6393 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6394 See \`config.log' for more details" "$LINENO" 5; }
6396 X11_CFLAGS=$pkg_cv_X11_CFLAGS
6397 X11_LIBS=$pkg_cv_X11_LIBS
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6399 $as_echo "yes" >&6; }
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
6408 $as_echo_n "checking for XEXT... " >&6; }
6410 if test -n "$XEXT_CFLAGS"; then
6411 pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
6412 elif test -n "$PKG_CONFIG"; then
6413 if test -n "$PKG_CONFIG" && \
6414 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
6415 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
6417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6418 test $ac_status = 0; }; then
6419 pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xext" 2>/dev/null`
6420 test "x$?" != "x0" && pkg_failed=yes
6427 if test -n "$XEXT_LIBS"; then
6428 pkg_cv_XEXT_LIBS="$XEXT_LIBS"
6429 elif test -n "$PKG_CONFIG"; then
6430 if test -n "$PKG_CONFIG" && \
6431 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
6432 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
6434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6435 test $ac_status = 0; }; then
6436 pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xext" 2>/dev/null`
6437 test "x$?" != "x0" && pkg_failed=yes
6447 if test $pkg_failed = yes; then
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6449 $as_echo "no" >&6; }
6451 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6452 _pkg_short_errors_supported=yes
6454 _pkg_short_errors_supported=no
6456 if test $_pkg_short_errors_supported = yes; then
6457 XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xext" 2>&1`
6459 XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xext" 2>&1`
6461 # Put the nasty error message in config.log where it belongs
6462 echo "$XEXT_PKG_ERRORS" >&5
6464 as_fn_error $? "Package requirements (xext) were not met:
6468 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6469 installed software in a non-standard prefix.
6471 Alternatively, you may set the environment variables XEXT_CFLAGS
6472 and XEXT_LIBS to avoid the need to call pkg-config.
6473 See the pkg-config man page for more details." "$LINENO" 5
6474 elif test $pkg_failed = untried; then
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6476 $as_echo "no" >&6; }
6477 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6478 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6479 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6480 is in your PATH or set the PKG_CONFIG environment variable to the full
6483 Alternatively, you may set the environment variables XEXT_CFLAGS
6484 and XEXT_LIBS to avoid the need to call pkg-config.
6485 See the pkg-config man page for more details.
6487 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6488 See \`config.log' for more details" "$LINENO" 5; }
6490 XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
6491 XEXT_LIBS=$pkg_cv_XEXT_LIBS
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6493 $as_echo "yes" >&6; }
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
6503 $as_echo_n "checking for GTK... " >&6; }
6505 if test -n "$GTK_CFLAGS"; then
6506 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
6507 elif test -n "$PKG_CONFIG"; then
6508 if test -n "$PKG_CONFIG" && \
6509 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
6510 ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
6512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6513 test $ac_status = 0; }; then
6514 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0" 2>/dev/null`
6515 test "x$?" != "x0" && pkg_failed=yes
6522 if test -n "$GTK_LIBS"; then
6523 pkg_cv_GTK_LIBS="$GTK_LIBS"
6524 elif test -n "$PKG_CONFIG"; then
6525 if test -n "$PKG_CONFIG" && \
6526 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
6527 ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
6529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6530 test $ac_status = 0; }; then
6531 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0" 2>/dev/null`
6532 test "x$?" != "x0" && pkg_failed=yes
6542 if test $pkg_failed = yes; then
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6544 $as_echo "no" >&6; }
6546 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6547 _pkg_short_errors_supported=yes
6549 _pkg_short_errors_supported=no
6551 if test $_pkg_short_errors_supported = yes; then
6552 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0" 2>&1`
6554 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0" 2>&1`
6556 # Put the nasty error message in config.log where it belongs
6557 echo "$GTK_PKG_ERRORS" >&5
6559 as_fn_error $? "Package requirements (gtk+-3.0) were not met:
6563 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6564 installed software in a non-standard prefix.
6566 Alternatively, you may set the environment variables GTK_CFLAGS
6567 and GTK_LIBS to avoid the need to call pkg-config.
6568 See the pkg-config man page for more details." "$LINENO" 5
6569 elif test $pkg_failed = untried; then
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6571 $as_echo "no" >&6; }
6572 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6573 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6574 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6575 is in your PATH or set the PKG_CONFIG environment variable to the full
6578 Alternatively, you may set the environment variables GTK_CFLAGS
6579 and GTK_LIBS to avoid the need to call pkg-config.
6580 See the pkg-config man page for more details.
6582 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6583 See \`config.log' for more details" "$LINENO" 5; }
6585 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
6586 GTK_LIBS=$pkg_cv_GTK_LIBS
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6588 $as_echo "yes" >&6; }
6591 # ensure that only allowed headers are included
6592 GTK_CFLAGS+=" -DGTK_DISABLE_SINGLE_INCLUDES "
6593 # ensure that no gtk deprecated symbols are used
6594 GTK_CFLAGS+=" -DGDK_DISABLE_DEPRECATED "
6595 GTK_CFLAGS+=" -DGTK_DISABLE_DEPRECATED "
6596 # ensure use of accessors
6597 GTK_CFLAGS+=" -DGSEAL_ENABLE "
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
6606 $as_echo_n "checking for JSON... " >&6; }
6608 if test -n "$JSON_CFLAGS"; then
6609 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
6610 elif test -n "$PKG_CONFIG"; then
6611 if test -n "$PKG_CONFIG" && \
6612 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
6613 ($PKG_CONFIG --exists --print-errors "json") 2>&5
6615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6616 test $ac_status = 0; }; then
6617 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json" 2>/dev/null`
6618 test "x$?" != "x0" && pkg_failed=yes
6625 if test -n "$JSON_LIBS"; then
6626 pkg_cv_JSON_LIBS="$JSON_LIBS"
6627 elif test -n "$PKG_CONFIG"; then
6628 if test -n "$PKG_CONFIG" && \
6629 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
6630 ($PKG_CONFIG --exists --print-errors "json") 2>&5
6632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6633 test $ac_status = 0; }; then
6634 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json" 2>/dev/null`
6635 test "x$?" != "x0" && pkg_failed=yes
6645 if test $pkg_failed = yes; then
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6647 $as_echo "no" >&6; }
6649 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6650 _pkg_short_errors_supported=yes
6652 _pkg_short_errors_supported=no
6654 if test $_pkg_short_errors_supported = yes; then
6655 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json" 2>&1`
6657 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json" 2>&1`
6659 # Put the nasty error message in config.log where it belongs
6660 echo "$JSON_PKG_ERRORS" >&5
6662 as_fn_error $? "Package requirements (json) were not met:
6666 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6667 installed software in a non-standard prefix.
6669 Alternatively, you may set the environment variables JSON_CFLAGS
6670 and JSON_LIBS to avoid the need to call pkg-config.
6671 See the pkg-config man page for more details." "$LINENO" 5
6672 elif test $pkg_failed = untried; then
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6674 $as_echo "no" >&6; }
6675 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6676 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6677 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6678 is in your PATH or set the PKG_CONFIG environment variable to the full
6681 Alternatively, you may set the environment variables JSON_CFLAGS
6682 and JSON_LIBS to avoid the need to call pkg-config.
6683 See the pkg-config man page for more details.
6685 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6686 See \`config.log' for more details" "$LINENO" 5; }
6688 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
6689 JSON_LIBS=$pkg_cv_JSON_LIBS
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6691 $as_echo "yes" >&6; }
6700 # Check whether --enable-schemas-compile was given.
6701 if test "${enable_schemas_compile+set}" = set; then :
6702 enableval=$enable_schemas_compile; case ${enableval} in
6703 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
6704 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
6705 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
6717 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6718 if test -n "$ac_tool_prefix"; then
6719 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6720 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6722 $as_echo_n "checking for $ac_word... " >&6; }
6723 if ${ac_cv_path_PKG_CONFIG+:} false; then :
6724 $as_echo_n "(cached) " >&6
6728 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6735 test -z "$as_dir" && as_dir=.
6736 for ac_exec_ext in '' $ac_executable_extensions; do
6737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6738 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6749 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6750 if test -n "$PKG_CONFIG"; then
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6752 $as_echo "$PKG_CONFIG" >&6; }
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6755 $as_echo "no" >&6; }
6760 if test -z "$ac_cv_path_PKG_CONFIG"; then
6761 ac_pt_PKG_CONFIG=$PKG_CONFIG
6762 # Extract the first word of "pkg-config", so it can be a program name with args.
6763 set dummy pkg-config; ac_word=$2
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6765 $as_echo_n "checking for $ac_word... " >&6; }
6766 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
6767 $as_echo_n "(cached) " >&6
6769 case $ac_pt_PKG_CONFIG in
6771 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6778 test -z "$as_dir" && as_dir=.
6779 for ac_exec_ext in '' $ac_executable_extensions; do
6780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6781 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6792 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6793 if test -n "$ac_pt_PKG_CONFIG"; then
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6795 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6798 $as_echo "no" >&6; }
6801 if test "x$ac_pt_PKG_CONFIG" = x; then
6804 case $cross_compiling:$ac_tool_warned in
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6807 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6808 ac_tool_warned=yes ;;
6810 PKG_CONFIG=$ac_pt_PKG_CONFIG
6813 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6817 if test -n "$PKG_CONFIG"; then
6818 _pkg_min_version=0.16
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
6820 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6821 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6823 $as_echo "yes" >&6; }
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6826 $as_echo "no" >&6; }
6830 gsettingsschemadir=${datadir}/glib-2.0/schemas
6832 if test x$cross_compiling != xyes; then
6833 GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
6835 # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
6836 set dummy glib-compile-schemas; ac_word=$2
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6838 $as_echo_n "checking for $ac_word... " >&6; }
6839 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
6840 $as_echo_n "(cached) " >&6
6842 case $GLIB_COMPILE_SCHEMAS in
6844 ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
6847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6851 test -z "$as_dir" && as_dir=.
6852 for ac_exec_ext in '' $ac_executable_extensions; do
6853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6854 ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
6855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6865 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
6866 if test -n "$GLIB_COMPILE_SCHEMAS"; then
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
6868 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6871 $as_echo "no" >&6; }
6877 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
6878 as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
6884 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
6886 mostlyclean-am: clean-gsettings-schemas
6888 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
6890 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
6891 $(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 $@
6893 all-am: $(gsettings_SCHEMAS:.xml=.valid)
6894 uninstall-am: uninstall-gsettings-schemas
6895 install-data-am: install-gsettings-schemas
6897 .SECONDARY: $(gsettings_SCHEMAS)
6899 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
6901 if test -n "$^"; then \
6902 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
6903 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
6904 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
6907 uninstall-gsettings-schemas:
6908 @$(NORMAL_UNINSTALL)
6909 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
6910 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
6911 test -n "$$files" || exit 0; \
6912 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
6913 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
6914 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
6916 clean-gsettings-schemas:
6917 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
6919 ifdef gsettings_ENUM_NAMESPACE
6920 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
6921 $(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 $@
6931 ac_config_files="$ac_config_files Makefile icons/hicolor/scalable/Makefile po/Makefile.in src/Makefile src/glade/Makefile tests/Makefile"
6934 for ac_prog in help2man
6936 # Extract the first word of "$ac_prog", so it can be a program name with args.
6937 set dummy $ac_prog; ac_word=$2
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6939 $as_echo_n "checking for $ac_word... " >&6; }
6940 if ${ac_cv_prog_HELP2MAN+:} false; then :
6941 $as_echo_n "(cached) " >&6
6943 if test -n "$HELP2MAN"; then
6944 ac_cv_prog_HELP2MAN="$HELP2MAN" # Let the user override the test.
6946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6950 test -z "$as_dir" && as_dir=.
6951 for ac_exec_ext in '' $ac_executable_extensions; do
6952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6953 ac_cv_prog_HELP2MAN="$ac_prog"
6954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6963 HELP2MAN=$ac_cv_prog_HELP2MAN
6964 if test -n "$HELP2MAN"; then
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5
6966 $as_echo "$HELP2MAN" >&6; }
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6969 $as_echo "no" >&6; }
6973 test -n "$HELP2MAN" && break
6977 # Extract the first word of "cppcheck", so it can be a program name with args.
6978 set dummy cppcheck; ac_word=$2
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6980 $as_echo_n "checking for $ac_word... " >&6; }
6981 if ${ac_cv_prog_HAVE_CPPCHECK+:} false; then :
6982 $as_echo_n "(cached) " >&6
6984 if test -n "$HAVE_CPPCHECK"; then
6985 ac_cv_prog_HAVE_CPPCHECK="$HAVE_CPPCHECK" # Let the user override the test.
6987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6991 test -z "$as_dir" && as_dir=.
6992 for ac_exec_ext in '' $ac_executable_extensions; do
6993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6994 ac_cv_prog_HAVE_CPPCHECK="yes"
6995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7004 HAVE_CPPCHECK=$ac_cv_prog_HAVE_CPPCHECK
7005 if test -n "$HAVE_CPPCHECK"; then
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CPPCHECK" >&5
7007 $as_echo "$HAVE_CPPCHECK" >&6; }
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7010 $as_echo "no" >&6; }
7014 if test -n "$HAVE_CPPCHECK"; then
7023 cat >confcache <<\_ACEOF
7024 # This file is a shell script that caches the results of configure
7025 # tests run on this system so they can be shared between configure
7026 # scripts and configure runs, see configure's option --config-cache.
7027 # It is not useful on other systems. If it contains results you don't
7028 # want to keep, you may remove or edit it.
7030 # config.status only pays attention to the cache file if you give it
7031 # the --recheck option to rerun configure.
7033 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7034 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7039 # The following way of writing the cache mishandles newlines in values,
7040 # but we know of no workaround that is simple, portable, and efficient.
7041 # So, we kill variables containing newlines.
7042 # Ultrix sh set writes to stderr and can't be redirected directly,
7043 # and sets the high bit in the cache file unless we assign to the vars.
7045 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7046 eval ac_val=\$$ac_var
7050 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7051 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7054 _ | IFS | as_nl) ;; #(
7055 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7056 *) { eval $ac_var=; unset $ac_var;} ;;
7062 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7063 *${as_nl}ac_space=\ *)
7064 # `set' does not quote correctly, so add quotes: double-quote
7065 # substitution turns \\\\ into \\, and sed turns \\ into \.
7068 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7071 # `set' quotes correctly as required by POSIX, so do not add quotes.
7072 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7081 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7083 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7085 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7086 if test -w "$cache_file"; then
7087 if test "x$cache_file" != "x/dev/null"; then
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7089 $as_echo "$as_me: updating cache $cache_file" >&6;}
7090 if test ! -f "$cache_file" || test -h "$cache_file"; then
7091 cat confcache >"$cache_file"
7093 case $cache_file in #(
7095 mv -f confcache "$cache_file"$$ &&
7096 mv -f "$cache_file"$$ "$cache_file" ;; #(
7098 mv -f confcache "$cache_file" ;;
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7104 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7109 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7110 # Let make expand exec_prefix.
7111 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7113 DEFS=-DHAVE_CONFIG_H
7118 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7119 # 1. Remove the extension, and $U if already installed.
7120 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7121 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7122 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7123 # will be set to the directory where LIBOBJS objects are built.
7124 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7125 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7129 LTLIBOBJS=$ac_ltlibobjs
7132 if test -n "$EXEEXT"; then
7134 am__EXEEXT_FALSE='#'
7140 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7141 as_fn_error $? "conditional \"AMDEP\" was never defined.
7142 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7144 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7145 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
7146 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7148 if test -z "${CPPCHECK_TRUE}" && test -z "${CPPCHECK_FALSE}"; then
7149 as_fn_error $? "conditional \"CPPCHECK\" was never defined.
7150 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7153 : "${CONFIG_STATUS=./config.status}"
7155 ac_clean_files_save=$ac_clean_files
7156 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7158 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7160 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7162 # Generated by $as_me.
7163 # Run this file to recreate the current configuration.
7164 # Compiler output produced by configure, useful for debugging
7165 # configure, is in config.log if it exists.
7171 SHELL=\${CONFIG_SHELL-$SHELL}
7174 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7175 ## -------------------- ##
7176 ## M4sh Initialization. ##
7177 ## -------------------- ##
7179 # Be more Bourne compatible
7180 DUALCASE=1; export DUALCASE # for MKS sh
7181 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7184 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7185 # is contrary to our usage. Disable this feature.
7186 alias -g '${1+"$@"}'='"$@"'
7187 setopt NO_GLOB_SUBST
7189 case `(set -o) 2>/dev/null` in #(
7201 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7202 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7203 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7204 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7205 # Prefer a ksh shell builtin over an external printf program on Solaris,
7206 # but without wasting forks for bash or zsh.
7207 if test -z "$BASH_VERSION$ZSH_VERSION" \
7208 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7209 as_echo='print -r --'
7210 as_echo_n='print -rn --'
7211 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7212 as_echo='printf %s\n'
7213 as_echo_n='printf %s'
7215 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7216 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7217 as_echo_n='/usr/ucb/echo -n'
7219 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7220 as_echo_n_body='eval
7224 expr "X$arg" : "X\\(.*\\)$as_nl";
7225 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7227 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7229 export as_echo_n_body
7230 as_echo_n='sh -c $as_echo_n_body as_echo'
7233 as_echo='sh -c $as_echo_body as_echo'
7236 # The user is always right.
7237 if test "${PATH_SEPARATOR+set}" != set; then
7239 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7240 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7247 # We need space, tab and new line, in precisely that order. Quoting is
7248 # there to prevent editors from complaining about space-tab.
7249 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7250 # splitting by setting IFS to empty value.)
7253 # Find who we are. Look in the path if we contain no directory separator.
7256 *[\\/]* ) as_myself=$0 ;;
7257 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7261 test -z "$as_dir" && as_dir=.
7262 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7268 # We did not find ourselves, most probably we were run as `sh COMMAND'
7269 # in which case we are not to be found in the path.
7270 if test "x$as_myself" = x; then
7273 if test ! -f "$as_myself"; then
7274 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7278 # Unset variables that we do not need and which cause bugs (e.g. in
7279 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7280 # suppresses any "Segmentation fault" message there. '((' could
7281 # trigger a bug in pdksh 5.2.14.
7282 for as_var in BASH_ENV ENV MAIL MAILPATH
7283 do eval test x\${$as_var+set} = xset \
7284 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7297 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7300 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7301 # ----------------------------------------
7302 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7303 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7304 # script with STATUS, using 1 if that was 0.
7307 as_status=$1; test $as_status -eq 0 && as_status=1
7309 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7310 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7312 $as_echo "$as_me: error: $2" >&2
7313 as_fn_exit $as_status
7317 # as_fn_set_status STATUS
7318 # -----------------------
7319 # Set $? to STATUS, without forking.
7323 } # as_fn_set_status
7327 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7337 # Portably unset VAR.
7340 { eval $1=; unset $1;}
7342 as_unset=as_fn_unset
7343 # as_fn_append VAR VALUE
7344 # ----------------------
7345 # Append the text in VALUE to the end of the definition contained in VAR. Take
7346 # advantage of any shell optimizations that allow amortized linear growth over
7347 # repeated appends, instead of the typical quadratic growth present in naive
7349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7350 eval 'as_fn_append ()
7361 # as_fn_arith ARG...
7362 # ------------------
7363 # Perform arithmetic evaluation on the ARGs, and store the result in the
7364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7365 # must be portable across $(()) and expr.
7366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7367 eval 'as_fn_arith ()
7374 as_val=`expr "$@" || test $? -eq 1`
7379 if expr a : '\(a\)' >/dev/null 2>&1 &&
7380 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7386 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7387 as_basename=basename
7392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7398 as_me=`$as_basename -- "$0" ||
7399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7400 X"$0" : 'X\(//\)$' \| \
7401 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7403 sed '/^.*\/\([^/][^/]*\)\/*$/{
7417 # Avoid depending upon Character Ranges.
7418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7421 as_cr_digits='0123456789'
7422 as_cr_alnum=$as_cr_Letters$as_cr_digits
7424 ECHO_C= ECHO_N= ECHO_T=
7425 case `echo -n x` in #(((((
7427 case `echo 'xy\c'` in
7428 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7430 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7437 rm -f conf$$ conf$$.exe conf$$.file
7438 if test -d conf$$.dir; then
7439 rm -f conf$$.dir/conf$$.file
7442 mkdir conf$$.dir 2>/dev/null
7444 if (echo >conf$$.file) 2>/dev/null; then
7445 if ln -s conf$$.file conf$$ 2>/dev/null; then
7447 # ... but there are two gotchas:
7448 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7449 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7450 # In both cases, we have to default to `cp -pR'.
7451 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7453 elif ln conf$$.file conf$$ 2>/dev/null; then
7461 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7462 rmdir conf$$.dir 2>/dev/null
7467 # Create "$as_dir" as a directory, including parents if necessary.
7472 -*) as_dir=./$as_dir;;
7474 test -d "$as_dir" || eval $as_mkdir_p || {
7478 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7479 *) as_qdir=$as_dir;;
7481 as_dirs="'$as_qdir' $as_dirs"
7482 as_dir=`$as_dirname -- "$as_dir" ||
7483 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7484 X"$as_dir" : 'X\(//\)[^/]' \| \
7485 X"$as_dir" : 'X\(//\)$' \| \
7486 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7487 $as_echo X"$as_dir" |
7488 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7505 test -d "$as_dir" && break
7507 test -z "$as_dirs" || eval "mkdir $as_dirs"
7508 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7512 if mkdir -p . 2>/dev/null; then
7513 as_mkdir_p='mkdir -p "$as_dir"'
7515 test -d ./-p && rmdir ./-p
7520 # as_fn_executable_p FILE
7521 # -----------------------
7522 # Test if FILE is an executable regular file.
7523 as_fn_executable_p ()
7525 test -f "$1" && test -x "$1"
7526 } # as_fn_executable_p
7528 as_executable_p=as_fn_executable_p
7530 # Sed expression to map a string onto a valid CPP name.
7531 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7533 # Sed expression to map a string onto a valid variable name.
7534 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7538 ## ----------------------------------- ##
7539 ## Main body of $CONFIG_STATUS script. ##
7540 ## ----------------------------------- ##
7542 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7544 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7545 # Save the log message, to keep $0 and so on meaningful, and to
7546 # report actual input values of CONFIG_FILES etc. instead of their
7547 # values after options handling.
7549 This file was extended by ptask $as_me 0.0.x, which was
7550 generated by GNU Autoconf 2.69. Invocation command line was
7552 CONFIG_FILES = $CONFIG_FILES
7553 CONFIG_HEADERS = $CONFIG_HEADERS
7554 CONFIG_LINKS = $CONFIG_LINKS
7555 CONFIG_COMMANDS = $CONFIG_COMMANDS
7558 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7563 case $ac_config_files in *"
7564 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7567 case $ac_config_headers in *"
7568 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7572 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7573 # Files that config.status was made for.
7574 config_files="$ac_config_files"
7575 config_headers="$ac_config_headers"
7576 config_commands="$ac_config_commands"
7580 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7582 \`$as_me' instantiates files and other configuration actions
7583 from templates according to the current configuration. Unless the files
7584 and actions are specified as TAGs, all are instantiated by default.
7586 Usage: $0 [OPTION]... [TAG]...
7588 -h, --help print this help, then exit
7589 -V, --version print version number and configuration settings, then exit
7590 --config print configuration, then exit
7591 -q, --quiet, --silent
7592 do not print progress messages
7593 -d, --debug don't remove temporary files
7594 --recheck update $as_me by reconfiguring in the same conditions
7595 --file=FILE[:TEMPLATE]
7596 instantiate the configuration file FILE
7597 --header=FILE[:TEMPLATE]
7598 instantiate the configuration header FILE
7600 Configuration files:
7603 Configuration headers:
7606 Configuration commands:
7609 Report bugs to <jeanfi@gmail.com>.
7610 ptask home page: <http://wpitchoune.net/ptask>."
7613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7614 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7616 ptask config.status 0.0.x
7617 configured by $0, generated by GNU Autoconf 2.69,
7618 with options \\"\$ac_cs_config\\"
7620 Copyright (C) 2012 Free Software Foundation, Inc.
7621 This config.status script is free software; the Free Software Foundation
7622 gives unlimited permission to copy, distribute and modify it."
7629 test -n "\$AWK" || AWK=awk
7632 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7633 # The default lists apply if the user does not specify any file.
7639 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7640 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7644 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7656 # Handling of the options.
7657 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7659 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7660 $as_echo "$ac_cs_version"; exit ;;
7661 --config | --confi | --conf | --con | --co | --c )
7662 $as_echo "$ac_cs_config"; exit ;;
7663 --debug | --debu | --deb | --de | --d | -d )
7665 --file | --fil | --fi | --f )
7668 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7669 '') as_fn_error $? "missing file argument" ;;
7671 as_fn_append CONFIG_FILES " '$ac_optarg'"
7672 ac_need_defaults=false;;
7673 --header | --heade | --head | --hea )
7676 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7678 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7679 ac_need_defaults=false;;
7681 # Conflict between --help and --header
7682 as_fn_error $? "ambiguous option: \`$1'
7683 Try \`$0 --help' for more information.";;
7684 --help | --hel | -h )
7685 $as_echo "$ac_cs_usage"; exit ;;
7686 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7687 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7691 -*) as_fn_error $? "unrecognized option: \`$1'
7692 Try \`$0 --help' for more information." ;;
7694 *) as_fn_append ac_config_targets " $1"
7695 ac_need_defaults=false ;;
7701 ac_configure_extra_args=
7703 if $ac_cs_silent; then
7705 ac_configure_extra_args="$ac_configure_extra_args --silent"
7709 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7710 if \$ac_cs_recheck; then
7711 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7713 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7714 CONFIG_SHELL='$SHELL'
7720 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7724 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7725 ## Running $as_me. ##
7731 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7735 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7736 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
7737 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
7738 # from automake < 1.5.
7739 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7740 # Capture the value of LINGUAS because we need it to compute CATALOGS.
7741 LINGUAS="${LINGUAS-%UNSET%}"
7746 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7748 # Handling of arguments.
7749 for ac_config_target in $ac_config_targets
7751 case $ac_config_target in
7752 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7753 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7754 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
7755 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7756 "icons/hicolor/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/scalable/Makefile" ;;
7757 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
7758 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
7759 "src/glade/Makefile") CONFIG_FILES="$CONFIG_FILES src/glade/Makefile" ;;
7760 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
7762 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7767 # If the user did not use the arguments to specify the items to instantiate,
7768 # then the envvar interface is used. Set only those that are not.
7769 # We use the long form for the default assignment because of an extremely
7770 # bizarre bug on SunOS 4.1.3.
7771 if $ac_need_defaults; then
7772 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7773 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7774 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7777 # Have a temporary directory for convenience. Make it in the build tree
7778 # simply because there is no reason against having it here, and in addition,
7779 # creating and moving files from /tmp can sometimes cause problems.
7780 # Hook for its removal unless debugging.
7781 # Note that there is a small window in which the directory will not be cleaned:
7782 # after its creation but before its name has been assigned to `$tmp'.
7786 trap 'exit_status=$?
7788 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7790 trap 'as_fn_exit 1' 1 2 13 15
7792 # Create a (secure) tmp directory for tmp files.
7795 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7799 tmp=./conf$$-$RANDOM
7800 (umask 077 && mkdir "$tmp")
7801 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7804 # Set up the scripts for CONFIG_FILES section.
7805 # No need to generate them if there are no CONFIG_FILES.
7806 # This happens for instance with `./config.status config.h'.
7807 if test -n "$CONFIG_FILES"; then
7810 ac_cr=`echo X | tr X '\015'`
7811 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7812 # But we know of no other shell where ac_cr would be empty at this
7813 # point, so we can use a bashism as a fallback.
7814 if test "x$ac_cr" = x; then
7815 eval ac_cr=\$\'\\r\'
7817 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7818 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7824 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7829 echo "cat >conf$$subs.awk <<_ACEOF" &&
7830 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7833 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7834 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7836 for ac_last_try in false false false false false :; do
7837 . ./conf$$subs.sh ||
7838 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7840 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7841 if test $ac_delim_n = $ac_delim_num; then
7843 elif $ac_last_try; then
7844 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7846 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7851 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7852 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7856 s/^/S["/; s/!.*/"]=/
7866 s/\(.\{148\}\)..*/\1/
7868 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7873 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7880 s/\(.\{148\}\)..*/\1/
7882 s/["\\]/\\&/g; s/^/"/; s/$/"/
7886 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7891 ' <conf$$subs.awk | sed '
7896 ' >>$CONFIG_STATUS || ac_write_fail=1
7897 rm -f conf$$subs.awk
7898 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7900 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7901 for (key in S) S_is_set[key] = 1
7907 nfields = split(line, field, "@")
7909 len = length(field[1])
7910 for (i = 2; i < nfields; i++) {
7912 keylen = length(key)
7913 if (S_is_set[key]) {
7915 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7916 len += length(value) + length(field[++i])
7927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7928 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7929 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7932 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7933 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7936 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7937 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7938 # trailing colons and then remove the whole line if VPATH becomes empty
7939 # (actually we leave an empty line to preserve line numbers).
7940 if test "x$srcdir" = x.; then
7941 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7960 fi # test -n "$CONFIG_FILES"
7962 # Set up the scripts for CONFIG_HEADERS section.
7963 # No need to generate them if there are no CONFIG_HEADERS.
7964 # This happens for instance with `./config.status Makefile'.
7965 if test -n "$CONFIG_HEADERS"; then
7966 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
7970 # Transform confdefs.h into an awk script `defines.awk', embedded as
7971 # here-document in config.status, that substitutes the proper values into
7972 # config.h.in to produce config.h.
7974 # Create a delimiter string that does not exist in confdefs.h, to ease
7975 # handling of long lines.
7977 for ac_last_try in false false :; do
7978 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
7979 if test -z "$ac_tt"; then
7981 elif $ac_last_try; then
7982 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7984 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7988 # For the awk script, D is an array of macro values keyed by name,
7989 # likewise P contains macro parameters if any. Preserve backslash
7990 # newline sequences.
7992 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7994 s/.\{148\}/&'"$ac_delim"'/g
7997 s/^[ ]*#[ ]*define[ ][ ]*/ /
8004 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8006 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
8010 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8011 D["\1"]=" \3\\\\\\n"\\/p
8013 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8018 s/.\{148\}/&'"$ac_delim"'/g
8023 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8026 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8028 ' <confdefs.h | sed '
8029 s/'"$ac_delim"'/"\\\
8030 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8032 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8033 for (key in D) D_is_set[key] = 1
8036 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8038 split(line, arg, " ")
8039 if (arg[1] == "#") {
8043 defundef = substr(arg[1], 2)
8046 split(mac1, mac2, "(") #)
8048 prefix = substr(line, 1, index(line, defundef) - 1)
8049 if (D_is_set[macro]) {
8050 # Preserve the white space surrounding the "#".
8051 print prefix "define", macro P[macro] D[macro]
8054 # Replace #undef with comments. This is necessary, for example,
8055 # in the case of _POSIX_SOURCE, which is predefined and required
8056 # on some systems where configure will not decide to define it.
8057 if (defundef == "undef") {
8058 print "/*", prefix defundef, macro, "*/"
8066 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8067 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
8068 fi # test -n "$CONFIG_HEADERS"
8071 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8076 :[FHLC]) ac_mode=$ac_tag; continue;;
8078 case $ac_mode$ac_tag in
8080 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8081 :[FH]-) ac_tag=-:-;;
8082 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8099 -) ac_f="$ac_tmp/stdin";;
8100 *) # Look for the file first in the build tree, then in the source tree
8101 # (if the path is not absolute). The absolute path cannot be DOS-style,
8102 # because $ac_f cannot contain `:'.
8106 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8108 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8110 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8111 as_fn_append ac_file_inputs " '$ac_f'"
8114 # Let's still pretend it is `configure' which instantiates (i.e., don't
8115 # use $as_me), people would be surprised to read:
8116 # /* config.h. Generated by config.status. */
8117 configure_input='Generated from '`
8118 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8120 if test x"$ac_file" != x-; then
8121 configure_input="$ac_file. $configure_input"
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8123 $as_echo "$as_me: creating $ac_file" >&6;}
8125 # Neutralize special characters interpreted by sed in replacement strings.
8126 case $configure_input in #(
8127 *\&* | *\|* | *\\* )
8128 ac_sed_conf_input=`$as_echo "$configure_input" |
8129 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8130 *) ac_sed_conf_input=$configure_input;;
8134 *:-:* | *:-) cat >"$ac_tmp/stdin" \
8135 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8140 ac_dir=`$as_dirname -- "$ac_file" ||
8141 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8142 X"$ac_file" : 'X\(//\)[^/]' \| \
8143 X"$ac_file" : 'X\(//\)$' \| \
8144 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8145 $as_echo X"$ac_file" |
8146 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8163 as_dir="$ac_dir"; as_fn_mkdir_p
8167 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8169 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8170 # A ".." for each directory in $ac_dir_suffix.
8171 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8172 case $ac_top_builddir_sub in
8173 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8174 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8177 ac_abs_top_builddir=$ac_pwd
8178 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8179 # for backward compatibility:
8180 ac_top_builddir=$ac_top_build_prefix
8183 .) # We are building in place.
8185 ac_top_srcdir=$ac_top_builddir_sub
8186 ac_abs_top_srcdir=$ac_pwd ;;
8187 [\\/]* | ?:[\\/]* ) # Absolute name.
8188 ac_srcdir=$srcdir$ac_dir_suffix;
8189 ac_top_srcdir=$srcdir
8190 ac_abs_top_srcdir=$srcdir ;;
8192 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8193 ac_top_srcdir=$ac_top_build_prefix$srcdir
8194 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8196 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8206 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8207 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8211 [\\/$]* | ?:[\\/]* ) ;;
8212 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8217 # If the template does not know about datarootdir, expand it.
8218 # FIXME: This hack should be removed a few years after 2.60.
8219 ac_datarootdir_hack=; ac_datarootdir_seen=
8230 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8231 *datarootdir*) ac_datarootdir_seen=yes;;
8232 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8234 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8236 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8237 ac_datarootdir_hack='
8238 s&@datadir@&$datadir&g
8239 s&@docdir@&$docdir&g
8240 s&@infodir@&$infodir&g
8241 s&@localedir@&$localedir&g
8242 s&@mandir@&$mandir&g
8243 s&\\\${datarootdir}&$datarootdir&g' ;;
8247 # Neutralize VPATH when `$srcdir' = `.'.
8248 # Shell code in configure.ac might set extrasub.
8249 # FIXME: do we really want to maintain this feature?
8250 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8251 ac_sed_extra="$ac_vpsub
8254 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8256 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8257 s|@configure_input@|$ac_sed_conf_input|;t t
8258 s&@top_builddir@&$ac_top_builddir_sub&;t t
8259 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8260 s&@srcdir@&$ac_srcdir&;t t
8261 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8262 s&@top_srcdir@&$ac_top_srcdir&;t t
8263 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8264 s&@builddir@&$ac_builddir&;t t
8265 s&@abs_builddir@&$ac_abs_builddir&;t t
8266 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8267 s&@INSTALL@&$ac_INSTALL&;t t
8268 s&@MKDIR_P@&$ac_MKDIR_P&;t t
8269 $ac_datarootdir_hack
8271 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8272 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8274 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8275 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8276 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8277 "$ac_tmp/out"`; test -z "$ac_out"; } &&
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8279 which seems to be undefined. Please make sure it is defined" >&5
8280 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8281 which seems to be undefined. Please make sure it is defined" >&2;}
8283 rm -f "$ac_tmp/stdin"
8285 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8286 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8288 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8294 if test x"$ac_file" != x-; then
8296 $as_echo "/* $configure_input */" \
8297 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8298 } >"$ac_tmp/config.h" \
8299 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8300 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8302 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8305 mv "$ac_tmp/config.h" "$ac_file" \
8306 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8309 $as_echo "/* $configure_input */" \
8310 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8311 || as_fn_error $? "could not create -" "$LINENO" 5
8313 # Compute "$ac_file"'s index in $config_headers.
8316 for _am_header in $config_headers :; do
8318 $_am_arg | $_am_arg:* )
8321 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8324 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8325 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8326 X"$_am_arg" : 'X\(//\)[^/]' \| \
8327 X"$_am_arg" : 'X\(//\)$' \| \
8328 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8329 $as_echo X"$_am_arg" |
8330 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8346 s/.*/./; q'`/stamp-h$_am_stamp_count
8349 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8350 $as_echo "$as_me: executing $ac_file commands" >&6;}
8355 case $ac_file$ac_mode in
8356 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8357 # Autoconf 2.62 quotes --file arguments for eval, but not when files
8358 # are listed without --file. Let's play safe and only enable the eval
8359 # if we detect the quoting.
8360 case $CONFIG_FILES in
8361 *\'*) eval set x "$CONFIG_FILES" ;;
8362 *) set x $CONFIG_FILES ;;
8367 # Strip MF so we end up with the name of the file.
8368 mf=`echo "$mf" | sed -e 's/:.*$//'`
8369 # Check whether this is an Automake generated Makefile or not.
8370 # We used to match only the files named `Makefile.in', but
8371 # some people rename them; so instead we look at the file content.
8372 # Grep'ing the first line is not enough: some people post-process
8373 # each Makefile.in and add a new line on top of each file to say so.
8374 # Grep'ing the whole file is not good either: AIX grep has a line
8375 # limit of 2048, but all sed's we know have understand at least 4000.
8376 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8377 dirpart=`$as_dirname -- "$mf" ||
8378 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8379 X"$mf" : 'X\(//\)[^/]' \| \
8380 X"$mf" : 'X\(//\)$' \| \
8381 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8383 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8403 # Extract the definition of DEPDIR, am__include, and am__quote
8404 # from the Makefile without running `make'.
8405 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8406 test -z "$DEPDIR" && continue
8407 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8408 test -z "am__include" && continue
8409 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8410 # When using ansi2knr, U may be empty or an underscore; expand it
8411 U=`sed -n 's/^U = //p' < "$mf"`
8412 # Find all dependency output files, they are included files with
8413 # $(DEPDIR) in their names. We invoke sed twice because it is the
8414 # simplest approach to changing $(DEPDIR) to its actual value in the
8416 for file in `sed -n "
8417 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8418 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8419 # Make sure the directory exists.
8420 test -f "$dirpart/$file" && continue
8421 fdir=`$as_dirname -- "$file" ||
8422 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8423 X"$file" : 'X\(//\)[^/]' \| \
8424 X"$file" : 'X\(//\)$' \| \
8425 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8427 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8444 as_dir=$dirpart/$fdir; as_fn_mkdir_p
8445 # echo "creating $dirpart/$file"
8446 echo '# dummy' > "$dirpart/$file"
8452 for ac_file in $CONFIG_FILES; do
8453 # Support "outfile[:infile[:infile...]]"
8455 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
8457 # PO directories have a Makefile.in generated from Makefile.in.in.
8458 case "$ac_file" in */Makefile.in)
8459 # Adjust a relative srcdir.
8460 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
8461 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
8462 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
8463 # In autoconf-2.13 it is called $ac_given_srcdir.
8464 # In autoconf-2.50 it is called $srcdir.
8465 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
8466 case "$ac_given_srcdir" in
8467 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
8468 /*) top_srcdir="$ac_given_srcdir" ;;
8469 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
8471 # Treat a directory as a PO directory if and only if it has a
8472 # POTFILES.in file. This allows packages to have multiple PO
8473 # directories under different names or in different locations.
8474 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8475 rm -f "$ac_dir/POTFILES"
8476 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
8477 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
8478 POMAKEFILEDEPS="POTFILES.in"
8479 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
8480 # on $ac_dir but don't depend on user-specified configuration
8482 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8483 # The LINGUAS file contains the set of available languages.
8484 if test -n "$OBSOLETE_ALL_LINGUAS"; then
8485 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
8487 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8488 # Hide the ALL_LINGUAS assigment from automake < 1.5.
8489 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8490 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
8492 # The set of available languages was given in configure.in.
8493 # Hide the ALL_LINGUAS assigment from automake < 1.5.
8494 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8497 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
8498 # Compute UPDATEPOFILES
8499 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
8500 # Compute DUMMYPOFILES
8501 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
8503 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
8504 case "$ac_given_srcdir" in
8506 *) srcdirpre='$(srcdir)/' ;;
8512 for lang in $ALL_LINGUAS; do
8513 POFILES="$POFILES $srcdirpre$lang.po"
8514 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
8515 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
8516 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
8518 # CATALOGS depends on both $ac_dir and the user's LINGUAS
8519 # environment variable.
8521 if test -n "$ALL_LINGUAS"; then
8522 for presentlang in $ALL_LINGUAS; do
8524 if test "%UNSET%" != "$LINGUAS"; then
8525 desiredlanguages="$LINGUAS"
8527 desiredlanguages="$ALL_LINGUAS"
8529 for desiredlang in $desiredlanguages; do
8530 # Use the presentlang catalog if desiredlang is
8531 # a. equal to presentlang, or
8532 # b. a variant of presentlang (because in this case,
8533 # presentlang can be used as a fallback for messages
8534 # which are not translated in the desiredlang catalog).
8535 case "$desiredlang" in
8536 "$presentlang"*) useit=yes;;
8539 if test $useit = yes; then
8540 INST_LINGUAS="$INST_LINGUAS $presentlang"
8545 if test -n "$INST_LINGUAS"; then
8546 for lang in $INST_LINGUAS; do
8547 CATALOGS="$CATALOGS $lang.gmo"
8550 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
8551 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"
8552 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
8553 if test -f "$f"; then
8555 *.orig | *.bak | *~) ;;
8556 *) cat "$f" >> "$ac_dir/Makefile" ;;
8571 ac_clean_files=$ac_clean_files_save
8573 test $ac_write_fail = 0 ||
8574 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8577 # configure is writing to config.log, and then calls config.status.
8578 # config.status does its own redirection, appending to config.log.
8579 # Unfortunately, on DOS this fails, as config.log is still kept open
8580 # by configure, so config.status won't be able to write to it; its
8581 # output is simply discarded. So we exec the FD to /dev/null,
8582 # effectively closing config.log, so it can be properly (re)opened and
8583 # appended to by config.status. When coming back to configure, we
8584 # need to make the FD available again.
8585 if test "$no_create" != yes; then
8587 ac_config_status_args=
8588 test "$silent" = yes &&
8589 ac_config_status_args="$ac_config_status_args --quiet"
8591 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8593 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8594 # would make configure fail if this is the last instruction.
8595 $ac_cs_success || as_fn_exit 1
8597 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8599 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}