2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for distorted-utils 1.4.1.1.
5 # Report bugs to <mdw@distorted.org.uk>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n
"${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g
'${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn
--'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n
"$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n
'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d
"$as_nl"
68 as_echo_n='sh
-c
$as_echo_n_body as_echo
'
71 as_echo='sh
-c
$as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f
"$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx
;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z
"$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f
"$as_shell" ||
test -f
"$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f
"$SHELL" ||
test -f
"$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx
;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: mdw@distorted.org.uk about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d
"$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d
"$as_dir" && break
357 test -z
"$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d
"$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f
"$1" && test -x
"$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq
0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p
&& rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n
"$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
581 PACKAGE_NAME
='distorted-utils'
582 PACKAGE_TARNAME
='distorted-utils'
583 PACKAGE_VERSION
='1.4.1.1'
584 PACKAGE_STRING
='distorted-utils 1.4.1.1'
585 PACKAGE_BUGREPORT
='mdw@distorted.org.uk'
588 ac_unique_file
="shadowfix.in"
589 ac_subst_vars
='am__EXEEXT_FALSE
675 INSTALL_STRIP_PROGRAM
717 program_transform_name
730 enable_option_checking
733 enable_dependency_tracking
736 ac_precious_vars
='build_alias
757 # Initialize some variables set by options.
759 ac_init_version
=false
760 ac_unrecognized_opts
=
762 # The variables have the same names as the options, with
763 # dashes changed to underlines.
771 program_transform_name
=s
,x
,x
,
779 # Installation directory options.
780 # These are left unexpanded so users can "make install exec_prefix=/foo"
781 # and all the variables that are supposed to be based on exec_prefix
782 # by default will actually change.
783 # Use braces instead of parens because sh, perl, etc. also accept them.
784 # (The list follows the same order as the GNU Coding Standards.)
785 bindir
='${exec_prefix}/bin'
786 sbindir
='${exec_prefix}/sbin'
787 libexecdir
='${exec_prefix}/libexec'
788 datarootdir
='${prefix}/share'
789 datadir
='${datarootdir}'
790 sysconfdir
='${prefix}/etc'
791 sharedstatedir
='${prefix}/com'
792 localstatedir
='${prefix}/var'
793 includedir
='${prefix}/include'
794 oldincludedir
='/usr/include'
795 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
796 infodir
='${datarootdir}/info'
801 libdir
='${exec_prefix}/lib'
802 localedir
='${datarootdir}/locale'
803 mandir
='${datarootdir}/man'
809 # If the previous option needs an argument, assign it.
810 if test -n
"$ac_prev"; then
811 eval $ac_prev=\
$ac_option
817 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
822 # Accept the important Cygnus configure options, so we can diagnose typos.
824 case $ac_dashdash$ac_option in
828 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi
)
830 -bindir
=* |
--bindir
=* |
--bindi
=* |
--bind=* |
--bin
=* |
--bi
=*)
833 -build |
--build |
--buil |
--bui |
--bu
)
834 ac_prev
=build_alias
;;
835 -build
=* |
--build
=* |
--buil
=* |
--bui
=* |
--bu
=*)
836 build_alias
=$ac_optarg ;;
838 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
839 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c
)
840 ac_prev
=cache_file
;;
841 -cache-file
=* |
--cache-file
=* |
--cache-fil
=* |
--cache-fi
=* \
842 |
--cache-f
=* |
--cache-
=* |
--cache
=* |
--cach
=* |
--cac
=* |
--ca
=* |
--c
=*)
843 cache_file
=$ac_optarg ;;
846 cache_file
=config.cache
;;
848 -datadir |
--datadir |
--datadi |
--datad
)
850 -datadir
=* |
--datadir
=* |
--datadi
=* |
--datad
=*)
851 datadir
=$ac_optarg ;;
853 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
854 |
--dataroo |
--dataro |
--datar
)
855 ac_prev
=datarootdir
;;
856 -datarootdir
=* |
--datarootdir
=* |
--datarootdi
=* |
--datarootd
=* \
857 |
--dataroot
=* |
--dataroo
=* |
--dataro
=* |
--datar
=*)
858 datarootdir
=$ac_optarg ;;
860 -disable-
* |
--disable-
*)
861 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
862 # Reject names that are not valid shell variable names.
863 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
864 as_fn_error $?
"invalid feature name: $ac_useropt"
865 ac_useropt_orig
=$ac_useropt
866 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
867 case $ac_user_opts in
871 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
872 ac_unrecognized_sep
=', ';;
874 eval enable_
$ac_useropt=no
;;
876 -docdir |
--docdir |
--docdi |
--doc |
--do)
878 -docdir
=* |
--docdir
=* |
--docdi
=* |
--doc
=* |
--do=*)
881 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv
)
883 -dvidir
=* |
--dvidir
=* |
--dvidi
=* |
--dvid
=* |
--dvi
=* |
--dv
=*)
886 -enable-
* |
--enable-
*)
887 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
888 # Reject names that are not valid shell variable names.
889 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
890 as_fn_error $?
"invalid feature name: $ac_useropt"
891 ac_useropt_orig
=$ac_useropt
892 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
893 case $ac_user_opts in
897 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
898 ac_unrecognized_sep
=', ';;
900 eval enable_
$ac_useropt=\
$ac_optarg ;;
902 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
903 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
904 |
--exec |
--exe |
--ex
)
905 ac_prev
=exec_prefix
;;
906 -exec-prefix
=* |
--exec_prefix
=* |
--exec-prefix
=* |
--exec-prefi
=* \
907 |
--exec-pref
=* |
--exec-pre
=* |
--exec-pr
=* |
--exec-p
=* |
--exec-
=* \
908 |
--exec=* |
--exe
=* |
--ex
=*)
909 exec_prefix
=$ac_optarg ;;
911 -gas |
--gas |
--ga |
--g
)
912 # Obsolete; use --with-gas.
915 -help |
--help |
--hel |
--he |
-h
)
917 -help=r
* |
--help=r
* |
--hel
=r
* |
--he
=r
* |
-hr
*)
918 ac_init_help
=recursive
;;
919 -help=s
* |
--help=s
* |
--hel
=s
* |
--he
=s
* |
-hs
*)
920 ac_init_help
=short
;;
922 -host |
--host |
--hos |
--ho
)
923 ac_prev
=host_alias
;;
924 -host=* |
--host=* |
--hos
=* |
--ho
=*)
925 host_alias
=$ac_optarg ;;
927 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht
)
929 -htmldir
=* |
--htmldir
=* |
--htmldi
=* |
--htmld
=* |
--html
=* |
--htm
=* \
931 htmldir
=$ac_optarg ;;
933 -includedir |
--includedir |
--includedi |
--included |
--include \
934 |
--includ |
--inclu |
--incl |
--inc
)
935 ac_prev
=includedir
;;
936 -includedir
=* |
--includedir
=* |
--includedi
=* |
--included
=* |
--include
=* \
937 |
--includ
=* |
--inclu
=* |
--incl
=* |
--inc
=*)
938 includedir
=$ac_optarg ;;
940 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf
)
942 -infodir
=* |
--infodir
=* |
--infodi
=* |
--infod
=* |
--info
=* |
--inf
=*)
943 infodir
=$ac_optarg ;;
945 -libdir |
--libdir |
--libdi |
--libd
)
947 -libdir
=* |
--libdir
=* |
--libdi
=* |
--libd
=*)
950 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
951 |
--libexe |
--libex |
--libe
)
952 ac_prev
=libexecdir
;;
953 -libexecdir
=* |
--libexecdir
=* |
--libexecdi
=* |
--libexecd
=* |
--libexec
=* \
954 |
--libexe
=* |
--libex
=* |
--libe
=*)
955 libexecdir
=$ac_optarg ;;
957 -localedir |
--localedir |
--localedi |
--localed |
--locale
)
959 -localedir
=* |
--localedir
=* |
--localedi
=* |
--localed
=* |
--locale
=*)
960 localedir
=$ac_optarg ;;
962 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
963 |
--localstate |
--localstat |
--localsta |
--localst |
--locals
)
964 ac_prev
=localstatedir
;;
965 -localstatedir
=* |
--localstatedir
=* |
--localstatedi
=* |
--localstated
=* \
966 |
--localstate
=* |
--localstat
=* |
--localsta
=* |
--localst
=* |
--locals
=*)
967 localstatedir
=$ac_optarg ;;
969 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m
)
971 -mandir
=* |
--mandir
=* |
--mandi
=* |
--mand
=* |
--man
=* |
--ma
=* |
--m
=*)
975 # Obsolete; use --without-fp.
978 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
979 |
--no-cr |
--no-c |
-n
)
982 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
983 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r
)
986 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
987 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
988 |
--oldin |
--oldi |
--old |
--ol |
--o
)
989 ac_prev
=oldincludedir
;;
990 -oldincludedir
=* |
--oldincludedir
=* |
--oldincludedi
=* |
--oldincluded
=* \
991 |
--oldinclude
=* |
--oldinclud
=* |
--oldinclu
=* |
--oldincl
=* |
--oldinc
=* \
992 |
--oldin
=* |
--oldi
=* |
--old
=* |
--ol
=* |
--o
=*)
993 oldincludedir
=$ac_optarg ;;
995 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p
)
997 -prefix
=* |
--prefix
=* |
--prefi
=* |
--pref
=* |
--pre
=* |
--pr=* |
--p
=*)
1000 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1001 |
--program-pre |
--program-pr |
--program-p
)
1002 ac_prev
=program_prefix
;;
1003 -program-prefix
=* |
--program-prefix
=* |
--program-prefi
=* \
1004 |
--program-pref
=* |
--program-pre
=* |
--program-pr
=* |
--program-p
=*)
1005 program_prefix
=$ac_optarg ;;
1007 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1008 |
--program-suf |
--program-su |
--program-s
)
1009 ac_prev
=program_suffix
;;
1010 -program-suffix
=* |
--program-suffix
=* |
--program-suffi
=* \
1011 |
--program-suff
=* |
--program-suf
=* |
--program-su
=* |
--program-s
=*)
1012 program_suffix
=$ac_optarg ;;
1014 -program-transform-name |
--program-transform-name \
1015 |
--program-transform-nam |
--program-transform-na \
1016 |
--program-transform-n |
--program-transform- \
1017 |
--program-transform |
--program-transfor \
1018 |
--program-transfo |
--program-transf \
1019 |
--program-trans |
--program-tran \
1020 |
--progr-tra |
--program-tr |
--program-t
)
1021 ac_prev
=program_transform_name
;;
1022 -program-transform-name
=* |
--program-transform-name
=* \
1023 |
--program-transform-nam
=* |
--program-transform-na
=* \
1024 |
--program-transform-n
=* |
--program-transform-
=* \
1025 |
--program-transform
=* |
--program-transfor
=* \
1026 |
--program-transfo
=* |
--program-transf
=* \
1027 |
--program-trans
=* |
--program-tran
=* \
1028 |
--progr-tra
=* |
--program-tr
=* |
--program-t
=*)
1029 program_transform_name
=$ac_optarg ;;
1031 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd
)
1033 -pdfdir
=* |
--pdfdir
=* |
--pdfdi
=* |
--pdfd
=* |
--pdf
=* |
--pd
=*)
1034 pdfdir
=$ac_optarg ;;
1036 -psdir |
--psdir |
--psdi |
--psd |
--ps
)
1038 -psdir
=* |
--psdir
=* |
--psdi
=* |
--psd
=* |
--ps
=*)
1041 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1042 |
-silent |
--silent |
--silen |
--sile |
--sil
)
1045 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb
)
1047 -sbindir
=* |
--sbindir
=* |
--sbindi
=* |
--sbind
=* |
--sbin
=* \
1049 sbindir
=$ac_optarg ;;
1051 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1052 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1053 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1055 ac_prev
=sharedstatedir
;;
1056 -sharedstatedir
=* |
--sharedstatedir
=* |
--sharedstatedi
=* \
1057 |
--sharedstated
=* |
--sharedstate
=* |
--sharedstat
=* |
--sharedsta
=* \
1058 |
--sharedst
=* |
--shareds
=* |
--shared
=* |
--share
=* |
--shar=* \
1060 sharedstatedir
=$ac_optarg ;;
1062 -site |
--site |
--sit
)
1064 -site
=* |
--site
=* |
--sit
=*)
1067 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr
)
1069 -srcdir
=* |
--srcdir
=* |
--srcdi
=* |
--srcd
=* |
--src
=* |
--sr
=*)
1070 srcdir
=$ac_optarg ;;
1072 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1073 |
--syscon |
--sysco |
--sysc |
--sys |
--sy
)
1074 ac_prev
=sysconfdir
;;
1075 -sysconfdir
=* |
--sysconfdir
=* |
--sysconfdi
=* |
--sysconfd
=* |
--sysconf
=* \
1076 |
--syscon
=* |
--sysco
=* |
--sysc
=* |
--sys
=* |
--sy
=*)
1077 sysconfdir
=$ac_optarg ;;
1079 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t
)
1080 ac_prev
=target_alias
;;
1081 -target
=* |
--target
=* |
--targe
=* |
--targ
=* |
--tar=* |
--ta
=* |
--t
=*)
1082 target_alias
=$ac_optarg ;;
1084 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb
)
1087 -version |
--version |
--versio |
--versi |
--vers |
-V
)
1088 ac_init_version
=: ;;
1091 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1092 # Reject names that are not valid shell variable names.
1093 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1094 as_fn_error $?
"invalid package name: $ac_useropt"
1095 ac_useropt_orig
=$ac_useropt
1096 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1097 case $ac_user_opts in
1101 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1102 ac_unrecognized_sep
=', ';;
1104 eval with_
$ac_useropt=\
$ac_optarg ;;
1106 -without-
* |
--without-
*)
1107 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1108 # Reject names that are not valid shell variable names.
1109 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1110 as_fn_error $?
"invalid package name: $ac_useropt"
1111 ac_useropt_orig
=$ac_useropt
1112 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1113 case $ac_user_opts in
1117 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1118 ac_unrecognized_sep
=', ';;
1120 eval with_
$ac_useropt=no
;;
1123 # Obsolete; use --with-x.
1126 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1127 |
--x-incl |
--x-inc |
--x-in |
--x-i
)
1128 ac_prev
=x_includes
;;
1129 -x-includes
=* |
--x-includes
=* |
--x-include
=* |
--x-includ
=* |
--x-inclu
=* \
1130 |
--x-incl
=* |
--x-inc
=* |
--x-in
=* |
--x-i
=*)
1131 x_includes
=$ac_optarg ;;
1133 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1134 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l
)
1135 ac_prev
=x_libraries
;;
1136 -x-libraries
=* |
--x-libraries
=* |
--x-librarie
=* |
--x-librari
=* \
1137 |
--x-librar
=* |
--x-libra
=* |
--x-libr
=* |
--x-lib
=* |
--x-li
=* |
--x-l
=*)
1138 x_libraries
=$ac_optarg ;;
1140 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1141 Try \`$0 --help' for more information"
1145 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1146 # Reject names that are not valid shell variable names.
1147 case $ac_envvar in #(
1148 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1149 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1151 eval $ac_envvar=\
$ac_optarg
1152 export $ac_envvar ;;
1155 # FIXME: should be removed in autoconf 3.0.
1156 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1157 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1158 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1159 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1165 if test -n
"$ac_prev"; then
1166 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1167 as_fn_error $?
"missing argument to $ac_option"
1170 if test -n
"$ac_unrecognized_opts"; then
1171 case $enable_option_checking in
1173 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1174 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1178 # Check all directory arguments for consistency.
1179 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1180 datadir sysconfdir sharedstatedir localstatedir includedir \
1181 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1182 libdir localedir mandir
1184 eval ac_val
=\$
$ac_var
1185 # Remove trailing slashes.
1188 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1189 eval $ac_var=\
$ac_val;;
1191 # Be sure to have absolute directory names.
1193 [\\/$
]* | ?
:[\\/]* ) continue;;
1194 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1196 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1199 # There might be people who depend on the old broken behavior: `$host'
1200 # used to hold the argument of --host etc.
1201 # FIXME: To remove some day.
1204 target
=$target_alias
1206 # FIXME: To remove some day.
1207 if test "x$host_alias" != x
; then
1208 if test "x$build_alias" = x
; then
1209 cross_compiling
=maybe
1210 elif test "x$build_alias" != "x$host_alias"; then
1216 test -n
"$host_alias" && ac_tool_prefix
=$host_alias-
1218 test "$silent" = yes && exec 6>/dev
/null
1221 ac_pwd
=`pwd` && test -n
"$ac_pwd" &&
1222 ac_ls_di
=`ls -di .` &&
1223 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1224 as_fn_error $?
"working directory cannot be determined"
1225 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1226 as_fn_error $?
"pwd does not report name of working directory"
1229 # Find the source files, if location was not specified.
1230 if test -z
"$srcdir"; then
1231 ac_srcdir_defaulted
=yes
1232 # Try the directory containing this script, then the parent directory.
1233 ac_confdir
=`$as_dirname -- "$as_myself" ||
1234 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1235 X"$as_myself" : 'X\(//\)[^/]' \| \
1236 X"$as_myself" : 'X\(//\)$' \| \
1237 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1238 $as_echo X"$as_myself" |
1239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1257 if test ! -r
"$srcdir/$ac_unique_file"; then
1261 ac_srcdir_defaulted
=no
1263 if test ! -r
"$srcdir/$ac_unique_file"; then
1264 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1265 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1267 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1269 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1271 # When building in place, set srcdir=.
1272 if test "$ac_abs_confdir" = "$ac_pwd"; then
1275 # Remove unnecessary trailing slashes from srcdir.
1276 # Double slashes in file names in object file debugging info
1277 # mess up M-x gdb in Emacs.
1279 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1281 for ac_var
in $ac_precious_vars; do
1282 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1283 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1284 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1285 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1289 # Report the --help message.
1291 if test "$ac_init_help" = "long"; then
1292 # Omit some internal or obsolete options to make the list less imposing.
1293 # This message is too long to be a string in the A/UX 3.1 sh.
1295 \`configure' configures distorted-utils 1.4.1.1 to adapt to many kinds of systems.
1297 Usage: $0 [OPTION]... [VAR=VALUE]...
1299 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1300 VAR=VALUE. See below for descriptions of some of the useful variables.
1302 Defaults for the options are specified in brackets.
1305 -h, --help display this help and exit
1306 --help=short display options specific to this package
1307 --help=recursive display the short help of all the included packages
1308 -V, --version display version information and exit
1309 -q, --quiet, --silent do not print \`checking ...' messages
1310 --cache-file=FILE cache test results in FILE [disabled]
1311 -C, --config-cache alias for \`--cache-file=config.cache'
1312 -n, --no-create do not create output files
1313 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1315 Installation directories:
1316 --prefix=PREFIX install architecture-independent files in PREFIX
1317 [$ac_default_prefix]
1318 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1321 By default, \`make install' will install all the files in
1322 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1323 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1324 for instance \`--prefix=\$HOME'.
1326 For better control, use the options below.
1328 Fine tuning of the installation directories:
1329 --bindir=DIR user executables [EPREFIX/bin]
1330 --sbindir=DIR system admin executables [EPREFIX/sbin]
1331 --libexecdir=DIR program executables [EPREFIX/libexec]
1332 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1333 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1334 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1335 --libdir=DIR object code libraries [EPREFIX/lib]
1336 --includedir=DIR C header files [PREFIX/include]
1337 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1338 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1339 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1340 --infodir=DIR info documentation [DATAROOTDIR/info]
1341 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1342 --mandir=DIR man documentation [DATAROOTDIR/man]
1343 --docdir=DIR documentation root [DATAROOTDIR/doc/distorted-utils]
1344 --htmldir=DIR html documentation [DOCDIR]
1345 --dvidir=DIR dvi documentation [DOCDIR]
1346 --pdfdir=DIR pdf documentation [DOCDIR]
1347 --psdir=DIR ps documentation [DOCDIR]
1353 --program-prefix
=PREFIX prepend PREFIX to installed program names
1354 --program-suffix
=SUFFIX append SUFFIX to installed program names
1355 --program-transform-name
=PROGRAM run
sed PROGRAM on installed program names
1358 --build
=BUILD configure
for building on BUILD
[guessed
]
1359 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1363 if test -n
"$ac_init_help"; then
1364 case $ac_init_help in
1365 short | recursive
) echo "Configuration of distorted-utils 1.4.1.1:";;
1370 --disable-option-checking ignore unrecognized
--enable/--with options
1371 --disable-FEATURE
do not include FEATURE
(same as
--enable-FEATURE
=no
)
1372 --enable-FEATURE
[=ARG
] include FEATURE
[ARG
=yes]
1373 --enable-silent-rules
less verbose build output
(undo
: `make V=1')
1374 --disable-silent-rules verbose build output (undo: `make V
=0')
1375 --disable-dependency-tracking speeds up one-time build
1376 --enable-dependency-tracking do not reject slow dependency extractors
1379 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1380 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1381 --with-logdir=DIR Write log files here.
1382 --with-perlmoddir=DIR Install Perl modules here.
1384 Some influential environment variables:
1385 CC C compiler command
1386 CFLAGS C compiler flags
1387 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1388 nonstandard directory <lib dir>
1389 LIBS libraries to pass to the linker, e.g. -l<library>
1390 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1391 you have headers in a nonstandard directory <include dir>
1392 PKG_CONFIG path to pkg-config utility
1394 directories to add to pkg-config's search path
1396 path overriding pkg-config
's built-in search path
1397 mLib_CFLAGS C compiler flags for mLib, overriding pkg-config
1398 mLib_LIBS linker flags for mLib, overriding pkg-config
1400 C compiler flags for catacomb, overriding pkg-config
1402 linker flags for catacomb, overriding pkg-config
1403 PYTHON the Python interpreter
1404 PERL Path to your favourite Perl binary.
1405 TCLSH Path to your favourite tclsh binary.
1406 BASH Path to the Bourne Again Shell.
1408 Use these variables to override the choices made by `configure' or to
help
1409 it to
find libraries and programs with nonstandard names
/locations.
1411 Report bugs to
<mdw@distorted.org.uk
>.
1416 if test "$ac_init_help" = "recursive"; then
1417 # If there are subdirs, report their specific --help.
1418 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1419 test -d
"$ac_dir" ||
1420 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d
"$ac_dir"; } ||
1425 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1427 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1428 # A ".." for each directory in $ac_dir_suffix.
1429 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1430 case $ac_top_builddir_sub in
1431 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1432 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1435 ac_abs_top_builddir
=$ac_pwd
1436 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1437 # for backward compatibility:
1438 ac_top_builddir
=$ac_top_build_prefix
1441 .
) # We are building in place.
1443 ac_top_srcdir
=$ac_top_builddir_sub
1444 ac_abs_top_srcdir
=$ac_pwd ;;
1445 [\\/]* | ?
:[\\/]* ) # Absolute name.
1446 ac_srcdir
=$srcdir$ac_dir_suffix;
1447 ac_top_srcdir
=$srcdir
1448 ac_abs_top_srcdir
=$srcdir ;;
1450 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1451 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1452 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1454 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1456 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1457 # Check for guested configure.
1458 if test -f
"$ac_srcdir/configure.gnu"; then
1460 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1461 elif test -f
"$ac_srcdir/configure"; then
1463 $SHELL "$ac_srcdir/configure" --help=recursive
1465 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1467 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1471 test -n
"$ac_init_help" && exit $ac_status
1472 if $ac_init_version; then
1474 distorted-utils configure
1.4.1.1
1475 generated by GNU Autoconf
2.69
1477 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1478 This configure
script is free software
; the Free Software Foundation
1479 gives unlimited permission to copy
, distribute and modify it.
1484 ## ------------------------ ##
1485 ## Autoconf initialization. ##
1486 ## ------------------------ ##
1488 # ac_fn_c_try_compile LINENO
1489 # --------------------------
1490 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1491 ac_fn_c_try_compile
()
1493 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1494 rm -f conftest.
$ac_objext
1495 if { { ac_try
="$ac_compile"
1497 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1498 *) ac_try_echo=$ac_try;;
1500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1501 $as_echo "$ac_try_echo"; } >&5
1502 (eval "$ac_compile") 2>conftest.err
1504 if test -s conftest.err; then
1505 grep -v '^ *+' conftest.err >conftest.er1
1506 cat conftest.er1 >&5
1507 mv -f conftest.er1 conftest.err
1509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1510 test $ac_status = 0; } && {
1511 test -z "$ac_c_werror_flag" ||
1512 test ! -s conftest.err
1513 } && test -s conftest.$ac_objext; then :
1516 $as_echo "$as_me: failed program was:" >&5
1517 sed 's/^/| /' conftest.$ac_ext >&5
1521 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1522 as_fn_set_status $ac_retval
1524 } # ac_fn_c_try_compile
1526 # ac_fn_c_try_link LINENO
1527 # -----------------------
1528 # Try to link conftest.$ac_ext, and return whether this succeeded.
1531 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1532 rm -f conftest.$ac_objext conftest$ac_exeext
1533 if { { ac_try="$ac_link"
1535 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1536 *) ac_try_echo
=$ac_try;;
1538 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1539 $as_echo "$ac_try_echo"; } >&5
1540 (eval "$ac_link") 2>conftest.err
1542 if test -s conftest.err
; then
1543 grep -v
'^ *+' conftest.err
>conftest.er1
1544 cat conftest.er1
>&5
1545 mv -f conftest.er1 conftest.err
1547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1548 test $ac_status = 0; } && {
1549 test -z
"$ac_c_werror_flag" ||
1550 test ! -s conftest.err
1551 } && test -s conftest
$ac_exeext && {
1552 test "$cross_compiling" = yes ||
1553 test -x conftest
$ac_exeext
1557 $as_echo "$as_me: failed program was:" >&5
1558 sed 's/^/| /' conftest.
$ac_ext >&5
1562 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1563 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1564 # interfere with the next link command; also delete a directory that is
1565 # left behind by Apple's compiler. We do this before executing the actions.
1566 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1567 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1568 as_fn_set_status
$ac_retval
1570 } # ac_fn_c_try_link
1572 # ac_fn_c_check_func LINENO FUNC VAR
1573 # ----------------------------------
1574 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1575 ac_fn_c_check_func
()
1577 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1579 $as_echo_n "checking for $2... " >&6; }
1580 if eval \
${$3+:} false
; then :
1581 $as_echo_n "(cached) " >&6
1583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1584 /* end confdefs.h. */
1585 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1587 #define $2 innocuous_$2
1589 /* System header to define __stub macros and hopefully few prototypes,
1590 which can conflict with char $2 (); below.
1591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1592 <limits.h> exists even on freestanding compilers. */
1595 # include <limits.h>
1597 # include <assert.h>
1602 /* Override any GCC internal prototype to avoid an error.
1603 Use char because int might match the return type of a GCC
1604 builtin and then its argument prototype would still apply. */
1609 /* The GNU C library defines this for functions which it implements
1610 to always fail with ENOSYS. Some functions are actually named
1611 something starting with __ and the normal name is an alias. */
1612 #if defined __stub_$2 || defined __stub___$2
1624 if ac_fn_c_try_link
"$LINENO"; then :
1629 rm -f core conftest.err conftest.
$ac_objext \
1630 conftest
$ac_exeext conftest.
$ac_ext
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1634 $as_echo "$ac_res" >&6; }
1635 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1637 } # ac_fn_c_check_func
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 distorted-utils $as_me 1.4.1.1, which was
1643 generated by GNU Autoconf 2.69. Invocation command line was
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 test -z
"$as_dir" && as_dir
=.
1679 $as_echo "PATH: $as_dir"
1695 # Keep a trace of the command line.
1696 # Strip out --no-create and --no-recursion so they do not pile up.
1697 # Strip out --silent because we don't want to record it for future runs.
1698 # Also quote any args containing shell meta-characters.
1699 # Make two passes to allow for proper duplicate-argument suppression.
1703 ac_must_keep_next
=false
1709 -no-create |
--no-c
* |
-n |
-no-recursion |
--no-r
*) continue ;;
1710 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1711 |
-silent |
--silent |
--silen |
--sile |
--sil
)
1714 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1717 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1719 as_fn_append ac_configure_args1
" '$ac_arg'"
1720 if test $ac_must_keep_next = true
; then
1721 ac_must_keep_next
=false
# Got value, back to normal.
1724 *=* |
--config-cache |
-C |
-disable-
* |
--disable-
* \
1725 |
-enable-
* |
--enable-
* |
-gas |
--g
* |
-nfp |
--nf
* \
1726 |
-q |
-quiet |
--q
* |
-silent |
--sil
* |
-v |
-verb
* \
1727 |
-with-
* |
--with-
* |
-without-
* |
--without-
* |
--x
)
1728 case "$ac_configure_args0 " in
1729 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1732 -* ) ac_must_keep_next
=true
;;
1735 as_fn_append ac_configure_args
" '$ac_arg'"
1740 { ac_configure_args0
=; unset ac_configure_args0
;}
1741 { ac_configure_args1
=; unset ac_configure_args1
;}
1743 # When interrupted or exit'd, cleanup temporary files, and complete
1744 # config.log. We remove comments because anyway the quotes in there
1745 # would cause problems or look ugly.
1746 # WARNING: Use '\'' to represent an apostrophe within the trap.
1747 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1748 trap 'exit_status=$?
1749 # Save into config.log some information that might help in debugging.
1753 $as_echo "## ---------------- ##
1754 ## Cache variables. ##
1755 ## ---------------- ##"
1757 # The following way of writing the cache mishandles newlines in values,
1759 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1760 eval ac_val=\$$ac_var
1764 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1765 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1768 _ | IFS | as_nl) ;; #(
1769 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1770 *) { eval $ac_var=; unset $ac_var;} ;;
1775 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1776 *${as_nl}ac_space=\ *)
1778 "s/'\''/'\''\\\\'\'''\''/g;
1779 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1782 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1789 $as_echo "## ----------------- ##
1790 ## Output variables. ##
1791 ## ----------------- ##"
1793 for ac_var in $ac_subst_vars
1795 eval ac_val=\$$ac_var
1797 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1799 $as_echo "$ac_var='\''$ac_val'\''"
1803 if test -n
"$ac_subst_files"; then
1804 $as_echo "## ------------------- ##
1805 ## File substitutions. ##
1806 ## ------------------- ##"
1808 for ac_var
in $ac_subst_files
1810 eval ac_val
=\$
$ac_var
1812 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1814 $as_echo "$ac_var='\''$ac_val'\''"
1819 if test -s confdefs.h; then
1820 $as_echo "## ----------- ##
1827 test "$ac_signal" != 0 &&
1828 $as_echo "$as_me: caught signal $ac_signal"
1829 $as_echo "$as_me: exit $exit_status"
1831 rm -f core *.core core.conftest.* &&
1832 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1835 for ac_signal
in 1 2 13 15; do
1836 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1840 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1841 rm -f
-r conftest
* confdefs.h
1843 $as_echo "/* confdefs.h */" > confdefs.h
1845 # Predefined preprocessor variables.
1847 cat >>confdefs.h
<<_ACEOF
1848 #define PACKAGE_NAME "$PACKAGE_NAME"
1851 cat >>confdefs.h
<<_ACEOF
1852 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1855 cat >>confdefs.h
<<_ACEOF
1856 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1859 cat >>confdefs.h
<<_ACEOF
1860 #define PACKAGE_STRING "$PACKAGE_STRING"
1863 cat >>confdefs.h
<<_ACEOF
1864 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1867 cat >>confdefs.h
<<_ACEOF
1868 #define PACKAGE_URL "$PACKAGE_URL"
1872 # Let the site file select an alternate cache file if it wants to.
1873 # Prefer an explicitly selected file to automatically selected ones.
1876 if test -n
"$CONFIG_SITE"; then
1877 # We do not want a PATH search for config.site.
1878 case $CONFIG_SITE in #((
1879 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1880 */*) ac_site_file1
=$CONFIG_SITE;;
1881 *) ac_site_file1
=.
/$CONFIG_SITE;;
1883 elif test "x$prefix" != xNONE
; then
1884 ac_site_file1
=$prefix/share
/config.site
1885 ac_site_file2
=$prefix/etc
/config.site
1887 ac_site_file1
=$ac_default_prefix/share
/config.site
1888 ac_site_file2
=$ac_default_prefix/etc
/config.site
1890 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1892 test "x$ac_site_file" = xNONE
&& continue
1893 if test /dev
/null
!= "$ac_site_file" && test -r
"$ac_site_file"; then
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1895 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1896 sed 's/^/| /' "$ac_site_file" >&5
1898 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1900 as_fn_error $?
"failed to load site script $ac_site_file
1901 See \`config.log' for more details" "$LINENO" 5; }
1905 if test -r
"$cache_file"; then
1906 # Some versions of bash will fail to source /dev/null (special files
1907 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1908 if test /dev
/null
!= "$cache_file" && test -f
"$cache_file"; then
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1910 $as_echo "$as_me: loading cache $cache_file" >&6;}
1912 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1913 *) .
"./$cache_file";;
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1918 $as_echo "$as_me: creating cache $cache_file" >&6;}
1922 # Check that the precious variables saved in the cache have kept the same
1924 ac_cache_corrupted
=false
1925 for ac_var
in $ac_precious_vars; do
1926 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1927 eval ac_new_set
=\
$ac_env_${ac_var}_set
1928 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1929 eval ac_new_val
=\
$ac_env_${ac_var}_value
1930 case $ac_old_set,$ac_new_set in
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1933 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1934 ac_cache_corrupted
=: ;;
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1937 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1938 ac_cache_corrupted
=: ;;
1941 if test "x$ac_old_val" != "x$ac_new_val"; then
1942 # differences in whitespace do not lead to failure.
1943 ac_old_val_w
=`echo x $ac_old_val`
1944 ac_new_val_w
=`echo x $ac_new_val`
1945 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1947 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1948 ac_cache_corrupted
=:
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1951 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1952 eval $ac_var=\
$ac_old_val
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1955 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1957 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1960 # Pass precious variables to config.status.
1961 if test "$ac_new_set" = set; then
1963 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1964 *) ac_arg
=$ac_var=$ac_new_val ;;
1966 case " $ac_configure_args " in
1967 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1968 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1972 if $ac_cache_corrupted; then
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1974 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1976 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1977 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1979 ## -------------------- ##
1980 ## Main body of script. ##
1981 ## -------------------- ##
1984 ac_cpp
='$CPP $CPPFLAGS'
1985 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1986 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1987 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1992 for ac_dir
in config
"$srcdir"/config
; do
1993 if test -f
"$ac_dir/install-sh"; then
1995 ac_install_sh
="$ac_aux_dir/install-sh -c"
1997 elif test -f
"$ac_dir/install.sh"; then
1999 ac_install_sh
="$ac_aux_dir/install.sh -c"
2001 elif test -f
"$ac_dir/shtool"; then
2003 ac_install_sh
="$ac_aux_dir/shtool install -c"
2007 if test -z
"$ac_aux_dir"; then
2008 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2011 # These three variables are undocumented and unsupported,
2012 # and are intended to be withdrawn in a future Autoconf release.
2013 # They can cause serious problems if a builder's source tree is in a directory
2014 # whose full name contains unusual characters.
2015 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2016 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2017 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2020 am__api_version
='1.11'
2022 # Find a good install program. We prefer a C program (faster),
2023 # so one script is as good as another. But avoid the broken or
2024 # incompatible versions:
2025 # SysV /etc/install, /usr/sbin/install
2026 # SunOS /usr/etc/install
2027 # IRIX /sbin/install
2029 # AmigaOS /C/install, which installs bootblocks on floppy discs
2030 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2031 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2032 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2033 # OS/2's system install, which has a completely different semantic
2034 # ./install, which can be erroneously created by make from ./install.sh.
2035 # Reject install programs that cannot install multiple files.
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2037 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2038 if test -z
"$INSTALL"; then
2039 if ${ac_cv_path_install+:} false
; then :
2040 $as_echo_n "(cached) " >&6
2042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2046 test -z
"$as_dir" && as_dir
=.
2047 # Account for people who put trailing slashes in PATH elements.
2048 case $as_dir/ in #((
2049 .
/ | .
// |
/[cC
]/* | \
2050 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2051 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2054 # OSF1 and SCO ODT 3.0 have their own names for install.
2055 # Don't use installbsd from OSF since it installs stuff as root
2057 for ac_prog
in ginstall scoinst
install; do
2058 for ac_exec_ext
in '' $ac_executable_extensions; do
2059 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2060 if test $ac_prog = install &&
2061 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2062 # AIX install. It has an incompatible calling convention.
2064 elif test $ac_prog = install &&
2065 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2066 # program-specific install script used by HP pwplus--don't use.
2069 rm -rf conftest.one conftest.two conftest.dir
2070 echo one
> conftest.one
2071 echo two
> conftest.two
2073 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2074 test -s conftest.one
&& test -s conftest.two
&&
2075 test -s conftest.dir
/conftest.one
&&
2076 test -s conftest.dir
/conftest.two
2078 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2091 rm -rf conftest.one conftest.two conftest.dir
2094 if test "${ac_cv_path_install+set}" = set; then
2095 INSTALL
=$ac_cv_path_install
2097 # As a last resort, use the slow shell script. Don't cache a
2098 # value for INSTALL within a source directory, because that will
2099 # break other packages using the cache if that directory is
2100 # removed, or if the value is a relative name.
2101 INSTALL
=$ac_install_sh
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2105 $as_echo "$INSTALL" >&6; }
2107 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2108 # It thinks the first close brace ends the variable substitution.
2109 test -z
"$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2111 test -z
"$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2113 test -z
"$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2116 $as_echo_n "checking whether build environment is sane... " >&6; }
2119 echo timestamp
> conftest.
file
2120 # Reject unsafe characters in $srcdir or the absolute working directory
2121 # name. Accept space and tab only in the latter.
2125 *[\\\"\
#\$\&\'\`$am_lf]*)
2126 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2129 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2130 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2133 # Do `set' in a subshell so we don't clobber the current shell's
2134 # arguments. Must try -L first in case configure is actually a
2135 # symlink; some systems play weird games with the mod time of symlinks
2136 # (eg FreeBSD returns the mod time of the symlink's containing
2139 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2140 if test "$*" = "X"; then
2142 set X
`ls -t "$srcdir/configure" conftest.file`
2145 if test "$*" != "X $srcdir/configure conftest.file" \
2146 && test "$*" != "X conftest.file $srcdir/configure"; then
2148 # If neither matched, then we have a broken ls. This can happen
2149 # if, for instance, CONFIG_SHELL is bash and it inherits a
2150 # broken ls alias from the environment. This has actually
2151 # happened. Such a system could not be considered "sane".
2152 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2153 alias in your environment" "$LINENO" 5
2156 test "$2" = conftest.
file
2162 as_fn_error $?
"newly created file is older than distributed files!
2163 Check your system clock" "$LINENO" 5
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2166 $as_echo "yes" >&6; }
2167 test "$program_prefix" != NONE
&&
2168 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2169 # Use a double $ so make ignores it.
2170 test "$program_suffix" != NONE
&&
2171 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2172 # Double any \ or $.
2173 # By default was `s,x,x', remove it if useless.
2174 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2175 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2177 # expand $ac_aux_dir to an absolute path
2178 am_aux_dir
=`cd $ac_aux_dir && pwd`
2180 if test x
"${MISSING+set}" != xset
; then
2183 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2185 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2188 # Use eval to expand $SHELL
2189 if eval "$MISSING --run true"; then
2190 am_missing_run
="$MISSING --run "
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2194 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2197 if test x
"${install_sh}" != xset
; then
2200 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2202 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2206 # Installed binaries are usually stripped using `strip' when the user
2207 # run `make install-strip'. However `strip' might not be the right
2208 # tool to use in cross-compilation environments, therefore Automake
2209 # will honor the `STRIP' environment variable to overrule this program.
2210 if test "$cross_compiling" != no
; then
2211 if test -n
"$ac_tool_prefix"; then
2212 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2213 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2215 $as_echo_n "checking for $ac_word... " >&6; }
2216 if ${ac_cv_prog_STRIP+:} false
; then :
2217 $as_echo_n "(cached) " >&6
2219 if test -n
"$STRIP"; then
2220 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2226 test -z
"$as_dir" && as_dir
=.
2227 for ac_exec_ext
in '' $ac_executable_extensions; do
2228 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2229 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2239 STRIP
=$ac_cv_prog_STRIP
2240 if test -n
"$STRIP"; then
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2242 $as_echo "$STRIP" >&6; }
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2245 $as_echo "no" >&6; }
2250 if test -z
"$ac_cv_prog_STRIP"; then
2252 # Extract the first word of "strip", so it can be a program name with args.
2253 set dummy strip
; ac_word
=$2
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2255 $as_echo_n "checking for $ac_word... " >&6; }
2256 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2257 $as_echo_n "(cached) " >&6
2259 if test -n
"$ac_ct_STRIP"; then
2260 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2266 test -z
"$as_dir" && as_dir
=.
2267 for ac_exec_ext
in '' $ac_executable_extensions; do
2268 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2269 ac_cv_prog_ac_ct_STRIP
="strip"
2270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2279 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2280 if test -n
"$ac_ct_STRIP"; then
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2282 $as_echo "$ac_ct_STRIP" >&6; }
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2285 $as_echo "no" >&6; }
2288 if test "x$ac_ct_STRIP" = x
; then
2291 case $cross_compiling:$ac_tool_warned in
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2294 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2295 ac_tool_warned
=yes ;;
2300 STRIP
="$ac_cv_prog_STRIP"
2304 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2307 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2308 if test -z
"$MKDIR_P"; then
2309 if ${ac_cv_path_mkdir+:} false
; then :
2310 $as_echo_n "(cached) " >&6
2312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2313 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2316 test -z
"$as_dir" && as_dir
=.
2317 for ac_prog
in mkdir gmkdir
; do
2318 for ac_exec_ext
in '' $ac_executable_extensions; do
2319 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2320 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2321 'mkdir (GNU coreutils) '* | \
2322 'mkdir (coreutils) '* | \
2323 'mkdir (fileutils) '4.1*)
2324 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2334 test -d .
/--version
&& rmdir .
/--version
2335 if test "${ac_cv_path_mkdir+set}" = set; then
2336 MKDIR_P
="$ac_cv_path_mkdir -p"
2338 # As a last resort, use the slow shell script. Don't cache a
2339 # value for MKDIR_P within a source directory, because that will
2340 # break other packages using the cache if that directory is
2341 # removed, or if the value is a relative name.
2342 MKDIR_P
="$ac_install_sh -d"
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2346 $as_echo "$MKDIR_P" >&6; }
2350 [\\/$
]* | ?
:[\\/]*) ;;
2351 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2354 for ac_prog
in gawk mawk nawk
awk
2356 # Extract the first word of "$ac_prog", so it can be a program name with args.
2357 set dummy
$ac_prog; ac_word
=$2
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2359 $as_echo_n "checking for $ac_word... " >&6; }
2360 if ${ac_cv_prog_AWK+:} false
; then :
2361 $as_echo_n "(cached) " >&6
2363 if test -n
"$AWK"; then
2364 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2370 test -z
"$as_dir" && as_dir
=.
2371 for ac_exec_ext
in '' $ac_executable_extensions; do
2372 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2373 ac_cv_prog_AWK
="$ac_prog"
2374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2384 if test -n
"$AWK"; then
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2386 $as_echo "$AWK" >&6; }
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2389 $as_echo "no" >&6; }
2393 test -n
"$AWK" && break
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2397 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2399 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2400 if eval \
${ac_cv_prog_make_${ac_make}_set
+:} false
; then :
2401 $as_echo_n "(cached) " >&6
2403 cat >conftest.
make <<\_ACEOF
2406 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2408 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2409 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2411 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2413 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2417 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2419 $as_echo "yes" >&6; }
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2423 $as_echo "no" >&6; }
2424 SET_MAKE
="MAKE=${MAKE-make}"
2427 rm -rf .tst
2>/dev
/null
2428 mkdir .tst
2>/dev
/null
2429 if test -d .tst
; then
2434 rmdir .tst
2>/dev
/null
2436 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2437 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2438 # is not polluted with repeated "-I."
2439 am__isrc
=' -I$(srcdir)'
2440 # test to see if srcdir already configured
2441 if test -f
$srcdir/config.status
; then
2442 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2446 # test whether we have cygpath
2447 if test -z
"$CYGPATH_W"; then
2448 if (cygpath
--version
) >/dev
/null
2>/dev
/null
; then
2449 CYGPATH_W
='cygpath -w'
2456 # Define the identity of the package.
2457 PACKAGE
='distorted-utils'
2461 cat >>confdefs.h
<<_ACEOF
2462 #define PACKAGE "$PACKAGE"
2466 cat >>confdefs.h
<<_ACEOF
2467 #define VERSION "$VERSION"
2470 # Some tools Automake needs.
2472 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-
${am__api_version}"}
2475 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2478 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-
${am__api_version}"}
2481 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2484 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo
"}
2486 # We need awk for the "check
" target. The system "awk" is bad on
2488 # Always define AMTAR for backward compatibility. Yes, it's still used
2489 # in the wild :-( We should find a proper way to deprecate it ...
2492 am__tar='$${TAR-tar} chof - "$
$tardir"' am__untar='$${TAR-tar} xf -'
2500 # Check whether --enable-silent-rules was given.
2501 if test "${enable_silent_rules+set}" = set; then :
2502 enableval=$enable_silent_rules;
2505 case $enable_silent_rules in
2506 yes) AM_DEFAULT_VERBOSITY=0;;
2507 no) AM_DEFAULT_VERBOSITY=1;;
2508 *) AM_DEFAULT_VERBOSITY=0;;
2510 am_make=${MAKE-make}
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$am_make supports nested variables
" >&5
2512 $as_echo_n "checking whether
$am_make supports nested variables...
" >&6; }
2513 if ${am_cv_make_support_nested_variables+:} false; then :
2514 $as_echo_n "(cached
) " >&6
2516 if $as_echo 'TRUE=$(BAR$(V))
2522 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2523 am_cv_make_support_nested_variables=yes
2525 am_cv_make_support_nested_variables=no
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $am_cv_make_support_nested_variables" >&5
2529 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2530 if test $am_cv_make_support_nested_variables = yes; then
2532 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2534 AM_V=$AM_DEFAULT_VERBOSITY
2535 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2543 # Check whether --with-logdir was given.
2544 if test "${with_logdir+set}" = set; then :
2545 withval=$with_logdir; logdir=$withval
2548 for i in /var/log /var/adm; do
2549 if test -d $i; then logdir=$i; break; fi
2555 # Make sure we can run config.sub.
2556 $SHELL "$ac_aux_dir/config.sub
" sun4 >/dev/null 2>&1 ||
2557 as_fn_error $? "cannot run
$SHELL $ac_aux_dir/config.sub
" "$LINENO" 5
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system
type" >&5
2560 $as_echo_n "checking build system
type...
" >&6; }
2561 if ${ac_cv_build+:} false; then :
2562 $as_echo_n "(cached
) " >&6
2564 ac_build_alias=$build_alias
2565 test "x
$ac_build_alias" = x &&
2566 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess
"`
2567 test "x
$ac_build_alias" = x &&
2568 as_fn_error $? "cannot guess build
type; you must specify one
" "$LINENO" 5
2569 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub
" $ac_build_alias` ||
2570 as_fn_error $? "$SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" "$LINENO" 5
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_build" >&5
2574 $as_echo "$ac_cv_build" >&6; }
2575 case $ac_cv_build in
2577 *) as_fn_error $? "invalid value of canonical build
" "$LINENO" 5;;
2580 ac_save_IFS=$IFS; IFS='-'
2586 # Remember, the first character of IFS is used to create $*,
2587 # except with old shells:
2590 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
host system
type" >&5
2594 $as_echo_n "checking
host system
type...
" >&6; }
2595 if ${ac_cv_host+:} false; then :
2596 $as_echo_n "(cached
) " >&6
2598 if test "x
$host_alias" = x; then
2599 ac_cv_host=$ac_cv_build
2601 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub
" $host_alias` ||
2602 as_fn_error $? "$SHELL $ac_aux_dir/config.sub
$host_alias failed
" "$LINENO" 5
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_host" >&5
2607 $as_echo "$ac_cv_host" >&6; }
2610 *) as_fn_error $? "invalid value of canonical
host" "$LINENO" 5;;
2613 ac_save_IFS=$IFS; IFS='-'
2619 # Remember, the first character of IFS is used to create $*,
2620 # except with old shells:
2623 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2630 ac_cpp='$CPP $CPPFLAGS'
2631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2634 if test -n "$ac_tool_prefix"; then
2635 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
2636 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2638 $as_echo_n "checking
for $ac_word...
" >&6; }
2639 if ${ac_cv_prog_CC+:} false; then :
2640 $as_echo_n "(cached
) " >&6
2642 if test -n "$CC"; then
2643 ac_cv_prog_CC="$CC" # Let the user override the test.
2645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2649 test -z "$as_dir" && as_dir=.
2650 for ac_exec_ext in '' $ac_executable_extensions; do
2651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2652 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
2653 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2663 if test -n "$CC"; then
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2665 $as_echo "$CC" >&6; }
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2668 $as_echo "no
" >&6; }
2673 if test -z "$ac_cv_prog_CC"; then
2675 # Extract the first word of "gcc
", so it can be a program name with args.
2676 set dummy gcc; ac_word=$2
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2678 $as_echo_n "checking
for $ac_word...
" >&6; }
2679 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2680 $as_echo_n "(cached
) " >&6
2682 if test -n "$ac_ct_CC"; then
2683 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2689 test -z "$as_dir" && as_dir=.
2690 for ac_exec_ext in '' $ac_executable_extensions; do
2691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2692 ac_cv_prog_ac_ct_CC="gcc
"
2693 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2702 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2703 if test -n "$ac_ct_CC"; then
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
2705 $as_echo "$ac_ct_CC" >&6; }
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2708 $as_echo "no
" >&6; }
2711 if test "x
$ac_ct_CC" = x; then
2714 case $cross_compiling:$ac_tool_warned in
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2717 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2718 ac_tool_warned=yes ;;
2726 if test -z "$CC"; then
2727 if test -n "$ac_tool_prefix"; then
2728 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
2729 set dummy ${ac_tool_prefix}cc; ac_word=$2
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2731 $as_echo_n "checking
for $ac_word...
" >&6; }
2732 if ${ac_cv_prog_CC+:} false; then :
2733 $as_echo_n "(cached
) " >&6
2735 if test -n "$CC"; then
2736 ac_cv_prog_CC="$CC" # Let the user override the test.
2738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2742 test -z "$as_dir" && as_dir=.
2743 for ac_exec_ext in '' $ac_executable_extensions; do
2744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2745 ac_cv_prog_CC="${ac_tool_prefix}cc
"
2746 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2756 if test -n "$CC"; then
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2758 $as_echo "$CC" >&6; }
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2761 $as_echo "no
" >&6; }
2767 if test -z "$CC"; then
2768 # Extract the first word of "cc
", so it can be a program name with args.
2769 set dummy cc; ac_word=$2
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2771 $as_echo_n "checking
for $ac_word...
" >&6; }
2772 if ${ac_cv_prog_CC+:} false; then :
2773 $as_echo_n "(cached
) " >&6
2775 if test -n "$CC"; then
2776 ac_cv_prog_CC="$CC" # Let the user override the test.
2779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2783 test -z "$as_dir" && as_dir=.
2784 for ac_exec_ext in '' $ac_executable_extensions; do
2785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2786 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
2787 ac_prog_rejected=yes
2791 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2798 if test $ac_prog_rejected = yes; then
2799 # We found a bogon in the path, so make sure we never use it.
2800 set dummy $ac_cv_prog_CC
2802 if test $# != 0; then
2803 # We chose a different compiler from the bogus one.
2804 # However, it has the same basename, so the bogon will be chosen
2805 # first if we set CC to just the basename; use the full file name.
2807 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
2813 if test -n "$CC"; then
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2815 $as_echo "$CC" >&6; }
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2818 $as_echo "no
" >&6; }
2823 if test -z "$CC"; then
2824 if test -n "$ac_tool_prefix"; then
2825 for ac_prog in cl.exe
2827 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2828 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2830 $as_echo_n "checking
for $ac_word...
" >&6; }
2831 if ${ac_cv_prog_CC+:} false; then :
2832 $as_echo_n "(cached
) " >&6
2834 if test -n "$CC"; then
2835 ac_cv_prog_CC="$CC" # Let the user override the test.
2837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2841 test -z "$as_dir" && as_dir=.
2842 for ac_exec_ext in '' $ac_executable_extensions; do
2843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2844 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2845 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2855 if test -n "$CC"; then
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2857 $as_echo "$CC" >&6; }
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2860 $as_echo "no
" >&6; }
2864 test -n "$CC" && break
2867 if test -z "$CC"; then
2869 for ac_prog in cl.exe
2871 # Extract the first word of "$ac_prog", so it can be a program name with args.
2872 set dummy $ac_prog; ac_word=$2
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2874 $as_echo_n "checking
for $ac_word...
" >&6; }
2875 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2876 $as_echo_n "(cached
) " >&6
2878 if test -n "$ac_ct_CC"; then
2879 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2885 test -z "$as_dir" && as_dir=.
2886 for ac_exec_ext in '' $ac_executable_extensions; do
2887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2888 ac_cv_prog_ac_ct_CC="$ac_prog"
2889 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2898 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2899 if test -n "$ac_ct_CC"; then
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
2901 $as_echo "$ac_ct_CC" >&6; }
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2904 $as_echo "no
" >&6; }
2908 test -n "$ac_ct_CC" && break
2911 if test "x
$ac_ct_CC" = x; then
2914 case $cross_compiling:$ac_tool_warned in
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2917 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2918 ac_tool_warned=yes ;;
2927 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2928 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2929 as_fn_error $? "no acceptable C compiler found in \$PATH
2930 See \`config.log' for more details
" "$LINENO" 5; }
2932 # Provide some information about the compiler.
2933 $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C compiler version
" >&5
2936 for ac_option in --version -v -V -qversion; do
2937 { { ac_try="$ac_compiler $ac_option >&5"
2939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2940 *) ac_try_echo=$ac_try;;
2942 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2943 $as_echo "$ac_try_echo"; } >&5
2944 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2946 if test -s conftest.err; then
2948 ... rest of stderr output deleted ...
2949 10q' conftest.err >conftest.er1
2950 cat conftest.er1 >&5
2952 rm -f conftest.er1 conftest.err
2953 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
2954 test $ac_status = 0; }
2957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2958 /* end confdefs.h. */
2968 ac_clean_files_save=$ac_clean_files
2969 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out
"
2970 # Try to create an executable without -o first, disregard a.out.
2971 # It will help us diagnose broken compilers, and finding out an intuition
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works
" >&5
2974 $as_echo_n "checking whether the C compiler works...
" >&6; }
2975 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2977 # The possible output files:
2978 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.
*"
2981 for ac_file in $ac_files
2984 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2985 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2990 if { { ac_try="$ac_link_default"
2992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2993 *) ac_try_echo=$ac_try;;
2995 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2996 $as_echo "$ac_try_echo"; } >&5
2997 (eval "$ac_link_default") 2>&5
2999 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3000 test $ac_status = 0; }; then :
3001 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3002 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3003 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3004 # so that the user can short-circuit this test for compilers unknown to
3006 for ac_file in $ac_files ''
3008 test -f "$ac_file" || continue
3010 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3013 # We found the default executable, but exeext='' is most
3017 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3019 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3021 # We set ac_cv_exeext here because the later test for it is not
3022 # safe: cross compilers may not add the suffix if given an `-o'
3023 # argument, so we may need to know it at that point already.
3024 # Even if this section looks crufty: it has the advantage of
3031 test "$ac_cv_exeext" = no && ac_cv_exeext=
3036 if test -z "$ac_file"; then :
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3038 $as_echo "no
" >&6; }
3039 $as_echo "$as_me: failed program was
:" >&5
3040 sed 's/^/| /' conftest.$ac_ext >&5
3042 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3043 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3044 as_fn_error 77 "C compiler cannot create executables
3045 See \`config.log' for more details
" "$LINENO" 5; }
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
3048 $as_echo "yes" >&6; }
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C compiler default output
file name
" >&5
3051 $as_echo_n "checking
for C compiler default output
file name...
" >&6; }
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_file" >&5
3053 $as_echo "$ac_file" >&6; }
3054 ac_exeext=$ac_cv_exeext
3056 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3057 ac_clean_files=$ac_clean_files_save
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
3059 $as_echo_n "checking
for suffix of executables...
" >&6; }
3060 if { { ac_try="$ac_link"
3062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3063 *) ac_try_echo=$ac_try;;
3065 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3066 $as_echo "$ac_try_echo"; } >&5
3067 (eval "$ac_link") 2>&5
3069 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3070 test $ac_status = 0; }; then :
3071 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3072 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3073 # work properly (i.e., refer to `conftest.exe'), while it won't with
3075 for ac_file in conftest.exe conftest conftest.*; do
3076 test -f "$ac_file" || continue
3078 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3079 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3085 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3087 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3088 See \`config.log' for more details
" "$LINENO" 5; }
3090 rm -f conftest conftest$ac_cv_exeext
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
3092 $as_echo "$ac_cv_exeext" >&6; }
3094 rm -f conftest.$ac_ext
3095 EXEEXT=$ac_cv_exeext
3097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3098 /* end confdefs.h. */
3103 FILE *f = fopen ("conftest.out
", "w
");
3104 return ferror (f) || fclose (f) != 0;
3110 ac_clean_files="$ac_clean_files conftest.out
"
3111 # Check that the compiler produces executables we can run. If not, either
3112 # the compiler is broken, or we cross compile.
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
3114 $as_echo_n "checking whether we are cross compiling...
" >&6; }
3115 if test "$cross_compiling" != yes; then
3116 { { ac_try="$ac_link"
3118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3119 *) ac_try_echo=$ac_try;;
3121 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3122 $as_echo "$ac_try_echo"; } >&5
3123 (eval "$ac_link") 2>&5
3125 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3126 test $ac_status = 0; }
3127 if { ac_try='./conftest$ac_cv_exeext'
3128 { { case "(($ac_try" in
3129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3130 *) ac_try_echo=$ac_try;;
3132 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3133 $as_echo "$ac_try_echo"; } >&5
3134 (eval "$ac_try") 2>&5
3136 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3137 test $ac_status = 0; }; }; then
3140 if test "$cross_compiling" = maybe; then
3143 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3144 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3145 as_fn_error $? "cannot run C compiled programs.
3146 If you meant to cross compile, use \`--host'.
3147 See \
`config.log' for more details" "$LINENO" 5; }
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3152 $as_echo "$cross_compiling" >&6; }
3154 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3155 ac_clean_files=$ac_clean_files_save
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3157 $as_echo_n "checking for suffix of object files... " >&6; }
3158 if ${ac_cv_objext+:} false; then :
3159 $as_echo_n "(cached) " >&6
3161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3162 /* end confdefs.h. */
3172 rm -f conftest.o conftest.obj
3173 if { { ac_try="$ac_compile"
3175 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3176 *) ac_try_echo
=$ac_try;;
3178 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3179 $as_echo "$ac_try_echo"; } >&5
3180 (eval "$ac_compile") 2>&5
3182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3183 test $ac_status = 0; }; then :
3184 for ac_file
in conftest.o conftest.obj conftest.
*; do
3185 test -f
"$ac_file" ||
continue;
3187 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
3188 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3193 $as_echo "$as_me: failed program was:" >&5
3194 sed 's/^/| /' conftest.
$ac_ext >&5
3196 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3198 as_fn_error $?
"cannot compute suffix of object files: cannot compile
3199 See \`config.log' for more details" "$LINENO" 5; }
3201 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3204 $as_echo "$ac_cv_objext" >&6; }
3205 OBJEXT
=$ac_cv_objext
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3208 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3209 if ${ac_cv_c_compiler_gnu+:} false
; then :
3210 $as_echo_n "(cached) " >&6
3212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3213 /* end confdefs.h. */
3226 if ac_fn_c_try_compile
"$LINENO"; then :
3231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3232 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3236 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3237 if test $ac_compiler_gnu = yes; then
3242 ac_test_CFLAGS
=${CFLAGS+set}
3243 ac_save_CFLAGS
=$CFLAGS
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3245 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3246 if ${ac_cv_prog_cc_g+:} false
; then :
3247 $as_echo_n "(cached) " >&6
3249 ac_save_c_werror_flag
=$ac_c_werror_flag
3250 ac_c_werror_flag
=yes
3253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3254 /* end confdefs.h. */
3264 if ac_fn_c_try_compile
"$LINENO"; then :
3268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3269 /* end confdefs.h. */
3279 if ac_fn_c_try_compile
"$LINENO"; then :
3282 ac_c_werror_flag
=$ac_save_c_werror_flag
3284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3285 /* end confdefs.h. */
3295 if ac_fn_c_try_compile
"$LINENO"; then :
3298 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3300 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3302 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3303 ac_c_werror_flag
=$ac_save_c_werror_flag
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3306 $as_echo "$ac_cv_prog_cc_g" >&6; }
3307 if test "$ac_test_CFLAGS" = set; then
3308 CFLAGS
=$ac_save_CFLAGS
3309 elif test $ac_cv_prog_cc_g = yes; then
3310 if test "$GCC" = yes; then
3316 if test "$GCC" = yes; then
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3323 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3324 if ${ac_cv_prog_cc_c89+:} false
; then :
3325 $as_echo_n "(cached) " >&6
3327 ac_cv_prog_cc_c89
=no
3329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3330 /* end confdefs.h. */
3334 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3335 struct buf { int x; };
3336 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3337 static char *e (p, i)
3343 static char *f (char * (*g) (char **, int), char **p, ...)
3348 s = g (p, va_arg (v,int));
3353 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3354 function prototypes and stuff, but not '\xHH' hex character constants.
3355 These don't provoke an error unfortunately, instead are silently treated
3356 as 'x'. The following induces an error, until -std is added to get
3357 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3358 array size at least. It's necessary to write '\x00'==0 to get something
3359 that's true only with -std. */
3360 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3362 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3363 inside strings and character constants. */
3365 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3367 int test (int i, double x);
3368 struct s1 {int (*f) (int a);};
3369 struct s2 {int (*f) (double a);};
3370 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3376 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3381 for ac_arg
in '' -qlanglvl
=extc89
-qlanglvl
=ansi
-std \
3382 -Ae
"-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3384 CC
="$ac_save_CC $ac_arg"
3385 if ac_fn_c_try_compile
"$LINENO"; then :
3386 ac_cv_prog_cc_c89
=$ac_arg
3388 rm -f core conftest.err conftest.
$ac_objext
3389 test "x$ac_cv_prog_cc_c89" != "xno" && break
3391 rm -f conftest.
$ac_ext
3396 case "x$ac_cv_prog_cc_c89" in
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3399 $as_echo "none needed" >&6; } ;;
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3402 $as_echo "unsupported" >&6; } ;;
3404 CC
="$CC $ac_cv_prog_cc_c89"
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3406 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3408 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3413 ac_cpp
='$CPP $CPPFLAGS'
3414 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3415 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3416 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3417 DEPDIR
="${am__leading_dot}deps"
3419 ac_config_commands
="$ac_config_commands depfiles"
3422 am_make
=${MAKE-make}
3423 cat > confinc
<< 'END'
3425 @
echo this is the am__doit target
3428 # If we don't find an include directive, just comment out the code.
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3430 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3434 # First try GNU make style include.
3435 echo "include confinc" > confmf
3436 # Ignore all kinds of additional output from `make'.
3437 case `$am_make -s -f confmf 2> /dev/null` in #(
3438 *the\ am__doit\ target
*)
3444 # Now try BSD make style include.
3445 if test "$am__include" = "#"; then
3446 echo '.include "confinc"' > confmf
3447 case `$am_make -s -f confmf 2> /dev/null` in #(
3448 *the\ am__doit\ target
*)
3449 am__include
=.include
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3458 $as_echo "$_am_result" >&6; }
3459 rm -f confinc confmf
3461 # Check whether --enable-dependency-tracking was given.
3462 if test "${enable_dependency_tracking+set}" = set; then :
3463 enableval
=$enable_dependency_tracking;
3466 if test "x$enable_dependency_tracking" != xno
; then
3467 am_depcomp
="$ac_aux_dir/depcomp"
3471 if test "x$enable_dependency_tracking" != xno; then
3481 depcc
="$CC" am_compiler_list
=
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3484 $as_echo_n "checking dependency style of $depcc... " >&6; }
3485 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
3486 $as_echo_n "(cached) " >&6
3488 if test -z
"$AMDEP_TRUE" && test -f
"$am_depcomp"; then
3489 # We make a subdir and do the tests there. Otherwise we can end up
3490 # making bogus files that we don't know about and never remove. For
3491 # instance it was reported that on HP-UX the gcc test will end up
3492 # making a dummy file named `D' -- because `-MD' means `put the output
3496 # Copy depcomp to subdir because otherwise we won't find it if we're
3497 # using a relative directory.
3498 cp "$am_depcomp" conftest.dir
3500 # We will build objects and dependencies in a subdirectory because
3501 # it helps to detect inapplicable dependency modes. For instance
3502 # both Tru64's cc and ICC support -MD to output dependencies as a
3503 # side effect of compilation, but ICC will put the dependencies in
3504 # the current directory while Tru64 will put them in the object
3508 am_cv_CC_dependencies_compiler_type
=none
3509 if test "$am_compiler_list" = ""; then
3510 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3513 case " $depcc " in #(
3514 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3517 for depmode
in $am_compiler_list; do
3518 # Setup a source with many dependencies, because some compilers
3519 # like to wrap large dependency lists on column 80 (with \), and
3520 # we should not choose a depcomp mode which is confused by this.
3522 # We need to recreate these files for each test, as the compiler may
3523 # overwrite some of them when testing with obscure command lines.
3524 # This happens at least with the AIX C compiler.
3526 for i
in 1 2 3 4 5 6; do
3527 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3528 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3529 # Solaris 8's {/usr,}/bin/sh.
3530 touch sub
/conftst
$i.h
3532 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3534 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3535 # mode. It turns out that the SunPro C++ compiler does not properly
3536 # handle `-M -o', and we need to detect this. Also, some Intel
3537 # versions had trouble with output in subdirs
3538 am__obj
=sub
/conftest.
${OBJEXT-o}
3539 am__minus_obj
="-o $am__obj"
3542 # This depmode causes a compiler race in universal mode.
3543 test "$am__universal" = false ||
continue
3546 # after this tag, mechanisms are not by side-effect, so they'll
3547 # only be used when explicitly requested
3548 if test "x$enable_dependency_tracking" = xyes
; then
3554 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
3555 # This compiler won't grok `-c -o', but also, the minuso test has
3556 # not run yet. These depmodes are late enough in the game, and
3557 # so weak that their functioning should not be impacted.
3558 am__obj
=conftest.
${OBJEXT-o}
3563 if depmode
=$depmode \
3564 source=sub
/conftest.c object
=$am__obj \
3565 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3566 $SHELL .
/depcomp
$depcc -c
$am__minus_obj sub
/conftest.c \
3567 >/dev
/null
2>conftest.err
&&
3568 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3569 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3570 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3571 ${MAKE-make} -s
-f confmf
> /dev
/null
2>&1; then
3572 # icc doesn't choke on unknown options, it will just issue warnings
3573 # or remarks (even with -Werror). So we grep stderr for any message
3574 # that says an option was ignored or not supported.
3575 # When given -MP, icc 7.0 and 7.1 complain thusly:
3576 # icc: Command line warning: ignoring option '-M'; no argument required
3577 # The diagnosis changed in icc 8.0:
3578 # icc: Command line remark: option '-MP' not supported
3579 if (grep 'ignoring option' conftest.err ||
3580 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3581 am_cv_CC_dependencies_compiler_type
=$depmode
3590 am_cv_CC_dependencies_compiler_type
=none
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3595 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3596 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3599 test "x$enable_dependency_tracking" != xno \
3600 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3602 am__fastdepCC_FALSE
='#'
3604 am__fastdepCC_TRUE
='#'
3605 am__fastdepCC_FALSE
=
3611 ac_cpp
='$CPP $CPPFLAGS'
3612 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3613 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3614 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
3617 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
3618 if ${ac_cv_cflags_warn_all+:} false
; then :
3619 $as_echo_n "(cached) " >&6
3621 ac_cv_cflags_warn_all
="no, unknown"
3622 ac_save_CFLAGS
="$CFLAGS"
3623 for ac_arg
in "-warn all % -warn all" "-pedantic % -Wall" "-xstrconst % -v" "-std1 % -verbose -w0 -warnprotos" "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" "-ansi -ansiE % -fullwarn" "+ESlit % +w1" "-Xc % -pvctl,fullmsg" "-h conform % -h msglevel 2" #
3624 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
3625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3626 /* end confdefs.h. */
3636 if ac_fn_c_try_compile
"$LINENO"; then :
3637 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
3639 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3641 CFLAGS
="$ac_save_CFLAGS"
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
3645 $as_echo "$ac_cv_cflags_warn_all" >&6; }
3646 case ".$ac_cv_cflags_warn_all" in
3649 *) if ${CFLAGS+:} false
; then :
3651 *" $ac_cv_cflags_warn_all "*)
3652 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
3653 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
3655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3656 test $ac_status = 0; }
3659 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
3660 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
3662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3663 test $ac_status = 0; }
3664 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
3668 CFLAGS
="$ac_cv_cflags_warn_all"
3674 ac_cpp
='$CPP $CPPFLAGS'
3675 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3676 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3677 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5
3684 $as_echo_n "checking for library containing floor... " >&6; }
3685 if ${ac_cv_search_floor+:} false
; then :
3686 $as_echo_n "(cached) " >&6
3688 ac_func_search_save_LIBS
=$LIBS
3689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3690 /* end confdefs.h. */
3692 /* Override any GCC internal prototype to avoid an error.
3693 Use char because int might match the return type of a GCC
3694 builtin and then its argument prototype would still apply. */
3707 for ac_lib
in '' m
; do
3708 if test -z
"$ac_lib"; then
3709 ac_res
="none required"
3712 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3714 if ac_fn_c_try_link
"$LINENO"; then :
3715 ac_cv_search_floor
=$ac_res
3717 rm -f core conftest.err conftest.
$ac_objext \
3719 if ${ac_cv_search_floor+:} false
; then :
3723 if ${ac_cv_search_floor+:} false
; then :
3726 ac_cv_search_floor
=no
3729 LIBS
=$ac_func_search_save_LIBS
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_floor" >&5
3732 $as_echo "$ac_cv_search_floor" >&6; }
3733 ac_res
=$ac_cv_search_floor
3734 if test "$ac_res" != no
; then :
3735 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cdb_seek in -lcdb" >&5
3744 $as_echo_n "checking for cdb_seek in -lcdb... " >&6; }
3745 if ${ac_cv_lib_cdb_cdb_seek+:} false
; then :
3746 $as_echo_n "(cached) " >&6
3748 ac_check_lib_save_LIBS
=$LIBS
3750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3751 /* end confdefs.h. */
3753 /* Override any GCC internal prototype to avoid an error.
3754 Use char because int might match the return type of a GCC
3755 builtin and then its argument prototype would still apply. */
3768 if ac_fn_c_try_link
"$LINENO"; then :
3769 ac_cv_lib_cdb_cdb_seek
=yes
3771 ac_cv_lib_cdb_cdb_seek
=no
3773 rm -f core conftest.err conftest.
$ac_objext \
3774 conftest
$ac_exeext conftest.
$ac_ext
3775 LIBS
=$ac_check_lib_save_LIBS
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdb_cdb_seek" >&5
3778 $as_echo "$ac_cv_lib_cdb_cdb_seek" >&6; }
3779 if test "x$ac_cv_lib_cdb_cdb_seek" = xyes
; then :
3785 if test $have_cdb = yes; then
3787 HAVE_LIBCDB_FALSE
='#'
3789 HAVE_LIBCDB_TRUE
='#'
3802 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3803 if test -n
"$ac_tool_prefix"; then
3804 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3805 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3807 $as_echo_n "checking for $ac_word... " >&6; }
3808 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
3809 $as_echo_n "(cached) " >&6
3813 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
3816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3820 test -z
"$as_dir" && as_dir
=.
3821 for ac_exec_ext
in '' $ac_executable_extensions; do
3822 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3823 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
3824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3834 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
3835 if test -n
"$PKG_CONFIG"; then
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3837 $as_echo "$PKG_CONFIG" >&6; }
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3840 $as_echo "no" >&6; }
3845 if test -z
"$ac_cv_path_PKG_CONFIG"; then
3846 ac_pt_PKG_CONFIG
=$PKG_CONFIG
3847 # Extract the first word of "pkg-config", so it can be a program name with args.
3848 set dummy pkg-config
; ac_word
=$2
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3850 $as_echo_n "checking for $ac_word... " >&6; }
3851 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
3852 $as_echo_n "(cached) " >&6
3854 case $ac_pt_PKG_CONFIG in
3856 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3863 test -z
"$as_dir" && as_dir
=.
3864 for ac_exec_ext
in '' $ac_executable_extensions; do
3865 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3866 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
3867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3877 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
3878 if test -n
"$ac_pt_PKG_CONFIG"; then
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3880 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3883 $as_echo "no" >&6; }
3886 if test "x$ac_pt_PKG_CONFIG" = x
; then
3889 case $cross_compiling:$ac_tool_warned in
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3892 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3893 ac_tool_warned
=yes ;;
3895 PKG_CONFIG
=$ac_pt_PKG_CONFIG
3898 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
3902 if test -n
"$PKG_CONFIG"; then
3903 _pkg_min_version
=0.9.0
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3905 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3906 if $PKG_CONFIG --atleast-pkgconfig-version
$_pkg_min_version; then
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3908 $as_echo "yes" >&6; }
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3911 $as_echo "no" >&6; }
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mLib" >&5
3918 $as_echo_n "checking for mLib... " >&6; }
3920 if test -n
"$mLib_CFLAGS"; then
3921 pkg_cv_mLib_CFLAGS
="$mLib_CFLAGS"
3922 elif test -n
"$PKG_CONFIG"; then
3923 if test -n
"$PKG_CONFIG" && \
3924 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mLib >= 2.0.4\""; } >&5
3925 ($PKG_CONFIG --exists
--print-errors
"mLib >= 2.0.4") 2>&5
3927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3928 test $ac_status = 0; }; then
3929 pkg_cv_mLib_CFLAGS
=`$PKG_CONFIG --cflags "mLib >= 2.0.4" 2>/dev/null`
3930 test "x$?" != "x0" && pkg_failed
=yes
3937 if test -n
"$mLib_LIBS"; then
3938 pkg_cv_mLib_LIBS
="$mLib_LIBS"
3939 elif test -n
"$PKG_CONFIG"; then
3940 if test -n
"$PKG_CONFIG" && \
3941 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mLib >= 2.0.4\""; } >&5
3942 ($PKG_CONFIG --exists
--print-errors
"mLib >= 2.0.4") 2>&5
3944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3945 test $ac_status = 0; }; then
3946 pkg_cv_mLib_LIBS
=`$PKG_CONFIG --libs "mLib >= 2.0.4" 2>/dev/null`
3947 test "x$?" != "x0" && pkg_failed
=yes
3957 if test $pkg_failed = yes; then
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3959 $as_echo "no" >&6; }
3961 if $PKG_CONFIG --atleast-pkgconfig-version
0.20; then
3962 _pkg_short_errors_supported
=yes
3964 _pkg_short_errors_supported
=no
3966 if test $_pkg_short_errors_supported = yes; then
3967 mLib_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mLib >= 2.0.4" 2>&1`
3969 mLib_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "mLib >= 2.0.4" 2>&1`
3971 # Put the nasty error message in config.log where it belongs
3972 echo "$mLib_PKG_ERRORS" >&5
3975 elif test $pkg_failed = untried
; then
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3977 $as_echo "no" >&6; }
3980 mLib_CFLAGS
=$pkg_cv_mLib_CFLAGS
3981 mLib_LIBS
=$pkg_cv_mLib_LIBS
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3983 $as_echo "yes" >&6; }
3986 if test $have_mLib = yes; then
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catacomb" >&5
3998 $as_echo_n "checking for catacomb... " >&6; }
4000 if test -n
"$catacomb_CFLAGS"; then
4001 pkg_cv_catacomb_CFLAGS
="$catacomb_CFLAGS"
4002 elif test -n
"$PKG_CONFIG"; then
4003 if test -n
"$PKG_CONFIG" && \
4004 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"catacomb >= 2.1.1\""; } >&5
4005 ($PKG_CONFIG --exists
--print-errors
"catacomb >= 2.1.1") 2>&5
4007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4008 test $ac_status = 0; }; then
4009 pkg_cv_catacomb_CFLAGS
=`$PKG_CONFIG --cflags "catacomb >= 2.1.1" 2>/dev/null`
4010 test "x$?" != "x0" && pkg_failed
=yes
4017 if test -n
"$catacomb_LIBS"; then
4018 pkg_cv_catacomb_LIBS
="$catacomb_LIBS"
4019 elif test -n
"$PKG_CONFIG"; then
4020 if test -n
"$PKG_CONFIG" && \
4021 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"catacomb >= 2.1.1\""; } >&5
4022 ($PKG_CONFIG --exists
--print-errors
"catacomb >= 2.1.1") 2>&5
4024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4025 test $ac_status = 0; }; then
4026 pkg_cv_catacomb_LIBS
=`$PKG_CONFIG --libs "catacomb >= 2.1.1" 2>/dev/null`
4027 test "x$?" != "x0" && pkg_failed
=yes
4037 if test $pkg_failed = yes; then
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4039 $as_echo "no" >&6; }
4041 if $PKG_CONFIG --atleast-pkgconfig-version
0.20; then
4042 _pkg_short_errors_supported
=yes
4044 _pkg_short_errors_supported
=no
4046 if test $_pkg_short_errors_supported = yes; then
4047 catacomb_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "catacomb >= 2.1.1" 2>&1`
4049 catacomb_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "catacomb >= 2.1.1" 2>&1`
4051 # Put the nasty error message in config.log where it belongs
4052 echo "$catacomb_PKG_ERRORS" >&5
4055 elif test $pkg_failed = untried
; then
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4057 $as_echo "no" >&6; }
4060 catacomb_CFLAGS
=$pkg_cv_catacomb_CFLAGS
4061 catacomb_LIBS
=$pkg_cv_catacomb_LIBS
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4063 $as_echo "yes" >&6; }
4066 if test $have_catacomb = yes; then
4068 HAVE_CATACOMB_FALSE
='#'
4070 HAVE_CATACOMB_TRUE
='#'
4071 HAVE_CATACOMB_FALSE
=
4076 ac_fn_c_check_func
"$LINENO" "prlimit" "ac_cv_func_prlimit"
4077 if test "x$ac_cv_func_prlimit" = xyes
; then :
4083 if test $have_prlimit = yes; then
4085 HAVE_PRLIMIT_FALSE
='#'
4087 HAVE_PRLIMIT_TRUE
='#'
4093 case "$host_cpu" in i?
86 | x86_64
) x86
=yes;; *) x86
=no
;; esac
4094 if test $x86 = yes -a
$GCC = yes; then
4111 if test -n
"$PYTHON"; then
4112 # If the user set $PYTHON, use it and don't search something else.
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.4" >&5
4114 $as_echo_n "checking whether $PYTHON version >= 2.4... " >&6; }
4116 # split strings by '.' and convert to numeric. Append some zeros
4117 # because we need at least 4 digits for the hex conversion.
4118 # map returns an iterator in Python 3.0 and a list in 2.x
4119 minver = list(map(int, '2.4'.split('.'))) + [0, 0, 0]
4121 # xrange is not present in Python 3.0 and range returns an iterator
4122 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
4123 sys.exit(sys.hexversion < minverhex)"
4124 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
4125 ($PYTHON -c
"$prog") >&5 2>&5
4127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4128 (exit $ac_status); }; then :
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4130 $as_echo "yes" >&6; }
4132 as_fn_error $?
"too old" "$LINENO" 5
4134 am_display_PYTHON
=$PYTHON
4136 # Otherwise, try each interpreter until we find one that satisfies
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.4" >&5
4139 $as_echo_n "checking for a Python interpreter with version >= 2.4... " >&6; }
4140 if ${am_cv_pathless_PYTHON+:} false
; then :
4141 $as_echo_n "(cached) " >&6
4144 for am_cv_pathless_PYTHON
in python python2 python3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none
; do
4145 test "$am_cv_pathless_PYTHON" = none
&& break
4147 # split strings by '.' and convert to numeric. Append some zeros
4148 # because we need at least 4 digits for the hex conversion.
4149 # map returns an iterator in Python 3.0 and a list in 2.x
4150 minver = list(map(int, '2.4'.split('.'))) + [0, 0, 0]
4152 # xrange is not present in Python 3.0 and range returns an iterator
4153 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
4154 sys.exit(sys.hexversion < minverhex)"
4155 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
4156 ($am_cv_pathless_PYTHON -c
"$prog") >&5 2>&5
4158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4159 (exit $ac_status); }; then :
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
4165 $as_echo "$am_cv_pathless_PYTHON" >&6; }
4166 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
4167 if test "$am_cv_pathless_PYTHON" = none
; then
4170 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
4171 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4173 $as_echo_n "checking for $ac_word... " >&6; }
4174 if ${ac_cv_path_PYTHON+:} false
; then :
4175 $as_echo_n "(cached) " >&6
4179 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
4182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4186 test -z
"$as_dir" && as_dir
=.
4187 for ac_exec_ext
in '' $ac_executable_extensions; do
4188 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4189 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
4190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4200 PYTHON
=$ac_cv_path_PYTHON
4201 if test -n
"$PYTHON"; then
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
4203 $as_echo "$PYTHON" >&6; }
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4206 $as_echo "no" >&6; }
4211 am_display_PYTHON
=$am_cv_pathless_PYTHON
4215 if test "$PYTHON" = :; then
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
4221 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
4222 if ${am_cv_python_version+:} false
; then :
4223 $as_echo_n "(cached) " >&6
4225 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
4228 $as_echo "$am_cv_python_version" >&6; }
4229 PYTHON_VERSION
=$am_cv_python_version
4233 PYTHON_PREFIX
='${prefix}'
4235 PYTHON_EXEC_PREFIX
='${exec_prefix}'
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
4240 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
4241 if ${am_cv_python_platform+:} false
; then :
4242 $as_echo_n "(cached) " >&6
4244 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
4247 $as_echo "$am_cv_python_platform" >&6; }
4248 PYTHON_PLATFORM
=$am_cv_python_platform
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
4254 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
4255 if ${am_cv_python_pythondir+:} false
; then :
4256 $as_echo_n "(cached) " >&6
4258 if test "x$prefix" = xNONE
4260 am_py_prefix
=$ac_default_prefix
4262 am_py_prefix
=$prefix
4264 am_cv_python_pythondir
=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null`
4265 case $am_cv_python_pythondir in
4267 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
4268 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
4271 case $am_py_prefix in
4274 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
4282 $as_echo "$am_cv_python_pythondir" >&6; }
4283 pythondir
=$am_cv_python_pythondir
4287 pkgpythondir
=\
${pythondir}/$PACKAGE
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
4291 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
4292 if ${am_cv_python_pyexecdir+:} false
; then :
4293 $as_echo_n "(cached) " >&6
4295 if test "x$exec_prefix" = xNONE
4297 am_py_exec_prefix
=$am_py_prefix
4299 am_py_exec_prefix
=$exec_prefix
4301 am_cv_python_pyexecdir
=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null`
4302 case $am_cv_python_pyexecdir in
4303 $am_py_exec_prefix*)
4304 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
4305 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
4308 case $am_py_exec_prefix in
4311 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
4319 $as_echo "$am_cv_python_pyexecdir" >&6; }
4320 pyexecdir
=$am_cv_python_pyexecdir
4324 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
4331 if test $have_python = yes; then
4333 HAVE_PYTHON_FALSE
='#'
4335 HAVE_PYTHON_TRUE
='#'
4345 PYTHON_NAME
=`basename $PYTHON`
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $PYTHON_NAME module: cdb" >&5
4347 $as_echo_n "checking $PYTHON_NAME module: cdb... " >&6; }
4348 $PYTHON -c
"import cdb" 2>/dev
/null
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4352 $as_echo "yes" >&6; }
4353 eval HAVE_PYMOD_CDB
=yes
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4356 $as_echo "no" >&6; }
4357 eval HAVE_PYMOD_CDB
=no
4361 as_fn_error $?
"failed to find required module cdb" "$LINENO" 5
4366 if test $HAVE_PYMOD_CDB = yes; then
4367 HAVE_PYMOD_CDB_TRUE
=
4368 HAVE_PYMOD_CDB_FALSE
='#'
4370 HAVE_PYMOD_CDB_TRUE
='#'
4371 HAVE_PYMOD_CDB_FALSE
=
4377 for ac_prog
in perl perl5
4379 # Extract the first word of "$ac_prog", so it can be a program name with args.
4380 set dummy
$ac_prog; ac_word
=$2
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4382 $as_echo_n "checking for $ac_word... " >&6; }
4383 if ${ac_cv_path_PERL+:} false
; then :
4384 $as_echo_n "(cached) " >&6
4388 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
4391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4395 test -z
"$as_dir" && as_dir
=.
4396 for ac_exec_ext
in '' $ac_executable_extensions; do
4397 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4398 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
4399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4409 PERL
=$ac_cv_path_PERL
4410 if test -n
"$PERL"; then
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
4412 $as_echo "$PERL" >&6; }
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4415 $as_echo "no" >&6; }
4419 test -n
"$PERL" && break
4421 test -n
"$PERL" || PERL
="false"
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4424 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4425 if ${ac_cv_path_SED+:} false
; then :
4426 $as_echo_n "(cached) " >&6
4428 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4429 for ac_i
in 1 2 3 4 5 6 7; do
4430 ac_script
="$ac_script$as_nl$ac_script"
4432 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4433 { ac_script
=; unset ac_script
;}
4434 if test -z
"$SED"; then
4435 ac_path_SED_found
=false
4436 # Loop through the user's path and test for each of PROGNAME-LIST
4437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4441 test -z
"$as_dir" && as_dir
=.
4442 for ac_prog
in sed gsed
; do
4443 for ac_exec_ext
in '' $ac_executable_extensions; do
4444 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4445 as_fn_executable_p
"$ac_path_SED" ||
continue
4446 # Check for GNU ac_path_SED and select it if it is found.
4447 # Check for GNU $ac_path_SED
4448 case `"$ac_path_SED" --version 2>&1` in
4450 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4453 $as_echo_n 0123456789 >"conftest.in"
4456 cat "conftest.in" "conftest.in" >"conftest.tmp"
4457 mv "conftest.tmp" "conftest.in"
4458 cp "conftest.in" "conftest.nl"
4459 $as_echo '' >> "conftest.nl"
4460 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4461 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4462 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4463 if test $ac_count -gt
${ac_path_SED_max-0}; then
4464 # Best one so far, save it but keep looking for a better one
4465 ac_cv_path_SED
="$ac_path_SED"
4466 ac_path_SED_max
=$ac_count
4468 # 10*(2^10) chars as input seems more than enough
4469 test $ac_count -gt
10 && break
4471 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4474 $ac_path_SED_found && break 3
4479 if test -z
"$ac_cv_path_SED"; then
4480 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4488 $as_echo "$ac_cv_path_SED" >&6; }
4489 SED
="$ac_cv_path_SED"
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4493 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4494 if ${ac_cv_path_GREP+:} false
; then :
4495 $as_echo_n "(cached) " >&6
4497 if test -z
"$GREP"; then
4498 ac_path_GREP_found
=false
4499 # Loop through the user's path and test for each of PROGNAME-LIST
4500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4501 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg4
/bin
4504 test -z
"$as_dir" && as_dir
=.
4505 for ac_prog
in grep ggrep
; do
4506 for ac_exec_ext
in '' $ac_executable_extensions; do
4507 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4508 as_fn_executable_p
"$ac_path_GREP" ||
continue
4509 # Check for GNU ac_path_GREP and select it if it is found.
4510 # Check for GNU $ac_path_GREP
4511 case `"$ac_path_GREP" --version 2>&1` in
4513 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4516 $as_echo_n 0123456789 >"conftest.in"
4519 cat "conftest.in" "conftest.in" >"conftest.tmp"
4520 mv "conftest.tmp" "conftest.in"
4521 cp "conftest.in" "conftest.nl"
4522 $as_echo 'GREP' >> "conftest.nl"
4523 "$ac_path_GREP" -e
'GREP$' -e
'-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4524 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4525 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4526 if test $ac_count -gt
${ac_path_GREP_max-0}; then
4527 # Best one so far, save it but keep looking for a better one
4528 ac_cv_path_GREP
="$ac_path_GREP"
4529 ac_path_GREP_max
=$ac_count
4531 # 10*(2^10) chars as input seems more than enough
4532 test $ac_count -gt
10 && break
4534 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4537 $ac_path_GREP_found && break 3
4542 if test -z
"$ac_cv_path_GREP"; then
4543 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4546 ac_cv_path_GREP
=$GREP
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4551 $as_echo "$ac_cv_path_GREP" >&6; }
4552 GREP
="$ac_cv_path_GREP"
4559 if test -n
"$PERL"; then :
4561 ax_perl_version
="5.004"
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl version" >&5
4564 $as_echo_n "checking for perl version... " >&6; }
4566 perl_version
=`$PERL --version 2>&1 | $GREP "This is perl" | $SED -e 's/.* v\([0-9]*\.[0-9]*\.[0-9]*\) .*/\1/'`
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $perl_version" >&5
4569 $as_echo "$perl_version" >&6; }
4571 PERL_VERSION
=$perl_version
4577 # Used to indicate true or false condition
4578 ax_compare_version
=false
4580 # Convert the two version strings to be compared into a format that
4581 # allows a simple string comparison. The end result is that a version
4582 # string of the form 1.12.5-r617 will be converted to the form
4583 # 0001001200050617. In other words, each number is zero padded to four
4584 # digits, and non digits are removed.
4586 ax_compare_version_A
=`echo "$ax_perl_version" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
4587 -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
4588 -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
4589 -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
4593 ax_compare_version_B
=`echo "$perl_version" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
4594 -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
4595 -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
4596 -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
4600 ax_compare_version
=`echo "x$ax_compare_version_A
4601 x$ax_compare_version_B" | sed 's/^ *//' | sort | sed "s/x${ax_compare_version_A}/true/;s/x${ax_compare_version_B}/false/;1q"`
4605 if test "$ax_compare_version" = "true" ; then
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find the perl interpreter" >&5
4620 $as_echo "$as_me: WARNING: could not find the perl interpreter" >&2;}
4625 if test $have_perl = yes; then
4635 # Check whether --with-perlmoddir was given.
4636 if test "${with_perlmoddir+set}" = set; then :
4637 withval
=$with_perlmoddir; perlmoddir
=$withval
4639 perlmoddir
='${libdir}/site_perl'
4647 # Extract the first word of "tclsh", so it can be a program name with args.
4648 set dummy tclsh
; ac_word
=$2
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4650 $as_echo_n "checking for $ac_word... " >&6; }
4651 if ${ac_cv_path_TCLSH+:} false
; then :
4652 $as_echo_n "(cached) " >&6
4656 ac_cv_path_TCLSH
="$TCLSH" # Let the user override the test with a path.
4659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4663 test -z
"$as_dir" && as_dir
=.
4664 for ac_exec_ext
in '' $ac_executable_extensions; do
4665 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4666 ac_cv_path_TCLSH
="$as_dir/$ac_word$ac_exec_ext"
4667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4674 test -z
"$ac_cv_path_TCLSH" && ac_cv_path_TCLSH
="false"
4678 TCLSH
=$ac_cv_path_TCLSH
4679 if test -n
"$TCLSH"; then
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5
4681 $as_echo "$TCLSH" >&6; }
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4684 $as_echo "no" >&6; }
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Tcl version" >&5
4690 $as_echo_n "checking Tcl version... " >&6; }
4691 case "$TCLSH" in false
) have_tcl
=no
;; esac
4694 tclver
=$
(echo "puts \$tcl_version" | tclsh
-)
4695 tclver_hack
=$
(echo "$tclver" |
sed 's/\.//')
4696 if test "$tclver_hack" -ge
83; then
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tclver" >&5
4698 $as_echo "$tclver" >&6; }
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: too old ($tclver)" >&5
4702 $as_echo "too old ($tclver)" >&6; }
4705 if test $have_tcl = yes; then
4707 HAVE_TCLSH_FALSE
='#'
4715 case "$BASH" in /bin
/sh
) unset BASH
;; esac
4717 # Extract the first word of "bash", so it can be a program name with args.
4718 set dummy bash
; ac_word
=$2
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4720 $as_echo_n "checking for $ac_word... " >&6; }
4721 if ${ac_cv_path_BASH+:} false
; then :
4722 $as_echo_n "(cached) " >&6
4726 ac_cv_path_BASH
="$BASH" # Let the user override the test with a path.
4729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4733 test -z
"$as_dir" && as_dir
=.
4734 for ac_exec_ext
in '' $ac_executable_extensions; do
4735 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4736 ac_cv_path_BASH
="$as_dir/$ac_word$ac_exec_ext"
4737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4744 test -z
"$ac_cv_path_BASH" && ac_cv_path_BASH
="false"
4748 BASH
=$ac_cv_path_BASH
4749 if test -n
"$BASH"; then
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BASH" >&5
4751 $as_echo "$BASH" >&6; }
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4754 $as_echo "no" >&6; }
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking bash version" >&5
4759 $as_echo_n "checking bash version... " >&6; }
4760 bashver
=$
("$BASH" -c
'echo $BASH_VERSION')
4761 if "$BASH" 2>/dev
/null
-c
'[[ ${BASH_VERSINFO[0]} -ge 3 ]]'; then
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bashver" >&5
4764 $as_echo "$bashver" >&6; }
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: too old ($bashver)" >&5
4768 $as_echo "too old ($bashver)" >&6; }
4770 if test $have_bash = yes; then
4780 ac_config_files
="$ac_config_files Makefile"
4782 cat >confcache
<<\_ACEOF
4783 # This file is a shell script that caches the results of configure
4784 # tests run on this system so they can be shared between configure
4785 # scripts and configure runs, see configure's option --config-cache.
4786 # It is not useful on other systems. If it contains results you don't
4787 # want to keep, you may remove or edit it.
4789 # config.status only pays attention to the cache file if you give it
4790 # the --recheck option to rerun configure.
4792 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4793 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4798 # The following way of writing the cache mishandles newlines in values,
4799 # but we know of no workaround that is simple, portable, and efficient.
4800 # So, we kill variables containing newlines.
4801 # Ultrix sh set writes to stderr and can't be redirected directly,
4802 # and sets the high bit in the cache file unless we assign to the vars.
4804 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4805 eval ac_val
=\$
$ac_var
4809 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4810 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4813 _ | IFS | as_nl
) ;; #(
4814 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4815 *) { eval $ac_var=; unset $ac_var;} ;;
4821 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4822 *${as_nl}ac_space
=\
*)
4823 # `set' does not quote correctly, so add quotes: double-quote
4824 # substitution turns \\\\ into \\, and sed turns \\ into \.
4827 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4830 # `set' quotes correctly as required by POSIX, so do not add quotes.
4831 sed -n
"/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4840 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4842 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4844 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4845 if test -w
"$cache_file"; then
4846 if test "x$cache_file" != "x/dev/null"; then
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4848 $as_echo "$as_me: updating cache $cache_file" >&6;}
4849 if test ! -f
"$cache_file" ||
test -h
"$cache_file"; then
4850 cat confcache
>"$cache_file"
4852 case $cache_file in #(
4854 mv -f confcache
"$cache_file"$$
&&
4855 mv -f
"$cache_file"$$
"$cache_file" ;; #(
4857 mv -f confcache
"$cache_file" ;;
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4863 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4868 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4869 # Let make expand exec_prefix.
4870 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4872 # Transform confdefs.h into DEFS.
4873 # Protect against shell expansion while executing Makefile rules.
4874 # Protect against Makefile macro expansion.
4876 # If the first sed substitution is executed (which looks for macros that
4877 # take arguments), then branch to the quote section. Otherwise,
4878 # look for a macro that doesn't take arguments.
4888 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4890 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4894 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4907 DEFS
=`sed -n "$ac_script" confdefs.h`
4913 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4914 # 1. Remove the extension, and $U if already installed.
4915 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4916 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4917 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4918 # will be set to the directory where LIBOBJS objects are built.
4919 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4920 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4924 LTLIBOBJS
=$ac_ltlibobjs
4927 if test -n
"$EXEEXT"; then
4929 am__EXEEXT_FALSE
='#'
4935 if test -z
"${AMDEP_TRUE}" && test -z
"${AMDEP_FALSE}"; then
4936 as_fn_error $?
"conditional \"AMDEP\" was never defined.
4937 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4939 if test -z
"${am__fastdepCC_TRUE}" && test -z
"${am__fastdepCC_FALSE}"; then
4940 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
4941 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4943 if test -z
"${HAVE_LIBCDB_TRUE}" && test -z
"${HAVE_LIBCDB_FALSE}"; then
4944 as_fn_error $?
"conditional \"HAVE_LIBCDB\" was never defined.
4945 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4947 if test -z
"${HAVE_MLIB_TRUE}" && test -z
"${HAVE_MLIB_FALSE}"; then
4948 as_fn_error $?
"conditional \"HAVE_MLIB\" was never defined.
4949 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4951 if test -z
"${HAVE_CATACOMB_TRUE}" && test -z
"${HAVE_CATACOMB_FALSE}"; then
4952 as_fn_error $?
"conditional \"HAVE_CATACOMB\" was never defined.
4953 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4955 if test -z
"${HAVE_PRLIMIT_TRUE}" && test -z
"${HAVE_PRLIMIT_FALSE}"; then
4956 as_fn_error $?
"conditional \"HAVE_PRLIMIT\" was never defined.
4957 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4959 if test -z
"${X86_TRUE}" && test -z
"${X86_FALSE}"; then
4960 as_fn_error $?
"conditional \"X86\" was never defined.
4961 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4963 if test -z
"${HAVE_PYTHON_TRUE}" && test -z
"${HAVE_PYTHON_FALSE}"; then
4964 as_fn_error $?
"conditional \"HAVE_PYTHON\" was never defined.
4965 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4967 if test -z
"${HAVE_PYMOD_CDB_TRUE}" && test -z
"${HAVE_PYMOD_CDB_FALSE}"; then
4968 as_fn_error $?
"conditional \"HAVE_PYMOD_CDB\" was never defined.
4969 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4971 if test -z
"${HAVE_PERL_TRUE}" && test -z
"${HAVE_PERL_FALSE}"; then
4972 as_fn_error $?
"conditional \"HAVE_PERL\" was never defined.
4973 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4975 if test -z
"${HAVE_TCLSH_TRUE}" && test -z
"${HAVE_TCLSH_FALSE}"; then
4976 as_fn_error $?
"conditional \"HAVE_TCLSH\" was never defined.
4977 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4979 if test -z
"${HAVE_BASH_TRUE}" && test -z
"${HAVE_BASH_FALSE}"; then
4980 as_fn_error $?
"conditional \"HAVE_BASH\" was never defined.
4981 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4984 : "${CONFIG_STATUS=./config.status}"
4986 ac_clean_files_save
=$ac_clean_files
4987 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4989 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4991 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4993 # Generated by $as_me.
4994 # Run this file to recreate the current configuration.
4995 # Compiler output produced by configure, useful for debugging
4996 # configure, is in config.log if it exists.
5002 SHELL=\${CONFIG_SHELL-$SHELL}
5005 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5006 ## -------------------- ##
5007 ## M4sh Initialization. ##
5008 ## -------------------- ##
5010 # Be more Bourne compatible
5011 DUALCASE
=1; export DUALCASE
# for MKS sh
5012 if test -n
"${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5015 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5016 # is contrary to our usage. Disable this feature.
5017 alias -g
'${1+"$@"}'='"$@"'
5018 setopt NO_GLOB_SUBST
5020 case `(set -o) 2>/dev/null` in #(
5032 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5033 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5034 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5035 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5036 # Prefer a ksh shell builtin over an external printf program on Solaris,
5037 # but without wasting forks for bash or zsh.
5038 if test -z "$BASH_VERSION$ZSH_VERSION" \
5039 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5040 as_echo='print
-r
--'
5041 as_echo_n='print
-rn
--'
5042 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5043 as_echo='printf %s
\n'
5044 as_echo_n='printf %s
'
5046 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5047 as_echo_body='eval /usr
/ucb
/echo -n
"$1$as_nl"'
5048 as_echo_n='/usr
/ucb
/echo -n
'
5050 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5051 as_echo_n_body='eval
5055 expr "X$arg" : "X\\(.*\\)$as_nl";
5056 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5058 expr "X$arg" : "X\\(.*\\)" |
tr -d
"$as_nl"
5060 export as_echo_n_body
5061 as_echo_n='sh
-c
$as_echo_n_body as_echo
'
5064 as_echo='sh
-c
$as_echo_body as_echo
'
5067 # The user is always right.
5068 if test "${PATH_SEPARATOR+set}" != set; then
5070 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5071 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5078 # We need space, tab and new line, in precisely that order. Quoting is
5079 # there to prevent editors from complaining about space-tab.
5080 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5081 # splitting by setting IFS to empty value.)
5084 # Find who we are. Look in the path if we contain no directory separator.
5087 *[\\/]* ) as_myself=$0 ;;
5088 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5092 test -z "$as_dir" && as_dir=.
5093 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5099 # We did not find ourselves, most probably we were run as `sh COMMAND'
5100 # in which case we are not to be found in the path.
5101 if test "x$as_myself" = x
; then
5104 if test ! -f
"$as_myself"; then
5105 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5109 # Unset variables that we do not need and which cause bugs (e.g. in
5110 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5111 # suppresses any "Segmentation fault" message there. '((' could
5112 # trigger a bug in pdksh 5.2.14.
5113 for as_var
in BASH_ENV ENV MAIL MAILPATH
5114 do eval test x\
${$as_var+set} = xset \
5115 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5128 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5131 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5132 # ----------------------------------------
5133 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5134 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5135 # script with STATUS, using 1 if that was 0.
5138 as_status
=$1; test $as_status -eq
0 && as_status
=1
5140 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5141 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5143 $as_echo "$as_me: error: $2" >&2
5144 as_fn_exit
$as_status
5148 # as_fn_set_status STATUS
5149 # -----------------------
5150 # Set $? to STATUS, without forking.
5154 } # as_fn_set_status
5158 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5168 # Portably unset VAR.
5171 { eval $1=; unset $1;}
5173 as_unset
=as_fn_unset
5174 # as_fn_append VAR VALUE
5175 # ----------------------
5176 # Append the text in VALUE to the end of the definition contained in VAR. Take
5177 # advantage of any shell optimizations that allow amortized linear growth over
5178 # repeated appends, instead of the typical quadratic growth present in naive
5180 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5181 eval 'as_fn_append ()
5192 # as_fn_arith ARG...
5193 # ------------------
5194 # Perform arithmetic evaluation on the ARGs, and store the result in the
5195 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5196 # must be portable across $(()) and expr.
5197 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5198 eval 'as_fn_arith ()
5205 as_val
=`expr "$@" || test $? -eq 1`
5210 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5211 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5217 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5218 as_basename
=basename
5223 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5229 as_me
=`$as_basename -- "$0" ||
5230 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5231 X"$0" : 'X\(//\)$' \| \
5232 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5234 sed '/^.*\/\([^/][^/]*\)\/*$/{
5248 # Avoid depending upon Character Ranges.
5249 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5250 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5251 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5252 as_cr_digits
='0123456789'
5253 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5255 ECHO_C
= ECHO_N
= ECHO_T
=
5256 case `echo -n x` in #(((((
5258 case `echo 'xy\c'` in
5259 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5261 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5268 rm -f conf$$ conf$$.exe conf$$.
file
5269 if test -d conf$$.dir
; then
5270 rm -f conf$$.dir
/conf$$.
file
5273 mkdir conf$$.dir
2>/dev
/null
5275 if (echo >conf$$.
file) 2>/dev
/null
; then
5276 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5278 # ... but there are two gotchas:
5279 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5280 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5281 # In both cases, we have to default to `cp -pR'.
5282 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5284 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5292 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5293 rmdir conf$$.dir
2>/dev
/null
5298 # Create "$as_dir" as a directory, including parents if necessary.
5303 -*) as_dir
=.
/$as_dir;;
5305 test -d
"$as_dir" ||
eval $as_mkdir_p ||
{
5309 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5310 *) as_qdir
=$as_dir;;
5312 as_dirs
="'$as_qdir' $as_dirs"
5313 as_dir
=`$as_dirname -- "$as_dir" ||
5314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5315 X"$as_dir" : 'X\(//\)[^/]' \| \
5316 X"$as_dir" : 'X\(//\)$' \| \
5317 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5318 $as_echo X"$as_dir" |
5319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5336 test -d
"$as_dir" && break
5338 test -z
"$as_dirs" ||
eval "mkdir $as_dirs"
5339 } ||
test -d
"$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
5343 if mkdir
-p .
2>/dev
/null
; then
5344 as_mkdir_p
='mkdir -p "$as_dir"'
5346 test -d .
/-p
&& rmdir .
/-p
5351 # as_fn_executable_p FILE
5352 # -----------------------
5353 # Test if FILE is an executable regular file.
5354 as_fn_executable_p
()
5356 test -f
"$1" && test -x
"$1"
5357 } # as_fn_executable_p
5359 as_executable_p
=as_fn_executable_p
5361 # Sed expression to map a string onto a valid CPP name.
5362 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5364 # Sed expression to map a string onto a valid variable name.
5365 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5369 ## ----------------------------------- ##
5370 ## Main body of $CONFIG_STATUS script. ##
5371 ## ----------------------------------- ##
5373 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5376 # Save the log message, to keep $0 and so on meaningful, and to
5377 # report actual input values of CONFIG_FILES etc. instead of their
5378 # values after options handling.
5380 This file was extended by distorted-utils $as_me 1.4.1.1, which was
5381 generated by GNU Autoconf 2.69. Invocation command line was
5383 CONFIG_FILES = $CONFIG_FILES
5384 CONFIG_HEADERS = $CONFIG_HEADERS
5385 CONFIG_LINKS = $CONFIG_LINKS
5386 CONFIG_COMMANDS = $CONFIG_COMMANDS
5389 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5394 case $ac_config_files in *"
5395 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5401 # Files that config.status was made for.
5402 config_files="$ac_config_files"
5403 config_commands="$ac_config_commands"
5407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5409 \`$as_me' instantiates files and other configuration actions
5410 from templates according to the current configuration. Unless the files
5411 and actions are specified as TAGs, all are instantiated by default.
5413 Usage: $0 [OPTION]... [TAG]...
5415 -h, --help print this help, then exit
5416 -V, --version print version number and configuration settings, then exit
5417 --config print configuration, then exit
5418 -q, --quiet, --silent
5419 do not print progress messages
5420 -d, --debug don't remove temporary files
5421 --recheck update $as_me by reconfiguring in the same conditions
5422 --file=FILE[:TEMPLATE]
5423 instantiate the configuration file FILE
5425 Configuration files:
5428 Configuration commands:
5431 Report bugs to <mdw@distorted.org.uk>."
5434 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5435 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5437 distorted-utils config.status 1.4.1.1
5438 configured by $0, generated by GNU Autoconf 2.69,
5439 with options \\"\$ac_cs_config\\"
5441 Copyright (C) 2012 Free Software Foundation, Inc.
5442 This config.status script is free software; the Free Software Foundation
5443 gives unlimited permission to copy, distribute and modify it."
5450 test -n "\$AWK" || AWK=awk
5453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5454 # The default lists apply if the user does not specify any file.
5460 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5461 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5465 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5477 # Handling of the options.
5478 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r
)
5480 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V
)
5481 $as_echo "$ac_cs_version"; exit ;;
5482 --config |
--confi |
--conf |
--con |
--co |
--c
)
5483 $as_echo "$ac_cs_config"; exit ;;
5484 --debug |
--debu |
--deb |
--de |
--d |
-d
)
5486 --file |
--fil |
--fi |
--f
)
5489 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5490 '') as_fn_error $?
"missing file argument" ;;
5492 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5493 ac_need_defaults
=false
;;
5494 --he |
--h |
--help |
--hel |
-h
)
5495 $as_echo "$ac_cs_usage"; exit ;;
5496 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5497 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s
)
5501 -*) as_fn_error $?
"unrecognized option: \`$1'
5502 Try \`$0 --help' for more information." ;;
5504 *) as_fn_append ac_config_targets
" $1"
5505 ac_need_defaults
=false
;;
5511 ac_configure_extra_args
=
5513 if $ac_cs_silent; then
5515 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5520 if \$ac_cs_recheck; then
5521 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5523 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5524 CONFIG_SHELL='$SHELL'
5530 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5534 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5535 ## Running $as_me. ##
5541 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5545 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5549 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5551 # Handling of arguments.
5552 for ac_config_target
in $ac_config_targets
5554 case $ac_config_target in
5555 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
5556 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5558 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5563 # If the user did not use the arguments to specify the items to instantiate,
5564 # then the envvar interface is used. Set only those that are not.
5565 # We use the long form for the default assignment because of an extremely
5566 # bizarre bug on SunOS 4.1.3.
5567 if $ac_need_defaults; then
5568 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5569 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5572 # Have a temporary directory for convenience. Make it in the build tree
5573 # simply because there is no reason against having it here, and in addition,
5574 # creating and moving files from /tmp can sometimes cause problems.
5575 # Hook for its removal unless debugging.
5576 # Note that there is a small window in which the directory will not be cleaned:
5577 # after its creation but before its name has been assigned to `$tmp'.
5581 trap 'exit_status=$?
5583 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5585 trap 'as_fn_exit 1' 1 2 13 15
5587 # Create a (secure) tmp directory for tmp files.
5590 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5594 tmp
=.
/conf$$
-$RANDOM
5595 (umask 077 && mkdir
"$tmp")
5596 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5599 # Set up the scripts for CONFIG_FILES section.
5600 # No need to generate them if there are no CONFIG_FILES.
5601 # This happens for instance with `./config.status config.h'.
5602 if test -n
"$CONFIG_FILES"; then
5605 ac_cr
=`echo X | tr X '\015'`
5606 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5607 # But we know of no other shell where ac_cr would be empty at this
5608 # point, so we can use a bashism as a fallback.
5609 if test "x$ac_cr" = x
; then
5610 eval ac_cr
=\$
\'\\r
\'
5612 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5613 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5619 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5624 echo "cat >conf$$subs.awk <<_ACEOF" &&
5625 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5628 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5629 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5631 for ac_last_try in false false false false false :; do
5632 . ./conf$$subs.sh ||
5633 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5635 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5636 if test $ac_delim_n = $ac_delim_num; then
5638 elif $ac_last_try; then
5639 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5641 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5646 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5647 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
5651 s/^/S["/; s
/!.
*/"]=/
5661 s/\(.\{148\}\)..*/\1/
5663 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5668 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5675 s/\(.\{148\}\)..*/\1/
5677 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5681 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5686 ' <conf$$subs.awk | sed '
5691 ' >>$CONFIG_STATUS || ac_write_fail=1
5692 rm -f conf$$subs.awk
5693 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5695 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
5696 for (key in S) S_is_set[key] = 1
5702 nfields = split(line, field, "@
")
5704 len = length(field[1])
5705 for (i = 2; i < nfields; i++) {
5707 keylen = length(key)
5708 if (S_is_set[key]) {
5710 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5711 len += length(value) + length(field[++i])
5722 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5723 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5724 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5727 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
5728 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
5731 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5732 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
5733 # trailing colons and then remove the whole line if VPATH becomes empty
5734 # (actually we leave an empty line to preserve line numbers).
5735 if test "x
$srcdir" = x.; then
5736 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5755 fi # test -n "$CONFIG_FILES"
5758 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
5763 :[FHLC]) ac_mode=$ac_tag; continue;;
5765 case $ac_mode$ac_tag in
5767 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
5768 :[FH]-) ac_tag=-:-;;
5769 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5786 -) ac_f="$ac_tmp/stdin";;
5787 *) # Look for the file first in the build tree, then in the source tree
5788 # (if the path is not absolute). The absolute path cannot be DOS-style,
5789 # because $ac_f cannot contain `:'.
5793 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5795 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5797 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
5798 as_fn_append ac_file_inputs " '$ac_f'"
5801 # Let's still pretend it is `configure' which instantiates (i.e., don't
5802 # use $as_me), people would be surprised to read:
5803 # /* config.h. Generated by config.status. */
5804 configure_input='Generated from '`
5805 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5807 if test x"$ac_file" != x-; then
5808 configure_input="$ac_file.
$configure_input"
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
5810 $as_echo "$as_me: creating
$ac_file" >&6;}
5812 # Neutralize special characters interpreted by sed in replacement strings.
5813 case $configure_input in #(
5814 *\&* | *\|* | *\\* )
5815 ac_sed_conf_input=`$as_echo "$configure_input" |
5816 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5817 *) ac_sed_conf_input=$configure_input;;
5821 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
5822 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
5827 ac_dir=`$as_dirname -- "$ac_file" ||
5828 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5829 X"$ac_file" : 'X\(//\)[^/]' \| \
5830 X"$ac_file" : 'X\(//\)$' \| \
5831 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5832 $as_echo X"$ac_file" |
5833 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5850 as_dir="$ac_dir"; as_fn_mkdir_p
5854 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5856 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5857 # A "..
" for each directory in $ac_dir_suffix.
5858 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5859 case $ac_top_builddir_sub in
5860 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5861 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5864 ac_abs_top_builddir=$ac_pwd
5865 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5866 # for backward compatibility:
5867 ac_top_builddir=$ac_top_build_prefix
5870 .) # We are building in place.
5872 ac_top_srcdir=$ac_top_builddir_sub
5873 ac_abs_top_srcdir=$ac_pwd ;;
5874 [\\/]* | ?:[\\/]* ) # Absolute name.
5875 ac_srcdir=$srcdir$ac_dir_suffix;
5876 ac_top_srcdir=$srcdir
5877 ac_abs_top_srcdir=$srcdir ;;
5879 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5880 ac_top_srcdir=$ac_top_build_prefix$srcdir
5881 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5883 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5893 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5894 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5898 [\\/$]* | ?:[\\/]* ) ;;
5899 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5904 # If the template does not know about datarootdir, expand it.
5905 # FIXME: This hack should be removed a few years after 2.60.
5906 ac_datarootdir_hack=; ac_datarootdir_seen=
5917 case `eval "sed -n
\"\
$ac_sed_dataroot\" $ac_file_inputs"` in
5918 *datarootdir*) ac_datarootdir_seen=yes;;
5919 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
5921 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
5923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5924 ac_datarootdir_hack='
5925 s&@datadir@&$datadir&g
5926 s&@docdir@&$docdir&g
5927 s&@infodir@&$infodir&g
5928 s&@localedir@&$localedir&g
5929 s&@mandir@&$mandir&g
5930 s&\\\${datarootdir}&$datarootdir&g' ;;
5934 # Neutralize VPATH when `$srcdir' = `.'.
5935 # Shell code in configure.ac might set extrasub.
5936 # FIXME: do we really want to maintain this feature?
5937 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5938 ac_sed_extra="$ac_vpsub
5941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5943 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5944 s|@configure_input@|
$ac_sed_conf_input|
;t t
5945 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5946 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5947 s
&@srcdir@
&$ac_srcdir&;t t
5948 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5949 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5950 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5951 s
&@builddir@
&$ac_builddir&;t t
5952 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5953 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5954 s
&@INSTALL@
&$ac_INSTALL&;t t
5955 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
5956 $ac_datarootdir_hack
5958 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5959 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5961 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5962 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5963 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5964 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5966 which seems to be undefined. Please make sure it is defined" >&5
5967 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5968 which seems to be undefined. Please make sure it is defined" >&2;}
5970 rm -f "$ac_tmp/stdin"
5972 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5973 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5975 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5979 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5980 $as_echo "$as_me: executing $ac_file commands" >&6;}
5985 case $ac_file$ac_mode in
5986 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5987 # Autoconf 2.62 quotes --file arguments for eval, but not when files
5988 # are listed without --file. Let's play safe and only
enable the
eval
5989 # if we detect the quoting.
5990 case $CONFIG_FILES in
5991 *\'*) eval set x
"$CONFIG_FILES" ;;
5992 *) set x
$CONFIG_FILES ;;
5997 # Strip MF so we end up with the name of the file.
5998 mf
=`echo "$mf" | sed -e 's/:.*$//'`
5999 # Check whether this is an Automake generated Makefile or not.
6000 # We used to match only the files named `Makefile.in', but
6001 # some people rename them; so instead we look at the file content.
6002 # Grep'ing the first line is not enough: some people post-process
6003 # each Makefile.in and add a new line on top of each file to say so.
6004 # Grep'ing the whole file is not good either: AIX grep has a line
6005 # limit of 2048, but all sed's we know have understand at least 4000.
6006 if sed -n
's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
6007 dirpart
=`$as_dirname -- "$mf" ||
6008 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6009 X"$mf" : 'X\(//\)[^/]' \| \
6010 X"$mf" : 'X\(//\)$' \| \
6011 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6013 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6033 # Extract the definition of DEPDIR, am__include, and am__quote
6034 # from the Makefile without running `make'.
6035 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
6036 test -z
"$DEPDIR" && continue
6037 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
6038 test -z
"am__include" && continue
6039 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
6040 # When using ansi2knr, U may be empty or an underscore; expand it
6041 U
=`sed -n 's/^U = //p' < "$mf"`
6042 # Find all dependency output files, they are included files with
6043 # $(DEPDIR) in their names. We invoke sed twice because it is the
6044 # simplest approach to changing $(DEPDIR) to its actual value in the
6046 for file in `sed -n "
6047 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6048 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6049 # Make sure the directory exists.
6050 test -f
"$dirpart/$file" && continue
6051 fdir
=`$as_dirname -- "$file" ||
6052 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6053 X"$file" : 'X\(//\)[^/]' \| \
6054 X"$file" : 'X\(//\)$' \| \
6055 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6057 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6074 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
6075 # echo "creating $dirpart/$file"
6076 echo '# dummy' > "$dirpart/$file"
6088 ac_clean_files
=$ac_clean_files_save
6090 test $ac_write_fail = 0 ||
6091 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
6094 # configure is writing to config.log, and then calls config.status.
6095 # config.status does its own redirection, appending to config.log.
6096 # Unfortunately, on DOS this fails, as config.log is still kept open
6097 # by configure, so config.status won't be able to write to it; its
6098 # output is simply discarded. So we exec the FD to /dev/null,
6099 # effectively closing config.log, so it can be properly (re)opened and
6100 # appended to by config.status. When coming back to configure, we
6101 # need to make the FD available again.
6102 if test "$no_create" != yes; then
6104 ac_config_status_args
=
6105 test "$silent" = yes &&
6106 ac_config_status_args
="$ac_config_status_args --quiet"
6108 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6110 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6111 # would make configure fail if this is the last instruction.
6112 $ac_cs_success || as_fn_exit
1
6114 if test -n
"$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6116 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}