2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GDash 20130623unstable.
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
='20130623unstable'
584 PACKAGE_STRING
='GDash 20130623unstable'
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
661 XGETTEXT_EXTRA_OPTIONS
669 GETTEXT_MACRO_VERSION
713 INSTALL_STRIP_PROGRAM
755 program_transform_name
768 enable_option_checking
770 enable_dependency_tracking
783 ac_precious_vars
='build_alias
807 # Initialize some variables set by options.
809 ac_init_version
=false
810 ac_unrecognized_opts
=
812 # The variables have the same names as the options, with
813 # dashes changed to underlines.
821 program_transform_name
=s
,x
,x
,
829 # Installation directory options.
830 # These are left unexpanded so users can "make install exec_prefix=/foo"
831 # and all the variables that are supposed to be based on exec_prefix
832 # by default will actually change.
833 # Use braces instead of parens because sh, perl, etc. also accept them.
834 # (The list follows the same order as the GNU Coding Standards.)
835 bindir
='${exec_prefix}/bin'
836 sbindir
='${exec_prefix}/sbin'
837 libexecdir
='${exec_prefix}/libexec'
838 datarootdir
='${prefix}/share'
839 datadir
='${datarootdir}'
840 sysconfdir
='${prefix}/etc'
841 sharedstatedir
='${prefix}/com'
842 localstatedir
='${prefix}/var'
843 includedir
='${prefix}/include'
844 oldincludedir
='/usr/include'
845 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
846 infodir
='${datarootdir}/info'
851 libdir
='${exec_prefix}/lib'
852 localedir
='${datarootdir}/locale'
853 mandir
='${datarootdir}/man'
859 # If the previous option needs an argument, assign it.
860 if test -n "$ac_prev"; then
861 eval $ac_prev=\
$ac_option
867 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
872 # Accept the important Cygnus configure options, so we can diagnose typos.
874 case $ac_dashdash$ac_option in
878 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
880 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
883 -build |
--build |
--buil |
--bui |
--bu)
884 ac_prev
=build_alias
;;
885 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
886 build_alias
=$ac_optarg ;;
888 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
889 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
890 ac_prev
=cache_file
;;
891 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
892 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
893 cache_file
=$ac_optarg ;;
896 cache_file
=config.cache
;;
898 -datadir |
--datadir |
--datadi |
--datad)
900 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
901 datadir
=$ac_optarg ;;
903 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
904 |
--dataroo |
--dataro |
--datar)
905 ac_prev
=datarootdir
;;
906 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
907 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
908 datarootdir
=$ac_optarg ;;
910 -disable-* |
--disable-*)
911 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
912 # Reject names that are not valid shell variable names.
913 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
914 as_fn_error $?
"invalid feature name: $ac_useropt"
915 ac_useropt_orig
=$ac_useropt
916 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
917 case $ac_user_opts in
921 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
922 ac_unrecognized_sep
=', ';;
924 eval enable_
$ac_useropt=no
;;
926 -docdir |
--docdir |
--docdi |
--doc |
--do)
928 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
931 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
933 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
936 -enable-* |
--enable-*)
937 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
938 # Reject names that are not valid shell variable names.
939 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
940 as_fn_error $?
"invalid feature name: $ac_useropt"
941 ac_useropt_orig
=$ac_useropt
942 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
943 case $ac_user_opts in
947 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
948 ac_unrecognized_sep
=', ';;
950 eval enable_
$ac_useropt=\
$ac_optarg ;;
952 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
953 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
954 |
--exec |
--exe |
--ex)
955 ac_prev
=exec_prefix
;;
956 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
957 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
958 |
--exec=* |
--exe=* |
--ex=*)
959 exec_prefix
=$ac_optarg ;;
961 -gas |
--gas |
--ga |
--g)
962 # Obsolete; use --with-gas.
965 -help |
--help |
--hel |
--he |
-h)
967 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
968 ac_init_help
=recursive
;;
969 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
970 ac_init_help
=short
;;
972 -host |
--host |
--hos |
--ho)
973 ac_prev
=host_alias
;;
974 -host=* |
--host=* |
--hos=* |
--ho=*)
975 host_alias
=$ac_optarg ;;
977 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
979 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
981 htmldir
=$ac_optarg ;;
983 -includedir |
--includedir |
--includedi |
--included |
--include \
984 |
--includ |
--inclu |
--incl |
--inc)
985 ac_prev
=includedir
;;
986 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
987 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
988 includedir
=$ac_optarg ;;
990 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
992 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
993 infodir
=$ac_optarg ;;
995 -libdir |
--libdir |
--libdi |
--libd)
997 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1000 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1001 |
--libexe |
--libex |
--libe)
1002 ac_prev
=libexecdir
;;
1003 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1004 |
--libexe=* |
--libex=* |
--libe=*)
1005 libexecdir
=$ac_optarg ;;
1007 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1008 ac_prev
=localedir
;;
1009 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1010 localedir
=$ac_optarg ;;
1012 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1013 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1014 ac_prev
=localstatedir
;;
1015 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1016 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1017 localstatedir
=$ac_optarg ;;
1019 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1021 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1022 mandir
=$ac_optarg ;;
1024 -nfp |
--nfp |
--nf)
1025 # Obsolete; use --without-fp.
1028 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1029 |
--no-cr |
--no-c |
-n)
1032 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1033 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1036 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1037 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1038 |
--oldin |
--oldi |
--old |
--ol |
--o)
1039 ac_prev
=oldincludedir
;;
1040 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1041 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1042 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1043 oldincludedir
=$ac_optarg ;;
1045 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1047 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1048 prefix
=$ac_optarg ;;
1050 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1051 |
--program-pre |
--program-pr |
--program-p)
1052 ac_prev
=program_prefix
;;
1053 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1054 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1055 program_prefix
=$ac_optarg ;;
1057 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1058 |
--program-suf |
--program-su |
--program-s)
1059 ac_prev
=program_suffix
;;
1060 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1061 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1062 program_suffix
=$ac_optarg ;;
1064 -program-transform-name |
--program-transform-name \
1065 |
--program-transform-nam |
--program-transform-na \
1066 |
--program-transform-n |
--program-transform- \
1067 |
--program-transform |
--program-transfor \
1068 |
--program-transfo |
--program-transf \
1069 |
--program-trans |
--program-tran \
1070 |
--progr-tra |
--program-tr |
--program-t)
1071 ac_prev
=program_transform_name
;;
1072 -program-transform-name=* |
--program-transform-name=* \
1073 |
--program-transform-nam=* |
--program-transform-na=* \
1074 |
--program-transform-n=* |
--program-transform-=* \
1075 |
--program-transform=* |
--program-transfor=* \
1076 |
--program-transfo=* |
--program-transf=* \
1077 |
--program-trans=* |
--program-tran=* \
1078 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1079 program_transform_name
=$ac_optarg ;;
1081 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1083 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1084 pdfdir
=$ac_optarg ;;
1086 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1088 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1091 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1092 |
-silent |
--silent |
--silen |
--sile |
--sil)
1095 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1097 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1099 sbindir
=$ac_optarg ;;
1101 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1102 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1103 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1105 ac_prev
=sharedstatedir
;;
1106 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1107 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1108 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1110 sharedstatedir
=$ac_optarg ;;
1112 -site |
--site |
--sit)
1114 -site=* |
--site=* |
--sit=*)
1117 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1119 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1120 srcdir
=$ac_optarg ;;
1122 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1123 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1124 ac_prev
=sysconfdir
;;
1125 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1126 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1127 sysconfdir
=$ac_optarg ;;
1129 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1130 ac_prev
=target_alias
;;
1131 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1132 target_alias
=$ac_optarg ;;
1134 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1137 -version |
--version |
--versio |
--versi |
--vers |
-V)
1138 ac_init_version
=: ;;
1141 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1142 # Reject names that are not valid shell variable names.
1143 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1144 as_fn_error $?
"invalid package name: $ac_useropt"
1145 ac_useropt_orig
=$ac_useropt
1146 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1147 case $ac_user_opts in
1151 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1152 ac_unrecognized_sep
=', ';;
1154 eval with_
$ac_useropt=\
$ac_optarg ;;
1156 -without-* |
--without-*)
1157 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1158 # Reject names that are not valid shell variable names.
1159 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1160 as_fn_error $?
"invalid package name: $ac_useropt"
1161 ac_useropt_orig
=$ac_useropt
1162 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1163 case $ac_user_opts in
1167 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1168 ac_unrecognized_sep
=', ';;
1170 eval with_
$ac_useropt=no
;;
1173 # Obsolete; use --with-x.
1176 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1177 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1178 ac_prev
=x_includes
;;
1179 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1180 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1181 x_includes
=$ac_optarg ;;
1183 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1184 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1185 ac_prev
=x_libraries
;;
1186 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1187 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1188 x_libraries
=$ac_optarg ;;
1190 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1191 Try \`$0 --help' for more information"
1195 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1196 # Reject names that are not valid shell variable names.
1197 case $ac_envvar in #(
1198 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1199 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1201 eval $ac_envvar=\
$ac_optarg
1202 export $ac_envvar ;;
1205 # FIXME: should be removed in autoconf 3.0.
1206 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1207 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1208 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1209 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1215 if test -n "$ac_prev"; then
1216 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1217 as_fn_error $?
"missing argument to $ac_option"
1220 if test -n "$ac_unrecognized_opts"; then
1221 case $enable_option_checking in
1223 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1224 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1228 # Check all directory arguments for consistency.
1229 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1230 datadir sysconfdir sharedstatedir localstatedir includedir \
1231 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1232 libdir localedir mandir
1234 eval ac_val
=\$
$ac_var
1235 # Remove trailing slashes.
1238 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1239 eval $ac_var=\
$ac_val;;
1241 # Be sure to have absolute directory names.
1243 [\\/$
]* | ?
:[\\/]* ) continue;;
1244 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1246 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1249 # There might be people who depend on the old broken behavior: `$host'
1250 # used to hold the argument of --host etc.
1251 # FIXME: To remove some day.
1254 target
=$target_alias
1256 # FIXME: To remove some day.
1257 if test "x$host_alias" != x
; then
1258 if test "x$build_alias" = x
; then
1259 cross_compiling
=maybe
1260 elif test "x$build_alias" != "x$host_alias"; then
1266 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1268 test "$silent" = yes && exec 6>/dev
/null
1271 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1272 ac_ls_di
=`ls -di .` &&
1273 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1274 as_fn_error $?
"working directory cannot be determined"
1275 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1276 as_fn_error $?
"pwd does not report name of working directory"
1279 # Find the source files, if location was not specified.
1280 if test -z "$srcdir"; then
1281 ac_srcdir_defaulted
=yes
1282 # Try the directory containing this script, then the parent directory.
1283 ac_confdir
=`$as_dirname -- "$as_myself" ||
1284 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1285 X"$as_myself" : 'X\(//\)[^/]' \| \
1286 X"$as_myself" : 'X\(//\)$' \| \
1287 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1288 $as_echo X"$as_myself" |
1289 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1307 if test ! -r "$srcdir/$ac_unique_file"; then
1311 ac_srcdir_defaulted
=no
1313 if test ! -r "$srcdir/$ac_unique_file"; then
1314 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1315 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1317 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1319 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1321 # When building in place, set srcdir=.
1322 if test "$ac_abs_confdir" = "$ac_pwd"; then
1325 # Remove unnecessary trailing slashes from srcdir.
1326 # Double slashes in file names in object file debugging info
1327 # mess up M-x gdb in Emacs.
1329 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1331 for ac_var
in $ac_precious_vars; do
1332 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1333 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1334 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1335 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1339 # Report the --help message.
1341 if test "$ac_init_help" = "long"; then
1342 # Omit some internal or obsolete options to make the list less imposing.
1343 # This message is too long to be a string in the A/UX 3.1 sh.
1345 \`configure' configures GDash 20130623unstable to adapt to many kinds of systems.
1347 Usage: $0 [OPTION]... [VAR=VALUE]...
1349 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1350 VAR=VALUE. See below for descriptions of some of the useful variables.
1352 Defaults for the options are specified in brackets.
1355 -h, --help display this help and exit
1356 --help=short display options specific to this package
1357 --help=recursive display the short help of all the included packages
1358 -V, --version display version information and exit
1359 -q, --quiet, --silent do not print \`checking ...' messages
1360 --cache-file=FILE cache test results in FILE [disabled]
1361 -C, --config-cache alias for \`--cache-file=config.cache'
1362 -n, --no-create do not create output files
1363 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1365 Installation directories:
1366 --prefix=PREFIX install architecture-independent files in PREFIX
1367 [$ac_default_prefix]
1368 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1371 By default, \`make install' will install all the files in
1372 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1373 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1374 for instance \`--prefix=\$HOME'.
1376 For better control, use the options below.
1378 Fine tuning of the installation directories:
1379 --bindir=DIR user executables [EPREFIX/bin]
1380 --sbindir=DIR system admin executables [EPREFIX/sbin]
1381 --libexecdir=DIR program executables [EPREFIX/libexec]
1382 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1383 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1384 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1385 --libdir=DIR object code libraries [EPREFIX/lib]
1386 --includedir=DIR C header files [PREFIX/include]
1387 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1388 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1389 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1390 --infodir=DIR info documentation [DATAROOTDIR/info]
1391 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1392 --mandir=DIR man documentation [DATAROOTDIR/man]
1393 --docdir=DIR documentation root [DATAROOTDIR/doc/gdash]
1394 --htmldir=DIR html documentation [DOCDIR]
1395 --dvidir=DIR dvi documentation [DOCDIR]
1396 --pdfdir=DIR pdf documentation [DOCDIR]
1397 --psdir=DIR ps documentation [DOCDIR]
1403 --program-prefix=PREFIX prepend PREFIX to installed program names
1404 --program-suffix=SUFFIX append SUFFIX to installed program names
1405 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1408 --x-includes=DIR X include files are
in DIR
1409 --x-libraries=DIR X library files are
in DIR
1412 --build=BUILD configure
for building on BUILD
[guessed
]
1413 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1417 if test -n "$ac_init_help"; then
1418 case $ac_init_help in
1419 short | recursive
) echo "Configuration of GDash 20130623unstable:";;
1424 --disable-option-checking ignore unrecognized
--enable/--with options
1425 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1426 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1427 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1428 --disable-silent-rules verbose build output
(undo
: "make V=0")
1429 --enable-dependency-tracking
1430 do not reject slow dependency extractors
1431 --disable-dependency-tracking
1432 speeds up one-time build
1433 --disable-nls do not use Native Language Support
1434 --disable-rpath do not hardcode runtime library paths
1435 --disable-sdltest Do not try to compile and run a
test SDL program
1438 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1439 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1440 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1441 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1442 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1443 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1444 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1445 --without-gtk disables using gtk
+
1446 --without-sdl disables using sdl
1447 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1448 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1449 --with-x use the X Window System
1451 Some influential environment variables
:
1452 CC C compiler
command
1453 CFLAGS C compiler flags
1454 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1455 nonstandard directory
<lib dir
>
1456 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1457 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1458 you have headers
in a nonstandard directory
<include dir
>
1459 CXX C
++ compiler
command
1460 CXXFLAGS C
++ compiler flags
1461 PKG_CONFIG path to pkg-config utility
1463 directories to add to pkg-config
's search path
1465 path overriding pkg-config's built-in search path
1467 GLIB_CFLAGS C compiler flags
for GLIB
, overriding pkg-config
1468 GLIB_LIBS linker flags
for GLIB
, overriding pkg-config
1469 GTK_CFLAGS C compiler flags
for GTK
, overriding pkg-config
1470 GTK_LIBS linker flags
for GTK
, overriding pkg-config
1471 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1473 C compiler flags
for LIBPNG
, overriding pkg-config
1474 LIBPNG_LIBS linker flags
for LIBPNG
, overriding pkg-config
1476 Use these variables to override the choices made by
`configure' or to help
1477 it to find libraries and programs with nonstandard names/locations.
1479 Report bugs to <http://code.google.com/p/gdash/>.
1484 if test "$ac_init_help" = "recursive"; then
1485 # If there are subdirs, report their specific --help.
1486 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1487 test -d "$ac_dir" ||
1488 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1493 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1495 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1496 # A ".." for each directory in $ac_dir_suffix.
1497 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1498 case $ac_top_builddir_sub in
1499 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1500 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1503 ac_abs_top_builddir=$ac_pwd
1504 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1505 # for backward compatibility:
1506 ac_top_builddir=$ac_top_build_prefix
1509 .) # We are building in place.
1511 ac_top_srcdir=$ac_top_builddir_sub
1512 ac_abs_top_srcdir=$ac_pwd ;;
1513 [\\/]* | ?:[\\/]* ) # Absolute name.
1514 ac_srcdir=$srcdir$ac_dir_suffix;
1515 ac_top_srcdir=$srcdir
1516 ac_abs_top_srcdir=$srcdir ;;
1518 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1519 ac_top_srcdir=$ac_top_build_prefix$srcdir
1520 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1522 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1524 cd "$ac_dir" || { ac_status=$?; continue; }
1525 # Check for guested configure.
1526 if test -f "$ac_srcdir/configure.gnu"; then
1528 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1529 elif test -f "$ac_srcdir/configure"; then
1531 $SHELL "$ac_srcdir/configure" --help=recursive
1533 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1535 cd "$ac_pwd" || { ac_status=$?; break; }
1539 test -n "$ac_init_help" && exit $ac_status
1540 if $ac_init_version; then
1542 GDash configure 20130623unstable
1543 generated by GNU Autoconf 2.69
1545 Copyright (C) 2012 Free Software Foundation, Inc.
1546 This configure script is free software; the Free Software Foundation
1547 gives unlimited permission to copy, distribute and modify it.
1552 ## ------------------------ ##
1553 ## Autoconf initialization. ##
1554 ## ------------------------ ##
1556 # ac_fn_c_try_compile LINENO
1557 # --------------------------
1558 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1559 ac_fn_c_try_compile ()
1561 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1562 rm -f conftest.$ac_objext
1563 if { { ac_try="$ac_compile"
1565 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1566 *) ac_try_echo
=$ac_try;;
1568 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1569 $as_echo "$ac_try_echo"; } >&5
1570 (eval "$ac_compile") 2>conftest.err
1572 if test -s conftest.err
; then
1573 grep -v '^ *+' conftest.err
>conftest.er1
1574 cat conftest.er1
>&5
1575 mv -f conftest.er1 conftest.err
1577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1578 test $ac_status = 0; } && {
1579 test -z "$ac_c_werror_flag" ||
1580 test ! -s conftest.err
1581 } && test -s conftest.
$ac_objext; then :
1584 $as_echo "$as_me: failed program was:" >&5
1585 sed 's/^/| /' conftest.
$ac_ext >&5
1589 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1590 as_fn_set_status
$ac_retval
1592 } # ac_fn_c_try_compile
1594 # ac_fn_cxx_try_compile LINENO
1595 # ----------------------------
1596 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1597 ac_fn_cxx_try_compile
()
1599 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1600 rm -f conftest.
$ac_objext
1601 if { { ac_try
="$ac_compile"
1603 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1604 *) ac_try_echo=$ac_try;;
1606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1607 $as_echo "$ac_try_echo"; } >&5
1608 (eval "$ac_compile") 2>conftest.err
1610 if test -s conftest.err; then
1611 grep -v '^ *+' conftest.err >conftest.er1
1612 cat conftest.er1 >&5
1613 mv -f conftest.er1 conftest.err
1615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1616 test $ac_status = 0; } && {
1617 test -z "$ac_cxx_werror_flag" ||
1618 test ! -s conftest.err
1619 } && test -s conftest.$ac_objext; then :
1622 $as_echo "$as_me: failed program was:" >&5
1623 sed 's/^/| /' conftest.$ac_ext >&5
1627 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1628 as_fn_set_status $ac_retval
1630 } # ac_fn_cxx_try_compile
1632 # ac_fn_c_try_link LINENO
1633 # -----------------------
1634 # Try to link conftest.$ac_ext, and return whether this succeeded.
1637 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1638 rm -f conftest.$ac_objext conftest$ac_exeext
1639 if { { ac_try="$ac_link"
1641 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1642 *) ac_try_echo
=$ac_try;;
1644 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1645 $as_echo "$ac_try_echo"; } >&5
1646 (eval "$ac_link") 2>conftest.err
1648 if test -s conftest.err
; then
1649 grep -v '^ *+' conftest.err
>conftest.er1
1650 cat conftest.er1
>&5
1651 mv -f conftest.er1 conftest.err
1653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1654 test $ac_status = 0; } && {
1655 test -z "$ac_c_werror_flag" ||
1656 test ! -s conftest.err
1657 } && test -s conftest
$ac_exeext && {
1658 test "$cross_compiling" = yes ||
1659 test -x conftest
$ac_exeext
1663 $as_echo "$as_me: failed program was:" >&5
1664 sed 's/^/| /' conftest.
$ac_ext >&5
1668 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1669 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1670 # interfere with the next link command; also delete a directory that is
1671 # left behind by Apple's compiler. We do this before executing the actions.
1672 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1673 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1674 as_fn_set_status
$ac_retval
1676 } # ac_fn_c_try_link
1678 # ac_fn_c_try_cpp LINENO
1679 # ----------------------
1680 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1683 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1684 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1687 *) ac_try_echo=$ac_try;;
1689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1690 $as_echo "$ac_try_echo"; } >&5
1691 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1693 if test -s conftest.err; then
1694 grep -v '^ *+' conftest.err >conftest.er1
1695 cat conftest.er1 >&5
1696 mv -f conftest.er1 conftest.err
1698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1699 test $ac_status = 0; } > conftest.i && {
1700 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1701 test ! -s conftest.err
1705 $as_echo "$as_me: failed program was:" >&5
1706 sed 's/^/| /' conftest.$ac_ext >&5
1710 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1711 as_fn_set_status $ac_retval
1715 # ac_fn_c_try_run LINENO
1716 # ----------------------
1717 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1718 # that executables *can* be run.
1721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1722 if { { ac_try="$ac_link"
1724 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1725 *) ac_try_echo
=$ac_try;;
1727 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729 (eval "$ac_link") 2>&5
1731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1732 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1733 { { case "(($ac_try" in
1734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1735 *) ac_try_echo=$ac_try;;
1737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738 $as_echo "$ac_try_echo"; } >&5
1739 (eval "$ac_try") 2>&5
1741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1742 test $ac_status = 0; }; }; then :
1745 $as_echo "$as_me: program exited with status $ac_status" >&5
1746 $as_echo "$as_me: failed program was:" >&5
1747 sed 's/^/| /' conftest.$ac_ext >&5
1749 ac_retval=$ac_status
1751 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1752 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1753 as_fn_set_status $ac_retval
1757 # ac_fn_c_check_func LINENO FUNC VAR
1758 # ----------------------------------
1759 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1760 ac_fn_c_check_func ()
1762 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1764 $as_echo_n "checking for $2... " >&6; }
1765 if eval \${$3+:} false; then :
1766 $as_echo_n "(cached) " >&6
1768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1769 /* end confdefs.h. */
1770 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1772 #define $2 innocuous_$2
1774 /* System header to define __stub macros and hopefully few prototypes,
1775 which can conflict with char $2 (); below.
1776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1777 <limits.h> exists even on freestanding compilers. */
1780 # include <limits.h>
1782 # include <assert.h>
1787 /* Override any GCC internal prototype to avoid an error.
1788 Use char because int might match the return type of a GCC
1789 builtin and then its argument prototype would still apply. */
1794 /* The GNU C library defines this for functions which it implements
1795 to always fail with ENOSYS. Some functions are actually named
1796 something starting with __ and the normal name is an alias. */
1797 #if defined __stub_$2 || defined __stub___$2
1809 if ac_fn_c_try_link "$LINENO"; then :
1814 rm -f core conftest.err conftest.$ac_objext \
1815 conftest$ac_exeext conftest.$ac_ext
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1819 $as_echo "$ac_res" >&6; }
1820 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1822 } # ac_fn_c_check_func
1824 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1825 # -------------------------------------------------------
1826 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1827 # the include files in INCLUDES and setting the cache variable VAR
1829 ac_fn_c_check_header_mongrel ()
1831 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1832 if eval \${$3+:} false; then :
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1834 $as_echo_n "checking for $2... " >&6; }
1835 if eval \${$3+:} false; then :
1836 $as_echo_n "(cached) " >&6
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1840 $as_echo "$ac_res" >&6; }
1842 # Is the header compilable?
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1844 $as_echo_n "checking $2 usability... " >&6; }
1845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1846 /* end confdefs.h. */
1850 if ac_fn_c_try_compile "$LINENO"; then :
1851 ac_header_compiler=yes
1853 ac_header_compiler=no
1855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1857 $as_echo "$ac_header_compiler" >&6; }
1859 # Is the header present?
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1861 $as_echo_n "checking $2 presence... " >&6; }
1862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1863 /* end confdefs.h. */
1866 if ac_fn_c_try_cpp "$LINENO"; then :
1867 ac_header_preproc=yes
1869 ac_header_preproc=no
1871 rm -f conftest.err conftest.i conftest.$ac_ext
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1873 $as_echo "$ac_header_preproc" >&6; }
1875 # So? What about this header?
1876 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1879 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1881 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1885 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1887 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1889 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1891 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1893 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1894 ( $as_echo "## ---------------------------------------------- ##
1895 ## Report this to http://code.google.com/p/gdash/ ##
1896 ## ---------------------------------------------- ##"
1897 ) | sed "s/^/$as_me: WARNING: /" >&2
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1901 $as_echo_n "checking for $2... " >&6; }
1902 if eval \${$3+:} false; then :
1903 $as_echo_n "(cached) " >&6
1905 eval "$3=\$ac_header_compiler"
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1909 $as_echo "$ac_res" >&6; }
1911 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1913 } # ac_fn_c_check_header_mongrel
1915 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1916 # -------------------------------------------------------
1917 # Tests whether HEADER exists and can be compiled using the include files in
1918 # INCLUDES, setting the cache variable VAR accordingly.
1919 ac_fn_c_check_header_compile ()
1921 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1923 $as_echo_n "checking for $2... " >&6; }
1924 if eval \${$3+:} false; then :
1925 $as_echo_n "(cached) " >&6
1927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1928 /* end confdefs.h. */
1932 if ac_fn_c_try_compile "$LINENO"; then :
1937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1941 $as_echo "$ac_res" >&6; }
1942 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1944 } # ac_fn_c_check_header_compile
1946 # ac_fn_c_find_uintX_t LINENO BITS VAR
1947 # ------------------------------------
1948 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1950 ac_fn_c_find_uintX_t ()
1952 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1954 $as_echo_n "checking for uint$2_t... " >&6; }
1955 if eval \${$3+:} false; then :
1956 $as_echo_n "(cached) " >&6
1959 # Order is important - never check a type that is potentially smaller
1960 # than half of the expected target width.
1961 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1962 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1964 /* end confdefs.h. */
1965 $ac_includes_default
1969 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1971 return test_array [0];
1977 if ac_fn_c_try_compile "$LINENO"; then :
1982 eval "$3=\$ac_type" ;;
1985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1986 if eval test \"x\$"$3"\" = x"no"; then :
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1995 $as_echo "$ac_res" >&6; }
1996 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1998 } # ac_fn_c_find_uintX_t
1999 cat >config.log <<_ACEOF
2000 This file contains any messages produced by compilers while
2001 running configure, to aid debugging if configure makes a mistake.
2003 It was created by GDash $as_me 20130623unstable, which was
2004 generated by GNU Autoconf 2.69. Invocation command line was
2016 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2017 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2018 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2019 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2020 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2022 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2023 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2025 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2026 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2027 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2028 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2029 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2030 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2031 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2039 test -z "$as_dir" && as_dir=.
2040 $as_echo "PATH: $as_dir"
2056 # Keep a trace of the command line.
2057 # Strip out --no-create and --no-recursion so they do not pile up.
2058 # Strip out --silent because we don't want to record it for future runs.
2059 # Also quote any args containing shell meta-characters.
2060 # Make two passes to allow for proper duplicate-argument suppression.
2064 ac_must_keep_next=false
2070 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2071 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2072 | -silent | --silent | --silen | --sile | --sil)
2075 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2078 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2080 as_fn_append ac_configure_args1 " '$ac_arg'"
2081 if test $ac_must_keep_next = true; then
2082 ac_must_keep_next=false # Got value, back to normal.
2085 *=* | --config-cache | -C | -disable-* | --disable-* \
2086 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2087 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2088 | -with-* | --with-* | -without-* | --without-* | --x)
2089 case "$ac_configure_args0 " in
2090 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2093 -* ) ac_must_keep_next=true ;;
2096 as_fn_append ac_configure_args " '$ac_arg'"
2101 { ac_configure_args0=; unset ac_configure_args0;}
2102 { ac_configure_args1=; unset ac_configure_args1;}
2104 # When interrupted or exit'd, cleanup temporary files, and complete
2105 # config.log. We remove comments because anyway the quotes in there
2106 # would cause problems or look ugly.
2107 # WARNING: Use '\'' to represent an apostrophe within the trap.
2108 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2109 trap 'exit_status=$?
2110 # Save into config.log some information that might help in debugging.
2114 $as_echo "## ---------------- ##
2115 ## Cache variables. ##
2116 ## ---------------- ##"
2118 # The following way of writing the cache mishandles newlines in values,
2120 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2121 eval ac_val=\$$ac_var
2125 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2126 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2129 _ | IFS | as_nl) ;; #(
2130 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2131 *) { eval $ac_var=; unset $ac_var;} ;;
2136 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2137 *${as_nl}ac_space=\ *)
2139 "s/'\''/'\''\\\\'\'''\''/g;
2140 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2143 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2150 $as_echo "## ----------------- ##
2151 ## Output variables. ##
2152 ## ----------------- ##"
2154 for ac_var in $ac_subst_vars
2156 eval ac_val=\$$ac_var
2158 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2160 $as_echo "$ac_var='\''$ac_val'\''"
2164 if test -n "$ac_subst_files"; then
2165 $as_echo "## ------------------- ##
2166 ## File substitutions. ##
2167 ## ------------------- ##"
2169 for ac_var in $ac_subst_files
2171 eval ac_val=\$$ac_var
2173 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2175 $as_echo "$ac_var='\''$ac_val'\''"
2180 if test -s confdefs.h; then
2181 $as_echo "## ----------- ##
2188 test "$ac_signal" != 0 &&
2189 $as_echo "$as_me: caught signal $ac_signal"
2190 $as_echo "$as_me: exit $exit_status"
2192 rm -f core *.core core.conftest.* &&
2193 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2196 for ac_signal in 1 2 13 15; do
2197 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2201 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2202 rm -f -r conftest* confdefs.h
2204 $as_echo "/* confdefs.h */" > confdefs.h
2206 # Predefined preprocessor variables.
2208 cat >>confdefs.h <<_ACEOF
2209 #define PACKAGE_NAME "$PACKAGE_NAME"
2212 cat >>confdefs.h <<_ACEOF
2213 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2216 cat >>confdefs.h <<_ACEOF
2217 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2220 cat >>confdefs.h <<_ACEOF
2221 #define PACKAGE_STRING "$PACKAGE_STRING"
2224 cat >>confdefs.h <<_ACEOF
2225 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2228 cat >>confdefs.h <<_ACEOF
2229 #define PACKAGE_URL "$PACKAGE_URL"
2233 # Let the site file select an alternate cache file if it wants to.
2234 # Prefer an explicitly selected file to automatically selected ones.
2237 if test -n "$CONFIG_SITE"; then
2238 # We do not want a PATH search for config.site.
2239 case $CONFIG_SITE in #((
2240 -*) ac_site_file1=./$CONFIG_SITE;;
2241 */*) ac_site_file1=$CONFIG_SITE;;
2242 *) ac_site_file1=./$CONFIG_SITE;;
2244 elif test "x$prefix" != xNONE; then
2245 ac_site_file1=$prefix/share/config.site
2246 ac_site_file2=$prefix/etc/config.site
2248 ac_site_file1=$ac_default_prefix/share/config.site
2249 ac_site_file2=$ac_default_prefix/etc/config.site
2251 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2253 test "x$ac_site_file" = xNONE && continue
2254 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2256 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2257 sed 's/^/| /' "$ac_site_file" >&5
2259 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2261 as_fn_error $? "failed to load site
script $ac_site_file
2262 See \
`config.log' for more details" "$LINENO" 5; }
2266 if test -r "$cache_file"; then
2267 # Some versions of bash will fail to source /dev/null (special files
2268 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2269 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2271 $as_echo "$as_me: loading cache $cache_file" >&6;}
2273 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2274 *) . "./$cache_file";;
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2279 $as_echo "$as_me: creating cache $cache_file" >&6;}
2283 gt_needs="$gt_needs "
2284 # Check that the precious variables saved in the cache have kept the same
2286 ac_cache_corrupted=false
2287 for ac_var in $ac_precious_vars; do
2288 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2289 eval ac_new_set=\$ac_env_${ac_var}_set
2290 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2291 eval ac_new_val=\$ac_env_${ac_var}_value
2292 case $ac_old_set,$ac_new_set in
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2295 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2296 ac_cache_corrupted=: ;;
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2299 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2300 ac_cache_corrupted=: ;;
2303 if test "x$ac_old_val" != "x$ac_new_val"; then
2304 # differences in whitespace do not lead to failure.
2305 ac_old_val_w=`echo x
$ac_old_val`
2306 ac_new_val_w=`echo x
$ac_new_val`
2307 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2309 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2310 ac_cache_corrupted=:
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2313 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2314 eval $ac_var=\$ac_old_val
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2317 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2319 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2322 # Pass precious variables to config.status.
2323 if test "$ac_new_set" = set; then
2325 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2326 *) ac_arg=$ac_var=$ac_new_val ;;
2328 case " $ac_configure_args " in
2329 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2330 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2334 if $ac_cache_corrupted; then
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2338 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2339 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2341 ## -------------------- ##
2342 ## Main body of script. ##
2343 ## -------------------- ##
2346 ac_cpp='$CPP $CPPFLAGS'
2347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2353 am__api_version='1.14'
2356 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2357 if test -f "$ac_dir/install-sh"; then
2359 ac_install_sh="$ac_aux_dir/install-sh -c"
2361 elif test -f "$ac_dir/install.sh"; then
2363 ac_install_sh="$ac_aux_dir/install.sh -c"
2365 elif test -f "$ac_dir/shtool"; then
2367 ac_install_sh="$ac_aux_dir/shtool install -c"
2371 if test -z "$ac_aux_dir"; then
2372 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2375 # These three variables are undocumented and unsupported,
2376 # and are intended to be withdrawn in a future Autoconf release.
2377 # They can cause serious problems if a builder's source tree is in a directory
2378 # whose full name contains unusual characters.
2379 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2380 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2381 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2384 # Find a good install program. We prefer a C program (faster),
2385 # so one script is as good as another. But avoid the broken or
2386 # incompatible versions:
2387 # SysV /etc/install, /usr/sbin/install
2388 # SunOS /usr/etc/install
2389 # IRIX /sbin/install
2391 # AmigaOS /C/install, which installs bootblocks on floppy discs
2392 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2393 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2394 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2395 # OS/2's system install, which has a completely different semantic
2396 # ./install, which can be erroneously created by make from ./install.sh.
2397 # Reject install programs that cannot install multiple files.
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2399 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2400 if test -z "$INSTALL"; then
2401 if ${ac_cv_path_install+:} false; then :
2402 $as_echo_n "(cached) " >&6
2404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2408 test -z "$as_dir" && as_dir=.
2409 # Account for people who put trailing slashes in PATH elements.
2410 case $as_dir/ in #((
2411 ./ | .// | /[cC]/* | \
2412 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2413 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2416 # OSF1 and SCO ODT 3.0 have their own names for install.
2417 # Don't use installbsd from OSF since it installs stuff as root
2419 for ac_prog in ginstall scoinst install; do
2420 for ac_exec_ext in '' $ac_executable_extensions; do
2421 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2422 if test $ac_prog = install &&
2423 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2424 # AIX install. It has an incompatible calling convention.
2426 elif test $ac_prog = install &&
2427 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2428 # program-specific install script used by HP pwplus--don't use.
2431 rm -rf conftest.one conftest.two conftest.dir
2432 echo one > conftest.one
2433 echo two > conftest.two
2435 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2436 test -s conftest.one && test -s conftest.two &&
2437 test -s conftest.dir/conftest.one &&
2438 test -s conftest.dir/conftest.two
2440 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2453 rm -rf conftest.one conftest.two conftest.dir
2456 if test "${ac_cv_path_install+set}" = set; then
2457 INSTALL=$ac_cv_path_install
2459 # As a last resort, use the slow shell script. Don't cache a
2460 # value for INSTALL within a source directory, because that will
2461 # break other packages using the cache if that directory is
2462 # removed, or if the value is a relative name.
2463 INSTALL=$ac_install_sh
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2467 $as_echo "$INSTALL" >&6; }
2469 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2470 # It thinks the first close brace ends the variable substitution.
2471 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2473 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2475 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2478 $as_echo_n "checking whether build environment is sane... " >&6; }
2479 # Reject unsafe characters in $srcdir or the absolute working directory
2480 # name. Accept space and tab only in the latter.
2484 *[\\\"\#\$\&\'\`$am_lf]*)
2485 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2488 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2489 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2492 # Do 'set' in a subshell so we don't clobber the current shell's
2493 # arguments. Must try -L first in case configure is actually a
2494 # symlink; some systems play weird games with the mod time of symlinks
2495 # (eg FreeBSD returns the mod time of the symlink's containing
2499 for am_try
in 1 2; do
2500 echo "timestamp, slept: $am_has_slept" > conftest.
file
2501 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2502 if test "$*" = "X"; then
2504 set X
`ls -t "$srcdir/configure" conftest.file`
2506 if test "$*" != "X $srcdir/configure conftest.file" \
2507 && test "$*" != "X conftest.file $srcdir/configure"; then
2509 # If neither matched, then we have a broken ls. This can happen
2510 # if, for instance, CONFIG_SHELL is bash and it inherits a
2511 # broken ls alias from the environment. This has actually
2512 # happened. Such a system could not be considered "sane".
2513 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2514 alias in your environment" "$LINENO" 5
2516 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2523 test "$2" = conftest.
file
2529 as_fn_error $?
"newly created file is older than distributed files!
2530 Check your system clock" "$LINENO" 5
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2533 $as_echo "yes" >&6; }
2534 # If we didn't sleep, we still need to ensure time stamps of config.status and
2535 # generated files are strictly newer.
2537 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2544 test "$program_prefix" != NONE
&&
2545 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2546 # Use a double $ so make ignores it.
2547 test "$program_suffix" != NONE
&&
2548 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2549 # Double any \ or $.
2550 # By default was `s,x,x', remove it if useless.
2551 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2552 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2554 # expand $ac_aux_dir to an absolute path
2555 am_aux_dir
=`cd $ac_aux_dir && pwd`
2557 if test x
"${MISSING+set}" != xset
; then
2560 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2562 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2565 # Use eval to expand $SHELL
2566 if eval "$MISSING --is-lightweight"; then
2567 am_missing_run
="$MISSING "
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2571 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2574 if test x
"${install_sh}" != xset
; then
2577 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2579 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2583 # Installed binaries are usually stripped using 'strip' when the user
2584 # run "make install-strip". However 'strip' might not be the right
2585 # tool to use in cross-compilation environments, therefore Automake
2586 # will honor the 'STRIP' environment variable to overrule this program.
2587 if test "$cross_compiling" != no
; then
2588 if test -n "$ac_tool_prefix"; then
2589 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2590 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2592 $as_echo_n "checking for $ac_word... " >&6; }
2593 if ${ac_cv_prog_STRIP+:} false
; then :
2594 $as_echo_n "(cached) " >&6
2596 if test -n "$STRIP"; then
2597 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2603 test -z "$as_dir" && as_dir
=.
2604 for ac_exec_ext
in '' $ac_executable_extensions; do
2605 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2606 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2616 STRIP
=$ac_cv_prog_STRIP
2617 if test -n "$STRIP"; then
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2619 $as_echo "$STRIP" >&6; }
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2622 $as_echo "no" >&6; }
2627 if test -z "$ac_cv_prog_STRIP"; then
2629 # Extract the first word of "strip", so it can be a program name with args.
2630 set dummy strip
; ac_word
=$2
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2632 $as_echo_n "checking for $ac_word... " >&6; }
2633 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2634 $as_echo_n "(cached) " >&6
2636 if test -n "$ac_ct_STRIP"; then
2637 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2643 test -z "$as_dir" && as_dir
=.
2644 for ac_exec_ext
in '' $ac_executable_extensions; do
2645 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2646 ac_cv_prog_ac_ct_STRIP
="strip"
2647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2656 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2657 if test -n "$ac_ct_STRIP"; then
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2659 $as_echo "$ac_ct_STRIP" >&6; }
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2662 $as_echo "no" >&6; }
2665 if test "x$ac_ct_STRIP" = x
; then
2668 case $cross_compiling:$ac_tool_warned in
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2671 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2672 ac_tool_warned
=yes ;;
2677 STRIP
="$ac_cv_prog_STRIP"
2681 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2684 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2685 if test -z "$MKDIR_P"; then
2686 if ${ac_cv_path_mkdir+:} false
; then :
2687 $as_echo_n "(cached) " >&6
2689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2690 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2693 test -z "$as_dir" && as_dir
=.
2694 for ac_prog
in mkdir gmkdir
; do
2695 for ac_exec_ext
in '' $ac_executable_extensions; do
2696 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2697 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2698 'mkdir (GNU coreutils) '* | \
2699 'mkdir (coreutils) '* | \
2700 'mkdir (fileutils) '4.1*)
2701 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2711 test -d .
/--version && rmdir .
/--version
2712 if test "${ac_cv_path_mkdir+set}" = set; then
2713 MKDIR_P
="$ac_cv_path_mkdir -p"
2715 # As a last resort, use the slow shell script. Don't cache a
2716 # value for MKDIR_P within a source directory, because that will
2717 # break other packages using the cache if that directory is
2718 # removed, or if the value is a relative name.
2719 MKDIR_P
="$ac_install_sh -d"
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2723 $as_echo "$MKDIR_P" >&6; }
2725 for ac_prog
in gawk mawk nawk
awk
2727 # Extract the first word of "$ac_prog", so it can be a program name with args.
2728 set dummy
$ac_prog; ac_word
=$2
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2730 $as_echo_n "checking for $ac_word... " >&6; }
2731 if ${ac_cv_prog_AWK+:} false
; then :
2732 $as_echo_n "(cached) " >&6
2734 if test -n "$AWK"; then
2735 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2741 test -z "$as_dir" && as_dir
=.
2742 for ac_exec_ext
in '' $ac_executable_extensions; do
2743 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2744 ac_cv_prog_AWK
="$ac_prog"
2745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2755 if test -n "$AWK"; then
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2757 $as_echo "$AWK" >&6; }
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2760 $as_echo "no" >&6; }
2764 test -n "$AWK" && break
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2768 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2770 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2771 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2772 $as_echo_n "(cached) " >&6
2774 cat >conftest.
make <<\_ACEOF
2777 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2779 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2780 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2782 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2784 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2788 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2790 $as_echo "yes" >&6; }
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2794 $as_echo "no" >&6; }
2795 SET_MAKE
="MAKE=${MAKE-make}"
2798 rm -rf .tst
2>/dev
/null
2799 mkdir .tst
2>/dev
/null
2800 if test -d .tst
; then
2805 rmdir .tst
2>/dev
/null
2807 # Check whether --enable-silent-rules was given.
2808 if test "${enable_silent_rules+set}" = set; then :
2809 enableval
=$enable_silent_rules;
2812 case $enable_silent_rules in # (((
2813 yes) AM_DEFAULT_VERBOSITY
=0;;
2814 no
) AM_DEFAULT_VERBOSITY
=1;;
2815 *) AM_DEFAULT_VERBOSITY
=1;;
2817 am_make
=${MAKE-make}
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2819 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2820 if ${am_cv_make_support_nested_variables+:} false
; then :
2821 $as_echo_n "(cached) " >&6
2823 if $as_echo 'TRUE=$(BAR$(V))
2829 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2830 am_cv_make_support_nested_variables
=yes
2832 am_cv_make_support_nested_variables
=no
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2836 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2837 if test $am_cv_make_support_nested_variables = yes; then
2839 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2841 AM_V
=$AM_DEFAULT_VERBOSITY
2842 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2846 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2847 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2848 # is not polluted with repeated "-I."
2849 am__isrc
=' -I$(srcdir)'
2850 # test to see if srcdir already configured
2851 if test -f $srcdir/config.status
; then
2852 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2856 # test whether we have cygpath
2857 if test -z "$CYGPATH_W"; then
2858 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2859 CYGPATH_W
='cygpath -w'
2866 # Define the identity of the package.
2868 VERSION
='20130623unstable'
2871 cat >>confdefs.h
<<_ACEOF
2872 #define PACKAGE "$PACKAGE"
2876 cat >>confdefs.h
<<_ACEOF
2877 #define VERSION "$VERSION"
2880 # Some tools Automake needs.
2882 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2885 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2888 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2891 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2894 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2896 # For better backward compatibility. To be removed once Automake 1.9.x
2897 # dies out for good. For more background, see:
2898 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2899 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2900 mkdir_p
='$(MKDIR_P)'
2902 # We need awk for the "check" target. The system "awk" is bad on
2904 # Always define AMTAR for backward compatibility. Yes, it's still used
2905 # in the wild :-( We should find a proper way to deprecate it ...
2909 # We'll loop over all known methods to create a tar archive until one works.
2910 _am_tools
='gnutar pax cpio none'
2912 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2919 # POSIX will say in a future version that running "rm -f" with no argument
2920 # is OK; and we want to be able to make that assumption in our Makefile
2921 # recipes. So use an aggressive probe to check that the usage we want is
2922 # actually supported "in the wild" to an acceptable degree.
2923 # See automake bug#10828.
2924 # To make any issue more visible, cause the running configure to be aborted
2925 # by default if the 'rm' program in use doesn't match our expectations; the
2926 # user can still override this though.
2927 if rm -f && rm -fr && rm -rf; then : OK
; else
2931 Your 'rm' program seems unable to run without file operands specified
2932 on the command line, even when the '-f' option is present. This is contrary
2933 to the behaviour of most rm programs out there, and not conforming with
2934 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2936 Please tell bug-automake@gnu.org about your system, including the value
2937 of your $PATH and any error possibly output before this message. This
2938 can help us improve future automake versions.
2941 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
2942 echo 'Configuration will proceed anyway, since you have set the' >&2
2943 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2947 Aborting the configuration process, to ensure you take notice of the issue.
2949 You can download and install GNU coreutils to get an 'rm' implementation
2950 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2952 If you want to complete the configuration process using your problematic
2953 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2954 to "yes", and re-run configure.
2957 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
2960 ac_config_headers
="$ac_config_headers config.h"
2962 # Check whether --enable-silent-rules was given.
2963 if test "${enable_silent_rules+set}" = set; then :
2964 enableval
=$enable_silent_rules;
2967 case $enable_silent_rules in # (((
2968 yes) AM_DEFAULT_VERBOSITY
=0;;
2969 no
) AM_DEFAULT_VERBOSITY
=1;;
2970 *) AM_DEFAULT_VERBOSITY
=0;;
2972 am_make
=${MAKE-make}
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2974 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2975 if ${am_cv_make_support_nested_variables+:} false
; then :
2976 $as_echo_n "(cached) " >&6
2978 if $as_echo 'TRUE=$(BAR$(V))
2984 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2985 am_cv_make_support_nested_variables
=yes
2987 am_cv_make_support_nested_variables
=no
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2991 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2992 if test $am_cv_make_support_nested_variables = yes; then
2994 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2996 AM_V
=$AM_DEFAULT_VERBOSITY
2997 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3005 ac_cpp='$CPP $CPPFLAGS'
3006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3007 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3009 if test -n "$ac_tool_prefix"; then
3010 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3011 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3013 $as_echo_n "checking for $ac_word... " >&6; }
3014 if ${ac_cv_prog_CC+:} false; then :
3015 $as_echo_n "(cached) " >&6
3017 if test -n "$CC"; then
3018 ac_cv_prog_CC="$CC" # Let the user override the test.
3020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3024 test -z "$as_dir" && as_dir=.
3025 for ac_exec_ext in '' $ac_executable_extensions; do
3026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3027 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3038 if test -n "$CC"; then
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3040 $as_echo "$CC" >&6; }
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3043 $as_echo "no" >&6; }
3048 if test -z "$ac_cv_prog_CC"; then
3050 # Extract the first word of "gcc", so it can be a program name with args.
3051 set dummy gcc; ac_word=$2
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3053 $as_echo_n "checking for $ac_word... " >&6; }
3054 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3055 $as_echo_n "(cached) " >&6
3057 if test -n "$ac_ct_CC"; then
3058 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3064 test -z "$as_dir" && as_dir=.
3065 for ac_exec_ext in '' $ac_executable_extensions; do
3066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3067 ac_cv_prog_ac_ct_CC="gcc"
3068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3077 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3078 if test -n "$ac_ct_CC"; then
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3080 $as_echo "$ac_ct_CC" >&6; }
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3083 $as_echo "no" >&6; }
3086 if test "x$ac_ct_CC" = x; then
3089 case $cross_compiling:$ac_tool_warned in
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3093 ac_tool_warned=yes ;;
3101 if test -z "$CC"; then
3102 if test -n "$ac_tool_prefix"; then
3103 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3104 set dummy ${ac_tool_prefix}cc; ac_word=$2
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3106 $as_echo_n "checking for $ac_word... " >&6; }
3107 if ${ac_cv_prog_CC+:} false; then :
3108 $as_echo_n "(cached) " >&6
3110 if test -n "$CC"; then
3111 ac_cv_prog_CC="$CC" # Let the user override the test.
3113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3117 test -z "$as_dir" && as_dir=.
3118 for ac_exec_ext in '' $ac_executable_extensions; do
3119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3120 ac_cv_prog_CC="${ac_tool_prefix}cc"
3121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3131 if test -n "$CC"; then
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3133 $as_echo "$CC" >&6; }
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3136 $as_echo "no" >&6; }
3142 if test -z "$CC"; then
3143 # Extract the first word of "cc", so it can be a program name with args.
3144 set dummy cc; ac_word=$2
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3146 $as_echo_n "checking for $ac_word... " >&6; }
3147 if ${ac_cv_prog_CC+:} false; then :
3148 $as_echo_n "(cached) " >&6
3150 if test -n "$CC"; then
3151 ac_cv_prog_CC="$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 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3162 ac_prog_rejected=yes
3166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3173 if test $ac_prog_rejected = yes; then
3174 # We found a bogon in the path, so make sure we never use it.
3175 set dummy $ac_cv_prog_CC
3177 if test $# != 0; then
3178 # We chose a different compiler from the bogus one.
3179 # However, it has the same basename, so the bogon will be chosen
3180 # first if we set CC to just the basename; use the full file name.
3182 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3188 if test -n "$CC"; then
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3190 $as_echo "$CC" >&6; }
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3193 $as_echo "no" >&6; }
3198 if test -z "$CC"; then
3199 if test -n "$ac_tool_prefix"; then
3200 for ac_prog in cl.exe
3202 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3203 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3205 $as_echo_n "checking for $ac_word... " >&6; }
3206 if ${ac_cv_prog_CC+:} false; then :
3207 $as_echo_n "(cached) " >&6
3209 if test -n "$CC"; then
3210 ac_cv_prog_CC="$CC" # Let the user override the test.
3212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3216 test -z "$as_dir" && as_dir=.
3217 for ac_exec_ext in '' $ac_executable_extensions; do
3218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3219 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3230 if test -n "$CC"; then
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3232 $as_echo "$CC" >&6; }
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3235 $as_echo "no" >&6; }
3239 test -n "$CC" && break
3242 if test -z "$CC"; then
3244 for ac_prog in cl.exe
3246 # Extract the first word of "$ac_prog", so it can be a program name with args.
3247 set dummy $ac_prog; ac_word=$2
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3249 $as_echo_n "checking for $ac_word... " >&6; }
3250 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3251 $as_echo_n "(cached) " >&6
3253 if test -n "$ac_ct_CC"; then
3254 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3260 test -z "$as_dir" && as_dir=.
3261 for ac_exec_ext in '' $ac_executable_extensions; do
3262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3263 ac_cv_prog_ac_ct_CC="$ac_prog"
3264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3273 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3274 if test -n "$ac_ct_CC"; then
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3276 $as_echo "$ac_ct_CC" >&6; }
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3279 $as_echo "no" >&6; }
3283 test -n "$ac_ct_CC" && break
3286 if test "x$ac_ct_CC" = x; then
3289 case $cross_compiling:$ac_tool_warned in
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3292 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3293 ac_tool_warned=yes ;;
3302 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3303 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3304 as_fn_error $? "no acceptable C compiler found in \$PATH
3305 See \`config.log
' for more details" "$LINENO" 5; }
3307 # Provide some information about the compiler.
3308 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3311 for ac_option in --version -v -V -qversion; do
3312 { { ac_try="$ac_compiler $ac_option >&5"
3314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3315 *) ac_try_echo=$ac_try;;
3317 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3318 $as_echo "$ac_try_echo"; } >&5
3319 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3321 if test -s conftest.err; then
3323 ... rest of stderr output deleted ...
3324 10q
' conftest.err >conftest.er1
3325 cat conftest.er1 >&5
3327 rm -f conftest.er1 conftest.err
3328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3329 test $ac_status = 0; }
3332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3333 /* end confdefs.h. */
3343 ac_clean_files_save=$ac_clean_files
3344 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3345 # Try to create an executable without -o first, disregard a.out.
3346 # It will help us diagnose broken compilers, and finding out an intuition
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3349 $as_echo_n "checking whether the C compiler works... " >&6; }
3350 ac_link_default=`$as_echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
3352 # The possible output files:
3353 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3356 for ac_file in $ac_files
3359 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3360 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3365 if { { ac_try="$ac_link_default"
3367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3368 *) ac_try_echo=$ac_try;;
3370 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3371 $as_echo "$ac_try_echo"; } >&5
3372 (eval "$ac_link_default") 2>&5
3374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3375 test $ac_status = 0; }; then :
3376 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3377 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3378 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3379 # so that the user can short-circuit this test for compilers unknown to
3381 for ac_file
in $ac_files ''
3383 test -f "$ac_file" ||
continue
3385 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3388 # We found the default executable, but exeext='' is most
3392 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3394 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3396 # We set ac_cv_exeext here because the later test for it is not
3397 # safe: cross compilers may not add the suffix if given an `-o'
3398 # argument, so we may need to know it at that point already.
3399 # Even if this section looks crufty: it has the advantage of
3406 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3411 if test -z "$ac_file"; then :
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3413 $as_echo "no" >&6; }
3414 $as_echo "$as_me: failed program was:" >&5
3415 sed 's/^/| /' conftest.
$ac_ext >&5
3417 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3419 as_fn_error
77 "C compiler cannot create executables
3420 See \`config.log' for more details" "$LINENO" 5; }
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3423 $as_echo "yes" >&6; }
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3426 $as_echo_n "checking for C compiler default output file name... " >&6; }
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3428 $as_echo "$ac_file" >&6; }
3429 ac_exeext
=$ac_cv_exeext
3431 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3432 ac_clean_files
=$ac_clean_files_save
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3434 $as_echo_n "checking for suffix of executables... " >&6; }
3435 if { { ac_try
="$ac_link"
3437 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3438 *) ac_try_echo=$ac_try;;
3440 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3441 $as_echo "$ac_try_echo"; } >&5
3442 (eval "$ac_link") 2>&5
3444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3445 test $ac_status = 0; }; then :
3446 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3447 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3448 # work properly (i.e., refer to `conftest.exe'), while it won't with
3450 for ac_file
in conftest.exe conftest conftest.
*; do
3451 test -f "$ac_file" ||
continue
3453 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3454 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3460 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3461 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3462 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3463 See \`config.log' for more details" "$LINENO" 5; }
3465 rm -f conftest conftest
$ac_cv_exeext
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3467 $as_echo "$ac_cv_exeext" >&6; }
3469 rm -f conftest.
$ac_ext
3470 EXEEXT
=$ac_cv_exeext
3472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3473 /* end confdefs.h. */
3478 FILE *f = fopen ("conftest.out", "w");
3479 return ferror (f) || fclose (f) != 0;
3485 ac_clean_files
="$ac_clean_files conftest.out"
3486 # Check that the compiler produces executables we can run. If not, either
3487 # the compiler is broken, or we cross compile.
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3489 $as_echo_n "checking whether we are cross compiling... " >&6; }
3490 if test "$cross_compiling" != yes; then
3491 { { ac_try
="$ac_link"
3493 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3494 *) ac_try_echo=$ac_try;;
3496 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3497 $as_echo "$ac_try_echo"; } >&5
3498 (eval "$ac_link") 2>&5
3500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3501 test $ac_status = 0; }
3502 if { ac_try='./conftest$ac_cv_exeext'
3503 { { case "(($ac_try" in
3504 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3505 *) ac_try_echo
=$ac_try;;
3507 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3508 $as_echo "$ac_try_echo"; } >&5
3509 (eval "$ac_try") 2>&5
3511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3512 test $ac_status = 0; }; }; then
3515 if test "$cross_compiling" = maybe
; then
3518 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3519 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3520 as_fn_error $?
"cannot run C compiled programs.
3521 If you meant to cross compile, use \`--host'.
3522 See \`config.log' for more details" "$LINENO" 5; }
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3527 $as_echo "$cross_compiling" >&6; }
3529 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3530 ac_clean_files
=$ac_clean_files_save
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3532 $as_echo_n "checking for suffix of object files... " >&6; }
3533 if ${ac_cv_objext+:} false
; then :
3534 $as_echo_n "(cached) " >&6
3536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3537 /* end confdefs.h. */
3547 rm -f conftest.o conftest.obj
3548 if { { ac_try
="$ac_compile"
3550 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3551 *) ac_try_echo=$ac_try;;
3553 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3554 $as_echo "$ac_try_echo"; } >&5
3555 (eval "$ac_compile") 2>&5
3557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3558 test $ac_status = 0; }; then :
3559 for ac_file in conftest.o conftest.obj conftest.*; do
3560 test -f "$ac_file" || continue;
3562 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3563 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3568 $as_echo "$as_me: failed program was:" >&5
3569 sed 's/^/| /' conftest.$ac_ext >&5
3571 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3572 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3573 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3574 See \
`config.log' for more details" "$LINENO" 5; }
3576 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3579 $as_echo "$ac_cv_objext" >&6; }
3580 OBJEXT=$ac_cv_objext
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3583 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3584 if ${ac_cv_c_compiler_gnu+:} false; then :
3585 $as_echo_n "(cached) " >&6
3587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3588 /* end confdefs.h. */
3601 if ac_fn_c_try_compile "$LINENO"; then :
3606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3607 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3611 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3612 if test $ac_compiler_gnu = yes; then
3617 ac_test_CFLAGS=${CFLAGS+set}
3618 ac_save_CFLAGS=$CFLAGS
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3620 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3621 if ${ac_cv_prog_cc_g+:} false; then :
3622 $as_echo_n "(cached) " >&6
3624 ac_save_c_werror_flag=$ac_c_werror_flag
3625 ac_c_werror_flag=yes
3628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3629 /* end confdefs.h. */
3639 if ac_fn_c_try_compile "$LINENO"; then :
3643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3644 /* end confdefs.h. */
3654 if ac_fn_c_try_compile "$LINENO"; then :
3657 ac_c_werror_flag=$ac_save_c_werror_flag
3659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3660 /* end confdefs.h. */
3670 if ac_fn_c_try_compile "$LINENO"; then :
3673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3678 ac_c_werror_flag=$ac_save_c_werror_flag
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3681 $as_echo "$ac_cv_prog_cc_g" >&6; }
3682 if test "$ac_test_CFLAGS" = set; then
3683 CFLAGS=$ac_save_CFLAGS
3684 elif test $ac_cv_prog_cc_g = yes; then
3685 if test "$GCC" = yes; then
3691 if test "$GCC" = yes; then
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3698 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3699 if ${ac_cv_prog_cc_c89+:} false; then :
3700 $as_echo_n "(cached) " >&6
3702 ac_cv_prog_cc_c89=no
3704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3705 /* end confdefs.h. */
3709 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3710 struct buf { int x; };
3711 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3712 static char *e (p, i)
3718 static char *f (char * (*g) (char **, int), char **p, ...)
3723 s = g (p, va_arg (v,int));
3728 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3729 function prototypes and stuff, but not '\xHH' hex character constants.
3730 These don't provoke an error unfortunately, instead are silently treated
3731 as 'x'. The following induces an error, until -std is added to get
3732 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3733 array size at least. It's necessary to write '\x00'==0 to get something
3734 that's true only with -std. */
3735 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3737 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3738 inside strings and character constants. */
3740 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3742 int test (int i, double x);
3743 struct s1 {int (*f) (int a);};
3744 struct s2 {int (*f) (double a);};
3745 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3751 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3756 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3757 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3759 CC="$ac_save_CC $ac_arg"
3760 if ac_fn_c_try_compile "$LINENO"; then :
3761 ac_cv_prog_cc_c89=$ac_arg
3763 rm -f core conftest.err conftest.$ac_objext
3764 test "x$ac_cv_prog_cc_c89" != "xno" && break
3766 rm -f conftest.$ac_ext
3771 case "x$ac_cv_prog_cc_c89" in
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3774 $as_echo "none needed" >&6; } ;;
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3777 $as_echo "unsupported" >&6; } ;;
3779 CC="$CC $ac_cv_prog_cc_c89"
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3781 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3783 if test "x$ac_cv_prog_cc_c89" != xno; then :
3788 ac_cpp='$CPP $CPPFLAGS'
3789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3794 ac_cpp='$CPP $CPPFLAGS'
3795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3799 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3800 if ${am_cv_prog_cc_c_o+:} false; then :
3801 $as_echo_n "(cached) " >&6
3803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3804 /* end confdefs.h. */
3814 # Make sure it works both with $CC and with simple cc.
3815 # Following AC_PROG_CC_C_O, we do the test twice because some
3816 # compilers refuse to overwrite an existing .o file with -o,
3817 # though they will create one.
3818 am_cv_prog_cc_c_o=yes
3820 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3821 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3824 (exit $ac_status); } \
3825 && test -f conftest2.$ac_objext; then
3828 am_cv_prog_cc_c_o=no
3832 rm -f core conftest*
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3836 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3837 if test "$am_cv_prog_cc_c_o" != yes; then
3838 # Losing compiler, so override with the script.
3839 # FIXME: It is wrong to rewrite CC.
3840 # But if we don't then we get into trouble of one sort or another.
3841 # A longer-term fix would be to have automake use am__CC in this case,
3842 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3843 CC="$am_aux_dir/compile $CC"
3846 ac_cpp='$CPP $CPPFLAGS'
3847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3851 DEPDIR="${am__leading_dot}deps"
3853 ac_config_commands="$ac_config_commands depfiles"
3856 am_make=${MAKE-make}
3857 cat > confinc << 'END'
3859 @echo this is the am__doit target
3862 # If we don't find an include directive, just comment out the code.
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3864 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3868 # First try GNU make style include.
3869 echo "include confinc" > confmf
3870 # Ignore all kinds of additional output from 'make'.
3871 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3872 *the\ am__doit\ target*)
3878 # Now try BSD make style include.
3879 if test "$am__include" = "#"; then
3880 echo '.include "confinc"' > confmf
3881 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3882 *the\ am__doit\ target*)
3883 am__include=.include
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3892 $as_echo "$_am_result" >&6; }
3893 rm -f confinc confmf
3895 # Check whether --enable-dependency-tracking was given.
3896 if test "${enable_dependency_tracking+set}" = set; then :
3897 enableval=$enable_dependency_tracking;
3900 if test "x$enable_dependency_tracking" != xno; then
3901 am_depcomp="$ac_aux_dir/depcomp"
3905 if test "x$enable_dependency_tracking" != xno; then
3915 depcc="$CC" am_compiler_list=
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3918 $as_echo_n "checking dependency style of $depcc... " >&6; }
3919 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3920 $as_echo_n "(cached) " >&6
3922 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3923 # We make a subdir and do the tests there. Otherwise we can end up
3924 # making bogus files that we don't know about and never remove. For
3925 # instance it was reported that on HP-UX the gcc test will end up
3926 # making a dummy file named 'D' -- because '-MD' means "put the output
3930 # Copy depcomp to subdir because otherwise we won't find it if we're
3931 # using a relative directory.
3932 cp "$am_depcomp" conftest.dir
3934 # We will build objects and dependencies in a subdirectory because
3935 # it helps to detect inapplicable dependency modes. For instance
3936 # both Tru64's cc and ICC support -MD to output dependencies as a
3937 # side effect of compilation, but ICC will put the dependencies in
3938 # the current directory while Tru64 will put them in the object
3942 am_cv_CC_dependencies_compiler_type=none
3943 if test "$am_compiler_list" = ""; then
3944 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3947 case " $depcc " in #(
3948 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3951 for depmode in $am_compiler_list; do
3952 # Setup a source with many dependencies, because some compilers
3953 # like to wrap large dependency lists on column 80 (with \), and
3954 # we should not choose a depcomp mode which is confused by this.
3956 # We need to recreate these files for each test, as the compiler may
3957 # overwrite some of them when testing with obscure command lines.
3958 # This happens at least with the AIX C compiler.
3960 for i in 1 2 3 4 5 6; do
3961 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3962 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3963 # Solaris 10 /bin/sh.
3964 echo '/* dummy */' > sub/conftst$i.h
3966 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3968 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3969 # mode. It turns out that the SunPro C++ compiler does not properly
3970 # handle '-M -o', and we need to detect this. Also, some Intel
3971 # versions had trouble with output in subdirs.
3972 am__obj=sub/conftest.${OBJEXT-o}
3973 am__minus_obj="-o $am__obj"
3976 # This depmode causes a compiler race in universal mode.
3977 test "$am__universal" = false || continue
3980 # After this tag, mechanisms are not by side-effect, so they'll
3981 # only be used when explicitly requested.
3982 if test "x$enable_dependency_tracking" = xyes; then
3988 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3989 # This compiler won't grok '-c -o', but also, the minuso test has
3990 # not run yet. These depmodes are late enough in the game, and
3991 # so weak that their functioning should not be impacted.
3992 am__obj=conftest.${OBJEXT-o}
3997 if depmode=$depmode \
3998 source=sub/conftest.c object=$am__obj \
3999 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4000 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4001 >/dev/null 2>conftest.err &&
4002 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4003 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4004 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4005 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4006 # icc doesn't choke on unknown options, it will just issue warnings
4007 # or remarks (even with -Werror). So we grep stderr for any message
4008 # that says an option was ignored or not supported.
4009 # When given -MP, icc 7.0 and 7.1 complain thusly:
4010 # icc: Command line warning: ignoring option '-M'; no argument required
4011 # The diagnosis changed in icc 8.0:
4012 # icc: Command line remark: option '-MP' not supported
4013 if (grep 'ignoring option' conftest.err ||
4014 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4015 am_cv_CC_dependencies_compiler_type=$depmode
4024 am_cv_CC_dependencies_compiler_type=none
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4029 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4030 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4033 test "x$enable_dependency_tracking" != xno \
4034 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4036 am__fastdepCC_FALSE='#'
4038 am__fastdepCC_TRUE='#'
4039 am__fastdepCC_FALSE=
4044 ac_cpp='$CXXCPP $CPPFLAGS'
4045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4048 if test -z "$CXX"; then
4049 if test -n "$CCC"; then
4052 if test -n "$ac_tool_prefix"; then
4053 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4055 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4056 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4058 $as_echo_n "checking for $ac_word... " >&6; }
4059 if ${ac_cv_prog_CXX+:} false; then :
4060 $as_echo_n "(cached) " >&6
4062 if test -n "$CXX"; then
4063 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4069 test -z "$as_dir" && as_dir=.
4070 for ac_exec_ext in '' $ac_executable_extensions; do
4071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4072 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4083 if test -n "$CXX"; then
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4085 $as_echo "$CXX" >&6; }
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4088 $as_echo "no" >&6; }
4092 test -n "$CXX" && break
4095 if test -z "$CXX"; then
4097 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4099 # Extract the first word of "$ac_prog", so it can be a program name with args.
4100 set dummy $ac_prog; ac_word=$2
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4102 $as_echo_n "checking for $ac_word... " >&6; }
4103 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4104 $as_echo_n "(cached) " >&6
4106 if test -n "$ac_ct_CXX"; then
4107 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4113 test -z "$as_dir" && as_dir=.
4114 for ac_exec_ext in '' $ac_executable_extensions; do
4115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4116 ac_cv_prog_ac_ct_CXX="$ac_prog"
4117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4126 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4127 if test -n "$ac_ct_CXX"; then
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4129 $as_echo "$ac_ct_CXX" >&6; }
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4132 $as_echo "no" >&6; }
4136 test -n "$ac_ct_CXX" && break
4139 if test "x$ac_ct_CXX" = x; then
4142 case $cross_compiling:$ac_tool_warned in
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4145 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4146 ac_tool_warned=yes ;;
4154 # Provide some information about the compiler.
4155 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4158 for ac_option in --version -v -V -qversion; do
4159 { { ac_try="$ac_compiler $ac_option >&5"
4161 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4162 *) ac_try_echo
=$ac_try;;
4164 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4165 $as_echo "$ac_try_echo"; } >&5
4166 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4168 if test -s conftest.err
; then
4170 ... rest of stderr output deleted ...
4171 10q' conftest.err
>conftest.er1
4172 cat conftest.er1
>&5
4174 rm -f conftest.er1 conftest.err
4175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4176 test $ac_status = 0; }
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4180 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4181 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4182 $as_echo_n "(cached) " >&6
4184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4185 /* end confdefs.h. */
4198 if ac_fn_cxx_try_compile
"$LINENO"; then :
4203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4204 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4208 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4209 if test $ac_compiler_gnu = yes; then
4214 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4215 ac_save_CXXFLAGS
=$CXXFLAGS
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4217 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4218 if ${ac_cv_prog_cxx_g+:} false
; then :
4219 $as_echo_n "(cached) " >&6
4221 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4222 ac_cxx_werror_flag
=yes
4225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4226 /* end confdefs.h. */
4236 if ac_fn_cxx_try_compile
"$LINENO"; then :
4237 ac_cv_prog_cxx_g
=yes
4240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4241 /* end confdefs.h. */
4251 if ac_fn_cxx_try_compile
"$LINENO"; then :
4254 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h. */
4267 if ac_fn_cxx_try_compile
"$LINENO"; then :
4268 ac_cv_prog_cxx_g
=yes
4270 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4272 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4274 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4275 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4278 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4279 if test "$ac_test_CXXFLAGS" = set; then
4280 CXXFLAGS
=$ac_save_CXXFLAGS
4281 elif test $ac_cv_prog_cxx_g = yes; then
4282 if test "$GXX" = yes; then
4288 if test "$GXX" = yes; then
4295 ac_cpp
='$CPP $CPPFLAGS'
4296 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4297 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4298 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4300 depcc
="$CXX" am_compiler_list
=
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4303 $as_echo_n "checking dependency style of $depcc... " >&6; }
4304 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4305 $as_echo_n "(cached) " >&6
4307 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4308 # We make a subdir and do the tests there. Otherwise we can end up
4309 # making bogus files that we don't know about and never remove. For
4310 # instance it was reported that on HP-UX the gcc test will end up
4311 # making a dummy file named 'D' -- because '-MD' means "put the output
4315 # Copy depcomp to subdir because otherwise we won't find it if we're
4316 # using a relative directory.
4317 cp "$am_depcomp" conftest.dir
4319 # We will build objects and dependencies in a subdirectory because
4320 # it helps to detect inapplicable dependency modes. For instance
4321 # both Tru64's cc and ICC support -MD to output dependencies as a
4322 # side effect of compilation, but ICC will put the dependencies in
4323 # the current directory while Tru64 will put them in the object
4327 am_cv_CXX_dependencies_compiler_type
=none
4328 if test "$am_compiler_list" = ""; then
4329 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4332 case " $depcc " in #(
4333 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4336 for depmode
in $am_compiler_list; do
4337 # Setup a source with many dependencies, because some compilers
4338 # like to wrap large dependency lists on column 80 (with \), and
4339 # we should not choose a depcomp mode which is confused by this.
4341 # We need to recreate these files for each test, as the compiler may
4342 # overwrite some of them when testing with obscure command lines.
4343 # This happens at least with the AIX C compiler.
4345 for i
in 1 2 3 4 5 6; do
4346 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4347 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4348 # Solaris 10 /bin/sh.
4349 echo '/* dummy */' > sub
/conftst
$i.h
4351 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4353 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4354 # mode. It turns out that the SunPro C++ compiler does not properly
4355 # handle '-M -o', and we need to detect this. Also, some Intel
4356 # versions had trouble with output in subdirs.
4357 am__obj
=sub
/conftest.
${OBJEXT-o}
4358 am__minus_obj
="-o $am__obj"
4361 # This depmode causes a compiler race in universal mode.
4362 test "$am__universal" = false ||
continue
4365 # After this tag, mechanisms are not by side-effect, so they'll
4366 # only be used when explicitly requested.
4367 if test "x$enable_dependency_tracking" = xyes
; then
4373 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4374 # This compiler won't grok '-c -o', but also, the minuso test has
4375 # not run yet. These depmodes are late enough in the game, and
4376 # so weak that their functioning should not be impacted.
4377 am__obj
=conftest.
${OBJEXT-o}
4382 if depmode
=$depmode \
4383 source=sub
/conftest.c object
=$am__obj \
4384 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4385 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4386 >/dev
/null
2>conftest.err
&&
4387 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4388 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4389 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4390 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4391 # icc doesn't choke on unknown options, it will just issue warnings
4392 # or remarks (even with -Werror). So we grep stderr for any message
4393 # that says an option was ignored or not supported.
4394 # When given -MP, icc 7.0 and 7.1 complain thusly:
4395 # icc: Command line warning: ignoring option '-M'; no argument required
4396 # The diagnosis changed in icc 8.0:
4397 # icc: Command line remark: option '-MP' not supported
4398 if (grep 'ignoring option' conftest.err ||
4399 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4400 am_cv_CXX_dependencies_compiler_type
=$depmode
4409 am_cv_CXX_dependencies_compiler_type
=none
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4414 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4415 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4418 test "x$enable_dependency_tracking" != xno \
4419 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4420 am__fastdepCXX_TRUE
=
4421 am__fastdepCXX_FALSE
='#'
4423 am__fastdepCXX_TRUE
='#'
4424 am__fastdepCXX_FALSE
=
4436 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4437 if test -n "$ac_tool_prefix"; then
4438 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4439 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4441 $as_echo_n "checking for $ac_word... " >&6; }
4442 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
4443 $as_echo_n "(cached) " >&6
4447 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
4450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4454 test -z "$as_dir" && as_dir
=.
4455 for ac_exec_ext
in '' $ac_executable_extensions; do
4456 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4457 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4468 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
4469 if test -n "$PKG_CONFIG"; then
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4471 $as_echo "$PKG_CONFIG" >&6; }
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4474 $as_echo "no" >&6; }
4479 if test -z "$ac_cv_path_PKG_CONFIG"; then
4480 ac_pt_PKG_CONFIG
=$PKG_CONFIG
4481 # Extract the first word of "pkg-config", so it can be a program name with args.
4482 set dummy pkg-config
; ac_word
=$2
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4484 $as_echo_n "checking for $ac_word... " >&6; }
4485 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
4486 $as_echo_n "(cached) " >&6
4488 case $ac_pt_PKG_CONFIG in
4490 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4497 test -z "$as_dir" && as_dir
=.
4498 for ac_exec_ext
in '' $ac_executable_extensions; do
4499 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4500 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4511 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
4512 if test -n "$ac_pt_PKG_CONFIG"; then
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4514 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4517 $as_echo "no" >&6; }
4520 if test "x$ac_pt_PKG_CONFIG" = x
; then
4523 case $cross_compiling:$ac_tool_warned in
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4526 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4527 ac_tool_warned
=yes ;;
4529 PKG_CONFIG
=$ac_pt_PKG_CONFIG
4532 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
4536 if test -n "$PKG_CONFIG"; then
4537 _pkg_min_version
=0.9.0
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4539 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4540 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4542 $as_echo "yes" >&6; }
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4545 $as_echo "no" >&6; }
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4552 $as_echo_n "checking for library containing strerror... " >&6; }
4553 if ${ac_cv_search_strerror+:} false
; then :
4554 $as_echo_n "(cached) " >&6
4556 ac_func_search_save_LIBS
=$LIBS
4557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4558 /* end confdefs.h. */
4560 /* Override any GCC internal prototype to avoid an error.
4561 Use char because int might match the return type of a GCC
4562 builtin and then its argument prototype would still apply. */
4575 for ac_lib
in '' cposix
; do
4576 if test -z "$ac_lib"; then
4577 ac_res
="none required"
4580 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4582 if ac_fn_c_try_link
"$LINENO"; then :
4583 ac_cv_search_strerror
=$ac_res
4585 rm -f core conftest.err conftest.
$ac_objext \
4587 if ${ac_cv_search_strerror+:} false
; then :
4591 if ${ac_cv_search_strerror+:} false
; then :
4594 ac_cv_search_strerror
=no
4597 LIBS
=$ac_func_search_save_LIBS
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4600 $as_echo "$ac_cv_search_strerror" >&6; }
4601 ac_res
=$ac_cv_search_strerror
4602 if test "$ac_res" != no
; then :
4603 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4608 ac_cpp
='$CPP $CPPFLAGS'
4609 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4610 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4611 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4613 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4614 # On Suns, sometimes $CPP names a directory.
4615 if test -n "$CPP" && test -d "$CPP"; then
4618 if test -z "$CPP"; then
4619 if ${ac_cv_prog_CPP+:} false
; then :
4620 $as_echo_n "(cached) " >&6
4622 # Double quotes because CPP needs to be expanded
4623 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4626 for ac_c_preproc_warn_flag
in '' yes
4628 # Use a header file that comes with gcc, so configuring glibc
4629 # with a fresh cross-compiler works.
4630 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4631 # <limits.h> exists even on freestanding compilers.
4632 # On the NeXT, cc -E runs the code through the compiler's parser,
4633 # not just through cpp. "Syntax error" is here to catch this case.
4634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4635 /* end confdefs.h. */
4637 # include <limits.h>
4639 # include <assert.h>
4643 if ac_fn_c_try_cpp
"$LINENO"; then :
4646 # Broken: fails on valid input.
4649 rm -f conftest.err conftest.i conftest.
$ac_ext
4651 # OK, works on sane cases. Now check whether nonexistent headers
4652 # can be detected and how.
4653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4654 /* end confdefs.h. */
4655 #include <ac_nonexistent.h>
4657 if ac_fn_c_try_cpp
"$LINENO"; then :
4658 # Broken: success on invalid input.
4661 # Passes both tests.
4665 rm -f conftest.err conftest.i conftest.
$ac_ext
4668 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4669 rm -f conftest.i conftest.err conftest.
$ac_ext
4670 if $ac_preproc_ok; then :
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4683 $as_echo "$CPP" >&6; }
4685 for ac_c_preproc_warn_flag
in '' yes
4687 # Use a header file that comes with gcc, so configuring glibc
4688 # with a fresh cross-compiler works.
4689 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4690 # <limits.h> exists even on freestanding compilers.
4691 # On the NeXT, cc -E runs the code through the compiler's parser,
4692 # not just through cpp. "Syntax error" is here to catch this case.
4693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4694 /* end confdefs.h. */
4696 # include <limits.h>
4698 # include <assert.h>
4702 if ac_fn_c_try_cpp
"$LINENO"; then :
4705 # Broken: fails on valid input.
4708 rm -f conftest.err conftest.i conftest.
$ac_ext
4710 # OK, works on sane cases. Now check whether nonexistent headers
4711 # can be detected and how.
4712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h. */
4714 #include <ac_nonexistent.h>
4716 if ac_fn_c_try_cpp
"$LINENO"; then :
4717 # Broken: success on invalid input.
4720 # Passes both tests.
4724 rm -f conftest.err conftest.i conftest.
$ac_ext
4727 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4728 rm -f conftest.i conftest.err conftest.
$ac_ext
4729 if $ac_preproc_ok; then :
4732 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4734 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4735 See \`config.log' for more details" "$LINENO" 5; }
4739 ac_cpp
='$CPP $CPPFLAGS'
4740 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4741 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4742 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4746 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4747 if ${ac_cv_path_GREP+:} false
; then :
4748 $as_echo_n "(cached) " >&6
4750 if test -z "$GREP"; then
4751 ac_path_GREP_found
=false
4752 # Loop through the user's path and test for each of PROGNAME-LIST
4753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4754 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4757 test -z "$as_dir" && as_dir
=.
4758 for ac_prog
in grep ggrep
; do
4759 for ac_exec_ext
in '' $ac_executable_extensions; do
4760 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4761 as_fn_executable_p
"$ac_path_GREP" ||
continue
4762 # Check for GNU ac_path_GREP and select it if it is found.
4763 # Check for GNU $ac_path_GREP
4764 case `"$ac_path_GREP" --version 2>&1` in
4766 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4769 $as_echo_n 0123456789 >"conftest.in"
4772 cat "conftest.in" "conftest.in" >"conftest.tmp"
4773 mv "conftest.tmp" "conftest.in"
4774 cp "conftest.in" "conftest.nl"
4775 $as_echo 'GREP' >> "conftest.nl"
4776 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4777 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4778 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4779 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4780 # Best one so far, save it but keep looking for a better one
4781 ac_cv_path_GREP
="$ac_path_GREP"
4782 ac_path_GREP_max
=$ac_count
4784 # 10*(2^10) chars as input seems more than enough
4785 test $ac_count -gt 10 && break
4787 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4790 $ac_path_GREP_found && break 3
4795 if test -z "$ac_cv_path_GREP"; then
4796 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4799 ac_cv_path_GREP
=$GREP
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4804 $as_echo "$ac_cv_path_GREP" >&6; }
4805 GREP
="$ac_cv_path_GREP"
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4809 $as_echo_n "checking for egrep... " >&6; }
4810 if ${ac_cv_path_EGREP+:} false
; then :
4811 $as_echo_n "(cached) " >&6
4813 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4814 then ac_cv_path_EGREP
="$GREP -E"
4816 if test -z "$EGREP"; then
4817 ac_path_EGREP_found
=false
4818 # Loop through the user's path and test for each of PROGNAME-LIST
4819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4820 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4823 test -z "$as_dir" && as_dir
=.
4824 for ac_prog
in egrep; do
4825 for ac_exec_ext
in '' $ac_executable_extensions; do
4826 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4827 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4828 # Check for GNU ac_path_EGREP and select it if it is found.
4829 # Check for GNU $ac_path_EGREP
4830 case `"$ac_path_EGREP" --version 2>&1` in
4832 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4835 $as_echo_n 0123456789 >"conftest.in"
4838 cat "conftest.in" "conftest.in" >"conftest.tmp"
4839 mv "conftest.tmp" "conftest.in"
4840 cp "conftest.in" "conftest.nl"
4841 $as_echo 'EGREP' >> "conftest.nl"
4842 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4843 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4844 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4845 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4846 # Best one so far, save it but keep looking for a better one
4847 ac_cv_path_EGREP
="$ac_path_EGREP"
4848 ac_path_EGREP_max
=$ac_count
4850 # 10*(2^10) chars as input seems more than enough
4851 test $ac_count -gt 10 && break
4853 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4856 $ac_path_EGREP_found && break 3
4861 if test -z "$ac_cv_path_EGREP"; then
4862 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4865 ac_cv_path_EGREP
=$EGREP
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4871 $as_echo "$ac_cv_path_EGREP" >&6; }
4872 EGREP
="$ac_cv_path_EGREP"
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4876 $as_echo_n "checking for ANSI C header files... " >&6; }
4877 if ${ac_cv_header_stdc+:} false
; then :
4878 $as_echo_n "(cached) " >&6
4880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4881 /* end confdefs.h. */
4895 if ac_fn_c_try_compile
"$LINENO"; then :
4896 ac_cv_header_stdc
=yes
4898 ac_cv_header_stdc
=no
4900 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4902 if test $ac_cv_header_stdc = yes; then
4903 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4905 /* end confdefs.h. */
4909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4910 $EGREP "memchr" >/dev
/null
2>&1; then :
4913 ac_cv_header_stdc
=no
4919 if test $ac_cv_header_stdc = yes; then
4920 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4922 /* end confdefs.h. */
4926 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4927 $EGREP "free" >/dev
/null
2>&1; then :
4930 ac_cv_header_stdc
=no
4936 if test $ac_cv_header_stdc = yes; then
4937 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4938 if test "$cross_compiling" = yes; then :
4941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4942 /* end confdefs.h. */
4945 #if ((' ' & 0x0FF) == 0x020)
4946 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4947 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4949 # define ISLOWER(c) \
4950 (('a' <= (c) && (c) <= 'i') \
4951 || ('j' <= (c) && (c) <= 'r') \
4952 || ('s' <= (c) && (c) <= 'z'))
4953 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4956 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4961 for (i = 0; i < 256; i++)
4962 if (XOR (islower (i), ISLOWER (i))
4963 || toupper (i) != TOUPPER (i))
4968 if ac_fn_c_try_run
"$LINENO"; then :
4971 ac_cv_header_stdc
=no
4973 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4974 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4980 $as_echo "$ac_cv_header_stdc" >&6; }
4981 if test $ac_cv_header_stdc = yes; then
4983 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4988 for ac_func
in setlocale
4990 ac_fn_c_check_func
"$LINENO" "setlocale" "ac_cv_func_setlocale"
4991 if test "x$ac_cv_func_setlocale" = xyes
; then :
4992 cat >>confdefs.h
<<_ACEOF
4993 #define HAVE_SETLOCALE 1
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5001 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5002 if ${ac_cv_path_SED+:} false
; then :
5003 $as_echo_n "(cached) " >&6
5005 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
5006 for ac_i
in 1 2 3 4 5 6 7; do
5007 ac_script
="$ac_script$as_nl$ac_script"
5009 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
5010 { ac_script
=; unset ac_script
;}
5011 if test -z "$SED"; then
5012 ac_path_SED_found
=false
5013 # Loop through the user's path and test for each of PROGNAME-LIST
5014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5018 test -z "$as_dir" && as_dir
=.
5019 for ac_prog
in sed gsed
; do
5020 for ac_exec_ext
in '' $ac_executable_extensions; do
5021 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5022 as_fn_executable_p
"$ac_path_SED" ||
continue
5023 # Check for GNU ac_path_SED and select it if it is found.
5024 # Check for GNU $ac_path_SED
5025 case `"$ac_path_SED" --version 2>&1` in
5027 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5030 $as_echo_n 0123456789 >"conftest.in"
5033 cat "conftest.in" "conftest.in" >"conftest.tmp"
5034 mv "conftest.tmp" "conftest.in"
5035 cp "conftest.in" "conftest.nl"
5036 $as_echo '' >> "conftest.nl"
5037 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5038 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5039 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5040 if test $ac_count -gt ${ac_path_SED_max-0}; then
5041 # Best one so far, save it but keep looking for a better one
5042 ac_cv_path_SED
="$ac_path_SED"
5043 ac_path_SED_max
=$ac_count
5045 # 10*(2^10) chars as input seems more than enough
5046 test $ac_count -gt 10 && break
5048 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5051 $ac_path_SED_found && break 3
5056 if test -z "$ac_cv_path_SED"; then
5057 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5065 $as_echo "$ac_cv_path_SED" >&6; }
5066 SED
="$ac_cv_path_SED"
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5071 $as_echo_n "checking whether NLS is requested... " >&6; }
5072 # Check whether --enable-nls was given.
5073 if test "${enable_nls+set}" = set; then :
5074 enableval
=$enable_nls; USE_NLS
=$enableval
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5080 $as_echo "$USE_NLS" >&6; }
5085 GETTEXT_MACRO_VERSION
=0.18
5090 # Prepare PATH_SEPARATOR.
5091 # The user is always right.
5092 if test "${PATH_SEPARATOR+set}" != set; then
5093 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
5094 # contains only /bin. Note that ksh looks also at the FPATH variable,
5095 # so we have to set that as well for the test.
5097 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
5098 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
5099 || PATH_SEPARATOR
=';'
5103 # Find out how to test for executable files. Don't use a zero-byte file,
5104 # as systems may use methods other than mode bits to determine executability.
5105 cat >conf$$.
file <<_ASEOF
5109 chmod +x conf$$.
file
5110 if test -x conf$$.
file >/dev
/null
2>&1; then
5111 ac_executable_p
="test -x"
5113 ac_executable_p
="test -f"
5117 # Extract the first word of "msgfmt", so it can be a program name with args.
5118 set dummy msgfmt
; ac_word
=$2
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5120 $as_echo_n "checking for $ac_word... " >&6; }
5121 if ${ac_cv_path_MSGFMT+:} false
; then :
5122 $as_echo_n "(cached) " >&6
5126 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5129 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5130 for ac_dir
in $PATH; do
5132 test -z "$ac_dir" && ac_dir
=.
5133 for ac_exec_ext
in '' $ac_executable_extensions; do
5134 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5135 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5136 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
5137 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5138 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
5145 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
5149 MSGFMT
="$ac_cv_path_MSGFMT"
5150 if test "$MSGFMT" != ":"; then
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5152 $as_echo "$MSGFMT" >&6; }
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5155 $as_echo "no" >&6; }
5158 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5159 set dummy gmsgfmt
; ac_word
=$2
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5161 $as_echo_n "checking for $ac_word... " >&6; }
5162 if ${ac_cv_path_GMSGFMT+:} false
; then :
5163 $as_echo_n "(cached) " >&6
5167 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5174 test -z "$as_dir" && as_dir
=.
5175 for ac_exec_ext
in '' $ac_executable_extensions; do
5176 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5177 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5185 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5189 GMSGFMT
=$ac_cv_path_GMSGFMT
5190 if test -n "$GMSGFMT"; then
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5192 $as_echo "$GMSGFMT" >&6; }
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5195 $as_echo "no" >&6; }
5200 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5201 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) MSGFMT_015
=: ;;
5202 *) MSGFMT_015
=$MSGFMT ;;
5205 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5206 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) GMSGFMT_015
=: ;;
5207 *) GMSGFMT_015
=$GMSGFMT ;;
5212 # Prepare PATH_SEPARATOR.
5213 # The user is always right.
5214 if test "${PATH_SEPARATOR+set}" != set; then
5215 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
5216 # contains only /bin. Note that ksh looks also at the FPATH variable,
5217 # so we have to set that as well for the test.
5219 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
5220 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
5221 || PATH_SEPARATOR
=';'
5225 # Find out how to test for executable files. Don't use a zero-byte file,
5226 # as systems may use methods other than mode bits to determine executability.
5227 cat >conf$$.
file <<_ASEOF
5231 chmod +x conf$$.
file
5232 if test -x conf$$.
file >/dev
/null
2>&1; then
5233 ac_executable_p
="test -x"
5235 ac_executable_p
="test -f"
5239 # Extract the first word of "xgettext", so it can be a program name with args.
5240 set dummy xgettext
; ac_word
=$2
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5242 $as_echo_n "checking for $ac_word... " >&6; }
5243 if ${ac_cv_path_XGETTEXT+:} false
; then :
5244 $as_echo_n "(cached) " >&6
5248 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5251 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5252 for ac_dir
in $PATH; do
5254 test -z "$ac_dir" && ac_dir
=.
5255 for ac_exec_ext
in '' $ac_executable_extensions; do
5256 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5257 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5258 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
5259 (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
5260 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
5267 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5271 XGETTEXT
="$ac_cv_path_XGETTEXT"
5272 if test "$XGETTEXT" != ":"; then
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5274 $as_echo "$XGETTEXT" >&6; }
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5277 $as_echo "no" >&6; }
5282 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5283 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) XGETTEXT_015
=: ;;
5284 *) XGETTEXT_015
=$XGETTEXT ;;
5289 # Prepare PATH_SEPARATOR.
5290 # The user is always right.
5291 if test "${PATH_SEPARATOR+set}" != set; then
5292 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
5293 # contains only /bin. Note that ksh looks also at the FPATH variable,
5294 # so we have to set that as well for the test.
5296 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
5297 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
5298 || PATH_SEPARATOR
=';'
5302 # Find out how to test for executable files. Don't use a zero-byte file,
5303 # as systems may use methods other than mode bits to determine executability.
5304 cat >conf$$.
file <<_ASEOF
5308 chmod +x conf$$.
file
5309 if test -x conf$$.
file >/dev
/null
2>&1; then
5310 ac_executable_p
="test -x"
5312 ac_executable_p
="test -f"
5316 # Extract the first word of "msgmerge", so it can be a program name with args.
5317 set dummy msgmerge
; ac_word
=$2
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5319 $as_echo_n "checking for $ac_word... " >&6; }
5320 if ${ac_cv_path_MSGMERGE+:} false
; then :
5321 $as_echo_n "(cached) " >&6
5325 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
5328 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5329 for ac_dir
in $PATH; do
5331 test -z "$ac_dir" && ac_dir
=.
5332 for ac_exec_ext
in '' $ac_executable_extensions; do
5333 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5334 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5335 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
5336 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
5343 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
5347 MSGMERGE
="$ac_cv_path_MSGMERGE"
5348 if test "$MSGMERGE" != ":"; then
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5350 $as_echo "$MSGMERGE" >&6; }
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5353 $as_echo "no" >&6; }
5357 test -n "$localedir" || localedir
='${datadir}/locale'
5360 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS
=
5363 ac_config_commands
="$ac_config_commands po-directories"
5367 if test "X$prefix" = "XNONE"; then
5368 acl_final_prefix
="$ac_default_prefix"
5370 acl_final_prefix
="$prefix"
5372 if test "X$exec_prefix" = "XNONE"; then
5373 acl_final_exec_prefix
='${prefix}'
5375 acl_final_exec_prefix
="$exec_prefix"
5377 acl_save_prefix
="$prefix"
5378 prefix
="$acl_final_prefix"
5379 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
5380 prefix
="$acl_save_prefix"
5382 # Make sure we can run config.sub.
5383 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
5384 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5387 $as_echo_n "checking build system type... " >&6; }
5388 if ${ac_cv_build+:} false
; then :
5389 $as_echo_n "(cached) " >&6
5391 ac_build_alias
=$build_alias
5392 test "x$ac_build_alias" = x
&&
5393 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
5394 test "x$ac_build_alias" = x
&&
5395 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
5396 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5397 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5401 $as_echo "$ac_cv_build" >&6; }
5402 case $ac_cv_build in
5404 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
5407 ac_save_IFS
=$IFS; IFS
='-'
5413 # Remember, the first character of IFS is used to create $*,
5414 # except with old shells:
5417 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5421 $as_echo_n "checking host system type... " >&6; }
5422 if ${ac_cv_host+:} false
; then :
5423 $as_echo_n "(cached) " >&6
5425 if test "x$host_alias" = x
; then
5426 ac_cv_host
=$ac_cv_build
5428 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5429 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5434 $as_echo "$ac_cv_host" >&6; }
5437 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
5440 ac_save_IFS
=$IFS; IFS
='-'
5446 # Remember, the first character of IFS is used to create $*,
5447 # except with old shells:
5450 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
5455 # Check whether --with-gnu-ld was given.
5456 if test "${with_gnu_ld+set}" = set; then :
5457 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5462 # Prepare PATH_SEPARATOR.
5463 # The user is always right.
5464 if test "${PATH_SEPARATOR+set}" != set; then
5465 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
5466 # contains only /bin. Note that ksh looks also at the FPATH variable,
5467 # so we have to set that as well for the test.
5469 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
5470 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
5471 || PATH_SEPARATOR
=';'
5476 if test "$GCC" = yes; then
5477 # Check if gcc -print-prog-name=ld gives a path.
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5479 $as_echo_n "checking for ld used by $CC... " >&6; }
5482 # gcc leaves a trailing carriage return which upsets mingw
5483 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5485 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5488 # Accept absolute paths.
5490 re_direlt
='/[^/][^/]*/\.\./'
5491 # Canonicalize the pathname of ld
5492 ac_prog
=`echo "$ac_prog"| sed 's%\\\\%/%g'`
5493 while echo "$ac_prog" |
grep "$re_direlt" > /dev
/null
2>&1; do
5494 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5496 test -z "$LD" && LD
="$ac_prog"
5499 # If it fails, then pretend we aren't using GCC.
5503 # If it is relative, then search for the first ld in PATH.
5507 elif test "$with_gnu_ld" = yes; then
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5509 $as_echo_n "checking for GNU ld... " >&6; }
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5512 $as_echo_n "checking for non-GNU ld... " >&6; }
5514 if ${acl_cv_path_LD+:} false
; then :
5515 $as_echo_n "(cached) " >&6
5517 if test -z "$LD"; then
5518 acl_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5519 for ac_dir
in $PATH; do
5521 test -z "$ac_dir" && ac_dir
=.
5522 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5523 acl_cv_path_LD
="$ac_dir/$ac_prog"
5524 # Check to see if the program is GNU ld. I'd rather use --version,
5525 # but apparently some variants of GNU ld only accept -v.
5526 # Break only if it was the GNU/non-GNU ld that we prefer.
5527 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
5528 *GNU
* |
*'with BFD'*)
5529 test "$with_gnu_ld" != no
&& break
5532 test "$with_gnu_ld" != yes && break
5539 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
5543 LD
="$acl_cv_path_LD"
5544 if test -n "$LD"; then
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5546 $as_echo "$LD" >&6; }
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5549 $as_echo "no" >&6; }
5551 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5553 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5554 if ${acl_cv_prog_gnu_ld+:} false
; then :
5555 $as_echo_n "(cached) " >&6
5557 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5558 case `$LD -v 2>&1 </dev/null` in
5559 *GNU
* |
*'with BFD'*)
5560 acl_cv_prog_gnu_ld
=yes
5563 acl_cv_prog_gnu_ld
=no
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5568 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5569 with_gnu_ld
=$acl_cv_prog_gnu_ld
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
5575 $as_echo_n "checking for shared library run path origin... " >&6; }
5576 if ${acl_cv_rpath+:} false
; then :
5577 $as_echo_n "(cached) " >&6
5580 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
5581 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
5588 $as_echo "$acl_cv_rpath" >&6; }
5590 acl_libext
="$acl_cv_libext"
5591 acl_shlibext
="$acl_cv_shlibext"
5592 acl_libname_spec
="$acl_cv_libname_spec"
5593 acl_library_names_spec
="$acl_cv_library_names_spec"
5594 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
5595 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
5596 acl_hardcode_direct
="$acl_cv_hardcode_direct"
5597 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
5598 # Check whether --enable-rpath was given.
5599 if test "${enable_rpath+set}" = set; then :
5600 enableval
=$enable_rpath; :
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
5613 $as_echo_n "checking for 64-bit host... " >&6; }
5614 if ${gl_cv_solaris_64bit+:} false
; then :
5615 $as_echo_n "(cached) " >&6
5617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5618 /* end confdefs.h. */
5625 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5626 $EGREP "sixtyfour bits" >/dev
/null
2>&1; then :
5627 gl_cv_solaris_64bit
=yes
5629 gl_cv_solaris_64bit
=no
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
5636 $as_echo "$gl_cv_solaris_64bit" >&6; }
5637 if test $gl_cv_solaris_64bit = yes; then
5638 acl_libdirstem
=lib
/64
5640 sparc
*) acl_libdirstem2
=lib
/sparcv9
;;
5641 i
*86 | x86_64
) acl_libdirstem2
=lib
/amd64
;;
5646 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
5647 if test -n "$searchpath"; then
5648 acl_save_IFS
="${IFS= }"; IFS
=":"
5649 for searchdir
in $searchpath; do
5650 if test -d "$searchdir"; then
5651 case "$searchdir" in
5652 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
5654 # Better ignore directories of this form. They are misleading.
5656 *) searchdir
=`cd "$searchdir" && pwd`
5657 case "$searchdir" in
5658 */lib64
) acl_libdirstem
=lib64
;;
5667 test -n "$acl_libdirstem2" || acl_libdirstem2
="$acl_libdirstem"
5682 acl_save_prefix
="$prefix"
5683 prefix
="$acl_final_prefix"
5684 acl_save_exec_prefix
="$exec_prefix"
5685 exec_prefix
="$acl_final_exec_prefix"
5687 eval additional_includedir
=\"$includedir\"
5688 eval additional_libdir
=\"$libdir\"
5690 exec_prefix
="$acl_save_exec_prefix"
5691 prefix
="$acl_save_prefix"
5694 # Check whether --with-libiconv-prefix was given.
5695 if test "${with_libiconv_prefix+set}" = set; then :
5696 withval
=$with_libiconv_prefix;
5697 if test "X$withval" = "Xno"; then
5700 if test "X$withval" = "X"; then
5702 acl_save_prefix
="$prefix"
5703 prefix
="$acl_final_prefix"
5704 acl_save_exec_prefix
="$exec_prefix"
5705 exec_prefix
="$acl_final_exec_prefix"
5707 eval additional_includedir
=\"$includedir\"
5708 eval additional_libdir
=\"$libdir\"
5710 exec_prefix
="$acl_save_exec_prefix"
5711 prefix
="$acl_save_prefix"
5714 additional_includedir
="$withval/include"
5715 additional_libdir
="$withval/$acl_libdirstem"
5716 if test "$acl_libdirstem2" != "$acl_libdirstem" \
5717 && ! test -d "$withval/$acl_libdirstem"; then
5718 additional_libdir
="$withval/$acl_libdirstem2"
5732 names_already_handled
=
5733 names_next_round
='iconv '
5734 while test -n "$names_next_round"; do
5735 names_this_round
="$names_next_round"
5737 for name
in $names_this_round; do
5739 for n
in $names_already_handled; do
5740 if test "$n" = "$name"; then
5745 if test -z "$already_handled"; then
5746 names_already_handled
="$names_already_handled $name"
5747 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
5748 eval value
=\"\
$HAVE_LIB$uppername\"
5749 if test -n "$value"; then
5750 if test "$value" = yes; then
5751 eval value
=\"\
$LIB$uppername\"
5752 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
5753 eval value
=\"\
$LTLIB$uppername\"
5754 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
5763 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
5764 if test -n "$acl_shlibext"; then
5765 shrext
=".$acl_shlibext" # typically: shrext=.so
5769 if test $use_additional = yes; then
5770 dir
="$additional_libdir"
5771 if test -n "$acl_shlibext"; then
5772 if test -f "$dir/$libname$shrext"; then
5774 found_so
="$dir/$libname$shrext"
5776 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5777 ver
=`(cd "$dir" && \
5778 for f in "$libname$shrext".*; do echo "$f"; done \
5779 | sed -e "s,^$libname$shrext\\\\.,," \
5780 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5781 | sed 1q ) 2>/dev/null`
5782 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5784 found_so
="$dir/$libname$shrext.$ver"
5787 eval library_names
=\"$acl_library_names_spec\"
5788 for f
in $library_names; do
5789 if test -f "$dir/$f"; then
5798 if test "X$found_dir" = "X"; then
5799 if test -f "$dir/$libname.$acl_libext"; then
5801 found_a
="$dir/$libname.$acl_libext"
5804 if test "X$found_dir" != "X"; then
5805 if test -f "$dir/$libname.la"; then
5806 found_la
="$dir/$libname.la"
5810 if test "X$found_dir" = "X"; then
5811 for x
in $LDFLAGS $LTLIBICONV; do
5813 acl_save_prefix
="$prefix"
5814 prefix
="$acl_final_prefix"
5815 acl_save_exec_prefix
="$exec_prefix"
5816 exec_prefix
="$acl_final_exec_prefix"
5818 exec_prefix
="$acl_save_exec_prefix"
5819 prefix
="$acl_save_prefix"
5823 dir
=`echo "X$x" | sed -e 's/^X-L//'`
5824 if test -n "$acl_shlibext"; then
5825 if test -f "$dir/$libname$shrext"; then
5827 found_so
="$dir/$libname$shrext"
5829 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5830 ver
=`(cd "$dir" && \
5831 for f in "$libname$shrext".*; do echo "$f"; done \
5832 | sed -e "s,^$libname$shrext\\\\.,," \
5833 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5834 | sed 1q ) 2>/dev/null`
5835 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5837 found_so
="$dir/$libname$shrext.$ver"
5840 eval library_names
=\"$acl_library_names_spec\"
5841 for f
in $library_names; do
5842 if test -f "$dir/$f"; then
5851 if test "X$found_dir" = "X"; then
5852 if test -f "$dir/$libname.$acl_libext"; then
5854 found_a
="$dir/$libname.$acl_libext"
5857 if test "X$found_dir" != "X"; then
5858 if test -f "$dir/$libname.la"; then
5859 found_la
="$dir/$libname.la"
5864 if test "X$found_dir" != "X"; then
5869 if test "X$found_dir" != "X"; then
5870 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5871 if test "X$found_so" != "X"; then
5872 if test "$enable_rpath" = no \
5873 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
5874 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
5875 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5878 for x
in $ltrpathdirs; do
5879 if test "X$x" = "X$found_dir"; then
5884 if test -z "$haveit"; then
5885 ltrpathdirs
="$ltrpathdirs $found_dir"
5887 if test "$acl_hardcode_direct" = yes; then
5888 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5890 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
5891 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5893 for x
in $rpathdirs; do
5894 if test "X$x" = "X$found_dir"; then
5899 if test -z "$haveit"; then
5900 rpathdirs
="$rpathdirs $found_dir"
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$found_dir"; then
5919 if test -z "$haveit"; then
5920 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5922 if test "$acl_hardcode_minus_L" != no
; then
5923 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5925 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
5931 if test "X$found_a" != "X"; then
5932 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
5934 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5937 additional_includedir
=
5938 case "$found_dir" in
5939 */$acl_libdirstem |
*/$acl_libdirstem/)
5940 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5941 if test "$name" = 'iconv'; then
5942 LIBICONV_PREFIX
="$basedir"
5944 additional_includedir
="$basedir/include"
5946 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
5947 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
5948 if test "$name" = 'iconv'; then
5949 LIBICONV_PREFIX
="$basedir"
5951 additional_includedir
="$basedir/include"
5954 if test "X$additional_includedir" != "X"; then
5955 if test "X$additional_includedir" != "X/usr/include"; then
5957 if test "X$additional_includedir" = "X/usr/local/include"; then
5958 if test -n "$GCC"; then
5960 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
5964 if test -z "$haveit"; then
5965 for x
in $CPPFLAGS $INCICONV; do
5967 acl_save_prefix
="$prefix"
5968 prefix
="$acl_final_prefix"
5969 acl_save_exec_prefix
="$exec_prefix"
5970 exec_prefix
="$acl_final_exec_prefix"
5972 exec_prefix
="$acl_save_exec_prefix"
5973 prefix
="$acl_save_prefix"
5975 if test "X$x" = "X-I$additional_includedir"; then
5980 if test -z "$haveit"; then
5981 if test -d "$additional_includedir"; then
5982 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5988 if test -n "$found_la"; then
5989 save_libdir
="$libdir"
5991 */* |
*\\*) .
"$found_la" ;;
5992 *) .
"./$found_la" ;;
5994 libdir
="$save_libdir"
5995 for dep
in $dependency_libs; do
5998 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
5999 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
6000 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
6002 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
6003 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
6004 if test -n "$GCC"; then
6006 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
6010 if test -z "$haveit"; then
6012 for x
in $LDFLAGS $LIBICONV; do
6014 acl_save_prefix
="$prefix"
6015 prefix
="$acl_final_prefix"
6016 acl_save_exec_prefix
="$exec_prefix"
6017 exec_prefix
="$acl_final_exec_prefix"
6019 exec_prefix
="$acl_save_exec_prefix"
6020 prefix
="$acl_save_prefix"
6022 if test "X$x" = "X-L$additional_libdir"; then
6027 if test -z "$haveit"; then
6028 if test -d "$additional_libdir"; then
6029 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
6033 for x
in $LDFLAGS $LTLIBICONV; do
6035 acl_save_prefix
="$prefix"
6036 prefix
="$acl_final_prefix"
6037 acl_save_exec_prefix
="$exec_prefix"
6038 exec_prefix
="$acl_final_exec_prefix"
6040 exec_prefix
="$acl_save_exec_prefix"
6041 prefix
="$acl_save_prefix"
6043 if test "X$x" = "X-L$additional_libdir"; then
6048 if test -z "$haveit"; then
6049 if test -d "$additional_libdir"; then
6050 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
6057 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6058 if test "$enable_rpath" != no
; then
6060 for x
in $rpathdirs; do
6061 if test "X$x" = "X$dir"; then
6066 if test -z "$haveit"; then
6067 rpathdirs
="$rpathdirs $dir"
6070 for x
in $ltrpathdirs; do
6071 if test "X$x" = "X$dir"; then
6076 if test -z "$haveit"; then
6077 ltrpathdirs
="$ltrpathdirs $dir"
6082 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6085 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6088 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
6089 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
6095 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
6096 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
6102 if test "X$rpathdirs" != "X"; then
6103 if test -n "$acl_hardcode_libdir_separator"; then
6105 for found_dir
in $rpathdirs; do
6106 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
6108 acl_save_libdir
="$libdir"
6110 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
6111 libdir
="$acl_save_libdir"
6112 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
6114 for found_dir
in $rpathdirs; do
6115 acl_save_libdir
="$libdir"
6117 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
6118 libdir
="$acl_save_libdir"
6119 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
6123 if test "X$ltrpathdirs" != "X"; then
6124 for found_dir
in $ltrpathdirs; do
6125 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
6160 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
6161 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
6162 $as_echo_n "(cached) " >&6
6164 gt_save_LIBS
="$LIBS"
6165 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
6166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6167 /* end confdefs.h. */
6168 #include <CoreFoundation/CFPreferences.h>
6172 CFPreferencesCopyAppValue(NULL, NULL)
6177 if ac_fn_c_try_link
"$LINENO"; then :
6178 gt_cv_func_CFPreferencesCopyAppValue
=yes
6180 gt_cv_func_CFPreferencesCopyAppValue
=no
6182 rm -f core conftest.err conftest.
$ac_objext \
6183 conftest
$ac_exeext conftest.
$ac_ext
6184 LIBS
="$gt_save_LIBS"
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
6187 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
6188 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
6190 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
6194 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
6195 if ${gt_cv_func_CFLocaleCopyCurrent+:} false
; then :
6196 $as_echo_n "(cached) " >&6
6198 gt_save_LIBS
="$LIBS"
6199 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
6200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6201 /* end confdefs.h. */
6202 #include <CoreFoundation/CFLocale.h>
6206 CFLocaleCopyCurrent();
6211 if ac_fn_c_try_link
"$LINENO"; then :
6212 gt_cv_func_CFLocaleCopyCurrent
=yes
6214 gt_cv_func_CFLocaleCopyCurrent
=no
6216 rm -f core conftest.err conftest.
$ac_objext \
6217 conftest
$ac_exeext conftest.
$ac_ext
6218 LIBS
="$gt_save_LIBS"
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
6221 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
6222 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6224 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
6228 if test $gt_cv_func_CFPreferencesCopyAppValue = yes ||
test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6229 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
6241 case " $gt_needs " in
6242 *" need-formatstring-macros "*) gt_api_version
=3 ;;
6243 *" need-ngettext "*) gt_api_version
=2 ;;
6244 *) gt_api_version
=1 ;;
6246 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
6247 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
6249 if test "$USE_NLS" = "yes"; then
6250 gt_use_preinstalled_gnugettext
=no
6253 if test $gt_api_version -ge 3; then
6254 gt_revision_test_code
='
6255 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6256 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
6258 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
6261 gt_revision_test_code
=
6263 if test $gt_api_version -ge 2; then
6264 gt_expression_test_code
=' + * ngettext ("", "", 0)'
6266 gt_expression_test_code
=
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
6270 $as_echo_n "checking for GNU gettext in libc... " >&6; }
6271 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
6272 $as_echo_n "(cached) " >&6
6274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6275 /* end confdefs.h. */
6277 #include <libintl.h>
6278 $gt_revision_test_code
6279 extern int _nl_msg_cat_cntr;
6280 extern int *_nl_domain_bindings;
6286 bindtextdomain ("", "");
6287 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
6293 if ac_fn_c_try_link
"$LINENO"; then :
6294 eval "$gt_func_gnugettext_libc=yes"
6296 eval "$gt_func_gnugettext_libc=no"
6298 rm -f core conftest.err conftest.
$ac_objext \
6299 conftest
$ac_exeext conftest.
$ac_ext
6301 eval ac_res
=\$
$gt_func_gnugettext_libc
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6303 $as_echo "$ac_res" >&6; }
6305 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
6311 am_save_CPPFLAGS
="$CPPFLAGS"
6313 for element
in $INCICONV; do
6315 for x
in $CPPFLAGS; do
6317 acl_save_prefix
="$prefix"
6318 prefix
="$acl_final_prefix"
6319 acl_save_exec_prefix
="$exec_prefix"
6320 exec_prefix
="$acl_final_exec_prefix"
6322 exec_prefix
="$acl_save_exec_prefix"
6323 prefix
="$acl_save_prefix"
6325 if test "X$x" = "X$element"; then
6330 if test -z "$haveit"; then
6331 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
6337 $as_echo_n "checking for iconv... " >&6; }
6338 if ${am_cv_func_iconv+:} false
; then :
6339 $as_echo_n "(cached) " >&6
6342 am_cv_func_iconv
="no, consider installing GNU libiconv"
6344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6345 /* end confdefs.h. */
6353 iconv_t cd = iconv_open("","");
6354 iconv(cd,NULL,NULL,NULL,NULL);
6360 if ac_fn_c_try_link
"$LINENO"; then :
6361 am_cv_func_iconv
=yes
6363 rm -f core conftest.err conftest.
$ac_objext \
6364 conftest
$ac_exeext conftest.
$ac_ext
6365 if test "$am_cv_func_iconv" != yes; then
6366 am_save_LIBS
="$LIBS"
6367 LIBS
="$LIBS $LIBICONV"
6368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6369 /* end confdefs.h. */
6377 iconv_t cd = iconv_open("","");
6378 iconv(cd,NULL,NULL,NULL,NULL);
6384 if ac_fn_c_try_link
"$LINENO"; then :
6386 am_cv_func_iconv
=yes
6388 rm -f core conftest.err conftest.
$ac_objext \
6389 conftest
$ac_exeext conftest.
$ac_ext
6390 LIBS
="$am_save_LIBS"
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
6395 $as_echo "$am_cv_func_iconv" >&6; }
6396 if test "$am_cv_func_iconv" = yes; then
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
6398 $as_echo_n "checking for working iconv... " >&6; }
6399 if ${am_cv_func_iconv_works+:} false
; then :
6400 $as_echo_n "(cached) " >&6
6403 am_save_LIBS
="$LIBS"
6404 if test $am_cv_lib_iconv = yes; then
6405 LIBS
="$LIBS $LIBICONV"
6407 if test "$cross_compiling" = yes; then :
6410 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
6411 *) am_cv_func_iconv_works
="guessing yes" ;;
6415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6416 /* end confdefs.h. */
6423 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
6426 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
6427 if (cd_utf8_to_88591 != (iconv_t)(-1))
6429 static const char input[] = "\342\202\254"; /* EURO SIGN */
6431 const char *inptr = input;
6432 size_t inbytesleft = strlen (input);
6434 size_t outbytesleft = sizeof (buf);
6435 size_t res = iconv (cd_utf8_to_88591,
6436 (char **) &inptr, &inbytesleft,
6437 &outptr, &outbytesleft);
6440 iconv_close (cd_utf8_to_88591);
6443 /* Test against Solaris 10 bug: Failures are not distinguishable from
6444 successful returns. */
6446 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
6447 if (cd_ascii_to_88591 != (iconv_t)(-1))
6449 static const char input[] = "\263";
6451 const char *inptr = input;
6452 size_t inbytesleft = strlen (input);
6454 size_t outbytesleft = sizeof (buf);
6455 size_t res = iconv (cd_ascii_to_88591,
6456 (char **) &inptr, &inbytesleft,
6457 &outptr, &outbytesleft);
6460 iconv_close (cd_ascii_to_88591);
6463 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
6465 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
6466 if (cd_88591_to_utf8 != (iconv_t)(-1))
6468 static const char input[] = "\304";
6469 static char buf[2] = { (char)0xDE, (char)0xAD };
6470 const char *inptr = input;
6471 size_t inbytesleft = 1;
6473 size_t outbytesleft = 1;
6474 size_t res = iconv (cd_88591_to_utf8,
6475 (char **) &inptr, &inbytesleft,
6476 &outptr, &outbytesleft);
6477 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
6479 iconv_close (cd_88591_to_utf8);
6482 #if 0 /* This bug could be worked around by the caller. */
6483 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
6485 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
6486 if (cd_88591_to_utf8 != (iconv_t)(-1))
6488 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
6490 const char *inptr = input;
6491 size_t inbytesleft = strlen (input);
6493 size_t outbytesleft = sizeof (buf);
6494 size_t res = iconv (cd_88591_to_utf8,
6495 (char **) &inptr, &inbytesleft,
6496 &outptr, &outbytesleft);
6499 iconv_close (cd_88591_to_utf8);
6503 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
6505 if (/* Try standardized names. */
6506 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
6507 /* Try IRIX, OSF/1 names. */
6508 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
6509 /* Try AIX names. */
6510 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
6511 /* Try HP-UX names. */
6512 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
6517 if ac_fn_c_try_run
"$LINENO"; then :
6518 am_cv_func_iconv_works
=yes
6520 am_cv_func_iconv_works
=no
6522 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6523 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6526 LIBS
="$am_save_LIBS"
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
6530 $as_echo "$am_cv_func_iconv_works" >&6; }
6531 case "$am_cv_func_iconv_works" in
6532 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
6533 *) am_func_iconv
=yes ;;
6536 am_func_iconv
=no am_cv_lib_iconv
=no
6538 if test "$am_func_iconv" = yes; then
6540 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
6543 if test "$am_cv_lib_iconv" = yes; then
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
6545 $as_echo_n "checking how to link with libiconv... " >&6; }
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
6547 $as_echo "$LIBICONV" >&6; }
6549 CPPFLAGS
="$am_save_CPPFLAGS"
6566 acl_save_prefix
="$prefix"
6567 prefix
="$acl_final_prefix"
6568 acl_save_exec_prefix
="$exec_prefix"
6569 exec_prefix
="$acl_final_exec_prefix"
6571 eval additional_includedir
=\"$includedir\"
6572 eval additional_libdir
=\"$libdir\"
6574 exec_prefix
="$acl_save_exec_prefix"
6575 prefix
="$acl_save_prefix"
6578 # Check whether --with-libintl-prefix was given.
6579 if test "${with_libintl_prefix+set}" = set; then :
6580 withval
=$with_libintl_prefix;
6581 if test "X$withval" = "Xno"; then
6584 if test "X$withval" = "X"; then
6586 acl_save_prefix
="$prefix"
6587 prefix
="$acl_final_prefix"
6588 acl_save_exec_prefix
="$exec_prefix"
6589 exec_prefix
="$acl_final_exec_prefix"
6591 eval additional_includedir
=\"$includedir\"
6592 eval additional_libdir
=\"$libdir\"
6594 exec_prefix
="$acl_save_exec_prefix"
6595 prefix
="$acl_save_prefix"
6598 additional_includedir
="$withval/include"
6599 additional_libdir
="$withval/$acl_libdirstem"
6600 if test "$acl_libdirstem2" != "$acl_libdirstem" \
6601 && ! test -d "$withval/$acl_libdirstem"; then
6602 additional_libdir
="$withval/$acl_libdirstem2"
6616 names_already_handled
=
6617 names_next_round
='intl '
6618 while test -n "$names_next_round"; do
6619 names_this_round
="$names_next_round"
6621 for name
in $names_this_round; do
6623 for n
in $names_already_handled; do
6624 if test "$n" = "$name"; then
6629 if test -z "$already_handled"; then
6630 names_already_handled
="$names_already_handled $name"
6631 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
6632 eval value
=\"\
$HAVE_LIB$uppername\"
6633 if test -n "$value"; then
6634 if test "$value" = yes; then
6635 eval value
=\"\
$LIB$uppername\"
6636 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
6637 eval value
=\"\
$LTLIB$uppername\"
6638 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
6647 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
6648 if test -n "$acl_shlibext"; then
6649 shrext
=".$acl_shlibext" # typically: shrext=.so
6653 if test $use_additional = yes; then
6654 dir
="$additional_libdir"
6655 if test -n "$acl_shlibext"; then
6656 if test -f "$dir/$libname$shrext"; then
6658 found_so
="$dir/$libname$shrext"
6660 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6661 ver
=`(cd "$dir" && \
6662 for f in "$libname$shrext".*; do echo "$f"; done \
6663 | sed -e "s,^$libname$shrext\\\\.,," \
6664 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6665 | sed 1q ) 2>/dev/null`
6666 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6668 found_so
="$dir/$libname$shrext.$ver"
6671 eval library_names
=\"$acl_library_names_spec\"
6672 for f
in $library_names; do
6673 if test -f "$dir/$f"; then
6682 if test "X$found_dir" = "X"; then
6683 if test -f "$dir/$libname.$acl_libext"; then
6685 found_a
="$dir/$libname.$acl_libext"
6688 if test "X$found_dir" != "X"; then
6689 if test -f "$dir/$libname.la"; then
6690 found_la
="$dir/$libname.la"
6694 if test "X$found_dir" = "X"; then
6695 for x
in $LDFLAGS $LTLIBINTL; do
6697 acl_save_prefix
="$prefix"
6698 prefix
="$acl_final_prefix"
6699 acl_save_exec_prefix
="$exec_prefix"
6700 exec_prefix
="$acl_final_exec_prefix"
6702 exec_prefix
="$acl_save_exec_prefix"
6703 prefix
="$acl_save_prefix"
6707 dir
=`echo "X$x" | sed -e 's/^X-L//'`
6708 if test -n "$acl_shlibext"; then
6709 if test -f "$dir/$libname$shrext"; then
6711 found_so
="$dir/$libname$shrext"
6713 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6714 ver
=`(cd "$dir" && \
6715 for f in "$libname$shrext".*; do echo "$f"; done \
6716 | sed -e "s,^$libname$shrext\\\\.,," \
6717 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6718 | sed 1q ) 2>/dev/null`
6719 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6721 found_so
="$dir/$libname$shrext.$ver"
6724 eval library_names
=\"$acl_library_names_spec\"
6725 for f
in $library_names; do
6726 if test -f "$dir/$f"; then
6735 if test "X$found_dir" = "X"; then
6736 if test -f "$dir/$libname.$acl_libext"; then
6738 found_a
="$dir/$libname.$acl_libext"
6741 if test "X$found_dir" != "X"; then
6742 if test -f "$dir/$libname.la"; then
6743 found_la
="$dir/$libname.la"
6748 if test "X$found_dir" != "X"; then
6753 if test "X$found_dir" != "X"; then
6754 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6755 if test "X$found_so" != "X"; then
6756 if test "$enable_rpath" = no \
6757 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
6758 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
6759 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6762 for x
in $ltrpathdirs; do
6763 if test "X$x" = "X$found_dir"; then
6768 if test -z "$haveit"; then
6769 ltrpathdirs
="$ltrpathdirs $found_dir"
6771 if test "$acl_hardcode_direct" = yes; then
6772 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6774 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
6775 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6777 for x
in $rpathdirs; do
6778 if test "X$x" = "X$found_dir"; then
6783 if test -z "$haveit"; then
6784 rpathdirs
="$rpathdirs $found_dir"
6788 for x
in $LDFLAGS $LIBINTL; do
6790 acl_save_prefix
="$prefix"
6791 prefix
="$acl_final_prefix"
6792 acl_save_exec_prefix
="$exec_prefix"
6793 exec_prefix
="$acl_final_exec_prefix"
6795 exec_prefix
="$acl_save_exec_prefix"
6796 prefix
="$acl_save_prefix"
6798 if test "X$x" = "X-L$found_dir"; then
6803 if test -z "$haveit"; then
6804 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6806 if test "$acl_hardcode_minus_L" != no
; then
6807 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6809 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
6815 if test "X$found_a" != "X"; then
6816 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
6818 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6821 additional_includedir
=
6822 case "$found_dir" in
6823 */$acl_libdirstem |
*/$acl_libdirstem/)
6824 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
6825 if test "$name" = 'intl'; then
6826 LIBINTL_PREFIX
="$basedir"
6828 additional_includedir
="$basedir/include"
6830 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
6831 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
6832 if test "$name" = 'intl'; then
6833 LIBINTL_PREFIX
="$basedir"
6835 additional_includedir
="$basedir/include"
6838 if test "X$additional_includedir" != "X"; then
6839 if test "X$additional_includedir" != "X/usr/include"; then
6841 if test "X$additional_includedir" = "X/usr/local/include"; then
6842 if test -n "$GCC"; then
6844 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
6848 if test -z "$haveit"; then
6849 for x
in $CPPFLAGS $INCINTL; do
6851 acl_save_prefix
="$prefix"
6852 prefix
="$acl_final_prefix"
6853 acl_save_exec_prefix
="$exec_prefix"
6854 exec_prefix
="$acl_final_exec_prefix"
6856 exec_prefix
="$acl_save_exec_prefix"
6857 prefix
="$acl_save_prefix"
6859 if test "X$x" = "X-I$additional_includedir"; then
6864 if test -z "$haveit"; then
6865 if test -d "$additional_includedir"; then
6866 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6872 if test -n "$found_la"; then
6873 save_libdir
="$libdir"
6875 */* |
*\\*) .
"$found_la" ;;
6876 *) .
"./$found_la" ;;
6878 libdir
="$save_libdir"
6879 for dep
in $dependency_libs; do
6882 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
6883 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
6884 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
6886 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
6887 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
6888 if test -n "$GCC"; then
6890 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
6894 if test -z "$haveit"; then
6896 for x
in $LDFLAGS $LIBINTL; do
6898 acl_save_prefix
="$prefix"
6899 prefix
="$acl_final_prefix"
6900 acl_save_exec_prefix
="$exec_prefix"
6901 exec_prefix
="$acl_final_exec_prefix"
6903 exec_prefix
="$acl_save_exec_prefix"
6904 prefix
="$acl_save_prefix"
6906 if test "X$x" = "X-L$additional_libdir"; then
6911 if test -z "$haveit"; then
6912 if test -d "$additional_libdir"; then
6913 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6917 for x
in $LDFLAGS $LTLIBINTL; do
6919 acl_save_prefix
="$prefix"
6920 prefix
="$acl_final_prefix"
6921 acl_save_exec_prefix
="$exec_prefix"
6922 exec_prefix
="$acl_final_exec_prefix"
6924 exec_prefix
="$acl_save_exec_prefix"
6925 prefix
="$acl_save_prefix"
6927 if test "X$x" = "X-L$additional_libdir"; then
6932 if test -z "$haveit"; then
6933 if test -d "$additional_libdir"; then
6934 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6941 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6942 if test "$enable_rpath" != no
; then
6944 for x
in $rpathdirs; do
6945 if test "X$x" = "X$dir"; then
6950 if test -z "$haveit"; then
6951 rpathdirs
="$rpathdirs $dir"
6954 for x
in $ltrpathdirs; do
6955 if test "X$x" = "X$dir"; then
6960 if test -z "$haveit"; then
6961 ltrpathdirs
="$ltrpathdirs $dir"
6966 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6969 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6972 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
6973 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6979 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
6980 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6986 if test "X$rpathdirs" != "X"; then
6987 if test -n "$acl_hardcode_libdir_separator"; then
6989 for found_dir
in $rpathdirs; do
6990 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
6992 acl_save_libdir
="$libdir"
6994 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
6995 libdir
="$acl_save_libdir"
6996 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
6998 for found_dir
in $rpathdirs; do
6999 acl_save_libdir
="$libdir"
7001 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
7002 libdir
="$acl_save_libdir"
7003 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
7007 if test "X$ltrpathdirs" != "X"; then
7008 for found_dir
in $ltrpathdirs; do
7009 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
7019 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
7020 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
7021 $as_echo_n "(cached) " >&6
7023 gt_save_CPPFLAGS
="$CPPFLAGS"
7024 CPPFLAGS
="$CPPFLAGS $INCINTL"
7025 gt_save_LIBS
="$LIBS"
7026 LIBS
="$LIBS $LIBINTL"
7027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7028 /* end confdefs.h. */
7030 #include <libintl.h>
7031 $gt_revision_test_code
7032 extern int _nl_msg_cat_cntr;
7037 const char *_nl_expand_alias (const char *);
7043 bindtextdomain ("", "");
7044 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
7050 if ac_fn_c_try_link
"$LINENO"; then :
7051 eval "$gt_func_gnugettext_libintl=yes"
7053 eval "$gt_func_gnugettext_libintl=no"
7055 rm -f core conftest.err conftest.
$ac_objext \
7056 conftest
$ac_exeext conftest.
$ac_ext
7057 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
7058 LIBS
="$LIBS $LIBICONV"
7059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7060 /* end confdefs.h. */
7062 #include <libintl.h>
7063 $gt_revision_test_code
7064 extern int _nl_msg_cat_cntr;
7069 const char *_nl_expand_alias (const char *);
7075 bindtextdomain ("", "");
7076 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
7082 if ac_fn_c_try_link
"$LINENO"; then :
7083 LIBINTL
="$LIBINTL $LIBICONV"
7084 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
7085 eval "$gt_func_gnugettext_libintl=yes"
7088 rm -f core conftest.err conftest.
$ac_objext \
7089 conftest
$ac_exeext conftest.
$ac_ext
7091 CPPFLAGS
="$gt_save_CPPFLAGS"
7092 LIBS
="$gt_save_LIBS"
7094 eval ac_res
=\$
$gt_func_gnugettext_libintl
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7096 $as_echo "$ac_res" >&6; }
7099 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
7100 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
7101 && test "$PACKAGE" != gettext-runtime \
7102 && test "$PACKAGE" != gettext-tools
; }; then
7103 gt_use_preinstalled_gnugettext
=yes
7112 if test -n "$INTL_MACOSX_LIBS"; then
7113 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7114 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
7115 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
7116 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
7120 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7121 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
7123 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
7131 $as_echo_n "checking whether to use NLS... " >&6; }
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
7133 $as_echo "$USE_NLS" >&6; }
7134 if test "$USE_NLS" = "yes"; then
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
7136 $as_echo_n "checking where the gettext function comes from... " >&6; }
7137 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7138 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
7139 gt_source
="external libintl"
7144 gt_source
="included intl directory"
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
7147 $as_echo "$gt_source" >&6; }
7150 if test "$USE_NLS" = "yes"; then
7152 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7153 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
7155 $as_echo_n "checking how to link with libintl... " >&6; }
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
7157 $as_echo "$LIBINTL" >&6; }
7159 for element
in $INCINTL; do
7161 for x
in $CPPFLAGS; do
7163 acl_save_prefix
="$prefix"
7164 prefix
="$acl_final_prefix"
7165 acl_save_exec_prefix
="$exec_prefix"
7166 exec_prefix
="$acl_final_exec_prefix"
7168 exec_prefix
="$acl_save_exec_prefix"
7169 prefix
="$acl_save_prefix"
7171 if test "X$x" = "X$element"; then
7176 if test -z "$haveit"; then
7177 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
7184 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
7187 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
7207 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7208 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7209 inttypes.h stdint.h unistd.h
7211 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7212 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7214 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7215 cat >>confdefs.h
<<_ACEOF
7216 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7224 for ac_header
in stdint.h stdlib.h
7226 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7227 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7228 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7229 cat >>confdefs.h
<<_ACEOF
7230 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7237 for ac_func
in strchr strrchr
7239 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7240 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7241 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7242 cat >>confdefs.h
<<_ACEOF
7243 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
7250 $as_echo_n "checking for working memcmp... " >&6; }
7251 if ${ac_cv_func_memcmp_working+:} false
; then :
7252 $as_echo_n "(cached) " >&6
7254 if test "$cross_compiling" = yes; then :
7255 ac_cv_func_memcmp_working
=no
7257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7258 /* end confdefs.h. */
7259 $ac_includes_default
7264 /* Some versions of memcmp are not 8-bit clean. */
7265 char c0 = '\100', c1 = '\200', c2 = '\201';
7266 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
7269 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
7270 or more and with at least one buffer not starting on a 4-byte boundary.
7271 William Lewis provided this test program. */
7276 for (i = 0; i < 4; i++)
7280 strcpy (a, "--------01111111");
7281 strcpy (b, "--------10000000");
7282 if (memcmp (a, b, 16) >= 0)
7292 if ac_fn_c_try_run
"$LINENO"; then :
7293 ac_cv_func_memcmp_working
=yes
7295 ac_cv_func_memcmp_working
=no
7297 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7298 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
7303 $as_echo "$ac_cv_func_memcmp_working" >&6; }
7304 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
7305 *" memcmp.$ac_objext "* ) ;;
7306 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
7311 for ac_header
in stdlib.h
7313 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
7314 if test "x$ac_cv_header_stdlib_h" = xyes
; then :
7315 cat >>confdefs.h
<<_ACEOF
7316 #define HAVE_STDLIB_H 1
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
7324 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
7325 if ${ac_cv_func_malloc_0_nonnull+:} false
; then :
7326 $as_echo_n "(cached) " >&6
7328 if test "$cross_compiling" = yes; then :
7329 ac_cv_func_malloc_0_nonnull
=no
7331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7332 /* end confdefs.h. */
7333 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
7334 # include <stdlib.h>
7342 return ! malloc (0);
7347 if ac_fn_c_try_run
"$LINENO"; then :
7348 ac_cv_func_malloc_0_nonnull
=yes
7350 ac_cv_func_malloc_0_nonnull
=no
7352 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7353 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
7358 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
7359 if test $ac_cv_func_malloc_0_nonnull = yes; then :
7361 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
7364 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
7366 case " $LIBOBJS " in
7367 *" malloc.$ac_objext "* ) ;;
7368 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
7373 $as_echo "#define malloc rpl_malloc" >>confdefs.h
7378 ac_fn_c_find_uintX_t
"$LINENO" "32" "ac_cv_c_uint32_t"
7379 case $ac_cv_c_uint32_t in #(
7383 $as_echo "#define _UINT32_T 1" >>confdefs.h
7386 cat >>confdefs.h
<<_ACEOF
7387 #define uint32_t $ac_cv_c_uint32_t
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
7396 $as_echo_n "checking for GLIB... " >&6; }
7398 if test -n "$GLIB_CFLAGS"; then
7399 pkg_cv_GLIB_CFLAGS
="$GLIB_CFLAGS"
7400 elif test -n "$PKG_CONFIG"; then
7401 if test -n "$PKG_CONFIG" && \
7402 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
7403 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
7405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7406 test $ac_status = 0; }; then
7407 pkg_cv_GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
7408 test "x$?" != "x0" && pkg_failed
=yes
7415 if test -n "$GLIB_LIBS"; then
7416 pkg_cv_GLIB_LIBS
="$GLIB_LIBS"
7417 elif test -n "$PKG_CONFIG"; then
7418 if test -n "$PKG_CONFIG" && \
7419 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
7420 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
7422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7423 test $ac_status = 0; }; then
7424 pkg_cv_GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
7425 test "x$?" != "x0" && pkg_failed
=yes
7435 if test $pkg_failed = yes; then
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7437 $as_echo "no" >&6; }
7439 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7440 _pkg_short_errors_supported
=yes
7442 _pkg_short_errors_supported
=no
7444 if test $_pkg_short_errors_supported = yes; then
7445 GLIB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0" 2>&1`
7447 GLIB_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0" 2>&1`
7449 # Put the nasty error message in config.log where it belongs
7450 echo "$GLIB_PKG_ERRORS" >&5
7452 as_fn_error $?
"Package requirements (glib-2.0) were not met:
7456 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7457 installed software in a non-standard prefix.
7459 Alternatively, you may set the environment variables GLIB_CFLAGS
7460 and GLIB_LIBS to avoid the need to call pkg-config.
7461 See the pkg-config man page for more details." "$LINENO" 5
7462 elif test $pkg_failed = untried
; then
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7464 $as_echo "no" >&6; }
7465 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7467 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
7468 is in your PATH or set the PKG_CONFIG environment variable to the full
7471 Alternatively, you may set the environment variables GLIB_CFLAGS
7472 and GLIB_LIBS to avoid the need to call pkg-config.
7473 See the pkg-config man page for more details.
7475 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7476 See \`config.log' for more details" "$LINENO" 5; }
7478 GLIB_CFLAGS
=$pkg_cv_GLIB_CFLAGS
7479 GLIB_LIBS
=$pkg_cv_GLIB_LIBS
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7481 $as_echo "yes" >&6; }
7487 # Check whether --with-gtk was given.
7488 if test "${with_gtk+set}" = set; then :
7489 withval
=$with_gtk; with_gtk
=$withval
7495 # Check whether --with-sdl was given.
7496 if test "${with_sdl+set}" = set; then :
7497 withval
=$with_sdl; with_sdl
=$withval
7503 if test x
"$with_gtk" = "xno" -a x
"$with_sdl" = "xno"; then
7504 as_fn_error $?
"You cannot disable both SDL and GTK. Rerun with --with-gtk or --with-sdl." "$LINENO" 5
7507 if test x
"$with_gtk" = "xyes"; then
7515 if test x
"$with_gtk" = "xyes" ; then
7517 $as_echo "#define HAVE_GTK /**/" >>confdefs.h
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
7522 $as_echo_n "checking for GTK... " >&6; }
7524 if test -n "$GTK_CFLAGS"; then
7525 pkg_cv_GTK_CFLAGS
="$GTK_CFLAGS"
7526 elif test -n "$PKG_CONFIG"; then
7527 if test -n "$PKG_CONFIG" && \
7528 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5
7529 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
7531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7532 test $ac_status = 0; }; then
7533 pkg_cv_GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
7534 test "x$?" != "x0" && pkg_failed
=yes
7541 if test -n "$GTK_LIBS"; then
7542 pkg_cv_GTK_LIBS
="$GTK_LIBS"
7543 elif test -n "$PKG_CONFIG"; then
7544 if test -n "$PKG_CONFIG" && \
7545 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5
7546 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
7548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7549 test $ac_status = 0; }; then
7550 pkg_cv_GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
7551 test "x$?" != "x0" && pkg_failed
=yes
7561 if test $pkg_failed = yes; then
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7563 $as_echo "no" >&6; }
7565 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7566 _pkg_short_errors_supported
=yes
7568 _pkg_short_errors_supported
=no
7570 if test $_pkg_short_errors_supported = yes; then
7571 GTK_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0" 2>&1`
7573 GTK_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0" 2>&1`
7575 # Put the nasty error message in config.log where it belongs
7576 echo "$GTK_PKG_ERRORS" >&5
7578 as_fn_error $?
"Package requirements (gtk+-2.0) were not met:
7582 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7583 installed software in a non-standard prefix.
7585 Alternatively, you may set the environment variables GTK_CFLAGS
7586 and GTK_LIBS to avoid the need to call pkg-config.
7587 See the pkg-config man page for more details." "$LINENO" 5
7588 elif test $pkg_failed = untried
; then
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7590 $as_echo "no" >&6; }
7591 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7592 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7593 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
7594 is in your PATH or set the PKG_CONFIG environment variable to the full
7597 Alternatively, you may set the environment variables GTK_CFLAGS
7598 and GTK_LIBS to avoid the need to call pkg-config.
7599 See the pkg-config man page for more details.
7601 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7602 See \`config.log' for more details" "$LINENO" 5; }
7604 GTK_CFLAGS
=$pkg_cv_GTK_CFLAGS
7605 GTK_LIBS
=$pkg_cv_GTK_LIBS
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7607 $as_echo "yes" >&6; }
7615 if test x
"$with_sdl" = "xyes"; then
7623 if test x
"$with_sdl" = "xyes" ; then
7625 $as_echo "#define HAVE_SDL /**/" >>confdefs.h
7628 # Check whether --with-sdl-prefix was given.
7629 if test "${with_sdl_prefix+set}" = set; then :
7630 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
7636 # Check whether --with-sdl-exec-prefix was given.
7637 if test "${with_sdl_exec_prefix+set}" = set; then :
7638 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
7643 # Check whether --enable-sdltest was given.
7644 if test "${enable_sdltest+set}" = set; then :
7645 enableval
=$enable_sdltest;
7651 if test x
$sdl_exec_prefix != x
; then
7652 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
7653 if test x
${SDL_CONFIG+set} != xset
; then
7654 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
7657 if test x
$sdl_prefix != x
; then
7658 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
7659 if test x
${SDL_CONFIG+set} != xset
; then
7660 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
7664 as_save_PATH
="$PATH"
7665 if test "x$prefix" != xNONE
; then
7666 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
7668 # Extract the first word of "sdl-config", so it can be a program name with args.
7669 set dummy sdl-config
; ac_word
=$2
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7671 $as_echo_n "checking for $ac_word... " >&6; }
7672 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
7673 $as_echo_n "(cached) " >&6
7677 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
7680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7684 test -z "$as_dir" && as_dir
=.
7685 for ac_exec_ext
in '' $ac_executable_extensions; do
7686 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7687 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7695 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
7699 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
7700 if test -n "$SDL_CONFIG"; then
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
7702 $as_echo "$SDL_CONFIG" >&6; }
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7705 $as_echo "no" >&6; }
7709 PATH
="$as_save_PATH"
7710 min_sdl_version
=1.2.0
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
7712 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
7714 if test "$SDL_CONFIG" = "no" ; then
7717 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
7718 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
7720 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
7721 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7722 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
7723 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7724 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
7725 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7726 if test "x$enable_sdltest" = "xyes" ; then
7727 ac_save_CFLAGS
="$CFLAGS"
7728 ac_save_CXXFLAGS
="$CXXFLAGS"
7729 ac_save_LIBS
="$LIBS"
7730 CFLAGS
="$CFLAGS $SDL_CFLAGS"
7731 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
7732 LIBS
="$LIBS $SDL_LIBS"
7734 if test "$cross_compiling" = yes; then :
7735 echo $ac_n "cross compiling; assumed OK... $ac_c"
7737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7738 /* end confdefs.h. */
7746 my_strdup (char *str)
7752 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
7753 strcpy (new_str, str);
7761 int main (int argc, char *argv[])
7763 int major, minor, micro;
7766 /* This hangs on some systems (?)
7767 system ("touch conf.sdltest");
7769 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
7771 /* HP/UX 9 (%@#!) writes to sscanf strings */
7772 tmp_version = my_strdup("$min_sdl_version");
7773 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
7774 printf("%s, bad version string\n", "$min_sdl_version");
7778 if (($sdl_major_version > major) ||
7779 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
7780 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
7786 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
7787 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
7788 printf("*** best to upgrade to the required version.\n");
7789 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
7790 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
7791 printf("*** config.cache before re-running configure\n");
7798 if ac_fn_c_try_run
"$LINENO"; then :
7803 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7804 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7807 CFLAGS
="$ac_save_CFLAGS"
7808 CXXFLAGS
="$ac_save_CXXFLAGS"
7809 LIBS
="$ac_save_LIBS"
7812 if test "x$no_sdl" = x
; then
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7814 $as_echo "yes" >&6; }
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7818 $as_echo "no" >&6; }
7819 if test "$SDL_CONFIG" = "no" ; then
7820 echo "*** The sdl-config script installed by SDL could not be found"
7821 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
7822 echo "*** your path, or set the SDL_CONFIG environment variable to the"
7823 echo "*** full path to sdl-config."
7825 if test -f conf.sdltest
; then
7828 echo "*** Could not run SDL test program, checking why..."
7829 CFLAGS
="$CFLAGS $SDL_CFLAGS"
7830 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
7831 LIBS
="$LIBS $SDL_LIBS"
7832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7833 /* end confdefs.h. */
7838 int main(int argc, char *argv[])
7841 #define main K_and_R_C_main
7851 if ac_fn_c_try_link
"$LINENO"; then :
7852 echo "*** The test program compiled, but did not run. This usually means"
7853 echo "*** that the run-time linker is not finding SDL or finding the wrong"
7854 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
7855 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
7856 echo "*** to the installed location Also, make sure you have run ldconfig if that"
7857 echo "*** is required on your system"
7859 echo "*** If you have an old version installed, it is best to remove it, although"
7860 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
7862 echo "*** The test program failed to compile or link. See the file config.log for the"
7863 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
7864 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
7865 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
7867 rm -f core conftest.err conftest.
$ac_objext \
7868 conftest
$ac_exeext conftest.
$ac_ext
7869 CFLAGS
="$ac_save_CFLAGS"
7870 CXXFLAGS
="$ac_save_CXXFLAGS"
7871 LIBS
="$ac_save_LIBS"
7876 as_fn_error $?
"Test for SDL failed. See the file 'INSTALL' for help." "$LINENO" 5
7882 SDL_LIBS
="$SDL_LIBS -lSDL_mixer -lSDL_image"
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7884 $as_echo_n "checking for X... " >&6; }
7887 # Check whether --with-x was given.
7888 if test "${with_x+set}" = set; then :
7892 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7893 if test "x$with_x" = xno
; then
7894 # The user explicitly disabled X.
7897 case $x_includes,$x_libraries in #(
7898 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
7899 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
7900 $as_echo_n "(cached) " >&6
7902 # One or both of the vars are not set, and there is no cached value.
7903 ac_x_includes
=no ac_x_libraries
=no
7904 rm -f -r conftest.dir
7905 if mkdir conftest.dir
; then
7907 cat >Imakefile
<<'_ACEOF'
7909 @echo incroot='${INCROOT}'
7911 @echo usrlibdir='${USRLIBDIR}'
7913 @echo libdir='${LIBDIR}'
7915 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7916 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7917 for ac_var
in incroot usrlibdir libdir
; do
7918 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7920 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7921 for ac_extension
in a so sl dylib la dll
; do
7922 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7923 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7924 ac_im_usrlibdir
=$ac_im_libdir; break
7927 # Screen out bogus values from the imake configuration. They are
7928 # bogus both because they are the default anyway, and because
7929 # using them would break gcc on systems where it needs fixed includes.
7930 case $ac_im_incroot in
7931 /usr
/include
) ac_x_includes
= ;;
7932 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7934 case $ac_im_usrlibdir in
7935 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
7936 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7940 rm -f -r conftest.dir
7943 # Standard set of common directories for X headers.
7944 # Check X11 before X11Rn because it is often a symlink to the current release.
7958 /usr/local/X11/include
7959 /usr/local/X11R7/include
7960 /usr/local/X11R6/include
7961 /usr/local/X11R5/include
7962 /usr/local/X11R4/include
7964 /usr/local/include/X11
7965 /usr/local/include/X11R7
7966 /usr/local/include/X11R6
7967 /usr/local/include/X11R5
7968 /usr/local/include/X11R4
7972 /usr/XFree86/include/X11
7976 /usr/unsupported/include
7978 /usr/local/x11r5/include
7979 /usr/lpp/Xamples/include
7981 /usr/openwin/include
7982 /usr/openwin/share/include'
7984 if test "$ac_x_includes" = no
; then
7985 # Guess where to find include files, by looking for Xlib.h.
7986 # First, try using that file with no special directory specified.
7987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7988 /* end confdefs.h. */
7989 #include <X11/Xlib.h>
7991 if ac_fn_c_try_cpp
"$LINENO"; then :
7992 # We can compile using X headers with no special include directory.
7995 for ac_dir
in $ac_x_header_dirs; do
7996 if test -r "$ac_dir/X11/Xlib.h"; then
7997 ac_x_includes
=$ac_dir
8002 rm -f conftest.err conftest.i conftest.
$ac_ext
8003 fi # $ac_x_includes = no
8005 if test "$ac_x_libraries" = no
; then
8006 # Check for the libraries.
8007 # See if we find them without any special options.
8008 # Don't add to $LIBS permanently.
8011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8012 /* end confdefs.h. */
8013 #include <X11/Xlib.h>
8022 if ac_fn_c_try_link
"$LINENO"; then :
8024 # We can link X programs with no special library path.
8028 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8030 # Don't even attempt the hair of trying to link an X program!
8031 for ac_extension
in a so sl dylib la dll
; do
8032 if test -r "$ac_dir/libX11.$ac_extension"; then
8033 ac_x_libraries
=$ac_dir
8039 rm -f core conftest.err conftest.
$ac_objext \
8040 conftest
$ac_exeext conftest.
$ac_ext
8041 fi # $ac_x_libraries = no
8043 case $ac_x_includes,$ac_x_libraries in #(
8045 # Didn't find X, or a directory has "'" in its name.
8046 ac_cv_have_x
="have_x=no";; #(
8048 # Record where we found X for the cache.
8049 ac_cv_have_x
="have_x=yes\
8050 ac_x_includes='$ac_x_includes'\
8051 ac_x_libraries='$ac_x_libraries'"
8057 eval "$ac_cv_have_x"
8060 if test "$have_x" != yes; then
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8062 $as_echo "$have_x" >&6; }
8065 # If each of the values was on the command line, it overrides each guess.
8066 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8067 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8068 # Update the cache value to reflect the command line values.
8069 ac_cv_have_x
="have_x=yes\
8070 ac_x_includes='$x_includes'\
8071 ac_x_libraries='$x_libraries'"
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8073 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8078 ac_cpp
='$CPP $CPPFLAGS'
8079 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8080 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8081 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Microsoft C compiler" >&5
8084 $as_echo_n "checking whether we are using the Microsoft C compiler... " >&6; }
8085 if ${ax_cv_c_compiler_ms+:} false
; then :
8086 $as_echo_n "(cached) " >&6
8088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8089 /* end confdefs.h. */
8102 if ac_fn_c_try_compile
"$LINENO"; then :
8107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8108 ax_cv_c_compiler_ms
=$ax_compiler_ms
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_compiler_ms" >&5
8112 $as_echo "$ax_cv_c_compiler_ms" >&6; }
8115 # Use x_includes and x_libraries if they have been set (presumably by
8118 if test X
$no_x != Xyes
-a -n "$x_includes"; then :
8119 GL_CFLAGS
="-I$x_includes $GL_CFLAGS"
8122 for ac_header
in windows.h
8124 ac_fn_c_check_header_mongrel
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
8125 if test "x$ac_cv_header_windows_h" = xyes
; then :
8126 cat >>confdefs.h
<<_ACEOF
8127 #define HAVE_WINDOWS_H 1
8135 ax_save_CPPFLAGS
=$CPPFLAGS
8136 CPPFLAGS
="$GL_CFLAGS $CPPFLAGS"
8137 for ac_header
in GL
/gl.h OpenGL
/gl.h
8139 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8140 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "
8141 # if defined(HAVE_WINDOWS_H) && defined(_WIN32)
8142 # include <windows.h>
8146 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8147 cat >>confdefs.h
<<_ACEOF
8148 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8155 CPPFLAGS
=$ax_save_CPPFLAGS
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL library" >&5
8162 $as_echo_n "checking for OpenGL library... " >&6; }
8163 if ${ax_cv_check_gl_libgl+:} false
; then :
8164 $as_echo_n "(cached) " >&6
8166 ax_cv_check_gl_libgl
=no
8168 x86_64
) ax_check_gl_libdir
=lib64
;;
8169 *) ax_check_gl_libdir
=lib
;;
8171 ax_save_CPPFLAGS
=$CPPFLAGS
8172 CPPFLAGS
="$CPPFLAGS $GL_CFLAGS"
8173 ax_save_LDFLAGS
=$LDFLAGS
8174 if test X
$no_x != Xyes
-a -n "$x_libraries"; then :
8175 LDFLAGS
="$LDFLAGS -L$x_libraries"
8178 ax_check_libs
="-lopengl32 -lGL"
8179 for ax_lib
in $ax_check_libs; do
8180 if test X
$ax_compiler_ms = Xyes
; then :
8181 ax_try_lib
=`echo $ax_lib | $SED -e 's/^-l//' -e 's/$/.lib/'`
8185 LDFLAGS
="$ax_save_LDFLAGS $GL_LIBS"
8186 LIBS
="$ax_try_lib $ax_save_LIBS"
8187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8188 /* end confdefs.h. */
8190 # if defined(HAVE_WINDOWS_H) && defined(_WIN32)
8191 # include <windows.h>
8193 # ifdef HAVE_GL_GL_H
8195 # elif defined(HAVE_OPENGL_GL_H)
8196 # include <OpenGL/gl.h>
8208 if ac_fn_c_try_link
"$LINENO"; then :
8209 ax_cv_check_gl_libgl
=$ax_try_lib; break
8211 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'
8212 LDFLAGS
="$ax_save_LDFLAGS $GL_LIBS $ax_check_gl_dylib_flag"
8213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8214 /* end confdefs.h. */
8216 # if defined(HAVE_WINDOWS_H) && defined(_WIN32)
8217 # include <windows.h>
8219 # ifdef HAVE_GL_GL_H
8221 # elif defined(HAVE_OPENGL_GL_H)
8222 # include <OpenGL/gl.h>
8234 if ac_fn_c_try_link
"$LINENO"; then :
8235 ax_cv_check_gl_libgl
="$ax_check_gl_dylib_flag $ax_try_lib"; break
8237 rm -f core conftest.err conftest.
$ac_objext \
8238 conftest
$ac_exeext conftest.
$ac_ext
8240 rm -f core conftest.err conftest.
$ac_objext \
8241 conftest
$ac_exeext conftest.
$ac_ext
8245 # If no_x is "yes", we don't want to wind up using a libGL that is
8246 # linked with X11. Test to see if the found libGL includes GLX
8247 # functions. If it does and no_x is "yes", we want to reset
8248 # ax_cv_check_gl_libgl back to "no".
8250 # Note that LDFLAGS and LIBS should still have whatever values they
8251 # had when we broke out of the test loop above; use that.
8253 if test "X$ax_cv_check_gl_libgl" != Xno
; then :
8254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8255 /* end confdefs.h. */
8257 # if defined(HAVE_WINDOWS_H) && defined(_WIN32)
8258 # include <windows.h>
8260 # ifdef HAVE_GL_GL_H
8262 # elif defined(HAVE_OPENGL_GL_H)
8263 # include <OpenGL/gl.h>
8270 glXQueryVersion(0, 0, 0)
8275 if ac_fn_c_try_link
"$LINENO"; then :
8276 if test X
$no_x = Xyes
; then :
8277 ax_cv_check_gl_libgl
=no
8280 rm -f core conftest.err conftest.
$ac_objext \
8281 conftest
$ac_exeext conftest.
$ac_ext
8285 if test "X$ax_cv_check_gl_libgl" = Xno
-a X
$no_x = Xyes
; then :
8286 LDFLAGS
="$ax_save_LDFLAGS -framework OpenGL -framework Cocoa"
8287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8288 /* end confdefs.h. */
8290 # if defined(HAVE_WINDOWS_H) && defined(_WIN32)
8291 # include <windows.h>
8293 # ifdef HAVE_GL_GL_H
8295 # elif defined(HAVE_OPENGL_GL_H)
8296 # include <OpenGL/gl.h>
8308 if ac_fn_c_try_link
"$LINENO"; then :
8309 ax_cv_check_gl_libgl
='-framework OpenGL -framework Cocoa'
8311 rm -f core conftest.err conftest.
$ac_objext \
8312 conftest
$ac_exeext conftest.
$ac_ext
8315 LDFLAGS
=$ax_save_LDFLAGS
8316 CPPFLAGS
=$ax_save_CPPFLAGS
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_gl_libgl" >&5
8319 $as_echo "$ax_cv_check_gl_libgl" >&6; }
8321 if test "X$ax_cv_check_gl_libgl" = Xno
; then :
8322 no_gl
=yes; GL_CFLAGS
=""; GL_LIBS
=""
8324 GL_LIBS
="$ax_cv_check_gl_libgl $GL_LIBS"
8327 ac_cpp
='$CPP $CPPFLAGS'
8328 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8329 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8330 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBPNG" >&5
8347 $as_echo_n "checking for LIBPNG... " >&6; }
8349 if test -n "$LIBPNG_CFLAGS"; then
8350 pkg_cv_LIBPNG_CFLAGS
="$LIBPNG_CFLAGS"
8351 elif test -n "$PKG_CONFIG"; then
8352 if test -n "$PKG_CONFIG" && \
8353 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng\""; } >&5
8354 ($PKG_CONFIG --exists --print-errors "libpng") 2>&5
8356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8357 test $ac_status = 0; }; then
8358 pkg_cv_LIBPNG_CFLAGS
=`$PKG_CONFIG --cflags "libpng" 2>/dev/null`
8359 test "x$?" != "x0" && pkg_failed
=yes
8366 if test -n "$LIBPNG_LIBS"; then
8367 pkg_cv_LIBPNG_LIBS
="$LIBPNG_LIBS"
8368 elif test -n "$PKG_CONFIG"; then
8369 if test -n "$PKG_CONFIG" && \
8370 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng\""; } >&5
8371 ($PKG_CONFIG --exists --print-errors "libpng") 2>&5
8373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8374 test $ac_status = 0; }; then
8375 pkg_cv_LIBPNG_LIBS
=`$PKG_CONFIG --libs "libpng" 2>/dev/null`
8376 test "x$?" != "x0" && pkg_failed
=yes
8386 if test $pkg_failed = yes; then
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8388 $as_echo "no" >&6; }
8390 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8391 _pkg_short_errors_supported
=yes
8393 _pkg_short_errors_supported
=no
8395 if test $_pkg_short_errors_supported = yes; then
8396 LIBPNG_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpng" 2>&1`
8398 LIBPNG_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libpng" 2>&1`
8400 # Put the nasty error message in config.log where it belongs
8401 echo "$LIBPNG_PKG_ERRORS" >&5
8403 as_fn_error $?
"Package requirements (libpng) were not met:
8407 Consider adjusting the PKG_CONFIG_PATH environment variable if you
8408 installed software in a non-standard prefix.
8410 Alternatively, you may set the environment variables LIBPNG_CFLAGS
8411 and LIBPNG_LIBS to avoid the need to call pkg-config.
8412 See the pkg-config man page for more details." "$LINENO" 5
8413 elif test $pkg_failed = untried
; then
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8415 $as_echo "no" >&6; }
8416 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8418 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
8419 is in your PATH or set the PKG_CONFIG environment variable to the full
8422 Alternatively, you may set the environment variables LIBPNG_CFLAGS
8423 and LIBPNG_LIBS to avoid the need to call pkg-config.
8424 See the pkg-config man page for more details.
8426 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
8427 See \`config.log' for more details" "$LINENO" 5; }
8429 LIBPNG_CFLAGS
=$pkg_cv_LIBPNG_CFLAGS
8430 LIBPNG_LIBS
=$pkg_cv_LIBPNG_LIBS
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8432 $as_echo "yes" >&6; }
8434 $as_echo "#define HAVE_LIBPNG 1" >>confdefs.h
8439 ac_config_files
="$ac_config_files Makefile po/Makefile.in include/Makefile src/Makefile caves/Makefile docs/Makefile sound/Makefile music/Makefile shaders/Makefile"
8442 cat >confcache
<<\_ACEOF
8443 # This file is a shell script that caches the results of configure
8444 # tests run on this system so they can be shared between configure
8445 # scripts and configure runs, see configure's option --config-cache.
8446 # It is not useful on other systems. If it contains results you don't
8447 # want to keep, you may remove or edit it.
8449 # config.status only pays attention to the cache file if you give it
8450 # the --recheck option to rerun configure.
8452 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8453 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8458 # The following way of writing the cache mishandles newlines in values,
8459 # but we know of no workaround that is simple, portable, and efficient.
8460 # So, we kill variables containing newlines.
8461 # Ultrix sh set writes to stderr and can't be redirected directly,
8462 # and sets the high bit in the cache file unless we assign to the vars.
8464 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8465 eval ac_val
=\$
$ac_var
8469 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8470 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8473 _ | IFS | as_nl
) ;; #(
8474 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
8475 *) { eval $ac_var=; unset $ac_var;} ;;
8481 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8482 *${as_nl}ac_space
=\
*)
8483 # `set' does not quote correctly, so add quotes: double-quote
8484 # substitution turns \\\\ into \\, and sed turns \\ into \.
8487 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8490 # `set' quotes correctly as required by POSIX, so do not add quotes.
8491 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8500 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8502 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8504 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
8505 if test -w "$cache_file"; then
8506 if test "x$cache_file" != "x/dev/null"; then
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8508 $as_echo "$as_me: updating cache $cache_file" >&6;}
8509 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
8510 cat confcache
>"$cache_file"
8512 case $cache_file in #(
8514 mv -f confcache
"$cache_file"$$
&&
8515 mv -f "$cache_file"$$
"$cache_file" ;; #(
8517 mv -f confcache
"$cache_file" ;;
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8523 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8528 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8529 # Let make expand exec_prefix.
8530 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8532 DEFS
=-DHAVE_CONFIG_H
8536 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8537 # 1. Remove the extension, and $U if already installed.
8538 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
8539 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
8540 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8541 # will be set to the directory where LIBOBJS objects are built.
8542 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8543 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
8547 LTLIBOBJS
=$ac_ltlibobjs
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
8551 $as_echo_n "checking that generated files are newer than configure... " >&6; }
8552 if test -n "$am_sleep_pid"; then
8553 # Hide warnings about reused PIDs.
8554 wait $am_sleep_pid 2>/dev
/null
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
8557 $as_echo "done" >&6; }
8558 if test -n "$EXEEXT"; then
8560 am__EXEEXT_FALSE
='#'
8566 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8567 as_fn_error $?
"conditional \"AMDEP\" was never defined.
8568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8570 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8571 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
8572 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8574 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
8575 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
8576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8578 if test -z "${GTK_TRUE}" && test -z "${GTK_FALSE}"; then
8579 as_fn_error $?
"conditional \"GTK\" was never defined.
8580 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8582 if test -z "${SDL_TRUE}" && test -z "${SDL_FALSE}"; then
8583 as_fn_error $?
"conditional \"SDL\" was never defined.
8584 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8587 : "${CONFIG_STATUS=./config.status}"
8589 ac_clean_files_save
=$ac_clean_files
8590 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8592 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8594 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8596 # Generated by $as_me.
8597 # Run this file to recreate the current configuration.
8598 # Compiler output produced by configure, useful for debugging
8599 # configure, is in config.log if it exists.
8605 SHELL=\${CONFIG_SHELL-$SHELL}
8608 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
8609 ## -------------------- ##
8610 ## M4sh Initialization. ##
8611 ## -------------------- ##
8613 # Be more Bourne compatible
8614 DUALCASE
=1; export DUALCASE
# for MKS sh
8615 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
8618 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8619 # is contrary to our usage. Disable this feature.
8620 alias -g '${1+"$@"}'='"$@"'
8621 setopt NO_GLOB_SUBST
8623 case `(set -o) 2>/dev/null` in #(
8635 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8636 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8637 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8638 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8639 # Prefer a ksh shell builtin over an external printf program on Solaris,
8640 # but without wasting forks for bash or zsh.
8641 if test -z "$BASH_VERSION$ZSH_VERSION" \
8642 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8643 as_echo='print
-r --'
8644 as_echo_n='print
-rn --'
8645 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8646 as_echo='printf %s
\n'
8647 as_echo_n='printf %s
'
8649 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8650 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
8651 as_echo_n='/usr
/ucb
/echo -n'
8653 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8654 as_echo_n_body='eval
8658 expr "X$arg" : "X\\(.*\\)$as_nl";
8659 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8661 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
8663 export as_echo_n_body
8664 as_echo_n='sh
-c $as_echo_n_body as_echo
'
8667 as_echo='sh
-c $as_echo_body as_echo
'
8670 # The user is always right.
8671 if test "${PATH_SEPARATOR+set}" != set; then
8673 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8674 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8681 # We need space, tab and new line, in precisely that order. Quoting is
8682 # there to prevent editors from complaining about space-tab.
8683 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8684 # splitting by setting IFS to empty value.)
8687 # Find who we are. Look in the path if we contain no directory separator.
8690 *[\\/]* ) as_myself=$0 ;;
8691 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8695 test -z "$as_dir" && as_dir=.
8696 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8702 # We did not find ourselves, most probably we were run as `sh COMMAND'
8703 # in which case we are not to be found in the path.
8704 if test "x$as_myself" = x
; then
8707 if test ! -f "$as_myself"; then
8708 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8712 # Unset variables that we do not need and which cause bugs (e.g. in
8713 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8714 # suppresses any "Segmentation fault" message there. '((' could
8715 # trigger a bug in pdksh 5.2.14.
8716 for as_var
in BASH_ENV ENV MAIL MAILPATH
8717 do eval test x\
${$as_var+set} = xset \
8718 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
8731 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
8734 # as_fn_error STATUS ERROR [LINENO LOG_FD]
8735 # ----------------------------------------
8736 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8737 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8738 # script with STATUS, using 1 if that was 0.
8741 as_status
=$1; test $as_status -eq 0 && as_status
=1
8743 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
8744 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8746 $as_echo "$as_me: error: $2" >&2
8747 as_fn_exit
$as_status
8751 # as_fn_set_status STATUS
8752 # -----------------------
8753 # Set $? to STATUS, without forking.
8757 } # as_fn_set_status
8761 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8771 # Portably unset VAR.
8774 { eval $1=; unset $1;}
8776 as_unset
=as_fn_unset
8777 # as_fn_append VAR VALUE
8778 # ----------------------
8779 # Append the text in VALUE to the end of the definition contained in VAR. Take
8780 # advantage of any shell optimizations that allow amortized linear growth over
8781 # repeated appends, instead of the typical quadratic growth present in naive
8783 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
8784 eval 'as_fn_append ()
8795 # as_fn_arith ARG...
8796 # ------------------
8797 # Perform arithmetic evaluation on the ARGs, and store the result in the
8798 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8799 # must be portable across $(()) and expr.
8800 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
8801 eval 'as_fn_arith ()
8808 as_val
=`expr "$@" || test $? -eq 1`
8813 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8814 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8820 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8821 as_basename
=basename
8826 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
8832 as_me
=`$as_basename -- "$0" ||
8833 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8834 X"$0" : 'X\(//\)$' \| \
8835 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8837 sed '/^.*\/\([^/][^/]*\)\/*$/{
8851 # Avoid depending upon Character Ranges.
8852 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8853 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8854 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8855 as_cr_digits
='0123456789'
8856 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8858 ECHO_C
= ECHO_N
= ECHO_T
=
8859 case `echo -n x` in #(((((
8861 case `echo 'xy\c'` in
8862 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
8864 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
8871 rm -f conf$$ conf$$.exe conf$$.
file
8872 if test -d conf$$.dir
; then
8873 rm -f conf$$.dir
/conf$$.
file
8876 mkdir conf$$.dir
2>/dev
/null
8878 if (echo >conf$$.
file) 2>/dev
/null
; then
8879 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8881 # ... but there are two gotchas:
8882 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8883 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8884 # In both cases, we have to default to `cp -pR'.
8885 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
8887 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8895 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
8896 rmdir conf$$.dir
2>/dev
/null
8901 # Create "$as_dir" as a directory, including parents if necessary.
8906 -*) as_dir
=.
/$as_dir;;
8908 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
8912 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8913 *) as_qdir
=$as_dir;;
8915 as_dirs
="'$as_qdir' $as_dirs"
8916 as_dir
=`$as_dirname -- "$as_dir" ||
8917 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8918 X"$as_dir" : 'X\(//\)[^/]' \| \
8919 X"$as_dir" : 'X\(//\)$' \| \
8920 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8921 $as_echo X"$as_dir" |
8922 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8939 test -d "$as_dir" && break
8941 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8942 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
8946 if mkdir
-p .
2>/dev
/null
; then
8947 as_mkdir_p
='mkdir -p "$as_dir"'
8949 test -d .
/-p && rmdir .
/-p
8954 # as_fn_executable_p FILE
8955 # -----------------------
8956 # Test if FILE is an executable regular file.
8957 as_fn_executable_p
()
8959 test -f "$1" && test -x "$1"
8960 } # as_fn_executable_p
8962 as_executable_p
=as_fn_executable_p
8964 # Sed expression to map a string onto a valid CPP name.
8965 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8967 # Sed expression to map a string onto a valid variable name.
8968 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8972 ## ----------------------------------- ##
8973 ## Main body of $CONFIG_STATUS script. ##
8974 ## ----------------------------------- ##
8976 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
8978 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8979 # Save the log message, to keep $0 and so on meaningful, and to
8980 # report actual input values of CONFIG_FILES etc. instead of their
8981 # values after options handling.
8983 This file was extended by GDash $as_me 20130623unstable, which was
8984 generated by GNU Autoconf 2.69. Invocation command line was
8986 CONFIG_FILES = $CONFIG_FILES
8987 CONFIG_HEADERS = $CONFIG_HEADERS
8988 CONFIG_LINKS = $CONFIG_LINKS
8989 CONFIG_COMMANDS = $CONFIG_COMMANDS
8992 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8997 case $ac_config_files in *"
8998 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
9001 case $ac_config_headers in *"
9002 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
9006 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9007 # Files that config.status was made for.
9008 config_files="$ac_config_files"
9009 config_headers="$ac_config_headers"
9010 config_commands="$ac_config_commands"
9014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9016 \`$as_me' instantiates files and other configuration actions
9017 from templates according to the current configuration. Unless the files
9018 and actions are specified as TAGs, all are instantiated by default.
9020 Usage: $0 [OPTION]... [TAG]...
9022 -h, --help print this help, then exit
9023 -V, --version print version number and configuration settings, then exit
9024 --config print configuration, then exit
9025 -q, --quiet, --silent
9026 do not print progress messages
9027 -d, --debug don't remove temporary files
9028 --recheck update $as_me by reconfiguring in the same conditions
9029 --file=FILE[:TEMPLATE]
9030 instantiate the configuration file FILE
9031 --header=FILE[:TEMPLATE]
9032 instantiate the configuration header FILE
9034 Configuration files:
9037 Configuration headers:
9040 Configuration commands:
9043 Report bugs to <http://code.google.com/p/gdash/>."
9046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9047 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9049 GDash config.status 20130623unstable
9050 configured by $0, generated by GNU Autoconf 2.69,
9051 with options \\"\$ac_cs_config\\"
9053 Copyright (C) 2012 Free Software Foundation, Inc.
9054 This config.status script is free software; the Free Software Foundation
9055 gives unlimited permission to copy, distribute and modify it."
9062 test -n "\$AWK" || AWK=awk
9065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9066 # The default lists apply if the user does not specify any file.
9072 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
9073 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
9077 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
9089 # Handling of the options.
9090 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9092 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
9093 $as_echo "$ac_cs_version"; exit ;;
9094 --config |
--confi |
--conf |
--con |
--co |
--c )
9095 $as_echo "$ac_cs_config"; exit ;;
9096 --debug |
--debu |
--deb |
--de |
--d |
-d )
9098 --file |
--fil |
--fi |
--f )
9101 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9102 '') as_fn_error $?
"missing file argument" ;;
9104 as_fn_append CONFIG_FILES
" '$ac_optarg'"
9105 ac_need_defaults
=false
;;
9106 --header |
--heade |
--head |
--hea )
9109 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9111 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
9112 ac_need_defaults
=false
;;
9114 # Conflict between --help and --header
9115 as_fn_error $?
"ambiguous option: \`$1'
9116 Try \`$0 --help' for more information.";;
9117 --help |
--hel |
-h )
9118 $as_echo "$ac_cs_usage"; exit ;;
9119 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9120 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9124 -*) as_fn_error $?
"unrecognized option: \`$1'
9125 Try \`$0 --help' for more information." ;;
9127 *) as_fn_append ac_config_targets
" $1"
9128 ac_need_defaults
=false
;;
9134 ac_configure_extra_args
=
9136 if $ac_cs_silent; then
9138 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9143 if \$ac_cs_recheck; then
9144 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9146 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9147 CONFIG_SHELL='$SHELL'
9153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9157 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9158 ## Running $as_me. ##
9164 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9168 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9169 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
9170 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
9171 # from automake < 1.5.
9172 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
9173 # Capture the value of LINGUAS because we need it to compute CATALOGS.
9174 LINGUAS="${LINGUAS-%UNSET%}"
9179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9181 # Handling of arguments.
9182 for ac_config_target
in $ac_config_targets
9184 case $ac_config_target in
9185 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
9186 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
9187 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
9188 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9189 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
9190 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
9191 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
9192 "caves/Makefile") CONFIG_FILES
="$CONFIG_FILES caves/Makefile" ;;
9193 "docs/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/Makefile" ;;
9194 "sound/Makefile") CONFIG_FILES
="$CONFIG_FILES sound/Makefile" ;;
9195 "music/Makefile") CONFIG_FILES
="$CONFIG_FILES music/Makefile" ;;
9196 "shaders/Makefile") CONFIG_FILES
="$CONFIG_FILES shaders/Makefile" ;;
9198 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9203 # If the user did not use the arguments to specify the items to instantiate,
9204 # then the envvar interface is used. Set only those that are not.
9205 # We use the long form for the default assignment because of an extremely
9206 # bizarre bug on SunOS 4.1.3.
9207 if $ac_need_defaults; then
9208 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9209 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9210 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9213 # Have a temporary directory for convenience. Make it in the build tree
9214 # simply because there is no reason against having it here, and in addition,
9215 # creating and moving files from /tmp can sometimes cause problems.
9216 # Hook for its removal unless debugging.
9217 # Note that there is a small window in which the directory will not be cleaned:
9218 # after its creation but before its name has been assigned to `$tmp'.
9222 trap 'exit_status=$?
9224 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9226 trap 'as_fn_exit 1' 1 2 13 15
9228 # Create a (secure) tmp directory for tmp files.
9231 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9235 tmp
=.
/conf$$
-$RANDOM
9236 (umask 077 && mkdir
"$tmp")
9237 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
9240 # Set up the scripts for CONFIG_FILES section.
9241 # No need to generate them if there are no CONFIG_FILES.
9242 # This happens for instance with `./config.status config.h'.
9243 if test -n "$CONFIG_FILES"; then
9246 ac_cr
=`echo X | tr X '\015'`
9247 # On cygwin, bash can eat \r inside `` if the user requested igncr.
9248 # But we know of no other shell where ac_cr would be empty at this
9249 # point, so we can use a bashism as a fallback.
9250 if test "x$ac_cr" = x
; then
9251 eval ac_cr
=\$
\'\\r
\'
9253 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9254 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9260 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9265 echo "cat >conf$$subs.awk <<_ACEOF" &&
9266 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9269 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
9270 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
9272 for ac_last_try in false false false false false :; do
9273 . ./conf$$subs.sh ||
9274 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
9276 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
9277 if test $ac_delim_n = $ac_delim_num; then
9279 elif $ac_last_try; then
9280 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
9282 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9288 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
9292 s/^/S["/; s
/!.
*/"]=/
9302 s/\(.\{148\}\)..*/\1/
9304 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
9309 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
9316 s/\(.\{148\}\)..*/\1/
9318 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
9322 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
9327 ' <conf$$subs.awk | sed '
9332 ' >>$CONFIG_STATUS || ac_write_fail=1
9333 rm -f conf$$subs.awk
9334 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9336 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
9337 for (key in S) S_is_set[key] = 1
9343 nfields = split(line, field, "@
")
9345 len = length(field[1])
9346 for (i = 2; i < nfields; i++) {
9348 keylen = length(key)
9349 if (S_is_set[key]) {
9351 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9352 len += length(value) + length(field[++i])
9363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9364 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9365 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
9368 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
9369 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
9372 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9373 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
9374 # trailing colons and then remove the whole line if VPATH becomes empty
9375 # (actually we leave an empty line to preserve line numbers).
9376 if test "x
$srcdir" = x.; then
9377 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
9395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9396 fi # test -n "$CONFIG_FILES"
9398 # Set up the scripts for CONFIG_HEADERS section.
9399 # No need to generate them if there are no CONFIG_HEADERS.
9400 # This happens for instance with `./config.status Makefile'.
9401 if test -n "$CONFIG_HEADERS"; then
9402 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
9406 # Transform confdefs.h into an awk script `defines.awk', embedded as
9407 # here-document in config.status, that substitutes the proper values into
9408 # config.h.in to produce config.h.
9410 # Create a delimiter string that does not exist in confdefs.h, to ease
9411 # handling of long lines.
9413 for ac_last_try in false false :; do
9414 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
9415 if test -z "$ac_tt"; then
9417 elif $ac_last_try; then
9418 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
9420 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9424 # For the awk script, D is an array of macro values keyed by name,
9425 # likewise P contains macro parameters if any. Preserve backslash
9426 # newline sequences.
9428 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9430 s/.\{148\}/&'"$ac_delim"'/g
9433 s/^[ ]*#[ ]*define[ ][ ]*/ /
9440 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
9442 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
9446 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
9447 D["\
1"]=" \
3\\\\\\n
"\\/p
9449 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
9454 s/.\{148\}/&'"$ac_delim"'/g
9459 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
9462 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
9464 ' <confdefs.h | sed '
9465 s/'"$ac_delim"'/"\\\
9466 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9469 for (key in D) D_is_set[key] = 1
9472 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9474 split(line, arg, " ")
9475 if (arg[1] == "#") {
9479 defundef
= substr
(arg
[1], 2)
9482 split(mac1
, mac2
, "(") #)
9484 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
9485 if (D_is_set
[macro
]) {
9486 # Preserve the white space surrounding the "#".
9487 print prefix
"define", macro P
[macro
] D
[macro
]
9490 # Replace #undef with comments. This is necessary, for example,
9491 # in the case of _POSIX_SOURCE, which is predefined and required
9492 # on some systems where configure will not decide to define it.
9493 if (defundef
== "undef") {
9494 print
"/*", prefix defundef
, macro
, "*/"
9502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9503 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
9504 fi # test -n "$CONFIG_HEADERS"
9507 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
9512 :[FHLC
]) ac_mode
=$ac_tag; continue;;
9514 case $ac_mode$ac_tag in
9516 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
9517 :[FH
]-) ac_tag
=-:-;;
9518 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
9535 -) ac_f
="$ac_tmp/stdin";;
9536 *) # Look for the file first in the build tree, then in the source tree
9537 # (if the path is not absolute). The absolute path cannot be DOS-style,
9538 # because $ac_f cannot contain `:'.
9542 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
9544 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9546 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9547 as_fn_append ac_file_inputs
" '$ac_f'"
9550 # Let's still pretend it is `configure' which instantiates (i.e., don't
9551 # use $as_me), people would be surprised to read:
9552 # /* config.h. Generated by config.status. */
9553 configure_input
='Generated from '`
9554 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9556 if test x
"$ac_file" != x-
; then
9557 configure_input
="$ac_file. $configure_input"
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9559 $as_echo "$as_me: creating $ac_file" >&6;}
9561 # Neutralize special characters interpreted by sed in replacement strings.
9562 case $configure_input in #(
9563 *\
&* |
*\|
* |
*\\* )
9564 ac_sed_conf_input
=`$as_echo "$configure_input" |
9565 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9566 *) ac_sed_conf_input
=$configure_input;;
9570 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
9571 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
9576 ac_dir
=`$as_dirname -- "$ac_file" ||
9577 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9578 X"$ac_file" : 'X\(//\)[^/]' \| \
9579 X"$ac_file" : 'X\(//\)$' \| \
9580 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9581 $as_echo X"$ac_file" |
9582 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9599 as_dir
="$ac_dir"; as_fn_mkdir_p
9603 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9605 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9606 # A ".." for each directory in $ac_dir_suffix.
9607 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9608 case $ac_top_builddir_sub in
9609 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9610 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9613 ac_abs_top_builddir
=$ac_pwd
9614 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9615 # for backward compatibility:
9616 ac_top_builddir
=$ac_top_build_prefix
9619 .
) # We are building in place.
9621 ac_top_srcdir
=$ac_top_builddir_sub
9622 ac_abs_top_srcdir
=$ac_pwd ;;
9623 [\\/]* | ?
:[\\/]* ) # Absolute name.
9624 ac_srcdir
=$srcdir$ac_dir_suffix;
9625 ac_top_srcdir
=$srcdir
9626 ac_abs_top_srcdir
=$srcdir ;;
9628 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9629 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9630 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9632 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9642 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9643 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
9647 [\\/$
]* | ?
:[\\/]* ) ;;
9648 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
9652 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9653 # If the template does not know about datarootdir, expand it.
9654 # FIXME: This hack should be removed a few years after 2.60.
9655 ac_datarootdir_hack
=; ac_datarootdir_seen
=
9666 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9667 *datarootdir
*) ac_datarootdir_seen
=yes;;
9668 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9670 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9672 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9673 ac_datarootdir_hack='
9674 s&@datadir@&$datadir&g
9675 s&@docdir@&$docdir&g
9676 s&@infodir@&$infodir&g
9677 s&@localedir@&$localedir&g
9678 s&@mandir@&$mandir&g
9679 s&\\\${datarootdir}&$datarootdir&g' ;;
9683 # Neutralize VPATH when `$srcdir' = `.'.
9684 # Shell code in configure.ac might set extrasub.
9685 # FIXME: do we really want to maintain this feature?
9686 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9687 ac_sed_extra="$ac_vpsub
9690 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9692 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9693 s|@configure_input@|
$ac_sed_conf_input|
;t t
9694 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
9695 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
9696 s
&@srcdir@
&$ac_srcdir&;t t
9697 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9698 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9699 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9700 s
&@builddir@
&$ac_builddir&;t t
9701 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9702 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9703 s
&@INSTALL@
&$ac_INSTALL&;t t
9704 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
9705 $ac_datarootdir_hack
9707 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
9708 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
9710 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9711 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
9712 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9713 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
9715 which seems to be undefined. Please make sure it is defined" >&5
9716 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
9717 which seems to be undefined. Please make sure it is defined" >&2;}
9719 rm -f "$ac_tmp/stdin"
9721 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9722 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9724 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9730 if test x"$ac_file" != x-; then
9732 $as_echo "/* $configure_input */" \
9733 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9734 } >"$ac_tmp/config.h" \
9735 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9736 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9738 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9741 mv "$ac_tmp/config.h" "$ac_file" \
9742 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9745 $as_echo "/* $configure_input */" \
9746 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9747 || as_fn_error $? "could not create -" "$LINENO" 5
9749 # Compute "$ac_file"'s index
in $config_headers.
9752 for _am_header
in $config_headers :; do
9754 $_am_arg |
$_am_arg:* )
9757 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
9760 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9761 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9762 X"$_am_arg" : 'X\(//\)[^/]' \| \
9763 X"$_am_arg" : 'X\(//\)$' \| \
9764 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9765 $as_echo X"$_am_arg" |
9766 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9782 s/.*/./; q'`/stamp-h
$_am_stamp_count
9785 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9786 $as_echo "$as_me: executing $ac_file commands" >&6;}
9791 case $ac_file$ac_mode in
9792 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
9793 # Older Autoconf quotes --file arguments for eval, but not when files
9794 # are listed without --file. Let's play safe and only enable the eval
9795 # if we detect the quoting.
9796 case $CONFIG_FILES in
9797 *\'*) eval set x
"$CONFIG_FILES" ;;
9798 *) set x
$CONFIG_FILES ;;
9803 # Strip MF so we end up with the name of the file.
9804 mf
=`echo "$mf" | sed -e 's/:.*$//'`
9805 # Check whether this is an Automake generated Makefile or not.
9806 # We used to match only the files named 'Makefile.in', but
9807 # some people rename them; so instead we look at the file content.
9808 # Grep'ing the first line is not enough: some people post-process
9809 # each Makefile.in and add a new line on top of each file to say so.
9810 # Grep'ing the whole file is not good either: AIX grep has a line
9811 # limit of 2048, but all sed's we know have understand at least 4000.
9812 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
9813 dirpart
=`$as_dirname -- "$mf" ||
9814 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9815 X"$mf" : 'X\(//\)[^/]' \| \
9816 X"$mf" : 'X\(//\)$' \| \
9817 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9819 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9839 # Extract the definition of DEPDIR, am__include, and am__quote
9840 # from the Makefile without running 'make'.
9841 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
9842 test -z "$DEPDIR" && continue
9843 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
9844 test -z "$am__include" && continue
9845 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
9846 # Find all dependency output files, they are included files with
9847 # $(DEPDIR) in their names. We invoke sed twice because it is the
9848 # simplest approach to changing $(DEPDIR) to its actual value in the
9850 for file in `sed -n "
9851 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9852 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
9853 # Make sure the directory exists.
9854 test -f "$dirpart/$file" && continue
9855 fdir
=`$as_dirname -- "$file" ||
9856 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9857 X"$file" : 'X\(//\)[^/]' \| \
9858 X"$file" : 'X\(//\)$' \| \
9859 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9861 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9878 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
9879 # echo "creating $dirpart/$file"
9880 echo '# dummy' > "$dirpart/$file"
9886 for ac_file
in $CONFIG_FILES; do
9887 # Support "outfile[:infile[:infile...]]"
9889 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
9891 # PO directories have a Makefile.in generated from Makefile.in.in.
9892 case "$ac_file" in */Makefile.
in)
9893 # Adjust a relative srcdir.
9894 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
9895 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
9896 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
9897 # In autoconf-2.13 it is called $ac_given_srcdir.
9898 # In autoconf-2.50 it is called $srcdir.
9899 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
9900 case "$ac_given_srcdir" in
9901 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
9902 /*) top_srcdir
="$ac_given_srcdir" ;;
9903 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
9905 # Treat a directory as a PO directory if and only if it has a
9906 # POTFILES.in file. This allows packages to have multiple PO
9907 # directories under different names or in different locations.
9908 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
9909 rm -f "$ac_dir/POTFILES"
9910 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
9911 gt_tab
=`printf '\t'`
9912 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
9913 POMAKEFILEDEPS
="POTFILES.in"
9914 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
9915 # on $ac_dir but don't depend on user-specified configuration
9917 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
9918 # The LINGUAS file contains the set of available languages.
9919 if test -n "$OBSOLETE_ALL_LINGUAS"; then
9920 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
9922 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
9923 # Hide the ALL_LINGUAS assignment from automake < 1.5.
9924 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
9925 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
9927 # The set of available languages was given in configure.in.
9928 # Hide the ALL_LINGUAS assignment from automake < 1.5.
9929 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
9932 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
9933 # Compute UPDATEPOFILES
9934 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
9935 # Compute DUMMYPOFILES
9936 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
9938 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
9939 case "$ac_given_srcdir" in
9941 *) srcdirpre
='$(srcdir)/' ;;
9947 for lang
in $ALL_LINGUAS; do
9948 POFILES
="$POFILES $srcdirpre$lang.po"
9949 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
9950 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
9951 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
9953 # CATALOGS depends on both $ac_dir and the user's LINGUAS
9954 # environment variable.
9956 if test -n "$ALL_LINGUAS"; then
9957 for presentlang
in $ALL_LINGUAS; do
9959 if test "%UNSET%" != "$LINGUAS"; then
9960 desiredlanguages
="$LINGUAS"
9962 desiredlanguages
="$ALL_LINGUAS"
9964 for desiredlang
in $desiredlanguages; do
9965 # Use the presentlang catalog if desiredlang is
9966 # a. equal to presentlang, or
9967 # b. a variant of presentlang (because in this case,
9968 # presentlang can be used as a fallback for messages
9969 # which are not translated in the desiredlang catalog).
9970 case "$desiredlang" in
9971 "$presentlang"*) useit
=yes;;
9974 if test $useit = yes; then
9975 INST_LINGUAS
="$INST_LINGUAS $presentlang"
9980 if test -n "$INST_LINGUAS"; then
9981 for lang
in $INST_LINGUAS; do
9982 CATALOGS
="$CATALOGS $lang.gmo"
9985 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
9986 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"
9987 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
9988 if test -f "$f"; then
9990 *.orig |
*.bak |
*~
) ;;
9991 *) cat "$f" >> "$ac_dir/Makefile" ;;
10006 ac_clean_files
=$ac_clean_files_save
10008 test $ac_write_fail = 0 ||
10009 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
10012 # configure is writing to config.log, and then calls config.status.
10013 # config.status does its own redirection, appending to config.log.
10014 # Unfortunately, on DOS this fails, as config.log is still kept open
10015 # by configure, so config.status won't be able to write to it; its
10016 # output is simply discarded. So we exec the FD to /dev/null,
10017 # effectively closing config.log, so it can be properly (re)opened and
10018 # appended to by config.status. When coming back to configure, we
10019 # need to make the FD available again.
10020 if test "$no_create" != yes; then
10022 ac_config_status_args
=
10023 test "$silent" = yes &&
10024 ac_config_status_args
="$ac_config_status_args --quiet"
10026 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10028 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10029 # would make configure fail if this is the last instruction.
10030 $ac_cs_success || as_fn_exit
1
10032 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10034 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}