2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for xfishtank 3.1.1.
5 # Report bugs to <wvermin@gmail.com>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
40 # Reset variables that may have inherited troublesome values from
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
56 # Ensure predictable behavior from utilities with locale-dependent output.
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \
${$as_var+y} \
69 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
74 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
80 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
81 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
87 # Find who we are. Look in the path if we contain no directory separator.
90 *[\\/]* ) as_myself
=$0 ;;
91 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
120 _as_can_reexec
=no
; export _as_can_reexec
;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
127 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
129 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec
=; unset _as_can_reexec
;}
142 if test "x$CONFIG_SHELL" = x
; then
143 as_bourne_compatible
="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
153 case \`(set -o) 2>/dev/null\` in #(
161 as_required
="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
182 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
186 if (eval "$as_required") 2>/dev
/null
192 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
198 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
204 *) as_dir
=$as_dir/ ;;
209 for as_base
in sh bash ksh sh5
; do
210 # Try only shells that exist, to save several forks.
211 as_shell
=$as_dir$as_base
212 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
213 as_run
=a
"$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev
/null
215 CONFIG_SHELL
=$as_shell as_have_required
=yes
216 if as_run
=a
"$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev
/null
230 if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
231 as_run
=a
"$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev
/null
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
247 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
249 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
261 if test x
$as_have_required = xno
263 printf "%s\n" "$0: This script requires a shell more modern than all"
264 printf "%s\n" "$0: the shells that I found on your system."
265 if test ${ZSH_VERSION+y} ; then
266 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and wvermin@gmail.com
270 $0: about your system, including any error possibly output
271 $0: before this message. Then install a modern shell, or
272 $0: manually run the script under such a shell if you do
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Do nothing but, unlike ":", preserve the value of $?.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir
=.
/$as_dir;;
333 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
337 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs
="'$as_qdir' $as_dirs"
341 as_dir
=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 printf "%s\n" X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
367 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p
()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
387 eval 'as_fn_append ()
400 # Perform arithmetic evaluation on the ARGs, and store the result in the
401 # global $as_val. Take advantage of shells that can avoid forks. The arguments
402 # must be portable across $(()) and expr.
403 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
412 as_val
=`expr "$@" || test $? -eq 1`
418 # Do nothing but, unlike ":", preserve the value of $?.
425 # as_fn_error STATUS ERROR [LINENO LOG_FD]
426 # ----------------------------------------
427 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
428 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
429 # script with STATUS, using 1 if that was 0.
432 as_status
=$1; test $as_status -eq 0 && as_status
=1
434 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
437 printf "%s\n" "$as_me: error: $2" >&2
438 as_fn_exit
$as_status
441 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
442 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
448 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
454 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
460 as_me
=`$as_basename -- "$0" ||
461 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
462 X"$0" : 'X\(//\)$' \| \
463 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
464 printf "%s\n" X/"$0" |
465 sed '/^.*\/\([^/][^/]*\)\/*$/{
479 # Avoid depending upon Character Ranges.
480 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
481 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
482 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
483 as_cr_digits
='0123456789'
484 as_cr_alnum
=$as_cr_Letters$as_cr_digits
487 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
488 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
489 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
490 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
491 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
503 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
507 chmod +x
"$as_me.lineno" ||
508 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
510 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
511 # already done that, so ensure we don't try to do so again and fall
512 # in an infinite loop. This has already happened in practice.
513 _as_can_reexec
=no
; export _as_can_reexec
514 # Don't try to exec as it changes $[0], causing all sort of problems
515 # (the dirname of $[0] is not the place where we might find the
516 # original and so on. Autoconf is especially sensitive to this).
518 # Exit status is that of the last command.
523 # Determine whether it's possible to make 'echo' print without a newline.
524 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
525 # for compatibility with existing Makefiles.
526 ECHO_C
= ECHO_N
= ECHO_T
=
527 case `echo -n x` in #(((((
529 case `echo 'xy\c'` in
530 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
532 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
539 # For backward compatibility with old third-party macros, we provide
540 # the shell variables $as_echo and $as_echo_n. New code should use
541 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
542 as_echo
='printf %s\n'
543 as_echo_n
='printf %s'
546 rm -f conf$$ conf$$.exe conf$$.
file
547 if test -d conf$$.dir
; then
548 rm -f conf$$.dir
/conf$$.
file
551 mkdir conf$$.dir
2>/dev
/null
553 if (echo >conf$$.
file) 2>/dev
/null
; then
554 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
556 # ... but there are two gotchas:
557 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
558 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
559 # In both cases, we have to default to `cp -pR'.
560 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
562 elif ln conf$$.
file conf$$
2>/dev
/null
; then
570 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
571 rmdir conf$$.dir
2>/dev
/null
573 if mkdir
-p .
2>/dev
/null
; then
574 as_mkdir_p
='mkdir -p "$as_dir"'
576 test -d .
/-p && rmdir .
/-p
581 as_executable_p
=as_fn_executable_p
583 # Sed expression to map a string onto a valid CPP name.
584 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
586 # Sed expression to map a string onto a valid variable name.
587 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
590 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
594 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
595 # so uname gets run too.
596 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
601 ac_default_prefix
=/usr
/local
603 ac_config_libobj_dir
=.
610 # Identity of this package.
611 PACKAGE_NAME
='xfishtank'
612 PACKAGE_TARNAME
='xfishtank'
613 PACKAGE_VERSION
='3.1.1'
614 PACKAGE_STRING
='xfishtank 3.1.1'
615 PACKAGE_BUGREPORT
='wvermin@gmail.com'
616 PACKAGE_URL
='https://www.ratrabbit.nl/ratrabbit/software/xfishtank'
618 ac_unique_file
="src/xfishtank.h"
619 ac_subst_vars
='am__EXEEXT_FALSE
663 INSTALL_STRIP_PROGRAM
706 program_transform_name
720 enable_option_checking
723 enable_dependency_tracking
725 ac_precious_vars
='build_alias
742 # Initialize some variables set by options.
744 ac_init_version
=false
745 ac_unrecognized_opts
=
747 # The variables have the same names as the options, with
748 # dashes changed to underlines.
756 program_transform_name
=s
,x
,x
,
764 # Installation directory options.
765 # These are left unexpanded so users can "make install exec_prefix=/foo"
766 # and all the variables that are supposed to be based on exec_prefix
767 # by default will actually change.
768 # Use braces instead of parens because sh, perl, etc. also accept them.
769 # (The list follows the same order as the GNU Coding Standards.)
770 bindir
='${exec_prefix}/bin'
771 sbindir
='${exec_prefix}/sbin'
772 libexecdir
='${exec_prefix}/libexec'
773 datarootdir
='${prefix}/share'
774 datadir
='${datarootdir}'
775 sysconfdir
='${prefix}/etc'
776 sharedstatedir
='${prefix}/com'
777 localstatedir
='${prefix}/var'
778 runstatedir
='${localstatedir}/run'
779 includedir
='${prefix}/include'
780 oldincludedir
='/usr/include'
781 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
782 infodir
='${datarootdir}/info'
787 libdir
='${exec_prefix}/lib'
788 localedir
='${datarootdir}/locale'
789 mandir
='${datarootdir}/man'
795 # If the previous option needs an argument, assign it.
796 if test -n "$ac_prev"; then
797 eval $ac_prev=\
$ac_option
803 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
808 case $ac_dashdash$ac_option in
812 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
814 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
817 -build |
--build |
--buil |
--bui |
--bu)
818 ac_prev
=build_alias
;;
819 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
820 build_alias
=$ac_optarg ;;
822 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
823 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
824 ac_prev
=cache_file
;;
825 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
826 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
827 cache_file
=$ac_optarg ;;
830 cache_file
=config.cache
;;
832 -datadir |
--datadir |
--datadi |
--datad)
834 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
835 datadir
=$ac_optarg ;;
837 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
838 |
--dataroo |
--dataro |
--datar)
839 ac_prev
=datarootdir
;;
840 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
841 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
842 datarootdir
=$ac_optarg ;;
844 -disable-* |
--disable-*)
845 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
846 # Reject names that are not valid shell variable names.
847 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
848 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
849 ac_useropt_orig
=$ac_useropt
850 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
851 case $ac_user_opts in
855 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
856 ac_unrecognized_sep
=', ';;
858 eval enable_
$ac_useropt=no
;;
860 -docdir |
--docdir |
--docdi |
--doc |
--do)
862 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
865 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
867 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
870 -enable-* |
--enable-*)
871 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
872 # Reject names that are not valid shell variable names.
873 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
874 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
875 ac_useropt_orig
=$ac_useropt
876 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
877 case $ac_user_opts in
881 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
882 ac_unrecognized_sep
=', ';;
884 eval enable_
$ac_useropt=\
$ac_optarg ;;
886 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
887 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
888 |
--exec |
--exe |
--ex)
889 ac_prev
=exec_prefix
;;
890 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
891 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
892 |
--exec=* |
--exe=* |
--ex=*)
893 exec_prefix
=$ac_optarg ;;
895 -gas |
--gas |
--ga |
--g)
896 # Obsolete; use --with-gas.
899 -help |
--help |
--hel |
--he |
-h)
901 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
902 ac_init_help
=recursive
;;
903 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
904 ac_init_help
=short
;;
906 -host |
--host |
--hos |
--ho)
907 ac_prev
=host_alias
;;
908 -host=* |
--host=* |
--hos=* |
--ho=*)
909 host_alias
=$ac_optarg ;;
911 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
913 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
915 htmldir
=$ac_optarg ;;
917 -includedir |
--includedir |
--includedi |
--included |
--include \
918 |
--includ |
--inclu |
--incl |
--inc)
919 ac_prev
=includedir
;;
920 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
921 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
922 includedir
=$ac_optarg ;;
924 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
926 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
927 infodir
=$ac_optarg ;;
929 -libdir |
--libdir |
--libdi |
--libd)
931 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
934 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
935 |
--libexe |
--libex |
--libe)
936 ac_prev
=libexecdir
;;
937 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
938 |
--libexe=* |
--libex=* |
--libe=*)
939 libexecdir
=$ac_optarg ;;
941 -localedir |
--localedir |
--localedi |
--localed |
--locale)
943 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
944 localedir
=$ac_optarg ;;
946 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
947 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
948 ac_prev
=localstatedir
;;
949 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
950 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
951 localstatedir
=$ac_optarg ;;
953 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
955 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
959 # Obsolete; use --without-fp.
962 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
963 |
--no-cr |
--no-c |
-n)
966 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
967 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
970 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
971 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
972 |
--oldin |
--oldi |
--old |
--ol |
--o)
973 ac_prev
=oldincludedir
;;
974 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
975 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
976 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
977 oldincludedir
=$ac_optarg ;;
979 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
981 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
984 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
985 |
--program-pre |
--program-pr |
--program-p)
986 ac_prev
=program_prefix
;;
987 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
988 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
989 program_prefix
=$ac_optarg ;;
991 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
992 |
--program-suf |
--program-su |
--program-s)
993 ac_prev
=program_suffix
;;
994 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
995 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
996 program_suffix
=$ac_optarg ;;
998 -program-transform-name |
--program-transform-name \
999 |
--program-transform-nam |
--program-transform-na \
1000 |
--program-transform-n |
--program-transform- \
1001 |
--program-transform |
--program-transfor \
1002 |
--program-transfo |
--program-transf \
1003 |
--program-trans |
--program-tran \
1004 |
--progr-tra |
--program-tr |
--program-t)
1005 ac_prev
=program_transform_name
;;
1006 -program-transform-name=* |
--program-transform-name=* \
1007 |
--program-transform-nam=* |
--program-transform-na=* \
1008 |
--program-transform-n=* |
--program-transform-=* \
1009 |
--program-transform=* |
--program-transfor=* \
1010 |
--program-transfo=* |
--program-transf=* \
1011 |
--program-trans=* |
--program-tran=* \
1012 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1013 program_transform_name
=$ac_optarg ;;
1015 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1017 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1018 pdfdir
=$ac_optarg ;;
1020 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1022 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1025 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1026 |
-silent |
--silent |
--silen |
--sile |
--sil)
1029 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1030 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1031 |
--run |
--ru |
--r)
1032 ac_prev
=runstatedir
;;
1033 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1034 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1035 |
--run=* |
--ru=* |
--r=*)
1036 runstatedir
=$ac_optarg ;;
1038 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1040 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1042 sbindir
=$ac_optarg ;;
1044 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1045 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1046 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1048 ac_prev
=sharedstatedir
;;
1049 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1050 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1051 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1053 sharedstatedir
=$ac_optarg ;;
1055 -site |
--site |
--sit)
1057 -site=* |
--site=* |
--sit=*)
1060 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1062 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1063 srcdir
=$ac_optarg ;;
1065 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1066 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1067 ac_prev
=sysconfdir
;;
1068 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1069 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1070 sysconfdir
=$ac_optarg ;;
1072 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1073 ac_prev
=target_alias
;;
1074 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1075 target_alias
=$ac_optarg ;;
1077 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1080 -version |
--version |
--versio |
--versi |
--vers |
-V)
1081 ac_init_version
=: ;;
1084 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1085 # Reject names that are not valid shell variable names.
1086 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1087 as_fn_error $?
"invalid package name: \`$ac_useropt'"
1088 ac_useropt_orig
=$ac_useropt
1089 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1090 case $ac_user_opts in
1094 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1095 ac_unrecognized_sep
=', ';;
1097 eval with_
$ac_useropt=\
$ac_optarg ;;
1099 -without-* |
--without-*)
1100 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1101 # Reject names that are not valid shell variable names.
1102 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1103 as_fn_error $?
"invalid package name: \`$ac_useropt'"
1104 ac_useropt_orig
=$ac_useropt
1105 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1106 case $ac_user_opts in
1110 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1111 ac_unrecognized_sep
=', ';;
1113 eval with_
$ac_useropt=no
;;
1116 # Obsolete; use --with-x.
1119 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1120 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1121 ac_prev
=x_includes
;;
1122 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1123 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1124 x_includes
=$ac_optarg ;;
1126 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1127 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1128 ac_prev
=x_libraries
;;
1129 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1130 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1131 x_libraries
=$ac_optarg ;;
1133 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1134 Try \`$0 --help' for more information"
1138 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1139 # Reject names that are not valid shell variable names.
1140 case $ac_envvar in #(
1141 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1142 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1144 eval $ac_envvar=\
$ac_optarg
1145 export $ac_envvar ;;
1148 # FIXME: should be removed in autoconf 3.0.
1149 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1150 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1151 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1152 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1158 if test -n "$ac_prev"; then
1159 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1160 as_fn_error $?
"missing argument to $ac_option"
1163 if test -n "$ac_unrecognized_opts"; then
1164 case $enable_option_checking in
1166 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1167 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1171 # Check all directory arguments for consistency.
1172 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1173 datadir sysconfdir sharedstatedir localstatedir includedir \
1174 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1175 libdir localedir mandir runstatedir
1177 eval ac_val
=\$
$ac_var
1178 # Remove trailing slashes.
1181 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1182 eval $ac_var=\
$ac_val;;
1184 # Be sure to have absolute directory names.
1186 [\\/$
]* | ?
:[\\/]* ) continue;;
1187 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1189 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1192 # There might be people who depend on the old broken behavior: `$host'
1193 # used to hold the argument of --host etc.
1194 # FIXME: To remove some day.
1197 target
=$target_alias
1199 # FIXME: To remove some day.
1200 if test "x$host_alias" != x
; then
1201 if test "x$build_alias" = x
; then
1202 cross_compiling
=maybe
1203 elif test "x$build_alias" != "x$host_alias"; then
1209 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1211 test "$silent" = yes && exec 6>/dev
/null
1214 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1215 ac_ls_di
=`ls -di .` &&
1216 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1217 as_fn_error $?
"working directory cannot be determined"
1218 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1219 as_fn_error $?
"pwd does not report name of working directory"
1222 # Find the source files, if location was not specified.
1223 if test -z "$srcdir"; then
1224 ac_srcdir_defaulted
=yes
1225 # Try the directory containing this script, then the parent directory.
1226 ac_confdir
=`$as_dirname -- "$as_myself" ||
1227 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1228 X"$as_myself" : 'X\(//\)[^/]' \| \
1229 X"$as_myself" : 'X\(//\)$' \| \
1230 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1231 printf "%s\n" X"$as_myself" |
1232 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1250 if test ! -r "$srcdir/$ac_unique_file"; then
1254 ac_srcdir_defaulted
=no
1256 if test ! -r "$srcdir/$ac_unique_file"; then
1257 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1258 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1260 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1262 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1264 # When building in place, set srcdir=.
1265 if test "$ac_abs_confdir" = "$ac_pwd"; then
1268 # Remove unnecessary trailing slashes from srcdir.
1269 # Double slashes in file names in object file debugging info
1270 # mess up M-x gdb in Emacs.
1272 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1274 for ac_var
in $ac_precious_vars; do
1275 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1276 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1277 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1278 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1282 # Report the --help message.
1284 if test "$ac_init_help" = "long"; then
1285 # Omit some internal or obsolete options to make the list less imposing.
1286 # This message is too long to be a string in the A/UX 3.1 sh.
1288 \`configure' configures xfishtank 3.1.1 to adapt to many kinds of systems.
1290 Usage: $0 [OPTION]... [VAR=VALUE]...
1292 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1293 VAR=VALUE. See below for descriptions of some of the useful variables.
1295 Defaults for the options are specified in brackets.
1298 -h, --help display this help and exit
1299 --help=short display options specific to this package
1300 --help=recursive display the short help of all the included packages
1301 -V, --version display version information and exit
1302 -q, --quiet, --silent do not print \`checking ...' messages
1303 --cache-file=FILE cache test results in FILE [disabled]
1304 -C, --config-cache alias for \`--cache-file=config.cache'
1305 -n, --no-create do not create output files
1306 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1308 Installation directories:
1309 --prefix=PREFIX install architecture-independent files in PREFIX
1310 [$ac_default_prefix]
1311 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1314 By default, \`make install' will install all the files in
1315 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1316 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1317 for instance \`--prefix=\$HOME'.
1319 For better control, use the options below.
1321 Fine tuning of the installation directories:
1322 --bindir=DIR user executables [EPREFIX/bin]
1323 --sbindir=DIR system admin executables [EPREFIX/sbin]
1324 --libexecdir=DIR program executables [EPREFIX/libexec]
1325 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1326 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1327 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1328 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1329 --libdir=DIR object code libraries [EPREFIX/lib]
1330 --includedir=DIR C header files [PREFIX/include]
1331 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1332 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1333 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1334 --infodir=DIR info documentation [DATAROOTDIR/info]
1335 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1336 --mandir=DIR man documentation [DATAROOTDIR/man]
1337 --docdir=DIR documentation root [DATAROOTDIR/doc/xfishtank]
1338 --htmldir=DIR html documentation [DOCDIR]
1339 --dvidir=DIR dvi documentation [DOCDIR]
1340 --pdfdir=DIR pdf documentation [DOCDIR]
1341 --psdir=DIR ps documentation [DOCDIR]
1347 --program-prefix=PREFIX prepend PREFIX to installed program names
1348 --program-suffix=SUFFIX append SUFFIX to installed program names
1349 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1353 if test -n "$ac_init_help"; then
1354 case $ac_init_help in
1355 short | recursive
) echo "Configuration of xfishtank 3.1.1:";;
1360 --disable-option-checking ignore unrecognized
--enable/--with options
1361 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1362 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1363 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1364 --disable-silent-rules verbose build output
(undo
: "make V=0")
1365 --enable-selfrep Build with self replicating mode
[default
=yes]
1366 --enable-dependency-tracking
1367 do not reject slow dependency extractors
1368 --disable-dependency-tracking
1369 speeds up one-time build
1371 Some influential environment variables
:
1372 CC C compiler
command
1373 CFLAGS C compiler flags
1374 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1375 nonstandard directory
<lib dir
>
1376 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1377 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1378 you have headers
in a nonstandard directory
<include dir
>
1379 PKG_CONFIG path to pkg-config utility
1381 directories to add to pkg-config
's search path
1383 path overriding pkg-config's built-in search path
1384 X11_CFLAGS C compiler flags
for X11
, overriding pkg-config
1385 X11_LIBS linker flags
for X11
, overriding pkg-config
1386 GTK_CFLAGS C compiler flags
for GTK
, overriding pkg-config
1387 GTK_LIBS linker flags
for GTK
, overriding pkg-config
1389 Use these variables to override the choices made by
`configure' or to help
1390 it to find libraries and programs with nonstandard names/locations.
1392 Report bugs to <wvermin@gmail.com>.
1393 xfishtank home page: <https://www.ratrabbit.nl/ratrabbit/software/xfishtank>.
1398 if test "$ac_init_help" = "recursive"; then
1399 # If there are subdirs, report their specific --help.
1400 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1401 test -d "$ac_dir" ||
1402 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1407 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1409 ac_dir_suffix=/`printf "%s\n" "$ac_dir" |
sed 's|^\.[\\/]||'`
1410 # A ".." for each directory in $ac_dir_suffix.
1411 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1412 case $ac_top_builddir_sub in
1413 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1414 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1417 ac_abs_top_builddir=$ac_pwd
1418 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1419 # for backward compatibility:
1420 ac_top_builddir=$ac_top_build_prefix
1423 .) # We are building in place.
1425 ac_top_srcdir=$ac_top_builddir_sub
1426 ac_abs_top_srcdir=$ac_pwd ;;
1427 [\\/]* | ?:[\\/]* ) # Absolute name.
1428 ac_srcdir=$srcdir$ac_dir_suffix;
1429 ac_top_srcdir=$srcdir
1430 ac_abs_top_srcdir=$srcdir ;;
1432 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1433 ac_top_srcdir=$ac_top_build_prefix$srcdir
1434 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1436 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1438 cd "$ac_dir" || { ac_status=$?; continue; }
1439 # Check for configure.gnu first; this name is used for a wrapper for
1440 # Metaconfig's "Configure" on case-insensitive file systems.
1441 if test -f "$ac_srcdir/configure.gnu"; then
1443 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1444 elif test -f "$ac_srcdir/configure"; then
1446 $SHELL "$ac_srcdir/configure" --help=recursive
1448 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1450 cd "$ac_pwd" || { ac_status=$?; break; }
1454 test -n "$ac_init_help" && exit $ac_status
1455 if $ac_init_version; then
1457 xfishtank configure 3.1.1
1458 generated by GNU Autoconf 2.71
1460 Copyright (C) 2021 Free Software Foundation, Inc.
1461 This configure script is free software; the Free Software Foundation
1462 gives unlimited permission to copy, distribute and modify it.
1467 ## ------------------------ ##
1468 ## Autoconf initialization. ##
1469 ## ------------------------ ##
1471 # ac_fn_c_try_compile LINENO
1472 # --------------------------
1473 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1474 ac_fn_c_try_compile ()
1476 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1477 rm -f conftest.$ac_objext conftest.beam
1478 if { { ac_try="$ac_compile"
1480 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1481 *) ac_try_echo
=$ac_try;;
1483 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1484 printf "%s\n" "$ac_try_echo"; } >&5
1485 (eval "$ac_compile") 2>conftest.err
1487 if test -s conftest.err
; then
1488 grep -v '^ *+' conftest.err
>conftest.er1
1489 cat conftest.er1
>&5
1490 mv -f conftest.er1 conftest.err
1492 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1493 test $ac_status = 0; } && {
1494 test -z "$ac_c_werror_flag" ||
1495 test ! -s conftest.err
1496 } && test -s conftest.
$ac_objext
1500 printf "%s\n" "$as_me: failed program was:" >&5
1501 sed 's/^/| /' conftest.
$ac_ext >&5
1505 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1506 as_fn_set_status
$ac_retval
1508 } # ac_fn_c_try_compile
1510 # ac_fn_c_try_link LINENO
1511 # -----------------------
1512 # Try to link conftest.$ac_ext, and return whether this succeeded.
1515 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1516 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
1517 if { { ac_try
="$ac_link"
1519 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1520 *) ac_try_echo=$ac_try;;
1522 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1523 printf "%s\n" "$ac_try_echo"; } >&5
1524 (eval "$ac_link") 2>conftest.err
1526 if test -s conftest.err; then
1527 grep -v '^ *+' conftest.err >conftest.er1
1528 cat conftest.er1 >&5
1529 mv -f conftest.er1 conftest.err
1531 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1532 test $ac_status = 0; } && {
1533 test -z "$ac_c_werror_flag" ||
1534 test ! -s conftest.err
1535 } && test -s conftest$ac_exeext && {
1536 test "$cross_compiling" = yes ||
1537 test -x conftest$ac_exeext
1542 printf "%s\n" "$as_me: failed program was:" >&5
1543 sed 's/^/| /' conftest.$ac_ext >&5
1547 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1548 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1549 # interfere with the next link command; also delete a directory that is
1550 # left behind by Apple's compiler. We do this before executing the actions.
1551 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1552 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1553 as_fn_set_status $ac_retval
1555 } # ac_fn_c_try_link
1557 # ac_fn_c_check_func LINENO FUNC VAR
1558 # ----------------------------------
1559 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1560 ac_fn_c_check_func ()
1562 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1564 printf %s "checking for $2... " >&6; }
1565 if eval test \${$3+y}
1567 printf %s "(cached) " >&6
1569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1570 /* end confdefs.h. */
1571 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1573 #define $2 innocuous_$2
1575 /* System header to define __stub macros and hopefully few prototypes,
1576 which can conflict with char $2 (); below. */
1581 /* Override any GCC internal prototype to avoid an error.
1582 Use char because int might match the return type of a GCC
1583 builtin and then its argument prototype would still apply. */
1588 /* The GNU C library defines this for functions which it implements
1589 to always fail with ENOSYS. Some functions are actually named
1590 something starting with __ and the normal name is an alias. */
1591 #if defined __stub_$2 || defined __stub___$2
1603 if ac_fn_c_try_link "$LINENO"
1609 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1610 conftest$ac_exeext conftest.$ac_ext
1613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1614 printf "%s\n" "$ac_res" >&6; }
1615 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1617 } # ac_fn_c_check_func
1618 ac_configure_args_raw=
1623 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1625 as_fn_append ac_configure_args_raw " '$ac_arg'"
1628 case $ac_configure_args_raw in
1632 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1633 ac_unsafe_a="$ac_unsafe_z#~
"
1634 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
1635 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1638 cat >config.log <<_ACEOF
1639 This file contains any messages produced by compilers while
1640 running configure, to aid debugging if configure makes a mistake.
1642 It was created by xfishtank $as_me 3.1.1, which was
1643 generated by GNU Autoconf 2.71. Invocation command line was
1645 $ $0$ac_configure_args_raw
1655 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1656 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1657 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1658 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1659 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1661 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1662 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1664 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1665 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1666 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1667 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1668 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1669 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1670 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1678 case $as_dir in #(((
1681 *) as_dir=$as_dir/ ;;
1683 printf "%s
\n" "PATH
: $as_dir"
1699 # Keep a trace of the command line.
1700 # Strip out --no-create and --no-recursion so they do not pile up.
1701 # Strip out --silent because we don't want to record it for future runs.
1702 # Also quote any args containing shell meta-characters.
1703 # Make two passes to allow for proper duplicate-argument suppression.
1707 ac_must_keep_next=false
1713 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1714 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1715 | -silent | --silent | --silen | --sile | --sil)
1718 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1721 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1723 as_fn_append ac_configure_args1 " '$ac_arg'"
1724 if test $ac_must_keep_next = true; then
1725 ac_must_keep_next=false # Got value, back to normal.
1728 *=* | --config-cache | -C | -disable-* | --disable-* \
1729 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1730 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1731 | -with-* | --with-* | -without-* | --without-* | --x)
1732 case "$ac_configure_args0 " in
1733 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1736 -* ) ac_must_keep_next=true ;;
1739 as_fn_append ac_configure_args " '$ac_arg'"
1744 { ac_configure_args0=; unset ac_configure_args0;}
1745 { ac_configure_args1=; unset ac_configure_args1;}
1747 # When interrupted or exit'd, cleanup temporary files, and complete
1748 # config.log. We remove comments because anyway the quotes in there
1749 # would cause problems or look ugly.
1750 # WARNING: Use '\'' to represent an apostrophe within the trap.
1751 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1752 trap 'exit_status=$?
1755 # Save into config.log some information that might help in debugging.
1759 printf "%s
\n" "## ---------------- ##
1760 ## Cache variables. ##
1761 ## ---------------- ##"
1763 # The following way of writing the cache mishandles newlines in values,
1765 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1766 eval ac_val
=\$
$ac_var
1770 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1771 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1774 _ | IFS | as_nl
) ;; #(
1775 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
1776 *) { eval $ac_var=; unset $ac_var;} ;;
1781 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1782 *${as_nl}ac_space
=\
*)
1784 "s/'\''/'\''\\\\'\'''\''/g;
1785 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1788 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1795 printf "%s\n" "## ----------------- ##
1796 ## Output variables. ##
1797 ## ----------------- ##"
1799 for ac_var
in $ac_subst_vars
1801 eval ac_val
=\$
$ac_var
1803 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1805 printf "%s\n" "$ac_var='\''$ac_val'\''"
1809 if test -n "$ac_subst_files"; then
1810 printf "%s\n" "## ------------------- ##
1811 ## File substitutions. ##
1812 ## ------------------- ##"
1814 for ac_var in $ac_subst_files
1816 eval ac_val=\$$ac_var
1818 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1820 printf "%s\n" "$ac_var='\''$ac_val'\''"
1825 if test -s confdefs.h
; then
1826 printf "%s\n" "## ----------- ##
1833 test "$ac_signal" != 0 &&
1834 printf "%s\n" "$as_me: caught signal $ac_signal"
1835 printf "%s\n" "$as_me: exit $exit_status"
1837 rm -f core
*.core core.conftest.
* &&
1838 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
1841 for ac_signal in 1 2 13 15; do
1842 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
1846 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1847 rm -f -r conftest* confdefs.h
1849 printf "%s\n" "/* confdefs.h */" > confdefs.h
1851 # Predefined preprocessor variables.
1853 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1855 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1857 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1859 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1861 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1863 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1866 # Let the site file select an alternate cache file if it wants to.
1867 # Prefer an explicitly selected file to automatically selected ones.
1868 if test -n "$CONFIG_SITE"; then
1869 ac_site_files="$CONFIG_SITE"
1870 elif test "x$prefix" != xNONE; then
1871 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1873 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1876 for ac_site_file in $ac_site_files
1878 case $ac_site_file in #(
1882 ac_site_file=./$ac_site_file ;;
1884 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1886 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1887 sed 's
/^
/|
/' "$ac_site_file" >&5
1889 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1890 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
1891 as_fn_error $? "failed to load site script $ac_site_file
1892 See \`config.log
' for more details" "$LINENO" 5; }
1896 if test -r "$cache_file"; then
1897 # Some versions of bash will fail to source /dev/null (special files
1898 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1899 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1901 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1903 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1904 *) . "./$cache_file";;
1908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1909 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1913 # Test code for whether the C compiler supports C89 (global declarations)
1914 ac_c_conftest_c89_globals='
1915 /* Does the compiler advertise C89 conformance?
1916 Do not
test the value of __STDC__
, because some compilers
set it to
0
1917 while being otherwise adequately conformant.
*/
1918 #if !defined __STDC__
1919 # error "Compiler does not advertise C89 conformance"
1925 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
1926 struct buf
{ int x
; };
1927 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
1928 static char
*e
(p
, i
)
1934 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
1939 s
= g
(p
, va_arg
(v
,int
));
1944 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
1945 function prototypes and stuff
, but not \xHH hex character constants.
1946 These
do not provoke an error unfortunately
, instead are silently treated
1947 as an
"x". The following induces an error
, until -std is added to get
1948 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
1949 array size
at least. It is necessary to
write \x00 == 0 to get something
1950 that is true only with
-std.
*/
1951 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
1953 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
1954 inside
strings and character constants.
*/
1955 #define FOO(x) '\''x'\''
1956 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
1958 int
test (int i
, double x
);
1959 struct s1
{int
(*f
) (int a
);};
1960 struct s2
{int
(*f
) (double a
);};
1961 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
1964 # Test code for whether the C compiler supports C89 (body of main).
1965 ac_c_conftest_c89_main='
1966 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
1969 # Test code for whether the C compiler supports C99 (global declarations)
1970 ac_c_conftest_c99_globals='
1971 // Does the compiler advertise C99 conformance?
1972 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
1973 # error "Compiler does not advertise C99 conformance"
1976 #include <stdbool.h>
1977 extern int puts
(const char
*);
1978 extern int
printf (const char
*, ...
);
1979 extern int dprintf
(int
, const char
*, ...
);
1980 extern void
*malloc
(size_t
);
1982 // Check varargs macros. These examples are taken from C99
6.10.3.5.
1983 // dprintf is used instead of fprintf to avoid needing to
declare
1985 #define debug(...) dprintf (2, __VA_ARGS__)
1986 #define showlist(...) puts (#__VA_ARGS__)
1987 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1989 test_varargs_macros
(void
)
1994 debug
("X = %d\n", x
);
1995 showlist
(The first
, second
, and third items.
);
1996 report
(x
>y
, "x is %d but y is %d", x
, y
);
1999 // Check long long types.
2000 #define BIG64 18446744073709551615ull
2001 #define BIG32 4294967295ul
2002 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2004 #error "your preprocessor is broken"
2008 #error "your preprocessor is broken"
2010 static long long int bignum
= -9223372036854775807LL;
2011 static unsigned long long int ubignum
= BIG64
;
2013 struct incomplete_array
2021 const wchar_t
*name
;
2025 typedef const char
*ccp
;
2028 test_restrict
(ccp restrict text
)
2030 // See
if C
++-style comments work.
2031 // Iterate through items via the restricted pointer.
2032 // Also check
for declarations
in for loops.
2033 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
2038 // Check varargs and va_copy.
2040 test_varargs
(const char
*format
, ...
)
2043 va_start
(args
, format
);
2045 va_copy
(args_copy
, args
);
2047 const char
*str
= "";
2055 case '\''s
'\'': // string
2056 str
= va_arg
(args_copy
, const char
*);
2058 case '\''d
'\'': // int
2059 number
= va_arg
(args_copy
, int
);
2061 case '\''f
'\'': // float
2062 fnumber
= va_arg
(args_copy
, double
);
2071 return *str
&& number
&& fnumber
;
2075 # Test code for whether the C compiler supports C99 (body of main).
2076 ac_c_conftest_c99_main='
2078 _Bool success
= false
;
2079 success |
= (argc
!= 0);
2082 if (test_restrict
("String literal") == 0)
2084 char
*restrict newvar
= "Another string";
2087 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
2088 test_varargs_macros
();
2090 // Check flexible array members.
2091 struct incomplete_array
*ia
=
2092 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
2094 for (int i
= 0; i
< ia-
>datasize
; ++i
)
2095 ia-
>data
[i
] = i
* 1.234;
2097 // Check named initializers.
2098 struct named_init ni
= {
2100 .name
= L
"Test wide string",
2101 .average
= 543.34343,
2106 int dynamic_array
[ni.number
];
2107 dynamic_array
[0] = argv
[0][0];
2108 dynamic_array
[ni.number
- 1] = 543;
2110 // work around unused variable warnings
2111 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
2112 || dynamic_array
[ni.number
- 1] != 543);
2115 # Test code for whether the C compiler supports C11 (global declarations)
2116 ac_c_conftest_c11_globals='
2117 // Does the compiler advertise C11 conformance?
2118 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2119 # error "Compiler does not advertise C11 conformance"
2123 char _Alignas
(double
) aligned_as_double
;
2124 char _Alignas
(0) no_special_alignment
;
2125 extern char aligned_as_int
;
2126 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
2131 int_alignment
= _Alignof
(int
),
2132 int_array_alignment
= _Alignof
(int
[100]),
2133 char_alignment
= _Alignof
(char
)
2135 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
2138 int _Noreturn does_not_return
(void
) { for (;;) continue; }
2140 // Check _Static_assert.
2141 struct test_static_assert
2144 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
2145 "_Static_assert does not work in struct");
2149 // Check UTF-8 literals.
2150 #define u8 syntax error!
2151 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
2153 // Check duplicate typedefs.
2154 typedef long
*long_ptr
;
2155 typedef long int
*long_ptr
;
2156 typedef long_ptr long_ptr
;
2158 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
2162 struct
{ int i
; int j
; };
2163 struct
{ int k
; long int l
; } w
;
2169 # Test code for whether the C compiler supports C11 (body of main).
2170 ac_c_conftest_c11_main='
2171 _Static_assert
((offsetof
(struct anonymous
, i
)
2172 == offsetof
(struct anonymous
, w.k
)),
2173 "Anonymous union alignment botch");
2179 # Test code for whether the C compiler supports C11 (complete).
2180 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2181 ${ac_c_conftest_c99_globals}
2182 ${ac_c_conftest_c11_globals}
2185 main (int argc, char **argv)
2188 ${ac_c_conftest_c89_main}
2189 ${ac_c_conftest_c99_main}
2190 ${ac_c_conftest_c11_main}
2195 # Test code for whether the C compiler supports C99 (complete).
2196 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2197 ${ac_c_conftest_c99_globals}
2200 main (int argc, char **argv)
2203 ${ac_c_conftest_c89_main}
2204 ${ac_c_conftest_c99_main}
2209 # Test code for whether the C compiler supports C89 (complete).
2210 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2213 main (int argc, char **argv)
2216 ${ac_c_conftest_c89_main}
2222 # Auxiliary files required by this configure script.
2223 ac_aux_files="compile missing install-sh"
2225 # Locations in which to look for auxiliary files.
2226 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
2228 # Search for a directory containing all of the required auxiliary files,
2229 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2230 # If we don't
find one directory that contains all the files we need
,
2231 # we report the set of missing files from the *first* directory in
2232 # $ac_aux_dir_candidates and give up.
2233 ac_missing_aux_files
=""
2234 ac_first_candidate
=:
2235 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2238 for as_dir
in $ac_aux_dir_candidates
2241 case $as_dir in #(((
2244 *) as_dir
=$as_dir/ ;;
2248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2249 ac_aux_dir_found
=yes
2251 for ac_aux
in $ac_aux_files
2253 # As a special case, if "install-sh" is required, that requirement
2254 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2255 # and $ac_install_sh is set appropriately for whichever one is found.
2256 if test x
"$ac_aux" = x
"install-sh"
2258 if test -f "${as_dir}install-sh"; then
2259 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2260 ac_install_sh
="${as_dir}install-sh -c"
2261 elif test -f "${as_dir}install.sh"; then
2262 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2263 ac_install_sh
="${as_dir}install.sh -c"
2264 elif test -f "${as_dir}shtool"; then
2265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2266 ac_install_sh
="${as_dir}shtool install -c"
2269 if $ac_first_candidate; then
2270 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
2276 if test -f "${as_dir}${ac_aux}"; then
2277 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2280 if $ac_first_candidate; then
2281 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
2288 if test "$ac_aux_dir_found" = yes; then
2289 ac_aux_dir
="$as_dir"
2292 ac_first_candidate
=false
2301 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2305 # These three variables are undocumented and unsupported,
2306 # and are intended to be withdrawn in a future Autoconf release.
2307 # They can cause serious problems if a builder's source tree is in a directory
2308 # whose full name contains unusual characters.
2309 if test -f "${ac_aux_dir}config.guess"; then
2310 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
2312 if test -f "${ac_aux_dir}config.sub"; then
2313 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
2315 if test -f "$ac_aux_dir/configure"; then
2316 ac_configure
="$SHELL ${ac_aux_dir}configure"
2319 # Check that the precious variables saved in the cache have kept the same
2321 ac_cache_corrupted
=false
2322 for ac_var
in $ac_precious_vars; do
2323 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2324 eval ac_new_set
=\
$ac_env_${ac_var}_set
2325 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2326 eval ac_new_val
=\
$ac_env_${ac_var}_value
2327 case $ac_old_set,$ac_new_set in
2329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2330 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2331 ac_cache_corrupted
=: ;;
2333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2334 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2335 ac_cache_corrupted
=: ;;
2338 if test "x$ac_old_val" != "x$ac_new_val"; then
2339 # differences in whitespace do not lead to failure.
2340 ac_old_val_w
=`echo x $ac_old_val`
2341 ac_new_val_w
=`echo x $ac_new_val`
2342 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2344 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2345 ac_cache_corrupted
=:
2347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2348 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2349 eval $ac_var=\
$ac_old_val
2351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2352 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2354 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
2357 # Pass precious variables to config.status.
2358 if test "$ac_new_set" = set; then
2360 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2361 *) ac_arg
=$ac_var=$ac_new_val ;;
2363 case " $ac_configure_args " in
2364 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2365 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2369 if $ac_cache_corrupted; then
2370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2371 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2373 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2374 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2375 and start over" "$LINENO" 5
2377 ## -------------------- ##
2378 ## Main body of script. ##
2379 ## -------------------- ##
2382 ac_cpp
='$CPP $CPPFLAGS'
2383 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2384 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2385 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2389 ac_config_headers
="$ac_config_headers config.h"
2391 am__api_version
='1.16'
2395 # Find a good install program. We prefer a C program (faster),
2396 # so one script is as good as another. But avoid the broken or
2397 # incompatible versions:
2398 # SysV /etc/install, /usr/sbin/install
2399 # SunOS /usr/etc/install
2400 # IRIX /sbin/install
2402 # AmigaOS /C/install, which installs bootblocks on floppy discs
2403 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2404 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2405 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2406 # OS/2's system install, which has a completely different semantic
2407 # ./install, which can be erroneously created by make from ./install.sh.
2408 # Reject install programs that cannot install multiple files.
2409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2410 printf %s
"checking for a BSD-compatible install... " >&6; }
2411 if test -z "$INSTALL"; then
2412 if test ${ac_cv_path_install+y}
2414 printf %s
"(cached) " >&6
2416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2420 case $as_dir in #(((
2423 *) as_dir
=$as_dir/ ;;
2425 # Account for fact that we put trailing slashes in our PATH walk.
2428 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2429 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2432 # OSF1 and SCO ODT 3.0 have their own names for install.
2433 # Don't use installbsd from OSF since it installs stuff as root
2435 for ac_prog
in ginstall scoinst
install; do
2436 for ac_exec_ext
in '' $ac_executable_extensions; do
2437 if as_fn_executable_p
"$as_dir$ac_prog$ac_exec_ext"; then
2438 if test $ac_prog = install &&
2439 grep dspmsg
"$as_dir$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2440 # AIX install. It has an incompatible calling convention.
2442 elif test $ac_prog = install &&
2443 grep pwplus
"$as_dir$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2444 # program-specific install script used by HP pwplus--don't use.
2447 rm -rf conftest.one conftest.two conftest.dir
2448 echo one
> conftest.one
2449 echo two
> conftest.two
2451 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir/" &&
2452 test -s conftest.one
&& test -s conftest.two
&&
2453 test -s conftest.dir
/conftest.one
&&
2454 test -s conftest.dir
/conftest.two
2456 ac_cv_path_install
="$as_dir$ac_prog$ac_exec_ext -c"
2469 rm -rf conftest.one conftest.two conftest.dir
2472 if test ${ac_cv_path_install+y}; then
2473 INSTALL
=$ac_cv_path_install
2475 # As a last resort, use the slow shell script. Don't cache a
2476 # value for INSTALL within a source directory, because that will
2477 # break other packages using the cache if that directory is
2478 # removed, or if the value is a relative name.
2479 INSTALL
=$ac_install_sh
2482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2483 printf "%s\n" "$INSTALL" >&6; }
2485 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2486 # It thinks the first close brace ends the variable substitution.
2487 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2489 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2491 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2494 printf %s
"checking whether build environment is sane... " >&6; }
2495 # Reject unsafe characters in $srcdir or the absolute working directory
2496 # name. Accept space and tab only in the latter.
2500 *[\\\"\
#\$\&\'\`$am_lf]*)
2501 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2504 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2505 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2508 # Do 'set' in a subshell so we don't clobber the current shell's
2509 # arguments. Must try -L first in case configure is actually a
2510 # symlink; some systems play weird games with the mod time of symlinks
2511 # (eg FreeBSD returns the mod time of the symlink's containing
2515 for am_try
in 1 2; do
2516 echo "timestamp, slept: $am_has_slept" > conftest.
file
2517 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2518 if test "$*" = "X"; then
2520 set X
`ls -t "$srcdir/configure" conftest.file`
2522 if test "$*" != "X $srcdir/configure conftest.file" \
2523 && test "$*" != "X conftest.file $srcdir/configure"; then
2525 # If neither matched, then we have a broken ls. This can happen
2526 # if, for instance, CONFIG_SHELL is bash and it inherits a
2527 # broken ls alias from the environment. This has actually
2528 # happened. Such a system could not be considered "sane".
2529 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2530 alias in your environment" "$LINENO" 5
2532 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2539 test "$2" = conftest.
file
2545 as_fn_error $?
"newly created file is older than distributed files!
2546 Check your system clock" "$LINENO" 5
2548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2549 printf "%s\n" "yes" >&6; }
2550 # If we didn't sleep, we still need to ensure time stamps of config.status and
2551 # generated files are strictly newer.
2553 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2560 test "$program_prefix" != NONE
&&
2561 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2562 # Use a double $ so make ignores it.
2563 test "$program_suffix" != NONE
&&
2564 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2565 # Double any \ or $.
2566 # By default was `s,x,x', remove it if useless.
2567 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2568 program_transform_name
=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2571 # Expand $ac_aux_dir to an absolute path.
2572 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2575 if test x
"${MISSING+set}" != xset
; then
2576 MISSING
="\${SHELL} '$am_aux_dir/missing'"
2578 # Use eval to expand $SHELL
2579 if eval "$MISSING --is-lightweight"; then
2580 am_missing_run
="$MISSING "
2583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2584 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2587 if test x
"${install_sh+set}" != xset
; then
2590 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2592 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2596 # Installed binaries are usually stripped using 'strip' when the user
2597 # run "make install-strip". However 'strip' might not be the right
2598 # tool to use in cross-compilation environments, therefore Automake
2599 # will honor the 'STRIP' environment variable to overrule this program.
2600 if test "$cross_compiling" != no
; then
2601 if test -n "$ac_tool_prefix"; then
2602 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2603 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2605 printf %s
"checking for $ac_word... " >&6; }
2606 if test ${ac_cv_prog_STRIP+y}
2608 printf %s
"(cached) " >&6
2610 if test -n "$STRIP"; then
2611 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2617 case $as_dir in #(((
2620 *) as_dir
=$as_dir/ ;;
2622 for ac_exec_ext
in '' $ac_executable_extensions; do
2623 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
2624 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2625 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2634 STRIP
=$ac_cv_prog_STRIP
2635 if test -n "$STRIP"; then
2636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2637 printf "%s\n" "$STRIP" >&6; }
2639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2640 printf "%s\n" "no" >&6; }
2645 if test -z "$ac_cv_prog_STRIP"; then
2647 # Extract the first word of "strip", so it can be a program name with args.
2648 set dummy strip
; ac_word
=$2
2649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2650 printf %s
"checking for $ac_word... " >&6; }
2651 if test ${ac_cv_prog_ac_ct_STRIP+y}
2653 printf %s
"(cached) " >&6
2655 if test -n "$ac_ct_STRIP"; then
2656 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2662 case $as_dir in #(((
2665 *) as_dir
=$as_dir/ ;;
2667 for ac_exec_ext
in '' $ac_executable_extensions; do
2668 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
2669 ac_cv_prog_ac_ct_STRIP
="strip"
2670 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2679 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2680 if test -n "$ac_ct_STRIP"; then
2681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2682 printf "%s\n" "$ac_ct_STRIP" >&6; }
2684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2685 printf "%s\n" "no" >&6; }
2688 if test "x$ac_ct_STRIP" = x
; then
2691 case $cross_compiling:$ac_tool_warned in
2693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2694 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2695 ac_tool_warned
=yes ;;
2700 STRIP
="$ac_cv_prog_STRIP"
2704 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2708 printf %s
"checking for a race-free mkdir -p... " >&6; }
2709 if test -z "$MKDIR_P"; then
2710 if test ${ac_cv_path_mkdir+y}
2712 printf %s
"(cached) " >&6
2714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2715 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2718 case $as_dir in #(((
2721 *) as_dir
=$as_dir/ ;;
2723 for ac_prog
in mkdir gmkdir
; do
2724 for ac_exec_ext
in '' $ac_executable_extensions; do
2725 as_fn_executable_p
"$as_dir$ac_prog$ac_exec_ext" ||
continue
2726 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2727 'mkdir ('*'coreutils) '* | \
2729 'mkdir (fileutils) '4.1*)
2730 ac_cv_path_mkdir
=$as_dir$ac_prog$ac_exec_ext
2740 test -d .
/--version && rmdir .
/--version
2741 if test ${ac_cv_path_mkdir+y}; then
2742 MKDIR_P
="$ac_cv_path_mkdir -p"
2744 # As a last resort, use the slow shell script. Don't cache a
2745 # value for MKDIR_P within a source directory, because that will
2746 # break other packages using the cache if that directory is
2747 # removed, or if the value is a relative name.
2748 MKDIR_P
="$ac_install_sh -d"
2751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2752 printf "%s\n" "$MKDIR_P" >&6; }
2754 for ac_prog
in gawk mawk nawk
awk
2756 # Extract the first word of "$ac_prog", so it can be a program name with args.
2757 set dummy
$ac_prog; ac_word
=$2
2758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2759 printf %s
"checking for $ac_word... " >&6; }
2760 if test ${ac_cv_prog_AWK+y}
2762 printf %s
"(cached) " >&6
2764 if test -n "$AWK"; then
2765 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2771 case $as_dir in #(((
2774 *) as_dir
=$as_dir/ ;;
2776 for ac_exec_ext
in '' $ac_executable_extensions; do
2777 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
2778 ac_cv_prog_AWK
="$ac_prog"
2779 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2789 if test -n "$AWK"; then
2790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2791 printf "%s\n" "$AWK" >&6; }
2793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2794 printf "%s\n" "no" >&6; }
2798 test -n "$AWK" && break
2801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2802 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2804 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2805 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
2807 printf %s
"(cached) " >&6
2809 cat >conftest.
make <<\_ACEOF
2812 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2814 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2815 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2817 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2819 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2823 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2825 printf "%s\n" "yes" >&6; }
2828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2829 printf "%s\n" "no" >&6; }
2830 SET_MAKE
="MAKE=${MAKE-make}"
2833 rm -rf .tst
2>/dev
/null
2834 mkdir .tst
2>/dev
/null
2835 if test -d .tst
; then
2840 rmdir .tst
2>/dev
/null
2842 # Check whether --enable-silent-rules was given.
2843 if test ${enable_silent_rules+y}
2845 enableval
=$enable_silent_rules;
2848 case $enable_silent_rules in # (((
2849 yes) AM_DEFAULT_VERBOSITY
=0;;
2850 no
) AM_DEFAULT_VERBOSITY
=1;;
2851 *) AM_DEFAULT_VERBOSITY
=1;;
2853 am_make
=${MAKE-make}
2854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2855 printf %s
"checking whether $am_make supports nested variables... " >&6; }
2856 if test ${am_cv_make_support_nested_variables+y}
2858 printf %s
"(cached) " >&6
2860 if printf "%s\n" 'TRUE=$(BAR$(V))
2866 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2867 am_cv_make_support_nested_variables
=yes
2869 am_cv_make_support_nested_variables
=no
2872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2873 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
2874 if test $am_cv_make_support_nested_variables = yes; then
2876 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2878 AM_V
=$AM_DEFAULT_VERBOSITY
2879 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2883 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2884 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2885 # is not polluted with repeated "-I."
2886 am__isrc
=' -I$(srcdir)'
2887 # test to see if srcdir already configured
2888 if test -f $srcdir/config.status
; then
2889 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2893 # test whether we have cygpath
2894 if test -z "$CYGPATH_W"; then
2895 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2896 CYGPATH_W
='cygpath -w'
2903 # Define the identity of the package.
2908 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
2911 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
2913 # Some tools Automake needs.
2915 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2918 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2921 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2924 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2927 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2929 # For better backward compatibility. To be removed once Automake 1.9.x
2930 # dies out for good. For more background, see:
2931 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2932 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2933 mkdir_p
='$(MKDIR_P)'
2935 # We need awk for the "check" target (and possibly the TAP driver). The
2936 # system "awk" is bad on some platforms.
2937 # Always define AMTAR for backward compatibility. Yes, it's still used
2938 # in the wild :-( We should find a proper way to deprecate it ...
2942 # We'll loop over all known methods to create a tar archive until one works.
2943 _am_tools
='gnutar pax cpio none'
2945 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2951 # Variables for tags utilities; see am/tags.am
2952 if test -z "$CTAGS"; then
2956 if test -z "$ETAGS"; then
2960 if test -z "$CSCOPE"; then
2966 # POSIX will say in a future version that running "rm -f" with no argument
2967 # is OK; and we want to be able to make that assumption in our Makefile
2968 # recipes. So use an aggressive probe to check that the usage we want is
2969 # actually supported "in the wild" to an acceptable degree.
2970 # See automake bug#10828.
2971 # To make any issue more visible, cause the running configure to be aborted
2972 # by default if the 'rm' program in use doesn't match our expectations; the
2973 # user can still override this though.
2974 if rm -f && rm -fr && rm -rf; then : OK
; else
2978 Your 'rm' program seems unable to run without file operands specified
2979 on the command line, even when the '-f' option is present. This is contrary
2980 to the behaviour of most rm programs out there, and not conforming with
2981 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2983 Please tell bug-automake@gnu.org about your system, including the value
2984 of your $PATH and any error possibly output before this message. This
2985 can help us improve future automake versions.
2988 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
2989 echo 'Configuration will proceed anyway, since you have set the' >&2
2990 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2994 Aborting the configuration process, to ensure you take notice of the issue.
2996 You can download and install GNU coreutils to get an 'rm' implementation
2997 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2999 If you want to complete the configuration process using your problematic
3000 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3001 to "yes", and re-run configure.
3004 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3009 # Check whether --enable-silent-rules was given.
3010 if test ${enable_silent_rules+y}
3012 enableval
=$enable_silent_rules;
3015 case $enable_silent_rules in # (((
3016 yes) AM_DEFAULT_VERBOSITY
=0;;
3017 no
) AM_DEFAULT_VERBOSITY
=1;;
3018 *) AM_DEFAULT_VERBOSITY
=0;;
3020 am_make
=${MAKE-make}
3021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3022 printf %s
"checking whether $am_make supports nested variables... " >&6; }
3023 if test ${am_cv_make_support_nested_variables+y}
3025 printf %s
"(cached) " >&6
3027 if printf "%s\n" 'TRUE=$(BAR$(V))
3033 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3034 am_cv_make_support_nested_variables
=yes
3036 am_cv_make_support_nested_variables
=no
3039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3040 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3041 if test $am_cv_make_support_nested_variables = yes; then
3043 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3045 AM_V
=$AM_DEFAULT_VERBOSITY
3046 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3051 # Check whether --enable-selfrep was given.
3052 if test ${enable_selfrep+y}
3054 enableval=$enable_selfrep;
3059 if test "x$enable_selfrep" = "xyes"; then
3061 MAKESELFREP_FALSE='#'
3063 MAKESELFREP_TRUE
='#'
3068 PACKAGE_VERSION
=VERSION
3070 PACKAGE_NAME
=PACKAGE
3083 ac_cpp
='$CPP $CPPFLAGS'
3084 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3085 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3086 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3087 if test -n "$ac_tool_prefix"; then
3088 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3089 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3091 printf %s
"checking for $ac_word... " >&6; }
3092 if test ${ac_cv_prog_CC+y}
3094 printf %s
"(cached) " >&6
3096 if test -n "$CC"; then
3097 ac_cv_prog_CC
="$CC" # Let the user override the test.
3099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3103 case $as_dir in #(((
3106 *) as_dir
=$as_dir/ ;;
3108 for ac_exec_ext
in '' $ac_executable_extensions; do
3109 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
3110 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3121 if test -n "$CC"; then
3122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3123 printf "%s\n" "$CC" >&6; }
3125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3126 printf "%s\n" "no" >&6; }
3131 if test -z "$ac_cv_prog_CC"; then
3133 # Extract the first word of "gcc", so it can be a program name with args.
3134 set dummy gcc
; ac_word
=$2
3135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3136 printf %s
"checking for $ac_word... " >&6; }
3137 if test ${ac_cv_prog_ac_ct_CC+y}
3139 printf %s
"(cached) " >&6
3141 if test -n "$ac_ct_CC"; then
3142 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3148 case $as_dir in #(((
3151 *) as_dir
=$as_dir/ ;;
3153 for ac_exec_ext
in '' $ac_executable_extensions; do
3154 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
3155 ac_cv_prog_ac_ct_CC
="gcc"
3156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3165 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3166 if test -n "$ac_ct_CC"; then
3167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3168 printf "%s\n" "$ac_ct_CC" >&6; }
3170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3171 printf "%s\n" "no" >&6; }
3174 if test "x$ac_ct_CC" = x
; then
3177 case $cross_compiling:$ac_tool_warned in
3179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3180 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3181 ac_tool_warned
=yes ;;
3189 if test -z "$CC"; then
3190 if test -n "$ac_tool_prefix"; then
3191 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3192 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3194 printf %s
"checking for $ac_word... " >&6; }
3195 if test ${ac_cv_prog_CC+y}
3197 printf %s
"(cached) " >&6
3199 if test -n "$CC"; then
3200 ac_cv_prog_CC
="$CC" # Let the user override the test.
3202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3206 case $as_dir in #(((
3209 *) as_dir
=$as_dir/ ;;
3211 for ac_exec_ext
in '' $ac_executable_extensions; do
3212 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
3213 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3214 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3224 if test -n "$CC"; then
3225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3226 printf "%s\n" "$CC" >&6; }
3228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3229 printf "%s\n" "no" >&6; }
3235 if test -z "$CC"; then
3236 # Extract the first word of "cc", so it can be a program name with args.
3237 set dummy cc
; ac_word
=$2
3238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3239 printf %s
"checking for $ac_word... " >&6; }
3240 if test ${ac_cv_prog_CC+y}
3242 printf %s
"(cached) " >&6
3244 if test -n "$CC"; then
3245 ac_cv_prog_CC
="$CC" # Let the user override the test.
3248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3252 case $as_dir in #(((
3255 *) as_dir
=$as_dir/ ;;
3257 for ac_exec_ext
in '' $ac_executable_extensions; do
3258 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
3259 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3260 ac_prog_rejected
=yes
3264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3271 if test $ac_prog_rejected = yes; then
3272 # We found a bogon in the path, so make sure we never use it.
3273 set dummy
$ac_cv_prog_CC
3275 if test $# != 0; then
3276 # We chose a different compiler from the bogus one.
3277 # However, it has the same basename, so the bogon will be chosen
3278 # first if we set CC to just the basename; use the full file name.
3280 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
3286 if test -n "$CC"; then
3287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3288 printf "%s\n" "$CC" >&6; }
3290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3291 printf "%s\n" "no" >&6; }
3296 if test -z "$CC"; then
3297 if test -n "$ac_tool_prefix"; then
3298 for ac_prog
in cl.exe
3300 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3301 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3303 printf %s
"checking for $ac_word... " >&6; }
3304 if test ${ac_cv_prog_CC+y}
3306 printf %s
"(cached) " >&6
3308 if test -n "$CC"; then
3309 ac_cv_prog_CC
="$CC" # Let the user override the test.
3311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3315 case $as_dir in #(((
3318 *) as_dir
=$as_dir/ ;;
3320 for ac_exec_ext
in '' $ac_executable_extensions; do
3321 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
3322 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3323 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3333 if test -n "$CC"; then
3334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3335 printf "%s\n" "$CC" >&6; }
3337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3338 printf "%s\n" "no" >&6; }
3342 test -n "$CC" && break
3345 if test -z "$CC"; then
3347 for ac_prog
in cl.exe
3349 # Extract the first word of "$ac_prog", so it can be a program name with args.
3350 set dummy
$ac_prog; ac_word
=$2
3351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3352 printf %s
"checking for $ac_word... " >&6; }
3353 if test ${ac_cv_prog_ac_ct_CC+y}
3355 printf %s
"(cached) " >&6
3357 if test -n "$ac_ct_CC"; then
3358 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3364 case $as_dir in #(((
3367 *) as_dir
=$as_dir/ ;;
3369 for ac_exec_ext
in '' $ac_executable_extensions; do
3370 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
3371 ac_cv_prog_ac_ct_CC
="$ac_prog"
3372 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3381 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3382 if test -n "$ac_ct_CC"; then
3383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3384 printf "%s\n" "$ac_ct_CC" >&6; }
3386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3387 printf "%s\n" "no" >&6; }
3391 test -n "$ac_ct_CC" && break
3394 if test "x$ac_ct_CC" = x
; then
3397 case $cross_compiling:$ac_tool_warned in
3399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3400 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3401 ac_tool_warned
=yes ;;
3408 if test -z "$CC"; then
3409 if test -n "$ac_tool_prefix"; then
3410 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3411 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
3412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3413 printf %s
"checking for $ac_word... " >&6; }
3414 if test ${ac_cv_prog_CC+y}
3416 printf %s
"(cached) " >&6
3418 if test -n "$CC"; then
3419 ac_cv_prog_CC
="$CC" # Let the user override the test.
3421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3425 case $as_dir in #(((
3428 *) as_dir
=$as_dir/ ;;
3430 for ac_exec_ext
in '' $ac_executable_extensions; do
3431 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
3432 ac_cv_prog_CC
="${ac_tool_prefix}clang"
3433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3443 if test -n "$CC"; then
3444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3445 printf "%s\n" "$CC" >&6; }
3447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3448 printf "%s\n" "no" >&6; }
3453 if test -z "$ac_cv_prog_CC"; then
3455 # Extract the first word of "clang", so it can be a program name with args.
3456 set dummy clang
; ac_word
=$2
3457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3458 printf %s
"checking for $ac_word... " >&6; }
3459 if test ${ac_cv_prog_ac_ct_CC+y}
3461 printf %s
"(cached) " >&6
3463 if test -n "$ac_ct_CC"; then
3464 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3470 case $as_dir in #(((
3473 *) as_dir
=$as_dir/ ;;
3475 for ac_exec_ext
in '' $ac_executable_extensions; do
3476 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
3477 ac_cv_prog_ac_ct_CC
="clang"
3478 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3487 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3488 if test -n "$ac_ct_CC"; then
3489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3490 printf "%s\n" "$ac_ct_CC" >&6; }
3492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3493 printf "%s\n" "no" >&6; }
3496 if test "x$ac_ct_CC" = x
; then
3499 case $cross_compiling:$ac_tool_warned in
3501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3502 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3503 ac_tool_warned
=yes ;;
3514 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3515 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3516 as_fn_error $?
"no acceptable C compiler found in \$PATH
3517 See \`config.log' for more details" "$LINENO" 5; }
3519 # Provide some information about the compiler.
3520 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3523 for ac_option
in --version -v -V -qversion -version; do
3524 { { ac_try
="$ac_compiler $ac_option >&5"
3526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3527 *) ac_try_echo=$ac_try;;
3529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3530 printf "%s\n" "$ac_try_echo"; } >&5
3531 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3533 if test -s conftest.err; then
3535 ... rest of stderr output deleted ...
3536 10q' conftest.err >conftest.er1
3537 cat conftest.er1 >&5
3539 rm -f conftest.er1 conftest.err
3540 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3541 test $ac_status = 0; }
3544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3545 /* end confdefs.h. */
3555 ac_clean_files_save=$ac_clean_files
3556 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3557 # Try to create an executable without -o first, disregard a.out.
3558 # It will help us diagnose broken compilers, and finding out an intuition
3560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3561 printf %s "checking whether the C compiler works... " >&6; }
3562 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3564 # The possible output files:
3565 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3568 for ac_file in $ac_files
3571 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3572 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3577 if { { ac_try="$ac_link_default"
3579 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3580 *) ac_try_echo
=$ac_try;;
3582 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3583 printf "%s\n" "$ac_try_echo"; } >&5
3584 (eval "$ac_link_default") 2>&5
3586 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3587 test $ac_status = 0; }
3589 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3590 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3591 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3592 # so that the user can short-circuit this test for compilers unknown to
3594 for ac_file
in $ac_files ''
3596 test -f "$ac_file" ||
continue
3598 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3601 # We found the default executable, but exeext='' is most
3605 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
3607 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3609 # We set ac_cv_exeext here because the later test for it is not
3610 # safe: cross compilers may not add the suffix if given an `-o'
3611 # argument, so we may need to know it at that point already.
3612 # Even if this section looks crufty: it has the advantage of
3619 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3624 if test -z "$ac_file"
3626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3627 printf "%s\n" "no" >&6; }
3628 printf "%s\n" "$as_me: failed program was:" >&5
3629 sed 's/^/| /' conftest.
$ac_ext >&5
3631 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3632 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3633 as_fn_error
77 "C compiler cannot create executables
3634 See \`config.log' for more details" "$LINENO" 5; }
3636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3637 printf "%s\n" "yes" >&6; }
3639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3640 printf %s
"checking for C compiler default output file name... " >&6; }
3641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3642 printf "%s\n" "$ac_file" >&6; }
3643 ac_exeext
=$ac_cv_exeext
3645 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3646 ac_clean_files
=$ac_clean_files_save
3647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3648 printf %s
"checking for suffix of executables... " >&6; }
3649 if { { ac_try
="$ac_link"
3651 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3652 *) ac_try_echo=$ac_try;;
3654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3655 printf "%s\n" "$ac_try_echo"; } >&5
3656 (eval "$ac_link") 2>&5
3658 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3659 test $ac_status = 0; }
3661 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3662 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3663 # work properly (i.e., refer to `conftest.exe'), while it won't with
3665 for ac_file
in conftest.exe conftest conftest.
*; do
3666 test -f "$ac_file" ||
continue
3668 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3669 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3675 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3676 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3677 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3678 See \`config.log' for more details" "$LINENO" 5; }
3680 rm -f conftest conftest
$ac_cv_exeext
3681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3682 printf "%s\n" "$ac_cv_exeext" >&6; }
3684 rm -f conftest.
$ac_ext
3685 EXEEXT
=$ac_cv_exeext
3687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3688 /* end confdefs.h. */
3693 FILE *f = fopen ("conftest.out", "w");
3694 return ferror (f) || fclose (f) != 0;
3700 ac_clean_files
="$ac_clean_files conftest.out"
3701 # Check that the compiler produces executables we can run. If not, either
3702 # the compiler is broken, or we cross compile.
3703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3704 printf %s
"checking whether we are cross compiling... " >&6; }
3705 if test "$cross_compiling" != yes; then
3706 { { ac_try
="$ac_link"
3708 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3709 *) ac_try_echo=$ac_try;;
3711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3712 printf "%s\n" "$ac_try_echo"; } >&5
3713 (eval "$ac_link") 2>&5
3715 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3716 test $ac_status = 0; }
3717 if { ac_try='./conftest$ac_cv_exeext'
3718 { { case "(($ac_try" in
3719 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3720 *) ac_try_echo
=$ac_try;;
3722 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3723 printf "%s\n" "$ac_try_echo"; } >&5
3724 (eval "$ac_try") 2>&5
3726 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3727 test $ac_status = 0; }; }; then
3730 if test "$cross_compiling" = maybe
; then
3733 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3734 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3735 as_fn_error
77 "cannot run C compiled programs.
3736 If you meant to cross compile, use \`--host'.
3737 See \`config.log' for more details" "$LINENO" 5; }
3741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3742 printf "%s\n" "$cross_compiling" >&6; }
3744 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3745 ac_clean_files
=$ac_clean_files_save
3746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3747 printf %s
"checking for suffix of object files... " >&6; }
3748 if test ${ac_cv_objext+y}
3750 printf %s
"(cached) " >&6
3752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3753 /* end confdefs.h. */
3763 rm -f conftest.o conftest.obj
3764 if { { ac_try
="$ac_compile"
3766 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3767 *) ac_try_echo=$ac_try;;
3769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3770 printf "%s\n" "$ac_try_echo"; } >&5
3771 (eval "$ac_compile") 2>&5
3773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3774 test $ac_status = 0; }
3776 for ac_file in conftest.o conftest.obj conftest.*; do
3777 test -f "$ac_file" || continue;
3779 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3780 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3785 printf "%s\n" "$as_me: failed program was:" >&5
3786 sed 's/^/| /' conftest.$ac_ext >&5
3788 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3789 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3790 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3791 See \
`config.log' for more details" "$LINENO" 5; }
3793 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3796 printf "%s\n" "$ac_cv_objext" >&6; }
3797 OBJEXT=$ac_cv_objext
3799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3800 printf %s "checking whether the compiler supports GNU C... " >&6; }
3801 if test ${ac_cv_c_compiler_gnu+y}
3803 printf %s "(cached) " >&6
3805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3806 /* end confdefs.h. */
3819 if ac_fn_c_try_compile "$LINENO"
3825 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3826 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3830 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
3831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3833 if test $ac_compiler_gnu = yes; then
3838 ac_test_CFLAGS=${CFLAGS+y}
3839 ac_save_CFLAGS=$CFLAGS
3840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3841 printf %s "checking whether $CC accepts -g... " >&6; }
3842 if test ${ac_cv_prog_cc_g+y}
3844 printf %s "(cached) " >&6
3846 ac_save_c_werror_flag=$ac_c_werror_flag
3847 ac_c_werror_flag=yes
3850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3851 /* end confdefs.h. */
3861 if ac_fn_c_try_compile "$LINENO"
3866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3867 /* end confdefs.h. */
3877 if ac_fn_c_try_compile "$LINENO"
3881 ac_c_werror_flag=$ac_save_c_werror_flag
3883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3884 /* end confdefs.h. */
3894 if ac_fn_c_try_compile "$LINENO"
3898 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3900 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3902 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3903 ac_c_werror_flag=$ac_save_c_werror_flag
3905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3906 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
3907 if test $ac_test_CFLAGS; then
3908 CFLAGS=$ac_save_CFLAGS
3909 elif test $ac_cv_prog_cc_g = yes; then
3910 if test "$GCC" = yes; then
3916 if test "$GCC" = yes; then
3923 if test x$ac_prog_cc_stdc = xno
3925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
3926 printf %s "checking for $CC option to enable C11 features... " >&6; }
3927 if test ${ac_cv_prog_cc_c11+y}
3929 printf %s "(cached) " >&6
3931 ac_cv_prog_cc_c11=no
3933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3934 /* end confdefs.h. */
3935 $ac_c_conftest_c11_program
3937 for ac_arg in '' -std=gnu11
3939 CC="$ac_save_CC $ac_arg"
3940 if ac_fn_c_try_compile "$LINENO"
3942 ac_cv_prog_cc_c11=$ac_arg
3944 rm -f core conftest.err conftest.$ac_objext conftest.beam
3945 test "x$ac_cv_prog_cc_c11" != "xno" && break
3947 rm -f conftest.$ac_ext
3951 if test "x$ac_cv_prog_cc_c11" = xno
3953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3954 printf "%s\n" "unsupported" >&6; }
3956 if test "x$ac_cv_prog_cc_c11" = x
3958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3959 printf "%s\n" "none needed" >&6; }
3961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
3962 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
3963 CC="$CC $ac_cv_prog_cc_c11"
3965 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
3969 if test x$ac_prog_cc_stdc = xno
3971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
3972 printf %s "checking for $CC option to enable C99 features... " >&6; }
3973 if test ${ac_cv_prog_cc_c99+y}
3975 printf %s "(cached) " >&6
3977 ac_cv_prog_cc_c99=no
3979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3980 /* end confdefs.h. */
3981 $ac_c_conftest_c99_program
3983 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
3985 CC="$ac_save_CC $ac_arg"
3986 if ac_fn_c_try_compile "$LINENO"
3988 ac_cv_prog_cc_c99=$ac_arg
3990 rm -f core conftest.err conftest.$ac_objext conftest.beam
3991 test "x$ac_cv_prog_cc_c99" != "xno" && break
3993 rm -f conftest.$ac_ext
3997 if test "x$ac_cv_prog_cc_c99" = xno
3999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4000 printf "%s\n" "unsupported" >&6; }
4002 if test "x$ac_cv_prog_cc_c99" = x
4004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4005 printf "%s\n" "none needed" >&6; }
4007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4008 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4009 CC="$CC $ac_cv_prog_cc_c99"
4011 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4015 if test x$ac_prog_cc_stdc = xno
4017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4018 printf %s "checking for $CC option to enable C89 features... " >&6; }
4019 if test ${ac_cv_prog_cc_c89+y}
4021 printf %s "(cached) " >&6
4023 ac_cv_prog_cc_c89=no
4025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4026 /* end confdefs.h. */
4027 $ac_c_conftest_c89_program
4029 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4031 CC="$ac_save_CC $ac_arg"
4032 if ac_fn_c_try_compile "$LINENO"
4034 ac_cv_prog_cc_c89=$ac_arg
4036 rm -f core conftest.err conftest.$ac_objext conftest.beam
4037 test "x$ac_cv_prog_cc_c89" != "xno" && break
4039 rm -f conftest.$ac_ext
4043 if test "x$ac_cv_prog_cc_c89" = xno
4045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4046 printf "%s\n" "unsupported" >&6; }
4048 if test "x$ac_cv_prog_cc_c89" = x
4050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4051 printf "%s\n" "none needed" >&6; }
4053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4054 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4055 CC="$CC $ac_cv_prog_cc_c89"
4057 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4063 ac_cpp='$CPP $CPPFLAGS'
4064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4070 ac_cpp='$CPP $CPPFLAGS'
4071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4075 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4076 if test ${am_cv_prog_cc_c_o+y}
4078 printf %s "(cached) " >&6
4080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4081 /* end confdefs.h. */
4091 # Make sure it works both with $CC and with simple cc.
4092 # Following AC_PROG_CC_C_O, we do the test twice because some
4093 # compilers refuse to overwrite an existing .o file with -o,
4094 # though they will create one.
4095 am_cv_prog_cc_c_o=yes
4097 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4098 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101 (exit $ac_status); } \
4102 && test -f conftest2.$ac_objext; then
4105 am_cv_prog_cc_c_o=no
4109 rm -f core conftest*
4112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4113 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4114 if test "$am_cv_prog_cc_c_o" != yes; then
4115 # Losing compiler, so override with the script.
4116 # FIXME: It is wrong to rewrite CC.
4117 # But if we don't then we get into trouble of one sort or another.
4118 # A longer-term fix would be to have automake use am__CC in this case,
4119 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4120 CC="$am_aux_dir/compile $CC"
4123 ac_cpp='$CPP $CPPFLAGS'
4124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4128 DEPDIR="${am__leading_dot}deps"
4130 ac_config_commands="$ac_config_commands depfiles"
4132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4133 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
4134 cat > confinc.mk << 'END'
4136 @echo this is the am__doit target >confinc.out
4141 # BSD make does it like this.
4142 echo '.include "confinc.mk" # ignored' > confmf.BSD
4143 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
4144 echo 'include confinc.mk # ignored' > confmf.GNU
4146 for s in GNU BSD; do
4147 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4148 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4151 (exit $ac_status); }
4152 case $?:`cat confinc.out
2>/dev
/null
` in #(
4153 '0:this is the am__doit target') :
4156 am__include='.include' am__quote='"' ;; #(
4158 am__include='include' am__quote='' ;;
4163 if test "$am__include" != "#"; then
4164 _am_result="yes ($s style)"
4168 rm -f confinc.* confmf.*
4169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4170 printf "%s\n" "${_am_result}" >&6; }
4172 # Check whether --enable-dependency-tracking was given.
4173 if test ${enable_dependency_tracking+y}
4175 enableval=$enable_dependency_tracking;
4178 if test "x$enable_dependency_tracking" != xno; then
4179 am_depcomp="$ac_aux_dir/depcomp"
4183 if test "x$enable_dependency_tracking" != xno; then
4193 depcc="$CC" am_compiler_list=
4195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4196 printf %s "checking dependency style of $depcc... " >&6; }
4197 if test ${am_cv_CC_dependencies_compiler_type+y}
4199 printf %s "(cached) " >&6
4201 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4202 # We make a subdir and do the tests there. Otherwise we can end up
4203 # making bogus files that we don't know about and never remove. For
4204 # instance it was reported that on HP-UX the gcc test will end up
4205 # making a dummy file named 'D' -- because '-MD' means "put the output
4209 # Copy depcomp to subdir because otherwise we won't find it if we're
4210 # using a relative directory.
4211 cp "$am_depcomp" conftest.dir
4213 # We will build objects and dependencies in a subdirectory because
4214 # it helps to detect inapplicable dependency modes. For instance
4215 # both Tru64's cc and ICC support -MD to output dependencies as a
4216 # side effect of compilation, but ICC will put the dependencies in
4217 # the current directory while Tru64 will put them in the object
4221 am_cv_CC_dependencies_compiler_type=none
4222 if test "$am_compiler_list" = ""; then
4223 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4226 case " $depcc " in #(
4227 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4230 for depmode in $am_compiler_list; do
4231 # Setup a source with many dependencies, because some compilers
4232 # like to wrap large dependency lists on column 80 (with \), and
4233 # we should not choose a depcomp mode which is confused by this.
4235 # We need to recreate these files for each test, as the compiler may
4236 # overwrite some of them when testing with obscure command lines.
4237 # This happens at least with the AIX C compiler.
4239 for i in 1 2 3 4 5 6; do
4240 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4241 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4242 # Solaris 10 /bin/sh.
4243 echo '/* dummy */' > sub/conftst$i.h
4245 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4247 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4248 # mode. It turns out that the SunPro C++ compiler does not properly
4249 # handle '-M -o', and we need to detect this. Also, some Intel
4250 # versions had trouble with output in subdirs.
4251 am__obj=sub/conftest.${OBJEXT-o}
4252 am__minus_obj="-o $am__obj"
4255 # This depmode causes a compiler race in universal mode.
4256 test "$am__universal" = false || continue
4259 # After this tag, mechanisms are not by side-effect, so they'll
4260 # only be used when explicitly requested.
4261 if test "x$enable_dependency_tracking" = xyes; then
4267 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4268 # This compiler won't grok '-c -o', but also, the minuso test has
4269 # not run yet. These depmodes are late enough in the game, and
4270 # so weak that their functioning should not be impacted.
4271 am__obj=conftest.${OBJEXT-o}
4276 if depmode=$depmode \
4277 source=sub/conftest.c object=$am__obj \
4278 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4279 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4280 >/dev/null 2>conftest.err &&
4281 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4282 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4283 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4284 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4285 # icc doesn't choke on unknown options, it will just issue warnings
4286 # or remarks (even with -Werror). So we grep stderr for any message
4287 # that says an option was ignored or not supported.
4288 # When given -MP, icc 7.0 and 7.1 complain thusly:
4289 # icc: Command line warning: ignoring option '-M'; no argument required
4290 # The diagnosis changed in icc 8.0:
4291 # icc: Command line remark: option '-MP' not supported
4292 if (grep 'ignoring option' conftest.err ||
4293 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4294 am_cv_CC_dependencies_compiler_type=$depmode
4303 am_cv_CC_dependencies_compiler_type=none
4307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4308 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4309 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4312 test "x$enable_dependency_tracking" != xno \
4313 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4315 am__fastdepCC_FALSE='#'
4317 am__fastdepCC_TRUE='#'
4318 am__fastdepCC_FALSE=
4333 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4334 if test -n "$ac_tool_prefix"; then
4335 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4336 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4338 printf %s "checking for $ac_word... " >&6; }
4339 if test ${ac_cv_path_PKG_CONFIG+y}
4341 printf %s "(cached) " >&6
4345 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4352 case $as_dir in #(((
4355 *) as_dir=$as_dir/ ;;
4357 for ac_exec_ext in '' $ac_executable_extensions; do
4358 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4359 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
4360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4370 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4371 if test -n "$PKG_CONFIG"; then
4372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4373 printf "%s\n" "$PKG_CONFIG" >&6; }
4375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4376 printf "%s\n" "no" >&6; }
4381 if test -z "$ac_cv_path_PKG_CONFIG"; then
4382 ac_pt_PKG_CONFIG=$PKG_CONFIG
4383 # Extract the first word of "pkg-config", so it can be a program name with args.
4384 set dummy pkg-config; ac_word=$2
4385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4386 printf %s "checking for $ac_word... " >&6; }
4387 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
4389 printf %s "(cached) " >&6
4391 case $ac_pt_PKG_CONFIG in
4393 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4400 case $as_dir in #(((
4403 *) as_dir=$as_dir/ ;;
4405 for ac_exec_ext in '' $ac_executable_extensions; do
4406 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4407 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
4408 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4418 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4419 if test -n "$ac_pt_PKG_CONFIG"; then
4420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4421 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
4423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4424 printf "%s\n" "no" >&6; }
4427 if test "x$ac_pt_PKG_CONFIG" = x; then
4430 case $cross_compiling:$ac_tool_warned in
4432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4433 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4434 ac_tool_warned=yes ;;
4436 PKG_CONFIG=$ac_pt_PKG_CONFIG
4439 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4443 if test -n "$PKG_CONFIG"; then
4444 _pkg_min_version=0.9.0
4445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4446 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4447 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4449 printf "%s\n" "yes" >&6; }
4451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4452 printf "%s\n" "no" >&6; }
4459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x11 xext xpm" >&5
4460 printf %s "checking for x11 xext xpm... " >&6; }
4462 if test -n "$X11_CFLAGS"; then
4463 pkg_cv_X11_CFLAGS="$X11_CFLAGS"
4464 elif test -n "$PKG_CONFIG"; then
4465 if test -n "$PKG_CONFIG" && \
4466 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext xpm\""; } >&5
4467 ($PKG_CONFIG --exists --print-errors "x11 xext xpm") 2>&5
4469 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4470 test $ac_status = 0; }; then
4471 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11 xext xpm" 2>/dev
/null
`
4472 test "x$?" != "x0" && pkg_failed=yes
4479 if test -n "$X11_LIBS"; then
4480 pkg_cv_X11_LIBS="$X11_LIBS"
4481 elif test -n "$PKG_CONFIG"; then
4482 if test -n "$PKG_CONFIG" && \
4483 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext xpm\""; } >&5
4484 ($PKG_CONFIG --exists --print-errors "x11 xext xpm") 2>&5
4486 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4487 test $ac_status = 0; }; then
4488 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11 xext xpm" 2>/dev
/null
`
4489 test "x$?" != "x0" && pkg_failed=yes
4499 if test $pkg_failed = yes; then
4500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4501 printf "%s\n" "no" >&6; }
4503 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4504 _pkg_short_errors_supported=yes
4506 _pkg_short_errors_supported=no
4508 if test $_pkg_short_errors_supported = yes; then
4509 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xext xpm" 2>&1`
4511 X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xext xpm" 2>&1`
4513 # Put the nasty error message in config.log where it belongs
4514 echo "$X11_PKG_ERRORS" >&5
4516 as_fn_error $? "Package requirements (x11 xext xpm) were not met:
4520 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4521 installed software in a non-standard prefix.
4523 Alternatively, you may set the environment variables X11_CFLAGS
4524 and X11_LIBS to avoid the need to call pkg-config.
4525 See the pkg-config man page for more details." "$LINENO" 5
4526 elif test $pkg_failed = untried; then
4527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4528 printf "%s\n" "no" >&6; }
4529 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4530 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4531 as_fn_error $? "The pkg-config
script could not be found or is too old. Make sure it
4532 is
in your PATH or
set the PKG_CONFIG environment variable to the full
4535 Alternatively
, you may
set the environment variables X11_CFLAGS
4536 and X11_LIBS to avoid the need to call pkg-config.
4537 See the pkg-config man page
for more details.
4539 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
4540 See \
`config.log' for more details" "$LINENO" 5; }
4542 X11_CFLAGS=$pkg_cv_X11_CFLAGS
4543 X11_LIBS=$pkg_cv_X11_LIBS
4544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4545 printf "%s\n" "yes" >&6; }
4550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gtk+-3.0 gmodule-2.0" >&5
4551 printf %s "checking for gtk+-3.0 gmodule-2.0... " >&6; }
4553 if test -n "$GTK_CFLAGS"; then
4554 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
4555 elif test -n "$PKG_CONFIG"; then
4556 if test -n "$PKG_CONFIG" && \
4557 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 gmodule-2.0\""; } >&5
4558 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 gmodule-2.0") 2>&5
4560 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4561 test $ac_status = 0; }; then
4562 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 gmodule-2.0" 2>/dev
/null
`
4563 test "x$?" != "x0" && pkg_failed=yes
4570 if test -n "$GTK_LIBS"; then
4571 pkg_cv_GTK_LIBS="$GTK_LIBS"
4572 elif test -n "$PKG_CONFIG"; then
4573 if test -n "$PKG_CONFIG" && \
4574 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 gmodule-2.0\""; } >&5
4575 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 gmodule-2.0") 2>&5
4577 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4578 test $ac_status = 0; }; then
4579 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 gmodule-2.0" 2>/dev
/null
`
4580 test "x$?" != "x0" && pkg_failed=yes
4590 if test $pkg_failed = yes; then
4591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4592 printf "%s\n" "no" >&6; }
4594 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4595 _pkg_short_errors_supported=yes
4597 _pkg_short_errors_supported=no
4599 if test $_pkg_short_errors_supported = yes; then
4600 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 gmodule-2.0" 2>&1`
4602 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 gmodule-2.0" 2>&1`
4604 # Put the nasty error message in config.log where it belongs
4605 echo "$GTK_PKG_ERRORS" >&5
4607 as_fn_error $? "Package requirements (gtk+-3.0 gmodule-2.0) were not met:
4611 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4612 installed software in a non-standard prefix.
4614 Alternatively, you may set the environment variables GTK_CFLAGS
4615 and GTK_LIBS to avoid the need to call pkg-config.
4616 See the pkg-config man page for more details." "$LINENO" 5
4617 elif test $pkg_failed = untried; then
4618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4619 printf "%s\n" "no" >&6; }
4620 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4621 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4622 as_fn_error $? "The pkg-config
script could not be found or is too old. Make sure it
4623 is
in your PATH or
set the PKG_CONFIG environment variable to the full
4626 Alternatively
, you may
set the environment variables GTK_CFLAGS
4627 and GTK_LIBS to avoid the need to call pkg-config.
4628 See the pkg-config man page
for more details.
4630 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
4631 See \
`config.log' for more details" "$LINENO" 5; }
4633 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
4634 GTK_LIBS=$pkg_cv_GTK_LIBS
4635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4636 printf "%s\n" "yes" >&6; }
4640 # check for availability of double buffering
4643 ac_fn_c_check_func "$LINENO" "XdbeAllocateBackBufferName" "ac_cv_func_XdbeAllocateBackBufferName"
4644 if test "x$ac_cv_func_XdbeAllocateBackBufferName" = xyes
4646 printf "%s\n" "#define HAVE_XDBEALLOCATEBACKBUFFERNAME 1" >>confdefs.h
4653 ac_config_files="$ac_config_files Makefile src/Makefile"
4655 cat >confcache <<\_ACEOF
4656 # This file is a shell script that caches the results of configure
4657 # tests run on this system so they can be shared between configure
4658 # scripts and configure runs, see configure's option --config-cache.
4659 # It is not useful on other systems. If it contains results you don't
4660 # want to keep, you may remove or edit it.
4662 # config.status only pays attention to the cache file if you give it
4663 # the --recheck option to rerun configure.
4665 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
4666 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4671 # The following way of writing the cache mishandles newlines in values,
4672 # but we know of no workaround that is simple, portable, and efficient.
4673 # So, we kill variables containing newlines.
4674 # Ultrix sh set writes to stderr and can't be redirected directly,
4675 # and sets the high bit in the cache file unless we assign to the vars.
4677 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4678 eval ac_val
=\$
$ac_var
4682 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4683 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4686 _ | IFS | as_nl
) ;; #(
4687 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4688 *) { eval $ac_var=; unset $ac_var;} ;;
4694 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4695 *${as_nl}ac_space
=\
*)
4696 # `set' does not quote correctly, so add quotes: double-quote
4697 # substitution turns \\\\ into \\, and sed turns \\ into \.
4700 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4703 # `set' quotes correctly as required by POSIX, so do not add quotes.
4704 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4713 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
4715 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4717 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4718 if test -w "$cache_file"; then
4719 if test "x$cache_file" != "x/dev/null"; then
4720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4721 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
4722 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
4723 cat confcache
>"$cache_file"
4725 case $cache_file in #(
4727 mv -f confcache
"$cache_file"$$
&&
4728 mv -f "$cache_file"$$
"$cache_file" ;; #(
4730 mv -f confcache
"$cache_file" ;;
4735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4736 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
4741 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4742 # Let make expand exec_prefix.
4743 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4745 DEFS
=-DHAVE_CONFIG_H
4750 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4751 # 1. Remove the extension, and $U if already installed.
4752 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4753 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
4754 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4755 # will be set to the directory where LIBOBJS objects are built.
4756 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4757 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4761 LTLIBOBJS
=$ac_ltlibobjs
4764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4765 printf %s
"checking that generated files are newer than configure... " >&6; }
4766 if test -n "$am_sleep_pid"; then
4767 # Hide warnings about reused PIDs.
4768 wait $am_sleep_pid 2>/dev
/null
4770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
4771 printf "%s\n" "done" >&6; }
4772 if test -n "$EXEEXT"; then
4774 am__EXEEXT_FALSE
='#'
4780 if test -z "${MAKESELFREP_TRUE}" && test -z "${MAKESELFREP_FALSE}"; then
4781 as_fn_error $?
"conditional \"MAKESELFREP\" was never defined.
4782 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4784 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4785 as_fn_error $?
"conditional \"AMDEP\" was never defined.
4786 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4788 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4789 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
4790 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4793 : "${CONFIG_STATUS=./config.status}"
4795 ac_clean_files_save
=$ac_clean_files
4796 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4798 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
4800 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4802 # Generated by $as_me.
4803 # Run this file to recreate the current configuration.
4804 # Compiler output produced by configure, useful for debugging
4805 # configure, is in config.log if it exists.
4811 SHELL=\${CONFIG_SHELL-$SHELL}
4814 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4815 ## -------------------- ##
4816 ## M4sh Initialization. ##
4817 ## -------------------- ##
4819 # Be more Bourne compatible
4820 DUALCASE
=1; export DUALCASE
# for MKS sh
4822 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
4826 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4827 # is contrary to our usage. Disable this feature.
4828 alias -g '${1+"$@"}'='"$@"'
4829 setopt NO_GLOB_SUBST
4831 case `(set -o) 2>/dev/null` in #(
4841 # Reset variables that may have inherited troublesome values from
4844 # IFS needs to be set, to space, tab, and newline, in precisely that order.
4845 # (If _AS_PATH_WALK were called with IFS unset, it would have the
4846 # side effect of setting IFS to empty, thus disabling word splitting.)
4847 # Quoting is to prevent editors from complaining about space-tab.
4857 # Ensure predictable behavior from utilities with locale-dependent output.
4863 # We cannot yet rely on "unset" to work, but we need these variables
4864 # to be unset--not just set to an empty or harmless value--now, to
4865 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
4866 # also avoids known problems related to "unset" and subshell syntax
4867 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
4868 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
4869 do eval test \
${$as_var+y} \
4870 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4873 # Ensure that fds 0, 1, and 2 are open.
4874 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
4875 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
4876 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
4878 # The user is always right.
4879 if ${PATH_SEPARATOR+false} :; then
4881 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
4882 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
4888 # Find who we are. Look in the path if we contain no directory separator.
4891 *[\\/]* ) as_myself
=$0 ;;
4892 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4896 case $as_dir in #(((
4899 *) as_dir
=$as_dir/ ;;
4901 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
4907 # We did not find ourselves, most probably we were run as `sh COMMAND'
4908 # in which case we are not to be found in the path.
4909 if test "x$as_myself" = x
; then
4912 if test ! -f "$as_myself"; then
4913 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4919 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4920 # ----------------------------------------
4921 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4922 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4923 # script with STATUS, using 1 if that was 0.
4926 as_status
=$1; test $as_status -eq 0 && as_status
=1
4928 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4929 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4931 printf "%s\n" "$as_me: error: $2" >&2
4932 as_fn_exit
$as_status
4937 # as_fn_set_status STATUS
4938 # -----------------------
4939 # Set $? to STATUS, without forking.
4943 } # as_fn_set_status
4947 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4957 # Portably unset VAR.
4960 { eval $1=; unset $1;}
4962 as_unset
=as_fn_unset
4964 # as_fn_append VAR VALUE
4965 # ----------------------
4966 # Append the text in VALUE to the end of the definition contained in VAR. Take
4967 # advantage of any shell optimizations that allow amortized linear growth over
4968 # repeated appends, instead of the typical quadratic growth present in naive
4970 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
4972 eval 'as_fn_append ()
4983 # as_fn_arith ARG...
4984 # ------------------
4985 # Perform arithmetic evaluation on the ARGs, and store the result in the
4986 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4987 # must be portable across $(()) and expr.
4988 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
4990 eval 'as_fn_arith ()
4997 as_val
=`expr "$@" || test $? -eq 1`
5002 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5003 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5009 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5010 as_basename
=basename
5015 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5021 as_me
=`$as_basename -- "$0" ||
5022 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5023 X"$0" : 'X\(//\)$' \| \
5024 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5025 printf "%s\n" X/"$0" |
5026 sed '/^.*\/\([^/][^/]*\)\/*$/{
5040 # Avoid depending upon Character Ranges.
5041 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5042 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5043 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5044 as_cr_digits
='0123456789'
5045 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5048 # Determine whether it's possible to make 'echo' print without a newline.
5049 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
5050 # for compatibility with existing Makefiles.
5051 ECHO_C
= ECHO_N
= ECHO_T
=
5052 case `echo -n x` in #(((((
5054 case `echo 'xy\c'` in
5055 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5057 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5064 # For backward compatibility with old third-party macros, we provide
5065 # the shell variables $as_echo and $as_echo_n. New code should use
5066 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
5067 as_echo
='printf %s\n'
5068 as_echo_n
='printf %s'
5070 rm -f conf$$ conf$$.exe conf$$.
file
5071 if test -d conf$$.dir
; then
5072 rm -f conf$$.dir
/conf$$.
file
5075 mkdir conf$$.dir
2>/dev
/null
5077 if (echo >conf$$.
file) 2>/dev
/null
; then
5078 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5080 # ... but there are two gotchas:
5081 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5082 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5083 # In both cases, we have to default to `cp -pR'.
5084 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5086 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5094 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5095 rmdir conf$$.dir
2>/dev
/null
5100 # Create "$as_dir" as a directory, including parents if necessary.
5105 -*) as_dir
=.
/$as_dir;;
5107 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5111 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5112 *) as_qdir
=$as_dir;;
5114 as_dirs
="'$as_qdir' $as_dirs"
5115 as_dir
=`$as_dirname -- "$as_dir" ||
5116 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5117 X"$as_dir" : 'X\(//\)[^/]' \| \
5118 X"$as_dir" : 'X\(//\)$' \| \
5119 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5120 printf "%s\n" X"$as_dir" |
5121 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5138 test -d "$as_dir" && break
5140 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5141 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
5145 if mkdir
-p .
2>/dev
/null
; then
5146 as_mkdir_p
='mkdir -p "$as_dir"'
5148 test -d .
/-p && rmdir .
/-p
5153 # as_fn_executable_p FILE
5154 # -----------------------
5155 # Test if FILE is an executable regular file.
5156 as_fn_executable_p
()
5158 test -f "$1" && test -x "$1"
5159 } # as_fn_executable_p
5161 as_executable_p
=as_fn_executable_p
5163 # Sed expression to map a string onto a valid CPP name.
5164 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5166 # Sed expression to map a string onto a valid variable name.
5167 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5171 ## ----------------------------------- ##
5172 ## Main body of $CONFIG_STATUS script. ##
5173 ## ----------------------------------- ##
5175 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5177 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5178 # Save the log message, to keep $0 and so on meaningful, and to
5179 # report actual input values of CONFIG_FILES etc. instead of their
5180 # values after options handling.
5182 This file was extended by xfishtank $as_me 3.1.1, which was
5183 generated by GNU Autoconf 2.71. Invocation command line was
5185 CONFIG_FILES = $CONFIG_FILES
5186 CONFIG_HEADERS = $CONFIG_HEADERS
5187 CONFIG_LINKS = $CONFIG_LINKS
5188 CONFIG_COMMANDS = $CONFIG_COMMANDS
5191 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5196 case $ac_config_files in *"
5197 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5200 case $ac_config_headers in *"
5201 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
5205 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5206 # Files that config.status was made for.
5207 config_files="$ac_config_files"
5208 config_headers="$ac_config_headers"
5209 config_commands="$ac_config_commands"
5213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5215 \`$as_me' instantiates files and other configuration actions
5216 from templates according to the current configuration. Unless the files
5217 and actions are specified as TAGs, all are instantiated by default.
5219 Usage: $0 [OPTION]... [TAG]...
5221 -h, --help print this help, then exit
5222 -V, --version print version number and configuration settings, then exit
5223 --config print configuration, then exit
5224 -q, --quiet, --silent
5225 do not print progress messages
5226 -d, --debug don't remove temporary files
5227 --recheck update $as_me by reconfiguring in the same conditions
5228 --file=FILE[:TEMPLATE]
5229 instantiate the configuration file FILE
5230 --header=FILE[:TEMPLATE]
5231 instantiate the configuration header FILE
5233 Configuration files:
5236 Configuration headers:
5239 Configuration commands:
5242 Report bugs to <wvermin@gmail.com>.
5243 xfishtank home page: <https://www.ratrabbit.nl/ratrabbit/software/xfishtank>."
5246 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
5247 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
5248 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5249 ac_cs_config='$ac_cs_config_escaped'
5251 xfishtank config.status 3.1.1
5252 configured by $0, generated by GNU Autoconf 2.71,
5253 with options \\"\$ac_cs_config\\"
5255 Copyright (C) 2021 Free Software Foundation, Inc.
5256 This config.status script is free software; the Free Software Foundation
5257 gives unlimited permission to copy, distribute and modify it."
5264 test -n "\$AWK" || AWK=awk
5267 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5268 # The default lists apply if the user does not specify any file.
5274 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5275 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5279 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5291 # Handling of the options.
5292 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5294 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5295 printf "%s\n" "$ac_cs_version"; exit ;;
5296 --config |
--confi |
--conf |
--con |
--co |
--c )
5297 printf "%s\n" "$ac_cs_config"; exit ;;
5298 --debug |
--debu |
--deb |
--de |
--d |
-d )
5300 --file |
--fil |
--fi |
--f )
5303 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5304 '') as_fn_error $?
"missing file argument" ;;
5306 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5307 ac_need_defaults
=false
;;
5308 --header |
--heade |
--head |
--hea )
5311 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5313 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
5314 ac_need_defaults
=false
;;
5316 # Conflict between --help and --header
5317 as_fn_error $?
"ambiguous option: \`$1'
5318 Try \`$0 --help' for more information.";;
5319 --help |
--hel |
-h )
5320 printf "%s\n" "$ac_cs_usage"; exit ;;
5321 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5322 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5326 -*) as_fn_error $?
"unrecognized option: \`$1'
5327 Try \`$0 --help' for more information." ;;
5329 *) as_fn_append ac_config_targets
" $1"
5330 ac_need_defaults
=false
;;
5336 ac_configure_extra_args
=
5338 if $ac_cs_silent; then
5340 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5344 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5345 if \$ac_cs_recheck; then
5346 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5348 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
5349 CONFIG_SHELL='$SHELL'
5355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5359 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5360 ## Running $as_me. ##
5362 printf "%s\n" "$ac_log"
5366 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5370 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
5374 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5376 # Handling of arguments.
5377 for ac_config_target
in $ac_config_targets
5379 case $ac_config_target in
5380 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
5381 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
5382 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5383 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
5385 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5390 # If the user did not use the arguments to specify the items to instantiate,
5391 # then the envvar interface is used. Set only those that are not.
5392 # We use the long form for the default assignment because of an extremely
5393 # bizarre bug on SunOS 4.1.3.
5394 if $ac_need_defaults; then
5395 test ${CONFIG_FILES+y} || CONFIG_FILES
=$config_files
5396 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
5397 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
5400 # Have a temporary directory for convenience. Make it in the build tree
5401 # simply because there is no reason against having it here, and in addition,
5402 # creating and moving files from /tmp can sometimes cause problems.
5403 # Hook for its removal unless debugging.
5404 # Note that there is a small window in which the directory will not be cleaned:
5405 # after its creation but before its name has been assigned to `$tmp'.
5409 trap 'exit_status=$?
5411 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5413 trap 'as_fn_exit 1' 1 2 13 15
5415 # Create a (secure) tmp directory for tmp files.
5418 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5422 tmp
=.
/conf$$
-$RANDOM
5423 (umask 077 && mkdir
"$tmp")
5424 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5427 # Set up the scripts for CONFIG_FILES section.
5428 # No need to generate them if there are no CONFIG_FILES.
5429 # This happens for instance with `./config.status config.h'.
5430 if test -n "$CONFIG_FILES"; then
5433 ac_cr
=`echo X | tr X '\015'`
5434 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5435 # But we know of no other shell where ac_cr would be empty at this
5436 # point, so we can use a bashism as a fallback.
5437 if test "x$ac_cr" = x
; then
5438 eval ac_cr
=\$
\'\\r
\'
5440 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5441 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5447 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5452 echo "cat >conf$$subs.awk <<_ACEOF" &&
5453 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5456 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5457 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5459 for ac_last_try in false false false false false :; do
5460 . ./conf$$subs.sh ||
5461 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5463 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5464 if test $ac_delim_n = $ac_delim_num; then
5466 elif $ac_last_try; then
5467 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5469 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5474 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5475 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
5479 s/^/S["/; s
/!.
*/"]=/
5489 s/\(.\{148\}\)..*/\1/
5491 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5496 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5503 s/\(.\{148\}\)..*/\1/
5505 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5509 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5514 ' <conf$$subs.awk | sed '
5519 ' >>$CONFIG_STATUS || ac_write_fail=1
5520 rm -f conf$$subs.awk
5521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5523 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
5524 for (key in S) S_is_set[key] = 1
5530 nfields = split(line, field, "@
")
5532 len = length(field[1])
5533 for (i = 2; i < nfields; i++) {
5535 keylen = length(key)
5536 if (S_is_set[key]) {
5538 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5539 len += length(value) + length(field[++i])
5550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5551 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5552 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5555 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
5556 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
5559 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5560 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
5561 # trailing colons and then remove the whole line if VPATH becomes empty
5562 # (actually we leave an empty line to preserve line numbers).
5563 if test "x
$srcdir" = x.; then
5564 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5583 fi # test -n "$CONFIG_FILES"
5585 # Set up the scripts for CONFIG_HEADERS section.
5586 # No need to generate them if there are no CONFIG_HEADERS.
5587 # This happens for instance with `./config.status Makefile'.
5588 if test -n "$CONFIG_HEADERS"; then
5589 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
5593 # Transform confdefs.h into an awk script `defines.awk', embedded as
5594 # here-document in config.status, that substitutes the proper values into
5595 # config.h.in to produce config.h.
5597 # Create a delimiter string that does not exist in confdefs.h, to ease
5598 # handling of long lines.
5600 for ac_last_try in false false :; do
5601 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
5602 if test -z "$ac_tt"; then
5604 elif $ac_last_try; then
5605 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
5607 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5611 # For the awk script, D is an array of macro values keyed by name,
5612 # likewise P contains macro parameters if any. Preserve backslash
5613 # newline sequences.
5615 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5617 s/.\{148\}/&'"$ac_delim"'/g
5620 s/^[ ]*#[ ]*define[ ][ ]*/ /
5627 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
5629 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
5633 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
5634 D["\
1"]=" \
3\\\\\\n
"\\/p
5636 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
5641 s/.\{148\}/&'"$ac_delim"'/g
5646 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
5649 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
5651 ' <confdefs.h | sed '
5652 s/'"$ac_delim"'/"\\\
5653 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5655 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5656 for (key in D) D_is_set[key] = 1
5659 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5661 split(line, arg, " ")
5662 if (arg[1] == "#") {
5666 defundef
= substr
(arg
[1], 2)
5669 split(mac1
, mac2
, "(") #)
5671 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
5672 if (D_is_set
[macro
]) {
5673 # Preserve the white space surrounding the "#".
5674 print prefix
"define", macro P
[macro
] D
[macro
]
5677 # Replace #undef with comments. This is necessary, for example,
5678 # in the case of _POSIX_SOURCE, which is predefined and required
5679 # on some systems where configure will not decide to define it.
5680 if (defundef
== "undef") {
5681 print
"/*", prefix defundef
, macro
, "*/"
5689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5690 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
5691 fi # test -n "$CONFIG_HEADERS"
5694 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5699 :[FHLC
]) ac_mode
=$ac_tag; continue;;
5701 case $ac_mode$ac_tag in
5703 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
5704 :[FH
]-) ac_tag
=-:-;;
5705 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
5722 -) ac_f
="$ac_tmp/stdin";;
5723 *) # Look for the file first in the build tree, then in the source tree
5724 # (if the path is not absolute). The absolute path cannot be DOS-style,
5725 # because $ac_f cannot contain `:'.
5729 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
5731 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5733 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5734 as_fn_append ac_file_inputs
" '$ac_f'"
5737 # Let's still pretend it is `configure' which instantiates (i.e., don't
5738 # use $as_me), people would be surprised to read:
5739 # /* config.h. Generated by config.status. */
5740 configure_input
='Generated from '`
5741 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5743 if test x
"$ac_file" != x-
; then
5744 configure_input
="$ac_file. $configure_input"
5745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5746 printf "%s\n" "$as_me: creating $ac_file" >&6;}
5748 # Neutralize special characters interpreted by sed in replacement strings.
5749 case $configure_input in #(
5750 *\
&* |
*\|
* |
*\\* )
5751 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
5752 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5753 *) ac_sed_conf_input
=$configure_input;;
5757 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
5758 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
5763 ac_dir
=`$as_dirname -- "$ac_file" ||
5764 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5765 X"$ac_file" : 'X\(//\)[^/]' \| \
5766 X"$ac_file" : 'X\(//\)$' \| \
5767 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5768 printf "%s\n" X"$ac_file" |
5769 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5786 as_dir
="$ac_dir"; as_fn_mkdir_p
5790 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5792 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
5793 # A ".." for each directory in $ac_dir_suffix.
5794 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5795 case $ac_top_builddir_sub in
5796 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5797 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
5800 ac_abs_top_builddir
=$ac_pwd
5801 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
5802 # for backward compatibility:
5803 ac_top_builddir
=$ac_top_build_prefix
5806 .
) # We are building in place.
5808 ac_top_srcdir
=$ac_top_builddir_sub
5809 ac_abs_top_srcdir
=$ac_pwd ;;
5810 [\\/]* | ?
:[\\/]* ) # Absolute name.
5811 ac_srcdir
=$srcdir$ac_dir_suffix;
5812 ac_top_srcdir
=$srcdir
5813 ac_abs_top_srcdir
=$srcdir ;;
5815 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
5816 ac_top_srcdir
=$ac_top_build_prefix$srcdir
5817 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
5819 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
5829 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5830 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
5834 [\\/$
]* | ?
:[\\/]* ) ;;
5835 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
5839 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5840 # If the template does not know about datarootdir, expand it.
5841 # FIXME: This hack should be removed a few years after 2.60.
5842 ac_datarootdir_hack
=; ac_datarootdir_seen
=
5853 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5854 *datarootdir
*) ac_datarootdir_seen
=yes;;
5855 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
5856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5857 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5860 ac_datarootdir_hack='
5861 s&@datadir@&$datadir&g
5862 s&@docdir@&$docdir&g
5863 s&@infodir@&$infodir&g
5864 s&@localedir@&$localedir&g
5865 s&@mandir@&$mandir&g
5866 s&\\\${datarootdir}&$datarootdir&g' ;;
5870 # Neutralize VPATH when `$srcdir' = `.'.
5871 # Shell code in configure.ac might set extrasub.
5872 # FIXME: do we really want to maintain this feature?
5873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5874 ac_sed_extra="$ac_vpsub
5877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5879 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5880 s|@configure_input@|
$ac_sed_conf_input|
;t t
5881 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5882 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5883 s
&@srcdir@
&$ac_srcdir&;t t
5884 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5885 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5886 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5887 s
&@builddir@
&$ac_builddir&;t t
5888 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5889 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5890 s
&@INSTALL@
&$ac_INSTALL&;t t
5891 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
5892 $ac_datarootdir_hack
5894 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5895 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5897 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5898 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5899 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5900 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5901 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5902 which seems to be undefined. Please make sure it is defined" >&5
5903 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5904 which seems to be undefined. Please make sure it is defined" >&2;}
5906 rm -f "$ac_tmp/stdin"
5908 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5909 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5911 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5917 if test x"$ac_file" != x-; then
5919 printf "%s\n" "/* $configure_input */" >&1 \
5920 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5921 } >"$ac_tmp/config.h" \
5922 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5923 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5925 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
5928 mv "$ac_tmp/config.h" "$ac_file" \
5929 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5932 printf "%s\n" "/* $configure_input */" >&1 \
5933 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5934 || as_fn_error $? "could not create -" "$LINENO" 5
5936 # Compute "$ac_file"'s index
in $config_headers.
5939 for _am_header
in $config_headers :; do
5941 $_am_arg |
$_am_arg:* )
5944 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
5947 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5948 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5949 X"$_am_arg" : 'X\(//\)[^/]' \| \
5950 X"$_am_arg" : 'X\(//\)$' \| \
5951 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5952 printf "%s\n" X"$_am_arg" |
5953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5969 s/.*/./; q'`/stamp-h
$_am_stamp_count
5972 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5973 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
5978 case $ac_file$ac_mode in
5979 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
5980 # Older Autoconf quotes --file arguments for eval, but not when files
5981 # are listed without --file. Let's play safe and only enable the eval
5982 # if we detect the quoting.
5983 # TODO: see whether this extra hack can be removed once we start
5984 # requiring Autoconf 2.70 or later.
5985 case $CONFIG_FILES in #(
5987 eval set x
"$CONFIG_FILES" ;; #(
5989 set x
$CONFIG_FILES ;; #(
5994 # Used to flag and report bootstrapping failures.
5998 # Strip MF so we end up with the name of the file.
5999 am_mf
=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
6000 # Check whether this is an Automake generated Makefile which includes
6001 # dependency-tracking related rules and includes.
6002 # Grep'ing the whole file directly is not great: AIX grep has a line
6003 # limit of 2048, but all sed's we know have understand at least 4000.
6004 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" |
grep X
>/dev
/null
2>&1 \
6006 am_dirpart
=`$as_dirname -- "$am_mf" ||
6007 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6008 X"$am_mf" : 'X\(//\)[^/]' \| \
6009 X"$am_mf" : 'X\(//\)$' \| \
6010 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
6011 printf "%s\n" X"$am_mf" |
6012 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6029 am_filepart
=`$as_basename -- "$am_mf" ||
6030 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
6031 X"$am_mf" : 'X\(//\)$' \| \
6032 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
6033 printf "%s\n" X/"$am_mf" |
6034 sed '/^.*\/\([^/][^/]*\)\/*$/{
6047 { echo "$as_me:$LINENO: cd "$am_dirpart" \
6048 && sed -e '/# am--include-marker/d' "$am_filepart" \
6049 | $MAKE -f - am--depfiles" >&5
6051 && sed -e '/# am--include-marker/d' "$am_filepart" \
6052 |
$MAKE -f - am--depfiles
) >&5 2>&5
6054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6055 (exit $ac_status); } || am_rc
=$?
6057 if test $am_rc -ne 0; then
6058 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6059 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6060 as_fn_error $?
"Something went wrong bootstrapping makefile fragments
6061 for automatic dependency tracking. If GNU make was not used, consider
6062 re-running the configure script with MAKE=\"gmake\" (or whatever is
6063 necessary). You can also try re-running configure with the
6064 '--disable-dependency-tracking' option to at least be able to build
6065 the package (albeit without support for automatic dependency tracking).
6066 See \`config.log' for more details" "$LINENO" 5; }
6068 { am_dirpart
=; unset am_dirpart
;}
6069 { am_filepart
=; unset am_filepart
;}
6070 { am_mf
=; unset am_mf
;}
6071 { am_rc
=; unset am_rc
;}
6072 rm -f conftest-deps.mk
6082 ac_clean_files
=$ac_clean_files_save
6084 test $ac_write_fail = 0 ||
6085 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
6088 # configure is writing to config.log, and then calls config.status.
6089 # config.status does its own redirection, appending to config.log.
6090 # Unfortunately, on DOS this fails, as config.log is still kept open
6091 # by configure, so config.status won't be able to write to it; its
6092 # output is simply discarded. So we exec the FD to /dev/null,
6093 # effectively closing config.log, so it can be properly (re)opened and
6094 # appended to by config.status. When coming back to configure, we
6095 # need to make the FD available again.
6096 if test "$no_create" != yes; then
6098 ac_config_status_args
=
6099 test "$silent" = yes &&
6100 ac_config_status_args
="$ac_config_status_args --quiet"
6102 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6104 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6105 # would make configure fail if this is the last instruction.
6106 $ac_cs_success || as_fn_exit
1
6108 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6110 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6114 if test "x$enable_selfrep" = "xyes"