]> git.wh0rd.org - dump.git/blame_incremental - configure
Regenerate configure.
[dump.git] / configure
... / ...
CommitLineData
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.67.
4#
5#
6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8# 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.
92case $0 in #((
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95for as_dir in $PATH
96do
97 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100 done
101IFS=$as_save_IFS
102
103 ;;
104esac
105# We did not find ourselves, most probably we were run as `sh COMMAND'
106# in which case we are not to be found in the path.
107if test "x$as_myself" = x; then
108 as_myself=$0
109fi
110if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112 exit 1
113fi
114
115# Unset variables that we do not need and which cause bugs (e.g. in
116# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117# suppresses any "Segmentation fault" message there. '((' could
118# trigger a bug in pdksh 5.2.14.
119for as_var in BASH_ENV ENV MAIL MAILPATH
120do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122done
123PS1='$ '
124PS2='> '
125PS4='+ '
126
127# NLS nuisances.
128LC_ALL=C
129export LC_ALL
130LANGUAGE=C
131export LANGUAGE
132
133# CDPATH.
134(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 emulate sh
139 NULLCMD=:
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 setopt NO_GLOB_SUBST
144else
145 case \`(set -o) 2>/dev/null\` in #(
146 *posix*) :
147 set -o posix ;; #(
148 *) :
149 ;;
150esac
151fi
152"
153 as_required="as_fn_return () { (exit \$1); }
154as_fn_success () { as_fn_return 0; }
155as_fn_failure () { as_fn_return 1; }
156as_fn_ret_success () { return 0; }
157as_fn_ret_failure () { return 1; }
158
159exitcode=0
160as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
166else
167 exitcode=1; echo positional parameters were not saved.
168fi
169test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
176 as_have_required=yes
177else
178 as_have_required=no
179fi
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
182else
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184as_found=false
185for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186do
187 IFS=$as_save_IFS
188 test -z "$as_dir" && as_dir=.
189 as_found=:
190 case $as_dir in #(
191 /*)
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 break 2
200fi
201fi
202 done;;
203 esac
204 as_found=false
205done
206$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
209fi; }
210IFS=$as_save_IFS
211
212
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
217 BASH_ENV=/dev/null
218 ENV=/dev/null
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 export CONFIG_SHELL
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222fi
223
224 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230 else
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232$0: including any error possibly output before this
233$0: message. Then install a modern shell, or manually run
234$0: the script under such a shell if you do have one."
235 fi
236 exit 1
237fi
238fi
239fi
240SHELL=${CONFIG_SHELL-/bin/sh}
241export SHELL
242# Unset more variables known to interfere with behavior of common tools.
243CLICOLOR_FORCE= GREP_OPTIONS=
244unset CLICOLOR_FORCE GREP_OPTIONS
245
246## --------------------- ##
247## M4sh Shell Functions. ##
248## --------------------- ##
249# as_fn_unset VAR
250# ---------------
251# Portably unset VAR.
252as_fn_unset ()
253{
254 { eval $1=; unset $1;}
255}
256as_unset=as_fn_unset
257
258# as_fn_set_status STATUS
259# -----------------------
260# Set $? to STATUS, without forking.
261as_fn_set_status ()
262{
263 return $1
264} # as_fn_set_status
265
266# as_fn_exit STATUS
267# -----------------
268# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269as_fn_exit ()
270{
271 set +e
272 as_fn_set_status $1
273 exit $1
274} # as_fn_exit
275
276# as_fn_mkdir_p
277# -------------
278# Create "$as_dir" as a directory, including parents if necessary.
279as_fn_mkdir_p ()
280{
281
282 case $as_dir in #(
283 -*) as_dir=./$as_dir;;
284 esac
285 test -d "$as_dir" || eval $as_mkdir_p || {
286 as_dirs=
287 while :; do
288 case $as_dir in #(
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 *) as_qdir=$as_dir;;
291 esac
292 as_dirs="'$as_qdir' $as_dirs"
293 as_dir=`$as_dirname -- "$as_dir" ||
294$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298$as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300 s//\1/
301 q
302 }
303 /^X\(\/\/\)[^/].*/{
304 s//\1/
305 q
306 }
307 /^X\(\/\/\)$/{
308 s//\1/
309 q
310 }
311 /^X\(\/\).*/{
312 s//\1/
313 q
314 }
315 s/.*/./; q'`
316 test -d "$as_dir" && break
317 done
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
320
321
322} # as_fn_mkdir_p
323# as_fn_append VAR VALUE
324# ----------------------
325# Append the text in VALUE to the end of the definition contained in VAR. Take
326# advantage of any shell optimizations that allow amortized linear growth over
327# repeated appends, instead of the typical quadratic growth present in naive
328# implementations.
329if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
331 {
332 eval $1+=\$2
333 }'
334else
335 as_fn_append ()
336 {
337 eval $1=\$$1\$2
338 }
339fi # as_fn_append
340
341# as_fn_arith ARG...
342# ------------------
343# Perform arithmetic evaluation on the ARGs, and store the result in the
344# global $as_val. Take advantage of shells that can avoid forks. The arguments
345# must be portable across $(()) and expr.
346if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347 eval 'as_fn_arith ()
348 {
349 as_val=$(( $* ))
350 }'
351else
352 as_fn_arith ()
353 {
354 as_val=`expr "$@" || test $? -eq 1`
355 }
356fi # as_fn_arith
357
358
359# as_fn_error STATUS ERROR [LINENO LOG_FD]
360# ----------------------------------------
361# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363# script with STATUS, using 1 if that was 0.
364as_fn_error ()
365{
366 as_status=$1; test $as_status -eq 0 && as_status=1
367 if test "$4"; then
368 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
370 fi
371 $as_echo "$as_me: error: $2" >&2
372 as_fn_exit $as_status
373} # as_fn_error
374
375if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
377 as_expr=expr
378else
379 as_expr=false
380fi
381
382if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383 as_basename=basename
384else
385 as_basename=false
386fi
387
388if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389 as_dirname=dirname
390else
391 as_dirname=false
392fi
393
394as_me=`$as_basename -- "$0" ||
395$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398$as_echo X/"$0" |
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
400 s//\1/
401 q
402 }
403 /^X\/\(\/\/\)$/{
404 s//\1/
405 q
406 }
407 /^X\/\(\/\).*/{
408 s//\1/
409 q
410 }
411 s/.*/./; q'`
412
413# Avoid depending upon Character Ranges.
414as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417as_cr_digits='0123456789'
418as_cr_alnum=$as_cr_Letters$as_cr_digits
419
420
421 as_lineno_1=$LINENO as_lineno_1a=$LINENO
422 as_lineno_2=$LINENO as_lineno_2a=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
426 sed -n '
427 p
428 /[$]LINENO/=
429 ' <$as_myself |
430 sed '
431 s/[$]LINENO.*/&-/
432 t lineno
433 b
434 :lineno
435 N
436 :loop
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438 t loop
439 s/-\n.*//
440 ' >$as_me.lineno &&
441 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
447 . "./$as_me.lineno"
448 # Exit status is that of the last command.
449 exit
450}
451
452ECHO_C= ECHO_N= ECHO_T=
453case `echo -n x` in #(((((
454-n*)
455 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
457 xy) ECHO_C='\c';;
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
459 ECHO_T=' ';;
460 esac;;
461*)
462 ECHO_N='-n';;
463esac
464
465rm -f conf$$ conf$$.exe conf$$.file
466if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file
468else
469 rm -f conf$$.dir
470 mkdir conf$$.dir 2>/dev/null
471fi
472if (echo >conf$$.file) 2>/dev/null; then
473 if ln -s conf$$.file conf$$ 2>/dev/null; then
474 as_ln_s='ln -s'
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480 as_ln_s='cp -p'
481 elif ln conf$$.file conf$$ 2>/dev/null; then
482 as_ln_s=ln
483 else
484 as_ln_s='cp -p'
485 fi
486else
487 as_ln_s='cp -p'
488fi
489rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490rmdir conf$$.dir 2>/dev/null
491
492if mkdir -p . 2>/dev/null; then
493 as_mkdir_p='mkdir -p "$as_dir"'
494else
495 test -d ./-p && rmdir ./-p
496 as_mkdir_p=false
497fi
498
499if test -x / >/dev/null 2>&1; then
500 as_test_x='test -x'
501else
502 if ls -dL / >/dev/null 2>&1; then
503 as_ls_L_option=L
504 else
505 as_ls_L_option=
506 fi
507 as_test_x='
508 eval sh -c '\''
509 if test -d "$1"; then
510 test -d "$1/.";
511 else
512 case $1 in #(
513 -*)set "./$1";;
514 esac;
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
517 '\'' sh
518 '
519fi
520as_executable_p=$as_test_x
521
522# Sed expression to map a string onto a valid CPP name.
523as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524
525# Sed expression to map a string onto a valid variable name.
526as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
528
529test -n "$DJDIR" || exec 7<&0 </dev/null
530exec 6>&1
531
532# Name of the host.
533# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
534# so uname gets run too.
535ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
536
537#
538# Initializations.
539#
540ac_default_prefix=/usr/local
541ac_clean_files=
542ac_config_libobj_dir=.
543LIBOBJS=
544cross_compiling=no
545subdirs=
546MFLAGS=
547MAKEFLAGS=
548
549# Identity of this package.
550PACKAGE_NAME=
551PACKAGE_TARNAME=
552PACKAGE_VERSION=
553PACKAGE_STRING=
554PACKAGE_BUGREPORT=
555PACKAGE_URL=
556
557ac_unique_file="dump/dump.h"
558# Factoring default headers for most tests.
559ac_includes_default="\
560#include <stdio.h>
561#ifdef HAVE_SYS_TYPES_H
562# include <sys/types.h>
563#endif
564#ifdef HAVE_SYS_STAT_H
565# include <sys/stat.h>
566#endif
567#ifdef STDC_HEADERS
568# include <stdlib.h>
569# include <stddef.h>
570#else
571# ifdef HAVE_STDLIB_H
572# include <stdlib.h>
573# endif
574#endif
575#ifdef HAVE_STRING_H
576# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
577# include <memory.h>
578# endif
579# include <string.h>
580#endif
581#ifdef HAVE_STRINGS_H
582# include <strings.h>
583#endif
584#ifdef HAVE_INTTYPES_H
585# include <inttypes.h>
586#endif
587#ifdef HAVE_STDINT_H
588# include <stdint.h>
589#endif
590#ifdef HAVE_UNISTD_H
591# include <unistd.h>
592#endif"
593
594ac_subst_vars='LTLIBOBJS
595LIBOBJS
596top_builddir
597SSLLIB
598SQLITE3
599BZLIB
600ZLIB
601READLINE
602BLKID
603DUMPDATESPATH
604MANMODE
605MANGRP
606MANOWNER
607BINMODE
608BINGRP
609BINOWNER
610LDOPTS
611CCOPTS
612LD
613CCTRANSSELINUX
614LTRANSSELINUX
615OPTDEFS
616ERMT
617RMTDIR
618STATIC
619RESTOREDEBUG
620DUMPDEBUG
621EGREP
622GREP
623CPP
624INSTALL_DATA
625INSTALL_SCRIPT
626INSTALL_PROGRAM
627OBJEXT
628EXEEXT
629ac_ct_CC
630CPPFLAGS
631LDFLAGS
632CFLAGS
633CC
634PATCH
635RANLIB
636AR
637RM
638MV
639CP
640LN_S
641SET_MAKE
642target_alias
643host_alias
644build_alias
645LIBS
646ECHO_T
647ECHO_N
648ECHO_C
649DEFS
650mandir
651localedir
652libdir
653psdir
654pdfdir
655dvidir
656htmldir
657infodir
658docdir
659oldincludedir
660includedir
661localstatedir
662sharedstatedir
663sysconfdir
664datadir
665datarootdir
666libexecdir
667sbindir
668bindir
669program_transform_name
670prefix
671exec_prefix
672PACKAGE_URL
673PACKAGE_BUGREPORT
674PACKAGE_STRING
675PACKAGE_VERSION
676PACKAGE_TARNAME
677PACKAGE_NAME
678PATH_SEPARATOR
679SHELL'
680ac_subst_files='MCONFIG'
681ac_user_opts='
682enable_option_checking
683enable_debug
684enable_static
685enable_staticz
686enable_rmt
687enable_ermt
688enable_kerberos
689enable_readline
690enable_oldstylefscript
691enable_largefile
692enable_qfa
693enable_qfadebug
694enable_macosx
695enable_transselinux
696with_cc
697with_linker
698with_ccopts
699with_ldopts
700with_binowner
701with_bingrp
702with_binmode
703with_manowner
704with_mangrp
705with_manmode
706with_dumpdatespath
707'
708 ac_precious_vars='build_alias
709host_alias
710target_alias
711CC
712CFLAGS
713LDFLAGS
714LIBS
715CPPFLAGS
716CPP'
717
718
719# Initialize some variables set by options.
720ac_init_help=
721ac_init_version=false
722ac_unrecognized_opts=
723ac_unrecognized_sep=
724# The variables have the same names as the options, with
725# dashes changed to underlines.
726cache_file=/dev/null
727exec_prefix=NONE
728no_create=
729no_recursion=
730prefix=NONE
731program_prefix=NONE
732program_suffix=NONE
733program_transform_name=s,x,x,
734silent=
735site=
736srcdir=
737verbose=
738x_includes=NONE
739x_libraries=NONE
740
741# Installation directory options.
742# These are left unexpanded so users can "make install exec_prefix=/foo"
743# and all the variables that are supposed to be based on exec_prefix
744# by default will actually change.
745# Use braces instead of parens because sh, perl, etc. also accept them.
746# (The list follows the same order as the GNU Coding Standards.)
747bindir='${exec_prefix}/bin'
748sbindir='${exec_prefix}/sbin'
749libexecdir='${exec_prefix}/libexec'
750datarootdir='${prefix}/share'
751datadir='${datarootdir}'
752sysconfdir='${prefix}/etc'
753sharedstatedir='${prefix}/com'
754localstatedir='${prefix}/var'
755includedir='${prefix}/include'
756oldincludedir='/usr/include'
757docdir='${datarootdir}/doc/${PACKAGE}'
758infodir='${datarootdir}/info'
759htmldir='${docdir}'
760dvidir='${docdir}'
761pdfdir='${docdir}'
762psdir='${docdir}'
763libdir='${exec_prefix}/lib'
764localedir='${datarootdir}/locale'
765mandir='${datarootdir}/man'
766
767ac_prev=
768ac_dashdash=
769for ac_option
770do
771 # If the previous option needs an argument, assign it.
772 if test -n "$ac_prev"; then
773 eval $ac_prev=\$ac_option
774 ac_prev=
775 continue
776 fi
777
778 case $ac_option in
779 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
780 *=) ac_optarg= ;;
781 *) ac_optarg=yes ;;
782 esac
783
784 # Accept the important Cygnus configure options, so we can diagnose typos.
785
786 case $ac_dashdash$ac_option in
787 --)
788 ac_dashdash=yes ;;
789
790 -bindir | --bindir | --bindi | --bind | --bin | --bi)
791 ac_prev=bindir ;;
792 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
793 bindir=$ac_optarg ;;
794
795 -build | --build | --buil | --bui | --bu)
796 ac_prev=build_alias ;;
797 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
798 build_alias=$ac_optarg ;;
799
800 -cache-file | --cache-file | --cache-fil | --cache-fi \
801 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
802 ac_prev=cache_file ;;
803 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
804 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
805 cache_file=$ac_optarg ;;
806
807 --config-cache | -C)
808 cache_file=config.cache ;;
809
810 -datadir | --datadir | --datadi | --datad)
811 ac_prev=datadir ;;
812 -datadir=* | --datadir=* | --datadi=* | --datad=*)
813 datadir=$ac_optarg ;;
814
815 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
816 | --dataroo | --dataro | --datar)
817 ac_prev=datarootdir ;;
818 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
819 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
820 datarootdir=$ac_optarg ;;
821
822 -disable-* | --disable-*)
823 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
824 # Reject names that are not valid shell variable names.
825 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
826 as_fn_error $? "invalid feature name: $ac_useropt"
827 ac_useropt_orig=$ac_useropt
828 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
829 case $ac_user_opts in
830 *"
831"enable_$ac_useropt"
832"*) ;;
833 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
834 ac_unrecognized_sep=', ';;
835 esac
836 eval enable_$ac_useropt=no ;;
837
838 -docdir | --docdir | --docdi | --doc | --do)
839 ac_prev=docdir ;;
840 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
841 docdir=$ac_optarg ;;
842
843 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
844 ac_prev=dvidir ;;
845 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
846 dvidir=$ac_optarg ;;
847
848 -enable-* | --enable-*)
849 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
850 # Reject names that are not valid shell variable names.
851 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
852 as_fn_error $? "invalid feature name: $ac_useropt"
853 ac_useropt_orig=$ac_useropt
854 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
855 case $ac_user_opts in
856 *"
857"enable_$ac_useropt"
858"*) ;;
859 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
860 ac_unrecognized_sep=', ';;
861 esac
862 eval enable_$ac_useropt=\$ac_optarg ;;
863
864 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
865 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
866 | --exec | --exe | --ex)
867 ac_prev=exec_prefix ;;
868 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
869 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
870 | --exec=* | --exe=* | --ex=*)
871 exec_prefix=$ac_optarg ;;
872
873 -gas | --gas | --ga | --g)
874 # Obsolete; use --with-gas.
875 with_gas=yes ;;
876
877 -help | --help | --hel | --he | -h)
878 ac_init_help=long ;;
879 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
880 ac_init_help=recursive ;;
881 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
882 ac_init_help=short ;;
883
884 -host | --host | --hos | --ho)
885 ac_prev=host_alias ;;
886 -host=* | --host=* | --hos=* | --ho=*)
887 host_alias=$ac_optarg ;;
888
889 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
890 ac_prev=htmldir ;;
891 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
892 | --ht=*)
893 htmldir=$ac_optarg ;;
894
895 -includedir | --includedir | --includedi | --included | --include \
896 | --includ | --inclu | --incl | --inc)
897 ac_prev=includedir ;;
898 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
899 | --includ=* | --inclu=* | --incl=* | --inc=*)
900 includedir=$ac_optarg ;;
901
902 -infodir | --infodir | --infodi | --infod | --info | --inf)
903 ac_prev=infodir ;;
904 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
905 infodir=$ac_optarg ;;
906
907 -libdir | --libdir | --libdi | --libd)
908 ac_prev=libdir ;;
909 -libdir=* | --libdir=* | --libdi=* | --libd=*)
910 libdir=$ac_optarg ;;
911
912 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
913 | --libexe | --libex | --libe)
914 ac_prev=libexecdir ;;
915 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
916 | --libexe=* | --libex=* | --libe=*)
917 libexecdir=$ac_optarg ;;
918
919 -localedir | --localedir | --localedi | --localed | --locale)
920 ac_prev=localedir ;;
921 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
922 localedir=$ac_optarg ;;
923
924 -localstatedir | --localstatedir | --localstatedi | --localstated \
925 | --localstate | --localstat | --localsta | --localst | --locals)
926 ac_prev=localstatedir ;;
927 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
928 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
929 localstatedir=$ac_optarg ;;
930
931 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
932 ac_prev=mandir ;;
933 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
934 mandir=$ac_optarg ;;
935
936 -nfp | --nfp | --nf)
937 # Obsolete; use --without-fp.
938 with_fp=no ;;
939
940 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
941 | --no-cr | --no-c | -n)
942 no_create=yes ;;
943
944 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
945 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
946 no_recursion=yes ;;
947
948 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
949 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
950 | --oldin | --oldi | --old | --ol | --o)
951 ac_prev=oldincludedir ;;
952 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
953 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
954 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
955 oldincludedir=$ac_optarg ;;
956
957 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
958 ac_prev=prefix ;;
959 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
960 prefix=$ac_optarg ;;
961
962 -program-prefix | --program-prefix | --program-prefi | --program-pref \
963 | --program-pre | --program-pr | --program-p)
964 ac_prev=program_prefix ;;
965 -program-prefix=* | --program-prefix=* | --program-prefi=* \
966 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
967 program_prefix=$ac_optarg ;;
968
969 -program-suffix | --program-suffix | --program-suffi | --program-suff \
970 | --program-suf | --program-su | --program-s)
971 ac_prev=program_suffix ;;
972 -program-suffix=* | --program-suffix=* | --program-suffi=* \
973 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
974 program_suffix=$ac_optarg ;;
975
976 -program-transform-name | --program-transform-name \
977 | --program-transform-nam | --program-transform-na \
978 | --program-transform-n | --program-transform- \
979 | --program-transform | --program-transfor \
980 | --program-transfo | --program-transf \
981 | --program-trans | --program-tran \
982 | --progr-tra | --program-tr | --program-t)
983 ac_prev=program_transform_name ;;
984 -program-transform-name=* | --program-transform-name=* \
985 | --program-transform-nam=* | --program-transform-na=* \
986 | --program-transform-n=* | --program-transform-=* \
987 | --program-transform=* | --program-transfor=* \
988 | --program-transfo=* | --program-transf=* \
989 | --program-trans=* | --program-tran=* \
990 | --progr-tra=* | --program-tr=* | --program-t=*)
991 program_transform_name=$ac_optarg ;;
992
993 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
994 ac_prev=pdfdir ;;
995 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
996 pdfdir=$ac_optarg ;;
997
998 -psdir | --psdir | --psdi | --psd | --ps)
999 ac_prev=psdir ;;
1000 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1001 psdir=$ac_optarg ;;
1002
1003 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1004 | -silent | --silent | --silen | --sile | --sil)
1005 silent=yes ;;
1006
1007 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1008 ac_prev=sbindir ;;
1009 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1010 | --sbi=* | --sb=*)
1011 sbindir=$ac_optarg ;;
1012
1013 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1014 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1015 | --sharedst | --shareds | --shared | --share | --shar \
1016 | --sha | --sh)
1017 ac_prev=sharedstatedir ;;
1018 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1019 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1020 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1021 | --sha=* | --sh=*)
1022 sharedstatedir=$ac_optarg ;;
1023
1024 -site | --site | --sit)
1025 ac_prev=site ;;
1026 -site=* | --site=* | --sit=*)
1027 site=$ac_optarg ;;
1028
1029 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1030 ac_prev=srcdir ;;
1031 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1032 srcdir=$ac_optarg ;;
1033
1034 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1035 | --syscon | --sysco | --sysc | --sys | --sy)
1036 ac_prev=sysconfdir ;;
1037 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1038 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1039 sysconfdir=$ac_optarg ;;
1040
1041 -target | --target | --targe | --targ | --tar | --ta | --t)
1042 ac_prev=target_alias ;;
1043 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1044 target_alias=$ac_optarg ;;
1045
1046 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1047 verbose=yes ;;
1048
1049 -version | --version | --versio | --versi | --vers | -V)
1050 ac_init_version=: ;;
1051
1052 -with-* | --with-*)
1053 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1056 as_fn_error $? "invalid package name: $ac_useropt"
1057 ac_useropt_orig=$ac_useropt
1058 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1059 case $ac_user_opts in
1060 *"
1061"with_$ac_useropt"
1062"*) ;;
1063 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1064 ac_unrecognized_sep=', ';;
1065 esac
1066 eval with_$ac_useropt=\$ac_optarg ;;
1067
1068 -without-* | --without-*)
1069 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1070 # Reject names that are not valid shell variable names.
1071 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1072 as_fn_error $? "invalid package name: $ac_useropt"
1073 ac_useropt_orig=$ac_useropt
1074 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1075 case $ac_user_opts in
1076 *"
1077"with_$ac_useropt"
1078"*) ;;
1079 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1080 ac_unrecognized_sep=', ';;
1081 esac
1082 eval with_$ac_useropt=no ;;
1083
1084 --x)
1085 # Obsolete; use --with-x.
1086 with_x=yes ;;
1087
1088 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1089 | --x-incl | --x-inc | --x-in | --x-i)
1090 ac_prev=x_includes ;;
1091 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1092 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1093 x_includes=$ac_optarg ;;
1094
1095 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1096 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1097 ac_prev=x_libraries ;;
1098 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1099 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1100 x_libraries=$ac_optarg ;;
1101
1102 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1103Try \`$0 --help' for more information"
1104 ;;
1105
1106 *=*)
1107 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1108 # Reject names that are not valid shell variable names.
1109 case $ac_envvar in #(
1110 '' | [0-9]* | *[!_$as_cr_alnum]* )
1111 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1112 esac
1113 eval $ac_envvar=\$ac_optarg
1114 export $ac_envvar ;;
1115
1116 *)
1117 # FIXME: should be removed in autoconf 3.0.
1118 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1119 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1120 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1121 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1122 ;;
1123
1124 esac
1125done
1126
1127if test -n "$ac_prev"; then
1128 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1129 as_fn_error $? "missing argument to $ac_option"
1130fi
1131
1132if test -n "$ac_unrecognized_opts"; then
1133 case $enable_option_checking in
1134 no) ;;
1135 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1136 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1137 esac
1138fi
1139
1140# Check all directory arguments for consistency.
1141for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1142 datadir sysconfdir sharedstatedir localstatedir includedir \
1143 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1144 libdir localedir mandir
1145do
1146 eval ac_val=\$$ac_var
1147 # Remove trailing slashes.
1148 case $ac_val in
1149 */ )
1150 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1151 eval $ac_var=\$ac_val;;
1152 esac
1153 # Be sure to have absolute directory names.
1154 case $ac_val in
1155 [\\/$]* | ?:[\\/]* ) continue;;
1156 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1157 esac
1158 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1159done
1160
1161# There might be people who depend on the old broken behavior: `$host'
1162# used to hold the argument of --host etc.
1163# FIXME: To remove some day.
1164build=$build_alias
1165host=$host_alias
1166target=$target_alias
1167
1168# FIXME: To remove some day.
1169if test "x$host_alias" != x; then
1170 if test "x$build_alias" = x; then
1171 cross_compiling=maybe
1172 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1173 If a cross compiler is detected then cross compile mode will be used" >&2
1174 elif test "x$build_alias" != "x$host_alias"; then
1175 cross_compiling=yes
1176 fi
1177fi
1178
1179ac_tool_prefix=
1180test -n "$host_alias" && ac_tool_prefix=$host_alias-
1181
1182test "$silent" = yes && exec 6>/dev/null
1183
1184
1185ac_pwd=`pwd` && test -n "$ac_pwd" &&
1186ac_ls_di=`ls -di .` &&
1187ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1188 as_fn_error $? "working directory cannot be determined"
1189test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1190 as_fn_error $? "pwd does not report name of working directory"
1191
1192
1193# Find the source files, if location was not specified.
1194if test -z "$srcdir"; then
1195 ac_srcdir_defaulted=yes
1196 # Try the directory containing this script, then the parent directory.
1197 ac_confdir=`$as_dirname -- "$as_myself" ||
1198$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1199 X"$as_myself" : 'X\(//\)[^/]' \| \
1200 X"$as_myself" : 'X\(//\)$' \| \
1201 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1202$as_echo X"$as_myself" |
1203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1204 s//\1/
1205 q
1206 }
1207 /^X\(\/\/\)[^/].*/{
1208 s//\1/
1209 q
1210 }
1211 /^X\(\/\/\)$/{
1212 s//\1/
1213 q
1214 }
1215 /^X\(\/\).*/{
1216 s//\1/
1217 q
1218 }
1219 s/.*/./; q'`
1220 srcdir=$ac_confdir
1221 if test ! -r "$srcdir/$ac_unique_file"; then
1222 srcdir=..
1223 fi
1224else
1225 ac_srcdir_defaulted=no
1226fi
1227if test ! -r "$srcdir/$ac_unique_file"; then
1228 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1229 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1230fi
1231ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1232ac_abs_confdir=`(
1233 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1234 pwd)`
1235# When building in place, set srcdir=.
1236if test "$ac_abs_confdir" = "$ac_pwd"; then
1237 srcdir=.
1238fi
1239# Remove unnecessary trailing slashes from srcdir.
1240# Double slashes in file names in object file debugging info
1241# mess up M-x gdb in Emacs.
1242case $srcdir in
1243*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1244esac
1245for ac_var in $ac_precious_vars; do
1246 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1247 eval ac_env_${ac_var}_value=\$${ac_var}
1248 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1249 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1250done
1251
1252#
1253# Report the --help message.
1254#
1255if test "$ac_init_help" = "long"; then
1256 # Omit some internal or obsolete options to make the list less imposing.
1257 # This message is too long to be a string in the A/UX 3.1 sh.
1258 cat <<_ACEOF
1259\`configure' configures this package to adapt to many kinds of systems.
1260
1261Usage: $0 [OPTION]... [VAR=VALUE]...
1262
1263To assign environment variables (e.g., CC, CFLAGS...), specify them as
1264VAR=VALUE. See below for descriptions of some of the useful variables.
1265
1266Defaults for the options are specified in brackets.
1267
1268Configuration:
1269 -h, --help display this help and exit
1270 --help=short display options specific to this package
1271 --help=recursive display the short help of all the included packages
1272 -V, --version display version information and exit
1273 -q, --quiet, --silent do not print \`checking ...' messages
1274 --cache-file=FILE cache test results in FILE [disabled]
1275 -C, --config-cache alias for \`--cache-file=config.cache'
1276 -n, --no-create do not create output files
1277 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1278
1279Installation directories:
1280 --prefix=PREFIX install architecture-independent files in PREFIX
1281 [$ac_default_prefix]
1282 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1283 [PREFIX]
1284
1285By default, \`make install' will install all the files in
1286\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1287an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1288for instance \`--prefix=\$HOME'.
1289
1290For better control, use the options below.
1291
1292Fine tuning of the installation directories:
1293 --bindir=DIR user executables [EPREFIX/bin]
1294 --sbindir=DIR system admin executables [EPREFIX/sbin]
1295 --libexecdir=DIR program executables [EPREFIX/libexec]
1296 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1297 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1298 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1299 --libdir=DIR object code libraries [EPREFIX/lib]
1300 --includedir=DIR C header files [PREFIX/include]
1301 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1302 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1303 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1304 --infodir=DIR info documentation [DATAROOTDIR/info]
1305 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1306 --mandir=DIR man documentation [DATAROOTDIR/man]
1307 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1308 --htmldir=DIR html documentation [DOCDIR]
1309 --dvidir=DIR dvi documentation [DOCDIR]
1310 --pdfdir=DIR pdf documentation [DOCDIR]
1311 --psdir=DIR ps documentation [DOCDIR]
1312_ACEOF
1313
1314 cat <<\_ACEOF
1315_ACEOF
1316fi
1317
1318if test -n "$ac_init_help"; then
1319
1320 cat <<\_ACEOF
1321
1322Optional Features:
1323 --disable-option-checking ignore unrecognized --enable/--with options
1324 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1325 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1326 --enable-debug include debugging code (default is NO)
1327 --enable-static link dump and restore statically (default is NO)
1328 --enable-staticz link libz and libbz2 statically (default is NO)
1329 --enable-rmt compile and install rmt (default is YES)
1330 --enable-ermt compile ermt, an encrypting version of rmt (default is NO)
1331 --enable-kerberos compile kerberos extensions (default is NO)
1332 --enable-readline enable readline support in restore (default is YES)
1333 --enable-oldstylefscript enable old style F script (no arguments) (default is NO)
1334 --enable-largefile enable Large File System support (default is YES)
1335 --enable-qfa enable Quick File Access support (default is YES)
1336 --enable-qfadebug include Quick File Access debugging code (default is NO)
1337 --enable-macosx include Mac OSX restore compatibility (default is NO)
1338 --enable-transselinux restore can translate SELinux EAs (default is YES)
1339
1340Optional Packages:
1341 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1342 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1343 --with-cc=COMPILER select compiler to use
1344 --with-linker=LINKER select linker to use
1345 --with-ccopts=CCOPTS select compiler command line options
1346 --with-ldopts=LDOPTS select linker command line options
1347 --with-binowner=USER select owner for binaries
1348 --with-bingrp=GROUP select group for binaries
1349 --with-binmode=MODE select mode for binaries
1350 --with-manowner=USER select owner for manual pages
1351 --with-mangrp=GROUP select group for manual pages
1352 --with-manmode=MODE select mode for manual pages
1353 --with-dumpdatespath=PATH select path for dumpdates file
1354
1355Some influential environment variables:
1356 CC C compiler command
1357 CFLAGS C compiler flags
1358 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1359 nonstandard directory <lib dir>
1360 LIBS libraries to pass to the linker, e.g. -l<library>
1361 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1362 you have headers in a nonstandard directory <include dir>
1363 CPP C preprocessor
1364
1365Use these variables to override the choices made by `configure' or to help
1366it to find libraries and programs with nonstandard names/locations.
1367
1368Report bugs to the package provider.
1369_ACEOF
1370ac_status=$?
1371fi
1372
1373if test "$ac_init_help" = "recursive"; then
1374 # If there are subdirs, report their specific --help.
1375 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1376 test -d "$ac_dir" ||
1377 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1378 continue
1379 ac_builddir=.
1380
1381case "$ac_dir" in
1382.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1383*)
1384 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1385 # A ".." for each directory in $ac_dir_suffix.
1386 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1387 case $ac_top_builddir_sub in
1388 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1389 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1390 esac ;;
1391esac
1392ac_abs_top_builddir=$ac_pwd
1393ac_abs_builddir=$ac_pwd$ac_dir_suffix
1394# for backward compatibility:
1395ac_top_builddir=$ac_top_build_prefix
1396
1397case $srcdir in
1398 .) # We are building in place.
1399 ac_srcdir=.
1400 ac_top_srcdir=$ac_top_builddir_sub
1401 ac_abs_top_srcdir=$ac_pwd ;;
1402 [\\/]* | ?:[\\/]* ) # Absolute name.
1403 ac_srcdir=$srcdir$ac_dir_suffix;
1404 ac_top_srcdir=$srcdir
1405 ac_abs_top_srcdir=$srcdir ;;
1406 *) # Relative name.
1407 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1408 ac_top_srcdir=$ac_top_build_prefix$srcdir
1409 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1410esac
1411ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1412
1413 cd "$ac_dir" || { ac_status=$?; continue; }
1414 # Check for guested configure.
1415 if test -f "$ac_srcdir/configure.gnu"; then
1416 echo &&
1417 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1418 elif test -f "$ac_srcdir/configure"; then
1419 echo &&
1420 $SHELL "$ac_srcdir/configure" --help=recursive
1421 else
1422 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1423 fi || ac_status=$?
1424 cd "$ac_pwd" || { ac_status=$?; break; }
1425 done
1426fi
1427
1428test -n "$ac_init_help" && exit $ac_status
1429if $ac_init_version; then
1430 cat <<\_ACEOF
1431configure
1432generated by GNU Autoconf 2.67
1433
1434Copyright (C) 2010 Free Software Foundation, Inc.
1435This configure script is free software; the Free Software Foundation
1436gives unlimited permission to copy, distribute and modify it.
1437_ACEOF
1438 exit
1439fi
1440
1441## ------------------------ ##
1442## Autoconf initialization. ##
1443## ------------------------ ##
1444
1445# ac_fn_c_try_compile LINENO
1446# --------------------------
1447# Try to compile conftest.$ac_ext, and return whether this succeeded.
1448ac_fn_c_try_compile ()
1449{
1450 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1451 rm -f conftest.$ac_objext
1452 if { { ac_try="$ac_compile"
1453case "(($ac_try" in
1454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1455 *) ac_try_echo=$ac_try;;
1456esac
1457eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1458$as_echo "$ac_try_echo"; } >&5
1459 (eval "$ac_compile") 2>conftest.err
1460 ac_status=$?
1461 if test -s conftest.err; then
1462 grep -v '^ *+' conftest.err >conftest.er1
1463 cat conftest.er1 >&5
1464 mv -f conftest.er1 conftest.err
1465 fi
1466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1467 test $ac_status = 0; } && {
1468 test -z "$ac_c_werror_flag" ||
1469 test ! -s conftest.err
1470 } && test -s conftest.$ac_objext; then :
1471 ac_retval=0
1472else
1473 $as_echo "$as_me: failed program was:" >&5
1474sed 's/^/| /' conftest.$ac_ext >&5
1475
1476 ac_retval=1
1477fi
1478 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1479 as_fn_set_status $ac_retval
1480
1481} # ac_fn_c_try_compile
1482
1483# ac_fn_c_try_cpp LINENO
1484# ----------------------
1485# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1486ac_fn_c_try_cpp ()
1487{
1488 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1489 if { { ac_try="$ac_cpp conftest.$ac_ext"
1490case "(($ac_try" in
1491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1492 *) ac_try_echo=$ac_try;;
1493esac
1494eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1495$as_echo "$ac_try_echo"; } >&5
1496 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1497 ac_status=$?
1498 if test -s conftest.err; then
1499 grep -v '^ *+' conftest.err >conftest.er1
1500 cat conftest.er1 >&5
1501 mv -f conftest.er1 conftest.err
1502 fi
1503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1504 test $ac_status = 0; } > conftest.i && {
1505 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1506 test ! -s conftest.err
1507 }; then :
1508 ac_retval=0
1509else
1510 $as_echo "$as_me: failed program was:" >&5
1511sed 's/^/| /' conftest.$ac_ext >&5
1512
1513 ac_retval=1
1514fi
1515 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1516 as_fn_set_status $ac_retval
1517
1518} # ac_fn_c_try_cpp
1519
1520# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1521# -------------------------------------------------------
1522# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1523# the include files in INCLUDES and setting the cache variable VAR
1524# accordingly.
1525ac_fn_c_check_header_mongrel ()
1526{
1527 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1528 if eval "test \"\${$3+set}\"" = set; then :
1529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1530$as_echo_n "checking for $2... " >&6; }
1531if eval "test \"\${$3+set}\"" = set; then :
1532 $as_echo_n "(cached) " >&6
1533fi
1534eval ac_res=\$$3
1535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1536$as_echo "$ac_res" >&6; }
1537else
1538 # Is the header compilable?
1539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1540$as_echo_n "checking $2 usability... " >&6; }
1541cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1542/* end confdefs.h. */
1543$4
1544#include <$2>
1545_ACEOF
1546if ac_fn_c_try_compile "$LINENO"; then :
1547 ac_header_compiler=yes
1548else
1549 ac_header_compiler=no
1550fi
1551rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1553$as_echo "$ac_header_compiler" >&6; }
1554
1555# Is the header present?
1556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1557$as_echo_n "checking $2 presence... " >&6; }
1558cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1559/* end confdefs.h. */
1560#include <$2>
1561_ACEOF
1562if ac_fn_c_try_cpp "$LINENO"; then :
1563 ac_header_preproc=yes
1564else
1565 ac_header_preproc=no
1566fi
1567rm -f conftest.err conftest.i conftest.$ac_ext
1568{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1569$as_echo "$ac_header_preproc" >&6; }
1570
1571# So? What about this header?
1572case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1573 yes:no: )
1574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1575$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1577$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1578 ;;
1579 no:yes:* )
1580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1581$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1583$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1585$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1587$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1589$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1590 ;;
1591esac
1592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1593$as_echo_n "checking for $2... " >&6; }
1594if eval "test \"\${$3+set}\"" = set; then :
1595 $as_echo_n "(cached) " >&6
1596else
1597 eval "$3=\$ac_header_compiler"
1598fi
1599eval ac_res=\$$3
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1601$as_echo "$ac_res" >&6; }
1602fi
1603 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1604
1605} # ac_fn_c_check_header_mongrel
1606
1607# ac_fn_c_try_run LINENO
1608# ----------------------
1609# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1610# that executables *can* be run.
1611ac_fn_c_try_run ()
1612{
1613 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1614 if { { ac_try="$ac_link"
1615case "(($ac_try" in
1616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1617 *) ac_try_echo=$ac_try;;
1618esac
1619eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1620$as_echo "$ac_try_echo"; } >&5
1621 (eval "$ac_link") 2>&5
1622 ac_status=$?
1623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1624 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1625 { { case "(($ac_try" in
1626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1627 *) ac_try_echo=$ac_try;;
1628esac
1629eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1630$as_echo "$ac_try_echo"; } >&5
1631 (eval "$ac_try") 2>&5
1632 ac_status=$?
1633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1634 test $ac_status = 0; }; }; then :
1635 ac_retval=0
1636else
1637 $as_echo "$as_me: program exited with status $ac_status" >&5
1638 $as_echo "$as_me: failed program was:" >&5
1639sed 's/^/| /' conftest.$ac_ext >&5
1640
1641 ac_retval=$ac_status
1642fi
1643 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1644 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1645 as_fn_set_status $ac_retval
1646
1647} # ac_fn_c_try_run
1648
1649# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1650# -------------------------------------------------------
1651# Tests whether HEADER exists and can be compiled using the include files in
1652# INCLUDES, setting the cache variable VAR accordingly.
1653ac_fn_c_check_header_compile ()
1654{
1655 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1657$as_echo_n "checking for $2... " >&6; }
1658if eval "test \"\${$3+set}\"" = set; then :
1659 $as_echo_n "(cached) " >&6
1660else
1661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1662/* end confdefs.h. */
1663$4
1664#include <$2>
1665_ACEOF
1666if ac_fn_c_try_compile "$LINENO"; then :
1667 eval "$3=yes"
1668else
1669 eval "$3=no"
1670fi
1671rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1672fi
1673eval ac_res=\$$3
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1675$as_echo "$ac_res" >&6; }
1676 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1677
1678} # ac_fn_c_check_header_compile
1679
1680# ac_fn_c_check_header_preproc LINENO HEADER VAR
1681# ----------------------------------------------
1682# Tests whether HEADER is present, setting the cache variable VAR accordingly.
1683ac_fn_c_check_header_preproc ()
1684{
1685 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1687$as_echo_n "checking for $2... " >&6; }
1688if eval "test \"\${$3+set}\"" = set; then :
1689 $as_echo_n "(cached) " >&6
1690else
1691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1692/* end confdefs.h. */
1693#include <$2>
1694_ACEOF
1695if ac_fn_c_try_cpp "$LINENO"; then :
1696 eval "$3=yes"
1697else
1698 eval "$3=no"
1699fi
1700rm -f conftest.err conftest.i conftest.$ac_ext
1701fi
1702eval ac_res=\$$3
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1704$as_echo "$ac_res" >&6; }
1705 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1706
1707} # ac_fn_c_check_header_preproc
1708
1709# ac_fn_c_try_link LINENO
1710# -----------------------
1711# Try to link conftest.$ac_ext, and return whether this succeeded.
1712ac_fn_c_try_link ()
1713{
1714 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1715 rm -f conftest.$ac_objext conftest$ac_exeext
1716 if { { ac_try="$ac_link"
1717case "(($ac_try" in
1718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1719 *) ac_try_echo=$ac_try;;
1720esac
1721eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1722$as_echo "$ac_try_echo"; } >&5
1723 (eval "$ac_link") 2>conftest.err
1724 ac_status=$?
1725 if test -s conftest.err; then
1726 grep -v '^ *+' conftest.err >conftest.er1
1727 cat conftest.er1 >&5
1728 mv -f conftest.er1 conftest.err
1729 fi
1730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1731 test $ac_status = 0; } && {
1732 test -z "$ac_c_werror_flag" ||
1733 test ! -s conftest.err
1734 } && test -s conftest$ac_exeext && {
1735 test "$cross_compiling" = yes ||
1736 $as_test_x conftest$ac_exeext
1737 }; then :
1738 ac_retval=0
1739else
1740 $as_echo "$as_me: failed program was:" >&5
1741sed 's/^/| /' conftest.$ac_ext >&5
1742
1743 ac_retval=1
1744fi
1745 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1746 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1747 # interfere with the next link command; also delete a directory that is
1748 # left behind by Apple's compiler. We do this before executing the actions.
1749 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1750 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1751 as_fn_set_status $ac_retval
1752
1753} # ac_fn_c_try_link
1754
1755# ac_fn_c_check_func LINENO FUNC VAR
1756# ----------------------------------
1757# Tests whether FUNC exists, setting the cache variable VAR accordingly
1758ac_fn_c_check_func ()
1759{
1760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1762$as_echo_n "checking for $2... " >&6; }
1763if eval "test \"\${$3+set}\"" = set; then :
1764 $as_echo_n "(cached) " >&6
1765else
1766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1767/* end confdefs.h. */
1768/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1770#define $2 innocuous_$2
1771
1772/* System header to define __stub macros and hopefully few prototypes,
1773 which can conflict with char $2 (); below.
1774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1775 <limits.h> exists even on freestanding compilers. */
1776
1777#ifdef __STDC__
1778# include <limits.h>
1779#else
1780# include <assert.h>
1781#endif
1782
1783#undef $2
1784
1785/* Override any GCC internal prototype to avoid an error.
1786 Use char because int might match the return type of a GCC
1787 builtin and then its argument prototype would still apply. */
1788#ifdef __cplusplus
1789extern "C"
1790#endif
1791char $2 ();
1792/* The GNU C library defines this for functions which it implements
1793 to always fail with ENOSYS. Some functions are actually named
1794 something starting with __ and the normal name is an alias. */
1795#if defined __stub_$2 || defined __stub___$2
1796choke me
1797#endif
1798
1799int
1800main ()
1801{
1802return $2 ();
1803 ;
1804 return 0;
1805}
1806_ACEOF
1807if ac_fn_c_try_link "$LINENO"; then :
1808 eval "$3=yes"
1809else
1810 eval "$3=no"
1811fi
1812rm -f core conftest.err conftest.$ac_objext \
1813 conftest$ac_exeext conftest.$ac_ext
1814fi
1815eval ac_res=\$$3
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1817$as_echo "$ac_res" >&6; }
1818 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1819
1820} # ac_fn_c_check_func
1821
1822# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1823# -------------------------------------------
1824# Tests whether TYPE exists after having included INCLUDES, setting cache
1825# variable VAR accordingly.
1826ac_fn_c_check_type ()
1827{
1828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1830$as_echo_n "checking for $2... " >&6; }
1831if eval "test \"\${$3+set}\"" = set; then :
1832 $as_echo_n "(cached) " >&6
1833else
1834 eval "$3=no"
1835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1836/* end confdefs.h. */
1837$4
1838int
1839main ()
1840{
1841if (sizeof ($2))
1842 return 0;
1843 ;
1844 return 0;
1845}
1846_ACEOF
1847if ac_fn_c_try_compile "$LINENO"; then :
1848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1849/* end confdefs.h. */
1850$4
1851int
1852main ()
1853{
1854if (sizeof (($2)))
1855 return 0;
1856 ;
1857 return 0;
1858}
1859_ACEOF
1860if ac_fn_c_try_compile "$LINENO"; then :
1861
1862else
1863 eval "$3=yes"
1864fi
1865rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1866fi
1867rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1868fi
1869eval ac_res=\$$3
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1871$as_echo "$ac_res" >&6; }
1872 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1873
1874} # ac_fn_c_check_type
1875cat >config.log <<_ACEOF
1876This file contains any messages produced by compilers while
1877running configure, to aid debugging if configure makes a mistake.
1878
1879It was created by $as_me, which was
1880generated by GNU Autoconf 2.67. Invocation command line was
1881
1882 $ $0 $@
1883
1884_ACEOF
1885exec 5>>config.log
1886{
1887cat <<_ASUNAME
1888## --------- ##
1889## Platform. ##
1890## --------- ##
1891
1892hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1893uname -m = `(uname -m) 2>/dev/null || echo unknown`
1894uname -r = `(uname -r) 2>/dev/null || echo unknown`
1895uname -s = `(uname -s) 2>/dev/null || echo unknown`
1896uname -v = `(uname -v) 2>/dev/null || echo unknown`
1897
1898/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1899/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1900
1901/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1902/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1903/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1904/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1905/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1906/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1907/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1908
1909_ASUNAME
1910
1911as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1912for as_dir in $PATH
1913do
1914 IFS=$as_save_IFS
1915 test -z "$as_dir" && as_dir=.
1916 $as_echo "PATH: $as_dir"
1917 done
1918IFS=$as_save_IFS
1919
1920} >&5
1921
1922cat >&5 <<_ACEOF
1923
1924
1925## ----------- ##
1926## Core tests. ##
1927## ----------- ##
1928
1929_ACEOF
1930
1931
1932# Keep a trace of the command line.
1933# Strip out --no-create and --no-recursion so they do not pile up.
1934# Strip out --silent because we don't want to record it for future runs.
1935# Also quote any args containing shell meta-characters.
1936# Make two passes to allow for proper duplicate-argument suppression.
1937ac_configure_args=
1938ac_configure_args0=
1939ac_configure_args1=
1940ac_must_keep_next=false
1941for ac_pass in 1 2
1942do
1943 for ac_arg
1944 do
1945 case $ac_arg in
1946 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1947 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1948 | -silent | --silent | --silen | --sile | --sil)
1949 continue ;;
1950 *\'*)
1951 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1952 esac
1953 case $ac_pass in
1954 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1955 2)
1956 as_fn_append ac_configure_args1 " '$ac_arg'"
1957 if test $ac_must_keep_next = true; then
1958 ac_must_keep_next=false # Got value, back to normal.
1959 else
1960 case $ac_arg in
1961 *=* | --config-cache | -C | -disable-* | --disable-* \
1962 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1963 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1964 | -with-* | --with-* | -without-* | --without-* | --x)
1965 case "$ac_configure_args0 " in
1966 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1967 esac
1968 ;;
1969 -* ) ac_must_keep_next=true ;;
1970 esac
1971 fi
1972 as_fn_append ac_configure_args " '$ac_arg'"
1973 ;;
1974 esac
1975 done
1976done
1977{ ac_configure_args0=; unset ac_configure_args0;}
1978{ ac_configure_args1=; unset ac_configure_args1;}
1979
1980# When interrupted or exit'd, cleanup temporary files, and complete
1981# config.log. We remove comments because anyway the quotes in there
1982# would cause problems or look ugly.
1983# WARNING: Use '\'' to represent an apostrophe within the trap.
1984# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1985trap 'exit_status=$?
1986 # Save into config.log some information that might help in debugging.
1987 {
1988 echo
1989
1990 $as_echo "## ---------------- ##
1991## Cache variables. ##
1992## ---------------- ##"
1993 echo
1994 # The following way of writing the cache mishandles newlines in values,
1995(
1996 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1997 eval ac_val=\$$ac_var
1998 case $ac_val in #(
1999 *${as_nl}*)
2000 case $ac_var in #(
2001 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2002$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2003 esac
2004 case $ac_var in #(
2005 _ | IFS | as_nl) ;; #(
2006 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2007 *) { eval $ac_var=; unset $ac_var;} ;;
2008 esac ;;
2009 esac
2010 done
2011 (set) 2>&1 |
2012 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2013 *${as_nl}ac_space=\ *)
2014 sed -n \
2015 "s/'\''/'\''\\\\'\'''\''/g;
2016 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2017 ;; #(
2018 *)
2019 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2020 ;;
2021 esac |
2022 sort
2023)
2024 echo
2025
2026 $as_echo "## ----------------- ##
2027## Output variables. ##
2028## ----------------- ##"
2029 echo
2030 for ac_var in $ac_subst_vars
2031 do
2032 eval ac_val=\$$ac_var
2033 case $ac_val in
2034 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2035 esac
2036 $as_echo "$ac_var='\''$ac_val'\''"
2037 done | sort
2038 echo
2039
2040 if test -n "$ac_subst_files"; then
2041 $as_echo "## ------------------- ##
2042## File substitutions. ##
2043## ------------------- ##"
2044 echo
2045 for ac_var in $ac_subst_files
2046 do
2047 eval ac_val=\$$ac_var
2048 case $ac_val in
2049 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2050 esac
2051 $as_echo "$ac_var='\''$ac_val'\''"
2052 done | sort
2053 echo
2054 fi
2055
2056 if test -s confdefs.h; then
2057 $as_echo "## ----------- ##
2058## confdefs.h. ##
2059## ----------- ##"
2060 echo
2061 cat confdefs.h
2062 echo
2063 fi
2064 test "$ac_signal" != 0 &&
2065 $as_echo "$as_me: caught signal $ac_signal"
2066 $as_echo "$as_me: exit $exit_status"
2067 } >&5
2068 rm -f core *.core core.conftest.* &&
2069 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2070 exit $exit_status
2071' 0
2072for ac_signal in 1 2 13 15; do
2073 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2074done
2075ac_signal=0
2076
2077# confdefs.h avoids OS command line length limits that DEFS can exceed.
2078rm -f -r conftest* confdefs.h
2079
2080$as_echo "/* confdefs.h */" > confdefs.h
2081
2082# Predefined preprocessor variables.
2083
2084cat >>confdefs.h <<_ACEOF
2085#define PACKAGE_NAME "$PACKAGE_NAME"
2086_ACEOF
2087
2088cat >>confdefs.h <<_ACEOF
2089#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2090_ACEOF
2091
2092cat >>confdefs.h <<_ACEOF
2093#define PACKAGE_VERSION "$PACKAGE_VERSION"
2094_ACEOF
2095
2096cat >>confdefs.h <<_ACEOF
2097#define PACKAGE_STRING "$PACKAGE_STRING"
2098_ACEOF
2099
2100cat >>confdefs.h <<_ACEOF
2101#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2102_ACEOF
2103
2104cat >>confdefs.h <<_ACEOF
2105#define PACKAGE_URL "$PACKAGE_URL"
2106_ACEOF
2107
2108
2109# Let the site file select an alternate cache file if it wants to.
2110# Prefer an explicitly selected file to automatically selected ones.
2111ac_site_file1=NONE
2112ac_site_file2=NONE
2113if test -n "$CONFIG_SITE"; then
2114 # We do not want a PATH search for config.site.
2115 case $CONFIG_SITE in #((
2116 -*) ac_site_file1=./$CONFIG_SITE;;
2117 */*) ac_site_file1=$CONFIG_SITE;;
2118 *) ac_site_file1=./$CONFIG_SITE;;
2119 esac
2120elif test "x$prefix" != xNONE; then
2121 ac_site_file1=$prefix/share/config.site
2122 ac_site_file2=$prefix/etc/config.site
2123else
2124 ac_site_file1=$ac_default_prefix/share/config.site
2125 ac_site_file2=$ac_default_prefix/etc/config.site
2126fi
2127for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2128do
2129 test "x$ac_site_file" = xNONE && continue
2130 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2132$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2133 sed 's/^/| /' "$ac_site_file" >&5
2134 . "$ac_site_file" \
2135 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2136$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2137as_fn_error $? "failed to load site script $ac_site_file
2138See \`config.log' for more details" "$LINENO" 5 ; }
2139 fi
2140done
2141
2142if test -r "$cache_file"; then
2143 # Some versions of bash will fail to source /dev/null (special files
2144 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2145 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2147$as_echo "$as_me: loading cache $cache_file" >&6;}
2148 case $cache_file in
2149 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2150 *) . "./$cache_file";;
2151 esac
2152 fi
2153else
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2155$as_echo "$as_me: creating cache $cache_file" >&6;}
2156 >$cache_file
2157fi
2158
2159# Check that the precious variables saved in the cache have kept the same
2160# value.
2161ac_cache_corrupted=false
2162for ac_var in $ac_precious_vars; do
2163 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2164 eval ac_new_set=\$ac_env_${ac_var}_set
2165 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2166 eval ac_new_val=\$ac_env_${ac_var}_value
2167 case $ac_old_set,$ac_new_set in
2168 set,)
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2170$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2171 ac_cache_corrupted=: ;;
2172 ,set)
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2174$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2175 ac_cache_corrupted=: ;;
2176 ,);;
2177 *)
2178 if test "x$ac_old_val" != "x$ac_new_val"; then
2179 # differences in whitespace do not lead to failure.
2180 ac_old_val_w=`echo x $ac_old_val`
2181 ac_new_val_w=`echo x $ac_new_val`
2182 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2184$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2185 ac_cache_corrupted=:
2186 else
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2188$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2189 eval $ac_var=\$ac_old_val
2190 fi
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2192$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2194$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2195 fi;;
2196 esac
2197 # Pass precious variables to config.status.
2198 if test "$ac_new_set" = set; then
2199 case $ac_new_val in
2200 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2201 *) ac_arg=$ac_var=$ac_new_val ;;
2202 esac
2203 case " $ac_configure_args " in
2204 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2205 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2206 esac
2207 fi
2208done
2209if $ac_cache_corrupted; then
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2211$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2213$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2214 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2215fi
2216## -------------------- ##
2217## Main body of script. ##
2218## -------------------- ##
2219
2220ac_ext=c
2221ac_cpp='$CPP $CPPFLAGS'
2222ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2223ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2224ac_compiler_gnu=$ac_cv_c_compiler_gnu
2225
2226
2227
2228
2229MCONFIG=./MCONFIG
2230
2231
2232ac_config_headers="$ac_config_headers config.h"
2233
2234
2235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2236$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2237set x ${MAKE-make}
2238ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2239if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2240 $as_echo_n "(cached) " >&6
2241else
2242 cat >conftest.make <<\_ACEOF
2243SHELL = /bin/sh
2244all:
2245 @echo '@@@%%%=$(MAKE)=@@@%%%'
2246_ACEOF
2247# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2248case `${MAKE-make} -f conftest.make 2>/dev/null` in
2249 *@@@%%%=?*=@@@%%%*)
2250 eval ac_cv_prog_make_${ac_make}_set=yes;;
2251 *)
2252 eval ac_cv_prog_make_${ac_make}_set=no;;
2253esac
2254rm -f conftest.make
2255fi
2256if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2258$as_echo "yes" >&6; }
2259 SET_MAKE=
2260else
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2262$as_echo "no" >&6; }
2263 SET_MAKE="MAKE=${MAKE-make}"
2264fi
2265
2266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2267$as_echo_n "checking whether ln -s works... " >&6; }
2268LN_S=$as_ln_s
2269if test "$LN_S" = "ln -s"; then
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2271$as_echo "yes" >&6; }
2272else
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2274$as_echo "no, using $LN_S" >&6; }
2275fi
2276
2277# Extract the first word of "cp", so it can be a program name with args.
2278set dummy cp; ac_word=$2
2279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2280$as_echo_n "checking for $ac_word... " >&6; }
2281if test "${ac_cv_path_CP+set}" = set; then :
2282 $as_echo_n "(cached) " >&6
2283else
2284 case $CP in
2285 [\\/]* | ?:[\\/]*)
2286 ac_cv_path_CP="$CP" # Let the user override the test with a path.
2287 ;;
2288 *)
2289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2290for as_dir in $PATH
2291do
2292 IFS=$as_save_IFS
2293 test -z "$as_dir" && as_dir=.
2294 for ac_exec_ext in '' $ac_executable_extensions; do
2295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2296 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
2297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2298 break 2
2299 fi
2300done
2301 done
2302IFS=$as_save_IFS
2303
2304 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
2305 ;;
2306esac
2307fi
2308CP=$ac_cv_path_CP
2309if test -n "$CP"; then
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
2311$as_echo "$CP" >&6; }
2312else
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2314$as_echo "no" >&6; }
2315fi
2316
2317
2318# Extract the first word of "mv", so it can be a program name with args.
2319set dummy mv; ac_word=$2
2320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2321$as_echo_n "checking for $ac_word... " >&6; }
2322if test "${ac_cv_path_MV+set}" = set; then :
2323 $as_echo_n "(cached) " >&6
2324else
2325 case $MV in
2326 [\\/]* | ?:[\\/]*)
2327 ac_cv_path_MV="$MV" # Let the user override the test with a path.
2328 ;;
2329 *)
2330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2331for as_dir in $PATH
2332do
2333 IFS=$as_save_IFS
2334 test -z "$as_dir" && as_dir=.
2335 for ac_exec_ext in '' $ac_executable_extensions; do
2336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2337 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
2338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2339 break 2
2340 fi
2341done
2342 done
2343IFS=$as_save_IFS
2344
2345 test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
2346 ;;
2347esac
2348fi
2349MV=$ac_cv_path_MV
2350if test -n "$MV"; then
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
2352$as_echo "$MV" >&6; }
2353else
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2355$as_echo "no" >&6; }
2356fi
2357
2358
2359# Extract the first word of "rm", so it can be a program name with args.
2360set dummy rm; ac_word=$2
2361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2362$as_echo_n "checking for $ac_word... " >&6; }
2363if test "${ac_cv_path_RM+set}" = set; then :
2364 $as_echo_n "(cached) " >&6
2365else
2366 case $RM in
2367 [\\/]* | ?:[\\/]*)
2368 ac_cv_path_RM="$RM" # Let the user override the test with a path.
2369 ;;
2370 *)
2371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2372for as_dir in $PATH
2373do
2374 IFS=$as_save_IFS
2375 test -z "$as_dir" && as_dir=.
2376 for ac_exec_ext in '' $ac_executable_extensions; do
2377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2378 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
2379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2380 break 2
2381 fi
2382done
2383 done
2384IFS=$as_save_IFS
2385
2386 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
2387 ;;
2388esac
2389fi
2390RM=$ac_cv_path_RM
2391if test -n "$RM"; then
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
2393$as_echo "$RM" >&6; }
2394else
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2396$as_echo "no" >&6; }
2397fi
2398
2399
2400if test -n "$ac_tool_prefix"; then
2401 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2402set dummy ${ac_tool_prefix}ar; ac_word=$2
2403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2404$as_echo_n "checking for $ac_word... " >&6; }
2405if test "${ac_cv_prog_AR+set}" = set; then :
2406 $as_echo_n "(cached) " >&6
2407else
2408 if test -n "$AR"; then
2409 ac_cv_prog_AR="$AR" # Let the user override the test.
2410else
2411as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2412for as_dir in $PATH
2413do
2414 IFS=$as_save_IFS
2415 test -z "$as_dir" && as_dir=.
2416 for ac_exec_ext in '' $ac_executable_extensions; do
2417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2418 ac_cv_prog_AR="${ac_tool_prefix}ar"
2419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2420 break 2
2421 fi
2422done
2423 done
2424IFS=$as_save_IFS
2425
2426fi
2427fi
2428AR=$ac_cv_prog_AR
2429if test -n "$AR"; then
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2431$as_echo "$AR" >&6; }
2432else
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2434$as_echo "no" >&6; }
2435fi
2436
2437
2438fi
2439if test -z "$ac_cv_prog_AR"; then
2440 ac_ct_AR=$AR
2441 # Extract the first word of "ar", so it can be a program name with args.
2442set dummy ar; ac_word=$2
2443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2444$as_echo_n "checking for $ac_word... " >&6; }
2445if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
2446 $as_echo_n "(cached) " >&6
2447else
2448 if test -n "$ac_ct_AR"; then
2449 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2450else
2451as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2452for as_dir in $PATH
2453do
2454 IFS=$as_save_IFS
2455 test -z "$as_dir" && as_dir=.
2456 for ac_exec_ext in '' $ac_executable_extensions; do
2457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2458 ac_cv_prog_ac_ct_AR="ar"
2459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2460 break 2
2461 fi
2462done
2463 done
2464IFS=$as_save_IFS
2465
2466fi
2467fi
2468ac_ct_AR=$ac_cv_prog_ac_ct_AR
2469if test -n "$ac_ct_AR"; then
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2471$as_echo "$ac_ct_AR" >&6; }
2472else
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2474$as_echo "no" >&6; }
2475fi
2476
2477 if test "x$ac_ct_AR" = x; then
2478 AR="ar"
2479 else
2480 case $cross_compiling:$ac_tool_warned in
2481yes:)
2482{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2483$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2484ac_tool_warned=yes ;;
2485esac
2486 AR=$ac_ct_AR
2487 fi
2488else
2489 AR="$ac_cv_prog_AR"
2490fi
2491
2492if test -n "$ac_tool_prefix"; then
2493 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2494set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2496$as_echo_n "checking for $ac_word... " >&6; }
2497if test "${ac_cv_prog_RANLIB+set}" = set; then :
2498 $as_echo_n "(cached) " >&6
2499else
2500 if test -n "$RANLIB"; then
2501 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2502else
2503as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2504for as_dir in $PATH
2505do
2506 IFS=$as_save_IFS
2507 test -z "$as_dir" && as_dir=.
2508 for ac_exec_ext in '' $ac_executable_extensions; do
2509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2510 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2512 break 2
2513 fi
2514done
2515 done
2516IFS=$as_save_IFS
2517
2518fi
2519fi
2520RANLIB=$ac_cv_prog_RANLIB
2521if test -n "$RANLIB"; then
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2523$as_echo "$RANLIB" >&6; }
2524else
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2526$as_echo "no" >&6; }
2527fi
2528
2529
2530fi
2531if test -z "$ac_cv_prog_RANLIB"; then
2532 ac_ct_RANLIB=$RANLIB
2533 # Extract the first word of "ranlib", so it can be a program name with args.
2534set dummy ranlib; ac_word=$2
2535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2536$as_echo_n "checking for $ac_word... " >&6; }
2537if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
2538 $as_echo_n "(cached) " >&6
2539else
2540 if test -n "$ac_ct_RANLIB"; then
2541 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2542else
2543as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2544for as_dir in $PATH
2545do
2546 IFS=$as_save_IFS
2547 test -z "$as_dir" && as_dir=.
2548 for ac_exec_ext in '' $ac_executable_extensions; do
2549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2550 ac_cv_prog_ac_ct_RANLIB="ranlib"
2551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2552 break 2
2553 fi
2554done
2555 done
2556IFS=$as_save_IFS
2557
2558fi
2559fi
2560ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2561if test -n "$ac_ct_RANLIB"; then
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2563$as_echo "$ac_ct_RANLIB" >&6; }
2564else
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2566$as_echo "no" >&6; }
2567fi
2568
2569 if test "x$ac_ct_RANLIB" = x; then
2570 RANLIB=":"
2571 else
2572 case $cross_compiling:$ac_tool_warned in
2573yes:)
2574{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2575$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2576ac_tool_warned=yes ;;
2577esac
2578 RANLIB=$ac_ct_RANLIB
2579 fi
2580else
2581 RANLIB="$ac_cv_prog_RANLIB"
2582fi
2583
2584if test -n "$ac_tool_prefix"; then
2585 # Extract the first word of "${ac_tool_prefix}patch", so it can be a program name with args.
2586set dummy ${ac_tool_prefix}patch; ac_word=$2
2587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2588$as_echo_n "checking for $ac_word... " >&6; }
2589if test "${ac_cv_prog_PATCH+set}" = set; then :
2590 $as_echo_n "(cached) " >&6
2591else
2592 if test -n "$PATCH"; then
2593 ac_cv_prog_PATCH="$PATCH" # Let the user override the test.
2594else
2595as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2596for as_dir in $PATH
2597do
2598 IFS=$as_save_IFS
2599 test -z "$as_dir" && as_dir=.
2600 for ac_exec_ext in '' $ac_executable_extensions; do
2601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2602 ac_cv_prog_PATCH="${ac_tool_prefix}patch"
2603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2604 break 2
2605 fi
2606done
2607 done
2608IFS=$as_save_IFS
2609
2610fi
2611fi
2612PATCH=$ac_cv_prog_PATCH
2613if test -n "$PATCH"; then
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
2615$as_echo "$PATCH" >&6; }
2616else
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2618$as_echo "no" >&6; }
2619fi
2620
2621
2622fi
2623if test -z "$ac_cv_prog_PATCH"; then
2624 ac_ct_PATCH=$PATCH
2625 # Extract the first word of "patch", so it can be a program name with args.
2626set dummy patch; ac_word=$2
2627{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2628$as_echo_n "checking for $ac_word... " >&6; }
2629if test "${ac_cv_prog_ac_ct_PATCH+set}" = set; then :
2630 $as_echo_n "(cached) " >&6
2631else
2632 if test -n "$ac_ct_PATCH"; then
2633 ac_cv_prog_ac_ct_PATCH="$ac_ct_PATCH" # Let the user override the test.
2634else
2635as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2636for as_dir in $PATH
2637do
2638 IFS=$as_save_IFS
2639 test -z "$as_dir" && as_dir=.
2640 for ac_exec_ext in '' $ac_executable_extensions; do
2641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2642 ac_cv_prog_ac_ct_PATCH="patch"
2643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2644 break 2
2645 fi
2646done
2647 done
2648IFS=$as_save_IFS
2649
2650fi
2651fi
2652ac_ct_PATCH=$ac_cv_prog_ac_ct_PATCH
2653if test -n "$ac_ct_PATCH"; then
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PATCH" >&5
2655$as_echo "$ac_ct_PATCH" >&6; }
2656else
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2658$as_echo "no" >&6; }
2659fi
2660
2661 if test "x$ac_ct_PATCH" = x; then
2662 PATCH=":"
2663 else
2664 case $cross_compiling:$ac_tool_warned in
2665yes:)
2666{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2667$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2668ac_tool_warned=yes ;;
2669esac
2670 PATCH=$ac_ct_PATCH
2671 fi
2672else
2673 PATCH="$ac_cv_prog_PATCH"
2674fi
2675
2676ac_ext=c
2677ac_cpp='$CPP $CPPFLAGS'
2678ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2679ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2680ac_compiler_gnu=$ac_cv_c_compiler_gnu
2681if test -n "$ac_tool_prefix"; then
2682 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2683set dummy ${ac_tool_prefix}gcc; ac_word=$2
2684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2685$as_echo_n "checking for $ac_word... " >&6; }
2686if test "${ac_cv_prog_CC+set}" = set; then :
2687 $as_echo_n "(cached) " >&6
2688else
2689 if test -n "$CC"; then
2690 ac_cv_prog_CC="$CC" # Let the user override the test.
2691else
2692as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2693for as_dir in $PATH
2694do
2695 IFS=$as_save_IFS
2696 test -z "$as_dir" && as_dir=.
2697 for ac_exec_ext in '' $ac_executable_extensions; do
2698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2699 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2701 break 2
2702 fi
2703done
2704 done
2705IFS=$as_save_IFS
2706
2707fi
2708fi
2709CC=$ac_cv_prog_CC
2710if test -n "$CC"; then
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2712$as_echo "$CC" >&6; }
2713else
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2715$as_echo "no" >&6; }
2716fi
2717
2718
2719fi
2720if test -z "$ac_cv_prog_CC"; then
2721 ac_ct_CC=$CC
2722 # Extract the first word of "gcc", so it can be a program name with args.
2723set dummy gcc; ac_word=$2
2724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2725$as_echo_n "checking for $ac_word... " >&6; }
2726if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2727 $as_echo_n "(cached) " >&6
2728else
2729 if test -n "$ac_ct_CC"; then
2730 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2731else
2732as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2733for as_dir in $PATH
2734do
2735 IFS=$as_save_IFS
2736 test -z "$as_dir" && as_dir=.
2737 for ac_exec_ext in '' $ac_executable_extensions; do
2738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2739 ac_cv_prog_ac_ct_CC="gcc"
2740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2741 break 2
2742 fi
2743done
2744 done
2745IFS=$as_save_IFS
2746
2747fi
2748fi
2749ac_ct_CC=$ac_cv_prog_ac_ct_CC
2750if test -n "$ac_ct_CC"; then
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2752$as_echo "$ac_ct_CC" >&6; }
2753else
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2755$as_echo "no" >&6; }
2756fi
2757
2758 if test "x$ac_ct_CC" = x; then
2759 CC=""
2760 else
2761 case $cross_compiling:$ac_tool_warned in
2762yes:)
2763{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2764$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2765ac_tool_warned=yes ;;
2766esac
2767 CC=$ac_ct_CC
2768 fi
2769else
2770 CC="$ac_cv_prog_CC"
2771fi
2772
2773if test -z "$CC"; then
2774 if test -n "$ac_tool_prefix"; then
2775 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2776set dummy ${ac_tool_prefix}cc; ac_word=$2
2777{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2778$as_echo_n "checking for $ac_word... " >&6; }
2779if test "${ac_cv_prog_CC+set}" = set; then :
2780 $as_echo_n "(cached) " >&6
2781else
2782 if test -n "$CC"; then
2783 ac_cv_prog_CC="$CC" # Let the user override the test.
2784else
2785as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2786for as_dir in $PATH
2787do
2788 IFS=$as_save_IFS
2789 test -z "$as_dir" && as_dir=.
2790 for ac_exec_ext in '' $ac_executable_extensions; do
2791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2792 ac_cv_prog_CC="${ac_tool_prefix}cc"
2793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2794 break 2
2795 fi
2796done
2797 done
2798IFS=$as_save_IFS
2799
2800fi
2801fi
2802CC=$ac_cv_prog_CC
2803if test -n "$CC"; then
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2805$as_echo "$CC" >&6; }
2806else
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2808$as_echo "no" >&6; }
2809fi
2810
2811
2812 fi
2813fi
2814if test -z "$CC"; then
2815 # Extract the first word of "cc", so it can be a program name with args.
2816set dummy cc; ac_word=$2
2817{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2818$as_echo_n "checking for $ac_word... " >&6; }
2819if test "${ac_cv_prog_CC+set}" = set; then :
2820 $as_echo_n "(cached) " >&6
2821else
2822 if test -n "$CC"; then
2823 ac_cv_prog_CC="$CC" # Let the user override the test.
2824else
2825 ac_prog_rejected=no
2826as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2827for as_dir in $PATH
2828do
2829 IFS=$as_save_IFS
2830 test -z "$as_dir" && as_dir=.
2831 for ac_exec_ext in '' $ac_executable_extensions; do
2832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2833 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2834 ac_prog_rejected=yes
2835 continue
2836 fi
2837 ac_cv_prog_CC="cc"
2838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2839 break 2
2840 fi
2841done
2842 done
2843IFS=$as_save_IFS
2844
2845if test $ac_prog_rejected = yes; then
2846 # We found a bogon in the path, so make sure we never use it.
2847 set dummy $ac_cv_prog_CC
2848 shift
2849 if test $# != 0; then
2850 # We chose a different compiler from the bogus one.
2851 # However, it has the same basename, so the bogon will be chosen
2852 # first if we set CC to just the basename; use the full file name.
2853 shift
2854 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2855 fi
2856fi
2857fi
2858fi
2859CC=$ac_cv_prog_CC
2860if test -n "$CC"; then
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2862$as_echo "$CC" >&6; }
2863else
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2865$as_echo "no" >&6; }
2866fi
2867
2868
2869fi
2870if test -z "$CC"; then
2871 if test -n "$ac_tool_prefix"; then
2872 for ac_prog in cl.exe
2873 do
2874 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2875set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2877$as_echo_n "checking for $ac_word... " >&6; }
2878if test "${ac_cv_prog_CC+set}" = set; then :
2879 $as_echo_n "(cached) " >&6
2880else
2881 if test -n "$CC"; then
2882 ac_cv_prog_CC="$CC" # Let the user override the test.
2883else
2884as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2885for as_dir in $PATH
2886do
2887 IFS=$as_save_IFS
2888 test -z "$as_dir" && as_dir=.
2889 for ac_exec_ext in '' $ac_executable_extensions; do
2890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2891 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2893 break 2
2894 fi
2895done
2896 done
2897IFS=$as_save_IFS
2898
2899fi
2900fi
2901CC=$ac_cv_prog_CC
2902if test -n "$CC"; then
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2904$as_echo "$CC" >&6; }
2905else
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2907$as_echo "no" >&6; }
2908fi
2909
2910
2911 test -n "$CC" && break
2912 done
2913fi
2914if test -z "$CC"; then
2915 ac_ct_CC=$CC
2916 for ac_prog in cl.exe
2917do
2918 # Extract the first word of "$ac_prog", so it can be a program name with args.
2919set dummy $ac_prog; ac_word=$2
2920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2921$as_echo_n "checking for $ac_word... " >&6; }
2922if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2923 $as_echo_n "(cached) " >&6
2924else
2925 if test -n "$ac_ct_CC"; then
2926 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2927else
2928as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2929for as_dir in $PATH
2930do
2931 IFS=$as_save_IFS
2932 test -z "$as_dir" && as_dir=.
2933 for ac_exec_ext in '' $ac_executable_extensions; do
2934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2935 ac_cv_prog_ac_ct_CC="$ac_prog"
2936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2937 break 2
2938 fi
2939done
2940 done
2941IFS=$as_save_IFS
2942
2943fi
2944fi
2945ac_ct_CC=$ac_cv_prog_ac_ct_CC
2946if test -n "$ac_ct_CC"; then
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2948$as_echo "$ac_ct_CC" >&6; }
2949else
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2951$as_echo "no" >&6; }
2952fi
2953
2954
2955 test -n "$ac_ct_CC" && break
2956done
2957
2958 if test "x$ac_ct_CC" = x; then
2959 CC=""
2960 else
2961 case $cross_compiling:$ac_tool_warned in
2962yes:)
2963{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2964$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2965ac_tool_warned=yes ;;
2966esac
2967 CC=$ac_ct_CC
2968 fi
2969fi
2970
2971fi
2972
2973
2974test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2975$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2976as_fn_error $? "no acceptable C compiler found in \$PATH
2977See \`config.log' for more details" "$LINENO" 5 ; }
2978
2979# Provide some information about the compiler.
2980$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2981set X $ac_compile
2982ac_compiler=$2
2983for ac_option in --version -v -V -qversion; do
2984 { { ac_try="$ac_compiler $ac_option >&5"
2985case "(($ac_try" in
2986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2987 *) ac_try_echo=$ac_try;;
2988esac
2989eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2990$as_echo "$ac_try_echo"; } >&5
2991 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2992 ac_status=$?
2993 if test -s conftest.err; then
2994 sed '10a\
2995... rest of stderr output deleted ...
2996 10q' conftest.err >conftest.er1
2997 cat conftest.er1 >&5
2998 fi
2999 rm -f conftest.er1 conftest.err
3000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3001 test $ac_status = 0; }
3002done
3003
3004cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3005/* end confdefs.h. */
3006
3007int
3008main ()
3009{
3010
3011 ;
3012 return 0;
3013}
3014_ACEOF
3015ac_clean_files_save=$ac_clean_files
3016ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3017# Try to create an executable without -o first, disregard a.out.
3018# It will help us diagnose broken compilers, and finding out an intuition
3019# of exeext.
3020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3021$as_echo_n "checking whether the C compiler works... " >&6; }
3022ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3023
3024# The possible output files:
3025ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3026
3027ac_rmfiles=
3028for ac_file in $ac_files
3029do
3030 case $ac_file in
3031 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3032 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3033 esac
3034done
3035rm -f $ac_rmfiles
3036
3037if { { ac_try="$ac_link_default"
3038case "(($ac_try" in
3039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3040 *) ac_try_echo=$ac_try;;
3041esac
3042eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3043$as_echo "$ac_try_echo"; } >&5
3044 (eval "$ac_link_default") 2>&5
3045 ac_status=$?
3046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3047 test $ac_status = 0; }; then :
3048 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3049# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3050# in a Makefile. We should not override ac_cv_exeext if it was cached,
3051# so that the user can short-circuit this test for compilers unknown to
3052# Autoconf.
3053for ac_file in $ac_files ''
3054do
3055 test -f "$ac_file" || continue
3056 case $ac_file in
3057 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3058 ;;
3059 [ab].out )
3060 # We found the default executable, but exeext='' is most
3061 # certainly right.
3062 break;;
3063 *.* )
3064 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3065 then :; else
3066 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3067 fi
3068 # We set ac_cv_exeext here because the later test for it is not
3069 # safe: cross compilers may not add the suffix if given an `-o'
3070 # argument, so we may need to know it at that point already.
3071 # Even if this section looks crufty: it has the advantage of
3072 # actually working.
3073 break;;
3074 * )
3075 break;;
3076 esac
3077done
3078test "$ac_cv_exeext" = no && ac_cv_exeext=
3079
3080else
3081 ac_file=''
3082fi
3083if test -z "$ac_file"; then :
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3085$as_echo "no" >&6; }
3086$as_echo "$as_me: failed program was:" >&5
3087sed 's/^/| /' conftest.$ac_ext >&5
3088
3089{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3090$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3091as_fn_error 77 "C compiler cannot create executables
3092See \`config.log' for more details" "$LINENO" 5 ; }
3093else
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3095$as_echo "yes" >&6; }
3096fi
3097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3098$as_echo_n "checking for C compiler default output file name... " >&6; }
3099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3100$as_echo "$ac_file" >&6; }
3101ac_exeext=$ac_cv_exeext
3102
3103rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3104ac_clean_files=$ac_clean_files_save
3105{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3106$as_echo_n "checking for suffix of executables... " >&6; }
3107if { { ac_try="$ac_link"
3108case "(($ac_try" in
3109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3110 *) ac_try_echo=$ac_try;;
3111esac
3112eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3113$as_echo "$ac_try_echo"; } >&5
3114 (eval "$ac_link") 2>&5
3115 ac_status=$?
3116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3117 test $ac_status = 0; }; then :
3118 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3119# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3120# work properly (i.e., refer to `conftest.exe'), while it won't with
3121# `rm'.
3122for ac_file in conftest.exe conftest conftest.*; do
3123 test -f "$ac_file" || continue
3124 case $ac_file in
3125 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3126 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3127 break;;
3128 * ) break;;
3129 esac
3130done
3131else
3132 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3133$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3134as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3135See \`config.log' for more details" "$LINENO" 5 ; }
3136fi
3137rm -f conftest conftest$ac_cv_exeext
3138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3139$as_echo "$ac_cv_exeext" >&6; }
3140
3141rm -f conftest.$ac_ext
3142EXEEXT=$ac_cv_exeext
3143ac_exeext=$EXEEXT
3144cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3145/* end confdefs.h. */
3146#include <stdio.h>
3147int
3148main ()
3149{
3150FILE *f = fopen ("conftest.out", "w");
3151 return ferror (f) || fclose (f) != 0;
3152
3153 ;
3154 return 0;
3155}
3156_ACEOF
3157ac_clean_files="$ac_clean_files conftest.out"
3158# Check that the compiler produces executables we can run. If not, either
3159# the compiler is broken, or we cross compile.
3160{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3161$as_echo_n "checking whether we are cross compiling... " >&6; }
3162if test "$cross_compiling" != yes; then
3163 { { ac_try="$ac_link"
3164case "(($ac_try" in
3165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3166 *) ac_try_echo=$ac_try;;
3167esac
3168eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3169$as_echo "$ac_try_echo"; } >&5
3170 (eval "$ac_link") 2>&5
3171 ac_status=$?
3172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3173 test $ac_status = 0; }
3174 if { ac_try='./conftest$ac_cv_exeext'
3175 { { case "(($ac_try" in
3176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3177 *) ac_try_echo=$ac_try;;
3178esac
3179eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3180$as_echo "$ac_try_echo"; } >&5
3181 (eval "$ac_try") 2>&5
3182 ac_status=$?
3183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3184 test $ac_status = 0; }; }; then
3185 cross_compiling=no
3186 else
3187 if test "$cross_compiling" = maybe; then
3188 cross_compiling=yes
3189 else
3190 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3191$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3192as_fn_error $? "cannot run C compiled programs.
3193If you meant to cross compile, use \`--host'.
3194See \`config.log' for more details" "$LINENO" 5 ; }
3195 fi
3196 fi
3197fi
3198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3199$as_echo "$cross_compiling" >&6; }
3200
3201rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3202ac_clean_files=$ac_clean_files_save
3203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3204$as_echo_n "checking for suffix of object files... " >&6; }
3205if test "${ac_cv_objext+set}" = set; then :
3206 $as_echo_n "(cached) " >&6
3207else
3208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3209/* end confdefs.h. */
3210
3211int
3212main ()
3213{
3214
3215 ;
3216 return 0;
3217}
3218_ACEOF
3219rm -f conftest.o conftest.obj
3220if { { ac_try="$ac_compile"
3221case "(($ac_try" in
3222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3223 *) ac_try_echo=$ac_try;;
3224esac
3225eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3226$as_echo "$ac_try_echo"; } >&5
3227 (eval "$ac_compile") 2>&5
3228 ac_status=$?
3229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3230 test $ac_status = 0; }; then :
3231 for ac_file in conftest.o conftest.obj conftest.*; do
3232 test -f "$ac_file" || continue;
3233 case $ac_file in
3234 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3235 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3236 break;;
3237 esac
3238done
3239else
3240 $as_echo "$as_me: failed program was:" >&5
3241sed 's/^/| /' conftest.$ac_ext >&5
3242
3243{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3244$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3245as_fn_error $? "cannot compute suffix of object files: cannot compile
3246See \`config.log' for more details" "$LINENO" 5 ; }
3247fi
3248rm -f conftest.$ac_cv_objext conftest.$ac_ext
3249fi
3250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3251$as_echo "$ac_cv_objext" >&6; }
3252OBJEXT=$ac_cv_objext
3253ac_objext=$OBJEXT
3254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3255$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3256if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3257 $as_echo_n "(cached) " >&6
3258else
3259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3260/* end confdefs.h. */
3261
3262int
3263main ()
3264{
3265#ifndef __GNUC__
3266 choke me
3267#endif
3268
3269 ;
3270 return 0;
3271}
3272_ACEOF
3273if ac_fn_c_try_compile "$LINENO"; then :
3274 ac_compiler_gnu=yes
3275else
3276 ac_compiler_gnu=no
3277fi
3278rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3279ac_cv_c_compiler_gnu=$ac_compiler_gnu
3280
3281fi
3282{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3283$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3284if test $ac_compiler_gnu = yes; then
3285 GCC=yes
3286else
3287 GCC=
3288fi
3289ac_test_CFLAGS=${CFLAGS+set}
3290ac_save_CFLAGS=$CFLAGS
3291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3292$as_echo_n "checking whether $CC accepts -g... " >&6; }
3293if test "${ac_cv_prog_cc_g+set}" = set; then :
3294 $as_echo_n "(cached) " >&6
3295else
3296 ac_save_c_werror_flag=$ac_c_werror_flag
3297 ac_c_werror_flag=yes
3298 ac_cv_prog_cc_g=no
3299 CFLAGS="-g"
3300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3301/* end confdefs.h. */
3302
3303int
3304main ()
3305{
3306
3307 ;
3308 return 0;
3309}
3310_ACEOF
3311if ac_fn_c_try_compile "$LINENO"; then :
3312 ac_cv_prog_cc_g=yes
3313else
3314 CFLAGS=""
3315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3316/* end confdefs.h. */
3317
3318int
3319main ()
3320{
3321
3322 ;
3323 return 0;
3324}
3325_ACEOF
3326if ac_fn_c_try_compile "$LINENO"; then :
3327
3328else
3329 ac_c_werror_flag=$ac_save_c_werror_flag
3330 CFLAGS="-g"
3331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3332/* end confdefs.h. */
3333
3334int
3335main ()
3336{
3337
3338 ;
3339 return 0;
3340}
3341_ACEOF
3342if ac_fn_c_try_compile "$LINENO"; then :
3343 ac_cv_prog_cc_g=yes
3344fi
3345rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3346fi
3347rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3348fi
3349rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3350 ac_c_werror_flag=$ac_save_c_werror_flag
3351fi
3352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3353$as_echo "$ac_cv_prog_cc_g" >&6; }
3354if test "$ac_test_CFLAGS" = set; then
3355 CFLAGS=$ac_save_CFLAGS
3356elif test $ac_cv_prog_cc_g = yes; then
3357 if test "$GCC" = yes; then
3358 CFLAGS="-g -O2"
3359 else
3360 CFLAGS="-g"
3361 fi
3362else
3363 if test "$GCC" = yes; then
3364 CFLAGS="-O2"
3365 else
3366 CFLAGS=
3367 fi
3368fi
3369{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3370$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3371if test "${ac_cv_prog_cc_c89+set}" = set; then :
3372 $as_echo_n "(cached) " >&6
3373else
3374 ac_cv_prog_cc_c89=no
3375ac_save_CC=$CC
3376cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3377/* end confdefs.h. */
3378#include <stdarg.h>
3379#include <stdio.h>
3380#include <sys/types.h>
3381#include <sys/stat.h>
3382/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3383struct buf { int x; };
3384FILE * (*rcsopen) (struct buf *, struct stat *, int);
3385static char *e (p, i)
3386 char **p;
3387 int i;
3388{
3389 return p[i];
3390}
3391static char *f (char * (*g) (char **, int), char **p, ...)
3392{
3393 char *s;
3394 va_list v;
3395 va_start (v,p);
3396 s = g (p, va_arg (v,int));
3397 va_end (v);
3398 return s;
3399}
3400
3401/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3402 function prototypes and stuff, but not '\xHH' hex character constants.
3403 These don't provoke an error unfortunately, instead are silently treated
3404 as 'x'. The following induces an error, until -std is added to get
3405 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3406 array size at least. It's necessary to write '\x00'==0 to get something
3407 that's true only with -std. */
3408int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3409
3410/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3411 inside strings and character constants. */
3412#define FOO(x) 'x'
3413int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3414
3415int test (int i, double x);
3416struct s1 {int (*f) (int a);};
3417struct s2 {int (*f) (double a);};
3418int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3419int argc;
3420char **argv;
3421int
3422main ()
3423{
3424return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3425 ;
3426 return 0;
3427}
3428_ACEOF
3429for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3430 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3431do
3432 CC="$ac_save_CC $ac_arg"
3433 if ac_fn_c_try_compile "$LINENO"; then :
3434 ac_cv_prog_cc_c89=$ac_arg
3435fi
3436rm -f core conftest.err conftest.$ac_objext
3437 test "x$ac_cv_prog_cc_c89" != "xno" && break
3438done
3439rm -f conftest.$ac_ext
3440CC=$ac_save_CC
3441
3442fi
3443# AC_CACHE_VAL
3444case "x$ac_cv_prog_cc_c89" in
3445 x)
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3447$as_echo "none needed" >&6; } ;;
3448 xno)
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3450$as_echo "unsupported" >&6; } ;;
3451 *)
3452 CC="$CC $ac_cv_prog_cc_c89"
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3454$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3455esac
3456if test "x$ac_cv_prog_cc_c89" != xno; then :
3457
3458fi
3459
3460ac_ext=c
3461ac_cpp='$CPP $CPPFLAGS'
3462ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3463ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3464ac_compiler_gnu=$ac_cv_c_compiler_gnu
3465
3466ac_aux_dir=
3467for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3468 if test -f "$ac_dir/install-sh"; then
3469 ac_aux_dir=$ac_dir
3470 ac_install_sh="$ac_aux_dir/install-sh -c"
3471 break
3472 elif test -f "$ac_dir/install.sh"; then
3473 ac_aux_dir=$ac_dir
3474 ac_install_sh="$ac_aux_dir/install.sh -c"
3475 break
3476 elif test -f "$ac_dir/shtool"; then
3477 ac_aux_dir=$ac_dir
3478 ac_install_sh="$ac_aux_dir/shtool install -c"
3479 break
3480 fi
3481done
3482if test -z "$ac_aux_dir"; then
3483 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3484fi
3485
3486# These three variables are undocumented and unsupported,
3487# and are intended to be withdrawn in a future Autoconf release.
3488# They can cause serious problems if a builder's source tree is in a directory
3489# whose full name contains unusual characters.
3490ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3491ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3492ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3493
3494
3495# Find a good install program. We prefer a C program (faster),
3496# so one script is as good as another. But avoid the broken or
3497# incompatible versions:
3498# SysV /etc/install, /usr/sbin/install
3499# SunOS /usr/etc/install
3500# IRIX /sbin/install
3501# AIX /bin/install
3502# AmigaOS /C/install, which installs bootblocks on floppy discs
3503# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3504# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3505# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3506# OS/2's system install, which has a completely different semantic
3507# ./install, which can be erroneously created by make from ./install.sh.
3508# Reject install programs that cannot install multiple files.
3509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3510$as_echo_n "checking for a BSD-compatible install... " >&6; }
3511if test -z "$INSTALL"; then
3512if test "${ac_cv_path_install+set}" = set; then :
3513 $as_echo_n "(cached) " >&6
3514else
3515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3516for as_dir in $PATH
3517do
3518 IFS=$as_save_IFS
3519 test -z "$as_dir" && as_dir=.
3520 # Account for people who put trailing slashes in PATH elements.
3521case $as_dir/ in #((
3522 ./ | .// | /[cC]/* | \
3523 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3524 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3525 /usr/ucb/* ) ;;
3526 *)
3527 # OSF1 and SCO ODT 3.0 have their own names for install.
3528 # Don't use installbsd from OSF since it installs stuff as root
3529 # by default.
3530 for ac_prog in ginstall scoinst install; do
3531 for ac_exec_ext in '' $ac_executable_extensions; do
3532 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3533 if test $ac_prog = install &&
3534 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3535 # AIX install. It has an incompatible calling convention.
3536 :
3537 elif test $ac_prog = install &&
3538 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3539 # program-specific install script used by HP pwplus--don't use.
3540 :
3541 else
3542 rm -rf conftest.one conftest.two conftest.dir
3543 echo one > conftest.one
3544 echo two > conftest.two
3545 mkdir conftest.dir
3546 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3547 test -s conftest.one && test -s conftest.two &&
3548 test -s conftest.dir/conftest.one &&
3549 test -s conftest.dir/conftest.two
3550 then
3551 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3552 break 3
3553 fi
3554 fi
3555 fi
3556 done
3557 done
3558 ;;
3559esac
3560
3561 done
3562IFS=$as_save_IFS
3563
3564rm -rf conftest.one conftest.two conftest.dir
3565
3566fi
3567 if test "${ac_cv_path_install+set}" = set; then
3568 INSTALL=$ac_cv_path_install
3569 else
3570 # As a last resort, use the slow shell script. Don't cache a
3571 # value for INSTALL within a source directory, because that will
3572 # break other packages using the cache if that directory is
3573 # removed, or if the value is a relative name.
3574 INSTALL=$ac_install_sh
3575 fi
3576fi
3577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3578$as_echo "$INSTALL" >&6; }
3579
3580# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3581# It thinks the first close brace ends the variable substitution.
3582test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3583
3584test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3585
3586test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3587
3588
3589
3590ac_ext=c
3591ac_cpp='$CPP $CPPFLAGS'
3592ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3593ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3594ac_compiler_gnu=$ac_cv_c_compiler_gnu
3595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3596$as_echo_n "checking how to run the C preprocessor... " >&6; }
3597# On Suns, sometimes $CPP names a directory.
3598if test -n "$CPP" && test -d "$CPP"; then
3599 CPP=
3600fi
3601if test -z "$CPP"; then
3602 if test "${ac_cv_prog_CPP+set}" = set; then :
3603 $as_echo_n "(cached) " >&6
3604else
3605 # Double quotes because CPP needs to be expanded
3606 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3607 do
3608 ac_preproc_ok=false
3609for ac_c_preproc_warn_flag in '' yes
3610do
3611 # Use a header file that comes with gcc, so configuring glibc
3612 # with a fresh cross-compiler works.
3613 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3614 # <limits.h> exists even on freestanding compilers.
3615 # On the NeXT, cc -E runs the code through the compiler's parser,
3616 # not just through cpp. "Syntax error" is here to catch this case.
3617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3618/* end confdefs.h. */
3619#ifdef __STDC__
3620# include <limits.h>
3621#else
3622# include <assert.h>
3623#endif
3624 Syntax error
3625_ACEOF
3626if ac_fn_c_try_cpp "$LINENO"; then :
3627
3628else
3629 # Broken: fails on valid input.
3630continue
3631fi
3632rm -f conftest.err conftest.i conftest.$ac_ext
3633
3634 # OK, works on sane cases. Now check whether nonexistent headers
3635 # can be detected and how.
3636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3637/* end confdefs.h. */
3638#include <ac_nonexistent.h>
3639_ACEOF
3640if ac_fn_c_try_cpp "$LINENO"; then :
3641 # Broken: success on invalid input.
3642continue
3643else
3644 # Passes both tests.
3645ac_preproc_ok=:
3646break
3647fi
3648rm -f conftest.err conftest.i conftest.$ac_ext
3649
3650done
3651# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3652rm -f conftest.i conftest.err conftest.$ac_ext
3653if $ac_preproc_ok; then :
3654 break
3655fi
3656
3657 done
3658 ac_cv_prog_CPP=$CPP
3659
3660fi
3661 CPP=$ac_cv_prog_CPP
3662else
3663 ac_cv_prog_CPP=$CPP
3664fi
3665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3666$as_echo "$CPP" >&6; }
3667ac_preproc_ok=false
3668for ac_c_preproc_warn_flag in '' yes
3669do
3670 # Use a header file that comes with gcc, so configuring glibc
3671 # with a fresh cross-compiler works.
3672 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3673 # <limits.h> exists even on freestanding compilers.
3674 # On the NeXT, cc -E runs the code through the compiler's parser,
3675 # not just through cpp. "Syntax error" is here to catch this case.
3676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3677/* end confdefs.h. */
3678#ifdef __STDC__
3679# include <limits.h>
3680#else
3681# include <assert.h>
3682#endif
3683 Syntax error
3684_ACEOF
3685if ac_fn_c_try_cpp "$LINENO"; then :
3686
3687else
3688 # Broken: fails on valid input.
3689continue
3690fi
3691rm -f conftest.err conftest.i conftest.$ac_ext
3692
3693 # OK, works on sane cases. Now check whether nonexistent headers
3694 # can be detected and how.
3695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3696/* end confdefs.h. */
3697#include <ac_nonexistent.h>
3698_ACEOF
3699if ac_fn_c_try_cpp "$LINENO"; then :
3700 # Broken: success on invalid input.
3701continue
3702else
3703 # Passes both tests.
3704ac_preproc_ok=:
3705break
3706fi
3707rm -f conftest.err conftest.i conftest.$ac_ext
3708
3709done
3710# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3711rm -f conftest.i conftest.err conftest.$ac_ext
3712if $ac_preproc_ok; then :
3713
3714else
3715 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3716$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3717as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3718See \`config.log' for more details" "$LINENO" 5 ; }
3719fi
3720
3721ac_ext=c
3722ac_cpp='$CPP $CPPFLAGS'
3723ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3724ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3725ac_compiler_gnu=$ac_cv_c_compiler_gnu
3726
3727
3728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3729$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3730if test "${ac_cv_path_GREP+set}" = set; then :
3731 $as_echo_n "(cached) " >&6
3732else
3733 if test -z "$GREP"; then
3734 ac_path_GREP_found=false
3735 # Loop through the user's path and test for each of PROGNAME-LIST
3736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3737for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3738do
3739 IFS=$as_save_IFS
3740 test -z "$as_dir" && as_dir=.
3741 for ac_prog in grep ggrep; do
3742 for ac_exec_ext in '' $ac_executable_extensions; do
3743 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3744 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3745# Check for GNU ac_path_GREP and select it if it is found.
3746 # Check for GNU $ac_path_GREP
3747case `"$ac_path_GREP" --version 2>&1` in
3748*GNU*)
3749 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3750*)
3751 ac_count=0
3752 $as_echo_n 0123456789 >"conftest.in"
3753 while :
3754 do
3755 cat "conftest.in" "conftest.in" >"conftest.tmp"
3756 mv "conftest.tmp" "conftest.in"
3757 cp "conftest.in" "conftest.nl"
3758 $as_echo 'GREP' >> "conftest.nl"
3759 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3760 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3761 as_fn_arith $ac_count + 1 && ac_count=$as_val
3762 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3763 # Best one so far, save it but keep looking for a better one
3764 ac_cv_path_GREP="$ac_path_GREP"
3765 ac_path_GREP_max=$ac_count
3766 fi
3767 # 10*(2^10) chars as input seems more than enough
3768 test $ac_count -gt 10 && break
3769 done
3770 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3771esac
3772
3773 $ac_path_GREP_found && break 3
3774 done
3775 done
3776 done
3777IFS=$as_save_IFS
3778 if test -z "$ac_cv_path_GREP"; then
3779 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3780 fi
3781else
3782 ac_cv_path_GREP=$GREP
3783fi
3784
3785fi
3786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3787$as_echo "$ac_cv_path_GREP" >&6; }
3788 GREP="$ac_cv_path_GREP"
3789
3790
3791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3792$as_echo_n "checking for egrep... " >&6; }
3793if test "${ac_cv_path_EGREP+set}" = set; then :
3794 $as_echo_n "(cached) " >&6
3795else
3796 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3797 then ac_cv_path_EGREP="$GREP -E"
3798 else
3799 if test -z "$EGREP"; then
3800 ac_path_EGREP_found=false
3801 # Loop through the user's path and test for each of PROGNAME-LIST
3802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3803for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3804do
3805 IFS=$as_save_IFS
3806 test -z "$as_dir" && as_dir=.
3807 for ac_prog in egrep; do
3808 for ac_exec_ext in '' $ac_executable_extensions; do
3809 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3810 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3811# Check for GNU ac_path_EGREP and select it if it is found.
3812 # Check for GNU $ac_path_EGREP
3813case `"$ac_path_EGREP" --version 2>&1` in
3814*GNU*)
3815 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3816*)
3817 ac_count=0
3818 $as_echo_n 0123456789 >"conftest.in"
3819 while :
3820 do
3821 cat "conftest.in" "conftest.in" >"conftest.tmp"
3822 mv "conftest.tmp" "conftest.in"
3823 cp "conftest.in" "conftest.nl"
3824 $as_echo 'EGREP' >> "conftest.nl"
3825 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3826 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3827 as_fn_arith $ac_count + 1 && ac_count=$as_val
3828 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3829 # Best one so far, save it but keep looking for a better one
3830 ac_cv_path_EGREP="$ac_path_EGREP"
3831 ac_path_EGREP_max=$ac_count
3832 fi
3833 # 10*(2^10) chars as input seems more than enough
3834 test $ac_count -gt 10 && break
3835 done
3836 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3837esac
3838
3839 $ac_path_EGREP_found && break 3
3840 done
3841 done
3842 done
3843IFS=$as_save_IFS
3844 if test -z "$ac_cv_path_EGREP"; then
3845 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3846 fi
3847else
3848 ac_cv_path_EGREP=$EGREP
3849fi
3850
3851 fi
3852fi
3853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3854$as_echo "$ac_cv_path_EGREP" >&6; }
3855 EGREP="$ac_cv_path_EGREP"
3856
3857
3858{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3859$as_echo_n "checking for ANSI C header files... " >&6; }
3860if test "${ac_cv_header_stdc+set}" = set; then :
3861 $as_echo_n "(cached) " >&6
3862else
3863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3864/* end confdefs.h. */
3865#include <stdlib.h>
3866#include <stdarg.h>
3867#include <string.h>
3868#include <float.h>
3869
3870int
3871main ()
3872{
3873
3874 ;
3875 return 0;
3876}
3877_ACEOF
3878if ac_fn_c_try_compile "$LINENO"; then :
3879 ac_cv_header_stdc=yes
3880else
3881 ac_cv_header_stdc=no
3882fi
3883rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3884
3885if test $ac_cv_header_stdc = yes; then
3886 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3888/* end confdefs.h. */
3889#include <string.h>
3890
3891_ACEOF
3892if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3893 $EGREP "memchr" >/dev/null 2>&1; then :
3894
3895else
3896 ac_cv_header_stdc=no
3897fi
3898rm -f conftest*
3899
3900fi
3901
3902if test $ac_cv_header_stdc = yes; then
3903 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3905/* end confdefs.h. */
3906#include <stdlib.h>
3907
3908_ACEOF
3909if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3910 $EGREP "free" >/dev/null 2>&1; then :
3911
3912else
3913 ac_cv_header_stdc=no
3914fi
3915rm -f conftest*
3916
3917fi
3918
3919if test $ac_cv_header_stdc = yes; then
3920 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3921 if test "$cross_compiling" = yes; then :
3922 :
3923else
3924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3925/* end confdefs.h. */
3926#include <ctype.h>
3927#include <stdlib.h>
3928#if ((' ' & 0x0FF) == 0x020)
3929# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3930# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3931#else
3932# define ISLOWER(c) \
3933 (('a' <= (c) && (c) <= 'i') \
3934 || ('j' <= (c) && (c) <= 'r') \
3935 || ('s' <= (c) && (c) <= 'z'))
3936# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3937#endif
3938
3939#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3940int
3941main ()
3942{
3943 int i;
3944 for (i = 0; i < 256; i++)
3945 if (XOR (islower (i), ISLOWER (i))
3946 || toupper (i) != TOUPPER (i))
3947 return 2;
3948 return 0;
3949}
3950_ACEOF
3951if ac_fn_c_try_run "$LINENO"; then :
3952
3953else
3954 ac_cv_header_stdc=no
3955fi
3956rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3957 conftest.$ac_objext conftest.beam conftest.$ac_ext
3958fi
3959
3960fi
3961fi
3962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3963$as_echo "$ac_cv_header_stdc" >&6; }
3964if test $ac_cv_header_stdc = yes; then
3965
3966$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3967
3968fi
3969
3970# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3971for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3972 inttypes.h stdint.h unistd.h
3973do :
3974 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3975ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3976"
3977if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3978 cat >>confdefs.h <<_ACEOF
3979#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3980_ACEOF
3981
3982fi
3983
3984done
3985
3986
3987for ac_header in sys/types.h
3988do :
3989 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
3990if test "x$ac_cv_header_sys_types_h" = x""yes; then :
3991 cat >>confdefs.h <<_ACEOF
3992#define HAVE_SYS_TYPES_H 1
3993_ACEOF
3994
3995fi
3996
3997done
3998
3999
4000CPPFLAGS="-D_BSD_SOURCE -D_USE_BSD_SIGNAL ${CPPFLAGS}"
4001
4002# Check whether --enable-debug was given.
4003if test "${enable_debug+set}" = set; then :
4004 enableval=$enable_debug; if test "$enableval" = "no"
4005then
4006 DUMPDEBUG=""
4007 RESTOREDEBUG=""
4008 echo "Not including debugging code"
4009else
4010 DUMPDEBUG="-DFDEBUG -DTDEBUG -DWRITEDEBUG -DDIRDEBUG"
4011 RESTOREDEBUG="-DDIRDEBUG"
4012 echo "Including debugging code"
4013fi
4014else
4015 DUMPDEBUG=""
4016RESTOREDEBUG=""
4017echo "Not including debugging code by default"
4018
4019fi
4020
4021
4022
4023
4024# Check whether --enable-static was given.
4025if test "${enable_static+set}" = set; then :
4026 enableval=$enable_static; if test "$enableval" = "no"
4027then
4028 STATIC=""
4029 echo "Linking dump and restore dynamically"
4030else
4031 STATIC="-static"
4032 echo "Linking dump and restore statically"
4033fi
4034
4035else
4036 STATIC=""
4037echo "Linking dump and restore dynamically by default"
4038
4039fi
4040
4041
4042
4043# Check whether --enable-staticz was given.
4044if test "${enable_staticz+set}" = set; then :
4045 enableval=$enable_staticz; if test "$enableval" = "no"
4046then
4047 STATICZ="no"
4048 echo "Linking libz and libbz2 dynamically"
4049else
4050 STATICZ="yes"
4051 echo "Linking libz and libbz2 statically"
4052fi
4053
4054else
4055 STATICZ="no"
4056echo "Linking libz and libbz2 dynamically by default"
4057
4058fi
4059
4060
4061# Check whether --enable-rmt was given.
4062if test "${enable_rmt+set}" = set; then :
4063 enableval=$enable_rmt; if test "$enableval" = "no"
4064then
4065 RMTDIR=""
4066 RMTMAKEFILE=""
4067 echo "Not compiling rmt"
4068else
4069 RMTDIR="rmt"
4070 RMTMAKEFILE="rmt/Makefile"
4071 echo "Compiling rmt"
4072fi
4073
4074else
4075 RMTDIR="rmt"
4076RMTMAKEFILE="rmt/Makefile"
4077echo "Compiling rmt by default"
4078
4079fi
4080
4081
4082
4083# Check whether --enable-ermt was given.
4084if test "${enable_ermt+set}" = set; then :
4085 enableval=$enable_ermt; if test "$enableval" = "no"
4086then
4087 ERMT=""
4088 echo "Not compiling ermt"
4089else
4090 if test "$RMTDIR" = ""
4091 then
4092 as_fn_error $? "ermt requires --enable-rmt" "$LINENO" 5
4093 fi
4094 ERMT="ermt"
4095 echo "Compiling ermt"
4096fi
4097
4098else
4099 ERMT=""
4100echo "Not compiling ermt by default"
4101
4102fi
4103
4104
4105
4106# Check whether --enable-kerberos was given.
4107if test "${enable_kerberos+set}" = set; then :
4108 enableval=$enable_kerberos; if test "$enableval" = "yes"
4109then
4110 OPTDEFS="-DKERBEROS"
4111 echo "Compiling kerberos extensions"
4112else
4113 OPTDEFS=""
4114 echo "Not compiling kerberos extensions"
4115fi
4116
4117else
4118 OPTDEFS=""
4119echo "Not compiling kerberos extensions by default"
4120
4121fi
4122
4123
4124
4125# Check whether --enable-readline was given.
4126if test "${enable_readline+set}" = set; then :
4127 enableval=$enable_readline; if test "$enableval" = "no"
4128then
4129 READLINE=""
4130 echo "Not including readline support"
4131else
4132 READLINE="yes"
4133
4134$as_echo "#define HAVE_READLINE 1" >>confdefs.h
4135
4136 echo "Including readline support"
4137fi
4138
4139else
4140 READLINE="yes"
4141
4142$as_echo "#define HAVE_READLINE 1" >>confdefs.h
4143
4144echo "Including readline support by default"
4145
4146fi
4147
4148
4149# Check whether --enable-oldstylefscript was given.
4150if test "${enable_oldstylefscript+set}" = set; then :
4151 enableval=$enable_oldstylefscript; if test "$enableval" = "yes"
4152then
4153
4154$as_echo "#define OLD_STYLE_FSCRIPT 1" >>confdefs.h
4155
4156 echo "Using old style F script"
4157else
4158 echo "Using new style F script"
4159fi
4160
4161else
4162 echo "Using new style F script by default"
4163
4164fi
4165
4166
4167# Check whether --enable-largefile was given.
4168if test "${enable_largefile+set}" = set; then :
4169 enableval=$enable_largefile; if test "$enableval" = "yes"
4170then
4171
4172$as_echo "#define USE_LFS 1" >>confdefs.h
4173
4174 echo "Enabling Large File System support"
4175else
4176 echo "Not enabling Large File System support"
4177fi
4178
4179else
4180
4181$as_echo "#define USE_LFS 1" >>confdefs.h
4182
4183echo "Enabling Large File System support by default"
4184
4185fi
4186
4187
4188# Check whether --enable-qfa was given.
4189if test "${enable_qfa+set}" = set; then :
4190 enableval=$enable_qfa; if test "$enableval" = "yes"
4191then
4192
4193$as_echo "#define USE_QFA 1" >>confdefs.h
4194
4195 echo "Enabling Quick File Access support"
4196else
4197 echo "Not enabling Quick File Access support"
4198fi
4199
4200else
4201
4202$as_echo "#define USE_QFA 1" >>confdefs.h
4203
4204echo "Enabling Quick File Access support by default"
4205
4206fi
4207
4208
4209# Check whether --enable-qfadebug was given.
4210if test "${enable_qfadebug+set}" = set; then :
4211 enableval=$enable_qfadebug; if test "$enableval" = "yes"
4212then
4213
4214$as_echo "#define DEBUG_QFA 1" >>confdefs.h
4215
4216 echo "Including Quick File Access debugging code"
4217else
4218 echo "Not including Quick File Access debugging code"
4219fi
4220
4221else
4222 echo "Not including Quick File Access debugging code by default"
4223
4224fi
4225
4226
4227# Check whether --enable-macosx was given.
4228if test "${enable_macosx+set}" = set; then :
4229 enableval=$enable_macosx; if test "$enableval" = "yes"
4230then
4231
4232$as_echo "#define DUMP_MACOSX 1" >>confdefs.h
4233
4234 echo "Including Mac OSX restore compatibility code"
4235else
4236 echo "Not including Mac OSX restore compatibility code"
4237fi
4238
4239else
4240 echo "Not including Mac OSX restore compatibility code by default"
4241
4242fi
4243
4244
4245# Check whether --enable-transselinux was given.
4246if test "${enable_transselinux+set}" = set; then :
4247 enableval=$enable_transselinux; if test "$enableval" = "yes"
4248then
4249 LTRANSSELINUX="-lselinux"
4250 CCTRANSSELINUX="-DTRANSSELINUX"
4251 echo "restore can translate SELinux EAs"
4252else
4253 LTRANSSELINUX=""
4254 CCTRANSSELINUX=""
4255 echo "restore can not translate SELinux EAs"
4256fi
4257
4258else
4259 LTRANSSELINUX="-lselinux"
4260CCTRANSSELINUX="-DTRANSSELINUX"
4261echo "restore can translate SELinux EAs by default"
4262
4263fi
4264
4265
4266
4267
4268
4269
4270# Check whether --with-cc was given.
4271if test "${with_cc+set}" = set; then :
4272 withval=$with_cc; { $as_echo "$as_me:${as_lineno-$LINENO}: result: CC=$withval" >&5
4273$as_echo "CC=$withval" >&6; }
4274CC=$withval
4275else
4276 if test -z "$CC" ; then CC=cc; fi
4277{ $as_echo "$as_me:${as_lineno-$LINENO}: result: CC defaults to $CC" >&5
4278$as_echo "CC defaults to $CC" >&6; }
4279fi
4280export CC
4281
4282
4283
4284# Check whether --with-linker was given.
4285if test "${with_linker+set}" = set; then :
4286 withval=$with_linker; { $as_echo "$as_me:${as_lineno-$LINENO}: result: LD=$withval" >&5
4287$as_echo "LD=$withval" >&6; }
4288LD=$withval
4289else
4290 if test -z "$LD" ; then LD=$CC; fi
4291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: LD defaults to $LD" >&5
4292$as_echo "LD defaults to $LD" >&6; }
4293fi
4294export LD
4295
4296
4297
4298# Check whether --with-ccopts was given.
4299if test "${with_ccopts+set}" = set; then :
4300 withval=$with_ccopts; { $as_echo "$as_me:${as_lineno-$LINENO}: result: CCOPTS is $withval" >&5
4301$as_echo "CCOPTS is $withval" >&6; }
4302CCOPTS=$withval
4303CFLAGS="$CFLAGS $withval"
4304else
4305 CCOPTS=
4306fi
4307
4308
4309
4310# Check whether --with-ldopts was given.
4311if test "${with_ldopts+set}" = set; then :
4312 withval=$with_ldopts; { $as_echo "$as_me:${as_lineno-$LINENO}: result: LDFLAGS is $withval" >&5
4313$as_echo "LDFLAGS is $withval" >&6; }
4314LDOPTS=$withval
4315LDFLAGS="$LDFLAGS $withval"
4316else
4317 LDOPTS=
4318fi
4319
4320
4321
4322# Check whether --with-binowner was given.
4323if test "${with_binowner+set}" = set; then :
4324 withval=$with_binowner; { $as_echo "$as_me:${as_lineno-$LINENO}: result: BINOWNER is $withval" >&5
4325$as_echo "BINOWNER is $withval" >&6; }
4326BINOWNER=$withval
4327else
4328 BINOWNER=root
4329echo "BINOWNER defaults to $BINOWNER"
4330
4331fi
4332
4333
4334
4335# Check whether --with-bingrp was given.
4336if test "${with_bingrp+set}" = set; then :
4337 withval=$with_bingrp; { $as_echo "$as_me:${as_lineno-$LINENO}: result: BINGRP is $withval" >&5
4338$as_echo "BINGRP is $withval" >&6; }
4339BINGRP=$withval
4340else
4341 BINGRP=tty
4342echo "BINGRP defaults to $BINGRP"
4343
4344fi
4345
4346
4347
4348# Check whether --with-binmode was given.
4349if test "${with_binmode+set}" = set; then :
4350 withval=$with_binmode; { $as_echo "$as_me:${as_lineno-$LINENO}: result: BINMODE is $withval" >&5
4351$as_echo "BINMODE is $withval" >&6; }
4352BINMODE=$withval
4353else
4354 BINMODE=0755
4355echo "BINMODE defaults to $BINMODE"
4356
4357fi
4358
4359
4360
4361# Check whether --with-manowner was given.
4362if test "${with_manowner+set}" = set; then :
4363 withval=$with_manowner; { $as_echo "$as_me:${as_lineno-$LINENO}: result: MANOWNER is $withval" >&5
4364$as_echo "MANOWNER is $withval" >&6; }
4365MANOWNER=$withval
4366else
4367 MANOWNER=man
4368echo "MANOWNER defaults to $MANOWNER"
4369
4370fi
4371
4372
4373
4374# Check whether --with-mangrp was given.
4375if test "${with_mangrp+set}" = set; then :
4376 withval=$with_mangrp; { $as_echo "$as_me:${as_lineno-$LINENO}: result: MANGRP is $withval" >&5
4377$as_echo "MANGRP is $withval" >&6; }
4378MANGRP=$withval
4379else
4380 MANGRP=tty
4381echo "MANGRP defaults to $MANGRP"
4382
4383fi
4384
4385
4386
4387# Check whether --with-manmode was given.
4388if test "${with_manmode+set}" = set; then :
4389 withval=$with_manmode; { $as_echo "$as_me:${as_lineno-$LINENO}: result: MANMODE is $withval" >&5
4390$as_echo "MANMODE is $withval" >&6; }
4391MANMODE=$withval
4392else
4393 MANMODE=0644
4394echo "MANMODE defaults to $MANMODE"
4395
4396fi
4397
4398
4399
4400# Check whether --with-dumpdatespath was given.
4401if test "${with_dumpdatespath+set}" = set; then :
4402 withval=$with_dumpdatespath; { $as_echo "$as_me:${as_lineno-$LINENO}: result: DUMPDATESPATH is $withval" >&5
4403$as_echo "DUMPDATESPATH is $withval" >&6; }
4404DUMPDATESPATH=$withval
4405else
4406 DUMPDATESPATH="${sysconfdir}/dumpdates"
4407echo "DUMPDATESPATH defaults to $DUMPDATESPATH"
4408
4409fi
4410
4411
4412ac_fn_c_check_header_preproc "$LINENO" "ext2fs/ext2fs.h" "ac_cv_header_ext2fs_ext2fs_h"
4413if test "x$ac_cv_header_ext2fs_ext2fs_h" = x""yes; then :
4414 ext2fs_h=yes
4415else
4416 ext2fs_h=no
4417fi
4418
4419
4420PKG_CHECK_MODULES(EXT2FS, ext2fs)
4421if test -n "$STATIC" ; then
4422 EXT2FS_LIBS=`$PKG_CONFIG --libs --static ext2fs`
4423fi
4424if test "$ext2fs_h" = no -o "x$EXT2FS_LIBS" = "x"; then
4425 as_fn_error $? "You need to install the Ext2fs libraries from the E2fsprogs distribution first - hint: make install-libs" "$LINENO" 5
4426fi
4427
4428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext2fs_read_inode_full in -lext2fs" >&5
4429$as_echo_n "checking for ext2fs_read_inode_full in -lext2fs... " >&6; }
4430if test "${ac_cv_lib_ext2fs_ext2fs_read_inode_full+set}" = set; then :
4431 $as_echo_n "(cached) " >&6
4432else
4433 ac_check_lib_save_LIBS=$LIBS
4434LIBS="-lext2fs -lcom_err $LIBS"
4435cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4436/* end confdefs.h. */
4437
4438/* Override any GCC internal prototype to avoid an error.
4439 Use char because int might match the return type of a GCC
4440 builtin and then its argument prototype would still apply. */
4441#ifdef __cplusplus
4442extern "C"
4443#endif
4444char ext2fs_read_inode_full ();
4445int
4446main ()
4447{
4448return ext2fs_read_inode_full ();
4449 ;
4450 return 0;
4451}
4452_ACEOF
4453if ac_fn_c_try_link "$LINENO"; then :
4454 ac_cv_lib_ext2fs_ext2fs_read_inode_full=yes
4455else
4456 ac_cv_lib_ext2fs_ext2fs_read_inode_full=no
4457fi
4458rm -f core conftest.err conftest.$ac_objext \
4459 conftest$ac_exeext conftest.$ac_ext
4460LIBS=$ac_check_lib_save_LIBS
4461fi
4462{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ext2fs_ext2fs_read_inode_full" >&5
4463$as_echo "$ac_cv_lib_ext2fs_ext2fs_read_inode_full" >&6; }
4464if test "x$ac_cv_lib_ext2fs_ext2fs_read_inode_full" = x""yes; then :
4465 rif=yes
4466else
4467 rif=no
4468fi
4469
4470if test "$rif" = yes; then
4471
4472$as_echo "#define HAVE_EXT2FS_READ_INODE_FULL 1" >>confdefs.h
4473
4474fi
4475
4476for ac_header in ext2fs/ext2_fs.h
4477do :
4478 ac_fn_c_check_header_preproc "$LINENO" "ext2fs/ext2_fs.h" "ac_cv_header_ext2fs_ext2_fs_h"
4479if test "x$ac_cv_header_ext2fs_ext2_fs_h" = x""yes; then :
4480 cat >>confdefs.h <<_ACEOF
4481#define HAVE_EXT2FS_EXT2_FS_H 1
4482_ACEOF
4483
4484fi
4485
4486done
4487
4488
4489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext2_ino_t type in libext2fs headers" >&5
4490$as_echo_n "checking for ext2_ino_t type in libext2fs headers... " >&6; }
4491cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4492/* end confdefs.h. */
4493#include <stdio.h>
4494#ifdef HAVE_EXT2FS_EXT2_FS_H
4495#include <ext2fs/ext2_fs.h>
4496#else
4497#include <linux/ext2_fs.h>
4498#endif
4499#include <ext2fs/ext2fs.h>
4500int
4501main ()
4502{
4503ext2_ino_t ino = 0;
4504 ;
4505 return 0;
4506}
4507_ACEOF
4508if ac_fn_c_try_compile "$LINENO"; then :
4509
4510$as_echo "#define HAVE_EXT2_INO_T 1" >>confdefs.h
4511
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4513$as_echo "yes" >&6; }
4514else
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4516$as_echo "no" >&6; }
4517fi
4518rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4519
4520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for s_journal_inum field in ext2_super_block struct" >&5
4521$as_echo_n "checking for s_journal_inum field in ext2_super_block struct... " >&6; }
4522cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4523/* end confdefs.h. */
4524#include <stdio.h>
4525#ifdef HAVE_EXT2FS_EXT2_FS_H
4526#include <ext2fs/ext2_fs.h>
4527#else
4528#include <linux/ext2_fs.h>
4529#endif
4530#include <ext2fs/ext2fs.h>
4531int
4532main ()
4533{
4534struct ext2_super_block es; es.s_journal_inum = 0;
4535 ;
4536 return 0;
4537}
4538_ACEOF
4539if ac_fn_c_try_compile "$LINENO"; then :
4540
4541$as_echo "#define HAVE_EXT2_JOURNAL_INUM 1" >>confdefs.h
4542
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4544$as_echo "yes" >&6; }
4545else
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4547$as_echo "no" >&6; }
4548fi
4549rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4550
4551ac_fn_c_check_header_preproc "$LINENO" "blkid/blkid.h" "ac_cv_header_blkid_blkid_h"
4552if test "x$ac_cv_header_blkid_blkid_h" = x""yes; then :
4553 blkid_h=yes
4554else
4555 blkid_h=no
4556fi
4557
4558
4559PKG_CHECK_EXISTS(blkid,
4560
4561 if test -n $STATIC ; then
4562 BLKID=`$PKG_CONFIG --libs --static blkid`
4563 else
4564 BLKID=`$PKG_CONFIG --libs blkid`
4565 fi
4566 if test "$blkid_h" = yes ; then
4567 AC_DEFINE([HAVE_BLKID],1,[Define this if you have the blkid library.])
4568 fi
4569 ,BLKID="")
4570
4571
4572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -lncurses" >&5
4573$as_echo_n "checking for tgetent in -lncurses... " >&6; }
4574if test "${ac_cv_lib_ncurses_tgetent+set}" = set; then :
4575 $as_echo_n "(cached) " >&6
4576else
4577 ac_check_lib_save_LIBS=$LIBS
4578LIBS="-lncurses $LIBS"
4579cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4580/* end confdefs.h. */
4581
4582/* Override any GCC internal prototype to avoid an error.
4583 Use char because int might match the return type of a GCC
4584 builtin and then its argument prototype would still apply. */
4585#ifdef __cplusplus
4586extern "C"
4587#endif
4588char tgetent ();
4589int
4590main ()
4591{
4592return tgetent ();
4593 ;
4594 return 0;
4595}
4596_ACEOF
4597if ac_fn_c_try_link "$LINENO"; then :
4598 ac_cv_lib_ncurses_tgetent=yes
4599else
4600 ac_cv_lib_ncurses_tgetent=no
4601fi
4602rm -f core conftest.err conftest.$ac_objext \
4603 conftest$ac_exeext conftest.$ac_ext
4604LIBS=$ac_check_lib_save_LIBS
4605fi
4606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_tgetent" >&5
4607$as_echo "$ac_cv_lib_ncurses_tgetent" >&6; }
4608if test "x$ac_cv_lib_ncurses_tgetent" = x""yes; then :
4609 ncurses_lib=yes
4610else
4611 ncurses_lib=no
4612fi
4613
4614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5
4615$as_echo_n "checking for tgetent in -ltermcap... " >&6; }
4616if test "${ac_cv_lib_termcap_tgetent+set}" = set; then :
4617 $as_echo_n "(cached) " >&6
4618else
4619 ac_check_lib_save_LIBS=$LIBS
4620LIBS="-ltermcap $LIBS"
4621cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4622/* end confdefs.h. */
4623
4624/* Override any GCC internal prototype to avoid an error.
4625 Use char because int might match the return type of a GCC
4626 builtin and then its argument prototype would still apply. */
4627#ifdef __cplusplus
4628extern "C"
4629#endif
4630char tgetent ();
4631int
4632main ()
4633{
4634return tgetent ();
4635 ;
4636 return 0;
4637}
4638_ACEOF
4639if ac_fn_c_try_link "$LINENO"; then :
4640 ac_cv_lib_termcap_tgetent=yes
4641else
4642 ac_cv_lib_termcap_tgetent=no
4643fi
4644rm -f core conftest.err conftest.$ac_objext \
4645 conftest$ac_exeext conftest.$ac_ext
4646LIBS=$ac_check_lib_save_LIBS
4647fi
4648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5
4649$as_echo "$ac_cv_lib_termcap_tgetent" >&6; }
4650if test "x$ac_cv_lib_termcap_tgetent" = x""yes; then :
4651 termcap_lib=yes
4652else
4653 termcap_lib=no
4654fi
4655
4656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltinfo" >&5
4657$as_echo_n "checking for tgetent in -ltinfo... " >&6; }
4658if test "${ac_cv_lib_tinfo_tgetent+set}" = set; then :
4659 $as_echo_n "(cached) " >&6
4660else
4661 ac_check_lib_save_LIBS=$LIBS
4662LIBS="-ltinfo $LIBS"
4663cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4664/* end confdefs.h. */
4665
4666/* Override any GCC internal prototype to avoid an error.
4667 Use char because int might match the return type of a GCC
4668 builtin and then its argument prototype would still apply. */
4669#ifdef __cplusplus
4670extern "C"
4671#endif
4672char tgetent ();
4673int
4674main ()
4675{
4676return tgetent ();
4677 ;
4678 return 0;
4679}
4680_ACEOF
4681if ac_fn_c_try_link "$LINENO"; then :
4682 ac_cv_lib_tinfo_tgetent=yes
4683else
4684 ac_cv_lib_tinfo_tgetent=no
4685fi
4686rm -f core conftest.err conftest.$ac_objext \
4687 conftest$ac_exeext conftest.$ac_ext
4688LIBS=$ac_check_lib_save_LIBS
4689fi
4690{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_tgetent" >&5
4691$as_echo "$ac_cv_lib_tinfo_tgetent" >&6; }
4692if test "x$ac_cv_lib_tinfo_tgetent" = x""yes; then :
4693 tinfo_lib=yes
4694else
4695 tinfo_lib=no
4696fi
4697
4698
4699if test "$ncurses_lib" = no -a "$termcap_lib" = no -a "$tinfo_lib" = no; then
4700 if test "$READLINE" = "yes"; then
4701 as_fn_error $? "You need to install the ncurses or termcap library or configure without --enable-readline" "$LINENO" 5
4702 fi
4703fi
4704if test "$tinfo_lib" = yes; then
4705 rdllib="-ltinfo"
4706elif test "$ncurses_lib" = yes; then
4707 rdllib="-lncurses"
4708elif test "$termcap_lib" = yes; then
4709 rdllib="-ltermcap"
4710fi
4711
4712ac_fn_c_check_header_preproc "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h"
4713if test "x$ac_cv_header_readline_readline_h" = x""yes; then :
4714 readline_h=yes
4715else
4716 readline_h=no
4717fi
4718
4719
4720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
4721$as_echo_n "checking for readline in -lreadline... " >&6; }
4722if test "${ac_cv_lib_readline_readline+set}" = set; then :
4723 $as_echo_n "(cached) " >&6
4724else
4725 ac_check_lib_save_LIBS=$LIBS
4726LIBS="-lreadline $rdllib $LIBS"
4727cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4728/* end confdefs.h. */
4729
4730/* Override any GCC internal prototype to avoid an error.
4731 Use char because int might match the return type of a GCC
4732 builtin and then its argument prototype would still apply. */
4733#ifdef __cplusplus
4734extern "C"
4735#endif
4736char readline ();
4737int
4738main ()
4739{
4740return readline ();
4741 ;
4742 return 0;
4743}
4744_ACEOF
4745if ac_fn_c_try_link "$LINENO"; then :
4746 ac_cv_lib_readline_readline=yes
4747else
4748 ac_cv_lib_readline_readline=no
4749fi
4750rm -f core conftest.err conftest.$ac_objext \
4751 conftest$ac_exeext conftest.$ac_ext
4752LIBS=$ac_check_lib_save_LIBS
4753fi
4754{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
4755$as_echo "$ac_cv_lib_readline_readline" >&6; }
4756if test "x$ac_cv_lib_readline_readline" = x""yes; then :
4757 readline_lib=yes
4758else
4759 readline_lib=no
4760fi
4761
4762if test "$readline_h" = no -o "$readline_lib" = no; then
4763 if test "$READLINE" = "yes"; then
4764 as_fn_error $? "You need to install the GNU readline library or configure without --enable-readline" "$LINENO" 5
4765 fi
4766fi
4767if test "$READLINE" = yes; then
4768 READLINE="-lreadline $rdllib"
4769fi
4770
4771
4772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_completion_matches in -lreadline" >&5
4773$as_echo_n "checking for rl_completion_matches in -lreadline... " >&6; }
4774if test "${ac_cv_lib_readline_rl_completion_matches+set}" = set; then :
4775 $as_echo_n "(cached) " >&6
4776else
4777 ac_check_lib_save_LIBS=$LIBS
4778LIBS="-lreadline "-ltermcap" $LIBS"
4779cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4780/* end confdefs.h. */
4781
4782/* Override any GCC internal prototype to avoid an error.
4783 Use char because int might match the return type of a GCC
4784 builtin and then its argument prototype would still apply. */
4785#ifdef __cplusplus
4786extern "C"
4787#endif
4788char rl_completion_matches ();
4789int
4790main ()
4791{
4792return rl_completion_matches ();
4793 ;
4794 return 0;
4795}
4796_ACEOF
4797if ac_fn_c_try_link "$LINENO"; then :
4798 ac_cv_lib_readline_rl_completion_matches=yes
4799else
4800 ac_cv_lib_readline_rl_completion_matches=no
4801fi
4802rm -f core conftest.err conftest.$ac_objext \
4803 conftest$ac_exeext conftest.$ac_ext
4804LIBS=$ac_check_lib_save_LIBS
4805fi
4806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_completion_matches" >&5
4807$as_echo "$ac_cv_lib_readline_rl_completion_matches" >&6; }
4808if test "x$ac_cv_lib_readline_rl_completion_matches" = x""yes; then :
4809 rlcm=yes
4810else
4811 rlcm=no
4812fi
4813
4814if test "$rlcm" = yes; then
4815
4816$as_echo "#define HAVE_READLINE_RLCM 1" >>confdefs.h
4817
4818fi
4819
4820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_completion_append_character in -lreadline" >&5
4821$as_echo_n "checking for rl_completion_append_character in -lreadline... " >&6; }
4822if test "${ac_cv_lib_readline_rl_completion_append_character+set}" = set; then :
4823 $as_echo_n "(cached) " >&6
4824else
4825 ac_check_lib_save_LIBS=$LIBS
4826LIBS="-lreadline "-ltermcap" $LIBS"
4827cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4828/* end confdefs.h. */
4829
4830/* Override any GCC internal prototype to avoid an error.
4831 Use char because int might match the return type of a GCC
4832 builtin and then its argument prototype would still apply. */
4833#ifdef __cplusplus
4834extern "C"
4835#endif
4836char rl_completion_append_character ();
4837int
4838main ()
4839{
4840return rl_completion_append_character ();
4841 ;
4842 return 0;
4843}
4844_ACEOF
4845if ac_fn_c_try_link "$LINENO"; then :
4846 ac_cv_lib_readline_rl_completion_append_character=yes
4847else
4848 ac_cv_lib_readline_rl_completion_append_character=no
4849fi
4850rm -f core conftest.err conftest.$ac_objext \
4851 conftest$ac_exeext conftest.$ac_ext
4852LIBS=$ac_check_lib_save_LIBS
4853fi
4854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_completion_append_character" >&5
4855$as_echo "$ac_cv_lib_readline_rl_completion_append_character" >&6; }
4856if test "x$ac_cv_lib_readline_rl_completion_append_character" = x""yes; then :
4857 rcac=yes
4858else
4859 rcac=no
4860fi
4861
4862if test "$rcac" = yes; then
4863
4864$as_echo "#define HAVE_READLINE_CAC 1" >>confdefs.h
4865
4866fi
4867
4868ac_fn_c_check_header_preproc "$LINENO" "zlib.h" "ac_cv_header_zlib_h"
4869if test "x$ac_cv_header_zlib_h" = x""yes; then :
4870 zlib_h=yes
4871else
4872 zlib_h=no
4873fi
4874
4875
4876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
4877$as_echo_n "checking for zlibVersion in -lz... " >&6; }
4878if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
4879 $as_echo_n "(cached) " >&6
4880else
4881 ac_check_lib_save_LIBS=$LIBS
4882LIBS="-lz $LIBS"
4883cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4884/* end confdefs.h. */
4885
4886/* Override any GCC internal prototype to avoid an error.
4887 Use char because int might match the return type of a GCC
4888 builtin and then its argument prototype would still apply. */
4889#ifdef __cplusplus
4890extern "C"
4891#endif
4892char zlibVersion ();
4893int
4894main ()
4895{
4896return zlibVersion ();
4897 ;
4898 return 0;
4899}
4900_ACEOF
4901if ac_fn_c_try_link "$LINENO"; then :
4902 ac_cv_lib_z_zlibVersion=yes
4903else
4904 ac_cv_lib_z_zlibVersion=no
4905fi
4906rm -f core conftest.err conftest.$ac_objext \
4907 conftest$ac_exeext conftest.$ac_ext
4908LIBS=$ac_check_lib_save_LIBS
4909fi
4910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
4911$as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
4912if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
4913 zlib_lib=yes
4914else
4915 zlib_lib=no
4916fi
4917
4918if test "$zlib_h" = yes -a "$zlib_lib" = yes; then
4919 if test "$STATICZ" = yes; then
4920 ZLIB="-Wl,-Bstatic -lz -Wl,-Bdynamic"
4921 else
4922 ZLIB="-lz"
4923 fi
4924
4925$as_echo "#define HAVE_ZLIB 1" >>confdefs.h
4926
4927else
4928 ZLIB=""
4929fi
4930
4931
4932ac_fn_c_check_header_preproc "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h"
4933if test "x$ac_cv_header_bzlib_h" = x""yes; then :
4934 bzlib_h=yes
4935else
4936 bzlib_h=no
4937fi
4938
4939
4940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzBuffToBuffCompress in -lbz2" >&5
4941$as_echo_n "checking for BZ2_bzBuffToBuffCompress in -lbz2... " >&6; }
4942if test "${ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress+set}" = set; then :
4943 $as_echo_n "(cached) " >&6
4944else
4945 ac_check_lib_save_LIBS=$LIBS
4946LIBS="-lbz2 $LIBS"
4947cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4948/* end confdefs.h. */
4949
4950/* Override any GCC internal prototype to avoid an error.
4951 Use char because int might match the return type of a GCC
4952 builtin and then its argument prototype would still apply. */
4953#ifdef __cplusplus
4954extern "C"
4955#endif
4956char BZ2_bzBuffToBuffCompress ();
4957int
4958main ()
4959{
4960return BZ2_bzBuffToBuffCompress ();
4961 ;
4962 return 0;
4963}
4964_ACEOF
4965if ac_fn_c_try_link "$LINENO"; then :
4966 ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress=yes
4967else
4968 ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress=no
4969fi
4970rm -f core conftest.err conftest.$ac_objext \
4971 conftest$ac_exeext conftest.$ac_ext
4972LIBS=$ac_check_lib_save_LIBS
4973fi
4974{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress" >&5
4975$as_echo "$ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress" >&6; }
4976if test "x$ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress" = x""yes; then :
4977 bzlib_lib=yes
4978else
4979 bzlib_lib=no
4980fi
4981
4982if test "$bzlib_h" = yes -a "$bzlib_lib" = yes; then
4983 if test "$STATICZ" = yes; then
4984 BZLIB="-Wl,-Bstatic -lbz2 -Wl,-Bdynamic"
4985 else
4986 BZLIB="-lbz2"
4987 fi
4988
4989$as_echo "#define HAVE_BZLIB 1" >>confdefs.h
4990
4991else
4992 BZLIB=""
4993fi
4994
4995
4996ac_fn_c_check_header_preproc "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h"
4997if test "x$ac_cv_header_sqlite3_h" = x""yes; then :
4998 sqlite3_h=yes
4999else
5000 sqlite3_h=no
5001fi
5002
5003
5004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_initialize in -lsqlite3" >&5
5005$as_echo_n "checking for sqlite3_initialize in -lsqlite3... " >&6; }
5006if test "${ac_cv_lib_sqlite3_sqlite3_initialize+set}" = set; then :
5007 $as_echo_n "(cached) " >&6
5008else
5009 ac_check_lib_save_LIBS=$LIBS
5010LIBS="-lsqlite3 $LIBS"
5011cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5012/* end confdefs.h. */
5013
5014/* Override any GCC internal prototype to avoid an error.
5015 Use char because int might match the return type of a GCC
5016 builtin and then its argument prototype would still apply. */
5017#ifdef __cplusplus
5018extern "C"
5019#endif
5020char sqlite3_initialize ();
5021int
5022main ()
5023{
5024return sqlite3_initialize ();
5025 ;
5026 return 0;
5027}
5028_ACEOF
5029if ac_fn_c_try_link "$LINENO"; then :
5030 ac_cv_lib_sqlite3_sqlite3_initialize=yes
5031else
5032 ac_cv_lib_sqlite3_sqlite3_initialize=no
5033fi
5034rm -f core conftest.err conftest.$ac_objext \
5035 conftest$ac_exeext conftest.$ac_ext
5036LIBS=$ac_check_lib_save_LIBS
5037fi
5038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_initialize" >&5
5039$as_echo "$ac_cv_lib_sqlite3_sqlite3_initialize" >&6; }
5040if test "x$ac_cv_lib_sqlite3_sqlite3_initialize" = x""yes; then :
5041 sqlite3_lib=yes
5042else
5043 sqlite3_lib=no
5044fi
5045
5046if test "$sqlite3_h" = yes -a "$sqlite3_lib" = yes; then
5047 if test "$STATICZ" = yes; then
5048 SQLITE3="-Wl,-Bstatic -lsqlite3 -Wl,-Bdynamic"
5049 else
5050 SQLITE3="-lsqlite3"
5051 fi
5052
5053$as_echo "#define HAVE_SQLITE3 1" >>confdefs.h
5054
5055else
5056 SQLITE3=""
5057fi
5058
5059
5060for ac_func in err errx verr verrx vwarn vwarnx warn warnx realpath lchown
5061do :
5062 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5063ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5064if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5065 cat >>confdefs.h <<_ACEOF
5066#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5067_ACEOF
5068
5069fi
5070done
5071
5072ac_fn_c_check_func "$LINENO" "glob" "ac_cv_func_glob"
5073if test "x$ac_cv_func_glob" = x""yes; then :
5074
5075fi
5076
5077
5078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for extended glob routines" >&5
5079$as_echo_n "checking for extended glob routines... " >&6; }
5080if test "$ac_cv_func_glob" = "yes"; then
5081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5082/* end confdefs.h. */
5083
5084# include <glob.h>
5085# ifdef GLOB_ALTDIRFUNC
5086 yes
5087# endif
5088
5089_ACEOF
5090if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5091 $EGREP "yes" >/dev/null 2>&1; then :
5092
5093
5094$as_echo "#define HAVE_GLOB 1" >>confdefs.h
5095
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5097$as_echo "yes" >&6; }
5098
5099else
5100
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5102$as_echo "no" >&6; }
5103 echo "Your system does not support extended glob, will use the internal routines"
5104
5105fi
5106rm -f conftest*
5107
5108fi
5109
5110ac_fn_c_check_header_mongrel "$LINENO" "openssl/evp.h" "ac_cv_header_openssl_evp_h" "$ac_includes_default"
5111if test "x$ac_cv_header_openssl_evp_h" = x""yes; then :
5112 evp_h=yes
5113else
5114 evp_h=no
5115fi
5116
5117
5118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_set_padding in -lcrypto" >&5
5119$as_echo_n "checking for EVP_CIPHER_CTX_set_padding in -lcrypto... " >&6; }
5120if test "${ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding+set}" = set; then :
5121 $as_echo_n "(cached) " >&6
5122else
5123 ac_check_lib_save_LIBS=$LIBS
5124LIBS="-lcrypto $LIBS"
5125cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5126/* end confdefs.h. */
5127
5128/* Override any GCC internal prototype to avoid an error.
5129 Use char because int might match the return type of a GCC
5130 builtin and then its argument prototype would still apply. */
5131#ifdef __cplusplus
5132extern "C"
5133#endif
5134char EVP_CIPHER_CTX_set_padding ();
5135int
5136main ()
5137{
5138return EVP_CIPHER_CTX_set_padding ();
5139 ;
5140 return 0;
5141}
5142_ACEOF
5143if ac_fn_c_try_link "$LINENO"; then :
5144 ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding=yes
5145else
5146 ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding=no
5147fi
5148rm -f core conftest.err conftest.$ac_objext \
5149 conftest$ac_exeext conftest.$ac_ext
5150LIBS=$ac_check_lib_save_LIBS
5151fi
5152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&5
5153$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&6; }
5154if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" = x""yes; then :
5155 crypto_lib=yes
5156else
5157 crypto_lib=no
5158fi
5159
5160if test "$evp_h" = yes -a "$crypto_lib" = yes; then
5161 if test "$STATICZ" = yes; then
5162 SSLLIB="-Wl,-Bstatic -lssl -Wl,-Bdynamic"
5163 else
5164 SSLLIB="-lssl"
5165 fi
5166
5167$as_echo "#define HAVE_OPENSSL 1" >>confdefs.h
5168
5169else
5170 SSLLIB=""
5171 if test "$ERMT" != ""; then
5172 as_fn_error or configure without --enable-ermt "You need to install the OpenSSL library (version 0.9.7a or later)" "$LINENO" 5
5173 fi
5174fi
5175
5176
5177ac_fn_c_check_type "$LINENO" "quad_t" "ac_cv_type_quad_t" "$ac_includes_default"
5178if test "x$ac_cv_type_quad_t" = x""yes; then :
5179
5180else
5181
5182cat >>confdefs.h <<_ACEOF
5183#define quad_t int64_t
5184_ACEOF
5185
5186fi
5187
5188ac_fn_c_check_type "$LINENO" "u_quad_t" "ac_cv_type_u_quad_t" "$ac_includes_default"
5189if test "x$ac_cv_type_u_quad_t" = x""yes; then :
5190
5191else
5192
5193cat >>confdefs.h <<_ACEOF
5194#define u_quad_t uint64_t
5195_ACEOF
5196
5197fi
5198
5199
5200top_builddir=`cd .; pwd`
5201
5202
5203test -d compat || mkdir compat
5204test -d compat/lib || mkdir compat/lib
5205
5206ac_config_files="$ac_config_files MCONFIG Makefile common/Makefile compat/include/Makefile compat/lib/Makefile dump/Makefile restore/Makefile testing/Makefile $RMTMAKEFILE"
5207
5208cat >confcache <<\_ACEOF
5209# This file is a shell script that caches the results of configure
5210# tests run on this system so they can be shared between configure
5211# scripts and configure runs, see configure's option --config-cache.
5212# It is not useful on other systems. If it contains results you don't
5213# want to keep, you may remove or edit it.
5214#
5215# config.status only pays attention to the cache file if you give it
5216# the --recheck option to rerun configure.
5217#
5218# `ac_cv_env_foo' variables (set or unset) will be overridden when
5219# loading this file, other *unset* `ac_cv_foo' will be assigned the
5220# following values.
5221
5222_ACEOF
5223
5224# The following way of writing the cache mishandles newlines in values,
5225# but we know of no workaround that is simple, portable, and efficient.
5226# So, we kill variables containing newlines.
5227# Ultrix sh set writes to stderr and can't be redirected directly,
5228# and sets the high bit in the cache file unless we assign to the vars.
5229(
5230 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5231 eval ac_val=\$$ac_var
5232 case $ac_val in #(
5233 *${as_nl}*)
5234 case $ac_var in #(
5235 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5236$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5237 esac
5238 case $ac_var in #(
5239 _ | IFS | as_nl) ;; #(
5240 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5241 *) { eval $ac_var=; unset $ac_var;} ;;
5242 esac ;;
5243 esac
5244 done
5245
5246 (set) 2>&1 |
5247 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5248 *${as_nl}ac_space=\ *)
5249 # `set' does not quote correctly, so add quotes: double-quote
5250 # substitution turns \\\\ into \\, and sed turns \\ into \.
5251 sed -n \
5252 "s/'/'\\\\''/g;
5253 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5254 ;; #(
5255 *)
5256 # `set' quotes correctly as required by POSIX, so do not add quotes.
5257 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5258 ;;
5259 esac |
5260 sort
5261) |
5262 sed '
5263 /^ac_cv_env_/b end
5264 t clear
5265 :clear
5266 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5267 t end
5268 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5269 :end' >>confcache
5270if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5271 if test -w "$cache_file"; then
5272 test "x$cache_file" != "x/dev/null" &&
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5274$as_echo "$as_me: updating cache $cache_file" >&6;}
5275 cat confcache >$cache_file
5276 else
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5278$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5279 fi
5280fi
5281rm -f confcache
5282
5283test "x$prefix" = xNONE && prefix=$ac_default_prefix
5284# Let make expand exec_prefix.
5285test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5286
5287DEFS=-DHAVE_CONFIG_H
5288
5289ac_libobjs=
5290ac_ltlibobjs=
5291U=
5292for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5293 # 1. Remove the extension, and $U if already installed.
5294 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5295 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5296 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5297 # will be set to the directory where LIBOBJS objects are built.
5298 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5299 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5300done
5301LIBOBJS=$ac_libobjs
5302
5303LTLIBOBJS=$ac_ltlibobjs
5304
5305
5306
5307: ${CONFIG_STATUS=./config.status}
5308ac_write_fail=0
5309ac_clean_files_save=$ac_clean_files
5310ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5311{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5312$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5313as_write_fail=0
5314cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5315#! $SHELL
5316# Generated by $as_me.
5317# Run this file to recreate the current configuration.
5318# Compiler output produced by configure, useful for debugging
5319# configure, is in config.log if it exists.
5320
5321debug=false
5322ac_cs_recheck=false
5323ac_cs_silent=false
5324
5325SHELL=\${CONFIG_SHELL-$SHELL}
5326export SHELL
5327_ASEOF
5328cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5329## -------------------- ##
5330## M4sh Initialization. ##
5331## -------------------- ##
5332
5333# Be more Bourne compatible
5334DUALCASE=1; export DUALCASE # for MKS sh
5335if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5336 emulate sh
5337 NULLCMD=:
5338 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5339 # is contrary to our usage. Disable this feature.
5340 alias -g '${1+"$@"}'='"$@"'
5341 setopt NO_GLOB_SUBST
5342else
5343 case `(set -o) 2>/dev/null` in #(
5344 *posix*) :
5345 set -o posix ;; #(
5346 *) :
5347 ;;
5348esac
5349fi
5350
5351
5352as_nl='
5353'
5354export as_nl
5355# Printing a long string crashes Solaris 7 /usr/bin/printf.
5356as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5357as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5358as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5359# Prefer a ksh shell builtin over an external printf program on Solaris,
5360# but without wasting forks for bash or zsh.
5361if test -z "$BASH_VERSION$ZSH_VERSION" \
5362 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5363 as_echo='print -r --'
5364 as_echo_n='print -rn --'
5365elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5366 as_echo='printf %s\n'
5367 as_echo_n='printf %s'
5368else
5369 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5370 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5371 as_echo_n='/usr/ucb/echo -n'
5372 else
5373 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5374 as_echo_n_body='eval
5375 arg=$1;
5376 case $arg in #(
5377 *"$as_nl"*)
5378 expr "X$arg" : "X\\(.*\\)$as_nl";
5379 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5380 esac;
5381 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5382 '
5383 export as_echo_n_body
5384 as_echo_n='sh -c $as_echo_n_body as_echo'
5385 fi
5386 export as_echo_body
5387 as_echo='sh -c $as_echo_body as_echo'
5388fi
5389
5390# The user is always right.
5391if test "${PATH_SEPARATOR+set}" != set; then
5392 PATH_SEPARATOR=:
5393 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5394 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5395 PATH_SEPARATOR=';'
5396 }
5397fi
5398
5399
5400# IFS
5401# We need space, tab and new line, in precisely that order. Quoting is
5402# there to prevent editors from complaining about space-tab.
5403# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5404# splitting by setting IFS to empty value.)
5405IFS=" "" $as_nl"
5406
5407# Find who we are. Look in the path if we contain no directory separator.
5408case $0 in #((
5409 *[\\/]* ) as_myself=$0 ;;
5410 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5411for as_dir in $PATH
5412do
5413 IFS=$as_save_IFS
5414 test -z "$as_dir" && as_dir=.
5415 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5416 done
5417IFS=$as_save_IFS
5418
5419 ;;
5420esac
5421# We did not find ourselves, most probably we were run as `sh COMMAND'
5422# in which case we are not to be found in the path.
5423if test "x$as_myself" = x; then
5424 as_myself=$0
5425fi
5426if test ! -f "$as_myself"; then
5427 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5428 exit 1
5429fi
5430
5431# Unset variables that we do not need and which cause bugs (e.g. in
5432# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5433# suppresses any "Segmentation fault" message there. '((' could
5434# trigger a bug in pdksh 5.2.14.
5435for as_var in BASH_ENV ENV MAIL MAILPATH
5436do eval test x\${$as_var+set} = xset \
5437 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5438done
5439PS1='$ '
5440PS2='> '
5441PS4='+ '
5442
5443# NLS nuisances.
5444LC_ALL=C
5445export LC_ALL
5446LANGUAGE=C
5447export LANGUAGE
5448
5449# CDPATH.
5450(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5451
5452
5453# as_fn_error STATUS ERROR [LINENO LOG_FD]
5454# ----------------------------------------
5455# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5456# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5457# script with STATUS, using 1 if that was 0.
5458as_fn_error ()
5459{
5460 as_status=$1; test $as_status -eq 0 && as_status=1
5461 if test "$4"; then
5462 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5463 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5464 fi
5465 $as_echo "$as_me: error: $2" >&2
5466 as_fn_exit $as_status
5467} # as_fn_error
5468
5469
5470# as_fn_set_status STATUS
5471# -----------------------
5472# Set $? to STATUS, without forking.
5473as_fn_set_status ()
5474{
5475 return $1
5476} # as_fn_set_status
5477
5478# as_fn_exit STATUS
5479# -----------------
5480# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5481as_fn_exit ()
5482{
5483 set +e
5484 as_fn_set_status $1
5485 exit $1
5486} # as_fn_exit
5487
5488# as_fn_unset VAR
5489# ---------------
5490# Portably unset VAR.
5491as_fn_unset ()
5492{
5493 { eval $1=; unset $1;}
5494}
5495as_unset=as_fn_unset
5496# as_fn_append VAR VALUE
5497# ----------------------
5498# Append the text in VALUE to the end of the definition contained in VAR. Take
5499# advantage of any shell optimizations that allow amortized linear growth over
5500# repeated appends, instead of the typical quadratic growth present in naive
5501# implementations.
5502if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5503 eval 'as_fn_append ()
5504 {
5505 eval $1+=\$2
5506 }'
5507else
5508 as_fn_append ()
5509 {
5510 eval $1=\$$1\$2
5511 }
5512fi # as_fn_append
5513
5514# as_fn_arith ARG...
5515# ------------------
5516# Perform arithmetic evaluation on the ARGs, and store the result in the
5517# global $as_val. Take advantage of shells that can avoid forks. The arguments
5518# must be portable across $(()) and expr.
5519if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5520 eval 'as_fn_arith ()
5521 {
5522 as_val=$(( $* ))
5523 }'
5524else
5525 as_fn_arith ()
5526 {
5527 as_val=`expr "$@" || test $? -eq 1`
5528 }
5529fi # as_fn_arith
5530
5531
5532if expr a : '\(a\)' >/dev/null 2>&1 &&
5533 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5534 as_expr=expr
5535else
5536 as_expr=false
5537fi
5538
5539if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5540 as_basename=basename
5541else
5542 as_basename=false
5543fi
5544
5545if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5546 as_dirname=dirname
5547else
5548 as_dirname=false
5549fi
5550
5551as_me=`$as_basename -- "$0" ||
5552$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5553 X"$0" : 'X\(//\)$' \| \
5554 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5555$as_echo X/"$0" |
5556 sed '/^.*\/\([^/][^/]*\)\/*$/{
5557 s//\1/
5558 q
5559 }
5560 /^X\/\(\/\/\)$/{
5561 s//\1/
5562 q
5563 }
5564 /^X\/\(\/\).*/{
5565 s//\1/
5566 q
5567 }
5568 s/.*/./; q'`
5569
5570# Avoid depending upon Character Ranges.
5571as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5572as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5573as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5574as_cr_digits='0123456789'
5575as_cr_alnum=$as_cr_Letters$as_cr_digits
5576
5577ECHO_C= ECHO_N= ECHO_T=
5578case `echo -n x` in #(((((
5579-n*)
5580 case `echo 'xy\c'` in
5581 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5582 xy) ECHO_C='\c';;
5583 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5584 ECHO_T=' ';;
5585 esac;;
5586*)
5587 ECHO_N='-n';;
5588esac
5589
5590rm -f conf$$ conf$$.exe conf$$.file
5591if test -d conf$$.dir; then
5592 rm -f conf$$.dir/conf$$.file
5593else
5594 rm -f conf$$.dir
5595 mkdir conf$$.dir 2>/dev/null
5596fi
5597if (echo >conf$$.file) 2>/dev/null; then
5598 if ln -s conf$$.file conf$$ 2>/dev/null; then
5599 as_ln_s='ln -s'
5600 # ... but there are two gotchas:
5601 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5602 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5603 # In both cases, we have to default to `cp -p'.
5604 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5605 as_ln_s='cp -p'
5606 elif ln conf$$.file conf$$ 2>/dev/null; then
5607 as_ln_s=ln
5608 else
5609 as_ln_s='cp -p'
5610 fi
5611else
5612 as_ln_s='cp -p'
5613fi
5614rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5615rmdir conf$$.dir 2>/dev/null
5616
5617
5618# as_fn_mkdir_p
5619# -------------
5620# Create "$as_dir" as a directory, including parents if necessary.
5621as_fn_mkdir_p ()
5622{
5623
5624 case $as_dir in #(
5625 -*) as_dir=./$as_dir;;
5626 esac
5627 test -d "$as_dir" || eval $as_mkdir_p || {
5628 as_dirs=
5629 while :; do
5630 case $as_dir in #(
5631 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5632 *) as_qdir=$as_dir;;
5633 esac
5634 as_dirs="'$as_qdir' $as_dirs"
5635 as_dir=`$as_dirname -- "$as_dir" ||
5636$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5637 X"$as_dir" : 'X\(//\)[^/]' \| \
5638 X"$as_dir" : 'X\(//\)$' \| \
5639 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5640$as_echo X"$as_dir" |
5641 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5642 s//\1/
5643 q
5644 }
5645 /^X\(\/\/\)[^/].*/{
5646 s//\1/
5647 q
5648 }
5649 /^X\(\/\/\)$/{
5650 s//\1/
5651 q
5652 }
5653 /^X\(\/\).*/{
5654 s//\1/
5655 q
5656 }
5657 s/.*/./; q'`
5658 test -d "$as_dir" && break
5659 done
5660 test -z "$as_dirs" || eval "mkdir $as_dirs"
5661 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5662
5663
5664} # as_fn_mkdir_p
5665if mkdir -p . 2>/dev/null; then
5666 as_mkdir_p='mkdir -p "$as_dir"'
5667else
5668 test -d ./-p && rmdir ./-p
5669 as_mkdir_p=false
5670fi
5671
5672if test -x / >/dev/null 2>&1; then
5673 as_test_x='test -x'
5674else
5675 if ls -dL / >/dev/null 2>&1; then
5676 as_ls_L_option=L
5677 else
5678 as_ls_L_option=
5679 fi
5680 as_test_x='
5681 eval sh -c '\''
5682 if test -d "$1"; then
5683 test -d "$1/.";
5684 else
5685 case $1 in #(
5686 -*)set "./$1";;
5687 esac;
5688 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5689 ???[sx]*):;;*)false;;esac;fi
5690 '\'' sh
5691 '
5692fi
5693as_executable_p=$as_test_x
5694
5695# Sed expression to map a string onto a valid CPP name.
5696as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5697
5698# Sed expression to map a string onto a valid variable name.
5699as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5700
5701
5702exec 6>&1
5703## ----------------------------------- ##
5704## Main body of $CONFIG_STATUS script. ##
5705## ----------------------------------- ##
5706_ASEOF
5707test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5708
5709cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5710# Save the log message, to keep $0 and so on meaningful, and to
5711# report actual input values of CONFIG_FILES etc. instead of their
5712# values after options handling.
5713ac_log="
5714This file was extended by $as_me, which was
5715generated by GNU Autoconf 2.67. Invocation command line was
5716
5717 CONFIG_FILES = $CONFIG_FILES
5718 CONFIG_HEADERS = $CONFIG_HEADERS
5719 CONFIG_LINKS = $CONFIG_LINKS
5720 CONFIG_COMMANDS = $CONFIG_COMMANDS
5721 $ $0 $@
5722
5723on `(hostname || uname -n) 2>/dev/null | sed 1q`
5724"
5725
5726_ACEOF
5727
5728case $ac_config_files in *"
5729"*) set x $ac_config_files; shift; ac_config_files=$*;;
5730esac
5731
5732case $ac_config_headers in *"
5733"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5734esac
5735
5736
5737cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5738# Files that config.status was made for.
5739config_files="$ac_config_files"
5740config_headers="$ac_config_headers"
5741
5742_ACEOF
5743
5744cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5745ac_cs_usage="\
5746\`$as_me' instantiates files and other configuration actions
5747from templates according to the current configuration. Unless the files
5748and actions are specified as TAGs, all are instantiated by default.
5749
5750Usage: $0 [OPTION]... [TAG]...
5751
5752 -h, --help print this help, then exit
5753 -V, --version print version number and configuration settings, then exit
5754 --config print configuration, then exit
5755 -q, --quiet, --silent
5756 do not print progress messages
5757 -d, --debug don't remove temporary files
5758 --recheck update $as_me by reconfiguring in the same conditions
5759 --file=FILE[:TEMPLATE]
5760 instantiate the configuration file FILE
5761 --header=FILE[:TEMPLATE]
5762 instantiate the configuration header FILE
5763
5764Configuration files:
5765$config_files
5766
5767Configuration headers:
5768$config_headers
5769
5770Report bugs to the package provider."
5771
5772_ACEOF
5773cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5774ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5775ac_cs_version="\\
5776config.status
5777configured by $0, generated by GNU Autoconf 2.67,
5778 with options \\"\$ac_cs_config\\"
5779
5780Copyright (C) 2010 Free Software Foundation, Inc.
5781This config.status script is free software; the Free Software Foundation
5782gives unlimited permission to copy, distribute and modify it."
5783
5784ac_pwd='$ac_pwd'
5785srcdir='$srcdir'
5786INSTALL='$INSTALL'
5787test -n "\$AWK" || AWK=awk
5788_ACEOF
5789
5790cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5791# The default lists apply if the user does not specify any file.
5792ac_need_defaults=:
5793while test $# != 0
5794do
5795 case $1 in
5796 --*=?*)
5797 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5798 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5799 ac_shift=:
5800 ;;
5801 --*=)
5802 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5803 ac_optarg=
5804 ac_shift=:
5805 ;;
5806 *)
5807 ac_option=$1
5808 ac_optarg=$2
5809 ac_shift=shift
5810 ;;
5811 esac
5812
5813 case $ac_option in
5814 # Handling of the options.
5815 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5816 ac_cs_recheck=: ;;
5817 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5818 $as_echo "$ac_cs_version"; exit ;;
5819 --config | --confi | --conf | --con | --co | --c )
5820 $as_echo "$ac_cs_config"; exit ;;
5821 --debug | --debu | --deb | --de | --d | -d )
5822 debug=: ;;
5823 --file | --fil | --fi | --f )
5824 $ac_shift
5825 case $ac_optarg in
5826 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5827 '') as_fn_error $? "missing file argument" ;;
5828 esac
5829 as_fn_append CONFIG_FILES " '$ac_optarg'"
5830 ac_need_defaults=false;;
5831 --header | --heade | --head | --hea )
5832 $ac_shift
5833 case $ac_optarg in
5834 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5835 esac
5836 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5837 ac_need_defaults=false;;
5838 --he | --h)
5839 # Conflict between --help and --header
5840 as_fn_error $? "ambiguous option: \`$1'
5841Try \`$0 --help' for more information.";;
5842 --help | --hel | -h )
5843 $as_echo "$ac_cs_usage"; exit ;;
5844 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5845 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5846 ac_cs_silent=: ;;
5847
5848 # This is an error.
5849 -*) as_fn_error $? "unrecognized option: \`$1'
5850Try \`$0 --help' for more information." ;;
5851
5852 *) as_fn_append ac_config_targets " $1"
5853 ac_need_defaults=false ;;
5854
5855 esac
5856 shift
5857done
5858
5859ac_configure_extra_args=
5860
5861if $ac_cs_silent; then
5862 exec 6>/dev/null
5863 ac_configure_extra_args="$ac_configure_extra_args --silent"
5864fi
5865
5866_ACEOF
5867cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5868if \$ac_cs_recheck; then
5869 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5870 shift
5871 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5872 CONFIG_SHELL='$SHELL'
5873 export CONFIG_SHELL
5874 exec "\$@"
5875fi
5876
5877_ACEOF
5878cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5879exec 5>>config.log
5880{
5881 echo
5882 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5883## Running $as_me. ##
5884_ASBOX
5885 $as_echo "$ac_log"
5886} >&5
5887
5888_ACEOF
5889cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5890_ACEOF
5891
5892cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5893
5894# Handling of arguments.
5895for ac_config_target in $ac_config_targets
5896do
5897 case $ac_config_target in
5898 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5899 "MCONFIG") CONFIG_FILES="$CONFIG_FILES MCONFIG" ;;
5900 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5901 "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
5902 "compat/include/Makefile") CONFIG_FILES="$CONFIG_FILES compat/include/Makefile" ;;
5903 "compat/lib/Makefile") CONFIG_FILES="$CONFIG_FILES compat/lib/Makefile" ;;
5904 "dump/Makefile") CONFIG_FILES="$CONFIG_FILES dump/Makefile" ;;
5905 "restore/Makefile") CONFIG_FILES="$CONFIG_FILES restore/Makefile" ;;
5906 "testing/Makefile") CONFIG_FILES="$CONFIG_FILES testing/Makefile" ;;
5907 "$RMTMAKEFILE") CONFIG_FILES="$CONFIG_FILES $RMTMAKEFILE" ;;
5908
5909 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
5910 esac
5911done
5912
5913
5914# If the user did not use the arguments to specify the items to instantiate,
5915# then the envvar interface is used. Set only those that are not.
5916# We use the long form for the default assignment because of an extremely
5917# bizarre bug on SunOS 4.1.3.
5918if $ac_need_defaults; then
5919 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5920 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5921fi
5922
5923# Have a temporary directory for convenience. Make it in the build tree
5924# simply because there is no reason against having it here, and in addition,
5925# creating and moving files from /tmp can sometimes cause problems.
5926# Hook for its removal unless debugging.
5927# Note that there is a small window in which the directory will not be cleaned:
5928# after its creation but before its name has been assigned to `$tmp'.
5929$debug ||
5930{
5931 tmp=
5932 trap 'exit_status=$?
5933 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5934' 0
5935 trap 'as_fn_exit 1' 1 2 13 15
5936}
5937# Create a (secure) tmp directory for tmp files.
5938
5939{
5940 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5941 test -n "$tmp" && test -d "$tmp"
5942} ||
5943{
5944 tmp=./conf$$-$RANDOM
5945 (umask 077 && mkdir "$tmp")
5946} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5947
5948# Set up the scripts for CONFIG_FILES section.
5949# No need to generate them if there are no CONFIG_FILES.
5950# This happens for instance with `./config.status config.h'.
5951if test -n "$CONFIG_FILES"; then
5952
5953if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
5954 ac_cs_awk_getline=:
5955 ac_cs_awk_pipe_init=
5956 ac_cs_awk_read_file='
5957 while ((getline aline < (F[key])) > 0)
5958 print(aline)
5959 close(F[key])'
5960 ac_cs_awk_pipe_fini=
5961else
5962 ac_cs_awk_getline=false
5963 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
5964 ac_cs_awk_read_file='
5965 print "|#_!!_#|"
5966 print "cat " F[key] " &&"
5967 '$ac_cs_awk_pipe_init
5968 # The final `:' finishes the AND list.
5969 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
5970fi
5971ac_cr=`echo X | tr X '\015'`
5972# On cygwin, bash can eat \r inside `` if the user requested igncr.
5973# But we know of no other shell where ac_cr would be empty at this
5974# point, so we can use a bashism as a fallback.
5975if test "x$ac_cr" = x; then
5976 eval ac_cr=\$\'\\r\'
5977fi
5978ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5979if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5980 ac_cs_awk_cr='\\r'
5981else
5982 ac_cs_awk_cr=$ac_cr
5983fi
5984
5985echo 'BEGIN {' >"$tmp/subs1.awk" &&
5986_ACEOF
5987
5988# Create commands to substitute file output variables.
5989{
5990 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
5991 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
5992 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
5993 echo "_ACAWK" &&
5994 echo "_ACEOF"
5995} >conf$$files.sh &&
5996. ./conf$$files.sh ||
5997 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5998rm -f conf$$files.sh
5999
6000{
6001 echo "cat >conf$$subs.awk <<_ACEOF" &&
6002 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6003 echo "_ACEOF"
6004} >conf$$subs.sh ||
6005 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6006ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6007ac_delim='%!_!# '
6008for ac_last_try in false false false false false :; do
6009 . ./conf$$subs.sh ||
6010 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6011
6012 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6013 if test $ac_delim_n = $ac_delim_num; then
6014 break
6015 elif $ac_last_try; then
6016 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6017 else
6018 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6019 fi
6020done
6021rm -f conf$$subs.sh
6022
6023cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6024cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6025_ACEOF
6026sed -n '
6027h
6028s/^/S["/; s/!.*/"]=/
6029p
6030g
6031s/^[^!]*!//
6032:repl
6033t repl
6034s/'"$ac_delim"'$//
6035t delim
6036:nl
6037h
6038s/\(.\{148\}\)..*/\1/
6039t more1
6040s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6041p
6042n
6043b repl
6044:more1
6045s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6046p
6047g
6048s/.\{148\}//
6049t nl
6050:delim
6051h
6052s/\(.\{148\}\)..*/\1/
6053t more2
6054s/["\\]/\\&/g; s/^/"/; s/$/"/
6055p
6056b
6057:more2
6058s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6059p
6060g
6061s/.\{148\}//
6062t delim
6063' <conf$$subs.awk | sed '
6064/^[^""]/{
6065 N
6066 s/\n//
6067}
6068' >>$CONFIG_STATUS || ac_write_fail=1
6069rm -f conf$$subs.awk
6070cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6071_ACAWK
6072cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6073 for (key in S) S_is_set[key] = 1
6074 FS = "\a"
6075 \$ac_cs_awk_pipe_init
6076}
6077{
6078 line = $ 0
6079 nfields = split(line, field, "@")
6080 substed = 0
6081 len = length(field[1])
6082 for (i = 2; i < nfields; i++) {
6083 key = field[i]
6084 keylen = length(key)
6085 if (S_is_set[key]) {
6086 value = S[key]
6087 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6088 len += length(value) + length(field[++i])
6089 substed = 1
6090 } else
6091 len += 1 + keylen
6092 }
6093 if (nfields == 3 && !substed) {
6094 key = field[2]
6095 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
6096 \$ac_cs_awk_read_file
6097 next
6098 }
6099 }
6100 print line
6101}
6102\$ac_cs_awk_pipe_fini
6103_ACAWK
6104_ACEOF
6105cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6106if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6107 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6108else
6109 cat
6110fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6111 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6112_ACEOF
6113
6114# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6115# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6116# trailing colons and then remove the whole line if VPATH becomes empty
6117# (actually we leave an empty line to preserve line numbers).
6118if test "x$srcdir" = x.; then
6119 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6120h
6121s///
6122s/^/:/
6123s/[ ]*$/:/
6124s/:\$(srcdir):/:/g
6125s/:\${srcdir}:/:/g
6126s/:@srcdir@:/:/g
6127s/^:*//
6128s/:*$//
6129x
6130s/\(=[ ]*\).*/\1/
6131G
6132s/\n//
6133s/^[^=]*=[ ]*$//
6134}'
6135fi
6136
6137cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6138fi # test -n "$CONFIG_FILES"
6139
6140# Set up the scripts for CONFIG_HEADERS section.
6141# No need to generate them if there are no CONFIG_HEADERS.
6142# This happens for instance with `./config.status Makefile'.
6143if test -n "$CONFIG_HEADERS"; then
6144cat >"$tmp/defines.awk" <<\_ACAWK ||
6145BEGIN {
6146_ACEOF
6147
6148# Transform confdefs.h into an awk script `defines.awk', embedded as
6149# here-document in config.status, that substitutes the proper values into
6150# config.h.in to produce config.h.
6151
6152# Create a delimiter string that does not exist in confdefs.h, to ease
6153# handling of long lines.
6154ac_delim='%!_!# '
6155for ac_last_try in false false :; do
6156 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6157 if test -z "$ac_t"; then
6158 break
6159 elif $ac_last_try; then
6160 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6161 else
6162 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6163 fi
6164done
6165
6166# For the awk script, D is an array of macro values keyed by name,
6167# likewise P contains macro parameters if any. Preserve backslash
6168# newline sequences.
6169
6170ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6171sed -n '
6172s/.\{148\}/&'"$ac_delim"'/g
6173t rset
6174:rset
6175s/^[ ]*#[ ]*define[ ][ ]*/ /
6176t def
6177d
6178:def
6179s/\\$//
6180t bsnl
6181s/["\\]/\\&/g
6182s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6183D["\1"]=" \3"/p
6184s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6185d
6186:bsnl
6187s/["\\]/\\&/g
6188s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6189D["\1"]=" \3\\\\\\n"\\/p
6190t cont
6191s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6192t cont
6193d
6194:cont
6195n
6196s/.\{148\}/&'"$ac_delim"'/g
6197t clear
6198:clear
6199s/\\$//
6200t bsnlc
6201s/["\\]/\\&/g; s/^/"/; s/$/"/p
6202d
6203:bsnlc
6204s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6205b cont
6206' <confdefs.h | sed '
6207s/'"$ac_delim"'/"\\\
6208"/g' >>$CONFIG_STATUS || ac_write_fail=1
6209
6210cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6211 for (key in D) D_is_set[key] = 1
6212 FS = "\a"
6213}
6214/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6215 line = \$ 0
6216 split(line, arg, " ")
6217 if (arg[1] == "#") {
6218 defundef = arg[2]
6219 mac1 = arg[3]
6220 } else {
6221 defundef = substr(arg[1], 2)
6222 mac1 = arg[2]
6223 }
6224 split(mac1, mac2, "(") #)
6225 macro = mac2[1]
6226 prefix = substr(line, 1, index(line, defundef) - 1)
6227 if (D_is_set[macro]) {
6228 # Preserve the white space surrounding the "#".
6229 print prefix "define", macro P[macro] D[macro]
6230 next
6231 } else {
6232 # Replace #undef with comments. This is necessary, for example,
6233 # in the case of _POSIX_SOURCE, which is predefined and required
6234 # on some systems where configure will not decide to define it.
6235 if (defundef == "undef") {
6236 print "/*", prefix defundef, macro, "*/"
6237 next
6238 }
6239 }
6240}
6241{ print }
6242_ACAWK
6243_ACEOF
6244cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6245 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6246fi # test -n "$CONFIG_HEADERS"
6247
6248
6249eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
6250shift
6251for ac_tag
6252do
6253 case $ac_tag in
6254 :[FHLC]) ac_mode=$ac_tag; continue;;
6255 esac
6256 case $ac_mode$ac_tag in
6257 :[FHL]*:*);;
6258 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
6259 :[FH]-) ac_tag=-:-;;
6260 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6261 esac
6262 ac_save_IFS=$IFS
6263 IFS=:
6264 set x $ac_tag
6265 IFS=$ac_save_IFS
6266 shift
6267 ac_file=$1
6268 shift
6269
6270 case $ac_mode in
6271 :L) ac_source=$1;;
6272 :[FH])
6273 ac_file_inputs=
6274 for ac_f
6275 do
6276 case $ac_f in
6277 -) ac_f="$tmp/stdin";;
6278 *) # Look for the file first in the build tree, then in the source tree
6279 # (if the path is not absolute). The absolute path cannot be DOS-style,
6280 # because $ac_f cannot contain `:'.
6281 test -f "$ac_f" ||
6282 case $ac_f in
6283 [\\/$]*) false;;
6284 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6285 esac ||
6286 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
6287 esac
6288 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6289 as_fn_append ac_file_inputs " '$ac_f'"
6290 done
6291
6292 # Let's still pretend it is `configure' which instantiates (i.e., don't
6293 # use $as_me), people would be surprised to read:
6294 # /* config.h. Generated by config.status. */
6295 configure_input='Generated from '`
6296 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6297 `' by configure.'
6298 if test x"$ac_file" != x-; then
6299 configure_input="$ac_file. $configure_input"
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6301$as_echo "$as_me: creating $ac_file" >&6;}
6302 fi
6303 # Neutralize special characters interpreted by sed in replacement strings.
6304 case $configure_input in #(
6305 *\&* | *\|* | *\\* )
6306 ac_sed_conf_input=`$as_echo "$configure_input" |
6307 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6308 *) ac_sed_conf_input=$configure_input;;
6309 esac
6310
6311 case $ac_tag in
6312 *:-:* | *:-) cat >"$tmp/stdin" \
6313 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6314 esac
6315 ;;
6316 esac
6317
6318 ac_dir=`$as_dirname -- "$ac_file" ||
6319$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6320 X"$ac_file" : 'X\(//\)[^/]' \| \
6321 X"$ac_file" : 'X\(//\)$' \| \
6322 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6323$as_echo X"$ac_file" |
6324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6325 s//\1/
6326 q
6327 }
6328 /^X\(\/\/\)[^/].*/{
6329 s//\1/
6330 q
6331 }
6332 /^X\(\/\/\)$/{
6333 s//\1/
6334 q
6335 }
6336 /^X\(\/\).*/{
6337 s//\1/
6338 q
6339 }
6340 s/.*/./; q'`
6341 as_dir="$ac_dir"; as_fn_mkdir_p
6342 ac_builddir=.
6343
6344case "$ac_dir" in
6345.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6346*)
6347 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6348 # A ".." for each directory in $ac_dir_suffix.
6349 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6350 case $ac_top_builddir_sub in
6351 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6352 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6353 esac ;;
6354esac
6355ac_abs_top_builddir=$ac_pwd
6356ac_abs_builddir=$ac_pwd$ac_dir_suffix
6357# for backward compatibility:
6358ac_top_builddir=$ac_top_build_prefix
6359
6360case $srcdir in
6361 .) # We are building in place.
6362 ac_srcdir=.
6363 ac_top_srcdir=$ac_top_builddir_sub
6364 ac_abs_top_srcdir=$ac_pwd ;;
6365 [\\/]* | ?:[\\/]* ) # Absolute name.
6366 ac_srcdir=$srcdir$ac_dir_suffix;
6367 ac_top_srcdir=$srcdir
6368 ac_abs_top_srcdir=$srcdir ;;
6369 *) # Relative name.
6370 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6371 ac_top_srcdir=$ac_top_build_prefix$srcdir
6372 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6373esac
6374ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6375
6376
6377 case $ac_mode in
6378 :F)
6379 #
6380 # CONFIG_FILE
6381 #
6382
6383 case $INSTALL in
6384 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6385 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6386 esac
6387_ACEOF
6388
6389cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6390# If the template does not know about datarootdir, expand it.
6391# FIXME: This hack should be removed a few years after 2.60.
6392ac_datarootdir_hack=; ac_datarootdir_seen=
6393ac_sed_dataroot='
6394/datarootdir/ {
6395 p
6396 q
6397}
6398/@datadir@/p
6399/@docdir@/p
6400/@infodir@/p
6401/@localedir@/p
6402/@mandir@/p'
6403case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6404*datarootdir*) ac_datarootdir_seen=yes;;
6405*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6407$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6408_ACEOF
6409cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6410 ac_datarootdir_hack='
6411 s&@datadir@&$datadir&g
6412 s&@docdir@&$docdir&g
6413 s&@infodir@&$infodir&g
6414 s&@localedir@&$localedir&g
6415 s&@mandir@&$mandir&g
6416 s&\\\${datarootdir}&$datarootdir&g' ;;
6417esac
6418_ACEOF
6419
6420# Neutralize VPATH when `$srcdir' = `.'.
6421# Shell code in configure.ac might set extrasub.
6422# FIXME: do we really want to maintain this feature?
6423cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6424ac_sed_extra="$ac_vpsub
6425$extrasub
6426_ACEOF
6427cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6428:t
6429/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6430s|@configure_input@|$ac_sed_conf_input|;t t
6431s&@top_builddir@&$ac_top_builddir_sub&;t t
6432s&@top_build_prefix@&$ac_top_build_prefix&;t t
6433s&@srcdir@&$ac_srcdir&;t t
6434s&@abs_srcdir@&$ac_abs_srcdir&;t t
6435s&@top_srcdir@&$ac_top_srcdir&;t t
6436s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6437s&@builddir@&$ac_builddir&;t t
6438s&@abs_builddir@&$ac_abs_builddir&;t t
6439s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6440s&@INSTALL@&$ac_INSTALL&;t t
6441$ac_datarootdir_hack
6442"
6443eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
6444if $ac_cs_awk_getline; then
6445 $AWK -f "$tmp/subs.awk"
6446else
6447 $AWK -f "$tmp/subs.awk" | $SHELL
6448fi >$tmp/out \
6449 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6450
6451test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6452 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6453 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6455which seems to be undefined. Please make sure it is defined" >&5
6456$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6457which seems to be undefined. Please make sure it is defined" >&2;}
6458
6459 rm -f "$tmp/stdin"
6460 case $ac_file in
6461 -) cat "$tmp/out" && rm -f "$tmp/out";;
6462 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6463 esac \
6464 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6465 ;;
6466 :H)
6467 #
6468 # CONFIG_HEADER
6469 #
6470 if test x"$ac_file" != x-; then
6471 {
6472 $as_echo "/* $configure_input */" \
6473 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6474 } >"$tmp/config.h" \
6475 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6476 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6478$as_echo "$as_me: $ac_file is unchanged" >&6;}
6479 else
6480 rm -f "$ac_file"
6481 mv "$tmp/config.h" "$ac_file" \
6482 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6483 fi
6484 else
6485 $as_echo "/* $configure_input */" \
6486 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6487 || as_fn_error $? "could not create -" "$LINENO" 5
6488 fi
6489 ;;
6490
6491
6492 esac
6493
6494done # for ac_tag
6495
6496
6497as_fn_exit 0
6498_ACEOF
6499ac_clean_files=$ac_clean_files_save
6500
6501test $ac_write_fail = 0 ||
6502 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6503
6504
6505# configure is writing to config.log, and then calls config.status.
6506# config.status does its own redirection, appending to config.log.
6507# Unfortunately, on DOS this fails, as config.log is still kept open
6508# by configure, so config.status won't be able to write to it; its
6509# output is simply discarded. So we exec the FD to /dev/null,
6510# effectively closing config.log, so it can be properly (re)opened and
6511# appended to by config.status. When coming back to configure, we
6512# need to make the FD available again.
6513if test "$no_create" != yes; then
6514 ac_cs_success=:
6515 ac_config_status_args=
6516 test "$silent" = yes &&
6517 ac_config_status_args="$ac_config_status_args --quiet"
6518 exec 5>/dev/null
6519 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6520 exec 5>>config.log
6521 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6522 # would make configure fail if this is the last instruction.
6523 $ac_cs_success || as_fn_exit 1
6524fi
6525if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6527$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6528fi
6529