0 | 0 |
#! /bin/sh
|
1 | 1 |
# Guess values for system-dependent variables and create Makefiles.
|
2 | |
# Generated by GNU Autoconf 2.63 for cciss_vol_status 1.10.
|
|
2 |
# Generated by GNU Autoconf 2.64 for cciss_vol_status 1.09.
|
3 | 3 |
#
|
4 | 4 |
# Report bugs to <smcameron@users.sourceforge.net>.
|
5 | 5 |
#
|
6 | 6 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
7 | |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
|
7 |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
|
|
8 |
# Foundation, Inc.
|
|
9 |
#
|
8 | 10 |
# This configure script is free software; the Free Software Foundation
|
9 | 11 |
# gives unlimited permission to copy, distribute and modify it.
|
10 | |
## --------------------- ##
|
11 | |
## M4sh Initialization. ##
|
12 | |
## --------------------- ##
|
|
12 |
## -------------------- ##
|
|
13 |
## M4sh Initialization. ##
|
|
14 |
## -------------------- ##
|
13 | 15 |
|
14 | 16 |
# Be more Bourne compatible
|
15 | 17 |
DUALCASE=1; export DUALCASE # for MKS sh
|
16 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
18 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
17 | 19 |
emulate sh
|
18 | 20 |
NULLCMD=:
|
19 | 21 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
|
21 | 23 |
alias -g '${1+"$@"}'='"$@"'
|
22 | 24 |
setopt NO_GLOB_SUBST
|
23 | 25 |
else
|
24 | |
case `(set -o) 2>/dev/null` in
|
25 | |
*posix*) set -o posix ;;
|
|
26 |
case `(set -o) 2>/dev/null` in #(
|
|
27 |
*posix*) :
|
|
28 |
set -o posix ;; #(
|
|
29 |
*) :
|
|
30 |
;;
|
26 | 31 |
esac
|
27 | |
|
28 | |
fi
|
29 | |
|
30 | |
|
31 | |
|
32 | |
|
33 | |
# PATH needs CR
|
34 | |
# Avoid depending upon Character Ranges.
|
35 | |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
36 | |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
37 | |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
38 | |
as_cr_digits='0123456789'
|
39 | |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
32 |
fi
|
|
33 |
|
40 | 34 |
|
41 | 35 |
as_nl='
|
42 | 36 |
'
|
|
45 | 39 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
46 | 40 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
47 | 41 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
48 | |
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
42 |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
|
43 |
# but without wasting forks for bash or zsh.
|
|
44 |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
|
45 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
46 |
as_echo='print -r --'
|
|
47 |
as_echo_n='print -rn --'
|
|
48 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
49 | 49 |
as_echo='printf %s\n'
|
50 | 50 |
as_echo_n='printf %s'
|
51 | 51 |
else
|
|
56 | 56 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
57 | 57 |
as_echo_n_body='eval
|
58 | 58 |
arg=$1;
|
59 | |
case $arg in
|
|
59 |
case $arg in #(
|
60 | 60 |
*"$as_nl"*)
|
61 | 61 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
62 | 62 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|
79 | 79 |
}
|
80 | 80 |
fi
|
81 | 81 |
|
82 | |
# Support unset when possible.
|
83 | |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
84 | |
as_unset=unset
|
85 | |
else
|
86 | |
as_unset=false
|
87 | |
fi
|
88 | |
|
89 | 82 |
|
90 | 83 |
# IFS
|
91 | 84 |
# We need space, tab and new line, in precisely that order. Quoting is
|
|
95 | 88 |
IFS=" "" $as_nl"
|
96 | 89 |
|
97 | 90 |
# Find who we are. Look in the path if we contain no directory separator.
|
98 | |
case $0 in
|
|
91 |
case $0 in #((
|
99 | 92 |
*[\\/]* ) as_myself=$0 ;;
|
100 | 93 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
101 | 94 |
for as_dir in $PATH
|
102 | 95 |
do
|
103 | 96 |
IFS=$as_save_IFS
|
104 | 97 |
test -z "$as_dir" && as_dir=.
|
105 | |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
106 | |
done
|
|
98 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
99 |
done
|
107 | 100 |
IFS=$as_save_IFS
|
108 | 101 |
|
109 | 102 |
;;
|
|
115 | 108 |
fi
|
116 | 109 |
if test ! -f "$as_myself"; then
|
117 | 110 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
118 | |
{ (exit 1); exit 1; }
|
119 | |
fi
|
120 | |
|
121 | |
# Work around bugs in pre-3.0 UWIN ksh.
|
122 | |
for as_var in ENV MAIL MAILPATH
|
123 | |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
111 |
exit 1
|
|
112 |
fi
|
|
113 |
|
|
114 |
# Unset variables that we do not need and which cause bugs (e.g. in
|
|
115 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
|
116 |
# suppresses any "Segmentation fault" message there. '((' could
|
|
117 |
# trigger a bug in pdksh 5.2.14.
|
|
118 |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
|
119 |
do eval test x\${$as_var+set} = xset \
|
|
120 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
124 | 121 |
done
|
125 | 122 |
PS1='$ '
|
126 | 123 |
PS2='> '
|
|
132 | 129 |
LANGUAGE=C
|
133 | 130 |
export LANGUAGE
|
134 | 131 |
|
135 | |
# Required to use basename.
|
|
132 |
# CDPATH.
|
|
133 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|
134 |
|
|
135 |
if test "x$CONFIG_SHELL" = x; then
|
|
136 |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
|
|
137 |
emulate sh
|
|
138 |
NULLCMD=:
|
|
139 |
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
|
|
140 |
# is contrary to our usage. Disable this feature.
|
|
141 |
alias -g '\${1+\"\$@\"}'='\"\$@\"'
|
|
142 |
setopt NO_GLOB_SUBST
|
|
143 |
else
|
|
144 |
case \`(set -o) 2>/dev/null\` in #(
|
|
145 |
*posix*) :
|
|
146 |
set -o posix ;; #(
|
|
147 |
*) :
|
|
148 |
;;
|
|
149 |
esac
|
|
150 |
fi
|
|
151 |
"
|
|
152 |
as_required="as_fn_return () { (exit \$1); }
|
|
153 |
as_fn_success () { as_fn_return 0; }
|
|
154 |
as_fn_failure () { as_fn_return 1; }
|
|
155 |
as_fn_ret_success () { return 0; }
|
|
156 |
as_fn_ret_failure () { return 1; }
|
|
157 |
|
|
158 |
exitcode=0
|
|
159 |
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
|
|
160 |
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
|
161 |
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
|
162 |
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
|
163 |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
|
164 |
|
|
165 |
else
|
|
166 |
exitcode=1; echo positional parameters were not saved.
|
|
167 |
fi
|
|
168 |
test x\$exitcode = x0 || exit 1"
|
|
169 |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
|
|
170 |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
|
|
171 |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
|
172 |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
|
|
173 |
test \$(( 1 + 1 )) = 2 || exit 1"
|
|
174 |
if (eval "$as_required") 2>/dev/null; then :
|
|
175 |
as_have_required=yes
|
|
176 |
else
|
|
177 |
as_have_required=no
|
|
178 |
fi
|
|
179 |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
|
|
180 |
|
|
181 |
else
|
|
182 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
183 |
as_found=false
|
|
184 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
|
185 |
do
|
|
186 |
IFS=$as_save_IFS
|
|
187 |
test -z "$as_dir" && as_dir=.
|
|
188 |
as_found=:
|
|
189 |
case $as_dir in #(
|
|
190 |
/*)
|
|
191 |
for as_base in sh bash ksh sh5; do
|
|
192 |
# Try only shells that exist, to save several forks.
|
|
193 |
as_shell=$as_dir/$as_base
|
|
194 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
|
195 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
|
196 |
CONFIG_SHELL=$as_shell as_have_required=yes
|
|
197 |
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
|
198 |
break 2
|
|
199 |
fi
|
|
200 |
fi
|
|
201 |
done;;
|
|
202 |
esac
|
|
203 |
as_found=false
|
|
204 |
done
|
|
205 |
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
|
|
206 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
|
|
207 |
CONFIG_SHELL=$SHELL as_have_required=yes
|
|
208 |
fi; }
|
|
209 |
IFS=$as_save_IFS
|
|
210 |
|
|
211 |
|
|
212 |
if test "x$CONFIG_SHELL" != x; then :
|
|
213 |
# We cannot yet assume a decent shell, so we have to provide a
|
|
214 |
# neutralization value for shells without unset; and this also
|
|
215 |
# works around shells that cannot unset nonexistent variables.
|
|
216 |
BASH_ENV=/dev/null
|
|
217 |
ENV=/dev/null
|
|
218 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
|
219 |
export CONFIG_SHELL
|
|
220 |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
|
221 |
fi
|
|
222 |
|
|
223 |
if test x$as_have_required = xno; then :
|
|
224 |
$as_echo "$0: This script requires a shell more modern than all"
|
|
225 |
$as_echo "$0: the shells that I found on your system."
|
|
226 |
if test x${ZSH_VERSION+set} = xset ; then
|
|
227 |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
|
228 |
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
|
229 |
else
|
|
230 |
$as_echo "$0: Please tell bug-autoconf@gnu.org and
|
|
231 |
$0: smcameron@users.sourceforge.net 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
|
|
237 |
fi
|
|
238 |
fi
|
|
239 |
fi
|
|
240 |
SHELL=${CONFIG_SHELL-/bin/sh}
|
|
241 |
export SHELL
|
|
242 |
# Unset more variables known to interfere with behavior of common tools.
|
|
243 |
CLICOLOR_FORCE= GREP_OPTIONS=
|
|
244 |
unset CLICOLOR_FORCE GREP_OPTIONS
|
|
245 |
|
|
246 |
## --------------------- ##
|
|
247 |
## M4sh Shell Functions. ##
|
|
248 |
## --------------------- ##
|
|
249 |
# as_fn_unset VAR
|
|
250 |
# ---------------
|
|
251 |
# Portably unset VAR.
|
|
252 |
as_fn_unset ()
|
|
253 |
{
|
|
254 |
{ eval $1=; unset $1;}
|
|
255 |
}
|
|
256 |
as_unset=as_fn_unset
|
|
257 |
|
|
258 |
# as_fn_set_status STATUS
|
|
259 |
# -----------------------
|
|
260 |
# Set $? to STATUS, without forking.
|
|
261 |
as_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.
|
|
269 |
as_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.
|
|
279 |
as_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.
|
|
329 |
if (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 |
}'
|
|
334 |
else
|
|
335 |
as_fn_append ()
|
|
336 |
{
|
|
337 |
eval $1=\$$1\$2
|
|
338 |
}
|
|
339 |
fi # 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.
|
|
346 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|
347 |
eval 'as_fn_arith ()
|
|
348 |
{
|
|
349 |
as_val=$(( $* ))
|
|
350 |
}'
|
|
351 |
else
|
|
352 |
as_fn_arith ()
|
|
353 |
{
|
|
354 |
as_val=`expr "$@" || test $? -eq 1`
|
|
355 |
}
|
|
356 |
fi # as_fn_arith
|
|
357 |
|
|
358 |
|
|
359 |
# as_fn_error 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.
|
|
364 |
as_fn_error ()
|
|
365 |
{
|
|
366 |
as_status=$?; test $as_status -eq 0 && as_status=1
|
|
367 |
if test "$3"; then
|
|
368 |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
369 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
|
|
370 |
fi
|
|
371 |
$as_echo "$as_me: error: $1" >&2
|
|
372 |
as_fn_exit $as_status
|
|
373 |
} # as_fn_error
|
|
374 |
|
136 | 375 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
137 | 376 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
138 | 377 |
as_expr=expr
|
|
146 | 385 |
as_basename=false
|
147 | 386 |
fi
|
148 | 387 |
|
149 | |
|
150 | |
# Name of the executable.
|
|
388 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
389 |
as_dirname=dirname
|
|
390 |
else
|
|
391 |
as_dirname=false
|
|
392 |
fi
|
|
393 |
|
151 | 394 |
as_me=`$as_basename -- "$0" ||
|
152 | 395 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
153 | 396 |
X"$0" : 'X\(//\)$' \| \
|
|
167 | 410 |
}
|
168 | 411 |
s/.*/./; q'`
|
169 | 412 |
|
170 | |
# CDPATH.
|
171 | |
$as_unset CDPATH
|
172 | |
|
173 | |
|
174 | |
if test "x$CONFIG_SHELL" = x; then
|
175 | |
if (eval ":") 2>/dev/null; then
|
176 | |
as_have_required=yes
|
177 | |
else
|
178 | |
as_have_required=no
|
179 | |
fi
|
180 | |
|
181 | |
if test $as_have_required = yes && (eval ":
|
182 | |
(as_func_return () {
|
183 | |
(exit \$1)
|
184 | |
}
|
185 | |
as_func_success () {
|
186 | |
as_func_return 0
|
187 | |
}
|
188 | |
as_func_failure () {
|
189 | |
as_func_return 1
|
190 | |
}
|
191 | |
as_func_ret_success () {
|
192 | |
return 0
|
193 | |
}
|
194 | |
as_func_ret_failure () {
|
195 | |
return 1
|
196 | |
}
|
197 | |
|
198 | |
exitcode=0
|
199 | |
if as_func_success; then
|
200 | |
:
|
201 | |
else
|
202 | |
exitcode=1
|
203 | |
echo as_func_success failed.
|
204 | |
fi
|
205 | |
|
206 | |
if as_func_failure; then
|
207 | |
exitcode=1
|
208 | |
echo as_func_failure succeeded.
|
209 | |
fi
|
210 | |
|
211 | |
if as_func_ret_success; then
|
212 | |
:
|
213 | |
else
|
214 | |
exitcode=1
|
215 | |
echo as_func_ret_success failed.
|
216 | |
fi
|
217 | |
|
218 | |
if as_func_ret_failure; then
|
219 | |
exitcode=1
|
220 | |
echo as_func_ret_failure succeeded.
|
221 | |
fi
|
222 | |
|
223 | |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
224 | |
:
|
225 | |
else
|
226 | |
exitcode=1
|
227 | |
echo positional parameters were not saved.
|
228 | |
fi
|
229 | |
|
230 | |
test \$exitcode = 0) || { (exit 1); exit 1; }
|
231 | |
|
232 | |
(
|
233 | |
as_lineno_1=\$LINENO
|
234 | |
as_lineno_2=\$LINENO
|
235 | |
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
|
236 | |
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
|
237 | |
") 2> /dev/null; then
|
238 | |
:
|
239 | |
else
|
240 | |
as_candidate_shells=
|
241 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
242 | |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
243 | |
do
|
244 | |
IFS=$as_save_IFS
|
245 | |
test -z "$as_dir" && as_dir=.
|
246 | |
case $as_dir in
|
247 | |
/*)
|
248 | |
for as_base in sh bash ksh sh5; do
|
249 | |
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
|
250 | |
done;;
|
251 | |
esac
|
252 | |
done
|
253 | |
IFS=$as_save_IFS
|
254 | |
|
255 | |
|
256 | |
for as_shell in $as_candidate_shells $SHELL; do
|
257 | |
# Try only shells that exist, to save several forks.
|
258 | |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
259 | |
{ ("$as_shell") 2> /dev/null <<\_ASEOF
|
260 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
261 | |
emulate sh
|
262 | |
NULLCMD=:
|
263 | |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
264 | |
# is contrary to our usage. Disable this feature.
|
265 | |
alias -g '${1+"$@"}'='"$@"'
|
266 | |
setopt NO_GLOB_SUBST
|
267 | |
else
|
268 | |
case `(set -o) 2>/dev/null` in
|
269 | |
*posix*) set -o posix ;;
|
270 | |
esac
|
271 | |
|
272 | |
fi
|
273 | |
|
274 | |
|
275 | |
:
|
276 | |
_ASEOF
|
277 | |
}; then
|
278 | |
CONFIG_SHELL=$as_shell
|
279 | |
as_have_required=yes
|
280 | |
if { "$as_shell" 2> /dev/null <<\_ASEOF
|
281 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
282 | |
emulate sh
|
283 | |
NULLCMD=:
|
284 | |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
285 | |
# is contrary to our usage. Disable this feature.
|
286 | |
alias -g '${1+"$@"}'='"$@"'
|
287 | |
setopt NO_GLOB_SUBST
|
288 | |
else
|
289 | |
case `(set -o) 2>/dev/null` in
|
290 | |
*posix*) set -o posix ;;
|
291 | |
esac
|
292 | |
|
293 | |
fi
|
294 | |
|
295 | |
|
296 | |
:
|
297 | |
(as_func_return () {
|
298 | |
(exit $1)
|
299 | |
}
|
300 | |
as_func_success () {
|
301 | |
as_func_return 0
|
302 | |
}
|
303 | |
as_func_failure () {
|
304 | |
as_func_return 1
|
305 | |
}
|
306 | |
as_func_ret_success () {
|
307 | |
return 0
|
308 | |
}
|
309 | |
as_func_ret_failure () {
|
310 | |
return 1
|
311 | |
}
|
312 | |
|
313 | |
exitcode=0
|
314 | |
if as_func_success; then
|
315 | |
:
|
316 | |
else
|
317 | |
exitcode=1
|
318 | |
echo as_func_success failed.
|
319 | |
fi
|
320 | |
|
321 | |
if as_func_failure; then
|
322 | |
exitcode=1
|
323 | |
echo as_func_failure succeeded.
|
324 | |
fi
|
325 | |
|
326 | |
if as_func_ret_success; then
|
327 | |
:
|
328 | |
else
|
329 | |
exitcode=1
|
330 | |
echo as_func_ret_success failed.
|
331 | |
fi
|
332 | |
|
333 | |
if as_func_ret_failure; then
|
334 | |
exitcode=1
|
335 | |
echo as_func_ret_failure succeeded.
|
336 | |
fi
|
337 | |
|
338 | |
if ( set x; as_func_ret_success y && test x = "$1" ); then
|
339 | |
:
|
340 | |
else
|
341 | |
exitcode=1
|
342 | |
echo positional parameters were not saved.
|
343 | |
fi
|
344 | |
|
345 | |
test $exitcode = 0) || { (exit 1); exit 1; }
|
346 | |
|
347 | |
(
|
348 | |
as_lineno_1=$LINENO
|
349 | |
as_lineno_2=$LINENO
|
350 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
351 | |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
|
352 | |
|
353 | |
_ASEOF
|
354 | |
}; then
|
355 | |
break
|
356 | |
fi
|
357 | |
|
358 | |
fi
|
359 | |
|
360 | |
done
|
361 | |
|
362 | |
if test "x$CONFIG_SHELL" != x; then
|
363 | |
for as_var in BASH_ENV ENV
|
364 | |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
365 | |
done
|
366 | |
export CONFIG_SHELL
|
367 | |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
368 | |
fi
|
369 | |
|
370 | |
|
371 | |
if test $as_have_required = no; then
|
372 | |
echo This script requires a shell more modern than all the
|
373 | |
echo shells that I found on your system. Please install a
|
374 | |
echo modern shell, or manually run the script under such a
|
375 | |
echo shell if you do have one.
|
376 | |
{ (exit 1); exit 1; }
|
377 | |
fi
|
378 | |
|
379 | |
|
380 | |
fi
|
381 | |
|
382 | |
fi
|
383 | |
|
384 | |
|
385 | |
|
386 | |
(eval "as_func_return () {
|
387 | |
(exit \$1)
|
388 | |
}
|
389 | |
as_func_success () {
|
390 | |
as_func_return 0
|
391 | |
}
|
392 | |
as_func_failure () {
|
393 | |
as_func_return 1
|
394 | |
}
|
395 | |
as_func_ret_success () {
|
396 | |
return 0
|
397 | |
}
|
398 | |
as_func_ret_failure () {
|
399 | |
return 1
|
400 | |
}
|
401 | |
|
402 | |
exitcode=0
|
403 | |
if as_func_success; then
|
404 | |
:
|
405 | |
else
|
406 | |
exitcode=1
|
407 | |
echo as_func_success failed.
|
408 | |
fi
|
409 | |
|
410 | |
if as_func_failure; then
|
411 | |
exitcode=1
|
412 | |
echo as_func_failure succeeded.
|
413 | |
fi
|
414 | |
|
415 | |
if as_func_ret_success; then
|
416 | |
:
|
417 | |
else
|
418 | |
exitcode=1
|
419 | |
echo as_func_ret_success failed.
|
420 | |
fi
|
421 | |
|
422 | |
if as_func_ret_failure; then
|
423 | |
exitcode=1
|
424 | |
echo as_func_ret_failure succeeded.
|
425 | |
fi
|
426 | |
|
427 | |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
428 | |
:
|
429 | |
else
|
430 | |
exitcode=1
|
431 | |
echo positional parameters were not saved.
|
432 | |
fi
|
433 | |
|
434 | |
test \$exitcode = 0") || {
|
435 | |
echo No shell found that supports shell functions.
|
436 | |
echo Please tell bug-autoconf@gnu.org about your system,
|
437 | |
echo including any error possibly output before this message.
|
438 | |
echo This can help us improve future autoconf versions.
|
439 | |
echo Configuration will now proceed without shell functions.
|
440 | |
}
|
441 | |
|
442 | |
|
443 | |
|
444 | |
as_lineno_1=$LINENO
|
445 | |
as_lineno_2=$LINENO
|
446 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
447 | |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
448 | |
|
449 | |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
450 | |
# uniformly replaced by the line number. The first 'sed' inserts a
|
451 | |
# line-number line after each line using $LINENO; the second 'sed'
|
452 | |
# does the real work. The second script uses 'N' to pair each
|
453 | |
# line-number line with the line containing $LINENO, and appends
|
454 | |
# trailing '-' during substitution so that $LINENO is not a special
|
455 | |
# case at line end.
|
456 | |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
457 | |
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
458 | |
# E. McMahon (1931-1989) for sed's syntax. :-)
|
|
413 |
# Avoid depending upon Character Ranges.
|
|
414 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
415 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
416 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
417 |
as_cr_digits='0123456789'
|
|
418 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
419 |
|
|
420 |
|
|
421 |
as_lineno_1=$LINENO as_lineno_1a=$LINENO
|
|
422 |
as_lineno_2=$LINENO as_lineno_2a=$LINENO
|
|
423 |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
|
|
424 |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
|
|
425 |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
|
459 | 426 |
sed -n '
|
460 | 427 |
p
|
461 | 428 |
/[$]LINENO/=
|
|
472 | 439 |
s/-\n.*//
|
473 | 440 |
' >$as_me.lineno &&
|
474 | 441 |
chmod +x "$as_me.lineno" ||
|
475 | |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
476 | |
{ (exit 1); exit 1; }; }
|
|
442 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
477 | 443 |
|
478 | 444 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
479 | 445 |
# (the dirname of $[0] is not the place where we might find the
|
|
483 | 449 |
exit
|
484 | 450 |
}
|
485 | 451 |
|
486 | |
|
487 | |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
488 | |
as_dirname=dirname
|
489 | |
else
|
490 | |
as_dirname=false
|
491 | |
fi
|
492 | |
|
493 | 452 |
ECHO_C= ECHO_N= ECHO_T=
|
494 | |
case `echo -n x` in
|
|
453 |
case `echo -n x` in #(((((
|
495 | 454 |
-n*)
|
496 | |
case `echo 'x\c'` in
|
|
455 |
case `echo 'xy\c'` in
|
497 | 456 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
498 | |
*) ECHO_C='\c';;
|
|
457 |
xy) ECHO_C='\c';;
|
|
458 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
|
459 |
ECHO_T=' ';;
|
499 | 460 |
esac;;
|
500 | 461 |
*)
|
501 | 462 |
ECHO_N='-n';;
|
502 | 463 |
esac
|
503 | |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
504 | |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
505 | |
as_expr=expr
|
506 | |
else
|
507 | |
as_expr=false
|
508 | |
fi
|
509 | 464 |
|
510 | 465 |
rm -f conf$$ conf$$.exe conf$$.file
|
511 | 466 |
if test -d conf$$.dir; then
|
|
535 | 490 |
rmdir conf$$.dir 2>/dev/null
|
536 | 491 |
|
537 | 492 |
if mkdir -p . 2>/dev/null; then
|
538 | |
as_mkdir_p=:
|
|
493 |
as_mkdir_p='mkdir -p "$as_dir"'
|
539 | 494 |
else
|
540 | 495 |
test -d ./-p && rmdir ./-p
|
541 | 496 |
as_mkdir_p=false
|
|
554 | 509 |
if test -d "$1"; then
|
555 | 510 |
test -d "$1/.";
|
556 | 511 |
else
|
557 | |
case $1 in
|
|
512 |
case $1 in #(
|
558 | 513 |
-*)set "./$1";;
|
559 | 514 |
esac;
|
560 | |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
|
515 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
561 | 516 |
???[sx]*):;;*)false;;esac;fi
|
562 | 517 |
'\'' sh
|
563 | 518 |
'
|
|
569 | 524 |
|
570 | 525 |
# Sed expression to map a string onto a valid variable name.
|
571 | 526 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
572 | |
|
573 | 527 |
|
574 | 528 |
|
575 | 529 |
exec 7<&0 </dev/null 6>&1
|
|
590 | 544 |
subdirs=
|
591 | 545 |
MFLAGS=
|
592 | 546 |
MAKEFLAGS=
|
593 | |
SHELL=${CONFIG_SHELL-/bin/sh}
|
594 | 547 |
|
595 | 548 |
# Identity of this package.
|
596 | 549 |
PACKAGE_NAME='cciss_vol_status'
|
597 | 550 |
PACKAGE_TARNAME='cciss_vol_status'
|
598 | |
PACKAGE_VERSION='1.10'
|
599 | |
PACKAGE_STRING='cciss_vol_status 1.10'
|
|
551 |
PACKAGE_VERSION='1.09'
|
|
552 |
PACKAGE_STRING='cciss_vol_status 1.09'
|
600 | 553 |
PACKAGE_BUGREPORT='smcameron@users.sourceforge.net'
|
|
554 |
PACKAGE_URL=''
|
601 | 555 |
|
602 | 556 |
ac_unique_file="cciss_vol_status.c"
|
603 | 557 |
# Factoring default headers for most tests.
|
|
712 | 666 |
program_transform_name
|
713 | 667 |
prefix
|
714 | 668 |
exec_prefix
|
|
669 |
PACKAGE_URL
|
715 | 670 |
PACKAGE_BUGREPORT
|
716 | 671 |
PACKAGE_STRING
|
717 | 672 |
PACKAGE_VERSION
|
|
841 | 796 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
842 | 797 |
# Reject names that are not valid shell variable names.
|
843 | 798 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
844 | |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
|
845 | |
{ (exit 1); exit 1; }; }
|
|
799 |
as_fn_error "invalid feature name: $ac_useropt"
|
846 | 800 |
ac_useropt_orig=$ac_useropt
|
847 | 801 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
848 | 802 |
case $ac_user_opts in
|
|
868 | 822 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
869 | 823 |
# Reject names that are not valid shell variable names.
|
870 | 824 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
871 | |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
|
872 | |
{ (exit 1); exit 1; }; }
|
|
825 |
as_fn_error "invalid feature name: $ac_useropt"
|
873 | 826 |
ac_useropt_orig=$ac_useropt
|
874 | 827 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
875 | 828 |
case $ac_user_opts in
|
|
1073 | 1026 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
1074 | 1027 |
# Reject names that are not valid shell variable names.
|
1075 | 1028 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1076 | |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
|
1077 | |
{ (exit 1); exit 1; }; }
|
|
1029 |
as_fn_error "invalid package name: $ac_useropt"
|
1078 | 1030 |
ac_useropt_orig=$ac_useropt
|
1079 | 1031 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1080 | 1032 |
case $ac_user_opts in
|
|
1090 | 1042 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
1091 | 1043 |
# Reject names that are not valid shell variable names.
|
1092 | 1044 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1093 | |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
|
1094 | |
{ (exit 1); exit 1; }; }
|
|
1045 |
as_fn_error "invalid package name: $ac_useropt"
|
1095 | 1046 |
ac_useropt_orig=$ac_useropt
|
1096 | 1047 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1097 | 1048 |
case $ac_user_opts in
|
|
1121 | 1072 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
1122 | 1073 |
x_libraries=$ac_optarg ;;
|
1123 | 1074 |
|
1124 | |
-*) { $as_echo "$as_me: error: unrecognized option: $ac_option
|
1125 | |
Try \`$0 --help' for more information." >&2
|
1126 | |
{ (exit 1); exit 1; }; }
|
|
1075 |
-*) as_fn_error "unrecognized option: \`$ac_option'
|
|
1076 |
Try \`$0 --help' for more information."
|
1127 | 1077 |
;;
|
1128 | 1078 |
|
1129 | 1079 |
*=*)
|
1130 | 1080 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
1131 | 1081 |
# Reject names that are not valid shell variable names.
|
1132 | |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
1133 | |
{ $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
1134 | |
{ (exit 1); exit 1; }; }
|
|
1082 |
case $ac_envvar in #(
|
|
1083 |
'' | [0-9]* | *[!_$as_cr_alnum]* )
|
|
1084 |
as_fn_error "invalid variable name: \`$ac_envvar'" ;;
|
|
1085 |
esac
|
1135 | 1086 |
eval $ac_envvar=\$ac_optarg
|
1136 | 1087 |
export $ac_envvar ;;
|
1137 | 1088 |
|
|
1148 | 1099 |
|
1149 | 1100 |
if test -n "$ac_prev"; then
|
1150 | 1101 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
1151 | |
{ $as_echo "$as_me: error: missing argument to $ac_option" >&2
|
1152 | |
{ (exit 1); exit 1; }; }
|
|
1102 |
as_fn_error "missing argument to $ac_option"
|
1153 | 1103 |
fi
|
1154 | 1104 |
|
1155 | 1105 |
if test -n "$ac_unrecognized_opts"; then
|
1156 | 1106 |
case $enable_option_checking in
|
1157 | 1107 |
no) ;;
|
1158 | |
fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
|
1159 | |
{ (exit 1); exit 1; }; } ;;
|
|
1108 |
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
|
1160 | 1109 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
1161 | 1110 |
esac
|
1162 | 1111 |
fi
|
|
1179 | 1128 |
[\\/$]* | ?:[\\/]* ) continue;;
|
1180 | 1129 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
1181 | 1130 |
esac
|
1182 | |
{ $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
1183 | |
{ (exit 1); exit 1; }; }
|
|
1131 |
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
|
1184 | 1132 |
done
|
1185 | 1133 |
|
1186 | 1134 |
# There might be people who depend on the old broken behavior: `$host'
|
|
1210 | 1158 |
ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
1211 | 1159 |
ac_ls_di=`ls -di .` &&
|
1212 | 1160 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
1213 | |
{ $as_echo "$as_me: error: working directory cannot be determined" >&2
|
1214 | |
{ (exit 1); exit 1; }; }
|
|
1161 |
as_fn_error "working directory cannot be determined"
|
1215 | 1162 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
1216 | |
{ $as_echo "$as_me: error: pwd does not report name of working directory" >&2
|
1217 | |
{ (exit 1); exit 1; }; }
|
|
1163 |
as_fn_error "pwd does not report name of working directory"
|
1218 | 1164 |
|
1219 | 1165 |
|
1220 | 1166 |
# Find the source files, if location was not specified.
|
|
1253 | 1199 |
fi
|
1254 | 1200 |
if test ! -r "$srcdir/$ac_unique_file"; then
|
1255 | 1201 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
1256 | |
{ $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
1257 | |
{ (exit 1); exit 1; }; }
|
|
1202 |
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
|
1258 | 1203 |
fi
|
1259 | 1204 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
1260 | 1205 |
ac_abs_confdir=`(
|
1261 | |
cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
|
1262 | |
{ (exit 1); exit 1; }; }
|
|
1206 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
|
1263 | 1207 |
pwd)`
|
1264 | 1208 |
# When building in place, set srcdir=.
|
1265 | 1209 |
if test "$ac_abs_confdir" = "$ac_pwd"; then
|
|
1285 | 1229 |
# Omit some internal or obsolete options to make the list less imposing.
|
1286 | 1230 |
# This message is too long to be a string in the A/UX 3.1 sh.
|
1287 | 1231 |
cat <<_ACEOF
|
1288 | |
\`configure' configures cciss_vol_status 1.10 to adapt to many kinds of systems.
|
|
1232 |
\`configure' configures cciss_vol_status 1.09 to adapt to many kinds of systems.
|
1289 | 1233 |
|
1290 | 1234 |
Usage: $0 [OPTION]... [VAR=VALUE]...
|
1291 | 1235 |
|
|
1352 | 1296 |
|
1353 | 1297 |
if test -n "$ac_init_help"; then
|
1354 | 1298 |
case $ac_init_help in
|
1355 | |
short | recursive ) echo "Configuration of cciss_vol_status 1.10:";;
|
|
1299 |
short | recursive ) echo "Configuration of cciss_vol_status 1.09:";;
|
1356 | 1300 |
esac
|
1357 | 1301 |
cat <<\_ACEOF
|
1358 | 1302 |
|
|
1439 | 1383 |
test -n "$ac_init_help" && exit $ac_status
|
1440 | 1384 |
if $ac_init_version; then
|
1441 | 1385 |
cat <<\_ACEOF
|
1442 | |
cciss_vol_status configure 1.10
|
1443 | |
generated by GNU Autoconf 2.63
|
1444 | |
|
1445 | |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
1446 | |
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
|
1386 |
cciss_vol_status configure 1.09
|
|
1387 |
generated by GNU Autoconf 2.64
|
|
1388 |
|
|
1389 |
Copyright (C) 2009 Free Software Foundation, Inc.
|
1447 | 1390 |
This configure script is free software; the Free Software Foundation
|
1448 | 1391 |
gives unlimited permission to copy, distribute and modify it.
|
1449 | 1392 |
_ACEOF
|
1450 | 1393 |
exit
|
1451 | 1394 |
fi
|
|
1395 |
|
|
1396 |
## ------------------------ ##
|
|
1397 |
## Autoconf initialization. ##
|
|
1398 |
## ------------------------ ##
|
|
1399 |
|
|
1400 |
# ac_fn_c_try_compile LINENO
|
|
1401 |
# --------------------------
|
|
1402 |
# Try to compile conftest.$ac_ext, and return whether this succeeded.
|
|
1403 |
ac_fn_c_try_compile ()
|
|
1404 |
{
|
|
1405 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1406 |
rm -f conftest.$ac_objext
|
|
1407 |
if { { ac_try="$ac_compile"
|
|
1408 |
case "(($ac_try" in
|
|
1409 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1410 |
*) ac_try_echo=$ac_try;;
|
|
1411 |
esac
|
|
1412 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1413 |
$as_echo "$ac_try_echo"; } >&5
|
|
1414 |
(eval "$ac_compile") 2>conftest.err
|
|
1415 |
ac_status=$?
|
|
1416 |
if test -s conftest.err; then
|
|
1417 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1418 |
cat conftest.er1 >&5
|
|
1419 |
mv -f conftest.er1 conftest.err
|
|
1420 |
fi
|
|
1421 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1422 |
test $ac_status = 0; } && {
|
|
1423 |
test -z "$ac_c_werror_flag" ||
|
|
1424 |
test ! -s conftest.err
|
|
1425 |
} && test -s conftest.$ac_objext; then :
|
|
1426 |
ac_retval=0
|
|
1427 |
else
|
|
1428 |
$as_echo "$as_me: failed program was:" >&5
|
|
1429 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1430 |
|
|
1431 |
ac_retval=1
|
|
1432 |
fi
|
|
1433 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1434 |
return $ac_retval
|
|
1435 |
|
|
1436 |
} # ac_fn_c_try_compile
|
|
1437 |
|
|
1438 |
# ac_fn_c_try_cpp LINENO
|
|
1439 |
# ----------------------
|
|
1440 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
|
1441 |
ac_fn_c_try_cpp ()
|
|
1442 |
{
|
|
1443 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1444 |
if { { ac_try="$ac_cpp conftest.$ac_ext"
|
|
1445 |
case "(($ac_try" in
|
|
1446 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1447 |
*) ac_try_echo=$ac_try;;
|
|
1448 |
esac
|
|
1449 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1450 |
$as_echo "$ac_try_echo"; } >&5
|
|
1451 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
|
1452 |
ac_status=$?
|
|
1453 |
if test -s conftest.err; then
|
|
1454 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1455 |
cat conftest.er1 >&5
|
|
1456 |
mv -f conftest.er1 conftest.err
|
|
1457 |
fi
|
|
1458 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1459 |
test $ac_status = 0; } >/dev/null && {
|
|
1460 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
1461 |
test ! -s conftest.err
|
|
1462 |
}; then :
|
|
1463 |
ac_retval=0
|
|
1464 |
else
|
|
1465 |
$as_echo "$as_me: failed program was:" >&5
|
|
1466 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1467 |
|
|
1468 |
ac_retval=1
|
|
1469 |
fi
|
|
1470 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1471 |
return $ac_retval
|
|
1472 |
|
|
1473 |
} # ac_fn_c_try_cpp
|
|
1474 |
|
|
1475 |
# ac_fn_c_try_run LINENO
|
|
1476 |
# ----------------------
|
|
1477 |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
|
1478 |
# that executables *can* be run.
|
|
1479 |
ac_fn_c_try_run ()
|
|
1480 |
{
|
|
1481 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1482 |
if { { ac_try="$ac_link"
|
|
1483 |
case "(($ac_try" in
|
|
1484 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1485 |
*) ac_try_echo=$ac_try;;
|
|
1486 |
esac
|
|
1487 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1488 |
$as_echo "$ac_try_echo"; } >&5
|
|
1489 |
(eval "$ac_link") 2>&5
|
|
1490 |
ac_status=$?
|
|
1491 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1492 |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
|
1493 |
{ { case "(($ac_try" in
|
|
1494 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1495 |
*) ac_try_echo=$ac_try;;
|
|
1496 |
esac
|
|
1497 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1498 |
$as_echo "$ac_try_echo"; } >&5
|
|
1499 |
(eval "$ac_try") 2>&5
|
|
1500 |
ac_status=$?
|
|
1501 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1502 |
test $ac_status = 0; }; }; then :
|
|
1503 |
ac_retval=0
|
|
1504 |
else
|
|
1505 |
$as_echo "$as_me: program exited with status $ac_status" >&5
|
|
1506 |
$as_echo "$as_me: failed program was:" >&5
|
|
1507 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1508 |
|
|
1509 |
ac_retval=$ac_status
|
|
1510 |
fi
|
|
1511 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
|
1512 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1513 |
return $ac_retval
|
|
1514 |
|
|
1515 |
} # ac_fn_c_try_run
|
|
1516 |
|
|
1517 |
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
|
1518 |
# -------------------------------------------------------
|
|
1519 |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
|
1520 |
# the include files in INCLUDES and setting the cache variable VAR
|
|
1521 |
# accordingly.
|
|
1522 |
ac_fn_c_check_header_mongrel ()
|
|
1523 |
{
|
|
1524 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1525 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1526 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1527 |
$as_echo_n "checking for $2... " >&6; }
|
|
1528 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1529 |
$as_echo_n "(cached) " >&6
|
|
1530 |
fi
|
|
1531 |
eval ac_res=\$$3
|
|
1532 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1533 |
$as_echo "$ac_res" >&6; }
|
|
1534 |
else
|
|
1535 |
# Is the header compilable?
|
|
1536 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
|
1537 |
$as_echo_n "checking $2 usability... " >&6; }
|
|
1538 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1539 |
/* end confdefs.h. */
|
|
1540 |
$4
|
|
1541 |
#include <$2>
|
|
1542 |
_ACEOF
|
|
1543 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1544 |
ac_header_compiler=yes
|
|
1545 |
else
|
|
1546 |
ac_header_compiler=no
|
|
1547 |
fi
|
|
1548 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1549 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
|
1550 |
$as_echo "$ac_header_compiler" >&6; }
|
|
1551 |
|
|
1552 |
# Is the header present?
|
|
1553 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
|
1554 |
$as_echo_n "checking $2 presence... " >&6; }
|
|
1555 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1556 |
/* end confdefs.h. */
|
|
1557 |
#include <$2>
|
|
1558 |
_ACEOF
|
|
1559 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
1560 |
ac_header_preproc=yes
|
|
1561 |
else
|
|
1562 |
ac_header_preproc=no
|
|
1563 |
fi
|
|
1564 |
rm -f conftest.err conftest.$ac_ext
|
|
1565 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
|
1566 |
$as_echo "$ac_header_preproc" >&6; }
|
|
1567 |
|
|
1568 |
# So? What about this header?
|
|
1569 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
|
|
1570 |
yes:no: )
|
|
1571 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
1572 |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
1573 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
|
1574 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
|
1575 |
;;
|
|
1576 |
no:yes:* )
|
|
1577 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
|
1578 |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
|
1579 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
|
1580 |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
|
1581 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
|
1582 |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
|
1583 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
|
1584 |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
1585 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
|
1586 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
|
1587 |
( cat <<\_ASBOX
|
|
1588 |
## ---------------------------------------------- ##
|
|
1589 |
## Report this to smcameron@users.sourceforge.net ##
|
|
1590 |
## ---------------------------------------------- ##
|
|
1591 |
_ASBOX
|
|
1592 |
) | sed "s/^/$as_me: WARNING: /" >&2
|
|
1593 |
;;
|
|
1594 |
esac
|
|
1595 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1596 |
$as_echo_n "checking for $2... " >&6; }
|
|
1597 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1598 |
$as_echo_n "(cached) " >&6
|
|
1599 |
else
|
|
1600 |
eval "$3=\$ac_header_compiler"
|
|
1601 |
fi
|
|
1602 |
eval ac_res=\$$3
|
|
1603 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1604 |
$as_echo "$ac_res" >&6; }
|
|
1605 |
fi
|
|
1606 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1607 |
|
|
1608 |
} # ac_fn_c_check_header_mongrel
|
|
1609 |
|
|
1610 |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
|
1611 |
# -------------------------------------------------------
|
|
1612 |
# Tests whether HEADER exists and can be compiled using the include files in
|
|
1613 |
# INCLUDES, setting the cache variable VAR accordingly.
|
|
1614 |
ac_fn_c_check_header_compile ()
|
|
1615 |
{
|
|
1616 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1617 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1618 |
$as_echo_n "checking for $2... " >&6; }
|
|
1619 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1620 |
$as_echo_n "(cached) " >&6
|
|
1621 |
else
|
|
1622 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1623 |
/* end confdefs.h. */
|
|
1624 |
$4
|
|
1625 |
#include <$2>
|
|
1626 |
_ACEOF
|
|
1627 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1628 |
eval "$3=yes"
|
|
1629 |
else
|
|
1630 |
eval "$3=no"
|
|
1631 |
fi
|
|
1632 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1633 |
fi
|
|
1634 |
eval ac_res=\$$3
|
|
1635 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1636 |
$as_echo "$ac_res" >&6; }
|
|
1637 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1638 |
|
|
1639 |
} # ac_fn_c_check_header_compile
|
|
1640 |
|
|
1641 |
# ac_fn_c_try_link LINENO
|
|
1642 |
# -----------------------
|
|
1643 |
# Try to link conftest.$ac_ext, and return whether this succeeded.
|
|
1644 |
ac_fn_c_try_link ()
|
|
1645 |
{
|
|
1646 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1647 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
1648 |
if { { ac_try="$ac_link"
|
|
1649 |
case "(($ac_try" in
|
|
1650 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1651 |
*) ac_try_echo=$ac_try;;
|
|
1652 |
esac
|
|
1653 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1654 |
$as_echo "$ac_try_echo"; } >&5
|
|
1655 |
(eval "$ac_link") 2>conftest.err
|
|
1656 |
ac_status=$?
|
|
1657 |
if test -s conftest.err; then
|
|
1658 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1659 |
cat conftest.er1 >&5
|
|
1660 |
mv -f conftest.er1 conftest.err
|
|
1661 |
fi
|
|
1662 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1663 |
test $ac_status = 0; } && {
|
|
1664 |
test -z "$ac_c_werror_flag" ||
|
|
1665 |
test ! -s conftest.err
|
|
1666 |
} && test -s conftest$ac_exeext && {
|
|
1667 |
test "$cross_compiling" = yes ||
|
|
1668 |
$as_test_x conftest$ac_exeext
|
|
1669 |
}; then :
|
|
1670 |
ac_retval=0
|
|
1671 |
else
|
|
1672 |
$as_echo "$as_me: failed program was:" >&5
|
|
1673 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1674 |
|
|
1675 |
ac_retval=1
|
|
1676 |
fi
|
|
1677 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
|
1678 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
|
1679 |
# interfere with the next link command; also delete a directory that is
|
|
1680 |
# left behind by Apple's compiler. We do this before executing the actions.
|
|
1681 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
|
1682 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1683 |
return $ac_retval
|
|
1684 |
|
|
1685 |
} # ac_fn_c_try_link
|
|
1686 |
|
|
1687 |
# ac_fn_c_check_func LINENO FUNC VAR
|
|
1688 |
# ----------------------------------
|
|
1689 |
# Tests whether FUNC exists, setting the cache variable VAR accordingly
|
|
1690 |
ac_fn_c_check_func ()
|
|
1691 |
{
|
|
1692 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1693 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1694 |
$as_echo_n "checking for $2... " >&6; }
|
|
1695 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1696 |
$as_echo_n "(cached) " >&6
|
|
1697 |
else
|
|
1698 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1699 |
/* end confdefs.h. */
|
|
1700 |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
|
1701 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
1702 |
#define $2 innocuous_$2
|
|
1703 |
|
|
1704 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
1705 |
which can conflict with char $2 (); below.
|
|
1706 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
1707 |
<limits.h> exists even on freestanding compilers. */
|
|
1708 |
|
|
1709 |
#ifdef __STDC__
|
|
1710 |
# include <limits.h>
|
|
1711 |
#else
|
|
1712 |
# include <assert.h>
|
|
1713 |
#endif
|
|
1714 |
|
|
1715 |
#undef $2
|
|
1716 |
|
|
1717 |
/* Override any GCC internal prototype to avoid an error.
|
|
1718 |
Use char because int might match the return type of a GCC
|
|
1719 |
builtin and then its argument prototype would still apply. */
|
|
1720 |
#ifdef __cplusplus
|
|
1721 |
extern "C"
|
|
1722 |
#endif
|
|
1723 |
char $2 ();
|
|
1724 |
/* The GNU C library defines this for functions which it implements
|
|
1725 |
to always fail with ENOSYS. Some functions are actually named
|
|
1726 |
something starting with __ and the normal name is an alias. */
|
|
1727 |
#if defined __stub_$2 || defined __stub___$2
|
|
1728 |
choke me
|
|
1729 |
#endif
|
|
1730 |
|
|
1731 |
int
|
|
1732 |
main ()
|
|
1733 |
{
|
|
1734 |
return $2 ();
|
|
1735 |
;
|
|
1736 |
return 0;
|
|
1737 |
}
|
|
1738 |
_ACEOF
|
|
1739 |
if ac_fn_c_try_link "$LINENO"; then :
|
|
1740 |
eval "$3=yes"
|
|
1741 |
else
|
|
1742 |
eval "$3=no"
|
|
1743 |
fi
|
|
1744 |
rm -f core conftest.err conftest.$ac_objext \
|
|
1745 |
conftest$ac_exeext conftest.$ac_ext
|
|
1746 |
fi
|
|
1747 |
eval ac_res=\$$3
|
|
1748 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1749 |
$as_echo "$ac_res" >&6; }
|
|
1750 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1751 |
|
|
1752 |
} # ac_fn_c_check_func
|
1452 | 1753 |
cat >config.log <<_ACEOF
|
1453 | 1754 |
This file contains any messages produced by compilers while
|
1454 | 1755 |
running configure, to aid debugging if configure makes a mistake.
|
1455 | 1756 |
|
1456 | |
It was created by cciss_vol_status $as_me 1.10, which was
|
1457 | |
generated by GNU Autoconf 2.63. Invocation command line was
|
|
1757 |
It was created by cciss_vol_status $as_me 1.09, which was
|
|
1758 |
generated by GNU Autoconf 2.64. Invocation command line was
|
1458 | 1759 |
|
1459 | 1760 |
$ $0 $@
|
1460 | 1761 |
|
|
1490 | 1791 |
do
|
1491 | 1792 |
IFS=$as_save_IFS
|
1492 | 1793 |
test -z "$as_dir" && as_dir=.
|
1493 | |
$as_echo "PATH: $as_dir"
|
1494 | |
done
|
|
1794 |
$as_echo "PATH: $as_dir"
|
|
1795 |
done
|
1495 | 1796 |
IFS=$as_save_IFS
|
1496 | 1797 |
|
1497 | 1798 |
} >&5
|
|
1528 | 1829 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1529 | 1830 |
esac
|
1530 | 1831 |
case $ac_pass in
|
1531 | |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
|
1832 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
1532 | 1833 |
2)
|
1533 | |
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
|
1834 |
as_fn_append ac_configure_args1 " '$ac_arg'"
|
1534 | 1835 |
if test $ac_must_keep_next = true; then
|
1535 | 1836 |
ac_must_keep_next=false # Got value, back to normal.
|
1536 | 1837 |
else
|
|
1546 | 1847 |
-* ) ac_must_keep_next=true ;;
|
1547 | 1848 |
esac
|
1548 | 1849 |
fi
|
1549 | |
ac_configure_args="$ac_configure_args '$ac_arg'"
|
|
1850 |
as_fn_append ac_configure_args " '$ac_arg'"
|
1550 | 1851 |
;;
|
1551 | 1852 |
esac
|
1552 | 1853 |
done
|
1553 | 1854 |
done
|
1554 | |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
1555 | |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
|
1855 |
{ ac_configure_args0=; unset ac_configure_args0;}
|
|
1856 |
{ ac_configure_args1=; unset ac_configure_args1;}
|
1556 | 1857 |
|
1557 | 1858 |
# When interrupted or exit'd, cleanup temporary files, and complete
|
1558 | 1859 |
# config.log. We remove comments because anyway the quotes in there
|
|
1577 | 1878 |
case $ac_val in #(
|
1578 | 1879 |
*${as_nl}*)
|
1579 | 1880 |
case $ac_var in #(
|
1580 | |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
|
|
1881 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
1581 | 1882 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
1582 | 1883 |
esac
|
1583 | 1884 |
case $ac_var in #(
|
1584 | 1885 |
_ | IFS | as_nl) ;; #(
|
1585 | 1886 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
1586 | |
*) $as_unset $ac_var ;;
|
|
1887 |
*) { eval $ac_var=; unset $ac_var;} ;;
|
1587 | 1888 |
esac ;;
|
1588 | 1889 |
esac
|
1589 | 1890 |
done
|
|
1655 | 1956 |
exit $exit_status
|
1656 | 1957 |
' 0
|
1657 | 1958 |
for ac_signal in 1 2 13 15; do
|
1658 | |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
|
1959 |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
1659 | 1960 |
done
|
1660 | 1961 |
ac_signal=0
|
1661 | 1962 |
|
1662 | 1963 |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
1663 | 1964 |
rm -f -r conftest* confdefs.h
|
1664 | 1965 |
|
|
1966 |
$as_echo "/* confdefs.h */" > confdefs.h
|
|
1967 |
|
1665 | 1968 |
# Predefined preprocessor variables.
|
1666 | 1969 |
|
1667 | 1970 |
cat >>confdefs.h <<_ACEOF
|
1668 | 1971 |
#define PACKAGE_NAME "$PACKAGE_NAME"
|
1669 | 1972 |
_ACEOF
|
1670 | 1973 |
|
1671 | |
|
1672 | 1974 |
cat >>confdefs.h <<_ACEOF
|
1673 | 1975 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
1674 | 1976 |
_ACEOF
|
1675 | 1977 |
|
1676 | |
|
1677 | 1978 |
cat >>confdefs.h <<_ACEOF
|
1678 | 1979 |
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
1679 | 1980 |
_ACEOF
|
1680 | 1981 |
|
1681 | |
|
1682 | 1982 |
cat >>confdefs.h <<_ACEOF
|
1683 | 1983 |
#define PACKAGE_STRING "$PACKAGE_STRING"
|
1684 | 1984 |
_ACEOF
|
1685 | 1985 |
|
1686 | |
|
1687 | 1986 |
cat >>confdefs.h <<_ACEOF
|
1688 | 1987 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
|
1988 |
_ACEOF
|
|
1989 |
|
|
1990 |
cat >>confdefs.h <<_ACEOF
|
|
1991 |
#define PACKAGE_URL "$PACKAGE_URL"
|
1689 | 1992 |
_ACEOF
|
1690 | 1993 |
|
1691 | 1994 |
|
|
1706 | 2009 |
do
|
1707 | 2010 |
test "x$ac_site_file" = xNONE && continue
|
1708 | 2011 |
if test -r "$ac_site_file"; then
|
1709 | |
{ $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
|
2012 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
1710 | 2013 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
1711 | 2014 |
sed 's/^/| /' "$ac_site_file" >&5
|
1712 | 2015 |
. "$ac_site_file"
|
|
1717 | 2020 |
# Some versions of bash will fail to source /dev/null (special
|
1718 | 2021 |
# files actually), so we avoid doing that.
|
1719 | 2022 |
if test -f "$cache_file"; then
|
1720 | |
{ $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
|
2023 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
1721 | 2024 |
$as_echo "$as_me: loading cache $cache_file" >&6;}
|
1722 | 2025 |
case $cache_file in
|
1723 | 2026 |
[\\/]* | ?:[\\/]* ) . "$cache_file";;
|
|
1725 | 2028 |
esac
|
1726 | 2029 |
fi
|
1727 | 2030 |
else
|
1728 | |
{ $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
|
2031 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
1729 | 2032 |
$as_echo "$as_me: creating cache $cache_file" >&6;}
|
1730 | 2033 |
>$cache_file
|
1731 | 2034 |
fi
|
|
1740 | 2043 |
eval ac_new_val=\$ac_env_${ac_var}_value
|
1741 | 2044 |
case $ac_old_set,$ac_new_set in
|
1742 | 2045 |
set,)
|
1743 | |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
|
2046 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
1744 | 2047 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
1745 | 2048 |
ac_cache_corrupted=: ;;
|
1746 | 2049 |
,set)
|
1747 | |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
|
2050 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
1748 | 2051 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
1749 | 2052 |
ac_cache_corrupted=: ;;
|
1750 | 2053 |
,);;
|
|
1754 | 2057 |
ac_old_val_w=`echo x $ac_old_val`
|
1755 | 2058 |
ac_new_val_w=`echo x $ac_new_val`
|
1756 | 2059 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
1757 | |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
|
2060 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
1758 | 2061 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
1759 | 2062 |
ac_cache_corrupted=:
|
1760 | 2063 |
else
|
1761 | |
{ $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
|
2064 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
1762 | 2065 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
1763 | 2066 |
eval $ac_var=\$ac_old_val
|
1764 | 2067 |
fi
|
1765 | |
{ $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
|
|
2068 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
1766 | 2069 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
1767 | |
{ $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
|
|
2070 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
1768 | 2071 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
1769 | 2072 |
fi;;
|
1770 | 2073 |
esac
|
|
1776 | 2079 |
esac
|
1777 | 2080 |
case " $ac_configure_args " in
|
1778 | 2081 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
1779 | |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
|
2082 |
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
1780 | 2083 |
esac
|
1781 | 2084 |
fi
|
1782 | 2085 |
done
|
1783 | 2086 |
if $ac_cache_corrupted; then
|
1784 | |
{ $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
2087 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
1785 | 2088 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
1786 | |
{ $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
|
2089 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
1787 | 2090 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
1788 | |
{ { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
1789 | |
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
1790 | |
{ (exit 1); exit 1; }; }
|
1791 | |
fi
|
1792 | |
|
1793 | |
|
1794 | |
|
1795 | |
|
1796 | |
|
1797 | |
|
1798 | |
|
1799 | |
|
1800 | |
|
1801 | |
|
1802 | |
|
1803 | |
|
1804 | |
|
1805 | |
|
1806 | |
|
1807 | |
|
1808 | |
|
1809 | |
|
1810 | |
|
1811 | |
|
1812 | |
|
1813 | |
|
1814 | |
|
1815 | |
|
|
2091 |
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
|
2092 |
fi
|
|
2093 |
## -------------------- ##
|
|
2094 |
## Main body of script. ##
|
|
2095 |
## -------------------- ##
|
1816 | 2096 |
|
1817 | 2097 |
ac_ext=c
|
1818 | 2098 |
ac_cpp='$CPP $CPPFLAGS'
|
|
1829 | 2109 |
|
1830 | 2110 |
ac_aux_dir=
|
1831 | 2111 |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
1832 | |
if test -f "$ac_dir/install-sh"; then
|
1833 | |
ac_aux_dir=$ac_dir
|
1834 | |
ac_install_sh="$ac_aux_dir/install-sh -c"
|
1835 | |
break
|
1836 | |
elif test -f "$ac_dir/install.sh"; then
|
1837 | |
ac_aux_dir=$ac_dir
|
1838 | |
ac_install_sh="$ac_aux_dir/install.sh -c"
|
1839 | |
break
|
1840 | |
elif test -f "$ac_dir/shtool"; then
|
1841 | |
ac_aux_dir=$ac_dir
|
1842 | |
ac_install_sh="$ac_aux_dir/shtool install -c"
|
1843 | |
break
|
1844 | |
fi
|
|
2112 |
for ac_t in install-sh install.sh shtool; do
|
|
2113 |
if test -f "$ac_dir/$ac_t"; then
|
|
2114 |
ac_aux_dir=$ac_dir
|
|
2115 |
ac_install_sh="$ac_aux_dir/$ac_t -c"
|
|
2116 |
break 2
|
|
2117 |
fi
|
|
2118 |
done
|
1845 | 2119 |
done
|
1846 | 2120 |
if test -z "$ac_aux_dir"; then
|
1847 | |
{ { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
|
1848 | |
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
|
1849 | |
{ (exit 1); exit 1; }; }
|
|
2121 |
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
1850 | 2122 |
fi
|
1851 | 2123 |
|
1852 | 2124 |
# These three variables are undocumented and unsupported,
|
|
1872 | 2144 |
# OS/2's system install, which has a completely different semantic
|
1873 | 2145 |
# ./install, which can be erroneously created by make from ./install.sh.
|
1874 | 2146 |
# Reject install programs that cannot install multiple files.
|
1875 | |
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
|
2147 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
1876 | 2148 |
$as_echo_n "checking for a BSD-compatible install... " >&6; }
|
1877 | 2149 |
if test -z "$INSTALL"; then
|
1878 | |
if test "${ac_cv_path_install+set}" = set; then
|
|
2150 |
if test "${ac_cv_path_install+set}" = set; then :
|
1879 | 2151 |
$as_echo_n "(cached) " >&6
|
1880 | 2152 |
else
|
1881 | 2153 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
1883 | 2155 |
do
|
1884 | 2156 |
IFS=$as_save_IFS
|
1885 | 2157 |
test -z "$as_dir" && as_dir=.
|
1886 | |
# Account for people who put trailing slashes in PATH elements.
|
1887 | |
case $as_dir/ in
|
1888 | |
./ | .// | /cC/* | \
|
|
2158 |
# Account for people who put trailing slashes in PATH elements.
|
|
2159 |
case $as_dir/ in #((
|
|
2160 |
./ | .// | /[cC]/* | \
|
1889 | 2161 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
1890 | |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
|
2162 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
1891 | 2163 |
/usr/ucb/* ) ;;
|
1892 | 2164 |
*)
|
1893 | 2165 |
# OSF1 and SCO ODT 3.0 have their own names for install.
|
|
1924 | 2196 |
;;
|
1925 | 2197 |
esac
|
1926 | 2198 |
|
1927 | |
done
|
|
2199 |
done
|
1928 | 2200 |
IFS=$as_save_IFS
|
1929 | 2201 |
|
1930 | 2202 |
rm -rf conftest.one conftest.two conftest.dir
|
|
1940 | 2212 |
INSTALL=$ac_install_sh
|
1941 | 2213 |
fi
|
1942 | 2214 |
fi
|
1943 | |
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
|
|
2215 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
1944 | 2216 |
$as_echo "$INSTALL" >&6; }
|
1945 | 2217 |
|
1946 | 2218 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
|
1951 | 2223 |
|
1952 | 2224 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
1953 | 2225 |
|
1954 | |
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
|
|
2226 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
|
1955 | 2227 |
$as_echo_n "checking whether build environment is sane... " >&6; }
|
1956 | 2228 |
# Just in case
|
1957 | 2229 |
sleep 1
|
|
1962 | 2234 |
'
|
1963 | 2235 |
case `pwd` in
|
1964 | 2236 |
*[\\\"\#\$\&\'\`$am_lf]*)
|
1965 | |
{ { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
|
1966 | |
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
|
1967 | |
{ (exit 1); exit 1; }; };;
|
|
2237 |
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
|
1968 | 2238 |
esac
|
1969 | 2239 |
case $srcdir in
|
1970 | 2240 |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
|
1971 | |
{ { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
|
1972 | |
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
|
1973 | |
{ (exit 1); exit 1; }; };;
|
|
2241 |
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
|
1974 | 2242 |
esac
|
1975 | 2243 |
|
1976 | 2244 |
# Do `set' in a subshell so we don't clobber the current shell's
|
|
1992 | 2260 |
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
1993 | 2261 |
# broken ls alias from the environment. This has actually
|
1994 | 2262 |
# happened. Such a system could not be considered "sane".
|
1995 | |
{ { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
|
1996 | |
alias in your environment" >&5
|
1997 | |
$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
|
1998 | |
alias in your environment" >&2;}
|
1999 | |
{ (exit 1); exit 1; }; }
|
|
2263 |
as_fn_error "ls -t appears to fail. Make sure there is not a broken
|
|
2264 |
alias in your environment" "$LINENO" 5
|
2000 | 2265 |
fi
|
2001 | 2266 |
|
2002 | 2267 |
test "$2" = conftest.file
|
|
2005 | 2270 |
# Ok.
|
2006 | 2271 |
:
|
2007 | 2272 |
else
|
2008 | |
{ { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
|
2009 | |
Check your system clock" >&5
|
2010 | |
$as_echo "$as_me: error: newly created file is older than distributed files!
|
2011 | |
Check your system clock" >&2;}
|
2012 | |
{ (exit 1); exit 1; }; }
|
2013 | |
fi
|
2014 | |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
2273 |
as_fn_error "newly created file is older than distributed files!
|
|
2274 |
Check your system clock" "$LINENO" 5
|
|
2275 |
fi
|
|
2276 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
2015 | 2277 |
$as_echo "yes" >&6; }
|
2016 | 2278 |
test "$program_prefix" != NONE &&
|
2017 | 2279 |
program_transform_name="s&^&$program_prefix&;$program_transform_name"
|
|
2039 | 2301 |
am_missing_run="$MISSING --run "
|
2040 | 2302 |
else
|
2041 | 2303 |
am_missing_run=
|
2042 | |
{ $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
|
|
2304 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
|
2043 | 2305 |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
2044 | 2306 |
fi
|
2045 | 2307 |
|
|
2060 | 2322 |
if test -n "$ac_tool_prefix"; then
|
2061 | 2323 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
2062 | 2324 |
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
2063 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2325 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2064 | 2326 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2065 | |
if test "${ac_cv_prog_STRIP+set}" = set; then
|
|
2327 |
if test "${ac_cv_prog_STRIP+set}" = set; then :
|
2066 | 2328 |
$as_echo_n "(cached) " >&6
|
2067 | 2329 |
else
|
2068 | 2330 |
if test -n "$STRIP"; then
|
|
2073 | 2335 |
do
|
2074 | 2336 |
IFS=$as_save_IFS
|
2075 | 2337 |
test -z "$as_dir" && as_dir=.
|
2076 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2338 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2077 | 2339 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2078 | 2340 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
2079 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2341 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2080 | 2342 |
break 2
|
2081 | 2343 |
fi
|
2082 | 2344 |
done
|
2083 | |
done
|
|
2345 |
done
|
2084 | 2346 |
IFS=$as_save_IFS
|
2085 | 2347 |
|
2086 | 2348 |
fi
|
2087 | 2349 |
fi
|
2088 | 2350 |
STRIP=$ac_cv_prog_STRIP
|
2089 | 2351 |
if test -n "$STRIP"; then
|
2090 | |
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
|
|
2352 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
2091 | 2353 |
$as_echo "$STRIP" >&6; }
|
2092 | 2354 |
else
|
2093 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2355 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2094 | 2356 |
$as_echo "no" >&6; }
|
2095 | 2357 |
fi
|
2096 | 2358 |
|
|
2100 | 2362 |
ac_ct_STRIP=$STRIP
|
2101 | 2363 |
# Extract the first word of "strip", so it can be a program name with args.
|
2102 | 2364 |
set dummy strip; ac_word=$2
|
2103 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2365 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2104 | 2366 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2105 | |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
|
|
2367 |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
|
2106 | 2368 |
$as_echo_n "(cached) " >&6
|
2107 | 2369 |
else
|
2108 | 2370 |
if test -n "$ac_ct_STRIP"; then
|
|
2113 | 2375 |
do
|
2114 | 2376 |
IFS=$as_save_IFS
|
2115 | 2377 |
test -z "$as_dir" && as_dir=.
|
2116 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2378 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2117 | 2379 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2118 | 2380 |
ac_cv_prog_ac_ct_STRIP="strip"
|
2119 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2381 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2120 | 2382 |
break 2
|
2121 | 2383 |
fi
|
2122 | 2384 |
done
|
2123 | |
done
|
|
2385 |
done
|
2124 | 2386 |
IFS=$as_save_IFS
|
2125 | 2387 |
|
2126 | 2388 |
fi
|
2127 | 2389 |
fi
|
2128 | 2390 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
2129 | 2391 |
if test -n "$ac_ct_STRIP"; then
|
2130 | |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
|
|
2392 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
2131 | 2393 |
$as_echo "$ac_ct_STRIP" >&6; }
|
2132 | 2394 |
else
|
2133 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2395 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2134 | 2396 |
$as_echo "no" >&6; }
|
2135 | 2397 |
fi
|
2136 | 2398 |
|
|
2139 | 2401 |
else
|
2140 | 2402 |
case $cross_compiling:$ac_tool_warned in
|
2141 | 2403 |
yes:)
|
2142 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
2404 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
2143 | 2405 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2144 | 2406 |
ac_tool_warned=yes ;;
|
2145 | 2407 |
esac
|
|
2152 | 2414 |
fi
|
2153 | 2415 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
2154 | 2416 |
|
2155 | |
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
|
|
2417 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
|
2156 | 2418 |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
|
2157 | 2419 |
if test -z "$MKDIR_P"; then
|
2158 | |
if test "${ac_cv_path_mkdir+set}" = set; then
|
|
2420 |
if test "${ac_cv_path_mkdir+set}" = set; then :
|
2159 | 2421 |
$as_echo_n "(cached) " >&6
|
2160 | 2422 |
else
|
2161 | 2423 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2163 | 2425 |
do
|
2164 | 2426 |
IFS=$as_save_IFS
|
2165 | 2427 |
test -z "$as_dir" && as_dir=.
|
2166 | |
for ac_prog in mkdir gmkdir; do
|
|
2428 |
for ac_prog in mkdir gmkdir; do
|
2167 | 2429 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2168 | 2430 |
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
|
2169 | 2431 |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
|
|
2175 | 2437 |
esac
|
2176 | 2438 |
done
|
2177 | 2439 |
done
|
2178 | |
done
|
|
2440 |
done
|
2179 | 2441 |
IFS=$as_save_IFS
|
2180 | 2442 |
|
2181 | 2443 |
fi
|
|
2191 | 2453 |
MKDIR_P="$ac_install_sh -d"
|
2192 | 2454 |
fi
|
2193 | 2455 |
fi
|
2194 | |
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
|
|
2456 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
|
2195 | 2457 |
$as_echo "$MKDIR_P" >&6; }
|
2196 | 2458 |
|
2197 | 2459 |
mkdir_p="$MKDIR_P"
|
|
2204 | 2466 |
do
|
2205 | 2467 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
2206 | 2468 |
set dummy $ac_prog; ac_word=$2
|
2207 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2469 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2208 | 2470 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2209 | |
if test "${ac_cv_prog_AWK+set}" = set; then
|
|
2471 |
if test "${ac_cv_prog_AWK+set}" = set; then :
|
2210 | 2472 |
$as_echo_n "(cached) " >&6
|
2211 | 2473 |
else
|
2212 | 2474 |
if test -n "$AWK"; then
|
|
2217 | 2479 |
do
|
2218 | 2480 |
IFS=$as_save_IFS
|
2219 | 2481 |
test -z "$as_dir" && as_dir=.
|
2220 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2482 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2221 | 2483 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2222 | 2484 |
ac_cv_prog_AWK="$ac_prog"
|
2223 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2485 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2224 | 2486 |
break 2
|
2225 | 2487 |
fi
|
2226 | 2488 |
done
|
2227 | |
done
|
|
2489 |
done
|
2228 | 2490 |
IFS=$as_save_IFS
|
2229 | 2491 |
|
2230 | 2492 |
fi
|
2231 | 2493 |
fi
|
2232 | 2494 |
AWK=$ac_cv_prog_AWK
|
2233 | 2495 |
if test -n "$AWK"; then
|
2234 | |
{ $as_echo "$as_me:$LINENO: result: $AWK" >&5
|
|
2496 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
2235 | 2497 |
$as_echo "$AWK" >&6; }
|
2236 | 2498 |
else
|
2237 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2499 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2238 | 2500 |
$as_echo "no" >&6; }
|
2239 | 2501 |
fi
|
2240 | 2502 |
|
|
2242 | 2504 |
test -n "$AWK" && break
|
2243 | 2505 |
done
|
2244 | 2506 |
|
2245 | |
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
|
2507 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
2246 | 2508 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
2247 | 2509 |
set x ${MAKE-make}
|
2248 | 2510 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
2249 | |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
2511 |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
|
2250 | 2512 |
$as_echo_n "(cached) " >&6
|
2251 | 2513 |
else
|
2252 | 2514 |
cat >conftest.make <<\_ACEOF
|
|
2264 | 2526 |
rm -f conftest.make
|
2265 | 2527 |
fi
|
2266 | 2528 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
2267 | |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
2529 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
2268 | 2530 |
$as_echo "yes" >&6; }
|
2269 | 2531 |
SET_MAKE=
|
2270 | 2532 |
else
|
2271 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2533 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2272 | 2534 |
$as_echo "no" >&6; }
|
2273 | 2535 |
SET_MAKE="MAKE=${MAKE-make}"
|
2274 | 2536 |
fi
|
|
2288 | 2550 |
am__isrc=' -I$(srcdir)'
|
2289 | 2551 |
# test to see if srcdir already configured
|
2290 | 2552 |
if test -f $srcdir/config.status; then
|
2291 | |
{ { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
|
2292 | |
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
|
2293 | |
{ (exit 1); exit 1; }; }
|
|
2553 |
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
|
2294 | 2554 |
fi
|
2295 | 2555 |
fi
|
2296 | 2556 |
|
|
2306 | 2566 |
|
2307 | 2567 |
# Define the identity of the package.
|
2308 | 2568 |
PACKAGE='cciss_vol_status'
|
2309 | |
VERSION='1.10'
|
|
2569 |
VERSION='1.09'
|
2310 | 2570 |
|
2311 | 2571 |
|
2312 | 2572 |
cat >>confdefs.h <<_ACEOF
|
|
2355 | 2615 |
if test -n "$ac_tool_prefix"; then
|
2356 | 2616 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
2357 | 2617 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
2358 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2618 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2359 | 2619 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2360 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
|
2620 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
2361 | 2621 |
$as_echo_n "(cached) " >&6
|
2362 | 2622 |
else
|
2363 | 2623 |
if test -n "$CC"; then
|
|
2368 | 2628 |
do
|
2369 | 2629 |
IFS=$as_save_IFS
|
2370 | 2630 |
test -z "$as_dir" && as_dir=.
|
2371 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2631 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2372 | 2632 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2373 | 2633 |
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
2374 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2634 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2375 | 2635 |
break 2
|
2376 | 2636 |
fi
|
2377 | 2637 |
done
|
2378 | |
done
|
|
2638 |
done
|
2379 | 2639 |
IFS=$as_save_IFS
|
2380 | 2640 |
|
2381 | 2641 |
fi
|
2382 | 2642 |
fi
|
2383 | 2643 |
CC=$ac_cv_prog_CC
|
2384 | 2644 |
if test -n "$CC"; then
|
2385 | |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
2645 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
2386 | 2646 |
$as_echo "$CC" >&6; }
|
2387 | 2647 |
else
|
2388 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2648 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2389 | 2649 |
$as_echo "no" >&6; }
|
2390 | 2650 |
fi
|
2391 | 2651 |
|
|
2395 | 2655 |
ac_ct_CC=$CC
|
2396 | 2656 |
# Extract the first word of "gcc", so it can be a program name with args.
|
2397 | 2657 |
set dummy gcc; ac_word=$2
|
2398 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2658 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2399 | 2659 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2400 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
|
2660 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
2401 | 2661 |
$as_echo_n "(cached) " >&6
|
2402 | 2662 |
else
|
2403 | 2663 |
if test -n "$ac_ct_CC"; then
|
|
2408 | 2668 |
do
|
2409 | 2669 |
IFS=$as_save_IFS
|
2410 | 2670 |
test -z "$as_dir" && as_dir=.
|
2411 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2671 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2412 | 2672 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2413 | 2673 |
ac_cv_prog_ac_ct_CC="gcc"
|
2414 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2674 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2415 | 2675 |
break 2
|
2416 | 2676 |
fi
|
2417 | 2677 |
done
|
2418 | |
done
|
|
2678 |
done
|
2419 | 2679 |
IFS=$as_save_IFS
|
2420 | 2680 |
|
2421 | 2681 |
fi
|
2422 | 2682 |
fi
|
2423 | 2683 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
2424 | 2684 |
if test -n "$ac_ct_CC"; then
|
2425 | |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
|
2685 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
2426 | 2686 |
$as_echo "$ac_ct_CC" >&6; }
|
2427 | 2687 |
else
|
2428 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2688 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2429 | 2689 |
$as_echo "no" >&6; }
|
2430 | 2690 |
fi
|
2431 | 2691 |
|
|
2434 | 2694 |
else
|
2435 | 2695 |
case $cross_compiling:$ac_tool_warned in
|
2436 | 2696 |
yes:)
|
2437 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
2697 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
2438 | 2698 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2439 | 2699 |
ac_tool_warned=yes ;;
|
2440 | 2700 |
esac
|
|
2448 | 2708 |
if test -n "$ac_tool_prefix"; then
|
2449 | 2709 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
2450 | 2710 |
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
2451 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2711 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2452 | 2712 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2453 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
|
2713 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
2454 | 2714 |
$as_echo_n "(cached) " >&6
|
2455 | 2715 |
else
|
2456 | 2716 |
if test -n "$CC"; then
|
|
2461 | 2721 |
do
|
2462 | 2722 |
IFS=$as_save_IFS
|
2463 | 2723 |
test -z "$as_dir" && as_dir=.
|
2464 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2724 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2465 | 2725 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2466 | 2726 |
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
2467 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2727 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2468 | 2728 |
break 2
|
2469 | 2729 |
fi
|
2470 | 2730 |
done
|
2471 | |
done
|
|
2731 |
done
|
2472 | 2732 |
IFS=$as_save_IFS
|
2473 | 2733 |
|
2474 | 2734 |
fi
|
2475 | 2735 |
fi
|
2476 | 2736 |
CC=$ac_cv_prog_CC
|
2477 | 2737 |
if test -n "$CC"; then
|
2478 | |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
2738 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
2479 | 2739 |
$as_echo "$CC" >&6; }
|
2480 | 2740 |
else
|
2481 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2741 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2482 | 2742 |
$as_echo "no" >&6; }
|
2483 | 2743 |
fi
|
2484 | 2744 |
|
|
2488 | 2748 |
if test -z "$CC"; then
|
2489 | 2749 |
# Extract the first word of "cc", so it can be a program name with args.
|
2490 | 2750 |
set dummy cc; ac_word=$2
|
2491 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2751 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2492 | 2752 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2493 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
|
2753 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
2494 | 2754 |
$as_echo_n "(cached) " >&6
|
2495 | 2755 |
else
|
2496 | 2756 |
if test -n "$CC"; then
|
|
2502 | 2762 |
do
|
2503 | 2763 |
IFS=$as_save_IFS
|
2504 | 2764 |
test -z "$as_dir" && as_dir=.
|
2505 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2765 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2506 | 2766 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2507 | 2767 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
2508 | 2768 |
ac_prog_rejected=yes
|
2509 | 2769 |
continue
|
2510 | 2770 |
fi
|
2511 | 2771 |
ac_cv_prog_CC="cc"
|
2512 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2772 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2513 | 2773 |
break 2
|
2514 | 2774 |
fi
|
2515 | 2775 |
done
|
2516 | |
done
|
|
2776 |
done
|
2517 | 2777 |
IFS=$as_save_IFS
|
2518 | 2778 |
|
2519 | 2779 |
if test $ac_prog_rejected = yes; then
|
|
2532 | 2792 |
fi
|
2533 | 2793 |
CC=$ac_cv_prog_CC
|
2534 | 2794 |
if test -n "$CC"; then
|
2535 | |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
2795 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
2536 | 2796 |
$as_echo "$CC" >&6; }
|
2537 | 2797 |
else
|
2538 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2798 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2539 | 2799 |
$as_echo "no" >&6; }
|
2540 | 2800 |
fi
|
2541 | 2801 |
|
|
2547 | 2807 |
do
|
2548 | 2808 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
2549 | 2809 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
2550 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2810 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2551 | 2811 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2552 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
|
2812 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
2553 | 2813 |
$as_echo_n "(cached) " >&6
|
2554 | 2814 |
else
|
2555 | 2815 |
if test -n "$CC"; then
|
|
2560 | 2820 |
do
|
2561 | 2821 |
IFS=$as_save_IFS
|
2562 | 2822 |
test -z "$as_dir" && as_dir=.
|
2563 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2823 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2564 | 2824 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2565 | 2825 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
2566 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2826 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2567 | 2827 |
break 2
|
2568 | 2828 |
fi
|
2569 | 2829 |
done
|
2570 | |
done
|
|
2830 |
done
|
2571 | 2831 |
IFS=$as_save_IFS
|
2572 | 2832 |
|
2573 | 2833 |
fi
|
2574 | 2834 |
fi
|
2575 | 2835 |
CC=$ac_cv_prog_CC
|
2576 | 2836 |
if test -n "$CC"; then
|
2577 | |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
2837 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
2578 | 2838 |
$as_echo "$CC" >&6; }
|
2579 | 2839 |
else
|
2580 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2840 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2581 | 2841 |
$as_echo "no" >&6; }
|
2582 | 2842 |
fi
|
2583 | 2843 |
|
|
2591 | 2851 |
do
|
2592 | 2852 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
2593 | 2853 |
set dummy $ac_prog; ac_word=$2
|
2594 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2854 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2595 | 2855 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2596 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
|
2856 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
2597 | 2857 |
$as_echo_n "(cached) " >&6
|
2598 | 2858 |
else
|
2599 | 2859 |
if test -n "$ac_ct_CC"; then
|
|
2604 | 2864 |
do
|
2605 | 2865 |
IFS=$as_save_IFS
|
2606 | 2866 |
test -z "$as_dir" && as_dir=.
|
2607 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2867 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2608 | 2868 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2609 | 2869 |
ac_cv_prog_ac_ct_CC="$ac_prog"
|
2610 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2870 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2611 | 2871 |
break 2
|
2612 | 2872 |
fi
|
2613 | 2873 |
done
|
2614 | |
done
|
|
2874 |
done
|
2615 | 2875 |
IFS=$as_save_IFS
|
2616 | 2876 |
|
2617 | 2877 |
fi
|
2618 | 2878 |
fi
|
2619 | 2879 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
2620 | 2880 |
if test -n "$ac_ct_CC"; then
|
2621 | |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
|
2881 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
2622 | 2882 |
$as_echo "$ac_ct_CC" >&6; }
|
2623 | 2883 |
else
|
2624 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2884 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2625 | 2885 |
$as_echo "no" >&6; }
|
2626 | 2886 |
fi
|
2627 | 2887 |
|
|
2634 | 2894 |
else
|
2635 | 2895 |
case $cross_compiling:$ac_tool_warned in
|
2636 | 2896 |
yes:)
|
2637 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
2897 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
2638 | 2898 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2639 | 2899 |
ac_tool_warned=yes ;;
|
2640 | 2900 |
esac
|
|
2645 | 2905 |
fi
|
2646 | 2906 |
|
2647 | 2907 |
|
2648 | |
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
2908 |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2649 | 2909 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2650 | |
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
2651 | |
See \`config.log' for more details." >&5
|
2652 | |
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
|
2653 | |
See \`config.log' for more details." >&2;}
|
2654 | |
{ (exit 1); exit 1; }; }; }
|
|
2910 |
as_fn_error "no acceptable C compiler found in \$PATH
|
|
2911 |
See \`config.log' for more details." "$LINENO" 5; }
|
2655 | 2912 |
|
2656 | 2913 |
# Provide some information about the compiler.
|
2657 | |
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
|
|
2914 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
2658 | 2915 |
set X $ac_compile
|
2659 | 2916 |
ac_compiler=$2
|
2660 | |
{ (ac_try="$ac_compiler --version >&5"
|
|
2917 |
for ac_option in --version -v -V -qversion; do
|
|
2918 |
{ { ac_try="$ac_compiler $ac_option >&5"
|
2661 | 2919 |
case "(($ac_try" in
|
2662 | 2920 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2663 | 2921 |
*) ac_try_echo=$ac_try;;
|
2664 | 2922 |
esac
|
2665 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2666 | |
$as_echo "$ac_try_echo") >&5
|
2667 | |
(eval "$ac_compiler --version >&5") 2>&5
|
|
2923 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
2924 |
$as_echo "$ac_try_echo"; } >&5
|
|
2925 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
2668 | 2926 |
ac_status=$?
|
2669 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2670 | |
(exit $ac_status); }
|
2671 | |
{ (ac_try="$ac_compiler -v >&5"
|
2672 | |
case "(($ac_try" in
|
2673 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2674 | |
*) ac_try_echo=$ac_try;;
|
2675 | |
esac
|
2676 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2677 | |
$as_echo "$ac_try_echo") >&5
|
2678 | |
(eval "$ac_compiler -v >&5") 2>&5
|
2679 | |
ac_status=$?
|
2680 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2681 | |
(exit $ac_status); }
|
2682 | |
{ (ac_try="$ac_compiler -V >&5"
|
2683 | |
case "(($ac_try" in
|
2684 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2685 | |
*) ac_try_echo=$ac_try;;
|
2686 | |
esac
|
2687 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2688 | |
$as_echo "$ac_try_echo") >&5
|
2689 | |
(eval "$ac_compiler -V >&5") 2>&5
|
2690 | |
ac_status=$?
|
2691 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2692 | |
(exit $ac_status); }
|
2693 | |
|
2694 | |
cat >conftest.$ac_ext <<_ACEOF
|
2695 | |
/* confdefs.h. */
|
2696 | |
_ACEOF
|
2697 | |
cat confdefs.h >>conftest.$ac_ext
|
2698 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
2927 |
if test -s conftest.err; then
|
|
2928 |
sed '10a\
|
|
2929 |
... rest of stderr output deleted ...
|
|
2930 |
10q' conftest.err >conftest.er1
|
|
2931 |
cat conftest.er1 >&5
|
|
2932 |
rm -f conftest.er1 conftest.err
|
|
2933 |
fi
|
|
2934 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
2935 |
test $ac_status = 0; }
|
|
2936 |
done
|
|
2937 |
|
|
2938 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2699 | 2939 |
/* end confdefs.h. */
|
2700 | |
|
|
2940 |
#include <stdio.h>
|
2701 | 2941 |
int
|
2702 | 2942 |
main ()
|
2703 | 2943 |
{
|
|
2944 |
FILE *f = fopen ("conftest.out", "w");
|
|
2945 |
return ferror (f) || fclose (f) != 0;
|
2704 | 2946 |
|
2705 | 2947 |
;
|
2706 | 2948 |
return 0;
|
2707 | 2949 |
}
|
2708 | 2950 |
_ACEOF
|
2709 | 2951 |
ac_clean_files_save=$ac_clean_files
|
2710 | |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
|
|
2952 |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
|
2711 | 2953 |
# Try to create an executable without -o first, disregard a.out.
|
2712 | 2954 |
# It will help us diagnose broken compilers, and finding out an intuition
|
2713 | 2955 |
# of exeext.
|
2714 | |
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
|
|
2956 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
|
2715 | 2957 |
$as_echo_n "checking for C compiler default output file name... " >&6; }
|
2716 | 2958 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
2717 | 2959 |
|
|
2728 | 2970 |
done
|
2729 | 2971 |
rm -f $ac_rmfiles
|
2730 | 2972 |
|
2731 | |
if { (ac_try="$ac_link_default"
|
|
2973 |
if { { ac_try="$ac_link_default"
|
2732 | 2974 |
case "(($ac_try" in
|
2733 | 2975 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2734 | 2976 |
*) ac_try_echo=$ac_try;;
|
2735 | 2977 |
esac
|
2736 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2737 | |
$as_echo "$ac_try_echo") >&5
|
|
2978 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
2979 |
$as_echo "$ac_try_echo"; } >&5
|
2738 | 2980 |
(eval "$ac_link_default") 2>&5
|
2739 | 2981 |
ac_status=$?
|
2740 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2741 | |
(exit $ac_status); }; then
|
|
2982 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
2983 |
test $ac_status = 0; }; then :
|
2742 | 2984 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
2743 | 2985 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
2744 | 2986 |
# in a Makefile. We should not override ac_cv_exeext if it was cached,
|
|
2755 | 2997 |
# certainly right.
|
2756 | 2998 |
break;;
|
2757 | 2999 |
*.* )
|
2758 | |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
|
3000 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
2759 | 3001 |
then :; else
|
2760 | 3002 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
2761 | 3003 |
fi
|
|
2774 | 3016 |
else
|
2775 | 3017 |
ac_file=''
|
2776 | 3018 |
fi
|
2777 | |
|
2778 | |
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
|
|
3019 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
2779 | 3020 |
$as_echo "$ac_file" >&6; }
|
2780 | |
if test -z "$ac_file"; then
|
|
3021 |
if test -z "$ac_file"; then :
|
2781 | 3022 |
$as_echo "$as_me: failed program was:" >&5
|
2782 | 3023 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2783 | 3024 |
|
2784 | |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
3025 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2785 | 3026 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2786 | |
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
|
2787 | |
See \`config.log' for more details." >&5
|
2788 | |
$as_echo "$as_me: error: C compiler cannot create executables
|
2789 | |
See \`config.log' for more details." >&2;}
|
2790 | |
{ (exit 77); exit 77; }; }; }
|
2791 | |
fi
|
2792 | |
|
|
3027 |
{ as_fn_set_status 77
|
|
3028 |
as_fn_error "C compiler cannot create executables
|
|
3029 |
See \`config.log' for more details." "$LINENO" 5; }; }
|
|
3030 |
fi
|
2793 | 3031 |
ac_exeext=$ac_cv_exeext
|
2794 | 3032 |
|
2795 | 3033 |
# Check that the compiler produces executables we can run. If not, either
|
2796 | 3034 |
# the compiler is broken, or we cross compile.
|
2797 | |
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
|
|
3035 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
|
2798 | 3036 |
$as_echo_n "checking whether the C compiler works... " >&6; }
|
2799 | |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
2800 | 3037 |
# If not cross compiling, check that we can run a simple program.
|
2801 | 3038 |
if test "$cross_compiling" != yes; then
|
2802 | 3039 |
if { ac_try='./$ac_file'
|
2803 | |
{ (case "(($ac_try" in
|
|
3040 |
{ { case "(($ac_try" in
|
2804 | 3041 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2805 | 3042 |
*) ac_try_echo=$ac_try;;
|
2806 | 3043 |
esac
|
2807 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2808 | |
$as_echo "$ac_try_echo") >&5
|
|
3044 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3045 |
$as_echo "$ac_try_echo"; } >&5
|
2809 | 3046 |
(eval "$ac_try") 2>&5
|
2810 | 3047 |
ac_status=$?
|
2811 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2812 | |
(exit $ac_status); }; }; then
|
|
3048 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3049 |
test $ac_status = 0; }; }; then
|
2813 | 3050 |
cross_compiling=no
|
2814 | 3051 |
else
|
2815 | 3052 |
if test "$cross_compiling" = maybe; then
|
2816 | 3053 |
cross_compiling=yes
|
2817 | 3054 |
else
|
2818 | |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
3055 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2819 | 3056 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2820 | |
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
|
|
3057 |
as_fn_error "cannot run C compiled programs.
|
2821 | 3058 |
If you meant to cross compile, use \`--host'.
|
2822 | |
See \`config.log' for more details." >&5
|
2823 | |
$as_echo "$as_me: error: cannot run C compiled programs.
|
2824 | |
If you meant to cross compile, use \`--host'.
|
2825 | |
See \`config.log' for more details." >&2;}
|
2826 | |
{ (exit 1); exit 1; }; }; }
|
|
3059 |
See \`config.log' for more details." "$LINENO" 5; }
|
2827 | 3060 |
fi
|
2828 | 3061 |
fi
|
2829 | 3062 |
fi
|
2830 | |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
3063 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
2831 | 3064 |
$as_echo "yes" >&6; }
|
2832 | 3065 |
|
2833 | |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
|
3066 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
|
2834 | 3067 |
ac_clean_files=$ac_clean_files_save
|
2835 | 3068 |
# Check that the compiler produces executables we can run. If not, either
|
2836 | 3069 |
# the compiler is broken, or we cross compile.
|
2837 | |
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
|
3070 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
2838 | 3071 |
$as_echo_n "checking whether we are cross compiling... " >&6; }
|
2839 | |
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
|
3072 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
2840 | 3073 |
$as_echo "$cross_compiling" >&6; }
|
2841 | 3074 |
|
2842 | |
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
|
3075 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
2843 | 3076 |
$as_echo_n "checking for suffix of executables... " >&6; }
|
2844 | |
if { (ac_try="$ac_link"
|
|
3077 |
if { { ac_try="$ac_link"
|
2845 | 3078 |
case "(($ac_try" in
|
2846 | 3079 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2847 | 3080 |
*) ac_try_echo=$ac_try;;
|
2848 | 3081 |
esac
|
2849 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2850 | |
$as_echo "$ac_try_echo") >&5
|
|
3082 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3083 |
$as_echo "$ac_try_echo"; } >&5
|
2851 | 3084 |
(eval "$ac_link") 2>&5
|
2852 | 3085 |
ac_status=$?
|
2853 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2854 | |
(exit $ac_status); }; then
|
|
3086 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3087 |
test $ac_status = 0; }; then :
|
2855 | 3088 |
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
2856 | 3089 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
2857 | 3090 |
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
|
2866 | 3099 |
esac
|
2867 | 3100 |
done
|
2868 | 3101 |
else
|
2869 | |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
3102 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2870 | 3103 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2871 | |
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
|
2872 | |
See \`config.log' for more details." >&5
|
2873 | |
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
|
2874 | |
See \`config.log' for more details." >&2;}
|
2875 | |
{ (exit 1); exit 1; }; }; }
|
2876 | |
fi
|
2877 | |
|
|
3104 |
as_fn_error "cannot compute suffix of executables: cannot compile and link
|
|
3105 |
See \`config.log' for more details." "$LINENO" 5; }
|
|
3106 |
fi
|
2878 | 3107 |
rm -f conftest$ac_cv_exeext
|
2879 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
|
3108 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
2880 | 3109 |
$as_echo "$ac_cv_exeext" >&6; }
|
2881 | 3110 |
|
2882 | 3111 |
rm -f conftest.$ac_ext
|
2883 | 3112 |
EXEEXT=$ac_cv_exeext
|
2884 | 3113 |
ac_exeext=$EXEEXT
|
2885 | |
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
|
3114 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
2886 | 3115 |
$as_echo_n "checking for suffix of object files... " >&6; }
|
2887 | |
if test "${ac_cv_objext+set}" = set; then
|
|
3116 |
if test "${ac_cv_objext+set}" = set; then :
|
2888 | 3117 |
$as_echo_n "(cached) " >&6
|
2889 | 3118 |
else
|
2890 | |
cat >conftest.$ac_ext <<_ACEOF
|
2891 | |
/* confdefs.h. */
|
2892 | |
_ACEOF
|
2893 | |
cat confdefs.h >>conftest.$ac_ext
|
2894 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3119 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2895 | 3120 |
/* end confdefs.h. */
|
2896 | 3121 |
|
2897 | 3122 |
int
|
|
2903 | 3128 |
}
|
2904 | 3129 |
_ACEOF
|
2905 | 3130 |
rm -f conftest.o conftest.obj
|
2906 | |
if { (ac_try="$ac_compile"
|
|
3131 |
if { { ac_try="$ac_compile"
|
2907 | 3132 |
case "(($ac_try" in
|
2908 | 3133 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2909 | 3134 |
*) ac_try_echo=$ac_try;;
|
2910 | 3135 |
esac
|
2911 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2912 | |
$as_echo "$ac_try_echo") >&5
|
|
3136 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3137 |
$as_echo "$ac_try_echo"; } >&5
|
2913 | 3138 |
(eval "$ac_compile") 2>&5
|
2914 | 3139 |
ac_status=$?
|
2915 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2916 | |
(exit $ac_status); }; then
|
|
3140 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3141 |
test $ac_status = 0; }; then :
|
2917 | 3142 |
for ac_file in conftest.o conftest.obj conftest.*; do
|
2918 | 3143 |
test -f "$ac_file" || continue;
|
2919 | 3144 |
case $ac_file in
|
|
2926 | 3151 |
$as_echo "$as_me: failed program was:" >&5
|
2927 | 3152 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2928 | 3153 |
|
2929 | |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
3154 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2930 | 3155 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2931 | |
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
|
2932 | |
See \`config.log' for more details." >&5
|
2933 | |
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
|
2934 | |
See \`config.log' for more details." >&2;}
|
2935 | |
{ (exit 1); exit 1; }; }; }
|
2936 | |
fi
|
2937 | |
|
|
3156 |
as_fn_error "cannot compute suffix of object files: cannot compile
|
|
3157 |
See \`config.log' for more details." "$LINENO" 5; }
|
|
3158 |
fi
|
2938 | 3159 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
2939 | 3160 |
fi
|
2940 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
|
3161 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
2941 | 3162 |
$as_echo "$ac_cv_objext" >&6; }
|
2942 | 3163 |
OBJEXT=$ac_cv_objext
|
2943 | 3164 |
ac_objext=$OBJEXT
|
2944 | |
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
|
3165 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
2945 | 3166 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
2946 | |
if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
|
3167 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
|
2947 | 3168 |
$as_echo_n "(cached) " >&6
|
2948 | 3169 |
else
|
2949 | |
cat >conftest.$ac_ext <<_ACEOF
|
2950 | |
/* confdefs.h. */
|
2951 | |
_ACEOF
|
2952 | |
cat confdefs.h >>conftest.$ac_ext
|
2953 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3170 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2954 | 3171 |
/* end confdefs.h. */
|
2955 | 3172 |
|
2956 | 3173 |
int
|
|
2964 | 3181 |
return 0;
|
2965 | 3182 |
}
|
2966 | 3183 |
_ACEOF
|
2967 | |
rm -f conftest.$ac_objext
|
2968 | |
if { (ac_try="$ac_compile"
|
2969 | |
case "(($ac_try" in
|
2970 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2971 | |
*) ac_try_echo=$ac_try;;
|
2972 | |
esac
|
2973 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
2974 | |
$as_echo "$ac_try_echo") >&5
|
2975 | |
(eval "$ac_compile") 2>conftest.er1
|
2976 | |
ac_status=$?
|
2977 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2978 | |
rm -f conftest.er1
|
2979 | |
cat conftest.err >&5
|
2980 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2981 | |
(exit $ac_status); } && {
|
2982 | |
test -z "$ac_c_werror_flag" ||
|
2983 | |
test ! -s conftest.err
|
2984 | |
} && test -s conftest.$ac_objext; then
|
|
3184 |
if ac_fn_c_try_compile "$LINENO"; then :
|
2985 | 3185 |
ac_compiler_gnu=yes
|
2986 | 3186 |
else
|
2987 | |
$as_echo "$as_me: failed program was:" >&5
|
2988 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2989 | |
|
2990 | |
ac_compiler_gnu=no
|
2991 | |
fi
|
2992 | |
|
|
3187 |
ac_compiler_gnu=no
|
|
3188 |
fi
|
2993 | 3189 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2994 | 3190 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
2995 | 3191 |
|
2996 | 3192 |
fi
|
2997 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
|
3193 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
2998 | 3194 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
2999 | 3195 |
if test $ac_compiler_gnu = yes; then
|
3000 | 3196 |
GCC=yes
|
|
3003 | 3199 |
fi
|
3004 | 3200 |
ac_test_CFLAGS=${CFLAGS+set}
|
3005 | 3201 |
ac_save_CFLAGS=$CFLAGS
|
3006 | |
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
|
3202 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
3007 | 3203 |
$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
3008 | |
if test "${ac_cv_prog_cc_g+set}" = set; then
|
|
3204 |
if test "${ac_cv_prog_cc_g+set}" = set; then :
|
3009 | 3205 |
$as_echo_n "(cached) " >&6
|
3010 | 3206 |
else
|
3011 | 3207 |
ac_save_c_werror_flag=$ac_c_werror_flag
|
3012 | 3208 |
ac_c_werror_flag=yes
|
3013 | 3209 |
ac_cv_prog_cc_g=no
|
3014 | 3210 |
CFLAGS="-g"
|
3015 | |
cat >conftest.$ac_ext <<_ACEOF
|
3016 | |
/* confdefs.h. */
|
3017 | |
_ACEOF
|
3018 | |
cat confdefs.h >>conftest.$ac_ext
|
3019 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3211 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3020 | 3212 |
/* end confdefs.h. */
|
3021 | 3213 |
|
3022 | 3214 |
int
|
|
3027 | 3219 |
return 0;
|
3028 | 3220 |
}
|
3029 | 3221 |
_ACEOF
|
3030 | |
rm -f conftest.$ac_objext
|
3031 | |
if { (ac_try="$ac_compile"
|
3032 | |
case "(($ac_try" in
|
3033 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3034 | |
*) ac_try_echo=$ac_try;;
|
3035 | |
esac
|
3036 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3037 | |
$as_echo "$ac_try_echo") >&5
|
3038 | |
(eval "$ac_compile") 2>conftest.er1
|
3039 | |
ac_status=$?
|
3040 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3041 | |
rm -f conftest.er1
|
3042 | |
cat conftest.err >&5
|
3043 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3044 | |
(exit $ac_status); } && {
|
3045 | |
test -z "$ac_c_werror_flag" ||
|
3046 | |
test ! -s conftest.err
|
3047 | |
} && test -s conftest.$ac_objext; then
|
|
3222 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3048 | 3223 |
ac_cv_prog_cc_g=yes
|
3049 | 3224 |
else
|
3050 | |
$as_echo "$as_me: failed program was:" >&5
|
3051 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3052 | |
|
3053 | |
CFLAGS=""
|
3054 | |
cat >conftest.$ac_ext <<_ACEOF
|
3055 | |
/* confdefs.h. */
|
3056 | |
_ACEOF
|
3057 | |
cat confdefs.h >>conftest.$ac_ext
|
3058 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3225 |
CFLAGS=""
|
|
3226 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3059 | 3227 |
/* end confdefs.h. */
|
3060 | 3228 |
|
3061 | 3229 |
int
|
|
3066 | 3234 |
return 0;
|
3067 | 3235 |
}
|
3068 | 3236 |
_ACEOF
|
3069 | |
rm -f conftest.$ac_objext
|
3070 | |
if { (ac_try="$ac_compile"
|
3071 | |
case "(($ac_try" in
|
3072 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3073 | |
*) ac_try_echo=$ac_try;;
|
3074 | |
esac
|
3075 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3076 | |
$as_echo "$ac_try_echo") >&5
|
3077 | |
(eval "$ac_compile") 2>conftest.er1
|
3078 | |
ac_status=$?
|
3079 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3080 | |
rm -f conftest.er1
|
3081 | |
cat conftest.err >&5
|
3082 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3083 | |
(exit $ac_status); } && {
|
3084 | |
test -z "$ac_c_werror_flag" ||
|
3085 | |
test ! -s conftest.err
|
3086 | |
} && test -s conftest.$ac_objext; then
|
3087 | |
:
|
3088 | |
else
|
3089 | |
$as_echo "$as_me: failed program was:" >&5
|
3090 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3091 | |
|
3092 | |
ac_c_werror_flag=$ac_save_c_werror_flag
|
|
3237 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
3238 |
|
|
3239 |
else
|
|
3240 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
3093 | 3241 |
CFLAGS="-g"
|
3094 | |
cat >conftest.$ac_ext <<_ACEOF
|
3095 | |
/* confdefs.h. */
|
3096 | |
_ACEOF
|
3097 | |
cat confdefs.h >>conftest.$ac_ext
|
3098 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3242 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3099 | 3243 |
/* end confdefs.h. */
|
3100 | 3244 |
|
3101 | 3245 |
int
|
|
3106 | 3250 |
return 0;
|
3107 | 3251 |
}
|
3108 | 3252 |
_ACEOF
|
3109 | |
rm -f conftest.$ac_objext
|
3110 | |
if { (ac_try="$ac_compile"
|
3111 | |
case "(($ac_try" in
|
3112 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3113 | |
*) ac_try_echo=$ac_try;;
|
3114 | |
esac
|
3115 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3116 | |
$as_echo "$ac_try_echo") >&5
|
3117 | |
(eval "$ac_compile") 2>conftest.er1
|
3118 | |
ac_status=$?
|
3119 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3120 | |
rm -f conftest.er1
|
3121 | |
cat conftest.err >&5
|
3122 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3123 | |
(exit $ac_status); } && {
|
3124 | |
test -z "$ac_c_werror_flag" ||
|
3125 | |
test ! -s conftest.err
|
3126 | |
} && test -s conftest.$ac_objext; then
|
|
3253 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3127 | 3254 |
ac_cv_prog_cc_g=yes
|
3128 | |
else
|
3129 | |
$as_echo "$as_me: failed program was:" >&5
|
3130 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3131 | |
|
3132 | |
|
3133 | |
fi
|
3134 | |
|
|
3255 |
fi
|
3135 | 3256 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3136 | 3257 |
fi
|
3137 | |
|
3138 | 3258 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3139 | 3259 |
fi
|
3140 | |
|
3141 | 3260 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3142 | 3261 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
3143 | 3262 |
fi
|
3144 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
|
3263 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
3145 | 3264 |
$as_echo "$ac_cv_prog_cc_g" >&6; }
|
3146 | 3265 |
if test "$ac_test_CFLAGS" = set; then
|
3147 | 3266 |
CFLAGS=$ac_save_CFLAGS
|
|
3158 | 3277 |
CFLAGS=
|
3159 | 3278 |
fi
|
3160 | 3279 |
fi
|
3161 | |
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
|
|
3280 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
3162 | 3281 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
3163 | |
if test "${ac_cv_prog_cc_c89+set}" = set; then
|
|
3282 |
if test "${ac_cv_prog_cc_c89+set}" = set; then :
|
3164 | 3283 |
$as_echo_n "(cached) " >&6
|
3165 | 3284 |
else
|
3166 | 3285 |
ac_cv_prog_cc_c89=no
|
3167 | 3286 |
ac_save_CC=$CC
|
3168 | |
cat >conftest.$ac_ext <<_ACEOF
|
3169 | |
/* confdefs.h. */
|
3170 | |
_ACEOF
|
3171 | |
cat confdefs.h >>conftest.$ac_ext
|
3172 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3287 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3173 | 3288 |
/* end confdefs.h. */
|
3174 | 3289 |
#include <stdarg.h>
|
3175 | 3290 |
#include <stdio.h>
|
|
3226 | 3341 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
3227 | 3342 |
do
|
3228 | 3343 |
CC="$ac_save_CC $ac_arg"
|
3229 | |
rm -f conftest.$ac_objext
|
3230 | |
if { (ac_try="$ac_compile"
|
3231 | |
case "(($ac_try" in
|
3232 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3233 | |
*) ac_try_echo=$ac_try;;
|
3234 | |
esac
|
3235 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3236 | |
$as_echo "$ac_try_echo") >&5
|
3237 | |
(eval "$ac_compile") 2>conftest.er1
|
3238 | |
ac_status=$?
|
3239 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3240 | |
rm -f conftest.er1
|
3241 | |
cat conftest.err >&5
|
3242 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3243 | |
(exit $ac_status); } && {
|
3244 | |
test -z "$ac_c_werror_flag" ||
|
3245 | |
test ! -s conftest.err
|
3246 | |
} && test -s conftest.$ac_objext; then
|
|
3344 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3247 | 3345 |
ac_cv_prog_cc_c89=$ac_arg
|
3248 | |
else
|
3249 | |
$as_echo "$as_me: failed program was:" >&5
|
3250 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3251 | |
|
3252 | |
|
3253 | |
fi
|
3254 | |
|
|
3346 |
fi
|
3255 | 3347 |
rm -f core conftest.err conftest.$ac_objext
|
3256 | 3348 |
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
3257 | 3349 |
done
|
|
3262 | 3354 |
# AC_CACHE_VAL
|
3263 | 3355 |
case "x$ac_cv_prog_cc_c89" in
|
3264 | 3356 |
x)
|
3265 | |
{ $as_echo "$as_me:$LINENO: result: none needed" >&5
|
|
3357 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
3266 | 3358 |
$as_echo "none needed" >&6; } ;;
|
3267 | 3359 |
xno)
|
3268 | |
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5
|
|
3360 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
3269 | 3361 |
$as_echo "unsupported" >&6; } ;;
|
3270 | 3362 |
*)
|
3271 | 3363 |
CC="$CC $ac_cv_prog_cc_c89"
|
3272 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
|
|
3364 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
3273 | 3365 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
3274 | 3366 |
esac
|
3275 | |
|
|
3367 |
if test "x$ac_cv_prog_cc_c89" != xno; then :
|
|
3368 |
|
|
3369 |
fi
|
3276 | 3370 |
|
3277 | 3371 |
ac_ext=c
|
3278 | 3372 |
ac_cpp='$CPP $CPPFLAGS'
|
|
3291 | 3385 |
.PHONY: am__doit
|
3292 | 3386 |
END
|
3293 | 3387 |
# If we don't find an include directive, just comment out the code.
|
3294 | |
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
|
|
3388 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
|
3295 | 3389 |
$as_echo_n "checking for style of include used by $am_make... " >&6; }
|
3296 | 3390 |
am__include="#"
|
3297 | 3391 |
am__quote=
|
|
3319 | 3413 |
fi
|
3320 | 3414 |
|
3321 | 3415 |
|
3322 | |
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
|
|
3416 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
|
3323 | 3417 |
$as_echo "$_am_result" >&6; }
|
3324 | 3418 |
rm -f confinc confmf
|
3325 | 3419 |
|
3326 | 3420 |
# Check whether --enable-dependency-tracking was given.
|
3327 | |
if test "${enable_dependency_tracking+set}" = set; then
|
|
3421 |
if test "${enable_dependency_tracking+set}" = set; then :
|
3328 | 3422 |
enableval=$enable_dependency_tracking;
|
3329 | 3423 |
fi
|
3330 | 3424 |
|
|
3344 | 3438 |
|
3345 | 3439 |
depcc="$CC" am_compiler_list=
|
3346 | 3440 |
|
3347 | |
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
|
|
3441 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
3348 | 3442 |
$as_echo_n "checking dependency style of $depcc... " >&6; }
|
3349 | |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
|
|
3443 |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
|
3350 | 3444 |
$as_echo_n "(cached) " >&6
|
3351 | 3445 |
else
|
3352 | 3446 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
|
3454 | 3548 |
fi
|
3455 | 3549 |
|
3456 | 3550 |
fi
|
3457 | |
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
|
|
3551 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
|
3458 | 3552 |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
|
3459 | 3553 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
3460 | 3554 |
|
|
3479 | 3573 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
3480 | 3574 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
3481 | 3575 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
3482 | |
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
|
|
3576 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
3483 | 3577 |
$as_echo_n "checking how to run the C preprocessor... " >&6; }
|
3484 | 3578 |
# On Suns, sometimes $CPP names a directory.
|
3485 | 3579 |
if test -n "$CPP" && test -d "$CPP"; then
|
3486 | 3580 |
CPP=
|
3487 | 3581 |
fi
|
3488 | 3582 |
if test -z "$CPP"; then
|
3489 | |
if test "${ac_cv_prog_CPP+set}" = set; then
|
|
3583 |
if test "${ac_cv_prog_CPP+set}" = set; then :
|
3490 | 3584 |
$as_echo_n "(cached) " >&6
|
3491 | 3585 |
else
|
3492 | 3586 |
# Double quotes because CPP needs to be expanded
|
|
3501 | 3595 |
# <limits.h> exists even on freestanding compilers.
|
3502 | 3596 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
3503 | 3597 |
# not just through cpp. "Syntax error" is here to catch this case.
|
3504 | |
cat >conftest.$ac_ext <<_ACEOF
|
3505 | |
/* confdefs.h. */
|
3506 | |
_ACEOF
|
3507 | |
cat confdefs.h >>conftest.$ac_ext
|
3508 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3598 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3509 | 3599 |
/* end confdefs.h. */
|
3510 | 3600 |
#ifdef __STDC__
|
3511 | 3601 |
# include <limits.h>
|
|
3514 | 3604 |
#endif
|
3515 | 3605 |
Syntax error
|
3516 | 3606 |
_ACEOF
|
3517 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
3518 | |
case "(($ac_try" in
|
3519 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3520 | |
*) ac_try_echo=$ac_try;;
|
3521 | |
esac
|
3522 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3523 | |
$as_echo "$ac_try_echo") >&5
|
3524 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3525 | |
ac_status=$?
|
3526 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3527 | |
rm -f conftest.er1
|
3528 | |
cat conftest.err >&5
|
3529 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3530 | |
(exit $ac_status); } >/dev/null && {
|
3531 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
3532 | |
test ! -s conftest.err
|
3533 | |
}; then
|
3534 | |
:
|
3535 | |
else
|
3536 | |
$as_echo "$as_me: failed program was:" >&5
|
3537 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3538 | |
|
|
3607 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
3608 |
|
|
3609 |
else
|
3539 | 3610 |
# Broken: fails on valid input.
|
3540 | 3611 |
continue
|
3541 | 3612 |
fi
|
3542 | |
|
3543 | 3613 |
rm -f conftest.err conftest.$ac_ext
|
3544 | 3614 |
|
3545 | 3615 |
# OK, works on sane cases. Now check whether nonexistent headers
|
3546 | 3616 |
# can be detected and how.
|
3547 | |
cat >conftest.$ac_ext <<_ACEOF
|
3548 | |
/* confdefs.h. */
|
3549 | |
_ACEOF
|
3550 | |
cat confdefs.h >>conftest.$ac_ext
|
3551 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3617 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3552 | 3618 |
/* end confdefs.h. */
|
3553 | 3619 |
#include <ac_nonexistent.h>
|
3554 | 3620 |
_ACEOF
|
3555 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
3556 | |
case "(($ac_try" in
|
3557 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3558 | |
*) ac_try_echo=$ac_try;;
|
3559 | |
esac
|
3560 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3561 | |
$as_echo "$ac_try_echo") >&5
|
3562 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3563 | |
ac_status=$?
|
3564 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3565 | |
rm -f conftest.er1
|
3566 | |
cat conftest.err >&5
|
3567 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3568 | |
(exit $ac_status); } >/dev/null && {
|
3569 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
3570 | |
test ! -s conftest.err
|
3571 | |
}; then
|
|
3621 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
3572 | 3622 |
# Broken: success on invalid input.
|
3573 | 3623 |
continue
|
3574 | 3624 |
else
|
3575 | |
$as_echo "$as_me: failed program was:" >&5
|
3576 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3577 | |
|
3578 | 3625 |
# Passes both tests.
|
3579 | 3626 |
ac_preproc_ok=:
|
3580 | 3627 |
break
|
3581 | 3628 |
fi
|
3582 | |
|
3583 | 3629 |
rm -f conftest.err conftest.$ac_ext
|
3584 | 3630 |
|
3585 | 3631 |
done
|
3586 | 3632 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
3587 | 3633 |
rm -f conftest.err conftest.$ac_ext
|
3588 | |
if $ac_preproc_ok; then
|
|
3634 |
if $ac_preproc_ok; then :
|
3589 | 3635 |
break
|
3590 | 3636 |
fi
|
3591 | 3637 |
|
|
3597 | 3643 |
else
|
3598 | 3644 |
ac_cv_prog_CPP=$CPP
|
3599 | 3645 |
fi
|
3600 | |
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
|
|
3646 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
3601 | 3647 |
$as_echo "$CPP" >&6; }
|
3602 | 3648 |
ac_preproc_ok=false
|
3603 | 3649 |
for ac_c_preproc_warn_flag in '' yes
|
|
3608 | 3654 |
# <limits.h> exists even on freestanding compilers.
|
3609 | 3655 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
3610 | 3656 |
# not just through cpp. "Syntax error" is here to catch this case.
|
3611 | |
cat >conftest.$ac_ext <<_ACEOF
|
3612 | |
/* confdefs.h. */
|
3613 | |
_ACEOF
|
3614 | |
cat confdefs.h >>conftest.$ac_ext
|
3615 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3657 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3616 | 3658 |
/* end confdefs.h. */
|
3617 | 3659 |
#ifdef __STDC__
|
3618 | 3660 |
# include <limits.h>
|
|
3621 | 3663 |
#endif
|
3622 | 3664 |
Syntax error
|
3623 | 3665 |
_ACEOF
|
3624 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
3625 | |
case "(($ac_try" in
|
3626 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3627 | |
*) ac_try_echo=$ac_try;;
|
3628 | |
esac
|
3629 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3630 | |
$as_echo "$ac_try_echo") >&5
|
3631 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3632 | |
ac_status=$?
|
3633 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3634 | |
rm -f conftest.er1
|
3635 | |
cat conftest.err >&5
|
3636 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3637 | |
(exit $ac_status); } >/dev/null && {
|
3638 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
3639 | |
test ! -s conftest.err
|
3640 | |
}; then
|
3641 | |
:
|
3642 | |
else
|
3643 | |
$as_echo "$as_me: failed program was:" >&5
|
3644 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3645 | |
|
|
3666 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
3667 |
|
|
3668 |
else
|
3646 | 3669 |
# Broken: fails on valid input.
|
3647 | 3670 |
continue
|
3648 | 3671 |
fi
|
3649 | |
|
3650 | 3672 |
rm -f conftest.err conftest.$ac_ext
|
3651 | 3673 |
|
3652 | 3674 |
# OK, works on sane cases. Now check whether nonexistent headers
|
3653 | 3675 |
# can be detected and how.
|
3654 | |
cat >conftest.$ac_ext <<_ACEOF
|
3655 | |
/* confdefs.h. */
|
3656 | |
_ACEOF
|
3657 | |
cat confdefs.h >>conftest.$ac_ext
|
3658 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3676 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3659 | 3677 |
/* end confdefs.h. */
|
3660 | 3678 |
#include <ac_nonexistent.h>
|
3661 | 3679 |
_ACEOF
|
3662 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
3663 | |
case "(($ac_try" in
|
3664 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3665 | |
*) ac_try_echo=$ac_try;;
|
3666 | |
esac
|
3667 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3668 | |
$as_echo "$ac_try_echo") >&5
|
3669 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3670 | |
ac_status=$?
|
3671 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3672 | |
rm -f conftest.er1
|
3673 | |
cat conftest.err >&5
|
3674 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3675 | |
(exit $ac_status); } >/dev/null && {
|
3676 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
3677 | |
test ! -s conftest.err
|
3678 | |
}; then
|
|
3680 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
3679 | 3681 |
# Broken: success on invalid input.
|
3680 | 3682 |
continue
|
3681 | 3683 |
else
|
3682 | |
$as_echo "$as_me: failed program was:" >&5
|
3683 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3684 | |
|
3685 | 3684 |
# Passes both tests.
|
3686 | 3685 |
ac_preproc_ok=:
|
3687 | 3686 |
break
|
3688 | 3687 |
fi
|
3689 | |
|
3690 | 3688 |
rm -f conftest.err conftest.$ac_ext
|
3691 | 3689 |
|
3692 | 3690 |
done
|
3693 | 3691 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
3694 | 3692 |
rm -f conftest.err conftest.$ac_ext
|
3695 | |
if $ac_preproc_ok; then
|
3696 | |
:
|
3697 | |
else
|
3698 | |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
3693 |
if $ac_preproc_ok; then :
|
|
3694 |
|
|
3695 |
else
|
|
3696 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3699 | 3697 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
3700 | |
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
|
3701 | |
See \`config.log' for more details." >&5
|
3702 | |
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
|
3703 | |
See \`config.log' for more details." >&2;}
|
3704 | |
{ (exit 1); exit 1; }; }; }
|
|
3698 |
as_fn_error "C preprocessor \"$CPP\" fails sanity check
|
|
3699 |
See \`config.log' for more details." "$LINENO" 5; }
|
3705 | 3700 |
fi
|
3706 | 3701 |
|
3707 | 3702 |
ac_ext=c
|
|
3711 | 3706 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
3712 | 3707 |
|
3713 | 3708 |
|
3714 | |
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
|
|
3709 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
3715 | 3710 |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
3716 | |
if test "${ac_cv_path_GREP+set}" = set; then
|
|
3711 |
if test "${ac_cv_path_GREP+set}" = set; then :
|
3717 | 3712 |
$as_echo_n "(cached) " >&6
|
3718 | 3713 |
else
|
3719 | 3714 |
if test -z "$GREP"; then
|
|
3724 | 3719 |
do
|
3725 | 3720 |
IFS=$as_save_IFS
|
3726 | 3721 |
test -z "$as_dir" && as_dir=.
|
3727 | |
for ac_prog in grep ggrep; do
|
|
3722 |
for ac_prog in grep ggrep; do
|
3728 | 3723 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3729 | 3724 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
3730 | 3725 |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
|
3744 | 3739 |
$as_echo 'GREP' >> "conftest.nl"
|
3745 | 3740 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
3746 | 3741 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
3747 | |
ac_count=`expr $ac_count + 1`
|
|
3742 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
3748 | 3743 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
3749 | 3744 |
# Best one so far, save it but keep looking for a better one
|
3750 | 3745 |
ac_cv_path_GREP="$ac_path_GREP"
|
|
3759 | 3754 |
$ac_path_GREP_found && break 3
|
3760 | 3755 |
done
|
3761 | 3756 |
done
|
3762 | |
done
|
|
3757 |
done
|
3763 | 3758 |
IFS=$as_save_IFS
|
3764 | 3759 |
if test -z "$ac_cv_path_GREP"; then
|
3765 | |
{ { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
3766 | |
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
3767 | |
{ (exit 1); exit 1; }; }
|
|
3760 |
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
3768 | 3761 |
fi
|
3769 | 3762 |
else
|
3770 | 3763 |
ac_cv_path_GREP=$GREP
|
3771 | 3764 |
fi
|
3772 | 3765 |
|
3773 | 3766 |
fi
|
3774 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
|
|
3767 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
3775 | 3768 |
$as_echo "$ac_cv_path_GREP" >&6; }
|
3776 | 3769 |
GREP="$ac_cv_path_GREP"
|
3777 | 3770 |
|
3778 | 3771 |
|
3779 | |
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
|
|
3772 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
3780 | 3773 |
$as_echo_n "checking for egrep... " >&6; }
|
3781 | |
if test "${ac_cv_path_EGREP+set}" = set; then
|
|
3774 |
if test "${ac_cv_path_EGREP+set}" = set; then :
|
3782 | 3775 |
$as_echo_n "(cached) " >&6
|
3783 | 3776 |
else
|
3784 | 3777 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
|
3792 | 3785 |
do
|
3793 | 3786 |
IFS=$as_save_IFS
|
3794 | 3787 |
test -z "$as_dir" && as_dir=.
|
3795 | |
for ac_prog in egrep; do
|
|
3788 |
for ac_prog in egrep; do
|
3796 | 3789 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3797 | 3790 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
3798 | 3791 |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
|
3812 | 3805 |
$as_echo 'EGREP' >> "conftest.nl"
|
3813 | 3806 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
3814 | 3807 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
3815 | |
ac_count=`expr $ac_count + 1`
|
|
3808 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
3816 | 3809 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
3817 | 3810 |
# Best one so far, save it but keep looking for a better one
|
3818 | 3811 |
ac_cv_path_EGREP="$ac_path_EGREP"
|
|
3827 | 3820 |
$ac_path_EGREP_found && break 3
|
3828 | 3821 |
done
|
3829 | 3822 |
done
|
3830 | |
done
|
|
3823 |
done
|
3831 | 3824 |
IFS=$as_save_IFS
|
3832 | 3825 |
if test -z "$ac_cv_path_EGREP"; then
|
3833 | |
{ { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
3834 | |
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
3835 | |
{ (exit 1); exit 1; }; }
|
|
3826 |
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
3836 | 3827 |
fi
|
3837 | 3828 |
else
|
3838 | 3829 |
ac_cv_path_EGREP=$EGREP
|
|
3840 | 3831 |
|
3841 | 3832 |
fi
|
3842 | 3833 |
fi
|
3843 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
|
|
3834 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
3844 | 3835 |
$as_echo "$ac_cv_path_EGREP" >&6; }
|
3845 | 3836 |
EGREP="$ac_cv_path_EGREP"
|
3846 | 3837 |
|
3847 | 3838 |
|
3848 | |
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
|
3839 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
3849 | 3840 |
$as_echo_n "checking for ANSI C header files... " >&6; }
|
3850 | |
if test "${ac_cv_header_stdc+set}" = set; then
|
|
3841 |
if test "${ac_cv_header_stdc+set}" = set; then :
|
3851 | 3842 |
$as_echo_n "(cached) " >&6
|
3852 | 3843 |
else
|
3853 | |
cat >conftest.$ac_ext <<_ACEOF
|
3854 | |
/* confdefs.h. */
|
3855 | |
_ACEOF
|
3856 | |
cat confdefs.h >>conftest.$ac_ext
|
3857 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3844 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3858 | 3845 |
/* end confdefs.h. */
|
3859 | 3846 |
#include <stdlib.h>
|
3860 | 3847 |
#include <stdarg.h>
|
|
3869 | 3856 |
return 0;
|
3870 | 3857 |
}
|
3871 | 3858 |
_ACEOF
|
3872 | |
rm -f conftest.$ac_objext
|
3873 | |
if { (ac_try="$ac_compile"
|
3874 | |
case "(($ac_try" in
|
3875 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3876 | |
*) ac_try_echo=$ac_try;;
|
3877 | |
esac
|
3878 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3879 | |
$as_echo "$ac_try_echo") >&5
|
3880 | |
(eval "$ac_compile") 2>conftest.er1
|
3881 | |
ac_status=$?
|
3882 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3883 | |
rm -f conftest.er1
|
3884 | |
cat conftest.err >&5
|
3885 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3886 | |
(exit $ac_status); } && {
|
3887 | |
test -z "$ac_c_werror_flag" ||
|
3888 | |
test ! -s conftest.err
|
3889 | |
} && test -s conftest.$ac_objext; then
|
|
3859 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3890 | 3860 |
ac_cv_header_stdc=yes
|
3891 | 3861 |
else
|
3892 | |
$as_echo "$as_me: failed program was:" >&5
|
3893 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3894 | |
|
3895 | |
ac_cv_header_stdc=no
|
3896 | |
fi
|
3897 | |
|
|
3862 |
ac_cv_header_stdc=no
|
|
3863 |
fi
|
3898 | 3864 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3899 | 3865 |
|
3900 | 3866 |
if test $ac_cv_header_stdc = yes; then
|
3901 | 3867 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
3902 | |
cat >conftest.$ac_ext <<_ACEOF
|
3903 | |
/* confdefs.h. */
|
3904 | |
_ACEOF
|
3905 | |
cat confdefs.h >>conftest.$ac_ext
|
3906 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3868 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3907 | 3869 |
/* end confdefs.h. */
|
3908 | 3870 |
#include <string.h>
|
3909 | 3871 |
|
3910 | 3872 |
_ACEOF
|
3911 | 3873 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
3912 | |
$EGREP "memchr" >/dev/null 2>&1; then
|
3913 | |
:
|
|
3874 |
$EGREP "memchr" >/dev/null 2>&1; then :
|
|
3875 |
|
3914 | 3876 |
else
|
3915 | 3877 |
ac_cv_header_stdc=no
|
3916 | 3878 |
fi
|
|
3920 | 3882 |
|
3921 | 3883 |
if test $ac_cv_header_stdc = yes; then
|
3922 | 3884 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
3923 | |
cat >conftest.$ac_ext <<_ACEOF
|
3924 | |
/* confdefs.h. */
|
3925 | |
_ACEOF
|
3926 | |
cat confdefs.h >>conftest.$ac_ext
|
3927 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3885 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3928 | 3886 |
/* end confdefs.h. */
|
3929 | 3887 |
#include <stdlib.h>
|
3930 | 3888 |
|
3931 | 3889 |
_ACEOF
|
3932 | 3890 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
3933 | |
$EGREP "free" >/dev/null 2>&1; then
|
3934 | |
:
|
|
3891 |
$EGREP "free" >/dev/null 2>&1; then :
|
|
3892 |
|
3935 | 3893 |
else
|
3936 | 3894 |
ac_cv_header_stdc=no
|
3937 | 3895 |
fi
|
|
3941 | 3899 |
|
3942 | 3900 |
if test $ac_cv_header_stdc = yes; then
|
3943 | 3901 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
3944 | |
if test "$cross_compiling" = yes; then
|
|
3902 |
if test "$cross_compiling" = yes; then :
|
3945 | 3903 |
:
|
3946 | 3904 |
else
|
3947 | |
cat >conftest.$ac_ext <<_ACEOF
|
3948 | |
/* confdefs.h. */
|
3949 | |
_ACEOF
|
3950 | |
cat confdefs.h >>conftest.$ac_ext
|
3951 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3905 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3952 | 3906 |
/* end confdefs.h. */
|
3953 | 3907 |
#include <ctype.h>
|
3954 | 3908 |
#include <stdlib.h>
|
|
3975 | 3929 |
return 0;
|
3976 | 3930 |
}
|
3977 | 3931 |
_ACEOF
|
3978 | |
rm -f conftest$ac_exeext
|
3979 | |
if { (ac_try="$ac_link"
|
3980 | |
case "(($ac_try" in
|
3981 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3982 | |
*) ac_try_echo=$ac_try;;
|
3983 | |
esac
|
3984 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3985 | |
$as_echo "$ac_try_echo") >&5
|
3986 | |
(eval "$ac_link") 2>&5
|
3987 | |
ac_status=$?
|
3988 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3989 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
3990 | |
{ (case "(($ac_try" in
|
3991 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3992 | |
*) ac_try_echo=$ac_try;;
|
3993 | |
esac
|
3994 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3995 | |
$as_echo "$ac_try_echo") >&5
|
3996 | |
(eval "$ac_try") 2>&5
|
3997 | |
ac_status=$?
|
3998 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3999 | |
(exit $ac_status); }; }; then
|
4000 | |
:
|
4001 | |
else
|
4002 | |
$as_echo "$as_me: program exited with status $ac_status" >&5
|
4003 | |
$as_echo "$as_me: failed program was:" >&5
|
4004 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4005 | |
|
4006 | |
( exit $ac_status )
|
4007 | |
ac_cv_header_stdc=no
|
4008 | |
fi
|
4009 | |
rm -rf conftest.dSYM
|
4010 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
4011 | |
fi
|
4012 | |
|
4013 | |
|
4014 | |
fi
|
4015 | |
fi
|
4016 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
|
3932 |
if ac_fn_c_try_run "$LINENO"; then :
|
|
3933 |
|
|
3934 |
else
|
|
3935 |
ac_cv_header_stdc=no
|
|
3936 |
fi
|
|
3937 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
3938 |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
3939 |
fi
|
|
3940 |
|
|
3941 |
fi
|
|
3942 |
fi
|
|
3943 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
4017 | 3944 |
$as_echo "$ac_cv_header_stdc" >&6; }
|
4018 | 3945 |
if test $ac_cv_header_stdc = yes; then
|
4019 | 3946 |
|
4020 | |
cat >>confdefs.h <<\_ACEOF
|
4021 | |
#define STDC_HEADERS 1
|
4022 | |
_ACEOF
|
|
3947 |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
4023 | 3948 |
|
4024 | 3949 |
fi
|
4025 | 3950 |
|
4026 | 3951 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
4027 | |
|
4028 | |
|
4029 | |
|
4030 | |
|
4031 | |
|
4032 | |
|
4033 | |
|
4034 | |
|
4035 | |
|
4036 | 3952 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
4037 | 3953 |
inttypes.h stdint.h unistd.h
|
4038 | |
do
|
4039 | |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
4040 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
4041 | |
$as_echo_n "checking for $ac_header... " >&6; }
|
4042 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
4043 | |
$as_echo_n "(cached) " >&6
|
4044 | |
else
|
4045 | |
cat >conftest.$ac_ext <<_ACEOF
|
4046 | |
/* confdefs.h. */
|
4047 | |
_ACEOF
|
4048 | |
cat confdefs.h >>conftest.$ac_ext
|
4049 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4050 | |
/* end confdefs.h. */
|
4051 | |
$ac_includes_default
|
4052 | |
|
4053 | |
#include <$ac_header>
|
4054 | |
_ACEOF
|
4055 | |
rm -f conftest.$ac_objext
|
4056 | |
if { (ac_try="$ac_compile"
|
4057 | |
case "(($ac_try" in
|
4058 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4059 | |
*) ac_try_echo=$ac_try;;
|
4060 | |
esac
|
4061 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4062 | |
$as_echo "$ac_try_echo") >&5
|
4063 | |
(eval "$ac_compile") 2>conftest.er1
|
4064 | |
ac_status=$?
|
4065 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4066 | |
rm -f conftest.er1
|
4067 | |
cat conftest.err >&5
|
4068 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4069 | |
(exit $ac_status); } && {
|
4070 | |
test -z "$ac_c_werror_flag" ||
|
4071 | |
test ! -s conftest.err
|
4072 | |
} && test -s conftest.$ac_objext; then
|
4073 | |
eval "$as_ac_Header=yes"
|
4074 | |
else
|
4075 | |
$as_echo "$as_me: failed program was:" >&5
|
4076 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4077 | |
|
4078 | |
eval "$as_ac_Header=no"
|
4079 | |
fi
|
4080 | |
|
4081 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4082 | |
fi
|
4083 | |
ac_res=`eval 'as_val=${'$as_ac_Header'}
|
4084 | |
$as_echo "$as_val"'`
|
4085 | |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
4086 | |
$as_echo "$ac_res" >&6; }
|
4087 | |
as_val=`eval 'as_val=${'$as_ac_Header'}
|
4088 | |
$as_echo "$as_val"'`
|
4089 | |
if test "x$as_val" = x""yes; then
|
|
3954 |
do :
|
|
3955 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
3956 |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
|
3957 |
"
|
|
3958 |
eval as_val=\$$as_ac_Header
|
|
3959 |
if test "x$as_val" = x""yes; then :
|
4090 | 3960 |
cat >>confdefs.h <<_ACEOF
|
4091 | 3961 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
4092 | 3962 |
_ACEOF
|
|
4096 | 3966 |
done
|
4097 | 3967 |
|
4098 | 3968 |
|
4099 | |
|
4100 | |
|
4101 | |
|
4102 | |
|
4103 | |
|
4104 | |
|
4105 | |
|
4106 | |
|
4107 | 3969 |
for ac_header in errno.h fcntl.h inttypes.h netinet/in.h stdlib.h string.h sys/ioctl.h unistd.h
|
4108 | |
do
|
4109 | |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
4110 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
4111 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
4112 | |
$as_echo_n "checking for $ac_header... " >&6; }
|
4113 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
4114 | |
$as_echo_n "(cached) " >&6
|
4115 | |
fi
|
4116 | |
ac_res=`eval 'as_val=${'$as_ac_Header'}
|
4117 | |
$as_echo "$as_val"'`
|
4118 | |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
4119 | |
$as_echo "$ac_res" >&6; }
|
4120 | |
else
|
4121 | |
# Is the header compilable?
|
4122 | |
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
4123 | |
$as_echo_n "checking $ac_header usability... " >&6; }
|
4124 | |
cat >conftest.$ac_ext <<_ACEOF
|
4125 | |
/* confdefs.h. */
|
4126 | |
_ACEOF
|
4127 | |
cat confdefs.h >>conftest.$ac_ext
|
4128 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4129 | |
/* end confdefs.h. */
|
4130 | |
$ac_includes_default
|
4131 | |
#include <$ac_header>
|
4132 | |
_ACEOF
|
4133 | |
rm -f conftest.$ac_objext
|
4134 | |
if { (ac_try="$ac_compile"
|
4135 | |
case "(($ac_try" in
|
4136 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4137 | |
*) ac_try_echo=$ac_try;;
|
4138 | |
esac
|
4139 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4140 | |
$as_echo "$ac_try_echo") >&5
|
4141 | |
(eval "$ac_compile") 2>conftest.er1
|
4142 | |
ac_status=$?
|
4143 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4144 | |
rm -f conftest.er1
|
4145 | |
cat conftest.err >&5
|
4146 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4147 | |
(exit $ac_status); } && {
|
4148 | |
test -z "$ac_c_werror_flag" ||
|
4149 | |
test ! -s conftest.err
|
4150 | |
} && test -s conftest.$ac_objext; then
|
4151 | |
ac_header_compiler=yes
|
4152 | |
else
|
4153 | |
$as_echo "$as_me: failed program was:" >&5
|
4154 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4155 | |
|
4156 | |
ac_header_compiler=no
|
4157 | |
fi
|
4158 | |
|
4159 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4160 | |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
4161 | |
$as_echo "$ac_header_compiler" >&6; }
|
4162 | |
|
4163 | |
# Is the header present?
|
4164 | |
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
4165 | |
$as_echo_n "checking $ac_header presence... " >&6; }
|
4166 | |
cat >conftest.$ac_ext <<_ACEOF
|
4167 | |
/* confdefs.h. */
|
4168 | |
_ACEOF
|
4169 | |
cat confdefs.h >>conftest.$ac_ext
|
4170 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4171 | |
/* end confdefs.h. */
|
4172 | |
#include <$ac_header>
|
4173 | |
_ACEOF
|
4174 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4175 | |
case "(($ac_try" in
|
4176 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4177 | |
*) ac_try_echo=$ac_try;;
|
4178 | |
esac
|
4179 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4180 | |
$as_echo "$ac_try_echo") >&5
|
4181 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4182 | |
ac_status=$?
|
4183 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4184 | |
rm -f conftest.er1
|
4185 | |
cat conftest.err >&5
|
4186 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4187 | |
(exit $ac_status); } >/dev/null && {
|
4188 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
4189 | |
test ! -s conftest.err
|
4190 | |
}; then
|
4191 | |
ac_header_preproc=yes
|
4192 | |
else
|
4193 | |
$as_echo "$as_me: failed program was:" >&5
|
4194 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4195 | |
|
4196 | |
ac_header_preproc=no
|
4197 | |
fi
|
4198 | |
|
4199 | |
rm -f conftest.err conftest.$ac_ext
|
4200 | |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
4201 | |
$as_echo "$ac_header_preproc" >&6; }
|
4202 | |
|
4203 | |
# So? What about this header?
|
4204 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
4205 | |
yes:no: )
|
4206 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
4207 | |
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
4208 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
4209 | |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
4210 | |
ac_header_preproc=yes
|
4211 | |
;;
|
4212 | |
no:yes:* )
|
4213 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
4214 | |
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
4215 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
4216 | |
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
4217 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
4218 | |
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
4219 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
4220 | |
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
4221 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
4222 | |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
4223 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
4224 | |
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
4225 | |
( cat <<\_ASBOX
|
4226 | |
## ---------------------------------------------- ##
|
4227 | |
## Report this to smcameron@users.sourceforge.net ##
|
4228 | |
## ---------------------------------------------- ##
|
4229 | |
_ASBOX
|
4230 | |
) | sed "s/^/$as_me: WARNING: /" >&2
|
4231 | |
;;
|
4232 | |
esac
|
4233 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
4234 | |
$as_echo_n "checking for $ac_header... " >&6; }
|
4235 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
4236 | |
$as_echo_n "(cached) " >&6
|
4237 | |
else
|
4238 | |
eval "$as_ac_Header=\$ac_header_preproc"
|
4239 | |
fi
|
4240 | |
ac_res=`eval 'as_val=${'$as_ac_Header'}
|
4241 | |
$as_echo "$as_val"'`
|
4242 | |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
4243 | |
$as_echo "$ac_res" >&6; }
|
4244 | |
|
4245 | |
fi
|
4246 | |
as_val=`eval 'as_val=${'$as_ac_Header'}
|
4247 | |
$as_echo "$as_val"'`
|
4248 | |
if test "x$as_val" = x""yes; then
|
|
3970 |
do :
|
|
3971 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
3972 |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
|
3973 |
eval as_val=\$$as_ac_Header
|
|
3974 |
if test "x$as_val" = x""yes; then :
|
4249 | 3975 |
cat >>confdefs.h <<_ACEOF
|
4250 | 3976 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
4251 | 3977 |
_ACEOF
|
|
4254 | 3980 |
|
4255 | 3981 |
done
|
4256 | 3982 |
|
4257 | |
if test "${ac_cv_header_scsi_sg_h+set}" = set; then
|
4258 | |
{ $as_echo "$as_me:$LINENO: checking for scsi/sg.h" >&5
|
4259 | |
$as_echo_n "checking for scsi/sg.h... " >&6; }
|
4260 | |
if test "${ac_cv_header_scsi_sg_h+set}" = set; then
|
|
3983 |
ac_fn_c_check_header_mongrel "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
|
|
3984 |
if test "x$ac_cv_header_scsi_sg_h" = x""yes; then :
|
|
3985 |
|
|
3986 |
$as_echo "#define HAVE_SCSI_SG_H 1" >>confdefs.h
|
|
3987 |
|
|
3988 |
else
|
|
3989 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: scsi/sg.h not found so MSA1000 support will not be compiled." >&5
|
|
3990 |
$as_echo "$as_me: WARNING: scsi/sg.h not found so MSA1000 support will not be compiled." >&2;}
|
|
3991 |
fi
|
|
3992 |
|
|
3993 |
|
|
3994 |
ac_fn_c_check_header_mongrel "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
|
|
3995 |
if test "x$ac_cv_header_scsi_scsi_h" = x""yes; then :
|
|
3996 |
|
|
3997 |
$as_echo "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
|
|
3998 |
|
|
3999 |
fi
|
|
4000 |
|
|
4001 |
|
|
4002 |
ac_fn_c_check_header_mongrel "$LINENO" "linux/cciss_ioctl.h" "ac_cv_header_linux_cciss_ioctl_h" "$ac_includes_default"
|
|
4003 |
if test "x$ac_cv_header_linux_cciss_ioctl_h" = x""yes; then :
|
|
4004 |
|
|
4005 |
$as_echo "#define HAVE_LINUX_CCISS_IOCTL_H 1" >>confdefs.h
|
|
4006 |
|
|
4007 |
fi
|
|
4008 |
|
|
4009 |
|
|
4010 |
ac_fn_c_check_header_mongrel "$LINENO" "/usr/src/sys/dev/ciss/cissio.h" "ac_cv_header__usr_src_sys_dev_ciss_cissio_h" "$ac_includes_default"
|
|
4011 |
if test "x$ac_cv_header__usr_src_sys_dev_ciss_cissio_h" = x""yes; then :
|
|
4012 |
|
|
4013 |
$as_echo "#define HAVE_CISSIO_H 1" >>confdefs.h
|
|
4014 |
|
|
4015 |
fi
|
|
4016 |
|
|
4017 |
|
|
4018 |
|
|
4019 |
# Checks for typedefs, structures, and compiler characteristics.
|
|
4020 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
|
|
4021 |
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
|
|
4022 |
if test "${ac_cv_c_const+set}" = set; then :
|
4261 | 4023 |
$as_echo_n "(cached) " >&6
|
4262 | |
fi
|
4263 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_scsi_sg_h" >&5
|
4264 | |
$as_echo "$ac_cv_header_scsi_sg_h" >&6; }
|
4265 | |
else
|
4266 | |
# Is the header compilable?
|
4267 | |
{ $as_echo "$as_me:$LINENO: checking scsi/sg.h usability" >&5
|
4268 | |
$as_echo_n "checking scsi/sg.h usability... " >&6; }
|
4269 | |
cat >conftest.$ac_ext <<_ACEOF
|
4270 | |
/* confdefs.h. */
|
4271 | |
_ACEOF
|
4272 | |
cat confdefs.h >>conftest.$ac_ext
|
4273 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4274 | |
/* end confdefs.h. */
|
4275 | |
$ac_includes_default
|
4276 | |
#include <scsi/sg.h>
|
4277 | |
_ACEOF
|
4278 | |
rm -f conftest.$ac_objext
|
4279 | |
if { (ac_try="$ac_compile"
|
4280 | |
case "(($ac_try" in
|
4281 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4282 | |
*) ac_try_echo=$ac_try;;
|
4283 | |
esac
|
4284 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4285 | |
$as_echo "$ac_try_echo") >&5
|
4286 | |
(eval "$ac_compile") 2>conftest.er1
|
4287 | |
ac_status=$?
|
4288 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4289 | |
rm -f conftest.er1
|
4290 | |
cat conftest.err >&5
|
4291 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4292 | |
(exit $ac_status); } && {
|
4293 | |
test -z "$ac_c_werror_flag" ||
|
4294 | |
test ! -s conftest.err
|
4295 | |
} && test -s conftest.$ac_objext; then
|
4296 | |
ac_header_compiler=yes
|
4297 | |
else
|
4298 | |
$as_echo "$as_me: failed program was:" >&5
|
4299 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4300 | |
|
4301 | |
ac_header_compiler=no
|
4302 | |
fi
|
4303 | |
|
4304 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4305 | |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
4306 | |
$as_echo "$ac_header_compiler" >&6; }
|
4307 | |
|
4308 | |
# Is the header present?
|
4309 | |
{ $as_echo "$as_me:$LINENO: checking scsi/sg.h presence" >&5
|
4310 | |
$as_echo_n "checking scsi/sg.h presence... " >&6; }
|
4311 | |
cat >conftest.$ac_ext <<_ACEOF
|
4312 | |
/* confdefs.h. */
|
4313 | |
_ACEOF
|
4314 | |
cat confdefs.h >>conftest.$ac_ext
|
4315 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4316 | |
/* end confdefs.h. */
|
4317 | |
#include <scsi/sg.h>
|
4318 | |
_ACEOF
|
4319 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4320 | |
case "(($ac_try" in
|
4321 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4322 | |
*) ac_try_echo=$ac_try;;
|
4323 | |
esac
|
4324 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4325 | |
$as_echo "$ac_try_echo") >&5
|
4326 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4327 | |
ac_status=$?
|
4328 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4329 | |
rm -f conftest.er1
|
4330 | |
cat conftest.err >&5
|
4331 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4332 | |
(exit $ac_status); } >/dev/null && {
|
4333 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
4334 | |
test ! -s conftest.err
|
4335 | |
}; then
|
4336 | |
ac_header_preproc=yes
|
4337 | |
else
|
4338 | |
$as_echo "$as_me: failed program was:" >&5
|
4339 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4340 | |
|
4341 | |
ac_header_preproc=no
|
4342 | |
fi
|
4343 | |
|
4344 | |
rm -f conftest.err conftest.$ac_ext
|
4345 | |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
4346 | |
$as_echo "$ac_header_preproc" >&6; }
|
4347 | |
|
4348 | |
# So? What about this header?
|
4349 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
4350 | |
yes:no: )
|
4351 | |
{ $as_echo "$as_me:$LINENO: WARNING: scsi/sg.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
4352 | |
$as_echo "$as_me: WARNING: scsi/sg.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
4353 | |
{ $as_echo "$as_me:$LINENO: WARNING: scsi/sg.h: proceeding with the compiler's result" >&5
|
4354 | |
$as_echo "$as_me: WARNING: scsi/sg.h: proceeding with the compiler's result" >&2;}
|
4355 | |
ac_header_preproc=yes
|
4356 | |
;;
|
4357 | |
no:yes:* )
|
4358 | |
{ $as_echo "$as_me:$LINENO: WARNING: scsi/sg.h: present but cannot be compiled" >&5
|
4359 | |
$as_echo "$as_me: WARNING: scsi/sg.h: present but cannot be compiled" >&2;}
|
4360 | |
{ $as_echo "$as_me:$LINENO: WARNING: scsi/sg.h: check for missing prerequisite headers?" >&5
|
4361 | |
$as_echo "$as_me: WARNING: scsi/sg.h: check for missing prerequisite headers?" >&2;}
|
4362 | |
{ $as_echo "$as_me:$LINENO: WARNING: scsi/sg.h: see the Autoconf documentation" >&5
|
4363 | |
$as_echo "$as_me: WARNING: scsi/sg.h: see the Autoconf documentation" >&2;}
|
4364 | |
{ $as_echo "$as_me:$LINENO: WARNING: scsi/sg.h: section \"Present But Cannot Be Compiled\"" >&5
|
4365 | |
$as_echo "$as_me: WARNING: scsi/sg.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
4366 | |
{ $as_echo "$as_me:$LINENO: WARNING: scsi/sg.h: proceeding with the preprocessor's result" >&5
|
4367 | |
$as_echo "$as_me: WARNING: scsi/sg.h: proceeding with the preprocessor's result" >&2;}
|
4368 | |
{ $as_echo "$as_me:$LINENO: WARNING: scsi/sg.h: in the future, the compiler will take precedence" >&5
|
4369 | |
$as_echo "$as_me: WARNING: scsi/sg.h: in the future, the compiler will take precedence" >&2;}
|
4370 | |
( cat <<\_ASBOX
|
4371 | |
## ---------------------------------------------- ##
|
4372 | |
## Report this to smcameron@users.sourceforge.net ##
|
4373 | |
## ---------------------------------------------- ##
|
4374 | |
_ASBOX
|
4375 | |
) | sed "s/^/$as_me: WARNING: /" >&2
|
4376 | |
;;
|
4377 | |
esac
|
4378 | |
{ $as_echo "$as_me:$LINENO: checking for scsi/sg.h" >&5
|
4379 | |
$as_echo_n "checking for scsi/sg.h... " >&6; }
|
4380 | |
if test "${ac_cv_header_scsi_sg_h+set}" = set; then
|
4381 | |
$as_echo_n "(cached) " >&6
|
4382 | |
else
|
4383 | |
ac_cv_header_scsi_sg_h=$ac_header_preproc
|
4384 | |
fi
|
4385 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_scsi_sg_h" >&5
|
4386 | |
$as_echo "$ac_cv_header_scsi_sg_h" >&6; }
|
4387 | |
|
4388 | |
fi
|
4389 | |
if test "x$ac_cv_header_scsi_sg_h" = x""yes; then
|
4390 | |
|
4391 | |
cat >>confdefs.h <<\_ACEOF
|
4392 | |
#define HAVE_SCSI_SG_H 1
|
4393 | |
_ACEOF
|
4394 | |
|
4395 | |
else
|
4396 | |
{ $as_echo "$as_me:$LINENO: WARNING: scsi/sg.h not found so MSA1000 support will not be compiled." >&5
|
4397 | |
$as_echo "$as_me: WARNING: scsi/sg.h not found so MSA1000 support will not be compiled." >&2;}
|
4398 | |
fi
|
4399 | |
|
4400 | |
|
4401 | |
if test "${ac_cv_header_scsi_scsi_h+set}" = set; then
|
4402 | |
{ $as_echo "$as_me:$LINENO: checking for scsi/scsi.h" >&5
|
4403 | |
$as_echo_n "checking for scsi/scsi.h... " >&6; }
|
4404 | |
if test "${ac_cv_header_scsi_scsi_h+set}" = set; then
|
4405 | |
$as_echo_n "(cached) " >&6
|
4406 | |
fi
|
4407 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_scsi_scsi_h" >&5
|
4408 | |
$as_echo "$ac_cv_header_scsi_scsi_h" >&6; }
|
4409 | |
else
|
4410 | |
# Is the header compilable?
|
4411 | |
{ $as_echo "$as_me:$LINENO: checking scsi/scsi.h usability" >&5
|
4412 | |
$as_echo_n "checking scsi/scsi.h usability... " >&6; }
|
4413 | |
cat >conftest.$ac_ext <<_ACEOF
|
4414 | |
/* confdefs.h. */
|
4415 | |
_ACEOF
|
4416 | |
cat confdefs.h >>conftest.$ac_ext
|
4417 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4418 | |
/* end confdefs.h. */
|
4419 | |
$ac_includes_default
|
4420 | |
#include <scsi/scsi.h>
|
4421 | |
_ACEOF
|
4422 | |
rm -f conftest.$ac_objext
|
4423 | |
if { (ac_try="$ac_compile"
|
4424 | |
case "(($ac_try" in
|
4425 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4426 | |
*) ac_try_echo=$ac_try;;
|
4427 | |
esac
|
4428 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4429 | |
$as_echo "$ac_try_echo") >&5
|
4430 | |
(eval "$ac_compile") 2>conftest.er1
|
4431 | |
ac_status=$?
|
4432 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4433 | |
rm -f conftest.er1
|
4434 | |
cat conftest.err >&5
|
4435 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4436 | |
(exit $ac_status); } && {
|
4437 | |
test -z "$ac_c_werror_flag" ||
|
4438 | |
test ! -s conftest.err
|
4439 | |
} && test -s conftest.$ac_objext; then
|
4440 | |
ac_header_compiler=yes
|
4441 | |
else
|
4442 | |
$as_echo "$as_me: failed program was:" >&5
|
4443 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4444 | |
|
4445 | |
ac_header_compiler=no
|
4446 | |
fi
|
4447 | |
|
4448 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4449 | |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
4450 | |
$as_echo "$ac_header_compiler" >&6; }
|
4451 | |
|
4452 | |
# Is the header present?
|
4453 | |
{ $as_echo "$as_me:$LINENO: checking scsi/scsi.h presence" >&5
|
4454 | |
$as_echo_n "checking scsi/scsi.h presence... " >&6; }
|
4455 | |
cat >conftest.$ac_ext <<_ACEOF
|
4456 | |
/* confdefs.h. */
|
4457 | |
_ACEOF
|
4458 | |
cat confdefs.h >>conftest.$ac_ext
|
4459 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4460 | |
/* end confdefs.h. */
|
4461 | |
#include <scsi/scsi.h>
|
4462 | |
_ACEOF
|
4463 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4464 | |
case "(($ac_try" in
|
4465 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4466 | |
*) ac_try_echo=$ac_try;;
|
4467 | |
esac
|
4468 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4469 | |
$as_echo "$ac_try_echo") >&5
|
4470 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4471 | |
ac_status=$?
|
4472 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4473 | |
rm -f conftest.er1
|
4474 | |
cat conftest.err >&5
|
4475 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4476 | |
(exit $ac_status); } >/dev/null && {
|
4477 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
4478 | |
test ! -s conftest.err
|
4479 | |
}; then
|
4480 | |
ac_header_preproc=yes
|
4481 | |
else
|
4482 | |
$as_echo "$as_me: failed program was:" >&5
|
4483 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4484 | |
|
4485 | |
ac_header_preproc=no
|
4486 | |
fi
|
4487 | |
|
4488 | |
rm -f conftest.err conftest.$ac_ext
|
4489 | |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
4490 | |
$as_echo "$ac_header_preproc" >&6; }
|
4491 | |
|
4492 | |
# So? What about this header?
|
4493 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
4494 | |
yes:no: )
|
4495 | |
{ $as_echo "$as_me:$LINENO: WARNING: scsi/scsi.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
4496 | |
$as_echo "$as_me: WARNING: scsi/scsi.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
4497 | |
{ $as_echo "$as_me:$LINENO: WARNING: scsi/scsi.h: proceeding with the compiler's result" >&5
|
4498 | |
$as_echo "$as_me: WARNING: scsi/scsi.h: proceeding with the compiler's result" >&2;}
|
4499 | |
ac_header_preproc=yes
|
4500 | |
;;
|
4501 | |
no:yes:* )
|
4502 | |
{ $as_echo "$as_me:$LINENO: WARNING: scsi/scsi.h: present but cannot be compiled" >&5
|
4503 | |
$as_echo "$as_me: WARNING: scsi/scsi.h: present but cannot be compiled" >&2;}
|
4504 | |
{ $as_echo "$as_me:$LINENO: WARNING: scsi/scsi.h: check for missing prerequisite headers?" >&5
|
4505 | |
$as_echo "$as_me: WARNING: scsi/scsi.h: check for missing prerequisite headers?" >&2;}
|
4506 | |
{ $as_echo "$as_me:$LINENO: WARNING: scsi/scsi.h: see the Autoconf documentation" >&5
|
4507 | |
$as_echo "$as_me: WARNING: scsi/scsi.h: see the Autoconf documentation" >&2;}
|
4508 | |
{ $as_echo "$as_me:$LINENO: WARNING: scsi/scsi.h: section \"Present But Cannot Be Compiled\"" >&5
|
4509 | |
$as_echo "$as_me: WARNING: scsi/scsi.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
4510 | |
{ $as_echo "$as_me:$LINENO: WARNING: scsi/scsi.h: proceeding with the preprocessor's result" >&5
|
4511 | |
$as_echo "$as_me: WARNING: scsi/scsi.h: proceeding with the preprocessor's result" >&2;}
|
4512 | |
{ $as_echo "$as_me:$LINENO: WARNING: scsi/scsi.h: in the future, the compiler will take precedence" >&5
|
4513 | |
$as_echo "$as_me: WARNING: scsi/scsi.h: in the future, the compiler will take precedence" >&2;}
|
4514 | |
( cat <<\_ASBOX
|
4515 | |
## ---------------------------------------------- ##
|
4516 | |
## Report this to smcameron@users.sourceforge.net ##
|
4517 | |
## ---------------------------------------------- ##
|
4518 | |
_ASBOX
|
4519 | |
) | sed "s/^/$as_me: WARNING: /" >&2
|
4520 | |
;;
|
4521 | |
esac
|
4522 | |
{ $as_echo "$as_me:$LINENO: checking for scsi/scsi.h" >&5
|
4523 | |
$as_echo_n "checking for scsi/scsi.h... " >&6; }
|
4524 | |
if test "${ac_cv_header_scsi_scsi_h+set}" = set; then
|
4525 | |
$as_echo_n "(cached) " >&6
|
4526 | |
else
|
4527 | |
ac_cv_header_scsi_scsi_h=$ac_header_preproc
|
4528 | |
fi
|
4529 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_scsi_scsi_h" >&5
|
4530 | |
$as_echo "$ac_cv_header_scsi_scsi_h" >&6; }
|
4531 | |
|
4532 | |
fi
|
4533 | |
if test "x$ac_cv_header_scsi_scsi_h" = x""yes; then
|
4534 | |
|
4535 | |
cat >>confdefs.h <<\_ACEOF
|
4536 | |
#define HAVE_SCSI_SCSI_H 1
|
4537 | |
_ACEOF
|
4538 | |
|
4539 | |
fi
|
4540 | |
|
4541 | |
|
4542 | |
if test "${ac_cv_header_linux_cciss_ioctl_h+set}" = set; then
|
4543 | |
{ $as_echo "$as_me:$LINENO: checking for linux/cciss_ioctl.h" >&5
|
4544 | |
$as_echo_n "checking for linux/cciss_ioctl.h... " >&6; }
|
4545 | |
if test "${ac_cv_header_linux_cciss_ioctl_h+set}" = set; then
|
4546 | |
$as_echo_n "(cached) " >&6
|
4547 | |
fi
|
4548 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_cciss_ioctl_h" >&5
|
4549 | |
$as_echo "$ac_cv_header_linux_cciss_ioctl_h" >&6; }
|
4550 | |
else
|
4551 | |
# Is the header compilable?
|
4552 | |
{ $as_echo "$as_me:$LINENO: checking linux/cciss_ioctl.h usability" >&5
|
4553 | |
$as_echo_n "checking linux/cciss_ioctl.h usability... " >&6; }
|
4554 | |
cat >conftest.$ac_ext <<_ACEOF
|
4555 | |
/* confdefs.h. */
|
4556 | |
_ACEOF
|
4557 | |
cat confdefs.h >>conftest.$ac_ext
|
4558 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4559 | |
/* end confdefs.h. */
|
4560 | |
$ac_includes_default
|
4561 | |
#include <linux/cciss_ioctl.h>
|
4562 | |
_ACEOF
|
4563 | |
rm -f conftest.$ac_objext
|
4564 | |
if { (ac_try="$ac_compile"
|
4565 | |
case "(($ac_try" in
|
4566 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4567 | |
*) ac_try_echo=$ac_try;;
|
4568 | |
esac
|
4569 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4570 | |
$as_echo "$ac_try_echo") >&5
|
4571 | |
(eval "$ac_compile") 2>conftest.er1
|
4572 | |
ac_status=$?
|
4573 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4574 | |
rm -f conftest.er1
|
4575 | |
cat conftest.err >&5
|
4576 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4577 | |
(exit $ac_status); } && {
|
4578 | |
test -z "$ac_c_werror_flag" ||
|
4579 | |
test ! -s conftest.err
|
4580 | |
} && test -s conftest.$ac_objext; then
|
4581 | |
ac_header_compiler=yes
|
4582 | |
else
|
4583 | |
$as_echo "$as_me: failed program was:" >&5
|
4584 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4585 | |
|
4586 | |
ac_header_compiler=no
|
4587 | |
fi
|
4588 | |
|
4589 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4590 | |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
4591 | |
$as_echo "$ac_header_compiler" >&6; }
|
4592 | |
|
4593 | |
# Is the header present?
|
4594 | |
{ $as_echo "$as_me:$LINENO: checking linux/cciss_ioctl.h presence" >&5
|
4595 | |
$as_echo_n "checking linux/cciss_ioctl.h presence... " >&6; }
|
4596 | |
cat >conftest.$ac_ext <<_ACEOF
|
4597 | |
/* confdefs.h. */
|
4598 | |
_ACEOF
|
4599 | |
cat confdefs.h >>conftest.$ac_ext
|
4600 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4601 | |
/* end confdefs.h. */
|
4602 | |
#include <linux/cciss_ioctl.h>
|
4603 | |
_ACEOF
|
4604 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4605 | |
case "(($ac_try" in
|
4606 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4607 | |
*) ac_try_echo=$ac_try;;
|
4608 | |
esac
|
4609 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4610 | |
$as_echo "$ac_try_echo") >&5
|
4611 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4612 | |
ac_status=$?
|
4613 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4614 | |
rm -f conftest.er1
|
4615 | |
cat conftest.err >&5
|
4616 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4617 | |
(exit $ac_status); } >/dev/null && {
|
4618 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
4619 | |
test ! -s conftest.err
|
4620 | |
}; then
|
4621 | |
ac_header_preproc=yes
|
4622 | |
else
|
4623 | |
$as_echo "$as_me: failed program was:" >&5
|
4624 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4625 | |
|
4626 | |
ac_header_preproc=no
|
4627 | |
fi
|
4628 | |
|
4629 | |
rm -f conftest.err conftest.$ac_ext
|
4630 | |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
4631 | |
$as_echo "$ac_header_preproc" >&6; }
|
4632 | |
|
4633 | |
# So? What about this header?
|
4634 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
4635 | |
yes:no: )
|
4636 | |
{ $as_echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
4637 | |
$as_echo "$as_me: WARNING: linux/cciss_ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
4638 | |
{ $as_echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: proceeding with the compiler's result" >&5
|
4639 | |
$as_echo "$as_me: WARNING: linux/cciss_ioctl.h: proceeding with the compiler's result" >&2;}
|
4640 | |
ac_header_preproc=yes
|
4641 | |
;;
|
4642 | |
no:yes:* )
|
4643 | |
{ $as_echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: present but cannot be compiled" >&5
|
4644 | |
$as_echo "$as_me: WARNING: linux/cciss_ioctl.h: present but cannot be compiled" >&2;}
|
4645 | |
{ $as_echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: check for missing prerequisite headers?" >&5
|
4646 | |
$as_echo "$as_me: WARNING: linux/cciss_ioctl.h: check for missing prerequisite headers?" >&2;}
|
4647 | |
{ $as_echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: see the Autoconf documentation" >&5
|
4648 | |
$as_echo "$as_me: WARNING: linux/cciss_ioctl.h: see the Autoconf documentation" >&2;}
|
4649 | |
{ $as_echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: section \"Present But Cannot Be Compiled\"" >&5
|
4650 | |
$as_echo "$as_me: WARNING: linux/cciss_ioctl.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
4651 | |
{ $as_echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: proceeding with the preprocessor's result" >&5
|
4652 | |
$as_echo "$as_me: WARNING: linux/cciss_ioctl.h: proceeding with the preprocessor's result" >&2;}
|
4653 | |
{ $as_echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: in the future, the compiler will take precedence" >&5
|
4654 | |
$as_echo "$as_me: WARNING: linux/cciss_ioctl.h: in the future, the compiler will take precedence" >&2;}
|
4655 | |
( cat <<\_ASBOX
|
4656 | |
## ---------------------------------------------- ##
|
4657 | |
## Report this to smcameron@users.sourceforge.net ##
|
4658 | |
## ---------------------------------------------- ##
|
4659 | |
_ASBOX
|
4660 | |
) | sed "s/^/$as_me: WARNING: /" >&2
|
4661 | |
;;
|
4662 | |
esac
|
4663 | |
{ $as_echo "$as_me:$LINENO: checking for linux/cciss_ioctl.h" >&5
|
4664 | |
$as_echo_n "checking for linux/cciss_ioctl.h... " >&6; }
|
4665 | |
if test "${ac_cv_header_linux_cciss_ioctl_h+set}" = set; then
|
4666 | |
$as_echo_n "(cached) " >&6
|
4667 | |
else
|
4668 | |
ac_cv_header_linux_cciss_ioctl_h=$ac_header_preproc
|
4669 | |
fi
|
4670 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_cciss_ioctl_h" >&5
|
4671 | |
$as_echo "$ac_cv_header_linux_cciss_ioctl_h" >&6; }
|
4672 | |
|
4673 | |
fi
|
4674 | |
if test "x$ac_cv_header_linux_cciss_ioctl_h" = x""yes; then
|
4675 | |
|
4676 | |
cat >>confdefs.h <<\_ACEOF
|
4677 | |
#define HAVE_LINUX_CCISS_IOCTL_H 1
|
4678 | |
_ACEOF
|
4679 | |
|
4680 | |
fi
|
4681 | |
|
4682 | |
|
4683 | |
if test "${ac_cv_header__usr_src_sys_dev_ciss_cissio_h+set}" = set; then
|
4684 | |
{ $as_echo "$as_me:$LINENO: checking for /usr/src/sys/dev/ciss/cissio.h" >&5
|
4685 | |
$as_echo_n "checking for /usr/src/sys/dev/ciss/cissio.h... " >&6; }
|
4686 | |
if test "${ac_cv_header__usr_src_sys_dev_ciss_cissio_h+set}" = set; then
|
4687 | |
$as_echo_n "(cached) " >&6
|
4688 | |
fi
|
4689 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header__usr_src_sys_dev_ciss_cissio_h" >&5
|
4690 | |
$as_echo "$ac_cv_header__usr_src_sys_dev_ciss_cissio_h" >&6; }
|
4691 | |
else
|
4692 | |
# Is the header compilable?
|
4693 | |
{ $as_echo "$as_me:$LINENO: checking /usr/src/sys/dev/ciss/cissio.h usability" >&5
|
4694 | |
$as_echo_n "checking /usr/src/sys/dev/ciss/cissio.h usability... " >&6; }
|
4695 | |
cat >conftest.$ac_ext <<_ACEOF
|
4696 | |
/* confdefs.h. */
|
4697 | |
_ACEOF
|
4698 | |
cat confdefs.h >>conftest.$ac_ext
|
4699 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4700 | |
/* end confdefs.h. */
|
4701 | |
$ac_includes_default
|
4702 | |
#include </usr/src/sys/dev/ciss/cissio.h>
|
4703 | |
_ACEOF
|
4704 | |
rm -f conftest.$ac_objext
|
4705 | |
if { (ac_try="$ac_compile"
|
4706 | |
case "(($ac_try" in
|
4707 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4708 | |
*) ac_try_echo=$ac_try;;
|
4709 | |
esac
|
4710 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4711 | |
$as_echo "$ac_try_echo") >&5
|
4712 | |
(eval "$ac_compile") 2>conftest.er1
|
4713 | |
ac_status=$?
|
4714 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4715 | |
rm -f conftest.er1
|
4716 | |
cat conftest.err >&5
|
4717 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4718 | |
(exit $ac_status); } && {
|
4719 | |
test -z "$ac_c_werror_flag" ||
|
4720 | |
test ! -s conftest.err
|
4721 | |
} && test -s conftest.$ac_objext; then
|
4722 | |
ac_header_compiler=yes
|
4723 | |
else
|
4724 | |
$as_echo "$as_me: failed program was:" >&5
|
4725 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4726 | |
|
4727 | |
ac_header_compiler=no
|
4728 | |
fi
|
4729 | |
|
4730 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4731 | |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
4732 | |
$as_echo "$ac_header_compiler" >&6; }
|
4733 | |
|
4734 | |
# Is the header present?
|
4735 | |
{ $as_echo "$as_me:$LINENO: checking /usr/src/sys/dev/ciss/cissio.h presence" >&5
|
4736 | |
$as_echo_n "checking /usr/src/sys/dev/ciss/cissio.h presence... " >&6; }
|
4737 | |
cat >conftest.$ac_ext <<_ACEOF
|
4738 | |
/* confdefs.h. */
|
4739 | |
_ACEOF
|
4740 | |
cat confdefs.h >>conftest.$ac_ext
|
4741 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4742 | |
/* end confdefs.h. */
|
4743 | |
#include </usr/src/sys/dev/ciss/cissio.h>
|
4744 | |
_ACEOF
|
4745 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4746 | |
case "(($ac_try" in
|
4747 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4748 | |
*) ac_try_echo=$ac_try;;
|
4749 | |
esac
|
4750 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4751 | |
$as_echo "$ac_try_echo") >&5
|
4752 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4753 | |
ac_status=$?
|
4754 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4755 | |
rm -f conftest.er1
|
4756 | |
cat conftest.err >&5
|
4757 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4758 | |
(exit $ac_status); } >/dev/null && {
|
4759 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
4760 | |
test ! -s conftest.err
|
4761 | |
}; then
|
4762 | |
ac_header_preproc=yes
|
4763 | |
else
|
4764 | |
$as_echo "$as_me: failed program was:" >&5
|
4765 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4766 | |
|
4767 | |
ac_header_preproc=no
|
4768 | |
fi
|
4769 | |
|
4770 | |
rm -f conftest.err conftest.$ac_ext
|
4771 | |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
4772 | |
$as_echo "$ac_header_preproc" >&6; }
|
4773 | |
|
4774 | |
# So? What about this header?
|
4775 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
4776 | |
yes:no: )
|
4777 | |
{ $as_echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
4778 | |
$as_echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
4779 | |
{ $as_echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: proceeding with the compiler's result" >&5
|
4780 | |
$as_echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: proceeding with the compiler's result" >&2;}
|
4781 | |
ac_header_preproc=yes
|
4782 | |
;;
|
4783 | |
no:yes:* )
|
4784 | |
{ $as_echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: present but cannot be compiled" >&5
|
4785 | |
$as_echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: present but cannot be compiled" >&2;}
|
4786 | |
{ $as_echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: check for missing prerequisite headers?" >&5
|
4787 | |
$as_echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: check for missing prerequisite headers?" >&2;}
|
4788 | |
{ $as_echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: see the Autoconf documentation" >&5
|
4789 | |
$as_echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: see the Autoconf documentation" >&2;}
|
4790 | |
{ $as_echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: section \"Present But Cannot Be Compiled\"" >&5
|
4791 | |
$as_echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
4792 | |
{ $as_echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: proceeding with the preprocessor's result" >&5
|
4793 | |
$as_echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: proceeding with the preprocessor's result" >&2;}
|
4794 | |
{ $as_echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: in the future, the compiler will take precedence" >&5
|
4795 | |
$as_echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: in the future, the compiler will take precedence" >&2;}
|
4796 | |
( cat <<\_ASBOX
|
4797 | |
## ---------------------------------------------- ##
|
4798 | |
## Report this to smcameron@users.sourceforge.net ##
|
4799 | |
## ---------------------------------------------- ##
|
4800 | |
_ASBOX
|
4801 | |
) | sed "s/^/$as_me: WARNING: /" >&2
|
4802 | |
;;
|
4803 | |
esac
|
4804 | |
{ $as_echo "$as_me:$LINENO: checking for /usr/src/sys/dev/ciss/cissio.h" >&5
|
4805 | |
$as_echo_n "checking for /usr/src/sys/dev/ciss/cissio.h... " >&6; }
|
4806 | |
if test "${ac_cv_header__usr_src_sys_dev_ciss_cissio_h+set}" = set; then
|
4807 | |
$as_echo_n "(cached) " >&6
|
4808 | |
else
|
4809 | |
ac_cv_header__usr_src_sys_dev_ciss_cissio_h=$ac_header_preproc
|
4810 | |
fi
|
4811 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header__usr_src_sys_dev_ciss_cissio_h" >&5
|
4812 | |
$as_echo "$ac_cv_header__usr_src_sys_dev_ciss_cissio_h" >&6; }
|
4813 | |
|
4814 | |
fi
|
4815 | |
if test "x$ac_cv_header__usr_src_sys_dev_ciss_cissio_h" = x""yes; then
|
4816 | |
|
4817 | |
cat >>confdefs.h <<\_ACEOF
|
4818 | |
#define HAVE_CISSIO_H 1
|
4819 | |
_ACEOF
|
4820 | |
|
4821 | |
fi
|
4822 | |
|
4823 | |
|
4824 | |
|
4825 | |
# Checks for typedefs, structures, and compiler characteristics.
|
4826 | |
{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
|
4827 | |
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
|
4828 | |
if test "${ac_cv_c_const+set}" = set; then
|
4829 | |
$as_echo_n "(cached) " >&6
|
4830 | |
else
|
4831 | |
cat >conftest.$ac_ext <<_ACEOF
|
4832 | |
/* confdefs.h. */
|
4833 | |
_ACEOF
|
4834 | |
cat confdefs.h >>conftest.$ac_ext
|
4835 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4024 |
else
|
|
4025 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4836 | 4026 |
/* end confdefs.h. */
|
4837 | 4027 |
|
4838 | 4028 |
int
|
|
4892 | 4082 |
return 0;
|
4893 | 4083 |
}
|
4894 | 4084 |
_ACEOF
|
4895 | |
rm -f conftest.$ac_objext
|
4896 | |
if { (ac_try="$ac_compile"
|
4897 | |
case "(($ac_try" in
|
4898 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4899 | |
*) ac_try_echo=$ac_try;;
|
4900 | |
esac
|
4901 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4902 | |
$as_echo "$ac_try_echo") >&5
|
4903 | |
(eval "$ac_compile") 2>conftest.er1
|
4904 | |
ac_status=$?
|
4905 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4906 | |
rm -f conftest.er1
|
4907 | |
cat conftest.err >&5
|
4908 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4909 | |
(exit $ac_status); } && {
|
4910 | |
test -z "$ac_c_werror_flag" ||
|
4911 | |
test ! -s conftest.err
|
4912 | |
} && test -s conftest.$ac_objext; then
|
|
4085 |
if ac_fn_c_try_compile "$LINENO"; then :
|
4913 | 4086 |
ac_cv_c_const=yes
|
4914 | 4087 |
else
|
4915 | |
$as_echo "$as_me: failed program was:" >&5
|
4916 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4917 | |
|
4918 | |
ac_cv_c_const=no
|
4919 | |
fi
|
4920 | |
|
|
4088 |
ac_cv_c_const=no
|
|
4089 |
fi
|
4921 | 4090 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4922 | 4091 |
fi
|
4923 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
|
|
4092 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
|
4924 | 4093 |
$as_echo "$ac_cv_c_const" >&6; }
|
4925 | 4094 |
if test $ac_cv_c_const = no; then
|
4926 | 4095 |
|
4927 | |
cat >>confdefs.h <<\_ACEOF
|
4928 | |
#define const /**/
|
4929 | |
_ACEOF
|
|
4096 |
$as_echo "#define const /**/" >>confdefs.h
|
4930 | 4097 |
|
4931 | 4098 |
fi
|
4932 | 4099 |
|
4933 | 4100 |
|
4934 | 4101 |
# Checks for library functions.
|
4935 | 4102 |
if test $ac_cv_c_compiler_gnu = yes; then
|
4936 | |
{ $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
|
|
4103 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
|
4937 | 4104 |
$as_echo_n "checking whether $CC needs -traditional... " >&6; }
|
4938 | |
if test "${ac_cv_prog_gcc_traditional+set}" = set; then
|
|
4105 |
if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
|
4939 | 4106 |
$as_echo_n "(cached) " >&6
|
4940 | 4107 |
else
|
4941 | 4108 |
ac_pattern="Autoconf.*'x'"
|
4942 | |
cat >conftest.$ac_ext <<_ACEOF
|
4943 | |
/* confdefs.h. */
|
4944 | |
_ACEOF
|
4945 | |
cat confdefs.h >>conftest.$ac_ext
|
4946 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4109 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4947 | 4110 |
/* end confdefs.h. */
|
4948 | 4111 |
#include <sgtty.h>
|
4949 | 4112 |
Autoconf TIOCGETP
|
4950 | 4113 |
_ACEOF
|
4951 | 4114 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
4952 | |
$EGREP "$ac_pattern" >/dev/null 2>&1; then
|
|
4115 |
$EGREP "$ac_pattern" >/dev/null 2>&1; then :
|
4953 | 4116 |
ac_cv_prog_gcc_traditional=yes
|
4954 | 4117 |
else
|
4955 | 4118 |
ac_cv_prog_gcc_traditional=no
|
|
4958 | 4121 |
|
4959 | 4122 |
|
4960 | 4123 |
if test $ac_cv_prog_gcc_traditional = no; then
|
4961 | |
cat >conftest.$ac_ext <<_ACEOF
|
4962 | |
/* confdefs.h. */
|
4963 | |
_ACEOF
|
4964 | |
cat confdefs.h >>conftest.$ac_ext
|
4965 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4124 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4966 | 4125 |
/* end confdefs.h. */
|
4967 | 4126 |
#include <termio.h>
|
4968 | 4127 |
Autoconf TCGETA
|
4969 | 4128 |
_ACEOF
|
4970 | 4129 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
4971 | |
$EGREP "$ac_pattern" >/dev/null 2>&1; then
|
|
4130 |
$EGREP "$ac_pattern" >/dev/null 2>&1; then :
|
4972 | 4131 |
ac_cv_prog_gcc_traditional=yes
|
4973 | 4132 |
fi
|
4974 | 4133 |
rm -f conftest*
|
4975 | 4134 |
|
4976 | 4135 |
fi
|
4977 | 4136 |
fi
|
4978 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
|
|
4137 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
|
4979 | 4138 |
$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
|
4980 | 4139 |
if test $ac_cv_prog_gcc_traditional = yes; then
|
4981 | 4140 |
CC="$CC -traditional"
|
4982 | 4141 |
fi
|
4983 | 4142 |
fi
|
4984 | 4143 |
|
4985 | |
|
4986 | 4144 |
for ac_header in stdlib.h
|
4987 | |
do
|
4988 | |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
4989 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
4990 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
4991 | |
$as_echo_n "checking for $ac_header... " >&6; }
|
4992 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
4145 |
do :
|
|
4146 |
ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
|
|
4147 |
if test "x$ac_cv_header_stdlib_h" = x""yes; then :
|
|
4148 |
cat >>confdefs.h <<_ACEOF
|
|
4149 |
#define HAVE_STDLIB_H 1
|
|
4150 |
_ACEOF
|
|
4151 |
|
|
4152 |
fi
|
|
4153 |
|
|
4154 |
done
|
|
4155 |
|
|
4156 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
|
|
4157 |
$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
|
|
4158 |
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
|
4993 | 4159 |
$as_echo_n "(cached) " >&6
|
4994 | |
fi
|
4995 | |
ac_res=`eval 'as_val=${'$as_ac_Header'}
|
4996 | |
$as_echo "$as_val"'`
|
4997 | |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
4998 | |
$as_echo "$ac_res" >&6; }
|
4999 | |
else
|
5000 | |
# Is the header compilable?
|
5001 | |
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
5002 | |
$as_echo_n "checking $ac_header usability... " >&6; }
|
5003 | |
cat >conftest.$ac_ext <<_ACEOF
|
5004 | |
/* confdefs.h. */
|
5005 | |
_ACEOF
|
5006 | |
cat confdefs.h >>conftest.$ac_ext
|
5007 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5008 | |
/* end confdefs.h. */
|
5009 | |
$ac_includes_default
|
5010 | |
#include <$ac_header>
|
5011 | |
_ACEOF
|
5012 | |
rm -f conftest.$ac_objext
|
5013 | |
if { (ac_try="$ac_compile"
|
5014 | |
case "(($ac_try" in
|
5015 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5016 | |
*) ac_try_echo=$ac_try;;
|
5017 | |
esac
|
5018 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5019 | |
$as_echo "$ac_try_echo") >&5
|
5020 | |
(eval "$ac_compile") 2>conftest.er1
|
5021 | |
ac_status=$?
|
5022 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5023 | |
rm -f conftest.er1
|
5024 | |
cat conftest.err >&5
|
5025 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5026 | |
(exit $ac_status); } && {
|
5027 | |
test -z "$ac_c_werror_flag" ||
|
5028 | |
test ! -s conftest.err
|
5029 | |
} && test -s conftest.$ac_objext; then
|
5030 | |
ac_header_compiler=yes
|
5031 | |
else
|
5032 | |
$as_echo "$as_me: failed program was:" >&5
|
5033 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5034 | |
|
5035 | |
ac_header_compiler=no
|
5036 | |
fi
|
5037 | |
|
5038 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5039 | |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
5040 | |
$as_echo "$ac_header_compiler" >&6; }
|
5041 | |
|
5042 | |
# Is the header present?
|
5043 | |
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
5044 | |
$as_echo_n "checking $ac_header presence... " >&6; }
|
5045 | |
cat >conftest.$ac_ext <<_ACEOF
|
5046 | |
/* confdefs.h. */
|
5047 | |
_ACEOF
|
5048 | |
cat confdefs.h >>conftest.$ac_ext
|
5049 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5050 | |
/* end confdefs.h. */
|
5051 | |
#include <$ac_header>
|
5052 | |
_ACEOF
|
5053 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
5054 | |
case "(($ac_try" in
|
5055 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5056 | |
*) ac_try_echo=$ac_try;;
|
5057 | |
esac
|
5058 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5059 | |
$as_echo "$ac_try_echo") >&5
|
5060 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
5061 | |
ac_status=$?
|
5062 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5063 | |
rm -f conftest.er1
|
5064 | |
cat conftest.err >&5
|
5065 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5066 | |
(exit $ac_status); } >/dev/null && {
|
5067 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
5068 | |
test ! -s conftest.err
|
5069 | |
}; then
|
5070 | |
ac_header_preproc=yes
|
5071 | |
else
|
5072 | |
$as_echo "$as_me: failed program was:" >&5
|
5073 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5074 | |
|
5075 | |
ac_header_preproc=no
|
5076 | |
fi
|
5077 | |
|
5078 | |
rm -f conftest.err conftest.$ac_ext
|
5079 | |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
5080 | |
$as_echo "$ac_header_preproc" >&6; }
|
5081 | |
|
5082 | |
# So? What about this header?
|
5083 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
5084 | |
yes:no: )
|
5085 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
5086 | |
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
5087 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
5088 | |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
5089 | |
ac_header_preproc=yes
|
5090 | |
;;
|
5091 | |
no:yes:* )
|
5092 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
5093 | |
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
5094 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
5095 | |
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
5096 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
5097 | |
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
5098 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
5099 | |
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
5100 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
5101 | |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
5102 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
5103 | |
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
5104 | |
( cat <<\_ASBOX
|
5105 | |
## ---------------------------------------------- ##
|
5106 | |
## Report this to smcameron@users.sourceforge.net ##
|
5107 | |
## ---------------------------------------------- ##
|
5108 | |
_ASBOX
|
5109 | |
) | sed "s/^/$as_me: WARNING: /" >&2
|
5110 | |
;;
|
5111 | |
esac
|
5112 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
5113 | |
$as_echo_n "checking for $ac_header... " >&6; }
|
5114 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
5115 | |
$as_echo_n "(cached) " >&6
|
5116 | |
else
|
5117 | |
eval "$as_ac_Header=\$ac_header_preproc"
|
5118 | |
fi
|
5119 | |
ac_res=`eval 'as_val=${'$as_ac_Header'}
|
5120 | |
$as_echo "$as_val"'`
|
5121 | |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
5122 | |
$as_echo "$ac_res" >&6; }
|
5123 | |
|
5124 | |
fi
|
5125 | |
as_val=`eval 'as_val=${'$as_ac_Header'}
|
5126 | |
$as_echo "$as_val"'`
|
5127 | |
if test "x$as_val" = x""yes; then
|
5128 | |
cat >>confdefs.h <<_ACEOF
|
5129 | |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
5130 | |
_ACEOF
|
5131 | |
|
5132 | |
fi
|
5133 | |
|
5134 | |
done
|
5135 | |
|
5136 | |
{ $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
|
5137 | |
$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
|
5138 | |
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
|
5139 | |
$as_echo_n "(cached) " >&6
|
5140 | |
else
|
5141 | |
if test "$cross_compiling" = yes; then
|
|
4160 |
else
|
|
4161 |
if test "$cross_compiling" = yes; then :
|
5142 | 4162 |
ac_cv_func_malloc_0_nonnull=no
|
5143 | 4163 |
else
|
5144 | |
cat >conftest.$ac_ext <<_ACEOF
|
5145 | |
/* confdefs.h. */
|
5146 | |
_ACEOF
|
5147 | |
cat confdefs.h >>conftest.$ac_ext
|
5148 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4164 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5149 | 4165 |
/* end confdefs.h. */
|
5150 | 4166 |
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
|
5151 | 4167 |
# include <stdlib.h>
|
|
5161 | 4177 |
return 0;
|
5162 | 4178 |
}
|
5163 | 4179 |
_ACEOF
|
5164 | |
rm -f conftest$ac_exeext
|
5165 | |
if { (ac_try="$ac_link"
|
5166 | |
case "(($ac_try" in
|
5167 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5168 | |
*) ac_try_echo=$ac_try;;
|
5169 | |
esac
|
5170 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5171 | |
$as_echo "$ac_try_echo") >&5
|
5172 | |
(eval "$ac_link") 2>&5
|
5173 | |
ac_status=$?
|
5174 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5175 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
5176 | |
{ (case "(($ac_try" in
|
5177 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5178 | |
*) ac_try_echo=$ac_try;;
|
5179 | |
esac
|
5180 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5181 | |
$as_echo "$ac_try_echo") >&5
|
5182 | |
(eval "$ac_try") 2>&5
|
5183 | |
ac_status=$?
|
5184 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5185 | |
(exit $ac_status); }; }; then
|
|
4180 |
if ac_fn_c_try_run "$LINENO"; then :
|
5186 | 4181 |
ac_cv_func_malloc_0_nonnull=yes
|
5187 | 4182 |
else
|
5188 | |
$as_echo "$as_me: program exited with status $ac_status" >&5
|
5189 | |
$as_echo "$as_me: failed program was:" >&5
|
5190 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5191 | |
|
5192 | |
( exit $ac_status )
|
5193 | |
ac_cv_func_malloc_0_nonnull=no
|
5194 | |
fi
|
5195 | |
rm -rf conftest.dSYM
|
5196 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
5197 | |
fi
|
5198 | |
|
5199 | |
|
5200 | |
fi
|
5201 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
|
|
4183 |
ac_cv_func_malloc_0_nonnull=no
|
|
4184 |
fi
|
|
4185 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
4186 |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
4187 |
fi
|
|
4188 |
|
|
4189 |
fi
|
|
4190 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
|
5202 | 4191 |
$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
|
5203 | |
if test $ac_cv_func_malloc_0_nonnull = yes; then
|
5204 | |
|
5205 | |
cat >>confdefs.h <<\_ACEOF
|
5206 | |
#define HAVE_MALLOC 1
|
5207 | |
_ACEOF
|
5208 | |
|
5209 | |
else
|
5210 | |
cat >>confdefs.h <<\_ACEOF
|
5211 | |
#define HAVE_MALLOC 0
|
5212 | |
_ACEOF
|
|
4192 |
if test $ac_cv_func_malloc_0_nonnull = yes; then :
|
|
4193 |
|
|
4194 |
$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
|
|
4195 |
|
|
4196 |
else
|
|
4197 |
$as_echo "#define HAVE_MALLOC 0" >>confdefs.h
|
5213 | 4198 |
|
5214 | 4199 |
case " $LIBOBJS " in
|
5215 | 4200 |
*" malloc.$ac_objext "* ) ;;
|
|
5218 | 4203 |
esac
|
5219 | 4204 |
|
5220 | 4205 |
|
5221 | |
cat >>confdefs.h <<\_ACEOF
|
5222 | |
#define malloc rpl_malloc
|
5223 | |
_ACEOF
|
5224 | |
|
5225 | |
fi
|
5226 | |
|
5227 | |
|
5228 | |
|
5229 | |
{ $as_echo "$as_me:$LINENO: checking for getopt" >&5
|
5230 | |
$as_echo_n "checking for getopt... " >&6; }
|
5231 | |
if test "${ac_cv_func_getopt+set}" = set; then
|
5232 | |
$as_echo_n "(cached) " >&6
|
5233 | |
else
|
5234 | |
cat >conftest.$ac_ext <<_ACEOF
|
5235 | |
/* confdefs.h. */
|
5236 | |
_ACEOF
|
5237 | |
cat confdefs.h >>conftest.$ac_ext
|
5238 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5239 | |
/* end confdefs.h. */
|
5240 | |
/* Define getopt to an innocuous variant, in case <limits.h> declares getopt.
|
5241 | |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
5242 | |
#define getopt innocuous_getopt
|
5243 | |
|
5244 | |
/* System header to define __stub macros and hopefully few prototypes,
|
5245 | |
which can conflict with char getopt (); below.
|
5246 | |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
5247 | |
<limits.h> exists even on freestanding compilers. */
|
5248 | |
|
5249 | |
#ifdef __STDC__
|
5250 | |
# include <limits.h>
|
5251 | |
#else
|
5252 | |
# include <assert.h>
|
5253 | |
#endif
|
5254 | |
|
5255 | |
#undef getopt
|
5256 | |
|
5257 | |
/* Override any GCC internal prototype to avoid an error.
|
5258 | |
Use char because int might match the return type of a GCC
|
5259 | |
builtin and then its argument prototype would still apply. */
|
5260 | |
#ifdef __cplusplus
|
5261 | |
extern "C"
|
5262 | |
#endif
|
5263 | |
char getopt ();
|
5264 | |
/* The GNU C library defines this for functions which it implements
|
5265 | |
to always fail with ENOSYS. Some functions are actually named
|
5266 | |
something starting with __ and the normal name is an alias. */
|
5267 | |
#if defined __stub_getopt || defined __stub___getopt
|
5268 | |
choke me
|
5269 | |
#endif
|
5270 | |
|
5271 | |
int
|
5272 | |
main ()
|
5273 | |
{
|
5274 | |
return getopt ();
|
5275 | |
;
|
5276 | |
return 0;
|
5277 | |
}
|
5278 | |
_ACEOF
|
5279 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
5280 | |
if { (ac_try="$ac_link"
|
5281 | |
case "(($ac_try" in
|
5282 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5283 | |
*) ac_try_echo=$ac_try;;
|
5284 | |
esac
|
5285 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5286 | |
$as_echo "$ac_try_echo") >&5
|
5287 | |
(eval "$ac_link") 2>conftest.er1
|
5288 | |
ac_status=$?
|
5289 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5290 | |
rm -f conftest.er1
|
5291 | |
cat conftest.err >&5
|
5292 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5293 | |
(exit $ac_status); } && {
|
5294 | |
test -z "$ac_c_werror_flag" ||
|
5295 | |
test ! -s conftest.err
|
5296 | |
} && test -s conftest$ac_exeext && {
|
5297 | |
test "$cross_compiling" = yes ||
|
5298 | |
$as_test_x conftest$ac_exeext
|
5299 | |
}; then
|
5300 | |
ac_cv_func_getopt=yes
|
5301 | |
else
|
5302 | |
$as_echo "$as_me: failed program was:" >&5
|
5303 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5304 | |
|
5305 | |
ac_cv_func_getopt=no
|
5306 | |
fi
|
5307 | |
|
5308 | |
rm -rf conftest.dSYM
|
5309 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
5310 | |
conftest$ac_exeext conftest.$ac_ext
|
5311 | |
fi
|
5312 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getopt" >&5
|
5313 | |
$as_echo "$ac_cv_func_getopt" >&6; }
|
5314 | |
|
5315 | |
{ $as_echo "$as_me:$LINENO: checking for getopt_long" >&5
|
5316 | |
$as_echo_n "checking for getopt_long... " >&6; }
|
5317 | |
if test "${ac_cv_func_getopt_long+set}" = set; then
|
5318 | |
$as_echo_n "(cached) " >&6
|
5319 | |
else
|
5320 | |
cat >conftest.$ac_ext <<_ACEOF
|
5321 | |
/* confdefs.h. */
|
5322 | |
_ACEOF
|
5323 | |
cat confdefs.h >>conftest.$ac_ext
|
5324 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5325 | |
/* end confdefs.h. */
|
5326 | |
/* Define getopt_long to an innocuous variant, in case <limits.h> declares getopt_long.
|
5327 | |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
5328 | |
#define getopt_long innocuous_getopt_long
|
5329 | |
|
5330 | |
/* System header to define __stub macros and hopefully few prototypes,
|
5331 | |
which can conflict with char getopt_long (); below.
|
5332 | |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
5333 | |
<limits.h> exists even on freestanding compilers. */
|
5334 | |
|
5335 | |
#ifdef __STDC__
|
5336 | |
# include <limits.h>
|
5337 | |
#else
|
5338 | |
# include <assert.h>
|
5339 | |
#endif
|
5340 | |
|
5341 | |
#undef getopt_long
|
5342 | |
|
5343 | |
/* Override any GCC internal prototype to avoid an error.
|
5344 | |
Use char because int might match the return type of a GCC
|
5345 | |
builtin and then its argument prototype would still apply. */
|
5346 | |
#ifdef __cplusplus
|
5347 | |
extern "C"
|
5348 | |
#endif
|
5349 | |
char getopt_long ();
|
5350 | |
/* The GNU C library defines this for functions which it implements
|
5351 | |
to always fail with ENOSYS. Some functions are actually named
|
5352 | |
something starting with __ and the normal name is an alias. */
|
5353 | |
#if defined __stub_getopt_long || defined __stub___getopt_long
|
5354 | |
choke me
|
5355 | |
#endif
|
5356 | |
|
5357 | |
int
|
5358 | |
main ()
|
5359 | |
{
|
5360 | |
return getopt_long ();
|
5361 | |
;
|
5362 | |
return 0;
|
5363 | |
}
|
5364 | |
_ACEOF
|
5365 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
5366 | |
if { (ac_try="$ac_link"
|
5367 | |
case "(($ac_try" in
|
5368 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5369 | |
*) ac_try_echo=$ac_try;;
|
5370 | |
esac
|
5371 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5372 | |
$as_echo "$ac_try_echo") >&5
|
5373 | |
(eval "$ac_link") 2>conftest.er1
|
5374 | |
ac_status=$?
|
5375 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5376 | |
rm -f conftest.er1
|
5377 | |
cat conftest.err >&5
|
5378 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5379 | |
(exit $ac_status); } && {
|
5380 | |
test -z "$ac_c_werror_flag" ||
|
5381 | |
test ! -s conftest.err
|
5382 | |
} && test -s conftest$ac_exeext && {
|
5383 | |
test "$cross_compiling" = yes ||
|
5384 | |
$as_test_x conftest$ac_exeext
|
5385 | |
}; then
|
5386 | |
ac_cv_func_getopt_long=yes
|
5387 | |
else
|
5388 | |
$as_echo "$as_me: failed program was:" >&5
|
5389 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5390 | |
|
5391 | |
ac_cv_func_getopt_long=no
|
5392 | |
fi
|
5393 | |
|
5394 | |
rm -rf conftest.dSYM
|
5395 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
5396 | |
conftest$ac_exeext conftest.$ac_ext
|
5397 | |
fi
|
5398 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getopt_long" >&5
|
5399 | |
$as_echo "$ac_cv_func_getopt_long" >&6; }
|
5400 | |
|
5401 | |
|
5402 | |
|
|
4206 |
$as_echo "#define malloc rpl_malloc" >>confdefs.h
|
|
4207 |
|
|
4208 |
fi
|
|
4209 |
|
|
4210 |
|
|
4211 |
ac_fn_c_check_func "$LINENO" "getopt" "ac_cv_func_getopt"
|
|
4212 |
if test "x$ac_cv_func_getopt" = x""yes; then :
|
|
4213 |
|
|
4214 |
fi
|
|
4215 |
|
|
4216 |
ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long"
|
|
4217 |
if test "x$ac_cv_func_getopt_long" = x""yes; then :
|
|
4218 |
|
|
4219 |
fi
|
5403 | 4220 |
|
5404 | 4221 |
for ac_func in memset strerror strstr
|
5405 | |
do
|
5406 | |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
5407 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
|
5408 | |
$as_echo_n "checking for $ac_func... " >&6; }
|
5409 | |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
5410 | |
$as_echo_n "(cached) " >&6
|
5411 | |
else
|
5412 | |
cat >conftest.$ac_ext <<_ACEOF
|
5413 | |
/* confdefs.h. */
|
5414 | |
_ACEOF
|
5415 | |
cat confdefs.h >>conftest.$ac_ext
|
5416 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5417 | |
/* end confdefs.h. */
|
5418 | |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
5419 | |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
5420 | |
#define $ac_func innocuous_$ac_func
|
5421 | |
|
5422 | |
/* System header to define __stub macros and hopefully few prototypes,
|
5423 | |
which can conflict with char $ac_func (); below.
|
5424 | |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
5425 | |
<limits.h> exists even on freestanding compilers. */
|
5426 | |
|
5427 | |
#ifdef __STDC__
|
5428 | |
# include <limits.h>
|
5429 | |
#else
|
5430 | |
# include <assert.h>
|
5431 | |
#endif
|
5432 | |
|
5433 | |
#undef $ac_func
|
5434 | |
|
5435 | |
/* Override any GCC internal prototype to avoid an error.
|
5436 | |
Use char because int might match the return type of a GCC
|
5437 | |
builtin and then its argument prototype would still apply. */
|
5438 | |
#ifdef __cplusplus
|
5439 | |
extern "C"
|
5440 | |
#endif
|
5441 | |
char $ac_func ();
|
5442 | |
/* The GNU C library defines this for functions which it implements
|
5443 | |
to always fail with ENOSYS. Some functions are actually named
|
5444 | |
something starting with __ and the normal name is an alias. */
|
5445 | |
#if defined __stub_$ac_func || defined __stub___$ac_func
|
5446 | |
choke me
|
5447 | |
#endif
|
5448 | |
|
5449 | |
int
|
5450 | |
main ()
|
5451 | |
{
|
5452 | |
return $ac_func ();
|
5453 | |
;
|
5454 | |
return 0;
|
5455 | |
}
|
5456 | |
_ACEOF
|
5457 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
5458 | |
if { (ac_try="$ac_link"
|
5459 | |
case "(($ac_try" in
|
5460 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5461 | |
*) ac_try_echo=$ac_try;;
|
5462 | |
esac
|
5463 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5464 | |
$as_echo "$ac_try_echo") >&5
|
5465 | |
(eval "$ac_link") 2>conftest.er1
|
5466 | |
ac_status=$?
|
5467 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5468 | |
rm -f conftest.er1
|
5469 | |
cat conftest.err >&5
|
5470 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5471 | |
(exit $ac_status); } && {
|
5472 | |
test -z "$ac_c_werror_flag" ||
|
5473 | |
test ! -s conftest.err
|
5474 | |
} && test -s conftest$ac_exeext && {
|
5475 | |
test "$cross_compiling" = yes ||
|
5476 | |
$as_test_x conftest$ac_exeext
|
5477 | |
}; then
|
5478 | |
eval "$as_ac_var=yes"
|
5479 | |
else
|
5480 | |
$as_echo "$as_me: failed program was:" >&5
|
5481 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5482 | |
|
5483 | |
eval "$as_ac_var=no"
|
5484 | |
fi
|
5485 | |
|
5486 | |
rm -rf conftest.dSYM
|
5487 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
5488 | |
conftest$ac_exeext conftest.$ac_ext
|
5489 | |
fi
|
5490 | |
ac_res=`eval 'as_val=${'$as_ac_var'}
|
5491 | |
$as_echo "$as_val"'`
|
5492 | |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
5493 | |
$as_echo "$ac_res" >&6; }
|
5494 | |
as_val=`eval 'as_val=${'$as_ac_var'}
|
5495 | |
$as_echo "$as_val"'`
|
5496 | |
if test "x$as_val" = x""yes; then
|
|
4222 |
do :
|
|
4223 |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
4224 |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
|
4225 |
eval as_val=\$$as_ac_var
|
|
4226 |
if test "x$as_val" = x""yes; then :
|
5497 | 4227 |
cat >>confdefs.h <<_ACEOF
|
5498 | 4228 |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
5499 | 4229 |
_ACEOF
|
|
5531 | 4261 |
case $ac_val in #(
|
5532 | 4262 |
*${as_nl}*)
|
5533 | 4263 |
case $ac_var in #(
|
5534 | |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
|
|
4264 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
5535 | 4265 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
5536 | 4266 |
esac
|
5537 | 4267 |
case $ac_var in #(
|
5538 | 4268 |
_ | IFS | as_nl) ;; #(
|
5539 | 4269 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
5540 | |
*) $as_unset $ac_var ;;
|
|
4270 |
*) { eval $ac_var=; unset $ac_var;} ;;
|
5541 | 4271 |
esac ;;
|
5542 | 4272 |
esac
|
5543 | 4273 |
done
|
|
5545 | 4275 |
(set) 2>&1 |
|
5546 | 4276 |
case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
5547 | 4277 |
*${as_nl}ac_space=\ *)
|
5548 | |
# `set' does not quote correctly, so add quotes (double-quote
|
5549 | |
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
|
4278 |
# `set' does not quote correctly, so add quotes: double-quote
|
|
4279 |
# substitution turns \\\\ into \\, and sed turns \\ into \.
|
5550 | 4280 |
sed -n \
|
5551 | 4281 |
"s/'/'\\\\''/g;
|
5552 | 4282 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
|
5569 | 4299 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
5570 | 4300 |
if test -w "$cache_file"; then
|
5571 | 4301 |
test "x$cache_file" != "x/dev/null" &&
|
5572 | |
{ $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
|
|
4302 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
5573 | 4303 |
$as_echo "$as_me: updating cache $cache_file" >&6;}
|
5574 | 4304 |
cat confcache >$cache_file
|
5575 | 4305 |
else
|
5576 | |
{ $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
|
|
4306 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
5577 | 4307 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
5578 | 4308 |
fi
|
5579 | 4309 |
fi
|
|
5593 | 4323 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
5594 | 4324 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
5595 | 4325 |
# will be set to the directory where LIBOBJS objects are built.
|
5596 | |
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
5597 | |
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
|
|
4326 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
|
4327 |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
|
5598 | 4328 |
done
|
5599 | 4329 |
LIBOBJS=$ac_libobjs
|
5600 | 4330 |
|
|
5610 | 4340 |
fi
|
5611 | 4341 |
|
5612 | 4342 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
5613 | |
{ { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
|
5614 | |
Usually this means the macro was only invoked conditionally." >&5
|
5615 | |
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
|
5616 | |
Usually this means the macro was only invoked conditionally." >&2;}
|
5617 | |
{ (exit 1); exit 1; }; }
|
|
4343 |
as_fn_error "conditional \"AMDEP\" was never defined.
|
|
4344 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
5618 | 4345 |
fi
|
5619 | 4346 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
5620 | |
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
|
5621 | |
Usually this means the macro was only invoked conditionally." >&5
|
5622 | |
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
|
5623 | |
Usually this means the macro was only invoked conditionally." >&2;}
|
5624 | |
{ (exit 1); exit 1; }; }
|
|
4347 |
as_fn_error "conditional \"am__fastdepCC\" was never defined.
|
|
4348 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
5625 | 4349 |
fi
|
5626 | 4350 |
|
5627 | 4351 |
: ${CONFIG_STATUS=./config.status}
|
5628 | 4352 |
ac_write_fail=0
|
5629 | 4353 |
ac_clean_files_save=$ac_clean_files
|
5630 | 4354 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
5631 | |
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
|
4355 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
5632 | 4356 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
5633 | |
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
4357 |
as_write_fail=0
|
|
4358 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
5634 | 4359 |
#! $SHELL
|
5635 | 4360 |
# Generated by $as_me.
|
5636 | 4361 |
# Run this file to recreate the current configuration.
|
|
5640 | 4365 |
debug=false
|
5641 | 4366 |
ac_cs_recheck=false
|
5642 | 4367 |
ac_cs_silent=false
|
|
4368 |
|
5643 | 4369 |
SHELL=\${CONFIG_SHELL-$SHELL}
|
5644 | |
_ACEOF
|
5645 | |
|
5646 | |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
5647 | |
## --------------------- ##
|
5648 | |
## M4sh Initialization. ##
|
5649 | |
## --------------------- ##
|
|
4370 |
export SHELL
|
|
4371 |
_ASEOF
|
|
4372 |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
|
4373 |
## -------------------- ##
|
|
4374 |
## M4sh Initialization. ##
|
|
4375 |
## -------------------- ##
|
5650 | 4376 |
|
5651 | 4377 |
# Be more Bourne compatible
|
5652 | 4378 |
DUALCASE=1; export DUALCASE # for MKS sh
|
5653 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
4379 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
5654 | 4380 |
emulate sh
|
5655 | 4381 |
NULLCMD=:
|
5656 | 4382 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
|
5658 | 4384 |
alias -g '${1+"$@"}'='"$@"'
|
5659 | 4385 |
setopt NO_GLOB_SUBST
|
5660 | 4386 |
else
|
5661 | |
case `(set -o) 2>/dev/null` in
|
5662 | |
*posix*) set -o posix ;;
|
|
4387 |
case `(set -o) 2>/dev/null` in #(
|
|
4388 |
*posix*) :
|
|
4389 |
set -o posix ;; #(
|
|
4390 |
*) :
|
|
4391 |
;;
|
5663 | 4392 |
esac
|
5664 | |
|
5665 | |
fi
|
5666 | |
|
5667 | |
|
5668 | |
|
5669 | |
|
5670 | |
# PATH needs CR
|
5671 | |
# Avoid depending upon Character Ranges.
|
5672 | |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
5673 | |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
5674 | |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
5675 | |
as_cr_digits='0123456789'
|
5676 | |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
4393 |
fi
|
|
4394 |
|
5677 | 4395 |
|
5678 | 4396 |
as_nl='
|
5679 | 4397 |
'
|
|
5682 | 4400 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
5683 | 4401 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
5684 | 4402 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
5685 | |
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
4403 |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
|
4404 |
# but without wasting forks for bash or zsh.
|
|
4405 |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
|
4406 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
4407 |
as_echo='print -r --'
|
|
4408 |
as_echo_n='print -rn --'
|
|
4409 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
5686 | 4410 |
as_echo='printf %s\n'
|
5687 | 4411 |
as_echo_n='printf %s'
|
5688 | 4412 |
else
|
|
5693 | 4417 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
5694 | 4418 |
as_echo_n_body='eval
|
5695 | 4419 |
arg=$1;
|
5696 | |
case $arg in
|
|
4420 |
case $arg in #(
|
5697 | 4421 |
*"$as_nl"*)
|
5698 | 4422 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
5699 | 4423 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|
5716 | 4440 |
}
|
5717 | 4441 |
fi
|
5718 | 4442 |
|
5719 | |
# Support unset when possible.
|
5720 | |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
5721 | |
as_unset=unset
|
5722 | |
else
|
5723 | |
as_unset=false
|
5724 | |
fi
|
5725 | |
|
5726 | 4443 |
|
5727 | 4444 |
# IFS
|
5728 | 4445 |
# We need space, tab and new line, in precisely that order. Quoting is
|
|
5732 | 4449 |
IFS=" "" $as_nl"
|
5733 | 4450 |
|
5734 | 4451 |
# Find who we are. Look in the path if we contain no directory separator.
|
5735 | |
case $0 in
|
|
4452 |
case $0 in #((
|
5736 | 4453 |
*[\\/]* ) as_myself=$0 ;;
|
5737 | 4454 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5738 | 4455 |
for as_dir in $PATH
|
5739 | 4456 |
do
|
5740 | 4457 |
IFS=$as_save_IFS
|
5741 | 4458 |
test -z "$as_dir" && as_dir=.
|
5742 | |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
5743 | |
done
|
|
4459 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
4460 |
done
|
5744 | 4461 |
IFS=$as_save_IFS
|
5745 | 4462 |
|
5746 | 4463 |
;;
|
|
5752 | 4469 |
fi
|
5753 | 4470 |
if test ! -f "$as_myself"; then
|
5754 | 4471 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
5755 | |
{ (exit 1); exit 1; }
|
5756 | |
fi
|
5757 | |
|
5758 | |
# Work around bugs in pre-3.0 UWIN ksh.
|
5759 | |
for as_var in ENV MAIL MAILPATH
|
5760 | |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
4472 |
exit 1
|
|
4473 |
fi
|
|
4474 |
|
|
4475 |
# Unset variables that we do not need and which cause bugs (e.g. in
|
|
4476 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
|
4477 |
# suppresses any "Segmentation fault" message there. '((' could
|
|
4478 |
# trigger a bug in pdksh 5.2.14.
|
|
4479 |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
|
4480 |
do eval test x\${$as_var+set} = xset \
|
|
4481 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
5761 | 4482 |
done
|
5762 | 4483 |
PS1='$ '
|
5763 | 4484 |
PS2='> '
|
|
5769 | 4490 |
LANGUAGE=C
|
5770 | 4491 |
export LANGUAGE
|
5771 | 4492 |
|
5772 | |
# Required to use basename.
|
|
4493 |
# CDPATH.
|
|
4494 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|
4495 |
|
|
4496 |
|
|
4497 |
# as_fn_error ERROR [LINENO LOG_FD]
|
|
4498 |
# ---------------------------------
|
|
4499 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
|
4500 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
|
4501 |
# script with status $?, using 1 if that was 0.
|
|
4502 |
as_fn_error ()
|
|
4503 |
{
|
|
4504 |
as_status=$?; test $as_status -eq 0 && as_status=1
|
|
4505 |
if test "$3"; then
|
|
4506 |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
4507 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
|
|
4508 |
fi
|
|
4509 |
$as_echo "$as_me: error: $1" >&2
|
|
4510 |
as_fn_exit $as_status
|
|
4511 |
} # as_fn_error
|
|
4512 |
|
|
4513 |
|
|
4514 |
# as_fn_set_status STATUS
|
|
4515 |
# -----------------------
|
|
4516 |
# Set $? to STATUS, without forking.
|
|
4517 |
as_fn_set_status ()
|
|
4518 |
{
|
|
4519 |
return $1
|
|
4520 |
} # as_fn_set_status
|
|
4521 |
|
|
4522 |
# as_fn_exit STATUS
|
|
4523 |
# -----------------
|
|
4524 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
|
4525 |
as_fn_exit ()
|
|
4526 |
{
|
|
4527 |
set +e
|
|
4528 |
as_fn_set_status $1
|
|
4529 |
exit $1
|
|
4530 |
} # as_fn_exit
|
|
4531 |
|
|
4532 |
# as_fn_unset VAR
|
|
4533 |
# ---------------
|
|
4534 |
# Portably unset VAR.
|
|
4535 |
as_fn_unset ()
|
|
4536 |
{
|
|
4537 |
{ eval $1=; unset $1;}
|
|
4538 |
}
|
|
4539 |
as_unset=as_fn_unset
|
|
4540 |
# as_fn_append VAR VALUE
|
|
4541 |
# ----------------------
|
|
4542 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
|
4543 |
# advantage of any shell optimizations that allow amortized linear growth over
|
|
4544 |
# repeated appends, instead of the typical quadratic growth present in naive
|
|
4545 |
# implementations.
|
|
4546 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|
4547 |
eval 'as_fn_append ()
|
|
4548 |
{
|
|
4549 |
eval $1+=\$2
|
|
4550 |
}'
|
|
4551 |
else
|
|
4552 |
as_fn_append ()
|
|
4553 |
{
|
|
4554 |
eval $1=\$$1\$2
|
|
4555 |
}
|
|
4556 |
fi # as_fn_append
|
|
4557 |
|
|
4558 |
# as_fn_arith ARG...
|
|
4559 |
# ------------------
|
|
4560 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
|
4561 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
|
4562 |
# must be portable across $(()) and expr.
|
|
4563 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|
4564 |
eval 'as_fn_arith ()
|
|
4565 |
{
|
|
4566 |
as_val=$(( $* ))
|
|
4567 |
}'
|
|
4568 |
else
|
|
4569 |
as_fn_arith ()
|
|
4570 |
{
|
|
4571 |
as_val=`expr "$@" || test $? -eq 1`
|
|
4572 |
}
|
|
4573 |
fi # as_fn_arith
|
|
4574 |
|
|
4575 |
|
5773 | 4576 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
5774 | 4577 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
5775 | 4578 |
as_expr=expr
|
|
5783 | 4586 |
as_basename=false
|
5784 | 4587 |
fi
|
5785 | 4588 |
|
5786 | |
|
5787 | |
# Name of the executable.
|
|
4589 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
4590 |
as_dirname=dirname
|
|
4591 |
else
|
|
4592 |
as_dirname=false
|
|
4593 |
fi
|
|
4594 |
|
5788 | 4595 |
as_me=`$as_basename -- "$0" ||
|
5789 | 4596 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
5790 | 4597 |
X"$0" : 'X\(//\)$' \| \
|
|
5804 | 4611 |
}
|
5805 | 4612 |
s/.*/./; q'`
|
5806 | 4613 |
|
5807 | |
# CDPATH.
|
5808 | |
$as_unset CDPATH
|
5809 | |
|
5810 | |
|
5811 | |
|
5812 | |
as_lineno_1=$LINENO
|
5813 | |
as_lineno_2=$LINENO
|
5814 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
5815 | |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
5816 | |
|
5817 | |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
5818 | |
# uniformly replaced by the line number. The first 'sed' inserts a
|
5819 | |
# line-number line after each line using $LINENO; the second 'sed'
|
5820 | |
# does the real work. The second script uses 'N' to pair each
|
5821 | |
# line-number line with the line containing $LINENO, and appends
|
5822 | |
# trailing '-' during substitution so that $LINENO is not a special
|
5823 | |
# case at line end.
|
5824 | |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
5825 | |
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
5826 | |
# E. McMahon (1931-1989) for sed's syntax. :-)
|
5827 | |
sed -n '
|
5828 | |
p
|
5829 | |
/[$]LINENO/=
|
5830 | |
' <$as_myself |
|
5831 | |
sed '
|
5832 | |
s/[$]LINENO.*/&-/
|
5833 | |
t lineno
|
5834 | |
b
|
5835 | |
:lineno
|
5836 | |
N
|
5837 | |
:loop
|
5838 | |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
5839 | |
t loop
|
5840 | |
s/-\n.*//
|
5841 | |
' >$as_me.lineno &&
|
5842 | |
chmod +x "$as_me.lineno" ||
|
5843 | |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
5844 | |
{ (exit 1); exit 1; }; }
|
5845 | |
|
5846 | |
# Don't try to exec as it changes $[0], causing all sort of problems
|
5847 | |
# (the dirname of $[0] is not the place where we might find the
|
5848 | |
# original and so on. Autoconf is especially sensitive to this).
|
5849 | |
. "./$as_me.lineno"
|
5850 | |
# Exit status is that of the last command.
|
5851 | |
exit
|
5852 | |
}
|
5853 | |
|
5854 | |
|
5855 | |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
5856 | |
as_dirname=dirname
|
5857 | |
else
|
5858 | |
as_dirname=false
|
5859 | |
fi
|
|
4614 |
# Avoid depending upon Character Ranges.
|
|
4615 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
4616 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
4617 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
4618 |
as_cr_digits='0123456789'
|
|
4619 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
5860 | 4620 |
|
5861 | 4621 |
ECHO_C= ECHO_N= ECHO_T=
|
5862 | |
case `echo -n x` in
|
|
4622 |
case `echo -n x` in #(((((
|
5863 | 4623 |
-n*)
|
5864 | |
case `echo 'x\c'` in
|
|
4624 |
case `echo 'xy\c'` in
|
5865 | 4625 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
5866 | |
*) ECHO_C='\c';;
|
|
4626 |
xy) ECHO_C='\c';;
|
|
4627 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
|
4628 |
ECHO_T=' ';;
|
5867 | 4629 |
esac;;
|
5868 | 4630 |
*)
|
5869 | 4631 |
ECHO_N='-n';;
|
5870 | 4632 |
esac
|
5871 | |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
5872 | |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
5873 | |
as_expr=expr
|
5874 | |
else
|
5875 | |
as_expr=false
|
5876 | |
fi
|
5877 | 4633 |
|
5878 | 4634 |
rm -f conf$$ conf$$.exe conf$$.file
|
5879 | 4635 |
if test -d conf$$.dir; then
|
|
5902 | 4658 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
5903 | 4659 |
rmdir conf$$.dir 2>/dev/null
|
5904 | 4660 |
|
|
4661 |
|
|
4662 |
# as_fn_mkdir_p
|
|
4663 |
# -------------
|
|
4664 |
# Create "$as_dir" as a directory, including parents if necessary.
|
|
4665 |
as_fn_mkdir_p ()
|
|
4666 |
{
|
|
4667 |
|
|
4668 |
case $as_dir in #(
|
|
4669 |
-*) as_dir=./$as_dir;;
|
|
4670 |
esac
|
|
4671 |
test -d "$as_dir" || eval $as_mkdir_p || {
|
|
4672 |
as_dirs=
|
|
4673 |
while :; do
|
|
4674 |
case $as_dir in #(
|
|
4675 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
4676 |
*) as_qdir=$as_dir;;
|
|
4677 |
esac
|
|
4678 |
as_dirs="'$as_qdir' $as_dirs"
|
|
4679 |
as_dir=`$as_dirname -- "$as_dir" ||
|
|
4680 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
4681 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
4682 |
X"$as_dir" : 'X\(//\)$' \| \
|
|
4683 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
|
4684 |
$as_echo X"$as_dir" |
|
|
4685 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
4686 |
s//\1/
|
|
4687 |
q
|
|
4688 |
}
|
|
4689 |
/^X\(\/\/\)[^/].*/{
|
|
4690 |
s//\1/
|
|
4691 |
q
|
|
4692 |
}
|
|
4693 |
/^X\(\/\/\)$/{
|
|
4694 |
s//\1/
|
|
4695 |
q
|
|
4696 |
}
|
|
4697 |
/^X\(\/\).*/{
|
|
4698 |
s//\1/
|
|
4699 |
q
|
|
4700 |
}
|
|
4701 |
s/.*/./; q'`
|
|
4702 |
test -d "$as_dir" && break
|
|
4703 |
done
|
|
4704 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|
4705 |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
|
|
4706 |
|
|
4707 |
|
|
4708 |
} # as_fn_mkdir_p
|
5905 | 4709 |
if mkdir -p . 2>/dev/null; then
|
5906 | |
as_mkdir_p=:
|
|
4710 |
as_mkdir_p='mkdir -p "$as_dir"'
|
5907 | 4711 |
else
|
5908 | 4712 |
test -d ./-p && rmdir ./-p
|
5909 | 4713 |
as_mkdir_p=false
|
|
5922 | 4726 |
if test -d "$1"; then
|
5923 | 4727 |
test -d "$1/.";
|
5924 | 4728 |
else
|
5925 | |
case $1 in
|
|
4729 |
case $1 in #(
|
5926 | 4730 |
-*)set "./$1";;
|
5927 | 4731 |
esac;
|
5928 | |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
|
4732 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
5929 | 4733 |
???[sx]*):;;*)false;;esac;fi
|
5930 | 4734 |
'\'' sh
|
5931 | 4735 |
'
|
|
5940 | 4744 |
|
5941 | 4745 |
|
5942 | 4746 |
exec 6>&1
|
5943 | |
|
5944 | |
# Save the log message, to keep $[0] and so on meaningful, and to
|
|
4747 |
## ----------------------------------- ##
|
|
4748 |
## Main body of $CONFIG_STATUS script. ##
|
|
4749 |
## ----------------------------------- ##
|
|
4750 |
_ASEOF
|
|
4751 |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
|
4752 |
|
|
4753 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
4754 |
# Save the log message, to keep $0 and so on meaningful, and to
|
5945 | 4755 |
# report actual input values of CONFIG_FILES etc. instead of their
|
5946 | 4756 |
# values after options handling.
|
5947 | 4757 |
ac_log="
|
5948 | |
This file was extended by cciss_vol_status $as_me 1.10, which was
|
5949 | |
generated by GNU Autoconf 2.63. Invocation command line was
|
|
4758 |
This file was extended by cciss_vol_status $as_me 1.09, which was
|
|
4759 |
generated by GNU Autoconf 2.64. Invocation command line was
|
5950 | 4760 |
|
5951 | 4761 |
CONFIG_FILES = $CONFIG_FILES
|
5952 | 4762 |
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
5978 | 4788 |
|
5979 | 4789 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
5980 | 4790 |
ac_cs_usage="\
|
5981 | |
\`$as_me' instantiates files from templates according to the
|
5982 | |
current configuration.
|
5983 | |
|
5984 | |
Usage: $0 [OPTION]... [FILE]...
|
|
4791 |
\`$as_me' instantiates files and other configuration actions
|
|
4792 |
from templates according to the current configuration. Unless the files
|
|
4793 |
and actions are specified as TAGs, all are instantiated by default.
|
|
4794 |
|
|
4795 |
Usage: $0 [OPTION]... [TAG]...
|
5985 | 4796 |
|
5986 | 4797 |
-h, --help print this help, then exit
|
5987 | 4798 |
-V, --version print version number and configuration settings, then exit
|
|
6003 | 4814 |
Configuration commands:
|
6004 | 4815 |
$config_commands
|
6005 | 4816 |
|
6006 | |
Report bugs to <bug-autoconf@gnu.org>."
|
|
4817 |
Report bugs to <smcameron@users.sourceforge.net>."
|
6007 | 4818 |
|
6008 | 4819 |
_ACEOF
|
6009 | 4820 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
6010 | 4821 |
ac_cs_version="\\
|
6011 | |
cciss_vol_status config.status 1.10
|
6012 | |
configured by $0, generated by GNU Autoconf 2.63,
|
|
4822 |
cciss_vol_status config.status 1.09
|
|
4823 |
configured by $0, generated by GNU Autoconf 2.64,
|
6013 | 4824 |
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
6014 | 4825 |
|
6015 | |
Copyright (C) 2008 Free Software Foundation, Inc.
|
|
4826 |
Copyright (C) 2009 Free Software Foundation, Inc.
|
6016 | 4827 |
This config.status script is free software; the Free Software Foundation
|
6017 | 4828 |
gives unlimited permission to copy, distribute and modify it."
|
6018 | 4829 |
|
|
6055 | 4866 |
case $ac_optarg in
|
6056 | 4867 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
6057 | 4868 |
esac
|
6058 | |
CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
|
|
4869 |
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
6059 | 4870 |
ac_need_defaults=false;;
|
6060 | 4871 |
--header | --heade | --head | --hea )
|
6061 | 4872 |
$ac_shift
|
6062 | 4873 |
case $ac_optarg in
|
6063 | 4874 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
6064 | 4875 |
esac
|
6065 | |
CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
|
|
4876 |
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
6066 | 4877 |
ac_need_defaults=false;;
|
6067 | 4878 |
--he | --h)
|
6068 | 4879 |
# Conflict between --help and --header
|
6069 | |
{ $as_echo "$as_me: error: ambiguous option: $1
|
6070 | |
Try \`$0 --help' for more information." >&2
|
6071 | |
{ (exit 1); exit 1; }; };;
|
|
4880 |
as_fn_error "ambiguous option: \`$1'
|
|
4881 |
Try \`$0 --help' for more information.";;
|
6072 | 4882 |
--help | --hel | -h )
|
6073 | 4883 |
$as_echo "$ac_cs_usage"; exit ;;
|
6074 | 4884 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
|
6076 | 4886 |
ac_cs_silent=: ;;
|
6077 | 4887 |
|
6078 | 4888 |
# This is an error.
|
6079 | |
-*) { $as_echo "$as_me: error: unrecognized option: $1
|
6080 | |
Try \`$0 --help' for more information." >&2
|
6081 | |
{ (exit 1); exit 1; }; } ;;
|
6082 | |
|
6083 | |
*) ac_config_targets="$ac_config_targets $1"
|
|
4889 |
-*) as_fn_error "unrecognized option: \`$1'
|
|
4890 |
Try \`$0 --help' for more information." ;;
|
|
4891 |
|
|
4892 |
*) as_fn_append ac_config_targets " $1"
|
6084 | 4893 |
ac_need_defaults=false ;;
|
6085 | 4894 |
|
6086 | 4895 |
esac
|
|
6135 | 4944 |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
6136 | 4945 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
6137 | 4946 |
|
6138 | |
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
6139 | |
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
6140 | |
{ (exit 1); exit 1; }; };;
|
|
4947 |
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
6141 | 4948 |
esac
|
6142 | 4949 |
done
|
6143 | 4950 |
|
|
6164 | 4971 |
trap 'exit_status=$?
|
6165 | 4972 |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
6166 | 4973 |
' 0
|
6167 | |
trap '{ (exit 1); exit 1; }' 1 2 13 15
|
|
4974 |
trap 'as_fn_exit 1' 1 2 13 15
|
6168 | 4975 |
}
|
6169 | 4976 |
# Create a (secure) tmp directory for tmp files.
|
6170 | 4977 |
|
|
6175 | 4982 |
{
|
6176 | 4983 |
tmp=./conf$$-$RANDOM
|
6177 | 4984 |
(umask 077 && mkdir "$tmp")
|
6178 | |
} ||
|
6179 | |
{
|
6180 | |
$as_echo "$as_me: cannot create a temporary directory in ." >&2
|
6181 | |
{ (exit 1); exit 1; }
|
6182 | |
}
|
|
4985 |
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
|
6183 | 4986 |
|
6184 | 4987 |
# Set up the scripts for CONFIG_FILES section.
|
6185 | 4988 |
# No need to generate them if there are no CONFIG_FILES.
|
|
6187 | 4990 |
if test -n "$CONFIG_FILES"; then
|
6188 | 4991 |
|
6189 | 4992 |
|
6190 | |
ac_cr='
⏎
|
6191 | |
'
|
|
4993 |
ac_cr=`echo X | tr X '\015'`
|
|
4994 |
# On cygwin, bash can eat \r inside `` if the user requested igncr.
|
|
4995 |
# But we know of no other shell where ac_cr would be empty at this
|
|
4996 |
# point, so we can use a bashism as a fallback.
|
|
4997 |
if test "x$ac_cr" = x; then
|
|
4998 |
eval ac_cr=\$\'\\r\'
|
|
4999 |
fi
|
6192 | 5000 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
6193 | 5001 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
6194 | |
ac_cs_awk_cr='\\r'
|
|
5002 |
ac_cs_awk_cr='\r'
|
6195 | 5003 |
else
|
6196 | 5004 |
ac_cs_awk_cr=$ac_cr
|
6197 | 5005 |
fi
|
|
6205 | 5013 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
6206 | 5014 |
echo "_ACEOF"
|
6207 | 5015 |
} >conf$$subs.sh ||
|
6208 | |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
6209 | |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
6210 | |
{ (exit 1); exit 1; }; }
|
|
5016 |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
6211 | 5017 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
|
6212 | 5018 |
ac_delim='%!_!# '
|
6213 | 5019 |
for ac_last_try in false false false false false :; do
|
6214 | 5020 |
. ./conf$$subs.sh ||
|
6215 | |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
6216 | |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
6217 | |
{ (exit 1); exit 1; }; }
|
|
5021 |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
6218 | 5022 |
|
6219 | 5023 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
6220 | 5024 |
if test $ac_delim_n = $ac_delim_num; then
|
6221 | 5025 |
break
|
6222 | 5026 |
elif $ac_last_try; then
|
6223 | |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
6224 | |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
6225 | |
{ (exit 1); exit 1; }; }
|
|
5027 |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
6226 | 5028 |
else
|
6227 | 5029 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
6228 | 5030 |
fi
|
|
6311 | 5113 |
else
|
6312 | 5114 |
cat
|
6313 | 5115 |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
|
6314 | |
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
|
6315 | |
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
|
6316 | |
{ (exit 1); exit 1; }; }
|
|
5116 |
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
|
6317 | 5117 |
_ACEOF
|
6318 | 5118 |
|
6319 | 5119 |
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
|
6354 | 5154 |
if test -z "$ac_t"; then
|
6355 | 5155 |
break
|
6356 | 5156 |
elif $ac_last_try; then
|
6357 | |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
|
6358 | |
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
|
6359 | |
{ (exit 1); exit 1; }; }
|
|
5157 |
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
|
6360 | 5158 |
else
|
6361 | 5159 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
6362 | 5160 |
fi
|
|
6441 | 5239 |
_ACAWK
|
6442 | 5240 |
_ACEOF
|
6443 | 5241 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
6444 | |
{ { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
|
6445 | |
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
|
6446 | |
{ (exit 1); exit 1; }; }
|
|
5242 |
as_fn_error "could not setup config headers machinery" "$LINENO" 5
|
6447 | 5243 |
fi # test -n "$CONFIG_HEADERS"
|
6448 | 5244 |
|
6449 | 5245 |
|
|
6456 | 5252 |
esac
|
6457 | 5253 |
case $ac_mode$ac_tag in
|
6458 | 5254 |
:[FHL]*:*);;
|
6459 | |
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
|
6460 | |
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
|
6461 | |
{ (exit 1); exit 1; }; };;
|
|
5255 |
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
6462 | 5256 |
:[FH]-) ac_tag=-:-;;
|
6463 | 5257 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
6464 | 5258 |
esac
|
|
6486 | 5280 |
[\\/$]*) false;;
|
6487 | 5281 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
6488 | 5282 |
esac ||
|
6489 | |
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
|
6490 | |
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
|
6491 | |
{ (exit 1); exit 1; }; };;
|
|
5283 |
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
6492 | 5284 |
esac
|
6493 | 5285 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
6494 | |
ac_file_inputs="$ac_file_inputs '$ac_f'"
|
|
5286 |
as_fn_append ac_file_inputs " '$ac_f'"
|
6495 | 5287 |
done
|
6496 | 5288 |
|
6497 | 5289 |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
|
6502 | 5294 |
`' by configure.'
|
6503 | 5295 |
if test x"$ac_file" != x-; then
|
6504 | 5296 |
configure_input="$ac_file. $configure_input"
|
6505 | |
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5
|
|
5297 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
6506 | 5298 |
$as_echo "$as_me: creating $ac_file" >&6;}
|
6507 | 5299 |
fi
|
6508 | 5300 |
# Neutralize special characters interpreted by sed in replacement strings.
|
|
6515 | 5307 |
|
6516 | 5308 |
case $ac_tag in
|
6517 | 5309 |
*:-:* | *:-) cat >"$tmp/stdin" \
|
6518 | |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
6519 | |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
6520 | |
{ (exit 1); exit 1; }; } ;;
|
|
5310 |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
|
6521 | 5311 |
esac
|
6522 | 5312 |
;;
|
6523 | 5313 |
esac
|
|
6545 | 5335 |
q
|
6546 | 5336 |
}
|
6547 | 5337 |
s/.*/./; q'`
|
6548 | |
{ as_dir="$ac_dir"
|
6549 | |
case $as_dir in #(
|
6550 | |
-*) as_dir=./$as_dir;;
|
6551 | |
esac
|
6552 | |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
6553 | |
as_dirs=
|
6554 | |
while :; do
|
6555 | |
case $as_dir in #(
|
6556 | |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
6557 | |
*) as_qdir=$as_dir;;
|
6558 | |
esac
|
6559 | |
as_dirs="'$as_qdir' $as_dirs"
|
6560 | |
as_dir=`$as_dirname -- "$as_dir" ||
|
6561 | |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
6562 | |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
6563 | |
X"$as_dir" : 'X\(//\)$' \| \
|
6564 | |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
6565 | |
$as_echo X"$as_dir" |
|
6566 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
6567 | |
s//\1/
|
6568 | |
q
|
6569 | |
}
|
6570 | |
/^X\(\/\/\)[^/].*/{
|
6571 | |
s//\1/
|
6572 | |
q
|
6573 | |
}
|
6574 | |
/^X\(\/\/\)$/{
|
6575 | |
s//\1/
|
6576 | |
q
|
6577 | |
}
|
6578 | |
/^X\(\/\).*/{
|
6579 | |
s//\1/
|
6580 | |
q
|
6581 | |
}
|
6582 | |
s/.*/./; q'`
|
6583 | |
test -d "$as_dir" && break
|
6584 | |
done
|
6585 | |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
6586 | |
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
6587 | |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
6588 | |
{ (exit 1); exit 1; }; }; }
|
|
5338 |
as_dir="$ac_dir"; as_fn_mkdir_p
|
6589 | 5339 |
ac_builddir=.
|
6590 | 5340 |
|
6591 | 5341 |
case "$ac_dir" in
|
|
6642 | 5392 |
# If the template does not know about datarootdir, expand it.
|
6643 | 5393 |
# FIXME: This hack should be removed a few years after 2.60.
|
6644 | 5394 |
ac_datarootdir_hack=; ac_datarootdir_seen=
|
6645 | |
|
6646 | 5395 |
ac_sed_dataroot='
|
6647 | 5396 |
/datarootdir/ {
|
6648 | 5397 |
p
|
|
6652 | 5401 |
/@docdir@/p
|
6653 | 5402 |
/@infodir@/p
|
6654 | 5403 |
/@localedir@/p
|
6655 | |
/@mandir@/p
|
6656 | |
'
|
|
5404 |
/@mandir@/p'
|
6657 | 5405 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
6658 | 5406 |
*datarootdir*) ac_datarootdir_seen=yes;;
|
6659 | 5407 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
6660 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
|
5408 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
6661 | 5409 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
6662 | 5410 |
_ACEOF
|
6663 | 5411 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
6667 | 5415 |
s&@infodir@&$infodir&g
|
6668 | 5416 |
s&@localedir@&$localedir&g
|
6669 | 5417 |
s&@mandir@&$mandir&g
|
6670 | |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
|
5418 |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
6671 | 5419 |
esac
|
6672 | 5420 |
_ACEOF
|
6673 | 5421 |
|
|
6696 | 5444 |
$ac_datarootdir_hack
|
6697 | 5445 |
"
|
6698 | 5446 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
|
6699 | |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
6700 | |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
6701 | |
{ (exit 1); exit 1; }; }
|
|
5447 |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
6702 | 5448 |
|
6703 | 5449 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
6704 | 5450 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
6705 | 5451 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
6706 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
5452 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
6707 | 5453 |
which seems to be undefined. Please make sure it is defined." >&5
|
6708 | 5454 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
6709 | 5455 |
which seems to be undefined. Please make sure it is defined." >&2;}
|
|
6713 | 5459 |
-) cat "$tmp/out" && rm -f "$tmp/out";;
|
6714 | 5460 |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
|
6715 | 5461 |
esac \
|
6716 | |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
6717 | |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
6718 | |
{ (exit 1); exit 1; }; }
|
|
5462 |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
6719 | 5463 |
;;
|
6720 | 5464 |
:H)
|
6721 | 5465 |
#
|
|
6726 | 5470 |
$as_echo "/* $configure_input */" \
|
6727 | 5471 |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
|
6728 | 5472 |
} >"$tmp/config.h" \
|
6729 | |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
6730 | |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
6731 | |
{ (exit 1); exit 1; }; }
|
|
5473 |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
6732 | 5474 |
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
|
6733 | |
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
|
5475 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
6734 | 5476 |
$as_echo "$as_me: $ac_file is unchanged" >&6;}
|
6735 | 5477 |
else
|
6736 | 5478 |
rm -f "$ac_file"
|
6737 | 5479 |
mv "$tmp/config.h" "$ac_file" \
|
6738 | |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
6739 | |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
6740 | |
{ (exit 1); exit 1; }; }
|
|
5480 |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
6741 | 5481 |
fi
|
6742 | 5482 |
else
|
6743 | 5483 |
$as_echo "/* $configure_input */" \
|
6744 | 5484 |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
|
6745 | |
|| { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
|
6746 | |
$as_echo "$as_me: error: could not create -" >&2;}
|
6747 | |
{ (exit 1); exit 1; }; }
|
|
5485 |
|| as_fn_error "could not create -" "$LINENO" 5
|
6748 | 5486 |
fi
|
6749 | 5487 |
# Compute "$ac_file"'s index in $config_headers.
|
6750 | 5488 |
_am_arg="$ac_file"
|
|
6782 | 5520 |
s/.*/./; q'`/stamp-h$_am_stamp_count
|
6783 | 5521 |
;;
|
6784 | 5522 |
|
6785 | |
:C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
|
|
5523 |
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
6786 | 5524 |
$as_echo "$as_me: executing $ac_file commands" >&6;}
|
6787 | 5525 |
;;
|
6788 | 5526 |
esac
|
|
6877 | 5615 |
q
|
6878 | 5616 |
}
|
6879 | 5617 |
s/.*/./; q'`
|
6880 | |
{ as_dir=$dirpart/$fdir
|
6881 | |
case $as_dir in #(
|
6882 | |
-*) as_dir=./$as_dir;;
|
6883 | |
esac
|
6884 | |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
6885 | |
as_dirs=
|
6886 | |
while :; do
|
6887 | |
case $as_dir in #(
|
6888 | |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
6889 | |
*) as_qdir=$as_dir;;
|
6890 | |
esac
|
6891 | |
as_dirs="'$as_qdir' $as_dirs"
|
6892 | |
as_dir=`$as_dirname -- "$as_dir" ||
|
6893 | |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
6894 | |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
6895 | |
X"$as_dir" : 'X\(//\)$' \| \
|
6896 | |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
6897 | |
$as_echo X"$as_dir" |
|
6898 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
6899 | |
s//\1/
|
6900 | |
q
|
6901 | |
}
|
6902 | |
/^X\(\/\/\)[^/].*/{
|
6903 | |
s//\1/
|
6904 | |
q
|
6905 | |
}
|
6906 | |
/^X\(\/\/\)$/{
|
6907 | |
s//\1/
|
6908 | |
q
|
6909 | |
}
|
6910 | |
/^X\(\/\).*/{
|
6911 | |
s//\1/
|
6912 | |
q
|
6913 | |
}
|
6914 | |
s/.*/./; q'`
|
6915 | |
test -d "$as_dir" && break
|
6916 | |
done
|
6917 | |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
6918 | |
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
6919 | |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
6920 | |
{ (exit 1); exit 1; }; }; }
|
|
5618 |
as_dir=$dirpart/$fdir; as_fn_mkdir_p
|
6921 | 5619 |
# echo "creating $dirpart/$file"
|
6922 | 5620 |
echo '# dummy' > "$dirpart/$file"
|
6923 | 5621 |
done
|
|
6929 | 5627 |
done # for ac_tag
|
6930 | 5628 |
|
6931 | 5629 |
|
6932 | |
{ (exit 0); exit 0; }
|
6933 | |
_ACEOF
|
6934 | |
chmod +x $CONFIG_STATUS
|
|
5630 |
as_fn_exit 0
|
|
5631 |
_ACEOF
|
6935 | 5632 |
ac_clean_files=$ac_clean_files_save
|
6936 | 5633 |
|
6937 | 5634 |
test $ac_write_fail = 0 ||
|
6938 | |
{ { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
|
6939 | |
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
|
6940 | |
{ (exit 1); exit 1; }; }
|
|
5635 |
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
6941 | 5636 |
|
6942 | 5637 |
|
6943 | 5638 |
# configure is writing to config.log, and then calls config.status.
|
|
6958 | 5653 |
exec 5>>config.log
|
6959 | 5654 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
6960 | 5655 |
# would make configure fail if this is the last instruction.
|
6961 | |
$ac_cs_success || { (exit 1); exit 1; }
|
|
5656 |
$ac_cs_success || as_fn_exit $?
|
6962 | 5657 |
fi
|
6963 | 5658 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
6964 | |
{ $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
|
5659 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
6965 | 5660 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
6966 | 5661 |
fi
|
6967 | 5662 |
|