2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GDash 20130313unstable.
5 # Report bugs to <http://code.google.com/p/gdash/>.
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
270 $0: http://code.google.com/p/gdash/ about your system,
271 $0: including any error possibly output before this
272 $0: message. Then install a modern shell, or manually run
273 $0: the script under such a shell if you do have one."
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
='gdash'
583 PACKAGE_VERSION
='20130313unstable'
584 PACKAGE_STRING
='GDash 20130313unstable'
585 PACKAGE_BUGREPORT
='http://code.google.com/p/gdash/'
588 ac_unique_file
="src/gtkmain.cpp"
590 # Factoring default headers for most tests.
591 ac_includes_default
="\
593 #ifdef HAVE_SYS_TYPES_H
594 # include <sys/types.h>
596 #ifdef HAVE_SYS_STAT_H
597 # include <sys/stat.h>
603 # ifdef HAVE_STDLIB_H
608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
613 #ifdef HAVE_STRINGS_H
614 # include <strings.h>
616 #ifdef HAVE_INTTYPES_H
617 # include <inttypes.h>
626 ac_subst_vars
='am__EXEEXT_FALSE
640 GLIB_COMPILE_RESOURCES
662 XGETTEXT_EXTRA_OPTIONS
670 GETTEXT_MACRO_VERSION
713 INSTALL_STRIP_PROGRAM
755 program_transform_name
768 enable_option_checking
770 enable_dependency_tracking
784 ac_precious_vars
='build_alias
803 # Initialize some variables set by options.
805 ac_init_version
=false
806 ac_unrecognized_opts
=
808 # The variables have the same names as the options, with
809 # dashes changed to underlines.
817 program_transform_name
=s
,x
,x
,
825 # Installation directory options.
826 # These are left unexpanded so users can "make install exec_prefix=/foo"
827 # and all the variables that are supposed to be based on exec_prefix
828 # by default will actually change.
829 # Use braces instead of parens because sh, perl, etc. also accept them.
830 # (The list follows the same order as the GNU Coding Standards.)
831 bindir
='${exec_prefix}/bin'
832 sbindir
='${exec_prefix}/sbin'
833 libexecdir
='${exec_prefix}/libexec'
834 datarootdir
='${prefix}/share'
835 datadir
='${datarootdir}'
836 sysconfdir
='${prefix}/etc'
837 sharedstatedir
='${prefix}/com'
838 localstatedir
='${prefix}/var'
839 includedir
='${prefix}/include'
840 oldincludedir
='/usr/include'
841 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
842 infodir
='${datarootdir}/info'
847 libdir
='${exec_prefix}/lib'
848 localedir
='${datarootdir}/locale'
849 mandir
='${datarootdir}/man'
855 # If the previous option needs an argument, assign it.
856 if test -n "$ac_prev"; then
857 eval $ac_prev=\
$ac_option
863 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
868 # Accept the important Cygnus configure options, so we can diagnose typos.
870 case $ac_dashdash$ac_option in
874 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
876 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
879 -build |
--build |
--buil |
--bui |
--bu)
880 ac_prev
=build_alias
;;
881 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
882 build_alias
=$ac_optarg ;;
884 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
885 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
886 ac_prev
=cache_file
;;
887 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
888 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
889 cache_file
=$ac_optarg ;;
892 cache_file
=config.cache
;;
894 -datadir |
--datadir |
--datadi |
--datad)
896 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
897 datadir
=$ac_optarg ;;
899 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
900 |
--dataroo |
--dataro |
--datar)
901 ac_prev
=datarootdir
;;
902 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
903 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
904 datarootdir
=$ac_optarg ;;
906 -disable-* |
--disable-*)
907 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
908 # Reject names that are not valid shell variable names.
909 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
910 as_fn_error $?
"invalid feature name: $ac_useropt"
911 ac_useropt_orig
=$ac_useropt
912 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
913 case $ac_user_opts in
917 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
918 ac_unrecognized_sep
=', ';;
920 eval enable_
$ac_useropt=no
;;
922 -docdir |
--docdir |
--docdi |
--doc |
--do)
924 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
927 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
929 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
932 -enable-* |
--enable-*)
933 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
934 # Reject names that are not valid shell variable names.
935 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
936 as_fn_error $?
"invalid feature name: $ac_useropt"
937 ac_useropt_orig
=$ac_useropt
938 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
939 case $ac_user_opts in
943 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
944 ac_unrecognized_sep
=', ';;
946 eval enable_
$ac_useropt=\
$ac_optarg ;;
948 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
949 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
950 |
--exec |
--exe |
--ex)
951 ac_prev
=exec_prefix
;;
952 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
953 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
954 |
--exec=* |
--exe=* |
--ex=*)
955 exec_prefix
=$ac_optarg ;;
957 -gas |
--gas |
--ga |
--g)
958 # Obsolete; use --with-gas.
961 -help |
--help |
--hel |
--he |
-h)
963 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
964 ac_init_help
=recursive
;;
965 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
966 ac_init_help
=short
;;
968 -host |
--host |
--hos |
--ho)
969 ac_prev
=host_alias
;;
970 -host=* |
--host=* |
--hos=* |
--ho=*)
971 host_alias
=$ac_optarg ;;
973 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
975 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
977 htmldir
=$ac_optarg ;;
979 -includedir |
--includedir |
--includedi |
--included |
--include \
980 |
--includ |
--inclu |
--incl |
--inc)
981 ac_prev
=includedir
;;
982 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
983 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
984 includedir
=$ac_optarg ;;
986 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
988 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
989 infodir
=$ac_optarg ;;
991 -libdir |
--libdir |
--libdi |
--libd)
993 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
996 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
997 |
--libexe |
--libex |
--libe)
998 ac_prev
=libexecdir
;;
999 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1000 |
--libexe=* |
--libex=* |
--libe=*)
1001 libexecdir
=$ac_optarg ;;
1003 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1004 ac_prev
=localedir
;;
1005 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1006 localedir
=$ac_optarg ;;
1008 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1009 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1010 ac_prev
=localstatedir
;;
1011 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1012 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1013 localstatedir
=$ac_optarg ;;
1015 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1017 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1018 mandir
=$ac_optarg ;;
1020 -nfp |
--nfp |
--nf)
1021 # Obsolete; use --without-fp.
1024 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1025 |
--no-cr |
--no-c |
-n)
1028 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1029 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1032 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1033 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1034 |
--oldin |
--oldi |
--old |
--ol |
--o)
1035 ac_prev
=oldincludedir
;;
1036 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1037 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1038 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1039 oldincludedir
=$ac_optarg ;;
1041 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1043 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1044 prefix
=$ac_optarg ;;
1046 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1047 |
--program-pre |
--program-pr |
--program-p)
1048 ac_prev
=program_prefix
;;
1049 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1050 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1051 program_prefix
=$ac_optarg ;;
1053 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1054 |
--program-suf |
--program-su |
--program-s)
1055 ac_prev
=program_suffix
;;
1056 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1057 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1058 program_suffix
=$ac_optarg ;;
1060 -program-transform-name |
--program-transform-name \
1061 |
--program-transform-nam |
--program-transform-na \
1062 |
--program-transform-n |
--program-transform- \
1063 |
--program-transform |
--program-transfor \
1064 |
--program-transfo |
--program-transf \
1065 |
--program-trans |
--program-tran \
1066 |
--progr-tra |
--program-tr |
--program-t)
1067 ac_prev
=program_transform_name
;;
1068 -program-transform-name=* |
--program-transform-name=* \
1069 |
--program-transform-nam=* |
--program-transform-na=* \
1070 |
--program-transform-n=* |
--program-transform-=* \
1071 |
--program-transform=* |
--program-transfor=* \
1072 |
--program-transfo=* |
--program-transf=* \
1073 |
--program-trans=* |
--program-tran=* \
1074 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1075 program_transform_name
=$ac_optarg ;;
1077 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1079 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1080 pdfdir
=$ac_optarg ;;
1082 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1084 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1087 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1088 |
-silent |
--silent |
--silen |
--sile |
--sil)
1091 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1093 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1095 sbindir
=$ac_optarg ;;
1097 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1098 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1099 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1101 ac_prev
=sharedstatedir
;;
1102 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1103 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1104 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1106 sharedstatedir
=$ac_optarg ;;
1108 -site |
--site |
--sit)
1110 -site=* |
--site=* |
--sit=*)
1113 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1115 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1116 srcdir
=$ac_optarg ;;
1118 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1119 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1120 ac_prev
=sysconfdir
;;
1121 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1122 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1123 sysconfdir
=$ac_optarg ;;
1125 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1126 ac_prev
=target_alias
;;
1127 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1128 target_alias
=$ac_optarg ;;
1130 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1133 -version |
--version |
--versio |
--versi |
--vers |
-V)
1134 ac_init_version
=: ;;
1137 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1138 # Reject names that are not valid shell variable names.
1139 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1140 as_fn_error $?
"invalid package name: $ac_useropt"
1141 ac_useropt_orig
=$ac_useropt
1142 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1143 case $ac_user_opts in
1147 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1148 ac_unrecognized_sep
=', ';;
1150 eval with_
$ac_useropt=\
$ac_optarg ;;
1152 -without-* |
--without-*)
1153 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1154 # Reject names that are not valid shell variable names.
1155 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1156 as_fn_error $?
"invalid package name: $ac_useropt"
1157 ac_useropt_orig
=$ac_useropt
1158 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1159 case $ac_user_opts in
1163 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1164 ac_unrecognized_sep
=', ';;
1166 eval with_
$ac_useropt=no
;;
1169 # Obsolete; use --with-x.
1172 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1173 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1174 ac_prev
=x_includes
;;
1175 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1176 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1177 x_includes
=$ac_optarg ;;
1179 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1180 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1181 ac_prev
=x_libraries
;;
1182 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1183 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1184 x_libraries
=$ac_optarg ;;
1186 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1187 Try \`$0 --help' for more information"
1191 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1192 # Reject names that are not valid shell variable names.
1193 case $ac_envvar in #(
1194 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1195 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1197 eval $ac_envvar=\
$ac_optarg
1198 export $ac_envvar ;;
1201 # FIXME: should be removed in autoconf 3.0.
1202 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1203 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1204 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1205 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1211 if test -n "$ac_prev"; then
1212 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1213 as_fn_error $?
"missing argument to $ac_option"
1216 if test -n "$ac_unrecognized_opts"; then
1217 case $enable_option_checking in
1219 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1220 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1224 # Check all directory arguments for consistency.
1225 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1226 datadir sysconfdir sharedstatedir localstatedir includedir \
1227 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1228 libdir localedir mandir
1230 eval ac_val
=\$
$ac_var
1231 # Remove trailing slashes.
1234 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1235 eval $ac_var=\
$ac_val;;
1237 # Be sure to have absolute directory names.
1239 [\\/$
]* | ?
:[\\/]* ) continue;;
1240 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1242 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1245 # There might be people who depend on the old broken behavior: `$host'
1246 # used to hold the argument of --host etc.
1247 # FIXME: To remove some day.
1250 target
=$target_alias
1252 # FIXME: To remove some day.
1253 if test "x$host_alias" != x
; then
1254 if test "x$build_alias" = x
; then
1255 cross_compiling
=maybe
1256 elif test "x$build_alias" != "x$host_alias"; then
1262 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1264 test "$silent" = yes && exec 6>/dev
/null
1267 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1268 ac_ls_di
=`ls -di .` &&
1269 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1270 as_fn_error $?
"working directory cannot be determined"
1271 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1272 as_fn_error $?
"pwd does not report name of working directory"
1275 # Find the source files, if location was not specified.
1276 if test -z "$srcdir"; then
1277 ac_srcdir_defaulted
=yes
1278 # Try the directory containing this script, then the parent directory.
1279 ac_confdir
=`$as_dirname -- "$as_myself" ||
1280 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1281 X"$as_myself" : 'X\(//\)[^/]' \| \
1282 X"$as_myself" : 'X\(//\)$' \| \
1283 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1284 $as_echo X"$as_myself" |
1285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1303 if test ! -r "$srcdir/$ac_unique_file"; then
1307 ac_srcdir_defaulted
=no
1309 if test ! -r "$srcdir/$ac_unique_file"; then
1310 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1311 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1313 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1315 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1317 # When building in place, set srcdir=.
1318 if test "$ac_abs_confdir" = "$ac_pwd"; then
1321 # Remove unnecessary trailing slashes from srcdir.
1322 # Double slashes in file names in object file debugging info
1323 # mess up M-x gdb in Emacs.
1325 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1327 for ac_var
in $ac_precious_vars; do
1328 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1329 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1330 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1331 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1335 # Report the --help message.
1337 if test "$ac_init_help" = "long"; then
1338 # Omit some internal or obsolete options to make the list less imposing.
1339 # This message is too long to be a string in the A/UX 3.1 sh.
1341 \`configure' configures GDash 20130313unstable to adapt to many kinds of systems.
1343 Usage: $0 [OPTION]... [VAR=VALUE]...
1345 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1346 VAR=VALUE. See below for descriptions of some of the useful variables.
1348 Defaults for the options are specified in brackets.
1351 -h, --help display this help and exit
1352 --help=short display options specific to this package
1353 --help=recursive display the short help of all the included packages
1354 -V, --version display version information and exit
1355 -q, --quiet, --silent do not print \`checking ...' messages
1356 --cache-file=FILE cache test results in FILE [disabled]
1357 -C, --config-cache alias for \`--cache-file=config.cache'
1358 -n, --no-create do not create output files
1359 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1361 Installation directories:
1362 --prefix=PREFIX install architecture-independent files in PREFIX
1363 [$ac_default_prefix]
1364 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1367 By default, \`make install' will install all the files in
1368 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1369 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1370 for instance \`--prefix=\$HOME'.
1372 For better control, use the options below.
1374 Fine tuning of the installation directories:
1375 --bindir=DIR user executables [EPREFIX/bin]
1376 --sbindir=DIR system admin executables [EPREFIX/sbin]
1377 --libexecdir=DIR program executables [EPREFIX/libexec]
1378 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1379 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1380 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1381 --libdir=DIR object code libraries [EPREFIX/lib]
1382 --includedir=DIR C header files [PREFIX/include]
1383 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1384 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1385 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1386 --infodir=DIR info documentation [DATAROOTDIR/info]
1387 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1388 --mandir=DIR man documentation [DATAROOTDIR/man]
1389 --docdir=DIR documentation root [DATAROOTDIR/doc/gdash]
1390 --htmldir=DIR html documentation [DOCDIR]
1391 --dvidir=DIR dvi documentation [DOCDIR]
1392 --pdfdir=DIR pdf documentation [DOCDIR]
1393 --psdir=DIR ps documentation [DOCDIR]
1399 --program-prefix=PREFIX prepend PREFIX to installed program names
1400 --program-suffix=SUFFIX append SUFFIX to installed program names
1401 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1404 --build=BUILD configure
for building on BUILD
[guessed
]
1405 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1409 if test -n "$ac_init_help"; then
1410 case $ac_init_help in
1411 short | recursive
) echo "Configuration of GDash 20130313unstable:";;
1416 --disable-option-checking ignore unrecognized
--enable/--with options
1417 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1418 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1419 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1420 --disable-silent-rules verbose build output (undo: `make V
=0')
1421 --disable-dependency-tracking speeds up one-time build
1422 --enable-dependency-tracking do not reject slow dependency extractors
1423 --disable-nls do not use Native Language Support
1424 --disable-rpath do not hardcode runtime library paths
1425 --disable-glibtest do not try to compile and run a test GLIB program
1426 --disable-gtktest do not try to compile and run a test GTK+ program
1427 --disable-sdltest Do not try to compile and run a test SDL program
1430 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1431 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1432 --with-gnu-ld assume the C compiler uses GNU ld default=no
1433 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1434 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1435 --with-libintl-prefix[=DIR
] search
for libintl
in DIR
/include and DIR
/lib
1436 --without-libintl-prefix don
't search for libintl in includedir and libdir
1437 --without-gtk disables using gtk+
1438 --without-sdl disables using sdl
1439 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1440 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1442 Some influential environment variables:
1443 CC C compiler command
1444 CFLAGS C compiler flags
1445 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1446 nonstandard directory <lib dir>
1447 LIBS libraries to pass to the linker, e.g. -l<library>
1448 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1449 you have headers in a nonstandard directory <include dir>
1450 CXX C++ compiler command
1451 CXXFLAGS C++ compiler flags
1452 PKG_CONFIG path to pkg-config utility
1454 directories to add to pkg-config's search path
1456 path overriding pkg-config
's built-in search path
1459 C compiler flags for LIBPNG, overriding pkg-config
1460 LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
1462 Use these variables to override the choices made by `configure' or to
help
1463 it to
find libraries and programs with nonstandard names
/locations.
1465 Report bugs to
<http
://code.google.com
/p
/gdash
/>.
1470 if test "$ac_init_help" = "recursive"; then
1471 # If there are subdirs, report their specific --help.
1472 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1473 test -d "$ac_dir" ||
1474 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1479 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1481 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1482 # A ".." for each directory in $ac_dir_suffix.
1483 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1484 case $ac_top_builddir_sub in
1485 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1486 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1489 ac_abs_top_builddir
=$ac_pwd
1490 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1491 # for backward compatibility:
1492 ac_top_builddir
=$ac_top_build_prefix
1495 .
) # We are building in place.
1497 ac_top_srcdir
=$ac_top_builddir_sub
1498 ac_abs_top_srcdir
=$ac_pwd ;;
1499 [\\/]* | ?
:[\\/]* ) # Absolute name.
1500 ac_srcdir
=$srcdir$ac_dir_suffix;
1501 ac_top_srcdir
=$srcdir
1502 ac_abs_top_srcdir
=$srcdir ;;
1504 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1505 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1506 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1508 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1510 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1511 # Check for guested configure.
1512 if test -f "$ac_srcdir/configure.gnu"; then
1514 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1515 elif test -f "$ac_srcdir/configure"; then
1517 $SHELL "$ac_srcdir/configure" --help=recursive
1519 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1521 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1525 test -n "$ac_init_help" && exit $ac_status
1526 if $ac_init_version; then
1528 GDash configure
20130313unstable
1529 generated by GNU Autoconf
2.69
1531 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1532 This configure
script is free software
; the Free Software Foundation
1533 gives unlimited permission to copy
, distribute and modify it.
1538 ## ------------------------ ##
1539 ## Autoconf initialization. ##
1540 ## ------------------------ ##
1542 # ac_fn_c_try_compile LINENO
1543 # --------------------------
1544 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1545 ac_fn_c_try_compile
()
1547 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1548 rm -f conftest.
$ac_objext
1549 if { { ac_try
="$ac_compile"
1551 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1552 *) ac_try_echo=$ac_try;;
1554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1555 $as_echo "$ac_try_echo"; } >&5
1556 (eval "$ac_compile") 2>conftest.err
1558 if test -s conftest.err; then
1559 grep -v '^ *+' conftest.err >conftest.er1
1560 cat conftest.er1 >&5
1561 mv -f conftest.er1 conftest.err
1563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1564 test $ac_status = 0; } && {
1565 test -z "$ac_c_werror_flag" ||
1566 test ! -s conftest.err
1567 } && test -s conftest.$ac_objext; then :
1570 $as_echo "$as_me: failed program was:" >&5
1571 sed 's/^/| /' conftest.$ac_ext >&5
1575 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1576 as_fn_set_status $ac_retval
1578 } # ac_fn_c_try_compile
1580 # ac_fn_cxx_try_compile LINENO
1581 # ----------------------------
1582 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1583 ac_fn_cxx_try_compile ()
1585 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1586 rm -f conftest.$ac_objext
1587 if { { ac_try="$ac_compile"
1589 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1590 *) ac_try_echo
=$ac_try;;
1592 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1593 $as_echo "$ac_try_echo"; } >&5
1594 (eval "$ac_compile") 2>conftest.err
1596 if test -s conftest.err
; then
1597 grep -v '^ *+' conftest.err
>conftest.er1
1598 cat conftest.er1
>&5
1599 mv -f conftest.er1 conftest.err
1601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1602 test $ac_status = 0; } && {
1603 test -z "$ac_cxx_werror_flag" ||
1604 test ! -s conftest.err
1605 } && test -s conftest.
$ac_objext; then :
1608 $as_echo "$as_me: failed program was:" >&5
1609 sed 's/^/| /' conftest.
$ac_ext >&5
1613 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1614 as_fn_set_status
$ac_retval
1616 } # ac_fn_cxx_try_compile
1618 # ac_fn_c_try_link LINENO
1619 # -----------------------
1620 # Try to link conftest.$ac_ext, and return whether this succeeded.
1623 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1624 rm -f conftest.
$ac_objext conftest
$ac_exeext
1625 if { { ac_try
="$ac_link"
1627 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1628 *) ac_try_echo=$ac_try;;
1630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1631 $as_echo "$ac_try_echo"; } >&5
1632 (eval "$ac_link") 2>conftest.err
1634 if test -s conftest.err; then
1635 grep -v '^ *+' conftest.err >conftest.er1
1636 cat conftest.er1 >&5
1637 mv -f conftest.er1 conftest.err
1639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1640 test $ac_status = 0; } && {
1641 test -z "$ac_c_werror_flag" ||
1642 test ! -s conftest.err
1643 } && test -s conftest$ac_exeext && {
1644 test "$cross_compiling" = yes ||
1645 test -x conftest$ac_exeext
1649 $as_echo "$as_me: failed program was:" >&5
1650 sed 's/^/| /' conftest.$ac_ext >&5
1654 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1655 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1656 # interfere with the next link command; also delete a directory that is
1657 # left behind by Apple's compiler. We do this before executing the actions.
1658 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1659 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1660 as_fn_set_status $ac_retval
1662 } # ac_fn_c_try_link
1664 # ac_fn_c_try_cpp LINENO
1665 # ----------------------
1666 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1670 if { { ac_try="$ac_cpp conftest.$ac_ext"
1672 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1673 *) ac_try_echo
=$ac_try;;
1675 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1676 $as_echo "$ac_try_echo"; } >&5
1677 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1679 if test -s conftest.err
; then
1680 grep -v '^ *+' conftest.err
>conftest.er1
1681 cat conftest.er1
>&5
1682 mv -f conftest.er1 conftest.err
1684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1685 test $ac_status = 0; } > conftest.i
&& {
1686 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1687 test ! -s conftest.err
1691 $as_echo "$as_me: failed program was:" >&5
1692 sed 's/^/| /' conftest.
$ac_ext >&5
1696 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1697 as_fn_set_status
$ac_retval
1701 # ac_fn_c_try_run LINENO
1702 # ----------------------
1703 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1704 # that executables *can* be run.
1707 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1708 if { { ac_try
="$ac_link"
1710 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1711 *) ac_try_echo=$ac_try;;
1713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1714 $as_echo "$ac_try_echo"; } >&5
1715 (eval "$ac_link") 2>&5
1717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1718 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1719 { { case "(($ac_try" in
1720 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1721 *) ac_try_echo
=$ac_try;;
1723 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725 (eval "$ac_try") 2>&5
1727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1728 test $ac_status = 0; }; }; then :
1731 $as_echo "$as_me: program exited with status $ac_status" >&5
1732 $as_echo "$as_me: failed program was:" >&5
1733 sed 's/^/| /' conftest.
$ac_ext >&5
1735 ac_retval
=$ac_status
1737 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1738 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1739 as_fn_set_status
$ac_retval
1743 # ac_fn_c_check_func LINENO FUNC VAR
1744 # ----------------------------------
1745 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1746 ac_fn_c_check_func
()
1748 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1750 $as_echo_n "checking for $2... " >&6; }
1751 if eval \
${$3+:} false
; then :
1752 $as_echo_n "(cached) " >&6
1754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1755 /* end confdefs.h. */
1756 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1758 #define $2 innocuous_$2
1760 /* System header to define __stub macros and hopefully few prototypes,
1761 which can conflict with char $2 (); below.
1762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1763 <limits.h> exists even on freestanding compilers. */
1766 # include <limits.h>
1768 # include <assert.h>
1773 /* Override any GCC internal prototype to avoid an error.
1774 Use char because int might match the return type of a GCC
1775 builtin and then its argument prototype would still apply. */
1780 /* The GNU C library defines this for functions which it implements
1781 to always fail with ENOSYS. Some functions are actually named
1782 something starting with __ and the normal name is an alias. */
1783 #if defined __stub_$2 || defined __stub___$2
1795 if ac_fn_c_try_link
"$LINENO"; then :
1800 rm -f core conftest.err conftest.
$ac_objext \
1801 conftest
$ac_exeext conftest.
$ac_ext
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1805 $as_echo "$ac_res" >&6; }
1806 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1808 } # ac_fn_c_check_func
1810 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1811 # -------------------------------------------------------
1812 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1813 # the include files in INCLUDES and setting the cache variable VAR
1815 ac_fn_c_check_header_mongrel
()
1817 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1818 if eval \
${$3+:} false
; then :
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1820 $as_echo_n "checking for $2... " >&6; }
1821 if eval \
${$3+:} false
; then :
1822 $as_echo_n "(cached) " >&6
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1826 $as_echo "$ac_res" >&6; }
1828 # Is the header compilable?
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1830 $as_echo_n "checking $2 usability... " >&6; }
1831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1832 /* end confdefs.h. */
1836 if ac_fn_c_try_compile
"$LINENO"; then :
1837 ac_header_compiler
=yes
1839 ac_header_compiler
=no
1841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1843 $as_echo "$ac_header_compiler" >&6; }
1845 # Is the header present?
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1847 $as_echo_n "checking $2 presence... " >&6; }
1848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1849 /* end confdefs.h. */
1852 if ac_fn_c_try_cpp
"$LINENO"; then :
1853 ac_header_preproc
=yes
1855 ac_header_preproc
=no
1857 rm -f conftest.err conftest.i conftest.
$ac_ext
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1859 $as_echo "$ac_header_preproc" >&6; }
1861 # So? What about this header?
1862 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1865 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1867 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1871 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1873 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1875 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1877 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1879 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1880 ( $as_echo "## ---------------------------------------------- ##
1881 ## Report this to http://code.google.com/p/gdash/ ##
1882 ## ---------------------------------------------- ##"
1883 ) |
sed "s/^/$as_me: WARNING: /" >&2
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1887 $as_echo_n "checking for $2... " >&6; }
1888 if eval \
${$3+:} false
; then :
1889 $as_echo_n "(cached) " >&6
1891 eval "$3=\$ac_header_compiler"
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1895 $as_echo "$ac_res" >&6; }
1897 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1899 } # ac_fn_c_check_header_mongrel
1901 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1902 # -------------------------------------------------------
1903 # Tests whether HEADER exists and can be compiled using the include files in
1904 # INCLUDES, setting the cache variable VAR accordingly.
1905 ac_fn_c_check_header_compile
()
1907 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1909 $as_echo_n "checking for $2... " >&6; }
1910 if eval \
${$3+:} false
; then :
1911 $as_echo_n "(cached) " >&6
1913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1914 /* end confdefs.h. */
1918 if ac_fn_c_try_compile
"$LINENO"; then :
1923 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1927 $as_echo "$ac_res" >&6; }
1928 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1930 } # ac_fn_c_check_header_compile
1932 # ac_fn_c_find_uintX_t LINENO BITS VAR
1933 # ------------------------------------
1934 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1936 ac_fn_c_find_uintX_t
()
1938 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1940 $as_echo_n "checking for uint$2_t... " >&6; }
1941 if eval \
${$3+:} false
; then :
1942 $as_echo_n "(cached) " >&6
1945 # Order is important - never check a type that is potentially smaller
1946 # than half of the expected target width.
1947 for ac_type
in uint
$2_t 'unsigned int' 'unsigned long int' \
1948 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1950 /* end confdefs.h. */
1951 $ac_includes_default
1955 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1957 return test_array [0];
1963 if ac_fn_c_try_compile
"$LINENO"; then :
1968 eval "$3=\$ac_type" ;;
1971 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1972 if eval test \"x\$
"$3"\" = x
"no"; then :
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1981 $as_echo "$ac_res" >&6; }
1982 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1984 } # ac_fn_c_find_uintX_t
1985 cat >config.log
<<_ACEOF
1986 This file contains any messages produced by compilers while
1987 running configure, to aid debugging if configure makes a mistake.
1989 It was created by GDash $as_me 20130313unstable, which was
1990 generated by GNU Autoconf 2.69. Invocation command line was
2002 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2003 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2004 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2005 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2006 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2008 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2009 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2011 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2012 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2013 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2014 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2015 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2016 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2017 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2025 test -z "$as_dir" && as_dir
=.
2026 $as_echo "PATH: $as_dir"
2042 # Keep a trace of the command line.
2043 # Strip out --no-create and --no-recursion so they do not pile up.
2044 # Strip out --silent because we don't want to record it for future runs.
2045 # Also quote any args containing shell meta-characters.
2046 # Make two passes to allow for proper duplicate-argument suppression.
2050 ac_must_keep_next
=false
2056 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2057 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2058 |
-silent |
--silent |
--silen |
--sile |
--sil)
2061 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2064 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2066 as_fn_append ac_configure_args1
" '$ac_arg'"
2067 if test $ac_must_keep_next = true
; then
2068 ac_must_keep_next
=false
# Got value, back to normal.
2071 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2072 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2073 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2074 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2075 case "$ac_configure_args0 " in
2076 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2079 -* ) ac_must_keep_next
=true
;;
2082 as_fn_append ac_configure_args
" '$ac_arg'"
2087 { ac_configure_args0
=; unset ac_configure_args0
;}
2088 { ac_configure_args1
=; unset ac_configure_args1
;}
2090 # When interrupted or exit'd, cleanup temporary files, and complete
2091 # config.log. We remove comments because anyway the quotes in there
2092 # would cause problems or look ugly.
2093 # WARNING: Use '\'' to represent an apostrophe within the trap.
2094 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2095 trap 'exit_status=$?
2096 # Save into config.log some information that might help in debugging.
2100 $as_echo "## ---------------- ##
2101 ## Cache variables. ##
2102 ## ---------------- ##"
2104 # The following way of writing the cache mishandles newlines in values,
2106 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2107 eval ac_val=\$$ac_var
2111 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2112 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2115 _ | IFS | as_nl) ;; #(
2116 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2117 *) { eval $ac_var=; unset $ac_var;} ;;
2122 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2123 *${as_nl}ac_space=\ *)
2125 "s/'\''/'\''\\\\'\'''\''/g;
2126 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2129 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2136 $as_echo "## ----------------- ##
2137 ## Output variables. ##
2138 ## ----------------- ##"
2140 for ac_var in $ac_subst_vars
2142 eval ac_val=\$$ac_var
2144 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2146 $as_echo "$ac_var='\''$ac_val'\''"
2150 if test -n "$ac_subst_files"; then
2151 $as_echo "## ------------------- ##
2152 ## File substitutions. ##
2153 ## ------------------- ##"
2155 for ac_var
in $ac_subst_files
2157 eval ac_val
=\$
$ac_var
2159 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2161 $as_echo "$ac_var='\''$ac_val'\''"
2166 if test -s confdefs.h; then
2167 $as_echo "## ----------- ##
2174 test "$ac_signal" != 0 &&
2175 $as_echo "$as_me: caught signal $ac_signal"
2176 $as_echo "$as_me: exit $exit_status"
2178 rm -f core *.core core.conftest.* &&
2179 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2182 for ac_signal
in 1 2 13 15; do
2183 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2187 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2188 rm -f -r conftest
* confdefs.h
2190 $as_echo "/* confdefs.h */" > confdefs.h
2192 # Predefined preprocessor variables.
2194 cat >>confdefs.h
<<_ACEOF
2195 #define PACKAGE_NAME "$PACKAGE_NAME"
2198 cat >>confdefs.h
<<_ACEOF
2199 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2202 cat >>confdefs.h
<<_ACEOF
2203 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2206 cat >>confdefs.h
<<_ACEOF
2207 #define PACKAGE_STRING "$PACKAGE_STRING"
2210 cat >>confdefs.h
<<_ACEOF
2211 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2214 cat >>confdefs.h
<<_ACEOF
2215 #define PACKAGE_URL "$PACKAGE_URL"
2219 # Let the site file select an alternate cache file if it wants to.
2220 # Prefer an explicitly selected file to automatically selected ones.
2223 if test -n "$CONFIG_SITE"; then
2224 # We do not want a PATH search for config.site.
2225 case $CONFIG_SITE in #((
2226 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2227 */*) ac_site_file1
=$CONFIG_SITE;;
2228 *) ac_site_file1
=.
/$CONFIG_SITE;;
2230 elif test "x$prefix" != xNONE
; then
2231 ac_site_file1
=$prefix/share
/config.site
2232 ac_site_file2
=$prefix/etc
/config.site
2234 ac_site_file1
=$ac_default_prefix/share
/config.site
2235 ac_site_file2
=$ac_default_prefix/etc
/config.site
2237 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2239 test "x$ac_site_file" = xNONE
&& continue
2240 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2242 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2243 sed 's/^/| /' "$ac_site_file" >&5
2245 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2247 as_fn_error $?
"failed to load site script $ac_site_file
2248 See \`config.log' for more details" "$LINENO" 5; }
2252 if test -r "$cache_file"; then
2253 # Some versions of bash will fail to source /dev/null (special files
2254 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2255 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2257 $as_echo "$as_me: loading cache $cache_file" >&6;}
2259 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2260 *) .
"./$cache_file";;
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2265 $as_echo "$as_me: creating cache $cache_file" >&6;}
2269 gt_needs
="$gt_needs "
2270 # Check that the precious variables saved in the cache have kept the same
2272 ac_cache_corrupted
=false
2273 for ac_var
in $ac_precious_vars; do
2274 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2275 eval ac_new_set
=\
$ac_env_${ac_var}_set
2276 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2277 eval ac_new_val
=\
$ac_env_${ac_var}_value
2278 case $ac_old_set,$ac_new_set in
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2281 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2282 ac_cache_corrupted
=: ;;
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2285 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2286 ac_cache_corrupted
=: ;;
2289 if test "x$ac_old_val" != "x$ac_new_val"; then
2290 # differences in whitespace do not lead to failure.
2291 ac_old_val_w
=`echo x $ac_old_val`
2292 ac_new_val_w
=`echo x $ac_new_val`
2293 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2295 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2296 ac_cache_corrupted
=:
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2299 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2300 eval $ac_var=\
$ac_old_val
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2303 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2305 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2308 # Pass precious variables to config.status.
2309 if test "$ac_new_set" = set; then
2311 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2312 *) ac_arg
=$ac_var=$ac_new_val ;;
2314 case " $ac_configure_args " in
2315 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2316 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2320 if $ac_cache_corrupted; then
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2324 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2325 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2327 ## -------------------- ##
2328 ## Main body of script. ##
2329 ## -------------------- ##
2332 ac_cpp
='$CPP $CPPFLAGS'
2333 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2334 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2335 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2339 am__api_version
='1.11'
2342 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2343 if test -f "$ac_dir/install-sh"; then
2345 ac_install_sh
="$ac_aux_dir/install-sh -c"
2347 elif test -f "$ac_dir/install.sh"; then
2349 ac_install_sh
="$ac_aux_dir/install.sh -c"
2351 elif test -f "$ac_dir/shtool"; then
2353 ac_install_sh
="$ac_aux_dir/shtool install -c"
2357 if test -z "$ac_aux_dir"; then
2358 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2361 # These three variables are undocumented and unsupported,
2362 # and are intended to be withdrawn in a future Autoconf release.
2363 # They can cause serious problems if a builder's source tree is in a directory
2364 # whose full name contains unusual characters.
2365 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2366 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2367 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2370 # Find a good install program. We prefer a C program (faster),
2371 # so one script is as good as another. But avoid the broken or
2372 # incompatible versions:
2373 # SysV /etc/install, /usr/sbin/install
2374 # SunOS /usr/etc/install
2375 # IRIX /sbin/install
2377 # AmigaOS /C/install, which installs bootblocks on floppy discs
2378 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2379 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2380 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2381 # OS/2's system install, which has a completely different semantic
2382 # ./install, which can be erroneously created by make from ./install.sh.
2383 # Reject install programs that cannot install multiple files.
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2385 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2386 if test -z "$INSTALL"; then
2387 if ${ac_cv_path_install+:} false
; then :
2388 $as_echo_n "(cached) " >&6
2390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2394 test -z "$as_dir" && as_dir
=.
2395 # Account for people who put trailing slashes in PATH elements.
2396 case $as_dir/ in #((
2397 .
/ | .
// |
/[cC
]/* | \
2398 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2399 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2402 # OSF1 and SCO ODT 3.0 have their own names for install.
2403 # Don't use installbsd from OSF since it installs stuff as root
2405 for ac_prog
in ginstall scoinst
install; do
2406 for ac_exec_ext
in '' $ac_executable_extensions; do
2407 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2408 if test $ac_prog = install &&
2409 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2410 # AIX install. It has an incompatible calling convention.
2412 elif test $ac_prog = install &&
2413 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2414 # program-specific install script used by HP pwplus--don't use.
2417 rm -rf conftest.one conftest.two conftest.dir
2418 echo one
> conftest.one
2419 echo two
> conftest.two
2421 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2422 test -s conftest.one
&& test -s conftest.two
&&
2423 test -s conftest.dir
/conftest.one
&&
2424 test -s conftest.dir
/conftest.two
2426 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2439 rm -rf conftest.one conftest.two conftest.dir
2442 if test "${ac_cv_path_install+set}" = set; then
2443 INSTALL
=$ac_cv_path_install
2445 # As a last resort, use the slow shell script. Don't cache a
2446 # value for INSTALL within a source directory, because that will
2447 # break other packages using the cache if that directory is
2448 # removed, or if the value is a relative name.
2449 INSTALL
=$ac_install_sh
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2453 $as_echo "$INSTALL" >&6; }
2455 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2456 # It thinks the first close brace ends the variable substitution.
2457 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2459 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2461 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2464 $as_echo_n "checking whether build environment is sane... " >&6; }
2467 echo timestamp
> conftest.
file
2468 # Reject unsafe characters in $srcdir or the absolute working directory
2469 # name. Accept space and tab only in the latter.
2473 *[\\\"\
#\$\&\'\`$am_lf]*)
2474 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2477 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2478 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2481 # Do `set' in a subshell so we don't clobber the current shell's
2482 # arguments. Must try -L first in case configure is actually a
2483 # symlink; some systems play weird games with the mod time of symlinks
2484 # (eg FreeBSD returns the mod time of the symlink's containing
2487 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2488 if test "$*" = "X"; then
2490 set X
`ls -t "$srcdir/configure" conftest.file`
2493 if test "$*" != "X $srcdir/configure conftest.file" \
2494 && test "$*" != "X conftest.file $srcdir/configure"; then
2496 # If neither matched, then we have a broken ls. This can happen
2497 # if, for instance, CONFIG_SHELL is bash and it inherits a
2498 # broken ls alias from the environment. This has actually
2499 # happened. Such a system could not be considered "sane".
2500 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2501 alias in your environment" "$LINENO" 5
2504 test "$2" = conftest.
file
2510 as_fn_error $?
"newly created file is older than distributed files!
2511 Check your system clock" "$LINENO" 5
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2514 $as_echo "yes" >&6; }
2515 test "$program_prefix" != NONE
&&
2516 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2517 # Use a double $ so make ignores it.
2518 test "$program_suffix" != NONE
&&
2519 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2520 # Double any \ or $.
2521 # By default was `s,x,x', remove it if useless.
2522 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2523 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2525 # expand $ac_aux_dir to an absolute path
2526 am_aux_dir
=`cd $ac_aux_dir && pwd`
2528 if test x
"${MISSING+set}" != xset
; then
2531 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2533 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2536 # Use eval to expand $SHELL
2537 if eval "$MISSING --run true"; then
2538 am_missing_run
="$MISSING --run "
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2542 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2545 if test x
"${install_sh}" != xset
; then
2548 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2550 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2554 # Installed binaries are usually stripped using `strip' when the user
2555 # run `make install-strip'. However `strip' might not be the right
2556 # tool to use in cross-compilation environments, therefore Automake
2557 # will honor the `STRIP' environment variable to overrule this program.
2558 if test "$cross_compiling" != no
; then
2559 if test -n "$ac_tool_prefix"; then
2560 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2561 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2563 $as_echo_n "checking for $ac_word... " >&6; }
2564 if ${ac_cv_prog_STRIP+:} false
; then :
2565 $as_echo_n "(cached) " >&6
2567 if test -n "$STRIP"; then
2568 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2574 test -z "$as_dir" && as_dir
=.
2575 for ac_exec_ext
in '' $ac_executable_extensions; do
2576 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2577 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2587 STRIP
=$ac_cv_prog_STRIP
2588 if test -n "$STRIP"; then
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2590 $as_echo "$STRIP" >&6; }
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2593 $as_echo "no" >&6; }
2598 if test -z "$ac_cv_prog_STRIP"; then
2600 # Extract the first word of "strip", so it can be a program name with args.
2601 set dummy strip
; ac_word
=$2
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2603 $as_echo_n "checking for $ac_word... " >&6; }
2604 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2605 $as_echo_n "(cached) " >&6
2607 if test -n "$ac_ct_STRIP"; then
2608 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2614 test -z "$as_dir" && as_dir
=.
2615 for ac_exec_ext
in '' $ac_executable_extensions; do
2616 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2617 ac_cv_prog_ac_ct_STRIP
="strip"
2618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2627 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2628 if test -n "$ac_ct_STRIP"; then
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2630 $as_echo "$ac_ct_STRIP" >&6; }
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2633 $as_echo "no" >&6; }
2636 if test "x$ac_ct_STRIP" = x
; then
2639 case $cross_compiling:$ac_tool_warned in
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2643 ac_tool_warned
=yes ;;
2648 STRIP
="$ac_cv_prog_STRIP"
2652 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2655 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2656 if test -z "$MKDIR_P"; then
2657 if ${ac_cv_path_mkdir+:} false
; then :
2658 $as_echo_n "(cached) " >&6
2660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2661 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2664 test -z "$as_dir" && as_dir
=.
2665 for ac_prog
in mkdir gmkdir
; do
2666 for ac_exec_ext
in '' $ac_executable_extensions; do
2667 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2668 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2669 'mkdir (GNU coreutils) '* | \
2670 'mkdir (coreutils) '* | \
2671 'mkdir (fileutils) '4.1*)
2672 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2682 test -d .
/--version && rmdir .
/--version
2683 if test "${ac_cv_path_mkdir+set}" = set; then
2684 MKDIR_P
="$ac_cv_path_mkdir -p"
2686 # As a last resort, use the slow shell script. Don't cache a
2687 # value for MKDIR_P within a source directory, because that will
2688 # break other packages using the cache if that directory is
2689 # removed, or if the value is a relative name.
2690 MKDIR_P
="$ac_install_sh -d"
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2694 $as_echo "$MKDIR_P" >&6; }
2698 [\\/$
]* | ?
:[\\/]*) ;;
2699 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2702 for ac_prog
in gawk mawk nawk
awk
2704 # Extract the first word of "$ac_prog", so it can be a program name with args.
2705 set dummy
$ac_prog; ac_word
=$2
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2707 $as_echo_n "checking for $ac_word... " >&6; }
2708 if ${ac_cv_prog_AWK+:} false
; then :
2709 $as_echo_n "(cached) " >&6
2711 if test -n "$AWK"; then
2712 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2718 test -z "$as_dir" && as_dir
=.
2719 for ac_exec_ext
in '' $ac_executable_extensions; do
2720 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2721 ac_cv_prog_AWK
="$ac_prog"
2722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2732 if test -n "$AWK"; then
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2734 $as_echo "$AWK" >&6; }
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2737 $as_echo "no" >&6; }
2741 test -n "$AWK" && break
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2745 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2747 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2748 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2749 $as_echo_n "(cached) " >&6
2751 cat >conftest.
make <<\_ACEOF
2754 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2756 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2757 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2759 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2761 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2765 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2767 $as_echo "yes" >&6; }
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2771 $as_echo "no" >&6; }
2772 SET_MAKE
="MAKE=${MAKE-make}"
2775 rm -rf .tst
2>/dev
/null
2776 mkdir .tst
2>/dev
/null
2777 if test -d .tst
; then
2782 rmdir .tst
2>/dev
/null
2784 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2785 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2786 # is not polluted with repeated "-I."
2787 am__isrc
=' -I$(srcdir)'
2788 # test to see if srcdir already configured
2789 if test -f $srcdir/config.status
; then
2790 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2794 # test whether we have cygpath
2795 if test -z "$CYGPATH_W"; then
2796 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2797 CYGPATH_W
='cygpath -w'
2804 # Define the identity of the package.
2806 VERSION
='20130313unstable'
2809 cat >>confdefs.h
<<_ACEOF
2810 #define PACKAGE "$PACKAGE"
2814 cat >>confdefs.h
<<_ACEOF
2815 #define VERSION "$VERSION"
2818 # Some tools Automake needs.
2820 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2823 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2826 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2829 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2832 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2834 # We need awk for the "check" target. The system "awk" is bad on
2836 # Always define AMTAR for backward compatibility. Yes, it's still used
2837 # in the wild :-( We should find a proper way to deprecate it ...
2840 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2846 ac_config_headers
="$ac_config_headers config.h"
2848 # Check whether --enable-silent-rules was given.
2849 if test "${enable_silent_rules+set}" = set; then :
2850 enableval
=$enable_silent_rules;
2853 case $enable_silent_rules in
2854 yes) AM_DEFAULT_VERBOSITY
=0;;
2855 no
) AM_DEFAULT_VERBOSITY
=1;;
2856 *) AM_DEFAULT_VERBOSITY
=0;;
2858 am_make
=${MAKE-make}
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2860 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2861 if ${am_cv_make_support_nested_variables+:} false
; then :
2862 $as_echo_n "(cached) " >&6
2864 if $as_echo 'TRUE=$(BAR$(V))
2870 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2871 am_cv_make_support_nested_variables
=yes
2873 am_cv_make_support_nested_variables
=no
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2877 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2878 if test $am_cv_make_support_nested_variables = yes; then
2880 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2882 AM_V
=$AM_DEFAULT_VERBOSITY
2883 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2889 ac_cpp='$CPP $CPPFLAGS'
2890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
2891 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
2892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2893 if test -n "$ac_tool_prefix"; then
2894 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2895 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2897 $as_echo_n "checking for $ac_word... " >&6; }
2898 if ${ac_cv_prog_CC+:} false; then :
2899 $as_echo_n "(cached) " >&6
2901 if test -n "$CC"; then
2902 ac_cv_prog_CC="$CC" # Let the user override the test.
2904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2908 test -z "$as_dir" && as_dir=.
2909 for ac_exec_ext in '' $ac_executable_extensions; do
2910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2911 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2922 if test -n "$CC"; then
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2924 $as_echo "$CC" >&6; }
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2927 $as_echo "no" >&6; }
2932 if test -z "$ac_cv_prog_CC"; then
2934 # Extract the first word of "gcc", so it can be a program name with args.
2935 set dummy gcc; ac_word=$2
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2937 $as_echo_n "checking for $ac_word... " >&6; }
2938 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2939 $as_echo_n "(cached) " >&6
2941 if test -n "$ac_ct_CC"; then
2942 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2948 test -z "$as_dir" && as_dir=.
2949 for ac_exec_ext in '' $ac_executable_extensions; do
2950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2951 ac_cv_prog_ac_ct_CC="gcc"
2952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2961 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2962 if test -n "$ac_ct_CC"; then
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2964 $as_echo "$ac_ct_CC" >&6; }
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2967 $as_echo "no" >&6; }
2970 if test "x$ac_ct_CC" = x; then
2973 case $cross_compiling:$ac_tool_warned in
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2977 ac_tool_warned=yes ;;
2985 if test -z "$CC"; then
2986 if test -n "$ac_tool_prefix"; then
2987 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2988 set dummy ${ac_tool_prefix}cc; ac_word=$2
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2990 $as_echo_n "checking for $ac_word... " >&6; }
2991 if ${ac_cv_prog_CC+:} false; then :
2992 $as_echo_n "(cached) " >&6
2994 if test -n "$CC"; then
2995 ac_cv_prog_CC="$CC" # Let the user override the test.
2997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3001 test -z "$as_dir" && as_dir=.
3002 for ac_exec_ext in '' $ac_executable_extensions; do
3003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3004 ac_cv_prog_CC="${ac_tool_prefix}cc"
3005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3015 if test -n "$CC"; then
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3017 $as_echo "$CC" >&6; }
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3020 $as_echo "no" >&6; }
3026 if test -z "$CC"; then
3027 # Extract the first word of "cc", so it can be a program name with args.
3028 set dummy cc; ac_word=$2
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3030 $as_echo_n "checking for $ac_word... " >&6; }
3031 if ${ac_cv_prog_CC+:} false; then :
3032 $as_echo_n "(cached) " >&6
3034 if test -n "$CC"; then
3035 ac_cv_prog_CC="$CC" # Let the user override the test.
3038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3042 test -z "$as_dir" && as_dir=.
3043 for ac_exec_ext in '' $ac_executable_extensions; do
3044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3045 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3046 ac_prog_rejected=yes
3050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3057 if test $ac_prog_rejected = yes; then
3058 # We found a bogon in the path, so make sure we never use it.
3059 set dummy $ac_cv_prog_CC
3061 if test $# != 0; then
3062 # We chose a different compiler from the bogus one.
3063 # However, it has the same basename, so the bogon will be chosen
3064 # first if we set CC to just the basename; use the full file name.
3066 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3072 if test -n "$CC"; then
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3074 $as_echo "$CC" >&6; }
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3077 $as_echo "no" >&6; }
3082 if test -z "$CC"; then
3083 if test -n "$ac_tool_prefix"; then
3084 for ac_prog in cl.exe
3086 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3087 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3089 $as_echo_n "checking for $ac_word... " >&6; }
3090 if ${ac_cv_prog_CC+:} false; then :
3091 $as_echo_n "(cached) " >&6
3093 if test -n "$CC"; then
3094 ac_cv_prog_CC="$CC" # Let the user override the test.
3096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3100 test -z "$as_dir" && as_dir=.
3101 for ac_exec_ext in '' $ac_executable_extensions; do
3102 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3103 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3114 if test -n "$CC"; then
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3116 $as_echo "$CC" >&6; }
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3119 $as_echo "no" >&6; }
3123 test -n "$CC" && break
3126 if test -z "$CC"; then
3128 for ac_prog in cl.exe
3130 # Extract the first word of "$ac_prog", so it can be a program name with args.
3131 set dummy $ac_prog; ac_word=$2
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3133 $as_echo_n "checking for $ac_word... " >&6; }
3134 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3135 $as_echo_n "(cached) " >&6
3137 if test -n "$ac_ct_CC"; then
3138 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3144 test -z "$as_dir" && as_dir=.
3145 for ac_exec_ext in '' $ac_executable_extensions; do
3146 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3147 ac_cv_prog_ac_ct_CC="$ac_prog"
3148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3157 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3158 if test -n "$ac_ct_CC"; then
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3160 $as_echo "$ac_ct_CC" >&6; }
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3163 $as_echo "no" >&6; }
3167 test -n "$ac_ct_CC" && break
3170 if test "x$ac_ct_CC" = x; then
3173 case $cross_compiling:$ac_tool_warned in
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3177 ac_tool_warned=yes ;;
3186 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3187 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3188 as_fn_error $? "no acceptable C compiler found in \$PATH
3189 See \`config.log
' for more details" "$LINENO" 5; }
3191 # Provide some information about the compiler.
3192 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3195 for ac_option in --version -v -V -qversion; do
3196 { { ac_try="$ac_compiler $ac_option >&5"
3198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3199 *) ac_try_echo=$ac_try;;
3201 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3202 $as_echo "$ac_try_echo"; } >&5
3203 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3205 if test -s conftest.err; then
3207 ... rest of stderr output deleted ...
3208 10q
' conftest.err >conftest.er1
3209 cat conftest.er1 >&5
3211 rm -f conftest.er1 conftest.err
3212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3213 test $ac_status = 0; }
3216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3217 /* end confdefs.h. */
3227 ac_clean_files_save=$ac_clean_files
3228 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3229 # Try to create an executable without -o first, disregard a.out.
3230 # It will help us diagnose broken compilers, and finding out an intuition
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3233 $as_echo_n "checking whether the C compiler works... " >&6; }
3234 ac_link_default=`$as_echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
3236 # The possible output files:
3237 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3240 for ac_file in $ac_files
3243 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3244 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3249 if { { ac_try="$ac_link_default"
3251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3252 *) ac_try_echo=$ac_try;;
3254 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3255 $as_echo "$ac_try_echo"; } >&5
3256 (eval "$ac_link_default") 2>&5
3258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3259 test $ac_status = 0; }; then :
3260 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3261 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3262 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3263 # so that the user can short-circuit this test for compilers unknown to
3265 for ac_file
in $ac_files ''
3267 test -f "$ac_file" ||
continue
3269 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3272 # We found the default executable, but exeext='' is most
3276 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3278 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3280 # We set ac_cv_exeext here because the later test for it is not
3281 # safe: cross compilers may not add the suffix if given an `-o'
3282 # argument, so we may need to know it at that point already.
3283 # Even if this section looks crufty: it has the advantage of
3290 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3295 if test -z "$ac_file"; then :
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3297 $as_echo "no" >&6; }
3298 $as_echo "$as_me: failed program was:" >&5
3299 sed 's/^/| /' conftest.
$ac_ext >&5
3301 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3302 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3303 as_fn_error
77 "C compiler cannot create executables
3304 See \`config.log' for more details" "$LINENO" 5; }
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3307 $as_echo "yes" >&6; }
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3310 $as_echo_n "checking for C compiler default output file name... " >&6; }
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3312 $as_echo "$ac_file" >&6; }
3313 ac_exeext
=$ac_cv_exeext
3315 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3316 ac_clean_files
=$ac_clean_files_save
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3318 $as_echo_n "checking for suffix of executables... " >&6; }
3319 if { { ac_try
="$ac_link"
3321 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3322 *) ac_try_echo=$ac_try;;
3324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3325 $as_echo "$ac_try_echo"; } >&5
3326 (eval "$ac_link") 2>&5
3328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3329 test $ac_status = 0; }; then :
3330 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3331 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3332 # work properly (i.e., refer to `conftest.exe'), while it won't with
3334 for ac_file
in conftest.exe conftest conftest.
*; do
3335 test -f "$ac_file" ||
continue
3337 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3338 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3344 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3346 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3347 See \`config.log' for more details" "$LINENO" 5; }
3349 rm -f conftest conftest
$ac_cv_exeext
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3351 $as_echo "$ac_cv_exeext" >&6; }
3353 rm -f conftest.
$ac_ext
3354 EXEEXT
=$ac_cv_exeext
3356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3357 /* end confdefs.h. */
3362 FILE *f = fopen ("conftest.out", "w");
3363 return ferror (f) || fclose (f) != 0;
3369 ac_clean_files
="$ac_clean_files conftest.out"
3370 # Check that the compiler produces executables we can run. If not, either
3371 # the compiler is broken, or we cross compile.
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3373 $as_echo_n "checking whether we are cross compiling... " >&6; }
3374 if test "$cross_compiling" != yes; then
3375 { { ac_try
="$ac_link"
3377 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3378 *) ac_try_echo=$ac_try;;
3380 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3381 $as_echo "$ac_try_echo"; } >&5
3382 (eval "$ac_link") 2>&5
3384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3385 test $ac_status = 0; }
3386 if { ac_try='./conftest$ac_cv_exeext'
3387 { { case "(($ac_try" in
3388 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3389 *) ac_try_echo
=$ac_try;;
3391 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3392 $as_echo "$ac_try_echo"; } >&5
3393 (eval "$ac_try") 2>&5
3395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3396 test $ac_status = 0; }; }; then
3399 if test "$cross_compiling" = maybe
; then
3402 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3403 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3404 as_fn_error $?
"cannot run C compiled programs.
3405 If you meant to cross compile, use \`--host'.
3406 See \`config.log' for more details" "$LINENO" 5; }
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3411 $as_echo "$cross_compiling" >&6; }
3413 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3414 ac_clean_files
=$ac_clean_files_save
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3416 $as_echo_n "checking for suffix of object files... " >&6; }
3417 if ${ac_cv_objext+:} false
; then :
3418 $as_echo_n "(cached) " >&6
3420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3421 /* end confdefs.h. */
3431 rm -f conftest.o conftest.obj
3432 if { { ac_try
="$ac_compile"
3434 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3435 *) ac_try_echo=$ac_try;;
3437 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3438 $as_echo "$ac_try_echo"; } >&5
3439 (eval "$ac_compile") 2>&5
3441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3442 test $ac_status = 0; }; then :
3443 for ac_file in conftest.o conftest.obj conftest.*; do
3444 test -f "$ac_file" || continue;
3446 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3447 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3452 $as_echo "$as_me: failed program was:" >&5
3453 sed 's/^/| /' conftest.$ac_ext >&5
3455 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3457 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3458 See \
`config.log' for more details" "$LINENO" 5; }
3460 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3463 $as_echo "$ac_cv_objext" >&6; }
3464 OBJEXT=$ac_cv_objext
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3467 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3468 if ${ac_cv_c_compiler_gnu+:} false; then :
3469 $as_echo_n "(cached) " >&6
3471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3472 /* end confdefs.h. */
3485 if ac_fn_c_try_compile "$LINENO"; then :
3490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3491 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3495 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3496 if test $ac_compiler_gnu = yes; then
3501 ac_test_CFLAGS=${CFLAGS+set}
3502 ac_save_CFLAGS=$CFLAGS
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3504 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3505 if ${ac_cv_prog_cc_g+:} false; then :
3506 $as_echo_n "(cached) " >&6
3508 ac_save_c_werror_flag=$ac_c_werror_flag
3509 ac_c_werror_flag=yes
3512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3513 /* end confdefs.h. */
3523 if ac_fn_c_try_compile "$LINENO"; then :
3527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3528 /* end confdefs.h. */
3538 if ac_fn_c_try_compile "$LINENO"; then :
3541 ac_c_werror_flag=$ac_save_c_werror_flag
3543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3544 /* end confdefs.h. */
3554 if ac_fn_c_try_compile "$LINENO"; then :
3557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3562 ac_c_werror_flag=$ac_save_c_werror_flag
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3565 $as_echo "$ac_cv_prog_cc_g" >&6; }
3566 if test "$ac_test_CFLAGS" = set; then
3567 CFLAGS=$ac_save_CFLAGS
3568 elif test $ac_cv_prog_cc_g = yes; then
3569 if test "$GCC" = yes; then
3575 if test "$GCC" = yes; then
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3582 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3583 if ${ac_cv_prog_cc_c89+:} false; then :
3584 $as_echo_n "(cached) " >&6
3586 ac_cv_prog_cc_c89=no
3588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3589 /* end confdefs.h. */
3593 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3594 struct buf { int x; };
3595 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3596 static char *e (p, i)
3602 static char *f (char * (*g) (char **, int), char **p, ...)
3607 s = g (p, va_arg (v,int));
3612 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3613 function prototypes and stuff, but not '\xHH' hex character constants.
3614 These don't provoke an error unfortunately, instead are silently treated
3615 as 'x'. The following induces an error, until -std is added to get
3616 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3617 array size at least. It's necessary to write '\x00'==0 to get something
3618 that's true only with -std. */
3619 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3621 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3622 inside strings and character constants. */
3624 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3626 int test (int i, double x);
3627 struct s1 {int (*f) (int a);};
3628 struct s2 {int (*f) (double a);};
3629 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3635 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3640 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3641 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3643 CC="$ac_save_CC $ac_arg"
3644 if ac_fn_c_try_compile "$LINENO"; then :
3645 ac_cv_prog_cc_c89=$ac_arg
3647 rm -f core conftest.err conftest.$ac_objext
3648 test "x$ac_cv_prog_cc_c89" != "xno" && break
3650 rm -f conftest.$ac_ext
3655 case "x$ac_cv_prog_cc_c89" in
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3658 $as_echo "none needed" >&6; } ;;
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3661 $as_echo "unsupported" >&6; } ;;
3663 CC="$CC $ac_cv_prog_cc_c89"
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3665 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3667 if test "x$ac_cv_prog_cc_c89" != xno; then :
3672 ac_cpp='$CPP $CPPFLAGS'
3673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3676 DEPDIR="${am__leading_dot}deps"
3678 ac_config_commands="$ac_config_commands depfiles"
3681 am_make=${MAKE-make}
3682 cat > confinc << 'END'
3684 @echo this is the am__doit target
3687 # If we don't find an include directive, just comment out the code.
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3689 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3693 # First try GNU make style include.
3694 echo "include confinc" > confmf
3695 # Ignore all kinds of additional output from `make'.
3696 case `$am_make -s -f confmf 2> /dev/null` in #(
3697 *the\ am__doit\ target*)
3703 # Now try BSD make style include.
3704 if test "$am__include" = "#"; then
3705 echo '.include
"confinc"' > confmf
3706 case `$am_make -s -f confmf 2> /dev/null` in #(
3707 *the\ am__doit\ target*)
3708 am__include=.include
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3717 $as_echo "$_am_result" >&6; }
3718 rm -f confinc confmf
3720 # Check whether --enable-dependency-tracking was given.
3721 if test "${enable_dependency_tracking+set}" = set; then :
3722 enableval=$enable_dependency_tracking;
3725 if test "x$enable_dependency_tracking" != xno; then
3726 am_depcomp="$ac_aux_dir/depcomp"
3730 if test "x$enable_dependency_tracking" != xno
; then
3740 depcc
="$CC" am_compiler_list
=
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3743 $as_echo_n "checking dependency style of $depcc... " >&6; }
3744 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
3745 $as_echo_n "(cached) " >&6
3747 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3748 # We make a subdir and do the tests there. Otherwise we can end up
3749 # making bogus files that we don't know about and never remove. For
3750 # instance it was reported that on HP-UX the gcc test will end up
3751 # making a dummy file named `D' -- because `-MD' means `put the output
3755 # Copy depcomp to subdir because otherwise we won't find it if we're
3756 # using a relative directory.
3757 cp "$am_depcomp" conftest.dir
3759 # We will build objects and dependencies in a subdirectory because
3760 # it helps to detect inapplicable dependency modes. For instance
3761 # both Tru64's cc and ICC support -MD to output dependencies as a
3762 # side effect of compilation, but ICC will put the dependencies in
3763 # the current directory while Tru64 will put them in the object
3767 am_cv_CC_dependencies_compiler_type
=none
3768 if test "$am_compiler_list" = ""; then
3769 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3772 case " $depcc " in #(
3773 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3776 for depmode
in $am_compiler_list; do
3777 # Setup a source with many dependencies, because some compilers
3778 # like to wrap large dependency lists on column 80 (with \), and
3779 # we should not choose a depcomp mode which is confused by this.
3781 # We need to recreate these files for each test, as the compiler may
3782 # overwrite some of them when testing with obscure command lines.
3783 # This happens at least with the AIX C compiler.
3785 for i
in 1 2 3 4 5 6; do
3786 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3787 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3788 # Solaris 8's {/usr,}/bin/sh.
3789 touch sub
/conftst
$i.h
3791 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3793 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3794 # mode. It turns out that the SunPro C++ compiler does not properly
3795 # handle `-M -o', and we need to detect this. Also, some Intel
3796 # versions had trouble with output in subdirs
3797 am__obj
=sub
/conftest.
${OBJEXT-o}
3798 am__minus_obj
="-o $am__obj"
3801 # This depmode causes a compiler race in universal mode.
3802 test "$am__universal" = false ||
continue
3805 # after this tag, mechanisms are not by side-effect, so they'll
3806 # only be used when explicitly requested
3807 if test "x$enable_dependency_tracking" = xyes
; then
3813 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
3814 # This compiler won't grok `-c -o', but also, the minuso test has
3815 # not run yet. These depmodes are late enough in the game, and
3816 # so weak that their functioning should not be impacted.
3817 am__obj
=conftest.
${OBJEXT-o}
3822 if depmode
=$depmode \
3823 source=sub
/conftest.c object
=$am__obj \
3824 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3825 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3826 >/dev
/null
2>conftest.err
&&
3827 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3828 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3829 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3830 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3831 # icc doesn't choke on unknown options, it will just issue warnings
3832 # or remarks (even with -Werror). So we grep stderr for any message
3833 # that says an option was ignored or not supported.
3834 # When given -MP, icc 7.0 and 7.1 complain thusly:
3835 # icc: Command line warning: ignoring option '-M'; no argument required
3836 # The diagnosis changed in icc 8.0:
3837 # icc: Command line remark: option '-MP' not supported
3838 if (grep 'ignoring option' conftest.err ||
3839 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3840 am_cv_CC_dependencies_compiler_type
=$depmode
3849 am_cv_CC_dependencies_compiler_type
=none
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3854 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3855 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3858 test "x$enable_dependency_tracking" != xno \
3859 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3861 am__fastdepCC_FALSE
='#'
3863 am__fastdepCC_TRUE
='#'
3864 am__fastdepCC_FALSE
=
3869 ac_cpp
='$CXXCPP $CPPFLAGS'
3870 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3871 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3872 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3873 if test -z "$CXX"; then
3874 if test -n "$CCC"; then
3877 if test -n "$ac_tool_prefix"; then
3878 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3880 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3881 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3883 $as_echo_n "checking for $ac_word... " >&6; }
3884 if ${ac_cv_prog_CXX+:} false
; then :
3885 $as_echo_n "(cached) " >&6
3887 if test -n "$CXX"; then
3888 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3894 test -z "$as_dir" && as_dir
=.
3895 for ac_exec_ext
in '' $ac_executable_extensions; do
3896 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3897 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3908 if test -n "$CXX"; then
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3910 $as_echo "$CXX" >&6; }
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3913 $as_echo "no" >&6; }
3917 test -n "$CXX" && break
3920 if test -z "$CXX"; then
3922 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3924 # Extract the first word of "$ac_prog", so it can be a program name with args.
3925 set dummy
$ac_prog; ac_word
=$2
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3927 $as_echo_n "checking for $ac_word... " >&6; }
3928 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
3929 $as_echo_n "(cached) " >&6
3931 if test -n "$ac_ct_CXX"; then
3932 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3938 test -z "$as_dir" && as_dir
=.
3939 for ac_exec_ext
in '' $ac_executable_extensions; do
3940 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3941 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3951 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3952 if test -n "$ac_ct_CXX"; then
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3954 $as_echo "$ac_ct_CXX" >&6; }
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3957 $as_echo "no" >&6; }
3961 test -n "$ac_ct_CXX" && break
3964 if test "x$ac_ct_CXX" = x
; then
3967 case $cross_compiling:$ac_tool_warned in
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3970 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3971 ac_tool_warned
=yes ;;
3979 # Provide some information about the compiler.
3980 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3983 for ac_option
in --version -v -V -qversion; do
3984 { { ac_try
="$ac_compiler $ac_option >&5"
3986 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3987 *) ac_try_echo=$ac_try;;
3989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3990 $as_echo "$ac_try_echo"; } >&5
3991 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3993 if test -s conftest.err; then
3995 ... rest of stderr output deleted ...
3996 10q' conftest.err >conftest.er1
3997 cat conftest.er1 >&5
3999 rm -f conftest.er1 conftest.err
4000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4001 test $ac_status = 0; }
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4005 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4006 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4007 $as_echo_n "(cached) " >&6
4009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4010 /* end confdefs.h. */
4023 if ac_fn_cxx_try_compile "$LINENO"; then :
4028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4029 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4033 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4034 if test $ac_compiler_gnu = yes; then
4039 ac_test_CXXFLAGS=${CXXFLAGS+set}
4040 ac_save_CXXFLAGS=$CXXFLAGS
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4042 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4043 if ${ac_cv_prog_cxx_g+:} false; then :
4044 $as_echo_n "(cached) " >&6
4046 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4047 ac_cxx_werror_flag=yes
4050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4051 /* end confdefs.h. */
4061 if ac_fn_cxx_try_compile "$LINENO"; then :
4062 ac_cv_prog_cxx_g=yes
4065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4066 /* end confdefs.h. */
4076 if ac_fn_cxx_try_compile "$LINENO"; then :
4079 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4082 /* end confdefs.h. */
4092 if ac_fn_cxx_try_compile "$LINENO"; then :
4093 ac_cv_prog_cxx_g=yes
4095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4100 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4103 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4104 if test "$ac_test_CXXFLAGS" = set; then
4105 CXXFLAGS=$ac_save_CXXFLAGS
4106 elif test $ac_cv_prog_cxx_g = yes; then
4107 if test "$GXX" = yes; then
4113 if test "$GXX" = yes; then
4120 ac_cpp='$CPP $CPPFLAGS'
4121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4125 depcc="$CXX" am_compiler_list=
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4128 $as_echo_n "checking dependency style of $depcc... " >&6; }
4129 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4130 $as_echo_n "(cached) " >&6
4132 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4133 # We make a subdir and do the tests there. Otherwise we can end up
4134 # making bogus files that we don't know about and never remove. For
4135 # instance it was reported that on HP-UX the gcc test will end up
4136 # making a dummy file named `D
' -- because `-MD' means
`put the output
4140 # Copy depcomp to subdir because otherwise we won't find it if we're
4141 # using a relative directory.
4142 cp "$am_depcomp" conftest.dir
4144 # We will build objects and dependencies in a subdirectory because
4145 # it helps to detect inapplicable dependency modes. For instance
4146 # both Tru64's cc and ICC support -MD to output dependencies as a
4147 # side effect of compilation, but ICC will put the dependencies in
4148 # the current directory while Tru64 will put them in the object
4152 am_cv_CXX_dependencies_compiler_type=none
4153 if test "$am_compiler_list" = ""; then
4154 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4157 case " $depcc " in #(
4158 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4161 for depmode in $am_compiler_list; do
4162 # Setup a source with many dependencies, because some compilers
4163 # like to wrap large dependency lists on column 80 (with \), and
4164 # we should not choose a depcomp mode which is confused by this.
4166 # We need to recreate these files for each test, as the compiler may
4167 # overwrite some of them when testing with obscure command lines.
4168 # This happens at least with the AIX C compiler.
4170 for i in 1 2 3 4 5 6; do
4171 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4172 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4173 # Solaris 8's
{/usr
,}/bin
/sh.
4174 touch sub
/conftst
$i.h
4176 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4178 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4179 # mode. It turns out that the SunPro C++ compiler does not properly
4180 # handle `-M -o', and we need to detect this. Also, some Intel
4181 # versions had trouble with output in subdirs
4182 am__obj
=sub
/conftest.
${OBJEXT-o}
4183 am__minus_obj
="-o $am__obj"
4186 # This depmode causes a compiler race in universal mode.
4187 test "$am__universal" = false ||
continue
4190 # after this tag, mechanisms are not by side-effect, so they'll
4191 # only be used when explicitly requested
4192 if test "x$enable_dependency_tracking" = xyes
; then
4198 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4199 # This compiler won't grok `-c -o', but also, the minuso test has
4200 # not run yet. These depmodes are late enough in the game, and
4201 # so weak that their functioning should not be impacted.
4202 am__obj
=conftest.
${OBJEXT-o}
4207 if depmode
=$depmode \
4208 source=sub
/conftest.c object
=$am__obj \
4209 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4210 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4211 >/dev
/null
2>conftest.err
&&
4212 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4213 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4214 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4215 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4216 # icc doesn't choke on unknown options, it will just issue warnings
4217 # or remarks (even with -Werror). So we grep stderr for any message
4218 # that says an option was ignored or not supported.
4219 # When given -MP, icc 7.0 and 7.1 complain thusly:
4220 # icc: Command line warning: ignoring option '-M'; no argument required
4221 # The diagnosis changed in icc 8.0:
4222 # icc: Command line remark: option '-MP' not supported
4223 if (grep 'ignoring option' conftest.err ||
4224 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4225 am_cv_CXX_dependencies_compiler_type
=$depmode
4234 am_cv_CXX_dependencies_compiler_type
=none
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4239 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4240 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4243 test "x$enable_dependency_tracking" != xno \
4244 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4245 am__fastdepCXX_TRUE
=
4246 am__fastdepCXX_FALSE
='#'
4248 am__fastdepCXX_TRUE
='#'
4249 am__fastdepCXX_FALSE
=
4253 if test "x$CC" != xcc
; then
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4255 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4258 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4260 set dummy
$CC; ac_cc
=`$as_echo "$2" |
4261 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4262 if eval \
${ac_cv_prog_cc_${ac_cc}_c_o+:} false
; then :
4263 $as_echo_n "(cached) " >&6
4265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4266 /* end confdefs.h. */
4276 # Make sure it works both with $CC and with simple cc.
4277 # We do the test twice because some compilers refuse to overwrite an
4278 # existing .o file with -o, though they will create one.
4279 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4281 if { { case "(($ac_try" in
4282 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4283 *) ac_try_echo=$ac_try;;
4285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4286 $as_echo "$ac_try_echo"; } >&5
4287 (eval "$ac_try") 2>&5
4289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4290 test $ac_status = 0; } &&
4291 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4292 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4293 *) ac_try_echo
=$ac_try;;
4295 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4296 $as_echo "$ac_try_echo"; } >&5
4297 (eval "$ac_try") 2>&5
4299 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4300 test $ac_status = 0; };
4302 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
4303 if test "x$CC" != xcc
; then
4304 # Test first that cc exists at all.
4305 if { ac_try
='cc -c conftest.$ac_ext >&5'
4306 { { case "(($ac_try" in
4307 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4308 *) ac_try_echo=$ac_try;;
4310 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4311 $as_echo "$ac_try_echo"; } >&5
4312 (eval "$ac_try") 2>&5
4314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4315 test $ac_status = 0; }; }; then
4316 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4318 if { { case "(($ac_try" in
4319 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4320 *) ac_try_echo
=$ac_try;;
4322 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4323 $as_echo "$ac_try_echo"; } >&5
4324 (eval "$ac_try") 2>&5
4326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4327 test $ac_status = 0; } &&
4328 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
4329 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4330 *) ac_try_echo=$ac_try;;
4332 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4333 $as_echo "$ac_try_echo"; } >&5
4334 (eval "$ac_try") 2>&5
4336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4337 test $ac_status = 0; };
4342 # cc exists but doesn't like -o.
4343 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4348 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4350 rm -f core conftest*
4353 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4355 $as_echo "yes" >&6; }
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4358 $as_echo "no" >&6; }
4360 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4364 # FIXME: we rely on the cache variable name because
4365 # there is no other way.
4367 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4368 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4369 if test "$am_t" != yes; then
4370 # Losing compiler, so override with the script.
4371 # FIXME: It is wrong to rewrite CC.
4372 # But if we don't then we get into trouble of one sort or another.
4373 # A longer-term fix would be to have automake use am__CC in this case,
4374 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4375 CC="$am_aux_dir/compile $CC"
4386 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4387 if test -n "$ac_tool_prefix"; then
4388 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4389 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4391 $as_echo_n "checking for $ac_word... " >&6; }
4392 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4393 $as_echo_n "(cached) " >&6
4397 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4404 test -z "$as_dir" && as_dir=.
4405 for ac_exec_ext in '' $ac_executable_extensions; do
4406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4407 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4418 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4419 if test -n "$PKG_CONFIG"; then
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4421 $as_echo "$PKG_CONFIG" >&6; }
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4424 $as_echo "no" >&6; }
4429 if test -z "$ac_cv_path_PKG_CONFIG"; then
4430 ac_pt_PKG_CONFIG=$PKG_CONFIG
4431 # Extract the first word of "pkg-config", so it can be a program name with args.
4432 set dummy pkg-config; ac_word=$2
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4434 $as_echo_n "checking for $ac_word... " >&6; }
4435 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4436 $as_echo_n "(cached) " >&6
4438 case $ac_pt_PKG_CONFIG in
4440 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4447 test -z "$as_dir" && as_dir=.
4448 for ac_exec_ext in '' $ac_executable_extensions; do
4449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4450 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4461 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4462 if test -n "$ac_pt_PKG_CONFIG"; then
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4464 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4467 $as_echo "no" >&6; }
4470 if test "x$ac_pt_PKG_CONFIG" = x; then
4473 case $cross_compiling:$ac_tool_warned in
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4476 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4477 ac_tool_warned=yes ;;
4479 PKG_CONFIG=$ac_pt_PKG_CONFIG
4482 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4486 if test -n "$PKG_CONFIG"; then
4487 _pkg_min_version=0.9.0
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4489 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4490 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4492 $as_echo "yes" >&6; }
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4495 $as_echo "no" >&6; }
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4502 $as_echo_n "checking for library containing strerror... " >&6; }
4503 if ${ac_cv_search_strerror+:} false; then :
4504 $as_echo_n "(cached) " >&6
4506 ac_func_search_save_LIBS=$LIBS
4507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4508 /* end confdefs.h. */
4510 /* Override any GCC internal prototype to avoid an error.
4511 Use char because int might match the return type of a GCC
4512 builtin and then its argument prototype would still apply. */
4525 for ac_lib in '' cposix; do
4526 if test -z "$ac_lib"; then
4527 ac_res="none required"
4530 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4532 if ac_fn_c_try_link "$LINENO"; then :
4533 ac_cv_search_strerror=$ac_res
4535 rm -f core conftest.err conftest.$ac_objext \
4537 if ${ac_cv_search_strerror+:} false; then :
4541 if ${ac_cv_search_strerror+:} false; then :
4544 ac_cv_search_strerror=no
4547 LIBS=$ac_func_search_save_LIBS
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4550 $as_echo "$ac_cv_search_strerror" >&6; }
4551 ac_res=$ac_cv_search_strerror
4552 if test "$ac_res" != no; then :
4553 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4558 ac_cpp='$CPP $CPPFLAGS'
4559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4563 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4564 # On Suns, sometimes $CPP names a directory.
4565 if test -n "$CPP" && test -d "$CPP"; then
4568 if test -z "$CPP"; then
4569 if ${ac_cv_prog_CPP+:} false; then :
4570 $as_echo_n "(cached) " >&6
4572 # Double quotes because CPP needs to be expanded
4573 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4576 for ac_c_preproc_warn_flag in '' yes
4578 # Use a header file that comes with gcc, so configuring glibc
4579 # with a fresh cross-compiler works.
4580 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4581 # <limits.h> exists even on freestanding compilers.
4582 # On the NeXT, cc -E runs the code through the compiler's parser,
4583 # not just through cpp. "Syntax error" is here to catch this case.
4584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4585 /* end confdefs.h. */
4587 # include <limits.h>
4589 # include <assert.h>
4593 if ac_fn_c_try_cpp "$LINENO"; then :
4596 # Broken: fails on valid input.
4599 rm -f conftest.err conftest.i conftest.$ac_ext
4601 # OK, works on sane cases. Now check whether nonexistent headers
4602 # can be detected and how.
4603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h. */
4605 #include <ac_nonexistent.h>
4607 if ac_fn_c_try_cpp "$LINENO"; then :
4608 # Broken: success on invalid input.
4611 # Passes both tests.
4615 rm -f conftest.err conftest.i conftest.$ac_ext
4618 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4619 rm -f conftest.i conftest.err conftest.
$ac_ext
4620 if $ac_preproc_ok; then :
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4633 $as_echo "$CPP" >&6; }
4635 for ac_c_preproc_warn_flag
in '' yes
4637 # Use a header file that comes with gcc, so configuring glibc
4638 # with a fresh cross-compiler works.
4639 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4640 # <limits.h> exists even on freestanding compilers.
4641 # On the NeXT, cc -E runs the code through the compiler's parser,
4642 # not just through cpp. "Syntax error" is here to catch this case.
4643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4644 /* end confdefs.h. */
4646 # include <limits.h>
4648 # include <assert.h>
4652 if ac_fn_c_try_cpp
"$LINENO"; then :
4655 # Broken: fails on valid input.
4658 rm -f conftest.err conftest.i conftest.
$ac_ext
4660 # OK, works on sane cases. Now check whether nonexistent headers
4661 # can be detected and how.
4662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4663 /* end confdefs.h. */
4664 #include <ac_nonexistent.h>
4666 if ac_fn_c_try_cpp
"$LINENO"; then :
4667 # Broken: success on invalid input.
4670 # Passes both tests.
4674 rm -f conftest.err conftest.i conftest.
$ac_ext
4677 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4678 rm -f conftest.i conftest.err conftest.
$ac_ext
4679 if $ac_preproc_ok; then :
4682 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4683 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4684 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4685 See \`config.log' for more details" "$LINENO" 5; }
4689 ac_cpp
='$CPP $CPPFLAGS'
4690 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4691 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4692 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4696 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4697 if ${ac_cv_path_GREP+:} false
; then :
4698 $as_echo_n "(cached) " >&6
4700 if test -z "$GREP"; then
4701 ac_path_GREP_found
=false
4702 # Loop through the user's path and test for each of PROGNAME-LIST
4703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4704 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4707 test -z "$as_dir" && as_dir
=.
4708 for ac_prog
in grep ggrep
; do
4709 for ac_exec_ext
in '' $ac_executable_extensions; do
4710 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4711 as_fn_executable_p
"$ac_path_GREP" ||
continue
4712 # Check for GNU ac_path_GREP and select it if it is found.
4713 # Check for GNU $ac_path_GREP
4714 case `"$ac_path_GREP" --version 2>&1` in
4716 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4719 $as_echo_n 0123456789 >"conftest.in"
4722 cat "conftest.in" "conftest.in" >"conftest.tmp"
4723 mv "conftest.tmp" "conftest.in"
4724 cp "conftest.in" "conftest.nl"
4725 $as_echo 'GREP' >> "conftest.nl"
4726 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4727 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4728 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4729 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4730 # Best one so far, save it but keep looking for a better one
4731 ac_cv_path_GREP
="$ac_path_GREP"
4732 ac_path_GREP_max
=$ac_count
4734 # 10*(2^10) chars as input seems more than enough
4735 test $ac_count -gt 10 && break
4737 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4740 $ac_path_GREP_found && break 3
4745 if test -z "$ac_cv_path_GREP"; then
4746 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4749 ac_cv_path_GREP
=$GREP
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4754 $as_echo "$ac_cv_path_GREP" >&6; }
4755 GREP
="$ac_cv_path_GREP"
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4759 $as_echo_n "checking for egrep... " >&6; }
4760 if ${ac_cv_path_EGREP+:} false
; then :
4761 $as_echo_n "(cached) " >&6
4763 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4764 then ac_cv_path_EGREP
="$GREP -E"
4766 if test -z "$EGREP"; then
4767 ac_path_EGREP_found
=false
4768 # Loop through the user's path and test for each of PROGNAME-LIST
4769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4770 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4773 test -z "$as_dir" && as_dir
=.
4774 for ac_prog
in egrep; do
4775 for ac_exec_ext
in '' $ac_executable_extensions; do
4776 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4777 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4778 # Check for GNU ac_path_EGREP and select it if it is found.
4779 # Check for GNU $ac_path_EGREP
4780 case `"$ac_path_EGREP" --version 2>&1` in
4782 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4785 $as_echo_n 0123456789 >"conftest.in"
4788 cat "conftest.in" "conftest.in" >"conftest.tmp"
4789 mv "conftest.tmp" "conftest.in"
4790 cp "conftest.in" "conftest.nl"
4791 $as_echo 'EGREP' >> "conftest.nl"
4792 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4793 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4794 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4795 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4796 # Best one so far, save it but keep looking for a better one
4797 ac_cv_path_EGREP
="$ac_path_EGREP"
4798 ac_path_EGREP_max
=$ac_count
4800 # 10*(2^10) chars as input seems more than enough
4801 test $ac_count -gt 10 && break
4803 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4806 $ac_path_EGREP_found && break 3
4811 if test -z "$ac_cv_path_EGREP"; then
4812 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4815 ac_cv_path_EGREP
=$EGREP
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4821 $as_echo "$ac_cv_path_EGREP" >&6; }
4822 EGREP
="$ac_cv_path_EGREP"
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4826 $as_echo_n "checking for ANSI C header files... " >&6; }
4827 if ${ac_cv_header_stdc+:} false
; then :
4828 $as_echo_n "(cached) " >&6
4830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4831 /* end confdefs.h. */
4845 if ac_fn_c_try_compile
"$LINENO"; then :
4846 ac_cv_header_stdc
=yes
4848 ac_cv_header_stdc
=no
4850 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4852 if test $ac_cv_header_stdc = yes; then
4853 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4855 /* end confdefs.h. */
4859 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4860 $EGREP "memchr" >/dev
/null
2>&1; then :
4863 ac_cv_header_stdc
=no
4869 if test $ac_cv_header_stdc = yes; then
4870 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4872 /* end confdefs.h. */
4876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4877 $EGREP "free" >/dev
/null
2>&1; then :
4880 ac_cv_header_stdc
=no
4886 if test $ac_cv_header_stdc = yes; then
4887 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4888 if test "$cross_compiling" = yes; then :
4891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4892 /* end confdefs.h. */
4895 #if ((' ' & 0x0FF) == 0x020)
4896 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4897 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4899 # define ISLOWER(c) \
4900 (('a' <= (c) && (c) <= 'i') \
4901 || ('j' <= (c) && (c) <= 'r') \
4902 || ('s' <= (c) && (c) <= 'z'))
4903 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4906 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4911 for (i = 0; i < 256; i++)
4912 if (XOR (islower (i), ISLOWER (i))
4913 || toupper (i) != TOUPPER (i))
4918 if ac_fn_c_try_run
"$LINENO"; then :
4921 ac_cv_header_stdc
=no
4923 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4924 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4930 $as_echo "$ac_cv_header_stdc" >&6; }
4931 if test $ac_cv_header_stdc = yes; then
4933 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4938 for ac_func
in setlocale
4940 ac_fn_c_check_func
"$LINENO" "setlocale" "ac_cv_func_setlocale"
4941 if test "x$ac_cv_func_setlocale" = xyes
; then :
4942 cat >>confdefs.h
<<_ACEOF
4943 #define HAVE_SETLOCALE 1
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4952 $as_echo_n "checking whether NLS is requested... " >&6; }
4953 # Check whether --enable-nls was given.
4954 if test "${enable_nls+set}" = set; then :
4955 enableval
=$enable_nls; USE_NLS
=$enableval
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4961 $as_echo "$USE_NLS" >&6; }
4966 GETTEXT_MACRO_VERSION
=0.18
4971 # Prepare PATH_SEPARATOR.
4972 # The user is always right.
4973 if test "${PATH_SEPARATOR+set}" != set; then
4974 echo "#! /bin/sh" >conf$$.sh
4975 echo "exit 0" >>conf$$.sh
4977 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4985 # Find out how to test for executable files. Don't use a zero-byte file,
4986 # as systems may use methods other than mode bits to determine executability.
4987 cat >conf$$.
file <<_ASEOF
4991 chmod +x conf$$.
file
4992 if test -x conf$$.
file >/dev
/null
2>&1; then
4993 ac_executable_p
="test -x"
4995 ac_executable_p
="test -f"
4999 # Extract the first word of "msgfmt", so it can be a program name with args.
5000 set dummy msgfmt
; ac_word
=$2
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5002 $as_echo_n "checking for $ac_word... " >&6; }
5003 if ${ac_cv_path_MSGFMT+:} false
; then :
5004 $as_echo_n "(cached) " >&6
5008 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5011 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5012 for ac_dir
in $PATH; do
5014 test -z "$ac_dir" && ac_dir
=.
5015 for ac_exec_ext
in '' $ac_executable_extensions; do
5016 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5017 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5018 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
5019 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5020 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
5027 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
5031 MSGFMT
="$ac_cv_path_MSGFMT"
5032 if test "$MSGFMT" != ":"; then
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5034 $as_echo "$MSGFMT" >&6; }
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5037 $as_echo "no" >&6; }
5040 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5041 set dummy gmsgfmt
; ac_word
=$2
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5043 $as_echo_n "checking for $ac_word... " >&6; }
5044 if ${ac_cv_path_GMSGFMT+:} false
; then :
5045 $as_echo_n "(cached) " >&6
5049 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5056 test -z "$as_dir" && as_dir
=.
5057 for ac_exec_ext
in '' $ac_executable_extensions; do
5058 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5059 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5067 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5071 GMSGFMT
=$ac_cv_path_GMSGFMT
5072 if test -n "$GMSGFMT"; then
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5074 $as_echo "$GMSGFMT" >&6; }
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5077 $as_echo "no" >&6; }
5082 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5083 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) MSGFMT_015
=: ;;
5084 *) MSGFMT_015
=$MSGFMT ;;
5087 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5088 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) GMSGFMT_015
=: ;;
5089 *) GMSGFMT_015
=$GMSGFMT ;;
5094 # Prepare PATH_SEPARATOR.
5095 # The user is always right.
5096 if test "${PATH_SEPARATOR+set}" != set; then
5097 echo "#! /bin/sh" >conf$$.sh
5098 echo "exit 0" >>conf$$.sh
5100 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5108 # Find out how to test for executable files. Don't use a zero-byte file,
5109 # as systems may use methods other than mode bits to determine executability.
5110 cat >conf$$.
file <<_ASEOF
5114 chmod +x conf$$.
file
5115 if test -x conf$$.
file >/dev
/null
2>&1; then
5116 ac_executable_p
="test -x"
5118 ac_executable_p
="test -f"
5122 # Extract the first word of "xgettext", so it can be a program name with args.
5123 set dummy xgettext
; ac_word
=$2
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5125 $as_echo_n "checking for $ac_word... " >&6; }
5126 if ${ac_cv_path_XGETTEXT+:} false
; then :
5127 $as_echo_n "(cached) " >&6
5131 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5134 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5135 for ac_dir
in $PATH; do
5137 test -z "$ac_dir" && ac_dir
=.
5138 for ac_exec_ext
in '' $ac_executable_extensions; do
5139 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5140 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5141 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
5142 (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
5143 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
5150 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5154 XGETTEXT
="$ac_cv_path_XGETTEXT"
5155 if test "$XGETTEXT" != ":"; then
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5157 $as_echo "$XGETTEXT" >&6; }
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5160 $as_echo "no" >&6; }
5165 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5166 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) XGETTEXT_015
=: ;;
5167 *) XGETTEXT_015
=$XGETTEXT ;;
5172 # Prepare PATH_SEPARATOR.
5173 # The user is always right.
5174 if test "${PATH_SEPARATOR+set}" != set; then
5175 echo "#! /bin/sh" >conf$$.sh
5176 echo "exit 0" >>conf$$.sh
5178 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5186 # Find out how to test for executable files. Don't use a zero-byte file,
5187 # as systems may use methods other than mode bits to determine executability.
5188 cat >conf$$.
file <<_ASEOF
5192 chmod +x conf$$.
file
5193 if test -x conf$$.
file >/dev
/null
2>&1; then
5194 ac_executable_p
="test -x"
5196 ac_executable_p
="test -f"
5200 # Extract the first word of "msgmerge", so it can be a program name with args.
5201 set dummy msgmerge
; ac_word
=$2
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5203 $as_echo_n "checking for $ac_word... " >&6; }
5204 if ${ac_cv_path_MSGMERGE+:} false
; then :
5205 $as_echo_n "(cached) " >&6
5209 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
5212 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5213 for ac_dir
in $PATH; do
5215 test -z "$ac_dir" && ac_dir
=.
5216 for ac_exec_ext
in '' $ac_executable_extensions; do
5217 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5218 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5219 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
5220 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
5227 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
5231 MSGMERGE
="$ac_cv_path_MSGMERGE"
5232 if test "$MSGMERGE" != ":"; then
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5234 $as_echo "$MSGMERGE" >&6; }
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5237 $as_echo "no" >&6; }
5241 test -n "$localedir" || localedir
='${datadir}/locale'
5244 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS
=
5247 ac_config_commands
="$ac_config_commands po-directories"
5251 if test "X$prefix" = "XNONE"; then
5252 acl_final_prefix
="$ac_default_prefix"
5254 acl_final_prefix
="$prefix"
5256 if test "X$exec_prefix" = "XNONE"; then
5257 acl_final_exec_prefix
='${prefix}'
5259 acl_final_exec_prefix
="$exec_prefix"
5261 acl_save_prefix
="$prefix"
5262 prefix
="$acl_final_prefix"
5263 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
5264 prefix
="$acl_save_prefix"
5266 # Make sure we can run config.sub.
5267 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
5268 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5271 $as_echo_n "checking build system type... " >&6; }
5272 if ${ac_cv_build+:} false
; then :
5273 $as_echo_n "(cached) " >&6
5275 ac_build_alias
=$build_alias
5276 test "x$ac_build_alias" = x
&&
5277 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
5278 test "x$ac_build_alias" = x
&&
5279 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
5280 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5281 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5285 $as_echo "$ac_cv_build" >&6; }
5286 case $ac_cv_build in
5288 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
5291 ac_save_IFS
=$IFS; IFS
='-'
5297 # Remember, the first character of IFS is used to create $*,
5298 # except with old shells:
5301 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5305 $as_echo_n "checking host system type... " >&6; }
5306 if ${ac_cv_host+:} false
; then :
5307 $as_echo_n "(cached) " >&6
5309 if test "x$host_alias" = x
; then
5310 ac_cv_host
=$ac_cv_build
5312 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5313 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5318 $as_echo "$ac_cv_host" >&6; }
5321 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
5324 ac_save_IFS
=$IFS; IFS
='-'
5330 # Remember, the first character of IFS is used to create $*,
5331 # except with old shells:
5334 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
5338 # Check whether --with-gnu-ld was given.
5339 if test "${with_gnu_ld+set}" = set; then :
5340 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5345 # Prepare PATH_SEPARATOR.
5346 # The user is always right.
5347 if test "${PATH_SEPARATOR+set}" != set; then
5348 echo "#! /bin/sh" >conf$$.sh
5349 echo "exit 0" >>conf$$.sh
5351 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5359 if test "$GCC" = yes; then
5360 # Check if gcc -print-prog-name=ld gives a path.
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
5362 $as_echo_n "checking for ld used by GCC... " >&6; }
5365 # gcc leaves a trailing carriage return which upsets mingw
5366 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5368 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5371 # Accept absolute paths.
5372 [\\/]* |
[A-Za-z
]:[\\/]*)
5373 re_direlt
='/[^/][^/]*/\.\./'
5374 # Canonicalize the path of ld
5375 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5376 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5377 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5379 test -z "$LD" && LD
="$ac_prog"
5382 # If it fails, then pretend we aren't using GCC.
5386 # If it is relative, then search for the first ld in PATH.
5390 elif test "$with_gnu_ld" = yes; then
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5392 $as_echo_n "checking for GNU ld... " >&6; }
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5395 $as_echo_n "checking for non-GNU ld... " >&6; }
5397 if ${acl_cv_path_LD+:} false
; then :
5398 $as_echo_n "(cached) " >&6
5400 if test -z "$LD"; then
5401 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5402 for ac_dir
in $PATH; do
5403 test -z "$ac_dir" && ac_dir
=.
5404 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5405 acl_cv_path_LD
="$ac_dir/$ac_prog"
5406 # Check to see if the program is GNU ld. I'd rather use --version,
5407 # but apparently some GNU ld's only accept -v.
5408 # Break only if it was the GNU/non-GNU ld that we prefer.
5409 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
5410 *GNU
* |
*'with BFD'*)
5411 test "$with_gnu_ld" != no
&& break ;;
5413 test "$with_gnu_ld" != yes && break ;;
5419 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
5423 LD
="$acl_cv_path_LD"
5424 if test -n "$LD"; then
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5426 $as_echo "$LD" >&6; }
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5429 $as_echo "no" >&6; }
5431 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5433 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5434 if ${acl_cv_prog_gnu_ld+:} false
; then :
5435 $as_echo_n "(cached) " >&6
5437 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5438 case `$LD -v 2>&1 </dev/null` in
5439 *GNU
* |
*'with BFD'*)
5440 acl_cv_prog_gnu_ld
=yes ;;
5442 acl_cv_prog_gnu_ld
=no
;;
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5446 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5447 with_gnu_ld
=$acl_cv_prog_gnu_ld
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
5453 $as_echo_n "checking for shared library run path origin... " >&6; }
5454 if ${acl_cv_rpath+:} false
; then :
5455 $as_echo_n "(cached) " >&6
5458 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
5459 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
5466 $as_echo "$acl_cv_rpath" >&6; }
5468 acl_libext
="$acl_cv_libext"
5469 acl_shlibext
="$acl_cv_shlibext"
5470 acl_libname_spec
="$acl_cv_libname_spec"
5471 acl_library_names_spec
="$acl_cv_library_names_spec"
5472 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
5473 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
5474 acl_hardcode_direct
="$acl_cv_hardcode_direct"
5475 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
5476 # Check whether --enable-rpath was given.
5477 if test "${enable_rpath+set}" = set; then :
5478 enableval
=$enable_rpath; :
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
5491 $as_echo_n "checking for 64-bit host... " >&6; }
5492 if ${gl_cv_solaris_64bit+:} false
; then :
5493 $as_echo_n "(cached) " >&6
5495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5496 /* end confdefs.h. */
5503 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5504 $EGREP "sixtyfour bits" >/dev
/null
2>&1; then :
5505 gl_cv_solaris_64bit
=yes
5507 gl_cv_solaris_64bit
=no
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
5514 $as_echo "$gl_cv_solaris_64bit" >&6; }
5515 if test $gl_cv_solaris_64bit = yes; then
5516 acl_libdirstem
=lib
/64
5518 sparc
*) acl_libdirstem2
=lib
/sparcv9
;;
5519 i
*86 | x86_64
) acl_libdirstem2
=lib
/amd64
;;
5524 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
5525 if test -n "$searchpath"; then
5526 acl_save_IFS
="${IFS= }"; IFS
=":"
5527 for searchdir
in $searchpath; do
5528 if test -d "$searchdir"; then
5529 case "$searchdir" in
5530 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
5532 # Better ignore directories of this form. They are misleading.
5534 *) searchdir
=`cd "$searchdir" && pwd`
5535 case "$searchdir" in
5536 */lib64
) acl_libdirstem
=lib64
;;
5545 test -n "$acl_libdirstem2" || acl_libdirstem2
="$acl_libdirstem"
5560 acl_save_prefix
="$prefix"
5561 prefix
="$acl_final_prefix"
5562 acl_save_exec_prefix
="$exec_prefix"
5563 exec_prefix
="$acl_final_exec_prefix"
5565 eval additional_includedir
=\"$includedir\"
5566 eval additional_libdir
=\"$libdir\"
5568 exec_prefix
="$acl_save_exec_prefix"
5569 prefix
="$acl_save_prefix"
5572 # Check whether --with-libiconv-prefix was given.
5573 if test "${with_libiconv_prefix+set}" = set; then :
5574 withval
=$with_libiconv_prefix;
5575 if test "X$withval" = "Xno"; then
5578 if test "X$withval" = "X"; then
5580 acl_save_prefix
="$prefix"
5581 prefix
="$acl_final_prefix"
5582 acl_save_exec_prefix
="$exec_prefix"
5583 exec_prefix
="$acl_final_exec_prefix"
5585 eval additional_includedir
=\"$includedir\"
5586 eval additional_libdir
=\"$libdir\"
5588 exec_prefix
="$acl_save_exec_prefix"
5589 prefix
="$acl_save_prefix"
5592 additional_includedir
="$withval/include"
5593 additional_libdir
="$withval/$acl_libdirstem"
5594 if test "$acl_libdirstem2" != "$acl_libdirstem" \
5595 && ! test -d "$withval/$acl_libdirstem"; then
5596 additional_libdir
="$withval/$acl_libdirstem2"
5610 names_already_handled
=
5611 names_next_round
='iconv '
5612 while test -n "$names_next_round"; do
5613 names_this_round
="$names_next_round"
5615 for name
in $names_this_round; do
5617 for n
in $names_already_handled; do
5618 if test "$n" = "$name"; then
5623 if test -z "$already_handled"; then
5624 names_already_handled
="$names_already_handled $name"
5625 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5626 eval value
=\"\
$HAVE_LIB$uppername\"
5627 if test -n "$value"; then
5628 if test "$value" = yes; then
5629 eval value
=\"\
$LIB$uppername\"
5630 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
5631 eval value
=\"\
$LTLIB$uppername\"
5632 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
5641 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
5642 if test -n "$acl_shlibext"; then
5643 shrext
=".$acl_shlibext" # typically: shrext=.so
5647 if test $use_additional = yes; then
5648 dir
="$additional_libdir"
5649 if test -n "$acl_shlibext"; then
5650 if test -f "$dir/$libname$shrext"; then
5652 found_so
="$dir/$libname$shrext"
5654 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5655 ver
=`(cd "$dir" && \
5656 for f in "$libname$shrext".*; do echo "$f"; done \
5657 | sed -e "s,^$libname$shrext\\\\.,," \
5658 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5659 | sed 1q ) 2>/dev/null`
5660 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5662 found_so
="$dir/$libname$shrext.$ver"
5665 eval library_names
=\"$acl_library_names_spec\"
5666 for f
in $library_names; do
5667 if test -f "$dir/$f"; then
5676 if test "X$found_dir" = "X"; then
5677 if test -f "$dir/$libname.$acl_libext"; then
5679 found_a
="$dir/$libname.$acl_libext"
5682 if test "X$found_dir" != "X"; then
5683 if test -f "$dir/$libname.la"; then
5684 found_la
="$dir/$libname.la"
5688 if test "X$found_dir" = "X"; then
5689 for x
in $LDFLAGS $LTLIBICONV; do
5691 acl_save_prefix
="$prefix"
5692 prefix
="$acl_final_prefix"
5693 acl_save_exec_prefix
="$exec_prefix"
5694 exec_prefix
="$acl_final_exec_prefix"
5696 exec_prefix
="$acl_save_exec_prefix"
5697 prefix
="$acl_save_prefix"
5701 dir
=`echo "X$x" | sed -e 's/^X-L//'`
5702 if test -n "$acl_shlibext"; then
5703 if test -f "$dir/$libname$shrext"; then
5705 found_so
="$dir/$libname$shrext"
5707 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5708 ver
=`(cd "$dir" && \
5709 for f in "$libname$shrext".*; do echo "$f"; done \
5710 | sed -e "s,^$libname$shrext\\\\.,," \
5711 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5712 | sed 1q ) 2>/dev/null`
5713 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5715 found_so
="$dir/$libname$shrext.$ver"
5718 eval library_names
=\"$acl_library_names_spec\"
5719 for f
in $library_names; do
5720 if test -f "$dir/$f"; then
5729 if test "X$found_dir" = "X"; then
5730 if test -f "$dir/$libname.$acl_libext"; then
5732 found_a
="$dir/$libname.$acl_libext"
5735 if test "X$found_dir" != "X"; then
5736 if test -f "$dir/$libname.la"; then
5737 found_la
="$dir/$libname.la"
5742 if test "X$found_dir" != "X"; then
5747 if test "X$found_dir" != "X"; then
5748 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5749 if test "X$found_so" != "X"; then
5750 if test "$enable_rpath" = no \
5751 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
5752 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
5753 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5756 for x
in $ltrpathdirs; do
5757 if test "X$x" = "X$found_dir"; then
5762 if test -z "$haveit"; then
5763 ltrpathdirs
="$ltrpathdirs $found_dir"
5765 if test "$acl_hardcode_direct" = yes; then
5766 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5768 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
5769 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5771 for x
in $rpathdirs; do
5772 if test "X$x" = "X$found_dir"; then
5777 if test -z "$haveit"; then
5778 rpathdirs
="$rpathdirs $found_dir"
5782 for x
in $LDFLAGS $LIBICONV; do
5784 acl_save_prefix
="$prefix"
5785 prefix
="$acl_final_prefix"
5786 acl_save_exec_prefix
="$exec_prefix"
5787 exec_prefix
="$acl_final_exec_prefix"
5789 exec_prefix
="$acl_save_exec_prefix"
5790 prefix
="$acl_save_prefix"
5792 if test "X$x" = "X-L$found_dir"; then
5797 if test -z "$haveit"; then
5798 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5800 if test "$acl_hardcode_minus_L" != no
; then
5801 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5803 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
5809 if test "X$found_a" != "X"; then
5810 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
5812 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5815 additional_includedir
=
5816 case "$found_dir" in
5817 */$acl_libdirstem |
*/$acl_libdirstem/)
5818 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5819 if test "$name" = 'iconv'; then
5820 LIBICONV_PREFIX
="$basedir"
5822 additional_includedir
="$basedir/include"
5824 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
5825 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
5826 if test "$name" = 'iconv'; then
5827 LIBICONV_PREFIX
="$basedir"
5829 additional_includedir
="$basedir/include"
5832 if test "X$additional_includedir" != "X"; then
5833 if test "X$additional_includedir" != "X/usr/include"; then
5835 if test "X$additional_includedir" = "X/usr/local/include"; then
5836 if test -n "$GCC"; then
5838 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
5842 if test -z "$haveit"; then
5843 for x
in $CPPFLAGS $INCICONV; do
5845 acl_save_prefix
="$prefix"
5846 prefix
="$acl_final_prefix"
5847 acl_save_exec_prefix
="$exec_prefix"
5848 exec_prefix
="$acl_final_exec_prefix"
5850 exec_prefix
="$acl_save_exec_prefix"
5851 prefix
="$acl_save_prefix"
5853 if test "X$x" = "X-I$additional_includedir"; then
5858 if test -z "$haveit"; then
5859 if test -d "$additional_includedir"; then
5860 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5866 if test -n "$found_la"; then
5867 save_libdir
="$libdir"
5869 */* |
*\\*) .
"$found_la" ;;
5870 *) .
"./$found_la" ;;
5872 libdir
="$save_libdir"
5873 for dep
in $dependency_libs; do
5876 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
5877 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
5878 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
5880 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
5881 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
5882 if test -n "$GCC"; then
5884 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
5888 if test -z "$haveit"; then
5890 for x
in $LDFLAGS $LIBICONV; do
5892 acl_save_prefix
="$prefix"
5893 prefix
="$acl_final_prefix"
5894 acl_save_exec_prefix
="$exec_prefix"
5895 exec_prefix
="$acl_final_exec_prefix"
5897 exec_prefix
="$acl_save_exec_prefix"
5898 prefix
="$acl_save_prefix"
5900 if test "X$x" = "X-L$additional_libdir"; then
5905 if test -z "$haveit"; then
5906 if test -d "$additional_libdir"; then
5907 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5911 for x
in $LDFLAGS $LTLIBICONV; do
5913 acl_save_prefix
="$prefix"
5914 prefix
="$acl_final_prefix"
5915 acl_save_exec_prefix
="$exec_prefix"
5916 exec_prefix
="$acl_final_exec_prefix"
5918 exec_prefix
="$acl_save_exec_prefix"
5919 prefix
="$acl_save_prefix"
5921 if test "X$x" = "X-L$additional_libdir"; then
5926 if test -z "$haveit"; then
5927 if test -d "$additional_libdir"; then
5928 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5935 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
5936 if test "$enable_rpath" != no
; then
5938 for x
in $rpathdirs; do
5939 if test "X$x" = "X$dir"; then
5944 if test -z "$haveit"; then
5945 rpathdirs
="$rpathdirs $dir"
5948 for x
in $ltrpathdirs; do
5949 if test "X$x" = "X$dir"; then
5954 if test -z "$haveit"; then
5955 ltrpathdirs
="$ltrpathdirs $dir"
5960 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5963 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5966 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
5967 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5973 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
5974 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5980 if test "X$rpathdirs" != "X"; then
5981 if test -n "$acl_hardcode_libdir_separator"; then
5983 for found_dir
in $rpathdirs; do
5984 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
5986 acl_save_libdir
="$libdir"
5988 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
5989 libdir
="$acl_save_libdir"
5990 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
5992 for found_dir
in $rpathdirs; do
5993 acl_save_libdir
="$libdir"
5995 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
5996 libdir
="$acl_save_libdir"
5997 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
6001 if test "X$ltrpathdirs" != "X"; then
6002 for found_dir
in $ltrpathdirs; do
6003 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
6038 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
6039 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
6040 $as_echo_n "(cached) " >&6
6042 gt_save_LIBS
="$LIBS"
6043 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
6044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6045 /* end confdefs.h. */
6046 #include <CoreFoundation/CFPreferences.h>
6050 CFPreferencesCopyAppValue(NULL, NULL)
6055 if ac_fn_c_try_link
"$LINENO"; then :
6056 gt_cv_func_CFPreferencesCopyAppValue
=yes
6058 gt_cv_func_CFPreferencesCopyAppValue
=no
6060 rm -f core conftest.err conftest.
$ac_objext \
6061 conftest
$ac_exeext conftest.
$ac_ext
6062 LIBS
="$gt_save_LIBS"
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
6065 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
6066 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
6068 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
6072 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
6073 if ${gt_cv_func_CFLocaleCopyCurrent+:} false
; then :
6074 $as_echo_n "(cached) " >&6
6076 gt_save_LIBS
="$LIBS"
6077 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
6078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6079 /* end confdefs.h. */
6080 #include <CoreFoundation/CFLocale.h>
6084 CFLocaleCopyCurrent();
6089 if ac_fn_c_try_link
"$LINENO"; then :
6090 gt_cv_func_CFLocaleCopyCurrent
=yes
6092 gt_cv_func_CFLocaleCopyCurrent
=no
6094 rm -f core conftest.err conftest.
$ac_objext \
6095 conftest
$ac_exeext conftest.
$ac_ext
6096 LIBS
="$gt_save_LIBS"
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
6099 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
6100 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6102 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
6106 if test $gt_cv_func_CFPreferencesCopyAppValue = yes ||
test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6107 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
6119 case " $gt_needs " in
6120 *" need-formatstring-macros "*) gt_api_version
=3 ;;
6121 *" need-ngettext "*) gt_api_version
=2 ;;
6122 *) gt_api_version
=1 ;;
6124 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
6125 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
6127 if test "$USE_NLS" = "yes"; then
6128 gt_use_preinstalled_gnugettext
=no
6131 if test $gt_api_version -ge 3; then
6132 gt_revision_test_code
='
6133 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6134 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
6136 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
6139 gt_revision_test_code
=
6141 if test $gt_api_version -ge 2; then
6142 gt_expression_test_code
=' + * ngettext ("", "", 0)'
6144 gt_expression_test_code
=
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
6148 $as_echo_n "checking for GNU gettext in libc... " >&6; }
6149 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
6150 $as_echo_n "(cached) " >&6
6152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6153 /* end confdefs.h. */
6154 #include <libintl.h>
6155 $gt_revision_test_code
6156 extern int _nl_msg_cat_cntr;
6157 extern int *_nl_domain_bindings;
6161 bindtextdomain ("", "");
6162 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
6167 if ac_fn_c_try_link
"$LINENO"; then :
6168 eval "$gt_func_gnugettext_libc=yes"
6170 eval "$gt_func_gnugettext_libc=no"
6172 rm -f core conftest.err conftest.
$ac_objext \
6173 conftest
$ac_exeext conftest.
$ac_ext
6175 eval ac_res
=\$
$gt_func_gnugettext_libc
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6177 $as_echo "$ac_res" >&6; }
6179 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
6185 am_save_CPPFLAGS
="$CPPFLAGS"
6187 for element
in $INCICONV; do
6189 for x
in $CPPFLAGS; do
6191 acl_save_prefix
="$prefix"
6192 prefix
="$acl_final_prefix"
6193 acl_save_exec_prefix
="$exec_prefix"
6194 exec_prefix
="$acl_final_exec_prefix"
6196 exec_prefix
="$acl_save_exec_prefix"
6197 prefix
="$acl_save_prefix"
6199 if test "X$x" = "X$element"; then
6204 if test -z "$haveit"; then
6205 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
6211 $as_echo_n "checking for iconv... " >&6; }
6212 if ${am_cv_func_iconv+:} false
; then :
6213 $as_echo_n "(cached) " >&6
6216 am_cv_func_iconv
="no, consider installing GNU libiconv"
6218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6219 /* end confdefs.h. */
6225 iconv_t cd = iconv_open("","");
6226 iconv(cd,NULL,NULL,NULL,NULL);
6232 if ac_fn_c_try_link
"$LINENO"; then :
6233 am_cv_func_iconv
=yes
6235 rm -f core conftest.err conftest.
$ac_objext \
6236 conftest
$ac_exeext conftest.
$ac_ext
6237 if test "$am_cv_func_iconv" != yes; then
6238 am_save_LIBS
="$LIBS"
6239 LIBS
="$LIBS $LIBICONV"
6240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6241 /* end confdefs.h. */
6247 iconv_t cd = iconv_open("","");
6248 iconv(cd,NULL,NULL,NULL,NULL);
6254 if ac_fn_c_try_link
"$LINENO"; then :
6256 am_cv_func_iconv
=yes
6258 rm -f core conftest.err conftest.
$ac_objext \
6259 conftest
$ac_exeext conftest.
$ac_ext
6260 LIBS
="$am_save_LIBS"
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
6265 $as_echo "$am_cv_func_iconv" >&6; }
6266 if test "$am_cv_func_iconv" = yes; then
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
6268 $as_echo_n "checking for working iconv... " >&6; }
6269 if ${am_cv_func_iconv_works+:} false
; then :
6270 $as_echo_n "(cached) " >&6
6273 am_save_LIBS
="$LIBS"
6274 if test $am_cv_lib_iconv = yes; then
6275 LIBS
="$LIBS $LIBICONV"
6277 if test "$cross_compiling" = yes; then :
6279 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
6280 *) am_cv_func_iconv_works
="guessing yes" ;;
6283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6284 /* end confdefs.h. */
6290 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
6293 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
6294 if (cd_utf8_to_88591 != (iconv_t)(-1))
6296 static const char input[] = "\342\202\254"; /* EURO SIGN */
6298 const char *inptr = input;
6299 size_t inbytesleft = strlen (input);
6301 size_t outbytesleft = sizeof (buf);
6302 size_t res = iconv (cd_utf8_to_88591,
6303 (char **) &inptr, &inbytesleft,
6304 &outptr, &outbytesleft);
6309 /* Test against Solaris 10 bug: Failures are not distinguishable from
6310 successful returns. */
6312 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
6313 if (cd_ascii_to_88591 != (iconv_t)(-1))
6315 static const char input[] = "\263";
6317 const char *inptr = input;
6318 size_t inbytesleft = strlen (input);
6320 size_t outbytesleft = sizeof (buf);
6321 size_t res = iconv (cd_ascii_to_88591,
6322 (char **) &inptr, &inbytesleft,
6323 &outptr, &outbytesleft);
6328 #if 0 /* This bug could be worked around by the caller. */
6329 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
6331 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
6332 if (cd_88591_to_utf8 != (iconv_t)(-1))
6334 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
6336 const char *inptr = input;
6337 size_t inbytesleft = strlen (input);
6339 size_t outbytesleft = sizeof (buf);
6340 size_t res = iconv (cd_88591_to_utf8,
6341 (char **) &inptr, &inbytesleft,
6342 &outptr, &outbytesleft);
6348 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
6350 if (/* Try standardized names. */
6351 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
6352 /* Try IRIX, OSF/1 names. */
6353 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
6354 /* Try AIX names. */
6355 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
6356 /* Try HP-UX names. */
6357 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
6362 if ac_fn_c_try_run
"$LINENO"; then :
6363 am_cv_func_iconv_works
=yes
6365 am_cv_func_iconv_works
=no
6367 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6368 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6371 LIBS
="$am_save_LIBS"
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
6375 $as_echo "$am_cv_func_iconv_works" >&6; }
6376 case "$am_cv_func_iconv_works" in
6377 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
6378 *) am_func_iconv
=yes ;;
6381 am_func_iconv
=no am_cv_lib_iconv
=no
6383 if test "$am_func_iconv" = yes; then
6385 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
6388 if test "$am_cv_lib_iconv" = yes; then
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
6390 $as_echo_n "checking how to link with libiconv... " >&6; }
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
6392 $as_echo "$LIBICONV" >&6; }
6394 CPPFLAGS
="$am_save_CPPFLAGS"
6411 acl_save_prefix
="$prefix"
6412 prefix
="$acl_final_prefix"
6413 acl_save_exec_prefix
="$exec_prefix"
6414 exec_prefix
="$acl_final_exec_prefix"
6416 eval additional_includedir
=\"$includedir\"
6417 eval additional_libdir
=\"$libdir\"
6419 exec_prefix
="$acl_save_exec_prefix"
6420 prefix
="$acl_save_prefix"
6423 # Check whether --with-libintl-prefix was given.
6424 if test "${with_libintl_prefix+set}" = set; then :
6425 withval
=$with_libintl_prefix;
6426 if test "X$withval" = "Xno"; then
6429 if test "X$withval" = "X"; then
6431 acl_save_prefix
="$prefix"
6432 prefix
="$acl_final_prefix"
6433 acl_save_exec_prefix
="$exec_prefix"
6434 exec_prefix
="$acl_final_exec_prefix"
6436 eval additional_includedir
=\"$includedir\"
6437 eval additional_libdir
=\"$libdir\"
6439 exec_prefix
="$acl_save_exec_prefix"
6440 prefix
="$acl_save_prefix"
6443 additional_includedir
="$withval/include"
6444 additional_libdir
="$withval/$acl_libdirstem"
6445 if test "$acl_libdirstem2" != "$acl_libdirstem" \
6446 && ! test -d "$withval/$acl_libdirstem"; then
6447 additional_libdir
="$withval/$acl_libdirstem2"
6461 names_already_handled
=
6462 names_next_round
='intl '
6463 while test -n "$names_next_round"; do
6464 names_this_round
="$names_next_round"
6466 for name
in $names_this_round; do
6468 for n
in $names_already_handled; do
6469 if test "$n" = "$name"; then
6474 if test -z "$already_handled"; then
6475 names_already_handled
="$names_already_handled $name"
6476 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6477 eval value
=\"\
$HAVE_LIB$uppername\"
6478 if test -n "$value"; then
6479 if test "$value" = yes; then
6480 eval value
=\"\
$LIB$uppername\"
6481 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
6482 eval value
=\"\
$LTLIB$uppername\"
6483 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
6492 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
6493 if test -n "$acl_shlibext"; then
6494 shrext
=".$acl_shlibext" # typically: shrext=.so
6498 if test $use_additional = yes; then
6499 dir
="$additional_libdir"
6500 if test -n "$acl_shlibext"; then
6501 if test -f "$dir/$libname$shrext"; then
6503 found_so
="$dir/$libname$shrext"
6505 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6506 ver
=`(cd "$dir" && \
6507 for f in "$libname$shrext".*; do echo "$f"; done \
6508 | sed -e "s,^$libname$shrext\\\\.,," \
6509 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6510 | sed 1q ) 2>/dev/null`
6511 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6513 found_so
="$dir/$libname$shrext.$ver"
6516 eval library_names
=\"$acl_library_names_spec\"
6517 for f
in $library_names; do
6518 if test -f "$dir/$f"; then
6527 if test "X$found_dir" = "X"; then
6528 if test -f "$dir/$libname.$acl_libext"; then
6530 found_a
="$dir/$libname.$acl_libext"
6533 if test "X$found_dir" != "X"; then
6534 if test -f "$dir/$libname.la"; then
6535 found_la
="$dir/$libname.la"
6539 if test "X$found_dir" = "X"; then
6540 for x
in $LDFLAGS $LTLIBINTL; do
6542 acl_save_prefix
="$prefix"
6543 prefix
="$acl_final_prefix"
6544 acl_save_exec_prefix
="$exec_prefix"
6545 exec_prefix
="$acl_final_exec_prefix"
6547 exec_prefix
="$acl_save_exec_prefix"
6548 prefix
="$acl_save_prefix"
6552 dir
=`echo "X$x" | sed -e 's/^X-L//'`
6553 if test -n "$acl_shlibext"; then
6554 if test -f "$dir/$libname$shrext"; then
6556 found_so
="$dir/$libname$shrext"
6558 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6559 ver
=`(cd "$dir" && \
6560 for f in "$libname$shrext".*; do echo "$f"; done \
6561 | sed -e "s,^$libname$shrext\\\\.,," \
6562 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6563 | sed 1q ) 2>/dev/null`
6564 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6566 found_so
="$dir/$libname$shrext.$ver"
6569 eval library_names
=\"$acl_library_names_spec\"
6570 for f
in $library_names; do
6571 if test -f "$dir/$f"; then
6580 if test "X$found_dir" = "X"; then
6581 if test -f "$dir/$libname.$acl_libext"; then
6583 found_a
="$dir/$libname.$acl_libext"
6586 if test "X$found_dir" != "X"; then
6587 if test -f "$dir/$libname.la"; then
6588 found_la
="$dir/$libname.la"
6593 if test "X$found_dir" != "X"; then
6598 if test "X$found_dir" != "X"; then
6599 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6600 if test "X$found_so" != "X"; then
6601 if test "$enable_rpath" = no \
6602 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
6603 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
6604 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6607 for x
in $ltrpathdirs; do
6608 if test "X$x" = "X$found_dir"; then
6613 if test -z "$haveit"; then
6614 ltrpathdirs
="$ltrpathdirs $found_dir"
6616 if test "$acl_hardcode_direct" = yes; then
6617 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6619 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
6620 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6622 for x
in $rpathdirs; do
6623 if test "X$x" = "X$found_dir"; then
6628 if test -z "$haveit"; then
6629 rpathdirs
="$rpathdirs $found_dir"
6633 for x
in $LDFLAGS $LIBINTL; do
6635 acl_save_prefix
="$prefix"
6636 prefix
="$acl_final_prefix"
6637 acl_save_exec_prefix
="$exec_prefix"
6638 exec_prefix
="$acl_final_exec_prefix"
6640 exec_prefix
="$acl_save_exec_prefix"
6641 prefix
="$acl_save_prefix"
6643 if test "X$x" = "X-L$found_dir"; then
6648 if test -z "$haveit"; then
6649 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6651 if test "$acl_hardcode_minus_L" != no
; then
6652 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6654 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
6660 if test "X$found_a" != "X"; then
6661 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
6663 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6666 additional_includedir
=
6667 case "$found_dir" in
6668 */$acl_libdirstem |
*/$acl_libdirstem/)
6669 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
6670 if test "$name" = 'intl'; then
6671 LIBINTL_PREFIX
="$basedir"
6673 additional_includedir
="$basedir/include"
6675 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
6676 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
6677 if test "$name" = 'intl'; then
6678 LIBINTL_PREFIX
="$basedir"
6680 additional_includedir
="$basedir/include"
6683 if test "X$additional_includedir" != "X"; then
6684 if test "X$additional_includedir" != "X/usr/include"; then
6686 if test "X$additional_includedir" = "X/usr/local/include"; then
6687 if test -n "$GCC"; then
6689 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
6693 if test -z "$haveit"; then
6694 for x
in $CPPFLAGS $INCINTL; do
6696 acl_save_prefix
="$prefix"
6697 prefix
="$acl_final_prefix"
6698 acl_save_exec_prefix
="$exec_prefix"
6699 exec_prefix
="$acl_final_exec_prefix"
6701 exec_prefix
="$acl_save_exec_prefix"
6702 prefix
="$acl_save_prefix"
6704 if test "X$x" = "X-I$additional_includedir"; then
6709 if test -z "$haveit"; then
6710 if test -d "$additional_includedir"; then
6711 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6717 if test -n "$found_la"; then
6718 save_libdir
="$libdir"
6720 */* |
*\\*) .
"$found_la" ;;
6721 *) .
"./$found_la" ;;
6723 libdir
="$save_libdir"
6724 for dep
in $dependency_libs; do
6727 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
6728 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
6729 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
6731 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
6732 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
6733 if test -n "$GCC"; then
6735 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
6739 if test -z "$haveit"; then
6741 for x
in $LDFLAGS $LIBINTL; do
6743 acl_save_prefix
="$prefix"
6744 prefix
="$acl_final_prefix"
6745 acl_save_exec_prefix
="$exec_prefix"
6746 exec_prefix
="$acl_final_exec_prefix"
6748 exec_prefix
="$acl_save_exec_prefix"
6749 prefix
="$acl_save_prefix"
6751 if test "X$x" = "X-L$additional_libdir"; then
6756 if test -z "$haveit"; then
6757 if test -d "$additional_libdir"; then
6758 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6762 for x
in $LDFLAGS $LTLIBINTL; do
6764 acl_save_prefix
="$prefix"
6765 prefix
="$acl_final_prefix"
6766 acl_save_exec_prefix
="$exec_prefix"
6767 exec_prefix
="$acl_final_exec_prefix"
6769 exec_prefix
="$acl_save_exec_prefix"
6770 prefix
="$acl_save_prefix"
6772 if test "X$x" = "X-L$additional_libdir"; then
6777 if test -z "$haveit"; then
6778 if test -d "$additional_libdir"; then
6779 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6786 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6787 if test "$enable_rpath" != no
; then
6789 for x
in $rpathdirs; do
6790 if test "X$x" = "X$dir"; then
6795 if test -z "$haveit"; then
6796 rpathdirs
="$rpathdirs $dir"
6799 for x
in $ltrpathdirs; do
6800 if test "X$x" = "X$dir"; then
6805 if test -z "$haveit"; then
6806 ltrpathdirs
="$ltrpathdirs $dir"
6811 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6814 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6817 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
6818 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6824 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
6825 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6831 if test "X$rpathdirs" != "X"; then
6832 if test -n "$acl_hardcode_libdir_separator"; then
6834 for found_dir
in $rpathdirs; do
6835 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
6837 acl_save_libdir
="$libdir"
6839 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
6840 libdir
="$acl_save_libdir"
6841 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
6843 for found_dir
in $rpathdirs; do
6844 acl_save_libdir
="$libdir"
6846 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
6847 libdir
="$acl_save_libdir"
6848 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
6852 if test "X$ltrpathdirs" != "X"; then
6853 for found_dir
in $ltrpathdirs; do
6854 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6864 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
6865 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
6866 $as_echo_n "(cached) " >&6
6868 gt_save_CPPFLAGS
="$CPPFLAGS"
6869 CPPFLAGS
="$CPPFLAGS $INCINTL"
6870 gt_save_LIBS
="$LIBS"
6871 LIBS
="$LIBS $LIBINTL"
6872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6873 /* end confdefs.h. */
6874 #include <libintl.h>
6875 $gt_revision_test_code
6876 extern int _nl_msg_cat_cntr;
6881 const char *_nl_expand_alias (const char *);
6885 bindtextdomain ("", "");
6886 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6891 if ac_fn_c_try_link
"$LINENO"; then :
6892 eval "$gt_func_gnugettext_libintl=yes"
6894 eval "$gt_func_gnugettext_libintl=no"
6896 rm -f core conftest.err conftest.
$ac_objext \
6897 conftest
$ac_exeext conftest.
$ac_ext
6898 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
6899 LIBS
="$LIBS $LIBICONV"
6900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6901 /* end confdefs.h. */
6902 #include <libintl.h>
6903 $gt_revision_test_code
6904 extern int _nl_msg_cat_cntr;
6909 const char *_nl_expand_alias (const char *);
6913 bindtextdomain ("", "");
6914 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6919 if ac_fn_c_try_link
"$LINENO"; then :
6920 LIBINTL
="$LIBINTL $LIBICONV"
6921 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
6922 eval "$gt_func_gnugettext_libintl=yes"
6925 rm -f core conftest.err conftest.
$ac_objext \
6926 conftest
$ac_exeext conftest.
$ac_ext
6928 CPPFLAGS
="$gt_save_CPPFLAGS"
6929 LIBS
="$gt_save_LIBS"
6931 eval ac_res
=\$
$gt_func_gnugettext_libintl
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6933 $as_echo "$ac_res" >&6; }
6936 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
6937 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
6938 && test "$PACKAGE" != gettext-runtime \
6939 && test "$PACKAGE" != gettext-tools
; }; then
6940 gt_use_preinstalled_gnugettext
=yes
6949 if test -n "$INTL_MACOSX_LIBS"; then
6950 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6951 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
6952 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
6953 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
6957 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6958 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
6960 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6968 $as_echo_n "checking whether to use NLS... " >&6; }
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6970 $as_echo "$USE_NLS" >&6; }
6971 if test "$USE_NLS" = "yes"; then
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6973 $as_echo_n "checking where the gettext function comes from... " >&6; }
6974 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6975 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6976 gt_source
="external libintl"
6981 gt_source
="included intl directory"
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6984 $as_echo "$gt_source" >&6; }
6987 if test "$USE_NLS" = "yes"; then
6989 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6990 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6992 $as_echo_n "checking how to link with libintl... " >&6; }
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6994 $as_echo "$LIBINTL" >&6; }
6996 for element
in $INCINTL; do
6998 for x
in $CPPFLAGS; do
7000 acl_save_prefix
="$prefix"
7001 prefix
="$acl_final_prefix"
7002 acl_save_exec_prefix
="$exec_prefix"
7003 exec_prefix
="$acl_final_exec_prefix"
7005 exec_prefix
="$acl_save_exec_prefix"
7006 prefix
="$acl_save_prefix"
7008 if test "X$x" = "X$element"; then
7013 if test -z "$haveit"; then
7014 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
7021 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
7024 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
7044 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7045 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7046 inttypes.h stdint.h unistd.h
7048 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7049 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7051 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7052 cat >>confdefs.h
<<_ACEOF
7053 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7061 for ac_header
in stdint.h stdlib.h
7063 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7064 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7065 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7066 cat >>confdefs.h
<<_ACEOF
7067 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7074 for ac_func
in strchr strrchr
7076 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7077 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7078 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7079 cat >>confdefs.h
<<_ACEOF
7080 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
7087 $as_echo_n "checking for working memcmp... " >&6; }
7088 if ${ac_cv_func_memcmp_working+:} false
; then :
7089 $as_echo_n "(cached) " >&6
7091 if test "$cross_compiling" = yes; then :
7092 ac_cv_func_memcmp_working
=no
7094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7095 /* end confdefs.h. */
7096 $ac_includes_default
7101 /* Some versions of memcmp are not 8-bit clean. */
7102 char c0 = '\100', c1 = '\200', c2 = '\201';
7103 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
7106 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
7107 or more and with at least one buffer not starting on a 4-byte boundary.
7108 William Lewis provided this test program. */
7113 for (i = 0; i < 4; i++)
7117 strcpy (a, "--------01111111");
7118 strcpy (b, "--------10000000");
7119 if (memcmp (a, b, 16) >= 0)
7129 if ac_fn_c_try_run
"$LINENO"; then :
7130 ac_cv_func_memcmp_working
=yes
7132 ac_cv_func_memcmp_working
=no
7134 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7135 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
7140 $as_echo "$ac_cv_func_memcmp_working" >&6; }
7141 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
7142 *" memcmp.$ac_objext "* ) ;;
7143 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
7148 for ac_header
in stdlib.h
7150 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
7151 if test "x$ac_cv_header_stdlib_h" = xyes
; then :
7152 cat >>confdefs.h
<<_ACEOF
7153 #define HAVE_STDLIB_H 1
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
7161 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
7162 if ${ac_cv_func_malloc_0_nonnull+:} false
; then :
7163 $as_echo_n "(cached) " >&6
7165 if test "$cross_compiling" = yes; then :
7166 ac_cv_func_malloc_0_nonnull
=no
7168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7169 /* end confdefs.h. */
7170 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
7171 # include <stdlib.h>
7179 return ! malloc (0);
7184 if ac_fn_c_try_run
"$LINENO"; then :
7185 ac_cv_func_malloc_0_nonnull
=yes
7187 ac_cv_func_malloc_0_nonnull
=no
7189 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7190 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
7195 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
7196 if test $ac_cv_func_malloc_0_nonnull = yes; then :
7198 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
7201 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
7203 case " $LIBOBJS " in
7204 *" malloc.$ac_objext "* ) ;;
7205 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
7210 $as_echo "#define malloc rpl_malloc" >>confdefs.h
7215 ac_fn_c_find_uintX_t
"$LINENO" "32" "ac_cv_c_uint32_t"
7216 case $ac_cv_c_uint32_t in #(
7220 $as_echo "#define _UINT32_T 1" >>confdefs.h
7223 cat >>confdefs.h
<<_ACEOF
7224 #define uint32_t $ac_cv_c_uint32_t
7231 # Check whether --with-gtk was given.
7232 if test "${with_gtk+set}" = set; then :
7233 withval
=$with_gtk; with_gtk
=$withval
7239 # Check whether --with-sdl was given.
7240 if test "${with_sdl+set}" = set; then :
7241 withval
=$with_sdl; with_sdl
=$withval
7247 if test x
"$with_gtk" = "xno" -a x
"$with_sdl" = "xno"; then
7248 as_fn_error $?
"You cannot disable both SDL and GTK. Rerun with --with-gtk or --with-sdl." "$LINENO" 5
7251 # Check whether --enable-glibtest was given.
7252 if test "${enable_glibtest+set}" = set; then :
7253 enableval
=$enable_glibtest;
7259 pkg_config_args
=glib-2.0
7260 for module
in . gthread
7264 pkg_config_args
="$pkg_config_args gmodule-2.0"
7267 pkg_config_args
="$pkg_config_args gmodule-no-export-2.0"
7270 pkg_config_args
="$pkg_config_args gobject-2.0"
7273 pkg_config_args
="$pkg_config_args gthread-2.0"
7276 pkg_config_args
="$pkg_config_args $module-2.0"
7288 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7289 if test -n "$ac_tool_prefix"; then
7290 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7291 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7293 $as_echo_n "checking for $ac_word... " >&6; }
7294 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
7295 $as_echo_n "(cached) " >&6
7299 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
7302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7306 test -z "$as_dir" && as_dir
=.
7307 for ac_exec_ext
in '' $ac_executable_extensions; do
7308 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7309 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7320 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
7321 if test -n "$PKG_CONFIG"; then
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7323 $as_echo "$PKG_CONFIG" >&6; }
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7326 $as_echo "no" >&6; }
7331 if test -z "$ac_cv_path_PKG_CONFIG"; then
7332 ac_pt_PKG_CONFIG
=$PKG_CONFIG
7333 # Extract the first word of "pkg-config", so it can be a program name with args.
7334 set dummy pkg-config
; ac_word
=$2
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7336 $as_echo_n "checking for $ac_word... " >&6; }
7337 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
7338 $as_echo_n "(cached) " >&6
7340 case $ac_pt_PKG_CONFIG in
7342 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
7345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7349 test -z "$as_dir" && as_dir
=.
7350 for ac_exec_ext
in '' $ac_executable_extensions; do
7351 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7352 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7363 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
7364 if test -n "$ac_pt_PKG_CONFIG"; then
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
7366 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7369 $as_echo "no" >&6; }
7372 if test "x$ac_pt_PKG_CONFIG" = x
; then
7375 case $cross_compiling:$ac_tool_warned in
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7378 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7379 ac_tool_warned
=yes ;;
7381 PKG_CONFIG
=$ac_pt_PKG_CONFIG
7384 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
7388 if test -n "$PKG_CONFIG"; then
7389 _pkg_min_version
=0.16
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
7391 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
7392 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7394 $as_echo "yes" >&6; }
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7397 $as_echo "no" >&6; }
7404 if test "x$PKG_CONFIG" = x
; then
7409 min_glib_version
=2.12.0
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
7411 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
7413 if test x
$PKG_CONFIG != xno
; then
7414 ## don't try to run the test against uninstalled libtool libs
7415 if $PKG_CONFIG --uninstalled $pkg_config_args; then
7416 echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
7420 if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
7427 if test x
"$no_glib" = x
; then
7428 GLIB_GENMARSHAL
=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
7429 GOBJECT_QUERY
=`$PKG_CONFIG --variable=gobject_query glib-2.0`
7430 GLIB_MKENUMS
=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
7431 GLIB_COMPILE_RESOURCES
=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
7433 GLIB_CFLAGS
=`$PKG_CONFIG --cflags $pkg_config_args`
7434 GLIB_LIBS
=`$PKG_CONFIG --libs $pkg_config_args`
7435 glib_config_major_version
=`$PKG_CONFIG --modversion glib-2.0 | \
7436 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7437 glib_config_minor_version
=`$PKG_CONFIG --modversion glib-2.0 | \
7438 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7439 glib_config_micro_version
=`$PKG_CONFIG --modversion glib-2.0 | \
7440 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7441 if test "x$enable_glibtest" = "xyes" ; then
7442 ac_save_CFLAGS
="$CFLAGS"
7443 ac_save_LIBS
="$LIBS"
7444 CFLAGS
="$CFLAGS $GLIB_CFLAGS"
7445 LIBS
="$GLIB_LIBS $LIBS"
7447 if test "$cross_compiling" = yes; then :
7448 echo $ac_n "cross compiling; assumed OK... $ac_c"
7450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7451 /* end confdefs.h. */
7460 unsigned int major, minor, micro;
7463 fclose (fopen ("conf.glibtest", "w"));
7465 /* HP/UX 9 (%@#!) writes to sscanf strings */
7466 tmp_version = g_strdup("$min_glib_version");
7467 if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, µ) != 3) {
7468 printf("%s, bad version string\n", "$min_glib_version");
7472 if ((glib_major_version != $glib_config_major_version) ||
7473 (glib_minor_version != $glib_config_minor_version) ||
7474 (glib_micro_version != $glib_config_micro_version))
7476 printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
7477 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
7478 glib_major_version, glib_minor_version, glib_micro_version);
7479 printf ("*** was found! If pkg-config was correct, then it is best\n");
7480 printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
7481 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
7482 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
7483 printf("*** required on your system.\n");
7484 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
7485 printf("*** to point to the correct configuration files\n");
7487 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
7488 (glib_minor_version != GLIB_MINOR_VERSION) ||
7489 (glib_micro_version != GLIB_MICRO_VERSION))
7491 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
7492 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
7493 printf("*** library (version %d.%d.%d)\n",
7494 glib_major_version, glib_minor_version, glib_micro_version);
7498 if ((glib_major_version > major) ||
7499 ((glib_major_version == major) && (glib_minor_version > minor)) ||
7500 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
7506 printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
7507 glib_major_version, glib_minor_version, glib_micro_version);
7508 printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
7509 major, minor, micro);
7510 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
7512 printf("*** If you have already installed a sufficiently new version, this error\n");
7513 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
7514 printf("*** being found. The easiest way to fix this is to remove the old version\n");
7515 printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
7516 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
7517 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
7518 printf("*** so that the correct libraries are found at run-time))\n");
7525 if ac_fn_c_try_run
"$LINENO"; then :
7530 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7531 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7534 CFLAGS
="$ac_save_CFLAGS"
7535 LIBS
="$ac_save_LIBS"
7538 if test "x$no_glib" = x
; then
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
7540 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7544 $as_echo "no" >&6; }
7545 if test "$PKG_CONFIG" = "no" ; then
7546 echo "*** A new enough version of pkg-config was not found."
7547 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
7549 if test -f conf.glibtest
; then
7552 echo "*** Could not run GLIB test program, checking why..."
7553 ac_save_CFLAGS
="$CFLAGS"
7554 ac_save_LIBS
="$LIBS"
7555 CFLAGS
="$CFLAGS $GLIB_CFLAGS"
7556 LIBS
="$LIBS $GLIB_LIBS"
7557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7558 /* end confdefs.h. */
7566 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
7571 if ac_fn_c_try_link
"$LINENO"; then :
7572 echo "*** The test program compiled, but did not run. This usually means"
7573 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
7574 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
7575 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
7576 echo "*** to the installed location Also, make sure you have run ldconfig if that"
7577 echo "*** is required on your system"
7579 echo "*** If you have an old version installed, it is best to remove it, although"
7580 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
7582 echo "*** The test program failed to compile or link. See the file config.log for the"
7583 echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
7585 rm -f core conftest.err conftest.
$ac_objext \
7586 conftest
$ac_exeext conftest.
$ac_ext
7587 CFLAGS
="$ac_save_CFLAGS"
7588 LIBS
="$ac_save_LIBS"
7596 GLIB_COMPILE_RESOURCES
=""
7597 as_fn_error $?
"Test for GLIB failed. See the file 'INSTALL' for help." "$LINENO" 5
7608 if test x
"$with_gtk" = "xyes"; then
7616 if test x
"$with_gtk" = "xyes" ; then
7618 $as_echo "#define HAVE_GTK /**/" >>confdefs.h
7620 # Check whether --enable-gtktest was given.
7621 if test "${enable_gtktest+set}" = set; then :
7622 enableval
=$enable_gtktest;
7628 pkg_config_args
=gtk
+-2.0
7633 pkg_config_args
="$pkg_config_args gthread-2.0"
7640 # Extract the first word of "pkg-config", so it can be a program name with args.
7641 set dummy pkg-config
; ac_word
=$2
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7643 $as_echo_n "checking for $ac_word... " >&6; }
7644 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
7645 $as_echo_n "(cached) " >&6
7649 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
7652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7656 test -z "$as_dir" && as_dir
=.
7657 for ac_exec_ext
in '' $ac_executable_extensions; do
7658 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7659 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7667 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
7671 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
7672 if test -n "$PKG_CONFIG"; then
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7674 $as_echo "$PKG_CONFIG" >&6; }
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7677 $as_echo "no" >&6; }
7682 if test x
$PKG_CONFIG != xno
; then
7683 if pkg-config
--atleast-pkgconfig-version 0.7 ; then
7686 echo "*** pkg-config too old; version 0.7 or better required."
7694 min_gtk_version
=2.12.0
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
7696 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
7698 if test x
$PKG_CONFIG != xno
; then
7699 ## don't try to run the test against uninstalled libtool libs
7700 if $PKG_CONFIG --uninstalled $pkg_config_args; then
7701 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
7705 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
7712 if test x
"$no_gtk" = x
; then
7713 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
7714 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
7715 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
7716 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7717 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
7718 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7719 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
7720 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7721 if test "x$enable_gtktest" = "xyes" ; then
7722 ac_save_CFLAGS
="$CFLAGS"
7723 ac_save_LIBS
="$LIBS"
7724 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7725 LIBS
="$GTK_LIBS $LIBS"
7727 if test "$cross_compiling" = yes; then :
7728 echo $ac_n "cross compiling; assumed OK... $ac_c"
7730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7731 /* end confdefs.h. */
7733 #include <gtk/gtk.h>
7740 int major, minor, micro;
7743 fclose (fopen ("conf.gtktest", "w"));
7745 /* HP/UX 9 (%@#!) writes to sscanf strings */
7746 tmp_version = g_strdup("$min_gtk_version");
7747 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
7748 printf("%s, bad version string\n", "$min_gtk_version");
7752 if ((gtk_major_version != $gtk_config_major_version) ||
7753 (gtk_minor_version != $gtk_config_minor_version) ||
7754 (gtk_micro_version != $gtk_config_micro_version))
7756 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
7757 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
7758 gtk_major_version, gtk_minor_version, gtk_micro_version);
7759 printf ("*** was found! If pkg-config was correct, then it is best\n");
7760 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
7761 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
7762 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
7763 printf("*** required on your system.\n");
7764 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
7765 printf("*** to point to the correct configuration files\n");
7767 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
7768 (gtk_minor_version != GTK_MINOR_VERSION) ||
7769 (gtk_micro_version != GTK_MICRO_VERSION))
7771 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
7772 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
7773 printf("*** library (version %d.%d.%d)\n",
7774 gtk_major_version, gtk_minor_version, gtk_micro_version);
7778 if ((gtk_major_version > major) ||
7779 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7780 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
7786 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
7787 gtk_major_version, gtk_minor_version, gtk_micro_version);
7788 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
7789 major, minor, micro);
7790 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
7792 printf("*** If you have already installed a sufficiently new version, this error\n");
7793 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
7794 printf("*** being found. The easiest way to fix this is to remove the old version\n");
7795 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
7796 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
7797 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
7798 printf("*** so that the correct libraries are found at run-time))\n");
7805 if ac_fn_c_try_run
"$LINENO"; then :
7810 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7811 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7814 CFLAGS
="$ac_save_CFLAGS"
7815 LIBS
="$ac_save_LIBS"
7818 if test "x$no_gtk" = x
; then
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
7820 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7824 $as_echo "no" >&6; }
7825 if test "$PKG_CONFIG" = "no" ; then
7826 echo "*** A new enough version of pkg-config was not found."
7827 echo "*** See http://pkgconfig.sourceforge.net"
7829 if test -f conf.gtktest
; then
7832 echo "*** Could not run GTK+ test program, checking why..."
7833 ac_save_CFLAGS
="$CFLAGS"
7834 ac_save_LIBS
="$LIBS"
7835 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7836 LIBS
="$LIBS $GTK_LIBS"
7837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7838 /* end confdefs.h. */
7840 #include <gtk/gtk.h>
7846 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
7851 if ac_fn_c_try_link
"$LINENO"; then :
7852 echo "*** The test program compiled, but did not run. This usually means"
7853 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
7854 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
7855 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
7856 echo "*** to the installed location Also, make sure you have run ldconfig if that"
7857 echo "*** is required on your system"
7859 echo "*** If you have an old version installed, it is best to remove it, although"
7860 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
7862 echo "*** The test program failed to compile or link. See the file config.log for the"
7863 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
7865 rm -f core conftest.err conftest.
$ac_objext \
7866 conftest
$ac_exeext conftest.
$ac_ext
7867 CFLAGS
="$ac_save_CFLAGS"
7868 LIBS
="$ac_save_LIBS"
7873 as_fn_error $?
"Test for GTK+ failed. See the file 'INSTALL' for help." "$LINENO" 5
7881 if test x
"$with_sdl" = "xyes"; then
7889 if test x
"$with_sdl" = "xyes" ; then
7891 $as_echo "#define HAVE_SDL /**/" >>confdefs.h
7894 # Check whether --with-sdl-prefix was given.
7895 if test "${with_sdl_prefix+set}" = set; then :
7896 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
7902 # Check whether --with-sdl-exec-prefix was given.
7903 if test "${with_sdl_exec_prefix+set}" = set; then :
7904 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
7909 # Check whether --enable-sdltest was given.
7910 if test "${enable_sdltest+set}" = set; then :
7911 enableval
=$enable_sdltest;
7917 if test x
$sdl_exec_prefix != x
; then
7918 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
7919 if test x
${SDL_CONFIG+set} != xset
; then
7920 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
7923 if test x
$sdl_prefix != x
; then
7924 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
7925 if test x
${SDL_CONFIG+set} != xset
; then
7926 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
7930 as_save_PATH
="$PATH"
7931 if test "x$prefix" != xNONE
; then
7932 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
7934 # Extract the first word of "sdl-config", so it can be a program name with args.
7935 set dummy sdl-config
; ac_word
=$2
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7937 $as_echo_n "checking for $ac_word... " >&6; }
7938 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
7939 $as_echo_n "(cached) " >&6
7943 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
7946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7950 test -z "$as_dir" && as_dir
=.
7951 for ac_exec_ext
in '' $ac_executable_extensions; do
7952 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7953 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7961 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
7965 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
7966 if test -n "$SDL_CONFIG"; then
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
7968 $as_echo "$SDL_CONFIG" >&6; }
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7971 $as_echo "no" >&6; }
7975 PATH
="$as_save_PATH"
7976 min_sdl_version
=1.2.0
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
7978 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
7980 if test "$SDL_CONFIG" = "no" ; then
7983 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
7984 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
7986 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
7987 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7988 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
7989 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7990 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
7991 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7992 if test "x$enable_sdltest" = "xyes" ; then
7993 ac_save_CFLAGS
="$CFLAGS"
7994 ac_save_CXXFLAGS
="$CXXFLAGS"
7995 ac_save_LIBS
="$LIBS"
7996 CFLAGS
="$CFLAGS $SDL_CFLAGS"
7997 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
7998 LIBS
="$LIBS $SDL_LIBS"
8000 if test "$cross_compiling" = yes; then :
8001 echo $ac_n "cross compiling; assumed OK... $ac_c"
8003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8004 /* end confdefs.h. */
8012 my_strdup (char *str)
8018 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
8019 strcpy (new_str, str);
8027 int main (int argc, char *argv[])
8029 int major, minor, micro;
8032 /* This hangs on some systems (?)
8033 system ("touch conf.sdltest");
8035 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
8037 /* HP/UX 9 (%@#!) writes to sscanf strings */
8038 tmp_version = my_strdup("$min_sdl_version");
8039 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
8040 printf("%s, bad version string\n", "$min_sdl_version");
8044 if (($sdl_major_version > major) ||
8045 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
8046 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
8052 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
8053 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
8054 printf("*** best to upgrade to the required version.\n");
8055 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
8056 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
8057 printf("*** config.cache before re-running configure\n");
8064 if ac_fn_c_try_run
"$LINENO"; then :
8069 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8070 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8073 CFLAGS
="$ac_save_CFLAGS"
8074 CXXFLAGS
="$ac_save_CXXFLAGS"
8075 LIBS
="$ac_save_LIBS"
8078 if test "x$no_sdl" = x
; then
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8080 $as_echo "yes" >&6; }
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8084 $as_echo "no" >&6; }
8085 if test "$SDL_CONFIG" = "no" ; then
8086 echo "*** The sdl-config script installed by SDL could not be found"
8087 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
8088 echo "*** your path, or set the SDL_CONFIG environment variable to the"
8089 echo "*** full path to sdl-config."
8091 if test -f conf.sdltest
; then
8094 echo "*** Could not run SDL test program, checking why..."
8095 CFLAGS
="$CFLAGS $SDL_CFLAGS"
8096 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
8097 LIBS
="$LIBS $SDL_LIBS"
8098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8099 /* end confdefs.h. */
8104 int main(int argc, char *argv[])
8107 #define main K_and_R_C_main
8117 if ac_fn_c_try_link
"$LINENO"; then :
8118 echo "*** The test program compiled, but did not run. This usually means"
8119 echo "*** that the run-time linker is not finding SDL or finding the wrong"
8120 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
8121 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
8122 echo "*** to the installed location Also, make sure you have run ldconfig if that"
8123 echo "*** is required on your system"
8125 echo "*** If you have an old version installed, it is best to remove it, although"
8126 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
8128 echo "*** The test program failed to compile or link. See the file config.log for the"
8129 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
8130 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
8131 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
8133 rm -f core conftest.err conftest.
$ac_objext \
8134 conftest
$ac_exeext conftest.
$ac_ext
8135 CFLAGS
="$ac_save_CFLAGS"
8136 CXXFLAGS
="$ac_save_CXXFLAGS"
8137 LIBS
="$ac_save_LIBS"
8142 as_fn_error $?
"Test for SDL failed. See the file 'INSTALL' for help." "$LINENO" 5
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBPNG" >&5
8153 $as_echo_n "checking for LIBPNG... " >&6; }
8155 if test -n "$LIBPNG_CFLAGS"; then
8156 pkg_cv_LIBPNG_CFLAGS
="$LIBPNG_CFLAGS"
8157 elif test -n "$PKG_CONFIG"; then
8158 if test -n "$PKG_CONFIG" && \
8159 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng\""; } >&5
8160 ($PKG_CONFIG --exists --print-errors "libpng") 2>&5
8162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8163 test $ac_status = 0; }; then
8164 pkg_cv_LIBPNG_CFLAGS
=`$PKG_CONFIG --cflags "libpng" 2>/dev/null`
8165 test "x$?" != "x0" && pkg_failed
=yes
8172 if test -n "$LIBPNG_LIBS"; then
8173 pkg_cv_LIBPNG_LIBS
="$LIBPNG_LIBS"
8174 elif test -n "$PKG_CONFIG"; then
8175 if test -n "$PKG_CONFIG" && \
8176 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng\""; } >&5
8177 ($PKG_CONFIG --exists --print-errors "libpng") 2>&5
8179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8180 test $ac_status = 0; }; then
8181 pkg_cv_LIBPNG_LIBS
=`$PKG_CONFIG --libs "libpng" 2>/dev/null`
8182 test "x$?" != "x0" && pkg_failed
=yes
8192 if test $pkg_failed = yes; then
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8194 $as_echo "no" >&6; }
8196 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8197 _pkg_short_errors_supported
=yes
8199 _pkg_short_errors_supported
=no
8201 if test $_pkg_short_errors_supported = yes; then
8202 LIBPNG_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpng" 2>&1`
8204 LIBPNG_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libpng" 2>&1`
8206 # Put the nasty error message in config.log where it belongs
8207 echo "$LIBPNG_PKG_ERRORS" >&5
8209 as_fn_error $?
"Package requirements (libpng) were not met:
8213 Consider adjusting the PKG_CONFIG_PATH environment variable if you
8214 installed software in a non-standard prefix.
8216 Alternatively, you may set the environment variables LIBPNG_CFLAGS
8217 and LIBPNG_LIBS to avoid the need to call pkg-config.
8218 See the pkg-config man page for more details." "$LINENO" 5
8219 elif test $pkg_failed = untried
; then
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8221 $as_echo "no" >&6; }
8222 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8223 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8224 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
8225 is in your PATH or set the PKG_CONFIG environment variable to the full
8228 Alternatively, you may set the environment variables LIBPNG_CFLAGS
8229 and LIBPNG_LIBS to avoid the need to call pkg-config.
8230 See the pkg-config man page for more details.
8232 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
8233 See \`config.log' for more details" "$LINENO" 5; }
8235 LIBPNG_CFLAGS
=$pkg_cv_LIBPNG_CFLAGS
8236 LIBPNG_LIBS
=$pkg_cv_LIBPNG_LIBS
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8238 $as_echo "yes" >&6; }
8240 $as_echo "#define HAVE_LIBPNG 1" >>confdefs.h
8245 ac_config_files
="$ac_config_files Makefile po/Makefile.in include/Makefile src/Makefile caves/Makefile docs/Makefile sound/Makefile music/Makefile"
8247 cat >confcache
<<\_ACEOF
8248 # This file is a shell script that caches the results of configure
8249 # tests run on this system so they can be shared between configure
8250 # scripts and configure runs, see configure's option --config-cache.
8251 # It is not useful on other systems. If it contains results you don't
8252 # want to keep, you may remove or edit it.
8254 # config.status only pays attention to the cache file if you give it
8255 # the --recheck option to rerun configure.
8257 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8258 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8263 # The following way of writing the cache mishandles newlines in values,
8264 # but we know of no workaround that is simple, portable, and efficient.
8265 # So, we kill variables containing newlines.
8266 # Ultrix sh set writes to stderr and can't be redirected directly,
8267 # and sets the high bit in the cache file unless we assign to the vars.
8269 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8270 eval ac_val
=\$
$ac_var
8274 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8275 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8278 _ | IFS | as_nl
) ;; #(
8279 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
8280 *) { eval $ac_var=; unset $ac_var;} ;;
8286 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8287 *${as_nl}ac_space
=\
*)
8288 # `set' does not quote correctly, so add quotes: double-quote
8289 # substitution turns \\\\ into \\, and sed turns \\ into \.
8292 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8295 # `set' quotes correctly as required by POSIX, so do not add quotes.
8296 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8305 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8307 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8309 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
8310 if test -w "$cache_file"; then
8311 if test "x$cache_file" != "x/dev/null"; then
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8313 $as_echo "$as_me: updating cache $cache_file" >&6;}
8314 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
8315 cat confcache
>"$cache_file"
8317 case $cache_file in #(
8319 mv -f confcache
"$cache_file"$$
&&
8320 mv -f "$cache_file"$$
"$cache_file" ;; #(
8322 mv -f confcache
"$cache_file" ;;
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8328 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8333 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8334 # Let make expand exec_prefix.
8335 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8337 DEFS
=-DHAVE_CONFIG_H
8342 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8343 # 1. Remove the extension, and $U if already installed.
8344 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
8345 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
8346 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8347 # will be set to the directory where LIBOBJS objects are built.
8348 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8349 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
8353 LTLIBOBJS
=$ac_ltlibobjs
8356 if test -n "$EXEEXT"; then
8358 am__EXEEXT_FALSE
='#'
8364 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8365 as_fn_error $?
"conditional \"AMDEP\" was never defined.
8366 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8368 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8369 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
8370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8372 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
8373 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
8374 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8376 if test -z "${GTK_TRUE}" && test -z "${GTK_FALSE}"; then
8377 as_fn_error $?
"conditional \"GTK\" was never defined.
8378 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8380 if test -z "${SDL_TRUE}" && test -z "${SDL_FALSE}"; then
8381 as_fn_error $?
"conditional \"SDL\" was never defined.
8382 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8385 : "${CONFIG_STATUS=./config.status}"
8387 ac_clean_files_save
=$ac_clean_files
8388 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8390 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8392 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8394 # Generated by $as_me.
8395 # Run this file to recreate the current configuration.
8396 # Compiler output produced by configure, useful for debugging
8397 # configure, is in config.log if it exists.
8403 SHELL=\${CONFIG_SHELL-$SHELL}
8406 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
8407 ## -------------------- ##
8408 ## M4sh Initialization. ##
8409 ## -------------------- ##
8411 # Be more Bourne compatible
8412 DUALCASE
=1; export DUALCASE
# for MKS sh
8413 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
8416 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8417 # is contrary to our usage. Disable this feature.
8418 alias -g '${1+"$@"}'='"$@"'
8419 setopt NO_GLOB_SUBST
8421 case `(set -o) 2>/dev/null` in #(
8433 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8434 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8435 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8436 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8437 # Prefer a ksh shell builtin over an external printf program on Solaris,
8438 # but without wasting forks for bash or zsh.
8439 if test -z "$BASH_VERSION$ZSH_VERSION" \
8440 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8441 as_echo='print
-r --'
8442 as_echo_n='print
-rn --'
8443 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8444 as_echo='printf %s
\n'
8445 as_echo_n='printf %s
'
8447 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8448 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
8449 as_echo_n='/usr
/ucb
/echo -n'
8451 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8452 as_echo_n_body='eval
8456 expr "X$arg" : "X\\(.*\\)$as_nl";
8457 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8459 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
8461 export as_echo_n_body
8462 as_echo_n='sh
-c $as_echo_n_body as_echo
'
8465 as_echo='sh
-c $as_echo_body as_echo
'
8468 # The user is always right.
8469 if test "${PATH_SEPARATOR+set}" != set; then
8471 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8472 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8479 # We need space, tab and new line, in precisely that order. Quoting is
8480 # there to prevent editors from complaining about space-tab.
8481 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8482 # splitting by setting IFS to empty value.)
8485 # Find who we are. Look in the path if we contain no directory separator.
8488 *[\\/]* ) as_myself=$0 ;;
8489 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8493 test -z "$as_dir" && as_dir=.
8494 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8500 # We did not find ourselves, most probably we were run as `sh COMMAND'
8501 # in which case we are not to be found in the path.
8502 if test "x$as_myself" = x
; then
8505 if test ! -f "$as_myself"; then
8506 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8510 # Unset variables that we do not need and which cause bugs (e.g. in
8511 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8512 # suppresses any "Segmentation fault" message there. '((' could
8513 # trigger a bug in pdksh 5.2.14.
8514 for as_var
in BASH_ENV ENV MAIL MAILPATH
8515 do eval test x\
${$as_var+set} = xset \
8516 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
8529 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
8532 # as_fn_error STATUS ERROR [LINENO LOG_FD]
8533 # ----------------------------------------
8534 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8535 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8536 # script with STATUS, using 1 if that was 0.
8539 as_status
=$1; test $as_status -eq 0 && as_status
=1
8541 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
8542 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8544 $as_echo "$as_me: error: $2" >&2
8545 as_fn_exit
$as_status
8549 # as_fn_set_status STATUS
8550 # -----------------------
8551 # Set $? to STATUS, without forking.
8555 } # as_fn_set_status
8559 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8569 # Portably unset VAR.
8572 { eval $1=; unset $1;}
8574 as_unset
=as_fn_unset
8575 # as_fn_append VAR VALUE
8576 # ----------------------
8577 # Append the text in VALUE to the end of the definition contained in VAR. Take
8578 # advantage of any shell optimizations that allow amortized linear growth over
8579 # repeated appends, instead of the typical quadratic growth present in naive
8581 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
8582 eval 'as_fn_append ()
8593 # as_fn_arith ARG...
8594 # ------------------
8595 # Perform arithmetic evaluation on the ARGs, and store the result in the
8596 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8597 # must be portable across $(()) and expr.
8598 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
8599 eval 'as_fn_arith ()
8606 as_val
=`expr "$@" || test $? -eq 1`
8611 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8612 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8618 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8619 as_basename
=basename
8624 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
8630 as_me
=`$as_basename -- "$0" ||
8631 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8632 X"$0" : 'X\(//\)$' \| \
8633 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8635 sed '/^.*\/\([^/][^/]*\)\/*$/{
8649 # Avoid depending upon Character Ranges.
8650 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8651 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8652 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8653 as_cr_digits
='0123456789'
8654 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8656 ECHO_C
= ECHO_N
= ECHO_T
=
8657 case `echo -n x` in #(((((
8659 case `echo 'xy\c'` in
8660 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
8662 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
8669 rm -f conf$$ conf$$.exe conf$$.
file
8670 if test -d conf$$.dir
; then
8671 rm -f conf$$.dir
/conf$$.
file
8674 mkdir conf$$.dir
2>/dev
/null
8676 if (echo >conf$$.
file) 2>/dev
/null
; then
8677 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8679 # ... but there are two gotchas:
8680 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8681 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8682 # In both cases, we have to default to `cp -pR'.
8683 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
8685 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8693 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
8694 rmdir conf$$.dir
2>/dev
/null
8699 # Create "$as_dir" as a directory, including parents if necessary.
8704 -*) as_dir
=.
/$as_dir;;
8706 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
8710 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8711 *) as_qdir
=$as_dir;;
8713 as_dirs
="'$as_qdir' $as_dirs"
8714 as_dir
=`$as_dirname -- "$as_dir" ||
8715 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8716 X"$as_dir" : 'X\(//\)[^/]' \| \
8717 X"$as_dir" : 'X\(//\)$' \| \
8718 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8719 $as_echo X"$as_dir" |
8720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8737 test -d "$as_dir" && break
8739 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8740 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
8744 if mkdir
-p .
2>/dev
/null
; then
8745 as_mkdir_p
='mkdir -p "$as_dir"'
8747 test -d .
/-p && rmdir .
/-p
8752 # as_fn_executable_p FILE
8753 # -----------------------
8754 # Test if FILE is an executable regular file.
8755 as_fn_executable_p
()
8757 test -f "$1" && test -x "$1"
8758 } # as_fn_executable_p
8760 as_executable_p
=as_fn_executable_p
8762 # Sed expression to map a string onto a valid CPP name.
8763 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8765 # Sed expression to map a string onto a valid variable name.
8766 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8770 ## ----------------------------------- ##
8771 ## Main body of $CONFIG_STATUS script. ##
8772 ## ----------------------------------- ##
8774 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
8776 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8777 # Save the log message, to keep $0 and so on meaningful, and to
8778 # report actual input values of CONFIG_FILES etc. instead of their
8779 # values after options handling.
8781 This file was extended by GDash $as_me 20130313unstable, which was
8782 generated by GNU Autoconf 2.69. Invocation command line was
8784 CONFIG_FILES = $CONFIG_FILES
8785 CONFIG_HEADERS = $CONFIG_HEADERS
8786 CONFIG_LINKS = $CONFIG_LINKS
8787 CONFIG_COMMANDS = $CONFIG_COMMANDS
8790 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8795 case $ac_config_files in *"
8796 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
8799 case $ac_config_headers in *"
8800 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
8804 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8805 # Files that config.status was made for.
8806 config_files="$ac_config_files"
8807 config_headers="$ac_config_headers"
8808 config_commands="$ac_config_commands"
8812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8814 \`$as_me' instantiates files and other configuration actions
8815 from templates according to the current configuration. Unless the files
8816 and actions are specified as TAGs, all are instantiated by default.
8818 Usage: $0 [OPTION]... [TAG]...
8820 -h, --help print this help, then exit
8821 -V, --version print version number and configuration settings, then exit
8822 --config print configuration, then exit
8823 -q, --quiet, --silent
8824 do not print progress messages
8825 -d, --debug don't remove temporary files
8826 --recheck update $as_me by reconfiguring in the same conditions
8827 --file=FILE[:TEMPLATE]
8828 instantiate the configuration file FILE
8829 --header=FILE[:TEMPLATE]
8830 instantiate the configuration header FILE
8832 Configuration files:
8835 Configuration headers:
8838 Configuration commands:
8841 Report bugs to <http://code.google.com/p/gdash/>."
8844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8845 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8847 GDash config.status 20130313unstable
8848 configured by $0, generated by GNU Autoconf 2.69,
8849 with options \\"\$ac_cs_config\\"
8851 Copyright (C) 2012 Free Software Foundation, Inc.
8852 This config.status script is free software; the Free Software Foundation
8853 gives unlimited permission to copy, distribute and modify it."
8860 test -n "\$AWK" || AWK=awk
8863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8864 # The default lists apply if the user does not specify any file.
8870 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8871 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
8875 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8887 # Handling of the options.
8888 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8890 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
8891 $as_echo "$ac_cs_version"; exit ;;
8892 --config |
--confi |
--conf |
--con |
--co |
--c )
8893 $as_echo "$ac_cs_config"; exit ;;
8894 --debug |
--debu |
--deb |
--de |
--d |
-d )
8896 --file |
--fil |
--fi |
--f )
8899 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8900 '') as_fn_error $?
"missing file argument" ;;
8902 as_fn_append CONFIG_FILES
" '$ac_optarg'"
8903 ac_need_defaults
=false
;;
8904 --header |
--heade |
--head |
--hea )
8907 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8909 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
8910 ac_need_defaults
=false
;;
8912 # Conflict between --help and --header
8913 as_fn_error $?
"ambiguous option: \`$1'
8914 Try \`$0 --help' for more information.";;
8915 --help |
--hel |
-h )
8916 $as_echo "$ac_cs_usage"; exit ;;
8917 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8918 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8922 -*) as_fn_error $?
"unrecognized option: \`$1'
8923 Try \`$0 --help' for more information." ;;
8925 *) as_fn_append ac_config_targets
" $1"
8926 ac_need_defaults
=false
;;
8932 ac_configure_extra_args
=
8934 if $ac_cs_silent; then
8936 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8940 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8941 if \$ac_cs_recheck; then
8942 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8944 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8945 CONFIG_SHELL='$SHELL'
8951 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8955 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8956 ## Running $as_me. ##
8962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8966 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8967 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
8968 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
8969 # from automake < 1.5.
8970 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
8971 # Capture the value of LINGUAS because we need it to compute CATALOGS.
8972 LINGUAS="${LINGUAS-%UNSET%}"
8977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8979 # Handling of arguments.
8980 for ac_config_target
in $ac_config_targets
8982 case $ac_config_target in
8983 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
8984 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
8985 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
8986 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8987 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
8988 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
8989 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
8990 "caves/Makefile") CONFIG_FILES
="$CONFIG_FILES caves/Makefile" ;;
8991 "docs/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/Makefile" ;;
8992 "sound/Makefile") CONFIG_FILES
="$CONFIG_FILES sound/Makefile" ;;
8993 "music/Makefile") CONFIG_FILES
="$CONFIG_FILES music/Makefile" ;;
8995 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9000 # If the user did not use the arguments to specify the items to instantiate,
9001 # then the envvar interface is used. Set only those that are not.
9002 # We use the long form for the default assignment because of an extremely
9003 # bizarre bug on SunOS 4.1.3.
9004 if $ac_need_defaults; then
9005 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9006 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9007 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9010 # Have a temporary directory for convenience. Make it in the build tree
9011 # simply because there is no reason against having it here, and in addition,
9012 # creating and moving files from /tmp can sometimes cause problems.
9013 # Hook for its removal unless debugging.
9014 # Note that there is a small window in which the directory will not be cleaned:
9015 # after its creation but before its name has been assigned to `$tmp'.
9019 trap 'exit_status=$?
9021 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9023 trap 'as_fn_exit 1' 1 2 13 15
9025 # Create a (secure) tmp directory for tmp files.
9028 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9032 tmp
=.
/conf$$
-$RANDOM
9033 (umask 077 && mkdir
"$tmp")
9034 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
9037 # Set up the scripts for CONFIG_FILES section.
9038 # No need to generate them if there are no CONFIG_FILES.
9039 # This happens for instance with `./config.status config.h'.
9040 if test -n "$CONFIG_FILES"; then
9043 ac_cr
=`echo X | tr X '\015'`
9044 # On cygwin, bash can eat \r inside `` if the user requested igncr.
9045 # But we know of no other shell where ac_cr would be empty at this
9046 # point, so we can use a bashism as a fallback.
9047 if test "x$ac_cr" = x
; then
9048 eval ac_cr
=\$
\'\\r
\'
9050 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9051 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9057 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9062 echo "cat >conf$$subs.awk <<_ACEOF" &&
9063 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9066 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
9067 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
9069 for ac_last_try in false false false false false :; do
9070 . ./conf$$subs.sh ||
9071 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
9073 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
9074 if test $ac_delim_n = $ac_delim_num; then
9076 elif $ac_last_try; then
9077 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
9079 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9084 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9085 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
9089 s/^/S["/; s
/!.
*/"]=/
9099 s/\(.\{148\}\)..*/\1/
9101 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
9106 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
9113 s/\(.\{148\}\)..*/\1/
9115 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
9119 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
9124 ' <conf$$subs.awk | sed '
9129 ' >>$CONFIG_STATUS || ac_write_fail=1
9130 rm -f conf$$subs.awk
9131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9133 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
9134 for (key in S) S_is_set[key] = 1
9140 nfields = split(line, field, "@
")
9142 len = length(field[1])
9143 for (i = 2; i < nfields; i++) {
9145 keylen = length(key)
9146 if (S_is_set[key]) {
9148 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9149 len += length(value) + length(field[++i])
9160 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9161 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9162 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
9165 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
9166 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
9169 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9170 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
9171 # trailing colons and then remove the whole line if VPATH becomes empty
9172 # (actually we leave an empty line to preserve line numbers).
9173 if test "x
$srcdir" = x.; then
9174 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
9192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9193 fi # test -n "$CONFIG_FILES"
9195 # Set up the scripts for CONFIG_HEADERS section.
9196 # No need to generate them if there are no CONFIG_HEADERS.
9197 # This happens for instance with `./config.status Makefile'.
9198 if test -n "$CONFIG_HEADERS"; then
9199 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
9203 # Transform confdefs.h into an awk script `defines.awk', embedded as
9204 # here-document in config.status, that substitutes the proper values into
9205 # config.h.in to produce config.h.
9207 # Create a delimiter string that does not exist in confdefs.h, to ease
9208 # handling of long lines.
9210 for ac_last_try in false false :; do
9211 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
9212 if test -z "$ac_tt"; then
9214 elif $ac_last_try; then
9215 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
9217 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9221 # For the awk script, D is an array of macro values keyed by name,
9222 # likewise P contains macro parameters if any. Preserve backslash
9223 # newline sequences.
9225 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9227 s/.\{148\}/&'"$ac_delim"'/g
9230 s/^[ ]*#[ ]*define[ ][ ]*/ /
9237 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
9239 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
9243 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
9244 D["\
1"]=" \
3\\\\\\n
"\\/p
9246 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
9251 s/.\{148\}/&'"$ac_delim"'/g
9256 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
9259 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
9261 ' <confdefs.h | sed '
9262 s/'"$ac_delim"'/"\\\
9263 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9265 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9266 for (key in D) D_is_set[key] = 1
9269 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9271 split(line, arg, " ")
9272 if (arg[1] == "#") {
9276 defundef
= substr
(arg
[1], 2)
9279 split(mac1
, mac2
, "(") #)
9281 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
9282 if (D_is_set
[macro
]) {
9283 # Preserve the white space surrounding the "#".
9284 print prefix
"define", macro P
[macro
] D
[macro
]
9287 # Replace #undef with comments. This is necessary, for example,
9288 # in the case of _POSIX_SOURCE, which is predefined and required
9289 # on some systems where configure will not decide to define it.
9290 if (defundef
== "undef") {
9291 print
"/*", prefix defundef
, macro
, "*/"
9299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9300 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
9301 fi # test -n "$CONFIG_HEADERS"
9304 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
9309 :[FHLC
]) ac_mode
=$ac_tag; continue;;
9311 case $ac_mode$ac_tag in
9313 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
9314 :[FH
]-) ac_tag
=-:-;;
9315 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
9332 -) ac_f
="$ac_tmp/stdin";;
9333 *) # Look for the file first in the build tree, then in the source tree
9334 # (if the path is not absolute). The absolute path cannot be DOS-style,
9335 # because $ac_f cannot contain `:'.
9339 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
9341 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9343 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9344 as_fn_append ac_file_inputs
" '$ac_f'"
9347 # Let's still pretend it is `configure' which instantiates (i.e., don't
9348 # use $as_me), people would be surprised to read:
9349 # /* config.h. Generated by config.status. */
9350 configure_input
='Generated from '`
9351 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9353 if test x
"$ac_file" != x-
; then
9354 configure_input
="$ac_file. $configure_input"
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9356 $as_echo "$as_me: creating $ac_file" >&6;}
9358 # Neutralize special characters interpreted by sed in replacement strings.
9359 case $configure_input in #(
9360 *\
&* |
*\|
* |
*\\* )
9361 ac_sed_conf_input
=`$as_echo "$configure_input" |
9362 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9363 *) ac_sed_conf_input
=$configure_input;;
9367 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
9368 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
9373 ac_dir
=`$as_dirname -- "$ac_file" ||
9374 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9375 X"$ac_file" : 'X\(//\)[^/]' \| \
9376 X"$ac_file" : 'X\(//\)$' \| \
9377 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9378 $as_echo X"$ac_file" |
9379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9396 as_dir
="$ac_dir"; as_fn_mkdir_p
9400 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9402 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9403 # A ".." for each directory in $ac_dir_suffix.
9404 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9405 case $ac_top_builddir_sub in
9406 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9407 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9410 ac_abs_top_builddir
=$ac_pwd
9411 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9412 # for backward compatibility:
9413 ac_top_builddir
=$ac_top_build_prefix
9416 .
) # We are building in place.
9418 ac_top_srcdir
=$ac_top_builddir_sub
9419 ac_abs_top_srcdir
=$ac_pwd ;;
9420 [\\/]* | ?
:[\\/]* ) # Absolute name.
9421 ac_srcdir
=$srcdir$ac_dir_suffix;
9422 ac_top_srcdir
=$srcdir
9423 ac_abs_top_srcdir
=$srcdir ;;
9425 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9426 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9427 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9429 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9439 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9440 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
9444 [\\/$
]* | ?
:[\\/]* ) ;;
9445 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
9449 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9450 # If the template does not know about datarootdir, expand it.
9451 # FIXME: This hack should be removed a few years after 2.60.
9452 ac_datarootdir_hack
=; ac_datarootdir_seen
=
9463 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9464 *datarootdir
*) ac_datarootdir_seen
=yes;;
9465 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9467 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9469 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9470 ac_datarootdir_hack='
9471 s&@datadir@&$datadir&g
9472 s&@docdir@&$docdir&g
9473 s&@infodir@&$infodir&g
9474 s&@localedir@&$localedir&g
9475 s&@mandir@&$mandir&g
9476 s&\\\${datarootdir}&$datarootdir&g' ;;
9480 # Neutralize VPATH when `$srcdir' = `.'.
9481 # Shell code in configure.ac might set extrasub.
9482 # FIXME: do we really want to maintain this feature?
9483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9484 ac_sed_extra="$ac_vpsub
9487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9489 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9490 s|@configure_input@|
$ac_sed_conf_input|
;t t
9491 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
9492 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
9493 s
&@srcdir@
&$ac_srcdir&;t t
9494 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9495 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9496 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9497 s
&@builddir@
&$ac_builddir&;t t
9498 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9499 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9500 s
&@INSTALL@
&$ac_INSTALL&;t t
9501 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
9502 $ac_datarootdir_hack
9504 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
9505 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
9507 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9508 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
9509 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9510 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
9512 which seems to be undefined. Please make sure it is defined" >&5
9513 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
9514 which seems to be undefined. Please make sure it is defined" >&2;}
9516 rm -f "$ac_tmp/stdin"
9518 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9519 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9521 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9527 if test x"$ac_file" != x-; then
9529 $as_echo "/* $configure_input */" \
9530 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9531 } >"$ac_tmp/config.h" \
9532 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9533 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9535 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9538 mv "$ac_tmp/config.h" "$ac_file" \
9539 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9542 $as_echo "/* $configure_input */" \
9543 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9544 || as_fn_error $? "could not create -" "$LINENO" 5
9546 # Compute "$ac_file"'s index
in $config_headers.
9549 for _am_header
in $config_headers :; do
9551 $_am_arg |
$_am_arg:* )
9554 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
9557 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9558 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9559 X"$_am_arg" : 'X\(//\)[^/]' \| \
9560 X"$_am_arg" : 'X\(//\)$' \| \
9561 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9562 $as_echo X"$_am_arg" |
9563 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9579 s/.*/./; q'`/stamp-h
$_am_stamp_count
9582 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9583 $as_echo "$as_me: executing $ac_file commands" >&6;}
9588 case $ac_file$ac_mode in
9589 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
9590 # Autoconf 2.62 quotes --file arguments for eval, but not when files
9591 # are listed without --file. Let's play safe and only enable the eval
9592 # if we detect the quoting.
9593 case $CONFIG_FILES in
9594 *\'*) eval set x
"$CONFIG_FILES" ;;
9595 *) set x
$CONFIG_FILES ;;
9600 # Strip MF so we end up with the name of the file.
9601 mf
=`echo "$mf" | sed -e 's/:.*$//'`
9602 # Check whether this is an Automake generated Makefile or not.
9603 # We used to match only the files named `Makefile.in', but
9604 # some people rename them; so instead we look at the file content.
9605 # Grep'ing the first line is not enough: some people post-process
9606 # each Makefile.in and add a new line on top of each file to say so.
9607 # Grep'ing the whole file is not good either: AIX grep has a line
9608 # limit of 2048, but all sed's we know have understand at least 4000.
9609 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
9610 dirpart
=`$as_dirname -- "$mf" ||
9611 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9612 X"$mf" : 'X\(//\)[^/]' \| \
9613 X"$mf" : 'X\(//\)$' \| \
9614 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9616 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9636 # Extract the definition of DEPDIR, am__include, and am__quote
9637 # from the Makefile without running `make'.
9638 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
9639 test -z "$DEPDIR" && continue
9640 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
9641 test -z "am__include" && continue
9642 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
9643 # When using ansi2knr, U may be empty or an underscore; expand it
9644 U
=`sed -n 's/^U = //p' < "$mf"`
9645 # Find all dependency output files, they are included files with
9646 # $(DEPDIR) in their names. We invoke sed twice because it is the
9647 # simplest approach to changing $(DEPDIR) to its actual value in the
9649 for file in `sed -n "
9650 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9651 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9652 # Make sure the directory exists.
9653 test -f "$dirpart/$file" && continue
9654 fdir
=`$as_dirname -- "$file" ||
9655 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9656 X"$file" : 'X\(//\)[^/]' \| \
9657 X"$file" : 'X\(//\)$' \| \
9658 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9660 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9677 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
9678 # echo "creating $dirpart/$file"
9679 echo '# dummy' > "$dirpart/$file"
9685 for ac_file
in $CONFIG_FILES; do
9686 # Support "outfile[:infile[:infile...]]"
9688 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
9690 # PO directories have a Makefile.in generated from Makefile.in.in.
9691 case "$ac_file" in */Makefile.
in)
9692 # Adjust a relative srcdir.
9693 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
9694 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
9695 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
9696 # In autoconf-2.13 it is called $ac_given_srcdir.
9697 # In autoconf-2.50 it is called $srcdir.
9698 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
9699 case "$ac_given_srcdir" in
9700 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
9701 /*) top_srcdir
="$ac_given_srcdir" ;;
9702 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
9704 # Treat a directory as a PO directory if and only if it has a
9705 # POTFILES.in file. This allows packages to have multiple PO
9706 # directories under different names or in different locations.
9707 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
9708 rm -f "$ac_dir/POTFILES"
9709 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
9710 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
9711 POMAKEFILEDEPS
="POTFILES.in"
9712 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
9713 # on $ac_dir but don't depend on user-specified configuration
9715 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
9716 # The LINGUAS file contains the set of available languages.
9717 if test -n "$OBSOLETE_ALL_LINGUAS"; then
9718 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
9720 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
9721 # Hide the ALL_LINGUAS assigment from automake < 1.5.
9722 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
9723 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
9725 # The set of available languages was given in configure.in.
9726 # Hide the ALL_LINGUAS assigment from automake < 1.5.
9727 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
9730 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
9731 # Compute UPDATEPOFILES
9732 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
9733 # Compute DUMMYPOFILES
9734 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
9736 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
9737 case "$ac_given_srcdir" in
9739 *) srcdirpre
='$(srcdir)/' ;;
9745 for lang
in $ALL_LINGUAS; do
9746 POFILES
="$POFILES $srcdirpre$lang.po"
9747 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
9748 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
9749 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
9751 # CATALOGS depends on both $ac_dir and the user's LINGUAS
9752 # environment variable.
9754 if test -n "$ALL_LINGUAS"; then
9755 for presentlang
in $ALL_LINGUAS; do
9757 if test "%UNSET%" != "$LINGUAS"; then
9758 desiredlanguages
="$LINGUAS"
9760 desiredlanguages
="$ALL_LINGUAS"
9762 for desiredlang
in $desiredlanguages; do
9763 # Use the presentlang catalog if desiredlang is
9764 # a. equal to presentlang, or
9765 # b. a variant of presentlang (because in this case,
9766 # presentlang can be used as a fallback for messages
9767 # which are not translated in the desiredlang catalog).
9768 case "$desiredlang" in
9769 "$presentlang"*) useit
=yes;;
9772 if test $useit = yes; then
9773 INST_LINGUAS
="$INST_LINGUAS $presentlang"
9778 if test -n "$INST_LINGUAS"; then
9779 for lang
in $INST_LINGUAS; do
9780 CATALOGS
="$CATALOGS $lang.gmo"
9783 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
9784 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"
9785 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
9786 if test -f "$f"; then
9788 *.orig |
*.bak |
*~
) ;;
9789 *) cat "$f" >> "$ac_dir/Makefile" ;;
9804 ac_clean_files
=$ac_clean_files_save
9806 test $ac_write_fail = 0 ||
9807 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
9810 # configure is writing to config.log, and then calls config.status.
9811 # config.status does its own redirection, appending to config.log.
9812 # Unfortunately, on DOS this fails, as config.log is still kept open
9813 # by configure, so config.status won't be able to write to it; its
9814 # output is simply discarded. So we exec the FD to /dev/null,
9815 # effectively closing config.log, so it can be properly (re)opened and
9816 # appended to by config.status. When coming back to configure, we
9817 # need to make the FD available again.
9818 if test "$no_create" != yes; then
9820 ac_config_status_args
=
9821 test "$silent" = yes &&
9822 ac_config_status_args
="$ac_config_status_args --quiet"
9824 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9826 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9827 # would make configure fail if this is the last instruction.
9828 $ac_cs_success || as_fn_exit
1
9830 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9832 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}