2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for prss 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='prss'
583 PACKAGE_VERSION='0.0.x'
584 PACKAGE_STRING='prss 0.0.x'
585 PACKAGE_BUGREPORT='jeanfi@gmail.com'
586 PACKAGE_URL='http://wpitchoune.net/prss'
588 ac_unique_file="src/main.c"
590 ac_subst_vars='am__EXEEXT_FALSE
604 GSETTINGS_DISABLE_SCHEMAS_COMPILE
635 XGETTEXT_EXTRA_OPTIONS
643 GETTEXT_MACRO_VERSION
677 INSTALL_STRIP_PROGRAM
719 program_transform_name
732 enable_option_checking
734 enable_dependency_tracking
741 enable_schemas_compile
743 ac_precious_vars='build_alias
770 # Initialize some variables set by options.
772 ac_init_version=false
773 ac_unrecognized_opts=
775 # The variables have the same names as the options, with
776 # dashes changed to underlines.
784 program_transform_name=s,x,x,
792 # Installation directory options.
793 # These are left unexpanded so users can "make install exec_prefix=/foo"
794 # and all the variables that are supposed to be based on exec_prefix
795 # by default will actually change.
796 # Use braces instead of parens because sh, perl, etc. also accept them.
797 # (The list follows the same order as the GNU Coding Standards.)
798 bindir='${exec_prefix}/bin'
799 sbindir='${exec_prefix}/sbin'
800 libexecdir='${exec_prefix}/libexec'
801 datarootdir='${prefix}/share'
802 datadir='${datarootdir}'
803 sysconfdir='${prefix}/etc'
804 sharedstatedir='${prefix}/com'
805 localstatedir='${prefix}/var'
806 includedir='${prefix}/include'
807 oldincludedir='/usr/include'
808 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
809 infodir='${datarootdir}/info'
814 libdir='${exec_prefix}/lib'
815 localedir='${datarootdir}/locale'
816 mandir='${datarootdir}/man'
822 # If the previous option needs an argument, assign it.
823 if test -n "$ac_prev"; then
824 eval $ac_prev=\$ac_option
830 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
835 # Accept the important Cygnus configure options, so we can diagnose typos.
837 case $ac_dashdash$ac_option in
841 -bindir | --bindir | --bindi | --bind | --bin | --bi)
843 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
846 -build | --build | --buil | --bui | --bu)
847 ac_prev=build_alias ;;
848 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
849 build_alias=$ac_optarg ;;
851 -cache-file | --cache-file | --cache-fil | --cache-fi \
852 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
853 ac_prev=cache_file ;;
854 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
855 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
856 cache_file=$ac_optarg ;;
859 cache_file=config.cache ;;
861 -datadir | --datadir | --datadi | --datad)
863 -datadir=* | --datadir=* | --datadi=* | --datad=*)
864 datadir=$ac_optarg ;;
866 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
867 | --dataroo | --dataro | --datar)
868 ac_prev=datarootdir ;;
869 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
870 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
871 datarootdir=$ac_optarg ;;
873 -disable-* | --disable-*)
874 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
875 # Reject names that are not valid shell variable names.
876 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
877 as_fn_error $? "invalid feature name: $ac_useropt"
878 ac_useropt_orig=$ac_useropt
879 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
880 case $ac_user_opts in
884 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
885 ac_unrecognized_sep=', ';;
887 eval enable_$ac_useropt=no ;;
889 -docdir | --docdir | --docdi | --doc | --do)
891 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
894 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
896 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
899 -enable-* | --enable-*)
900 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
901 # Reject names that are not valid shell variable names.
902 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
903 as_fn_error $? "invalid feature name: $ac_useropt"
904 ac_useropt_orig=$ac_useropt
905 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
906 case $ac_user_opts in
910 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
911 ac_unrecognized_sep=', ';;
913 eval enable_$ac_useropt=\$ac_optarg ;;
915 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
916 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
917 | --exec | --exe | --ex)
918 ac_prev=exec_prefix ;;
919 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
920 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
921 | --exec=* | --exe=* | --ex=*)
922 exec_prefix=$ac_optarg ;;
924 -gas | --gas | --ga | --g)
925 # Obsolete; use --with-gas.
928 -help | --help | --hel | --he | -h)
930 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
931 ac_init_help=recursive ;;
932 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
933 ac_init_help=short ;;
935 -host | --host | --hos | --ho)
936 ac_prev=host_alias ;;
937 -host=* | --host=* | --hos=* | --ho=*)
938 host_alias=$ac_optarg ;;
940 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
942 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
944 htmldir=$ac_optarg ;;
946 -includedir | --includedir | --includedi | --included | --include \
947 | --includ | --inclu | --incl | --inc)
948 ac_prev=includedir ;;
949 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
950 | --includ=* | --inclu=* | --incl=* | --inc=*)
951 includedir=$ac_optarg ;;
953 -infodir | --infodir | --infodi | --infod | --info | --inf)
955 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
956 infodir=$ac_optarg ;;
958 -libdir | --libdir | --libdi | --libd)
960 -libdir=* | --libdir=* | --libdi=* | --libd=*)
963 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
964 | --libexe | --libex | --libe)
965 ac_prev=libexecdir ;;
966 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
967 | --libexe=* | --libex=* | --libe=*)
968 libexecdir=$ac_optarg ;;
970 -localedir | --localedir | --localedi | --localed | --locale)
972 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
973 localedir=$ac_optarg ;;
975 -localstatedir | --localstatedir | --localstatedi | --localstated \
976 | --localstate | --localstat | --localsta | --localst | --locals)
977 ac_prev=localstatedir ;;
978 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
979 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
980 localstatedir=$ac_optarg ;;
982 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
984 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
988 # Obsolete; use --without-fp.
991 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
992 | --no-cr | --no-c | -n)
995 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
996 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
999 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1000 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1001 | --oldin | --oldi | --old | --ol | --o)
1002 ac_prev=oldincludedir ;;
1003 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1004 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1005 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1006 oldincludedir=$ac_optarg ;;
1008 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1010 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1011 prefix=$ac_optarg ;;
1013 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1014 | --program-pre | --program-pr | --program-p)
1015 ac_prev=program_prefix ;;
1016 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1017 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1018 program_prefix=$ac_optarg ;;
1020 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1021 | --program-suf | --program-su | --program-s)
1022 ac_prev=program_suffix ;;
1023 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1024 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1025 program_suffix=$ac_optarg ;;
1027 -program-transform-name | --program-transform-name \
1028 | --program-transform-nam | --program-transform-na \
1029 | --program-transform-n | --program-transform- \
1030 | --program-transform | --program-transfor \
1031 | --program-transfo | --program-transf \
1032 | --program-trans | --program-tran \
1033 | --progr-tra | --program-tr | --program-t)
1034 ac_prev=program_transform_name ;;
1035 -program-transform-name=* | --program-transform-name=* \
1036 | --program-transform-nam=* | --program-transform-na=* \
1037 | --program-transform-n=* | --program-transform-=* \
1038 | --program-transform=* | --program-transfor=* \
1039 | --program-transfo=* | --program-transf=* \
1040 | --program-trans=* | --program-tran=* \
1041 | --progr-tra=* | --program-tr=* | --program-t=*)
1042 program_transform_name=$ac_optarg ;;
1044 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1046 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1047 pdfdir=$ac_optarg ;;
1049 -psdir | --psdir | --psdi | --psd | --ps)
1051 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1054 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1055 | -silent | --silent | --silen | --sile | --sil)
1058 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1060 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1062 sbindir=$ac_optarg ;;
1064 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1065 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1066 | --sharedst | --shareds | --shared | --share | --shar \
1068 ac_prev=sharedstatedir ;;
1069 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1070 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1071 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1073 sharedstatedir=$ac_optarg ;;
1075 -site | --site | --sit)
1077 -site=* | --site=* | --sit=*)
1080 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1082 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1083 srcdir=$ac_optarg ;;
1085 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1086 | --syscon | --sysco | --sysc | --sys | --sy)
1087 ac_prev=sysconfdir ;;
1088 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1089 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1090 sysconfdir=$ac_optarg ;;
1092 -target | --target | --targe | --targ | --tar | --ta | --t)
1093 ac_prev=target_alias ;;
1094 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1095 target_alias=$ac_optarg ;;
1097 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1100 -version | --version | --versio | --versi | --vers | -V)
1101 ac_init_version=: ;;
1104 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1105 # Reject names that are not valid shell variable names.
1106 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1107 as_fn_error $? "invalid package name: $ac_useropt"
1108 ac_useropt_orig=$ac_useropt
1109 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1110 case $ac_user_opts in
1114 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1115 ac_unrecognized_sep=', ';;
1117 eval with_$ac_useropt=\$ac_optarg ;;
1119 -without-* | --without-*)
1120 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1121 # Reject names that are not valid shell variable names.
1122 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1123 as_fn_error $? "invalid package name: $ac_useropt"
1124 ac_useropt_orig=$ac_useropt
1125 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1126 case $ac_user_opts in
1130 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1131 ac_unrecognized_sep=', ';;
1133 eval with_$ac_useropt=no ;;
1136 # Obsolete; use --with-x.
1139 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1140 | --x-incl | --x-inc | --x-in | --x-i)
1141 ac_prev=x_includes ;;
1142 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1143 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1144 x_includes=$ac_optarg ;;
1146 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1147 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1148 ac_prev=x_libraries ;;
1149 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1150 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1151 x_libraries=$ac_optarg ;;
1153 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1154 Try \`$0 --help' for more information"
1158 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1159 # Reject names that are not valid shell variable names.
1160 case $ac_envvar in #(
1161 '' | [0-9]* | *[!_$as_cr_alnum]* )
1162 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1164 eval $ac_envvar=\$ac_optarg
1165 export $ac_envvar ;;
1168 # FIXME: should be removed in autoconf 3.0.
1169 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1170 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1171 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1172 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1178 if test -n "$ac_prev"; then
1179 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1180 as_fn_error $? "missing argument to $ac_option"
1183 if test -n "$ac_unrecognized_opts"; then
1184 case $enable_option_checking in
1186 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1187 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1191 # Check all directory arguments for consistency.
1192 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1193 datadir sysconfdir sharedstatedir localstatedir includedir \
1194 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1195 libdir localedir mandir
1197 eval ac_val=\$$ac_var
1198 # Remove trailing slashes.
1201 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1202 eval $ac_var=\$ac_val;;
1204 # Be sure to have absolute directory names.
1206 [\\/$]* | ?:[\\/]* ) continue;;
1207 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1209 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1212 # There might be people who depend on the old broken behavior: `$host'
1213 # used to hold the argument of --host etc.
1214 # FIXME: To remove some day.
1217 target=$target_alias
1219 # FIXME: To remove some day.
1220 if test "x$host_alias" != x; then
1221 if test "x$build_alias" = x; then
1222 cross_compiling=maybe
1223 elif test "x$build_alias" != "x$host_alias"; then
1229 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1231 test "$silent" = yes && exec 6>/dev/null
1234 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1235 ac_ls_di=`ls -di .` &&
1236 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1237 as_fn_error $? "working directory cannot be determined"
1238 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1239 as_fn_error $? "pwd does not report name of working directory"
1242 # Find the source files, if location was not specified.
1243 if test -z "$srcdir"; then
1244 ac_srcdir_defaulted=yes
1245 # Try the directory containing this script, then the parent directory.
1246 ac_confdir=`$as_dirname -- "$as_myself" ||
1247 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1248 X"$as_myself" : 'X\(//\)[^/]' \| \
1249 X"$as_myself" : 'X\(//\)$' \| \
1250 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1251 $as_echo X"$as_myself" |
1252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1270 if test ! -r "$srcdir/$ac_unique_file"; then
1274 ac_srcdir_defaulted=no
1276 if test ! -r "$srcdir/$ac_unique_file"; then
1277 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1278 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1280 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1282 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1284 # When building in place, set srcdir=.
1285 if test "$ac_abs_confdir" = "$ac_pwd"; then
1288 # Remove unnecessary trailing slashes from srcdir.
1289 # Double slashes in file names in object file debugging info
1290 # mess up M-x gdb in Emacs.
1292 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1294 for ac_var in $ac_precious_vars; do
1295 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1296 eval ac_env_${ac_var}_value=\$${ac_var}
1297 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1298 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1302 # Report the --help message.
1304 if test "$ac_init_help" = "long"; then
1305 # Omit some internal or obsolete options to make the list less imposing.
1306 # This message is too long to be a string in the A/UX 3.1 sh.
1308 \`configure' configures prss 0.0.x to adapt to many kinds of systems.
1310 Usage: $0 [OPTION]... [VAR=VALUE]...
1312 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1313 VAR=VALUE. See below for descriptions of some of the useful variables.
1315 Defaults for the options are specified in brackets.
1318 -h, --help display this help and exit
1319 --help=short display options specific to this package
1320 --help=recursive display the short help of all the included packages
1321 -V, --version display version information and exit
1322 -q, --quiet, --silent do not print \`checking ...' messages
1323 --cache-file=FILE cache test results in FILE [disabled]
1324 -C, --config-cache alias for \`--cache-file=config.cache'
1325 -n, --no-create do not create output files
1326 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1328 Installation directories:
1329 --prefix=PREFIX install architecture-independent files in PREFIX
1330 [$ac_default_prefix]
1331 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1334 By default, \`make install' will install all the files in
1335 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1336 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1337 for instance \`--prefix=\$HOME'.
1339 For better control, use the options below.
1341 Fine tuning of the installation directories:
1342 --bindir=DIR user executables [EPREFIX/bin]
1343 --sbindir=DIR system admin executables [EPREFIX/sbin]
1344 --libexecdir=DIR program executables [EPREFIX/libexec]
1345 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1346 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1347 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1348 --libdir=DIR object code libraries [EPREFIX/lib]
1349 --includedir=DIR C header files [PREFIX/include]
1350 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1351 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1352 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1353 --infodir=DIR info documentation [DATAROOTDIR/info]
1354 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1355 --mandir=DIR man documentation [DATAROOTDIR/man]
1356 --docdir=DIR documentation root [DATAROOTDIR/doc/prss]
1357 --htmldir=DIR html documentation [DOCDIR]
1358 --dvidir=DIR dvi documentation [DOCDIR]
1359 --pdfdir=DIR pdf documentation [DOCDIR]
1360 --psdir=DIR ps documentation [DOCDIR]
1366 --program-prefix=PREFIX prepend PREFIX to installed program names
1367 --program-suffix=SUFFIX append SUFFIX to installed program names
1368 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1371 --x-includes=DIR X include files are in DIR
1372 --x-libraries=DIR X library files are in DIR
1375 --build=BUILD configure for building on BUILD [guessed]
1376 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1380 if test -n "$ac_init_help"; then
1381 case $ac_init_help in
1382 short | recursive ) echo "Configuration of prss 0.0.x:";;
1387 --disable-option-checking ignore unrecognized --enable/--with options
1388 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1389 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1390 --enable-silent-rules less verbose build output (undo: "make V=1")
1391 --disable-silent-rules verbose build output (undo: "make V=0")
1392 --enable-dependency-tracking
1393 do not reject slow dependency extractors
1394 --disable-dependency-tracking
1395 speeds up one-time build
1396 --disable-nls do not use Native Language Support
1397 --disable-rpath do not hardcode runtime library paths
1398 --disable-schemas-compile
1399 Disable regeneration of gschemas.compiled on install
1402 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1403 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1404 --with-x use the X Window System
1405 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1406 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1407 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1408 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1409 --without-libintl-prefix don't search for libintl in includedir and libdir
1411 Some influential environment variables:
1412 CC C compiler command
1413 CFLAGS C compiler flags
1414 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1415 nonstandard directory <lib dir>
1416 LIBS libraries to pass to the linker, e.g. -l<library>
1417 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1418 you have headers in a nonstandard directory <include dir>
1419 XMKMF Path to xmkmf, Makefile generator for X Window System
1421 PKG_CONFIG path to pkg-config utility
1423 directories to add to pkg-config's search path
1425 path overriding pkg-config's built-in search path
1426 X11_CFLAGS C compiler flags for X11, overriding pkg-config
1427 X11_LIBS linker flags for X11, overriding pkg-config
1428 XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
1429 XEXT_LIBS linker flags for XEXT, overriding pkg-config
1430 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1431 GTK_LIBS linker flags for GTK, overriding pkg-config
1432 CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
1433 CURL_LIBS linker flags for CURL, overriding pkg-config
1434 JSON_CFLAGS C compiler flags for JSON, overriding pkg-config
1435 JSON_LIBS linker flags for JSON, overriding pkg-config
1437 C compiler flags for WEBKIT, overriding pkg-config
1438 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1440 Use these variables to override the choices made by `configure' or to help
1441 it to find libraries and programs with nonstandard names/locations.
1443 Report bugs to <jeanfi@gmail.com>.
1444 prss home page: <http://wpitchoune.net/prss>.
1449 if test "$ac_init_help" = "recursive"; then
1450 # If there are subdirs, report their specific --help.
1451 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1452 test -d "$ac_dir" ||
1453 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1458 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1460 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1461 # A ".." for each directory in $ac_dir_suffix.
1462 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1463 case $ac_top_builddir_sub in
1464 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1465 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1468 ac_abs_top_builddir=$ac_pwd
1469 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1470 # for backward compatibility:
1471 ac_top_builddir=$ac_top_build_prefix
1474 .) # We are building in place.
1476 ac_top_srcdir=$ac_top_builddir_sub
1477 ac_abs_top_srcdir=$ac_pwd ;;
1478 [\\/]* | ?:[\\/]* ) # Absolute name.
1479 ac_srcdir=$srcdir$ac_dir_suffix;
1480 ac_top_srcdir=$srcdir
1481 ac_abs_top_srcdir=$srcdir ;;
1483 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1484 ac_top_srcdir=$ac_top_build_prefix$srcdir
1485 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1487 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1489 cd "$ac_dir" || { ac_status=$?; continue; }
1490 # Check for guested configure.
1491 if test -f "$ac_srcdir/configure.gnu"; then
1493 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1494 elif test -f "$ac_srcdir/configure"; then
1496 $SHELL "$ac_srcdir/configure" --help=recursive
1498 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1500 cd "$ac_pwd" || { ac_status=$?; break; }
1504 test -n "$ac_init_help" && exit $ac_status
1505 if $ac_init_version; then
1507 prss configure 0.0.x
1508 generated by GNU Autoconf 2.69
1510 Copyright (C) 2012 Free Software Foundation, Inc.
1511 This configure script is free software; the Free Software Foundation
1512 gives unlimited permission to copy, distribute and modify it.
1517 ## ------------------------ ##
1518 ## Autoconf initialization. ##
1519 ## ------------------------ ##
1521 # ac_fn_c_try_compile LINENO
1522 # --------------------------
1523 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1524 ac_fn_c_try_compile ()
1526 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1527 rm -f conftest.$ac_objext
1528 if { { ac_try="$ac_compile"
1530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1531 *) ac_try_echo=$ac_try;;
1533 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1534 $as_echo "$ac_try_echo"; } >&5
1535 (eval "$ac_compile") 2>conftest.err
1537 if test -s conftest.err; then
1538 grep -v '^ *+' conftest.err >conftest.er1
1539 cat conftest.er1 >&5
1540 mv -f conftest.er1 conftest.err
1542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1543 test $ac_status = 0; } && {
1544 test -z "$ac_c_werror_flag" ||
1545 test ! -s conftest.err
1546 } && test -s conftest.$ac_objext; then :
1549 $as_echo "$as_me: failed program was:" >&5
1550 sed 's/^/| /' conftest.$ac_ext >&5
1554 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1555 as_fn_set_status $ac_retval
1557 } # ac_fn_c_try_compile
1559 # ac_fn_c_try_cpp LINENO
1560 # ----------------------
1561 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1564 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1565 if { { ac_try="$ac_cpp conftest.$ac_ext"
1567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1568 *) ac_try_echo=$ac_try;;
1570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1571 $as_echo "$ac_try_echo"; } >&5
1572 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1574 if test -s conftest.err; then
1575 grep -v '^ *+' conftest.err >conftest.er1
1576 cat conftest.er1 >&5
1577 mv -f conftest.er1 conftest.err
1579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1580 test $ac_status = 0; } > conftest.i && {
1581 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1582 test ! -s conftest.err
1586 $as_echo "$as_me: failed program was:" >&5
1587 sed 's/^/| /' conftest.$ac_ext >&5
1591 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1592 as_fn_set_status $ac_retval
1596 # ac_fn_c_try_link LINENO
1597 # -----------------------
1598 # Try to link conftest.$ac_ext, and return whether this succeeded.
1601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602 rm -f conftest.$ac_objext conftest$ac_exeext
1603 if { { ac_try="$ac_link"
1605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1606 *) ac_try_echo=$ac_try;;
1608 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1609 $as_echo "$ac_try_echo"; } >&5
1610 (eval "$ac_link") 2>conftest.err
1612 if test -s conftest.err; then
1613 grep -v '^ *+' conftest.err >conftest.er1
1614 cat conftest.er1 >&5
1615 mv -f conftest.er1 conftest.err
1617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1618 test $ac_status = 0; } && {
1619 test -z "$ac_c_werror_flag" ||
1620 test ! -s conftest.err
1621 } && test -s conftest$ac_exeext && {
1622 test "$cross_compiling" = yes ||
1623 test -x conftest$ac_exeext
1627 $as_echo "$as_me: failed program was:" >&5
1628 sed 's/^/| /' conftest.$ac_ext >&5
1632 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1633 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1634 # interfere with the next link command; also delete a directory that is
1635 # left behind by Apple's compiler. We do this before executing the actions.
1636 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1637 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1638 as_fn_set_status $ac_retval
1640 } # ac_fn_c_try_link
1642 # ac_fn_c_try_run LINENO
1643 # ----------------------
1644 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1645 # that executables *can* be run.
1648 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1649 if { { ac_try="$ac_link"
1651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1652 *) ac_try_echo=$ac_try;;
1654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1655 $as_echo "$ac_try_echo"; } >&5
1656 (eval "$ac_link") 2>&5
1658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1659 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1660 { { case "(($ac_try" in
1661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1662 *) ac_try_echo=$ac_try;;
1664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1665 $as_echo "$ac_try_echo"; } >&5
1666 (eval "$ac_try") 2>&5
1668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1669 test $ac_status = 0; }; }; then :
1672 $as_echo "$as_me: program exited with status $ac_status" >&5
1673 $as_echo "$as_me: failed program was:" >&5
1674 sed 's/^/| /' conftest.$ac_ext >&5
1676 ac_retval=$ac_status
1678 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1680 as_fn_set_status $ac_retval
1683 cat >config.log <<_ACEOF
1684 This file contains any messages produced by compilers while
1685 running configure, to aid debugging if configure makes a mistake.
1687 It was created by prss $as_me 0.0.x, which was
1688 generated by GNU Autoconf 2.69. Invocation command line was
1700 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1701 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1702 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1703 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1704 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1706 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1707 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1709 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1710 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1711 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1712 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1713 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1714 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1715 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1723 test -z "$as_dir" && as_dir=.
1724 $as_echo "PATH: $as_dir"
1740 # Keep a trace of the command line.
1741 # Strip out --no-create and --no-recursion so they do not pile up.
1742 # Strip out --silent because we don't want to record it for future runs.
1743 # Also quote any args containing shell meta-characters.
1744 # Make two passes to allow for proper duplicate-argument suppression.
1748 ac_must_keep_next=false
1754 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1755 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1756 | -silent | --silent | --silen | --sile | --sil)
1759 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1762 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1764 as_fn_append ac_configure_args1 " '$ac_arg'"
1765 if test $ac_must_keep_next = true; then
1766 ac_must_keep_next=false # Got value, back to normal.
1769 *=* | --config-cache | -C | -disable-* | --disable-* \
1770 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1771 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1772 | -with-* | --with-* | -without-* | --without-* | --x)
1773 case "$ac_configure_args0 " in
1774 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1777 -* ) ac_must_keep_next=true ;;
1780 as_fn_append ac_configure_args " '$ac_arg'"
1785 { ac_configure_args0=; unset ac_configure_args0;}
1786 { ac_configure_args1=; unset ac_configure_args1;}
1788 # When interrupted or exit'd, cleanup temporary files, and complete
1789 # config.log. We remove comments because anyway the quotes in there
1790 # would cause problems or look ugly.
1791 # WARNING: Use '\'' to represent an apostrophe within the trap.
1792 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1793 trap 'exit_status=$?
1794 # Save into config.log some information that might help in debugging.
1798 $as_echo "## ---------------- ##
1799 ## Cache variables. ##
1800 ## ---------------- ##"
1802 # The following way of writing the cache mishandles newlines in values,
1804 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1805 eval ac_val=\$$ac_var
1809 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1810 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1813 _ | IFS | as_nl) ;; #(
1814 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1815 *) { eval $ac_var=; unset $ac_var;} ;;
1820 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1821 *${as_nl}ac_space=\ *)
1823 "s/'\''/'\''\\\\'\'''\''/g;
1824 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1827 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1834 $as_echo "## ----------------- ##
1835 ## Output variables. ##
1836 ## ----------------- ##"
1838 for ac_var in $ac_subst_vars
1840 eval ac_val=\$$ac_var
1842 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1844 $as_echo "$ac_var='\''$ac_val'\''"
1848 if test -n "$ac_subst_files"; then
1849 $as_echo "## ------------------- ##
1850 ## File substitutions. ##
1851 ## ------------------- ##"
1853 for ac_var in $ac_subst_files
1855 eval ac_val=\$$ac_var
1857 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1859 $as_echo "$ac_var='\''$ac_val'\''"
1864 if test -s confdefs.h; then
1865 $as_echo "## ----------- ##
1872 test "$ac_signal" != 0 &&
1873 $as_echo "$as_me: caught signal $ac_signal"
1874 $as_echo "$as_me: exit $exit_status"
1876 rm -f core *.core core.conftest.* &&
1877 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1880 for ac_signal in 1 2 13 15; do
1881 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1885 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1886 rm -f -r conftest* confdefs.h
1888 $as_echo "/* confdefs.h */" > confdefs.h
1890 # Predefined preprocessor variables.
1892 cat >>confdefs.h <<_ACEOF
1893 #define PACKAGE_NAME "$PACKAGE_NAME"
1896 cat >>confdefs.h <<_ACEOF
1897 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1900 cat >>confdefs.h <<_ACEOF
1901 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1904 cat >>confdefs.h <<_ACEOF
1905 #define PACKAGE_STRING "$PACKAGE_STRING"
1908 cat >>confdefs.h <<_ACEOF
1909 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1912 cat >>confdefs.h <<_ACEOF
1913 #define PACKAGE_URL "$PACKAGE_URL"
1917 # Let the site file select an alternate cache file if it wants to.
1918 # Prefer an explicitly selected file to automatically selected ones.
1921 if test -n "$CONFIG_SITE"; then
1922 # We do not want a PATH search for config.site.
1923 case $CONFIG_SITE in #((
1924 -*) ac_site_file1=./$CONFIG_SITE;;
1925 */*) ac_site_file1=$CONFIG_SITE;;
1926 *) ac_site_file1=./$CONFIG_SITE;;
1928 elif test "x$prefix" != xNONE; then
1929 ac_site_file1=$prefix/share/config.site
1930 ac_site_file2=$prefix/etc/config.site
1932 ac_site_file1=$ac_default_prefix/share/config.site
1933 ac_site_file2=$ac_default_prefix/etc/config.site
1935 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1937 test "x$ac_site_file" = xNONE && continue
1938 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1940 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1941 sed 's/^/| /' "$ac_site_file" >&5
1943 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1944 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1945 as_fn_error $? "failed to load site script $ac_site_file
1946 See \`config.log' for more details" "$LINENO" 5; }
1950 if test -r "$cache_file"; then
1951 # Some versions of bash will fail to source /dev/null (special files
1952 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1953 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1955 $as_echo "$as_me: loading cache $cache_file" >&6;}
1957 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1958 *) . "./$cache_file";;
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1963 $as_echo "$as_me: creating cache $cache_file" >&6;}
1967 gt_needs="$gt_needs "
1968 # Check that the precious variables saved in the cache have kept the same
1970 ac_cache_corrupted=false
1971 for ac_var in $ac_precious_vars; do
1972 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1973 eval ac_new_set=\$ac_env_${ac_var}_set
1974 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1975 eval ac_new_val=\$ac_env_${ac_var}_value
1976 case $ac_old_set,$ac_new_set in
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1979 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1980 ac_cache_corrupted=: ;;
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1983 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1984 ac_cache_corrupted=: ;;
1987 if test "x$ac_old_val" != "x$ac_new_val"; then
1988 # differences in whitespace do not lead to failure.
1989 ac_old_val_w=`echo x $ac_old_val`
1990 ac_new_val_w=`echo x $ac_new_val`
1991 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1993 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1994 ac_cache_corrupted=:
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1997 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1998 eval $ac_var=\$ac_old_val
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2001 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2003 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2006 # Pass precious variables to config.status.
2007 if test "$ac_new_set" = set; then
2009 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2010 *) ac_arg=$ac_var=$ac_new_val ;;
2012 case " $ac_configure_args " in
2013 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2014 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2018 if $ac_cache_corrupted; then
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2020 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2022 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2023 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2025 ## -------------------- ##
2026 ## Main body of script. ##
2027 ## -------------------- ##
2030 ac_cpp='$CPP $CPPFLAGS'
2031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2037 am__api_version='1.14'
2040 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2041 if test -f "$ac_dir/install-sh"; then
2043 ac_install_sh="$ac_aux_dir/install-sh -c"
2045 elif test -f "$ac_dir/install.sh"; then
2047 ac_install_sh="$ac_aux_dir/install.sh -c"
2049 elif test -f "$ac_dir/shtool"; then
2051 ac_install_sh="$ac_aux_dir/shtool install -c"
2055 if test -z "$ac_aux_dir"; then
2056 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2059 # These three variables are undocumented and unsupported,
2060 # and are intended to be withdrawn in a future Autoconf release.
2061 # They can cause serious problems if a builder's source tree is in a directory
2062 # whose full name contains unusual characters.
2063 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2064 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2065 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2068 # Find a good install program. We prefer a C program (faster),
2069 # so one script is as good as another. But avoid the broken or
2070 # incompatible versions:
2071 # SysV /etc/install, /usr/sbin/install
2072 # SunOS /usr/etc/install
2073 # IRIX /sbin/install
2075 # AmigaOS /C/install, which installs bootblocks on floppy discs
2076 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2077 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2078 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2079 # OS/2's system install, which has a completely different semantic
2080 # ./install, which can be erroneously created by make from ./install.sh.
2081 # Reject install programs that cannot install multiple files.
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2083 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2084 if test -z "$INSTALL"; then
2085 if ${ac_cv_path_install+:} false; then :
2086 $as_echo_n "(cached) " >&6
2088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2092 test -z "$as_dir" && as_dir=.
2093 # Account for people who put trailing slashes in PATH elements.
2094 case $as_dir/ in #((
2095 ./ | .// | /[cC]/* | \
2096 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2097 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2100 # OSF1 and SCO ODT 3.0 have their own names for install.
2101 # Don't use installbsd from OSF since it installs stuff as root
2103 for ac_prog in ginstall scoinst install; do
2104 for ac_exec_ext in '' $ac_executable_extensions; do
2105 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2106 if test $ac_prog = install &&
2107 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2108 # AIX install. It has an incompatible calling convention.
2110 elif test $ac_prog = install &&
2111 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2112 # program-specific install script used by HP pwplus--don't use.
2115 rm -rf conftest.one conftest.two conftest.dir
2116 echo one > conftest.one
2117 echo two > conftest.two
2119 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2120 test -s conftest.one && test -s conftest.two &&
2121 test -s conftest.dir/conftest.one &&
2122 test -s conftest.dir/conftest.two
2124 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2137 rm -rf conftest.one conftest.two conftest.dir
2140 if test "${ac_cv_path_install+set}" = set; then
2141 INSTALL=$ac_cv_path_install
2143 # As a last resort, use the slow shell script. Don't cache a
2144 # value for INSTALL within a source directory, because that will
2145 # break other packages using the cache if that directory is
2146 # removed, or if the value is a relative name.
2147 INSTALL=$ac_install_sh
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2151 $as_echo "$INSTALL" >&6; }
2153 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2154 # It thinks the first close brace ends the variable substitution.
2155 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2157 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2159 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2162 $as_echo_n "checking whether build environment is sane... " >&6; }
2163 # Reject unsafe characters in $srcdir or the absolute working directory
2164 # name. Accept space and tab only in the latter.
2168 *[\\\"\#\$\&\'\`$am_lf]*)
2169 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2172 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2173 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2176 # Do 'set' in a subshell so we don't clobber the current shell's
2177 # arguments. Must try -L first in case configure is actually a
2178 # symlink; some systems play weird games with the mod time of symlinks
2179 # (eg FreeBSD returns the mod time of the symlink's containing
2183 for am_try in 1 2; do
2184 echo "timestamp, slept: $am_has_slept" > conftest.file
2185 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2186 if test "$*" = "X"; then
2188 set X `ls -t "$srcdir/configure" conftest.file`
2190 if test "$*" != "X $srcdir/configure conftest.file" \
2191 && test "$*" != "X conftest.file $srcdir/configure"; then
2193 # If neither matched, then we have a broken ls. This can happen
2194 # if, for instance, CONFIG_SHELL is bash and it inherits a
2195 # broken ls alias from the environment. This has actually
2196 # happened. Such a system could not be considered "sane".
2197 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2198 alias in your environment" "$LINENO" 5
2200 if test "$2" = conftest.file || test $am_try -eq 2; then
2207 test "$2" = conftest.file
2213 as_fn_error $? "newly created file is older than distributed files!
2214 Check your system clock" "$LINENO" 5
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2217 $as_echo "yes" >&6; }
2218 # If we didn't sleep, we still need to ensure time stamps of config.status and
2219 # generated files are strictly newer.
2221 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2228 test "$program_prefix" != NONE &&
2229 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2230 # Use a double $ so make ignores it.
2231 test "$program_suffix" != NONE &&
2232 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2233 # Double any \ or $.
2234 # By default was `s,x,x', remove it if useless.
2235 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2236 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2238 # expand $ac_aux_dir to an absolute path
2239 am_aux_dir=`cd $ac_aux_dir && pwd`
2241 if test x"${MISSING+set}" != xset; then
2244 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2246 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2249 # Use eval to expand $SHELL
2250 if eval "$MISSING --is-lightweight"; then
2251 am_missing_run="$MISSING "
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2255 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2258 if test x"${install_sh}" != xset; then
2261 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2263 install_sh="\${SHELL} $am_aux_dir/install-sh"
2267 # Installed binaries are usually stripped using 'strip' when the user
2268 # run "make install-strip". However 'strip' might not be the right
2269 # tool to use in cross-compilation environments, therefore Automake
2270 # will honor the 'STRIP' environment variable to overrule this program.
2271 if test "$cross_compiling" != no; then
2272 if test -n "$ac_tool_prefix"; then
2273 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2274 set dummy ${ac_tool_prefix}strip; ac_word=$2
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2276 $as_echo_n "checking for $ac_word... " >&6; }
2277 if ${ac_cv_prog_STRIP+:} false; then :
2278 $as_echo_n "(cached) " >&6
2280 if test -n "$STRIP"; then
2281 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2287 test -z "$as_dir" && as_dir=.
2288 for ac_exec_ext in '' $ac_executable_extensions; do
2289 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2290 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2300 STRIP=$ac_cv_prog_STRIP
2301 if test -n "$STRIP"; then
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2303 $as_echo "$STRIP" >&6; }
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2306 $as_echo "no" >&6; }
2311 if test -z "$ac_cv_prog_STRIP"; then
2313 # Extract the first word of "strip", so it can be a program name with args.
2314 set dummy strip; ac_word=$2
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2316 $as_echo_n "checking for $ac_word... " >&6; }
2317 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2318 $as_echo_n "(cached) " >&6
2320 if test -n "$ac_ct_STRIP"; then
2321 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2327 test -z "$as_dir" && as_dir=.
2328 for ac_exec_ext in '' $ac_executable_extensions; do
2329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2330 ac_cv_prog_ac_ct_STRIP="strip"
2331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2340 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2341 if test -n "$ac_ct_STRIP"; then
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2343 $as_echo "$ac_ct_STRIP" >&6; }
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2346 $as_echo "no" >&6; }
2349 if test "x$ac_ct_STRIP" = x; then
2352 case $cross_compiling:$ac_tool_warned in
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2356 ac_tool_warned=yes ;;
2361 STRIP="$ac_cv_prog_STRIP"
2365 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2368 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2369 if test -z "$MKDIR_P"; then
2370 if ${ac_cv_path_mkdir+:} false; then :
2371 $as_echo_n "(cached) " >&6
2373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2374 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2377 test -z "$as_dir" && as_dir=.
2378 for ac_prog in mkdir gmkdir; do
2379 for ac_exec_ext in '' $ac_executable_extensions; do
2380 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2381 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2382 'mkdir (GNU coreutils) '* | \
2383 'mkdir (coreutils) '* | \
2384 'mkdir (fileutils) '4.1*)
2385 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2395 test -d ./--version && rmdir ./--version
2396 if test "${ac_cv_path_mkdir+set}" = set; then
2397 MKDIR_P="$ac_cv_path_mkdir -p"
2399 # As a last resort, use the slow shell script. Don't cache a
2400 # value for MKDIR_P within a source directory, because that will
2401 # break other packages using the cache if that directory is
2402 # removed, or if the value is a relative name.
2403 MKDIR_P="$ac_install_sh -d"
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2407 $as_echo "$MKDIR_P" >&6; }
2409 for ac_prog in gawk mawk nawk awk
2411 # Extract the first word of "$ac_prog", so it can be a program name with args.
2412 set dummy $ac_prog; ac_word=$2
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2414 $as_echo_n "checking for $ac_word... " >&6; }
2415 if ${ac_cv_prog_AWK+:} false; then :
2416 $as_echo_n "(cached) " >&6
2418 if test -n "$AWK"; then
2419 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2425 test -z "$as_dir" && as_dir=.
2426 for ac_exec_ext in '' $ac_executable_extensions; do
2427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2428 ac_cv_prog_AWK="$ac_prog"
2429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2439 if test -n "$AWK"; then
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2441 $as_echo "$AWK" >&6; }
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2444 $as_echo "no" >&6; }
2448 test -n "$AWK" && break
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2452 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2454 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2455 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2456 $as_echo_n "(cached) " >&6
2458 cat >conftest.make <<\_ACEOF
2461 @echo '@@@%%%=$(MAKE)=@@@%%%'
2463 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2464 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2466 eval ac_cv_prog_make_${ac_make}_set=yes;;
2468 eval ac_cv_prog_make_${ac_make}_set=no;;
2472 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2474 $as_echo "yes" >&6; }
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2478 $as_echo "no" >&6; }
2479 SET_MAKE="MAKE=${MAKE-make}"
2482 rm -rf .tst 2>/dev/null
2483 mkdir .tst 2>/dev/null
2484 if test -d .tst; then
2489 rmdir .tst 2>/dev/null
2491 # Check whether --enable-silent-rules was given.
2492 if test "${enable_silent_rules+set}" = set; then :
2493 enableval=$enable_silent_rules;
2496 case $enable_silent_rules in # (((
2497 yes) AM_DEFAULT_VERBOSITY=0;;
2498 no) AM_DEFAULT_VERBOSITY=1;;
2499 *) AM_DEFAULT_VERBOSITY=1;;
2501 am_make=${MAKE-make}
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2503 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2504 if ${am_cv_make_support_nested_variables+:} false; then :
2505 $as_echo_n "(cached) " >&6
2507 if $as_echo 'TRUE=$(BAR$(V))
2513 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2514 am_cv_make_support_nested_variables=yes
2516 am_cv_make_support_nested_variables=no
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2520 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2521 if test $am_cv_make_support_nested_variables = yes; then
2523 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2525 AM_V=$AM_DEFAULT_VERBOSITY
2526 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2530 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2531 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2532 # is not polluted with repeated "-I."
2533 am__isrc=' -I$(srcdir)'
2534 # test to see if srcdir already configured
2535 if test -f $srcdir/config.status; then
2536 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2540 # test whether we have cygpath
2541 if test -z "$CYGPATH_W"; then
2542 if (cygpath --version) >/dev/null 2>/dev/null; then
2543 CYGPATH_W='cygpath -w'
2550 # Define the identity of the package.
2555 cat >>confdefs.h <<_ACEOF
2556 #define PACKAGE "$PACKAGE"
2560 cat >>confdefs.h <<_ACEOF
2561 #define VERSION "$VERSION"
2564 # Some tools Automake needs.
2566 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2569 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2572 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2575 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2578 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2580 # For better backward compatibility. To be removed once Automake 1.9.x
2581 # dies out for good. For more background, see:
2582 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2583 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2584 mkdir_p='$(MKDIR_P)'
2586 # We need awk for the "check" target. The system "awk" is bad on
2588 # Always define AMTAR for backward compatibility. Yes, it's still used
2589 # in the wild :-( We should find a proper way to deprecate it ...
2593 # We'll loop over all known methods to create a tar archive until one works.
2594 _am_tools='gnutar pax cpio none'
2596 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2603 # POSIX will say in a future version that running "rm -f" with no argument
2604 # is OK; and we want to be able to make that assumption in our Makefile
2605 # recipes. So use an aggressive probe to check that the usage we want is
2606 # actually supported "in the wild" to an acceptable degree.
2607 # See automake bug#10828.
2608 # To make any issue more visible, cause the running configure to be aborted
2609 # by default if the 'rm' program in use doesn't match our expectations; the
2610 # user can still override this though.
2611 if rm -f && rm -fr && rm -rf; then : OK; else
2615 Your 'rm' program seems unable to run without file operands specified
2616 on the command line, even when the '-f' option is present. This is contrary
2617 to the behaviour of most rm programs out there, and not conforming with
2618 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2620 Please tell bug-automake@gnu.org about your system, including the value
2621 of your $PATH and any error possibly output before this message. This
2622 can help us improve future automake versions.
2625 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2626 echo 'Configuration will proceed anyway, since you have set the' >&2
2627 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2631 Aborting the configuration process, to ensure you take notice of the issue.
2633 You can download and install GNU coreutils to get an 'rm' implementation
2634 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2636 If you want to complete the configuration process using your problematic
2637 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2638 to "yes", and re-run configure.
2641 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2646 ac_config_headers="$ac_config_headers config.h"
2649 # Checks for programs.
2650 DEPDIR="${am__leading_dot}deps"
2652 ac_config_commands="$ac_config_commands depfiles"
2655 am_make=${MAKE-make}
2656 cat > confinc << 'END'
2658 @echo this is the am__doit target
2661 # If we don't find an include directive, just comment out the code.
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2663 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2667 # First try GNU make style include.
2668 echo "include confinc" > confmf
2669 # Ignore all kinds of additional output from 'make'.
2670 case `$am_make -s -f confmf 2> /dev/null` in #(
2671 *the\ am__doit\ target*)
2677 # Now try BSD make style include.
2678 if test "$am__include" = "#"; then
2679 echo '.include "confinc"' > confmf
2680 case `$am_make -s -f confmf 2> /dev/null` in #(
2681 *the\ am__doit\ target*)
2682 am__include=.include
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2691 $as_echo "$_am_result" >&6; }
2692 rm -f confinc confmf
2694 # Check whether --enable-dependency-tracking was given.
2695 if test "${enable_dependency_tracking+set}" = set; then :
2696 enableval=$enable_dependency_tracking;
2699 if test "x$enable_dependency_tracking" != xno; then
2700 am_depcomp="$ac_aux_dir/depcomp"
2704 if test "x$enable_dependency_tracking" != xno; then
2714 ac_cpp='$CPP $CPPFLAGS'
2715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2718 if test -n "$ac_tool_prefix"; then
2719 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2720 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2722 $as_echo_n "checking for $ac_word... " >&6; }
2723 if ${ac_cv_prog_CC+:} false; then :
2724 $as_echo_n "(cached) " >&6
2726 if test -n "$CC"; then
2727 ac_cv_prog_CC="$CC" # Let the user override the test.
2729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2733 test -z "$as_dir" && as_dir=.
2734 for ac_exec_ext in '' $ac_executable_extensions; do
2735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2736 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2747 if test -n "$CC"; then
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2749 $as_echo "$CC" >&6; }
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2752 $as_echo "no" >&6; }
2757 if test -z "$ac_cv_prog_CC"; then
2759 # Extract the first word of "gcc", so it can be a program name with args.
2760 set dummy gcc; ac_word=$2
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2762 $as_echo_n "checking for $ac_word... " >&6; }
2763 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2764 $as_echo_n "(cached) " >&6
2766 if test -n "$ac_ct_CC"; then
2767 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2773 test -z "$as_dir" && as_dir=.
2774 for ac_exec_ext in '' $ac_executable_extensions; do
2775 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2776 ac_cv_prog_ac_ct_CC="gcc"
2777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2786 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2787 if test -n "$ac_ct_CC"; then
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2789 $as_echo "$ac_ct_CC" >&6; }
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2792 $as_echo "no" >&6; }
2795 if test "x$ac_ct_CC" = x; then
2798 case $cross_compiling:$ac_tool_warned in
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2802 ac_tool_warned=yes ;;
2810 if test -z "$CC"; then
2811 if test -n "$ac_tool_prefix"; then
2812 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2813 set dummy ${ac_tool_prefix}cc; ac_word=$2
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2815 $as_echo_n "checking for $ac_word... " >&6; }
2816 if ${ac_cv_prog_CC+:} false; then :
2817 $as_echo_n "(cached) " >&6
2819 if test -n "$CC"; then
2820 ac_cv_prog_CC="$CC" # Let the user override the test.
2822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2826 test -z "$as_dir" && as_dir=.
2827 for ac_exec_ext in '' $ac_executable_extensions; do
2828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2829 ac_cv_prog_CC="${ac_tool_prefix}cc"
2830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2840 if test -n "$CC"; then
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2842 $as_echo "$CC" >&6; }
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2845 $as_echo "no" >&6; }
2851 if test -z "$CC"; then
2852 # Extract the first word of "cc", so it can be a program name with args.
2853 set dummy cc; ac_word=$2
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2855 $as_echo_n "checking for $ac_word... " >&6; }
2856 if ${ac_cv_prog_CC+:} false; then :
2857 $as_echo_n "(cached) " >&6
2859 if test -n "$CC"; then
2860 ac_cv_prog_CC="$CC" # Let the user override the test.
2863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2867 test -z "$as_dir" && as_dir=.
2868 for ac_exec_ext in '' $ac_executable_extensions; do
2869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2870 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2871 ac_prog_rejected=yes
2875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2882 if test $ac_prog_rejected = yes; then
2883 # We found a bogon in the path, so make sure we never use it.
2884 set dummy $ac_cv_prog_CC
2886 if test $# != 0; then
2887 # We chose a different compiler from the bogus one.
2888 # However, it has the same basename, so the bogon will be chosen
2889 # first if we set CC to just the basename; use the full file name.
2891 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2897 if test -n "$CC"; then
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2899 $as_echo "$CC" >&6; }
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2902 $as_echo "no" >&6; }
2907 if test -z "$CC"; then
2908 if test -n "$ac_tool_prefix"; then
2909 for ac_prog in cl.exe
2911 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2912 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2914 $as_echo_n "checking for $ac_word... " >&6; }
2915 if ${ac_cv_prog_CC+:} false; then :
2916 $as_echo_n "(cached) " >&6
2918 if test -n "$CC"; then
2919 ac_cv_prog_CC="$CC" # Let the user override the test.
2921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2925 test -z "$as_dir" && as_dir=.
2926 for ac_exec_ext in '' $ac_executable_extensions; do
2927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2928 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2939 if test -n "$CC"; then
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2941 $as_echo "$CC" >&6; }
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2944 $as_echo "no" >&6; }
2948 test -n "$CC" && break
2951 if test -z "$CC"; then
2953 for ac_prog in cl.exe
2955 # Extract the first word of "$ac_prog", so it can be a program name with args.
2956 set dummy $ac_prog; ac_word=$2
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2958 $as_echo_n "checking for $ac_word... " >&6; }
2959 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2960 $as_echo_n "(cached) " >&6
2962 if test -n "$ac_ct_CC"; then
2963 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2969 test -z "$as_dir" && as_dir=.
2970 for ac_exec_ext in '' $ac_executable_extensions; do
2971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2972 ac_cv_prog_ac_ct_CC="$ac_prog"
2973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2982 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2983 if test -n "$ac_ct_CC"; then
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2985 $as_echo "$ac_ct_CC" >&6; }
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2988 $as_echo "no" >&6; }
2992 test -n "$ac_ct_CC" && break
2995 if test "x$ac_ct_CC" = x; then
2998 case $cross_compiling:$ac_tool_warned in
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3002 ac_tool_warned=yes ;;
3011 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3013 as_fn_error $? "no acceptable C compiler found in \$PATH
3014 See \`config.log' for more details" "$LINENO" 5; }
3016 # Provide some information about the compiler.
3017 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3020 for ac_option in --version -v -V -qversion; do
3021 { { ac_try="$ac_compiler $ac_option >&5"
3023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3024 *) ac_try_echo=$ac_try;;
3026 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3027 $as_echo "$ac_try_echo"; } >&5
3028 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3030 if test -s conftest.err; then
3032 ... rest of stderr output deleted ...
3033 10q' conftest.err >conftest.er1
3034 cat conftest.er1 >&5
3036 rm -f conftest.er1 conftest.err
3037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3038 test $ac_status = 0; }
3041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3042 /* end confdefs.h. */
3052 ac_clean_files_save=$ac_clean_files
3053 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3054 # Try to create an executable without -o first, disregard a.out.
3055 # It will help us diagnose broken compilers, and finding out an intuition
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3058 $as_echo_n "checking whether the C compiler works... " >&6; }
3059 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3061 # The possible output files:
3062 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3065 for ac_file in $ac_files
3068 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3069 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3074 if { { ac_try="$ac_link_default"
3076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3077 *) ac_try_echo=$ac_try;;
3079 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3080 $as_echo "$ac_try_echo"; } >&5
3081 (eval "$ac_link_default") 2>&5
3083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3084 test $ac_status = 0; }; then :
3085 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3086 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3087 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3088 # so that the user can short-circuit this test for compilers unknown to
3090 for ac_file in $ac_files ''
3092 test -f "$ac_file" || continue
3094 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3097 # We found the default executable, but exeext='' is most
3101 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3103 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3105 # We set ac_cv_exeext here because the later test for it is not
3106 # safe: cross compilers may not add the suffix if given an `-o'
3107 # argument, so we may need to know it at that point already.
3108 # Even if this section looks crufty: it has the advantage of
3115 test "$ac_cv_exeext" = no && ac_cv_exeext=
3120 if test -z "$ac_file"; then :
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3122 $as_echo "no" >&6; }
3123 $as_echo "$as_me: failed program was:" >&5
3124 sed 's/^/| /' conftest.$ac_ext >&5
3126 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3128 as_fn_error 77 "C compiler cannot create executables
3129 See \`config.log' for more details" "$LINENO" 5; }
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3132 $as_echo "yes" >&6; }
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3135 $as_echo_n "checking for C compiler default output file name... " >&6; }
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3137 $as_echo "$ac_file" >&6; }
3138 ac_exeext=$ac_cv_exeext
3140 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3141 ac_clean_files=$ac_clean_files_save
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3143 $as_echo_n "checking for suffix of executables... " >&6; }
3144 if { { ac_try="$ac_link"
3146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3147 *) ac_try_echo=$ac_try;;
3149 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3150 $as_echo "$ac_try_echo"; } >&5
3151 (eval "$ac_link") 2>&5
3153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3154 test $ac_status = 0; }; then :
3155 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3156 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3157 # work properly (i.e., refer to `conftest.exe'), while it won't with
3159 for ac_file in conftest.exe conftest conftest.*; do
3160 test -f "$ac_file" || continue
3162 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3163 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3169 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3170 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3171 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3172 See \`config.log' for more details" "$LINENO" 5; }
3174 rm -f conftest conftest$ac_cv_exeext
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3176 $as_echo "$ac_cv_exeext" >&6; }
3178 rm -f conftest.$ac_ext
3179 EXEEXT=$ac_cv_exeext
3181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3182 /* end confdefs.h. */
3187 FILE *f = fopen ("conftest.out", "w");
3188 return ferror (f) || fclose (f) != 0;
3194 ac_clean_files="$ac_clean_files conftest.out"
3195 # Check that the compiler produces executables we can run. If not, either
3196 # the compiler is broken, or we cross compile.
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3198 $as_echo_n "checking whether we are cross compiling... " >&6; }
3199 if test "$cross_compiling" != yes; then
3200 { { ac_try="$ac_link"
3202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3203 *) ac_try_echo=$ac_try;;
3205 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3206 $as_echo "$ac_try_echo"; } >&5
3207 (eval "$ac_link") 2>&5
3209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3210 test $ac_status = 0; }
3211 if { ac_try='./conftest$ac_cv_exeext'
3212 { { case "(($ac_try" in
3213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3214 *) ac_try_echo=$ac_try;;
3216 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3217 $as_echo "$ac_try_echo"; } >&5
3218 (eval "$ac_try") 2>&5
3220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3221 test $ac_status = 0; }; }; then
3224 if test "$cross_compiling" = maybe; then
3227 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3228 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3229 as_fn_error $? "cannot run C compiled programs.
3230 If you meant to cross compile, use \`--host'.
3231 See \`config.log' for more details" "$LINENO" 5; }
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3236 $as_echo "$cross_compiling" >&6; }
3238 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3239 ac_clean_files=$ac_clean_files_save
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3241 $as_echo_n "checking for suffix of object files... " >&6; }
3242 if ${ac_cv_objext+:} false; then :
3243 $as_echo_n "(cached) " >&6
3245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3246 /* end confdefs.h. */
3256 rm -f conftest.o conftest.obj
3257 if { { ac_try="$ac_compile"
3259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3260 *) ac_try_echo=$ac_try;;
3262 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3263 $as_echo "$ac_try_echo"; } >&5
3264 (eval "$ac_compile") 2>&5
3266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3267 test $ac_status = 0; }; then :
3268 for ac_file in conftest.o conftest.obj conftest.*; do
3269 test -f "$ac_file" || continue;
3271 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3272 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3277 $as_echo "$as_me: failed program was:" >&5
3278 sed 's/^/| /' conftest.$ac_ext >&5
3280 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3282 as_fn_error $? "cannot compute suffix of object files: cannot compile
3283 See \`config.log' for more details" "$LINENO" 5; }
3285 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3288 $as_echo "$ac_cv_objext" >&6; }
3289 OBJEXT=$ac_cv_objext
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3292 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3293 if ${ac_cv_c_compiler_gnu+:} false; then :
3294 $as_echo_n "(cached) " >&6
3296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3297 /* end confdefs.h. */
3310 if ac_fn_c_try_compile "$LINENO"; then :
3315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3316 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3320 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3321 if test $ac_compiler_gnu = yes; then
3326 ac_test_CFLAGS=${CFLAGS+set}
3327 ac_save_CFLAGS=$CFLAGS
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3329 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3330 if ${ac_cv_prog_cc_g+:} false; then :
3331 $as_echo_n "(cached) " >&6
3333 ac_save_c_werror_flag=$ac_c_werror_flag
3334 ac_c_werror_flag=yes
3337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3338 /* end confdefs.h. */
3348 if ac_fn_c_try_compile "$LINENO"; then :
3352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3353 /* end confdefs.h. */
3363 if ac_fn_c_try_compile "$LINENO"; then :
3366 ac_c_werror_flag=$ac_save_c_werror_flag
3368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3369 /* end confdefs.h. */
3379 if ac_fn_c_try_compile "$LINENO"; then :
3382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3387 ac_c_werror_flag=$ac_save_c_werror_flag
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3390 $as_echo "$ac_cv_prog_cc_g" >&6; }
3391 if test "$ac_test_CFLAGS" = set; then
3392 CFLAGS=$ac_save_CFLAGS
3393 elif test $ac_cv_prog_cc_g = yes; then
3394 if test "$GCC" = yes; then
3400 if test "$GCC" = yes; then
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3407 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3408 if ${ac_cv_prog_cc_c89+:} false; then :
3409 $as_echo_n "(cached) " >&6
3411 ac_cv_prog_cc_c89=no
3413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3414 /* end confdefs.h. */
3418 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3419 struct buf { int x; };
3420 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3421 static char *e (p, i)
3427 static char *f (char * (*g) (char **, int), char **p, ...)
3432 s = g (p, va_arg (v,int));
3437 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3438 function prototypes and stuff, but not '\xHH' hex character constants.
3439 These don't provoke an error unfortunately, instead are silently treated
3440 as 'x'. The following induces an error, until -std is added to get
3441 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3442 array size at least. It's necessary to write '\x00'==0 to get something
3443 that's true only with -std. */
3444 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3446 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3447 inside strings and character constants. */
3449 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3451 int test (int i, double x);
3452 struct s1 {int (*f) (int a);};
3453 struct s2 {int (*f) (double a);};
3454 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3460 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3465 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3466 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3468 CC="$ac_save_CC $ac_arg"
3469 if ac_fn_c_try_compile "$LINENO"; then :
3470 ac_cv_prog_cc_c89=$ac_arg
3472 rm -f core conftest.err conftest.$ac_objext
3473 test "x$ac_cv_prog_cc_c89" != "xno" && break
3475 rm -f conftest.$ac_ext
3480 case "x$ac_cv_prog_cc_c89" in
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3483 $as_echo "none needed" >&6; } ;;
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3486 $as_echo "unsupported" >&6; } ;;
3488 CC="$CC $ac_cv_prog_cc_c89"
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3490 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3492 if test "x$ac_cv_prog_cc_c89" != xno; then :
3497 ac_cpp='$CPP $CPPFLAGS'
3498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3503 ac_cpp='$CPP $CPPFLAGS'
3504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3508 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3509 if ${am_cv_prog_cc_c_o+:} false; then :
3510 $as_echo_n "(cached) " >&6
3512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3513 /* end confdefs.h. */
3523 # Make sure it works both with $CC and with simple cc.
3524 # Following AC_PROG_CC_C_O, we do the test twice because some
3525 # compilers refuse to overwrite an existing .o file with -o,
3526 # though they will create one.
3527 am_cv_prog_cc_c_o=yes
3529 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3530 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3533 (exit $ac_status); } \
3534 && test -f conftest2.$ac_objext; then
3537 am_cv_prog_cc_c_o=no
3541 rm -f core conftest*
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3545 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3546 if test "$am_cv_prog_cc_c_o" != yes; then
3547 # Losing compiler, so override with the script.
3548 # FIXME: It is wrong to rewrite CC.
3549 # But if we don't then we get into trouble of one sort or another.
3550 # A longer-term fix would be to have automake use am__CC in this case,
3551 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3552 CC="$am_aux_dir/compile $CC"
3555 ac_cpp='$CPP $CPPFLAGS'
3556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3561 depcc="$CC" am_compiler_list=
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3564 $as_echo_n "checking dependency style of $depcc... " >&6; }
3565 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3566 $as_echo_n "(cached) " >&6
3568 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3569 # We make a subdir and do the tests there. Otherwise we can end up
3570 # making bogus files that we don't know about and never remove. For
3571 # instance it was reported that on HP-UX the gcc test will end up
3572 # making a dummy file named 'D' -- because '-MD' means "put the output
3576 # Copy depcomp to subdir because otherwise we won't find it if we're
3577 # using a relative directory.
3578 cp "$am_depcomp" conftest.dir
3580 # We will build objects and dependencies in a subdirectory because
3581 # it helps to detect inapplicable dependency modes. For instance
3582 # both Tru64's cc and ICC support -MD to output dependencies as a
3583 # side effect of compilation, but ICC will put the dependencies in
3584 # the current directory while Tru64 will put them in the object
3588 am_cv_CC_dependencies_compiler_type=none
3589 if test "$am_compiler_list" = ""; then
3590 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3593 case " $depcc " in #(
3594 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3597 for depmode in $am_compiler_list; do
3598 # Setup a source with many dependencies, because some compilers
3599 # like to wrap large dependency lists on column 80 (with \), and
3600 # we should not choose a depcomp mode which is confused by this.
3602 # We need to recreate these files for each test, as the compiler may
3603 # overwrite some of them when testing with obscure command lines.
3604 # This happens at least with the AIX C compiler.
3606 for i in 1 2 3 4 5 6; do
3607 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3608 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3609 # Solaris 10 /bin/sh.
3610 echo '/* dummy */' > sub/conftst$i.h
3612 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3614 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3615 # mode. It turns out that the SunPro C++ compiler does not properly
3616 # handle '-M -o', and we need to detect this. Also, some Intel
3617 # versions had trouble with output in subdirs.
3618 am__obj=sub/conftest.${OBJEXT-o}
3619 am__minus_obj="-o $am__obj"
3622 # This depmode causes a compiler race in universal mode.
3623 test "$am__universal" = false || continue
3626 # After this tag, mechanisms are not by side-effect, so they'll
3627 # only be used when explicitly requested.
3628 if test "x$enable_dependency_tracking" = xyes; then
3634 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3635 # This compiler won't grok '-c -o', but also, the minuso test has
3636 # not run yet. These depmodes are late enough in the game, and
3637 # so weak that their functioning should not be impacted.
3638 am__obj=conftest.${OBJEXT-o}
3643 if depmode=$depmode \
3644 source=sub/conftest.c object=$am__obj \
3645 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3646 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3647 >/dev/null 2>conftest.err &&
3648 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3649 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3650 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3651 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3652 # icc doesn't choke on unknown options, it will just issue warnings
3653 # or remarks (even with -Werror). So we grep stderr for any message
3654 # that says an option was ignored or not supported.
3655 # When given -MP, icc 7.0 and 7.1 complain thusly:
3656 # icc: Command line warning: ignoring option '-M'; no argument required
3657 # The diagnosis changed in icc 8.0:
3658 # icc: Command line remark: option '-MP' not supported
3659 if (grep 'ignoring option' conftest.err ||
3660 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3661 am_cv_CC_dependencies_compiler_type=$depmode
3670 am_cv_CC_dependencies_compiler_type=none
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3675 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3676 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3679 test "x$enable_dependency_tracking" != xno \
3680 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3682 am__fastdepCC_FALSE='#'
3684 am__fastdepCC_TRUE='#'
3685 am__fastdepCC_FALSE=
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3690 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3691 if ${ac_cv_prog_cc_c99+:} false; then :
3692 $as_echo_n "(cached) " >&6
3694 ac_cv_prog_cc_c99=no
3696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3697 /* end confdefs.h. */
3699 #include <stdbool.h>
3704 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3705 #define debug(...) fprintf (stderr, __VA_ARGS__)
3706 #define showlist(...) puts (#__VA_ARGS__)
3707 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3709 test_varargs_macros (void)
3714 debug ("X = %d\n", x);
3715 showlist (The first, second, and third items.);
3716 report (x>y, "x is %d but y is %d", x, y);
3719 // Check long long types.
3720 #define BIG64 18446744073709551615ull
3721 #define BIG32 4294967295ul
3722 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3724 your preprocessor is broken;
3728 your preprocessor is broken;
3730 static long long int bignum = -9223372036854775807LL;
3731 static unsigned long long int ubignum = BIG64;
3733 struct incomplete_array
3741 const wchar_t *name;
3745 typedef const char *ccp;
3748 test_restrict (ccp restrict text)
3750 // See if C++-style comments work.
3751 // Iterate through items via the restricted pointer.
3752 // Also check for declarations in for loops.
3753 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3758 // Check varargs and va_copy.
3760 test_varargs (const char *format, ...)
3763 va_start (args, format);
3765 va_copy (args_copy, args);
3776 str = va_arg (args_copy, const char *);
3779 number = va_arg (args_copy, int);
3782 fnumber = va_arg (args_copy, double);
3797 _Bool success = false;
3800 if (test_restrict ("String literal") == 0)
3802 char *restrict newvar = "Another string";
3805 test_varargs ("s, d' f .", "string", 65, 34.234);
3806 test_varargs_macros ();
3808 // Check flexible array members.
3809 struct incomplete_array *ia =
3810 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3812 for (int i = 0; i < ia->datasize; ++i)
3813 ia->data[i] = i * 1.234;
3815 // Check named initializers.
3816 struct named_init ni = {
3818 .name = L"Test wide string",
3819 .average = 543.34343,
3824 int dynamic_array[ni.number];
3825 dynamic_array[ni.number - 1] = 543;
3827 // work around unused variable warnings
3828 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3829 || dynamic_array[ni.number - 1] != 543);
3835 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
3837 CC="$ac_save_CC $ac_arg"
3838 if ac_fn_c_try_compile "$LINENO"; then :
3839 ac_cv_prog_cc_c99=$ac_arg
3841 rm -f core conftest.err conftest.$ac_objext
3842 test "x$ac_cv_prog_cc_c99" != "xno" && break
3844 rm -f conftest.$ac_ext
3849 case "x$ac_cv_prog_cc_c99" in
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3852 $as_echo "none needed" >&6; } ;;
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3855 $as_echo "unsupported" >&6; } ;;
3857 CC="$CC $ac_cv_prog_cc_c99"
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3859 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3861 if test "x$ac_cv_prog_cc_c99" != xno; then :
3868 # Checks for header files.
3871 ac_cpp='$CPP $CPPFLAGS'
3872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3876 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3877 # On Suns, sometimes $CPP names a directory.
3878 if test -n "$CPP" && test -d "$CPP"; then
3881 if test -z "$CPP"; then
3882 if ${ac_cv_prog_CPP+:} false; then :
3883 $as_echo_n "(cached) " >&6
3885 # Double quotes because CPP needs to be expanded
3886 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3889 for ac_c_preproc_warn_flag in '' yes
3891 # Use a header file that comes with gcc, so configuring glibc
3892 # with a fresh cross-compiler works.
3893 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3894 # <limits.h> exists even on freestanding compilers.
3895 # On the NeXT, cc -E runs the code through the compiler's parser,
3896 # not just through cpp. "Syntax error" is here to catch this case.
3897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3898 /* end confdefs.h. */
3900 # include <limits.h>
3902 # include <assert.h>
3906 if ac_fn_c_try_cpp "$LINENO"; then :
3909 # Broken: fails on valid input.
3912 rm -f conftest.err conftest.i conftest.$ac_ext
3914 # OK, works on sane cases. Now check whether nonexistent headers
3915 # can be detected and how.
3916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3917 /* end confdefs.h. */
3918 #include <ac_nonexistent.h>
3920 if ac_fn_c_try_cpp "$LINENO"; then :
3921 # Broken: success on invalid input.
3924 # Passes both tests.
3928 rm -f conftest.err conftest.i conftest.$ac_ext
3931 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3932 rm -f conftest.i conftest.err conftest.$ac_ext
3933 if $ac_preproc_ok; then :
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3946 $as_echo "$CPP" >&6; }
3948 for ac_c_preproc_warn_flag in '' yes
3950 # Use a header file that comes with gcc, so configuring glibc
3951 # with a fresh cross-compiler works.
3952 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3953 # <limits.h> exists even on freestanding compilers.
3954 # On the NeXT, cc -E runs the code through the compiler's parser,
3955 # not just through cpp. "Syntax error" is here to catch this case.
3956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3957 /* end confdefs.h. */
3959 # include <limits.h>
3961 # include <assert.h>
3965 if ac_fn_c_try_cpp "$LINENO"; then :
3968 # Broken: fails on valid input.
3971 rm -f conftest.err conftest.i conftest.$ac_ext
3973 # OK, works on sane cases. Now check whether nonexistent headers
3974 # can be detected and how.
3975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3976 /* end confdefs.h. */
3977 #include <ac_nonexistent.h>
3979 if ac_fn_c_try_cpp "$LINENO"; then :
3980 # Broken: success on invalid input.
3983 # Passes both tests.
3987 rm -f conftest.err conftest.i conftest.$ac_ext
3990 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3991 rm -f conftest.i conftest.err conftest.$ac_ext
3992 if $ac_preproc_ok; then :
3995 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3996 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3997 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3998 See \`config.log' for more details" "$LINENO" 5; }
4002 ac_cpp='$CPP $CPPFLAGS'
4003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
4009 $as_echo_n "checking for X... " >&6; }
4012 # Check whether --with-x was given.
4013 if test "${with_x+set}" = set; then :
4017 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
4018 if test "x$with_x" = xno; then
4019 # The user explicitly disabled X.
4022 case $x_includes,$x_libraries in #(
4023 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
4024 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
4025 $as_echo_n "(cached) " >&6
4027 # One or both of the vars are not set, and there is no cached value.
4028 ac_x_includes=no ac_x_libraries=no
4029 rm -f -r conftest.dir
4030 if mkdir conftest.dir; then
4032 cat >Imakefile <<'_ACEOF'
4034 @echo incroot='${INCROOT}'
4036 @echo usrlibdir='${USRLIBDIR}'
4038 @echo libdir='${LIBDIR}'
4040 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
4041 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4042 for ac_var in incroot usrlibdir libdir; do
4043 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
4045 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
4046 for ac_extension in a so sl dylib la dll; do
4047 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
4048 test -f "$ac_im_libdir/libX11.$ac_extension"; then
4049 ac_im_usrlibdir=$ac_im_libdir; break
4052 # Screen out bogus values from the imake configuration. They are
4053 # bogus both because they are the default anyway, and because
4054 # using them would break gcc on systems where it needs fixed includes.
4055 case $ac_im_incroot in
4056 /usr/include) ac_x_includes= ;;
4057 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
4059 case $ac_im_usrlibdir in
4060 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
4061 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
4065 rm -f -r conftest.dir
4068 # Standard set of common directories for X headers.
4069 # Check X11 before X11Rn because it is often a symlink to the current release.
4083 /usr/local/X11/include
4084 /usr/local/X11R7/include
4085 /usr/local/X11R6/include
4086 /usr/local/X11R5/include
4087 /usr/local/X11R4/include
4089 /usr/local/include/X11
4090 /usr/local/include/X11R7
4091 /usr/local/include/X11R6
4092 /usr/local/include/X11R5
4093 /usr/local/include/X11R4
4097 /usr/XFree86/include/X11
4101 /usr/unsupported/include
4103 /usr/local/x11r5/include
4104 /usr/lpp/Xamples/include
4106 /usr/openwin/include
4107 /usr/openwin/share/include'
4109 if test "$ac_x_includes" = no; then
4110 # Guess where to find include files, by looking for Xlib.h.
4111 # First, try using that file with no special directory specified.
4112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4113 /* end confdefs.h. */
4114 #include <X11/Xlib.h>
4116 if ac_fn_c_try_cpp "$LINENO"; then :
4117 # We can compile using X headers with no special include directory.
4120 for ac_dir in $ac_x_header_dirs; do
4121 if test -r "$ac_dir/X11/Xlib.h"; then
4122 ac_x_includes=$ac_dir
4127 rm -f conftest.err conftest.i conftest.$ac_ext
4128 fi # $ac_x_includes = no
4130 if test "$ac_x_libraries" = no; then
4131 # Check for the libraries.
4132 # See if we find them without any special options.
4133 # Don't add to $LIBS permanently.
4136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4137 /* end confdefs.h. */
4138 #include <X11/Xlib.h>
4147 if ac_fn_c_try_link "$LINENO"; then :
4149 # We can link X programs with no special library path.
4153 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4155 # Don't even attempt the hair of trying to link an X program!
4156 for ac_extension in a so sl dylib la dll; do
4157 if test -r "$ac_dir/libX11.$ac_extension"; then
4158 ac_x_libraries=$ac_dir
4164 rm -f core conftest.err conftest.$ac_objext \
4165 conftest$ac_exeext conftest.$ac_ext
4166 fi # $ac_x_libraries = no
4168 case $ac_x_includes,$ac_x_libraries in #(
4170 # Didn't find X, or a directory has "'" in its name.
4171 ac_cv_have_x="have_x=no";; #(
4173 # Record where we found X for the cache.
4174 ac_cv_have_x="have_x=yes\
4175 ac_x_includes='$ac_x_includes'\
4176 ac_x_libraries='$ac_x_libraries'"
4182 eval "$ac_cv_have_x"
4185 if test "$have_x" != yes; then
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
4187 $as_echo "$have_x" >&6; }
4190 # If each of the values was on the command line, it overrides each guess.
4191 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4192 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4193 # Update the cache value to reflect the command line values.
4194 ac_cv_have_x="have_x=yes\
4195 ac_x_includes='$x_includes'\
4196 ac_x_libraries='$x_libraries'"
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
4198 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4204 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4205 if ${ac_cv_path_SED+:} false; then :
4206 $as_echo_n "(cached) " >&6
4208 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4209 for ac_i in 1 2 3 4 5 6 7; do
4210 ac_script="$ac_script$as_nl$ac_script"
4212 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4213 { ac_script=; unset ac_script;}
4214 if test -z "$SED"; then
4215 ac_path_SED_found=false
4216 # Loop through the user's path and test for each of PROGNAME-LIST
4217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4221 test -z "$as_dir" && as_dir=.
4222 for ac_prog in sed gsed; do
4223 for ac_exec_ext in '' $ac_executable_extensions; do
4224 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4225 as_fn_executable_p "$ac_path_SED" || continue
4226 # Check for GNU ac_path_SED and select it if it is found.
4227 # Check for GNU $ac_path_SED
4228 case `"$ac_path_SED" --version 2>&1` in
4230 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4233 $as_echo_n 0123456789 >"conftest.in"
4236 cat "conftest.in" "conftest.in" >"conftest.tmp"
4237 mv "conftest.tmp" "conftest.in"
4238 cp "conftest.in" "conftest.nl"
4239 $as_echo '' >> "conftest.nl"
4240 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4241 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4242 as_fn_arith $ac_count + 1 && ac_count=$as_val
4243 if test $ac_count -gt ${ac_path_SED_max-0}; then
4244 # Best one so far, save it but keep looking for a better one
4245 ac_cv_path_SED="$ac_path_SED"
4246 ac_path_SED_max=$ac_count
4248 # 10*(2^10) chars as input seems more than enough
4249 test $ac_count -gt 10 && break
4251 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4254 $ac_path_SED_found && break 3
4259 if test -z "$ac_cv_path_SED"; then
4260 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4268 $as_echo "$ac_cv_path_SED" >&6; }
4269 SED="$ac_cv_path_SED"
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4274 $as_echo_n "checking whether NLS is requested... " >&6; }
4275 # Check whether --enable-nls was given.
4276 if test "${enable_nls+set}" = set; then :
4277 enableval=$enable_nls; USE_NLS=$enableval
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4283 $as_echo "$USE_NLS" >&6; }
4288 GETTEXT_MACRO_VERSION=0.18
4293 # Prepare PATH_SEPARATOR.
4294 # The user is always right.
4295 if test "${PATH_SEPARATOR+set}" != set; then
4296 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
4297 # contains only /bin. Note that ksh looks also at the FPATH variable,
4298 # so we have to set that as well for the test.
4300 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4301 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4302 || PATH_SEPARATOR=';'
4306 # Find out how to test for executable files. Don't use a zero-byte file,
4307 # as systems may use methods other than mode bits to determine executability.
4308 cat >conf$$.file <<_ASEOF
4312 chmod +x conf$$.file
4313 if test -x conf$$.file >/dev/null 2>&1; then
4314 ac_executable_p="test -x"
4316 ac_executable_p="test -f"
4320 # Extract the first word of "msgfmt", so it can be a program name with args.
4321 set dummy msgfmt; ac_word=$2
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4323 $as_echo_n "checking for $ac_word... " >&6; }
4324 if ${ac_cv_path_MSGFMT+:} false; then :
4325 $as_echo_n "(cached) " >&6
4329 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4332 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4333 for ac_dir in $PATH; do
4335 test -z "$ac_dir" && ac_dir=.
4336 for ac_exec_ext in '' $ac_executable_extensions; do
4337 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4338 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4339 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
4340 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4341 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
4348 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
4352 MSGFMT="$ac_cv_path_MSGFMT"
4353 if test "$MSGFMT" != ":"; then
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4355 $as_echo "$MSGFMT" >&6; }
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4358 $as_echo "no" >&6; }
4361 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4362 set dummy gmsgfmt; ac_word=$2
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4364 $as_echo_n "checking for $ac_word... " >&6; }
4365 if ${ac_cv_path_GMSGFMT+:} false; then :
4366 $as_echo_n "(cached) " >&6
4370 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4377 test -z "$as_dir" && as_dir=.
4378 for ac_exec_ext in '' $ac_executable_extensions; do
4379 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4380 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4388 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4392 GMSGFMT=$ac_cv_path_GMSGFMT
4393 if test -n "$GMSGFMT"; then
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4395 $as_echo "$GMSGFMT" >&6; }
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4398 $as_echo "no" >&6; }
4403 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4404 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
4405 *) MSGFMT_015=$MSGFMT ;;
4408 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4409 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
4410 *) GMSGFMT_015=$GMSGFMT ;;
4415 # Prepare PATH_SEPARATOR.
4416 # The user is always right.
4417 if test "${PATH_SEPARATOR+set}" != set; then
4418 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
4419 # contains only /bin. Note that ksh looks also at the FPATH variable,
4420 # so we have to set that as well for the test.
4422 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4423 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4424 || PATH_SEPARATOR=';'
4428 # Find out how to test for executable files. Don't use a zero-byte file,
4429 # as systems may use methods other than mode bits to determine executability.
4430 cat >conf$$.file <<_ASEOF
4434 chmod +x conf$$.file
4435 if test -x conf$$.file >/dev/null 2>&1; then
4436 ac_executable_p="test -x"
4438 ac_executable_p="test -f"
4442 # Extract the first word of "xgettext", so it can be a program name with args.
4443 set dummy xgettext; ac_word=$2
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4445 $as_echo_n "checking for $ac_word... " >&6; }
4446 if ${ac_cv_path_XGETTEXT+:} false; then :
4447 $as_echo_n "(cached) " >&6
4451 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4454 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4455 for ac_dir in $PATH; do
4457 test -z "$ac_dir" && ac_dir=.
4458 for ac_exec_ext in '' $ac_executable_extensions; do
4459 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4460 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4461 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
4462 (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
4463 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
4470 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4474 XGETTEXT="$ac_cv_path_XGETTEXT"
4475 if test "$XGETTEXT" != ":"; then
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4477 $as_echo "$XGETTEXT" >&6; }
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4480 $as_echo "no" >&6; }
4485 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4486 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
4487 *) XGETTEXT_015=$XGETTEXT ;;
4492 # Prepare PATH_SEPARATOR.
4493 # The user is always right.
4494 if test "${PATH_SEPARATOR+set}" != set; then
4495 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
4496 # contains only /bin. Note that ksh looks also at the FPATH variable,
4497 # so we have to set that as well for the test.
4499 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4500 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4501 || PATH_SEPARATOR=';'
4505 # Find out how to test for executable files. Don't use a zero-byte file,
4506 # as systems may use methods other than mode bits to determine executability.
4507 cat >conf$$.file <<_ASEOF
4511 chmod +x conf$$.file
4512 if test -x conf$$.file >/dev/null 2>&1; then
4513 ac_executable_p="test -x"
4515 ac_executable_p="test -f"
4519 # Extract the first word of "msgmerge", so it can be a program name with args.
4520 set dummy msgmerge; ac_word=$2
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4522 $as_echo_n "checking for $ac_word... " >&6; }
4523 if ${ac_cv_path_MSGMERGE+:} false; then :
4524 $as_echo_n "(cached) " >&6
4528 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4531 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4532 for ac_dir in $PATH; do
4534 test -z "$ac_dir" && ac_dir=.
4535 for ac_exec_ext in '' $ac_executable_extensions; do
4536 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4537 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4538 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
4539 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
4546 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
4550 MSGMERGE="$ac_cv_path_MSGMERGE"
4551 if test "$MSGMERGE" != ":"; then
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4553 $as_echo "$MSGMERGE" >&6; }
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4556 $as_echo "no" >&6; }
4560 test -n "$localedir" || localedir='${datadir}/locale'
4563 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
4566 ac_config_commands="$ac_config_commands po-directories"
4570 if test "X$prefix" = "XNONE"; then
4571 acl_final_prefix="$ac_default_prefix"
4573 acl_final_prefix="$prefix"
4575 if test "X$exec_prefix" = "XNONE"; then
4576 acl_final_exec_prefix='${prefix}'
4578 acl_final_exec_prefix="$exec_prefix"
4580 acl_save_prefix="$prefix"
4581 prefix="$acl_final_prefix"
4582 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
4583 prefix="$acl_save_prefix"
4585 # Make sure we can run config.sub.
4586 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4587 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4590 $as_echo_n "checking build system type... " >&6; }
4591 if ${ac_cv_build+:} false; then :
4592 $as_echo_n "(cached) " >&6
4594 ac_build_alias=$build_alias
4595 test "x$ac_build_alias" = x &&
4596 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4597 test "x$ac_build_alias" = x &&
4598 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4599 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4600 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4604 $as_echo "$ac_cv_build" >&6; }
4605 case $ac_cv_build in
4607 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4610 ac_save_IFS=$IFS; IFS='-'
4616 # Remember, the first character of IFS is used to create $*,
4617 # except with old shells:
4620 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4624 $as_echo_n "checking host system type... " >&6; }
4625 if ${ac_cv_host+:} false; then :
4626 $as_echo_n "(cached) " >&6
4628 if test "x$host_alias" = x; then
4629 ac_cv_host=$ac_cv_build
4631 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4632 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4637 $as_echo "$ac_cv_host" >&6; }
4640 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4643 ac_save_IFS=$IFS; IFS='-'
4649 # Remember, the first character of IFS is used to create $*,
4650 # except with old shells:
4653 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4658 # Check whether --with-gnu-ld was given.
4659 if test "${with_gnu_ld+set}" = set; then :
4660 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4665 # Prepare PATH_SEPARATOR.
4666 # The user is always right.
4667 if test "${PATH_SEPARATOR+set}" != set; then
4668 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
4669 # contains only /bin. Note that ksh looks also at the FPATH variable,
4670 # so we have to set that as well for the test.
4672 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4673 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4674 || PATH_SEPARATOR=';'
4679 if test "$GCC" = yes; then
4680 # Check if gcc -print-prog-name=ld gives a path.
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4682 $as_echo_n "checking for ld used by $CC... " >&6; }
4685 # gcc leaves a trailing carriage return which upsets mingw
4686 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4688 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4691 # Accept absolute paths.
4693 re_direlt='/[^/][^/]*/\.\./'
4694 # Canonicalize the pathname of ld
4695 ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
4696 while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
4697 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4699 test -z "$LD" && LD="$ac_prog"
4702 # If it fails, then pretend we aren't using GCC.
4706 # If it is relative, then search for the first ld in PATH.
4710 elif test "$with_gnu_ld" = yes; then
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4712 $as_echo_n "checking for GNU ld... " >&6; }
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4715 $as_echo_n "checking for non-GNU ld... " >&6; }
4717 if ${acl_cv_path_LD+:} false; then :
4718 $as_echo_n "(cached) " >&6
4720 if test -z "$LD"; then
4721 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4722 for ac_dir in $PATH; do
4724 test -z "$ac_dir" && ac_dir=.
4725 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4726 acl_cv_path_LD="$ac_dir/$ac_prog"
4727 # Check to see if the program is GNU ld. I'd rather use --version,
4728 # but apparently some variants of GNU ld only accept -v.
4729 # Break only if it was the GNU/non-GNU ld that we prefer.
4730 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
4731 *GNU* | *'with BFD'*)
4732 test "$with_gnu_ld" != no && break
4735 test "$with_gnu_ld" != yes && break
4742 acl_cv_path_LD="$LD" # Let the user override the test with a path.
4746 LD="$acl_cv_path_LD"
4747 if test -n "$LD"; then
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4749 $as_echo "$LD" >&6; }
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4752 $as_echo "no" >&6; }
4754 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4756 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4757 if ${acl_cv_prog_gnu_ld+:} false; then :
4758 $as_echo_n "(cached) " >&6
4760 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4761 case `$LD -v 2>&1 </dev/null` in
4762 *GNU* | *'with BFD'*)
4763 acl_cv_prog_gnu_ld=yes
4766 acl_cv_prog_gnu_ld=no
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4771 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
4772 with_gnu_ld=$acl_cv_prog_gnu_ld
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
4778 $as_echo_n "checking for shared library run path origin... " >&6; }
4779 if ${acl_cv_rpath+:} false; then :
4780 $as_echo_n "(cached) " >&6
4783 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
4784 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
4791 $as_echo "$acl_cv_rpath" >&6; }
4793 acl_libext="$acl_cv_libext"
4794 acl_shlibext="$acl_cv_shlibext"
4795 acl_libname_spec="$acl_cv_libname_spec"
4796 acl_library_names_spec="$acl_cv_library_names_spec"
4797 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
4798 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
4799 acl_hardcode_direct="$acl_cv_hardcode_direct"
4800 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
4801 # Check whether --enable-rpath was given.
4802 if test "${enable_rpath+set}" = set; then :
4803 enableval=$enable_rpath; :
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4810 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4811 if ${ac_cv_path_GREP+:} false; then :
4812 $as_echo_n "(cached) " >&6
4814 if test -z "$GREP"; then
4815 ac_path_GREP_found=false
4816 # Loop through the user's path and test for each of PROGNAME-LIST
4817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4818 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4821 test -z "$as_dir" && as_dir=.
4822 for ac_prog in grep ggrep; do
4823 for ac_exec_ext in '' $ac_executable_extensions; do
4824 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4825 as_fn_executable_p "$ac_path_GREP" || continue
4826 # Check for GNU ac_path_GREP and select it if it is found.
4827 # Check for GNU $ac_path_GREP
4828 case `"$ac_path_GREP" --version 2>&1` in
4830 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4833 $as_echo_n 0123456789 >"conftest.in"
4836 cat "conftest.in" "conftest.in" >"conftest.tmp"
4837 mv "conftest.tmp" "conftest.in"
4838 cp "conftest.in" "conftest.nl"
4839 $as_echo 'GREP' >> "conftest.nl"
4840 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4841 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4842 as_fn_arith $ac_count + 1 && ac_count=$as_val
4843 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4844 # Best one so far, save it but keep looking for a better one
4845 ac_cv_path_GREP="$ac_path_GREP"
4846 ac_path_GREP_max=$ac_count
4848 # 10*(2^10) chars as input seems more than enough
4849 test $ac_count -gt 10 && break
4851 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4854 $ac_path_GREP_found && break 3
4859 if test -z "$ac_cv_path_GREP"; then
4860 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4863 ac_cv_path_GREP=$GREP
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4868 $as_echo "$ac_cv_path_GREP" >&6; }
4869 GREP="$ac_cv_path_GREP"
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4873 $as_echo_n "checking for egrep... " >&6; }
4874 if ${ac_cv_path_EGREP+:} false; then :
4875 $as_echo_n "(cached) " >&6
4877 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4878 then ac_cv_path_EGREP="$GREP -E"
4880 if test -z "$EGREP"; then
4881 ac_path_EGREP_found=false
4882 # Loop through the user's path and test for each of PROGNAME-LIST
4883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4884 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4887 test -z "$as_dir" && as_dir=.
4888 for ac_prog in egrep; do
4889 for ac_exec_ext in '' $ac_executable_extensions; do
4890 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4891 as_fn_executable_p "$ac_path_EGREP" || continue
4892 # Check for GNU ac_path_EGREP and select it if it is found.
4893 # Check for GNU $ac_path_EGREP
4894 case `"$ac_path_EGREP" --version 2>&1` in
4896 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4899 $as_echo_n 0123456789 >"conftest.in"
4902 cat "conftest.in" "conftest.in" >"conftest.tmp"
4903 mv "conftest.tmp" "conftest.in"
4904 cp "conftest.in" "conftest.nl"
4905 $as_echo 'EGREP' >> "conftest.nl"
4906 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4907 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4908 as_fn_arith $ac_count + 1 && ac_count=$as_val
4909 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4910 # Best one so far, save it but keep looking for a better one
4911 ac_cv_path_EGREP="$ac_path_EGREP"
4912 ac_path_EGREP_max=$ac_count
4914 # 10*(2^10) chars as input seems more than enough
4915 test $ac_count -gt 10 && break
4917 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4920 $ac_path_EGREP_found && break 3
4925 if test -z "$ac_cv_path_EGREP"; then
4926 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4929 ac_cv_path_EGREP=$EGREP
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4935 $as_echo "$ac_cv_path_EGREP" >&6; }
4936 EGREP="$ac_cv_path_EGREP"
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
4946 $as_echo_n "checking for 64-bit host... " >&6; }
4947 if ${gl_cv_solaris_64bit+:} false; then :
4948 $as_echo_n "(cached) " >&6
4950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4951 /* end confdefs.h. */
4958 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4959 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
4960 gl_cv_solaris_64bit=yes
4962 gl_cv_solaris_64bit=no
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
4969 $as_echo "$gl_cv_solaris_64bit" >&6; }
4970 if test $gl_cv_solaris_64bit = yes; then
4971 acl_libdirstem=lib/64
4973 sparc*) acl_libdirstem2=lib/sparcv9 ;;
4974 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
4979 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
4980 if test -n "$searchpath"; then
4981 acl_save_IFS="${IFS= }"; IFS=":"
4982 for searchdir in $searchpath; do
4983 if test -d "$searchdir"; then
4984 case "$searchdir" in
4985 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
4987 # Better ignore directories of this form. They are misleading.
4989 *) searchdir=`cd "$searchdir" && pwd`
4990 case "$searchdir" in
4991 */lib64 ) acl_libdirstem=lib64 ;;
5000 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
5015 acl_save_prefix="$prefix"
5016 prefix="$acl_final_prefix"
5017 acl_save_exec_prefix="$exec_prefix"
5018 exec_prefix="$acl_final_exec_prefix"
5020 eval additional_includedir=\"$includedir\"
5021 eval additional_libdir=\"$libdir\"
5023 exec_prefix="$acl_save_exec_prefix"
5024 prefix="$acl_save_prefix"
5027 # Check whether --with-libiconv-prefix was given.
5028 if test "${with_libiconv_prefix+set}" = set; then :
5029 withval=$with_libiconv_prefix;
5030 if test "X$withval" = "Xno"; then
5033 if test "X$withval" = "X"; then
5035 acl_save_prefix="$prefix"
5036 prefix="$acl_final_prefix"
5037 acl_save_exec_prefix="$exec_prefix"
5038 exec_prefix="$acl_final_exec_prefix"
5040 eval additional_includedir=\"$includedir\"
5041 eval additional_libdir=\"$libdir\"
5043 exec_prefix="$acl_save_exec_prefix"
5044 prefix="$acl_save_prefix"
5047 additional_includedir="$withval/include"
5048 additional_libdir="$withval/$acl_libdirstem"
5049 if test "$acl_libdirstem2" != "$acl_libdirstem" \
5050 && ! test -d "$withval/$acl_libdirstem"; then
5051 additional_libdir="$withval/$acl_libdirstem2"
5065 names_already_handled=
5066 names_next_round='iconv '
5067 while test -n "$names_next_round"; do
5068 names_this_round="$names_next_round"
5070 for name in $names_this_round; do
5072 for n in $names_already_handled; do
5073 if test "$n" = "$name"; then
5078 if test -z "$already_handled"; then
5079 names_already_handled="$names_already_handled $name"
5080 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
5081 eval value=\"\$HAVE_LIB$uppername\"
5082 if test -n "$value"; then
5083 if test "$value" = yes; then
5084 eval value=\"\$LIB$uppername\"
5085 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
5086 eval value=\"\$LTLIB$uppername\"
5087 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
5096 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
5097 if test -n "$acl_shlibext"; then
5098 shrext=".$acl_shlibext" # typically: shrext=.so
5102 if test $use_additional = yes; then
5103 dir="$additional_libdir"
5104 if test -n "$acl_shlibext"; then
5105 if test -f "$dir/$libname$shrext"; then
5107 found_so="$dir/$libname$shrext"
5109 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5110 ver=`(cd "$dir" && \
5111 for f in "$libname$shrext".*; do echo "$f"; done \
5112 | sed -e "s,^$libname$shrext\\\\.,," \
5113 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5114 | sed 1q ) 2>/dev/null`
5115 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5117 found_so="$dir/$libname$shrext.$ver"
5120 eval library_names=\"$acl_library_names_spec\"
5121 for f in $library_names; do
5122 if test -f "$dir/$f"; then
5131 if test "X$found_dir" = "X"; then
5132 if test -f "$dir/$libname.$acl_libext"; then
5134 found_a="$dir/$libname.$acl_libext"
5137 if test "X$found_dir" != "X"; then
5138 if test -f "$dir/$libname.la"; then
5139 found_la="$dir/$libname.la"
5143 if test "X$found_dir" = "X"; then
5144 for x in $LDFLAGS $LTLIBICONV; do
5146 acl_save_prefix="$prefix"
5147 prefix="$acl_final_prefix"
5148 acl_save_exec_prefix="$exec_prefix"
5149 exec_prefix="$acl_final_exec_prefix"
5151 exec_prefix="$acl_save_exec_prefix"
5152 prefix="$acl_save_prefix"
5156 dir=`echo "X$x" | sed -e 's/^X-L//'`
5157 if test -n "$acl_shlibext"; then
5158 if test -f "$dir/$libname$shrext"; then
5160 found_so="$dir/$libname$shrext"
5162 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5163 ver=`(cd "$dir" && \
5164 for f in "$libname$shrext".*; do echo "$f"; done \
5165 | sed -e "s,^$libname$shrext\\\\.,," \
5166 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5167 | sed 1q ) 2>/dev/null`
5168 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5170 found_so="$dir/$libname$shrext.$ver"
5173 eval library_names=\"$acl_library_names_spec\"
5174 for f in $library_names; do
5175 if test -f "$dir/$f"; then
5184 if test "X$found_dir" = "X"; then
5185 if test -f "$dir/$libname.$acl_libext"; then
5187 found_a="$dir/$libname.$acl_libext"
5190 if test "X$found_dir" != "X"; then
5191 if test -f "$dir/$libname.la"; then
5192 found_la="$dir/$libname.la"
5197 if test "X$found_dir" != "X"; then
5202 if test "X$found_dir" != "X"; then
5203 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5204 if test "X$found_so" != "X"; then
5205 if test "$enable_rpath" = no \
5206 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
5207 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
5208 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5211 for x in $ltrpathdirs; do
5212 if test "X$x" = "X$found_dir"; then
5217 if test -z "$haveit"; then
5218 ltrpathdirs="$ltrpathdirs $found_dir"
5220 if test "$acl_hardcode_direct" = yes; then
5221 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5223 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
5224 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5226 for x in $rpathdirs; do
5227 if test "X$x" = "X$found_dir"; then
5232 if test -z "$haveit"; then
5233 rpathdirs="$rpathdirs $found_dir"
5237 for x in $LDFLAGS $LIBICONV; do
5239 acl_save_prefix="$prefix"
5240 prefix="$acl_final_prefix"
5241 acl_save_exec_prefix="$exec_prefix"
5242 exec_prefix="$acl_final_exec_prefix"
5244 exec_prefix="$acl_save_exec_prefix"
5245 prefix="$acl_save_prefix"
5247 if test "X$x" = "X-L$found_dir"; then
5252 if test -z "$haveit"; then
5253 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5255 if test "$acl_hardcode_minus_L" != no; then
5256 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5258 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5264 if test "X$found_a" != "X"; then
5265 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
5267 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5270 additional_includedir=
5271 case "$found_dir" in
5272 */$acl_libdirstem | */$acl_libdirstem/)
5273 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5274 if test "$name" = 'iconv'; then
5275 LIBICONV_PREFIX="$basedir"
5277 additional_includedir="$basedir/include"
5279 */$acl_libdirstem2 | */$acl_libdirstem2/)
5280 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
5281 if test "$name" = 'iconv'; then
5282 LIBICONV_PREFIX="$basedir"
5284 additional_includedir="$basedir/include"
5287 if test "X$additional_includedir" != "X"; then
5288 if test "X$additional_includedir" != "X/usr/include"; then
5290 if test "X$additional_includedir" = "X/usr/local/include"; then
5291 if test -n "$GCC"; then
5293 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5297 if test -z "$haveit"; then
5298 for x in $CPPFLAGS $INCICONV; do
5300 acl_save_prefix="$prefix"
5301 prefix="$acl_final_prefix"
5302 acl_save_exec_prefix="$exec_prefix"
5303 exec_prefix="$acl_final_exec_prefix"
5305 exec_prefix="$acl_save_exec_prefix"
5306 prefix="$acl_save_prefix"
5308 if test "X$x" = "X-I$additional_includedir"; then
5313 if test -z "$haveit"; then
5314 if test -d "$additional_includedir"; then
5315 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5321 if test -n "$found_la"; then
5322 save_libdir="$libdir"
5324 */* | *\\*) . "$found_la" ;;
5325 *) . "./$found_la" ;;
5327 libdir="$save_libdir"
5328 for dep in $dependency_libs; do
5331 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5332 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
5333 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
5335 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
5336 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
5337 if test -n "$GCC"; then
5339 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5343 if test -z "$haveit"; then
5345 for x in $LDFLAGS $LIBICONV; do
5347 acl_save_prefix="$prefix"
5348 prefix="$acl_final_prefix"
5349 acl_save_exec_prefix="$exec_prefix"
5350 exec_prefix="$acl_final_exec_prefix"
5352 exec_prefix="$acl_save_exec_prefix"
5353 prefix="$acl_save_prefix"
5355 if test "X$x" = "X-L$additional_libdir"; then
5360 if test -z "$haveit"; then
5361 if test -d "$additional_libdir"; then
5362 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5366 for x in $LDFLAGS $LTLIBICONV; do
5368 acl_save_prefix="$prefix"
5369 prefix="$acl_final_prefix"
5370 acl_save_exec_prefix="$exec_prefix"
5371 exec_prefix="$acl_final_exec_prefix"
5373 exec_prefix="$acl_save_exec_prefix"
5374 prefix="$acl_save_prefix"
5376 if test "X$x" = "X-L$additional_libdir"; then
5381 if test -z "$haveit"; then
5382 if test -d "$additional_libdir"; then
5383 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5390 dir=`echo "X$dep" | sed -e 's/^X-R//'`
5391 if test "$enable_rpath" != no; then
5393 for x in $rpathdirs; do
5394 if test "X$x" = "X$dir"; then
5399 if test -z "$haveit"; then
5400 rpathdirs="$rpathdirs $dir"
5403 for x in $ltrpathdirs; do
5404 if test "X$x" = "X$dir"; then
5409 if test -z "$haveit"; then
5410 ltrpathdirs="$ltrpathdirs $dir"
5415 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5418 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5421 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
5422 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5428 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5429 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5435 if test "X$rpathdirs" != "X"; then
5436 if test -n "$acl_hardcode_libdir_separator"; then
5438 for found_dir in $rpathdirs; do
5439 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
5441 acl_save_libdir="$libdir"
5443 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5444 libdir="$acl_save_libdir"
5445 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5447 for found_dir in $rpathdirs; do
5448 acl_save_libdir="$libdir"
5450 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5451 libdir="$acl_save_libdir"
5452 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5456 if test "X$ltrpathdirs" != "X"; then
5457 for found_dir in $ltrpathdirs; do
5458 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
5493 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
5494 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
5495 $as_echo_n "(cached) " >&6
5497 gt_save_LIBS="$LIBS"
5498 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5500 /* end confdefs.h. */
5501 #include <CoreFoundation/CFPreferences.h>
5505 CFPreferencesCopyAppValue(NULL, NULL)
5510 if ac_fn_c_try_link "$LINENO"; then :
5511 gt_cv_func_CFPreferencesCopyAppValue=yes
5513 gt_cv_func_CFPreferencesCopyAppValue=no
5515 rm -f core conftest.err conftest.$ac_objext \
5516 conftest$ac_exeext conftest.$ac_ext
5517 LIBS="$gt_save_LIBS"
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
5520 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
5521 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
5523 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
5527 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
5528 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
5529 $as_echo_n "(cached) " >&6
5531 gt_save_LIBS="$LIBS"
5532 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5534 /* end confdefs.h. */
5535 #include <CoreFoundation/CFLocale.h>
5539 CFLocaleCopyCurrent();
5544 if ac_fn_c_try_link "$LINENO"; then :
5545 gt_cv_func_CFLocaleCopyCurrent=yes
5547 gt_cv_func_CFLocaleCopyCurrent=no
5549 rm -f core conftest.err conftest.$ac_objext \
5550 conftest$ac_exeext conftest.$ac_ext
5551 LIBS="$gt_save_LIBS"
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
5554 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
5555 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5557 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
5561 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5562 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
5574 case " $gt_needs " in
5575 *" need-formatstring-macros "*) gt_api_version=3 ;;
5576 *" need-ngettext "*) gt_api_version=2 ;;
5577 *) gt_api_version=1 ;;
5579 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
5580 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
5582 if test "$USE_NLS" = "yes"; then
5583 gt_use_preinstalled_gnugettext=no
5586 if test $gt_api_version -ge 3; then
5587 gt_revision_test_code='
5588 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
5589 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
5591 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
5594 gt_revision_test_code=
5596 if test $gt_api_version -ge 2; then
5597 gt_expression_test_code=' + * ngettext ("", "", 0)'
5599 gt_expression_test_code=
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
5603 $as_echo_n "checking for GNU gettext in libc... " >&6; }
5604 if eval \${$gt_func_gnugettext_libc+:} false; then :
5605 $as_echo_n "(cached) " >&6
5607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5608 /* end confdefs.h. */
5610 #include <libintl.h>
5611 $gt_revision_test_code
5612 extern int _nl_msg_cat_cntr;
5613 extern int *_nl_domain_bindings;
5619 bindtextdomain ("", "");
5620 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
5626 if ac_fn_c_try_link "$LINENO"; then :
5627 eval "$gt_func_gnugettext_libc=yes"
5629 eval "$gt_func_gnugettext_libc=no"
5631 rm -f core conftest.err conftest.$ac_objext \
5632 conftest$ac_exeext conftest.$ac_ext
5634 eval ac_res=\$$gt_func_gnugettext_libc
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5636 $as_echo "$ac_res" >&6; }
5638 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
5644 am_save_CPPFLAGS="$CPPFLAGS"
5646 for element in $INCICONV; do
5648 for x in $CPPFLAGS; do
5650 acl_save_prefix="$prefix"
5651 prefix="$acl_final_prefix"
5652 acl_save_exec_prefix="$exec_prefix"
5653 exec_prefix="$acl_final_exec_prefix"
5655 exec_prefix="$acl_save_exec_prefix"
5656 prefix="$acl_save_prefix"
5658 if test "X$x" = "X$element"; then
5663 if test -z "$haveit"; then
5664 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
5670 $as_echo_n "checking for iconv... " >&6; }
5671 if ${am_cv_func_iconv+:} false; then :
5672 $as_echo_n "(cached) " >&6
5675 am_cv_func_iconv="no, consider installing GNU libiconv"
5677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5678 /* end confdefs.h. */
5686 iconv_t cd = iconv_open("","");
5687 iconv(cd,NULL,NULL,NULL,NULL);
5693 if ac_fn_c_try_link "$LINENO"; then :
5694 am_cv_func_iconv=yes
5696 rm -f core conftest.err conftest.$ac_objext \
5697 conftest$ac_exeext conftest.$ac_ext
5698 if test "$am_cv_func_iconv" != yes; then
5699 am_save_LIBS="$LIBS"
5700 LIBS="$LIBS $LIBICONV"
5701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5702 /* end confdefs.h. */
5710 iconv_t cd = iconv_open("","");
5711 iconv(cd,NULL,NULL,NULL,NULL);
5717 if ac_fn_c_try_link "$LINENO"; then :
5719 am_cv_func_iconv=yes
5721 rm -f core conftest.err conftest.$ac_objext \
5722 conftest$ac_exeext conftest.$ac_ext
5723 LIBS="$am_save_LIBS"
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
5728 $as_echo "$am_cv_func_iconv" >&6; }
5729 if test "$am_cv_func_iconv" = yes; then
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
5731 $as_echo_n "checking for working iconv... " >&6; }
5732 if ${am_cv_func_iconv_works+:} false; then :
5733 $as_echo_n "(cached) " >&6
5736 am_save_LIBS="$LIBS"
5737 if test $am_cv_lib_iconv = yes; then
5738 LIBS="$LIBS $LIBICONV"
5740 if test "$cross_compiling" = yes; then :
5743 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
5744 *) am_cv_func_iconv_works="guessing yes" ;;
5748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5749 /* end confdefs.h. */
5756 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
5759 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
5760 if (cd_utf8_to_88591 != (iconv_t)(-1))
5762 static const char input[] = "\342\202\254"; /* EURO SIGN */
5764 const char *inptr = input;
5765 size_t inbytesleft = strlen (input);
5767 size_t outbytesleft = sizeof (buf);
5768 size_t res = iconv (cd_utf8_to_88591,
5769 (char **) &inptr, &inbytesleft,
5770 &outptr, &outbytesleft);
5773 iconv_close (cd_utf8_to_88591);
5776 /* Test against Solaris 10 bug: Failures are not distinguishable from
5777 successful returns. */
5779 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
5780 if (cd_ascii_to_88591 != (iconv_t)(-1))
5782 static const char input[] = "\263";
5784 const char *inptr = input;
5785 size_t inbytesleft = strlen (input);
5787 size_t outbytesleft = sizeof (buf);
5788 size_t res = iconv (cd_ascii_to_88591,
5789 (char **) &inptr, &inbytesleft,
5790 &outptr, &outbytesleft);
5793 iconv_close (cd_ascii_to_88591);
5796 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
5798 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
5799 if (cd_88591_to_utf8 != (iconv_t)(-1))
5801 static const char input[] = "\304";
5802 static char buf[2] = { (char)0xDE, (char)0xAD };
5803 const char *inptr = input;
5804 size_t inbytesleft = 1;
5806 size_t outbytesleft = 1;
5807 size_t res = iconv (cd_88591_to_utf8,
5808 (char **) &inptr, &inbytesleft,
5809 &outptr, &outbytesleft);
5810 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
5812 iconv_close (cd_88591_to_utf8);
5815 #if 0 /* This bug could be worked around by the caller. */
5816 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
5818 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
5819 if (cd_88591_to_utf8 != (iconv_t)(-1))
5821 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
5823 const char *inptr = input;
5824 size_t inbytesleft = strlen (input);
5826 size_t outbytesleft = sizeof (buf);
5827 size_t res = iconv (cd_88591_to_utf8,
5828 (char **) &inptr, &inbytesleft,
5829 &outptr, &outbytesleft);
5832 iconv_close (cd_88591_to_utf8);
5836 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
5838 if (/* Try standardized names. */
5839 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
5840 /* Try IRIX, OSF/1 names. */
5841 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
5842 /* Try AIX names. */
5843 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
5844 /* Try HP-UX names. */
5845 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
5850 if ac_fn_c_try_run "$LINENO"; then :
5851 am_cv_func_iconv_works=yes
5853 am_cv_func_iconv_works=no
5855 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5856 conftest.$ac_objext conftest.beam conftest.$ac_ext
5859 LIBS="$am_save_LIBS"
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
5863 $as_echo "$am_cv_func_iconv_works" >&6; }
5864 case "$am_cv_func_iconv_works" in
5865 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
5866 *) am_func_iconv=yes ;;
5869 am_func_iconv=no am_cv_lib_iconv=no
5871 if test "$am_func_iconv" = yes; then
5873 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
5876 if test "$am_cv_lib_iconv" = yes; then
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
5878 $as_echo_n "checking how to link with libiconv... " >&6; }
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
5880 $as_echo "$LIBICONV" >&6; }
5882 CPPFLAGS="$am_save_CPPFLAGS"
5899 acl_save_prefix="$prefix"
5900 prefix="$acl_final_prefix"
5901 acl_save_exec_prefix="$exec_prefix"
5902 exec_prefix="$acl_final_exec_prefix"
5904 eval additional_includedir=\"$includedir\"
5905 eval additional_libdir=\"$libdir\"
5907 exec_prefix="$acl_save_exec_prefix"
5908 prefix="$acl_save_prefix"
5911 # Check whether --with-libintl-prefix was given.
5912 if test "${with_libintl_prefix+set}" = set; then :
5913 withval=$with_libintl_prefix;
5914 if test "X$withval" = "Xno"; then
5917 if test "X$withval" = "X"; then
5919 acl_save_prefix="$prefix"
5920 prefix="$acl_final_prefix"
5921 acl_save_exec_prefix="$exec_prefix"
5922 exec_prefix="$acl_final_exec_prefix"
5924 eval additional_includedir=\"$includedir\"
5925 eval additional_libdir=\"$libdir\"
5927 exec_prefix="$acl_save_exec_prefix"
5928 prefix="$acl_save_prefix"
5931 additional_includedir="$withval/include"
5932 additional_libdir="$withval/$acl_libdirstem"
5933 if test "$acl_libdirstem2" != "$acl_libdirstem" \
5934 && ! test -d "$withval/$acl_libdirstem"; then
5935 additional_libdir="$withval/$acl_libdirstem2"
5949 names_already_handled=
5950 names_next_round='intl '
5951 while test -n "$names_next_round"; do
5952 names_this_round="$names_next_round"
5954 for name in $names_this_round; do
5956 for n in $names_already_handled; do
5957 if test "$n" = "$name"; then
5962 if test -z "$already_handled"; then
5963 names_already_handled="$names_already_handled $name"
5964 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
5965 eval value=\"\$HAVE_LIB$uppername\"
5966 if test -n "$value"; then
5967 if test "$value" = yes; then
5968 eval value=\"\$LIB$uppername\"
5969 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
5970 eval value=\"\$LTLIB$uppername\"
5971 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
5980 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
5981 if test -n "$acl_shlibext"; then
5982 shrext=".$acl_shlibext" # typically: shrext=.so
5986 if test $use_additional = yes; then
5987 dir="$additional_libdir"
5988 if test -n "$acl_shlibext"; then
5989 if test -f "$dir/$libname$shrext"; then
5991 found_so="$dir/$libname$shrext"
5993 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5994 ver=`(cd "$dir" && \
5995 for f in "$libname$shrext".*; do echo "$f"; done \
5996 | sed -e "s,^$libname$shrext\\\\.,," \
5997 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5998 | sed 1q ) 2>/dev/null`
5999 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6001 found_so="$dir/$libname$shrext.$ver"
6004 eval library_names=\"$acl_library_names_spec\"
6005 for f in $library_names; do
6006 if test -f "$dir/$f"; then
6015 if test "X$found_dir" = "X"; then
6016 if test -f "$dir/$libname.$acl_libext"; then
6018 found_a="$dir/$libname.$acl_libext"
6021 if test "X$found_dir" != "X"; then
6022 if test -f "$dir/$libname.la"; then
6023 found_la="$dir/$libname.la"
6027 if test "X$found_dir" = "X"; then
6028 for x in $LDFLAGS $LTLIBINTL; do
6030 acl_save_prefix="$prefix"
6031 prefix="$acl_final_prefix"
6032 acl_save_exec_prefix="$exec_prefix"
6033 exec_prefix="$acl_final_exec_prefix"
6035 exec_prefix="$acl_save_exec_prefix"
6036 prefix="$acl_save_prefix"
6040 dir=`echo "X$x" | sed -e 's/^X-L//'`
6041 if test -n "$acl_shlibext"; then
6042 if test -f "$dir/$libname$shrext"; then
6044 found_so="$dir/$libname$shrext"
6046 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6047 ver=`(cd "$dir" && \
6048 for f in "$libname$shrext".*; do echo "$f"; done \
6049 | sed -e "s,^$libname$shrext\\\\.,," \
6050 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6051 | sed 1q ) 2>/dev/null`
6052 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6054 found_so="$dir/$libname$shrext.$ver"
6057 eval library_names=\"$acl_library_names_spec\"
6058 for f in $library_names; do
6059 if test -f "$dir/$f"; then
6068 if test "X$found_dir" = "X"; then
6069 if test -f "$dir/$libname.$acl_libext"; then
6071 found_a="$dir/$libname.$acl_libext"
6074 if test "X$found_dir" != "X"; then
6075 if test -f "$dir/$libname.la"; then
6076 found_la="$dir/$libname.la"
6081 if test "X$found_dir" != "X"; then
6086 if test "X$found_dir" != "X"; then
6087 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6088 if test "X$found_so" != "X"; then
6089 if test "$enable_rpath" = no \
6090 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
6091 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
6092 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6095 for x in $ltrpathdirs; do
6096 if test "X$x" = "X$found_dir"; then
6101 if test -z "$haveit"; then
6102 ltrpathdirs="$ltrpathdirs $found_dir"
6104 if test "$acl_hardcode_direct" = yes; then
6105 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6107 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
6108 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6110 for x in $rpathdirs; do
6111 if test "X$x" = "X$found_dir"; then
6116 if test -z "$haveit"; then
6117 rpathdirs="$rpathdirs $found_dir"
6121 for x in $LDFLAGS $LIBINTL; do
6123 acl_save_prefix="$prefix"
6124 prefix="$acl_final_prefix"
6125 acl_save_exec_prefix="$exec_prefix"
6126 exec_prefix="$acl_final_exec_prefix"
6128 exec_prefix="$acl_save_exec_prefix"
6129 prefix="$acl_save_prefix"
6131 if test "X$x" = "X-L$found_dir"; then
6136 if test -z "$haveit"; then
6137 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6139 if test "$acl_hardcode_minus_L" != no; then
6140 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6142 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6148 if test "X$found_a" != "X"; then
6149 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
6151 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6154 additional_includedir=
6155 case "$found_dir" in
6156 */$acl_libdirstem | */$acl_libdirstem/)
6157 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
6158 if test "$name" = 'intl'; then
6159 LIBINTL_PREFIX="$basedir"
6161 additional_includedir="$basedir/include"
6163 */$acl_libdirstem2 | */$acl_libdirstem2/)
6164 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
6165 if test "$name" = 'intl'; then
6166 LIBINTL_PREFIX="$basedir"
6168 additional_includedir="$basedir/include"
6171 if test "X$additional_includedir" != "X"; then
6172 if test "X$additional_includedir" != "X/usr/include"; then
6174 if test "X$additional_includedir" = "X/usr/local/include"; then
6175 if test -n "$GCC"; then
6177 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6181 if test -z "$haveit"; then
6182 for x in $CPPFLAGS $INCINTL; do
6184 acl_save_prefix="$prefix"
6185 prefix="$acl_final_prefix"
6186 acl_save_exec_prefix="$exec_prefix"
6187 exec_prefix="$acl_final_exec_prefix"
6189 exec_prefix="$acl_save_exec_prefix"
6190 prefix="$acl_save_prefix"
6192 if test "X$x" = "X-I$additional_includedir"; then
6197 if test -z "$haveit"; then
6198 if test -d "$additional_includedir"; then
6199 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6205 if test -n "$found_la"; then
6206 save_libdir="$libdir"
6208 */* | *\\*) . "$found_la" ;;
6209 *) . "./$found_la" ;;
6211 libdir="$save_libdir"
6212 for dep in $dependency_libs; do
6215 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
6216 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
6217 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
6219 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
6220 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
6221 if test -n "$GCC"; then
6223 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6227 if test -z "$haveit"; then
6229 for x in $LDFLAGS $LIBINTL; do
6231 acl_save_prefix="$prefix"
6232 prefix="$acl_final_prefix"
6233 acl_save_exec_prefix="$exec_prefix"
6234 exec_prefix="$acl_final_exec_prefix"
6236 exec_prefix="$acl_save_exec_prefix"
6237 prefix="$acl_save_prefix"
6239 if test "X$x" = "X-L$additional_libdir"; then
6244 if test -z "$haveit"; then
6245 if test -d "$additional_libdir"; then
6246 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6250 for x in $LDFLAGS $LTLIBINTL; do
6252 acl_save_prefix="$prefix"
6253 prefix="$acl_final_prefix"
6254 acl_save_exec_prefix="$exec_prefix"
6255 exec_prefix="$acl_final_exec_prefix"
6257 exec_prefix="$acl_save_exec_prefix"
6258 prefix="$acl_save_prefix"
6260 if test "X$x" = "X-L$additional_libdir"; then
6265 if test -z "$haveit"; then
6266 if test -d "$additional_libdir"; then
6267 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6274 dir=`echo "X$dep" | sed -e 's/^X-R//'`
6275 if test "$enable_rpath" != no; then
6277 for x in $rpathdirs; do
6278 if test "X$x" = "X$dir"; then
6283 if test -z "$haveit"; then
6284 rpathdirs="$rpathdirs $dir"
6287 for x in $ltrpathdirs; do
6288 if test "X$x" = "X$dir"; then
6293 if test -z "$haveit"; then
6294 ltrpathdirs="$ltrpathdirs $dir"
6299 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6302 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6305 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
6306 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6312 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6313 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6319 if test "X$rpathdirs" != "X"; then
6320 if test -n "$acl_hardcode_libdir_separator"; then
6322 for found_dir in $rpathdirs; do
6323 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
6325 acl_save_libdir="$libdir"
6327 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6328 libdir="$acl_save_libdir"
6329 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6331 for found_dir in $rpathdirs; do
6332 acl_save_libdir="$libdir"
6334 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6335 libdir="$acl_save_libdir"
6336 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6340 if test "X$ltrpathdirs" != "X"; then
6341 for found_dir in $ltrpathdirs; do
6342 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6352 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
6353 if eval \${$gt_func_gnugettext_libintl+:} false; then :
6354 $as_echo_n "(cached) " >&6
6356 gt_save_CPPFLAGS="$CPPFLAGS"
6357 CPPFLAGS="$CPPFLAGS $INCINTL"
6358 gt_save_LIBS="$LIBS"
6359 LIBS="$LIBS $LIBINTL"
6360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6361 /* end confdefs.h. */
6363 #include <libintl.h>
6364 $gt_revision_test_code
6365 extern int _nl_msg_cat_cntr;
6370 const char *_nl_expand_alias (const char *);
6376 bindtextdomain ("", "");
6377 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6383 if ac_fn_c_try_link "$LINENO"; then :
6384 eval "$gt_func_gnugettext_libintl=yes"
6386 eval "$gt_func_gnugettext_libintl=no"
6388 rm -f core conftest.err conftest.$ac_objext \
6389 conftest$ac_exeext conftest.$ac_ext
6390 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
6391 LIBS="$LIBS $LIBICONV"
6392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6393 /* end confdefs.h. */
6395 #include <libintl.h>
6396 $gt_revision_test_code
6397 extern int _nl_msg_cat_cntr;
6402 const char *_nl_expand_alias (const char *);
6408 bindtextdomain ("", "");
6409 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6415 if ac_fn_c_try_link "$LINENO"; then :
6416 LIBINTL="$LIBINTL $LIBICONV"
6417 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
6418 eval "$gt_func_gnugettext_libintl=yes"
6421 rm -f core conftest.err conftest.$ac_objext \
6422 conftest$ac_exeext conftest.$ac_ext
6424 CPPFLAGS="$gt_save_CPPFLAGS"
6425 LIBS="$gt_save_LIBS"
6427 eval ac_res=\$$gt_func_gnugettext_libintl
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6429 $as_echo "$ac_res" >&6; }
6432 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
6433 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
6434 && test "$PACKAGE" != gettext-runtime \
6435 && test "$PACKAGE" != gettext-tools; }; then
6436 gt_use_preinstalled_gnugettext=yes
6445 if test -n "$INTL_MACOSX_LIBS"; then
6446 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6447 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6448 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
6449 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
6453 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6454 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6456 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6464 $as_echo_n "checking whether to use NLS... " >&6; }
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6466 $as_echo "$USE_NLS" >&6; }
6467 if test "$USE_NLS" = "yes"; then
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6469 $as_echo_n "checking where the gettext function comes from... " >&6; }
6470 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6471 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6472 gt_source="external libintl"
6477 gt_source="included intl directory"
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6480 $as_echo "$gt_source" >&6; }
6483 if test "$USE_NLS" = "yes"; then
6485 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6486 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6488 $as_echo_n "checking how to link with libintl... " >&6; }
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6490 $as_echo "$LIBINTL" >&6; }
6492 for element in $INCINTL; do
6494 for x in $CPPFLAGS; do
6496 acl_save_prefix="$prefix"
6497 prefix="$acl_final_prefix"
6498 acl_save_exec_prefix="$exec_prefix"
6499 exec_prefix="$acl_final_exec_prefix"
6501 exec_prefix="$acl_save_exec_prefix"
6502 prefix="$acl_save_prefix"
6504 if test "X$x" = "X$element"; then
6509 if test -z "$haveit"; then
6510 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6517 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6520 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
6537 ############### common
6546 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6547 if test -n "$ac_tool_prefix"; then
6548 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6549 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6551 $as_echo_n "checking for $ac_word... " >&6; }
6552 if ${ac_cv_path_PKG_CONFIG+:} false; then :
6553 $as_echo_n "(cached) " >&6
6557 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6564 test -z "$as_dir" && as_dir=.
6565 for ac_exec_ext in '' $ac_executable_extensions; do
6566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6567 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6578 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6579 if test -n "$PKG_CONFIG"; then
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6581 $as_echo "$PKG_CONFIG" >&6; }
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6584 $as_echo "no" >&6; }
6589 if test -z "$ac_cv_path_PKG_CONFIG"; then
6590 ac_pt_PKG_CONFIG=$PKG_CONFIG
6591 # Extract the first word of "pkg-config", so it can be a program name with args.
6592 set dummy pkg-config; ac_word=$2
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6594 $as_echo_n "checking for $ac_word... " >&6; }
6595 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
6596 $as_echo_n "(cached) " >&6
6598 case $ac_pt_PKG_CONFIG in
6600 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6607 test -z "$as_dir" && as_dir=.
6608 for ac_exec_ext in '' $ac_executable_extensions; do
6609 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6610 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6621 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6622 if test -n "$ac_pt_PKG_CONFIG"; then
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6624 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6627 $as_echo "no" >&6; }
6630 if test "x$ac_pt_PKG_CONFIG" = x; then
6633 case $cross_compiling:$ac_tool_warned in
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6636 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6637 ac_tool_warned=yes ;;
6639 PKG_CONFIG=$ac_pt_PKG_CONFIG
6642 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6646 if test -n "$PKG_CONFIG"; then
6647 _pkg_min_version=0.9.0
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
6649 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6650 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6652 $as_echo "yes" >&6; }
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6655 $as_echo "no" >&6; }
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
6662 $as_echo_n "checking for X11... " >&6; }
6664 if test -n "$X11_CFLAGS"; then
6665 pkg_cv_X11_CFLAGS="$X11_CFLAGS"
6666 elif test -n "$PKG_CONFIG"; then
6667 if test -n "$PKG_CONFIG" && \
6668 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
6669 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
6671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6672 test $ac_status = 0; }; then
6673 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
6674 test "x$?" != "x0" && pkg_failed=yes
6681 if test -n "$X11_LIBS"; then
6682 pkg_cv_X11_LIBS="$X11_LIBS"
6683 elif test -n "$PKG_CONFIG"; then
6684 if test -n "$PKG_CONFIG" && \
6685 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
6686 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
6688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6689 test $ac_status = 0; }; then
6690 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
6691 test "x$?" != "x0" && pkg_failed=yes
6701 if test $pkg_failed = yes; then
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6703 $as_echo "no" >&6; }
6705 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6706 _pkg_short_errors_supported=yes
6708 _pkg_short_errors_supported=no
6710 if test $_pkg_short_errors_supported = yes; then
6711 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1`
6713 X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1`
6715 # Put the nasty error message in config.log where it belongs
6716 echo "$X11_PKG_ERRORS" >&5
6718 as_fn_error $? "Package requirements (x11) were not met:
6722 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6723 installed software in a non-standard prefix.
6725 Alternatively, you may set the environment variables X11_CFLAGS
6726 and X11_LIBS to avoid the need to call pkg-config.
6727 See the pkg-config man page for more details." "$LINENO" 5
6728 elif test $pkg_failed = untried; then
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6730 $as_echo "no" >&6; }
6731 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6733 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6734 is in your PATH or set the PKG_CONFIG environment variable to the full
6737 Alternatively, you may set the environment variables X11_CFLAGS
6738 and X11_LIBS to avoid the need to call pkg-config.
6739 See the pkg-config man page for more details.
6741 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6742 See \`config.log' for more details" "$LINENO" 5; }
6744 X11_CFLAGS=$pkg_cv_X11_CFLAGS
6745 X11_LIBS=$pkg_cv_X11_LIBS
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6747 $as_echo "yes" >&6; }
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
6756 $as_echo_n "checking for XEXT... " >&6; }
6758 if test -n "$XEXT_CFLAGS"; then
6759 pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
6760 elif test -n "$PKG_CONFIG"; then
6761 if test -n "$PKG_CONFIG" && \
6762 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
6763 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
6765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6766 test $ac_status = 0; }; then
6767 pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xext" 2>/dev/null`
6768 test "x$?" != "x0" && pkg_failed=yes
6775 if test -n "$XEXT_LIBS"; then
6776 pkg_cv_XEXT_LIBS="$XEXT_LIBS"
6777 elif test -n "$PKG_CONFIG"; then
6778 if test -n "$PKG_CONFIG" && \
6779 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
6780 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
6782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6783 test $ac_status = 0; }; then
6784 pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xext" 2>/dev/null`
6785 test "x$?" != "x0" && pkg_failed=yes
6795 if test $pkg_failed = yes; then
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6797 $as_echo "no" >&6; }
6799 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6800 _pkg_short_errors_supported=yes
6802 _pkg_short_errors_supported=no
6804 if test $_pkg_short_errors_supported = yes; then
6805 XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xext" 2>&1`
6807 XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xext" 2>&1`
6809 # Put the nasty error message in config.log where it belongs
6810 echo "$XEXT_PKG_ERRORS" >&5
6812 as_fn_error $? "Package requirements (xext) were not met:
6816 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6817 installed software in a non-standard prefix.
6819 Alternatively, you may set the environment variables XEXT_CFLAGS
6820 and XEXT_LIBS to avoid the need to call pkg-config.
6821 See the pkg-config man page for more details." "$LINENO" 5
6822 elif test $pkg_failed = untried; then
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6824 $as_echo "no" >&6; }
6825 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6826 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6827 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6828 is in your PATH or set the PKG_CONFIG environment variable to the full
6831 Alternatively, you may set the environment variables XEXT_CFLAGS
6832 and XEXT_LIBS to avoid the need to call pkg-config.
6833 See the pkg-config man page for more details.
6835 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6836 See \`config.log' for more details" "$LINENO" 5; }
6838 XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
6839 XEXT_LIBS=$pkg_cv_XEXT_LIBS
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6841 $as_echo "yes" >&6; }
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
6851 $as_echo_n "checking for GTK... " >&6; }
6853 if test -n "$GTK_CFLAGS"; then
6854 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
6855 elif test -n "$PKG_CONFIG"; then
6856 if test -n "$PKG_CONFIG" && \
6857 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
6858 ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
6860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6861 test $ac_status = 0; }; then
6862 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0" 2>/dev/null`
6863 test "x$?" != "x0" && pkg_failed=yes
6870 if test -n "$GTK_LIBS"; then
6871 pkg_cv_GTK_LIBS="$GTK_LIBS"
6872 elif test -n "$PKG_CONFIG"; then
6873 if test -n "$PKG_CONFIG" && \
6874 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
6875 ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
6877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6878 test $ac_status = 0; }; then
6879 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0" 2>/dev/null`
6880 test "x$?" != "x0" && pkg_failed=yes
6890 if test $pkg_failed = yes; then
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6892 $as_echo "no" >&6; }
6894 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6895 _pkg_short_errors_supported=yes
6897 _pkg_short_errors_supported=no
6899 if test $_pkg_short_errors_supported = yes; then
6900 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0" 2>&1`
6902 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0" 2>&1`
6904 # Put the nasty error message in config.log where it belongs
6905 echo "$GTK_PKG_ERRORS" >&5
6907 as_fn_error $? "Package requirements (gtk+-3.0) were not met:
6911 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6912 installed software in a non-standard prefix.
6914 Alternatively, you may set the environment variables GTK_CFLAGS
6915 and GTK_LIBS to avoid the need to call pkg-config.
6916 See the pkg-config man page for more details." "$LINENO" 5
6917 elif test $pkg_failed = untried; then
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6919 $as_echo "no" >&6; }
6920 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6921 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6922 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6923 is in your PATH or set the PKG_CONFIG environment variable to the full
6926 Alternatively, you may set the environment variables GTK_CFLAGS
6927 and GTK_LIBS to avoid the need to call pkg-config.
6928 See the pkg-config man page for more details.
6930 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6931 See \`config.log' for more details" "$LINENO" 5; }
6933 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
6934 GTK_LIBS=$pkg_cv_GTK_LIBS
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6936 $as_echo "yes" >&6; }
6939 # ensure that only allowed headers are included
6940 GTK_CFLAGS+=" -DGTK_DISABLE_SINGLE_INCLUDES "
6941 # ensure that no gtk deprecated symbols are used
6942 GTK_CFLAGS+=" -DGDK_DISABLE_DEPRECATED "
6944 # ensure use of accessors
6945 GTK_CFLAGS+=" -DGSEAL_ENABLE "
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
6953 $as_echo_n "checking for CURL... " >&6; }
6955 if test -n "$CURL_CFLAGS"; then
6956 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
6957 elif test -n "$PKG_CONFIG"; then
6958 if test -n "$PKG_CONFIG" && \
6959 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl \""; } >&5
6960 ($PKG_CONFIG --exists --print-errors "libcurl ") 2>&5
6962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6963 test $ac_status = 0; }; then
6964 pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl " 2>/dev/null`
6965 test "x$?" != "x0" && pkg_failed=yes
6972 if test -n "$CURL_LIBS"; then
6973 pkg_cv_CURL_LIBS="$CURL_LIBS"
6974 elif test -n "$PKG_CONFIG"; then
6975 if test -n "$PKG_CONFIG" && \
6976 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl \""; } >&5
6977 ($PKG_CONFIG --exists --print-errors "libcurl ") 2>&5
6979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6980 test $ac_status = 0; }; then
6981 pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl " 2>/dev/null`
6982 test "x$?" != "x0" && pkg_failed=yes
6992 if test $pkg_failed = yes; then
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6994 $as_echo "no" >&6; }
6996 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6997 _pkg_short_errors_supported=yes
6999 _pkg_short_errors_supported=no
7001 if test $_pkg_short_errors_supported = yes; then
7002 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl " 2>&1`
7004 CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl " 2>&1`
7006 # Put the nasty error message in config.log where it belongs
7007 echo "$CURL_PKG_ERRORS" >&5
7009 as_fn_error $? "Package requirements (libcurl ) were not met:
7013 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7014 installed software in a non-standard prefix.
7016 Alternatively, you may set the environment variables CURL_CFLAGS
7017 and CURL_LIBS to avoid the need to call pkg-config.
7018 See the pkg-config man page for more details." "$LINENO" 5
7019 elif test $pkg_failed = untried; then
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7021 $as_echo "no" >&6; }
7022 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7024 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
7025 is in your PATH or set the PKG_CONFIG environment variable to the full
7028 Alternatively, you may set the environment variables CURL_CFLAGS
7029 and CURL_LIBS to avoid the need to call pkg-config.
7030 See the pkg-config man page for more details.
7032 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7033 See \`config.log' for more details" "$LINENO" 5; }
7035 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
7036 CURL_LIBS=$pkg_cv_CURL_LIBS
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7038 $as_echo "yes" >&6; }
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
7049 $as_echo_n "checking for JSON... " >&6; }
7051 if test -n "$JSON_CFLAGS"; then
7052 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
7053 elif test -n "$PKG_CONFIG"; then
7054 if test -n "$PKG_CONFIG" && \
7055 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
7056 ($PKG_CONFIG --exists --print-errors "json") 2>&5
7058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7059 test $ac_status = 0; }; then
7060 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json" 2>/dev/null`
7061 test "x$?" != "x0" && pkg_failed=yes
7068 if test -n "$JSON_LIBS"; then
7069 pkg_cv_JSON_LIBS="$JSON_LIBS"
7070 elif test -n "$PKG_CONFIG"; then
7071 if test -n "$PKG_CONFIG" && \
7072 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
7073 ($PKG_CONFIG --exists --print-errors "json") 2>&5
7075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7076 test $ac_status = 0; }; then
7077 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json" 2>/dev/null`
7078 test "x$?" != "x0" && pkg_failed=yes
7088 if test $pkg_failed = yes; then
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7090 $as_echo "no" >&6; }
7092 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7093 _pkg_short_errors_supported=yes
7095 _pkg_short_errors_supported=no
7097 if test $_pkg_short_errors_supported = yes; then
7098 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json" 2>&1`
7100 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json" 2>&1`
7102 # Put the nasty error message in config.log where it belongs
7103 echo "$JSON_PKG_ERRORS" >&5
7105 as_fn_error $? "Package requirements (json) were not met:
7109 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7110 installed software in a non-standard prefix.
7112 Alternatively, you may set the environment variables JSON_CFLAGS
7113 and JSON_LIBS to avoid the need to call pkg-config.
7114 See the pkg-config man page for more details." "$LINENO" 5
7115 elif test $pkg_failed = untried; then
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7117 $as_echo "no" >&6; }
7118 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7119 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7120 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
7121 is in your PATH or set the PKG_CONFIG environment variable to the full
7124 Alternatively, you may set the environment variables JSON_CFLAGS
7125 and JSON_LIBS to avoid the need to call pkg-config.
7126 See the pkg-config man page for more details.
7128 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7129 See \`config.log' for more details" "$LINENO" 5; }
7131 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
7132 JSON_LIBS=$pkg_cv_JSON_LIBS
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7134 $as_echo "yes" >&6; }
7143 # Check whether --enable-schemas-compile was given.
7144 if test "${enable_schemas_compile+set}" = set; then :
7145 enableval=$enable_schemas_compile; case ${enableval} in
7146 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
7147 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
7148 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
7160 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7161 if test -n "$ac_tool_prefix"; then
7162 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7163 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7165 $as_echo_n "checking for $ac_word... " >&6; }
7166 if ${ac_cv_path_PKG_CONFIG+:} false; then :
7167 $as_echo_n "(cached) " >&6
7171 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7178 test -z "$as_dir" && as_dir=.
7179 for ac_exec_ext in '' $ac_executable_extensions; do
7180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7181 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7192 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7193 if test -n "$PKG_CONFIG"; then
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7195 $as_echo "$PKG_CONFIG" >&6; }
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7198 $as_echo "no" >&6; }
7203 if test -z "$ac_cv_path_PKG_CONFIG"; then
7204 ac_pt_PKG_CONFIG=$PKG_CONFIG
7205 # Extract the first word of "pkg-config", so it can be a program name with args.
7206 set dummy pkg-config; ac_word=$2
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7208 $as_echo_n "checking for $ac_word... " >&6; }
7209 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
7210 $as_echo_n "(cached) " >&6
7212 case $ac_pt_PKG_CONFIG in
7214 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
7217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7221 test -z "$as_dir" && as_dir=.
7222 for ac_exec_ext in '' $ac_executable_extensions; do
7223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7224 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7235 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
7236 if test -n "$ac_pt_PKG_CONFIG"; then
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
7238 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7241 $as_echo "no" >&6; }
7244 if test "x$ac_pt_PKG_CONFIG" = x; then
7247 case $cross_compiling:$ac_tool_warned in
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7250 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7251 ac_tool_warned=yes ;;
7253 PKG_CONFIG=$ac_pt_PKG_CONFIG
7256 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
7260 if test -n "$PKG_CONFIG"; then
7261 _pkg_min_version=0.16
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
7263 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
7264 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7266 $as_echo "yes" >&6; }
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7269 $as_echo "no" >&6; }
7273 gsettingsschemadir=${datadir}/glib-2.0/schemas
7275 if test x$cross_compiling != xyes; then
7276 GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
7278 # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
7279 set dummy glib-compile-schemas; ac_word=$2
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7281 $as_echo_n "checking for $ac_word... " >&6; }
7282 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
7283 $as_echo_n "(cached) " >&6
7285 case $GLIB_COMPILE_SCHEMAS in
7287 ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
7290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7294 test -z "$as_dir" && as_dir=.
7295 for ac_exec_ext in '' $ac_executable_extensions; do
7296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7297 ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
7298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7308 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
7309 if test -n "$GLIB_COMPILE_SCHEMAS"; then
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
7311 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7314 $as_echo "no" >&6; }
7320 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
7321 as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
7327 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
7329 mostlyclean-am: clean-gsettings-schemas
7331 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
7333 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
7334 $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p $(@D) && touch $@
7336 all-am: $(gsettings_SCHEMAS:.xml=.valid)
7337 uninstall-am: uninstall-gsettings-schemas
7338 install-data-am: install-gsettings-schemas
7340 .SECONDARY: $(gsettings_SCHEMAS)
7342 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
7344 if test -n "$^"; then \
7345 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
7346 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
7347 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
7350 uninstall-gsettings-schemas:
7351 @$(NORMAL_UNINSTALL)
7352 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
7353 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
7354 test -n "$$files" || exit 0; \
7355 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
7356 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
7357 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
7359 clean-gsettings-schemas:
7360 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
7362 ifdef gsettings_ENUM_NAMESPACE
7363 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
7364 $(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 $@
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
7378 $as_echo_n "checking for WEBKIT... " >&6; }
7380 if test -n "$WEBKIT_CFLAGS"; then
7381 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
7382 elif test -n "$PKG_CONFIG"; then
7383 if test -n "$PKG_CONFIG" && \
7384 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkitgtk-3.0\""; } >&5
7385 ($PKG_CONFIG --exists --print-errors "webkitgtk-3.0") 2>&5
7387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7388 test $ac_status = 0; }; then
7389 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkitgtk-3.0" 2>/dev/null`
7390 test "x$?" != "x0" && pkg_failed=yes
7397 if test -n "$WEBKIT_LIBS"; then
7398 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
7399 elif test -n "$PKG_CONFIG"; then
7400 if test -n "$PKG_CONFIG" && \
7401 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkitgtk-3.0\""; } >&5
7402 ($PKG_CONFIG --exists --print-errors "webkitgtk-3.0") 2>&5
7404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7405 test $ac_status = 0; }; then
7406 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkitgtk-3.0" 2>/dev/null`
7407 test "x$?" != "x0" && pkg_failed=yes
7417 if test $pkg_failed = yes; then
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7419 $as_echo "no" >&6; }
7421 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7422 _pkg_short_errors_supported=yes
7424 _pkg_short_errors_supported=no
7426 if test $_pkg_short_errors_supported = yes; then
7427 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "webkitgtk-3.0" 2>&1`
7429 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "webkitgtk-3.0" 2>&1`
7431 # Put the nasty error message in config.log where it belongs
7432 echo "$WEBKIT_PKG_ERRORS" >&5
7434 as_fn_error $? "Package requirements (webkitgtk-3.0) were not met:
7438 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7439 installed software in a non-standard prefix.
7441 Alternatively, you may set the environment variables WEBKIT_CFLAGS
7442 and WEBKIT_LIBS to avoid the need to call pkg-config.
7443 See the pkg-config man page for more details." "$LINENO" 5
7444 elif test $pkg_failed = untried; then
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7446 $as_echo "no" >&6; }
7447 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7449 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
7450 is in your PATH or set the PKG_CONFIG environment variable to the full
7453 Alternatively, you may set the environment variables WEBKIT_CFLAGS
7454 and WEBKIT_LIBS to avoid the need to call pkg-config.
7455 See the pkg-config man page for more details.
7457 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7458 See \`config.log' for more details" "$LINENO" 5; }
7460 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
7461 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7463 $as_echo "yes" >&6; }
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7471 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7472 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
7473 $as_echo_n "(cached) " >&6
7475 ac_check_lib_save_LIBS=$LIBS
7476 LIBS="-lpthread $LIBS"
7477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7478 /* end confdefs.h. */
7480 /* Override any GCC internal prototype to avoid an error.
7481 Use char because int might match the return type of a GCC
7482 builtin and then its argument prototype would still apply. */
7486 char pthread_create ();
7490 return pthread_create ();
7495 if ac_fn_c_try_link "$LINENO"; then :
7496 ac_cv_lib_pthread_pthread_create=yes
7498 ac_cv_lib_pthread_pthread_create=no
7500 rm -f core conftest.err conftest.$ac_objext \
7501 conftest$ac_exeext conftest.$ac_ext
7502 LIBS=$ac_check_lib_save_LIBS
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7505 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7506 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
7507 cat >>confdefs.h <<_ACEOF
7508 #define HAVE_LIBPTHREAD 1
7511 LIBS="-lpthread $LIBS"
7515 PTHREAD_LIBS=-pthread
7518 ac_config_files="$ac_config_files Makefile doc/Makefile icons/hicolor/scalable/Makefile po/Makefile.in src/Makefile src/glade/Makefile tests/Makefile"
7521 for ac_prog in help2man
7523 # Extract the first word of "$ac_prog", so it can be a program name with args.
7524 set dummy $ac_prog; ac_word=$2
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7526 $as_echo_n "checking for $ac_word... " >&6; }
7527 if ${ac_cv_prog_HELP2MAN+:} false; then :
7528 $as_echo_n "(cached) " >&6
7530 if test -n "$HELP2MAN"; then
7531 ac_cv_prog_HELP2MAN="$HELP2MAN" # Let the user override the test.
7533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7537 test -z "$as_dir" && as_dir=.
7538 for ac_exec_ext in '' $ac_executable_extensions; do
7539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7540 ac_cv_prog_HELP2MAN="$ac_prog"
7541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7550 HELP2MAN=$ac_cv_prog_HELP2MAN
7551 if test -n "$HELP2MAN"; then
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5
7553 $as_echo "$HELP2MAN" >&6; }
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7556 $as_echo "no" >&6; }
7560 test -n "$HELP2MAN" && break
7564 # Extract the first word of "cppcheck", so it can be a program name with args.
7565 set dummy cppcheck; ac_word=$2
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7567 $as_echo_n "checking for $ac_word... " >&6; }
7568 if ${ac_cv_prog_HAVE_CPPCHECK+:} false; then :
7569 $as_echo_n "(cached) " >&6
7571 if test -n "$HAVE_CPPCHECK"; then
7572 ac_cv_prog_HAVE_CPPCHECK="$HAVE_CPPCHECK" # Let the user override the test.
7574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7578 test -z "$as_dir" && as_dir=.
7579 for ac_exec_ext in '' $ac_executable_extensions; do
7580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7581 ac_cv_prog_HAVE_CPPCHECK="yes"
7582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7591 HAVE_CPPCHECK=$ac_cv_prog_HAVE_CPPCHECK
7592 if test -n "$HAVE_CPPCHECK"; then
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CPPCHECK" >&5
7594 $as_echo "$HAVE_CPPCHECK" >&6; }
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7597 $as_echo "no" >&6; }
7601 if test -n "$HAVE_CPPCHECK"; then
7610 cat >confcache <<\_ACEOF
7611 # This file is a shell script that caches the results of configure
7612 # tests run on this system so they can be shared between configure
7613 # scripts and configure runs, see configure's option --config-cache.
7614 # It is not useful on other systems. If it contains results you don't
7615 # want to keep, you may remove or edit it.
7617 # config.status only pays attention to the cache file if you give it
7618 # the --recheck option to rerun configure.
7620 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7621 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7626 # The following way of writing the cache mishandles newlines in values,
7627 # but we know of no workaround that is simple, portable, and efficient.
7628 # So, we kill variables containing newlines.
7629 # Ultrix sh set writes to stderr and can't be redirected directly,
7630 # and sets the high bit in the cache file unless we assign to the vars.
7632 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7633 eval ac_val=\$$ac_var
7637 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7638 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7641 _ | IFS | as_nl) ;; #(
7642 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7643 *) { eval $ac_var=; unset $ac_var;} ;;
7649 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7650 *${as_nl}ac_space=\ *)
7651 # `set' does not quote correctly, so add quotes: double-quote
7652 # substitution turns \\\\ into \\, and sed turns \\ into \.
7655 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7658 # `set' quotes correctly as required by POSIX, so do not add quotes.
7659 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7668 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7670 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7672 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7673 if test -w "$cache_file"; then
7674 if test "x$cache_file" != "x/dev/null"; then
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7676 $as_echo "$as_me: updating cache $cache_file" >&6;}
7677 if test ! -f "$cache_file" || test -h "$cache_file"; then
7678 cat confcache >"$cache_file"
7680 case $cache_file in #(
7682 mv -f confcache "$cache_file"$$ &&
7683 mv -f "$cache_file"$$ "$cache_file" ;; #(
7685 mv -f confcache "$cache_file" ;;
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7691 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7696 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7697 # Let make expand exec_prefix.
7698 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7700 DEFS=-DHAVE_CONFIG_H
7705 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7706 # 1. Remove the extension, and $U if already installed.
7707 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7708 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7709 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7710 # will be set to the directory where LIBOBJS objects are built.
7711 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7712 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7716 LTLIBOBJS=$ac_ltlibobjs
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
7720 $as_echo_n "checking that generated files are newer than configure... " >&6; }
7721 if test -n "$am_sleep_pid"; then
7722 # Hide warnings about reused PIDs.
7723 wait $am_sleep_pid 2>/dev/null
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
7726 $as_echo "done" >&6; }
7727 if test -n "$EXEEXT"; then
7729 am__EXEEXT_FALSE='#'
7735 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7736 as_fn_error $? "conditional \"AMDEP\" was never defined.
7737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7739 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7740 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
7741 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7743 if test -z "${CPPCHECK_TRUE}" && test -z "${CPPCHECK_FALSE}"; then
7744 as_fn_error $? "conditional \"CPPCHECK\" was never defined.
7745 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7748 : "${CONFIG_STATUS=./config.status}"
7750 ac_clean_files_save=$ac_clean_files
7751 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7753 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7755 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7757 # Generated by $as_me.
7758 # Run this file to recreate the current configuration.
7759 # Compiler output produced by configure, useful for debugging
7760 # configure, is in config.log if it exists.
7766 SHELL=\${CONFIG_SHELL-$SHELL}
7769 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7770 ## -------------------- ##
7771 ## M4sh Initialization. ##
7772 ## -------------------- ##
7774 # Be more Bourne compatible
7775 DUALCASE=1; export DUALCASE # for MKS sh
7776 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7779 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7780 # is contrary to our usage. Disable this feature.
7781 alias -g '${1+"$@"}'='"$@"'
7782 setopt NO_GLOB_SUBST
7784 case `(set -o) 2>/dev/null` in #(
7796 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7797 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7798 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7799 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7800 # Prefer a ksh shell builtin over an external printf program on Solaris,
7801 # but without wasting forks for bash or zsh.
7802 if test -z "$BASH_VERSION$ZSH_VERSION" \
7803 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7804 as_echo='print -r --'
7805 as_echo_n='print -rn --'
7806 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7807 as_echo='printf %s\n'
7808 as_echo_n='printf %s'
7810 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7811 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7812 as_echo_n='/usr/ucb/echo -n'
7814 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7815 as_echo_n_body='eval
7819 expr "X$arg" : "X\\(.*\\)$as_nl";
7820 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7822 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7824 export as_echo_n_body
7825 as_echo_n='sh -c $as_echo_n_body as_echo'
7828 as_echo='sh -c $as_echo_body as_echo'
7831 # The user is always right.
7832 if test "${PATH_SEPARATOR+set}" != set; then
7834 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7835 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7842 # We need space, tab and new line, in precisely that order. Quoting is
7843 # there to prevent editors from complaining about space-tab.
7844 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7845 # splitting by setting IFS to empty value.)
7848 # Find who we are. Look in the path if we contain no directory separator.
7851 *[\\/]* ) as_myself=$0 ;;
7852 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7856 test -z "$as_dir" && as_dir=.
7857 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7863 # We did not find ourselves, most probably we were run as `sh COMMAND'
7864 # in which case we are not to be found in the path.
7865 if test "x$as_myself" = x; then
7868 if test ! -f "$as_myself"; then
7869 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7873 # Unset variables that we do not need and which cause bugs (e.g. in
7874 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7875 # suppresses any "Segmentation fault" message there. '((' could
7876 # trigger a bug in pdksh 5.2.14.
7877 for as_var in BASH_ENV ENV MAIL MAILPATH
7878 do eval test x\${$as_var+set} = xset \
7879 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7892 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7895 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7896 # ----------------------------------------
7897 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7898 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7899 # script with STATUS, using 1 if that was 0.
7902 as_status=$1; test $as_status -eq 0 && as_status=1
7904 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7905 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7907 $as_echo "$as_me: error: $2" >&2
7908 as_fn_exit $as_status
7912 # as_fn_set_status STATUS
7913 # -----------------------
7914 # Set $? to STATUS, without forking.
7918 } # as_fn_set_status
7922 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7932 # Portably unset VAR.
7935 { eval $1=; unset $1;}
7937 as_unset=as_fn_unset
7938 # as_fn_append VAR VALUE
7939 # ----------------------
7940 # Append the text in VALUE to the end of the definition contained in VAR. Take
7941 # advantage of any shell optimizations that allow amortized linear growth over
7942 # repeated appends, instead of the typical quadratic growth present in naive
7944 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7945 eval 'as_fn_append ()
7956 # as_fn_arith ARG...
7957 # ------------------
7958 # Perform arithmetic evaluation on the ARGs, and store the result in the
7959 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7960 # must be portable across $(()) and expr.
7961 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7962 eval 'as_fn_arith ()
7969 as_val=`expr "$@" || test $? -eq 1`
7974 if expr a : '\(a\)' >/dev/null 2>&1 &&
7975 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7981 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7982 as_basename=basename
7987 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7993 as_me=`$as_basename -- "$0" ||
7994 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7995 X"$0" : 'X\(//\)$' \| \
7996 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7998 sed '/^.*\/\([^/][^/]*\)\/*$/{
8012 # Avoid depending upon Character Ranges.
8013 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8014 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8015 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8016 as_cr_digits='0123456789'
8017 as_cr_alnum=$as_cr_Letters$as_cr_digits
8019 ECHO_C= ECHO_N= ECHO_T=
8020 case `echo -n x` in #(((((
8022 case `echo 'xy\c'` in
8023 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8025 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
8032 rm -f conf$$ conf$$.exe conf$$.file
8033 if test -d conf$$.dir; then
8034 rm -f conf$$.dir/conf$$.file
8037 mkdir conf$$.dir 2>/dev/null
8039 if (echo >conf$$.file) 2>/dev/null; then
8040 if ln -s conf$$.file conf$$ 2>/dev/null; then
8042 # ... but there are two gotchas:
8043 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8044 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8045 # In both cases, we have to default to `cp -pR'.
8046 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8048 elif ln conf$$.file conf$$ 2>/dev/null; then
8056 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8057 rmdir conf$$.dir 2>/dev/null
8062 # Create "$as_dir" as a directory, including parents if necessary.
8067 -*) as_dir=./$as_dir;;
8069 test -d "$as_dir" || eval $as_mkdir_p || {
8073 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8074 *) as_qdir=$as_dir;;
8076 as_dirs="'$as_qdir' $as_dirs"
8077 as_dir=`$as_dirname -- "$as_dir" ||
8078 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8079 X"$as_dir" : 'X\(//\)[^/]' \| \
8080 X"$as_dir" : 'X\(//\)$' \| \
8081 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8082 $as_echo X"$as_dir" |
8083 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8100 test -d "$as_dir" && break
8102 test -z "$as_dirs" || eval "mkdir $as_dirs"
8103 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
8107 if mkdir -p . 2>/dev/null; then
8108 as_mkdir_p='mkdir -p "$as_dir"'
8110 test -d ./-p && rmdir ./-p
8115 # as_fn_executable_p FILE
8116 # -----------------------
8117 # Test if FILE is an executable regular file.
8118 as_fn_executable_p ()
8120 test -f "$1" && test -x "$1"
8121 } # as_fn_executable_p
8123 as_executable_p=as_fn_executable_p
8125 # Sed expression to map a string onto a valid CPP name.
8126 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8128 # Sed expression to map a string onto a valid variable name.
8129 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8133 ## ----------------------------------- ##
8134 ## Main body of $CONFIG_STATUS script. ##
8135 ## ----------------------------------- ##
8137 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8140 # Save the log message, to keep $0 and so on meaningful, and to
8141 # report actual input values of CONFIG_FILES etc. instead of their
8142 # values after options handling.
8144 This file was extended by prss $as_me 0.0.x, which was
8145 generated by GNU Autoconf 2.69. Invocation command line was
8147 CONFIG_FILES = $CONFIG_FILES
8148 CONFIG_HEADERS = $CONFIG_HEADERS
8149 CONFIG_LINKS = $CONFIG_LINKS
8150 CONFIG_COMMANDS = $CONFIG_COMMANDS
8153 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8158 case $ac_config_files in *"
8159 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8162 case $ac_config_headers in *"
8163 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
8167 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8168 # Files that config.status was made for.
8169 config_files="$ac_config_files"
8170 config_headers="$ac_config_headers"
8171 config_commands="$ac_config_commands"
8175 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8177 \`$as_me' instantiates files and other configuration actions
8178 from templates according to the current configuration. Unless the files
8179 and actions are specified as TAGs, all are instantiated by default.
8181 Usage: $0 [OPTION]... [TAG]...
8183 -h, --help print this help, then exit
8184 -V, --version print version number and configuration settings, then exit
8185 --config print configuration, then exit
8186 -q, --quiet, --silent
8187 do not print progress messages
8188 -d, --debug don't remove temporary files
8189 --recheck update $as_me by reconfiguring in the same conditions
8190 --file=FILE[:TEMPLATE]
8191 instantiate the configuration file FILE
8192 --header=FILE[:TEMPLATE]
8193 instantiate the configuration header FILE
8195 Configuration files:
8198 Configuration headers:
8201 Configuration commands:
8204 Report bugs to <jeanfi@gmail.com>.
8205 prss home page: <http://wpitchoune.net/prss>."
8208 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8209 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8211 prss config.status 0.0.x
8212 configured by $0, generated by GNU Autoconf 2.69,
8213 with options \\"\$ac_cs_config\\"
8215 Copyright (C) 2012 Free Software Foundation, Inc.
8216 This config.status script is free software; the Free Software Foundation
8217 gives unlimited permission to copy, distribute and modify it."
8224 test -n "\$AWK" || AWK=awk
8227 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8228 # The default lists apply if the user does not specify any file.
8234 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8235 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8239 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8251 # Handling of the options.
8252 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8254 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8255 $as_echo "$ac_cs_version"; exit ;;
8256 --config | --confi | --conf | --con | --co | --c )
8257 $as_echo "$ac_cs_config"; exit ;;
8258 --debug | --debu | --deb | --de | --d | -d )
8260 --file | --fil | --fi | --f )
8263 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8264 '') as_fn_error $? "missing file argument" ;;
8266 as_fn_append CONFIG_FILES " '$ac_optarg'"
8267 ac_need_defaults=false;;
8268 --header | --heade | --head | --hea )
8271 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8273 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8274 ac_need_defaults=false;;
8276 # Conflict between --help and --header
8277 as_fn_error $? "ambiguous option: \`$1'
8278 Try \`$0 --help' for more information.";;
8279 --help | --hel | -h )
8280 $as_echo "$ac_cs_usage"; exit ;;
8281 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8282 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8286 -*) as_fn_error $? "unrecognized option: \`$1'
8287 Try \`$0 --help' for more information." ;;
8289 *) as_fn_append ac_config_targets " $1"
8290 ac_need_defaults=false ;;
8296 ac_configure_extra_args=
8298 if $ac_cs_silent; then
8300 ac_configure_extra_args="$ac_configure_extra_args --silent"
8304 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8305 if \$ac_cs_recheck; then
8306 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8308 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8309 CONFIG_SHELL='$SHELL'
8315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8319 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8320 ## Running $as_me. ##
8326 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8330 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8331 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
8332 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
8333 # from automake < 1.5.
8334 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
8335 # Capture the value of LINGUAS because we need it to compute CATALOGS.
8336 LINGUAS="${LINGUAS-%UNSET%}"
8341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8343 # Handling of arguments.
8344 for ac_config_target in $ac_config_targets
8346 case $ac_config_target in
8347 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8348 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8349 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
8350 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8351 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
8352 "icons/hicolor/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/scalable/Makefile" ;;
8353 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
8354 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8355 "src/glade/Makefile") CONFIG_FILES="$CONFIG_FILES src/glade/Makefile" ;;
8356 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
8358 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8363 # If the user did not use the arguments to specify the items to instantiate,
8364 # then the envvar interface is used. Set only those that are not.
8365 # We use the long form for the default assignment because of an extremely
8366 # bizarre bug on SunOS 4.1.3.
8367 if $ac_need_defaults; then
8368 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8369 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8370 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8373 # Have a temporary directory for convenience. Make it in the build tree
8374 # simply because there is no reason against having it here, and in addition,
8375 # creating and moving files from /tmp can sometimes cause problems.
8376 # Hook for its removal unless debugging.
8377 # Note that there is a small window in which the directory will not be cleaned:
8378 # after its creation but before its name has been assigned to `$tmp'.
8382 trap 'exit_status=$?
8384 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8386 trap 'as_fn_exit 1' 1 2 13 15
8388 # Create a (secure) tmp directory for tmp files.
8391 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8395 tmp=./conf$$-$RANDOM
8396 (umask 077 && mkdir "$tmp")
8397 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8400 # Set up the scripts for CONFIG_FILES section.
8401 # No need to generate them if there are no CONFIG_FILES.
8402 # This happens for instance with `./config.status config.h'.
8403 if test -n "$CONFIG_FILES"; then
8406 ac_cr=`echo X | tr X '\015'`
8407 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8408 # But we know of no other shell where ac_cr would be empty at this
8409 # point, so we can use a bashism as a fallback.
8410 if test "x$ac_cr" = x; then
8411 eval ac_cr=\$\'\\r\'
8413 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8414 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8420 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8425 echo "cat >conf$$subs.awk <<_ACEOF" &&
8426 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8429 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8430 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8432 for ac_last_try in false false false false false :; do
8433 . ./conf$$subs.sh ||
8434 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8436 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8437 if test $ac_delim_n = $ac_delim_num; then
8439 elif $ac_last_try; then
8440 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8442 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8447 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8448 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8452 s/^/S["/; s/!.*/"]=/
8462 s/\(.\{148\}\)..*/\1/
8464 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8469 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8476 s/\(.\{148\}\)..*/\1/
8478 s/["\\]/\\&/g; s/^/"/; s/$/"/
8482 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8487 ' <conf$$subs.awk | sed '
8492 ' >>$CONFIG_STATUS || ac_write_fail=1
8493 rm -f conf$$subs.awk
8494 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8496 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8497 for (key in S) S_is_set[key] = 1
8503 nfields = split(line, field, "@")
8505 len = length(field[1])
8506 for (i = 2; i < nfields; i++) {
8508 keylen = length(key)
8509 if (S_is_set[key]) {
8511 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8512 len += length(value) + length(field[++i])
8523 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8524 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8525 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8528 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8529 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8532 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8533 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8534 # trailing colons and then remove the whole line if VPATH becomes empty
8535 # (actually we leave an empty line to preserve line numbers).
8536 if test "x$srcdir" = x.; then
8537 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8556 fi # test -n "$CONFIG_FILES"
8558 # Set up the scripts for CONFIG_HEADERS section.
8559 # No need to generate them if there are no CONFIG_HEADERS.
8560 # This happens for instance with `./config.status Makefile'.
8561 if test -n "$CONFIG_HEADERS"; then
8562 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
8566 # Transform confdefs.h into an awk script `defines.awk', embedded as
8567 # here-document in config.status, that substitutes the proper values into
8568 # config.h.in to produce config.h.
8570 # Create a delimiter string that does not exist in confdefs.h, to ease
8571 # handling of long lines.
8573 for ac_last_try in false false :; do
8574 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
8575 if test -z "$ac_tt"; then
8577 elif $ac_last_try; then
8578 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8580 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8584 # For the awk script, D is an array of macro values keyed by name,
8585 # likewise P contains macro parameters if any. Preserve backslash
8586 # newline sequences.
8588 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8590 s/.\{148\}/&'"$ac_delim"'/g
8593 s/^[ ]*#[ ]*define[ ][ ]*/ /
8600 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8602 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
8606 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8607 D["\1"]=" \3\\\\\\n"\\/p
8609 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8614 s/.\{148\}/&'"$ac_delim"'/g
8619 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8622 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8624 ' <confdefs.h | sed '
8625 s/'"$ac_delim"'/"\\\
8626 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8628 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8629 for (key in D) D_is_set[key] = 1
8632 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8634 split(line, arg, " ")
8635 if (arg[1] == "#") {
8639 defundef = substr(arg[1], 2)
8642 split(mac1, mac2, "(") #)
8644 prefix = substr(line, 1, index(line, defundef) - 1)
8645 if (D_is_set[macro]) {
8646 # Preserve the white space surrounding the "#".
8647 print prefix "define", macro P[macro] D[macro]
8650 # Replace #undef with comments. This is necessary, for example,
8651 # in the case of _POSIX_SOURCE, which is predefined and required
8652 # on some systems where configure will not decide to define it.
8653 if (defundef == "undef") {
8654 print "/*", prefix defundef, macro, "*/"
8662 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8663 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
8664 fi # test -n "$CONFIG_HEADERS"
8667 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8672 :[FHLC]) ac_mode=$ac_tag; continue;;
8674 case $ac_mode$ac_tag in
8676 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8677 :[FH]-) ac_tag=-:-;;
8678 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8695 -) ac_f="$ac_tmp/stdin";;
8696 *) # Look for the file first in the build tree, then in the source tree
8697 # (if the path is not absolute). The absolute path cannot be DOS-style,
8698 # because $ac_f cannot contain `:'.
8702 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8704 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8706 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8707 as_fn_append ac_file_inputs " '$ac_f'"
8710 # Let's still pretend it is `configure' which instantiates (i.e., don't
8711 # use $as_me), people would be surprised to read:
8712 # /* config.h. Generated by config.status. */
8713 configure_input='Generated from '`
8714 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8716 if test x"$ac_file" != x-; then
8717 configure_input="$ac_file. $configure_input"
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8719 $as_echo "$as_me: creating $ac_file" >&6;}
8721 # Neutralize special characters interpreted by sed in replacement strings.
8722 case $configure_input in #(
8723 *\&* | *\|* | *\\* )
8724 ac_sed_conf_input=`$as_echo "$configure_input" |
8725 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8726 *) ac_sed_conf_input=$configure_input;;
8730 *:-:* | *:-) cat >"$ac_tmp/stdin" \
8731 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8736 ac_dir=`$as_dirname -- "$ac_file" ||
8737 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8738 X"$ac_file" : 'X\(//\)[^/]' \| \
8739 X"$ac_file" : 'X\(//\)$' \| \
8740 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8741 $as_echo X"$ac_file" |
8742 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8759 as_dir="$ac_dir"; as_fn_mkdir_p
8763 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8765 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8766 # A ".." for each directory in $ac_dir_suffix.
8767 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8768 case $ac_top_builddir_sub in
8769 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8770 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8773 ac_abs_top_builddir=$ac_pwd
8774 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8775 # for backward compatibility:
8776 ac_top_builddir=$ac_top_build_prefix
8779 .) # We are building in place.
8781 ac_top_srcdir=$ac_top_builddir_sub
8782 ac_abs_top_srcdir=$ac_pwd ;;
8783 [\\/]* | ?:[\\/]* ) # Absolute name.
8784 ac_srcdir=$srcdir$ac_dir_suffix;
8785 ac_top_srcdir=$srcdir
8786 ac_abs_top_srcdir=$srcdir ;;
8788 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8789 ac_top_srcdir=$ac_top_build_prefix$srcdir
8790 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8792 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8802 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8803 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8807 [\\/$]* | ?:[\\/]* ) ;;
8808 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8813 # If the template does not know about datarootdir, expand it.
8814 # FIXME: This hack should be removed a few years after 2.60.
8815 ac_datarootdir_hack=; ac_datarootdir_seen=
8826 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8827 *datarootdir*) ac_datarootdir_seen=yes;;
8828 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8830 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8832 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8833 ac_datarootdir_hack='
8834 s&@datadir@&$datadir&g
8835 s&@docdir@&$docdir&g
8836 s&@infodir@&$infodir&g
8837 s&@localedir@&$localedir&g
8838 s&@mandir@&$mandir&g
8839 s&\\\${datarootdir}&$datarootdir&g' ;;
8843 # Neutralize VPATH when `$srcdir' = `.'.
8844 # Shell code in configure.ac might set extrasub.
8845 # FIXME: do we really want to maintain this feature?
8846 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8847 ac_sed_extra="$ac_vpsub
8850 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8852 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8853 s|@configure_input@|$ac_sed_conf_input|;t t
8854 s&@top_builddir@&$ac_top_builddir_sub&;t t
8855 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8856 s&@srcdir@&$ac_srcdir&;t t
8857 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8858 s&@top_srcdir@&$ac_top_srcdir&;t t
8859 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8860 s&@builddir@&$ac_builddir&;t t
8861 s&@abs_builddir@&$ac_abs_builddir&;t t
8862 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8863 s&@INSTALL@&$ac_INSTALL&;t t
8864 s&@MKDIR_P@&$ac_MKDIR_P&;t t
8865 $ac_datarootdir_hack
8867 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8868 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8870 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8871 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8872 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8873 "$ac_tmp/out"`; test -z "$ac_out"; } &&
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8875 which seems to be undefined. Please make sure it is defined" >&5
8876 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8877 which seems to be undefined. Please make sure it is defined" >&2;}
8879 rm -f "$ac_tmp/stdin"
8881 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8882 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8884 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8890 if test x"$ac_file" != x-; then
8892 $as_echo "/* $configure_input */" \
8893 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8894 } >"$ac_tmp/config.h" \
8895 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8896 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8898 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8901 mv "$ac_tmp/config.h" "$ac_file" \
8902 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8905 $as_echo "/* $configure_input */" \
8906 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8907 || as_fn_error $? "could not create -" "$LINENO" 5
8909 # Compute "$ac_file"'s index in $config_headers.
8912 for _am_header in $config_headers :; do
8914 $_am_arg | $_am_arg:* )
8917 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8920 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8921 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8922 X"$_am_arg" : 'X\(//\)[^/]' \| \
8923 X"$_am_arg" : 'X\(//\)$' \| \
8924 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8925 $as_echo X"$_am_arg" |
8926 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8942 s/.*/./; q'`/stamp-h$_am_stamp_count
8945 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8946 $as_echo "$as_me: executing $ac_file commands" >&6;}
8951 case $ac_file$ac_mode in
8952 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8953 # Older Autoconf quotes --file arguments for eval, but not when files
8954 # are listed without --file. Let's play safe and only enable the eval
8955 # if we detect the quoting.
8956 case $CONFIG_FILES in
8957 *\'*) eval set x "$CONFIG_FILES" ;;
8958 *) set x $CONFIG_FILES ;;
8963 # Strip MF so we end up with the name of the file.
8964 mf=`echo "$mf" | sed -e 's/:.*$//'`
8965 # Check whether this is an Automake generated Makefile or not.
8966 # We used to match only the files named 'Makefile.in', but
8967 # some people rename them; so instead we look at the file content.
8968 # Grep'ing the first line is not enough: some people post-process
8969 # each Makefile.in and add a new line on top of each file to say so.
8970 # Grep'ing the whole file is not good either: AIX grep has a line
8971 # limit of 2048, but all sed's we know have understand at least 4000.
8972 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8973 dirpart=`$as_dirname -- "$mf" ||
8974 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8975 X"$mf" : 'X\(//\)[^/]' \| \
8976 X"$mf" : 'X\(//\)$' \| \
8977 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8999 # Extract the definition of DEPDIR, am__include, and am__quote
9000 # from the Makefile without running 'make'.
9001 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9002 test -z "$DEPDIR" && continue
9003 am__include=`sed -n 's/^am__include = //p' < "$mf"`
9004 test -z "$am__include" && continue
9005 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9006 # Find all dependency output files, they are included files with
9007 # $(DEPDIR) in their names. We invoke sed twice because it is the
9008 # simplest approach to changing $(DEPDIR) to its actual value in the
9010 for file in `sed -n "
9011 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9012 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
9013 # Make sure the directory exists.
9014 test -f "$dirpart/$file" && continue
9015 fdir=`$as_dirname -- "$file" ||
9016 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9017 X"$file" : 'X\(//\)[^/]' \| \
9018 X"$file" : 'X\(//\)$' \| \
9019 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9021 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9038 as_dir=$dirpart/$fdir; as_fn_mkdir_p
9039 # echo "creating $dirpart/$file"
9040 echo '# dummy' > "$dirpart/$file"
9046 for ac_file in $CONFIG_FILES; do
9047 # Support "outfile[:infile[:infile...]]"
9049 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
9051 # PO directories have a Makefile.in generated from Makefile.in.in.
9052 case "$ac_file" in */Makefile.in)
9053 # Adjust a relative srcdir.
9054 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
9055 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
9056 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
9057 # In autoconf-2.13 it is called $ac_given_srcdir.
9058 # In autoconf-2.50 it is called $srcdir.
9059 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
9060 case "$ac_given_srcdir" in
9061 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
9062 /*) top_srcdir="$ac_given_srcdir" ;;
9063 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
9065 # Treat a directory as a PO directory if and only if it has a
9066 # POTFILES.in file. This allows packages to have multiple PO
9067 # directories under different names or in different locations.
9068 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
9069 rm -f "$ac_dir/POTFILES"
9070 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
9071 gt_tab=`printf '\t'`
9072 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
9073 POMAKEFILEDEPS="POTFILES.in"
9074 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
9075 # on $ac_dir but don't depend on user-specified configuration
9077 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
9078 # The LINGUAS file contains the set of available languages.
9079 if test -n "$OBSOLETE_ALL_LINGUAS"; then
9080 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
9082 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
9083 # Hide the ALL_LINGUAS assignment from automake < 1.5.
9084 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
9085 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
9087 # The set of available languages was given in configure.in.
9088 # Hide the ALL_LINGUAS assignment from automake < 1.5.
9089 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
9092 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
9093 # Compute UPDATEPOFILES
9094 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
9095 # Compute DUMMYPOFILES
9096 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
9098 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
9099 case "$ac_given_srcdir" in
9101 *) srcdirpre='$(srcdir)/' ;;
9107 for lang in $ALL_LINGUAS; do
9108 POFILES="$POFILES $srcdirpre$lang.po"
9109 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
9110 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
9111 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
9113 # CATALOGS depends on both $ac_dir and the user's LINGUAS
9114 # environment variable.
9116 if test -n "$ALL_LINGUAS"; then
9117 for presentlang in $ALL_LINGUAS; do
9119 if test "%UNSET%" != "$LINGUAS"; then
9120 desiredlanguages="$LINGUAS"
9122 desiredlanguages="$ALL_LINGUAS"
9124 for desiredlang in $desiredlanguages; do
9125 # Use the presentlang catalog if desiredlang is
9126 # a. equal to presentlang, or
9127 # b. a variant of presentlang (because in this case,
9128 # presentlang can be used as a fallback for messages
9129 # which are not translated in the desiredlang catalog).
9130 case "$desiredlang" in
9131 "$presentlang"*) useit=yes;;
9134 if test $useit = yes; then
9135 INST_LINGUAS="$INST_LINGUAS $presentlang"
9140 if test -n "$INST_LINGUAS"; then
9141 for lang in $INST_LINGUAS; do
9142 CATALOGS="$CATALOGS $lang.gmo"
9145 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
9146 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"
9147 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
9148 if test -f "$f"; then
9150 *.orig | *.bak | *~) ;;
9151 *) cat "$f" >> "$ac_dir/Makefile" ;;
9166 ac_clean_files=$ac_clean_files_save
9168 test $ac_write_fail = 0 ||
9169 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9172 # configure is writing to config.log, and then calls config.status.
9173 # config.status does its own redirection, appending to config.log.
9174 # Unfortunately, on DOS this fails, as config.log is still kept open
9175 # by configure, so config.status won't be able to write to it; its
9176 # output is simply discarded. So we exec the FD to /dev/null,
9177 # effectively closing config.log, so it can be properly (re)opened and
9178 # appended to by config.status. When coming back to configure, we
9179 # need to make the FD available again.
9180 if test "$no_create" != yes; then
9182 ac_config_status_args=
9183 test "$silent" = yes &&
9184 ac_config_status_args="$ac_config_status_args --quiet"
9186 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9188 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9189 # would make configure fail if this is the last instruction.
9190 $ac_cs_success || as_fn_exit 1
9192 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9194 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}