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
603 GSETTINGS_DISABLE_SCHEMAS_COMPILE
634 XGETTEXT_EXTRA_OPTIONS
642 GETTEXT_MACRO_VERSION
671 INSTALL_STRIP_PROGRAM
713 program_transform_name
726 enable_option_checking
727 enable_dependency_tracking
734 enable_schemas_compile
736 ac_precious_vars='build_alias
763 # Initialize some variables set by options.
765 ac_init_version=false
766 ac_unrecognized_opts=
768 # The variables have the same names as the options, with
769 # dashes changed to underlines.
777 program_transform_name=s,x,x,
785 # Installation directory options.
786 # These are left unexpanded so users can "make install exec_prefix=/foo"
787 # and all the variables that are supposed to be based on exec_prefix
788 # by default will actually change.
789 # Use braces instead of parens because sh, perl, etc. also accept them.
790 # (The list follows the same order as the GNU Coding Standards.)
791 bindir='${exec_prefix}/bin'
792 sbindir='${exec_prefix}/sbin'
793 libexecdir='${exec_prefix}/libexec'
794 datarootdir='${prefix}/share'
795 datadir='${datarootdir}'
796 sysconfdir='${prefix}/etc'
797 sharedstatedir='${prefix}/com'
798 localstatedir='${prefix}/var'
799 includedir='${prefix}/include'
800 oldincludedir='/usr/include'
801 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
802 infodir='${datarootdir}/info'
807 libdir='${exec_prefix}/lib'
808 localedir='${datarootdir}/locale'
809 mandir='${datarootdir}/man'
815 # If the previous option needs an argument, assign it.
816 if test -n "$ac_prev"; then
817 eval $ac_prev=\$ac_option
823 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
828 # Accept the important Cygnus configure options, so we can diagnose typos.
830 case $ac_dashdash$ac_option in
834 -bindir | --bindir | --bindi | --bind | --bin | --bi)
836 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
839 -build | --build | --buil | --bui | --bu)
840 ac_prev=build_alias ;;
841 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
842 build_alias=$ac_optarg ;;
844 -cache-file | --cache-file | --cache-fil | --cache-fi \
845 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
846 ac_prev=cache_file ;;
847 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
848 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
849 cache_file=$ac_optarg ;;
852 cache_file=config.cache ;;
854 -datadir | --datadir | --datadi | --datad)
856 -datadir=* | --datadir=* | --datadi=* | --datad=*)
857 datadir=$ac_optarg ;;
859 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
860 | --dataroo | --dataro | --datar)
861 ac_prev=datarootdir ;;
862 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
863 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
864 datarootdir=$ac_optarg ;;
866 -disable-* | --disable-*)
867 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
868 # Reject names that are not valid shell variable names.
869 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
870 as_fn_error $? "invalid feature name: $ac_useropt"
871 ac_useropt_orig=$ac_useropt
872 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
873 case $ac_user_opts in
877 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
878 ac_unrecognized_sep=', ';;
880 eval enable_$ac_useropt=no ;;
882 -docdir | --docdir | --docdi | --doc | --do)
884 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
887 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
889 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
892 -enable-* | --enable-*)
893 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
894 # Reject names that are not valid shell variable names.
895 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
896 as_fn_error $? "invalid feature name: $ac_useropt"
897 ac_useropt_orig=$ac_useropt
898 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
899 case $ac_user_opts in
903 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
904 ac_unrecognized_sep=', ';;
906 eval enable_$ac_useropt=\$ac_optarg ;;
908 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
909 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
910 | --exec | --exe | --ex)
911 ac_prev=exec_prefix ;;
912 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
913 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
914 | --exec=* | --exe=* | --ex=*)
915 exec_prefix=$ac_optarg ;;
917 -gas | --gas | --ga | --g)
918 # Obsolete; use --with-gas.
921 -help | --help | --hel | --he | -h)
923 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
924 ac_init_help=recursive ;;
925 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
926 ac_init_help=short ;;
928 -host | --host | --hos | --ho)
929 ac_prev=host_alias ;;
930 -host=* | --host=* | --hos=* | --ho=*)
931 host_alias=$ac_optarg ;;
933 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
935 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
937 htmldir=$ac_optarg ;;
939 -includedir | --includedir | --includedi | --included | --include \
940 | --includ | --inclu | --incl | --inc)
941 ac_prev=includedir ;;
942 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
943 | --includ=* | --inclu=* | --incl=* | --inc=*)
944 includedir=$ac_optarg ;;
946 -infodir | --infodir | --infodi | --infod | --info | --inf)
948 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
949 infodir=$ac_optarg ;;
951 -libdir | --libdir | --libdi | --libd)
953 -libdir=* | --libdir=* | --libdi=* | --libd=*)
956 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
957 | --libexe | --libex | --libe)
958 ac_prev=libexecdir ;;
959 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
960 | --libexe=* | --libex=* | --libe=*)
961 libexecdir=$ac_optarg ;;
963 -localedir | --localedir | --localedi | --localed | --locale)
965 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
966 localedir=$ac_optarg ;;
968 -localstatedir | --localstatedir | --localstatedi | --localstated \
969 | --localstate | --localstat | --localsta | --localst | --locals)
970 ac_prev=localstatedir ;;
971 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
972 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
973 localstatedir=$ac_optarg ;;
975 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
977 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
981 # Obsolete; use --without-fp.
984 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
985 | --no-cr | --no-c | -n)
988 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
989 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
992 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
993 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
994 | --oldin | --oldi | --old | --ol | --o)
995 ac_prev=oldincludedir ;;
996 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
997 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
998 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
999 oldincludedir=$ac_optarg ;;
1001 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1003 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1004 prefix=$ac_optarg ;;
1006 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1007 | --program-pre | --program-pr | --program-p)
1008 ac_prev=program_prefix ;;
1009 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1010 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1011 program_prefix=$ac_optarg ;;
1013 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1014 | --program-suf | --program-su | --program-s)
1015 ac_prev=program_suffix ;;
1016 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1017 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1018 program_suffix=$ac_optarg ;;
1020 -program-transform-name | --program-transform-name \
1021 | --program-transform-nam | --program-transform-na \
1022 | --program-transform-n | --program-transform- \
1023 | --program-transform | --program-transfor \
1024 | --program-transfo | --program-transf \
1025 | --program-trans | --program-tran \
1026 | --progr-tra | --program-tr | --program-t)
1027 ac_prev=program_transform_name ;;
1028 -program-transform-name=* | --program-transform-name=* \
1029 | --program-transform-nam=* | --program-transform-na=* \
1030 | --program-transform-n=* | --program-transform-=* \
1031 | --program-transform=* | --program-transfor=* \
1032 | --program-transfo=* | --program-transf=* \
1033 | --program-trans=* | --program-tran=* \
1034 | --progr-tra=* | --program-tr=* | --program-t=*)
1035 program_transform_name=$ac_optarg ;;
1037 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1039 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1040 pdfdir=$ac_optarg ;;
1042 -psdir | --psdir | --psdi | --psd | --ps)
1044 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1047 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1048 | -silent | --silent | --silen | --sile | --sil)
1051 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1053 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1055 sbindir=$ac_optarg ;;
1057 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1058 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1059 | --sharedst | --shareds | --shared | --share | --shar \
1061 ac_prev=sharedstatedir ;;
1062 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1063 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1064 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1066 sharedstatedir=$ac_optarg ;;
1068 -site | --site | --sit)
1070 -site=* | --site=* | --sit=*)
1073 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1075 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1076 srcdir=$ac_optarg ;;
1078 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1079 | --syscon | --sysco | --sysc | --sys | --sy)
1080 ac_prev=sysconfdir ;;
1081 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1082 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1083 sysconfdir=$ac_optarg ;;
1085 -target | --target | --targe | --targ | --tar | --ta | --t)
1086 ac_prev=target_alias ;;
1087 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1088 target_alias=$ac_optarg ;;
1090 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1093 -version | --version | --versio | --versi | --vers | -V)
1094 ac_init_version=: ;;
1097 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1098 # Reject names that are not valid shell variable names.
1099 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1100 as_fn_error $? "invalid package name: $ac_useropt"
1101 ac_useropt_orig=$ac_useropt
1102 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1103 case $ac_user_opts in
1107 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1108 ac_unrecognized_sep=', ';;
1110 eval with_$ac_useropt=\$ac_optarg ;;
1112 -without-* | --without-*)
1113 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1116 as_fn_error $? "invalid package name: $ac_useropt"
1117 ac_useropt_orig=$ac_useropt
1118 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1119 case $ac_user_opts in
1123 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1124 ac_unrecognized_sep=', ';;
1126 eval with_$ac_useropt=no ;;
1129 # Obsolete; use --with-x.
1132 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1133 | --x-incl | --x-inc | --x-in | --x-i)
1134 ac_prev=x_includes ;;
1135 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1136 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1137 x_includes=$ac_optarg ;;
1139 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1140 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1141 ac_prev=x_libraries ;;
1142 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1143 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1144 x_libraries=$ac_optarg ;;
1146 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1147 Try \`$0 --help' for more information"
1151 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1152 # Reject names that are not valid shell variable names.
1153 case $ac_envvar in #(
1154 '' | [0-9]* | *[!_$as_cr_alnum]* )
1155 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1157 eval $ac_envvar=\$ac_optarg
1158 export $ac_envvar ;;
1161 # FIXME: should be removed in autoconf 3.0.
1162 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1163 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1164 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1165 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1171 if test -n "$ac_prev"; then
1172 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1173 as_fn_error $? "missing argument to $ac_option"
1176 if test -n "$ac_unrecognized_opts"; then
1177 case $enable_option_checking in
1179 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1180 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1184 # Check all directory arguments for consistency.
1185 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1186 datadir sysconfdir sharedstatedir localstatedir includedir \
1187 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1188 libdir localedir mandir
1190 eval ac_val=\$$ac_var
1191 # Remove trailing slashes.
1194 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1195 eval $ac_var=\$ac_val;;
1197 # Be sure to have absolute directory names.
1199 [\\/$]* | ?:[\\/]* ) continue;;
1200 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1202 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1205 # There might be people who depend on the old broken behavior: `$host'
1206 # used to hold the argument of --host etc.
1207 # FIXME: To remove some day.
1210 target=$target_alias
1212 # FIXME: To remove some day.
1213 if test "x$host_alias" != x; then
1214 if test "x$build_alias" = x; then
1215 cross_compiling=maybe
1216 elif test "x$build_alias" != "x$host_alias"; then
1222 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1224 test "$silent" = yes && exec 6>/dev/null
1227 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1228 ac_ls_di=`ls -di .` &&
1229 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1230 as_fn_error $? "working directory cannot be determined"
1231 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1232 as_fn_error $? "pwd does not report name of working directory"
1235 # Find the source files, if location was not specified.
1236 if test -z "$srcdir"; then
1237 ac_srcdir_defaulted=yes
1238 # Try the directory containing this script, then the parent directory.
1239 ac_confdir=`$as_dirname -- "$as_myself" ||
1240 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1241 X"$as_myself" : 'X\(//\)[^/]' \| \
1242 X"$as_myself" : 'X\(//\)$' \| \
1243 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1244 $as_echo X"$as_myself" |
1245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1263 if test ! -r "$srcdir/$ac_unique_file"; then
1267 ac_srcdir_defaulted=no
1269 if test ! -r "$srcdir/$ac_unique_file"; then
1270 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1271 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1273 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1275 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1277 # When building in place, set srcdir=.
1278 if test "$ac_abs_confdir" = "$ac_pwd"; then
1281 # Remove unnecessary trailing slashes from srcdir.
1282 # Double slashes in file names in object file debugging info
1283 # mess up M-x gdb in Emacs.
1285 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1287 for ac_var in $ac_precious_vars; do
1288 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1289 eval ac_env_${ac_var}_value=\$${ac_var}
1290 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1291 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1295 # Report the --help message.
1297 if test "$ac_init_help" = "long"; then
1298 # Omit some internal or obsolete options to make the list less imposing.
1299 # This message is too long to be a string in the A/UX 3.1 sh.
1301 \`configure' configures prss 0.0.x to adapt to many kinds of systems.
1303 Usage: $0 [OPTION]... [VAR=VALUE]...
1305 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1306 VAR=VALUE. See below for descriptions of some of the useful variables.
1308 Defaults for the options are specified in brackets.
1311 -h, --help display this help and exit
1312 --help=short display options specific to this package
1313 --help=recursive display the short help of all the included packages
1314 -V, --version display version information and exit
1315 -q, --quiet, --silent do not print \`checking ...' messages
1316 --cache-file=FILE cache test results in FILE [disabled]
1317 -C, --config-cache alias for \`--cache-file=config.cache'
1318 -n, --no-create do not create output files
1319 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1321 Installation directories:
1322 --prefix=PREFIX install architecture-independent files in PREFIX
1323 [$ac_default_prefix]
1324 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1327 By default, \`make install' will install all the files in
1328 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1329 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1330 for instance \`--prefix=\$HOME'.
1332 For better control, use the options below.
1334 Fine tuning of the installation directories:
1335 --bindir=DIR user executables [EPREFIX/bin]
1336 --sbindir=DIR system admin executables [EPREFIX/sbin]
1337 --libexecdir=DIR program executables [EPREFIX/libexec]
1338 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1339 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1340 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1341 --libdir=DIR object code libraries [EPREFIX/lib]
1342 --includedir=DIR C header files [PREFIX/include]
1343 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1344 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1345 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1346 --infodir=DIR info documentation [DATAROOTDIR/info]
1347 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1348 --mandir=DIR man documentation [DATAROOTDIR/man]
1349 --docdir=DIR documentation root [DATAROOTDIR/doc/prss]
1350 --htmldir=DIR html documentation [DOCDIR]
1351 --dvidir=DIR dvi documentation [DOCDIR]
1352 --pdfdir=DIR pdf documentation [DOCDIR]
1353 --psdir=DIR ps documentation [DOCDIR]
1359 --program-prefix=PREFIX prepend PREFIX to installed program names
1360 --program-suffix=SUFFIX append SUFFIX to installed program names
1361 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1364 --x-includes=DIR X include files are in DIR
1365 --x-libraries=DIR X library files are in DIR
1368 --build=BUILD configure for building on BUILD [guessed]
1369 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1373 if test -n "$ac_init_help"; then
1374 case $ac_init_help in
1375 short | recursive ) echo "Configuration of prss 0.0.x:";;
1380 --disable-option-checking ignore unrecognized --enable/--with options
1381 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1382 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1383 --disable-dependency-tracking speeds up one-time build
1384 --enable-dependency-tracking do not reject slow dependency extractors
1385 --disable-nls do not use Native Language Support
1386 --disable-rpath do not hardcode runtime library paths
1387 --disable-schemas-compile
1388 Disable regeneration of gschemas.compiled on install
1391 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1392 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1393 --with-x use the X Window System
1394 --with-gnu-ld assume the C compiler uses GNU ld default=no
1395 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1396 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1397 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1398 --without-libintl-prefix don't search for libintl in includedir and libdir
1400 Some influential environment variables:
1401 CC C compiler command
1402 CFLAGS C compiler flags
1403 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1404 nonstandard directory <lib dir>
1405 LIBS libraries to pass to the linker, e.g. -l<library>
1406 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1407 you have headers in a nonstandard directory <include dir>
1408 XMKMF Path to xmkmf, Makefile generator for X Window System
1410 PKG_CONFIG path to pkg-config utility
1412 directories to add to pkg-config's search path
1414 path overriding pkg-config's built-in search path
1415 X11_CFLAGS C compiler flags for X11, overriding pkg-config
1416 X11_LIBS linker flags for X11, overriding pkg-config
1417 XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
1418 XEXT_LIBS linker flags for XEXT, overriding pkg-config
1419 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1420 GTK_LIBS linker flags for GTK, overriding pkg-config
1421 CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
1422 CURL_LIBS linker flags for CURL, overriding pkg-config
1423 JSON_CFLAGS C compiler flags for JSON, overriding pkg-config
1424 JSON_LIBS linker flags for JSON, overriding pkg-config
1426 C compiler flags for WEBKIT, overriding pkg-config
1427 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1429 Use these variables to override the choices made by `configure' or to help
1430 it to find libraries and programs with nonstandard names/locations.
1432 Report bugs to <jeanfi@gmail.com>.
1433 prss home page: <http://wpitchoune.net/prss>.
1438 if test "$ac_init_help" = "recursive"; then
1439 # If there are subdirs, report their specific --help.
1440 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1441 test -d "$ac_dir" ||
1442 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1447 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1449 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1450 # A ".." for each directory in $ac_dir_suffix.
1451 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1452 case $ac_top_builddir_sub in
1453 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1454 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1457 ac_abs_top_builddir=$ac_pwd
1458 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1459 # for backward compatibility:
1460 ac_top_builddir=$ac_top_build_prefix
1463 .) # We are building in place.
1465 ac_top_srcdir=$ac_top_builddir_sub
1466 ac_abs_top_srcdir=$ac_pwd ;;
1467 [\\/]* | ?:[\\/]* ) # Absolute name.
1468 ac_srcdir=$srcdir$ac_dir_suffix;
1469 ac_top_srcdir=$srcdir
1470 ac_abs_top_srcdir=$srcdir ;;
1472 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1473 ac_top_srcdir=$ac_top_build_prefix$srcdir
1474 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1476 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1478 cd "$ac_dir" || { ac_status=$?; continue; }
1479 # Check for guested configure.
1480 if test -f "$ac_srcdir/configure.gnu"; then
1482 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1483 elif test -f "$ac_srcdir/configure"; then
1485 $SHELL "$ac_srcdir/configure" --help=recursive
1487 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1489 cd "$ac_pwd" || { ac_status=$?; break; }
1493 test -n "$ac_init_help" && exit $ac_status
1494 if $ac_init_version; then
1496 prss configure 0.0.x
1497 generated by GNU Autoconf 2.69
1499 Copyright (C) 2012 Free Software Foundation, Inc.
1500 This configure script is free software; the Free Software Foundation
1501 gives unlimited permission to copy, distribute and modify it.
1506 ## ------------------------ ##
1507 ## Autoconf initialization. ##
1508 ## ------------------------ ##
1510 # ac_fn_c_try_compile LINENO
1511 # --------------------------
1512 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1513 ac_fn_c_try_compile ()
1515 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1516 rm -f conftest.$ac_objext
1517 if { { ac_try="$ac_compile"
1519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1520 *) ac_try_echo=$ac_try;;
1522 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1523 $as_echo "$ac_try_echo"; } >&5
1524 (eval "$ac_compile") 2>conftest.err
1526 if test -s conftest.err; then
1527 grep -v '^ *+' conftest.err >conftest.er1
1528 cat conftest.er1 >&5
1529 mv -f conftest.er1 conftest.err
1531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1532 test $ac_status = 0; } && {
1533 test -z "$ac_c_werror_flag" ||
1534 test ! -s conftest.err
1535 } && test -s conftest.$ac_objext; then :
1538 $as_echo "$as_me: failed program was:" >&5
1539 sed 's/^/| /' conftest.$ac_ext >&5
1543 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1544 as_fn_set_status $ac_retval
1546 } # ac_fn_c_try_compile
1548 # ac_fn_c_try_cpp LINENO
1549 # ----------------------
1550 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1553 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1554 if { { ac_try="$ac_cpp conftest.$ac_ext"
1556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1557 *) ac_try_echo=$ac_try;;
1559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1560 $as_echo "$ac_try_echo"; } >&5
1561 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1563 if test -s conftest.err; then
1564 grep -v '^ *+' conftest.err >conftest.er1
1565 cat conftest.er1 >&5
1566 mv -f conftest.er1 conftest.err
1568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1569 test $ac_status = 0; } > conftest.i && {
1570 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1571 test ! -s conftest.err
1575 $as_echo "$as_me: failed program was:" >&5
1576 sed 's/^/| /' conftest.$ac_ext >&5
1580 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1581 as_fn_set_status $ac_retval
1585 # ac_fn_c_try_link LINENO
1586 # -----------------------
1587 # Try to link conftest.$ac_ext, and return whether this succeeded.
1590 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1591 rm -f conftest.$ac_objext conftest$ac_exeext
1592 if { { ac_try="$ac_link"
1594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1595 *) ac_try_echo=$ac_try;;
1597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1598 $as_echo "$ac_try_echo"; } >&5
1599 (eval "$ac_link") 2>conftest.err
1601 if test -s conftest.err; then
1602 grep -v '^ *+' conftest.err >conftest.er1
1603 cat conftest.er1 >&5
1604 mv -f conftest.er1 conftest.err
1606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1607 test $ac_status = 0; } && {
1608 test -z "$ac_c_werror_flag" ||
1609 test ! -s conftest.err
1610 } && test -s conftest$ac_exeext && {
1611 test "$cross_compiling" = yes ||
1612 test -x conftest$ac_exeext
1616 $as_echo "$as_me: failed program was:" >&5
1617 sed 's/^/| /' conftest.$ac_ext >&5
1621 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1622 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1623 # interfere with the next link command; also delete a directory that is
1624 # left behind by Apple's compiler. We do this before executing the actions.
1625 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1626 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1627 as_fn_set_status $ac_retval
1629 } # ac_fn_c_try_link
1631 # ac_fn_c_try_run LINENO
1632 # ----------------------
1633 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1634 # that executables *can* be run.
1637 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1638 if { { ac_try="$ac_link"
1640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1641 *) ac_try_echo=$ac_try;;
1643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1644 $as_echo "$ac_try_echo"; } >&5
1645 (eval "$ac_link") 2>&5
1647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1648 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1649 { { case "(($ac_try" in
1650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1651 *) ac_try_echo=$ac_try;;
1653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1654 $as_echo "$ac_try_echo"; } >&5
1655 (eval "$ac_try") 2>&5
1657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1658 test $ac_status = 0; }; }; then :
1661 $as_echo "$as_me: program exited with status $ac_status" >&5
1662 $as_echo "$as_me: failed program was:" >&5
1663 sed 's/^/| /' conftest.$ac_ext >&5
1665 ac_retval=$ac_status
1667 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1668 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1669 as_fn_set_status $ac_retval
1672 cat >config.log <<_ACEOF
1673 This file contains any messages produced by compilers while
1674 running configure, to aid debugging if configure makes a mistake.
1676 It was created by prss $as_me 0.0.x, which was
1677 generated by GNU Autoconf 2.69. Invocation command line was
1689 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1690 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1691 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1692 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1693 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1695 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1696 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1698 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1699 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1700 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1701 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1702 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1703 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1704 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1712 test -z "$as_dir" && as_dir=.
1713 $as_echo "PATH: $as_dir"
1729 # Keep a trace of the command line.
1730 # Strip out --no-create and --no-recursion so they do not pile up.
1731 # Strip out --silent because we don't want to record it for future runs.
1732 # Also quote any args containing shell meta-characters.
1733 # Make two passes to allow for proper duplicate-argument suppression.
1737 ac_must_keep_next=false
1743 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1744 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1745 | -silent | --silent | --silen | --sile | --sil)
1748 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1751 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1753 as_fn_append ac_configure_args1 " '$ac_arg'"
1754 if test $ac_must_keep_next = true; then
1755 ac_must_keep_next=false # Got value, back to normal.
1758 *=* | --config-cache | -C | -disable-* | --disable-* \
1759 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1760 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1761 | -with-* | --with-* | -without-* | --without-* | --x)
1762 case "$ac_configure_args0 " in
1763 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1766 -* ) ac_must_keep_next=true ;;
1769 as_fn_append ac_configure_args " '$ac_arg'"
1774 { ac_configure_args0=; unset ac_configure_args0;}
1775 { ac_configure_args1=; unset ac_configure_args1;}
1777 # When interrupted or exit'd, cleanup temporary files, and complete
1778 # config.log. We remove comments because anyway the quotes in there
1779 # would cause problems or look ugly.
1780 # WARNING: Use '\'' to represent an apostrophe within the trap.
1781 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1782 trap 'exit_status=$?
1783 # Save into config.log some information that might help in debugging.
1787 $as_echo "## ---------------- ##
1788 ## Cache variables. ##
1789 ## ---------------- ##"
1791 # The following way of writing the cache mishandles newlines in values,
1793 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1794 eval ac_val=\$$ac_var
1798 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1799 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1802 _ | IFS | as_nl) ;; #(
1803 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1804 *) { eval $ac_var=; unset $ac_var;} ;;
1809 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1810 *${as_nl}ac_space=\ *)
1812 "s/'\''/'\''\\\\'\'''\''/g;
1813 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1816 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1823 $as_echo "## ----------------- ##
1824 ## Output variables. ##
1825 ## ----------------- ##"
1827 for ac_var in $ac_subst_vars
1829 eval ac_val=\$$ac_var
1831 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1833 $as_echo "$ac_var='\''$ac_val'\''"
1837 if test -n "$ac_subst_files"; then
1838 $as_echo "## ------------------- ##
1839 ## File substitutions. ##
1840 ## ------------------- ##"
1842 for ac_var in $ac_subst_files
1844 eval ac_val=\$$ac_var
1846 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1848 $as_echo "$ac_var='\''$ac_val'\''"
1853 if test -s confdefs.h; then
1854 $as_echo "## ----------- ##
1861 test "$ac_signal" != 0 &&
1862 $as_echo "$as_me: caught signal $ac_signal"
1863 $as_echo "$as_me: exit $exit_status"
1865 rm -f core *.core core.conftest.* &&
1866 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1869 for ac_signal in 1 2 13 15; do
1870 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1874 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1875 rm -f -r conftest* confdefs.h
1877 $as_echo "/* confdefs.h */" > confdefs.h
1879 # Predefined preprocessor variables.
1881 cat >>confdefs.h <<_ACEOF
1882 #define PACKAGE_NAME "$PACKAGE_NAME"
1885 cat >>confdefs.h <<_ACEOF
1886 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1889 cat >>confdefs.h <<_ACEOF
1890 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1893 cat >>confdefs.h <<_ACEOF
1894 #define PACKAGE_STRING "$PACKAGE_STRING"
1897 cat >>confdefs.h <<_ACEOF
1898 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1901 cat >>confdefs.h <<_ACEOF
1902 #define PACKAGE_URL "$PACKAGE_URL"
1906 # Let the site file select an alternate cache file if it wants to.
1907 # Prefer an explicitly selected file to automatically selected ones.
1910 if test -n "$CONFIG_SITE"; then
1911 # We do not want a PATH search for config.site.
1912 case $CONFIG_SITE in #((
1913 -*) ac_site_file1=./$CONFIG_SITE;;
1914 */*) ac_site_file1=$CONFIG_SITE;;
1915 *) ac_site_file1=./$CONFIG_SITE;;
1917 elif test "x$prefix" != xNONE; then
1918 ac_site_file1=$prefix/share/config.site
1919 ac_site_file2=$prefix/etc/config.site
1921 ac_site_file1=$ac_default_prefix/share/config.site
1922 ac_site_file2=$ac_default_prefix/etc/config.site
1924 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1926 test "x$ac_site_file" = xNONE && continue
1927 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1929 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1930 sed 's/^/| /' "$ac_site_file" >&5
1932 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1933 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1934 as_fn_error $? "failed to load site script $ac_site_file
1935 See \`config.log' for more details" "$LINENO" 5; }
1939 if test -r "$cache_file"; then
1940 # Some versions of bash will fail to source /dev/null (special files
1941 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1942 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1944 $as_echo "$as_me: loading cache $cache_file" >&6;}
1946 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1947 *) . "./$cache_file";;
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1952 $as_echo "$as_me: creating cache $cache_file" >&6;}
1956 gt_needs="$gt_needs "
1957 # Check that the precious variables saved in the cache have kept the same
1959 ac_cache_corrupted=false
1960 for ac_var in $ac_precious_vars; do
1961 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1962 eval ac_new_set=\$ac_env_${ac_var}_set
1963 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1964 eval ac_new_val=\$ac_env_${ac_var}_value
1965 case $ac_old_set,$ac_new_set in
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1968 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1969 ac_cache_corrupted=: ;;
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1972 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1973 ac_cache_corrupted=: ;;
1976 if test "x$ac_old_val" != "x$ac_new_val"; then
1977 # differences in whitespace do not lead to failure.
1978 ac_old_val_w=`echo x $ac_old_val`
1979 ac_new_val_w=`echo x $ac_new_val`
1980 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1982 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1983 ac_cache_corrupted=:
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1986 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1987 eval $ac_var=\$ac_old_val
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1990 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1992 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1995 # Pass precious variables to config.status.
1996 if test "$ac_new_set" = set; then
1998 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1999 *) ac_arg=$ac_var=$ac_new_val ;;
2001 case " $ac_configure_args " in
2002 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2003 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2007 if $ac_cache_corrupted; then
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2009 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2011 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2012 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2014 ## -------------------- ##
2015 ## Main body of script. ##
2016 ## -------------------- ##
2019 ac_cpp='$CPP $CPPFLAGS'
2020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2026 am__api_version='1.11'
2029 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2030 if test -f "$ac_dir/install-sh"; then
2032 ac_install_sh="$ac_aux_dir/install-sh -c"
2034 elif test -f "$ac_dir/install.sh"; then
2036 ac_install_sh="$ac_aux_dir/install.sh -c"
2038 elif test -f "$ac_dir/shtool"; then
2040 ac_install_sh="$ac_aux_dir/shtool install -c"
2044 if test -z "$ac_aux_dir"; then
2045 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2048 # These three variables are undocumented and unsupported,
2049 # and are intended to be withdrawn in a future Autoconf release.
2050 # They can cause serious problems if a builder's source tree is in a directory
2051 # whose full name contains unusual characters.
2052 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2053 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2054 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2057 # Find a good install program. We prefer a C program (faster),
2058 # so one script is as good as another. But avoid the broken or
2059 # incompatible versions:
2060 # SysV /etc/install, /usr/sbin/install
2061 # SunOS /usr/etc/install
2062 # IRIX /sbin/install
2064 # AmigaOS /C/install, which installs bootblocks on floppy discs
2065 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2066 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2067 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2068 # OS/2's system install, which has a completely different semantic
2069 # ./install, which can be erroneously created by make from ./install.sh.
2070 # Reject install programs that cannot install multiple files.
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2072 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2073 if test -z "$INSTALL"; then
2074 if ${ac_cv_path_install+:} false; then :
2075 $as_echo_n "(cached) " >&6
2077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2081 test -z "$as_dir" && as_dir=.
2082 # Account for people who put trailing slashes in PATH elements.
2083 case $as_dir/ in #((
2084 ./ | .// | /[cC]/* | \
2085 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2086 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2089 # OSF1 and SCO ODT 3.0 have their own names for install.
2090 # Don't use installbsd from OSF since it installs stuff as root
2092 for ac_prog in ginstall scoinst install; do
2093 for ac_exec_ext in '' $ac_executable_extensions; do
2094 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2095 if test $ac_prog = install &&
2096 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2097 # AIX install. It has an incompatible calling convention.
2099 elif test $ac_prog = install &&
2100 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2101 # program-specific install script used by HP pwplus--don't use.
2104 rm -rf conftest.one conftest.two conftest.dir
2105 echo one > conftest.one
2106 echo two > conftest.two
2108 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2109 test -s conftest.one && test -s conftest.two &&
2110 test -s conftest.dir/conftest.one &&
2111 test -s conftest.dir/conftest.two
2113 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2126 rm -rf conftest.one conftest.two conftest.dir
2129 if test "${ac_cv_path_install+set}" = set; then
2130 INSTALL=$ac_cv_path_install
2132 # As a last resort, use the slow shell script. Don't cache a
2133 # value for INSTALL within a source directory, because that will
2134 # break other packages using the cache if that directory is
2135 # removed, or if the value is a relative name.
2136 INSTALL=$ac_install_sh
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2140 $as_echo "$INSTALL" >&6; }
2142 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2143 # It thinks the first close brace ends the variable substitution.
2144 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2146 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2148 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2151 $as_echo_n "checking whether build environment is sane... " >&6; }
2154 echo timestamp > conftest.file
2155 # Reject unsafe characters in $srcdir or the absolute working directory
2156 # name. Accept space and tab only in the latter.
2160 *[\\\"\#\$\&\'\`$am_lf]*)
2161 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2164 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2165 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2168 # Do `set' in a subshell so we don't clobber the current shell's
2169 # arguments. Must try -L first in case configure is actually a
2170 # symlink; some systems play weird games with the mod time of symlinks
2171 # (eg FreeBSD returns the mod time of the symlink's containing
2174 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2175 if test "$*" = "X"; then
2177 set X `ls -t "$srcdir/configure" conftest.file`
2180 if test "$*" != "X $srcdir/configure conftest.file" \
2181 && test "$*" != "X conftest.file $srcdir/configure"; then
2183 # If neither matched, then we have a broken ls. This can happen
2184 # if, for instance, CONFIG_SHELL is bash and it inherits a
2185 # broken ls alias from the environment. This has actually
2186 # happened. Such a system could not be considered "sane".
2187 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2188 alias in your environment" "$LINENO" 5
2191 test "$2" = conftest.file
2197 as_fn_error $? "newly created file is older than distributed files!
2198 Check your system clock" "$LINENO" 5
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2201 $as_echo "yes" >&6; }
2202 test "$program_prefix" != NONE &&
2203 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2204 # Use a double $ so make ignores it.
2205 test "$program_suffix" != NONE &&
2206 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2207 # Double any \ or $.
2208 # By default was `s,x,x', remove it if useless.
2209 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2210 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2212 # expand $ac_aux_dir to an absolute path
2213 am_aux_dir=`cd $ac_aux_dir && pwd`
2215 if test x"${MISSING+set}" != xset; then
2218 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2220 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2223 # Use eval to expand $SHELL
2224 if eval "$MISSING --run true"; then
2225 am_missing_run="$MISSING --run "
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2229 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2232 if test x"${install_sh}" != xset; then
2235 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2237 install_sh="\${SHELL} $am_aux_dir/install-sh"
2241 # Installed binaries are usually stripped using `strip' when the user
2242 # run `make install-strip'. However `strip' might not be the right
2243 # tool to use in cross-compilation environments, therefore Automake
2244 # will honor the `STRIP' environment variable to overrule this program.
2245 if test "$cross_compiling" != no; then
2246 if test -n "$ac_tool_prefix"; then
2247 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2248 set dummy ${ac_tool_prefix}strip; ac_word=$2
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2250 $as_echo_n "checking for $ac_word... " >&6; }
2251 if ${ac_cv_prog_STRIP+:} false; then :
2252 $as_echo_n "(cached) " >&6
2254 if test -n "$STRIP"; then
2255 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2261 test -z "$as_dir" && as_dir=.
2262 for ac_exec_ext in '' $ac_executable_extensions; do
2263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2264 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2274 STRIP=$ac_cv_prog_STRIP
2275 if test -n "$STRIP"; then
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2277 $as_echo "$STRIP" >&6; }
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2280 $as_echo "no" >&6; }
2285 if test -z "$ac_cv_prog_STRIP"; then
2287 # Extract the first word of "strip", so it can be a program name with args.
2288 set dummy strip; ac_word=$2
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2290 $as_echo_n "checking for $ac_word... " >&6; }
2291 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2292 $as_echo_n "(cached) " >&6
2294 if test -n "$ac_ct_STRIP"; then
2295 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2301 test -z "$as_dir" && as_dir=.
2302 for ac_exec_ext in '' $ac_executable_extensions; do
2303 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2304 ac_cv_prog_ac_ct_STRIP="strip"
2305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2314 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2315 if test -n "$ac_ct_STRIP"; then
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2317 $as_echo "$ac_ct_STRIP" >&6; }
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2320 $as_echo "no" >&6; }
2323 if test "x$ac_ct_STRIP" = x; then
2326 case $cross_compiling:$ac_tool_warned in
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2329 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2330 ac_tool_warned=yes ;;
2335 STRIP="$ac_cv_prog_STRIP"
2339 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2342 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2343 if test -z "$MKDIR_P"; then
2344 if ${ac_cv_path_mkdir+:} false; then :
2345 $as_echo_n "(cached) " >&6
2347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2348 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2351 test -z "$as_dir" && as_dir=.
2352 for ac_prog in mkdir gmkdir; do
2353 for ac_exec_ext in '' $ac_executable_extensions; do
2354 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2355 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2356 'mkdir (GNU coreutils) '* | \
2357 'mkdir (coreutils) '* | \
2358 'mkdir (fileutils) '4.1*)
2359 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2369 test -d ./--version && rmdir ./--version
2370 if test "${ac_cv_path_mkdir+set}" = set; then
2371 MKDIR_P="$ac_cv_path_mkdir -p"
2373 # As a last resort, use the slow shell script. Don't cache a
2374 # value for MKDIR_P within a source directory, because that will
2375 # break other packages using the cache if that directory is
2376 # removed, or if the value is a relative name.
2377 MKDIR_P="$ac_install_sh -d"
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2381 $as_echo "$MKDIR_P" >&6; }
2385 [\\/$]* | ?:[\\/]*) ;;
2386 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2389 for ac_prog in gawk mawk nawk awk
2391 # Extract the first word of "$ac_prog", so it can be a program name with args.
2392 set dummy $ac_prog; ac_word=$2
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2394 $as_echo_n "checking for $ac_word... " >&6; }
2395 if ${ac_cv_prog_AWK+:} false; then :
2396 $as_echo_n "(cached) " >&6
2398 if test -n "$AWK"; then
2399 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2405 test -z "$as_dir" && as_dir=.
2406 for ac_exec_ext in '' $ac_executable_extensions; do
2407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2408 ac_cv_prog_AWK="$ac_prog"
2409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2419 if test -n "$AWK"; then
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2421 $as_echo "$AWK" >&6; }
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2424 $as_echo "no" >&6; }
2428 test -n "$AWK" && break
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2432 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2434 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2435 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2436 $as_echo_n "(cached) " >&6
2438 cat >conftest.make <<\_ACEOF
2441 @echo '@@@%%%=$(MAKE)=@@@%%%'
2443 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2444 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2446 eval ac_cv_prog_make_${ac_make}_set=yes;;
2448 eval ac_cv_prog_make_${ac_make}_set=no;;
2452 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2454 $as_echo "yes" >&6; }
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2458 $as_echo "no" >&6; }
2459 SET_MAKE="MAKE=${MAKE-make}"
2462 rm -rf .tst 2>/dev/null
2463 mkdir .tst 2>/dev/null
2464 if test -d .tst; then
2469 rmdir .tst 2>/dev/null
2471 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2472 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2473 # is not polluted with repeated "-I."
2474 am__isrc=' -I$(srcdir)'
2475 # test to see if srcdir already configured
2476 if test -f $srcdir/config.status; then
2477 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2481 # test whether we have cygpath
2482 if test -z "$CYGPATH_W"; then
2483 if (cygpath --version) >/dev/null 2>/dev/null; then
2484 CYGPATH_W='cygpath -w'
2491 # Define the identity of the package.
2496 cat >>confdefs.h <<_ACEOF
2497 #define PACKAGE "$PACKAGE"
2501 cat >>confdefs.h <<_ACEOF
2502 #define VERSION "$VERSION"
2505 # Some tools Automake needs.
2507 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2510 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2513 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2516 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2519 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2521 # We need awk for the "check" target. The system "awk" is bad on
2523 # Always define AMTAR for backward compatibility. Yes, it's still used
2524 # in the wild :-( We should find a proper way to deprecate it ...
2527 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2536 # Checks for programs.
2538 ac_cpp='$CPP $CPPFLAGS'
2539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2542 if test -n "$ac_tool_prefix"; then
2543 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2544 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2546 $as_echo_n "checking for $ac_word... " >&6; }
2547 if ${ac_cv_prog_CC+:} false; then :
2548 $as_echo_n "(cached) " >&6
2550 if test -n "$CC"; then
2551 ac_cv_prog_CC="$CC" # Let the user override the test.
2553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2557 test -z "$as_dir" && as_dir=.
2558 for ac_exec_ext in '' $ac_executable_extensions; do
2559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2560 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2571 if test -n "$CC"; then
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2573 $as_echo "$CC" >&6; }
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2576 $as_echo "no" >&6; }
2581 if test -z "$ac_cv_prog_CC"; then
2583 # Extract the first word of "gcc", so it can be a program name with args.
2584 set dummy gcc; ac_word=$2
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2586 $as_echo_n "checking for $ac_word... " >&6; }
2587 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2588 $as_echo_n "(cached) " >&6
2590 if test -n "$ac_ct_CC"; then
2591 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2597 test -z "$as_dir" && as_dir=.
2598 for ac_exec_ext in '' $ac_executable_extensions; do
2599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2600 ac_cv_prog_ac_ct_CC="gcc"
2601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2610 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2611 if test -n "$ac_ct_CC"; then
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2613 $as_echo "$ac_ct_CC" >&6; }
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2616 $as_echo "no" >&6; }
2619 if test "x$ac_ct_CC" = x; then
2622 case $cross_compiling:$ac_tool_warned in
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2626 ac_tool_warned=yes ;;
2634 if test -z "$CC"; then
2635 if test -n "$ac_tool_prefix"; then
2636 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2637 set dummy ${ac_tool_prefix}cc; ac_word=$2
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2639 $as_echo_n "checking for $ac_word... " >&6; }
2640 if ${ac_cv_prog_CC+:} false; then :
2641 $as_echo_n "(cached) " >&6
2643 if test -n "$CC"; then
2644 ac_cv_prog_CC="$CC" # Let the user override the test.
2646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2650 test -z "$as_dir" && as_dir=.
2651 for ac_exec_ext in '' $ac_executable_extensions; do
2652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2653 ac_cv_prog_CC="${ac_tool_prefix}cc"
2654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2664 if test -n "$CC"; then
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2666 $as_echo "$CC" >&6; }
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2669 $as_echo "no" >&6; }
2675 if test -z "$CC"; then
2676 # Extract the first word of "cc", so it can be a program name with args.
2677 set dummy cc; ac_word=$2
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2679 $as_echo_n "checking for $ac_word... " >&6; }
2680 if ${ac_cv_prog_CC+:} false; then :
2681 $as_echo_n "(cached) " >&6
2683 if test -n "$CC"; then
2684 ac_cv_prog_CC="$CC" # Let the user override the test.
2687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2691 test -z "$as_dir" && as_dir=.
2692 for ac_exec_ext in '' $ac_executable_extensions; do
2693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2694 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2695 ac_prog_rejected=yes
2699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2706 if test $ac_prog_rejected = yes; then
2707 # We found a bogon in the path, so make sure we never use it.
2708 set dummy $ac_cv_prog_CC
2710 if test $# != 0; then
2711 # We chose a different compiler from the bogus one.
2712 # However, it has the same basename, so the bogon will be chosen
2713 # first if we set CC to just the basename; use the full file name.
2715 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2721 if test -n "$CC"; then
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2723 $as_echo "$CC" >&6; }
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2726 $as_echo "no" >&6; }
2731 if test -z "$CC"; then
2732 if test -n "$ac_tool_prefix"; then
2733 for ac_prog in cl.exe
2735 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2736 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2738 $as_echo_n "checking for $ac_word... " >&6; }
2739 if ${ac_cv_prog_CC+:} false; then :
2740 $as_echo_n "(cached) " >&6
2742 if test -n "$CC"; then
2743 ac_cv_prog_CC="$CC" # Let the user override the test.
2745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2749 test -z "$as_dir" && as_dir=.
2750 for ac_exec_ext in '' $ac_executable_extensions; do
2751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2752 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2763 if test -n "$CC"; then
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2765 $as_echo "$CC" >&6; }
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2768 $as_echo "no" >&6; }
2772 test -n "$CC" && break
2775 if test -z "$CC"; then
2777 for ac_prog in cl.exe
2779 # Extract the first word of "$ac_prog", so it can be a program name with args.
2780 set dummy $ac_prog; ac_word=$2
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2782 $as_echo_n "checking for $ac_word... " >&6; }
2783 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2784 $as_echo_n "(cached) " >&6
2786 if test -n "$ac_ct_CC"; then
2787 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2793 test -z "$as_dir" && as_dir=.
2794 for ac_exec_ext in '' $ac_executable_extensions; do
2795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2796 ac_cv_prog_ac_ct_CC="$ac_prog"
2797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2806 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2807 if test -n "$ac_ct_CC"; then
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2809 $as_echo "$ac_ct_CC" >&6; }
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2812 $as_echo "no" >&6; }
2816 test -n "$ac_ct_CC" && break
2819 if test "x$ac_ct_CC" = x; then
2822 case $cross_compiling:$ac_tool_warned in
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2826 ac_tool_warned=yes ;;
2835 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2837 as_fn_error $? "no acceptable C compiler found in \$PATH
2838 See \`config.log' for more details" "$LINENO" 5; }
2840 # Provide some information about the compiler.
2841 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2844 for ac_option in --version -v -V -qversion; do
2845 { { ac_try="$ac_compiler $ac_option >&5"
2847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2848 *) ac_try_echo=$ac_try;;
2850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2851 $as_echo "$ac_try_echo"; } >&5
2852 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2854 if test -s conftest.err; then
2856 ... rest of stderr output deleted ...
2857 10q' conftest.err >conftest.er1
2858 cat conftest.er1 >&5
2860 rm -f conftest.er1 conftest.err
2861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2862 test $ac_status = 0; }
2865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2866 /* end confdefs.h. */
2876 ac_clean_files_save=$ac_clean_files
2877 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2878 # Try to create an executable without -o first, disregard a.out.
2879 # It will help us diagnose broken compilers, and finding out an intuition
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2882 $as_echo_n "checking whether the C compiler works... " >&6; }
2883 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2885 # The possible output files:
2886 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2889 for ac_file in $ac_files
2892 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2893 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2898 if { { ac_try="$ac_link_default"
2900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2901 *) ac_try_echo=$ac_try;;
2903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2904 $as_echo "$ac_try_echo"; } >&5
2905 (eval "$ac_link_default") 2>&5
2907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2908 test $ac_status = 0; }; then :
2909 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2910 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2911 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2912 # so that the user can short-circuit this test for compilers unknown to
2914 for ac_file in $ac_files ''
2916 test -f "$ac_file" || continue
2918 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2921 # We found the default executable, but exeext='' is most
2925 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2927 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2929 # We set ac_cv_exeext here because the later test for it is not
2930 # safe: cross compilers may not add the suffix if given an `-o'
2931 # argument, so we may need to know it at that point already.
2932 # Even if this section looks crufty: it has the advantage of
2939 test "$ac_cv_exeext" = no && ac_cv_exeext=
2944 if test -z "$ac_file"; then :
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2946 $as_echo "no" >&6; }
2947 $as_echo "$as_me: failed program was:" >&5
2948 sed 's/^/| /' conftest.$ac_ext >&5
2950 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2951 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2952 as_fn_error 77 "C compiler cannot create executables
2953 See \`config.log' for more details" "$LINENO" 5; }
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2956 $as_echo "yes" >&6; }
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2959 $as_echo_n "checking for C compiler default output file name... " >&6; }
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2961 $as_echo "$ac_file" >&6; }
2962 ac_exeext=$ac_cv_exeext
2964 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2965 ac_clean_files=$ac_clean_files_save
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2967 $as_echo_n "checking for suffix of executables... " >&6; }
2968 if { { ac_try="$ac_link"
2970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2971 *) ac_try_echo=$ac_try;;
2973 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2974 $as_echo "$ac_try_echo"; } >&5
2975 (eval "$ac_link") 2>&5
2977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2978 test $ac_status = 0; }; then :
2979 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2980 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2981 # work properly (i.e., refer to `conftest.exe'), while it won't with
2983 for ac_file in conftest.exe conftest conftest.*; do
2984 test -f "$ac_file" || continue
2986 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2987 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2993 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2994 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2995 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2996 See \`config.log' for more details" "$LINENO" 5; }
2998 rm -f conftest conftest$ac_cv_exeext
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3000 $as_echo "$ac_cv_exeext" >&6; }
3002 rm -f conftest.$ac_ext
3003 EXEEXT=$ac_cv_exeext
3005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3006 /* end confdefs.h. */
3011 FILE *f = fopen ("conftest.out", "w");
3012 return ferror (f) || fclose (f) != 0;
3018 ac_clean_files="$ac_clean_files conftest.out"
3019 # Check that the compiler produces executables we can run. If not, either
3020 # the compiler is broken, or we cross compile.
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3022 $as_echo_n "checking whether we are cross compiling... " >&6; }
3023 if test "$cross_compiling" != yes; then
3024 { { ac_try="$ac_link"
3026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3027 *) ac_try_echo=$ac_try;;
3029 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3030 $as_echo "$ac_try_echo"; } >&5
3031 (eval "$ac_link") 2>&5
3033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3034 test $ac_status = 0; }
3035 if { ac_try='./conftest$ac_cv_exeext'
3036 { { case "(($ac_try" in
3037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3038 *) ac_try_echo=$ac_try;;
3040 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3041 $as_echo "$ac_try_echo"; } >&5
3042 (eval "$ac_try") 2>&5
3044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3045 test $ac_status = 0; }; }; then
3048 if test "$cross_compiling" = maybe; then
3051 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3052 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3053 as_fn_error $? "cannot run C compiled programs.
3054 If you meant to cross compile, use \`--host'.
3055 See \`config.log' for more details" "$LINENO" 5; }
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3060 $as_echo "$cross_compiling" >&6; }
3062 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3063 ac_clean_files=$ac_clean_files_save
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3065 $as_echo_n "checking for suffix of object files... " >&6; }
3066 if ${ac_cv_objext+:} false; then :
3067 $as_echo_n "(cached) " >&6
3069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3070 /* end confdefs.h. */
3080 rm -f conftest.o conftest.obj
3081 if { { ac_try="$ac_compile"
3083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3084 *) ac_try_echo=$ac_try;;
3086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3087 $as_echo "$ac_try_echo"; } >&5
3088 (eval "$ac_compile") 2>&5
3090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3091 test $ac_status = 0; }; then :
3092 for ac_file in conftest.o conftest.obj conftest.*; do
3093 test -f "$ac_file" || continue;
3095 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3096 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3101 $as_echo "$as_me: failed program was:" >&5
3102 sed 's/^/| /' conftest.$ac_ext >&5
3104 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3106 as_fn_error $? "cannot compute suffix of object files: cannot compile
3107 See \`config.log' for more details" "$LINENO" 5; }
3109 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3112 $as_echo "$ac_cv_objext" >&6; }
3113 OBJEXT=$ac_cv_objext
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3116 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3117 if ${ac_cv_c_compiler_gnu+:} false; then :
3118 $as_echo_n "(cached) " >&6
3120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3121 /* end confdefs.h. */
3134 if ac_fn_c_try_compile "$LINENO"; then :
3139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3140 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3144 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3145 if test $ac_compiler_gnu = yes; then
3150 ac_test_CFLAGS=${CFLAGS+set}
3151 ac_save_CFLAGS=$CFLAGS
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3153 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3154 if ${ac_cv_prog_cc_g+:} false; then :
3155 $as_echo_n "(cached) " >&6
3157 ac_save_c_werror_flag=$ac_c_werror_flag
3158 ac_c_werror_flag=yes
3161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3162 /* end confdefs.h. */
3172 if ac_fn_c_try_compile "$LINENO"; then :
3176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3177 /* end confdefs.h. */
3187 if ac_fn_c_try_compile "$LINENO"; then :
3190 ac_c_werror_flag=$ac_save_c_werror_flag
3192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3193 /* end confdefs.h. */
3203 if ac_fn_c_try_compile "$LINENO"; then :
3206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3211 ac_c_werror_flag=$ac_save_c_werror_flag
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3214 $as_echo "$ac_cv_prog_cc_g" >&6; }
3215 if test "$ac_test_CFLAGS" = set; then
3216 CFLAGS=$ac_save_CFLAGS
3217 elif test $ac_cv_prog_cc_g = yes; then
3218 if test "$GCC" = yes; then
3224 if test "$GCC" = yes; then
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3231 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3232 if ${ac_cv_prog_cc_c89+:} false; then :
3233 $as_echo_n "(cached) " >&6
3235 ac_cv_prog_cc_c89=no
3237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3238 /* end confdefs.h. */
3242 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3243 struct buf { int x; };
3244 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3245 static char *e (p, i)
3251 static char *f (char * (*g) (char **, int), char **p, ...)
3256 s = g (p, va_arg (v,int));
3261 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3262 function prototypes and stuff, but not '\xHH' hex character constants.
3263 These don't provoke an error unfortunately, instead are silently treated
3264 as 'x'. The following induces an error, until -std is added to get
3265 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3266 array size at least. It's necessary to write '\x00'==0 to get something
3267 that's true only with -std. */
3268 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3270 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3271 inside strings and character constants. */
3273 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3275 int test (int i, double x);
3276 struct s1 {int (*f) (int a);};
3277 struct s2 {int (*f) (double a);};
3278 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3284 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3289 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3290 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3292 CC="$ac_save_CC $ac_arg"
3293 if ac_fn_c_try_compile "$LINENO"; then :
3294 ac_cv_prog_cc_c89=$ac_arg
3296 rm -f core conftest.err conftest.$ac_objext
3297 test "x$ac_cv_prog_cc_c89" != "xno" && break
3299 rm -f conftest.$ac_ext
3304 case "x$ac_cv_prog_cc_c89" in
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3307 $as_echo "none needed" >&6; } ;;
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3310 $as_echo "unsupported" >&6; } ;;
3312 CC="$CC $ac_cv_prog_cc_c89"
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3314 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3316 if test "x$ac_cv_prog_cc_c89" != xno; then :
3321 ac_cpp='$CPP $CPPFLAGS'
3322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3325 DEPDIR="${am__leading_dot}deps"
3327 ac_config_commands="$ac_config_commands depfiles"
3330 am_make=${MAKE-make}
3331 cat > confinc << 'END'
3333 @echo this is the am__doit target
3336 # If we don't find an include directive, just comment out the code.
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3338 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3342 # First try GNU make style include.
3343 echo "include confinc" > confmf
3344 # Ignore all kinds of additional output from `make'.
3345 case `$am_make -s -f confmf 2> /dev/null` in #(
3346 *the\ am__doit\ target*)
3352 # Now try BSD make style include.
3353 if test "$am__include" = "#"; then
3354 echo '.include "confinc"' > confmf
3355 case `$am_make -s -f confmf 2> /dev/null` in #(
3356 *the\ am__doit\ target*)
3357 am__include=.include
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3366 $as_echo "$_am_result" >&6; }
3367 rm -f confinc confmf
3369 # Check whether --enable-dependency-tracking was given.
3370 if test "${enable_dependency_tracking+set}" = set; then :
3371 enableval=$enable_dependency_tracking;
3374 if test "x$enable_dependency_tracking" != xno; then
3375 am_depcomp="$ac_aux_dir/depcomp"
3379 if test "x$enable_dependency_tracking" != xno; then
3389 depcc="$CC" am_compiler_list=
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3392 $as_echo_n "checking dependency style of $depcc... " >&6; }
3393 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3394 $as_echo_n "(cached) " >&6
3396 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3397 # We make a subdir and do the tests there. Otherwise we can end up
3398 # making bogus files that we don't know about and never remove. For
3399 # instance it was reported that on HP-UX the gcc test will end up
3400 # making a dummy file named `D' -- because `-MD' means `put the output
3404 # Copy depcomp to subdir because otherwise we won't find it if we're
3405 # using a relative directory.
3406 cp "$am_depcomp" conftest.dir
3408 # We will build objects and dependencies in a subdirectory because
3409 # it helps to detect inapplicable dependency modes. For instance
3410 # both Tru64's cc and ICC support -MD to output dependencies as a
3411 # side effect of compilation, but ICC will put the dependencies in
3412 # the current directory while Tru64 will put them in the object
3416 am_cv_CC_dependencies_compiler_type=none
3417 if test "$am_compiler_list" = ""; then
3418 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3421 case " $depcc " in #(
3422 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3425 for depmode in $am_compiler_list; do
3426 # Setup a source with many dependencies, because some compilers
3427 # like to wrap large dependency lists on column 80 (with \), and
3428 # we should not choose a depcomp mode which is confused by this.
3430 # We need to recreate these files for each test, as the compiler may
3431 # overwrite some of them when testing with obscure command lines.
3432 # This happens at least with the AIX C compiler.
3434 for i in 1 2 3 4 5 6; do
3435 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3436 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3437 # Solaris 8's {/usr,}/bin/sh.
3438 touch sub/conftst$i.h
3440 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3442 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3443 # mode. It turns out that the SunPro C++ compiler does not properly
3444 # handle `-M -o', and we need to detect this. Also, some Intel
3445 # versions had trouble with output in subdirs
3446 am__obj=sub/conftest.${OBJEXT-o}
3447 am__minus_obj="-o $am__obj"
3450 # This depmode causes a compiler race in universal mode.
3451 test "$am__universal" = false || continue
3454 # after this tag, mechanisms are not by side-effect, so they'll
3455 # only be used when explicitly requested
3456 if test "x$enable_dependency_tracking" = xyes; then
3462 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3463 # This compiler won't grok `-c -o', but also, the minuso test has
3464 # not run yet. These depmodes are late enough in the game, and
3465 # so weak that their functioning should not be impacted.
3466 am__obj=conftest.${OBJEXT-o}
3471 if depmode=$depmode \
3472 source=sub/conftest.c object=$am__obj \
3473 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3474 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3475 >/dev/null 2>conftest.err &&
3476 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3477 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3478 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3479 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3480 # icc doesn't choke on unknown options, it will just issue warnings
3481 # or remarks (even with -Werror). So we grep stderr for any message
3482 # that says an option was ignored or not supported.
3483 # When given -MP, icc 7.0 and 7.1 complain thusly:
3484 # icc: Command line warning: ignoring option '-M'; no argument required
3485 # The diagnosis changed in icc 8.0:
3486 # icc: Command line remark: option '-MP' not supported
3487 if (grep 'ignoring option' conftest.err ||
3488 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3489 am_cv_CC_dependencies_compiler_type=$depmode
3498 am_cv_CC_dependencies_compiler_type=none
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3503 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3504 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3507 test "x$enable_dependency_tracking" != xno \
3508 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3510 am__fastdepCC_FALSE='#'
3512 am__fastdepCC_TRUE='#'
3513 am__fastdepCC_FALSE=
3517 if test "x$CC" != xcc; then
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3519 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3522 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3524 set dummy $CC; ac_cc=`$as_echo "$2" |
3525 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3526 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3527 $as_echo_n "(cached) " >&6
3529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3530 /* end confdefs.h. */
3540 # Make sure it works both with $CC and with simple cc.
3541 # We do the test twice because some compilers refuse to overwrite an
3542 # existing .o file with -o, though they will create one.
3543 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3545 if { { case "(($ac_try" in
3546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3547 *) ac_try_echo=$ac_try;;
3549 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3550 $as_echo "$ac_try_echo"; } >&5
3551 (eval "$ac_try") 2>&5
3553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3554 test $ac_status = 0; } &&
3555 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3557 *) ac_try_echo=$ac_try;;
3559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3560 $as_echo "$ac_try_echo"; } >&5
3561 (eval "$ac_try") 2>&5
3563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3564 test $ac_status = 0; };
3566 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3567 if test "x$CC" != xcc; then
3568 # Test first that cc exists at all.
3569 if { ac_try='cc -c conftest.$ac_ext >&5'
3570 { { case "(($ac_try" in
3571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3572 *) ac_try_echo=$ac_try;;
3574 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3575 $as_echo "$ac_try_echo"; } >&5
3576 (eval "$ac_try") 2>&5
3578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3579 test $ac_status = 0; }; }; then
3580 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3582 if { { case "(($ac_try" in
3583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3584 *) ac_try_echo=$ac_try;;
3586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3587 $as_echo "$ac_try_echo"; } >&5
3588 (eval "$ac_try") 2>&5
3590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3591 test $ac_status = 0; } &&
3592 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3594 *) ac_try_echo=$ac_try;;
3596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3597 $as_echo "$ac_try_echo"; } >&5
3598 (eval "$ac_try") 2>&5
3600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3601 test $ac_status = 0; };
3606 # cc exists but doesn't like -o.
3607 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3612 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3614 rm -f core conftest*
3617 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3619 $as_echo "yes" >&6; }
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3622 $as_echo "no" >&6; }
3624 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3628 # FIXME: we rely on the cache variable name because
3629 # there is no other way.
3631 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3632 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3633 if test "$am_t" != yes; then
3634 # Losing compiler, so override with the script.
3635 # FIXME: It is wrong to rewrite CC.
3636 # But if we don't then we get into trouble of one sort or another.
3637 # A longer-term fix would be to have automake use am__CC in this case,
3638 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3639 CC="$am_aux_dir/compile $CC"
3644 # Checks for header files.
3647 ac_cpp='$CPP $CPPFLAGS'
3648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3652 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3653 # On Suns, sometimes $CPP names a directory.
3654 if test -n "$CPP" && test -d "$CPP"; then
3657 if test -z "$CPP"; then
3658 if ${ac_cv_prog_CPP+:} false; then :
3659 $as_echo_n "(cached) " >&6
3661 # Double quotes because CPP needs to be expanded
3662 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3665 for ac_c_preproc_warn_flag in '' yes
3667 # Use a header file that comes with gcc, so configuring glibc
3668 # with a fresh cross-compiler works.
3669 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3670 # <limits.h> exists even on freestanding compilers.
3671 # On the NeXT, cc -E runs the code through the compiler's parser,
3672 # not just through cpp. "Syntax error" is here to catch this case.
3673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3674 /* end confdefs.h. */
3676 # include <limits.h>
3678 # include <assert.h>
3682 if ac_fn_c_try_cpp "$LINENO"; then :
3685 # Broken: fails on valid input.
3688 rm -f conftest.err conftest.i conftest.$ac_ext
3690 # OK, works on sane cases. Now check whether nonexistent headers
3691 # can be detected and how.
3692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3693 /* end confdefs.h. */
3694 #include <ac_nonexistent.h>
3696 if ac_fn_c_try_cpp "$LINENO"; then :
3697 # Broken: success on invalid input.
3700 # Passes both tests.
3704 rm -f conftest.err conftest.i conftest.$ac_ext
3707 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3708 rm -f conftest.i conftest.err conftest.$ac_ext
3709 if $ac_preproc_ok; then :
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3722 $as_echo "$CPP" >&6; }
3724 for ac_c_preproc_warn_flag in '' yes
3726 # Use a header file that comes with gcc, so configuring glibc
3727 # with a fresh cross-compiler works.
3728 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3729 # <limits.h> exists even on freestanding compilers.
3730 # On the NeXT, cc -E runs the code through the compiler's parser,
3731 # not just through cpp. "Syntax error" is here to catch this case.
3732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3733 /* end confdefs.h. */
3735 # include <limits.h>
3737 # include <assert.h>
3741 if ac_fn_c_try_cpp "$LINENO"; then :
3744 # Broken: fails on valid input.
3747 rm -f conftest.err conftest.i conftest.$ac_ext
3749 # OK, works on sane cases. Now check whether nonexistent headers
3750 # can be detected and how.
3751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3752 /* end confdefs.h. */
3753 #include <ac_nonexistent.h>
3755 if ac_fn_c_try_cpp "$LINENO"; then :
3756 # Broken: success on invalid input.
3759 # Passes both tests.
3763 rm -f conftest.err conftest.i conftest.$ac_ext
3766 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3767 rm -f conftest.i conftest.err conftest.$ac_ext
3768 if $ac_preproc_ok; then :
3771 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3772 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3773 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3774 See \`config.log' for more details" "$LINENO" 5; }
3778 ac_cpp='$CPP $CPPFLAGS'
3779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
3785 $as_echo_n "checking for X... " >&6; }
3788 # Check whether --with-x was given.
3789 if test "${with_x+set}" = set; then :
3793 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3794 if test "x$with_x" = xno; then
3795 # The user explicitly disabled X.
3798 case $x_includes,$x_libraries in #(
3799 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
3800 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
3801 $as_echo_n "(cached) " >&6
3803 # One or both of the vars are not set, and there is no cached value.
3804 ac_x_includes=no ac_x_libraries=no
3805 rm -f -r conftest.dir
3806 if mkdir conftest.dir; then
3808 cat >Imakefile <<'_ACEOF'
3810 @echo incroot='${INCROOT}'
3812 @echo usrlibdir='${USRLIBDIR}'
3814 @echo libdir='${LIBDIR}'
3816 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3817 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3818 for ac_var in incroot usrlibdir libdir; do
3819 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3821 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3822 for ac_extension in a so sl dylib la dll; do
3823 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3824 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3825 ac_im_usrlibdir=$ac_im_libdir; break
3828 # Screen out bogus values from the imake configuration. They are
3829 # bogus both because they are the default anyway, and because
3830 # using them would break gcc on systems where it needs fixed includes.
3831 case $ac_im_incroot in
3832 /usr/include) ac_x_includes= ;;
3833 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3835 case $ac_im_usrlibdir in
3836 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
3837 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3841 rm -f -r conftest.dir
3844 # Standard set of common directories for X headers.
3845 # Check X11 before X11Rn because it is often a symlink to the current release.
3859 /usr/local/X11/include
3860 /usr/local/X11R7/include
3861 /usr/local/X11R6/include
3862 /usr/local/X11R5/include
3863 /usr/local/X11R4/include
3865 /usr/local/include/X11
3866 /usr/local/include/X11R7
3867 /usr/local/include/X11R6
3868 /usr/local/include/X11R5
3869 /usr/local/include/X11R4
3873 /usr/XFree86/include/X11
3877 /usr/unsupported/include
3879 /usr/local/x11r5/include
3880 /usr/lpp/Xamples/include
3882 /usr/openwin/include
3883 /usr/openwin/share/include'
3885 if test "$ac_x_includes" = no; then
3886 # Guess where to find include files, by looking for Xlib.h.
3887 # First, try using that file with no special directory specified.
3888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3889 /* end confdefs.h. */
3890 #include <X11/Xlib.h>
3892 if ac_fn_c_try_cpp "$LINENO"; then :
3893 # We can compile using X headers with no special include directory.
3896 for ac_dir in $ac_x_header_dirs; do
3897 if test -r "$ac_dir/X11/Xlib.h"; then
3898 ac_x_includes=$ac_dir
3903 rm -f conftest.err conftest.i conftest.$ac_ext
3904 fi # $ac_x_includes = no
3906 if test "$ac_x_libraries" = no; then
3907 # Check for the libraries.
3908 # See if we find them without any special options.
3909 # Don't add to $LIBS permanently.
3912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3913 /* end confdefs.h. */
3914 #include <X11/Xlib.h>
3923 if ac_fn_c_try_link "$LINENO"; then :
3925 # We can link X programs with no special library path.
3929 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3931 # Don't even attempt the hair of trying to link an X program!
3932 for ac_extension in a so sl dylib la dll; do
3933 if test -r "$ac_dir/libX11.$ac_extension"; then
3934 ac_x_libraries=$ac_dir
3940 rm -f core conftest.err conftest.$ac_objext \
3941 conftest$ac_exeext conftest.$ac_ext
3942 fi # $ac_x_libraries = no
3944 case $ac_x_includes,$ac_x_libraries in #(
3946 # Didn't find X, or a directory has "'" in its name.
3947 ac_cv_have_x="have_x=no";; #(
3949 # Record where we found X for the cache.
3950 ac_cv_have_x="have_x=yes\
3951 ac_x_includes='$ac_x_includes'\
3952 ac_x_libraries='$ac_x_libraries'"
3958 eval "$ac_cv_have_x"
3961 if test "$have_x" != yes; then
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
3963 $as_echo "$have_x" >&6; }
3966 # If each of the values was on the command line, it overrides each guess.
3967 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3968 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3969 # Update the cache value to reflect the command line values.
3970 ac_cv_have_x="have_x=yes\
3971 ac_x_includes='$x_includes'\
3972 ac_x_libraries='$x_libraries'"
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
3974 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
3981 $as_echo_n "checking whether NLS is requested... " >&6; }
3982 # Check whether --enable-nls was given.
3983 if test "${enable_nls+set}" = set; then :
3984 enableval=$enable_nls; USE_NLS=$enableval
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
3990 $as_echo "$USE_NLS" >&6; }
3995 GETTEXT_MACRO_VERSION=0.18
4000 # Prepare PATH_SEPARATOR.
4001 # The user is always right.
4002 if test "${PATH_SEPARATOR+set}" != set; then
4003 echo "#! /bin/sh" >conf$$.sh
4004 echo "exit 0" >>conf$$.sh
4006 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4014 # Find out how to test for executable files. Don't use a zero-byte file,
4015 # as systems may use methods other than mode bits to determine executability.
4016 cat >conf$$.file <<_ASEOF
4020 chmod +x conf$$.file
4021 if test -x conf$$.file >/dev/null 2>&1; then
4022 ac_executable_p="test -x"
4024 ac_executable_p="test -f"
4028 # Extract the first word of "msgfmt", so it can be a program name with args.
4029 set dummy msgfmt; ac_word=$2
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4031 $as_echo_n "checking for $ac_word... " >&6; }
4032 if ${ac_cv_path_MSGFMT+:} false; then :
4033 $as_echo_n "(cached) " >&6
4037 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4040 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4041 for ac_dir in $PATH; do
4043 test -z "$ac_dir" && ac_dir=.
4044 for ac_exec_ext in '' $ac_executable_extensions; do
4045 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4046 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4047 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
4048 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4049 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
4056 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
4060 MSGFMT="$ac_cv_path_MSGFMT"
4061 if test "$MSGFMT" != ":"; then
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4063 $as_echo "$MSGFMT" >&6; }
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4066 $as_echo "no" >&6; }
4069 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4070 set dummy gmsgfmt; ac_word=$2
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4072 $as_echo_n "checking for $ac_word... " >&6; }
4073 if ${ac_cv_path_GMSGFMT+:} false; then :
4074 $as_echo_n "(cached) " >&6
4078 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4085 test -z "$as_dir" && as_dir=.
4086 for ac_exec_ext in '' $ac_executable_extensions; do
4087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4088 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4096 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4100 GMSGFMT=$ac_cv_path_GMSGFMT
4101 if test -n "$GMSGFMT"; then
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4103 $as_echo "$GMSGFMT" >&6; }
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4106 $as_echo "no" >&6; }
4111 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4112 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
4113 *) MSGFMT_015=$MSGFMT ;;
4116 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4117 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
4118 *) GMSGFMT_015=$GMSGFMT ;;
4123 # Prepare PATH_SEPARATOR.
4124 # The user is always right.
4125 if test "${PATH_SEPARATOR+set}" != set; then
4126 echo "#! /bin/sh" >conf$$.sh
4127 echo "exit 0" >>conf$$.sh
4129 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4137 # Find out how to test for executable files. Don't use a zero-byte file,
4138 # as systems may use methods other than mode bits to determine executability.
4139 cat >conf$$.file <<_ASEOF
4143 chmod +x conf$$.file
4144 if test -x conf$$.file >/dev/null 2>&1; then
4145 ac_executable_p="test -x"
4147 ac_executable_p="test -f"
4151 # Extract the first word of "xgettext", so it can be a program name with args.
4152 set dummy xgettext; ac_word=$2
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4154 $as_echo_n "checking for $ac_word... " >&6; }
4155 if ${ac_cv_path_XGETTEXT+:} false; then :
4156 $as_echo_n "(cached) " >&6
4160 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4163 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4164 for ac_dir in $PATH; do
4166 test -z "$ac_dir" && ac_dir=.
4167 for ac_exec_ext in '' $ac_executable_extensions; do
4168 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4169 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4170 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
4171 (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
4172 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
4179 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4183 XGETTEXT="$ac_cv_path_XGETTEXT"
4184 if test "$XGETTEXT" != ":"; then
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4186 $as_echo "$XGETTEXT" >&6; }
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4189 $as_echo "no" >&6; }
4194 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4195 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
4196 *) XGETTEXT_015=$XGETTEXT ;;
4201 # Prepare PATH_SEPARATOR.
4202 # The user is always right.
4203 if test "${PATH_SEPARATOR+set}" != set; then
4204 echo "#! /bin/sh" >conf$$.sh
4205 echo "exit 0" >>conf$$.sh
4207 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4215 # Find out how to test for executable files. Don't use a zero-byte file,
4216 # as systems may use methods other than mode bits to determine executability.
4217 cat >conf$$.file <<_ASEOF
4221 chmod +x conf$$.file
4222 if test -x conf$$.file >/dev/null 2>&1; then
4223 ac_executable_p="test -x"
4225 ac_executable_p="test -f"
4229 # Extract the first word of "msgmerge", so it can be a program name with args.
4230 set dummy msgmerge; ac_word=$2
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4232 $as_echo_n "checking for $ac_word... " >&6; }
4233 if ${ac_cv_path_MSGMERGE+:} false; then :
4234 $as_echo_n "(cached) " >&6
4238 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4241 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4242 for ac_dir in $PATH; do
4244 test -z "$ac_dir" && ac_dir=.
4245 for ac_exec_ext in '' $ac_executable_extensions; do
4246 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4247 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4248 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
4249 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
4256 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
4260 MSGMERGE="$ac_cv_path_MSGMERGE"
4261 if test "$MSGMERGE" != ":"; then
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4263 $as_echo "$MSGMERGE" >&6; }
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4266 $as_echo "no" >&6; }
4270 test -n "$localedir" || localedir='${datadir}/locale'
4273 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
4276 ac_config_commands="$ac_config_commands po-directories"
4280 if test "X$prefix" = "XNONE"; then
4281 acl_final_prefix="$ac_default_prefix"
4283 acl_final_prefix="$prefix"
4285 if test "X$exec_prefix" = "XNONE"; then
4286 acl_final_exec_prefix='${prefix}'
4288 acl_final_exec_prefix="$exec_prefix"
4290 acl_save_prefix="$prefix"
4291 prefix="$acl_final_prefix"
4292 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
4293 prefix="$acl_save_prefix"
4295 # Make sure we can run config.sub.
4296 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4297 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4300 $as_echo_n "checking build system type... " >&6; }
4301 if ${ac_cv_build+:} false; then :
4302 $as_echo_n "(cached) " >&6
4304 ac_build_alias=$build_alias
4305 test "x$ac_build_alias" = x &&
4306 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4307 test "x$ac_build_alias" = x &&
4308 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4309 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4310 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4314 $as_echo "$ac_cv_build" >&6; }
4315 case $ac_cv_build in
4317 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4320 ac_save_IFS=$IFS; IFS='-'
4326 # Remember, the first character of IFS is used to create $*,
4327 # except with old shells:
4330 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4334 $as_echo_n "checking host system type... " >&6; }
4335 if ${ac_cv_host+:} false; then :
4336 $as_echo_n "(cached) " >&6
4338 if test "x$host_alias" = x; then
4339 ac_cv_host=$ac_cv_build
4341 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4342 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4347 $as_echo "$ac_cv_host" >&6; }
4350 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4353 ac_save_IFS=$IFS; IFS='-'
4359 # Remember, the first character of IFS is used to create $*,
4360 # except with old shells:
4363 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4367 # Check whether --with-gnu-ld was given.
4368 if test "${with_gnu_ld+set}" = set; then :
4369 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4374 # Prepare PATH_SEPARATOR.
4375 # The user is always right.
4376 if test "${PATH_SEPARATOR+set}" != set; then
4377 echo "#! /bin/sh" >conf$$.sh
4378 echo "exit 0" >>conf$$.sh
4380 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4388 if test "$GCC" = yes; then
4389 # Check if gcc -print-prog-name=ld gives a path.
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
4391 $as_echo_n "checking for ld used by GCC... " >&6; }
4394 # gcc leaves a trailing carriage return which upsets mingw
4395 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4397 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4400 # Accept absolute paths.
4401 [\\/]* | [A-Za-z]:[\\/]*)
4402 re_direlt='/[^/][^/]*/\.\./'
4403 # Canonicalize the path of ld
4404 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4405 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4406 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4408 test -z "$LD" && LD="$ac_prog"
4411 # If it fails, then pretend we aren't using GCC.
4415 # If it is relative, then search for the first ld in PATH.
4419 elif test "$with_gnu_ld" = yes; then
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4421 $as_echo_n "checking for GNU ld... " >&6; }
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4424 $as_echo_n "checking for non-GNU ld... " >&6; }
4426 if ${acl_cv_path_LD+:} false; then :
4427 $as_echo_n "(cached) " >&6
4429 if test -z "$LD"; then
4430 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4431 for ac_dir in $PATH; do
4432 test -z "$ac_dir" && ac_dir=.
4433 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4434 acl_cv_path_LD="$ac_dir/$ac_prog"
4435 # Check to see if the program is GNU ld. I'd rather use --version,
4436 # but apparently some GNU ld's only accept -v.
4437 # Break only if it was the GNU/non-GNU ld that we prefer.
4438 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
4439 *GNU* | *'with BFD'*)
4440 test "$with_gnu_ld" != no && break ;;
4442 test "$with_gnu_ld" != yes && break ;;
4448 acl_cv_path_LD="$LD" # Let the user override the test with a path.
4452 LD="$acl_cv_path_LD"
4453 if test -n "$LD"; then
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4455 $as_echo "$LD" >&6; }
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4458 $as_echo "no" >&6; }
4460 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4462 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4463 if ${acl_cv_prog_gnu_ld+:} false; then :
4464 $as_echo_n "(cached) " >&6
4466 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4467 case `$LD -v 2>&1 </dev/null` in
4468 *GNU* | *'with BFD'*)
4469 acl_cv_prog_gnu_ld=yes ;;
4471 acl_cv_prog_gnu_ld=no ;;
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4475 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
4476 with_gnu_ld=$acl_cv_prog_gnu_ld
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
4482 $as_echo_n "checking for shared library run path origin... " >&6; }
4483 if ${acl_cv_rpath+:} false; then :
4484 $as_echo_n "(cached) " >&6
4487 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
4488 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
4495 $as_echo "$acl_cv_rpath" >&6; }
4497 acl_libext="$acl_cv_libext"
4498 acl_shlibext="$acl_cv_shlibext"
4499 acl_libname_spec="$acl_cv_libname_spec"
4500 acl_library_names_spec="$acl_cv_library_names_spec"
4501 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
4502 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
4503 acl_hardcode_direct="$acl_cv_hardcode_direct"
4504 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
4505 # Check whether --enable-rpath was given.
4506 if test "${enable_rpath+set}" = set; then :
4507 enableval=$enable_rpath; :
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4514 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4515 if ${ac_cv_path_GREP+:} false; then :
4516 $as_echo_n "(cached) " >&6
4518 if test -z "$GREP"; then
4519 ac_path_GREP_found=false
4520 # Loop through the user's path and test for each of PROGNAME-LIST
4521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4522 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4525 test -z "$as_dir" && as_dir=.
4526 for ac_prog in grep ggrep; do
4527 for ac_exec_ext in '' $ac_executable_extensions; do
4528 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4529 as_fn_executable_p "$ac_path_GREP" || continue
4530 # Check for GNU ac_path_GREP and select it if it is found.
4531 # Check for GNU $ac_path_GREP
4532 case `"$ac_path_GREP" --version 2>&1` in
4534 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4537 $as_echo_n 0123456789 >"conftest.in"
4540 cat "conftest.in" "conftest.in" >"conftest.tmp"
4541 mv "conftest.tmp" "conftest.in"
4542 cp "conftest.in" "conftest.nl"
4543 $as_echo 'GREP' >> "conftest.nl"
4544 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4545 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4546 as_fn_arith $ac_count + 1 && ac_count=$as_val
4547 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4548 # Best one so far, save it but keep looking for a better one
4549 ac_cv_path_GREP="$ac_path_GREP"
4550 ac_path_GREP_max=$ac_count
4552 # 10*(2^10) chars as input seems more than enough
4553 test $ac_count -gt 10 && break
4555 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4558 $ac_path_GREP_found && break 3
4563 if test -z "$ac_cv_path_GREP"; then
4564 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4567 ac_cv_path_GREP=$GREP
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4572 $as_echo "$ac_cv_path_GREP" >&6; }
4573 GREP="$ac_cv_path_GREP"
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4577 $as_echo_n "checking for egrep... " >&6; }
4578 if ${ac_cv_path_EGREP+:} false; then :
4579 $as_echo_n "(cached) " >&6
4581 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4582 then ac_cv_path_EGREP="$GREP -E"
4584 if test -z "$EGREP"; then
4585 ac_path_EGREP_found=false
4586 # Loop through the user's path and test for each of PROGNAME-LIST
4587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4588 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4591 test -z "$as_dir" && as_dir=.
4592 for ac_prog in egrep; do
4593 for ac_exec_ext in '' $ac_executable_extensions; do
4594 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4595 as_fn_executable_p "$ac_path_EGREP" || continue
4596 # Check for GNU ac_path_EGREP and select it if it is found.
4597 # Check for GNU $ac_path_EGREP
4598 case `"$ac_path_EGREP" --version 2>&1` in
4600 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4603 $as_echo_n 0123456789 >"conftest.in"
4606 cat "conftest.in" "conftest.in" >"conftest.tmp"
4607 mv "conftest.tmp" "conftest.in"
4608 cp "conftest.in" "conftest.nl"
4609 $as_echo 'EGREP' >> "conftest.nl"
4610 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4611 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4612 as_fn_arith $ac_count + 1 && ac_count=$as_val
4613 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4614 # Best one so far, save it but keep looking for a better one
4615 ac_cv_path_EGREP="$ac_path_EGREP"
4616 ac_path_EGREP_max=$ac_count
4618 # 10*(2^10) chars as input seems more than enough
4619 test $ac_count -gt 10 && break
4621 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4624 $ac_path_EGREP_found && break 3
4629 if test -z "$ac_cv_path_EGREP"; then
4630 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4633 ac_cv_path_EGREP=$EGREP
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4639 $as_echo "$ac_cv_path_EGREP" >&6; }
4640 EGREP="$ac_cv_path_EGREP"
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
4650 $as_echo_n "checking for 64-bit host... " >&6; }
4651 if ${gl_cv_solaris_64bit+:} false; then :
4652 $as_echo_n "(cached) " >&6
4654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4655 /* end confdefs.h. */
4662 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4663 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
4664 gl_cv_solaris_64bit=yes
4666 gl_cv_solaris_64bit=no
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
4673 $as_echo "$gl_cv_solaris_64bit" >&6; }
4674 if test $gl_cv_solaris_64bit = yes; then
4675 acl_libdirstem=lib/64
4677 sparc*) acl_libdirstem2=lib/sparcv9 ;;
4678 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
4683 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
4684 if test -n "$searchpath"; then
4685 acl_save_IFS="${IFS= }"; IFS=":"
4686 for searchdir in $searchpath; do
4687 if test -d "$searchdir"; then
4688 case "$searchdir" in
4689 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
4691 # Better ignore directories of this form. They are misleading.
4693 *) searchdir=`cd "$searchdir" && pwd`
4694 case "$searchdir" in
4695 */lib64 ) acl_libdirstem=lib64 ;;
4704 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
4719 acl_save_prefix="$prefix"
4720 prefix="$acl_final_prefix"
4721 acl_save_exec_prefix="$exec_prefix"
4722 exec_prefix="$acl_final_exec_prefix"
4724 eval additional_includedir=\"$includedir\"
4725 eval additional_libdir=\"$libdir\"
4727 exec_prefix="$acl_save_exec_prefix"
4728 prefix="$acl_save_prefix"
4731 # Check whether --with-libiconv-prefix was given.
4732 if test "${with_libiconv_prefix+set}" = set; then :
4733 withval=$with_libiconv_prefix;
4734 if test "X$withval" = "Xno"; then
4737 if test "X$withval" = "X"; then
4739 acl_save_prefix="$prefix"
4740 prefix="$acl_final_prefix"
4741 acl_save_exec_prefix="$exec_prefix"
4742 exec_prefix="$acl_final_exec_prefix"
4744 eval additional_includedir=\"$includedir\"
4745 eval additional_libdir=\"$libdir\"
4747 exec_prefix="$acl_save_exec_prefix"
4748 prefix="$acl_save_prefix"
4751 additional_includedir="$withval/include"
4752 additional_libdir="$withval/$acl_libdirstem"
4753 if test "$acl_libdirstem2" != "$acl_libdirstem" \
4754 && ! test -d "$withval/$acl_libdirstem"; then
4755 additional_libdir="$withval/$acl_libdirstem2"
4769 names_already_handled=
4770 names_next_round='iconv '
4771 while test -n "$names_next_round"; do
4772 names_this_round="$names_next_round"
4774 for name in $names_this_round; do
4776 for n in $names_already_handled; do
4777 if test "$n" = "$name"; then
4782 if test -z "$already_handled"; then
4783 names_already_handled="$names_already_handled $name"
4784 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
4785 eval value=\"\$HAVE_LIB$uppername\"
4786 if test -n "$value"; then
4787 if test "$value" = yes; then
4788 eval value=\"\$LIB$uppername\"
4789 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
4790 eval value=\"\$LTLIB$uppername\"
4791 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
4800 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
4801 if test -n "$acl_shlibext"; then
4802 shrext=".$acl_shlibext" # typically: shrext=.so
4806 if test $use_additional = yes; then
4807 dir="$additional_libdir"
4808 if test -n "$acl_shlibext"; then
4809 if test -f "$dir/$libname$shrext"; then
4811 found_so="$dir/$libname$shrext"
4813 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
4814 ver=`(cd "$dir" && \
4815 for f in "$libname$shrext".*; do echo "$f"; done \
4816 | sed -e "s,^$libname$shrext\\\\.,," \
4817 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
4818 | sed 1q ) 2>/dev/null`
4819 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
4821 found_so="$dir/$libname$shrext.$ver"
4824 eval library_names=\"$acl_library_names_spec\"
4825 for f in $library_names; do
4826 if test -f "$dir/$f"; then
4835 if test "X$found_dir" = "X"; then
4836 if test -f "$dir/$libname.$acl_libext"; then
4838 found_a="$dir/$libname.$acl_libext"
4841 if test "X$found_dir" != "X"; then
4842 if test -f "$dir/$libname.la"; then
4843 found_la="$dir/$libname.la"
4847 if test "X$found_dir" = "X"; then
4848 for x in $LDFLAGS $LTLIBICONV; do
4850 acl_save_prefix="$prefix"
4851 prefix="$acl_final_prefix"
4852 acl_save_exec_prefix="$exec_prefix"
4853 exec_prefix="$acl_final_exec_prefix"
4855 exec_prefix="$acl_save_exec_prefix"
4856 prefix="$acl_save_prefix"
4860 dir=`echo "X$x" | sed -e 's/^X-L//'`
4861 if test -n "$acl_shlibext"; then
4862 if test -f "$dir/$libname$shrext"; then
4864 found_so="$dir/$libname$shrext"
4866 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
4867 ver=`(cd "$dir" && \
4868 for f in "$libname$shrext".*; do echo "$f"; done \
4869 | sed -e "s,^$libname$shrext\\\\.,," \
4870 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
4871 | sed 1q ) 2>/dev/null`
4872 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
4874 found_so="$dir/$libname$shrext.$ver"
4877 eval library_names=\"$acl_library_names_spec\"
4878 for f in $library_names; do
4879 if test -f "$dir/$f"; then
4888 if test "X$found_dir" = "X"; then
4889 if test -f "$dir/$libname.$acl_libext"; then
4891 found_a="$dir/$libname.$acl_libext"
4894 if test "X$found_dir" != "X"; then
4895 if test -f "$dir/$libname.la"; then
4896 found_la="$dir/$libname.la"
4901 if test "X$found_dir" != "X"; then
4906 if test "X$found_dir" != "X"; then
4907 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
4908 if test "X$found_so" != "X"; then
4909 if test "$enable_rpath" = no \
4910 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
4911 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
4912 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4915 for x in $ltrpathdirs; do
4916 if test "X$x" = "X$found_dir"; then
4921 if test -z "$haveit"; then
4922 ltrpathdirs="$ltrpathdirs $found_dir"
4924 if test "$acl_hardcode_direct" = yes; then
4925 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4927 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
4928 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4930 for x in $rpathdirs; do
4931 if test "X$x" = "X$found_dir"; then
4936 if test -z "$haveit"; then
4937 rpathdirs="$rpathdirs $found_dir"
4941 for x in $LDFLAGS $LIBICONV; do
4943 acl_save_prefix="$prefix"
4944 prefix="$acl_final_prefix"
4945 acl_save_exec_prefix="$exec_prefix"
4946 exec_prefix="$acl_final_exec_prefix"
4948 exec_prefix="$acl_save_exec_prefix"
4949 prefix="$acl_save_prefix"
4951 if test "X$x" = "X-L$found_dir"; then
4956 if test -z "$haveit"; then
4957 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
4959 if test "$acl_hardcode_minus_L" != no; then
4960 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4962 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
4968 if test "X$found_a" != "X"; then
4969 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
4971 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
4974 additional_includedir=
4975 case "$found_dir" in
4976 */$acl_libdirstem | */$acl_libdirstem/)
4977 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
4978 if test "$name" = 'iconv'; then
4979 LIBICONV_PREFIX="$basedir"
4981 additional_includedir="$basedir/include"
4983 */$acl_libdirstem2 | */$acl_libdirstem2/)
4984 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
4985 if test "$name" = 'iconv'; then
4986 LIBICONV_PREFIX="$basedir"
4988 additional_includedir="$basedir/include"
4991 if test "X$additional_includedir" != "X"; then
4992 if test "X$additional_includedir" != "X/usr/include"; then
4994 if test "X$additional_includedir" = "X/usr/local/include"; then
4995 if test -n "$GCC"; then
4997 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5001 if test -z "$haveit"; then
5002 for x in $CPPFLAGS $INCICONV; do
5004 acl_save_prefix="$prefix"
5005 prefix="$acl_final_prefix"
5006 acl_save_exec_prefix="$exec_prefix"
5007 exec_prefix="$acl_final_exec_prefix"
5009 exec_prefix="$acl_save_exec_prefix"
5010 prefix="$acl_save_prefix"
5012 if test "X$x" = "X-I$additional_includedir"; then
5017 if test -z "$haveit"; then
5018 if test -d "$additional_includedir"; then
5019 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5025 if test -n "$found_la"; then
5026 save_libdir="$libdir"
5028 */* | *\\*) . "$found_la" ;;
5029 *) . "./$found_la" ;;
5031 libdir="$save_libdir"
5032 for dep in $dependency_libs; do
5035 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5036 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
5037 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
5039 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
5040 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
5041 if test -n "$GCC"; then
5043 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5047 if test -z "$haveit"; then
5049 for x in $LDFLAGS $LIBICONV; do
5051 acl_save_prefix="$prefix"
5052 prefix="$acl_final_prefix"
5053 acl_save_exec_prefix="$exec_prefix"
5054 exec_prefix="$acl_final_exec_prefix"
5056 exec_prefix="$acl_save_exec_prefix"
5057 prefix="$acl_save_prefix"
5059 if test "X$x" = "X-L$additional_libdir"; then
5064 if test -z "$haveit"; then
5065 if test -d "$additional_libdir"; then
5066 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5070 for x in $LDFLAGS $LTLIBICONV; do
5072 acl_save_prefix="$prefix"
5073 prefix="$acl_final_prefix"
5074 acl_save_exec_prefix="$exec_prefix"
5075 exec_prefix="$acl_final_exec_prefix"
5077 exec_prefix="$acl_save_exec_prefix"
5078 prefix="$acl_save_prefix"
5080 if test "X$x" = "X-L$additional_libdir"; then
5085 if test -z "$haveit"; then
5086 if test -d "$additional_libdir"; then
5087 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5094 dir=`echo "X$dep" | sed -e 's/^X-R//'`
5095 if test "$enable_rpath" != no; then
5097 for x in $rpathdirs; do
5098 if test "X$x" = "X$dir"; then
5103 if test -z "$haveit"; then
5104 rpathdirs="$rpathdirs $dir"
5107 for x in $ltrpathdirs; do
5108 if test "X$x" = "X$dir"; then
5113 if test -z "$haveit"; then
5114 ltrpathdirs="$ltrpathdirs $dir"
5119 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5122 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5125 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
5126 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5132 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5133 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5139 if test "X$rpathdirs" != "X"; then
5140 if test -n "$acl_hardcode_libdir_separator"; then
5142 for found_dir in $rpathdirs; do
5143 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
5145 acl_save_libdir="$libdir"
5147 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5148 libdir="$acl_save_libdir"
5149 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5151 for found_dir in $rpathdirs; do
5152 acl_save_libdir="$libdir"
5154 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5155 libdir="$acl_save_libdir"
5156 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5160 if test "X$ltrpathdirs" != "X"; then
5161 for found_dir in $ltrpathdirs; do
5162 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
5197 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
5198 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
5199 $as_echo_n "(cached) " >&6
5201 gt_save_LIBS="$LIBS"
5202 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5204 /* end confdefs.h. */
5205 #include <CoreFoundation/CFPreferences.h>
5209 CFPreferencesCopyAppValue(NULL, NULL)
5214 if ac_fn_c_try_link "$LINENO"; then :
5215 gt_cv_func_CFPreferencesCopyAppValue=yes
5217 gt_cv_func_CFPreferencesCopyAppValue=no
5219 rm -f core conftest.err conftest.$ac_objext \
5220 conftest$ac_exeext conftest.$ac_ext
5221 LIBS="$gt_save_LIBS"
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
5224 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
5225 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
5227 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
5231 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
5232 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
5233 $as_echo_n "(cached) " >&6
5235 gt_save_LIBS="$LIBS"
5236 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5238 /* end confdefs.h. */
5239 #include <CoreFoundation/CFLocale.h>
5243 CFLocaleCopyCurrent();
5248 if ac_fn_c_try_link "$LINENO"; then :
5249 gt_cv_func_CFLocaleCopyCurrent=yes
5251 gt_cv_func_CFLocaleCopyCurrent=no
5253 rm -f core conftest.err conftest.$ac_objext \
5254 conftest$ac_exeext conftest.$ac_ext
5255 LIBS="$gt_save_LIBS"
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
5258 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
5259 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5261 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
5265 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5266 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
5278 case " $gt_needs " in
5279 *" need-formatstring-macros "*) gt_api_version=3 ;;
5280 *" need-ngettext "*) gt_api_version=2 ;;
5281 *) gt_api_version=1 ;;
5283 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
5284 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
5286 if test "$USE_NLS" = "yes"; then
5287 gt_use_preinstalled_gnugettext=no
5290 if test $gt_api_version -ge 3; then
5291 gt_revision_test_code='
5292 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
5293 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
5295 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
5298 gt_revision_test_code=
5300 if test $gt_api_version -ge 2; then
5301 gt_expression_test_code=' + * ngettext ("", "", 0)'
5303 gt_expression_test_code=
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
5307 $as_echo_n "checking for GNU gettext in libc... " >&6; }
5308 if eval \${$gt_func_gnugettext_libc+:} false; then :
5309 $as_echo_n "(cached) " >&6
5311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5312 /* end confdefs.h. */
5313 #include <libintl.h>
5314 $gt_revision_test_code
5315 extern int _nl_msg_cat_cntr;
5316 extern int *_nl_domain_bindings;
5320 bindtextdomain ("", "");
5321 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
5326 if ac_fn_c_try_link "$LINENO"; then :
5327 eval "$gt_func_gnugettext_libc=yes"
5329 eval "$gt_func_gnugettext_libc=no"
5331 rm -f core conftest.err conftest.$ac_objext \
5332 conftest$ac_exeext conftest.$ac_ext
5334 eval ac_res=\$$gt_func_gnugettext_libc
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5336 $as_echo "$ac_res" >&6; }
5338 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
5344 am_save_CPPFLAGS="$CPPFLAGS"
5346 for element in $INCICONV; do
5348 for x in $CPPFLAGS; do
5350 acl_save_prefix="$prefix"
5351 prefix="$acl_final_prefix"
5352 acl_save_exec_prefix="$exec_prefix"
5353 exec_prefix="$acl_final_exec_prefix"
5355 exec_prefix="$acl_save_exec_prefix"
5356 prefix="$acl_save_prefix"
5358 if test "X$x" = "X$element"; then
5363 if test -z "$haveit"; then
5364 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
5370 $as_echo_n "checking for iconv... " >&6; }
5371 if ${am_cv_func_iconv+:} false; then :
5372 $as_echo_n "(cached) " >&6
5375 am_cv_func_iconv="no, consider installing GNU libiconv"
5377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5378 /* end confdefs.h. */
5384 iconv_t cd = iconv_open("","");
5385 iconv(cd,NULL,NULL,NULL,NULL);
5391 if ac_fn_c_try_link "$LINENO"; then :
5392 am_cv_func_iconv=yes
5394 rm -f core conftest.err conftest.$ac_objext \
5395 conftest$ac_exeext conftest.$ac_ext
5396 if test "$am_cv_func_iconv" != yes; then
5397 am_save_LIBS="$LIBS"
5398 LIBS="$LIBS $LIBICONV"
5399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5400 /* end confdefs.h. */
5406 iconv_t cd = iconv_open("","");
5407 iconv(cd,NULL,NULL,NULL,NULL);
5413 if ac_fn_c_try_link "$LINENO"; then :
5415 am_cv_func_iconv=yes
5417 rm -f core conftest.err conftest.$ac_objext \
5418 conftest$ac_exeext conftest.$ac_ext
5419 LIBS="$am_save_LIBS"
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
5424 $as_echo "$am_cv_func_iconv" >&6; }
5425 if test "$am_cv_func_iconv" = yes; then
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
5427 $as_echo_n "checking for working iconv... " >&6; }
5428 if ${am_cv_func_iconv_works+:} false; then :
5429 $as_echo_n "(cached) " >&6
5432 am_save_LIBS="$LIBS"
5433 if test $am_cv_lib_iconv = yes; then
5434 LIBS="$LIBS $LIBICONV"
5436 if test "$cross_compiling" = yes; then :
5438 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
5439 *) am_cv_func_iconv_works="guessing yes" ;;
5442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5443 /* end confdefs.h. */
5449 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
5452 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
5453 if (cd_utf8_to_88591 != (iconv_t)(-1))
5455 static const char input[] = "\342\202\254"; /* EURO SIGN */
5457 const char *inptr = input;
5458 size_t inbytesleft = strlen (input);
5460 size_t outbytesleft = sizeof (buf);
5461 size_t res = iconv (cd_utf8_to_88591,
5462 (char **) &inptr, &inbytesleft,
5463 &outptr, &outbytesleft);
5468 /* Test against Solaris 10 bug: Failures are not distinguishable from
5469 successful returns. */
5471 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
5472 if (cd_ascii_to_88591 != (iconv_t)(-1))
5474 static const char input[] = "\263";
5476 const char *inptr = input;
5477 size_t inbytesleft = strlen (input);
5479 size_t outbytesleft = sizeof (buf);
5480 size_t res = iconv (cd_ascii_to_88591,
5481 (char **) &inptr, &inbytesleft,
5482 &outptr, &outbytesleft);
5487 #if 0 /* This bug could be worked around by the caller. */
5488 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
5490 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
5491 if (cd_88591_to_utf8 != (iconv_t)(-1))
5493 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
5495 const char *inptr = input;
5496 size_t inbytesleft = strlen (input);
5498 size_t outbytesleft = sizeof (buf);
5499 size_t res = iconv (cd_88591_to_utf8,
5500 (char **) &inptr, &inbytesleft,
5501 &outptr, &outbytesleft);
5507 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
5509 if (/* Try standardized names. */
5510 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
5511 /* Try IRIX, OSF/1 names. */
5512 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
5513 /* Try AIX names. */
5514 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
5515 /* Try HP-UX names. */
5516 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
5521 if ac_fn_c_try_run "$LINENO"; then :
5522 am_cv_func_iconv_works=yes
5524 am_cv_func_iconv_works=no
5526 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5527 conftest.$ac_objext conftest.beam conftest.$ac_ext
5530 LIBS="$am_save_LIBS"
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
5534 $as_echo "$am_cv_func_iconv_works" >&6; }
5535 case "$am_cv_func_iconv_works" in
5536 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
5537 *) am_func_iconv=yes ;;
5540 am_func_iconv=no am_cv_lib_iconv=no
5542 if test "$am_func_iconv" = yes; then
5544 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
5547 if test "$am_cv_lib_iconv" = yes; then
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
5549 $as_echo_n "checking how to link with libiconv... " >&6; }
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
5551 $as_echo "$LIBICONV" >&6; }
5553 CPPFLAGS="$am_save_CPPFLAGS"
5570 acl_save_prefix="$prefix"
5571 prefix="$acl_final_prefix"
5572 acl_save_exec_prefix="$exec_prefix"
5573 exec_prefix="$acl_final_exec_prefix"
5575 eval additional_includedir=\"$includedir\"
5576 eval additional_libdir=\"$libdir\"
5578 exec_prefix="$acl_save_exec_prefix"
5579 prefix="$acl_save_prefix"
5582 # Check whether --with-libintl-prefix was given.
5583 if test "${with_libintl_prefix+set}" = set; then :
5584 withval=$with_libintl_prefix;
5585 if test "X$withval" = "Xno"; then
5588 if test "X$withval" = "X"; then
5590 acl_save_prefix="$prefix"
5591 prefix="$acl_final_prefix"
5592 acl_save_exec_prefix="$exec_prefix"
5593 exec_prefix="$acl_final_exec_prefix"
5595 eval additional_includedir=\"$includedir\"
5596 eval additional_libdir=\"$libdir\"
5598 exec_prefix="$acl_save_exec_prefix"
5599 prefix="$acl_save_prefix"
5602 additional_includedir="$withval/include"
5603 additional_libdir="$withval/$acl_libdirstem"
5604 if test "$acl_libdirstem2" != "$acl_libdirstem" \
5605 && ! test -d "$withval/$acl_libdirstem"; then
5606 additional_libdir="$withval/$acl_libdirstem2"
5620 names_already_handled=
5621 names_next_round='intl '
5622 while test -n "$names_next_round"; do
5623 names_this_round="$names_next_round"
5625 for name in $names_this_round; do
5627 for n in $names_already_handled; do
5628 if test "$n" = "$name"; then
5633 if test -z "$already_handled"; then
5634 names_already_handled="$names_already_handled $name"
5635 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5636 eval value=\"\$HAVE_LIB$uppername\"
5637 if test -n "$value"; then
5638 if test "$value" = yes; then
5639 eval value=\"\$LIB$uppername\"
5640 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
5641 eval value=\"\$LTLIB$uppername\"
5642 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
5651 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
5652 if test -n "$acl_shlibext"; then
5653 shrext=".$acl_shlibext" # typically: shrext=.so
5657 if test $use_additional = yes; then
5658 dir="$additional_libdir"
5659 if test -n "$acl_shlibext"; then
5660 if test -f "$dir/$libname$shrext"; then
5662 found_so="$dir/$libname$shrext"
5664 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5665 ver=`(cd "$dir" && \
5666 for f in "$libname$shrext".*; do echo "$f"; done \
5667 | sed -e "s,^$libname$shrext\\\\.,," \
5668 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5669 | sed 1q ) 2>/dev/null`
5670 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5672 found_so="$dir/$libname$shrext.$ver"
5675 eval library_names=\"$acl_library_names_spec\"
5676 for f in $library_names; do
5677 if test -f "$dir/$f"; then
5686 if test "X$found_dir" = "X"; then
5687 if test -f "$dir/$libname.$acl_libext"; then
5689 found_a="$dir/$libname.$acl_libext"
5692 if test "X$found_dir" != "X"; then
5693 if test -f "$dir/$libname.la"; then
5694 found_la="$dir/$libname.la"
5698 if test "X$found_dir" = "X"; then
5699 for x in $LDFLAGS $LTLIBINTL; do
5701 acl_save_prefix="$prefix"
5702 prefix="$acl_final_prefix"
5703 acl_save_exec_prefix="$exec_prefix"
5704 exec_prefix="$acl_final_exec_prefix"
5706 exec_prefix="$acl_save_exec_prefix"
5707 prefix="$acl_save_prefix"
5711 dir=`echo "X$x" | sed -e 's/^X-L//'`
5712 if test -n "$acl_shlibext"; then
5713 if test -f "$dir/$libname$shrext"; then
5715 found_so="$dir/$libname$shrext"
5717 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5718 ver=`(cd "$dir" && \
5719 for f in "$libname$shrext".*; do echo "$f"; done \
5720 | sed -e "s,^$libname$shrext\\\\.,," \
5721 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5722 | sed 1q ) 2>/dev/null`
5723 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5725 found_so="$dir/$libname$shrext.$ver"
5728 eval library_names=\"$acl_library_names_spec\"
5729 for f in $library_names; do
5730 if test -f "$dir/$f"; then
5739 if test "X$found_dir" = "X"; then
5740 if test -f "$dir/$libname.$acl_libext"; then
5742 found_a="$dir/$libname.$acl_libext"
5745 if test "X$found_dir" != "X"; then
5746 if test -f "$dir/$libname.la"; then
5747 found_la="$dir/$libname.la"
5752 if test "X$found_dir" != "X"; then
5757 if test "X$found_dir" != "X"; then
5758 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
5759 if test "X$found_so" != "X"; then
5760 if test "$enable_rpath" = no \
5761 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
5762 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
5763 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5766 for x in $ltrpathdirs; do
5767 if test "X$x" = "X$found_dir"; then
5772 if test -z "$haveit"; then
5773 ltrpathdirs="$ltrpathdirs $found_dir"
5775 if test "$acl_hardcode_direct" = yes; then
5776 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5778 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
5779 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5781 for x in $rpathdirs; do
5782 if test "X$x" = "X$found_dir"; then
5787 if test -z "$haveit"; then
5788 rpathdirs="$rpathdirs $found_dir"
5792 for x in $LDFLAGS $LIBINTL; do
5794 acl_save_prefix="$prefix"
5795 prefix="$acl_final_prefix"
5796 acl_save_exec_prefix="$exec_prefix"
5797 exec_prefix="$acl_final_exec_prefix"
5799 exec_prefix="$acl_save_exec_prefix"
5800 prefix="$acl_save_prefix"
5802 if test "X$x" = "X-L$found_dir"; then
5807 if test -z "$haveit"; then
5808 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
5810 if test "$acl_hardcode_minus_L" != no; then
5811 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5813 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
5819 if test "X$found_a" != "X"; then
5820 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
5822 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
5825 additional_includedir=
5826 case "$found_dir" in
5827 */$acl_libdirstem | */$acl_libdirstem/)
5828 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5829 if test "$name" = 'intl'; then
5830 LIBINTL_PREFIX="$basedir"
5832 additional_includedir="$basedir/include"
5834 */$acl_libdirstem2 | */$acl_libdirstem2/)
5835 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
5836 if test "$name" = 'intl'; then
5837 LIBINTL_PREFIX="$basedir"
5839 additional_includedir="$basedir/include"
5842 if test "X$additional_includedir" != "X"; then
5843 if test "X$additional_includedir" != "X/usr/include"; then
5845 if test "X$additional_includedir" = "X/usr/local/include"; then
5846 if test -n "$GCC"; then
5848 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5852 if test -z "$haveit"; then
5853 for x in $CPPFLAGS $INCINTL; do
5855 acl_save_prefix="$prefix"
5856 prefix="$acl_final_prefix"
5857 acl_save_exec_prefix="$exec_prefix"
5858 exec_prefix="$acl_final_exec_prefix"
5860 exec_prefix="$acl_save_exec_prefix"
5861 prefix="$acl_save_prefix"
5863 if test "X$x" = "X-I$additional_includedir"; then
5868 if test -z "$haveit"; then
5869 if test -d "$additional_includedir"; then
5870 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
5876 if test -n "$found_la"; then
5877 save_libdir="$libdir"
5879 */* | *\\*) . "$found_la" ;;
5880 *) . "./$found_la" ;;
5882 libdir="$save_libdir"
5883 for dep in $dependency_libs; do
5886 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5887 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
5888 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
5890 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
5891 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
5892 if test -n "$GCC"; then
5894 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5898 if test -z "$haveit"; then
5900 for x in $LDFLAGS $LIBINTL; do
5902 acl_save_prefix="$prefix"
5903 prefix="$acl_final_prefix"
5904 acl_save_exec_prefix="$exec_prefix"
5905 exec_prefix="$acl_final_exec_prefix"
5907 exec_prefix="$acl_save_exec_prefix"
5908 prefix="$acl_save_prefix"
5910 if test "X$x" = "X-L$additional_libdir"; then
5915 if test -z "$haveit"; then
5916 if test -d "$additional_libdir"; then
5917 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
5921 for x in $LDFLAGS $LTLIBINTL; do
5923 acl_save_prefix="$prefix"
5924 prefix="$acl_final_prefix"
5925 acl_save_exec_prefix="$exec_prefix"
5926 exec_prefix="$acl_final_exec_prefix"
5928 exec_prefix="$acl_save_exec_prefix"
5929 prefix="$acl_save_prefix"
5931 if test "X$x" = "X-L$additional_libdir"; then
5936 if test -z "$haveit"; then
5937 if test -d "$additional_libdir"; then
5938 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
5945 dir=`echo "X$dep" | sed -e 's/^X-R//'`
5946 if test "$enable_rpath" != no; then
5948 for x in $rpathdirs; do
5949 if test "X$x" = "X$dir"; then
5954 if test -z "$haveit"; then
5955 rpathdirs="$rpathdirs $dir"
5958 for x in $ltrpathdirs; do
5959 if test "X$x" = "X$dir"; then
5964 if test -z "$haveit"; then
5965 ltrpathdirs="$ltrpathdirs $dir"
5970 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5973 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5976 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
5977 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
5983 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
5984 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
5990 if test "X$rpathdirs" != "X"; then
5991 if test -n "$acl_hardcode_libdir_separator"; then
5993 for found_dir in $rpathdirs; do
5994 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
5996 acl_save_libdir="$libdir"
5998 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5999 libdir="$acl_save_libdir"
6000 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6002 for found_dir in $rpathdirs; do
6003 acl_save_libdir="$libdir"
6005 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6006 libdir="$acl_save_libdir"
6007 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6011 if test "X$ltrpathdirs" != "X"; then
6012 for found_dir in $ltrpathdirs; do
6013 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6023 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
6024 if eval \${$gt_func_gnugettext_libintl+:} false; then :
6025 $as_echo_n "(cached) " >&6
6027 gt_save_CPPFLAGS="$CPPFLAGS"
6028 CPPFLAGS="$CPPFLAGS $INCINTL"
6029 gt_save_LIBS="$LIBS"
6030 LIBS="$LIBS $LIBINTL"
6031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6032 /* end confdefs.h. */
6033 #include <libintl.h>
6034 $gt_revision_test_code
6035 extern int _nl_msg_cat_cntr;
6040 const char *_nl_expand_alias (const char *);
6044 bindtextdomain ("", "");
6045 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6050 if ac_fn_c_try_link "$LINENO"; then :
6051 eval "$gt_func_gnugettext_libintl=yes"
6053 eval "$gt_func_gnugettext_libintl=no"
6055 rm -f core conftest.err conftest.$ac_objext \
6056 conftest$ac_exeext conftest.$ac_ext
6057 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
6058 LIBS="$LIBS $LIBICONV"
6059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6060 /* end confdefs.h. */
6061 #include <libintl.h>
6062 $gt_revision_test_code
6063 extern int _nl_msg_cat_cntr;
6068 const char *_nl_expand_alias (const char *);
6072 bindtextdomain ("", "");
6073 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6078 if ac_fn_c_try_link "$LINENO"; then :
6079 LIBINTL="$LIBINTL $LIBICONV"
6080 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
6081 eval "$gt_func_gnugettext_libintl=yes"
6084 rm -f core conftest.err conftest.$ac_objext \
6085 conftest$ac_exeext conftest.$ac_ext
6087 CPPFLAGS="$gt_save_CPPFLAGS"
6088 LIBS="$gt_save_LIBS"
6090 eval ac_res=\$$gt_func_gnugettext_libintl
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6092 $as_echo "$ac_res" >&6; }
6095 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
6096 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
6097 && test "$PACKAGE" != gettext-runtime \
6098 && test "$PACKAGE" != gettext-tools; }; then
6099 gt_use_preinstalled_gnugettext=yes
6108 if test -n "$INTL_MACOSX_LIBS"; then
6109 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6110 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6111 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
6112 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
6116 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6117 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6119 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6127 $as_echo_n "checking whether to use NLS... " >&6; }
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6129 $as_echo "$USE_NLS" >&6; }
6130 if test "$USE_NLS" = "yes"; then
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6132 $as_echo_n "checking where the gettext function comes from... " >&6; }
6133 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6134 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6135 gt_source="external libintl"
6140 gt_source="included intl directory"
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6143 $as_echo "$gt_source" >&6; }
6146 if test "$USE_NLS" = "yes"; then
6148 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6149 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6151 $as_echo_n "checking how to link with libintl... " >&6; }
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6153 $as_echo "$LIBINTL" >&6; }
6155 for element in $INCINTL; do
6157 for x in $CPPFLAGS; do
6159 acl_save_prefix="$prefix"
6160 prefix="$acl_final_prefix"
6161 acl_save_exec_prefix="$exec_prefix"
6162 exec_prefix="$acl_final_exec_prefix"
6164 exec_prefix="$acl_save_exec_prefix"
6165 prefix="$acl_save_prefix"
6167 if test "X$x" = "X$element"; then
6172 if test -z "$haveit"; then
6173 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6180 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6183 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
6200 ############### common
6209 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6210 if test -n "$ac_tool_prefix"; then
6211 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6212 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6214 $as_echo_n "checking for $ac_word... " >&6; }
6215 if ${ac_cv_path_PKG_CONFIG+:} false; then :
6216 $as_echo_n "(cached) " >&6
6220 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6227 test -z "$as_dir" && as_dir=.
6228 for ac_exec_ext in '' $ac_executable_extensions; do
6229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6230 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6241 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6242 if test -n "$PKG_CONFIG"; then
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6244 $as_echo "$PKG_CONFIG" >&6; }
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6247 $as_echo "no" >&6; }
6252 if test -z "$ac_cv_path_PKG_CONFIG"; then
6253 ac_pt_PKG_CONFIG=$PKG_CONFIG
6254 # Extract the first word of "pkg-config", so it can be a program name with args.
6255 set dummy pkg-config; ac_word=$2
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6257 $as_echo_n "checking for $ac_word... " >&6; }
6258 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
6259 $as_echo_n "(cached) " >&6
6261 case $ac_pt_PKG_CONFIG in
6263 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6270 test -z "$as_dir" && as_dir=.
6271 for ac_exec_ext in '' $ac_executable_extensions; do
6272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6273 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6284 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6285 if test -n "$ac_pt_PKG_CONFIG"; then
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6287 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6290 $as_echo "no" >&6; }
6293 if test "x$ac_pt_PKG_CONFIG" = x; then
6296 case $cross_compiling:$ac_tool_warned in
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6300 ac_tool_warned=yes ;;
6302 PKG_CONFIG=$ac_pt_PKG_CONFIG
6305 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6309 if test -n "$PKG_CONFIG"; then
6310 _pkg_min_version=0.9.0
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
6312 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6313 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6315 $as_echo "yes" >&6; }
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6318 $as_echo "no" >&6; }
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
6325 $as_echo_n "checking for X11... " >&6; }
6327 if test -n "$X11_CFLAGS"; then
6328 pkg_cv_X11_CFLAGS="$X11_CFLAGS"
6329 elif test -n "$PKG_CONFIG"; then
6330 if test -n "$PKG_CONFIG" && \
6331 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
6332 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
6334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6335 test $ac_status = 0; }; then
6336 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
6337 test "x$?" != "x0" && pkg_failed=yes
6344 if test -n "$X11_LIBS"; then
6345 pkg_cv_X11_LIBS="$X11_LIBS"
6346 elif test -n "$PKG_CONFIG"; then
6347 if test -n "$PKG_CONFIG" && \
6348 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
6349 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
6351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6352 test $ac_status = 0; }; then
6353 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
6354 test "x$?" != "x0" && pkg_failed=yes
6364 if test $pkg_failed = yes; then
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6366 $as_echo "no" >&6; }
6368 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6369 _pkg_short_errors_supported=yes
6371 _pkg_short_errors_supported=no
6373 if test $_pkg_short_errors_supported = yes; then
6374 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1`
6376 X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1`
6378 # Put the nasty error message in config.log where it belongs
6379 echo "$X11_PKG_ERRORS" >&5
6381 as_fn_error $? "Package requirements (x11) were not met:
6385 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6386 installed software in a non-standard prefix.
6388 Alternatively, you may set the environment variables X11_CFLAGS
6389 and X11_LIBS to avoid the need to call pkg-config.
6390 See the pkg-config man page for more details." "$LINENO" 5
6391 elif test $pkg_failed = untried; then
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6393 $as_echo "no" >&6; }
6394 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6396 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6397 is in your PATH or set the PKG_CONFIG environment variable to the full
6400 Alternatively, you may set the environment variables X11_CFLAGS
6401 and X11_LIBS to avoid the need to call pkg-config.
6402 See the pkg-config man page for more details.
6404 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6405 See \`config.log' for more details" "$LINENO" 5; }
6407 X11_CFLAGS=$pkg_cv_X11_CFLAGS
6408 X11_LIBS=$pkg_cv_X11_LIBS
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6410 $as_echo "yes" >&6; }
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
6419 $as_echo_n "checking for XEXT... " >&6; }
6421 if test -n "$XEXT_CFLAGS"; then
6422 pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
6423 elif test -n "$PKG_CONFIG"; then
6424 if test -n "$PKG_CONFIG" && \
6425 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
6426 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
6428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6429 test $ac_status = 0; }; then
6430 pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xext" 2>/dev/null`
6431 test "x$?" != "x0" && pkg_failed=yes
6438 if test -n "$XEXT_LIBS"; then
6439 pkg_cv_XEXT_LIBS="$XEXT_LIBS"
6440 elif test -n "$PKG_CONFIG"; then
6441 if test -n "$PKG_CONFIG" && \
6442 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
6443 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
6445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6446 test $ac_status = 0; }; then
6447 pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xext" 2>/dev/null`
6448 test "x$?" != "x0" && pkg_failed=yes
6458 if test $pkg_failed = yes; then
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6460 $as_echo "no" >&6; }
6462 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6463 _pkg_short_errors_supported=yes
6465 _pkg_short_errors_supported=no
6467 if test $_pkg_short_errors_supported = yes; then
6468 XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xext" 2>&1`
6470 XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xext" 2>&1`
6472 # Put the nasty error message in config.log where it belongs
6473 echo "$XEXT_PKG_ERRORS" >&5
6475 as_fn_error $? "Package requirements (xext) were not met:
6479 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6480 installed software in a non-standard prefix.
6482 Alternatively, you may set the environment variables XEXT_CFLAGS
6483 and XEXT_LIBS to avoid the need to call pkg-config.
6484 See the pkg-config man page for more details." "$LINENO" 5
6485 elif test $pkg_failed = untried; then
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6487 $as_echo "no" >&6; }
6488 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6490 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6491 is in your PATH or set the PKG_CONFIG environment variable to the full
6494 Alternatively, you may set the environment variables XEXT_CFLAGS
6495 and XEXT_LIBS to avoid the need to call pkg-config.
6496 See the pkg-config man page for more details.
6498 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6499 See \`config.log' for more details" "$LINENO" 5; }
6501 XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
6502 XEXT_LIBS=$pkg_cv_XEXT_LIBS
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6504 $as_echo "yes" >&6; }
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
6514 $as_echo_n "checking for GTK... " >&6; }
6516 if test -n "$GTK_CFLAGS"; then
6517 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
6518 elif test -n "$PKG_CONFIG"; then
6519 if test -n "$PKG_CONFIG" && \
6520 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
6521 ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
6523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6524 test $ac_status = 0; }; then
6525 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0" 2>/dev/null`
6526 test "x$?" != "x0" && pkg_failed=yes
6533 if test -n "$GTK_LIBS"; then
6534 pkg_cv_GTK_LIBS="$GTK_LIBS"
6535 elif test -n "$PKG_CONFIG"; then
6536 if test -n "$PKG_CONFIG" && \
6537 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
6538 ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
6540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6541 test $ac_status = 0; }; then
6542 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0" 2>/dev/null`
6543 test "x$?" != "x0" && pkg_failed=yes
6553 if test $pkg_failed = yes; then
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6555 $as_echo "no" >&6; }
6557 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6558 _pkg_short_errors_supported=yes
6560 _pkg_short_errors_supported=no
6562 if test $_pkg_short_errors_supported = yes; then
6563 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0" 2>&1`
6565 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0" 2>&1`
6567 # Put the nasty error message in config.log where it belongs
6568 echo "$GTK_PKG_ERRORS" >&5
6570 as_fn_error $? "Package requirements (gtk+-3.0) were not met:
6574 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6575 installed software in a non-standard prefix.
6577 Alternatively, you may set the environment variables GTK_CFLAGS
6578 and GTK_LIBS to avoid the need to call pkg-config.
6579 See the pkg-config man page for more details." "$LINENO" 5
6580 elif test $pkg_failed = untried; then
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6582 $as_echo "no" >&6; }
6583 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6585 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6586 is in your PATH or set the PKG_CONFIG environment variable to the full
6589 Alternatively, you may set the environment variables GTK_CFLAGS
6590 and GTK_LIBS to avoid the need to call pkg-config.
6591 See the pkg-config man page for more details.
6593 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6594 See \`config.log' for more details" "$LINENO" 5; }
6596 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
6597 GTK_LIBS=$pkg_cv_GTK_LIBS
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6599 $as_echo "yes" >&6; }
6602 # ensure that only allowed headers are included
6603 GTK_CFLAGS+=" -DGTK_DISABLE_SINGLE_INCLUDES "
6604 # ensure that no gtk deprecated symbols are used
6605 GTK_CFLAGS+=" -DGDK_DISABLE_DEPRECATED "
6607 # ensure use of accessors
6608 GTK_CFLAGS+=" -DGSEAL_ENABLE "
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
6616 $as_echo_n "checking for CURL... " >&6; }
6618 if test -n "$CURL_CFLAGS"; then
6619 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
6620 elif test -n "$PKG_CONFIG"; then
6621 if test -n "$PKG_CONFIG" && \
6622 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl \""; } >&5
6623 ($PKG_CONFIG --exists --print-errors "libcurl ") 2>&5
6625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6626 test $ac_status = 0; }; then
6627 pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl " 2>/dev/null`
6628 test "x$?" != "x0" && pkg_failed=yes
6635 if test -n "$CURL_LIBS"; then
6636 pkg_cv_CURL_LIBS="$CURL_LIBS"
6637 elif test -n "$PKG_CONFIG"; then
6638 if test -n "$PKG_CONFIG" && \
6639 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl \""; } >&5
6640 ($PKG_CONFIG --exists --print-errors "libcurl ") 2>&5
6642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6643 test $ac_status = 0; }; then
6644 pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl " 2>/dev/null`
6645 test "x$?" != "x0" && pkg_failed=yes
6655 if test $pkg_failed = yes; then
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6657 $as_echo "no" >&6; }
6659 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6660 _pkg_short_errors_supported=yes
6662 _pkg_short_errors_supported=no
6664 if test $_pkg_short_errors_supported = yes; then
6665 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl " 2>&1`
6667 CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl " 2>&1`
6669 # Put the nasty error message in config.log where it belongs
6670 echo "$CURL_PKG_ERRORS" >&5
6672 as_fn_error $? "Package requirements (libcurl ) were not met:
6676 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6677 installed software in a non-standard prefix.
6679 Alternatively, you may set the environment variables CURL_CFLAGS
6680 and CURL_LIBS to avoid the need to call pkg-config.
6681 See the pkg-config man page for more details." "$LINENO" 5
6682 elif test $pkg_failed = untried; then
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6684 $as_echo "no" >&6; }
6685 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6687 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6688 is in your PATH or set the PKG_CONFIG environment variable to the full
6691 Alternatively, you may set the environment variables CURL_CFLAGS
6692 and CURL_LIBS to avoid the need to call pkg-config.
6693 See the pkg-config man page for more details.
6695 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6696 See \`config.log' for more details" "$LINENO" 5; }
6698 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
6699 CURL_LIBS=$pkg_cv_CURL_LIBS
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6701 $as_echo "yes" >&6; }
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
6712 $as_echo_n "checking for JSON... " >&6; }
6714 if test -n "$JSON_CFLAGS"; then
6715 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
6716 elif test -n "$PKG_CONFIG"; then
6717 if test -n "$PKG_CONFIG" && \
6718 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
6719 ($PKG_CONFIG --exists --print-errors "json") 2>&5
6721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6722 test $ac_status = 0; }; then
6723 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json" 2>/dev/null`
6724 test "x$?" != "x0" && pkg_failed=yes
6731 if test -n "$JSON_LIBS"; then
6732 pkg_cv_JSON_LIBS="$JSON_LIBS"
6733 elif test -n "$PKG_CONFIG"; then
6734 if test -n "$PKG_CONFIG" && \
6735 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
6736 ($PKG_CONFIG --exists --print-errors "json") 2>&5
6738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6739 test $ac_status = 0; }; then
6740 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json" 2>/dev/null`
6741 test "x$?" != "x0" && pkg_failed=yes
6751 if test $pkg_failed = yes; then
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6753 $as_echo "no" >&6; }
6755 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6756 _pkg_short_errors_supported=yes
6758 _pkg_short_errors_supported=no
6760 if test $_pkg_short_errors_supported = yes; then
6761 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json" 2>&1`
6763 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json" 2>&1`
6765 # Put the nasty error message in config.log where it belongs
6766 echo "$JSON_PKG_ERRORS" >&5
6768 as_fn_error $? "Package requirements (json) were not met:
6772 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6773 installed software in a non-standard prefix.
6775 Alternatively, you may set the environment variables JSON_CFLAGS
6776 and JSON_LIBS to avoid the need to call pkg-config.
6777 See the pkg-config man page for more details." "$LINENO" 5
6778 elif test $pkg_failed = untried; then
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6780 $as_echo "no" >&6; }
6781 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6782 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6783 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6784 is in your PATH or set the PKG_CONFIG environment variable to the full
6787 Alternatively, you may set the environment variables JSON_CFLAGS
6788 and JSON_LIBS to avoid the need to call pkg-config.
6789 See the pkg-config man page for more details.
6791 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6792 See \`config.log' for more details" "$LINENO" 5; }
6794 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
6795 JSON_LIBS=$pkg_cv_JSON_LIBS
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6797 $as_echo "yes" >&6; }
6806 # Check whether --enable-schemas-compile was given.
6807 if test "${enable_schemas_compile+set}" = set; then :
6808 enableval=$enable_schemas_compile; case ${enableval} in
6809 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
6810 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
6811 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
6823 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6824 if test -n "$ac_tool_prefix"; then
6825 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6826 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6828 $as_echo_n "checking for $ac_word... " >&6; }
6829 if ${ac_cv_path_PKG_CONFIG+:} false; then :
6830 $as_echo_n "(cached) " >&6
6834 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6841 test -z "$as_dir" && as_dir=.
6842 for ac_exec_ext in '' $ac_executable_extensions; do
6843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6844 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6855 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6856 if test -n "$PKG_CONFIG"; then
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6858 $as_echo "$PKG_CONFIG" >&6; }
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6861 $as_echo "no" >&6; }
6866 if test -z "$ac_cv_path_PKG_CONFIG"; then
6867 ac_pt_PKG_CONFIG=$PKG_CONFIG
6868 # Extract the first word of "pkg-config", so it can be a program name with args.
6869 set dummy pkg-config; ac_word=$2
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6871 $as_echo_n "checking for $ac_word... " >&6; }
6872 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
6873 $as_echo_n "(cached) " >&6
6875 case $ac_pt_PKG_CONFIG in
6877 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6884 test -z "$as_dir" && as_dir=.
6885 for ac_exec_ext in '' $ac_executable_extensions; do
6886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6887 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6898 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6899 if test -n "$ac_pt_PKG_CONFIG"; then
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6901 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6904 $as_echo "no" >&6; }
6907 if test "x$ac_pt_PKG_CONFIG" = x; then
6910 case $cross_compiling:$ac_tool_warned in
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6914 ac_tool_warned=yes ;;
6916 PKG_CONFIG=$ac_pt_PKG_CONFIG
6919 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6923 if test -n "$PKG_CONFIG"; then
6924 _pkg_min_version=0.16
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
6926 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6927 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6929 $as_echo "yes" >&6; }
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6932 $as_echo "no" >&6; }
6936 gsettingsschemadir=${datadir}/glib-2.0/schemas
6938 if test x$cross_compiling != xyes; then
6939 GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
6941 # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
6942 set dummy glib-compile-schemas; ac_word=$2
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6944 $as_echo_n "checking for $ac_word... " >&6; }
6945 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
6946 $as_echo_n "(cached) " >&6
6948 case $GLIB_COMPILE_SCHEMAS in
6950 ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
6953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6957 test -z "$as_dir" && as_dir=.
6958 for ac_exec_ext in '' $ac_executable_extensions; do
6959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6960 ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
6961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6971 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
6972 if test -n "$GLIB_COMPILE_SCHEMAS"; then
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
6974 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6977 $as_echo "no" >&6; }
6983 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
6984 as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
6990 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
6992 mostlyclean-am: clean-gsettings-schemas
6994 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
6996 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
6997 $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
6999 all-am: $(gsettings_SCHEMAS:.xml=.valid)
7000 uninstall-am: uninstall-gsettings-schemas
7001 install-data-am: install-gsettings-schemas
7003 .SECONDARY: $(gsettings_SCHEMAS)
7005 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
7007 if test -n "$^"; then \
7008 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
7009 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
7010 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
7013 uninstall-gsettings-schemas:
7014 @$(NORMAL_UNINSTALL)
7015 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
7016 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
7017 test -n "$$files" || exit 0; \
7018 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
7019 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
7020 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
7022 clean-gsettings-schemas:
7023 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
7025 ifdef gsettings_ENUM_NAMESPACE
7026 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
7027 $(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 $@
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
7041 $as_echo_n "checking for WEBKIT... " >&6; }
7043 if test -n "$WEBKIT_CFLAGS"; then
7044 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
7045 elif test -n "$PKG_CONFIG"; then
7046 if test -n "$PKG_CONFIG" && \
7047 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkitgtk-3.0\""; } >&5
7048 ($PKG_CONFIG --exists --print-errors "webkitgtk-3.0") 2>&5
7050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7051 test $ac_status = 0; }; then
7052 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkitgtk-3.0" 2>/dev/null`
7053 test "x$?" != "x0" && pkg_failed=yes
7060 if test -n "$WEBKIT_LIBS"; then
7061 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
7062 elif test -n "$PKG_CONFIG"; then
7063 if test -n "$PKG_CONFIG" && \
7064 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkitgtk-3.0\""; } >&5
7065 ($PKG_CONFIG --exists --print-errors "webkitgtk-3.0") 2>&5
7067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7068 test $ac_status = 0; }; then
7069 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkitgtk-3.0" 2>/dev/null`
7070 test "x$?" != "x0" && pkg_failed=yes
7080 if test $pkg_failed = yes; then
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7082 $as_echo "no" >&6; }
7084 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7085 _pkg_short_errors_supported=yes
7087 _pkg_short_errors_supported=no
7089 if test $_pkg_short_errors_supported = yes; then
7090 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "webkitgtk-3.0" 2>&1`
7092 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "webkitgtk-3.0" 2>&1`
7094 # Put the nasty error message in config.log where it belongs
7095 echo "$WEBKIT_PKG_ERRORS" >&5
7097 as_fn_error $? "Package requirements (webkitgtk-3.0) were not met:
7101 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7102 installed software in a non-standard prefix.
7104 Alternatively, you may set the environment variables WEBKIT_CFLAGS
7105 and WEBKIT_LIBS to avoid the need to call pkg-config.
7106 See the pkg-config man page for more details." "$LINENO" 5
7107 elif test $pkg_failed = untried; then
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7109 $as_echo "no" >&6; }
7110 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7112 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
7113 is in your PATH or set the PKG_CONFIG environment variable to the full
7116 Alternatively, you may set the environment variables WEBKIT_CFLAGS
7117 and WEBKIT_LIBS to avoid the need to call pkg-config.
7118 See the pkg-config man page for more details.
7120 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7121 See \`config.log' for more details" "$LINENO" 5; }
7123 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
7124 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7126 $as_echo "yes" >&6; }
7132 ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile src/glade/Makefile tests/Makefile"
7135 for ac_prog in help2man
7137 # Extract the first word of "$ac_prog", so it can be a program name with args.
7138 set dummy $ac_prog; ac_word=$2
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7140 $as_echo_n "checking for $ac_word... " >&6; }
7141 if ${ac_cv_prog_HELP2MAN+:} false; then :
7142 $as_echo_n "(cached) " >&6
7144 if test -n "$HELP2MAN"; then
7145 ac_cv_prog_HELP2MAN="$HELP2MAN" # Let the user override the test.
7147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7151 test -z "$as_dir" && as_dir=.
7152 for ac_exec_ext in '' $ac_executable_extensions; do
7153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7154 ac_cv_prog_HELP2MAN="$ac_prog"
7155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7164 HELP2MAN=$ac_cv_prog_HELP2MAN
7165 if test -n "$HELP2MAN"; then
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5
7167 $as_echo "$HELP2MAN" >&6; }
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7170 $as_echo "no" >&6; }
7174 test -n "$HELP2MAN" && break
7178 # Extract the first word of "cppcheck", so it can be a program name with args.
7179 set dummy cppcheck; ac_word=$2
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7181 $as_echo_n "checking for $ac_word... " >&6; }
7182 if ${ac_cv_prog_HAVE_CPPCHECK+:} false; then :
7183 $as_echo_n "(cached) " >&6
7185 if test -n "$HAVE_CPPCHECK"; then
7186 ac_cv_prog_HAVE_CPPCHECK="$HAVE_CPPCHECK" # Let the user override the test.
7188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7192 test -z "$as_dir" && as_dir=.
7193 for ac_exec_ext in '' $ac_executable_extensions; do
7194 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7195 ac_cv_prog_HAVE_CPPCHECK="yes"
7196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7205 HAVE_CPPCHECK=$ac_cv_prog_HAVE_CPPCHECK
7206 if test -n "$HAVE_CPPCHECK"; then
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CPPCHECK" >&5
7208 $as_echo "$HAVE_CPPCHECK" >&6; }
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7211 $as_echo "no" >&6; }
7215 if test -n "$HAVE_CPPCHECK"; then
7224 cat >confcache <<\_ACEOF
7225 # This file is a shell script that caches the results of configure
7226 # tests run on this system so they can be shared between configure
7227 # scripts and configure runs, see configure's option --config-cache.
7228 # It is not useful on other systems. If it contains results you don't
7229 # want to keep, you may remove or edit it.
7231 # config.status only pays attention to the cache file if you give it
7232 # the --recheck option to rerun configure.
7234 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7235 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7240 # The following way of writing the cache mishandles newlines in values,
7241 # but we know of no workaround that is simple, portable, and efficient.
7242 # So, we kill variables containing newlines.
7243 # Ultrix sh set writes to stderr and can't be redirected directly,
7244 # and sets the high bit in the cache file unless we assign to the vars.
7246 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7247 eval ac_val=\$$ac_var
7251 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7252 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7255 _ | IFS | as_nl) ;; #(
7256 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7257 *) { eval $ac_var=; unset $ac_var;} ;;
7263 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7264 *${as_nl}ac_space=\ *)
7265 # `set' does not quote correctly, so add quotes: double-quote
7266 # substitution turns \\\\ into \\, and sed turns \\ into \.
7269 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7272 # `set' quotes correctly as required by POSIX, so do not add quotes.
7273 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7282 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7284 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7286 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7287 if test -w "$cache_file"; then
7288 if test "x$cache_file" != "x/dev/null"; then
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7290 $as_echo "$as_me: updating cache $cache_file" >&6;}
7291 if test ! -f "$cache_file" || test -h "$cache_file"; then
7292 cat confcache >"$cache_file"
7294 case $cache_file in #(
7296 mv -f confcache "$cache_file"$$ &&
7297 mv -f "$cache_file"$$ "$cache_file" ;; #(
7299 mv -f confcache "$cache_file" ;;
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7305 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7310 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7311 # Let make expand exec_prefix.
7312 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7314 # Transform confdefs.h into DEFS.
7315 # Protect against shell expansion while executing Makefile rules.
7316 # Protect against Makefile macro expansion.
7318 # If the first sed substitution is executed (which looks for macros that
7319 # take arguments), then branch to the quote section. Otherwise,
7320 # look for a macro that doesn't take arguments.
7330 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
7332 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
7336 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
7349 DEFS=`sed -n "$ac_script" confdefs.h`
7355 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7356 # 1. Remove the extension, and $U if already installed.
7357 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7358 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7359 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7360 # will be set to the directory where LIBOBJS objects are built.
7361 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7362 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7366 LTLIBOBJS=$ac_ltlibobjs
7369 if test -n "$EXEEXT"; then
7371 am__EXEEXT_FALSE='#'
7377 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7378 as_fn_error $? "conditional \"AMDEP\" was never defined.
7379 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7381 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7382 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
7383 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7385 if test -z "${CPPCHECK_TRUE}" && test -z "${CPPCHECK_FALSE}"; then
7386 as_fn_error $? "conditional \"CPPCHECK\" was never defined.
7387 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7390 : "${CONFIG_STATUS=./config.status}"
7392 ac_clean_files_save=$ac_clean_files
7393 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7395 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7397 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7399 # Generated by $as_me.
7400 # Run this file to recreate the current configuration.
7401 # Compiler output produced by configure, useful for debugging
7402 # configure, is in config.log if it exists.
7408 SHELL=\${CONFIG_SHELL-$SHELL}
7411 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7412 ## -------------------- ##
7413 ## M4sh Initialization. ##
7414 ## -------------------- ##
7416 # Be more Bourne compatible
7417 DUALCASE=1; export DUALCASE # for MKS sh
7418 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7421 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7422 # is contrary to our usage. Disable this feature.
7423 alias -g '${1+"$@"}'='"$@"'
7424 setopt NO_GLOB_SUBST
7426 case `(set -o) 2>/dev/null` in #(
7438 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7439 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7440 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7441 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7442 # Prefer a ksh shell builtin over an external printf program on Solaris,
7443 # but without wasting forks for bash or zsh.
7444 if test -z "$BASH_VERSION$ZSH_VERSION" \
7445 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7446 as_echo='print -r --'
7447 as_echo_n='print -rn --'
7448 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7449 as_echo='printf %s\n'
7450 as_echo_n='printf %s'
7452 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7453 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7454 as_echo_n='/usr/ucb/echo -n'
7456 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7457 as_echo_n_body='eval
7461 expr "X$arg" : "X\\(.*\\)$as_nl";
7462 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7464 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7466 export as_echo_n_body
7467 as_echo_n='sh -c $as_echo_n_body as_echo'
7470 as_echo='sh -c $as_echo_body as_echo'
7473 # The user is always right.
7474 if test "${PATH_SEPARATOR+set}" != set; then
7476 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7477 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7484 # We need space, tab and new line, in precisely that order. Quoting is
7485 # there to prevent editors from complaining about space-tab.
7486 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7487 # splitting by setting IFS to empty value.)
7490 # Find who we are. Look in the path if we contain no directory separator.
7493 *[\\/]* ) as_myself=$0 ;;
7494 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7498 test -z "$as_dir" && as_dir=.
7499 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7505 # We did not find ourselves, most probably we were run as `sh COMMAND'
7506 # in which case we are not to be found in the path.
7507 if test "x$as_myself" = x; then
7510 if test ! -f "$as_myself"; then
7511 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7515 # Unset variables that we do not need and which cause bugs (e.g. in
7516 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7517 # suppresses any "Segmentation fault" message there. '((' could
7518 # trigger a bug in pdksh 5.2.14.
7519 for as_var in BASH_ENV ENV MAIL MAILPATH
7520 do eval test x\${$as_var+set} = xset \
7521 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7534 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7537 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7538 # ----------------------------------------
7539 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7540 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7541 # script with STATUS, using 1 if that was 0.
7544 as_status=$1; test $as_status -eq 0 && as_status=1
7546 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7547 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7549 $as_echo "$as_me: error: $2" >&2
7550 as_fn_exit $as_status
7554 # as_fn_set_status STATUS
7555 # -----------------------
7556 # Set $? to STATUS, without forking.
7560 } # as_fn_set_status
7564 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7574 # Portably unset VAR.
7577 { eval $1=; unset $1;}
7579 as_unset=as_fn_unset
7580 # as_fn_append VAR VALUE
7581 # ----------------------
7582 # Append the text in VALUE to the end of the definition contained in VAR. Take
7583 # advantage of any shell optimizations that allow amortized linear growth over
7584 # repeated appends, instead of the typical quadratic growth present in naive
7586 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7587 eval 'as_fn_append ()
7598 # as_fn_arith ARG...
7599 # ------------------
7600 # Perform arithmetic evaluation on the ARGs, and store the result in the
7601 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7602 # must be portable across $(()) and expr.
7603 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7604 eval 'as_fn_arith ()
7611 as_val=`expr "$@" || test $? -eq 1`
7616 if expr a : '\(a\)' >/dev/null 2>&1 &&
7617 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7623 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7624 as_basename=basename
7629 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7635 as_me=`$as_basename -- "$0" ||
7636 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7637 X"$0" : 'X\(//\)$' \| \
7638 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7640 sed '/^.*\/\([^/][^/]*\)\/*$/{
7654 # Avoid depending upon Character Ranges.
7655 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7656 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7657 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7658 as_cr_digits='0123456789'
7659 as_cr_alnum=$as_cr_Letters$as_cr_digits
7661 ECHO_C= ECHO_N= ECHO_T=
7662 case `echo -n x` in #(((((
7664 case `echo 'xy\c'` in
7665 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7667 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7674 rm -f conf$$ conf$$.exe conf$$.file
7675 if test -d conf$$.dir; then
7676 rm -f conf$$.dir/conf$$.file
7679 mkdir conf$$.dir 2>/dev/null
7681 if (echo >conf$$.file) 2>/dev/null; then
7682 if ln -s conf$$.file conf$$ 2>/dev/null; then
7684 # ... but there are two gotchas:
7685 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7686 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7687 # In both cases, we have to default to `cp -pR'.
7688 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7690 elif ln conf$$.file conf$$ 2>/dev/null; then
7698 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7699 rmdir conf$$.dir 2>/dev/null
7704 # Create "$as_dir" as a directory, including parents if necessary.
7709 -*) as_dir=./$as_dir;;
7711 test -d "$as_dir" || eval $as_mkdir_p || {
7715 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7716 *) as_qdir=$as_dir;;
7718 as_dirs="'$as_qdir' $as_dirs"
7719 as_dir=`$as_dirname -- "$as_dir" ||
7720 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7721 X"$as_dir" : 'X\(//\)[^/]' \| \
7722 X"$as_dir" : 'X\(//\)$' \| \
7723 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7724 $as_echo X"$as_dir" |
7725 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7742 test -d "$as_dir" && break
7744 test -z "$as_dirs" || eval "mkdir $as_dirs"
7745 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7749 if mkdir -p . 2>/dev/null; then
7750 as_mkdir_p='mkdir -p "$as_dir"'
7752 test -d ./-p && rmdir ./-p
7757 # as_fn_executable_p FILE
7758 # -----------------------
7759 # Test if FILE is an executable regular file.
7760 as_fn_executable_p ()
7762 test -f "$1" && test -x "$1"
7763 } # as_fn_executable_p
7765 as_executable_p=as_fn_executable_p
7767 # Sed expression to map a string onto a valid CPP name.
7768 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7770 # Sed expression to map a string onto a valid variable name.
7771 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7775 ## ----------------------------------- ##
7776 ## Main body of $CONFIG_STATUS script. ##
7777 ## ----------------------------------- ##
7779 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7782 # Save the log message, to keep $0 and so on meaningful, and to
7783 # report actual input values of CONFIG_FILES etc. instead of their
7784 # values after options handling.
7786 This file was extended by prss $as_me 0.0.x, which was
7787 generated by GNU Autoconf 2.69. Invocation command line was
7789 CONFIG_FILES = $CONFIG_FILES
7790 CONFIG_HEADERS = $CONFIG_HEADERS
7791 CONFIG_LINKS = $CONFIG_LINKS
7792 CONFIG_COMMANDS = $CONFIG_COMMANDS
7795 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7800 case $ac_config_files in *"
7801 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7806 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7807 # Files that config.status was made for.
7808 config_files="$ac_config_files"
7809 config_commands="$ac_config_commands"
7813 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7815 \`$as_me' instantiates files and other configuration actions
7816 from templates according to the current configuration. Unless the files
7817 and actions are specified as TAGs, all are instantiated by default.
7819 Usage: $0 [OPTION]... [TAG]...
7821 -h, --help print this help, then exit
7822 -V, --version print version number and configuration settings, then exit
7823 --config print configuration, then exit
7824 -q, --quiet, --silent
7825 do not print progress messages
7826 -d, --debug don't remove temporary files
7827 --recheck update $as_me by reconfiguring in the same conditions
7828 --file=FILE[:TEMPLATE]
7829 instantiate the configuration file FILE
7831 Configuration files:
7834 Configuration commands:
7837 Report bugs to <jeanfi@gmail.com>.
7838 prss home page: <http://wpitchoune.net/prss>."
7841 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7842 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7844 prss config.status 0.0.x
7845 configured by $0, generated by GNU Autoconf 2.69,
7846 with options \\"\$ac_cs_config\\"
7848 Copyright (C) 2012 Free Software Foundation, Inc.
7849 This config.status script is free software; the Free Software Foundation
7850 gives unlimited permission to copy, distribute and modify it."
7857 test -n "\$AWK" || AWK=awk
7860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7861 # The default lists apply if the user does not specify any file.
7867 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7868 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7872 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7884 # Handling of the options.
7885 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7887 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7888 $as_echo "$ac_cs_version"; exit ;;
7889 --config | --confi | --conf | --con | --co | --c )
7890 $as_echo "$ac_cs_config"; exit ;;
7891 --debug | --debu | --deb | --de | --d | -d )
7893 --file | --fil | --fi | --f )
7896 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7897 '') as_fn_error $? "missing file argument" ;;
7899 as_fn_append CONFIG_FILES " '$ac_optarg'"
7900 ac_need_defaults=false;;
7901 --he | --h | --help | --hel | -h )
7902 $as_echo "$ac_cs_usage"; exit ;;
7903 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7904 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7908 -*) as_fn_error $? "unrecognized option: \`$1'
7909 Try \`$0 --help' for more information." ;;
7911 *) as_fn_append ac_config_targets " $1"
7912 ac_need_defaults=false ;;
7918 ac_configure_extra_args=
7920 if $ac_cs_silent; then
7922 ac_configure_extra_args="$ac_configure_extra_args --silent"
7926 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7927 if \$ac_cs_recheck; then
7928 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7930 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7931 CONFIG_SHELL='$SHELL'
7937 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7941 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7942 ## Running $as_me. ##
7948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7952 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7953 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
7954 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
7955 # from automake < 1.5.
7956 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7957 # Capture the value of LINGUAS because we need it to compute CATALOGS.
7958 LINGUAS="${LINGUAS-%UNSET%}"
7963 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7965 # Handling of arguments.
7966 for ac_config_target in $ac_config_targets
7968 case $ac_config_target in
7969 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7970 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
7971 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7972 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
7973 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
7974 "src/glade/Makefile") CONFIG_FILES="$CONFIG_FILES src/glade/Makefile" ;;
7975 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
7977 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7982 # If the user did not use the arguments to specify the items to instantiate,
7983 # then the envvar interface is used. Set only those that are not.
7984 # We use the long form for the default assignment because of an extremely
7985 # bizarre bug on SunOS 4.1.3.
7986 if $ac_need_defaults; then
7987 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7988 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7991 # Have a temporary directory for convenience. Make it in the build tree
7992 # simply because there is no reason against having it here, and in addition,
7993 # creating and moving files from /tmp can sometimes cause problems.
7994 # Hook for its removal unless debugging.
7995 # Note that there is a small window in which the directory will not be cleaned:
7996 # after its creation but before its name has been assigned to `$tmp'.
8000 trap 'exit_status=$?
8002 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8004 trap 'as_fn_exit 1' 1 2 13 15
8006 # Create a (secure) tmp directory for tmp files.
8009 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8013 tmp=./conf$$-$RANDOM
8014 (umask 077 && mkdir "$tmp")
8015 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8018 # Set up the scripts for CONFIG_FILES section.
8019 # No need to generate them if there are no CONFIG_FILES.
8020 # This happens for instance with `./config.status config.h'.
8021 if test -n "$CONFIG_FILES"; then
8024 ac_cr=`echo X | tr X '\015'`
8025 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8026 # But we know of no other shell where ac_cr would be empty at this
8027 # point, so we can use a bashism as a fallback.
8028 if test "x$ac_cr" = x; then
8029 eval ac_cr=\$\'\\r\'
8031 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8032 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8038 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8043 echo "cat >conf$$subs.awk <<_ACEOF" &&
8044 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8047 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8048 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8050 for ac_last_try in false false false false false :; do
8051 . ./conf$$subs.sh ||
8052 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8054 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8055 if test $ac_delim_n = $ac_delim_num; then
8057 elif $ac_last_try; then
8058 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8060 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8065 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8066 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8070 s/^/S["/; s/!.*/"]=/
8080 s/\(.\{148\}\)..*/\1/
8082 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8087 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8094 s/\(.\{148\}\)..*/\1/
8096 s/["\\]/\\&/g; s/^/"/; s/$/"/
8100 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8105 ' <conf$$subs.awk | sed '
8110 ' >>$CONFIG_STATUS || ac_write_fail=1
8111 rm -f conf$$subs.awk
8112 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8114 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8115 for (key in S) S_is_set[key] = 1
8121 nfields = split(line, field, "@")
8123 len = length(field[1])
8124 for (i = 2; i < nfields; i++) {
8126 keylen = length(key)
8127 if (S_is_set[key]) {
8129 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8130 len += length(value) + length(field[++i])
8141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8142 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8143 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8146 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8147 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8150 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8151 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8152 # trailing colons and then remove the whole line if VPATH becomes empty
8153 # (actually we leave an empty line to preserve line numbers).
8154 if test "x$srcdir" = x.; then
8155 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8174 fi # test -n "$CONFIG_FILES"
8177 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
8182 :[FHLC]) ac_mode=$ac_tag; continue;;
8184 case $ac_mode$ac_tag in
8186 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8187 :[FH]-) ac_tag=-:-;;
8188 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8205 -) ac_f="$ac_tmp/stdin";;
8206 *) # Look for the file first in the build tree, then in the source tree
8207 # (if the path is not absolute). The absolute path cannot be DOS-style,
8208 # because $ac_f cannot contain `:'.
8212 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8214 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8216 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8217 as_fn_append ac_file_inputs " '$ac_f'"
8220 # Let's still pretend it is `configure' which instantiates (i.e., don't
8221 # use $as_me), people would be surprised to read:
8222 # /* config.h. Generated by config.status. */
8223 configure_input='Generated from '`
8224 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8226 if test x"$ac_file" != x-; then
8227 configure_input="$ac_file. $configure_input"
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8229 $as_echo "$as_me: creating $ac_file" >&6;}
8231 # Neutralize special characters interpreted by sed in replacement strings.
8232 case $configure_input in #(
8233 *\&* | *\|* | *\\* )
8234 ac_sed_conf_input=`$as_echo "$configure_input" |
8235 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8236 *) ac_sed_conf_input=$configure_input;;
8240 *:-:* | *:-) cat >"$ac_tmp/stdin" \
8241 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8246 ac_dir=`$as_dirname -- "$ac_file" ||
8247 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8248 X"$ac_file" : 'X\(//\)[^/]' \| \
8249 X"$ac_file" : 'X\(//\)$' \| \
8250 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8251 $as_echo X"$ac_file" |
8252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8269 as_dir="$ac_dir"; as_fn_mkdir_p
8273 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8275 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8276 # A ".." for each directory in $ac_dir_suffix.
8277 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8278 case $ac_top_builddir_sub in
8279 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8280 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8283 ac_abs_top_builddir=$ac_pwd
8284 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8285 # for backward compatibility:
8286 ac_top_builddir=$ac_top_build_prefix
8289 .) # We are building in place.
8291 ac_top_srcdir=$ac_top_builddir_sub
8292 ac_abs_top_srcdir=$ac_pwd ;;
8293 [\\/]* | ?:[\\/]* ) # Absolute name.
8294 ac_srcdir=$srcdir$ac_dir_suffix;
8295 ac_top_srcdir=$srcdir
8296 ac_abs_top_srcdir=$srcdir ;;
8298 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8299 ac_top_srcdir=$ac_top_build_prefix$srcdir
8300 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8302 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8312 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8313 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8317 [\\/$]* | ?:[\\/]* ) ;;
8318 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8323 # If the template does not know about datarootdir, expand it.
8324 # FIXME: This hack should be removed a few years after 2.60.
8325 ac_datarootdir_hack=; ac_datarootdir_seen=
8336 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8337 *datarootdir*) ac_datarootdir_seen=yes;;
8338 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8340 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8342 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8343 ac_datarootdir_hack='
8344 s&@datadir@&$datadir&g
8345 s&@docdir@&$docdir&g
8346 s&@infodir@&$infodir&g
8347 s&@localedir@&$localedir&g
8348 s&@mandir@&$mandir&g
8349 s&\\\${datarootdir}&$datarootdir&g' ;;
8353 # Neutralize VPATH when `$srcdir' = `.'.
8354 # Shell code in configure.ac might set extrasub.
8355 # FIXME: do we really want to maintain this feature?
8356 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8357 ac_sed_extra="$ac_vpsub
8360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8362 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8363 s|@configure_input@|$ac_sed_conf_input|;t t
8364 s&@top_builddir@&$ac_top_builddir_sub&;t t
8365 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8366 s&@srcdir@&$ac_srcdir&;t t
8367 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8368 s&@top_srcdir@&$ac_top_srcdir&;t t
8369 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8370 s&@builddir@&$ac_builddir&;t t
8371 s&@abs_builddir@&$ac_abs_builddir&;t t
8372 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8373 s&@INSTALL@&$ac_INSTALL&;t t
8374 s&@MKDIR_P@&$ac_MKDIR_P&;t t
8375 $ac_datarootdir_hack
8377 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8378 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8380 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8381 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8382 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8383 "$ac_tmp/out"`; test -z "$ac_out"; } &&
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8385 which seems to be undefined. Please make sure it is defined" >&5
8386 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8387 which seems to be undefined. Please make sure it is defined" >&2;}
8389 rm -f "$ac_tmp/stdin"
8391 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8392 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8394 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8398 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8399 $as_echo "$as_me: executing $ac_file commands" >&6;}
8404 case $ac_file$ac_mode in
8405 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8406 # Autoconf 2.62 quotes --file arguments for eval, but not when files
8407 # are listed without --file. Let's play safe and only enable the eval
8408 # if we detect the quoting.
8409 case $CONFIG_FILES in
8410 *\'*) eval set x "$CONFIG_FILES" ;;
8411 *) set x $CONFIG_FILES ;;
8416 # Strip MF so we end up with the name of the file.
8417 mf=`echo "$mf" | sed -e 's/:.*$//'`
8418 # Check whether this is an Automake generated Makefile or not.
8419 # We used to match only the files named `Makefile.in', but
8420 # some people rename them; so instead we look at the file content.
8421 # Grep'ing the first line is not enough: some people post-process
8422 # each Makefile.in and add a new line on top of each file to say so.
8423 # Grep'ing the whole file is not good either: AIX grep has a line
8424 # limit of 2048, but all sed's we know have understand at least 4000.
8425 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8426 dirpart=`$as_dirname -- "$mf" ||
8427 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8428 X"$mf" : 'X\(//\)[^/]' \| \
8429 X"$mf" : 'X\(//\)$' \| \
8430 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8432 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8452 # Extract the definition of DEPDIR, am__include, and am__quote
8453 # from the Makefile without running `make'.
8454 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8455 test -z "$DEPDIR" && continue
8456 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8457 test -z "am__include" && continue
8458 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8459 # When using ansi2knr, U may be empty or an underscore; expand it
8460 U=`sed -n 's/^U = //p' < "$mf"`
8461 # Find all dependency output files, they are included files with
8462 # $(DEPDIR) in their names. We invoke sed twice because it is the
8463 # simplest approach to changing $(DEPDIR) to its actual value in the
8465 for file in `sed -n "
8466 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8467 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8468 # Make sure the directory exists.
8469 test -f "$dirpart/$file" && continue
8470 fdir=`$as_dirname -- "$file" ||
8471 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8472 X"$file" : 'X\(//\)[^/]' \| \
8473 X"$file" : 'X\(//\)$' \| \
8474 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8476 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8493 as_dir=$dirpart/$fdir; as_fn_mkdir_p
8494 # echo "creating $dirpart/$file"
8495 echo '# dummy' > "$dirpart/$file"
8501 for ac_file in $CONFIG_FILES; do
8502 # Support "outfile[:infile[:infile...]]"
8504 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
8506 # PO directories have a Makefile.in generated from Makefile.in.in.
8507 case "$ac_file" in */Makefile.in)
8508 # Adjust a relative srcdir.
8509 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
8510 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
8511 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
8512 # In autoconf-2.13 it is called $ac_given_srcdir.
8513 # In autoconf-2.50 it is called $srcdir.
8514 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
8515 case "$ac_given_srcdir" in
8516 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
8517 /*) top_srcdir="$ac_given_srcdir" ;;
8518 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
8520 # Treat a directory as a PO directory if and only if it has a
8521 # POTFILES.in file. This allows packages to have multiple PO
8522 # directories under different names or in different locations.
8523 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8524 rm -f "$ac_dir/POTFILES"
8525 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
8526 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
8527 POMAKEFILEDEPS="POTFILES.in"
8528 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
8529 # on $ac_dir but don't depend on user-specified configuration
8531 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8532 # The LINGUAS file contains the set of available languages.
8533 if test -n "$OBSOLETE_ALL_LINGUAS"; then
8534 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
8536 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8537 # Hide the ALL_LINGUAS assigment from automake < 1.5.
8538 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8539 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
8541 # The set of available languages was given in configure.in.
8542 # Hide the ALL_LINGUAS assigment from automake < 1.5.
8543 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8546 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
8547 # Compute UPDATEPOFILES
8548 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
8549 # Compute DUMMYPOFILES
8550 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
8552 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
8553 case "$ac_given_srcdir" in
8555 *) srcdirpre='$(srcdir)/' ;;
8561 for lang in $ALL_LINGUAS; do
8562 POFILES="$POFILES $srcdirpre$lang.po"
8563 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
8564 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
8565 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
8567 # CATALOGS depends on both $ac_dir and the user's LINGUAS
8568 # environment variable.
8570 if test -n "$ALL_LINGUAS"; then
8571 for presentlang in $ALL_LINGUAS; do
8573 if test "%UNSET%" != "$LINGUAS"; then
8574 desiredlanguages="$LINGUAS"
8576 desiredlanguages="$ALL_LINGUAS"
8578 for desiredlang in $desiredlanguages; do
8579 # Use the presentlang catalog if desiredlang is
8580 # a. equal to presentlang, or
8581 # b. a variant of presentlang (because in this case,
8582 # presentlang can be used as a fallback for messages
8583 # which are not translated in the desiredlang catalog).
8584 case "$desiredlang" in
8585 "$presentlang"*) useit=yes;;
8588 if test $useit = yes; then
8589 INST_LINGUAS="$INST_LINGUAS $presentlang"
8594 if test -n "$INST_LINGUAS"; then
8595 for lang in $INST_LINGUAS; do
8596 CATALOGS="$CATALOGS $lang.gmo"
8599 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
8600 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"
8601 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
8602 if test -f "$f"; then
8604 *.orig | *.bak | *~) ;;
8605 *) cat "$f" >> "$ac_dir/Makefile" ;;
8620 ac_clean_files=$ac_clean_files_save
8622 test $ac_write_fail = 0 ||
8623 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8626 # configure is writing to config.log, and then calls config.status.
8627 # config.status does its own redirection, appending to config.log.
8628 # Unfortunately, on DOS this fails, as config.log is still kept open
8629 # by configure, so config.status won't be able to write to it; its
8630 # output is simply discarded. So we exec the FD to /dev/null,
8631 # effectively closing config.log, so it can be properly (re)opened and
8632 # appended to by config.status. When coming back to configure, we
8633 # need to make the FD available again.
8634 if test "$no_create" != yes; then
8636 ac_config_status_args=
8637 test "$silent" = yes &&
8638 ac_config_status_args="$ac_config_status_args --quiet"
8640 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8642 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8643 # would make configure fail if this is the last instruction.
8644 $ac_cs_success || as_fn_exit 1
8646 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8648 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}