2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GDash 20130427unstable.
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
='20130427unstable'
584 PACKAGE_STRING
='GDash 20130427unstable'
585 PACKAGE_BUGREPORT
='http://code.google.com/p/gdash/'
588 ac_unique_file
="src/main.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
644 GLIB_COMPILE_RESOURCES
666 XGETTEXT_EXTRA_OPTIONS
674 GETTEXT_MACRO_VERSION
717 INSTALL_STRIP_PROGRAM
759 program_transform_name
772 enable_option_checking
774 enable_dependency_tracking
789 ac_precious_vars
='build_alias
809 # Initialize some variables set by options.
811 ac_init_version
=false
812 ac_unrecognized_opts
=
814 # The variables have the same names as the options, with
815 # dashes changed to underlines.
823 program_transform_name
=s
,x
,x
,
831 # Installation directory options.
832 # These are left unexpanded so users can "make install exec_prefix=/foo"
833 # and all the variables that are supposed to be based on exec_prefix
834 # by default will actually change.
835 # Use braces instead of parens because sh, perl, etc. also accept them.
836 # (The list follows the same order as the GNU Coding Standards.)
837 bindir
='${exec_prefix}/bin'
838 sbindir
='${exec_prefix}/sbin'
839 libexecdir
='${exec_prefix}/libexec'
840 datarootdir
='${prefix}/share'
841 datadir
='${datarootdir}'
842 sysconfdir
='${prefix}/etc'
843 sharedstatedir
='${prefix}/com'
844 localstatedir
='${prefix}/var'
845 includedir
='${prefix}/include'
846 oldincludedir
='/usr/include'
847 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
848 infodir
='${datarootdir}/info'
853 libdir
='${exec_prefix}/lib'
854 localedir
='${datarootdir}/locale'
855 mandir
='${datarootdir}/man'
861 # If the previous option needs an argument, assign it.
862 if test -n "$ac_prev"; then
863 eval $ac_prev=\
$ac_option
869 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
874 # Accept the important Cygnus configure options, so we can diagnose typos.
876 case $ac_dashdash$ac_option in
880 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
882 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
885 -build |
--build |
--buil |
--bui |
--bu)
886 ac_prev
=build_alias
;;
887 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
888 build_alias
=$ac_optarg ;;
890 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
891 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
892 ac_prev
=cache_file
;;
893 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
894 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
895 cache_file
=$ac_optarg ;;
898 cache_file
=config.cache
;;
900 -datadir |
--datadir |
--datadi |
--datad)
902 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
903 datadir
=$ac_optarg ;;
905 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
906 |
--dataroo |
--dataro |
--datar)
907 ac_prev
=datarootdir
;;
908 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
909 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
910 datarootdir
=$ac_optarg ;;
912 -disable-* |
--disable-*)
913 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
914 # Reject names that are not valid shell variable names.
915 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
916 as_fn_error $?
"invalid feature name: $ac_useropt"
917 ac_useropt_orig
=$ac_useropt
918 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
919 case $ac_user_opts in
923 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
924 ac_unrecognized_sep
=', ';;
926 eval enable_
$ac_useropt=no
;;
928 -docdir |
--docdir |
--docdi |
--doc |
--do)
930 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
933 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
935 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
938 -enable-* |
--enable-*)
939 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
940 # Reject names that are not valid shell variable names.
941 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
942 as_fn_error $?
"invalid feature name: $ac_useropt"
943 ac_useropt_orig
=$ac_useropt
944 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
945 case $ac_user_opts in
949 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
950 ac_unrecognized_sep
=', ';;
952 eval enable_
$ac_useropt=\
$ac_optarg ;;
954 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
955 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
956 |
--exec |
--exe |
--ex)
957 ac_prev
=exec_prefix
;;
958 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
959 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
960 |
--exec=* |
--exe=* |
--ex=*)
961 exec_prefix
=$ac_optarg ;;
963 -gas |
--gas |
--ga |
--g)
964 # Obsolete; use --with-gas.
967 -help |
--help |
--hel |
--he |
-h)
969 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
970 ac_init_help
=recursive
;;
971 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
972 ac_init_help
=short
;;
974 -host |
--host |
--hos |
--ho)
975 ac_prev
=host_alias
;;
976 -host=* |
--host=* |
--hos=* |
--ho=*)
977 host_alias
=$ac_optarg ;;
979 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
981 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
983 htmldir
=$ac_optarg ;;
985 -includedir |
--includedir |
--includedi |
--included |
--include \
986 |
--includ |
--inclu |
--incl |
--inc)
987 ac_prev
=includedir
;;
988 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
989 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
990 includedir
=$ac_optarg ;;
992 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
994 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
995 infodir
=$ac_optarg ;;
997 -libdir |
--libdir |
--libdi |
--libd)
999 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1000 libdir
=$ac_optarg ;;
1002 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1003 |
--libexe |
--libex |
--libe)
1004 ac_prev
=libexecdir
;;
1005 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1006 |
--libexe=* |
--libex=* |
--libe=*)
1007 libexecdir
=$ac_optarg ;;
1009 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1010 ac_prev
=localedir
;;
1011 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1012 localedir
=$ac_optarg ;;
1014 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1015 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1016 ac_prev
=localstatedir
;;
1017 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1018 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1019 localstatedir
=$ac_optarg ;;
1021 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1023 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1024 mandir
=$ac_optarg ;;
1026 -nfp |
--nfp |
--nf)
1027 # Obsolete; use --without-fp.
1030 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1031 |
--no-cr |
--no-c |
-n)
1034 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1035 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1038 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1039 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1040 |
--oldin |
--oldi |
--old |
--ol |
--o)
1041 ac_prev
=oldincludedir
;;
1042 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1043 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1044 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1045 oldincludedir
=$ac_optarg ;;
1047 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1049 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1050 prefix
=$ac_optarg ;;
1052 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1053 |
--program-pre |
--program-pr |
--program-p)
1054 ac_prev
=program_prefix
;;
1055 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1056 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1057 program_prefix
=$ac_optarg ;;
1059 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1060 |
--program-suf |
--program-su |
--program-s)
1061 ac_prev
=program_suffix
;;
1062 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1063 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1064 program_suffix
=$ac_optarg ;;
1066 -program-transform-name |
--program-transform-name \
1067 |
--program-transform-nam |
--program-transform-na \
1068 |
--program-transform-n |
--program-transform- \
1069 |
--program-transform |
--program-transfor \
1070 |
--program-transfo |
--program-transf \
1071 |
--program-trans |
--program-tran \
1072 |
--progr-tra |
--program-tr |
--program-t)
1073 ac_prev
=program_transform_name
;;
1074 -program-transform-name=* |
--program-transform-name=* \
1075 |
--program-transform-nam=* |
--program-transform-na=* \
1076 |
--program-transform-n=* |
--program-transform-=* \
1077 |
--program-transform=* |
--program-transfor=* \
1078 |
--program-transfo=* |
--program-transf=* \
1079 |
--program-trans=* |
--program-tran=* \
1080 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1081 program_transform_name
=$ac_optarg ;;
1083 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1085 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1086 pdfdir
=$ac_optarg ;;
1088 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1090 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1093 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1094 |
-silent |
--silent |
--silen |
--sile |
--sil)
1097 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1099 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1101 sbindir
=$ac_optarg ;;
1103 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1104 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1105 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1107 ac_prev
=sharedstatedir
;;
1108 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1109 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1110 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1112 sharedstatedir
=$ac_optarg ;;
1114 -site |
--site |
--sit)
1116 -site=* |
--site=* |
--sit=*)
1119 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1121 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1122 srcdir
=$ac_optarg ;;
1124 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1125 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1126 ac_prev
=sysconfdir
;;
1127 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1128 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1129 sysconfdir
=$ac_optarg ;;
1131 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1132 ac_prev
=target_alias
;;
1133 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1134 target_alias
=$ac_optarg ;;
1136 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1139 -version |
--version |
--versio |
--versi |
--vers |
-V)
1140 ac_init_version
=: ;;
1143 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1144 # Reject names that are not valid shell variable names.
1145 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1146 as_fn_error $?
"invalid package name: $ac_useropt"
1147 ac_useropt_orig
=$ac_useropt
1148 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1149 case $ac_user_opts in
1153 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1154 ac_unrecognized_sep
=', ';;
1156 eval with_
$ac_useropt=\
$ac_optarg ;;
1158 -without-* |
--without-*)
1159 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1160 # Reject names that are not valid shell variable names.
1161 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1162 as_fn_error $?
"invalid package name: $ac_useropt"
1163 ac_useropt_orig
=$ac_useropt
1164 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1165 case $ac_user_opts in
1169 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1170 ac_unrecognized_sep
=', ';;
1172 eval with_
$ac_useropt=no
;;
1175 # Obsolete; use --with-x.
1178 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1179 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1180 ac_prev
=x_includes
;;
1181 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1182 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1183 x_includes
=$ac_optarg ;;
1185 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1186 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1187 ac_prev
=x_libraries
;;
1188 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1189 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1190 x_libraries
=$ac_optarg ;;
1192 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1193 Try \`$0 --help' for more information"
1197 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1198 # Reject names that are not valid shell variable names.
1199 case $ac_envvar in #(
1200 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1201 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1203 eval $ac_envvar=\
$ac_optarg
1204 export $ac_envvar ;;
1207 # FIXME: should be removed in autoconf 3.0.
1208 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1209 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1210 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1211 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1217 if test -n "$ac_prev"; then
1218 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1219 as_fn_error $?
"missing argument to $ac_option"
1222 if test -n "$ac_unrecognized_opts"; then
1223 case $enable_option_checking in
1225 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1226 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1230 # Check all directory arguments for consistency.
1231 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1232 datadir sysconfdir sharedstatedir localstatedir includedir \
1233 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1234 libdir localedir mandir
1236 eval ac_val
=\$
$ac_var
1237 # Remove trailing slashes.
1240 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1241 eval $ac_var=\
$ac_val;;
1243 # Be sure to have absolute directory names.
1245 [\\/$
]* | ?
:[\\/]* ) continue;;
1246 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1248 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1251 # There might be people who depend on the old broken behavior: `$host'
1252 # used to hold the argument of --host etc.
1253 # FIXME: To remove some day.
1256 target
=$target_alias
1258 # FIXME: To remove some day.
1259 if test "x$host_alias" != x
; then
1260 if test "x$build_alias" = x
; then
1261 cross_compiling
=maybe
1262 elif test "x$build_alias" != "x$host_alias"; then
1268 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1270 test "$silent" = yes && exec 6>/dev
/null
1273 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1274 ac_ls_di
=`ls -di .` &&
1275 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1276 as_fn_error $?
"working directory cannot be determined"
1277 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1278 as_fn_error $?
"pwd does not report name of working directory"
1281 # Find the source files, if location was not specified.
1282 if test -z "$srcdir"; then
1283 ac_srcdir_defaulted
=yes
1284 # Try the directory containing this script, then the parent directory.
1285 ac_confdir
=`$as_dirname -- "$as_myself" ||
1286 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1287 X"$as_myself" : 'X\(//\)[^/]' \| \
1288 X"$as_myself" : 'X\(//\)$' \| \
1289 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1290 $as_echo X"$as_myself" |
1291 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1309 if test ! -r "$srcdir/$ac_unique_file"; then
1313 ac_srcdir_defaulted
=no
1315 if test ! -r "$srcdir/$ac_unique_file"; then
1316 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1317 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1319 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1321 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1323 # When building in place, set srcdir=.
1324 if test "$ac_abs_confdir" = "$ac_pwd"; then
1327 # Remove unnecessary trailing slashes from srcdir.
1328 # Double slashes in file names in object file debugging info
1329 # mess up M-x gdb in Emacs.
1331 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1333 for ac_var
in $ac_precious_vars; do
1334 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1335 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1336 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1337 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1341 # Report the --help message.
1343 if test "$ac_init_help" = "long"; then
1344 # Omit some internal or obsolete options to make the list less imposing.
1345 # This message is too long to be a string in the A/UX 3.1 sh.
1347 \`configure' configures GDash 20130427unstable to adapt to many kinds of systems.
1349 Usage: $0 [OPTION]... [VAR=VALUE]...
1351 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1352 VAR=VALUE. See below for descriptions of some of the useful variables.
1354 Defaults for the options are specified in brackets.
1357 -h, --help display this help and exit
1358 --help=short display options specific to this package
1359 --help=recursive display the short help of all the included packages
1360 -V, --version display version information and exit
1361 -q, --quiet, --silent do not print \`checking ...' messages
1362 --cache-file=FILE cache test results in FILE [disabled]
1363 -C, --config-cache alias for \`--cache-file=config.cache'
1364 -n, --no-create do not create output files
1365 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1367 Installation directories:
1368 --prefix=PREFIX install architecture-independent files in PREFIX
1369 [$ac_default_prefix]
1370 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1373 By default, \`make install' will install all the files in
1374 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1375 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1376 for instance \`--prefix=\$HOME'.
1378 For better control, use the options below.
1380 Fine tuning of the installation directories:
1381 --bindir=DIR user executables [EPREFIX/bin]
1382 --sbindir=DIR system admin executables [EPREFIX/sbin]
1383 --libexecdir=DIR program executables [EPREFIX/libexec]
1384 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1385 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1386 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1387 --libdir=DIR object code libraries [EPREFIX/lib]
1388 --includedir=DIR C header files [PREFIX/include]
1389 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1390 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1391 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1392 --infodir=DIR info documentation [DATAROOTDIR/info]
1393 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1394 --mandir=DIR man documentation [DATAROOTDIR/man]
1395 --docdir=DIR documentation root [DATAROOTDIR/doc/gdash]
1396 --htmldir=DIR html documentation [DOCDIR]
1397 --dvidir=DIR dvi documentation [DOCDIR]
1398 --pdfdir=DIR pdf documentation [DOCDIR]
1399 --psdir=DIR ps documentation [DOCDIR]
1405 --program-prefix=PREFIX prepend PREFIX to installed program names
1406 --program-suffix=SUFFIX append SUFFIX to installed program names
1407 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1410 --x-includes=DIR X include files are
in DIR
1411 --x-libraries=DIR X library files are
in DIR
1414 --build=BUILD configure
for building on BUILD
[guessed
]
1415 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1419 if test -n "$ac_init_help"; then
1420 case $ac_init_help in
1421 short | recursive
) echo "Configuration of GDash 20130427unstable:";;
1426 --disable-option-checking ignore unrecognized
--enable/--with options
1427 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1428 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1429 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1430 --disable-silent-rules verbose build output (undo: `make V
=0')
1431 --disable-dependency-tracking speeds up one-time build
1432 --enable-dependency-tracking do not reject slow dependency extractors
1433 --disable-nls do not use Native Language Support
1434 --disable-rpath do not hardcode runtime library paths
1435 --disable-glibtest do not try to compile and run a test GLIB program
1436 --disable-gtktest do not try to compile and run a test GTK+ program
1437 --disable-sdltest Do not try to compile and run a test SDL program
1440 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1441 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1442 --with-gnu-ld assume the C compiler uses GNU ld default=no
1443 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1444 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1445 --with-libintl-prefix[=DIR
] search
for libintl
in DIR
/include and DIR
/lib
1446 --without-libintl-prefix don
't search for libintl in includedir and libdir
1447 --without-gtk disables using gtk+
1448 --without-sdl disables using sdl
1449 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1450 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1451 --with-x use the X Window System
1453 Some influential environment variables:
1454 CC C compiler command
1455 CFLAGS C compiler flags
1456 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1457 nonstandard directory <lib dir>
1458 LIBS libraries to pass to the linker, e.g. -l<library>
1459 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1460 you have headers in a nonstandard directory <include dir>
1461 CXX C++ compiler command
1462 CXXFLAGS C++ compiler flags
1463 PKG_CONFIG path to pkg-config utility
1465 directories to add to pkg-config's search path
1467 path overriding pkg-config
's built-in search path
1469 XMKMF Path to xmkmf, Makefile generator for X Window System
1471 C compiler flags for LIBPNG, overriding pkg-config
1472 LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
1474 Use these variables to override the choices made by `configure' or to
help
1475 it to
find libraries and programs with nonstandard names
/locations.
1477 Report bugs to
<http
://code.google.com
/p
/gdash
/>.
1482 if test "$ac_init_help" = "recursive"; then
1483 # If there are subdirs, report their specific --help.
1484 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1485 test -d "$ac_dir" ||
1486 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1491 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1493 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1494 # A ".." for each directory in $ac_dir_suffix.
1495 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1496 case $ac_top_builddir_sub in
1497 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1498 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1501 ac_abs_top_builddir
=$ac_pwd
1502 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1503 # for backward compatibility:
1504 ac_top_builddir
=$ac_top_build_prefix
1507 .
) # We are building in place.
1509 ac_top_srcdir
=$ac_top_builddir_sub
1510 ac_abs_top_srcdir
=$ac_pwd ;;
1511 [\\/]* | ?
:[\\/]* ) # Absolute name.
1512 ac_srcdir
=$srcdir$ac_dir_suffix;
1513 ac_top_srcdir
=$srcdir
1514 ac_abs_top_srcdir
=$srcdir ;;
1516 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1517 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1518 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1520 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1522 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1523 # Check for guested configure.
1524 if test -f "$ac_srcdir/configure.gnu"; then
1526 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1527 elif test -f "$ac_srcdir/configure"; then
1529 $SHELL "$ac_srcdir/configure" --help=recursive
1531 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1533 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1537 test -n "$ac_init_help" && exit $ac_status
1538 if $ac_init_version; then
1540 GDash configure
20130427unstable
1541 generated by GNU Autoconf
2.69
1543 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1544 This configure
script is free software
; the Free Software Foundation
1545 gives unlimited permission to copy
, distribute and modify it.
1550 ## ------------------------ ##
1551 ## Autoconf initialization. ##
1552 ## ------------------------ ##
1554 # ac_fn_c_try_compile LINENO
1555 # --------------------------
1556 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1557 ac_fn_c_try_compile
()
1559 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1560 rm -f conftest.
$ac_objext
1561 if { { ac_try
="$ac_compile"
1563 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1564 *) ac_try_echo=$ac_try;;
1566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1567 $as_echo "$ac_try_echo"; } >&5
1568 (eval "$ac_compile") 2>conftest.err
1570 if test -s conftest.err; then
1571 grep -v '^ *+' conftest.err >conftest.er1
1572 cat conftest.er1 >&5
1573 mv -f conftest.er1 conftest.err
1575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1576 test $ac_status = 0; } && {
1577 test -z "$ac_c_werror_flag" ||
1578 test ! -s conftest.err
1579 } && test -s conftest.$ac_objext; then :
1582 $as_echo "$as_me: failed program was:" >&5
1583 sed 's/^/| /' conftest.$ac_ext >&5
1587 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1588 as_fn_set_status $ac_retval
1590 } # ac_fn_c_try_compile
1592 # ac_fn_cxx_try_compile LINENO
1593 # ----------------------------
1594 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1595 ac_fn_cxx_try_compile ()
1597 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1598 rm -f conftest.$ac_objext
1599 if { { ac_try="$ac_compile"
1601 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1602 *) ac_try_echo
=$ac_try;;
1604 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1605 $as_echo "$ac_try_echo"; } >&5
1606 (eval "$ac_compile") 2>conftest.err
1608 if test -s conftest.err
; then
1609 grep -v '^ *+' conftest.err
>conftest.er1
1610 cat conftest.er1
>&5
1611 mv -f conftest.er1 conftest.err
1613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1614 test $ac_status = 0; } && {
1615 test -z "$ac_cxx_werror_flag" ||
1616 test ! -s conftest.err
1617 } && test -s conftest.
$ac_objext; then :
1620 $as_echo "$as_me: failed program was:" >&5
1621 sed 's/^/| /' conftest.
$ac_ext >&5
1625 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1626 as_fn_set_status
$ac_retval
1628 } # ac_fn_cxx_try_compile
1630 # ac_fn_c_try_link LINENO
1631 # -----------------------
1632 # Try to link conftest.$ac_ext, and return whether this succeeded.
1635 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1636 rm -f conftest.
$ac_objext conftest
$ac_exeext
1637 if { { ac_try
="$ac_link"
1639 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1640 *) ac_try_echo=$ac_try;;
1642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1643 $as_echo "$ac_try_echo"; } >&5
1644 (eval "$ac_link") 2>conftest.err
1646 if test -s conftest.err; then
1647 grep -v '^ *+' conftest.err >conftest.er1
1648 cat conftest.er1 >&5
1649 mv -f conftest.er1 conftest.err
1651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1652 test $ac_status = 0; } && {
1653 test -z "$ac_c_werror_flag" ||
1654 test ! -s conftest.err
1655 } && test -s conftest$ac_exeext && {
1656 test "$cross_compiling" = yes ||
1657 test -x conftest$ac_exeext
1661 $as_echo "$as_me: failed program was:" >&5
1662 sed 's/^/| /' conftest.$ac_ext >&5
1666 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1667 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1668 # interfere with the next link command; also delete a directory that is
1669 # left behind by Apple's compiler. We do this before executing the actions.
1670 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1671 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1672 as_fn_set_status $ac_retval
1674 } # ac_fn_c_try_link
1676 # ac_fn_c_try_cpp LINENO
1677 # ----------------------
1678 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1681 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1682 if { { ac_try="$ac_cpp conftest.$ac_ext"
1684 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1685 *) ac_try_echo
=$ac_try;;
1687 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1688 $as_echo "$ac_try_echo"; } >&5
1689 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1691 if test -s conftest.err
; then
1692 grep -v '^ *+' conftest.err
>conftest.er1
1693 cat conftest.er1
>&5
1694 mv -f conftest.er1 conftest.err
1696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1697 test $ac_status = 0; } > conftest.i
&& {
1698 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1699 test ! -s conftest.err
1703 $as_echo "$as_me: failed program was:" >&5
1704 sed 's/^/| /' conftest.
$ac_ext >&5
1708 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1709 as_fn_set_status
$ac_retval
1713 # ac_fn_c_try_run LINENO
1714 # ----------------------
1715 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1716 # that executables *can* be run.
1719 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1720 if { { ac_try
="$ac_link"
1722 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1723 *) ac_try_echo=$ac_try;;
1725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1726 $as_echo "$ac_try_echo"; } >&5
1727 (eval "$ac_link") 2>&5
1729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1730 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1731 { { case "(($ac_try" in
1732 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1733 *) ac_try_echo
=$ac_try;;
1735 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1736 $as_echo "$ac_try_echo"; } >&5
1737 (eval "$ac_try") 2>&5
1739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1740 test $ac_status = 0; }; }; then :
1743 $as_echo "$as_me: program exited with status $ac_status" >&5
1744 $as_echo "$as_me: failed program was:" >&5
1745 sed 's/^/| /' conftest.
$ac_ext >&5
1747 ac_retval
=$ac_status
1749 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1751 as_fn_set_status
$ac_retval
1755 # ac_fn_c_check_func LINENO FUNC VAR
1756 # ----------------------------------
1757 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1758 ac_fn_c_check_func
()
1760 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1762 $as_echo_n "checking for $2... " >&6; }
1763 if eval \
${$3+:} false
; then :
1764 $as_echo_n "(cached) " >&6
1766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1767 /* end confdefs.h. */
1768 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1770 #define $2 innocuous_$2
1772 /* System header to define __stub macros and hopefully few prototypes,
1773 which can conflict with char $2 (); below.
1774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1775 <limits.h> exists even on freestanding compilers. */
1778 # include <limits.h>
1780 # include <assert.h>
1785 /* Override any GCC internal prototype to avoid an error.
1786 Use char because int might match the return type of a GCC
1787 builtin and then its argument prototype would still apply. */
1792 /* The GNU C library defines this for functions which it implements
1793 to always fail with ENOSYS. Some functions are actually named
1794 something starting with __ and the normal name is an alias. */
1795 #if defined __stub_$2 || defined __stub___$2
1807 if ac_fn_c_try_link
"$LINENO"; then :
1812 rm -f core conftest.err conftest.
$ac_objext \
1813 conftest
$ac_exeext conftest.
$ac_ext
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1817 $as_echo "$ac_res" >&6; }
1818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1820 } # ac_fn_c_check_func
1822 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1823 # -------------------------------------------------------
1824 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1825 # the include files in INCLUDES and setting the cache variable VAR
1827 ac_fn_c_check_header_mongrel
()
1829 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1830 if eval \
${$3+:} false
; then :
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1832 $as_echo_n "checking for $2... " >&6; }
1833 if eval \
${$3+:} false
; then :
1834 $as_echo_n "(cached) " >&6
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1838 $as_echo "$ac_res" >&6; }
1840 # Is the header compilable?
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1842 $as_echo_n "checking $2 usability... " >&6; }
1843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1844 /* end confdefs.h. */
1848 if ac_fn_c_try_compile
"$LINENO"; then :
1849 ac_header_compiler
=yes
1851 ac_header_compiler
=no
1853 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1855 $as_echo "$ac_header_compiler" >&6; }
1857 # Is the header present?
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1859 $as_echo_n "checking $2 presence... " >&6; }
1860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1861 /* end confdefs.h. */
1864 if ac_fn_c_try_cpp
"$LINENO"; then :
1865 ac_header_preproc
=yes
1867 ac_header_preproc
=no
1869 rm -f conftest.err conftest.i conftest.
$ac_ext
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1871 $as_echo "$ac_header_preproc" >&6; }
1873 # So? What about this header?
1874 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1877 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&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;}
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1883 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1885 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1887 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1889 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1891 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1892 ( $as_echo "## ---------------------------------------------- ##
1893 ## Report this to http://code.google.com/p/gdash/ ##
1894 ## ---------------------------------------------- ##"
1895 ) |
sed "s/^/$as_me: WARNING: /" >&2
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1899 $as_echo_n "checking for $2... " >&6; }
1900 if eval \
${$3+:} false
; then :
1901 $as_echo_n "(cached) " >&6
1903 eval "$3=\$ac_header_compiler"
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1907 $as_echo "$ac_res" >&6; }
1909 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1911 } # ac_fn_c_check_header_mongrel
1913 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1914 # -------------------------------------------------------
1915 # Tests whether HEADER exists and can be compiled using the include files in
1916 # INCLUDES, setting the cache variable VAR accordingly.
1917 ac_fn_c_check_header_compile
()
1919 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1921 $as_echo_n "checking for $2... " >&6; }
1922 if eval \
${$3+:} false
; then :
1923 $as_echo_n "(cached) " >&6
1925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1926 /* end confdefs.h. */
1930 if ac_fn_c_try_compile
"$LINENO"; then :
1935 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1939 $as_echo "$ac_res" >&6; }
1940 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1942 } # ac_fn_c_check_header_compile
1944 # ac_fn_c_find_uintX_t LINENO BITS VAR
1945 # ------------------------------------
1946 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1948 ac_fn_c_find_uintX_t
()
1950 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1952 $as_echo_n "checking for uint$2_t... " >&6; }
1953 if eval \
${$3+:} false
; then :
1954 $as_echo_n "(cached) " >&6
1957 # Order is important - never check a type that is potentially smaller
1958 # than half of the expected target width.
1959 for ac_type
in uint
$2_t 'unsigned int' 'unsigned long int' \
1960 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1962 /* end confdefs.h. */
1963 $ac_includes_default
1967 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1969 return test_array [0];
1975 if ac_fn_c_try_compile
"$LINENO"; then :
1980 eval "$3=\$ac_type" ;;
1983 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1984 if eval test \"x\$
"$3"\" = x
"no"; then :
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1993 $as_echo "$ac_res" >&6; }
1994 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1996 } # ac_fn_c_find_uintX_t
1997 cat >config.log
<<_ACEOF
1998 This file contains any messages produced by compilers while
1999 running configure, to aid debugging if configure makes a mistake.
2001 It was created by GDash $as_me 20130427unstable, which was
2002 generated by GNU Autoconf 2.69. Invocation command line was
2014 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2015 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2016 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2017 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2018 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2020 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2021 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2023 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2024 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2025 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2026 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2027 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2028 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2029 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2037 test -z "$as_dir" && as_dir
=.
2038 $as_echo "PATH: $as_dir"
2054 # Keep a trace of the command line.
2055 # Strip out --no-create and --no-recursion so they do not pile up.
2056 # Strip out --silent because we don't want to record it for future runs.
2057 # Also quote any args containing shell meta-characters.
2058 # Make two passes to allow for proper duplicate-argument suppression.
2062 ac_must_keep_next
=false
2068 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2069 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2070 |
-silent |
--silent |
--silen |
--sile |
--sil)
2073 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2076 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2078 as_fn_append ac_configure_args1
" '$ac_arg'"
2079 if test $ac_must_keep_next = true
; then
2080 ac_must_keep_next
=false
# Got value, back to normal.
2083 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2084 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2085 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2086 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2087 case "$ac_configure_args0 " in
2088 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2091 -* ) ac_must_keep_next
=true
;;
2094 as_fn_append ac_configure_args
" '$ac_arg'"
2099 { ac_configure_args0
=; unset ac_configure_args0
;}
2100 { ac_configure_args1
=; unset ac_configure_args1
;}
2102 # When interrupted or exit'd, cleanup temporary files, and complete
2103 # config.log. We remove comments because anyway the quotes in there
2104 # would cause problems or look ugly.
2105 # WARNING: Use '\'' to represent an apostrophe within the trap.
2106 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2107 trap 'exit_status=$?
2108 # Save into config.log some information that might help in debugging.
2112 $as_echo "## ---------------- ##
2113 ## Cache variables. ##
2114 ## ---------------- ##"
2116 # The following way of writing the cache mishandles newlines in values,
2118 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2119 eval ac_val=\$$ac_var
2123 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2124 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2127 _ | IFS | as_nl) ;; #(
2128 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2129 *) { eval $ac_var=; unset $ac_var;} ;;
2134 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2135 *${as_nl}ac_space=\ *)
2137 "s/'\''/'\''\\\\'\'''\''/g;
2138 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2141 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2148 $as_echo "## ----------------- ##
2149 ## Output variables. ##
2150 ## ----------------- ##"
2152 for ac_var in $ac_subst_vars
2154 eval ac_val=\$$ac_var
2156 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2158 $as_echo "$ac_var='\''$ac_val'\''"
2162 if test -n "$ac_subst_files"; then
2163 $as_echo "## ------------------- ##
2164 ## File substitutions. ##
2165 ## ------------------- ##"
2167 for ac_var
in $ac_subst_files
2169 eval ac_val
=\$
$ac_var
2171 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2173 $as_echo "$ac_var='\''$ac_val'\''"
2178 if test -s confdefs.h; then
2179 $as_echo "## ----------- ##
2186 test "$ac_signal" != 0 &&
2187 $as_echo "$as_me: caught signal $ac_signal"
2188 $as_echo "$as_me: exit $exit_status"
2190 rm -f core *.core core.conftest.* &&
2191 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2194 for ac_signal
in 1 2 13 15; do
2195 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2199 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2200 rm -f -r conftest
* confdefs.h
2202 $as_echo "/* confdefs.h */" > confdefs.h
2204 # Predefined preprocessor variables.
2206 cat >>confdefs.h
<<_ACEOF
2207 #define PACKAGE_NAME "$PACKAGE_NAME"
2210 cat >>confdefs.h
<<_ACEOF
2211 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2214 cat >>confdefs.h
<<_ACEOF
2215 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2218 cat >>confdefs.h
<<_ACEOF
2219 #define PACKAGE_STRING "$PACKAGE_STRING"
2222 cat >>confdefs.h
<<_ACEOF
2223 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2226 cat >>confdefs.h
<<_ACEOF
2227 #define PACKAGE_URL "$PACKAGE_URL"
2231 # Let the site file select an alternate cache file if it wants to.
2232 # Prefer an explicitly selected file to automatically selected ones.
2235 if test -n "$CONFIG_SITE"; then
2236 # We do not want a PATH search for config.site.
2237 case $CONFIG_SITE in #((
2238 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2239 */*) ac_site_file1
=$CONFIG_SITE;;
2240 *) ac_site_file1
=.
/$CONFIG_SITE;;
2242 elif test "x$prefix" != xNONE
; then
2243 ac_site_file1
=$prefix/share
/config.site
2244 ac_site_file2
=$prefix/etc
/config.site
2246 ac_site_file1
=$ac_default_prefix/share
/config.site
2247 ac_site_file2
=$ac_default_prefix/etc
/config.site
2249 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2251 test "x$ac_site_file" = xNONE
&& continue
2252 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2254 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2255 sed 's/^/| /' "$ac_site_file" >&5
2257 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2259 as_fn_error $?
"failed to load site script $ac_site_file
2260 See \`config.log' for more details" "$LINENO" 5; }
2264 if test -r "$cache_file"; then
2265 # Some versions of bash will fail to source /dev/null (special files
2266 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2267 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2269 $as_echo "$as_me: loading cache $cache_file" >&6;}
2271 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2272 *) .
"./$cache_file";;
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2277 $as_echo "$as_me: creating cache $cache_file" >&6;}
2281 gt_needs
="$gt_needs "
2282 # Check that the precious variables saved in the cache have kept the same
2284 ac_cache_corrupted
=false
2285 for ac_var
in $ac_precious_vars; do
2286 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2287 eval ac_new_set
=\
$ac_env_${ac_var}_set
2288 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2289 eval ac_new_val
=\
$ac_env_${ac_var}_value
2290 case $ac_old_set,$ac_new_set in
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2293 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2294 ac_cache_corrupted
=: ;;
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2297 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2298 ac_cache_corrupted
=: ;;
2301 if test "x$ac_old_val" != "x$ac_new_val"; then
2302 # differences in whitespace do not lead to failure.
2303 ac_old_val_w
=`echo x $ac_old_val`
2304 ac_new_val_w
=`echo x $ac_new_val`
2305 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2307 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2308 ac_cache_corrupted
=:
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2311 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2312 eval $ac_var=\
$ac_old_val
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2315 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2317 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2320 # Pass precious variables to config.status.
2321 if test "$ac_new_set" = set; then
2323 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2324 *) ac_arg
=$ac_var=$ac_new_val ;;
2326 case " $ac_configure_args " in
2327 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2328 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2332 if $ac_cache_corrupted; then
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2336 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2337 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2339 ## -------------------- ##
2340 ## Main body of script. ##
2341 ## -------------------- ##
2344 ac_cpp
='$CPP $CPPFLAGS'
2345 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2346 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2347 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2351 am__api_version
='1.11'
2354 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2355 if test -f "$ac_dir/install-sh"; then
2357 ac_install_sh
="$ac_aux_dir/install-sh -c"
2359 elif test -f "$ac_dir/install.sh"; then
2361 ac_install_sh
="$ac_aux_dir/install.sh -c"
2363 elif test -f "$ac_dir/shtool"; then
2365 ac_install_sh
="$ac_aux_dir/shtool install -c"
2369 if test -z "$ac_aux_dir"; then
2370 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2373 # These three variables are undocumented and unsupported,
2374 # and are intended to be withdrawn in a future Autoconf release.
2375 # They can cause serious problems if a builder's source tree is in a directory
2376 # whose full name contains unusual characters.
2377 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2378 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2379 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2382 # Find a good install program. We prefer a C program (faster),
2383 # so one script is as good as another. But avoid the broken or
2384 # incompatible versions:
2385 # SysV /etc/install, /usr/sbin/install
2386 # SunOS /usr/etc/install
2387 # IRIX /sbin/install
2389 # AmigaOS /C/install, which installs bootblocks on floppy discs
2390 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2391 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2392 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2393 # OS/2's system install, which has a completely different semantic
2394 # ./install, which can be erroneously created by make from ./install.sh.
2395 # Reject install programs that cannot install multiple files.
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2397 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2398 if test -z "$INSTALL"; then
2399 if ${ac_cv_path_install+:} false
; then :
2400 $as_echo_n "(cached) " >&6
2402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2406 test -z "$as_dir" && as_dir
=.
2407 # Account for people who put trailing slashes in PATH elements.
2408 case $as_dir/ in #((
2409 .
/ | .
// |
/[cC
]/* | \
2410 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2411 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2414 # OSF1 and SCO ODT 3.0 have their own names for install.
2415 # Don't use installbsd from OSF since it installs stuff as root
2417 for ac_prog
in ginstall scoinst
install; do
2418 for ac_exec_ext
in '' $ac_executable_extensions; do
2419 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2420 if test $ac_prog = install &&
2421 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2422 # AIX install. It has an incompatible calling convention.
2424 elif test $ac_prog = install &&
2425 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2426 # program-specific install script used by HP pwplus--don't use.
2429 rm -rf conftest.one conftest.two conftest.dir
2430 echo one
> conftest.one
2431 echo two
> conftest.two
2433 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2434 test -s conftest.one
&& test -s conftest.two
&&
2435 test -s conftest.dir
/conftest.one
&&
2436 test -s conftest.dir
/conftest.two
2438 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2451 rm -rf conftest.one conftest.two conftest.dir
2454 if test "${ac_cv_path_install+set}" = set; then
2455 INSTALL
=$ac_cv_path_install
2457 # As a last resort, use the slow shell script. Don't cache a
2458 # value for INSTALL within a source directory, because that will
2459 # break other packages using the cache if that directory is
2460 # removed, or if the value is a relative name.
2461 INSTALL
=$ac_install_sh
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2465 $as_echo "$INSTALL" >&6; }
2467 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2468 # It thinks the first close brace ends the variable substitution.
2469 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2471 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2473 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2476 $as_echo_n "checking whether build environment is sane... " >&6; }
2479 echo timestamp
> conftest.
file
2480 # Reject unsafe characters in $srcdir or the absolute working directory
2481 # name. Accept space and tab only in the latter.
2485 *[\\\"\
#\$\&\'\`$am_lf]*)
2486 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2489 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2490 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2493 # Do `set' in a subshell so we don't clobber the current shell's
2494 # arguments. Must try -L first in case configure is actually a
2495 # symlink; some systems play weird games with the mod time of symlinks
2496 # (eg FreeBSD returns the mod time of the symlink's containing
2499 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2500 if test "$*" = "X"; then
2502 set X
`ls -t "$srcdir/configure" conftest.file`
2505 if test "$*" != "X $srcdir/configure conftest.file" \
2506 && test "$*" != "X conftest.file $srcdir/configure"; then
2508 # If neither matched, then we have a broken ls. This can happen
2509 # if, for instance, CONFIG_SHELL is bash and it inherits a
2510 # broken ls alias from the environment. This has actually
2511 # happened. Such a system could not be considered "sane".
2512 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2513 alias in your environment" "$LINENO" 5
2516 test "$2" = conftest.
file
2522 as_fn_error $?
"newly created file is older than distributed files!
2523 Check your system clock" "$LINENO" 5
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2526 $as_echo "yes" >&6; }
2527 test "$program_prefix" != NONE
&&
2528 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2529 # Use a double $ so make ignores it.
2530 test "$program_suffix" != NONE
&&
2531 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2532 # Double any \ or $.
2533 # By default was `s,x,x', remove it if useless.
2534 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2535 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2537 # expand $ac_aux_dir to an absolute path
2538 am_aux_dir
=`cd $ac_aux_dir && pwd`
2540 if test x
"${MISSING+set}" != xset
; then
2543 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2545 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2548 # Use eval to expand $SHELL
2549 if eval "$MISSING --run true"; then
2550 am_missing_run
="$MISSING --run "
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2554 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2557 if test x
"${install_sh}" != xset
; then
2560 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2562 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2566 # Installed binaries are usually stripped using `strip' when the user
2567 # run `make install-strip'. However `strip' might not be the right
2568 # tool to use in cross-compilation environments, therefore Automake
2569 # will honor the `STRIP' environment variable to overrule this program.
2570 if test "$cross_compiling" != no
; then
2571 if test -n "$ac_tool_prefix"; then
2572 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2573 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2575 $as_echo_n "checking for $ac_word... " >&6; }
2576 if ${ac_cv_prog_STRIP+:} false
; then :
2577 $as_echo_n "(cached) " >&6
2579 if test -n "$STRIP"; then
2580 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2586 test -z "$as_dir" && as_dir
=.
2587 for ac_exec_ext
in '' $ac_executable_extensions; do
2588 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2589 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2599 STRIP
=$ac_cv_prog_STRIP
2600 if test -n "$STRIP"; then
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2602 $as_echo "$STRIP" >&6; }
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2605 $as_echo "no" >&6; }
2610 if test -z "$ac_cv_prog_STRIP"; then
2612 # Extract the first word of "strip", so it can be a program name with args.
2613 set dummy strip
; ac_word
=$2
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2615 $as_echo_n "checking for $ac_word... " >&6; }
2616 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2617 $as_echo_n "(cached) " >&6
2619 if test -n "$ac_ct_STRIP"; then
2620 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2626 test -z "$as_dir" && as_dir
=.
2627 for ac_exec_ext
in '' $ac_executable_extensions; do
2628 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2629 ac_cv_prog_ac_ct_STRIP
="strip"
2630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2639 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2640 if test -n "$ac_ct_STRIP"; then
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2642 $as_echo "$ac_ct_STRIP" >&6; }
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2645 $as_echo "no" >&6; }
2648 if test "x$ac_ct_STRIP" = x
; then
2651 case $cross_compiling:$ac_tool_warned in
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2654 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2655 ac_tool_warned
=yes ;;
2660 STRIP
="$ac_cv_prog_STRIP"
2664 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2667 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2668 if test -z "$MKDIR_P"; then
2669 if ${ac_cv_path_mkdir+:} false
; then :
2670 $as_echo_n "(cached) " >&6
2672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2673 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2676 test -z "$as_dir" && as_dir
=.
2677 for ac_prog
in mkdir gmkdir
; do
2678 for ac_exec_ext
in '' $ac_executable_extensions; do
2679 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2680 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2681 'mkdir (GNU coreutils) '* | \
2682 'mkdir (coreutils) '* | \
2683 'mkdir (fileutils) '4.1*)
2684 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2694 test -d .
/--version && rmdir .
/--version
2695 if test "${ac_cv_path_mkdir+set}" = set; then
2696 MKDIR_P
="$ac_cv_path_mkdir -p"
2698 # As a last resort, use the slow shell script. Don't cache a
2699 # value for MKDIR_P within a source directory, because that will
2700 # break other packages using the cache if that directory is
2701 # removed, or if the value is a relative name.
2702 MKDIR_P
="$ac_install_sh -d"
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2706 $as_echo "$MKDIR_P" >&6; }
2710 [\\/$
]* | ?
:[\\/]*) ;;
2711 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2714 for ac_prog
in gawk mawk nawk
awk
2716 # Extract the first word of "$ac_prog", so it can be a program name with args.
2717 set dummy
$ac_prog; ac_word
=$2
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2719 $as_echo_n "checking for $ac_word... " >&6; }
2720 if ${ac_cv_prog_AWK+:} false
; then :
2721 $as_echo_n "(cached) " >&6
2723 if test -n "$AWK"; then
2724 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2730 test -z "$as_dir" && as_dir
=.
2731 for ac_exec_ext
in '' $ac_executable_extensions; do
2732 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2733 ac_cv_prog_AWK
="$ac_prog"
2734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2744 if test -n "$AWK"; then
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2746 $as_echo "$AWK" >&6; }
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2749 $as_echo "no" >&6; }
2753 test -n "$AWK" && break
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2757 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2759 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2760 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2761 $as_echo_n "(cached) " >&6
2763 cat >conftest.
make <<\_ACEOF
2766 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2768 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2769 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2771 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2773 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2777 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2779 $as_echo "yes" >&6; }
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2783 $as_echo "no" >&6; }
2784 SET_MAKE
="MAKE=${MAKE-make}"
2787 rm -rf .tst
2>/dev
/null
2788 mkdir .tst
2>/dev
/null
2789 if test -d .tst
; then
2794 rmdir .tst
2>/dev
/null
2796 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2797 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2798 # is not polluted with repeated "-I."
2799 am__isrc
=' -I$(srcdir)'
2800 # test to see if srcdir already configured
2801 if test -f $srcdir/config.status
; then
2802 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2806 # test whether we have cygpath
2807 if test -z "$CYGPATH_W"; then
2808 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2809 CYGPATH_W
='cygpath -w'
2816 # Define the identity of the package.
2818 VERSION
='20130427unstable'
2821 cat >>confdefs.h
<<_ACEOF
2822 #define PACKAGE "$PACKAGE"
2826 cat >>confdefs.h
<<_ACEOF
2827 #define VERSION "$VERSION"
2830 # Some tools Automake needs.
2832 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2835 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2838 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2841 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2844 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2846 # We need awk for the "check" target. The system "awk" is bad on
2848 # Always define AMTAR for backward compatibility. Yes, it's still used
2849 # in the wild :-( We should find a proper way to deprecate it ...
2852 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2858 ac_config_headers
="$ac_config_headers config.h"
2860 # Check whether --enable-silent-rules was given.
2861 if test "${enable_silent_rules+set}" = set; then :
2862 enableval
=$enable_silent_rules;
2865 case $enable_silent_rules in
2866 yes) AM_DEFAULT_VERBOSITY
=0;;
2867 no
) AM_DEFAULT_VERBOSITY
=1;;
2868 *) AM_DEFAULT_VERBOSITY
=0;;
2870 am_make
=${MAKE-make}
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2872 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2873 if ${am_cv_make_support_nested_variables+:} false
; then :
2874 $as_echo_n "(cached) " >&6
2876 if $as_echo 'TRUE=$(BAR$(V))
2882 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2883 am_cv_make_support_nested_variables
=yes
2885 am_cv_make_support_nested_variables
=no
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2889 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2890 if test $am_cv_make_support_nested_variables = yes; then
2892 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2894 AM_V
=$AM_DEFAULT_VERBOSITY
2895 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2903 ac_cpp='$CPP $CPPFLAGS'
2904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
2905 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
2906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2907 if test -n "$ac_tool_prefix"; then
2908 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2909 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2911 $as_echo_n "checking for $ac_word... " >&6; }
2912 if ${ac_cv_prog_CC+:} false; then :
2913 $as_echo_n "(cached) " >&6
2915 if test -n "$CC"; then
2916 ac_cv_prog_CC="$CC" # Let the user override the test.
2918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2922 test -z "$as_dir" && as_dir=.
2923 for ac_exec_ext in '' $ac_executable_extensions; do
2924 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2925 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2936 if test -n "$CC"; then
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2938 $as_echo "$CC" >&6; }
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2941 $as_echo "no" >&6; }
2946 if test -z "$ac_cv_prog_CC"; then
2948 # Extract the first word of "gcc", so it can be a program name with args.
2949 set dummy gcc; ac_word=$2
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2951 $as_echo_n "checking for $ac_word... " >&6; }
2952 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2953 $as_echo_n "(cached) " >&6
2955 if test -n "$ac_ct_CC"; then
2956 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2962 test -z "$as_dir" && as_dir=.
2963 for ac_exec_ext in '' $ac_executable_extensions; do
2964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2965 ac_cv_prog_ac_ct_CC="gcc"
2966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2975 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2976 if test -n "$ac_ct_CC"; then
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2978 $as_echo "$ac_ct_CC" >&6; }
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2981 $as_echo "no" >&6; }
2984 if test "x$ac_ct_CC" = x; then
2987 case $cross_compiling:$ac_tool_warned in
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2990 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2991 ac_tool_warned=yes ;;
2999 if test -z "$CC"; then
3000 if test -n "$ac_tool_prefix"; then
3001 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3002 set dummy ${ac_tool_prefix}cc; ac_word=$2
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3004 $as_echo_n "checking for $ac_word... " >&6; }
3005 if ${ac_cv_prog_CC+:} false; then :
3006 $as_echo_n "(cached) " >&6
3008 if test -n "$CC"; then
3009 ac_cv_prog_CC="$CC" # Let the user override the test.
3011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3015 test -z "$as_dir" && as_dir=.
3016 for ac_exec_ext in '' $ac_executable_extensions; do
3017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3018 ac_cv_prog_CC="${ac_tool_prefix}cc"
3019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3029 if test -n "$CC"; then
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3031 $as_echo "$CC" >&6; }
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3034 $as_echo "no" >&6; }
3040 if test -z "$CC"; then
3041 # Extract the first word of "cc", so it can be a program name with args.
3042 set dummy cc; ac_word=$2
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3044 $as_echo_n "checking for $ac_word... " >&6; }
3045 if ${ac_cv_prog_CC+:} false; then :
3046 $as_echo_n "(cached) " >&6
3048 if test -n "$CC"; then
3049 ac_cv_prog_CC="$CC" # Let the user override the test.
3052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3056 test -z "$as_dir" && as_dir=.
3057 for ac_exec_ext in '' $ac_executable_extensions; do
3058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3059 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3060 ac_prog_rejected=yes
3064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3071 if test $ac_prog_rejected = yes; then
3072 # We found a bogon in the path, so make sure we never use it.
3073 set dummy $ac_cv_prog_CC
3075 if test $# != 0; then
3076 # We chose a different compiler from the bogus one.
3077 # However, it has the same basename, so the bogon will be chosen
3078 # first if we set CC to just the basename; use the full file name.
3080 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3086 if test -n "$CC"; then
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3088 $as_echo "$CC" >&6; }
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3091 $as_echo "no" >&6; }
3096 if test -z "$CC"; then
3097 if test -n "$ac_tool_prefix"; then
3098 for ac_prog in cl.exe
3100 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3101 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3103 $as_echo_n "checking for $ac_word... " >&6; }
3104 if ${ac_cv_prog_CC+:} false; then :
3105 $as_echo_n "(cached) " >&6
3107 if test -n "$CC"; then
3108 ac_cv_prog_CC="$CC" # Let the user override the test.
3110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3114 test -z "$as_dir" && as_dir=.
3115 for ac_exec_ext in '' $ac_executable_extensions; do
3116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3117 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3128 if test -n "$CC"; then
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3130 $as_echo "$CC" >&6; }
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3133 $as_echo "no" >&6; }
3137 test -n "$CC" && break
3140 if test -z "$CC"; then
3142 for ac_prog in cl.exe
3144 # Extract the first word of "$ac_prog", so it can be a program name with args.
3145 set dummy $ac_prog; ac_word=$2
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3147 $as_echo_n "checking for $ac_word... " >&6; }
3148 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3149 $as_echo_n "(cached) " >&6
3151 if test -n "$ac_ct_CC"; then
3152 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3158 test -z "$as_dir" && as_dir=.
3159 for ac_exec_ext in '' $ac_executable_extensions; do
3160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3161 ac_cv_prog_ac_ct_CC="$ac_prog"
3162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3171 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3172 if test -n "$ac_ct_CC"; then
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3174 $as_echo "$ac_ct_CC" >&6; }
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3177 $as_echo "no" >&6; }
3181 test -n "$ac_ct_CC" && break
3184 if test "x$ac_ct_CC" = x; then
3187 case $cross_compiling:$ac_tool_warned in
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3191 ac_tool_warned=yes ;;
3200 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3201 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3202 as_fn_error $? "no acceptable C compiler found in \$PATH
3203 See \`config.log
' for more details" "$LINENO" 5; }
3205 # Provide some information about the compiler.
3206 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3209 for ac_option in --version -v -V -qversion; do
3210 { { ac_try="$ac_compiler $ac_option >&5"
3212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3213 *) ac_try_echo=$ac_try;;
3215 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3216 $as_echo "$ac_try_echo"; } >&5
3217 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3219 if test -s conftest.err; then
3221 ... rest of stderr output deleted ...
3222 10q
' conftest.err >conftest.er1
3223 cat conftest.er1 >&5
3225 rm -f conftest.er1 conftest.err
3226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3227 test $ac_status = 0; }
3230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3231 /* end confdefs.h. */
3241 ac_clean_files_save=$ac_clean_files
3242 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3243 # Try to create an executable without -o first, disregard a.out.
3244 # It will help us diagnose broken compilers, and finding out an intuition
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3247 $as_echo_n "checking whether the C compiler works... " >&6; }
3248 ac_link_default=`$as_echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
3250 # The possible output files:
3251 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3254 for ac_file in $ac_files
3257 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3258 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3263 if { { ac_try="$ac_link_default"
3265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3266 *) ac_try_echo=$ac_try;;
3268 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3269 $as_echo "$ac_try_echo"; } >&5
3270 (eval "$ac_link_default") 2>&5
3272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3273 test $ac_status = 0; }; then :
3274 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3275 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3276 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3277 # so that the user can short-circuit this test for compilers unknown to
3279 for ac_file
in $ac_files ''
3281 test -f "$ac_file" ||
continue
3283 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3286 # We found the default executable, but exeext='' is most
3290 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3292 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3294 # We set ac_cv_exeext here because the later test for it is not
3295 # safe: cross compilers may not add the suffix if given an `-o'
3296 # argument, so we may need to know it at that point already.
3297 # Even if this section looks crufty: it has the advantage of
3304 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3309 if test -z "$ac_file"; then :
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3311 $as_echo "no" >&6; }
3312 $as_echo "$as_me: failed program was:" >&5
3313 sed 's/^/| /' conftest.
$ac_ext >&5
3315 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3316 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3317 as_fn_error
77 "C compiler cannot create executables
3318 See \`config.log' for more details" "$LINENO" 5; }
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3321 $as_echo "yes" >&6; }
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3324 $as_echo_n "checking for C compiler default output file name... " >&6; }
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3326 $as_echo "$ac_file" >&6; }
3327 ac_exeext
=$ac_cv_exeext
3329 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3330 ac_clean_files
=$ac_clean_files_save
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3332 $as_echo_n "checking for suffix of executables... " >&6; }
3333 if { { ac_try
="$ac_link"
3335 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3336 *) ac_try_echo=$ac_try;;
3338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3339 $as_echo "$ac_try_echo"; } >&5
3340 (eval "$ac_link") 2>&5
3342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3343 test $ac_status = 0; }; then :
3344 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3345 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3346 # work properly (i.e., refer to `conftest.exe'), while it won't with
3348 for ac_file
in conftest.exe conftest conftest.
*; do
3349 test -f "$ac_file" ||
continue
3351 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3352 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3358 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3360 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3361 See \`config.log' for more details" "$LINENO" 5; }
3363 rm -f conftest conftest
$ac_cv_exeext
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3365 $as_echo "$ac_cv_exeext" >&6; }
3367 rm -f conftest.
$ac_ext
3368 EXEEXT
=$ac_cv_exeext
3370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3371 /* end confdefs.h. */
3376 FILE *f = fopen ("conftest.out", "w");
3377 return ferror (f) || fclose (f) != 0;
3383 ac_clean_files
="$ac_clean_files conftest.out"
3384 # Check that the compiler produces executables we can run. If not, either
3385 # the compiler is broken, or we cross compile.
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3387 $as_echo_n "checking whether we are cross compiling... " >&6; }
3388 if test "$cross_compiling" != yes; then
3389 { { ac_try
="$ac_link"
3391 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3392 *) ac_try_echo=$ac_try;;
3394 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3395 $as_echo "$ac_try_echo"; } >&5
3396 (eval "$ac_link") 2>&5
3398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3399 test $ac_status = 0; }
3400 if { ac_try='./conftest$ac_cv_exeext'
3401 { { case "(($ac_try" in
3402 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3403 *) ac_try_echo
=$ac_try;;
3405 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3406 $as_echo "$ac_try_echo"; } >&5
3407 (eval "$ac_try") 2>&5
3409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3410 test $ac_status = 0; }; }; then
3413 if test "$cross_compiling" = maybe
; then
3416 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3418 as_fn_error $?
"cannot run C compiled programs.
3419 If you meant to cross compile, use \`--host'.
3420 See \`config.log' for more details" "$LINENO" 5; }
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3425 $as_echo "$cross_compiling" >&6; }
3427 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3428 ac_clean_files
=$ac_clean_files_save
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3430 $as_echo_n "checking for suffix of object files... " >&6; }
3431 if ${ac_cv_objext+:} false
; then :
3432 $as_echo_n "(cached) " >&6
3434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3435 /* end confdefs.h. */
3445 rm -f conftest.o conftest.obj
3446 if { { ac_try
="$ac_compile"
3448 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3449 *) ac_try_echo=$ac_try;;
3451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3452 $as_echo "$ac_try_echo"; } >&5
3453 (eval "$ac_compile") 2>&5
3455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3456 test $ac_status = 0; }; then :
3457 for ac_file in conftest.o conftest.obj conftest.*; do
3458 test -f "$ac_file" || continue;
3460 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3461 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3466 $as_echo "$as_me: failed program was:" >&5
3467 sed 's/^/| /' conftest.$ac_ext >&5
3469 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3470 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3471 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3472 See \
`config.log' for more details" "$LINENO" 5; }
3474 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3477 $as_echo "$ac_cv_objext" >&6; }
3478 OBJEXT=$ac_cv_objext
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3481 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3482 if ${ac_cv_c_compiler_gnu+:} false; then :
3483 $as_echo_n "(cached) " >&6
3485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3486 /* end confdefs.h. */
3499 if ac_fn_c_try_compile "$LINENO"; then :
3504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3505 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3509 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3510 if test $ac_compiler_gnu = yes; then
3515 ac_test_CFLAGS=${CFLAGS+set}
3516 ac_save_CFLAGS=$CFLAGS
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3518 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3519 if ${ac_cv_prog_cc_g+:} false; then :
3520 $as_echo_n "(cached) " >&6
3522 ac_save_c_werror_flag=$ac_c_werror_flag
3523 ac_c_werror_flag=yes
3526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3527 /* end confdefs.h. */
3537 if ac_fn_c_try_compile "$LINENO"; then :
3541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3542 /* end confdefs.h. */
3552 if ac_fn_c_try_compile "$LINENO"; then :
3555 ac_c_werror_flag=$ac_save_c_werror_flag
3557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3558 /* end confdefs.h. */
3568 if ac_fn_c_try_compile "$LINENO"; then :
3571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3576 ac_c_werror_flag=$ac_save_c_werror_flag
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3579 $as_echo "$ac_cv_prog_cc_g" >&6; }
3580 if test "$ac_test_CFLAGS" = set; then
3581 CFLAGS=$ac_save_CFLAGS
3582 elif test $ac_cv_prog_cc_g = yes; then
3583 if test "$GCC" = yes; then
3589 if test "$GCC" = yes; then
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3596 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3597 if ${ac_cv_prog_cc_c89+:} false; then :
3598 $as_echo_n "(cached) " >&6
3600 ac_cv_prog_cc_c89=no
3602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3603 /* end confdefs.h. */
3607 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3608 struct buf { int x; };
3609 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3610 static char *e (p, i)
3616 static char *f (char * (*g) (char **, int), char **p, ...)
3621 s = g (p, va_arg (v,int));
3626 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3627 function prototypes and stuff, but not '\xHH' hex character constants.
3628 These don't provoke an error unfortunately, instead are silently treated
3629 as 'x'. The following induces an error, until -std is added to get
3630 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3631 array size at least. It's necessary to write '\x00'==0 to get something
3632 that's true only with -std. */
3633 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3635 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3636 inside strings and character constants. */
3638 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3640 int test (int i, double x);
3641 struct s1 {int (*f) (int a);};
3642 struct s2 {int (*f) (double a);};
3643 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3649 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3654 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3655 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3657 CC="$ac_save_CC $ac_arg"
3658 if ac_fn_c_try_compile "$LINENO"; then :
3659 ac_cv_prog_cc_c89=$ac_arg
3661 rm -f core conftest.err conftest.$ac_objext
3662 test "x$ac_cv_prog_cc_c89" != "xno" && break
3664 rm -f conftest.$ac_ext
3669 case "x$ac_cv_prog_cc_c89" in
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3672 $as_echo "none needed" >&6; } ;;
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3675 $as_echo "unsupported" >&6; } ;;
3677 CC="$CC $ac_cv_prog_cc_c89"
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3679 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3681 if test "x$ac_cv_prog_cc_c89" != xno; then :
3686 ac_cpp='$CPP $CPPFLAGS'
3687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3690 DEPDIR="${am__leading_dot}deps"
3692 ac_config_commands="$ac_config_commands depfiles"
3695 am_make=${MAKE-make}
3696 cat > confinc << 'END'
3698 @echo this is the am__doit target
3701 # If we don't find an include directive, just comment out the code.
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3703 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3707 # First try GNU make style include.
3708 echo "include confinc" > confmf
3709 # Ignore all kinds of additional output from `make'.
3710 case `$am_make -s -f confmf 2> /dev/null` in #(
3711 *the\ am__doit\ target*)
3717 # Now try BSD make style include.
3718 if test "$am__include" = "#"; then
3719 echo '.include
"confinc"' > confmf
3720 case `$am_make -s -f confmf 2> /dev/null` in #(
3721 *the\ am__doit\ target*)
3722 am__include=.include
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3731 $as_echo "$_am_result" >&6; }
3732 rm -f confinc confmf
3734 # Check whether --enable-dependency-tracking was given.
3735 if test "${enable_dependency_tracking+set}" = set; then :
3736 enableval=$enable_dependency_tracking;
3739 if test "x$enable_dependency_tracking" != xno; then
3740 am_depcomp="$ac_aux_dir/depcomp"
3744 if test "x$enable_dependency_tracking" != xno
; then
3754 depcc
="$CC" am_compiler_list
=
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3757 $as_echo_n "checking dependency style of $depcc... " >&6; }
3758 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
3759 $as_echo_n "(cached) " >&6
3761 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3762 # We make a subdir and do the tests there. Otherwise we can end up
3763 # making bogus files that we don't know about and never remove. For
3764 # instance it was reported that on HP-UX the gcc test will end up
3765 # making a dummy file named `D' -- because `-MD' means `put the output
3769 # Copy depcomp to subdir because otherwise we won't find it if we're
3770 # using a relative directory.
3771 cp "$am_depcomp" conftest.dir
3773 # We will build objects and dependencies in a subdirectory because
3774 # it helps to detect inapplicable dependency modes. For instance
3775 # both Tru64's cc and ICC support -MD to output dependencies as a
3776 # side effect of compilation, but ICC will put the dependencies in
3777 # the current directory while Tru64 will put them in the object
3781 am_cv_CC_dependencies_compiler_type
=none
3782 if test "$am_compiler_list" = ""; then
3783 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3786 case " $depcc " in #(
3787 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3790 for depmode
in $am_compiler_list; do
3791 # Setup a source with many dependencies, because some compilers
3792 # like to wrap large dependency lists on column 80 (with \), and
3793 # we should not choose a depcomp mode which is confused by this.
3795 # We need to recreate these files for each test, as the compiler may
3796 # overwrite some of them when testing with obscure command lines.
3797 # This happens at least with the AIX C compiler.
3799 for i
in 1 2 3 4 5 6; do
3800 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3801 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3802 # Solaris 8's {/usr,}/bin/sh.
3803 touch sub
/conftst
$i.h
3805 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3807 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3808 # mode. It turns out that the SunPro C++ compiler does not properly
3809 # handle `-M -o', and we need to detect this. Also, some Intel
3810 # versions had trouble with output in subdirs
3811 am__obj
=sub
/conftest.
${OBJEXT-o}
3812 am__minus_obj
="-o $am__obj"
3815 # This depmode causes a compiler race in universal mode.
3816 test "$am__universal" = false ||
continue
3819 # after this tag, mechanisms are not by side-effect, so they'll
3820 # only be used when explicitly requested
3821 if test "x$enable_dependency_tracking" = xyes
; then
3827 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
3828 # This compiler won't grok `-c -o', but also, the minuso test has
3829 # not run yet. These depmodes are late enough in the game, and
3830 # so weak that their functioning should not be impacted.
3831 am__obj
=conftest.
${OBJEXT-o}
3836 if depmode
=$depmode \
3837 source=sub
/conftest.c object
=$am__obj \
3838 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3839 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3840 >/dev
/null
2>conftest.err
&&
3841 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3842 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3843 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3844 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3845 # icc doesn't choke on unknown options, it will just issue warnings
3846 # or remarks (even with -Werror). So we grep stderr for any message
3847 # that says an option was ignored or not supported.
3848 # When given -MP, icc 7.0 and 7.1 complain thusly:
3849 # icc: Command line warning: ignoring option '-M'; no argument required
3850 # The diagnosis changed in icc 8.0:
3851 # icc: Command line remark: option '-MP' not supported
3852 if (grep 'ignoring option' conftest.err ||
3853 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3854 am_cv_CC_dependencies_compiler_type
=$depmode
3863 am_cv_CC_dependencies_compiler_type
=none
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3868 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3869 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3872 test "x$enable_dependency_tracking" != xno \
3873 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3875 am__fastdepCC_FALSE
='#'
3877 am__fastdepCC_TRUE
='#'
3878 am__fastdepCC_FALSE
=
3883 ac_cpp
='$CXXCPP $CPPFLAGS'
3884 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3885 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3886 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3887 if test -z "$CXX"; then
3888 if test -n "$CCC"; then
3891 if test -n "$ac_tool_prefix"; then
3892 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3894 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3895 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3897 $as_echo_n "checking for $ac_word... " >&6; }
3898 if ${ac_cv_prog_CXX+:} false
; then :
3899 $as_echo_n "(cached) " >&6
3901 if test -n "$CXX"; then
3902 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3908 test -z "$as_dir" && as_dir
=.
3909 for ac_exec_ext
in '' $ac_executable_extensions; do
3910 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3911 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3922 if test -n "$CXX"; then
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3924 $as_echo "$CXX" >&6; }
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3927 $as_echo "no" >&6; }
3931 test -n "$CXX" && break
3934 if test -z "$CXX"; then
3936 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3938 # Extract the first word of "$ac_prog", so it can be a program name with args.
3939 set dummy
$ac_prog; ac_word
=$2
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3941 $as_echo_n "checking for $ac_word... " >&6; }
3942 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
3943 $as_echo_n "(cached) " >&6
3945 if test -n "$ac_ct_CXX"; then
3946 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3952 test -z "$as_dir" && as_dir
=.
3953 for ac_exec_ext
in '' $ac_executable_extensions; do
3954 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3955 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3965 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3966 if test -n "$ac_ct_CXX"; then
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3968 $as_echo "$ac_ct_CXX" >&6; }
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3971 $as_echo "no" >&6; }
3975 test -n "$ac_ct_CXX" && break
3978 if test "x$ac_ct_CXX" = x
; then
3981 case $cross_compiling:$ac_tool_warned in
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3984 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3985 ac_tool_warned
=yes ;;
3993 # Provide some information about the compiler.
3994 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3997 for ac_option
in --version -v -V -qversion; do
3998 { { ac_try
="$ac_compiler $ac_option >&5"
4000 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4001 *) ac_try_echo=$ac_try;;
4003 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4004 $as_echo "$ac_try_echo"; } >&5
4005 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4007 if test -s conftest.err; then
4009 ... rest of stderr output deleted ...
4010 10q' conftest.err >conftest.er1
4011 cat conftest.er1 >&5
4013 rm -f conftest.er1 conftest.err
4014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4015 test $ac_status = 0; }
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4019 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4020 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4021 $as_echo_n "(cached) " >&6
4023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4024 /* end confdefs.h. */
4037 if ac_fn_cxx_try_compile "$LINENO"; then :
4042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4043 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4047 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4048 if test $ac_compiler_gnu = yes; then
4053 ac_test_CXXFLAGS=${CXXFLAGS+set}
4054 ac_save_CXXFLAGS=$CXXFLAGS
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4056 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4057 if ${ac_cv_prog_cxx_g+:} false; then :
4058 $as_echo_n "(cached) " >&6
4060 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4061 ac_cxx_werror_flag=yes
4064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4065 /* end confdefs.h. */
4075 if ac_fn_cxx_try_compile "$LINENO"; then :
4076 ac_cv_prog_cxx_g=yes
4079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4080 /* end confdefs.h. */
4090 if ac_fn_cxx_try_compile "$LINENO"; then :
4093 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4096 /* end confdefs.h. */
4106 if ac_fn_cxx_try_compile "$LINENO"; then :
4107 ac_cv_prog_cxx_g=yes
4109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4114 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4117 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4118 if test "$ac_test_CXXFLAGS" = set; then
4119 CXXFLAGS=$ac_save_CXXFLAGS
4120 elif test $ac_cv_prog_cxx_g = yes; then
4121 if test "$GXX" = yes; then
4127 if test "$GXX" = yes; then
4134 ac_cpp='$CPP $CPPFLAGS'
4135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4139 depcc="$CXX" am_compiler_list=
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4142 $as_echo_n "checking dependency style of $depcc... " >&6; }
4143 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4144 $as_echo_n "(cached) " >&6
4146 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4147 # We make a subdir and do the tests there. Otherwise we can end up
4148 # making bogus files that we don't know about and never remove. For
4149 # instance it was reported that on HP-UX the gcc test will end up
4150 # making a dummy file named `D
' -- because `-MD' means
`put the output
4154 # Copy depcomp to subdir because otherwise we won't find it if we're
4155 # using a relative directory.
4156 cp "$am_depcomp" conftest.dir
4158 # We will build objects and dependencies in a subdirectory because
4159 # it helps to detect inapplicable dependency modes. For instance
4160 # both Tru64's cc and ICC support -MD to output dependencies as a
4161 # side effect of compilation, but ICC will put the dependencies in
4162 # the current directory while Tru64 will put them in the object
4166 am_cv_CXX_dependencies_compiler_type=none
4167 if test "$am_compiler_list" = ""; then
4168 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4171 case " $depcc " in #(
4172 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4175 for depmode in $am_compiler_list; do
4176 # Setup a source with many dependencies, because some compilers
4177 # like to wrap large dependency lists on column 80 (with \), and
4178 # we should not choose a depcomp mode which is confused by this.
4180 # We need to recreate these files for each test, as the compiler may
4181 # overwrite some of them when testing with obscure command lines.
4182 # This happens at least with the AIX C compiler.
4184 for i in 1 2 3 4 5 6; do
4185 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4186 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4187 # Solaris 8's
{/usr
,}/bin
/sh.
4188 touch sub
/conftst
$i.h
4190 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4192 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4193 # mode. It turns out that the SunPro C++ compiler does not properly
4194 # handle `-M -o', and we need to detect this. Also, some Intel
4195 # versions had trouble with output in subdirs
4196 am__obj
=sub
/conftest.
${OBJEXT-o}
4197 am__minus_obj
="-o $am__obj"
4200 # This depmode causes a compiler race in universal mode.
4201 test "$am__universal" = false ||
continue
4204 # after this tag, mechanisms are not by side-effect, so they'll
4205 # only be used when explicitly requested
4206 if test "x$enable_dependency_tracking" = xyes
; then
4212 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4213 # This compiler won't grok `-c -o', but also, the minuso test has
4214 # not run yet. These depmodes are late enough in the game, and
4215 # so weak that their functioning should not be impacted.
4216 am__obj
=conftest.
${OBJEXT-o}
4221 if depmode
=$depmode \
4222 source=sub
/conftest.c object
=$am__obj \
4223 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4224 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4225 >/dev
/null
2>conftest.err
&&
4226 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4227 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4228 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4229 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4230 # icc doesn't choke on unknown options, it will just issue warnings
4231 # or remarks (even with -Werror). So we grep stderr for any message
4232 # that says an option was ignored or not supported.
4233 # When given -MP, icc 7.0 and 7.1 complain thusly:
4234 # icc: Command line warning: ignoring option '-M'; no argument required
4235 # The diagnosis changed in icc 8.0:
4236 # icc: Command line remark: option '-MP' not supported
4237 if (grep 'ignoring option' conftest.err ||
4238 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4239 am_cv_CXX_dependencies_compiler_type
=$depmode
4248 am_cv_CXX_dependencies_compiler_type
=none
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4253 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4254 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4257 test "x$enable_dependency_tracking" != xno \
4258 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4259 am__fastdepCXX_TRUE
=
4260 am__fastdepCXX_FALSE
='#'
4262 am__fastdepCXX_TRUE
='#'
4263 am__fastdepCXX_FALSE
=
4267 if test "x$CC" != xcc
; then
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4269 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4272 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4274 set dummy
$CC; ac_cc
=`$as_echo "$2" |
4275 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4276 if eval \
${ac_cv_prog_cc_${ac_cc}_c_o+:} false
; then :
4277 $as_echo_n "(cached) " >&6
4279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4280 /* end confdefs.h. */
4290 # Make sure it works both with $CC and with simple cc.
4291 # We do the test twice because some compilers refuse to overwrite an
4292 # existing .o file with -o, though they will create one.
4293 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4295 if { { case "(($ac_try" in
4296 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4297 *) ac_try_echo=$ac_try;;
4299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4300 $as_echo "$ac_try_echo"; } >&5
4301 (eval "$ac_try") 2>&5
4303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4304 test $ac_status = 0; } &&
4305 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4306 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4307 *) ac_try_echo
=$ac_try;;
4309 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4310 $as_echo "$ac_try_echo"; } >&5
4311 (eval "$ac_try") 2>&5
4313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4314 test $ac_status = 0; };
4316 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
4317 if test "x$CC" != xcc
; then
4318 # Test first that cc exists at all.
4319 if { ac_try
='cc -c conftest.$ac_ext >&5'
4320 { { case "(($ac_try" in
4321 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4322 *) ac_try_echo=$ac_try;;
4324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4325 $as_echo "$ac_try_echo"; } >&5
4326 (eval "$ac_try") 2>&5
4328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4329 test $ac_status = 0; }; }; then
4330 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4332 if { { case "(($ac_try" in
4333 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4334 *) ac_try_echo
=$ac_try;;
4336 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4337 $as_echo "$ac_try_echo"; } >&5
4338 (eval "$ac_try") 2>&5
4340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4341 test $ac_status = 0; } &&
4342 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
4343 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4344 *) ac_try_echo=$ac_try;;
4346 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4347 $as_echo "$ac_try_echo"; } >&5
4348 (eval "$ac_try") 2>&5
4350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4351 test $ac_status = 0; };
4356 # cc exists but doesn't like -o.
4357 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4362 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4364 rm -f core conftest*
4367 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4369 $as_echo "yes" >&6; }
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4372 $as_echo "no" >&6; }
4374 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4378 # FIXME: we rely on the cache variable name because
4379 # there is no other way.
4381 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4382 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4383 if test "$am_t" != yes; then
4384 # Losing compiler, so override with the script.
4385 # FIXME: It is wrong to rewrite CC.
4386 # But if we don't then we get into trouble of one sort or another.
4387 # A longer-term fix would be to have automake use am__CC in this case,
4388 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4389 CC="$am_aux_dir/compile $CC"
4400 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4401 if test -n "$ac_tool_prefix"; then
4402 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4403 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4405 $as_echo_n "checking for $ac_word... " >&6; }
4406 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4407 $as_echo_n "(cached) " >&6
4411 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4418 test -z "$as_dir" && as_dir=.
4419 for ac_exec_ext in '' $ac_executable_extensions; do
4420 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4421 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4432 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4433 if test -n "$PKG_CONFIG"; then
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4435 $as_echo "$PKG_CONFIG" >&6; }
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4438 $as_echo "no" >&6; }
4443 if test -z "$ac_cv_path_PKG_CONFIG"; then
4444 ac_pt_PKG_CONFIG=$PKG_CONFIG
4445 # Extract the first word of "pkg-config", so it can be a program name with args.
4446 set dummy pkg-config; ac_word=$2
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4448 $as_echo_n "checking for $ac_word... " >&6; }
4449 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4450 $as_echo_n "(cached) " >&6
4452 case $ac_pt_PKG_CONFIG in
4454 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4461 test -z "$as_dir" && as_dir=.
4462 for ac_exec_ext in '' $ac_executable_extensions; do
4463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4464 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4475 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4476 if test -n "$ac_pt_PKG_CONFIG"; then
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4478 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4481 $as_echo "no" >&6; }
4484 if test "x$ac_pt_PKG_CONFIG" = x; then
4487 case $cross_compiling:$ac_tool_warned in
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4491 ac_tool_warned=yes ;;
4493 PKG_CONFIG=$ac_pt_PKG_CONFIG
4496 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4500 if test -n "$PKG_CONFIG"; then
4501 _pkg_min_version=0.9.0
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4503 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4504 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4506 $as_echo "yes" >&6; }
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4509 $as_echo "no" >&6; }
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4516 $as_echo_n "checking for library containing strerror... " >&6; }
4517 if ${ac_cv_search_strerror+:} false; then :
4518 $as_echo_n "(cached) " >&6
4520 ac_func_search_save_LIBS=$LIBS
4521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4522 /* end confdefs.h. */
4524 /* Override any GCC internal prototype to avoid an error.
4525 Use char because int might match the return type of a GCC
4526 builtin and then its argument prototype would still apply. */
4539 for ac_lib in '' cposix; do
4540 if test -z "$ac_lib"; then
4541 ac_res="none required"
4544 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4546 if ac_fn_c_try_link "$LINENO"; then :
4547 ac_cv_search_strerror=$ac_res
4549 rm -f core conftest.err conftest.$ac_objext \
4551 if ${ac_cv_search_strerror+:} false; then :
4555 if ${ac_cv_search_strerror+:} false; then :
4558 ac_cv_search_strerror=no
4561 LIBS=$ac_func_search_save_LIBS
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4564 $as_echo "$ac_cv_search_strerror" >&6; }
4565 ac_res=$ac_cv_search_strerror
4566 if test "$ac_res" != no; then :
4567 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4572 ac_cpp='$CPP $CPPFLAGS'
4573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4577 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4578 # On Suns, sometimes $CPP names a directory.
4579 if test -n "$CPP" && test -d "$CPP"; then
4582 if test -z "$CPP"; then
4583 if ${ac_cv_prog_CPP+:} false; then :
4584 $as_echo_n "(cached) " >&6
4586 # Double quotes because CPP needs to be expanded
4587 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4590 for ac_c_preproc_warn_flag in '' yes
4592 # Use a header file that comes with gcc, so configuring glibc
4593 # with a fresh cross-compiler works.
4594 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4595 # <limits.h> exists even on freestanding compilers.
4596 # On the NeXT, cc -E runs the code through the compiler's parser,
4597 # not just through cpp. "Syntax error" is here to catch this case.
4598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4599 /* end confdefs.h. */
4601 # include <limits.h>
4603 # include <assert.h>
4607 if ac_fn_c_try_cpp "$LINENO"; then :
4610 # Broken: fails on valid input.
4613 rm -f conftest.err conftest.i conftest.$ac_ext
4615 # OK, works on sane cases. Now check whether nonexistent headers
4616 # can be detected and how.
4617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4618 /* end confdefs.h. */
4619 #include <ac_nonexistent.h>
4621 if ac_fn_c_try_cpp "$LINENO"; then :
4622 # Broken: success on invalid input.
4625 # Passes both tests.
4629 rm -f conftest.err conftest.i conftest.$ac_ext
4632 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4633 rm -f conftest.i conftest.err conftest.
$ac_ext
4634 if $ac_preproc_ok; then :
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4647 $as_echo "$CPP" >&6; }
4649 for ac_c_preproc_warn_flag
in '' yes
4651 # Use a header file that comes with gcc, so configuring glibc
4652 # with a fresh cross-compiler works.
4653 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4654 # <limits.h> exists even on freestanding compilers.
4655 # On the NeXT, cc -E runs the code through the compiler's parser,
4656 # not just through cpp. "Syntax error" is here to catch this case.
4657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4658 /* end confdefs.h. */
4660 # include <limits.h>
4662 # include <assert.h>
4666 if ac_fn_c_try_cpp
"$LINENO"; then :
4669 # Broken: fails on valid input.
4672 rm -f conftest.err conftest.i conftest.
$ac_ext
4674 # OK, works on sane cases. Now check whether nonexistent headers
4675 # can be detected and how.
4676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4677 /* end confdefs.h. */
4678 #include <ac_nonexistent.h>
4680 if ac_fn_c_try_cpp
"$LINENO"; then :
4681 # Broken: success on invalid input.
4684 # Passes both tests.
4688 rm -f conftest.err conftest.i conftest.
$ac_ext
4691 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4692 rm -f conftest.i conftest.err conftest.
$ac_ext
4693 if $ac_preproc_ok; then :
4696 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4697 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4698 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4699 See \`config.log' for more details" "$LINENO" 5; }
4703 ac_cpp
='$CPP $CPPFLAGS'
4704 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4705 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4706 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4710 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4711 if ${ac_cv_path_GREP+:} false
; then :
4712 $as_echo_n "(cached) " >&6
4714 if test -z "$GREP"; then
4715 ac_path_GREP_found
=false
4716 # Loop through the user's path and test for each of PROGNAME-LIST
4717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4718 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4721 test -z "$as_dir" && as_dir
=.
4722 for ac_prog
in grep ggrep
; do
4723 for ac_exec_ext
in '' $ac_executable_extensions; do
4724 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4725 as_fn_executable_p
"$ac_path_GREP" ||
continue
4726 # Check for GNU ac_path_GREP and select it if it is found.
4727 # Check for GNU $ac_path_GREP
4728 case `"$ac_path_GREP" --version 2>&1` in
4730 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4733 $as_echo_n 0123456789 >"conftest.in"
4736 cat "conftest.in" "conftest.in" >"conftest.tmp"
4737 mv "conftest.tmp" "conftest.in"
4738 cp "conftest.in" "conftest.nl"
4739 $as_echo 'GREP' >> "conftest.nl"
4740 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4741 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4742 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4743 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4744 # Best one so far, save it but keep looking for a better one
4745 ac_cv_path_GREP
="$ac_path_GREP"
4746 ac_path_GREP_max
=$ac_count
4748 # 10*(2^10) chars as input seems more than enough
4749 test $ac_count -gt 10 && break
4751 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4754 $ac_path_GREP_found && break 3
4759 if test -z "$ac_cv_path_GREP"; then
4760 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4763 ac_cv_path_GREP
=$GREP
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4768 $as_echo "$ac_cv_path_GREP" >&6; }
4769 GREP
="$ac_cv_path_GREP"
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4773 $as_echo_n "checking for egrep... " >&6; }
4774 if ${ac_cv_path_EGREP+:} false
; then :
4775 $as_echo_n "(cached) " >&6
4777 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4778 then ac_cv_path_EGREP
="$GREP -E"
4780 if test -z "$EGREP"; then
4781 ac_path_EGREP_found
=false
4782 # Loop through the user's path and test for each of PROGNAME-LIST
4783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4784 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4787 test -z "$as_dir" && as_dir
=.
4788 for ac_prog
in egrep; do
4789 for ac_exec_ext
in '' $ac_executable_extensions; do
4790 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4791 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4792 # Check for GNU ac_path_EGREP and select it if it is found.
4793 # Check for GNU $ac_path_EGREP
4794 case `"$ac_path_EGREP" --version 2>&1` in
4796 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4799 $as_echo_n 0123456789 >"conftest.in"
4802 cat "conftest.in" "conftest.in" >"conftest.tmp"
4803 mv "conftest.tmp" "conftest.in"
4804 cp "conftest.in" "conftest.nl"
4805 $as_echo 'EGREP' >> "conftest.nl"
4806 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4807 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4808 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4809 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4810 # Best one so far, save it but keep looking for a better one
4811 ac_cv_path_EGREP
="$ac_path_EGREP"
4812 ac_path_EGREP_max
=$ac_count
4814 # 10*(2^10) chars as input seems more than enough
4815 test $ac_count -gt 10 && break
4817 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4820 $ac_path_EGREP_found && break 3
4825 if test -z "$ac_cv_path_EGREP"; then
4826 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4829 ac_cv_path_EGREP
=$EGREP
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4835 $as_echo "$ac_cv_path_EGREP" >&6; }
4836 EGREP
="$ac_cv_path_EGREP"
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4840 $as_echo_n "checking for ANSI C header files... " >&6; }
4841 if ${ac_cv_header_stdc+:} false
; then :
4842 $as_echo_n "(cached) " >&6
4844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4845 /* end confdefs.h. */
4859 if ac_fn_c_try_compile
"$LINENO"; then :
4860 ac_cv_header_stdc
=yes
4862 ac_cv_header_stdc
=no
4864 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4866 if test $ac_cv_header_stdc = yes; then
4867 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4869 /* end confdefs.h. */
4873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4874 $EGREP "memchr" >/dev
/null
2>&1; then :
4877 ac_cv_header_stdc
=no
4883 if test $ac_cv_header_stdc = yes; then
4884 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4886 /* end confdefs.h. */
4890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4891 $EGREP "free" >/dev
/null
2>&1; then :
4894 ac_cv_header_stdc
=no
4900 if test $ac_cv_header_stdc = yes; then
4901 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4902 if test "$cross_compiling" = yes; then :
4905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4906 /* end confdefs.h. */
4909 #if ((' ' & 0x0FF) == 0x020)
4910 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4911 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4913 # define ISLOWER(c) \
4914 (('a' <= (c) && (c) <= 'i') \
4915 || ('j' <= (c) && (c) <= 'r') \
4916 || ('s' <= (c) && (c) <= 'z'))
4917 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4920 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4925 for (i = 0; i < 256; i++)
4926 if (XOR (islower (i), ISLOWER (i))
4927 || toupper (i) != TOUPPER (i))
4932 if ac_fn_c_try_run
"$LINENO"; then :
4935 ac_cv_header_stdc
=no
4937 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4938 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4944 $as_echo "$ac_cv_header_stdc" >&6; }
4945 if test $ac_cv_header_stdc = yes; then
4947 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4952 for ac_func
in setlocale
4954 ac_fn_c_check_func
"$LINENO" "setlocale" "ac_cv_func_setlocale"
4955 if test "x$ac_cv_func_setlocale" = xyes
; then :
4956 cat >>confdefs.h
<<_ACEOF
4957 #define HAVE_SETLOCALE 1
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4966 $as_echo_n "checking whether NLS is requested... " >&6; }
4967 # Check whether --enable-nls was given.
4968 if test "${enable_nls+set}" = set; then :
4969 enableval
=$enable_nls; USE_NLS
=$enableval
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4975 $as_echo "$USE_NLS" >&6; }
4980 GETTEXT_MACRO_VERSION
=0.18
4985 # Prepare PATH_SEPARATOR.
4986 # The user is always right.
4987 if test "${PATH_SEPARATOR+set}" != set; then
4988 echo "#! /bin/sh" >conf$$.sh
4989 echo "exit 0" >>conf$$.sh
4991 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4999 # Find out how to test for executable files. Don't use a zero-byte file,
5000 # as systems may use methods other than mode bits to determine executability.
5001 cat >conf$$.
file <<_ASEOF
5005 chmod +x conf$$.
file
5006 if test -x conf$$.
file >/dev
/null
2>&1; then
5007 ac_executable_p
="test -x"
5009 ac_executable_p
="test -f"
5013 # Extract the first word of "msgfmt", so it can be a program name with args.
5014 set dummy msgfmt
; ac_word
=$2
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5016 $as_echo_n "checking for $ac_word... " >&6; }
5017 if ${ac_cv_path_MSGFMT+:} false
; then :
5018 $as_echo_n "(cached) " >&6
5022 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5025 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5026 for ac_dir
in $PATH; do
5028 test -z "$ac_dir" && ac_dir
=.
5029 for ac_exec_ext
in '' $ac_executable_extensions; do
5030 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5031 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5032 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
5033 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5034 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
5041 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
5045 MSGFMT
="$ac_cv_path_MSGFMT"
5046 if test "$MSGFMT" != ":"; then
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5048 $as_echo "$MSGFMT" >&6; }
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5051 $as_echo "no" >&6; }
5054 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5055 set dummy gmsgfmt
; ac_word
=$2
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5057 $as_echo_n "checking for $ac_word... " >&6; }
5058 if ${ac_cv_path_GMSGFMT+:} false
; then :
5059 $as_echo_n "(cached) " >&6
5063 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5070 test -z "$as_dir" && as_dir
=.
5071 for ac_exec_ext
in '' $ac_executable_extensions; do
5072 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5073 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5081 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5085 GMSGFMT
=$ac_cv_path_GMSGFMT
5086 if test -n "$GMSGFMT"; then
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5088 $as_echo "$GMSGFMT" >&6; }
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5091 $as_echo "no" >&6; }
5096 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5097 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) MSGFMT_015
=: ;;
5098 *) MSGFMT_015
=$MSGFMT ;;
5101 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5102 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) GMSGFMT_015
=: ;;
5103 *) GMSGFMT_015
=$GMSGFMT ;;
5108 # Prepare PATH_SEPARATOR.
5109 # The user is always right.
5110 if test "${PATH_SEPARATOR+set}" != set; then
5111 echo "#! /bin/sh" >conf$$.sh
5112 echo "exit 0" >>conf$$.sh
5114 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5122 # Find out how to test for executable files. Don't use a zero-byte file,
5123 # as systems may use methods other than mode bits to determine executability.
5124 cat >conf$$.
file <<_ASEOF
5128 chmod +x conf$$.
file
5129 if test -x conf$$.
file >/dev
/null
2>&1; then
5130 ac_executable_p
="test -x"
5132 ac_executable_p
="test -f"
5136 # Extract the first word of "xgettext", so it can be a program name with args.
5137 set dummy xgettext
; ac_word
=$2
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5139 $as_echo_n "checking for $ac_word... " >&6; }
5140 if ${ac_cv_path_XGETTEXT+:} false
; then :
5141 $as_echo_n "(cached) " >&6
5145 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5148 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5149 for ac_dir
in $PATH; do
5151 test -z "$ac_dir" && ac_dir
=.
5152 for ac_exec_ext
in '' $ac_executable_extensions; do
5153 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5154 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5155 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
5156 (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
5157 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
5164 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5168 XGETTEXT
="$ac_cv_path_XGETTEXT"
5169 if test "$XGETTEXT" != ":"; then
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5171 $as_echo "$XGETTEXT" >&6; }
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5174 $as_echo "no" >&6; }
5179 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5180 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) XGETTEXT_015
=: ;;
5181 *) XGETTEXT_015
=$XGETTEXT ;;
5186 # Prepare PATH_SEPARATOR.
5187 # The user is always right.
5188 if test "${PATH_SEPARATOR+set}" != set; then
5189 echo "#! /bin/sh" >conf$$.sh
5190 echo "exit 0" >>conf$$.sh
5192 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5200 # Find out how to test for executable files. Don't use a zero-byte file,
5201 # as systems may use methods other than mode bits to determine executability.
5202 cat >conf$$.
file <<_ASEOF
5206 chmod +x conf$$.
file
5207 if test -x conf$$.
file >/dev
/null
2>&1; then
5208 ac_executable_p
="test -x"
5210 ac_executable_p
="test -f"
5214 # Extract the first word of "msgmerge", so it can be a program name with args.
5215 set dummy msgmerge
; ac_word
=$2
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5217 $as_echo_n "checking for $ac_word... " >&6; }
5218 if ${ac_cv_path_MSGMERGE+:} false
; then :
5219 $as_echo_n "(cached) " >&6
5223 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
5226 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5227 for ac_dir
in $PATH; do
5229 test -z "$ac_dir" && ac_dir
=.
5230 for ac_exec_ext
in '' $ac_executable_extensions; do
5231 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5232 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5233 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
5234 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
5241 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
5245 MSGMERGE
="$ac_cv_path_MSGMERGE"
5246 if test "$MSGMERGE" != ":"; then
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5248 $as_echo "$MSGMERGE" >&6; }
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5251 $as_echo "no" >&6; }
5255 test -n "$localedir" || localedir
='${datadir}/locale'
5258 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS
=
5261 ac_config_commands
="$ac_config_commands po-directories"
5265 if test "X$prefix" = "XNONE"; then
5266 acl_final_prefix
="$ac_default_prefix"
5268 acl_final_prefix
="$prefix"
5270 if test "X$exec_prefix" = "XNONE"; then
5271 acl_final_exec_prefix
='${prefix}'
5273 acl_final_exec_prefix
="$exec_prefix"
5275 acl_save_prefix
="$prefix"
5276 prefix
="$acl_final_prefix"
5277 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
5278 prefix
="$acl_save_prefix"
5280 # Make sure we can run config.sub.
5281 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
5282 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5285 $as_echo_n "checking build system type... " >&6; }
5286 if ${ac_cv_build+:} false
; then :
5287 $as_echo_n "(cached) " >&6
5289 ac_build_alias
=$build_alias
5290 test "x$ac_build_alias" = x
&&
5291 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
5292 test "x$ac_build_alias" = x
&&
5293 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
5294 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5295 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5299 $as_echo "$ac_cv_build" >&6; }
5300 case $ac_cv_build in
5302 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
5305 ac_save_IFS
=$IFS; IFS
='-'
5311 # Remember, the first character of IFS is used to create $*,
5312 # except with old shells:
5315 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5319 $as_echo_n "checking host system type... " >&6; }
5320 if ${ac_cv_host+:} false
; then :
5321 $as_echo_n "(cached) " >&6
5323 if test "x$host_alias" = x
; then
5324 ac_cv_host
=$ac_cv_build
5326 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5327 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5332 $as_echo "$ac_cv_host" >&6; }
5335 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
5338 ac_save_IFS
=$IFS; IFS
='-'
5344 # Remember, the first character of IFS is used to create $*,
5345 # except with old shells:
5348 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
5352 # Check whether --with-gnu-ld was given.
5353 if test "${with_gnu_ld+set}" = set; then :
5354 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5359 # Prepare PATH_SEPARATOR.
5360 # The user is always right.
5361 if test "${PATH_SEPARATOR+set}" != set; then
5362 echo "#! /bin/sh" >conf$$.sh
5363 echo "exit 0" >>conf$$.sh
5365 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5373 if test "$GCC" = yes; then
5374 # Check if gcc -print-prog-name=ld gives a path.
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
5376 $as_echo_n "checking for ld used by GCC... " >&6; }
5379 # gcc leaves a trailing carriage return which upsets mingw
5380 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5382 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5385 # Accept absolute paths.
5386 [\\/]* |
[A-Za-z
]:[\\/]*)
5387 re_direlt
='/[^/][^/]*/\.\./'
5388 # Canonicalize the path of ld
5389 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5390 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5391 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5393 test -z "$LD" && LD
="$ac_prog"
5396 # If it fails, then pretend we aren't using GCC.
5400 # If it is relative, then search for the first ld in PATH.
5404 elif test "$with_gnu_ld" = yes; then
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5406 $as_echo_n "checking for GNU ld... " >&6; }
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5409 $as_echo_n "checking for non-GNU ld... " >&6; }
5411 if ${acl_cv_path_LD+:} false
; then :
5412 $as_echo_n "(cached) " >&6
5414 if test -z "$LD"; then
5415 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5416 for ac_dir
in $PATH; do
5417 test -z "$ac_dir" && ac_dir
=.
5418 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5419 acl_cv_path_LD
="$ac_dir/$ac_prog"
5420 # Check to see if the program is GNU ld. I'd rather use --version,
5421 # but apparently some GNU ld's only accept -v.
5422 # Break only if it was the GNU/non-GNU ld that we prefer.
5423 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
5424 *GNU
* |
*'with BFD'*)
5425 test "$with_gnu_ld" != no
&& break ;;
5427 test "$with_gnu_ld" != yes && break ;;
5433 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
5437 LD
="$acl_cv_path_LD"
5438 if test -n "$LD"; then
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5440 $as_echo "$LD" >&6; }
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5443 $as_echo "no" >&6; }
5445 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5447 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5448 if ${acl_cv_prog_gnu_ld+:} false
; then :
5449 $as_echo_n "(cached) " >&6
5451 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5452 case `$LD -v 2>&1 </dev/null` in
5453 *GNU
* |
*'with BFD'*)
5454 acl_cv_prog_gnu_ld
=yes ;;
5456 acl_cv_prog_gnu_ld
=no
;;
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5460 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5461 with_gnu_ld
=$acl_cv_prog_gnu_ld
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
5467 $as_echo_n "checking for shared library run path origin... " >&6; }
5468 if ${acl_cv_rpath+:} false
; then :
5469 $as_echo_n "(cached) " >&6
5472 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
5473 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
5480 $as_echo "$acl_cv_rpath" >&6; }
5482 acl_libext
="$acl_cv_libext"
5483 acl_shlibext
="$acl_cv_shlibext"
5484 acl_libname_spec
="$acl_cv_libname_spec"
5485 acl_library_names_spec
="$acl_cv_library_names_spec"
5486 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
5487 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
5488 acl_hardcode_direct
="$acl_cv_hardcode_direct"
5489 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
5490 # Check whether --enable-rpath was given.
5491 if test "${enable_rpath+set}" = set; then :
5492 enableval
=$enable_rpath; :
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
5505 $as_echo_n "checking for 64-bit host... " >&6; }
5506 if ${gl_cv_solaris_64bit+:} false
; then :
5507 $as_echo_n "(cached) " >&6
5509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5510 /* end confdefs.h. */
5517 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5518 $EGREP "sixtyfour bits" >/dev
/null
2>&1; then :
5519 gl_cv_solaris_64bit
=yes
5521 gl_cv_solaris_64bit
=no
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
5528 $as_echo "$gl_cv_solaris_64bit" >&6; }
5529 if test $gl_cv_solaris_64bit = yes; then
5530 acl_libdirstem
=lib
/64
5532 sparc
*) acl_libdirstem2
=lib
/sparcv9
;;
5533 i
*86 | x86_64
) acl_libdirstem2
=lib
/amd64
;;
5538 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
5539 if test -n "$searchpath"; then
5540 acl_save_IFS
="${IFS= }"; IFS
=":"
5541 for searchdir
in $searchpath; do
5542 if test -d "$searchdir"; then
5543 case "$searchdir" in
5544 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
5546 # Better ignore directories of this form. They are misleading.
5548 *) searchdir
=`cd "$searchdir" && pwd`
5549 case "$searchdir" in
5550 */lib64
) acl_libdirstem
=lib64
;;
5559 test -n "$acl_libdirstem2" || acl_libdirstem2
="$acl_libdirstem"
5574 acl_save_prefix
="$prefix"
5575 prefix
="$acl_final_prefix"
5576 acl_save_exec_prefix
="$exec_prefix"
5577 exec_prefix
="$acl_final_exec_prefix"
5579 eval additional_includedir
=\"$includedir\"
5580 eval additional_libdir
=\"$libdir\"
5582 exec_prefix
="$acl_save_exec_prefix"
5583 prefix
="$acl_save_prefix"
5586 # Check whether --with-libiconv-prefix was given.
5587 if test "${with_libiconv_prefix+set}" = set; then :
5588 withval
=$with_libiconv_prefix;
5589 if test "X$withval" = "Xno"; then
5592 if test "X$withval" = "X"; then
5594 acl_save_prefix
="$prefix"
5595 prefix
="$acl_final_prefix"
5596 acl_save_exec_prefix
="$exec_prefix"
5597 exec_prefix
="$acl_final_exec_prefix"
5599 eval additional_includedir
=\"$includedir\"
5600 eval additional_libdir
=\"$libdir\"
5602 exec_prefix
="$acl_save_exec_prefix"
5603 prefix
="$acl_save_prefix"
5606 additional_includedir
="$withval/include"
5607 additional_libdir
="$withval/$acl_libdirstem"
5608 if test "$acl_libdirstem2" != "$acl_libdirstem" \
5609 && ! test -d "$withval/$acl_libdirstem"; then
5610 additional_libdir
="$withval/$acl_libdirstem2"
5624 names_already_handled
=
5625 names_next_round
='iconv '
5626 while test -n "$names_next_round"; do
5627 names_this_round
="$names_next_round"
5629 for name
in $names_this_round; do
5631 for n
in $names_already_handled; do
5632 if test "$n" = "$name"; then
5637 if test -z "$already_handled"; then
5638 names_already_handled
="$names_already_handled $name"
5639 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5640 eval value
=\"\
$HAVE_LIB$uppername\"
5641 if test -n "$value"; then
5642 if test "$value" = yes; then
5643 eval value
=\"\
$LIB$uppername\"
5644 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
5645 eval value
=\"\
$LTLIB$uppername\"
5646 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
5655 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
5656 if test -n "$acl_shlibext"; then
5657 shrext
=".$acl_shlibext" # typically: shrext=.so
5661 if test $use_additional = yes; then
5662 dir
="$additional_libdir"
5663 if test -n "$acl_shlibext"; then
5664 if test -f "$dir/$libname$shrext"; then
5666 found_so
="$dir/$libname$shrext"
5668 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5669 ver
=`(cd "$dir" && \
5670 for f in "$libname$shrext".*; do echo "$f"; done \
5671 | sed -e "s,^$libname$shrext\\\\.,," \
5672 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5673 | sed 1q ) 2>/dev/null`
5674 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5676 found_so
="$dir/$libname$shrext.$ver"
5679 eval library_names
=\"$acl_library_names_spec\"
5680 for f
in $library_names; do
5681 if test -f "$dir/$f"; then
5690 if test "X$found_dir" = "X"; then
5691 if test -f "$dir/$libname.$acl_libext"; then
5693 found_a
="$dir/$libname.$acl_libext"
5696 if test "X$found_dir" != "X"; then
5697 if test -f "$dir/$libname.la"; then
5698 found_la
="$dir/$libname.la"
5702 if test "X$found_dir" = "X"; then
5703 for x
in $LDFLAGS $LTLIBICONV; do
5705 acl_save_prefix
="$prefix"
5706 prefix
="$acl_final_prefix"
5707 acl_save_exec_prefix
="$exec_prefix"
5708 exec_prefix
="$acl_final_exec_prefix"
5710 exec_prefix
="$acl_save_exec_prefix"
5711 prefix
="$acl_save_prefix"
5715 dir
=`echo "X$x" | sed -e 's/^X-L//'`
5716 if test -n "$acl_shlibext"; then
5717 if test -f "$dir/$libname$shrext"; then
5719 found_so
="$dir/$libname$shrext"
5721 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5722 ver
=`(cd "$dir" && \
5723 for f in "$libname$shrext".*; do echo "$f"; done \
5724 | sed -e "s,^$libname$shrext\\\\.,," \
5725 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5726 | sed 1q ) 2>/dev/null`
5727 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5729 found_so
="$dir/$libname$shrext.$ver"
5732 eval library_names
=\"$acl_library_names_spec\"
5733 for f
in $library_names; do
5734 if test -f "$dir/$f"; then
5743 if test "X$found_dir" = "X"; then
5744 if test -f "$dir/$libname.$acl_libext"; then
5746 found_a
="$dir/$libname.$acl_libext"
5749 if test "X$found_dir" != "X"; then
5750 if test -f "$dir/$libname.la"; then
5751 found_la
="$dir/$libname.la"
5756 if test "X$found_dir" != "X"; then
5761 if test "X$found_dir" != "X"; then
5762 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5763 if test "X$found_so" != "X"; then
5764 if test "$enable_rpath" = no \
5765 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
5766 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
5767 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5770 for x
in $ltrpathdirs; do
5771 if test "X$x" = "X$found_dir"; then
5776 if test -z "$haveit"; then
5777 ltrpathdirs
="$ltrpathdirs $found_dir"
5779 if test "$acl_hardcode_direct" = yes; then
5780 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5782 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
5783 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5785 for x
in $rpathdirs; do
5786 if test "X$x" = "X$found_dir"; then
5791 if test -z "$haveit"; then
5792 rpathdirs
="$rpathdirs $found_dir"
5796 for x
in $LDFLAGS $LIBICONV; do
5798 acl_save_prefix
="$prefix"
5799 prefix
="$acl_final_prefix"
5800 acl_save_exec_prefix
="$exec_prefix"
5801 exec_prefix
="$acl_final_exec_prefix"
5803 exec_prefix
="$acl_save_exec_prefix"
5804 prefix
="$acl_save_prefix"
5806 if test "X$x" = "X-L$found_dir"; then
5811 if test -z "$haveit"; then
5812 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5814 if test "$acl_hardcode_minus_L" != no
; then
5815 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5817 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
5823 if test "X$found_a" != "X"; then
5824 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
5826 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5829 additional_includedir
=
5830 case "$found_dir" in
5831 */$acl_libdirstem |
*/$acl_libdirstem/)
5832 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5833 if test "$name" = 'iconv'; then
5834 LIBICONV_PREFIX
="$basedir"
5836 additional_includedir
="$basedir/include"
5838 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
5839 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
5840 if test "$name" = 'iconv'; then
5841 LIBICONV_PREFIX
="$basedir"
5843 additional_includedir
="$basedir/include"
5846 if test "X$additional_includedir" != "X"; then
5847 if test "X$additional_includedir" != "X/usr/include"; then
5849 if test "X$additional_includedir" = "X/usr/local/include"; then
5850 if test -n "$GCC"; then
5852 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
5856 if test -z "$haveit"; then
5857 for x
in $CPPFLAGS $INCICONV; do
5859 acl_save_prefix
="$prefix"
5860 prefix
="$acl_final_prefix"
5861 acl_save_exec_prefix
="$exec_prefix"
5862 exec_prefix
="$acl_final_exec_prefix"
5864 exec_prefix
="$acl_save_exec_prefix"
5865 prefix
="$acl_save_prefix"
5867 if test "X$x" = "X-I$additional_includedir"; then
5872 if test -z "$haveit"; then
5873 if test -d "$additional_includedir"; then
5874 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5880 if test -n "$found_la"; then
5881 save_libdir
="$libdir"
5883 */* |
*\\*) .
"$found_la" ;;
5884 *) .
"./$found_la" ;;
5886 libdir
="$save_libdir"
5887 for dep
in $dependency_libs; do
5890 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
5891 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
5892 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
5894 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
5895 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
5896 if test -n "$GCC"; then
5898 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
5902 if test -z "$haveit"; then
5904 for x
in $LDFLAGS $LIBICONV; do
5906 acl_save_prefix
="$prefix"
5907 prefix
="$acl_final_prefix"
5908 acl_save_exec_prefix
="$exec_prefix"
5909 exec_prefix
="$acl_final_exec_prefix"
5911 exec_prefix
="$acl_save_exec_prefix"
5912 prefix
="$acl_save_prefix"
5914 if test "X$x" = "X-L$additional_libdir"; then
5919 if test -z "$haveit"; then
5920 if test -d "$additional_libdir"; then
5921 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5925 for x
in $LDFLAGS $LTLIBICONV; do
5927 acl_save_prefix
="$prefix"
5928 prefix
="$acl_final_prefix"
5929 acl_save_exec_prefix
="$exec_prefix"
5930 exec_prefix
="$acl_final_exec_prefix"
5932 exec_prefix
="$acl_save_exec_prefix"
5933 prefix
="$acl_save_prefix"
5935 if test "X$x" = "X-L$additional_libdir"; then
5940 if test -z "$haveit"; then
5941 if test -d "$additional_libdir"; then
5942 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5949 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
5950 if test "$enable_rpath" != no
; then
5952 for x
in $rpathdirs; do
5953 if test "X$x" = "X$dir"; then
5958 if test -z "$haveit"; then
5959 rpathdirs
="$rpathdirs $dir"
5962 for x
in $ltrpathdirs; do
5963 if test "X$x" = "X$dir"; then
5968 if test -z "$haveit"; then
5969 ltrpathdirs
="$ltrpathdirs $dir"
5974 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5977 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5980 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
5981 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5987 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
5988 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5994 if test "X$rpathdirs" != "X"; then
5995 if test -n "$acl_hardcode_libdir_separator"; then
5997 for found_dir
in $rpathdirs; do
5998 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
6000 acl_save_libdir
="$libdir"
6002 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
6003 libdir
="$acl_save_libdir"
6004 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
6006 for found_dir
in $rpathdirs; do
6007 acl_save_libdir
="$libdir"
6009 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
6010 libdir
="$acl_save_libdir"
6011 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
6015 if test "X$ltrpathdirs" != "X"; then
6016 for found_dir
in $ltrpathdirs; do
6017 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
6052 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
6053 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
6054 $as_echo_n "(cached) " >&6
6056 gt_save_LIBS
="$LIBS"
6057 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
6058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6059 /* end confdefs.h. */
6060 #include <CoreFoundation/CFPreferences.h>
6064 CFPreferencesCopyAppValue(NULL, NULL)
6069 if ac_fn_c_try_link
"$LINENO"; then :
6070 gt_cv_func_CFPreferencesCopyAppValue
=yes
6072 gt_cv_func_CFPreferencesCopyAppValue
=no
6074 rm -f core conftest.err conftest.
$ac_objext \
6075 conftest
$ac_exeext conftest.
$ac_ext
6076 LIBS
="$gt_save_LIBS"
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
6079 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
6080 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
6082 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
6086 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
6087 if ${gt_cv_func_CFLocaleCopyCurrent+:} false
; then :
6088 $as_echo_n "(cached) " >&6
6090 gt_save_LIBS
="$LIBS"
6091 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
6092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6093 /* end confdefs.h. */
6094 #include <CoreFoundation/CFLocale.h>
6098 CFLocaleCopyCurrent();
6103 if ac_fn_c_try_link
"$LINENO"; then :
6104 gt_cv_func_CFLocaleCopyCurrent
=yes
6106 gt_cv_func_CFLocaleCopyCurrent
=no
6108 rm -f core conftest.err conftest.
$ac_objext \
6109 conftest
$ac_exeext conftest.
$ac_ext
6110 LIBS
="$gt_save_LIBS"
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
6113 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
6114 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6116 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
6120 if test $gt_cv_func_CFPreferencesCopyAppValue = yes ||
test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6121 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
6133 case " $gt_needs " in
6134 *" need-formatstring-macros "*) gt_api_version
=3 ;;
6135 *" need-ngettext "*) gt_api_version
=2 ;;
6136 *) gt_api_version
=1 ;;
6138 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
6139 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
6141 if test "$USE_NLS" = "yes"; then
6142 gt_use_preinstalled_gnugettext
=no
6145 if test $gt_api_version -ge 3; then
6146 gt_revision_test_code
='
6147 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6148 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
6150 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
6153 gt_revision_test_code
=
6155 if test $gt_api_version -ge 2; then
6156 gt_expression_test_code
=' + * ngettext ("", "", 0)'
6158 gt_expression_test_code
=
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
6162 $as_echo_n "checking for GNU gettext in libc... " >&6; }
6163 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
6164 $as_echo_n "(cached) " >&6
6166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6167 /* end confdefs.h. */
6168 #include <libintl.h>
6169 $gt_revision_test_code
6170 extern int _nl_msg_cat_cntr;
6171 extern int *_nl_domain_bindings;
6175 bindtextdomain ("", "");
6176 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
6181 if ac_fn_c_try_link
"$LINENO"; then :
6182 eval "$gt_func_gnugettext_libc=yes"
6184 eval "$gt_func_gnugettext_libc=no"
6186 rm -f core conftest.err conftest.
$ac_objext \
6187 conftest
$ac_exeext conftest.
$ac_ext
6189 eval ac_res
=\$
$gt_func_gnugettext_libc
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6191 $as_echo "$ac_res" >&6; }
6193 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
6199 am_save_CPPFLAGS
="$CPPFLAGS"
6201 for element
in $INCICONV; do
6203 for x
in $CPPFLAGS; do
6205 acl_save_prefix
="$prefix"
6206 prefix
="$acl_final_prefix"
6207 acl_save_exec_prefix
="$exec_prefix"
6208 exec_prefix
="$acl_final_exec_prefix"
6210 exec_prefix
="$acl_save_exec_prefix"
6211 prefix
="$acl_save_prefix"
6213 if test "X$x" = "X$element"; then
6218 if test -z "$haveit"; then
6219 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
6225 $as_echo_n "checking for iconv... " >&6; }
6226 if ${am_cv_func_iconv+:} false
; then :
6227 $as_echo_n "(cached) " >&6
6230 am_cv_func_iconv
="no, consider installing GNU libiconv"
6232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6233 /* end confdefs.h. */
6239 iconv_t cd = iconv_open("","");
6240 iconv(cd,NULL,NULL,NULL,NULL);
6246 if ac_fn_c_try_link
"$LINENO"; then :
6247 am_cv_func_iconv
=yes
6249 rm -f core conftest.err conftest.
$ac_objext \
6250 conftest
$ac_exeext conftest.
$ac_ext
6251 if test "$am_cv_func_iconv" != yes; then
6252 am_save_LIBS
="$LIBS"
6253 LIBS
="$LIBS $LIBICONV"
6254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6255 /* end confdefs.h. */
6261 iconv_t cd = iconv_open("","");
6262 iconv(cd,NULL,NULL,NULL,NULL);
6268 if ac_fn_c_try_link
"$LINENO"; then :
6270 am_cv_func_iconv
=yes
6272 rm -f core conftest.err conftest.
$ac_objext \
6273 conftest
$ac_exeext conftest.
$ac_ext
6274 LIBS
="$am_save_LIBS"
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
6279 $as_echo "$am_cv_func_iconv" >&6; }
6280 if test "$am_cv_func_iconv" = yes; then
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
6282 $as_echo_n "checking for working iconv... " >&6; }
6283 if ${am_cv_func_iconv_works+:} false
; then :
6284 $as_echo_n "(cached) " >&6
6287 am_save_LIBS
="$LIBS"
6288 if test $am_cv_lib_iconv = yes; then
6289 LIBS
="$LIBS $LIBICONV"
6291 if test "$cross_compiling" = yes; then :
6293 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
6294 *) am_cv_func_iconv_works
="guessing yes" ;;
6297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6298 /* end confdefs.h. */
6304 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
6307 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
6308 if (cd_utf8_to_88591 != (iconv_t)(-1))
6310 static const char input[] = "\342\202\254"; /* EURO SIGN */
6312 const char *inptr = input;
6313 size_t inbytesleft = strlen (input);
6315 size_t outbytesleft = sizeof (buf);
6316 size_t res = iconv (cd_utf8_to_88591,
6317 (char **) &inptr, &inbytesleft,
6318 &outptr, &outbytesleft);
6323 /* Test against Solaris 10 bug: Failures are not distinguishable from
6324 successful returns. */
6326 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
6327 if (cd_ascii_to_88591 != (iconv_t)(-1))
6329 static const char input[] = "\263";
6331 const char *inptr = input;
6332 size_t inbytesleft = strlen (input);
6334 size_t outbytesleft = sizeof (buf);
6335 size_t res = iconv (cd_ascii_to_88591,
6336 (char **) &inptr, &inbytesleft,
6337 &outptr, &outbytesleft);
6342 #if 0 /* This bug could be worked around by the caller. */
6343 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
6345 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
6346 if (cd_88591_to_utf8 != (iconv_t)(-1))
6348 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
6350 const char *inptr = input;
6351 size_t inbytesleft = strlen (input);
6353 size_t outbytesleft = sizeof (buf);
6354 size_t res = iconv (cd_88591_to_utf8,
6355 (char **) &inptr, &inbytesleft,
6356 &outptr, &outbytesleft);
6362 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
6364 if (/* Try standardized names. */
6365 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
6366 /* Try IRIX, OSF/1 names. */
6367 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
6368 /* Try AIX names. */
6369 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
6370 /* Try HP-UX names. */
6371 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
6376 if ac_fn_c_try_run
"$LINENO"; then :
6377 am_cv_func_iconv_works
=yes
6379 am_cv_func_iconv_works
=no
6381 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6382 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6385 LIBS
="$am_save_LIBS"
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
6389 $as_echo "$am_cv_func_iconv_works" >&6; }
6390 case "$am_cv_func_iconv_works" in
6391 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
6392 *) am_func_iconv
=yes ;;
6395 am_func_iconv
=no am_cv_lib_iconv
=no
6397 if test "$am_func_iconv" = yes; then
6399 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
6402 if test "$am_cv_lib_iconv" = yes; then
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
6404 $as_echo_n "checking how to link with libiconv... " >&6; }
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
6406 $as_echo "$LIBICONV" >&6; }
6408 CPPFLAGS
="$am_save_CPPFLAGS"
6425 acl_save_prefix
="$prefix"
6426 prefix
="$acl_final_prefix"
6427 acl_save_exec_prefix
="$exec_prefix"
6428 exec_prefix
="$acl_final_exec_prefix"
6430 eval additional_includedir
=\"$includedir\"
6431 eval additional_libdir
=\"$libdir\"
6433 exec_prefix
="$acl_save_exec_prefix"
6434 prefix
="$acl_save_prefix"
6437 # Check whether --with-libintl-prefix was given.
6438 if test "${with_libintl_prefix+set}" = set; then :
6439 withval
=$with_libintl_prefix;
6440 if test "X$withval" = "Xno"; then
6443 if test "X$withval" = "X"; then
6445 acl_save_prefix
="$prefix"
6446 prefix
="$acl_final_prefix"
6447 acl_save_exec_prefix
="$exec_prefix"
6448 exec_prefix
="$acl_final_exec_prefix"
6450 eval additional_includedir
=\"$includedir\"
6451 eval additional_libdir
=\"$libdir\"
6453 exec_prefix
="$acl_save_exec_prefix"
6454 prefix
="$acl_save_prefix"
6457 additional_includedir
="$withval/include"
6458 additional_libdir
="$withval/$acl_libdirstem"
6459 if test "$acl_libdirstem2" != "$acl_libdirstem" \
6460 && ! test -d "$withval/$acl_libdirstem"; then
6461 additional_libdir
="$withval/$acl_libdirstem2"
6475 names_already_handled
=
6476 names_next_round
='intl '
6477 while test -n "$names_next_round"; do
6478 names_this_round
="$names_next_round"
6480 for name
in $names_this_round; do
6482 for n
in $names_already_handled; do
6483 if test "$n" = "$name"; then
6488 if test -z "$already_handled"; then
6489 names_already_handled
="$names_already_handled $name"
6490 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6491 eval value
=\"\
$HAVE_LIB$uppername\"
6492 if test -n "$value"; then
6493 if test "$value" = yes; then
6494 eval value
=\"\
$LIB$uppername\"
6495 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
6496 eval value
=\"\
$LTLIB$uppername\"
6497 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
6506 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
6507 if test -n "$acl_shlibext"; then
6508 shrext
=".$acl_shlibext" # typically: shrext=.so
6512 if test $use_additional = yes; then
6513 dir
="$additional_libdir"
6514 if test -n "$acl_shlibext"; then
6515 if test -f "$dir/$libname$shrext"; then
6517 found_so
="$dir/$libname$shrext"
6519 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6520 ver
=`(cd "$dir" && \
6521 for f in "$libname$shrext".*; do echo "$f"; done \
6522 | sed -e "s,^$libname$shrext\\\\.,," \
6523 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6524 | sed 1q ) 2>/dev/null`
6525 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6527 found_so
="$dir/$libname$shrext.$ver"
6530 eval library_names
=\"$acl_library_names_spec\"
6531 for f
in $library_names; do
6532 if test -f "$dir/$f"; then
6541 if test "X$found_dir" = "X"; then
6542 if test -f "$dir/$libname.$acl_libext"; then
6544 found_a
="$dir/$libname.$acl_libext"
6547 if test "X$found_dir" != "X"; then
6548 if test -f "$dir/$libname.la"; then
6549 found_la
="$dir/$libname.la"
6553 if test "X$found_dir" = "X"; then
6554 for x
in $LDFLAGS $LTLIBINTL; do
6556 acl_save_prefix
="$prefix"
6557 prefix
="$acl_final_prefix"
6558 acl_save_exec_prefix
="$exec_prefix"
6559 exec_prefix
="$acl_final_exec_prefix"
6561 exec_prefix
="$acl_save_exec_prefix"
6562 prefix
="$acl_save_prefix"
6566 dir
=`echo "X$x" | sed -e 's/^X-L//'`
6567 if test -n "$acl_shlibext"; then
6568 if test -f "$dir/$libname$shrext"; then
6570 found_so
="$dir/$libname$shrext"
6572 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6573 ver
=`(cd "$dir" && \
6574 for f in "$libname$shrext".*; do echo "$f"; done \
6575 | sed -e "s,^$libname$shrext\\\\.,," \
6576 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6577 | sed 1q ) 2>/dev/null`
6578 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6580 found_so
="$dir/$libname$shrext.$ver"
6583 eval library_names
=\"$acl_library_names_spec\"
6584 for f
in $library_names; do
6585 if test -f "$dir/$f"; then
6594 if test "X$found_dir" = "X"; then
6595 if test -f "$dir/$libname.$acl_libext"; then
6597 found_a
="$dir/$libname.$acl_libext"
6600 if test "X$found_dir" != "X"; then
6601 if test -f "$dir/$libname.la"; then
6602 found_la
="$dir/$libname.la"
6607 if test "X$found_dir" != "X"; then
6612 if test "X$found_dir" != "X"; then
6613 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6614 if test "X$found_so" != "X"; then
6615 if test "$enable_rpath" = no \
6616 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
6617 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
6618 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6621 for x
in $ltrpathdirs; do
6622 if test "X$x" = "X$found_dir"; then
6627 if test -z "$haveit"; then
6628 ltrpathdirs
="$ltrpathdirs $found_dir"
6630 if test "$acl_hardcode_direct" = yes; then
6631 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6633 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
6634 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6636 for x
in $rpathdirs; do
6637 if test "X$x" = "X$found_dir"; then
6642 if test -z "$haveit"; then
6643 rpathdirs
="$rpathdirs $found_dir"
6647 for x
in $LDFLAGS $LIBINTL; do
6649 acl_save_prefix
="$prefix"
6650 prefix
="$acl_final_prefix"
6651 acl_save_exec_prefix
="$exec_prefix"
6652 exec_prefix
="$acl_final_exec_prefix"
6654 exec_prefix
="$acl_save_exec_prefix"
6655 prefix
="$acl_save_prefix"
6657 if test "X$x" = "X-L$found_dir"; then
6662 if test -z "$haveit"; then
6663 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6665 if test "$acl_hardcode_minus_L" != no
; then
6666 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6668 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
6674 if test "X$found_a" != "X"; then
6675 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
6677 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6680 additional_includedir
=
6681 case "$found_dir" in
6682 */$acl_libdirstem |
*/$acl_libdirstem/)
6683 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
6684 if test "$name" = 'intl'; then
6685 LIBINTL_PREFIX
="$basedir"
6687 additional_includedir
="$basedir/include"
6689 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
6690 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
6691 if test "$name" = 'intl'; then
6692 LIBINTL_PREFIX
="$basedir"
6694 additional_includedir
="$basedir/include"
6697 if test "X$additional_includedir" != "X"; then
6698 if test "X$additional_includedir" != "X/usr/include"; then
6700 if test "X$additional_includedir" = "X/usr/local/include"; then
6701 if test -n "$GCC"; then
6703 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
6707 if test -z "$haveit"; then
6708 for x
in $CPPFLAGS $INCINTL; do
6710 acl_save_prefix
="$prefix"
6711 prefix
="$acl_final_prefix"
6712 acl_save_exec_prefix
="$exec_prefix"
6713 exec_prefix
="$acl_final_exec_prefix"
6715 exec_prefix
="$acl_save_exec_prefix"
6716 prefix
="$acl_save_prefix"
6718 if test "X$x" = "X-I$additional_includedir"; then
6723 if test -z "$haveit"; then
6724 if test -d "$additional_includedir"; then
6725 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6731 if test -n "$found_la"; then
6732 save_libdir
="$libdir"
6734 */* |
*\\*) .
"$found_la" ;;
6735 *) .
"./$found_la" ;;
6737 libdir
="$save_libdir"
6738 for dep
in $dependency_libs; do
6741 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
6742 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
6743 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
6745 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
6746 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
6747 if test -n "$GCC"; then
6749 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
6753 if test -z "$haveit"; then
6755 for x
in $LDFLAGS $LIBINTL; do
6757 acl_save_prefix
="$prefix"
6758 prefix
="$acl_final_prefix"
6759 acl_save_exec_prefix
="$exec_prefix"
6760 exec_prefix
="$acl_final_exec_prefix"
6762 exec_prefix
="$acl_save_exec_prefix"
6763 prefix
="$acl_save_prefix"
6765 if test "X$x" = "X-L$additional_libdir"; then
6770 if test -z "$haveit"; then
6771 if test -d "$additional_libdir"; then
6772 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6776 for x
in $LDFLAGS $LTLIBINTL; do
6778 acl_save_prefix
="$prefix"
6779 prefix
="$acl_final_prefix"
6780 acl_save_exec_prefix
="$exec_prefix"
6781 exec_prefix
="$acl_final_exec_prefix"
6783 exec_prefix
="$acl_save_exec_prefix"
6784 prefix
="$acl_save_prefix"
6786 if test "X$x" = "X-L$additional_libdir"; then
6791 if test -z "$haveit"; then
6792 if test -d "$additional_libdir"; then
6793 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6800 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6801 if test "$enable_rpath" != no
; then
6803 for x
in $rpathdirs; do
6804 if test "X$x" = "X$dir"; then
6809 if test -z "$haveit"; then
6810 rpathdirs
="$rpathdirs $dir"
6813 for x
in $ltrpathdirs; do
6814 if test "X$x" = "X$dir"; then
6819 if test -z "$haveit"; then
6820 ltrpathdirs
="$ltrpathdirs $dir"
6825 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6828 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6831 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
6832 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6838 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
6839 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6845 if test "X$rpathdirs" != "X"; then
6846 if test -n "$acl_hardcode_libdir_separator"; then
6848 for found_dir
in $rpathdirs; do
6849 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
6851 acl_save_libdir
="$libdir"
6853 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
6854 libdir
="$acl_save_libdir"
6855 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
6857 for found_dir
in $rpathdirs; do
6858 acl_save_libdir
="$libdir"
6860 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
6861 libdir
="$acl_save_libdir"
6862 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
6866 if test "X$ltrpathdirs" != "X"; then
6867 for found_dir
in $ltrpathdirs; do
6868 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6878 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
6879 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
6880 $as_echo_n "(cached) " >&6
6882 gt_save_CPPFLAGS
="$CPPFLAGS"
6883 CPPFLAGS
="$CPPFLAGS $INCINTL"
6884 gt_save_LIBS
="$LIBS"
6885 LIBS
="$LIBS $LIBINTL"
6886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6887 /* end confdefs.h. */
6888 #include <libintl.h>
6889 $gt_revision_test_code
6890 extern int _nl_msg_cat_cntr;
6895 const char *_nl_expand_alias (const char *);
6899 bindtextdomain ("", "");
6900 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6905 if ac_fn_c_try_link
"$LINENO"; then :
6906 eval "$gt_func_gnugettext_libintl=yes"
6908 eval "$gt_func_gnugettext_libintl=no"
6910 rm -f core conftest.err conftest.
$ac_objext \
6911 conftest
$ac_exeext conftest.
$ac_ext
6912 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
6913 LIBS
="$LIBS $LIBICONV"
6914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6915 /* end confdefs.h. */
6916 #include <libintl.h>
6917 $gt_revision_test_code
6918 extern int _nl_msg_cat_cntr;
6923 const char *_nl_expand_alias (const char *);
6927 bindtextdomain ("", "");
6928 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6933 if ac_fn_c_try_link
"$LINENO"; then :
6934 LIBINTL
="$LIBINTL $LIBICONV"
6935 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
6936 eval "$gt_func_gnugettext_libintl=yes"
6939 rm -f core conftest.err conftest.
$ac_objext \
6940 conftest
$ac_exeext conftest.
$ac_ext
6942 CPPFLAGS
="$gt_save_CPPFLAGS"
6943 LIBS
="$gt_save_LIBS"
6945 eval ac_res
=\$
$gt_func_gnugettext_libintl
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6947 $as_echo "$ac_res" >&6; }
6950 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
6951 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
6952 && test "$PACKAGE" != gettext-runtime \
6953 && test "$PACKAGE" != gettext-tools
; }; then
6954 gt_use_preinstalled_gnugettext
=yes
6963 if test -n "$INTL_MACOSX_LIBS"; then
6964 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6965 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
6966 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
6967 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
6971 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6972 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
6974 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6982 $as_echo_n "checking whether to use NLS... " >&6; }
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6984 $as_echo "$USE_NLS" >&6; }
6985 if test "$USE_NLS" = "yes"; then
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6987 $as_echo_n "checking where the gettext function comes from... " >&6; }
6988 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6989 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6990 gt_source
="external libintl"
6995 gt_source
="included intl directory"
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6998 $as_echo "$gt_source" >&6; }
7001 if test "$USE_NLS" = "yes"; then
7003 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7004 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
7006 $as_echo_n "checking how to link with libintl... " >&6; }
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
7008 $as_echo "$LIBINTL" >&6; }
7010 for element
in $INCINTL; do
7012 for x
in $CPPFLAGS; do
7014 acl_save_prefix
="$prefix"
7015 prefix
="$acl_final_prefix"
7016 acl_save_exec_prefix
="$exec_prefix"
7017 exec_prefix
="$acl_final_exec_prefix"
7019 exec_prefix
="$acl_save_exec_prefix"
7020 prefix
="$acl_save_prefix"
7022 if test "X$x" = "X$element"; then
7027 if test -z "$haveit"; then
7028 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
7035 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
7038 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
7058 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7059 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7060 inttypes.h stdint.h unistd.h
7062 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7063 ac_fn_c_check_header_compile
"$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
7075 for ac_header
in stdint.h stdlib.h
7077 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7078 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7079 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7080 cat >>confdefs.h
<<_ACEOF
7081 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7088 for ac_func
in strchr strrchr
7090 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7091 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7092 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7093 cat >>confdefs.h
<<_ACEOF
7094 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
7101 $as_echo_n "checking for working memcmp... " >&6; }
7102 if ${ac_cv_func_memcmp_working+:} false
; then :
7103 $as_echo_n "(cached) " >&6
7105 if test "$cross_compiling" = yes; then :
7106 ac_cv_func_memcmp_working
=no
7108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7109 /* end confdefs.h. */
7110 $ac_includes_default
7115 /* Some versions of memcmp are not 8-bit clean. */
7116 char c0 = '\100', c1 = '\200', c2 = '\201';
7117 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
7120 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
7121 or more and with at least one buffer not starting on a 4-byte boundary.
7122 William Lewis provided this test program. */
7127 for (i = 0; i < 4; i++)
7131 strcpy (a, "--------01111111");
7132 strcpy (b, "--------10000000");
7133 if (memcmp (a, b, 16) >= 0)
7143 if ac_fn_c_try_run
"$LINENO"; then :
7144 ac_cv_func_memcmp_working
=yes
7146 ac_cv_func_memcmp_working
=no
7148 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7149 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
7154 $as_echo "$ac_cv_func_memcmp_working" >&6; }
7155 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
7156 *" memcmp.$ac_objext "* ) ;;
7157 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
7162 for ac_header
in stdlib.h
7164 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
7165 if test "x$ac_cv_header_stdlib_h" = xyes
; then :
7166 cat >>confdefs.h
<<_ACEOF
7167 #define HAVE_STDLIB_H 1
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
7175 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
7176 if ${ac_cv_func_malloc_0_nonnull+:} false
; then :
7177 $as_echo_n "(cached) " >&6
7179 if test "$cross_compiling" = yes; then :
7180 ac_cv_func_malloc_0_nonnull
=no
7182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7183 /* end confdefs.h. */
7184 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
7185 # include <stdlib.h>
7193 return ! malloc (0);
7198 if ac_fn_c_try_run
"$LINENO"; then :
7199 ac_cv_func_malloc_0_nonnull
=yes
7201 ac_cv_func_malloc_0_nonnull
=no
7203 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7204 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
7209 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
7210 if test $ac_cv_func_malloc_0_nonnull = yes; then :
7212 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
7215 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
7217 case " $LIBOBJS " in
7218 *" malloc.$ac_objext "* ) ;;
7219 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
7224 $as_echo "#define malloc rpl_malloc" >>confdefs.h
7229 ac_fn_c_find_uintX_t
"$LINENO" "32" "ac_cv_c_uint32_t"
7230 case $ac_cv_c_uint32_t in #(
7234 $as_echo "#define _UINT32_T 1" >>confdefs.h
7237 cat >>confdefs.h
<<_ACEOF
7238 #define uint32_t $ac_cv_c_uint32_t
7244 # Check whether --enable-glibtest was given.
7245 if test "${enable_glibtest+set}" = set; then :
7246 enableval
=$enable_glibtest;
7252 pkg_config_args
=glib-2.0
7253 for module
in . gthread
7257 pkg_config_args
="$pkg_config_args gmodule-2.0"
7260 pkg_config_args
="$pkg_config_args gmodule-no-export-2.0"
7263 pkg_config_args
="$pkg_config_args gobject-2.0"
7266 pkg_config_args
="$pkg_config_args gthread-2.0"
7269 pkg_config_args
="$pkg_config_args $module-2.0"
7281 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7282 if test -n "$ac_tool_prefix"; then
7283 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7284 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7286 $as_echo_n "checking for $ac_word... " >&6; }
7287 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
7288 $as_echo_n "(cached) " >&6
7292 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
7295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7299 test -z "$as_dir" && as_dir
=.
7300 for ac_exec_ext
in '' $ac_executable_extensions; do
7301 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7302 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7313 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
7314 if test -n "$PKG_CONFIG"; then
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7316 $as_echo "$PKG_CONFIG" >&6; }
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7319 $as_echo "no" >&6; }
7324 if test -z "$ac_cv_path_PKG_CONFIG"; then
7325 ac_pt_PKG_CONFIG
=$PKG_CONFIG
7326 # Extract the first word of "pkg-config", so it can be a program name with args.
7327 set dummy pkg-config
; ac_word
=$2
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7329 $as_echo_n "checking for $ac_word... " >&6; }
7330 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
7331 $as_echo_n "(cached) " >&6
7333 case $ac_pt_PKG_CONFIG in
7335 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
7338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7342 test -z "$as_dir" && as_dir
=.
7343 for ac_exec_ext
in '' $ac_executable_extensions; do
7344 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7345 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7356 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
7357 if test -n "$ac_pt_PKG_CONFIG"; then
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
7359 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7362 $as_echo "no" >&6; }
7365 if test "x$ac_pt_PKG_CONFIG" = x
; then
7368 case $cross_compiling:$ac_tool_warned in
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7371 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7372 ac_tool_warned
=yes ;;
7374 PKG_CONFIG
=$ac_pt_PKG_CONFIG
7377 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
7381 if test -n "$PKG_CONFIG"; then
7382 _pkg_min_version
=0.16
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
7384 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
7385 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7387 $as_echo "yes" >&6; }
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7390 $as_echo "no" >&6; }
7397 if test "x$PKG_CONFIG" = x
; then
7402 min_glib_version
=2.12.0
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
7404 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
7406 if test x
$PKG_CONFIG != xno
; then
7407 ## don't try to run the test against uninstalled libtool libs
7408 if $PKG_CONFIG --uninstalled $pkg_config_args; then
7409 echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
7413 if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
7420 if test x
"$no_glib" = x
; then
7421 GLIB_GENMARSHAL
=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
7422 GOBJECT_QUERY
=`$PKG_CONFIG --variable=gobject_query glib-2.0`
7423 GLIB_MKENUMS
=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
7424 GLIB_COMPILE_RESOURCES
=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
7426 GLIB_CFLAGS
=`$PKG_CONFIG --cflags $pkg_config_args`
7427 GLIB_LIBS
=`$PKG_CONFIG --libs $pkg_config_args`
7428 glib_config_major_version
=`$PKG_CONFIG --modversion glib-2.0 | \
7429 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7430 glib_config_minor_version
=`$PKG_CONFIG --modversion glib-2.0 | \
7431 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7432 glib_config_micro_version
=`$PKG_CONFIG --modversion glib-2.0 | \
7433 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7434 if test "x$enable_glibtest" = "xyes" ; then
7435 ac_save_CFLAGS
="$CFLAGS"
7436 ac_save_LIBS
="$LIBS"
7437 CFLAGS
="$CFLAGS $GLIB_CFLAGS"
7438 LIBS
="$GLIB_LIBS $LIBS"
7440 if test "$cross_compiling" = yes; then :
7441 echo $ac_n "cross compiling; assumed OK... $ac_c"
7443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7444 /* end confdefs.h. */
7453 unsigned int major, minor, micro;
7456 fclose (fopen ("conf.glibtest", "w"));
7458 /* HP/UX 9 (%@#!) writes to sscanf strings */
7459 tmp_version = g_strdup("$min_glib_version");
7460 if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, µ) != 3) {
7461 printf("%s, bad version string\n", "$min_glib_version");
7465 if ((glib_major_version != $glib_config_major_version) ||
7466 (glib_minor_version != $glib_config_minor_version) ||
7467 (glib_micro_version != $glib_config_micro_version))
7469 printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
7470 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
7471 glib_major_version, glib_minor_version, glib_micro_version);
7472 printf ("*** was found! If pkg-config was correct, then it is best\n");
7473 printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
7474 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
7475 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
7476 printf("*** required on your system.\n");
7477 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
7478 printf("*** to point to the correct configuration files\n");
7480 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
7481 (glib_minor_version != GLIB_MINOR_VERSION) ||
7482 (glib_micro_version != GLIB_MICRO_VERSION))
7484 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
7485 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
7486 printf("*** library (version %d.%d.%d)\n",
7487 glib_major_version, glib_minor_version, glib_micro_version);
7491 if ((glib_major_version > major) ||
7492 ((glib_major_version == major) && (glib_minor_version > minor)) ||
7493 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
7499 printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
7500 glib_major_version, glib_minor_version, glib_micro_version);
7501 printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
7502 major, minor, micro);
7503 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
7505 printf("*** If you have already installed a sufficiently new version, this error\n");
7506 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
7507 printf("*** being found. The easiest way to fix this is to remove the old version\n");
7508 printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
7509 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
7510 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
7511 printf("*** so that the correct libraries are found at run-time))\n");
7518 if ac_fn_c_try_run
"$LINENO"; then :
7523 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7524 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7527 CFLAGS
="$ac_save_CFLAGS"
7528 LIBS
="$ac_save_LIBS"
7531 if test "x$no_glib" = x
; then
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
7533 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7537 $as_echo "no" >&6; }
7538 if test "$PKG_CONFIG" = "no" ; then
7539 echo "*** A new enough version of pkg-config was not found."
7540 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
7542 if test -f conf.glibtest
; then
7545 echo "*** Could not run GLIB test program, checking why..."
7546 ac_save_CFLAGS
="$CFLAGS"
7547 ac_save_LIBS
="$LIBS"
7548 CFLAGS
="$CFLAGS $GLIB_CFLAGS"
7549 LIBS
="$LIBS $GLIB_LIBS"
7550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7551 /* end confdefs.h. */
7559 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
7564 if ac_fn_c_try_link
"$LINENO"; then :
7565 echo "*** The test program compiled, but did not run. This usually means"
7566 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
7567 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
7568 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
7569 echo "*** to the installed location Also, make sure you have run ldconfig if that"
7570 echo "*** is required on your system"
7572 echo "*** If you have an old version installed, it is best to remove it, although"
7573 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
7575 echo "*** The test program failed to compile or link. See the file config.log for the"
7576 echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
7578 rm -f core conftest.err conftest.
$ac_objext \
7579 conftest
$ac_exeext conftest.
$ac_ext
7580 CFLAGS
="$ac_save_CFLAGS"
7581 LIBS
="$ac_save_LIBS"
7589 GLIB_COMPILE_RESOURCES
=""
7590 as_fn_error $?
"Test for GLIB failed. See the file 'INSTALL' for help." "$LINENO" 5
7603 # Check whether --with-gtk was given.
7604 if test "${with_gtk+set}" = set; then :
7605 withval
=$with_gtk; with_gtk
=$withval
7611 # Check whether --with-sdl was given.
7612 if test "${with_sdl+set}" = set; then :
7613 withval
=$with_sdl; with_sdl
=$withval
7619 if test x
"$with_gtk" = "xno" -a x
"$with_sdl" = "xno"; then
7620 as_fn_error $?
"You cannot disable both SDL and GTK. Rerun with --with-gtk or --with-sdl." "$LINENO" 5
7623 if test x
"$with_gtk" = "xyes"; then
7631 if test x
"$with_gtk" = "xyes" ; then
7633 $as_echo "#define HAVE_GTK /**/" >>confdefs.h
7635 # Check whether --enable-gtktest was given.
7636 if test "${enable_gtktest+set}" = set; then :
7637 enableval
=$enable_gtktest;
7643 pkg_config_args
=gtk
+-2.0
7648 pkg_config_args
="$pkg_config_args gthread-2.0"
7655 # Extract the first word of "pkg-config", so it can be a program name with args.
7656 set dummy pkg-config
; ac_word
=$2
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7658 $as_echo_n "checking for $ac_word... " >&6; }
7659 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
7660 $as_echo_n "(cached) " >&6
7664 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
7667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7671 test -z "$as_dir" && as_dir
=.
7672 for ac_exec_ext
in '' $ac_executable_extensions; do
7673 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7674 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7682 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
7686 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
7687 if test -n "$PKG_CONFIG"; then
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7689 $as_echo "$PKG_CONFIG" >&6; }
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7692 $as_echo "no" >&6; }
7697 if test x
$PKG_CONFIG != xno
; then
7698 if pkg-config
--atleast-pkgconfig-version 0.7 ; then
7701 echo "*** pkg-config too old; version 0.7 or better required."
7709 min_gtk_version
=2.12.0
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
7711 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
7713 if test x
$PKG_CONFIG != xno
; then
7714 ## don't try to run the test against uninstalled libtool libs
7715 if $PKG_CONFIG --uninstalled $pkg_config_args; then
7716 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
7720 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
7727 if test x
"$no_gtk" = x
; then
7728 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
7729 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
7730 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
7731 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7732 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
7733 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7734 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
7735 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7736 if test "x$enable_gtktest" = "xyes" ; then
7737 ac_save_CFLAGS
="$CFLAGS"
7738 ac_save_LIBS
="$LIBS"
7739 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7740 LIBS
="$GTK_LIBS $LIBS"
7742 if test "$cross_compiling" = yes; then :
7743 echo $ac_n "cross compiling; assumed OK... $ac_c"
7745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7746 /* end confdefs.h. */
7748 #include <gtk/gtk.h>
7755 int major, minor, micro;
7758 fclose (fopen ("conf.gtktest", "w"));
7760 /* HP/UX 9 (%@#!) writes to sscanf strings */
7761 tmp_version = g_strdup("$min_gtk_version");
7762 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
7763 printf("%s, bad version string\n", "$min_gtk_version");
7767 if ((gtk_major_version != $gtk_config_major_version) ||
7768 (gtk_minor_version != $gtk_config_minor_version) ||
7769 (gtk_micro_version != $gtk_config_micro_version))
7771 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
7772 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
7773 gtk_major_version, gtk_minor_version, gtk_micro_version);
7774 printf ("*** was found! If pkg-config was correct, then it is best\n");
7775 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
7776 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
7777 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
7778 printf("*** required on your system.\n");
7779 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
7780 printf("*** to point to the correct configuration files\n");
7782 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
7783 (gtk_minor_version != GTK_MINOR_VERSION) ||
7784 (gtk_micro_version != GTK_MICRO_VERSION))
7786 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
7787 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
7788 printf("*** library (version %d.%d.%d)\n",
7789 gtk_major_version, gtk_minor_version, gtk_micro_version);
7793 if ((gtk_major_version > major) ||
7794 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7795 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
7801 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
7802 gtk_major_version, gtk_minor_version, gtk_micro_version);
7803 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
7804 major, minor, micro);
7805 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
7807 printf("*** If you have already installed a sufficiently new version, this error\n");
7808 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
7809 printf("*** being found. The easiest way to fix this is to remove the old version\n");
7810 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
7811 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
7812 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
7813 printf("*** so that the correct libraries are found at run-time))\n");
7820 if ac_fn_c_try_run
"$LINENO"; then :
7825 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7826 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7829 CFLAGS
="$ac_save_CFLAGS"
7830 LIBS
="$ac_save_LIBS"
7833 if test "x$no_gtk" = x
; then
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
7835 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7839 $as_echo "no" >&6; }
7840 if test "$PKG_CONFIG" = "no" ; then
7841 echo "*** A new enough version of pkg-config was not found."
7842 echo "*** See http://pkgconfig.sourceforge.net"
7844 if test -f conf.gtktest
; then
7847 echo "*** Could not run GTK+ test program, checking why..."
7848 ac_save_CFLAGS
="$CFLAGS"
7849 ac_save_LIBS
="$LIBS"
7850 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7851 LIBS
="$LIBS $GTK_LIBS"
7852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7853 /* end confdefs.h. */
7855 #include <gtk/gtk.h>
7861 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
7866 if ac_fn_c_try_link
"$LINENO"; then :
7867 echo "*** The test program compiled, but did not run. This usually means"
7868 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
7869 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
7870 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
7871 echo "*** to the installed location Also, make sure you have run ldconfig if that"
7872 echo "*** is required on your system"
7874 echo "*** If you have an old version installed, it is best to remove it, although"
7875 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
7877 echo "*** The test program failed to compile or link. See the file config.log for the"
7878 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
7880 rm -f core conftest.err conftest.
$ac_objext \
7881 conftest
$ac_exeext conftest.
$ac_ext
7882 CFLAGS
="$ac_save_CFLAGS"
7883 LIBS
="$ac_save_LIBS"
7888 as_fn_error $?
"Test for GTK+ failed. See the file 'INSTALL' for help." "$LINENO" 5
7899 if test x
"$with_sdl" = "xyes"; then
7907 if test x
"$with_sdl" = "xyes" ; then
7909 $as_echo "#define HAVE_SDL /**/" >>confdefs.h
7912 # Check whether --with-sdl-prefix was given.
7913 if test "${with_sdl_prefix+set}" = set; then :
7914 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
7920 # Check whether --with-sdl-exec-prefix was given.
7921 if test "${with_sdl_exec_prefix+set}" = set; then :
7922 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
7927 # Check whether --enable-sdltest was given.
7928 if test "${enable_sdltest+set}" = set; then :
7929 enableval
=$enable_sdltest;
7935 if test x
$sdl_exec_prefix != x
; then
7936 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
7937 if test x
${SDL_CONFIG+set} != xset
; then
7938 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
7941 if test x
$sdl_prefix != x
; then
7942 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
7943 if test x
${SDL_CONFIG+set} != xset
; then
7944 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
7948 as_save_PATH
="$PATH"
7949 if test "x$prefix" != xNONE
; then
7950 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
7952 # Extract the first word of "sdl-config", so it can be a program name with args.
7953 set dummy sdl-config
; ac_word
=$2
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7955 $as_echo_n "checking for $ac_word... " >&6; }
7956 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
7957 $as_echo_n "(cached) " >&6
7961 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
7964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7968 test -z "$as_dir" && as_dir
=.
7969 for ac_exec_ext
in '' $ac_executable_extensions; do
7970 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7971 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7979 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
7983 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
7984 if test -n "$SDL_CONFIG"; then
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
7986 $as_echo "$SDL_CONFIG" >&6; }
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7989 $as_echo "no" >&6; }
7993 PATH
="$as_save_PATH"
7994 min_sdl_version
=1.2.0
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
7996 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
7998 if test "$SDL_CONFIG" = "no" ; then
8001 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
8002 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
8004 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
8005 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
8006 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
8007 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
8008 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
8009 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
8010 if test "x$enable_sdltest" = "xyes" ; then
8011 ac_save_CFLAGS
="$CFLAGS"
8012 ac_save_CXXFLAGS
="$CXXFLAGS"
8013 ac_save_LIBS
="$LIBS"
8014 CFLAGS
="$CFLAGS $SDL_CFLAGS"
8015 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
8016 LIBS
="$LIBS $SDL_LIBS"
8018 if test "$cross_compiling" = yes; then :
8019 echo $ac_n "cross compiling; assumed OK... $ac_c"
8021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8022 /* end confdefs.h. */
8030 my_strdup (char *str)
8036 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
8037 strcpy (new_str, str);
8045 int main (int argc, char *argv[])
8047 int major, minor, micro;
8050 /* This hangs on some systems (?)
8051 system ("touch conf.sdltest");
8053 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
8055 /* HP/UX 9 (%@#!) writes to sscanf strings */
8056 tmp_version = my_strdup("$min_sdl_version");
8057 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
8058 printf("%s, bad version string\n", "$min_sdl_version");
8062 if (($sdl_major_version > major) ||
8063 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
8064 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
8070 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
8071 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
8072 printf("*** best to upgrade to the required version.\n");
8073 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
8074 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
8075 printf("*** config.cache before re-running configure\n");
8082 if ac_fn_c_try_run
"$LINENO"; then :
8087 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8088 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8091 CFLAGS
="$ac_save_CFLAGS"
8092 CXXFLAGS
="$ac_save_CXXFLAGS"
8093 LIBS
="$ac_save_LIBS"
8096 if test "x$no_sdl" = x
; then
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8098 $as_echo "yes" >&6; }
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8102 $as_echo "no" >&6; }
8103 if test "$SDL_CONFIG" = "no" ; then
8104 echo "*** The sdl-config script installed by SDL could not be found"
8105 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
8106 echo "*** your path, or set the SDL_CONFIG environment variable to the"
8107 echo "*** full path to sdl-config."
8109 if test -f conf.sdltest
; then
8112 echo "*** Could not run SDL test program, checking why..."
8113 CFLAGS
="$CFLAGS $SDL_CFLAGS"
8114 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
8115 LIBS
="$LIBS $SDL_LIBS"
8116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8117 /* end confdefs.h. */
8122 int main(int argc, char *argv[])
8125 #define main K_and_R_C_main
8135 if ac_fn_c_try_link
"$LINENO"; then :
8136 echo "*** The test program compiled, but did not run. This usually means"
8137 echo "*** that the run-time linker is not finding SDL or finding the wrong"
8138 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
8139 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
8140 echo "*** to the installed location Also, make sure you have run ldconfig if that"
8141 echo "*** is required on your system"
8143 echo "*** If you have an old version installed, it is best to remove it, although"
8144 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
8146 echo "*** The test program failed to compile or link. See the file config.log for the"
8147 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
8148 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
8149 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
8151 rm -f core conftest.err conftest.
$ac_objext \
8152 conftest
$ac_exeext conftest.
$ac_ext
8153 CFLAGS
="$ac_save_CFLAGS"
8154 CXXFLAGS
="$ac_save_CXXFLAGS"
8155 LIBS
="$ac_save_LIBS"
8160 as_fn_error $?
"Test for SDL failed. See the file 'INSTALL' for help." "$LINENO" 5
8166 SDL_LIBS
="$SDL_LIBS -lSDL_mixer -lSDL_image"
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8168 $as_echo_n "checking for X... " >&6; }
8171 # Check whether --with-x was given.
8172 if test "${with_x+set}" = set; then :
8176 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8177 if test "x$with_x" = xno
; then
8178 # The user explicitly disabled X.
8181 case $x_includes,$x_libraries in #(
8182 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8183 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8184 $as_echo_n "(cached) " >&6
8186 # One or both of the vars are not set, and there is no cached value.
8187 ac_x_includes
=no ac_x_libraries
=no
8188 rm -f -r conftest.dir
8189 if mkdir conftest.dir
; then
8191 cat >Imakefile
<<'_ACEOF'
8193 @echo incroot='${INCROOT}'
8195 @echo usrlibdir='${USRLIBDIR}'
8197 @echo libdir='${LIBDIR}'
8199 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8200 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8201 for ac_var
in incroot usrlibdir libdir
; do
8202 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8204 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8205 for ac_extension
in a so sl dylib la dll
; do
8206 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8207 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8208 ac_im_usrlibdir
=$ac_im_libdir; break
8211 # Screen out bogus values from the imake configuration. They are
8212 # bogus both because they are the default anyway, and because
8213 # using them would break gcc on systems where it needs fixed includes.
8214 case $ac_im_incroot in
8215 /usr
/include
) ac_x_includes
= ;;
8216 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8218 case $ac_im_usrlibdir in
8219 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8220 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8224 rm -f -r conftest.dir
8227 # Standard set of common directories for X headers.
8228 # Check X11 before X11Rn because it is often a symlink to the current release.
8242 /usr/local/X11/include
8243 /usr/local/X11R7/include
8244 /usr/local/X11R6/include
8245 /usr/local/X11R5/include
8246 /usr/local/X11R4/include
8248 /usr/local/include/X11
8249 /usr/local/include/X11R7
8250 /usr/local/include/X11R6
8251 /usr/local/include/X11R5
8252 /usr/local/include/X11R4
8256 /usr/XFree86/include/X11
8260 /usr/unsupported/include
8262 /usr/local/x11r5/include
8263 /usr/lpp/Xamples/include
8265 /usr/openwin/include
8266 /usr/openwin/share/include'
8268 if test "$ac_x_includes" = no
; then
8269 # Guess where to find include files, by looking for Xlib.h.
8270 # First, try using that file with no special directory specified.
8271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8272 /* end confdefs.h. */
8273 #include <X11/Xlib.h>
8275 if ac_fn_c_try_cpp
"$LINENO"; then :
8276 # We can compile using X headers with no special include directory.
8279 for ac_dir
in $ac_x_header_dirs; do
8280 if test -r "$ac_dir/X11/Xlib.h"; then
8281 ac_x_includes
=$ac_dir
8286 rm -f conftest.err conftest.i conftest.
$ac_ext
8287 fi # $ac_x_includes = no
8289 if test "$ac_x_libraries" = no
; then
8290 # Check for the libraries.
8291 # See if we find them without any special options.
8292 # Don't add to $LIBS permanently.
8295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8296 /* end confdefs.h. */
8297 #include <X11/Xlib.h>
8306 if ac_fn_c_try_link
"$LINENO"; then :
8308 # We can link X programs with no special library path.
8312 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8314 # Don't even attempt the hair of trying to link an X program!
8315 for ac_extension
in a so sl dylib la dll
; do
8316 if test -r "$ac_dir/libX11.$ac_extension"; then
8317 ac_x_libraries
=$ac_dir
8323 rm -f core conftest.err conftest.
$ac_objext \
8324 conftest
$ac_exeext conftest.
$ac_ext
8325 fi # $ac_x_libraries = no
8327 case $ac_x_includes,$ac_x_libraries in #(
8329 # Didn't find X, or a directory has "'" in its name.
8330 ac_cv_have_x
="have_x=no";; #(
8332 # Record where we found X for the cache.
8333 ac_cv_have_x
="have_x=yes\
8334 ac_x_includes='$ac_x_includes'\
8335 ac_x_libraries='$ac_x_libraries'"
8341 eval "$ac_cv_have_x"
8344 if test "$have_x" != yes; then
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8346 $as_echo "$have_x" >&6; }
8349 # If each of the values was on the command line, it overrides each guess.
8350 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8351 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8352 # Update the cache value to reflect the command line values.
8353 ac_cv_have_x
="have_x=yes\
8354 ac_x_includes='$x_includes'\
8355 ac_x_libraries='$x_libraries'"
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8357 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
8361 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
8362 if ${ac_cv_path_SED+:} false
; then :
8363 $as_echo_n "(cached) " >&6
8365 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
8366 for ac_i
in 1 2 3 4 5 6 7; do
8367 ac_script
="$ac_script$as_nl$ac_script"
8369 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
8370 { ac_script
=; unset ac_script
;}
8371 if test -z "$SED"; then
8372 ac_path_SED_found
=false
8373 # Loop through the user's path and test for each of PROGNAME-LIST
8374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8378 test -z "$as_dir" && as_dir
=.
8379 for ac_prog
in sed gsed
; do
8380 for ac_exec_ext
in '' $ac_executable_extensions; do
8381 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
8382 as_fn_executable_p
"$ac_path_SED" ||
continue
8383 # Check for GNU ac_path_SED and select it if it is found.
8384 # Check for GNU $ac_path_SED
8385 case `"$ac_path_SED" --version 2>&1` in
8387 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
8390 $as_echo_n 0123456789 >"conftest.in"
8393 cat "conftest.in" "conftest.in" >"conftest.tmp"
8394 mv "conftest.tmp" "conftest.in"
8395 cp "conftest.in" "conftest.nl"
8396 $as_echo '' >> "conftest.nl"
8397 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
8398 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
8399 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
8400 if test $ac_count -gt ${ac_path_SED_max-0}; then
8401 # Best one so far, save it but keep looking for a better one
8402 ac_cv_path_SED
="$ac_path_SED"
8403 ac_path_SED_max
=$ac_count
8405 # 10*(2^10) chars as input seems more than enough
8406 test $ac_count -gt 10 && break
8408 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
8411 $ac_path_SED_found && break 3
8416 if test -z "$ac_cv_path_SED"; then
8417 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
8425 $as_echo "$ac_cv_path_SED" >&6; }
8426 SED
="$ac_cv_path_SED"
8431 ac_cpp
='$CPP $CPPFLAGS'
8432 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8433 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8434 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Microsoft C compiler" >&5
8437 $as_echo_n "checking whether we are using the Microsoft C compiler... " >&6; }
8438 if ${ax_cv_c_compiler_ms+:} false
; then :
8439 $as_echo_n "(cached) " >&6
8441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8442 /* end confdefs.h. */
8455 if ac_fn_c_try_compile
"$LINENO"; then :
8460 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8461 ax_cv_c_compiler_ms
=$ax_compiler_ms
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_compiler_ms" >&5
8465 $as_echo "$ax_cv_c_compiler_ms" >&6; }
8468 # Use x_includes and x_libraries if they have been set (presumably by
8471 if test X
$no_x != Xyes
-a -n "$x_includes"; then :
8472 GL_CFLAGS
="-I$x_includes $GL_CFLAGS"
8475 for ac_header
in windows.h
8477 ac_fn_c_check_header_mongrel
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
8478 if test "x$ac_cv_header_windows_h" = xyes
; then :
8479 cat >>confdefs.h
<<_ACEOF
8480 #define HAVE_WINDOWS_H 1
8488 ax_save_CPPFLAGS
=$CPPFLAGS
8489 CPPFLAGS
="$GL_CFLAGS $CPPFLAGS"
8490 for ac_header
in GL
/gl.h OpenGL
/gl.h
8492 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8493 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "
8494 # if defined(HAVE_WINDOWS_H) && defined(_WIN32)
8495 # include <windows.h>
8499 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8500 cat >>confdefs.h
<<_ACEOF
8501 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8508 CPPFLAGS
=$ax_save_CPPFLAGS
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL library" >&5
8515 $as_echo_n "checking for OpenGL library... " >&6; }
8516 if ${ax_cv_check_gl_libgl+:} false
; then :
8517 $as_echo_n "(cached) " >&6
8519 ax_cv_check_gl_libgl
=no
8521 x86_64
) ax_check_gl_libdir
=lib64
;;
8522 *) ax_check_gl_libdir
=lib
;;
8524 ax_save_CPPFLAGS
=$CPPFLAGS
8525 CPPFLAGS
="$CPPFLAGS $GL_CFLAGS"
8526 ax_save_LDFLAGS
=$LDFLAGS
8527 if test X
$no_x != Xyes
-a -n "$x_libraries"; then :
8528 LDFLAGS
="$LDFLAGS -L$x_libraries"
8531 ax_check_libs
="-lopengl32 -lGL"
8532 for ax_lib
in $ax_check_libs; do
8533 if test X
$ax_compiler_ms = Xyes
; then :
8534 ax_try_lib
=`echo $ax_lib | $SED -e 's/^-l//' -e 's/$/.lib/'`
8538 LDFLAGS
="$ax_save_LDFLAGS $GL_LIBS"
8539 LIBS
="$ax_try_lib $ax_save_LIBS"
8540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8541 /* end confdefs.h. */
8543 # if defined(HAVE_WINDOWS_H) && defined(_WIN32)
8544 # include <windows.h>
8546 # ifdef HAVE_GL_GL_H
8548 # elif defined(HAVE_OPENGL_GL_H)
8549 # include <OpenGL/gl.h>
8561 if ac_fn_c_try_link
"$LINENO"; then :
8562 ax_cv_check_gl_libgl
=$ax_try_lib; break
8564 ax_check_gl_dylib_flag
='-dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib'
8565 LDFLAGS
="$ax_save_LDFLAGS $GL_LIBS $ax_check_gl_dylib_flag"
8566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8567 /* end confdefs.h. */
8569 # if defined(HAVE_WINDOWS_H) && defined(_WIN32)
8570 # include <windows.h>
8572 # ifdef HAVE_GL_GL_H
8574 # elif defined(HAVE_OPENGL_GL_H)
8575 # include <OpenGL/gl.h>
8587 if ac_fn_c_try_link
"$LINENO"; then :
8588 ax_cv_check_gl_libgl
="$ax_check_gl_dylib_flag $ax_try_lib"; break
8590 rm -f core conftest.err conftest.
$ac_objext \
8591 conftest
$ac_exeext conftest.
$ac_ext
8593 rm -f core conftest.err conftest.
$ac_objext \
8594 conftest
$ac_exeext conftest.
$ac_ext
8598 # If no_x is "yes", we don't want to wind up using a libGL that is
8599 # linked with X11. Test to see if the found libGL includes GLX
8600 # functions. If it does and no_x is "yes", we want to reset
8601 # ax_cv_check_gl_libgl back to "no".
8603 # Note that LDFLAGS and LIBS should still have whatever values they
8604 # had when we broke out of the test loop above; use that.
8606 if test "X$ax_cv_check_gl_libgl" != Xno
; then :
8607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8608 /* end confdefs.h. */
8610 # if defined(HAVE_WINDOWS_H) && defined(_WIN32)
8611 # include <windows.h>
8613 # ifdef HAVE_GL_GL_H
8615 # elif defined(HAVE_OPENGL_GL_H)
8616 # include <OpenGL/gl.h>
8623 glXQueryVersion(0, 0, 0)
8628 if ac_fn_c_try_link
"$LINENO"; then :
8629 if test X
$no_x = Xyes
; then :
8630 ax_cv_check_gl_libgl
=no
8633 rm -f core conftest.err conftest.
$ac_objext \
8634 conftest
$ac_exeext conftest.
$ac_ext
8638 if test "X$ax_cv_check_gl_libgl" = Xno
-a X
$no_x = Xyes
; then :
8639 LDFLAGS
="$ax_save_LDFLAGS -framework OpenGL -framework Cocoa"
8640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8641 /* end confdefs.h. */
8643 # if defined(HAVE_WINDOWS_H) && defined(_WIN32)
8644 # include <windows.h>
8646 # ifdef HAVE_GL_GL_H
8648 # elif defined(HAVE_OPENGL_GL_H)
8649 # include <OpenGL/gl.h>
8661 if ac_fn_c_try_link
"$LINENO"; then :
8662 ax_cv_check_gl_libgl
='-framework OpenGL -framework Cocoa'
8664 rm -f core conftest.err conftest.
$ac_objext \
8665 conftest
$ac_exeext conftest.
$ac_ext
8668 LDFLAGS
=$ax_save_LDFLAGS
8669 CPPFLAGS
=$ax_save_CPPFLAGS
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_gl_libgl" >&5
8672 $as_echo "$ax_cv_check_gl_libgl" >&6; }
8674 if test "X$ax_cv_check_gl_libgl" = Xno
; then :
8675 no_gl
=yes; GL_CFLAGS
=""; GL_LIBS
=""
8677 GL_LIBS
="$ax_cv_check_gl_libgl $GL_LIBS"
8680 ac_cpp
='$CPP $CPPFLAGS'
8681 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8682 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8683 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBPNG" >&5
8700 $as_echo_n "checking for LIBPNG... " >&6; }
8702 if test -n "$LIBPNG_CFLAGS"; then
8703 pkg_cv_LIBPNG_CFLAGS
="$LIBPNG_CFLAGS"
8704 elif test -n "$PKG_CONFIG"; then
8705 if test -n "$PKG_CONFIG" && \
8706 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng\""; } >&5
8707 ($PKG_CONFIG --exists --print-errors "libpng") 2>&5
8709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8710 test $ac_status = 0; }; then
8711 pkg_cv_LIBPNG_CFLAGS
=`$PKG_CONFIG --cflags "libpng" 2>/dev/null`
8712 test "x$?" != "x0" && pkg_failed
=yes
8719 if test -n "$LIBPNG_LIBS"; then
8720 pkg_cv_LIBPNG_LIBS
="$LIBPNG_LIBS"
8721 elif test -n "$PKG_CONFIG"; then
8722 if test -n "$PKG_CONFIG" && \
8723 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng\""; } >&5
8724 ($PKG_CONFIG --exists --print-errors "libpng") 2>&5
8726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8727 test $ac_status = 0; }; then
8728 pkg_cv_LIBPNG_LIBS
=`$PKG_CONFIG --libs "libpng" 2>/dev/null`
8729 test "x$?" != "x0" && pkg_failed
=yes
8739 if test $pkg_failed = yes; then
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8741 $as_echo "no" >&6; }
8743 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8744 _pkg_short_errors_supported
=yes
8746 _pkg_short_errors_supported
=no
8748 if test $_pkg_short_errors_supported = yes; then
8749 LIBPNG_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpng" 2>&1`
8751 LIBPNG_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libpng" 2>&1`
8753 # Put the nasty error message in config.log where it belongs
8754 echo "$LIBPNG_PKG_ERRORS" >&5
8756 as_fn_error $?
"Package requirements (libpng) were not met:
8760 Consider adjusting the PKG_CONFIG_PATH environment variable if you
8761 installed software in a non-standard prefix.
8763 Alternatively, you may set the environment variables LIBPNG_CFLAGS
8764 and LIBPNG_LIBS to avoid the need to call pkg-config.
8765 See the pkg-config man page for more details." "$LINENO" 5
8766 elif test $pkg_failed = untried
; then
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8768 $as_echo "no" >&6; }
8769 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8770 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8771 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
8772 is in your PATH or set the PKG_CONFIG environment variable to the full
8775 Alternatively, you may set the environment variables LIBPNG_CFLAGS
8776 and LIBPNG_LIBS to avoid the need to call pkg-config.
8777 See the pkg-config man page for more details.
8779 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
8780 See \`config.log' for more details" "$LINENO" 5; }
8782 LIBPNG_CFLAGS
=$pkg_cv_LIBPNG_CFLAGS
8783 LIBPNG_LIBS
=$pkg_cv_LIBPNG_LIBS
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8785 $as_echo "yes" >&6; }
8787 $as_echo "#define HAVE_LIBPNG 1" >>confdefs.h
8792 ac_config_files
="$ac_config_files Makefile po/Makefile.in include/Makefile src/Makefile caves/Makefile docs/Makefile sound/Makefile music/Makefile shaders/Makefile"
8795 cat >confcache
<<\_ACEOF
8796 # This file is a shell script that caches the results of configure
8797 # tests run on this system so they can be shared between configure
8798 # scripts and configure runs, see configure's option --config-cache.
8799 # It is not useful on other systems. If it contains results you don't
8800 # want to keep, you may remove or edit it.
8802 # config.status only pays attention to the cache file if you give it
8803 # the --recheck option to rerun configure.
8805 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8806 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8811 # The following way of writing the cache mishandles newlines in values,
8812 # but we know of no workaround that is simple, portable, and efficient.
8813 # So, we kill variables containing newlines.
8814 # Ultrix sh set writes to stderr and can't be redirected directly,
8815 # and sets the high bit in the cache file unless we assign to the vars.
8817 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8818 eval ac_val
=\$
$ac_var
8822 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8823 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8826 _ | IFS | as_nl
) ;; #(
8827 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
8828 *) { eval $ac_var=; unset $ac_var;} ;;
8834 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8835 *${as_nl}ac_space
=\
*)
8836 # `set' does not quote correctly, so add quotes: double-quote
8837 # substitution turns \\\\ into \\, and sed turns \\ into \.
8840 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8843 # `set' quotes correctly as required by POSIX, so do not add quotes.
8844 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8853 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8855 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8857 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
8858 if test -w "$cache_file"; then
8859 if test "x$cache_file" != "x/dev/null"; then
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8861 $as_echo "$as_me: updating cache $cache_file" >&6;}
8862 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
8863 cat confcache
>"$cache_file"
8865 case $cache_file in #(
8867 mv -f confcache
"$cache_file"$$
&&
8868 mv -f "$cache_file"$$
"$cache_file" ;; #(
8870 mv -f confcache
"$cache_file" ;;
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8876 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8881 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8882 # Let make expand exec_prefix.
8883 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8885 DEFS
=-DHAVE_CONFIG_H
8890 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8891 # 1. Remove the extension, and $U if already installed.
8892 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
8893 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
8894 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8895 # will be set to the directory where LIBOBJS objects are built.
8896 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8897 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
8901 LTLIBOBJS
=$ac_ltlibobjs
8904 if test -n "$EXEEXT"; then
8906 am__EXEEXT_FALSE
='#'
8912 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8913 as_fn_error $?
"conditional \"AMDEP\" was never defined.
8914 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8916 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8917 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
8918 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8920 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
8921 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
8922 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8924 if test -z "${GTK_TRUE}" && test -z "${GTK_FALSE}"; then
8925 as_fn_error $?
"conditional \"GTK\" was never defined.
8926 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8928 if test -z "${SDL_TRUE}" && test -z "${SDL_FALSE}"; then
8929 as_fn_error $?
"conditional \"SDL\" was never defined.
8930 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8933 : "${CONFIG_STATUS=./config.status}"
8935 ac_clean_files_save
=$ac_clean_files
8936 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8938 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8940 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8942 # Generated by $as_me.
8943 # Run this file to recreate the current configuration.
8944 # Compiler output produced by configure, useful for debugging
8945 # configure, is in config.log if it exists.
8951 SHELL=\${CONFIG_SHELL-$SHELL}
8954 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
8955 ## -------------------- ##
8956 ## M4sh Initialization. ##
8957 ## -------------------- ##
8959 # Be more Bourne compatible
8960 DUALCASE
=1; export DUALCASE
# for MKS sh
8961 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
8964 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8965 # is contrary to our usage. Disable this feature.
8966 alias -g '${1+"$@"}'='"$@"'
8967 setopt NO_GLOB_SUBST
8969 case `(set -o) 2>/dev/null` in #(
8981 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8982 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8983 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8984 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8985 # Prefer a ksh shell builtin over an external printf program on Solaris,
8986 # but without wasting forks for bash or zsh.
8987 if test -z "$BASH_VERSION$ZSH_VERSION" \
8988 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8989 as_echo='print
-r --'
8990 as_echo_n='print
-rn --'
8991 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8992 as_echo='printf %s
\n'
8993 as_echo_n='printf %s
'
8995 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8996 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
8997 as_echo_n='/usr
/ucb
/echo -n'
8999 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9000 as_echo_n_body='eval
9004 expr "X$arg" : "X\\(.*\\)$as_nl";
9005 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9007 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
9009 export as_echo_n_body
9010 as_echo_n='sh
-c $as_echo_n_body as_echo
'
9013 as_echo='sh
-c $as_echo_body as_echo
'
9016 # The user is always right.
9017 if test "${PATH_SEPARATOR+set}" != set; then
9019 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9020 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9027 # We need space, tab and new line, in precisely that order. Quoting is
9028 # there to prevent editors from complaining about space-tab.
9029 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9030 # splitting by setting IFS to empty value.)
9033 # Find who we are. Look in the path if we contain no directory separator.
9036 *[\\/]* ) as_myself=$0 ;;
9037 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9041 test -z "$as_dir" && as_dir=.
9042 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9048 # We did not find ourselves, most probably we were run as `sh COMMAND'
9049 # in which case we are not to be found in the path.
9050 if test "x$as_myself" = x
; then
9053 if test ! -f "$as_myself"; then
9054 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9058 # Unset variables that we do not need and which cause bugs (e.g. in
9059 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
9060 # suppresses any "Segmentation fault" message there. '((' could
9061 # trigger a bug in pdksh 5.2.14.
9062 for as_var
in BASH_ENV ENV MAIL MAILPATH
9063 do eval test x\
${$as_var+set} = xset \
9064 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
9077 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
9080 # as_fn_error STATUS ERROR [LINENO LOG_FD]
9081 # ----------------------------------------
9082 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
9083 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
9084 # script with STATUS, using 1 if that was 0.
9087 as_status
=$1; test $as_status -eq 0 && as_status
=1
9089 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
9090 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
9092 $as_echo "$as_me: error: $2" >&2
9093 as_fn_exit
$as_status
9097 # as_fn_set_status STATUS
9098 # -----------------------
9099 # Set $? to STATUS, without forking.
9103 } # as_fn_set_status
9107 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9117 # Portably unset VAR.
9120 { eval $1=; unset $1;}
9122 as_unset
=as_fn_unset
9123 # as_fn_append VAR VALUE
9124 # ----------------------
9125 # Append the text in VALUE to the end of the definition contained in VAR. Take
9126 # advantage of any shell optimizations that allow amortized linear growth over
9127 # repeated appends, instead of the typical quadratic growth present in naive
9129 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
9130 eval 'as_fn_append ()
9141 # as_fn_arith ARG...
9142 # ------------------
9143 # Perform arithmetic evaluation on the ARGs, and store the result in the
9144 # global $as_val. Take advantage of shells that can avoid forks. The arguments
9145 # must be portable across $(()) and expr.
9146 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
9147 eval 'as_fn_arith ()
9154 as_val
=`expr "$@" || test $? -eq 1`
9159 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9160 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9166 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9167 as_basename
=basename
9172 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
9178 as_me
=`$as_basename -- "$0" ||
9179 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9180 X"$0" : 'X\(//\)$' \| \
9181 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9183 sed '/^.*\/\([^/][^/]*\)\/*$/{
9197 # Avoid depending upon Character Ranges.
9198 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
9199 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9200 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
9201 as_cr_digits
='0123456789'
9202 as_cr_alnum
=$as_cr_Letters$as_cr_digits
9204 ECHO_C
= ECHO_N
= ECHO_T
=
9205 case `echo -n x` in #(((((
9207 case `echo 'xy\c'` in
9208 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
9210 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
9217 rm -f conf$$ conf$$.exe conf$$.
file
9218 if test -d conf$$.dir
; then
9219 rm -f conf$$.dir
/conf$$.
file
9222 mkdir conf$$.dir
2>/dev
/null
9224 if (echo >conf$$.
file) 2>/dev
/null
; then
9225 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9227 # ... but there are two gotchas:
9228 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9229 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9230 # In both cases, we have to default to `cp -pR'.
9231 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
9233 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9241 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
9242 rmdir conf$$.dir
2>/dev
/null
9247 # Create "$as_dir" as a directory, including parents if necessary.
9252 -*) as_dir
=.
/$as_dir;;
9254 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
9258 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9259 *) as_qdir
=$as_dir;;
9261 as_dirs
="'$as_qdir' $as_dirs"
9262 as_dir
=`$as_dirname -- "$as_dir" ||
9263 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9264 X"$as_dir" : 'X\(//\)[^/]' \| \
9265 X"$as_dir" : 'X\(//\)$' \| \
9266 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9267 $as_echo X"$as_dir" |
9268 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9285 test -d "$as_dir" && break
9287 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9288 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
9292 if mkdir
-p .
2>/dev
/null
; then
9293 as_mkdir_p
='mkdir -p "$as_dir"'
9295 test -d .
/-p && rmdir .
/-p
9300 # as_fn_executable_p FILE
9301 # -----------------------
9302 # Test if FILE is an executable regular file.
9303 as_fn_executable_p
()
9305 test -f "$1" && test -x "$1"
9306 } # as_fn_executable_p
9308 as_executable_p
=as_fn_executable_p
9310 # Sed expression to map a string onto a valid CPP name.
9311 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9313 # Sed expression to map a string onto a valid variable name.
9314 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9318 ## ----------------------------------- ##
9319 ## Main body of $CONFIG_STATUS script. ##
9320 ## ----------------------------------- ##
9322 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
9324 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9325 # Save the log message, to keep $0 and so on meaningful, and to
9326 # report actual input values of CONFIG_FILES etc. instead of their
9327 # values after options handling.
9329 This file was extended by GDash $as_me 20130427unstable, which was
9330 generated by GNU Autoconf 2.69. Invocation command line was
9332 CONFIG_FILES = $CONFIG_FILES
9333 CONFIG_HEADERS = $CONFIG_HEADERS
9334 CONFIG_LINKS = $CONFIG_LINKS
9335 CONFIG_COMMANDS = $CONFIG_COMMANDS
9338 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9343 case $ac_config_files in *"
9344 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
9347 case $ac_config_headers in *"
9348 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
9352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9353 # Files that config.status was made for.
9354 config_files="$ac_config_files"
9355 config_headers="$ac_config_headers"
9356 config_commands="$ac_config_commands"
9360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9362 \`$as_me' instantiates files and other configuration actions
9363 from templates according to the current configuration. Unless the files
9364 and actions are specified as TAGs, all are instantiated by default.
9366 Usage: $0 [OPTION]... [TAG]...
9368 -h, --help print this help, then exit
9369 -V, --version print version number and configuration settings, then exit
9370 --config print configuration, then exit
9371 -q, --quiet, --silent
9372 do not print progress messages
9373 -d, --debug don't remove temporary files
9374 --recheck update $as_me by reconfiguring in the same conditions
9375 --file=FILE[:TEMPLATE]
9376 instantiate the configuration file FILE
9377 --header=FILE[:TEMPLATE]
9378 instantiate the configuration header FILE
9380 Configuration files:
9383 Configuration headers:
9386 Configuration commands:
9389 Report bugs to <http://code.google.com/p/gdash/>."
9392 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9393 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9395 GDash config.status 20130427unstable
9396 configured by $0, generated by GNU Autoconf 2.69,
9397 with options \\"\$ac_cs_config\\"
9399 Copyright (C) 2012 Free Software Foundation, Inc.
9400 This config.status script is free software; the Free Software Foundation
9401 gives unlimited permission to copy, distribute and modify it."
9408 test -n "\$AWK" || AWK=awk
9411 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9412 # The default lists apply if the user does not specify any file.
9418 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
9419 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
9423 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
9435 # Handling of the options.
9436 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9438 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
9439 $as_echo "$ac_cs_version"; exit ;;
9440 --config |
--confi |
--conf |
--con |
--co |
--c )
9441 $as_echo "$ac_cs_config"; exit ;;
9442 --debug |
--debu |
--deb |
--de |
--d |
-d )
9444 --file |
--fil |
--fi |
--f )
9447 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9448 '') as_fn_error $?
"missing file argument" ;;
9450 as_fn_append CONFIG_FILES
" '$ac_optarg'"
9451 ac_need_defaults
=false
;;
9452 --header |
--heade |
--head |
--hea )
9455 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9457 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
9458 ac_need_defaults
=false
;;
9460 # Conflict between --help and --header
9461 as_fn_error $?
"ambiguous option: \`$1'
9462 Try \`$0 --help' for more information.";;
9463 --help |
--hel |
-h )
9464 $as_echo "$ac_cs_usage"; exit ;;
9465 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9466 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9470 -*) as_fn_error $?
"unrecognized option: \`$1'
9471 Try \`$0 --help' for more information." ;;
9473 *) as_fn_append ac_config_targets
" $1"
9474 ac_need_defaults
=false
;;
9480 ac_configure_extra_args
=
9482 if $ac_cs_silent; then
9484 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9488 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9489 if \$ac_cs_recheck; then
9490 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9492 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9493 CONFIG_SHELL='$SHELL'
9499 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9503 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9504 ## Running $as_me. ##
9510 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9514 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9515 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
9516 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
9517 # from automake < 1.5.
9518 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
9519 # Capture the value of LINGUAS because we need it to compute CATALOGS.
9520 LINGUAS="${LINGUAS-%UNSET%}"
9525 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9527 # Handling of arguments.
9528 for ac_config_target
in $ac_config_targets
9530 case $ac_config_target in
9531 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
9532 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
9533 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
9534 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9535 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
9536 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
9537 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
9538 "caves/Makefile") CONFIG_FILES
="$CONFIG_FILES caves/Makefile" ;;
9539 "docs/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/Makefile" ;;
9540 "sound/Makefile") CONFIG_FILES
="$CONFIG_FILES sound/Makefile" ;;
9541 "music/Makefile") CONFIG_FILES
="$CONFIG_FILES music/Makefile" ;;
9542 "shaders/Makefile") CONFIG_FILES
="$CONFIG_FILES shaders/Makefile" ;;
9544 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9549 # If the user did not use the arguments to specify the items to instantiate,
9550 # then the envvar interface is used. Set only those that are not.
9551 # We use the long form for the default assignment because of an extremely
9552 # bizarre bug on SunOS 4.1.3.
9553 if $ac_need_defaults; then
9554 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9555 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9556 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9559 # Have a temporary directory for convenience. Make it in the build tree
9560 # simply because there is no reason against having it here, and in addition,
9561 # creating and moving files from /tmp can sometimes cause problems.
9562 # Hook for its removal unless debugging.
9563 # Note that there is a small window in which the directory will not be cleaned:
9564 # after its creation but before its name has been assigned to `$tmp'.
9568 trap 'exit_status=$?
9570 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9572 trap 'as_fn_exit 1' 1 2 13 15
9574 # Create a (secure) tmp directory for tmp files.
9577 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9581 tmp
=.
/conf$$
-$RANDOM
9582 (umask 077 && mkdir
"$tmp")
9583 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
9586 # Set up the scripts for CONFIG_FILES section.
9587 # No need to generate them if there are no CONFIG_FILES.
9588 # This happens for instance with `./config.status config.h'.
9589 if test -n "$CONFIG_FILES"; then
9592 ac_cr
=`echo X | tr X '\015'`
9593 # On cygwin, bash can eat \r inside `` if the user requested igncr.
9594 # But we know of no other shell where ac_cr would be empty at this
9595 # point, so we can use a bashism as a fallback.
9596 if test "x$ac_cr" = x
; then
9597 eval ac_cr
=\$
\'\\r
\'
9599 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9600 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9606 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9611 echo "cat >conf$$subs.awk <<_ACEOF" &&
9612 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9615 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
9616 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
9618 for ac_last_try in false false false false false :; do
9619 . ./conf$$subs.sh ||
9620 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
9622 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
9623 if test $ac_delim_n = $ac_delim_num; then
9625 elif $ac_last_try; then
9626 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
9628 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9634 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
9638 s/^/S["/; s
/!.
*/"]=/
9648 s/\(.\{148\}\)..*/\1/
9650 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
9655 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
9662 s/\(.\{148\}\)..*/\1/
9664 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
9668 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
9673 ' <conf$$subs.awk | sed '
9678 ' >>$CONFIG_STATUS || ac_write_fail=1
9679 rm -f conf$$subs.awk
9680 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9682 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
9683 for (key in S) S_is_set[key] = 1
9689 nfields = split(line, field, "@
")
9691 len = length(field[1])
9692 for (i = 2; i < nfields; i++) {
9694 keylen = length(key)
9695 if (S_is_set[key]) {
9697 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9698 len += length(value) + length(field[++i])
9709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9710 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9711 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
9714 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
9715 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
9718 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9719 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
9720 # trailing colons and then remove the whole line if VPATH becomes empty
9721 # (actually we leave an empty line to preserve line numbers).
9722 if test "x
$srcdir" = x.; then
9723 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
9741 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9742 fi # test -n "$CONFIG_FILES"
9744 # Set up the scripts for CONFIG_HEADERS section.
9745 # No need to generate them if there are no CONFIG_HEADERS.
9746 # This happens for instance with `./config.status Makefile'.
9747 if test -n "$CONFIG_HEADERS"; then
9748 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
9752 # Transform confdefs.h into an awk script `defines.awk', embedded as
9753 # here-document in config.status, that substitutes the proper values into
9754 # config.h.in to produce config.h.
9756 # Create a delimiter string that does not exist in confdefs.h, to ease
9757 # handling of long lines.
9759 for ac_last_try in false false :; do
9760 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
9761 if test -z "$ac_tt"; then
9763 elif $ac_last_try; then
9764 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
9766 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9770 # For the awk script, D is an array of macro values keyed by name,
9771 # likewise P contains macro parameters if any. Preserve backslash
9772 # newline sequences.
9774 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9776 s/.\{148\}/&'"$ac_delim"'/g
9779 s/^[ ]*#[ ]*define[ ][ ]*/ /
9786 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
9788 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
9792 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
9793 D["\
1"]=" \
3\\\\\\n
"\\/p
9795 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
9800 s/.\{148\}/&'"$ac_delim"'/g
9805 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
9808 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
9810 ' <confdefs.h | sed '
9811 s/'"$ac_delim"'/"\\\
9812 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9814 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9815 for (key in D) D_is_set[key] = 1
9818 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9820 split(line, arg, " ")
9821 if (arg[1] == "#") {
9825 defundef
= substr
(arg
[1], 2)
9828 split(mac1
, mac2
, "(") #)
9830 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
9831 if (D_is_set
[macro
]) {
9832 # Preserve the white space surrounding the "#".
9833 print prefix
"define", macro P
[macro
] D
[macro
]
9836 # Replace #undef with comments. This is necessary, for example,
9837 # in the case of _POSIX_SOURCE, which is predefined and required
9838 # on some systems where configure will not decide to define it.
9839 if (defundef
== "undef") {
9840 print
"/*", prefix defundef
, macro
, "*/"
9848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9849 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
9850 fi # test -n "$CONFIG_HEADERS"
9853 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
9858 :[FHLC
]) ac_mode
=$ac_tag; continue;;
9860 case $ac_mode$ac_tag in
9862 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
9863 :[FH
]-) ac_tag
=-:-;;
9864 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
9881 -) ac_f
="$ac_tmp/stdin";;
9882 *) # Look for the file first in the build tree, then in the source tree
9883 # (if the path is not absolute). The absolute path cannot be DOS-style,
9884 # because $ac_f cannot contain `:'.
9888 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
9890 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9892 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9893 as_fn_append ac_file_inputs
" '$ac_f'"
9896 # Let's still pretend it is `configure' which instantiates (i.e., don't
9897 # use $as_me), people would be surprised to read:
9898 # /* config.h. Generated by config.status. */
9899 configure_input
='Generated from '`
9900 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9902 if test x
"$ac_file" != x-
; then
9903 configure_input
="$ac_file. $configure_input"
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9905 $as_echo "$as_me: creating $ac_file" >&6;}
9907 # Neutralize special characters interpreted by sed in replacement strings.
9908 case $configure_input in #(
9909 *\
&* |
*\|
* |
*\\* )
9910 ac_sed_conf_input
=`$as_echo "$configure_input" |
9911 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9912 *) ac_sed_conf_input
=$configure_input;;
9916 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
9917 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
9922 ac_dir
=`$as_dirname -- "$ac_file" ||
9923 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9924 X"$ac_file" : 'X\(//\)[^/]' \| \
9925 X"$ac_file" : 'X\(//\)$' \| \
9926 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9927 $as_echo X"$ac_file" |
9928 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9945 as_dir
="$ac_dir"; as_fn_mkdir_p
9949 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9951 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9952 # A ".." for each directory in $ac_dir_suffix.
9953 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9954 case $ac_top_builddir_sub in
9955 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9956 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9959 ac_abs_top_builddir
=$ac_pwd
9960 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9961 # for backward compatibility:
9962 ac_top_builddir
=$ac_top_build_prefix
9965 .
) # We are building in place.
9967 ac_top_srcdir
=$ac_top_builddir_sub
9968 ac_abs_top_srcdir
=$ac_pwd ;;
9969 [\\/]* | ?
:[\\/]* ) # Absolute name.
9970 ac_srcdir
=$srcdir$ac_dir_suffix;
9971 ac_top_srcdir
=$srcdir
9972 ac_abs_top_srcdir
=$srcdir ;;
9974 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9975 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9976 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9978 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9988 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9989 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
9993 [\\/$
]* | ?
:[\\/]* ) ;;
9994 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
9998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9999 # If the template does not know about datarootdir, expand it.
10000 # FIXME: This hack should be removed a few years after 2.60.
10001 ac_datarootdir_hack
=; ac_datarootdir_seen
=
10012 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10013 *datarootdir
*) ac_datarootdir_seen
=yes;;
10014 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10016 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10018 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10019 ac_datarootdir_hack='
10020 s&@datadir@&$datadir&g
10021 s&@docdir@&$docdir&g
10022 s&@infodir@&$infodir&g
10023 s&@localedir@&$localedir&g
10024 s&@mandir@&$mandir&g
10025 s&\\\${datarootdir}&$datarootdir&g' ;;
10029 # Neutralize VPATH when `$srcdir' = `.'.
10030 # Shell code in configure.ac might set extrasub.
10031 # FIXME: do we really want to maintain this feature?
10032 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10033 ac_sed_extra="$ac_vpsub
10036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10038 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
10039 s|@configure_input@|
$ac_sed_conf_input|
;t t
10040 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
10041 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
10042 s
&@srcdir@
&$ac_srcdir&;t t
10043 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
10044 s
&@top_srcdir@
&$ac_top_srcdir&;t t
10045 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
10046 s
&@builddir@
&$ac_builddir&;t t
10047 s
&@abs_builddir@
&$ac_abs_builddir&;t t
10048 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
10049 s
&@INSTALL@
&$ac_INSTALL&;t t
10050 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
10051 $ac_datarootdir_hack
10053 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
10054 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
10056 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10057 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
10058 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
10059 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
10061 which seems to be undefined. Please make sure it is defined" >&5
10062 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
10063 which seems to be undefined. Please make sure it is defined" >&2;}
10065 rm -f "$ac_tmp/stdin"
10067 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
10068 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
10070 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10076 if test x"$ac_file" != x-; then
10078 $as_echo "/* $configure_input */" \
10079 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
10080 } >"$ac_tmp/config.h" \
10081 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10082 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10084 $as_echo "$as_me: $ac_file is unchanged" >&6;}
10087 mv "$ac_tmp/config.h" "$ac_file" \
10088 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10091 $as_echo "/* $configure_input */" \
10092 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
10093 || as_fn_error $? "could not create -" "$LINENO" 5
10095 # Compute "$ac_file"'s index
in $config_headers.
10098 for _am_header
in $config_headers :; do
10099 case $_am_header in
10100 $_am_arg |
$_am_arg:* )
10103 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
10106 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10107 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10108 X"$_am_arg" : 'X\(//\)[^/]' \| \
10109 X"$_am_arg" : 'X\(//\)$' \| \
10110 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10111 $as_echo X"$_am_arg" |
10112 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10116 /^X\(\/\/\)[^/].*/{
10128 s/.*/./; q'`/stamp-h
$_am_stamp_count
10131 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10132 $as_echo "$as_me: executing $ac_file commands" >&6;}
10137 case $ac_file$ac_mode in
10138 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
10139 # Autoconf 2.62 quotes --file arguments for eval, but not when files
10140 # are listed without --file. Let's play safe and only enable the eval
10141 # if we detect the quoting.
10142 case $CONFIG_FILES in
10143 *\'*) eval set x
"$CONFIG_FILES" ;;
10144 *) set x
$CONFIG_FILES ;;
10149 # Strip MF so we end up with the name of the file.
10150 mf
=`echo "$mf" | sed -e 's/:.*$//'`
10151 # Check whether this is an Automake generated Makefile or not.
10152 # We used to match only the files named `Makefile.in', but
10153 # some people rename them; so instead we look at the file content.
10154 # Grep'ing the first line is not enough: some people post-process
10155 # each Makefile.in and add a new line on top of each file to say so.
10156 # Grep'ing the whole file is not good either: AIX grep has a line
10157 # limit of 2048, but all sed's we know have understand at least 4000.
10158 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
10159 dirpart
=`$as_dirname -- "$mf" ||
10160 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10161 X"$mf" : 'X\(//\)[^/]' \| \
10162 X"$mf" : 'X\(//\)$' \| \
10163 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10165 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10169 /^X\(\/\/\)[^/].*/{
10185 # Extract the definition of DEPDIR, am__include, and am__quote
10186 # from the Makefile without running `make'.
10187 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
10188 test -z "$DEPDIR" && continue
10189 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
10190 test -z "am__include" && continue
10191 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
10192 # When using ansi2knr, U may be empty or an underscore; expand it
10193 U
=`sed -n 's/^U = //p' < "$mf"`
10194 # Find all dependency output files, they are included files with
10195 # $(DEPDIR) in their names. We invoke sed twice because it is the
10196 # simplest approach to changing $(DEPDIR) to its actual value in the
10198 for file in `sed -n "
10199 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10200 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10201 # Make sure the directory exists.
10202 test -f "$dirpart/$file" && continue
10203 fdir
=`$as_dirname -- "$file" ||
10204 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10205 X"$file" : 'X\(//\)[^/]' \| \
10206 X"$file" : 'X\(//\)$' \| \
10207 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10208 $as_echo X"$file" |
10209 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10213 /^X\(\/\/\)[^/].*/{
10226 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
10227 # echo "creating $dirpart/$file"
10228 echo '# dummy' > "$dirpart/$file"
10233 "po-directories":C
)
10234 for ac_file
in $CONFIG_FILES; do
10235 # Support "outfile[:infile[:infile...]]"
10237 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
10239 # PO directories have a Makefile.in generated from Makefile.in.in.
10240 case "$ac_file" in */Makefile.
in)
10241 # Adjust a relative srcdir.
10242 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
10243 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
10244 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
10245 # In autoconf-2.13 it is called $ac_given_srcdir.
10246 # In autoconf-2.50 it is called $srcdir.
10247 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
10248 case "$ac_given_srcdir" in
10249 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
10250 /*) top_srcdir
="$ac_given_srcdir" ;;
10251 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
10253 # Treat a directory as a PO directory if and only if it has a
10254 # POTFILES.in file. This allows packages to have multiple PO
10255 # directories under different names or in different locations.
10256 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
10257 rm -f "$ac_dir/POTFILES"
10258 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
10259 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
10260 POMAKEFILEDEPS
="POTFILES.in"
10261 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
10262 # on $ac_dir but don't depend on user-specified configuration
10264 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
10265 # The LINGUAS file contains the set of available languages.
10266 if test -n "$OBSOLETE_ALL_LINGUAS"; then
10267 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
10269 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
10270 # Hide the ALL_LINGUAS assigment from automake < 1.5.
10271 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
10272 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
10274 # The set of available languages was given in configure.in.
10275 # Hide the ALL_LINGUAS assigment from automake < 1.5.
10276 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
10279 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
10280 # Compute UPDATEPOFILES
10281 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
10282 # Compute DUMMYPOFILES
10283 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
10285 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
10286 case "$ac_given_srcdir" in
10288 *) srcdirpre
='$(srcdir)/' ;;
10294 for lang
in $ALL_LINGUAS; do
10295 POFILES
="$POFILES $srcdirpre$lang.po"
10296 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
10297 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
10298 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
10300 # CATALOGS depends on both $ac_dir and the user's LINGUAS
10301 # environment variable.
10303 if test -n "$ALL_LINGUAS"; then
10304 for presentlang
in $ALL_LINGUAS; do
10306 if test "%UNSET%" != "$LINGUAS"; then
10307 desiredlanguages
="$LINGUAS"
10309 desiredlanguages
="$ALL_LINGUAS"
10311 for desiredlang
in $desiredlanguages; do
10312 # Use the presentlang catalog if desiredlang is
10313 # a. equal to presentlang, or
10314 # b. a variant of presentlang (because in this case,
10315 # presentlang can be used as a fallback for messages
10316 # which are not translated in the desiredlang catalog).
10317 case "$desiredlang" in
10318 "$presentlang"*) useit
=yes;;
10321 if test $useit = yes; then
10322 INST_LINGUAS
="$INST_LINGUAS $presentlang"
10327 if test -n "$INST_LINGUAS"; then
10328 for lang
in $INST_LINGUAS; do
10329 CATALOGS
="$CATALOGS $lang.gmo"
10332 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
10333 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"
10334 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
10335 if test -f "$f"; then
10337 *.orig |
*.bak |
*~
) ;;
10338 *) cat "$f" >> "$ac_dir/Makefile" ;;
10353 ac_clean_files
=$ac_clean_files_save
10355 test $ac_write_fail = 0 ||
10356 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
10359 # configure is writing to config.log, and then calls config.status.
10360 # config.status does its own redirection, appending to config.log.
10361 # Unfortunately, on DOS this fails, as config.log is still kept open
10362 # by configure, so config.status won't be able to write to it; its
10363 # output is simply discarded. So we exec the FD to /dev/null,
10364 # effectively closing config.log, so it can be properly (re)opened and
10365 # appended to by config.status. When coming back to configure, we
10366 # need to make the FD available again.
10367 if test "$no_create" != yes; then
10369 ac_config_status_args
=
10370 test "$silent" = yes &&
10371 ac_config_status_args
="$ac_config_status_args --quiet"
10373 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10375 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10376 # would make configure fail if this is the last instruction.
10377 $ac_cs_success || as_fn_exit
1
10379 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10381 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}