Regenerate configure.
[dump.git] / configure
CommitLineData
1227625a 1#! /bin/sh
1227625a 2# Guess values for system-dependent variables and create Makefiles.
1a394135
SP
3# Generated by GNU Autoconf 2.67.
4#
1227625a 5#
7f7d329e 6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1a394135
SP
7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8# Foundation, Inc.
9#
10#
1227625a
SP
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
1a394135
SP
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
1daf06b9 16
d2816d4c
SP
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
1a394135 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1daf06b9
SP
20 emulate sh
21 NULLCMD=:
572eed31 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
cdfe1392
SP
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
7f7d329e
SP
25 setopt NO_GLOB_SUBST
26else
1a394135
SP
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
d2816d4c 32esac
1daf06b9 33fi
d2816d4c
SP
34
35
572eed31
SP
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
1a394135
SP
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
572eed31
SP
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'
7f7d329e 56 else
572eed31
SP
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
1a394135 60 case $arg in #(
572eed31
SP
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'
7f7d329e 69 fi
572eed31
SP
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 }
7f7d329e
SP
81fi
82
cdfe1392 83
7f7d329e
SP
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.)
7f7d329e
SP
89IFS=" "" $as_nl"
90
91# Find who we are. Look in the path if we contain no directory separator.
1a394135 92case $0 in #((
7f7d329e
SP
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=.
1a394135
SP
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100 done
7f7d329e
SP
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
572eed31 111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1a394135 112 exit 1
7f7d329e
SP
113fi
114
1a394135
SP
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 || :
7f7d329e 122done
cdfe1392
SP
123PS1='$ '
124PS2='> '
125PS4='+ '
126
127# NLS nuisances.
572eed31
SP
128LC_ALL=C
129export LC_ALL
130LANGUAGE=C
131export LANGUAGE
cdfe1392 132
1a394135
SP
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
7f7d329e
SP
375if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
cdfe1392
SP
377 as_expr=expr
378else
379 as_expr=false
380fi
381
7f7d329e 382if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
cdfe1392
SP
383 as_basename=basename
384else
385 as_basename=false
386fi
1daf06b9 387
1a394135
SP
388if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389 as_dirname=dirname
390else
391 as_dirname=false
392fi
1daf06b9 393
7f7d329e 394as_me=`$as_basename -- "$0" ||
1daf06b9
SP
395$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
7f7d329e 397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
572eed31 398$as_echo X/"$0" |
7f7d329e
SP
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'`
1daf06b9 412
1a394135
SP
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
cdfe1392 419
1daf06b9 420
1a394135
SP
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; }
1daf06b9 443
1a394135
SP
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
7f7d329e 450}
1daf06b9 451
1a394135
SP
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
1daf06b9 464
1a394135
SP
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
7f7d329e 471fi
1a394135
SP
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
7f7d329e 486else
1a394135 487 as_ln_s='cp -p'
7f7d329e 488fi
1a394135
SP
489rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490rmdir conf$$.dir 2>/dev/null
7f7d329e 491
1a394135
SP
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
7f7d329e
SP
497fi
498
1a394135
SP
499if test -x / >/dev/null 2>&1; then
500 as_test_x='test -x'
7f7d329e 501else
1a394135
SP
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 '
7f7d329e 519fi
1a394135 520as_executable_p=$as_test_x
7f7d329e 521
1a394135
SP
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'"
7f7d329e 524
1a394135
SP
525# Sed expression to map a string onto a valid variable name.
526as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7f7d329e
SP
527
528
1a394135
SP
529test -n "$DJDIR" || exec 7<&0 </dev/null
530exec 6>&1
1daf06b9
SP
531
532# Name of the host.
1a394135 533# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
1daf06b9
SP
534# so uname gets run too.
535ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
536
1daf06b9
SP
537#
538# Initializations.
539#
1227625a 540ac_default_prefix=/usr/local
7f7d329e 541ac_clean_files=
cdfe1392 542ac_config_libobj_dir=.
7f7d329e 543LIBOBJS=
1daf06b9
SP
544cross_compiling=no
545subdirs=
546MFLAGS=
547MAKEFLAGS=
1daf06b9 548
1daf06b9
SP
549# Identity of this package.
550PACKAGE_NAME=
551PACKAGE_TARNAME=
552PACKAGE_VERSION=
553PACKAGE_STRING=
554PACKAGE_BUGREPORT=
1a394135 555PACKAGE_URL=
1daf06b9
SP
556
557ac_unique_file="dump/dump.h"
558# Factoring default headers for most tests.
559ac_includes_default="\
560#include <stdio.h>
d2816d4c 561#ifdef HAVE_SYS_TYPES_H
1daf06b9
SP
562# include <sys/types.h>
563#endif
d2816d4c 564#ifdef HAVE_SYS_STAT_H
1daf06b9
SP
565# include <sys/stat.h>
566#endif
d2816d4c 567#ifdef STDC_HEADERS
1daf06b9
SP
568# include <stdlib.h>
569# include <stddef.h>
570#else
d2816d4c 571# ifdef HAVE_STDLIB_H
1daf06b9
SP
572# include <stdlib.h>
573# endif
574#endif
d2816d4c
SP
575#ifdef HAVE_STRING_H
576# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1daf06b9
SP
577# include <memory.h>
578# endif
579# include <string.h>
580#endif
d2816d4c 581#ifdef HAVE_STRINGS_H
1daf06b9
SP
582# include <strings.h>
583#endif
d2816d4c 584#ifdef HAVE_INTTYPES_H
1daf06b9 585# include <inttypes.h>
7f7d329e 586#endif
d2816d4c 587#ifdef HAVE_STDINT_H
7f7d329e 588# include <stdint.h>
1daf06b9 589#endif
d2816d4c 590#ifdef HAVE_UNISTD_H
1daf06b9
SP
591# include <unistd.h>
592#endif"
593
572eed31 594ac_subst_vars='LTLIBOBJS
7f7d329e 595LIBOBJS
572eed31 596top_builddir
e3956dfb 597SSLLIB
a37e7ac6 598SQLITE3
572eed31
SP
599BZLIB
600ZLIB
601READLINE
602BLKID
603DUMPDATESPATH
604MANMODE
605MANGRP
606MANOWNER
607BINMODE
608BINGRP
609BINOWNER
610LDOPTS
611CCOPTS
612LD
613CCTRANSSELINUX
614LTRANSSELINUX
615OPTDEFS
572eed31
SP
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
1a394135 672PACKAGE_URL
572eed31
SP
673PACKAGE_BUGREPORT
674PACKAGE_STRING
675PACKAGE_VERSION
676PACKAGE_TARNAME
677PACKAGE_NAME
678PATH_SEPARATOR
679SHELL'
cdfe1392 680ac_subst_files='MCONFIG'
572eed31
SP
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'
7f7d329e
SP
708 ac_precious_vars='build_alias
709host_alias
710target_alias
711CC
712CFLAGS
713LDFLAGS
d2816d4c 714LIBS
7f7d329e 715CPPFLAGS
a37e7ac6 716CPP'
7f7d329e 717
1227625a
SP
718
719# Initialize some variables set by options.
1daf06b9
SP
720ac_init_help=
721ac_init_version=false
572eed31
SP
722ac_unrecognized_opts=
723ac_unrecognized_sep=
1227625a
SP
724# The variables have the same names as the options, with
725# dashes changed to underlines.
1daf06b9 726cache_file=/dev/null
1227625a 727exec_prefix=NONE
1227625a 728no_create=
1227625a
SP
729no_recursion=
730prefix=NONE
731program_prefix=NONE
732program_suffix=NONE
733program_transform_name=s,x,x,
734silent=
735site=
736srcdir=
1227625a
SP
737verbose=
738x_includes=NONE
739x_libraries=NONE
1daf06b9
SP
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.
7f7d329e 746# (The list follows the same order as the GNU Coding Standards.)
1227625a
SP
747bindir='${exec_prefix}/bin'
748sbindir='${exec_prefix}/sbin'
749libexecdir='${exec_prefix}/libexec'
7f7d329e
SP
750datarootdir='${prefix}/share'
751datadir='${datarootdir}'
1227625a
SP
752sysconfdir='${prefix}/etc'
753sharedstatedir='${prefix}/com'
754localstatedir='${prefix}/var'
1227625a
SP
755includedir='${prefix}/include'
756oldincludedir='/usr/include'
7f7d329e
SP
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'
1227625a 766
1227625a 767ac_prev=
7f7d329e 768ac_dashdash=
1227625a
SP
769for ac_option
770do
1227625a
SP
771 # If the previous option needs an argument, assign it.
772 if test -n "$ac_prev"; then
7f7d329e 773 eval $ac_prev=\$ac_option
1227625a
SP
774 ac_prev=
775 continue
776 fi
777
7f7d329e 778 case $ac_option in
1a394135
SP
779 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
780 *=) ac_optarg= ;;
781 *) ac_optarg=yes ;;
7f7d329e 782 esac
1227625a
SP
783
784 # Accept the important Cygnus configure options, so we can diagnose typos.
785
7f7d329e
SP
786 case $ac_dashdash$ac_option in
787 --)
788 ac_dashdash=yes ;;
1227625a
SP
789
790 -bindir | --bindir | --bindi | --bind | --bin | --bi)
791 ac_prev=bindir ;;
792 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1daf06b9 793 bindir=$ac_optarg ;;
1227625a
SP
794
795 -build | --build | --buil | --bui | --bu)
1daf06b9 796 ac_prev=build_alias ;;
1227625a 797 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1daf06b9 798 build_alias=$ac_optarg ;;
1227625a
SP
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=*)
1daf06b9
SP
805 cache_file=$ac_optarg ;;
806
807 --config-cache | -C)
808 cache_file=config.cache ;;
1227625a 809
7f7d329e 810 -datadir | --datadir | --datadi | --datad)
1227625a 811 ac_prev=datadir ;;
7f7d329e 812 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1daf06b9 813 datadir=$ac_optarg ;;
1227625a 814
7f7d329e
SP
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
1227625a 822 -disable-* | --disable-*)
572eed31 823 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1227625a 824 # Reject names that are not valid shell variable names.
572eed31 825 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1a394135 826 as_fn_error $? "invalid feature name: $ac_useropt"
572eed31
SP
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 ;;
7f7d329e
SP
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 ;;
1227625a
SP
847
848 -enable-* | --enable-*)
572eed31 849 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1227625a 850 # Reject names that are not valid shell variable names.
572eed31 851 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1a394135 852 as_fn_error $? "invalid feature name: $ac_useropt"
572eed31
SP
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 ;;
1227625a
SP
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=*)
1daf06b9 871 exec_prefix=$ac_optarg ;;
1227625a
SP
872
873 -gas | --gas | --ga | --g)
874 # Obsolete; use --with-gas.
875 with_gas=yes ;;
876
1daf06b9
SP
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 ;;
1227625a
SP
883
884 -host | --host | --hos | --ho)
1daf06b9 885 ac_prev=host_alias ;;
1227625a 886 -host=* | --host=* | --hos=* | --ho=*)
1daf06b9 887 host_alias=$ac_optarg ;;
1227625a 888
7f7d329e
SP
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
1227625a
SP
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=*)
1daf06b9 900 includedir=$ac_optarg ;;
1227625a
SP
901
902 -infodir | --infodir | --infodi | --infod | --info | --inf)
903 ac_prev=infodir ;;
904 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1daf06b9 905 infodir=$ac_optarg ;;
1227625a
SP
906
907 -libdir | --libdir | --libdi | --libd)
908 ac_prev=libdir ;;
909 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1daf06b9 910 libdir=$ac_optarg ;;
1227625a
SP
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=*)
1daf06b9 917 libexecdir=$ac_optarg ;;
1227625a 918
7f7d329e
SP
919 -localedir | --localedir | --localedi | --localed | --locale)
920 ac_prev=localedir ;;
921 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
922 localedir=$ac_optarg ;;
923
1227625a 924 -localstatedir | --localstatedir | --localstatedi | --localstated \
7f7d329e 925 | --localstate | --localstat | --localsta | --localst | --locals)
1227625a
SP
926 ac_prev=localstatedir ;;
927 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
7f7d329e 928 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1daf06b9 929 localstatedir=$ac_optarg ;;
1227625a
SP
930
931 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
932 ac_prev=mandir ;;
933 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1daf06b9 934 mandir=$ac_optarg ;;
1227625a
SP
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 \
1daf06b9 941 | --no-cr | --no-c | -n)
1227625a
SP
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=*)
1daf06b9 955 oldincludedir=$ac_optarg ;;
1227625a
SP
956
957 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
958 ac_prev=prefix ;;
959 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1daf06b9 960 prefix=$ac_optarg ;;
1227625a
SP
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=*)
1daf06b9 967 program_prefix=$ac_optarg ;;
1227625a
SP
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=*)
1daf06b9 974 program_suffix=$ac_optarg ;;
1227625a
SP
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=*)
1daf06b9 991 program_transform_name=$ac_optarg ;;
1227625a 992
7f7d329e
SP
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
1227625a
SP
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=*)
1daf06b9 1011 sbindir=$ac_optarg ;;
1227625a
SP
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=*)
1daf06b9 1022 sharedstatedir=$ac_optarg ;;
1227625a
SP
1023
1024 -site | --site | --sit)
1025 ac_prev=site ;;
1026 -site=* | --site=* | --sit=*)
1daf06b9 1027 site=$ac_optarg ;;
1227625a
SP
1028
1029 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1030 ac_prev=srcdir ;;
1031 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1daf06b9 1032 srcdir=$ac_optarg ;;
1227625a
SP
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=*)
1daf06b9 1039 sysconfdir=$ac_optarg ;;
1227625a
SP
1040
1041 -target | --target | --targe | --targ | --tar | --ta | --t)
1daf06b9 1042 ac_prev=target_alias ;;
1227625a 1043 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1daf06b9 1044 target_alias=$ac_optarg ;;
1227625a
SP
1045
1046 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1047 verbose=yes ;;
1048
1daf06b9
SP
1049 -version | --version | --versio | --versi | --vers | -V)
1050 ac_init_version=: ;;
1227625a
SP
1051
1052 -with-* | --with-*)
572eed31 1053 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1227625a 1054 # Reject names that are not valid shell variable names.
572eed31 1055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1a394135 1056 as_fn_error $? "invalid package name: $ac_useropt"
572eed31
SP
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 ;;
1227625a
SP
1067
1068 -without-* | --without-*)
572eed31 1069 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1227625a 1070 # Reject names that are not valid shell variable names.
572eed31 1071 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1a394135 1072 as_fn_error $? "invalid package name: $ac_useropt"
572eed31
SP
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 ;;
1227625a
SP
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=*)
1daf06b9 1093 x_includes=$ac_optarg ;;
1227625a
SP
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=*)
1daf06b9 1100 x_libraries=$ac_optarg ;;
1227625a 1101
1a394135
SP
1102 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1103Try \`$0 --help' for more information"
1227625a
SP
1104 ;;
1105
1daf06b9
SP
1106 *=*)
1107 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1108 # Reject names that are not valid shell variable names.
1a394135
SP
1109 case $ac_envvar in #(
1110 '' | [0-9]* | *[!_$as_cr_alnum]* )
1111 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1112 esac
7f7d329e 1113 eval $ac_envvar=\$ac_optarg
1daf06b9
SP
1114 export $ac_envvar ;;
1115
1227625a 1116 *)
1daf06b9 1117 # FIXME: should be removed in autoconf 3.0.
572eed31 1118 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1daf06b9 1119 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
572eed31 1120 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1daf06b9 1121 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1227625a
SP
1122 ;;
1123
1124 esac
1125done
1126
1127if test -n "$ac_prev"; then
1daf06b9 1128 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1a394135 1129 as_fn_error $? "missing argument to $ac_option"
1227625a 1130fi
1227625a 1131
572eed31
SP
1132if test -n "$ac_unrecognized_opts"; then
1133 case $enable_option_checking in
1134 no) ;;
1a394135 1135 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
572eed31
SP
1136 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1137 esac
1138fi
1139
1140# Check all directory arguments for consistency.
7f7d329e
SP
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
1227625a 1145do
7f7d329e 1146 eval ac_val=\$$ac_var
572eed31
SP
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.
1daf06b9 1154 case $ac_val in
7f7d329e
SP
1155 [\\/$]* | ?:[\\/]* ) continue;;
1156 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1227625a 1157 esac
1a394135 1158 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1227625a
SP
1159done
1160
1daf06b9
SP
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
1a394135
SP
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
1daf06b9
SP
1174 elif test "x$build_alias" != "x$host_alias"; then
1175 cross_compiling=yes
1176 fi
1177fi
1227625a 1178
1daf06b9
SP
1179ac_tool_prefix=
1180test -n "$host_alias" && ac_tool_prefix=$host_alias-
1181
1182test "$silent" = yes && exec 6>/dev/null
1227625a 1183
1227625a 1184
7f7d329e
SP
1185ac_pwd=`pwd` && test -n "$ac_pwd" &&
1186ac_ls_di=`ls -di .` &&
1187ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1a394135 1188 as_fn_error $? "working directory cannot be determined"
7f7d329e 1189test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1a394135 1190 as_fn_error $? "pwd does not report name of working directory"
7f7d329e
SP
1191
1192
1227625a
SP
1193# Find the source files, if location was not specified.
1194if test -z "$srcdir"; then
1195 ac_srcdir_defaulted=yes
7f7d329e 1196 # Try the directory containing this script, then the parent directory.
572eed31
SP
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" |
7f7d329e
SP
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'`
1227625a 1220 srcdir=$ac_confdir
7f7d329e 1221 if test ! -r "$srcdir/$ac_unique_file"; then
1227625a
SP
1222 srcdir=..
1223 fi
1224else
1225 ac_srcdir_defaulted=no
1226fi
7f7d329e
SP
1227if test ! -r "$srcdir/$ac_unique_file"; then
1228 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1a394135 1229 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1227625a 1230fi
7f7d329e
SP
1231ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1232ac_abs_confdir=`(
1a394135 1233 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
7f7d329e
SP
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
1daf06b9
SP
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
1a394135 1273 -q, --quiet, --silent do not print \`checking ...' messages
1daf06b9
SP
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
1daf06b9
SP
1279Installation directories:
1280 --prefix=PREFIX install architecture-independent files in PREFIX
572eed31 1281 [$ac_default_prefix]
1daf06b9 1282 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
572eed31 1283 [PREFIX]
1daf06b9
SP
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:
572eed31
SP
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]
1daf06b9
SP
1312_ACEOF
1313
1314 cat <<\_ACEOF
1315_ACEOF
1316fi
1317
1318if test -n "$ac_init_help"; then
1319
1320 cat <<\_ACEOF
1321
1322Optional Features:
572eed31 1323 --disable-option-checking ignore unrecognized --enable/--with options
1daf06b9
SP
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)
d7783603 1328 --enable-staticz link libz and libbz2 statically (default is NO)
1daf06b9 1329 --enable-rmt compile and install rmt (default is YES)
cdfe1392 1330 --enable-ermt compile ermt, an encrypting version of rmt (default is NO)
1daf06b9
SP
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)
d1925e0c 1337 --enable-macosx include Mac OSX restore compatibility (default is NO)
7f7d329e 1338 --enable-transselinux restore can translate SELinux EAs (default is YES)
1daf06b9
SP
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>
d2816d4c 1360 LIBS libraries to pass to the linker, e.g. -l<library>
1a394135 1361 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
7f7d329e 1362 you have headers in a nonstandard directory <include dir>
1daf06b9
SP
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
1a394135 1368Report bugs to the package provider.
1daf06b9 1369_ACEOF
7f7d329e 1370ac_status=$?
1daf06b9
SP
1371fi
1372
1373if test "$ac_init_help" = "recursive"; then
1374 # If there are subdirs, report their specific --help.
1daf06b9 1375 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
572eed31
SP
1376 test -d "$ac_dir" ||
1377 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1378 continue
1daf06b9
SP
1379 ac_builddir=.
1380
7f7d329e
SP
1381case "$ac_dir" in
1382.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1383*)
572eed31 1384 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7f7d329e 1385 # A ".." for each directory in $ac_dir_suffix.
572eed31 1386 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7f7d329e
SP
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
1daf06b9
SP
1396
1397case $srcdir in
7f7d329e 1398 .) # We are building in place.
1daf06b9 1399 ac_srcdir=.
7f7d329e
SP
1400 ac_top_srcdir=$ac_top_builddir_sub
1401 ac_abs_top_srcdir=$ac_pwd ;;
1402 [\\/]* | ?:[\\/]* ) # Absolute name.
1daf06b9 1403 ac_srcdir=$srcdir$ac_dir_suffix;
7f7d329e
SP
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 ;;
c9e4e868 1410esac
7f7d329e
SP
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
1daf06b9 1421 else
572eed31 1422 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
7f7d329e
SP
1423 fi || ac_status=$?
1424 cd "$ac_pwd" || { ac_status=$?; break; }
1daf06b9
SP
1425 done
1426fi
1427
7f7d329e 1428test -n "$ac_init_help" && exit $ac_status
1daf06b9
SP
1429if $ac_init_version; then
1430 cat <<\_ACEOF
7f7d329e 1431configure
1a394135 1432generated by GNU Autoconf 2.67
1daf06b9 1433
1a394135 1434Copyright (C) 2010 Free Software Foundation, Inc.
1daf06b9
SP
1435This configure script is free software; the Free Software Foundation
1436gives unlimited permission to copy, distribute and modify it.
1437_ACEOF
7f7d329e 1438 exit
1daf06b9 1439fi
1daf06b9 1440
1a394135
SP
1441## ------------------------ ##
1442## Autoconf initialization. ##
1443## ------------------------ ##
1daf06b9 1444
1a394135
SP
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 ()
1daf06b9 1449{
1a394135
SP
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
1daf06b9 1475
1a394135
SP
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
1daf06b9 1480
1a394135 1481} # ac_fn_c_try_compile
1daf06b9 1482
1a394135
SP
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`
1daf06b9
SP
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=.
1a394135
SP
1916 $as_echo "PATH: $as_dir"
1917 done
7f7d329e 1918IFS=$as_save_IFS
1daf06b9
SP
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.
cdfe1392 1934# Strip out --silent because we don't want to record it for future runs.
1daf06b9 1935# Also quote any args containing shell meta-characters.
cdfe1392 1936# Make two passes to allow for proper duplicate-argument suppression.
1daf06b9 1937ac_configure_args=
cdfe1392
SP
1938ac_configure_args0=
1939ac_configure_args1=
cdfe1392
SP
1940ac_must_keep_next=false
1941for ac_pass in 1 2
1daf06b9 1942do
cdfe1392
SP
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 ;;
7f7d329e 1950 *\'*)
572eed31 1951 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
cdfe1392
SP
1952 esac
1953 case $ac_pass in
1a394135 1954 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
cdfe1392 1955 2)
1a394135 1956 as_fn_append ac_configure_args1 " '$ac_arg'"
cdfe1392 1957 if test $ac_must_keep_next = true; then
c9e4e868 1958 ac_must_keep_next=false # Got value, back to normal.
cdfe1392 1959 else
c9e4e868
SP
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
cdfe1392 1971 fi
1a394135 1972 as_fn_append ac_configure_args " '$ac_arg'"
cdfe1392
SP
1973 ;;
1974 esac
1975 done
1daf06b9 1976done
1a394135
SP
1977{ ac_configure_args0=; unset ac_configure_args0;}
1978{ ac_configure_args1=; unset ac_configure_args1;}
1daf06b9
SP
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.
7f7d329e
SP
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.
1daf06b9
SP
1985trap 'exit_status=$?
1986 # Save into config.log some information that might help in debugging.
1987 {
1988 echo
cdfe1392 1989
1a394135 1990 $as_echo "## ---------------- ##
1daf06b9 1991## Cache variables. ##
1a394135 1992## ---------------- ##"
1daf06b9
SP
1993 echo
1994 # The following way of writing the cache mishandles newlines in values,
7f7d329e
SP
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 #(
1a394135 2001 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
572eed31 2002$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7f7d329e
SP
2003 esac
2004 case $ac_var in #(
2005 _ | IFS | as_nl) ;; #(
572eed31 2006 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1a394135 2007 *) { eval $ac_var=; unset $ac_var;} ;;
7f7d329e
SP
2008 esac ;;
2009 esac
2010 done
1daf06b9 2011 (set) 2>&1 |
7f7d329e
SP
2012 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2013 *${as_nl}ac_space=\ *)
1daf06b9 2014 sed -n \
7f7d329e
SP
2015 "s/'\''/'\''\\\\'\'''\''/g;
2016 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2017 ;; #(
1daf06b9 2018 *)
7f7d329e 2019 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1daf06b9 2020 ;;
7f7d329e
SP
2021 esac |
2022 sort
2023)
1daf06b9 2024 echo
cdfe1392 2025
1a394135 2026 $as_echo "## ----------------- ##
cdfe1392 2027## Output variables. ##
1a394135 2028## ----------------- ##"
cdfe1392
SP
2029 echo
2030 for ac_var in $ac_subst_vars
2031 do
7f7d329e
SP
2032 eval ac_val=\$$ac_var
2033 case $ac_val in
572eed31 2034 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
7f7d329e 2035 esac
572eed31 2036 $as_echo "$ac_var='\''$ac_val'\''"
cdfe1392
SP
2037 done | sort
2038 echo
2039
2040 if test -n "$ac_subst_files"; then
1a394135 2041 $as_echo "## ------------------- ##
7f7d329e 2042## File substitutions. ##
1a394135 2043## ------------------- ##"
cdfe1392
SP
2044 echo
2045 for ac_var in $ac_subst_files
2046 do
7f7d329e
SP
2047 eval ac_val=\$$ac_var
2048 case $ac_val in
572eed31 2049 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
7f7d329e 2050 esac
572eed31 2051 $as_echo "$ac_var='\''$ac_val'\''"
cdfe1392
SP
2052 done | sort
2053 echo
2054 fi
2055
1daf06b9 2056 if test -s confdefs.h; then
1a394135 2057 $as_echo "## ----------- ##
1daf06b9 2058## confdefs.h. ##
1a394135 2059## ----------- ##"
1daf06b9 2060 echo
7f7d329e 2061 cat confdefs.h
1daf06b9
SP
2062 echo
2063 fi
2064 test "$ac_signal" != 0 &&
572eed31
SP
2065 $as_echo "$as_me: caught signal $ac_signal"
2066 $as_echo "$as_me: exit $exit_status"
1daf06b9 2067 } >&5
7f7d329e
SP
2068 rm -f core *.core core.conftest.* &&
2069 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1daf06b9 2070 exit $exit_status
7f7d329e 2071' 0
1daf06b9 2072for ac_signal in 1 2 13 15; do
1a394135 2073 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1daf06b9
SP
2074done
2075ac_signal=0
1227625a 2076
1daf06b9 2077# confdefs.h avoids OS command line length limits that DEFS can exceed.
7f7d329e 2078rm -f -r conftest* confdefs.h
1daf06b9 2079
1a394135
SP
2080$as_echo "/* confdefs.h */" > confdefs.h
2081
1daf06b9
SP
2082# Predefined preprocessor variables.
2083
2084cat >>confdefs.h <<_ACEOF
2085#define PACKAGE_NAME "$PACKAGE_NAME"
2086_ACEOF
2087
1daf06b9
SP
2088cat >>confdefs.h <<_ACEOF
2089#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2090_ACEOF
2091
1daf06b9
SP
2092cat >>confdefs.h <<_ACEOF
2093#define PACKAGE_VERSION "$PACKAGE_VERSION"
2094_ACEOF
2095
1daf06b9
SP
2096cat >>confdefs.h <<_ACEOF
2097#define PACKAGE_STRING "$PACKAGE_STRING"
2098_ACEOF
2099
1daf06b9
SP
2100cat >>confdefs.h <<_ACEOF
2101#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2102_ACEOF
2103
1a394135
SP
2104cat >>confdefs.h <<_ACEOF
2105#define PACKAGE_URL "$PACKAGE_URL"
2106_ACEOF
2107
1daf06b9
SP
2108
2109# Let the site file select an alternate cache file if it wants to.
572eed31
SP
2110# Prefer an explicitly selected file to automatically selected ones.
2111ac_site_file1=NONE
2112ac_site_file2=NONE
7f7d329e 2113if test -n "$CONFIG_SITE"; then
1a394135
SP
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
7f7d329e 2120elif test "x$prefix" != xNONE; then
572eed31
SP
2121 ac_site_file1=$prefix/share/config.site
2122 ac_site_file2=$prefix/etc/config.site
7f7d329e 2123else
572eed31
SP
2124 ac_site_file1=$ac_default_prefix/share/config.site
2125 ac_site_file2=$ac_default_prefix/etc/config.site
1227625a 2126fi
572eed31 2127for ac_site_file in "$ac_site_file1" "$ac_site_file2"
7f7d329e 2128do
572eed31 2129 test "x$ac_site_file" = xNONE && continue
1a394135
SP
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
572eed31 2132$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1daf06b9 2133 sed 's/^/| /' "$ac_site_file" >&5
1a394135
SP
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 ; }
1227625a
SP
2139 fi
2140done
2141
2142if test -r "$cache_file"; then
1a394135
SP
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
572eed31 2147$as_echo "$as_me: loading cache $cache_file" >&6;}
1daf06b9 2148 case $cache_file in
7f7d329e
SP
2149 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2150 *) . "./$cache_file";;
1daf06b9
SP
2151 esac
2152 fi
1227625a 2153else
1a394135 2154 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
572eed31 2155$as_echo "$as_me: creating cache $cache_file" >&6;}
1daf06b9
SP
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
7f7d329e 2162for ac_var in $ac_precious_vars; do
1daf06b9
SP
2163 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2164 eval ac_new_set=\$ac_env_${ac_var}_set
7f7d329e
SP
2165 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2166 eval ac_new_val=\$ac_env_${ac_var}_value
1daf06b9
SP
2167 case $ac_old_set,$ac_new_set in
2168 set,)
1a394135 2169 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
572eed31 2170$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1daf06b9
SP
2171 ac_cache_corrupted=: ;;
2172 ,set)
1a394135 2173 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
572eed31 2174$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1daf06b9
SP
2175 ac_cache_corrupted=: ;;
2176 ,);;
2177 *)
2178 if test "x$ac_old_val" != "x$ac_new_val"; then
572eed31
SP
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
1a394135 2183 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
572eed31
SP
2184$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2185 ac_cache_corrupted=:
2186 else
1a394135 2187 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
572eed31
SP
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
1a394135 2191 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
572eed31 2192$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1a394135 2193 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
572eed31 2194$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1daf06b9
SP
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
572eed31 2200 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1daf06b9
SP
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.
1a394135 2205 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1daf06b9
SP
2206 esac
2207 fi
2208done
2209if $ac_cache_corrupted; then
1a394135 2210 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
572eed31 2211$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1a394135 2212 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
572eed31 2213$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1a394135 2214 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1227625a 2215fi
1a394135
SP
2216## -------------------- ##
2217## Main body of script. ##
2218## -------------------- ##
1227625a 2219
7f7d329e
SP
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
1227625a
SP
2225
2226
e7d18957 2227
cdfe1392 2228
1227625a
SP
2229MCONFIG=./MCONFIG
2230
2231
7f7d329e 2232ac_config_headers="$ac_config_headers config.h"
1227625a
SP
2233
2234
1a394135 2235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
572eed31
SP
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'`
1a394135 2239if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
572eed31 2240 $as_echo_n "(cached) " >&6
1227625a 2241else
1daf06b9 2242 cat >conftest.make <<\_ACEOF
7f7d329e 2243SHELL = /bin/sh
1227625a 2244all:
7f7d329e 2245 @echo '@@@%%%=$(MAKE)=@@@%%%'
1daf06b9 2246_ACEOF
1a394135 2247# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7f7d329e
SP
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
1daf06b9 2254rm -f conftest.make
1227625a 2255fi
7f7d329e 2256if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1a394135 2257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
572eed31 2258$as_echo "yes" >&6; }
1227625a
SP
2259 SET_MAKE=
2260else
1a394135 2261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
572eed31 2262$as_echo "no" >&6; }
1227625a
SP
2263 SET_MAKE="MAKE=${MAKE-make}"
2264fi
2265
1a394135 2266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
572eed31 2267$as_echo_n "checking whether ln -s works... " >&6; }
1daf06b9
SP
2268LN_S=$as_ln_s
2269if test "$LN_S" = "ln -s"; then
1a394135 2270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
572eed31 2271$as_echo "yes" >&6; }
1227625a 2272else
1a394135 2273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
572eed31 2274$as_echo "no, using $LN_S" >&6; }
1227625a
SP
2275fi
2276
2277# Extract the first word of "cp", so it can be a program name with args.
2278set dummy cp; ac_word=$2
1a394135 2279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
572eed31 2280$as_echo_n "checking for $ac_word... " >&6; }
1a394135 2281if test "${ac_cv_path_CP+set}" = set; then :
572eed31 2282 $as_echo_n "(cached) " >&6
1227625a 2283else
1daf06b9
SP
2284 case $CP in
2285 [\\/]* | ?:[\\/]*)
1227625a
SP
2286 ac_cv_path_CP="$CP" # Let the user override the test with a path.
2287 ;;
2288 *)
1daf06b9
SP
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=.
1a394135 2294 for ac_exec_ext in '' $ac_executable_extensions; do
d2816d4c 2295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1daf06b9 2296 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
1a394135 2297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1daf06b9
SP
2298 break 2
2299 fi
2300done
1a394135 2301 done
7f7d329e 2302IFS=$as_save_IFS
1daf06b9 2303
1227625a
SP
2304 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
2305 ;;
2306esac
2307fi
1daf06b9 2308CP=$ac_cv_path_CP
1227625a 2309if test -n "$CP"; then
1a394135 2310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
572eed31 2311$as_echo "$CP" >&6; }
1227625a 2312else
1a394135 2313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
572eed31 2314$as_echo "no" >&6; }
1227625a
SP
2315fi
2316
7f7d329e 2317
1227625a
SP
2318# Extract the first word of "mv", so it can be a program name with args.
2319set dummy mv; ac_word=$2
1a394135 2320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
572eed31 2321$as_echo_n "checking for $ac_word... " >&6; }
1a394135 2322if test "${ac_cv_path_MV+set}" = set; then :
572eed31 2323 $as_echo_n "(cached) " >&6
1227625a 2324else
1daf06b9
SP
2325 case $MV in
2326 [\\/]* | ?:[\\/]*)
1227625a
SP
2327 ac_cv_path_MV="$MV" # Let the user override the test with a path.
2328 ;;
2329 *)
1daf06b9
SP
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=.
1a394135 2335 for ac_exec_ext in '' $ac_executable_extensions; do
d2816d4c 2336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1daf06b9 2337 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
1a394135 2338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1daf06b9
SP
2339 break 2
2340 fi
2341done
1a394135 2342 done
7f7d329e 2343IFS=$as_save_IFS
1daf06b9 2344
1227625a
SP
2345 test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
2346 ;;
2347esac
2348fi
1daf06b9 2349MV=$ac_cv_path_MV
1227625a 2350if test -n "$MV"; then
1a394135 2351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
572eed31 2352$as_echo "$MV" >&6; }
1227625a 2353else
1a394135 2354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
572eed31 2355$as_echo "no" >&6; }
1227625a
SP
2356fi
2357
7f7d329e 2358
1227625a
SP
2359# Extract the first word of "rm", so it can be a program name with args.
2360set dummy rm; ac_word=$2
1a394135 2361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
572eed31 2362$as_echo_n "checking for $ac_word... " >&6; }
1a394135 2363if test "${ac_cv_path_RM+set}" = set; then :
572eed31 2364 $as_echo_n "(cached) " >&6
1227625a 2365else
1daf06b9
SP
2366 case $RM in
2367 [\\/]* | ?:[\\/]*)
1227625a
SP
2368 ac_cv_path_RM="$RM" # Let the user override the test with a path.
2369 ;;
2370 *)
1daf06b9
SP
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=.
1a394135 2376 for ac_exec_ext in '' $ac_executable_extensions; do
d2816d4c 2377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1daf06b9 2378 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
1a394135 2379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1daf06b9
SP
2380 break 2
2381 fi
2382done
1a394135 2383 done
7f7d329e 2384IFS=$as_save_IFS
1daf06b9 2385
1227625a
SP
2386 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
2387 ;;
2388esac
2389fi
1daf06b9 2390RM=$ac_cv_path_RM
1227625a 2391if test -n "$RM"; then
1a394135 2392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
572eed31 2393$as_echo "$RM" >&6; }
1227625a 2394else
1a394135 2395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
572eed31 2396$as_echo "no" >&6; }
1227625a
SP
2397fi
2398
7f7d329e 2399
1daf06b9
SP
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.
1227625a 2402set dummy ${ac_tool_prefix}ar; ac_word=$2
1a394135 2403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
572eed31 2404$as_echo_n "checking for $ac_word... " >&6; }
1a394135 2405if test "${ac_cv_prog_AR+set}" = set; then :
572eed31 2406 $as_echo_n "(cached) " >&6
1227625a
SP
2407else
2408 if test -n "$AR"; then
2409 ac_cv_prog_AR="$AR" # Let the user override the test.
2410else
1daf06b9
SP
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=.
1a394135 2416 for ac_exec_ext in '' $ac_executable_extensions; do
d2816d4c 2417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1daf06b9 2418 ac_cv_prog_AR="${ac_tool_prefix}ar"
1a394135 2419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1daf06b9
SP
2420 break 2
2421 fi
2422done
1a394135 2423 done
7f7d329e 2424IFS=$as_save_IFS
1daf06b9 2425
1227625a
SP
2426fi
2427fi
1daf06b9 2428AR=$ac_cv_prog_AR
1227625a 2429if test -n "$AR"; then
1a394135 2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
572eed31 2431$as_echo "$AR" >&6; }
1227625a 2432else
1a394135 2433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
572eed31 2434$as_echo "no" >&6; }
1227625a
SP
2435fi
2436
7f7d329e 2437
1daf06b9 2438fi
1227625a 2439if test -z "$ac_cv_prog_AR"; then
1daf06b9 2440 ac_ct_AR=$AR
1227625a
SP
2441 # Extract the first word of "ar", so it can be a program name with args.
2442set dummy ar; ac_word=$2
1a394135 2443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
572eed31 2444$as_echo_n "checking for $ac_word... " >&6; }
1a394135 2445if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
572eed31 2446 $as_echo_n "(cached) " >&6
1227625a 2447else
1daf06b9
SP
2448 if test -n "$ac_ct_AR"; then
2449 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
1227625a 2450else
1daf06b9
SP
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=.
1a394135 2456 for ac_exec_ext in '' $ac_executable_extensions; do
d2816d4c 2457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1daf06b9 2458 ac_cv_prog_ac_ct_AR="ar"
1a394135 2459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1daf06b9
SP
2460 break 2
2461 fi
2462done
1a394135 2463 done
7f7d329e 2464IFS=$as_save_IFS
1daf06b9 2465
1227625a
SP
2466fi
2467fi
1daf06b9
SP
2468ac_ct_AR=$ac_cv_prog_ac_ct_AR
2469if test -n "$ac_ct_AR"; then
1a394135 2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
572eed31 2471$as_echo "$ac_ct_AR" >&6; }
1227625a 2472else
1a394135 2473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
572eed31 2474$as_echo "no" >&6; }
1227625a
SP
2475fi
2476
7f7d329e
SP
2477 if test "x$ac_ct_AR" = x; then
2478 AR="ar"
2479 else
2480 case $cross_compiling:$ac_tool_warned in
2481yes:)
1a394135 2482{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
572eed31 2483$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7f7d329e
SP
2484ac_tool_warned=yes ;;
2485esac
2486 AR=$ac_ct_AR
2487 fi
1227625a 2488else
1daf06b9 2489 AR="$ac_cv_prog_AR"
1227625a
SP
2490fi
2491
1daf06b9
SP
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.
1227625a 2494set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1a394135 2495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
572eed31 2496$as_echo_n "checking for $ac_word... " >&6; }
1a394135 2497if test "${ac_cv_prog_RANLIB+set}" = set; then :
572eed31 2498 $as_echo_n "(cached) " >&6
1227625a
SP
2499else
2500 if test -n "$RANLIB"; then
2501 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2502else
1daf06b9
SP
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=.
1a394135 2508 for ac_exec_ext in '' $ac_executable_extensions; do
d2816d4c 2509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1daf06b9 2510 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1a394135 2511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1daf06b9
SP
2512 break 2
2513 fi
2514done
1a394135 2515 done
7f7d329e 2516IFS=$as_save_IFS
1daf06b9 2517
1227625a
SP
2518fi
2519fi
1daf06b9 2520RANLIB=$ac_cv_prog_RANLIB
1227625a 2521if test -n "$RANLIB"; then
1a394135 2522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
572eed31 2523$as_echo "$RANLIB" >&6; }
1227625a 2524else
1a394135 2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
572eed31 2526$as_echo "no" >&6; }
1227625a
SP
2527fi
2528
7f7d329e 2529
1daf06b9 2530fi
1227625a 2531if test -z "$ac_cv_prog_RANLIB"; then
1daf06b9 2532 ac_ct_RANLIB=$RANLIB
1227625a
SP
2533 # Extract the first word of "ranlib", so it can be a program name with args.
2534set dummy ranlib; ac_word=$2
1a394135 2535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
572eed31 2536$as_echo_n "checking for $ac_word... " >&6; }
1a394135 2537if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
572eed31 2538 $as_echo_n "(cached) " >&6
1227625a 2539else
1daf06b9
SP
2540 if test -n "$ac_ct_RANLIB"; then
2541 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
1227625a 2542else
1daf06b9
SP
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=.
1a394135 2548 for ac_exec_ext in '' $ac_executable_extensions; do
d2816d4c 2549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1daf06b9 2550 ac_cv_prog_ac_ct_RANLIB="ranlib"
1a394135 2551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1daf06b9
SP
2552 break 2
2553 fi
2554done
1a394135 2555 done
7f7d329e 2556IFS=$as_save_IFS
1daf06b9 2557
1227625a
SP
2558fi
2559fi
1daf06b9
SP
2560ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2561if test -n "$ac_ct_RANLIB"; then
1a394135 2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
572eed31 2563$as_echo "$ac_ct_RANLIB" >&6; }
1227625a 2564else
1a394135 2565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
572eed31 2566$as_echo "no" >&6; }
1227625a
SP
2567fi
2568
7f7d329e
SP
2569 if test "x$ac_ct_RANLIB" = x; then
2570 RANLIB=":"
2571 else
2572 case $cross_compiling:$ac_tool_warned in
2573yes:)
1a394135 2574{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
572eed31 2575$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7f7d329e
SP
2576ac_tool_warned=yes ;;
2577esac
2578 RANLIB=$ac_ct_RANLIB
2579 fi
1227625a 2580else
1daf06b9 2581 RANLIB="$ac_cv_prog_RANLIB"
1227625a
SP
2582fi
2583
1daf06b9
SP
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.
1227625a 2586set dummy ${ac_tool_prefix}patch; ac_word=$2
1a394135 2587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
572eed31 2588$as_echo_n "checking for $ac_word... " >&6; }
1a394135 2589if test "${ac_cv_prog_PATCH+set}" = set; then :
572eed31 2590 $as_echo_n "(cached) " >&6
1227625a
SP
2591else
2592 if test -n "$PATCH"; then
2593 ac_cv_prog_PATCH="$PATCH" # Let the user override the test.
2594else
1daf06b9
SP
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=.
1a394135 2600 for ac_exec_ext in '' $ac_executable_extensions; do
d2816d4c 2601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1daf06b9 2602 ac_cv_prog_PATCH="${ac_tool_prefix}patch"
1a394135 2603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1daf06b9
SP
2604 break 2
2605 fi
2606done
1a394135 2607 done
7f7d329e 2608IFS=$as_save_IFS
1daf06b9 2609
1227625a
SP
2610fi
2611fi
1daf06b9 2612PATCH=$ac_cv_prog_PATCH
1227625a 2613if test -n "$PATCH"; then
1a394135 2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
572eed31 2615$as_echo "$PATCH" >&6; }
1227625a 2616else
1a394135 2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
572eed31 2618$as_echo "no" >&6; }
1227625a
SP
2619fi
2620
7f7d329e 2621
1daf06b9 2622fi
1227625a 2623if test -z "$ac_cv_prog_PATCH"; then
1daf06b9 2624 ac_ct_PATCH=$PATCH
1227625a
SP
2625 # Extract the first word of "patch", so it can be a program name with args.
2626set dummy patch; ac_word=$2
1a394135 2627{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
572eed31 2628$as_echo_n "checking for $ac_word... " >&6; }
1a394135 2629if test "${ac_cv_prog_ac_ct_PATCH+set}" = set; then :
572eed31 2630 $as_echo_n "(cached) " >&6
1227625a 2631else
1daf06b9
SP
2632 if test -n "$ac_ct_PATCH"; then
2633 ac_cv_prog_ac_ct_PATCH="$ac_ct_PATCH" # Let the user override the test.
1227625a 2634else
1daf06b9
SP
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=.
1a394135 2640 for ac_exec_ext in '' $ac_executable_extensions; do
d2816d4c 2641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1daf06b9 2642 ac_cv_prog_ac_ct_PATCH="patch"
1a394135 2643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1daf06b9
SP
2644 break 2
2645 fi
2646done
1a394135 2647 done
7f7d329e 2648IFS=$as_save_IFS
1daf06b9 2649
1227625a
SP
2650fi
2651fi
1daf06b9
SP
2652ac_ct_PATCH=$ac_cv_prog_ac_ct_PATCH
2653if test -n "$ac_ct_PATCH"; then
1a394135 2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PATCH" >&5
572eed31 2655$as_echo "$ac_ct_PATCH" >&6; }
1227625a 2656else
1a394135 2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
572eed31 2658$as_echo "no" >&6; }
1227625a
SP
2659fi
2660
7f7d329e
SP
2661 if test "x$ac_ct_PATCH" = x; then
2662 PATCH=":"
2663 else
2664 case $cross_compiling:$ac_tool_warned in
2665yes:)
1a394135 2666{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
572eed31 2667$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7f7d329e
SP
2668ac_tool_warned=yes ;;
2669esac
2670 PATCH=$ac_ct_PATCH
2671 fi
1daf06b9
SP
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
1a394135 2684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
572eed31 2685$as_echo_n "checking for $ac_word... " >&6; }
1a394135 2686if test "${ac_cv_prog_CC+set}" = set; then :
572eed31 2687 $as_echo_n "(cached) " >&6
1daf06b9
SP
2688else
2689 if test -n "$CC"; then
2690 ac_cv_prog_CC="$CC" # Let the user override the test.
1227625a 2691else
1daf06b9
SP
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=.
1a394135 2697 for ac_exec_ext in '' $ac_executable_extensions; do
d2816d4c 2698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1daf06b9 2699 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1a394135 2700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1daf06b9
SP
2701 break 2
2702 fi
2703done
1a394135 2704 done
7f7d329e 2705IFS=$as_save_IFS
1daf06b9 2706
1227625a
SP
2707fi
2708fi
1daf06b9
SP
2709CC=$ac_cv_prog_CC
2710if test -n "$CC"; then
1a394135 2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
572eed31 2712$as_echo "$CC" >&6; }
1daf06b9 2713else
1a394135 2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
572eed31 2715$as_echo "no" >&6; }
1daf06b9 2716fi
1227625a 2717
7f7d329e 2718
1daf06b9
SP
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.
1227625a 2723set dummy gcc; ac_word=$2
1a394135 2724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
572eed31 2725$as_echo_n "checking for $ac_word... " >&6; }
1a394135 2726if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
572eed31 2727 $as_echo_n "(cached) " >&6
1daf06b9
SP
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=.
1a394135 2737 for ac_exec_ext in '' $ac_executable_extensions; do
d2816d4c 2738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1daf06b9 2739 ac_cv_prog_ac_ct_CC="gcc"
1a394135 2740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1daf06b9
SP
2741 break 2
2742 fi
2743done
1a394135 2744 done
7f7d329e 2745IFS=$as_save_IFS
1daf06b9
SP
2746
2747fi
2748fi
2749ac_ct_CC=$ac_cv_prog_ac_ct_CC
2750if test -n "$ac_ct_CC"; then
1a394135 2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
572eed31 2752$as_echo "$ac_ct_CC" >&6; }
1daf06b9 2753else
1a394135 2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
572eed31 2755$as_echo "no" >&6; }
1daf06b9
SP
2756fi
2757
7f7d329e
SP
2758 if test "x$ac_ct_CC" = x; then
2759 CC=""
2760 else
2761 case $cross_compiling:$ac_tool_warned in
2762yes:)
1a394135 2763{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
572eed31 2764$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7f7d329e
SP
2765ac_tool_warned=yes ;;
2766esac
2767 CC=$ac_ct_CC
2768 fi
1daf06b9
SP
2769else
2770 CC="$ac_cv_prog_CC"
2771fi
2772
2773if test -z "$CC"; then
7f7d329e
SP
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.
1daf06b9 2776set dummy ${ac_tool_prefix}cc; ac_word=$2
1a394135 2777{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
572eed31 2778$as_echo_n "checking for $ac_word... " >&6; }
1a394135 2779if test "${ac_cv_prog_CC+set}" = set; then :
572eed31 2780 $as_echo_n "(cached) " >&6
1227625a
SP
2781else
2782 if test -n "$CC"; then
2783 ac_cv_prog_CC="$CC" # Let the user override the test.
2784else
1daf06b9
SP
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=.
1a394135 2790 for ac_exec_ext in '' $ac_executable_extensions; do
d2816d4c 2791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1daf06b9 2792 ac_cv_prog_CC="${ac_tool_prefix}cc"
1a394135 2793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1daf06b9
SP
2794 break 2
2795 fi
2796done
1a394135 2797 done
7f7d329e 2798IFS=$as_save_IFS
1daf06b9 2799
1227625a
SP
2800fi
2801fi
1daf06b9 2802CC=$ac_cv_prog_CC
1227625a 2803if test -n "$CC"; then
1a394135 2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
572eed31 2805$as_echo "$CC" >&6; }
1227625a 2806else
1a394135 2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
572eed31 2808$as_echo "no" >&6; }
1227625a
SP
2809fi
2810
1daf06b9 2811
7f7d329e 2812 fi
1daf06b9 2813fi
1227625a
SP
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
1a394135 2817{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
572eed31 2818$as_echo_n "checking for $ac_word... " >&6; }
1a394135 2819if test "${ac_cv_prog_CC+set}" = set; then :
572eed31 2820 $as_echo_n "(cached) " >&6
1227625a
SP
2821else
2822 if test -n "$CC"; then
2823 ac_cv_prog_CC="$CC" # Let the user override the test.
2824else
1227625a 2825 ac_prog_rejected=no
1daf06b9
SP
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=.
1a394135 2831 for ac_exec_ext in '' $ac_executable_extensions; do
d2816d4c 2832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1daf06b9
SP
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"
1a394135 2838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1daf06b9
SP
2839 break 2
2840 fi
2841done
1a394135 2842 done
7f7d329e 2843IFS=$as_save_IFS
1daf06b9 2844
1227625a
SP
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
1daf06b9 2849 if test $# != 0; then
1227625a
SP
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
cdfe1392 2854 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1227625a
SP
2855 fi
2856fi
2857fi
2858fi
1daf06b9 2859CC=$ac_cv_prog_CC
1227625a 2860if test -n "$CC"; then
1a394135 2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
572eed31 2862$as_echo "$CC" >&6; }
1227625a 2863else
1a394135 2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
572eed31 2865$as_echo "no" >&6; }
1227625a
SP
2866fi
2867
7f7d329e 2868
1daf06b9
SP
2869fi
2870if test -z "$CC"; then
2871 if test -n "$ac_tool_prefix"; then
7f7d329e 2872 for ac_prog in cl.exe
1daf06b9
SP
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
1a394135 2876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
572eed31 2877$as_echo_n "checking for $ac_word... " >&6; }
1a394135 2878if test "${ac_cv_prog_CC+set}" = set; then :
572eed31 2879 $as_echo_n "(cached) " >&6
ddd2ef55
SP
2880else
2881 if test -n "$CC"; then
2882 ac_cv_prog_CC="$CC" # Let the user override the test.
2883else
1daf06b9
SP
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=.
1a394135 2889 for ac_exec_ext in '' $ac_executable_extensions; do
d2816d4c 2890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1daf06b9 2891 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1a394135 2892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1daf06b9
SP
2893 break 2
2894 fi
2895done
1a394135 2896 done
7f7d329e 2897IFS=$as_save_IFS
1daf06b9 2898
ddd2ef55
SP
2899fi
2900fi
1daf06b9 2901CC=$ac_cv_prog_CC
ddd2ef55 2902if test -n "$CC"; then
1a394135 2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
572eed31 2904$as_echo "$CC" >&6; }
ddd2ef55 2905else
1a394135 2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
572eed31 2907$as_echo "no" >&6; }
ddd2ef55 2908fi
1daf06b9 2909
7f7d329e 2910
1daf06b9
SP
2911 test -n "$CC" && break
2912 done
2913fi
2914if test -z "$CC"; then
2915 ac_ct_CC=$CC
7f7d329e 2916 for ac_prog in cl.exe
1daf06b9
SP
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
1a394135 2920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
572eed31 2921$as_echo_n "checking for $ac_word... " >&6; }
1a394135 2922if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
572eed31 2923 $as_echo_n "(cached) " >&6
1daf06b9
SP
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=.
1a394135 2933 for ac_exec_ext in '' $ac_executable_extensions; do
d2816d4c 2934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1daf06b9 2935 ac_cv_prog_ac_ct_CC="$ac_prog"
1a394135 2936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1daf06b9 2937 break 2
ddd2ef55 2938 fi
1daf06b9 2939done
1a394135 2940 done
7f7d329e 2941IFS=$as_save_IFS
1daf06b9
SP
2942
2943fi
2944fi
2945ac_ct_CC=$ac_cv_prog_ac_ct_CC
2946if test -n "$ac_ct_CC"; then
1a394135 2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
572eed31 2948$as_echo "$ac_ct_CC" >&6; }
1daf06b9 2949else
1a394135 2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
572eed31 2951$as_echo "no" >&6; }
1227625a
SP
2952fi
2953
7f7d329e 2954
1daf06b9
SP
2955 test -n "$ac_ct_CC" && break
2956done
1227625a 2957
7f7d329e
SP
2958 if test "x$ac_ct_CC" = x; then
2959 CC=""
2960 else
2961 case $cross_compiling:$ac_tool_warned in
2962yes:)
1a394135 2963{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
572eed31 2964$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7f7d329e
SP
2965ac_tool_warned=yes ;;
2966esac
2967 CC=$ac_ct_CC
2968 fi
1daf06b9
SP
2969fi
2970
2971fi
1227625a 2972
ddd2ef55 2973
1a394135 2974test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
572eed31 2975$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1a394135
SP
2976as_fn_error $? "no acceptable C compiler found in \$PATH
2977See \`config.log' for more details" "$LINENO" 5 ; }
1daf06b9
SP
2978
2979# Provide some information about the compiler.
1a394135 2980$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
572eed31
SP
2981set X $ac_compile
2982ac_compiler=$2
1a394135
SP
2983for ac_option in --version -v -V -qversion; do
2984 { { ac_try="$ac_compiler $ac_option >&5"
7f7d329e
SP
2985case "(($ac_try" in
2986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2987 *) ac_try_echo=$ac_try;;
2988esac
1a394135
SP
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
1daf06b9 2992 ac_status=$?
1a394135
SP
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
1daf06b9 3003
1a394135 3004cat confdefs.h - <<_ACEOF >conftest.$ac_ext
cdfe1392 3005/* end confdefs.h. */
ddd2ef55 3006
1daf06b9
SP
3007int
3008main ()
3009{
3010
3011 ;
3012 return 0;
3013}
3014_ACEOF
3015ac_clean_files_save=$ac_clean_files
572eed31 3016ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1daf06b9
SP
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.
1a394135
SP
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; }
572eed31
SP
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
7f7d329e
SP
3027ac_rmfiles=
3028for ac_file in $ac_files
3029do
3030 case $ac_file in
572eed31 3031 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
7f7d329e
SP
3032 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3033 esac
3034done
3035rm -f $ac_rmfiles
3036
1a394135 3037if { { ac_try="$ac_link_default"
7f7d329e
SP
3038case "(($ac_try" in
3039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3040 *) ac_try_echo=$ac_try;;
3041esac
1a394135
SP
3042eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3043$as_echo "$ac_try_echo"; } >&5
7f7d329e 3044 (eval "$ac_link_default") 2>&5
1daf06b9 3045 ac_status=$?
1a394135
SP
3046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3047 test $ac_status = 0; }; then :
7f7d329e
SP
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.
d2816d4c 3053for ac_file in $ac_files ''
cdfe1392
SP
3054do
3055 test -f "$ac_file" || continue
1daf06b9 3056 case $ac_file in
572eed31 3057 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
c9e4e868 3058 ;;
cdfe1392 3059 [ab].out )
c9e4e868
SP
3060 # We found the default executable, but exeext='' is most
3061 # certainly right.
3062 break;;
cdfe1392 3063 *.* )
1a394135 3064 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
7f7d329e
SP
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.
c9e4e868 3073 break;;
cdfe1392 3074 * )
c9e4e868 3075 break;;
1daf06b9
SP
3076 esac
3077done
7f7d329e
SP
3078test "$ac_cv_exeext" = no && ac_cv_exeext=
3079
1daf06b9 3080else
d2816d4c
SP
3081 ac_file=''
3082fi
1a394135
SP
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
cdfe1392
SP
3087sed 's/^/| /' conftest.$ac_ext >&5
3088
1a394135 3089{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
572eed31 3090$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1a394135
SP
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; }
1daf06b9 3096fi
1a394135
SP
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; }
1daf06b9 3101ac_exeext=$ac_cv_exeext
1daf06b9 3102
572eed31 3103rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
1daf06b9 3104ac_clean_files=$ac_clean_files_save
1a394135 3105{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
572eed31 3106$as_echo_n "checking for suffix of executables... " >&6; }
1a394135 3107if { { ac_try="$ac_link"
7f7d329e
SP
3108case "(($ac_try" in
3109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3110 *) ac_try_echo=$ac_try;;
3111esac
1a394135
SP
3112eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3113$as_echo "$ac_try_echo"; } >&5
7f7d329e 3114 (eval "$ac_link") 2>&5
1daf06b9 3115 ac_status=$?
1a394135
SP
3116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3117 test $ac_status = 0; }; then :
1daf06b9
SP
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'.
cdfe1392
SP
3122for ac_file in conftest.exe conftest conftest.*; do
3123 test -f "$ac_file" || continue
1daf06b9 3124 case $ac_file in
572eed31 3125 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1daf06b9 3126 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
c9e4e868 3127 break;;
1daf06b9
SP
3128 * ) break;;
3129 esac
3130done
1227625a 3131else
1a394135 3132 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
572eed31 3133$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1a394135
SP
3134as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3135See \`config.log' for more details" "$LINENO" 5 ; }
1227625a 3136fi
1a394135
SP
3137rm -f conftest conftest$ac_cv_exeext
3138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
572eed31 3139$as_echo "$ac_cv_exeext" >&6; }
1227625a 3140
1daf06b9
SP
3141rm -f conftest.$ac_ext
3142EXEEXT=$ac_cv_exeext
3143ac_exeext=$EXEEXT
1a394135
SP
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
572eed31 3204$as_echo_n "checking for suffix of object files... " >&6; }
1a394135 3205if test "${ac_cv_objext+set}" = set; then :
572eed31 3206 $as_echo_n "(cached) " >&6
ddd2ef55 3207else
1a394135 3208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
cdfe1392 3209/* end confdefs.h. */
1daf06b9 3210
1daf06b9
SP
3211int
3212main ()
3213{
3214
3215 ;
3216 return 0;
3217}
3218_ACEOF
3219rm -f conftest.o conftest.obj
1a394135 3220if { { ac_try="$ac_compile"
7f7d329e
SP
3221case "(($ac_try" in
3222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3223 *) ac_try_echo=$ac_try;;
3224esac
1a394135
SP
3225eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3226$as_echo "$ac_try_echo"; } >&5
7f7d329e 3227 (eval "$ac_compile") 2>&5
1daf06b9 3228 ac_status=$?
1a394135
SP
3229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3230 test $ac_status = 0; }; then :
7f7d329e
SP
3231 for ac_file in conftest.o conftest.obj conftest.*; do
3232 test -f "$ac_file" || continue;
1daf06b9 3233 case $ac_file in
572eed31 3234 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
1daf06b9
SP
3235 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3236 break;;
3237 esac
3238done
3239else
572eed31 3240 $as_echo "$as_me: failed program was:" >&5
cdfe1392
SP
3241sed 's/^/| /' conftest.$ac_ext >&5
3242
1a394135 3243{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
572eed31 3244$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1a394135
SP
3245as_fn_error $? "cannot compute suffix of object files: cannot compile
3246See \`config.log' for more details" "$LINENO" 5 ; }
ddd2ef55 3247fi
1daf06b9
SP
3248rm -f conftest.$ac_cv_objext conftest.$ac_ext
3249fi
1a394135 3250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
572eed31 3251$as_echo "$ac_cv_objext" >&6; }
1daf06b9
SP
3252OBJEXT=$ac_cv_objext
3253ac_objext=$OBJEXT
1a394135 3254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
572eed31 3255$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
1a394135 3256if test "${ac_cv_c_compiler_gnu+set}" = set; then :
572eed31 3257 $as_echo_n "(cached) " >&6
1227625a 3258else
1a394135 3259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
cdfe1392 3260/* end confdefs.h. */
1daf06b9 3261
1daf06b9
SP
3262int
3263main ()
3264{
3265#ifndef __GNUC__
3266 choke me
3267#endif
3268
3269 ;
3270 return 0;
3271}
3272_ACEOF
1a394135 3273if ac_fn_c_try_compile "$LINENO"; then :
1daf06b9
SP
3274 ac_compiler_gnu=yes
3275else
1a394135 3276 ac_compiler_gnu=no
1daf06b9 3277fi
7f7d329e 3278rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1daf06b9
SP
3279ac_cv_c_compiler_gnu=$ac_compiler_gnu
3280
3281fi
1a394135 3282{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
572eed31
SP
3283$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3284if test $ac_compiler_gnu = yes; then
3285 GCC=yes
3286else
3287 GCC=
3288fi
1daf06b9
SP
3289ac_test_CFLAGS=${CFLAGS+set}
3290ac_save_CFLAGS=$CFLAGS
1a394135 3291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
572eed31 3292$as_echo_n "checking whether $CC accepts -g... " >&6; }
1a394135 3293if test "${ac_cv_prog_cc_g+set}" = set; then :
572eed31 3294 $as_echo_n "(cached) " >&6
1daf06b9 3295else
7f7d329e
SP
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"
1a394135 3300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7f7d329e
SP
3301/* end confdefs.h. */
3302
3303int
3304main ()
3305{
3306
3307 ;
3308 return 0;
3309}
3310_ACEOF
1a394135 3311if ac_fn_c_try_compile "$LINENO"; then :
7f7d329e
SP
3312 ac_cv_prog_cc_g=yes
3313else
1a394135
SP
3314 CFLAGS=""
3315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7f7d329e
SP
3316/* end confdefs.h. */
3317
3318int
3319main ()
3320{
3321
3322 ;
3323 return 0;
3324}
3325_ACEOF
1a394135 3326if ac_fn_c_try_compile "$LINENO"; then :
7f7d329e 3327
1a394135
SP
3328else
3329 ac_c_werror_flag=$ac_save_c_werror_flag
7f7d329e 3330 CFLAGS="-g"
1a394135 3331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
cdfe1392 3332/* end confdefs.h. */
1daf06b9 3333
1daf06b9
SP
3334int
3335main ()
3336{
3337
3338 ;
3339 return 0;
3340}
3341_ACEOF
1a394135 3342if ac_fn_c_try_compile "$LINENO"; then :
1227625a 3343 ac_cv_prog_cc_g=yes
7f7d329e 3344fi
7f7d329e
SP
3345rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3346fi
7f7d329e 3347rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1227625a 3348fi
7f7d329e
SP
3349rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3350 ac_c_werror_flag=$ac_save_c_werror_flag
1227625a 3351fi
1a394135 3352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
572eed31 3353$as_echo "$ac_cv_prog_cc_g" >&6; }
ddd2ef55 3354if test "$ac_test_CFLAGS" = set; then
1daf06b9 3355 CFLAGS=$ac_save_CFLAGS
ddd2ef55
SP
3356elif test $ac_cv_prog_cc_g = yes; then
3357 if test "$GCC" = yes; then
1227625a
SP
3358 CFLAGS="-g -O2"
3359 else
ddd2ef55 3360 CFLAGS="-g"
1227625a
SP
3361 fi
3362else
ddd2ef55
SP
3363 if test "$GCC" = yes; then
3364 CFLAGS="-O2"
3365 else
3366 CFLAGS=
3367 fi
1227625a 3368fi
1a394135 3369{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
572eed31 3370$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
1a394135 3371if test "${ac_cv_prog_cc_c89+set}" = set; then :
572eed31 3372 $as_echo_n "(cached) " >&6
cdfe1392 3373else
7f7d329e 3374 ac_cv_prog_cc_c89=no
cdfe1392 3375ac_save_CC=$CC
1a394135 3376cat confdefs.h - <<_ACEOF >conftest.$ac_ext
cdfe1392
SP
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}
c9e4e868
SP
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
7f7d329e 3404 as 'x'. The following induces an error, until -std is added to get
c9e4e868
SP
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
7f7d329e 3407 that's true only with -std. */
c9e4e868
SP
3408int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3409
7f7d329e
SP
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
cdfe1392
SP
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
7f7d329e
SP
3429for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3430 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
cdfe1392
SP
3431do
3432 CC="$ac_save_CC $ac_arg"
1a394135 3433 if ac_fn_c_try_compile "$LINENO"; then :
7f7d329e 3434 ac_cv_prog_cc_c89=$ac_arg
cdfe1392 3435fi
7f7d329e
SP
3436rm -f core conftest.err conftest.$ac_objext
3437 test "x$ac_cv_prog_cc_c89" != "xno" && break
cdfe1392 3438done
7f7d329e 3439rm -f conftest.$ac_ext
cdfe1392
SP
3440CC=$ac_save_CC
3441
3442fi
7f7d329e
SP
3443# AC_CACHE_VAL
3444case "x$ac_cv_prog_cc_c89" in
3445 x)
1a394135 3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
572eed31 3447$as_echo "none needed" >&6; } ;;
7f7d329e 3448 xno)
1a394135 3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
572eed31 3450$as_echo "unsupported" >&6; } ;;
cdfe1392 3451 *)
7f7d329e 3452 CC="$CC $ac_cv_prog_cc_c89"
1a394135 3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
572eed31 3454$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
cdfe1392 3455esac
1a394135 3456if test "x$ac_cv_prog_cc_c89" != xno; then :
cdfe1392 3457
1a394135 3458fi
cdfe1392 3459
1daf06b9
SP
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=
7f7d329e
SP
3467for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3468 if test -f "$ac_dir/install-sh"; then
1daf06b9
SP
3469 ac_aux_dir=$ac_dir
3470 ac_install_sh="$ac_aux_dir/install-sh -c"
3471 break
7f7d329e 3472 elif test -f "$ac_dir/install.sh"; then
1daf06b9
SP
3473 ac_aux_dir=$ac_dir
3474 ac_install_sh="$ac_aux_dir/install.sh -c"
3475 break
7f7d329e 3476 elif test -f "$ac_dir/shtool"; then
1daf06b9
SP
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
1a394135 3483 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1daf06b9 3484fi
7f7d329e
SP
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
1227625a
SP
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
1daf06b9 3502# AmigaOS /C/install, which installs bootblocks on floppy discs
ddd2ef55 3503# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1227625a
SP
3504# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3505# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
c9e4e868 3506# OS/2's system install, which has a completely different semantic
1227625a 3507# ./install, which can be erroneously created by make from ./install.sh.
572eed31 3508# Reject install programs that cannot install multiple files.
1a394135 3509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
572eed31 3510$as_echo_n "checking for a BSD-compatible install... " >&6; }
1227625a 3511if test -z "$INSTALL"; then
1a394135 3512if test "${ac_cv_path_install+set}" = set; then :
572eed31 3513 $as_echo_n "(cached) " >&6
1daf06b9
SP
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=.
1a394135
SP
3520 # Account for people who put trailing slashes in PATH elements.
3521case $as_dir/ in #((
3522 ./ | .// | /[cC]/* | \
1daf06b9 3523 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1a394135 3524 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1daf06b9
SP
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
d2816d4c 3532 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
c9e4e868
SP
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 :