Update automatically managed build utilities.
[misc] / configure
CommitLineData
658332ec
MW
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
e0ac86ad 3# Generated by GNU Autoconf 2.69 for distorted-utils 1.4.1.1.
658332ec
MW
4#
5# Report bugs to <mdw@distorted.org.uk>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
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## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
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+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_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.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52else
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'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81fi
82
83
84# IFS
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.)
89IFS=" "" $as_nl"
90
91# Find who we are. Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102IFS=$as_save_IFS
103
104 ;;
105esac
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.
108if test "x$as_myself" = x; then
109 as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114fi
115
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.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
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.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153esac
154exec $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
158as_fn_exit 255
159 fi
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
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+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
175 ;;
176esac
177fi
178"
179 as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193 exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || 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
201test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204else
205 as_have_required=no
206fi
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
209else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211as_found=false
212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213do
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
218 /*)
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 :
226 break 2
227fi
228fi
229 done;;
230 esac
231 as_found=false
232done
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
236fi; }
237IFS=$as_save_IFS
238
239
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
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.
246BASH_ENV=/dev/null
247ENV=/dev/null
248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254esac
255exec $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
259exit 255
260fi
261
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."
268 else
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."
274 fi
275 exit 1
276fi
277fi
278fi
279SHELL=${CONFIG_SHELL-/bin/sh}
280export SHELL
281# Unset more variables known to interfere with behavior of common tools.
282CLICOLOR_FORCE= GREP_OPTIONS=
283unset CLICOLOR_FORCE GREP_OPTIONS
284
285## --------------------- ##
286## M4sh Shell Functions. ##
287## --------------------- ##
288# as_fn_unset VAR
289# ---------------
290# Portably unset VAR.
291as_fn_unset ()
292{
293 { eval $1=; unset $1;}
294}
295as_unset=as_fn_unset
296
297# as_fn_set_status STATUS
298# -----------------------
299# Set $? to STATUS, without forking.
300as_fn_set_status ()
301{
302 return $1
303} # as_fn_set_status
304
305# as_fn_exit STATUS
306# -----------------
307# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308as_fn_exit ()
309{
310 set +e
311 as_fn_set_status $1
312 exit $1
313} # as_fn_exit
314
315# as_fn_mkdir_p
316# -------------
317# Create "$as_dir" as a directory, including parents if necessary.
318as_fn_mkdir_p ()
319{
320
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
340 q
341 }
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
344 q
345 }
346 /^X\(\/\/\)$/{
347 s//\1/
348 q
349 }
350 /^X\(\/\).*/{
351 s//\1/
352 q
353 }
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
359
360
361} # as_fn_mkdir_p
362
363# as_fn_executable_p FILE
364# -----------------------
365# Test if FILE is an executable regular file.
366as_fn_executable_p ()
367{
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
375# implementations.
376if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
378 {
379 eval $1+=\$2
380 }'
381else
382 as_fn_append ()
383 {
384 eval $1=\$$1\$2
385 }
386fi # as_fn_append
387
388# as_fn_arith ARG...
389# ------------------
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.
393if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
395 {
396 as_val=$(( $* ))
397 }'
398else
399 as_fn_arith ()
400 {
401 as_val=`expr "$@" || test $? -eq 1`
402 }
403fi # as_fn_arith
404
405
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.
411as_fn_error ()
412{
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
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
417 fi
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420} # as_fn_error
421
422if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425else
426 as_expr=false
427fi
428
429if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431else
432 as_basename=false
433fi
434
435if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437else
438 as_dirname=false
439fi
440
441as_me=`$as_basename -- "$0" ||
442$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445$as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
448 q
449 }
450 /^X\/\(\/\/\)$/{
451 s//\1/
452 q
453 }
454 /^X\/\(\/\).*/{
455 s//\1/
456 q
457 }
458 s/.*/./; q'`
459
460# Avoid depending upon Character Ranges.
461as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464as_cr_digits='0123456789'
465as_cr_alnum=$as_cr_Letters$as_cr_digits
466
467
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. :-)
473 sed -n '
474 p
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
480 b
481 :lineno
482 N
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
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; }
490
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).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
501}
502
503ECHO_C= ECHO_N= ECHO_T=
504case `echo -n x` in #(((((
505-n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
512*)
513 ECHO_N='-n';;
514esac
515
516rm -f conf$$ conf$$.exe conf$$.file
517if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
522fi
523if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
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 ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
536 fi
537else
538 as_ln_s='cp -pR'
539fi
540rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541rmdir conf$$.dir 2>/dev/null
542
543if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
548fi
549
550as_test_x='test -x'
551as_executable_p=as_fn_executable_p
552
553# Sed expression to map a string onto a valid CPP name.
554as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555
556# Sed expression to map a string onto a valid variable name.
557as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558
559
560test -n "$DJDIR" || exec 7<&0 </dev/null
561exec 6>&1
562
563# Name of the host.
564# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565# so uname gets run too.
566ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567
568#
569# Initializations.
570#
571ac_default_prefix=/usr/local
572ac_clean_files=
573ac_config_libobj_dir=.
574LIBOBJS=
575cross_compiling=no
576subdirs=
577MFLAGS=
578MAKEFLAGS=
579
580# Identity of this package.
581PACKAGE_NAME='distorted-utils'
582PACKAGE_TARNAME='distorted-utils'
e0ac86ad
MW
583PACKAGE_VERSION='1.4.1.1'
584PACKAGE_STRING='distorted-utils 1.4.1.1'
658332ec
MW
585PACKAGE_BUGREPORT='mdw@distorted.org.uk'
586PACKAGE_URL=''
587
588ac_unique_file="shadowfix.in"
589ac_subst_vars='am__EXEEXT_FALSE
590am__EXEEXT_TRUE
591LTLIBOBJS
592LIBOBJS
593HAVE_BASH_FALSE
594HAVE_BASH_TRUE
595BASH
596HAVE_TCLSH_FALSE
597HAVE_TCLSH_TRUE
598TCLSH
599perlmoddir
600HAVE_PERL_FALSE
601HAVE_PERL_TRUE
602PERL_VERSION
603GREP
604SED
605PERL
606HAVE_PYMOD_CDB_FALSE
607HAVE_PYMOD_CDB_TRUE
608HAVE_PYTHON_FALSE
609HAVE_PYTHON_TRUE
610pkgpyexecdir
611pyexecdir
612pkgpythondir
613pythondir
614PYTHON_PLATFORM
615PYTHON_EXEC_PREFIX
616PYTHON_PREFIX
617PYTHON_VERSION
618PYTHON
619X86_FALSE
620X86_TRUE
621HAVE_PRLIMIT_FALSE
622HAVE_PRLIMIT_TRUE
623HAVE_CATACOMB_FALSE
624HAVE_CATACOMB_TRUE
625catacomb_LIBS
626catacomb_CFLAGS
627HAVE_MLIB_FALSE
628HAVE_MLIB_TRUE
629mLib_LIBS
630mLib_CFLAGS
631PKG_CONFIG_LIBDIR
632PKG_CONFIG_PATH
633PKG_CONFIG
634HAVE_LIBCDB_FALSE
635HAVE_LIBCDB_TRUE
636MATH_LIBS
637am__fastdepCC_FALSE
638am__fastdepCC_TRUE
639CCDEPMODE
640am__nodep
641AMDEPBACKSLASH
642AMDEP_FALSE
643AMDEP_TRUE
644am__quote
645am__include
646DEPDIR
647OBJEXT
648EXEEXT
649ac_ct_CC
650CPPFLAGS
651LDFLAGS
652CFLAGS
653CC
654host_os
655host_vendor
656host_cpu
657host
658build_os
659build_vendor
660build_cpu
661build
662logdir
663AM_BACKSLASH
664AM_DEFAULT_VERBOSITY
665AM_DEFAULT_V
666AM_V
667am__untar
668am__tar
669AMTAR
670am__leading_dot
671SET_MAKE
672AWK
673mkdir_p
674MKDIR_P
675INSTALL_STRIP_PROGRAM
676STRIP
677install_sh
678MAKEINFO
679AUTOHEADER
680AUTOMAKE
681AUTOCONF
682ACLOCAL
683VERSION
684PACKAGE
685CYGPATH_W
686am__isrc
687INSTALL_DATA
688INSTALL_SCRIPT
689INSTALL_PROGRAM
690target_alias
691host_alias
692build_alias
693LIBS
694ECHO_T
695ECHO_N
696ECHO_C
697DEFS
698mandir
699localedir
700libdir
701psdir
702pdfdir
703dvidir
704htmldir
705infodir
706docdir
707oldincludedir
708includedir
709localstatedir
710sharedstatedir
711sysconfdir
712datadir
713datarootdir
714libexecdir
715sbindir
716bindir
717program_transform_name
718prefix
719exec_prefix
720PACKAGE_URL
721PACKAGE_BUGREPORT
722PACKAGE_STRING
723PACKAGE_VERSION
724PACKAGE_TARNAME
725PACKAGE_NAME
726PATH_SEPARATOR
727SHELL'
728ac_subst_files=''
729ac_user_opts='
730enable_option_checking
731enable_silent_rules
732with_logdir
733enable_dependency_tracking
734with_perlmoddir
735'
736 ac_precious_vars='build_alias
737host_alias
738target_alias
739CC
740CFLAGS
741LDFLAGS
742LIBS
743CPPFLAGS
744PKG_CONFIG
745PKG_CONFIG_PATH
746PKG_CONFIG_LIBDIR
747mLib_CFLAGS
748mLib_LIBS
749catacomb_CFLAGS
750catacomb_LIBS
751PYTHON
752PERL
753TCLSH
754BASH'
755
756
757# Initialize some variables set by options.
758ac_init_help=
759ac_init_version=false
760ac_unrecognized_opts=
761ac_unrecognized_sep=
762# The variables have the same names as the options, with
763# dashes changed to underlines.
764cache_file=/dev/null
765exec_prefix=NONE
766no_create=
767no_recursion=
768prefix=NONE
769program_prefix=NONE
770program_suffix=NONE
771program_transform_name=s,x,x,
772silent=
773site=
774srcdir=
775verbose=
776x_includes=NONE
777x_libraries=NONE
778
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.)
785bindir='${exec_prefix}/bin'
786sbindir='${exec_prefix}/sbin'
787libexecdir='${exec_prefix}/libexec'
788datarootdir='${prefix}/share'
789datadir='${datarootdir}'
790sysconfdir='${prefix}/etc'
791sharedstatedir='${prefix}/com'
792localstatedir='${prefix}/var'
793includedir='${prefix}/include'
794oldincludedir='/usr/include'
795docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
796infodir='${datarootdir}/info'
797htmldir='${docdir}'
798dvidir='${docdir}'
799pdfdir='${docdir}'
800psdir='${docdir}'
801libdir='${exec_prefix}/lib'
802localedir='${datarootdir}/locale'
803mandir='${datarootdir}/man'
804
805ac_prev=
806ac_dashdash=
807for ac_option
808do
809 # If the previous option needs an argument, assign it.
810 if test -n "$ac_prev"; then
811 eval $ac_prev=\$ac_option
812 ac_prev=
813 continue
814 fi
815
816 case $ac_option in
817 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
818 *=) ac_optarg= ;;
819 *) ac_optarg=yes ;;
820 esac
821
822 # Accept the important Cygnus configure options, so we can diagnose typos.
823
824 case $ac_dashdash$ac_option in
825 --)
826 ac_dashdash=yes ;;
827
828 -bindir | --bindir | --bindi | --bind | --bin | --bi)
829 ac_prev=bindir ;;
830 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
831 bindir=$ac_optarg ;;
832
833 -build | --build | --buil | --bui | --bu)
834 ac_prev=build_alias ;;
835 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
836 build_alias=$ac_optarg ;;
837
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 ;;
844
845 --config-cache | -C)
846 cache_file=config.cache ;;
847
848 -datadir | --datadir | --datadi | --datad)
849 ac_prev=datadir ;;
850 -datadir=* | --datadir=* | --datadi=* | --datad=*)
851 datadir=$ac_optarg ;;
852
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 ;;
859
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
868 *"
869"enable_$ac_useropt"
870"*) ;;
871 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
872 ac_unrecognized_sep=', ';;
873 esac
874 eval enable_$ac_useropt=no ;;
875
876 -docdir | --docdir | --docdi | --doc | --do)
877 ac_prev=docdir ;;
878 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
879 docdir=$ac_optarg ;;
880
881 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
882 ac_prev=dvidir ;;
883 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
884 dvidir=$ac_optarg ;;
885
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
894 *"
895"enable_$ac_useropt"
896"*) ;;
897 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
898 ac_unrecognized_sep=', ';;
899 esac
900 eval enable_$ac_useropt=\$ac_optarg ;;
901
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 ;;
910
911 -gas | --gas | --ga | --g)
912 # Obsolete; use --with-gas.
913 with_gas=yes ;;
914
915 -help | --help | --hel | --he | -h)
916 ac_init_help=long ;;
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 ;;
921
922 -host | --host | --hos | --ho)
923 ac_prev=host_alias ;;
924 -host=* | --host=* | --hos=* | --ho=*)
925 host_alias=$ac_optarg ;;
926
927 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
928 ac_prev=htmldir ;;
929 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
930 | --ht=*)
931 htmldir=$ac_optarg ;;
932
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 ;;
939
940 -infodir | --infodir | --infodi | --infod | --info | --inf)
941 ac_prev=infodir ;;
942 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
943 infodir=$ac_optarg ;;
944
945 -libdir | --libdir | --libdi | --libd)
946 ac_prev=libdir ;;
947 -libdir=* | --libdir=* | --libdi=* | --libd=*)
948 libdir=$ac_optarg ;;
949
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 ;;
956
957 -localedir | --localedir | --localedi | --localed | --locale)
958 ac_prev=localedir ;;
959 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
960 localedir=$ac_optarg ;;
961
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 ;;
968
969 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
970 ac_prev=mandir ;;
971 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
972 mandir=$ac_optarg ;;
973
974 -nfp | --nfp | --nf)
975 # Obsolete; use --without-fp.
976 with_fp=no ;;
977
978 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
979 | --no-cr | --no-c | -n)
980 no_create=yes ;;
981
982 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
983 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
984 no_recursion=yes ;;
985
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 ;;
994
995 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
996 ac_prev=prefix ;;
997 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
998 prefix=$ac_optarg ;;
999
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 ;;
1006
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 ;;
1013
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 ;;
1030
1031 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1032 ac_prev=pdfdir ;;
1033 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1034 pdfdir=$ac_optarg ;;
1035
1036 -psdir | --psdir | --psdi | --psd | --ps)
1037 ac_prev=psdir ;;
1038 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1039 psdir=$ac_optarg ;;
1040
1041 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1042 | -silent | --silent | --silen | --sile | --sil)
1043 silent=yes ;;
1044
1045 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1046 ac_prev=sbindir ;;
1047 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1048 | --sbi=* | --sb=*)
1049 sbindir=$ac_optarg ;;
1050
1051 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1052 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1053 | --sharedst | --shareds | --shared | --share | --shar \
1054 | --sha | --sh)
1055 ac_prev=sharedstatedir ;;
1056 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1057 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1058 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1059 | --sha=* | --sh=*)
1060 sharedstatedir=$ac_optarg ;;
1061
1062 -site | --site | --sit)
1063 ac_prev=site ;;
1064 -site=* | --site=* | --sit=*)
1065 site=$ac_optarg ;;
1066
1067 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1068 ac_prev=srcdir ;;
1069 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1070 srcdir=$ac_optarg ;;
1071
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 ;;
1078
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 ;;
1083
1084 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1085 verbose=yes ;;
1086
1087 -version | --version | --versio | --versi | --vers | -V)
1088 ac_init_version=: ;;
1089
1090 -with-* | --with-*)
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
1098 *"
1099"with_$ac_useropt"
1100"*) ;;
1101 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1102 ac_unrecognized_sep=', ';;
1103 esac
1104 eval with_$ac_useropt=\$ac_optarg ;;
1105
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
1114 *"
1115"with_$ac_useropt"
1116"*) ;;
1117 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1118 ac_unrecognized_sep=', ';;
1119 esac
1120 eval with_$ac_useropt=no ;;
1121
1122 --x)
1123 # Obsolete; use --with-x.
1124 with_x=yes ;;
1125
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 ;;
1132
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 ;;
1139
1140 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1141Try \`$0 --help' for more information"
1142 ;;
1143
1144 *=*)
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'" ;;
1150 esac
1151 eval $ac_envvar=\$ac_optarg
1152 export $ac_envvar ;;
1153
1154 *)
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}"
1160 ;;
1161
1162 esac
1163done
1164
1165if test -n "$ac_prev"; then
1166 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1167 as_fn_error $? "missing argument to $ac_option"
1168fi
1169
1170if test -n "$ac_unrecognized_opts"; then
1171 case $enable_option_checking in
1172 no) ;;
1173 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1174 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1175 esac
1176fi
1177
1178# Check all directory arguments for consistency.
1179for 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
1183do
1184 eval ac_val=\$$ac_var
1185 # Remove trailing slashes.
1186 case $ac_val in
1187 */ )
1188 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1189 eval $ac_var=\$ac_val;;
1190 esac
1191 # Be sure to have absolute directory names.
1192 case $ac_val in
1193 [\\/$]* | ?:[\\/]* ) continue;;
1194 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1195 esac
1196 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1197done
1198
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.
1202build=$build_alias
1203host=$host_alias
1204target=$target_alias
1205
1206# FIXME: To remove some day.
1207if 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
1211 cross_compiling=yes
1212 fi
1213fi
1214
1215ac_tool_prefix=
1216test -n "$host_alias" && ac_tool_prefix=$host_alias-
1217
1218test "$silent" = yes && exec 6>/dev/null
1219
1220
1221ac_pwd=`pwd` && test -n "$ac_pwd" &&
1222ac_ls_di=`ls -di .` &&
1223ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1224 as_fn_error $? "working directory cannot be determined"
1225test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1226 as_fn_error $? "pwd does not report name of working directory"
1227
1228
1229# Find the source files, if location was not specified.
1230if 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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1240 s//\1/
1241 q
1242 }
1243 /^X\(\/\/\)[^/].*/{
1244 s//\1/
1245 q
1246 }
1247 /^X\(\/\/\)$/{
1248 s//\1/
1249 q
1250 }
1251 /^X\(\/\).*/{
1252 s//\1/
1253 q
1254 }
1255 s/.*/./; q'`
1256 srcdir=$ac_confdir
1257 if test ! -r "$srcdir/$ac_unique_file"; then
1258 srcdir=..
1259 fi
1260else
1261 ac_srcdir_defaulted=no
1262fi
1263if 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"
1266fi
1267ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1268ac_abs_confdir=`(
1269 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1270 pwd)`
1271# When building in place, set srcdir=.
1272if test "$ac_abs_confdir" = "$ac_pwd"; then
1273 srcdir=.
1274fi
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.
1278case $srcdir in
1279*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1280esac
1281for 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}
1286done
1287
1288#
1289# Report the --help message.
1290#
1291if 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.
1294 cat <<_ACEOF
e0ac86ad 1295\`configure' configures distorted-utils 1.4.1.1 to adapt to many kinds of systems.
658332ec
MW
1296
1297Usage: $0 [OPTION]... [VAR=VALUE]...
1298
1299To assign environment variables (e.g., CC, CFLAGS...), specify them as
1300VAR=VALUE. See below for descriptions of some of the useful variables.
1301
1302Defaults for the options are specified in brackets.
1303
1304Configuration:
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 \`..']
1314
1315Installation directories:
1316 --prefix=PREFIX install architecture-independent files in PREFIX
1317 [$ac_default_prefix]
1318 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1319 [PREFIX]
1320
1321By default, \`make install' will install all the files in
1322\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1323an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1324for instance \`--prefix=\$HOME'.
1325
1326For better control, use the options below.
1327
1328Fine 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]
1348_ACEOF
1349
1350 cat <<\_ACEOF
1351
1352Program names:
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
1356
1357System types:
1358 --build=BUILD configure for building on BUILD [guessed]
1359 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1360_ACEOF
1361fi
1362
1363if test -n "$ac_init_help"; then
1364 case $ac_init_help in
e0ac86ad 1365 short | recursive ) echo "Configuration of distorted-utils 1.4.1.1:";;
658332ec
MW
1366 esac
1367 cat <<\_ACEOF
1368
1369Optional Features:
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
1377
1378Optional Packages:
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.
1383
1384Some 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
1393 PKG_CONFIG_PATH
1394 directories to add to pkg-config's search path
1395 PKG_CONFIG_LIBDIR
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
1399 catacomb_CFLAGS
1400 C compiler flags for catacomb, overriding pkg-config
1401 catacomb_LIBS
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.
1407
1408Use these variables to override the choices made by `configure' or to help
1409it to find libraries and programs with nonstandard names/locations.
1410
1411Report bugs to <mdw@distorted.org.uk>.
1412_ACEOF
1413ac_status=$?
1414fi
1415
1416if 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"; } ||
1421 continue
1422 ac_builddir=.
1423
1424case "$ac_dir" in
1425.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1426*)
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/ ;;
1433 esac ;;
1434esac
1435ac_abs_top_builddir=$ac_pwd
1436ac_abs_builddir=$ac_pwd$ac_dir_suffix
1437# for backward compatibility:
1438ac_top_builddir=$ac_top_build_prefix
1439
1440case $srcdir in
1441 .) # We are building in place.
1442 ac_srcdir=.
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 ;;
1449 *) # Relative name.
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 ;;
1453esac
1454ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1455
1456 cd "$ac_dir" || { ac_status=$?; continue; }
1457 # Check for guested configure.
1458 if test -f "$ac_srcdir/configure.gnu"; then
1459 echo &&
1460 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1461 elif test -f "$ac_srcdir/configure"; then
1462 echo &&
1463 $SHELL "$ac_srcdir/configure" --help=recursive
1464 else
1465 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1466 fi || ac_status=$?
1467 cd "$ac_pwd" || { ac_status=$?; break; }
1468 done
1469fi
1470
1471test -n "$ac_init_help" && exit $ac_status
1472if $ac_init_version; then
1473 cat <<\_ACEOF
e0ac86ad 1474distorted-utils configure 1.4.1.1
658332ec
MW
1475generated by GNU Autoconf 2.69
1476
1477Copyright (C) 2012 Free Software Foundation, Inc.
1478This configure script is free software; the Free Software Foundation
1479gives unlimited permission to copy, distribute and modify it.
1480_ACEOF
1481 exit
1482fi
1483
1484## ------------------------ ##
1485## Autoconf initialization. ##
1486## ------------------------ ##
1487
1488# ac_fn_c_try_compile LINENO
1489# --------------------------
1490# Try to compile conftest.$ac_ext, and return whether this succeeded.
1491ac_fn_c_try_compile ()
1492{
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"
1496case "(($ac_try" in
1497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1498 *) ac_try_echo=$ac_try;;
1499esac
1500eval 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
1503 ac_status=$?
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
1508 fi
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 :
1514 ac_retval=0
1515else
1516 $as_echo "$as_me: failed program was:" >&5
1517sed 's/^/| /' conftest.$ac_ext >&5
1518
1519 ac_retval=1
1520fi
1521 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1522 as_fn_set_status $ac_retval
1523
1524} # ac_fn_c_try_compile
1525
1526# ac_fn_c_try_link LINENO
1527# -----------------------
1528# Try to link conftest.$ac_ext, and return whether this succeeded.
1529ac_fn_c_try_link ()
1530{
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"
1534case "(($ac_try" in
1535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1536 *) ac_try_echo=$ac_try;;
1537esac
1538eval 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
1541 ac_status=$?
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
1546 fi
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
1554 }; then :
1555 ac_retval=0
1556else
1557 $as_echo "$as_me: failed program was:" >&5
1558sed 's/^/| /' conftest.$ac_ext >&5
1559
1560 ac_retval=1
1561fi
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
1569
1570} # ac_fn_c_try_link
1571
1572# ac_fn_c_check_func LINENO FUNC VAR
1573# ----------------------------------
1574# Tests whether FUNC exists, setting the cache variable VAR accordingly
1575ac_fn_c_check_func ()
1576{
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; }
1580if eval \${$3+:} false; then :
1581 $as_echo_n "(cached) " >&6
1582else
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
1588
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. */
1593
1594#ifdef __STDC__
1595# include <limits.h>
1596#else
1597# include <assert.h>
1598#endif
1599
1600#undef $2
1601
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. */
1605#ifdef __cplusplus
1606extern "C"
1607#endif
1608char $2 ();
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
1613choke me
1614#endif
1615
1616int
1617main ()
1618{
1619return $2 ();
1620 ;
1621 return 0;
1622}
1623_ACEOF
1624if ac_fn_c_try_link "$LINENO"; then :
1625 eval "$3=yes"
1626else
1627 eval "$3=no"
1628fi
1629rm -f core conftest.err conftest.$ac_objext \
1630 conftest$ac_exeext conftest.$ac_ext
1631fi
1632eval ac_res=\$$3
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
1636
1637} # ac_fn_c_check_func
1638cat >config.log <<_ACEOF
1639This file contains any messages produced by compilers while
1640running configure, to aid debugging if configure makes a mistake.
1641
e0ac86ad 1642It was created by distorted-utils $as_me 1.4.1.1, which was
658332ec
MW
1643generated by GNU Autoconf 2.69. Invocation command line was
1644
1645 $ $0 $@
1646
1647_ACEOF
1648exec 5>>config.log
1649{
1650cat <<_ASUNAME
1651## --------- ##
1652## Platform. ##
1653## --------- ##
1654
1655hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1656uname -m = `(uname -m) 2>/dev/null || echo unknown`
1657uname -r = `(uname -r) 2>/dev/null || echo unknown`
1658uname -s = `(uname -s) 2>/dev/null || echo unknown`
1659uname -v = `(uname -v) 2>/dev/null || echo unknown`
1660
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`
1663
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`
1671
1672_ASUNAME
1673
1674as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1675for as_dir in $PATH
1676do
1677 IFS=$as_save_IFS
1678 test -z "$as_dir" && as_dir=.
1679 $as_echo "PATH: $as_dir"
1680 done
1681IFS=$as_save_IFS
1682
1683} >&5
1684
1685cat >&5 <<_ACEOF
1686
1687
1688## ----------- ##
1689## Core tests. ##
1690## ----------- ##
1691
1692_ACEOF
1693
1694
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.
1700ac_configure_args=
1701ac_configure_args0=
1702ac_configure_args1=
1703ac_must_keep_next=false
1704for ac_pass in 1 2
1705do
1706 for ac_arg
1707 do
1708 case $ac_arg in
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)
1712 continue ;;
1713 *\'*)
1714 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1715 esac
1716 case $ac_pass in
1717 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1718 2)
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.
1722 else
1723 case $ac_arg in
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 ;;
1730 esac
1731 ;;
1732 -* ) ac_must_keep_next=true ;;
1733 esac
1734 fi
1735 as_fn_append ac_configure_args " '$ac_arg'"
1736 ;;
1737 esac
1738 done
1739done
1740{ ac_configure_args0=; unset ac_configure_args0;}
1741{ ac_configure_args1=; unset ac_configure_args1;}
1742
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.
1748trap 'exit_status=$?
1749 # Save into config.log some information that might help in debugging.
1750 {
1751 echo
1752
1753 $as_echo "## ---------------- ##
1754## Cache variables. ##
1755## ---------------- ##"
1756 echo
1757 # The following way of writing the cache mishandles newlines in values,
1758(
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
1761 case $ac_val in #(
1762 *${as_nl}*)
1763 case $ac_var in #(
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;} ;;
1766 esac
1767 case $ac_var in #(
1768 _ | IFS | as_nl) ;; #(
1769 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1770 *) { eval $ac_var=; unset $ac_var;} ;;
1771 esac ;;
1772 esac
1773 done
1774 (set) 2>&1 |
1775 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1776 *${as_nl}ac_space=\ *)
1777 sed -n \
1778 "s/'\''/'\''\\\\'\'''\''/g;
1779 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1780 ;; #(
1781 *)
1782 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1783 ;;
1784 esac |
1785 sort
1786)
1787 echo
1788
1789 $as_echo "## ----------------- ##
1790## Output variables. ##
1791## ----------------- ##"
1792 echo
1793 for ac_var in $ac_subst_vars
1794 do
1795 eval ac_val=\$$ac_var
1796 case $ac_val in
1797 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1798 esac
1799 $as_echo "$ac_var='\''$ac_val'\''"
1800 done | sort
1801 echo
1802
1803 if test -n "$ac_subst_files"; then
1804 $as_echo "## ------------------- ##
1805## File substitutions. ##
1806## ------------------- ##"
1807 echo
1808 for ac_var in $ac_subst_files
1809 do
1810 eval ac_val=\$$ac_var
1811 case $ac_val in
1812 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1813 esac
1814 $as_echo "$ac_var='\''$ac_val'\''"
1815 done | sort
1816 echo
1817 fi
1818
1819 if test -s confdefs.h; then
1820 $as_echo "## ----------- ##
1821## confdefs.h. ##
1822## ----------- ##"
1823 echo
1824 cat confdefs.h
1825 echo
1826 fi
1827 test "$ac_signal" != 0 &&
1828 $as_echo "$as_me: caught signal $ac_signal"
1829 $as_echo "$as_me: exit $exit_status"
1830 } >&5
1831 rm -f core *.core core.conftest.* &&
1832 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1833 exit $exit_status
1834' 0
1835for ac_signal in 1 2 13 15; do
1836 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1837done
1838ac_signal=0
1839
1840# confdefs.h avoids OS command line length limits that DEFS can exceed.
1841rm -f -r conftest* confdefs.h
1842
1843$as_echo "/* confdefs.h */" > confdefs.h
1844
1845# Predefined preprocessor variables.
1846
1847cat >>confdefs.h <<_ACEOF
1848#define PACKAGE_NAME "$PACKAGE_NAME"
1849_ACEOF
1850
1851cat >>confdefs.h <<_ACEOF
1852#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1853_ACEOF
1854
1855cat >>confdefs.h <<_ACEOF
1856#define PACKAGE_VERSION "$PACKAGE_VERSION"
1857_ACEOF
1858
1859cat >>confdefs.h <<_ACEOF
1860#define PACKAGE_STRING "$PACKAGE_STRING"
1861_ACEOF
1862
1863cat >>confdefs.h <<_ACEOF
1864#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1865_ACEOF
1866
1867cat >>confdefs.h <<_ACEOF
1868#define PACKAGE_URL "$PACKAGE_URL"
1869_ACEOF
1870
1871
1872# Let the site file select an alternate cache file if it wants to.
1873# Prefer an explicitly selected file to automatically selected ones.
1874ac_site_file1=NONE
1875ac_site_file2=NONE
1876if 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;;
1882 esac
1883elif test "x$prefix" != xNONE; then
1884 ac_site_file1=$prefix/share/config.site
1885 ac_site_file2=$prefix/etc/config.site
1886else
1887 ac_site_file1=$ac_default_prefix/share/config.site
1888 ac_site_file2=$ac_default_prefix/etc/config.site
1889fi
1890for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1891do
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
1897 . "$ac_site_file" \
1898 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1899$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1900as_fn_error $? "failed to load site script $ac_site_file
1901See \`config.log' for more details" "$LINENO" 5; }
1902 fi
1903done
1904
1905if 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;}
1911 case $cache_file in
1912 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1913 *) . "./$cache_file";;
1914 esac
1915 fi
1916else
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1918$as_echo "$as_me: creating cache $cache_file" >&6;}
1919 >$cache_file
1920fi
1921
1922# Check that the precious variables saved in the cache have kept the same
1923# value.
1924ac_cache_corrupted=false
1925for 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
1931 set,)
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=: ;;
1935 ,set)
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=: ;;
1939 ,);;
1940 *)
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=:
1949 else
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
1953 fi
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;}
1958 fi;;
1959 esac
1960 # Pass precious variables to config.status.
1961 if test "$ac_new_set" = set; then
1962 case $ac_new_val in
1963 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1964 *) ac_arg=$ac_var=$ac_new_val ;;
1965 esac
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'" ;;
1969 esac
1970 fi
1971done
1972if $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
1978fi
1979## -------------------- ##
1980## Main body of script. ##
1981## -------------------- ##
1982
1983ac_ext=c
1984ac_cpp='$CPP $CPPFLAGS'
1985ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1986ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1987ac_compiler_gnu=$ac_cv_c_compiler_gnu
1988
1989
1990
1991ac_aux_dir=
1992for ac_dir in config "$srcdir"/config; do
1993 if test -f "$ac_dir/install-sh"; then
1994 ac_aux_dir=$ac_dir
1995 ac_install_sh="$ac_aux_dir/install-sh -c"
1996 break
1997 elif test -f "$ac_dir/install.sh"; then
1998 ac_aux_dir=$ac_dir
1999 ac_install_sh="$ac_aux_dir/install.sh -c"
2000 break
2001 elif test -f "$ac_dir/shtool"; then
2002 ac_aux_dir=$ac_dir
2003 ac_install_sh="$ac_aux_dir/shtool install -c"
2004 break
2005 fi
2006done
2007if test -z "$ac_aux_dir"; then
2008 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2009fi
2010
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.
2015ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2016ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2017ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2018
2019
2020am__api_version='1.11'
2021
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
2028# AIX /bin/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; }
2038if test -z "$INSTALL"; then
2039if ${ac_cv_path_install+:} false; then :
2040 $as_echo_n "(cached) " >&6
2041else
2042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2043for as_dir in $PATH
2044do
2045 IFS=$as_save_IFS
2046 test -z "$as_dir" && as_dir=.
2047 # Account for people who put trailing slashes in PATH elements.
2048case $as_dir/ in #((
2049 ./ | .// | /[cC]/* | \
2050 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2051 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2052 /usr/ucb/* ) ;;
2053 *)
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
2056 # by default.
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.
2063 :
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.
2067 :
2068 else
2069 rm -rf conftest.one conftest.two conftest.dir
2070 echo one > conftest.one
2071 echo two > conftest.two
2072 mkdir conftest.dir
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
2077 then
2078 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2079 break 3
2080 fi
2081 fi
2082 fi
2083 done
2084 done
2085 ;;
2086esac
2087
2088 done
2089IFS=$as_save_IFS
2090
2091rm -rf conftest.one conftest.two conftest.dir
2092
2093fi
2094 if test "${ac_cv_path_install+set}" = set; then
2095 INSTALL=$ac_cv_path_install
2096 else
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
2102 fi
2103fi
2104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2105$as_echo "$INSTALL" >&6; }
2106
2107# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2108# It thinks the first close brace ends the variable substitution.
2109test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2110
2111test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2112
2113test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2114
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; }
2117# Just in case
2118sleep 1
2119echo timestamp > conftest.file
2120# Reject unsafe characters in $srcdir or the absolute working directory
2121# name. Accept space and tab only in the latter.
2122am_lf='
2123'
2124case `pwd` in
2125 *[\\\"\#\$\&\'\`$am_lf]*)
2126 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2127esac
2128case $srcdir in
2129 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2130 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2131esac
2132
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
2137# directory).
2138if (
2139 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2140 if test "$*" = "X"; then
2141 # -L didn't work.
2142 set X `ls -t "$srcdir/configure" conftest.file`
2143 fi
2144 rm -f conftest.file
2145 if test "$*" != "X $srcdir/configure conftest.file" \
2146 && test "$*" != "X conftest.file $srcdir/configure"; then
2147
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
2153alias in your environment" "$LINENO" 5
2154 fi
2155
2156 test "$2" = conftest.file
2157 )
2158then
2159 # Ok.
2160 :
2161else
2162 as_fn_error $? "newly created file is older than distributed files!
2163Check your system clock" "$LINENO" 5
2164fi
2165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2166$as_echo "yes" >&6; }
2167test "$program_prefix" != NONE &&
2168 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2169# Use a double $ so make ignores it.
2170test "$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.
2174ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2175program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2176
2177# expand $ac_aux_dir to an absolute path
2178am_aux_dir=`cd $ac_aux_dir && pwd`
2179
2180if test x"${MISSING+set}" != xset; then
2181 case $am_aux_dir in
2182 *\ * | *\ *)
2183 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2184 *)
2185 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2186 esac
2187fi
2188# Use eval to expand $SHELL
2189if eval "$MISSING --run true"; then
2190 am_missing_run="$MISSING --run "
2191else
2192 am_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;}
2195fi
2196
2197if test x"${install_sh}" != xset; then
2198 case $am_aux_dir in
2199 *\ * | *\ *)
2200 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2201 *)
2202 install_sh="\${SHELL} $am_aux_dir/install-sh"
2203 esac
2204fi
2205
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.
2210if 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.
2213set 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; }
2216if ${ac_cv_prog_STRIP+:} false; then :
2217 $as_echo_n "(cached) " >&6
2218else
2219 if test -n "$STRIP"; then
2220 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2221else
2222as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2223for as_dir in $PATH
2224do
2225 IFS=$as_save_IFS
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
2231 break 2
2232 fi
2233done
2234 done
2235IFS=$as_save_IFS
2236
2237fi
2238fi
2239STRIP=$ac_cv_prog_STRIP
2240if test -n "$STRIP"; then
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2242$as_echo "$STRIP" >&6; }
2243else
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2245$as_echo "no" >&6; }
2246fi
2247
2248
2249fi
2250if test -z "$ac_cv_prog_STRIP"; then
2251 ac_ct_STRIP=$STRIP
2252 # Extract the first word of "strip", so it can be a program name with args.
2253set 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; }
2256if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2257 $as_echo_n "(cached) " >&6
2258else
2259 if test -n "$ac_ct_STRIP"; then
2260 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2261else
2262as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2263for as_dir in $PATH
2264do
2265 IFS=$as_save_IFS
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
2271 break 2
2272 fi
2273done
2274 done
2275IFS=$as_save_IFS
2276
2277fi
2278fi
2279ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2280if 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; }
2283else
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2285$as_echo "no" >&6; }
2286fi
2287
2288 if test "x$ac_ct_STRIP" = x; then
2289 STRIP=":"
2290 else
2291 case $cross_compiling:$ac_tool_warned in
2292yes:)
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;}
2295ac_tool_warned=yes ;;
2296esac
2297 STRIP=$ac_ct_STRIP
2298 fi
2299else
2300 STRIP="$ac_cv_prog_STRIP"
2301fi
2302
2303fi
2304INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2305
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; }
2308if test -z "$MKDIR_P"; then
2309 if ${ac_cv_path_mkdir+:} false; then :
2310 $as_echo_n "(cached) " >&6
2311else
2312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2313for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2314do
2315 IFS=$as_save_IFS
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
2325 break 3;;
2326 esac
2327 done
2328 done
2329 done
2330IFS=$as_save_IFS
2331
2332fi
2333
2334 test -d ./--version && rmdir ./--version
2335 if test "${ac_cv_path_mkdir+set}" = set; then
2336 MKDIR_P="$ac_cv_path_mkdir -p"
2337 else
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"
2343 fi
2344fi
2345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2346$as_echo "$MKDIR_P" >&6; }
2347
2348mkdir_p="$MKDIR_P"
2349case $mkdir_p in
2350 [\\/$]* | ?:[\\/]*) ;;
2351 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2352esac
2353
2354for ac_prog in gawk mawk nawk awk
2355do
2356 # Extract the first word of "$ac_prog", so it can be a program name with args.
2357set 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; }
2360if ${ac_cv_prog_AWK+:} false; then :
2361 $as_echo_n "(cached) " >&6
2362else
2363 if test -n "$AWK"; then
2364 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2365else
2366as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2367for as_dir in $PATH
2368do
2369 IFS=$as_save_IFS
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
2375 break 2
2376 fi
2377done
2378 done
2379IFS=$as_save_IFS
2380
2381fi
2382fi
2383AWK=$ac_cv_prog_AWK
2384if test -n "$AWK"; then
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2386$as_echo "$AWK" >&6; }
2387else
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2389$as_echo "no" >&6; }
2390fi
2391
2392
2393 test -n "$AWK" && break
2394done
2395
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; }
2398set x ${MAKE-make}
2399ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2400if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2401 $as_echo_n "(cached) " >&6
2402else
2403 cat >conftest.make <<\_ACEOF
2404SHELL = /bin/sh
2405all:
2406 @echo '@@@%%%=$(MAKE)=@@@%%%'
2407_ACEOF
2408# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2409case `${MAKE-make} -f conftest.make 2>/dev/null` in
2410 *@@@%%%=?*=@@@%%%*)
2411 eval ac_cv_prog_make_${ac_make}_set=yes;;
2412 *)
2413 eval ac_cv_prog_make_${ac_make}_set=no;;
2414esac
2415rm -f conftest.make
2416fi
2417if 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; }
2420 SET_MAKE=
2421else
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2423$as_echo "no" >&6; }
2424 SET_MAKE="MAKE=${MAKE-make}"
2425fi
2426
2427rm -rf .tst 2>/dev/null
2428mkdir .tst 2>/dev/null
2429if test -d .tst; then
2430 am__leading_dot=.
2431else
2432 am__leading_dot=_
2433fi
2434rmdir .tst 2>/dev/null
2435
2436if 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
2443 fi
2444fi
2445
2446# test whether we have cygpath
2447if test -z "$CYGPATH_W"; then
2448 if (cygpath --version) >/dev/null 2>/dev/null; then
2449 CYGPATH_W='cygpath -w'
2450 else
2451 CYGPATH_W=echo
2452 fi
2453fi
2454
2455
2456# Define the identity of the package.
2457 PACKAGE='distorted-utils'
e0ac86ad 2458 VERSION='1.4.1.1'
658332ec
MW
2459
2460
2461cat >>confdefs.h <<_ACEOF
2462#define PACKAGE "$PACKAGE"
2463_ACEOF
2464
2465
2466cat >>confdefs.h <<_ACEOF
2467#define VERSION "$VERSION"
2468_ACEOF
2469
2470# Some tools Automake needs.
2471
2472ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2473
2474
2475AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2476
2477
2478AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2479
2480
2481AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2482
2483
2484MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2485
2486# We need awk for the "check" target. The system "awk" is bad on
2487# some platforms.
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 ...
2490AMTAR='$${TAR-tar}'
2491
2492am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2493
2494
2495
2496
2497
2498
2499
2500 # Check whether --enable-silent-rules was given.
2501if test "${enable_silent_rules+set}" = set; then :
2502 enableval=$enable_silent_rules;
2503fi
2504
2505case $enable_silent_rules in
2506yes) AM_DEFAULT_VERBOSITY=0;;
2507no) AM_DEFAULT_VERBOSITY=1;;
2508*) AM_DEFAULT_VERBOSITY=0;;
2509esac
2510am_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; }
2513if ${am_cv_make_support_nested_variables+:} false; then :
2514 $as_echo_n "(cached) " >&6
2515else
2516 if $as_echo 'TRUE=$(BAR$(V))
2517BAR0=false
2518BAR1=true
2519V=1
2520am__doit:
2521 @$(TRUE)
2522.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2523 am_cv_make_support_nested_variables=yes
2524else
2525 am_cv_make_support_nested_variables=no
2526fi
2527fi
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; }
2530if test $am_cv_make_support_nested_variables = yes; then
2531 AM_V='$(V)'
2532 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2533else
2534 AM_V=$AM_DEFAULT_VERBOSITY
2535 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2536fi
2537AM_BACKSLASH='\'
2538
2539
2540
2541
2542
2543# Check whether --with-logdir was given.
2544if test "${with_logdir+set}" = set; then :
2545 withval=$with_logdir; logdir=$withval
2546else
2547 logdir=/var/log
2548 for i in /var/log /var/adm; do
2549 if test -d $i; then logdir=$i; break; fi
2550 done
2551fi
2552
2553
2554
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
2558
2559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2560$as_echo_n "checking build system type... " >&6; }
2561if ${ac_cv_build+:} false; then :
2562 $as_echo_n "(cached) " >&6
2563else
2564 ac_build_alias=$build_alias
2565test "x$ac_build_alias" = x &&
2566 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2567test "x$ac_build_alias" = x &&
2568 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2569ac_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
2571
2572fi
2573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2574$as_echo "$ac_cv_build" >&6; }
2575case $ac_cv_build in
2576*-*-*) ;;
2577*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2578esac
2579build=$ac_cv_build
2580ac_save_IFS=$IFS; IFS='-'
2581set x $ac_cv_build
2582shift
2583build_cpu=$1
2584build_vendor=$2
2585shift; shift
2586# Remember, the first character of IFS is used to create $*,
2587# except with old shells:
2588build_os=$*
2589IFS=$ac_save_IFS
2590case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2591
2592
2593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2594$as_echo_n "checking host system type... " >&6; }
2595if ${ac_cv_host+:} false; then :
2596 $as_echo_n "(cached) " >&6
2597else
2598 if test "x$host_alias" = x; then
2599 ac_cv_host=$ac_cv_build
2600else
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
2603fi
2604
2605fi
2606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2607$as_echo "$ac_cv_host" >&6; }
2608case $ac_cv_host in
2609*-*-*) ;;
2610*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2611esac
2612host=$ac_cv_host
2613ac_save_IFS=$IFS; IFS='-'
2614set x $ac_cv_host
2615shift
2616host_cpu=$1
2617host_vendor=$2
2618shift; shift
2619# Remember, the first character of IFS is used to create $*,
2620# except with old shells:
2621host_os=$*
2622IFS=$ac_save_IFS
2623case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2624
2625
2626
2627
2628## Compiler.
2629ac_ext=c
2630ac_cpp='$CPP $CPPFLAGS'
2631ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2632ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2633ac_compiler_gnu=$ac_cv_c_compiler_gnu
2634if 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.
2636set 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; }
2639if ${ac_cv_prog_CC+:} false; then :
2640 $as_echo_n "(cached) " >&6
2641else
2642 if test -n "$CC"; then
2643 ac_cv_prog_CC="$CC" # Let the user override the test.
2644else
2645as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2646for as_dir in $PATH
2647do
2648 IFS=$as_save_IFS
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
2654 break 2
2655 fi
2656done
2657 done
2658IFS=$as_save_IFS
2659
2660fi
2661fi
2662CC=$ac_cv_prog_CC
2663if test -n "$CC"; then
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2665$as_echo "$CC" >&6; }
2666else
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2668$as_echo "no" >&6; }
2669fi
2670
2671
2672fi
2673if test -z "$ac_cv_prog_CC"; then
2674 ac_ct_CC=$CC
2675 # Extract the first word of "gcc", so it can be a program name with args.
2676set 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; }
2679if ${ac_cv_prog_ac_ct_CC+:} false; then :
2680 $as_echo_n "(cached) " >&6
2681else
2682 if test -n "$ac_ct_CC"; then
2683 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2684else
2685as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2686for as_dir in $PATH
2687do
2688 IFS=$as_save_IFS
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
2694 break 2
2695 fi
2696done
2697 done
2698IFS=$as_save_IFS
2699
2700fi
2701fi
2702ac_ct_CC=$ac_cv_prog_ac_ct_CC
2703if 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; }
2706else
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2708$as_echo "no" >&6; }
2709fi
2710
2711 if test "x$ac_ct_CC" = x; then
2712 CC=""
2713 else
2714 case $cross_compiling:$ac_tool_warned in
2715yes:)
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;}
2718ac_tool_warned=yes ;;
2719esac
2720 CC=$ac_ct_CC
2721 fi
2722else
2723 CC="$ac_cv_prog_CC"
2724fi
2725
2726if 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.
2729set 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; }
2732if ${ac_cv_prog_CC+:} false; then :
2733 $as_echo_n "(cached) " >&6
2734else
2735 if test -n "$CC"; then
2736 ac_cv_prog_CC="$CC" # Let the user override the test.
2737else
2738as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2739for as_dir in $PATH
2740do
2741 IFS=$as_save_IFS
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
2747 break 2
2748 fi
2749done
2750 done
2751IFS=$as_save_IFS
2752
2753fi
2754fi
2755CC=$ac_cv_prog_CC
2756if test -n "$CC"; then
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2758$as_echo "$CC" >&6; }
2759else
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2761$as_echo "no" >&6; }
2762fi
2763
2764
2765 fi
2766fi
2767if test -z "$CC"; then
2768 # Extract the first word of "cc", so it can be a program name with args.
2769set 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; }
2772if ${ac_cv_prog_CC+:} false; then :
2773 $as_echo_n "(cached) " >&6
2774else
2775 if test -n "$CC"; then
2776 ac_cv_prog_CC="$CC" # Let the user override the test.
2777else
2778 ac_prog_rejected=no
2779as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2780for as_dir in $PATH
2781do
2782 IFS=$as_save_IFS
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
2788 continue
2789 fi
2790 ac_cv_prog_CC="cc"
2791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2792 break 2
2793 fi
2794done
2795 done
2796IFS=$as_save_IFS
2797
2798if 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
2801 shift
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.
2806 shift
2807 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2808 fi
2809fi
2810fi
2811fi
2812CC=$ac_cv_prog_CC
2813if test -n "$CC"; then
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2815$as_echo "$CC" >&6; }
2816else
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2818$as_echo "no" >&6; }
2819fi
2820
2821
2822fi
2823if test -z "$CC"; then
2824 if test -n "$ac_tool_prefix"; then
2825 for ac_prog in cl.exe
2826 do
2827 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2828set 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; }
2831if ${ac_cv_prog_CC+:} false; then :
2832 $as_echo_n "(cached) " >&6
2833else
2834 if test -n "$CC"; then
2835 ac_cv_prog_CC="$CC" # Let the user override the test.
2836else
2837as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2838for as_dir in $PATH
2839do
2840 IFS=$as_save_IFS
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
2846 break 2
2847 fi
2848done
2849 done
2850IFS=$as_save_IFS
2851
2852fi
2853fi
2854CC=$ac_cv_prog_CC
2855if test -n "$CC"; then
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2857$as_echo "$CC" >&6; }
2858else
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2860$as_echo "no" >&6; }
2861fi
2862
2863
2864 test -n "$CC" && break
2865 done
2866fi
2867if test -z "$CC"; then
2868 ac_ct_CC=$CC
2869 for ac_prog in cl.exe
2870do
2871 # Extract the first word of "$ac_prog", so it can be a program name with args.
2872set 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; }
2875if ${ac_cv_prog_ac_ct_CC+:} false; then :
2876 $as_echo_n "(cached) " >&6
2877else
2878 if test -n "$ac_ct_CC"; then
2879 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2880else
2881as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2882for as_dir in $PATH
2883do
2884 IFS=$as_save_IFS
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
2890 break 2
2891 fi
2892done
2893 done
2894IFS=$as_save_IFS
2895
2896fi
2897fi
2898ac_ct_CC=$ac_cv_prog_ac_ct_CC
2899if 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; }
2902else
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2904$as_echo "no" >&6; }
2905fi
2906
2907
2908 test -n "$ac_ct_CC" && break
2909done
2910
2911 if test "x$ac_ct_CC" = x; then
2912 CC=""
2913 else
2914 case $cross_compiling:$ac_tool_warned in
2915yes:)
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;}
2918ac_tool_warned=yes ;;
2919esac
2920 CC=$ac_ct_CC
2921 fi
2922fi
2923
2924fi
2925
2926
2927test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2928$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2929as_fn_error $? "no acceptable C compiler found in \$PATH
2930See \`config.log' for more details" "$LINENO" 5; }
2931
2932# Provide some information about the compiler.
2933$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2934set X $ac_compile
2935ac_compiler=$2
2936for ac_option in --version -v -V -qversion; do
2937 { { ac_try="$ac_compiler $ac_option >&5"
2938case "(($ac_try" in
2939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2940 *) ac_try_echo=$ac_try;;
2941esac
2942eval 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
2945 ac_status=$?
2946 if test -s conftest.err; then
2947 sed '10a\
2948... rest of stderr output deleted ...
2949 10q' conftest.err >conftest.er1
2950 cat conftest.er1 >&5
2951 fi
2952 rm -f conftest.er1 conftest.err
2953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2954 test $ac_status = 0; }
2955done
2956
2957cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2958/* end confdefs.h. */
2959
2960int
2961main ()
2962{
2963
2964 ;
2965 return 0;
2966}
2967_ACEOF
2968ac_clean_files_save=$ac_clean_files
2969ac_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
2972# of exeext.
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; }
2975ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2976
2977# The possible output files:
2978ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2979
2980ac_rmfiles=
2981for ac_file in $ac_files
2982do
2983 case $ac_file in
2984 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2985 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2986 esac
2987done
2988rm -f $ac_rmfiles
2989
2990if { { ac_try="$ac_link_default"
2991case "(($ac_try" in
2992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2993 *) ac_try_echo=$ac_try;;
2994esac
2995eval 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
2998 ac_status=$?
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
3005# Autoconf.
3006for ac_file in $ac_files ''
3007do
3008 test -f "$ac_file" || continue
3009 case $ac_file in
3010 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3011 ;;
3012 [ab].out )
3013 # We found the default executable, but exeext='' is most
3014 # certainly right.
3015 break;;
3016 *.* )
3017 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3018 then :; else
3019 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3020 fi
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
3025 # actually working.
3026 break;;
3027 * )
3028 break;;
3029 esac
3030done
3031test "$ac_cv_exeext" = no && ac_cv_exeext=
3032
3033else
3034 ac_file=''
3035fi
3036if 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
3040sed 's/^/| /' conftest.$ac_ext >&5
3041
3042{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3043$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3044as_fn_error 77 "C compiler cannot create executables
3045See \`config.log' for more details" "$LINENO" 5; }
3046else
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3048$as_echo "yes" >&6; }
3049fi
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; }
3054ac_exeext=$ac_cv_exeext
3055
3056rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3057ac_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; }
3060if { { ac_try="$ac_link"
3061case "(($ac_try" in
3062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3063 *) ac_try_echo=$ac_try;;
3064esac
3065eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3066$as_echo "$ac_try_echo"; } >&5
3067 (eval "$ac_link") 2>&5
3068 ac_status=$?
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
3074# `rm'.
3075for ac_file in conftest.exe conftest conftest.*; do
3076 test -f "$ac_file" || continue
3077 case $ac_file in
3078 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3079 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3080 break;;
3081 * ) break;;
3082 esac
3083done
3084else
3085 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3086$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3087as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3088See \`config.log' for more details" "$LINENO" 5; }
3089fi
3090rm -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; }
3093
3094rm -f conftest.$ac_ext
3095EXEEXT=$ac_cv_exeext
3096ac_exeext=$EXEEXT
3097cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3098/* end confdefs.h. */
3099#include <stdio.h>
3100int
3101main ()
3102{
3103FILE *f = fopen ("conftest.out", "w");
3104 return ferror (f) || fclose (f) != 0;
3105
3106 ;
3107 return 0;
3108}
3109_ACEOF
3110ac_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; }
3115if test "$cross_compiling" != yes; then
3116 { { ac_try="$ac_link"
3117case "(($ac_try" in
3118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3119 *) ac_try_echo=$ac_try;;
3120esac
3121eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3122$as_echo "$ac_try_echo"; } >&5
3123 (eval "$ac_link") 2>&5
3124 ac_status=$?
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;;
3131esac
3132eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3133$as_echo "$ac_try_echo"; } >&5
3134 (eval "$ac_try") 2>&5
3135 ac_status=$?
3136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3137 test $ac_status = 0; }; }; then
3138 cross_compiling=no
3139 else
3140 if test "$cross_compiling" = maybe; then
3141 cross_compiling=yes
3142 else
3143 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3144$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3145as_fn_error $? "cannot run C compiled programs.
3146If you meant to cross compile, use \`--host'.
3147See \`config.log' for more details" "$LINENO" 5; }
3148 fi
3149 fi
3150fi
3151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3152$as_echo "$cross_compiling" >&6; }
3153
3154rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3155ac_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; }
3158if ${ac_cv_objext+:} false; then :
3159 $as_echo_n "(cached) " >&6
3160else
3161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3162/* end confdefs.h. */
3163
3164int
3165main ()
3166{
3167
3168 ;
3169 return 0;
3170}
3171_ACEOF
3172rm -f conftest.o conftest.obj
3173if { { ac_try="$ac_compile"
3174case "(($ac_try" in
3175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3176 *) ac_try_echo=$ac_try;;
3177esac
3178eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3179$as_echo "$ac_try_echo"; } >&5
3180 (eval "$ac_compile") 2>&5
3181 ac_status=$?
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;
3186 case $ac_file in
3187 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3188 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3189 break;;
3190 esac
3191done
3192else
3193 $as_echo "$as_me: failed program was:" >&5
3194sed 's/^/| /' conftest.$ac_ext >&5
3195
3196{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3197$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3198as_fn_error $? "cannot compute suffix of object files: cannot compile
3199See \`config.log' for more details" "$LINENO" 5; }
3200fi
3201rm -f conftest.$ac_cv_objext conftest.$ac_ext
3202fi
3203{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3204$as_echo "$ac_cv_objext" >&6; }
3205OBJEXT=$ac_cv_objext
3206ac_objext=$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; }
3209if ${ac_cv_c_compiler_gnu+:} false; then :
3210 $as_echo_n "(cached) " >&6
3211else
3212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3213/* end confdefs.h. */
3214
3215int
3216main ()
3217{
3218#ifndef __GNUC__
3219 choke me
3220#endif
3221
3222 ;
3223 return 0;
3224}
3225_ACEOF
3226if ac_fn_c_try_compile "$LINENO"; then :
3227 ac_compiler_gnu=yes
3228else
3229 ac_compiler_gnu=no
3230fi
3231rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3232ac_cv_c_compiler_gnu=$ac_compiler_gnu
3233
3234fi
3235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3236$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3237if test $ac_compiler_gnu = yes; then
3238 GCC=yes
3239else
3240 GCC=
3241fi
3242ac_test_CFLAGS=${CFLAGS+set}
3243ac_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; }
3246if ${ac_cv_prog_cc_g+:} false; then :
3247 $as_echo_n "(cached) " >&6
3248else
3249 ac_save_c_werror_flag=$ac_c_werror_flag
3250 ac_c_werror_flag=yes
3251 ac_cv_prog_cc_g=no
3252 CFLAGS="-g"
3253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3254/* end confdefs.h. */
3255
3256int
3257main ()
3258{
3259
3260 ;
3261 return 0;
3262}
3263_ACEOF
3264if ac_fn_c_try_compile "$LINENO"; then :
3265 ac_cv_prog_cc_g=yes
3266else
3267 CFLAGS=""
3268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3269/* end confdefs.h. */
3270
3271int
3272main ()
3273{
3274
3275 ;
3276 return 0;
3277}
3278_ACEOF
3279if ac_fn_c_try_compile "$LINENO"; then :
3280
3281else
3282 ac_c_werror_flag=$ac_save_c_werror_flag
3283 CFLAGS="-g"
3284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3285/* end confdefs.h. */
3286
3287int
3288main ()
3289{
3290
3291 ;
3292 return 0;
3293}
3294_ACEOF
3295if ac_fn_c_try_compile "$LINENO"; then :
3296 ac_cv_prog_cc_g=yes
3297fi
3298rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3299fi
3300rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3301fi
3302rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3303 ac_c_werror_flag=$ac_save_c_werror_flag
3304fi
3305{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3306$as_echo "$ac_cv_prog_cc_g" >&6; }
3307if test "$ac_test_CFLAGS" = set; then
3308 CFLAGS=$ac_save_CFLAGS
3309elif test $ac_cv_prog_cc_g = yes; then
3310 if test "$GCC" = yes; then
3311 CFLAGS="-g -O2"
3312 else
3313 CFLAGS="-g"
3314 fi
3315else
3316 if test "$GCC" = yes; then
3317 CFLAGS="-O2"
3318 else
3319 CFLAGS=
3320 fi
3321fi
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; }
3324if ${ac_cv_prog_cc_c89+:} false; then :
3325 $as_echo_n "(cached) " >&6
3326else
3327 ac_cv_prog_cc_c89=no
3328ac_save_CC=$CC
3329cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3330/* end confdefs.h. */
3331#include <stdarg.h>
3332#include <stdio.h>
3333struct stat;
3334/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3335struct buf { int x; };
3336FILE * (*rcsopen) (struct buf *, struct stat *, int);
3337static char *e (p, i)
3338 char **p;
3339 int i;
3340{
3341 return p[i];
3342}
3343static char *f (char * (*g) (char **, int), char **p, ...)
3344{
3345 char *s;
3346 va_list v;
3347 va_start (v,p);
3348 s = g (p, va_arg (v,int));
3349 va_end (v);
3350 return s;
3351}
3352
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. */
3360int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3361
3362/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3363 inside strings and character constants. */
3364#define FOO(x) 'x'
3365int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3366
3367int test (int i, double x);
3368struct s1 {int (*f) (int a);};
3369struct s2 {int (*f) (double a);};
3370int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3371int argc;
3372char **argv;
3373int
3374main ()
3375{
3376return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3377 ;
3378 return 0;
3379}
3380_ACEOF
3381for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3382 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3383do
3384 CC="$ac_save_CC $ac_arg"
3385 if ac_fn_c_try_compile "$LINENO"; then :
3386 ac_cv_prog_cc_c89=$ac_arg
3387fi
3388rm -f core conftest.err conftest.$ac_objext
3389 test "x$ac_cv_prog_cc_c89" != "xno" && break
3390done
3391rm -f conftest.$ac_ext
3392CC=$ac_save_CC
3393
3394fi
3395# AC_CACHE_VAL
3396case "x$ac_cv_prog_cc_c89" in
3397 x)
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3399$as_echo "none needed" >&6; } ;;
3400 xno)
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3402$as_echo "unsupported" >&6; } ;;
3403 *)
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; } ;;
3407esac
3408if test "x$ac_cv_prog_cc_c89" != xno; then :
3409
3410fi
3411
3412ac_ext=c
3413ac_cpp='$CPP $CPPFLAGS'
3414ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3415ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3416ac_compiler_gnu=$ac_cv_c_compiler_gnu
3417DEPDIR="${am__leading_dot}deps"
3418
3419ac_config_commands="$ac_config_commands depfiles"
3420
3421
3422am_make=${MAKE-make}
3423cat > confinc << 'END'
3424am__doit:
3425 @echo this is the am__doit target
3426.PHONY: am__doit
3427END
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; }
3431am__include="#"
3432am__quote=
3433_am_result=none
3434# First try GNU make style include.
3435echo "include confinc" > confmf
3436# Ignore all kinds of additional output from `make'.
3437case `$am_make -s -f confmf 2> /dev/null` in #(
3438*the\ am__doit\ target*)
3439 am__include=include
3440 am__quote=
3441 _am_result=GNU
3442 ;;
3443esac
3444# Now try BSD make style include.
3445if 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
3450 am__quote="\""
3451 _am_result=BSD
3452 ;;
3453 esac
3454fi
3455
3456
3457{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3458$as_echo "$_am_result" >&6; }
3459rm -f confinc confmf
3460
3461# Check whether --enable-dependency-tracking was given.
3462if test "${enable_dependency_tracking+set}" = set; then :
3463 enableval=$enable_dependency_tracking;
3464fi
3465
3466if test "x$enable_dependency_tracking" != xno; then
3467 am_depcomp="$ac_aux_dir/depcomp"
3468 AMDEPBACKSLASH='\'
3469 am__nodep='_no'
3470fi
3471 if test "x$enable_dependency_tracking" != xno; then
3472 AMDEP_TRUE=
3473 AMDEP_FALSE='#'
3474else
3475 AMDEP_TRUE='#'
3476 AMDEP_FALSE=
3477fi
3478
3479
3480
3481depcc="$CC" am_compiler_list=
3482
3483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3484$as_echo_n "checking dependency style of $depcc... " >&6; }
3485if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3486 $as_echo_n "(cached) " >&6
3487else
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
3493 # in D'.
3494 rm -rf conftest.dir
3495 mkdir conftest.dir
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
3499 cd 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
3505 # directory.
3506 mkdir sub
3507
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`
3511 fi
3512 am__universal=false
3513 case " $depcc " in #(
3514 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3515 esac
3516
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.
3521 #
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.
3525 : > sub/conftest.c
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
3531 done
3532 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3533
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"
3540 case $depmode in
3541 gcc)
3542 # This depmode causes a compiler race in universal mode.
3543 test "$am__universal" = false || continue
3544 ;;
3545 nosideeffect)
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
3549 continue
3550 else
3551 break
3552 fi
3553 ;;
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}
3559 am__minus_obj=
3560 ;;
3561 none) break ;;
3562 esac
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
3582 break
3583 fi
3584 fi
3585 done
3586
3587 cd ..
3588 rm -rf conftest.dir
3589else
3590 am_cv_CC_dependencies_compiler_type=none
3591fi
3592
3593fi
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; }
3596CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3597
3598 if
3599 test "x$enable_dependency_tracking" != xno \
3600 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3601 am__fastdepCC_TRUE=
3602 am__fastdepCC_FALSE='#'
3603else
3604 am__fastdepCC_TRUE='#'
3605 am__fastdepCC_FALSE=
3606fi
3607
3608
3609
3610ac_ext=c
3611ac_cpp='$CPP $CPPFLAGS'
3612ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3613ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3614ac_compiler_gnu=$ac_cv_c_compiler_gnu
3615
3616{ $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
3617$as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
3618if ${ac_cv_cflags_warn_all+:} false; then :
3619 $as_echo_n "(cached) " >&6
3620else
3621 ac_cv_cflags_warn_all="no, unknown"
3622ac_save_CFLAGS="$CFLAGS"
3623for 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" #
3624do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
3625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3626/* end confdefs.h. */
3627
3628int
3629main ()
3630{
3631
3632 ;
3633 return 0;
3634}
3635_ACEOF
3636if ac_fn_c_try_compile "$LINENO"; then :
3637 ac_cv_cflags_warn_all=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
3638fi
3639rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3640done
3641CFLAGS="$ac_save_CFLAGS"
3642
3643fi
3644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
3645$as_echo "$ac_cv_cflags_warn_all" >&6; }
3646case ".$ac_cv_cflags_warn_all" in
3647 .ok|.ok,*) ;;
3648 .|.no|.no,*) ;;
3649 *) if ${CFLAGS+:} false; then :
3650 case " $CFLAGS " in
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
3654 ac_status=$?
3655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3656 test $ac_status = 0; }
3657 ;;
3658 *)
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
3661 ac_status=$?
3662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3663 test $ac_status = 0; }
3664 CFLAGS="$CFLAGS $ac_cv_cflags_warn_all"
3665 ;;
3666 esac
3667else
3668 CFLAGS="$ac_cv_cflags_warn_all"
3669fi
3670 ;;
3671esac
3672
3673ac_ext=c
3674ac_cpp='$CPP $CPPFLAGS'
3675ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3676ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3677ac_compiler_gnu=$ac_cv_c_compiler_gnu
3678
3679
3680
3681## Libraries.
3682OLIBS=$LIBS
3683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5
3684$as_echo_n "checking for library containing floor... " >&6; }
3685if ${ac_cv_search_floor+:} false; then :
3686 $as_echo_n "(cached) " >&6
3687else
3688 ac_func_search_save_LIBS=$LIBS
3689cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3690/* end confdefs.h. */
3691
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. */
3695#ifdef __cplusplus
3696extern "C"
3697#endif
3698char floor ();
3699int
3700main ()
3701{
3702return floor ();
3703 ;
3704 return 0;
3705}
3706_ACEOF
3707for ac_lib in '' m; do
3708 if test -z "$ac_lib"; then
3709 ac_res="none required"
3710 else
3711 ac_res=-l$ac_lib
3712 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3713 fi
3714 if ac_fn_c_try_link "$LINENO"; then :
3715 ac_cv_search_floor=$ac_res
3716fi
3717rm -f core conftest.err conftest.$ac_objext \
3718 conftest$ac_exeext
3719 if ${ac_cv_search_floor+:} false; then :
3720 break
3721fi
3722done
3723if ${ac_cv_search_floor+:} false; then :
3724
3725else
3726 ac_cv_search_floor=no
3727fi
3728rm conftest.$ac_ext
3729LIBS=$ac_func_search_save_LIBS
3730fi
3731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_floor" >&5
3732$as_echo "$ac_cv_search_floor" >&6; }
3733ac_res=$ac_cv_search_floor
3734if test "$ac_res" != no; then :
3735 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3736
3737fi
3738
3739MATH_LIBS=$LIBS
3740
3741LIBS=$OLIBS
3742
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; }
3745if ${ac_cv_lib_cdb_cdb_seek+:} false; then :
3746 $as_echo_n "(cached) " >&6
3747else
3748 ac_check_lib_save_LIBS=$LIBS
3749LIBS="-lcdb $LIBS"
3750cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3751/* end confdefs.h. */
3752
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. */
3756#ifdef __cplusplus
3757extern "C"
3758#endif
3759char cdb_seek ();
3760int
3761main ()
3762{
3763return cdb_seek ();
3764 ;
3765 return 0;
3766}
3767_ACEOF
3768if ac_fn_c_try_link "$LINENO"; then :
3769 ac_cv_lib_cdb_cdb_seek=yes
3770else
3771 ac_cv_lib_cdb_cdb_seek=no
3772fi
3773rm -f core conftest.err conftest.$ac_objext \
3774 conftest$ac_exeext conftest.$ac_ext
3775LIBS=$ac_check_lib_save_LIBS
3776fi
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; }
3779if test "x$ac_cv_lib_cdb_cdb_seek" = xyes; then :
3780 have_cdb=yes
3781else
3782 have_cdb=no
3783fi
3784
3785 if test $have_cdb = yes; then
3786 HAVE_LIBCDB_TRUE=
3787 HAVE_LIBCDB_FALSE='#'
3788else
3789 HAVE_LIBCDB_TRUE='#'
3790 HAVE_LIBCDB_FALSE=
3791fi
3792
3793
3794## Packages.
3795
3796
3797
3798
3799
3800
3801
3802if 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.
3805set 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; }
3808if ${ac_cv_path_PKG_CONFIG+:} false; then :
3809 $as_echo_n "(cached) " >&6
3810else
3811 case $PKG_CONFIG in
3812 [\\/]* | ?:[\\/]*)
3813 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3814 ;;
3815 *)
3816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3817for as_dir in $PATH
3818do
3819 IFS=$as_save_IFS
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
3825 break 2
3826 fi
3827done
3828 done
3829IFS=$as_save_IFS
3830
3831 ;;
3832esac
3833fi
3834PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3835if test -n "$PKG_CONFIG"; then
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3837$as_echo "$PKG_CONFIG" >&6; }
3838else
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3840$as_echo "no" >&6; }
3841fi
3842
3843
3844fi
3845if 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.
3848set 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; }
3851if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
3852 $as_echo_n "(cached) " >&6
3853else
3854 case $ac_pt_PKG_CONFIG in
3855 [\\/]* | ?:[\\/]*)
3856 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3857 ;;
3858 *)
3859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3860for as_dir in $PATH
3861do
3862 IFS=$as_save_IFS
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
3868 break 2
3869 fi
3870done
3871 done
3872IFS=$as_save_IFS
3873
3874 ;;
3875esac
3876fi
3877ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3878if 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; }
3881else
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3883$as_echo "no" >&6; }
3884fi
3885
3886 if test "x$ac_pt_PKG_CONFIG" = x; then
3887 PKG_CONFIG=""
3888 else
3889 case $cross_compiling:$ac_tool_warned in
3890yes:)
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;}
3893ac_tool_warned=yes ;;
3894esac
3895 PKG_CONFIG=$ac_pt_PKG_CONFIG
3896 fi
3897else
3898 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3899fi
3900
3901fi
3902if 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; }
3909 else
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3911$as_echo "no" >&6; }
3912 PKG_CONFIG=""
3913 fi
3914fi
3915
3916pkg_failed=no
3917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mLib" >&5
3918$as_echo_n "checking for mLib... " >&6; }
3919
3920if 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
3926 ac_status=$?
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
3931else
3932 pkg_failed=yes
3933fi
3934 else
3935 pkg_failed=untried
3936fi
3937if 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
3943 ac_status=$?
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
3948else
3949 pkg_failed=yes
3950fi
3951 else
3952 pkg_failed=untried
3953fi
3954
3955
3956
3957if test $pkg_failed = yes; then
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3959$as_echo "no" >&6; }
3960
3961if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3962 _pkg_short_errors_supported=yes
3963else
3964 _pkg_short_errors_supported=no
3965fi
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`
3968 else
3969 mLib_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mLib >= 2.0.4" 2>&1`
3970 fi
3971 # Put the nasty error message in config.log where it belongs
3972 echo "$mLib_PKG_ERRORS" >&5
3973
3974 have_mLib=no
3975elif test $pkg_failed = untried; then
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3977$as_echo "no" >&6; }
3978 have_mLib=no
3979else
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; }
3984 have_mLib=yes
3985fi
3986 if test $have_mLib = yes; then
3987 HAVE_MLIB_TRUE=
3988 HAVE_MLIB_FALSE='#'
3989else
3990 HAVE_MLIB_TRUE='#'
3991 HAVE_MLIB_FALSE=
3992fi
3993
3994
3995
3996pkg_failed=no
3997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catacomb" >&5
3998$as_echo_n "checking for catacomb... " >&6; }
3999
4000if 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
4006 ac_status=$?
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
4011else
4012 pkg_failed=yes
4013fi
4014 else
4015 pkg_failed=untried
4016fi
4017if 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
4023 ac_status=$?
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
4028else
4029 pkg_failed=yes
4030fi
4031 else
4032 pkg_failed=untried
4033fi
4034
4035
4036
4037if test $pkg_failed = yes; then
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4039$as_echo "no" >&6; }
4040
4041if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4042 _pkg_short_errors_supported=yes
4043else
4044 _pkg_short_errors_supported=no
4045fi
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`
4048 else
4049 catacomb_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "catacomb >= 2.1.1" 2>&1`
4050 fi
4051 # Put the nasty error message in config.log where it belongs
4052 echo "$catacomb_PKG_ERRORS" >&5
4053
4054 have_catacomb=no
4055elif test $pkg_failed = untried; then
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4057$as_echo "no" >&6; }
4058 have_catacomb=no
4059else
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; }
4064 have_catacomb=yes
4065fi
4066 if test $have_catacomb = yes; then
4067 HAVE_CATACOMB_TRUE=
4068 HAVE_CATACOMB_FALSE='#'
4069else
4070 HAVE_CATACOMB_TRUE='#'
4071 HAVE_CATACOMB_FALSE=
4072fi
4073
4074
4075## Functions.
4076ac_fn_c_check_func "$LINENO" "prlimit" "ac_cv_func_prlimit"
4077if test "x$ac_cv_func_prlimit" = xyes; then :
4078 have_prlimit=yes
4079else
4080 have_prlimit=no
4081fi
4082
4083 if test $have_prlimit = yes; then
4084 HAVE_PRLIMIT_TRUE=
4085 HAVE_PRLIMIT_FALSE='#'
4086else
4087 HAVE_PRLIMIT_TRUE='#'
4088 HAVE_PRLIMIT_FALSE=
4089fi
4090
4091
4092## Processor type.
4093case "$host_cpu" in i?86 | x86_64) x86=yes;; *) x86=no;; esac
4094 if test $x86 = yes -a $GCC = yes; then
4095 X86_TRUE=
4096 X86_FALSE='#'
4097else
4098 X86_TRUE='#'
4099 X86_FALSE=
4100fi
4101
4102
4103
4104## Python.
4105
4106
4107
4108
4109
4110
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; }
4115 prog="import sys
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
4119minver = list(map(int, '2.4'.split('.'))) + [0, 0, 0]
4120minverhex = 0
4121# xrange is not present in Python 3.0 and range returns an iterator
4122for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
4123sys.exit(sys.hexversion < minverhex)"
4124 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
4125 ($PYTHON -c "$prog") >&5 2>&5
4126 ac_status=$?
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; }
4131else
4132 as_fn_error $? "too old" "$LINENO" 5
4133fi
4134 am_display_PYTHON=$PYTHON
4135 else
4136 # Otherwise, try each interpreter until we find one that satisfies
4137 # VERSION.
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; }
4140if ${am_cv_pathless_PYTHON+:} false; then :
4141 $as_echo_n "(cached) " >&6
4142else
4143
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
4146 prog="import sys
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
4150minver = list(map(int, '2.4'.split('.'))) + [0, 0, 0]
4151minverhex = 0
4152# xrange is not present in Python 3.0 and range returns an iterator
4153for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
4154sys.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
4157 ac_status=$?
4158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4159 (exit $ac_status); }; then :
4160 break
4161fi
4162 done
4163fi
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
4168 PYTHON=:
4169 else
4170 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
4171set 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; }
4174if ${ac_cv_path_PYTHON+:} false; then :
4175 $as_echo_n "(cached) " >&6
4176else
4177 case $PYTHON in
4178 [\\/]* | ?:[\\/]*)
4179 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
4180 ;;
4181 *)
4182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4183for as_dir in $PATH
4184do
4185 IFS=$as_save_IFS
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
4191 break 2
4192 fi
4193done
4194 done
4195IFS=$as_save_IFS
4196
4197 ;;
4198esac
4199fi
4200PYTHON=$ac_cv_path_PYTHON
4201if test -n "$PYTHON"; then
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
4203$as_echo "$PYTHON" >&6; }
4204else
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4206$as_echo "no" >&6; }
4207fi
4208
4209
4210 fi
4211 am_display_PYTHON=$am_cv_pathless_PYTHON
4212 fi
4213
4214
4215 if test "$PYTHON" = :; then
4216 have_python=no
4217 else
4218
4219
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; }
4222if ${am_cv_python_version+:} false; then :
4223 $as_echo_n "(cached) " >&6
4224else
4225 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
4226fi
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
4230
4231
4232
4233 PYTHON_PREFIX='${prefix}'
4234
4235 PYTHON_EXEC_PREFIX='${exec_prefix}'
4236
4237
4238
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; }
4241if ${am_cv_python_platform+:} false; then :
4242 $as_echo_n "(cached) " >&6
4243else
4244 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
4245fi
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
4249
4250
4251
4252
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; }
4255if ${am_cv_python_pythondir+:} false; then :
4256 $as_echo_n "(cached) " >&6
4257else
4258 if test "x$prefix" = xNONE
4259 then
4260 am_py_prefix=$ac_default_prefix
4261 else
4262 am_py_prefix=$prefix
4263 fi
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
4266 $am_py_prefix*)
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,"`
4269 ;;
4270 *)
4271 case $am_py_prefix in
4272 /usr|/System*) ;;
4273 *)
4274 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
4275 ;;
4276 esac
4277 ;;
4278 esac
4279
4280fi
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
4284
4285
4286
4287 pkgpythondir=\${pythondir}/$PACKAGE
4288
4289
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; }
4292if ${am_cv_python_pyexecdir+:} false; then :
4293 $as_echo_n "(cached) " >&6
4294else
4295 if test "x$exec_prefix" = xNONE
4296 then
4297 am_py_exec_prefix=$am_py_prefix
4298 else
4299 am_py_exec_prefix=$exec_prefix
4300 fi
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,"`
4306 ;;
4307 *)
4308 case $am_py_exec_prefix in
4309 /usr|/System*) ;;
4310 *)
4311 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
4312 ;;
4313 esac
4314 ;;
4315 esac
4316
4317fi
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
4321
4322
4323
4324 pkgpyexecdir=\${pyexecdir}/$PACKAGE
4325
4326
4327 have_python=yes
4328 fi
4329
4330
4331 if test $have_python = yes; then
4332 HAVE_PYTHON_TRUE=
4333 HAVE_PYTHON_FALSE='#'
4334else
4335 HAVE_PYTHON_TRUE='#'
4336 HAVE_PYTHON_FALSE=
4337fi
4338
4339
4340
4341 if test -z $PYTHON;
4342 then
4343 PYTHON="python"
4344 fi
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
4349 if test $? -eq 0;
4350 then
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4352$as_echo "yes" >&6; }
4353 eval HAVE_PYMOD_CDB=yes
4354 else
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4356$as_echo "no" >&6; }
4357 eval HAVE_PYMOD_CDB=no
4358 #
4359 if test -n ""
4360 then
4361 as_fn_error $? "failed to find required module cdb" "$LINENO" 5
4362 exit 1
4363 fi
4364 fi
4365
4366 if test $HAVE_PYMOD_CDB = yes; then
4367 HAVE_PYMOD_CDB_TRUE=
4368 HAVE_PYMOD_CDB_FALSE='#'
4369else
4370 HAVE_PYMOD_CDB_TRUE='#'
4371 HAVE_PYMOD_CDB_FALSE=
4372fi
4373
4374
4375## Perl.
4376
4377for ac_prog in perl perl5
4378do
4379 # Extract the first word of "$ac_prog", so it can be a program name with args.
4380set 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; }
4383if ${ac_cv_path_PERL+:} false; then :
4384 $as_echo_n "(cached) " >&6
4385else
4386 case $PERL in
4387 [\\/]* | ?:[\\/]*)
4388 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
4389 ;;
4390 *)
4391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4392for as_dir in $PATH
4393do
4394 IFS=$as_save_IFS
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
4400 break 2
4401 fi
4402done
4403 done
4404IFS=$as_save_IFS
4405
4406 ;;
4407esac
4408fi
4409PERL=$ac_cv_path_PERL
4410if test -n "$PERL"; then
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
4412$as_echo "$PERL" >&6; }
4413else
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4415$as_echo "no" >&6; }
4416fi
4417
4418
4419 test -n "$PERL" && break
4420done
4421test -n "$PERL" || PERL="false"
4422
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; }
4425if ${ac_cv_path_SED+:} false; then :
4426 $as_echo_n "(cached) " >&6
4427else
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"
4431 done
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
4438for as_dir in $PATH
4439do
4440 IFS=$as_save_IFS
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
4448case `"$ac_path_SED" --version 2>&1` in
4449*GNU*)
4450 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4451*)
4452 ac_count=0
4453 $as_echo_n 0123456789 >"conftest.in"
4454 while :
4455 do
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
4467 fi
4468 # 10*(2^10) chars as input seems more than enough
4469 test $ac_count -gt 10 && break
4470 done
4471 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4472esac
4473
4474 $ac_path_SED_found && break 3
4475 done
4476 done
4477 done
4478IFS=$as_save_IFS
4479 if test -z "$ac_cv_path_SED"; then
4480 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4481 fi
4482else
4483 ac_cv_path_SED=$SED
4484fi
4485
4486fi
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"
4490 rm -f conftest.sed
4491
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; }
4494if ${ac_cv_path_GREP+:} false; then :
4495 $as_echo_n "(cached) " >&6
4496else
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
4501for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4502do
4503 IFS=$as_save_IFS
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
4511case `"$ac_path_GREP" --version 2>&1` in
4512*GNU*)
4513 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4514*)
4515 ac_count=0
4516 $as_echo_n 0123456789 >"conftest.in"
4517 while :
4518 do
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
4530 fi
4531 # 10*(2^10) chars as input seems more than enough
4532 test $ac_count -gt 10 && break
4533 done
4534 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4535esac
4536
4537 $ac_path_GREP_found && break 3
4538 done
4539 done
4540 done
4541IFS=$as_save_IFS
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
4544 fi
4545else
4546 ac_cv_path_GREP=$GREP
4547fi
4548
4549fi
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"
4553
4554
4555
4556
4557
4558
4559 if test -n "$PERL"; then :
4560
4561 ax_perl_version="5.004"
4562
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl version" >&5
4564$as_echo_n "checking for perl version... " >&6; }
4565
4566 perl_version=`$PERL --version 2>&1 | $GREP "This is perl" | $SED -e 's/.* v\([0-9]*\.[0-9]*\.[0-9]*\) .*/\1/'`
4567
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $perl_version" >&5
4569$as_echo "$perl_version" >&6; }
4570
4571 PERL_VERSION=$perl_version
4572
4573
4574
4575
4576
4577 # Used to indicate true or false condition
4578 ax_compare_version=false
4579
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.
4585
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' \
4590 -e 's/[^0-9]//g'`
4591
4592
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' \
4597 -e 's/[^0-9]//g'`
4598
4599
4600 ax_compare_version=`echo "x$ax_compare_version_A
4601x$ax_compare_version_B" | sed 's/^ *//' | sort | sed "s/x${ax_compare_version_A}/true/;s/x${ax_compare_version_B}/false/;1q"`
4602
4603
4604
4605 if test "$ax_compare_version" = "true" ; then
4606
4607 :
4608 have_perl=yes
4609
4610 else
4611 :
4612 have_perl=no
4613
4614 fi
4615
4616
4617else
4618
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;}
4621 have_perl=no
4622
4623fi
4624
4625 if test $have_perl = yes; then
4626 HAVE_PERL_TRUE=
4627 HAVE_PERL_FALSE='#'
4628else
4629 HAVE_PERL_TRUE='#'
4630 HAVE_PERL_FALSE=
4631fi
4632
4633
4634
4635# Check whether --with-perlmoddir was given.
4636if test "${with_perlmoddir+set}" = set; then :
4637 withval=$with_perlmoddir; perlmoddir=$withval
4638else
4639 perlmoddir='${libdir}/site_perl'
4640fi
4641
4642
4643
4644## Tcl.
4645have_tcl=yes
4646
4647# Extract the first word of "tclsh", so it can be a program name with args.
4648set 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; }
4651if ${ac_cv_path_TCLSH+:} false; then :
4652 $as_echo_n "(cached) " >&6
4653else
4654 case $TCLSH in
4655 [\\/]* | ?:[\\/]*)
4656 ac_cv_path_TCLSH="$TCLSH" # Let the user override the test with a path.
4657 ;;
4658 *)
4659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4660for as_dir in $PATH
4661do
4662 IFS=$as_save_IFS
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
4668 break 2
4669 fi
4670done
4671 done
4672IFS=$as_save_IFS
4673
4674 test -z "$ac_cv_path_TCLSH" && ac_cv_path_TCLSH="false"
4675 ;;
4676esac
4677fi
4678TCLSH=$ac_cv_path_TCLSH
4679if test -n "$TCLSH"; then
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5
4681$as_echo "$TCLSH" >&6; }
4682else
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4684$as_echo "no" >&6; }
4685fi
4686
4687
4688
4689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Tcl version" >&5
4690$as_echo_n "checking Tcl version... " >&6; }
4691case "$TCLSH" in false) have_tcl=no ;; esac
4692case "$have_tcl" in
4693 yes)
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; }
4699 else
4700 have_tcl=no
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: too old ($tclver)" >&5
4702$as_echo "too old ($tclver)" >&6; }
4703 fi
4704esac
4705 if test $have_tcl = yes; then
4706 HAVE_TCLSH_TRUE=
4707 HAVE_TCLSH_FALSE='#'
4708else
4709 HAVE_TCLSH_TRUE='#'
4710 HAVE_TCLSH_FALSE=
4711fi
4712
4713
4714## Bash.
4715case "$BASH" in /bin/sh) unset BASH ;; esac
4716
4717# Extract the first word of "bash", so it can be a program name with args.
4718set 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; }
4721if ${ac_cv_path_BASH+:} false; then :
4722 $as_echo_n "(cached) " >&6
4723else
4724 case $BASH in
4725 [\\/]* | ?:[\\/]*)
4726 ac_cv_path_BASH="$BASH" # Let the user override the test with a path.
4727 ;;
4728 *)
4729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4730for as_dir in $PATH
4731do
4732 IFS=$as_save_IFS
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
4738 break 2
4739 fi
4740done
4741 done
4742IFS=$as_save_IFS
4743
4744 test -z "$ac_cv_path_BASH" && ac_cv_path_BASH="false"
4745 ;;
4746esac
4747fi
4748BASH=$ac_cv_path_BASH
4749if test -n "$BASH"; then
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BASH" >&5
4751$as_echo "$BASH" >&6; }
4752else
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4754$as_echo "no" >&6; }
4755fi
4756
4757
4758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking bash version" >&5
4759$as_echo_n "checking bash version... " >&6; }
4760bashver=$("$BASH" -c 'echo $BASH_VERSION')
4761if "$BASH" 2>/dev/null -c '[[ ${BASH_VERSINFO[0]} -ge 3 ]]'; then
4762 have_bash=yes
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bashver" >&5
4764$as_echo "$bashver" >&6; }
4765else
4766 have_bash=no
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: too old ($bashver)" >&5
4768$as_echo "too old ($bashver)" >&6; }
4769fi
4770 if test $have_bash = yes; then
4771 HAVE_BASH_TRUE=
4772 HAVE_BASH_FALSE='#'
4773else
4774 HAVE_BASH_TRUE='#'
4775 HAVE_BASH_FALSE=
4776fi
4777
4778
4779
4780ac_config_files="$ac_config_files Makefile"
4781
4782cat >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.
4788#
4789# config.status only pays attention to the cache file if you give it
4790# the --recheck option to rerun configure.
4791#
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
4794# following values.
4795
4796_ACEOF
4797
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.
4803(
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
4806 case $ac_val in #(
4807 *${as_nl}*)
4808 case $ac_var in #(
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;} ;;
4811 esac
4812 case $ac_var in #(
4813 _ | IFS | as_nl) ;; #(
4814 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4815 *) { eval $ac_var=; unset $ac_var;} ;;
4816 esac ;;
4817 esac
4818 done
4819
4820 (set) 2>&1 |
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 \.
4825 sed -n \
4826 "s/'/'\\\\''/g;
4827 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4828 ;; #(
4829 *)
4830 # `set' quotes correctly as required by POSIX, so do not add quotes.
4831 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4832 ;;
4833 esac |
4834 sort
4835) |
4836 sed '
4837 /^ac_cv_env_/b end
4838 t clear
4839 :clear
4840 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4841 t end
4842 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4843 :end' >>confcache
4844if 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"
4851 else
4852 case $cache_file in #(
4853 */* | ?:*)
4854 mv -f confcache "$cache_file"$$ &&
4855 mv -f "$cache_file"$$ "$cache_file" ;; #(
4856 *)
4857 mv -f confcache "$cache_file" ;;
4858 esac
4859 fi
4860 fi
4861 else
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;}
4864 fi
4865fi
4866rm -f confcache
4867
4868test "x$prefix" = xNONE && prefix=$ac_default_prefix
4869# Let make expand exec_prefix.
4870test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4871
4872# Transform confdefs.h into DEFS.
4873# Protect against shell expansion while executing Makefile rules.
4874# Protect against Makefile macro expansion.
4875#
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.
4879ac_script='
4880:mline
4881/\\$/{
4882 N
4883 s,\\\n,,
4884 b mline
4885}
4886t clear
4887:clear
4888s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4889t quote
4890s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4891t quote
4892b any
4893:quote
4894s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4895s/\[/\\&/g
4896s/\]/\\&/g
4897s/\$/$$/g
4898H
4899:any
4900${
4901 g
4902 s/^\n//
4903 s/\n/ /g
4904 p
4905}
4906'
4907DEFS=`sed -n "$ac_script" confdefs.h`
4908
4909
4910ac_libobjs=
4911ac_ltlibobjs=
4912U=
4913for 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'
4921done
4922LIBOBJS=$ac_libobjs
4923
4924LTLIBOBJS=$ac_ltlibobjs
4925
4926
4927 if test -n "$EXEEXT"; then
4928 am__EXEEXT_TRUE=
4929 am__EXEEXT_FALSE='#'
4930else
4931 am__EXEEXT_TRUE='#'
4932 am__EXEEXT_FALSE=
4933fi
4934
4935if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4936 as_fn_error $? "conditional \"AMDEP\" was never defined.
4937Usually this means the macro was only invoked conditionally." "$LINENO" 5
4938fi
4939if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4940 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4941Usually this means the macro was only invoked conditionally." "$LINENO" 5
4942fi
4943if test -z "${HAVE_LIBCDB_TRUE}" && test -z "${HAVE_LIBCDB_FALSE}"; then
4944 as_fn_error $? "conditional \"HAVE_LIBCDB\" was never defined.
4945Usually this means the macro was only invoked conditionally." "$LINENO" 5
4946fi
4947if test -z "${HAVE_MLIB_TRUE}" && test -z "${HAVE_MLIB_FALSE}"; then
4948 as_fn_error $? "conditional \"HAVE_MLIB\" was never defined.
4949Usually this means the macro was only invoked conditionally." "$LINENO" 5
4950fi
4951if test -z "${HAVE_CATACOMB_TRUE}" && test -z "${HAVE_CATACOMB_FALSE}"; then
4952 as_fn_error $? "conditional \"HAVE_CATACOMB\" was never defined.
4953Usually this means the macro was only invoked conditionally." "$LINENO" 5
4954fi
4955if test -z "${HAVE_PRLIMIT_TRUE}" && test -z "${HAVE_PRLIMIT_FALSE}"; then
4956 as_fn_error $? "conditional \"HAVE_PRLIMIT\" was never defined.
4957Usually this means the macro was only invoked conditionally." "$LINENO" 5
4958fi
4959if test -z "${X86_TRUE}" && test -z "${X86_FALSE}"; then
4960 as_fn_error $? "conditional \"X86\" was never defined.
4961Usually this means the macro was only invoked conditionally." "$LINENO" 5
4962fi
4963if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
4964 as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
4965Usually this means the macro was only invoked conditionally." "$LINENO" 5
4966fi
4967if test -z "${HAVE_PYMOD_CDB_TRUE}" && test -z "${HAVE_PYMOD_CDB_FALSE}"; then
4968 as_fn_error $? "conditional \"HAVE_PYMOD_CDB\" was never defined.
4969Usually this means the macro was only invoked conditionally." "$LINENO" 5
4970fi
4971if test -z "${HAVE_PERL_TRUE}" && test -z "${HAVE_PERL_FALSE}"; then
4972 as_fn_error $? "conditional \"HAVE_PERL\" was never defined.
4973Usually this means the macro was only invoked conditionally." "$LINENO" 5
4974fi
4975if test -z "${HAVE_TCLSH_TRUE}" && test -z "${HAVE_TCLSH_FALSE}"; then
4976 as_fn_error $? "conditional \"HAVE_TCLSH\" was never defined.
4977Usually this means the macro was only invoked conditionally." "$LINENO" 5
4978fi
4979if test -z "${HAVE_BASH_TRUE}" && test -z "${HAVE_BASH_FALSE}"; then
4980 as_fn_error $? "conditional \"HAVE_BASH\" was never defined.
4981Usually this means the macro was only invoked conditionally." "$LINENO" 5
4982fi
4983
4984: "${CONFIG_STATUS=./config.status}"
4985ac_write_fail=0
4986ac_clean_files_save=$ac_clean_files
4987ac_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;}
4990as_write_fail=0
4991cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4992#! $SHELL
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.
4997
4998debug=false
4999ac_cs_recheck=false
5000ac_cs_silent=false
5001
5002SHELL=\${CONFIG_SHELL-$SHELL}
5003export SHELL
5004_ASEOF
5005cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5006## -------------------- ##
5007## M4sh Initialization. ##
5008## -------------------- ##
5009
5010# Be more Bourne compatible
5011DUALCASE=1; export DUALCASE # for MKS sh
5012if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5013 emulate sh
5014 NULLCMD=:
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
5019else
5020 case `(set -o) 2>/dev/null` in #(
5021 *posix*) :
5022 set -o posix ;; #(
5023 *) :
5024 ;;
5025esac
5026fi
5027
5028
5029as_nl='
5030'
5031export as_nl
5032# Printing a long string crashes Solaris 7 /usr/bin/printf.
5033as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5034as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5035as_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.
5038if 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 --'
5042elif (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'
5045else
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'
5049 else
5050 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5051 as_echo_n_body='eval
5052 arg=$1;
5053 case $arg in #(
5054 *"$as_nl"*)
5055 expr "X$arg" : "X\\(.*\\)$as_nl";
5056 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5057 esac;
5058 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5059 '
5060 export as_echo_n_body
5061 as_echo_n='sh -c $as_echo_n_body as_echo'
5062 fi
5063 export as_echo_body
5064 as_echo='sh -c $as_echo_body as_echo'
5065fi
5066
5067# The user is always right.
5068if test "${PATH_SEPARATOR+set}" != set; then
5069 PATH_SEPARATOR=:
5070 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5071 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5072 PATH_SEPARATOR=';'
5073 }
5074fi
5075
5076
5077# IFS
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.)
5082IFS=" "" $as_nl"
5083
5084# Find who we are. Look in the path if we contain no directory separator.
5085as_myself=
5086case $0 in #((
5087 *[\\/]* ) as_myself=$0 ;;
5088 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5089for as_dir in $PATH
5090do
5091 IFS=$as_save_IFS
5092 test -z "$as_dir" && as_dir=.
5093 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5094 done
5095IFS=$as_save_IFS
5096
5097 ;;
5098esac
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.
5101if test "x$as_myself" = x; then
5102 as_myself=$0
5103fi
5104if test ! -f "$as_myself"; then
5105 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5106 exit 1
5107fi
5108
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.
5113for as_var in BASH_ENV ENV MAIL MAILPATH
5114do eval test x\${$as_var+set} = xset \
5115 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5116done
5117PS1='$ '
5118PS2='> '
5119PS4='+ '
5120
5121# NLS nuisances.
5122LC_ALL=C
5123export LC_ALL
5124LANGUAGE=C
5125export LANGUAGE
5126
5127# CDPATH.
5128(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5129
5130
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.
5136as_fn_error ()
5137{
5138 as_status=$1; test $as_status -eq 0 && as_status=1
5139 if test "$4"; then
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
5142 fi
5143 $as_echo "$as_me: error: $2" >&2
5144 as_fn_exit $as_status
5145} # as_fn_error
5146
5147
5148# as_fn_set_status STATUS
5149# -----------------------
5150# Set $? to STATUS, without forking.
5151as_fn_set_status ()
5152{
5153 return $1
5154} # as_fn_set_status
5155
5156# as_fn_exit STATUS
5157# -----------------
5158# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5159as_fn_exit ()
5160{
5161 set +e
5162 as_fn_set_status $1
5163 exit $1
5164} # as_fn_exit
5165
5166# as_fn_unset VAR
5167# ---------------
5168# Portably unset VAR.
5169as_fn_unset ()
5170{
5171 { eval $1=; unset $1;}
5172}
5173as_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
5179# implementations.
5180if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5181 eval 'as_fn_append ()
5182 {
5183 eval $1+=\$2
5184 }'
5185else
5186 as_fn_append ()
5187 {
5188 eval $1=\$$1\$2
5189 }
5190fi # as_fn_append
5191
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.
5197if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5198 eval 'as_fn_arith ()
5199 {
5200 as_val=$(( $* ))
5201 }'
5202else
5203 as_fn_arith ()
5204 {
5205 as_val=`expr "$@" || test $? -eq 1`
5206 }
5207fi # as_fn_arith
5208
5209
5210if expr a : '\(a\)' >/dev/null 2>&1 &&
5211 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5212 as_expr=expr
5213else
5214 as_expr=false
5215fi
5216
5217if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5218 as_basename=basename
5219else
5220 as_basename=false
5221fi
5222
5223if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5224 as_dirname=dirname
5225else
5226 as_dirname=false
5227fi
5228
5229as_me=`$as_basename -- "$0" ||
5230$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5231 X"$0" : 'X\(//\)$' \| \
5232 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5233$as_echo X/"$0" |
5234 sed '/^.*\/\([^/][^/]*\)\/*$/{
5235 s//\1/
5236 q
5237 }
5238 /^X\/\(\/\/\)$/{
5239 s//\1/
5240 q
5241 }
5242 /^X\/\(\/\).*/{
5243 s//\1/
5244 q
5245 }
5246 s/.*/./; q'`
5247
5248# Avoid depending upon Character Ranges.
5249as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5250as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5251as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5252as_cr_digits='0123456789'
5253as_cr_alnum=$as_cr_Letters$as_cr_digits
5254
5255ECHO_C= ECHO_N= ECHO_T=
5256case `echo -n x` in #(((((
5257-n*)
5258 case `echo 'xy\c'` in
5259 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5260 xy) ECHO_C='\c';;
5261 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5262 ECHO_T=' ';;
5263 esac;;
5264*)
5265 ECHO_N='-n';;
5266esac
5267
5268rm -f conf$$ conf$$.exe conf$$.file
5269if test -d conf$$.dir; then
5270 rm -f conf$$.dir/conf$$.file
5271else
5272 rm -f conf$$.dir
5273 mkdir conf$$.dir 2>/dev/null
5274fi
5275if (echo >conf$$.file) 2>/dev/null; then
5276 if ln -s conf$$.file conf$$ 2>/dev/null; then
5277 as_ln_s='ln -s'
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 ||
5283 as_ln_s='cp -pR'
5284 elif ln conf$$.file conf$$ 2>/dev/null; then
5285 as_ln_s=ln
5286 else
5287 as_ln_s='cp -pR'
5288 fi
5289else
5290 as_ln_s='cp -pR'
5291fi
5292rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5293rmdir conf$$.dir 2>/dev/null
5294
5295
5296# as_fn_mkdir_p
5297# -------------
5298# Create "$as_dir" as a directory, including parents if necessary.
5299as_fn_mkdir_p ()
5300{
5301
5302 case $as_dir in #(
5303 -*) as_dir=./$as_dir;;
5304 esac
5305 test -d "$as_dir" || eval $as_mkdir_p || {
5306 as_dirs=
5307 while :; do
5308 case $as_dir in #(
5309 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5310 *) as_qdir=$as_dir;;
5311 esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5320 s//\1/
5321 q
5322 }
5323 /^X\(\/\/\)[^/].*/{
5324 s//\1/
5325 q
5326 }
5327 /^X\(\/\/\)$/{
5328 s//\1/
5329 q
5330 }
5331 /^X\(\/\).*/{
5332 s//\1/
5333 q
5334 }
5335 s/.*/./; q'`
5336 test -d "$as_dir" && break
5337 done
5338 test -z "$as_dirs" || eval "mkdir $as_dirs"
5339 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5340
5341
5342} # as_fn_mkdir_p
5343if mkdir -p . 2>/dev/null; then
5344 as_mkdir_p='mkdir -p "$as_dir"'
5345else
5346 test -d ./-p && rmdir ./-p
5347 as_mkdir_p=false
5348fi
5349
5350
5351# as_fn_executable_p FILE
5352# -----------------------
5353# Test if FILE is an executable regular file.
5354as_fn_executable_p ()
5355{
5356 test -f "$1" && test -x "$1"
5357} # as_fn_executable_p
5358as_test_x='test -x'
5359as_executable_p=as_fn_executable_p
5360
5361# Sed expression to map a string onto a valid CPP name.
5362as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5363
5364# Sed expression to map a string onto a valid variable name.
5365as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5366
5367
5368exec 6>&1
5369## ----------------------------------- ##
5370## Main body of $CONFIG_STATUS script. ##
5371## ----------------------------------- ##
5372_ASEOF
5373test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5374
5375cat >>$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.
5379ac_log="
e0ac86ad 5380This file was extended by distorted-utils $as_me 1.4.1.1, which was
658332ec
MW
5381generated by GNU Autoconf 2.69. Invocation command line was
5382
5383 CONFIG_FILES = $CONFIG_FILES
5384 CONFIG_HEADERS = $CONFIG_HEADERS
5385 CONFIG_LINKS = $CONFIG_LINKS
5386 CONFIG_COMMANDS = $CONFIG_COMMANDS
5387 $ $0 $@
5388
5389on `(hostname || uname -n) 2>/dev/null | sed 1q`
5390"
5391
5392_ACEOF
5393
5394case $ac_config_files in *"
5395"*) set x $ac_config_files; shift; ac_config_files=$*;;
5396esac
5397
5398
5399
5400cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5401# Files that config.status was made for.
5402config_files="$ac_config_files"
5403config_commands="$ac_config_commands"
5404
5405_ACEOF
5406
5407cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5408ac_cs_usage="\
5409\`$as_me' instantiates files and other configuration actions
5410from templates according to the current configuration. Unless the files
5411and actions are specified as TAGs, all are instantiated by default.
5412
5413Usage: $0 [OPTION]... [TAG]...
5414
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
5424
5425Configuration files:
5426$config_files
5427
5428Configuration commands:
5429$config_commands
5430
5431Report bugs to <mdw@distorted.org.uk>."
5432
5433_ACEOF
5434cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5435ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5436ac_cs_version="\\
e0ac86ad 5437distorted-utils config.status 1.4.1.1
658332ec
MW
5438configured by $0, generated by GNU Autoconf 2.69,
5439 with options \\"\$ac_cs_config\\"
5440
5441Copyright (C) 2012 Free Software Foundation, Inc.
5442This config.status script is free software; the Free Software Foundation
5443gives unlimited permission to copy, distribute and modify it."
5444
5445ac_pwd='$ac_pwd'
5446srcdir='$srcdir'
5447INSTALL='$INSTALL'
5448MKDIR_P='$MKDIR_P'
5449AWK='$AWK'
5450test -n "\$AWK" || AWK=awk
5451_ACEOF
5452
5453cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5454# The default lists apply if the user does not specify any file.
5455ac_need_defaults=:
5456while test $# != 0
5457do
5458 case $1 in
5459 --*=?*)
5460 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5461 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5462 ac_shift=:
5463 ;;
5464 --*=)
5465 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5466 ac_optarg=
5467 ac_shift=:
5468 ;;
5469 *)
5470 ac_option=$1
5471 ac_optarg=$2
5472 ac_shift=shift
5473 ;;
5474 esac
5475
5476 case $ac_option in
5477 # Handling of the options.
5478 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5479 ac_cs_recheck=: ;;
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 )
5485 debug=: ;;
5486 --file | --fil | --fi | --f )
5487 $ac_shift
5488 case $ac_optarg in
5489 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5490 '') as_fn_error $? "missing file argument" ;;
5491 esac
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)
5498 ac_cs_silent=: ;;
5499
5500 # This is an error.
5501 -*) as_fn_error $? "unrecognized option: \`$1'
5502Try \`$0 --help' for more information." ;;
5503
5504 *) as_fn_append ac_config_targets " $1"
5505 ac_need_defaults=false ;;
5506
5507 esac
5508 shift
5509done
5510
5511ac_configure_extra_args=
5512
5513if $ac_cs_silent; then
5514 exec 6>/dev/null
5515 ac_configure_extra_args="$ac_configure_extra_args --silent"
5516fi
5517
5518_ACEOF
5519cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5520if \$ac_cs_recheck; then
5521 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5522 shift
5523 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5524 CONFIG_SHELL='$SHELL'
5525 export CONFIG_SHELL
5526 exec "\$@"
5527fi
5528
5529_ACEOF
5530cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5531exec 5>>config.log
5532{
5533 echo
5534 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5535## Running $as_me. ##
5536_ASBOX
5537 $as_echo "$ac_log"
5538} >&5
5539
5540_ACEOF
5541cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5542#
5543# INIT-COMMANDS
5544#
5545AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5546
5547_ACEOF
5548
5549cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5550
5551# Handling of arguments.
5552for ac_config_target in $ac_config_targets
5553do
5554 case $ac_config_target in
5555 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5556 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5557
5558 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5559 esac
5560done
5561
5562
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.
5567if $ac_need_defaults; then
5568 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5569 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5570fi
5571
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'.
5578$debug ||
5579{
5580 tmp= ac_tmp=
5581 trap 'exit_status=$?
5582 : "${ac_tmp:=$tmp}"
5583 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5584' 0
5585 trap 'as_fn_exit 1' 1 2 13 15
5586}
5587# Create a (secure) tmp directory for tmp files.
5588
5589{
5590 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5591 test -d "$tmp"
5592} ||
5593{
5594 tmp=./conf$$-$RANDOM
5595 (umask 077 && mkdir "$tmp")
5596} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5597ac_tmp=$tmp
5598
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'.
5602if test -n "$CONFIG_FILES"; then
5603
5604
5605ac_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.
5609if test "x$ac_cr" = x; then
5610 eval ac_cr=\$\'\\r\'
5611fi
5612ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5613if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5614 ac_cs_awk_cr='\\r'
5615else
5616 ac_cs_awk_cr=$ac_cr
5617fi
5618
5619echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5620_ACEOF
5621
5622
5623{
5624 echo "cat >conf$$subs.awk <<_ACEOF" &&
5625 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5626 echo "_ACEOF"
5627} >conf$$subs.sh ||
5628 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5629ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5630ac_delim='%!_!# '
5631for 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
5634
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
5637 break
5638 elif $ac_last_try; then
5639 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5640 else
5641 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5642 fi
5643done
5644rm -f conf$$subs.sh
5645
5646cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5647cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5648_ACEOF
5649sed -n '
5650h
5651s/^/S["/; s/!.*/"]=/
5652p
5653g
5654s/^[^!]*!//
5655:repl
5656t repl
5657s/'"$ac_delim"'$//
5658t delim
5659:nl
5660h
5661s/\(.\{148\}\)..*/\1/
5662t more1
5663s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5664p
5665n
5666b repl
5667:more1
5668s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5669p
5670g
5671s/.\{148\}//
5672t nl
5673:delim
5674h
5675s/\(.\{148\}\)..*/\1/
5676t more2
5677s/["\\]/\\&/g; s/^/"/; s/$/"/
5678p
5679b
5680:more2
5681s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5682p
5683g
5684s/.\{148\}//
5685t delim
5686' <conf$$subs.awk | sed '
5687/^[^""]/{
5688 N
5689 s/\n//
5690}
5691' >>$CONFIG_STATUS || ac_write_fail=1
5692rm -f conf$$subs.awk
5693cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5694_ACAWK
5695cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5696 for (key in S) S_is_set[key] = 1
5697 FS = "\a"
5698
5699}
5700{
5701 line = $ 0
5702 nfields = split(line, field, "@")
5703 substed = 0
5704 len = length(field[1])
5705 for (i = 2; i < nfields; i++) {
5706 key = field[i]
5707 keylen = length(key)
5708 if (S_is_set[key]) {
5709 value = S[key]
5710 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5711 len += length(value) + length(field[++i])
5712 substed = 1
5713 } else
5714 len += 1 + keylen
5715 }
5716
5717 print line
5718}
5719
5720_ACAWK
5721_ACEOF
5722cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5723if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5724 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5725else
5726 cat
5727fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5728 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5729_ACEOF
5730
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).
5735if test "x$srcdir" = x.; then
5736 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5737h
5738s///
5739s/^/:/
5740s/[ ]*$/:/
5741s/:\$(srcdir):/:/g
5742s/:\${srcdir}:/:/g
5743s/:@srcdir@:/:/g
5744s/^:*//
5745s/:*$//
5746x
5747s/\(=[ ]*\).*/\1/
5748G
5749s/\n//
5750s/^[^=]*=[ ]*$//
5751}'
5752fi
5753
5754cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5755fi # test -n "$CONFIG_FILES"
5756
5757
5758eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
5759shift
5760for ac_tag
5761do
5762 case $ac_tag in
5763 :[FHLC]) ac_mode=$ac_tag; continue;;
5764 esac
5765 case $ac_mode$ac_tag in
5766 :[FHL]*:*);;
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;;
5770 esac
5771 ac_save_IFS=$IFS
5772 IFS=:
5773 set x $ac_tag
5774 IFS=$ac_save_IFS
5775 shift
5776 ac_file=$1
5777 shift
5778
5779 case $ac_mode in
5780 :L) ac_source=$1;;
5781 :[FH])
5782 ac_file_inputs=
5783 for ac_f
5784 do
5785 case $ac_f 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 `:'.
5790 test -f "$ac_f" ||
5791 case $ac_f in
5792 [\\/$]*) false;;
5793 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5794 esac ||
5795 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5796 esac
5797 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5798 as_fn_append ac_file_inputs " '$ac_f'"
5799 done
5800
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'
5806 `' by configure.'
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;}
5811 fi
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;;
5818 esac
5819
5820 case $ac_tag in
5821 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5822 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5823 esac
5824 ;;
5825 esac
5826
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5834 s//\1/
5835 q
5836 }
5837 /^X\(\/\/\)[^/].*/{
5838 s//\1/
5839 q
5840 }
5841 /^X\(\/\/\)$/{
5842 s//\1/
5843 q
5844 }
5845 /^X\(\/\).*/{
5846 s//\1/
5847 q
5848 }
5849 s/.*/./; q'`
5850 as_dir="$ac_dir"; as_fn_mkdir_p
5851 ac_builddir=.
5852
5853case "$ac_dir" in
5854.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5855*)
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/ ;;
5862 esac ;;
5863esac
5864ac_abs_top_builddir=$ac_pwd
5865ac_abs_builddir=$ac_pwd$ac_dir_suffix
5866# for backward compatibility:
5867ac_top_builddir=$ac_top_build_prefix
5868
5869case $srcdir in
5870 .) # We are building in place.
5871 ac_srcdir=.
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 ;;
5878 *) # Relative name.
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 ;;
5882esac
5883ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5884
5885
5886 case $ac_mode in
5887 :F)
5888 #
5889 # CONFIG_FILE
5890 #
5891
5892 case $INSTALL in
5893 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5894 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5895 esac
5896 ac_MKDIR_P=$MKDIR_P
5897 case $MKDIR_P in
5898 [\\/$]* | ?:[\\/]* ) ;;
5899 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5900 esac
5901_ACEOF
5902
5903cat >>$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.
5906ac_datarootdir_hack=; ac_datarootdir_seen=
5907ac_sed_dataroot='
5908/datarootdir/ {
5909 p
5910 q
5911}
5912/@datadir@/p
5913/@docdir@/p
5914/@infodir@/p
5915/@localedir@/p
5916/@mandir@/p'
5917case `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;}
5922_ACEOF
5923cat >>$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' ;;
5931esac
5932_ACEOF
5933
5934# Neutralize VPATH when `$srcdir' = `.'.
5935# Shell code in configure.ac might set extrasub.
5936# FIXME: do we really want to maintain this feature?
5937cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5938ac_sed_extra="$ac_vpsub
5939$extrasub
5940_ACEOF
5941cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5942:t
5943/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5944s|@configure_input@|$ac_sed_conf_input|;t t
5945s&@top_builddir@&$ac_top_builddir_sub&;t t
5946s&@top_build_prefix@&$ac_top_build_prefix&;t t
5947s&@srcdir@&$ac_srcdir&;t t
5948s&@abs_srcdir@&$ac_abs_srcdir&;t t
5949s&@top_srcdir@&$ac_top_srcdir&;t t
5950s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5951s&@builddir@&$ac_builddir&;t t
5952s&@abs_builddir@&$ac_abs_builddir&;t t
5953s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5954s&@INSTALL@&$ac_INSTALL&;t t
5955s&@MKDIR_P@&$ac_MKDIR_P&;t t
5956$ac_datarootdir_hack
5957"
5958eval 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
5960
5961test -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'
5966which 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'
5968which seems to be undefined. Please make sure it is defined" >&2;}
5969
5970 rm -f "$ac_tmp/stdin"
5971 case $ac_file in
5972 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5973 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5974 esac \
5975 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5976 ;;
5977
5978
5979 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5980$as_echo "$as_me: executing $ac_file commands" >&6;}
5981 ;;
5982 esac
5983
5984
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 ;;
5993 esac
5994 shift
5995 for mf
5996 do
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 ||
6012$as_echo X"$mf" |
6013 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6014 s//\1/
6015 q
6016 }
6017 /^X\(\/\/\)[^/].*/{
6018 s//\1/
6019 q
6020 }
6021 /^X\(\/\/\)$/{
6022 s//\1/
6023 q
6024 }
6025 /^X\(\/\).*/{
6026 s//\1/
6027 q
6028 }
6029 s/.*/./; q'`
6030 else
6031 continue
6032 fi
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
6045 # expansion.
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 ||
6056$as_echo X"$file" |
6057 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6058 s//\1/
6059 q
6060 }
6061 /^X\(\/\/\)[^/].*/{
6062 s//\1/
6063 q
6064 }
6065 /^X\(\/\/\)$/{
6066 s//\1/
6067 q
6068 }
6069 /^X\(\/\).*/{
6070 s//\1/
6071 q
6072 }
6073 s/.*/./; q'`
6074 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6075 # echo "creating $dirpart/$file"
6076 echo '# dummy' > "$dirpart/$file"
6077 done
6078 done
6079}
6080 ;;
6081
6082 esac
6083done # for ac_tag
6084
6085
6086as_fn_exit 0
6087_ACEOF
6088ac_clean_files=$ac_clean_files_save
6089
6090test $ac_write_fail = 0 ||
6091 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6092
6093
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.
6102if test "$no_create" != yes; then
6103 ac_cs_success=:
6104 ac_config_status_args=
6105 test "$silent" = yes &&
6106 ac_config_status_args="$ac_config_status_args --quiet"
6107 exec 5>/dev/null
6108 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6109 exec 5>>config.log
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
6113fi
6114if 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;}
6117fi
6118
6119