0 | 0 |
#! /bin/sh
|
1 | 1 |
# Guess values for system-dependent variables and create Makefiles.
|
2 | |
# Generated by GNU Autoconf 2.63 for libatasmart 0.17.
|
|
2 |
# Generated by GNU Autoconf 2.65 for libatasmart 0.17.
|
3 | 3 |
#
|
4 | 4 |
# Report bugs to <mzyvongnfzneg (at) 0pointer (dot) net>.
|
5 | 5 |
#
|
|
6 |
#
|
6 | 7 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
7 | |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
|
8 |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
|
9 |
# Inc.
|
|
10 |
#
|
|
11 |
#
|
8 | 12 |
# This configure script is free software; the Free Software Foundation
|
9 | 13 |
# gives unlimited permission to copy, distribute and modify it.
|
10 | |
## --------------------- ##
|
11 | |
## M4sh Initialization. ##
|
12 | |
## --------------------- ##
|
|
14 |
## -------------------- ##
|
|
15 |
## M4sh Initialization. ##
|
|
16 |
## -------------------- ##
|
13 | 17 |
|
14 | 18 |
# Be more Bourne compatible
|
15 | 19 |
DUALCASE=1; export DUALCASE # for MKS sh
|
16 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
20 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
17 | 21 |
emulate sh
|
18 | 22 |
NULLCMD=:
|
19 | 23 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
|
21 | 25 |
alias -g '${1+"$@"}'='"$@"'
|
22 | 26 |
setopt NO_GLOB_SUBST
|
23 | 27 |
else
|
24 | |
case `(set -o) 2>/dev/null` in
|
25 | |
*posix*) set -o posix ;;
|
|
28 |
case `(set -o) 2>/dev/null` in #(
|
|
29 |
*posix*) :
|
|
30 |
set -o posix ;; #(
|
|
31 |
*) :
|
|
32 |
;;
|
26 | 33 |
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
|
|
34 |
fi
|
|
35 |
|
40 | 36 |
|
41 | 37 |
as_nl='
|
42 | 38 |
'
|
|
45 | 41 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
46 | 42 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
47 | 43 |
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
|
|
44 |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
|
45 |
# but without wasting forks for bash or zsh.
|
|
46 |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
|
47 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
48 |
as_echo='print -r --'
|
|
49 |
as_echo_n='print -rn --'
|
|
50 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
49 | 51 |
as_echo='printf %s\n'
|
50 | 52 |
as_echo_n='printf %s'
|
51 | 53 |
else
|
|
56 | 58 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
57 | 59 |
as_echo_n_body='eval
|
58 | 60 |
arg=$1;
|
59 | |
case $arg in
|
|
61 |
case $arg in #(
|
60 | 62 |
*"$as_nl"*)
|
61 | 63 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
62 | 64 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|
79 | 81 |
}
|
80 | 82 |
fi
|
81 | 83 |
|
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 | 84 |
|
90 | 85 |
# IFS
|
91 | 86 |
# We need space, tab and new line, in precisely that order. Quoting is
|
|
95 | 90 |
IFS=" "" $as_nl"
|
96 | 91 |
|
97 | 92 |
# Find who we are. Look in the path if we contain no directory separator.
|
98 | |
case $0 in
|
|
93 |
case $0 in #((
|
99 | 94 |
*[\\/]* ) as_myself=$0 ;;
|
100 | 95 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
101 | 96 |
for as_dir in $PATH
|
102 | 97 |
do
|
103 | 98 |
IFS=$as_save_IFS
|
104 | 99 |
test -z "$as_dir" && as_dir=.
|
105 | |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
106 | |
done
|
|
100 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
101 |
done
|
107 | 102 |
IFS=$as_save_IFS
|
108 | 103 |
|
109 | 104 |
;;
|
|
115 | 110 |
fi
|
116 | 111 |
if test ! -f "$as_myself"; then
|
117 | 112 |
$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
|
|
113 |
exit 1
|
|
114 |
fi
|
|
115 |
|
|
116 |
# Unset variables that we do not need and which cause bugs (e.g. in
|
|
117 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
|
118 |
# suppresses any "Segmentation fault" message there. '((' could
|
|
119 |
# trigger a bug in pdksh 5.2.14.
|
|
120 |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
|
121 |
do eval test x\${$as_var+set} = xset \
|
|
122 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
124 | 123 |
done
|
125 | 124 |
PS1='$ '
|
126 | 125 |
PS2='> '
|
|
132 | 131 |
LANGUAGE=C
|
133 | 132 |
export LANGUAGE
|
134 | 133 |
|
135 | |
# Required to use basename.
|
|
134 |
# CDPATH.
|
|
135 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|
136 |
|
|
137 |
if test "x$CONFIG_SHELL" = x; then
|
|
138 |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
|
|
139 |
emulate sh
|
|
140 |
NULLCMD=:
|
|
141 |
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
|
|
142 |
# is contrary to our usage. Disable this feature.
|
|
143 |
alias -g '\${1+\"\$@\"}'='\"\$@\"'
|
|
144 |
setopt NO_GLOB_SUBST
|
|
145 |
else
|
|
146 |
case \`(set -o) 2>/dev/null\` in #(
|
|
147 |
*posix*) :
|
|
148 |
set -o posix ;; #(
|
|
149 |
*) :
|
|
150 |
;;
|
|
151 |
esac
|
|
152 |
fi
|
|
153 |
"
|
|
154 |
as_required="as_fn_return () { (exit \$1); }
|
|
155 |
as_fn_success () { as_fn_return 0; }
|
|
156 |
as_fn_failure () { as_fn_return 1; }
|
|
157 |
as_fn_ret_success () { return 0; }
|
|
158 |
as_fn_ret_failure () { return 1; }
|
|
159 |
|
|
160 |
exitcode=0
|
|
161 |
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
|
|
162 |
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
|
163 |
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
|
164 |
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
|
165 |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
|
166 |
|
|
167 |
else
|
|
168 |
exitcode=1; echo positional parameters were not saved.
|
|
169 |
fi
|
|
170 |
test x\$exitcode = x0 || exit 1"
|
|
171 |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
|
|
172 |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
|
|
173 |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
|
174 |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
|
|
175 |
test \$(( 1 + 1 )) = 2 || exit 1"
|
|
176 |
if (eval "$as_required") 2>/dev/null; then :
|
|
177 |
as_have_required=yes
|
|
178 |
else
|
|
179 |
as_have_required=no
|
|
180 |
fi
|
|
181 |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
|
|
182 |
|
|
183 |
else
|
|
184 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
185 |
as_found=false
|
|
186 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
|
187 |
do
|
|
188 |
IFS=$as_save_IFS
|
|
189 |
test -z "$as_dir" && as_dir=.
|
|
190 |
as_found=:
|
|
191 |
case $as_dir in #(
|
|
192 |
/*)
|
|
193 |
for as_base in sh bash ksh sh5; do
|
|
194 |
# Try only shells that exist, to save several forks.
|
|
195 |
as_shell=$as_dir/$as_base
|
|
196 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
|
197 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
|
198 |
CONFIG_SHELL=$as_shell as_have_required=yes
|
|
199 |
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
|
200 |
break 2
|
|
201 |
fi
|
|
202 |
fi
|
|
203 |
done;;
|
|
204 |
esac
|
|
205 |
as_found=false
|
|
206 |
done
|
|
207 |
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
|
|
208 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
|
|
209 |
CONFIG_SHELL=$SHELL as_have_required=yes
|
|
210 |
fi; }
|
|
211 |
IFS=$as_save_IFS
|
|
212 |
|
|
213 |
|
|
214 |
if test "x$CONFIG_SHELL" != x; then :
|
|
215 |
# We cannot yet assume a decent shell, so we have to provide a
|
|
216 |
# neutralization value for shells without unset; and this also
|
|
217 |
# works around shells that cannot unset nonexistent variables.
|
|
218 |
BASH_ENV=/dev/null
|
|
219 |
ENV=/dev/null
|
|
220 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
|
221 |
export CONFIG_SHELL
|
|
222 |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
|
223 |
fi
|
|
224 |
|
|
225 |
if test x$as_have_required = xno; then :
|
|
226 |
$as_echo "$0: This script requires a shell more modern than all"
|
|
227 |
$as_echo "$0: the shells that I found on your system."
|
|
228 |
if test x${ZSH_VERSION+set} = xset ; then
|
|
229 |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
|
230 |
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
|
231 |
else
|
|
232 |
$as_echo "$0: Please tell bug-autoconf@gnu.org and mzyvongnfzneg (at)
|
|
233 |
$0: 0pointer (dot) net about your system, including any
|
|
234 |
$0: error possibly output before this message. Then install
|
|
235 |
$0: a modern shell, or manually run the script under such a
|
|
236 |
$0: shell if you do have one."
|
|
237 |
fi
|
|
238 |
exit 1
|
|
239 |
fi
|
|
240 |
fi
|
|
241 |
fi
|
|
242 |
SHELL=${CONFIG_SHELL-/bin/sh}
|
|
243 |
export SHELL
|
|
244 |
# Unset more variables known to interfere with behavior of common tools.
|
|
245 |
CLICOLOR_FORCE= GREP_OPTIONS=
|
|
246 |
unset CLICOLOR_FORCE GREP_OPTIONS
|
|
247 |
|
|
248 |
## --------------------- ##
|
|
249 |
## M4sh Shell Functions. ##
|
|
250 |
## --------------------- ##
|
|
251 |
# as_fn_unset VAR
|
|
252 |
# ---------------
|
|
253 |
# Portably unset VAR.
|
|
254 |
as_fn_unset ()
|
|
255 |
{
|
|
256 |
{ eval $1=; unset $1;}
|
|
257 |
}
|
|
258 |
as_unset=as_fn_unset
|
|
259 |
|
|
260 |
# as_fn_set_status STATUS
|
|
261 |
# -----------------------
|
|
262 |
# Set $? to STATUS, without forking.
|
|
263 |
as_fn_set_status ()
|
|
264 |
{
|
|
265 |
return $1
|
|
266 |
} # as_fn_set_status
|
|
267 |
|
|
268 |
# as_fn_exit STATUS
|
|
269 |
# -----------------
|
|
270 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
|
271 |
as_fn_exit ()
|
|
272 |
{
|
|
273 |
set +e
|
|
274 |
as_fn_set_status $1
|
|
275 |
exit $1
|
|
276 |
} # as_fn_exit
|
|
277 |
|
|
278 |
# as_fn_mkdir_p
|
|
279 |
# -------------
|
|
280 |
# Create "$as_dir" as a directory, including parents if necessary.
|
|
281 |
as_fn_mkdir_p ()
|
|
282 |
{
|
|
283 |
|
|
284 |
case $as_dir in #(
|
|
285 |
-*) as_dir=./$as_dir;;
|
|
286 |
esac
|
|
287 |
test -d "$as_dir" || eval $as_mkdir_p || {
|
|
288 |
as_dirs=
|
|
289 |
while :; do
|
|
290 |
case $as_dir in #(
|
|
291 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
292 |
*) as_qdir=$as_dir;;
|
|
293 |
esac
|
|
294 |
as_dirs="'$as_qdir' $as_dirs"
|
|
295 |
as_dir=`$as_dirname -- "$as_dir" ||
|
|
296 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
297 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
298 |
X"$as_dir" : 'X\(//\)$' \| \
|
|
299 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
|
300 |
$as_echo X"$as_dir" |
|
|
301 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
302 |
s//\1/
|
|
303 |
q
|
|
304 |
}
|
|
305 |
/^X\(\/\/\)[^/].*/{
|
|
306 |
s//\1/
|
|
307 |
q
|
|
308 |
}
|
|
309 |
/^X\(\/\/\)$/{
|
|
310 |
s//\1/
|
|
311 |
q
|
|
312 |
}
|
|
313 |
/^X\(\/\).*/{
|
|
314 |
s//\1/
|
|
315 |
q
|
|
316 |
}
|
|
317 |
s/.*/./; q'`
|
|
318 |
test -d "$as_dir" && break
|
|
319 |
done
|
|
320 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|
321 |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
|
|
322 |
|
|
323 |
|
|
324 |
} # as_fn_mkdir_p
|
|
325 |
# as_fn_append VAR VALUE
|
|
326 |
# ----------------------
|
|
327 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
|
328 |
# advantage of any shell optimizations that allow amortized linear growth over
|
|
329 |
# repeated appends, instead of the typical quadratic growth present in naive
|
|
330 |
# implementations.
|
|
331 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|
332 |
eval 'as_fn_append ()
|
|
333 |
{
|
|
334 |
eval $1+=\$2
|
|
335 |
}'
|
|
336 |
else
|
|
337 |
as_fn_append ()
|
|
338 |
{
|
|
339 |
eval $1=\$$1\$2
|
|
340 |
}
|
|
341 |
fi # as_fn_append
|
|
342 |
|
|
343 |
# as_fn_arith ARG...
|
|
344 |
# ------------------
|
|
345 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
|
346 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
|
347 |
# must be portable across $(()) and expr.
|
|
348 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|
349 |
eval 'as_fn_arith ()
|
|
350 |
{
|
|
351 |
as_val=$(( $* ))
|
|
352 |
}'
|
|
353 |
else
|
|
354 |
as_fn_arith ()
|
|
355 |
{
|
|
356 |
as_val=`expr "$@" || test $? -eq 1`
|
|
357 |
}
|
|
358 |
fi # as_fn_arith
|
|
359 |
|
|
360 |
|
|
361 |
# as_fn_error ERROR [LINENO LOG_FD]
|
|
362 |
# ---------------------------------
|
|
363 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
|
364 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
|
365 |
# script with status $?, using 1 if that was 0.
|
|
366 |
as_fn_error ()
|
|
367 |
{
|
|
368 |
as_status=$?; test $as_status -eq 0 && as_status=1
|
|
369 |
if test "$3"; then
|
|
370 |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
371 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
|
|
372 |
fi
|
|
373 |
$as_echo "$as_me: error: $1" >&2
|
|
374 |
as_fn_exit $as_status
|
|
375 |
} # as_fn_error
|
|
376 |
|
136 | 377 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
137 | 378 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
138 | 379 |
as_expr=expr
|
|
146 | 387 |
as_basename=false
|
147 | 388 |
fi
|
148 | 389 |
|
149 | |
|
150 | |
# Name of the executable.
|
|
390 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
391 |
as_dirname=dirname
|
|
392 |
else
|
|
393 |
as_dirname=false
|
|
394 |
fi
|
|
395 |
|
151 | 396 |
as_me=`$as_basename -- "$0" ||
|
152 | 397 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
153 | 398 |
X"$0" : 'X\(//\)$' \| \
|
|
167 | 412 |
}
|
168 | 413 |
s/.*/./; q'`
|
169 | 414 |
|
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. :-)
|
|
415 |
# Avoid depending upon Character Ranges.
|
|
416 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
417 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
418 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
419 |
as_cr_digits='0123456789'
|
|
420 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
421 |
|
|
422 |
|
|
423 |
as_lineno_1=$LINENO as_lineno_1a=$LINENO
|
|
424 |
as_lineno_2=$LINENO as_lineno_2a=$LINENO
|
|
425 |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
|
|
426 |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
|
|
427 |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
|
459 | 428 |
sed -n '
|
460 | 429 |
p
|
461 | 430 |
/[$]LINENO/=
|
|
472 | 441 |
s/-\n.*//
|
473 | 442 |
' >$as_me.lineno &&
|
474 | 443 |
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; }; }
|
|
444 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
477 | 445 |
|
478 | 446 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
479 | 447 |
# (the dirname of $[0] is not the place where we might find the
|
|
483 | 451 |
exit
|
484 | 452 |
}
|
485 | 453 |
|
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 | 454 |
ECHO_C= ECHO_N= ECHO_T=
|
494 | |
case `echo -n x` in
|
|
455 |
case `echo -n x` in #(((((
|
495 | 456 |
-n*)
|
496 | |
case `echo 'x\c'` in
|
|
457 |
case `echo 'xy\c'` in
|
497 | 458 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
498 | |
*) ECHO_C='\c';;
|
|
459 |
xy) ECHO_C='\c';;
|
|
460 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
|
461 |
ECHO_T=' ';;
|
499 | 462 |
esac;;
|
500 | 463 |
*)
|
501 | 464 |
ECHO_N='-n';;
|
502 | 465 |
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 | 466 |
|
510 | 467 |
rm -f conf$$ conf$$.exe conf$$.file
|
511 | 468 |
if test -d conf$$.dir; then
|
|
535 | 492 |
rmdir conf$$.dir 2>/dev/null
|
536 | 493 |
|
537 | 494 |
if mkdir -p . 2>/dev/null; then
|
538 | |
as_mkdir_p=:
|
|
495 |
as_mkdir_p='mkdir -p "$as_dir"'
|
539 | 496 |
else
|
540 | 497 |
test -d ./-p && rmdir ./-p
|
541 | 498 |
as_mkdir_p=false
|
|
554 | 511 |
if test -d "$1"; then
|
555 | 512 |
test -d "$1/.";
|
556 | 513 |
else
|
557 | |
case $1 in
|
|
514 |
case $1 in #(
|
558 | 515 |
-*)set "./$1";;
|
559 | 516 |
esac;
|
560 | |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
|
517 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
561 | 518 |
???[sx]*):;;*)false;;esac;fi
|
562 | 519 |
'\'' sh
|
563 | 520 |
'
|
|
569 | 526 |
|
570 | 527 |
# Sed expression to map a string onto a valid variable name.
|
571 | 528 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
572 | |
|
573 | 529 |
|
574 | 530 |
|
575 | 531 |
|
|
721 | 677 |
|
722 | 678 |
|
723 | 679 |
|
724 | |
exec 7<&0 </dev/null 6>&1
|
|
680 |
test -n "$DJDIR" || exec 7<&0 </dev/null
|
|
681 |
exec 6>&1
|
725 | 682 |
|
726 | 683 |
# Name of the host.
|
727 | 684 |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
|
739 | 696 |
subdirs=
|
740 | 697 |
MFLAGS=
|
741 | 698 |
MAKEFLAGS=
|
742 | |
SHELL=${CONFIG_SHELL-/bin/sh}
|
743 | 699 |
|
744 | 700 |
# Identity of this package.
|
745 | 701 |
PACKAGE_NAME='libatasmart'
|
|
747 | 703 |
PACKAGE_VERSION='0.17'
|
748 | 704 |
PACKAGE_STRING='libatasmart 0.17'
|
749 | 705 |
PACKAGE_BUGREPORT='mzyvongnfzneg (at) 0pointer (dot) net'
|
|
706 |
PACKAGE_URL=''
|
750 | 707 |
|
751 | 708 |
ac_unique_file="atasmart.c"
|
752 | 709 |
# Factoring default headers for most tests.
|
|
844 | 801 |
build_cpu
|
845 | 802 |
build
|
846 | 803 |
LIBATASMART_VERSION_INFO
|
847 | |
PACKAGE_URL
|
848 | 804 |
AM_BACKSLASH
|
849 | 805 |
AM_DEFAULT_VERBOSITY
|
850 | 806 |
am__untar
|
|
900 | 856 |
program_transform_name
|
901 | 857 |
prefix
|
902 | 858 |
exec_prefix
|
|
859 |
PACKAGE_URL
|
903 | 860 |
PACKAGE_BUGREPORT
|
904 | 861 |
PACKAGE_STRING
|
905 | 862 |
PACKAGE_VERSION
|
|
1044 | 1001 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
1045 | 1002 |
# Reject names that are not valid shell variable names.
|
1046 | 1003 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1047 | |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
|
1048 | |
{ (exit 1); exit 1; }; }
|
|
1004 |
as_fn_error "invalid feature name: $ac_useropt"
|
1049 | 1005 |
ac_useropt_orig=$ac_useropt
|
1050 | 1006 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1051 | 1007 |
case $ac_user_opts in
|
|
1071 | 1027 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
1072 | 1028 |
# Reject names that are not valid shell variable names.
|
1073 | 1029 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1074 | |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
|
1075 | |
{ (exit 1); exit 1; }; }
|
|
1030 |
as_fn_error "invalid feature name: $ac_useropt"
|
1076 | 1031 |
ac_useropt_orig=$ac_useropt
|
1077 | 1032 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1078 | 1033 |
case $ac_user_opts in
|
|
1276 | 1231 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
1277 | 1232 |
# Reject names that are not valid shell variable names.
|
1278 | 1233 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1279 | |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
|
1280 | |
{ (exit 1); exit 1; }; }
|
|
1234 |
as_fn_error "invalid package name: $ac_useropt"
|
1281 | 1235 |
ac_useropt_orig=$ac_useropt
|
1282 | 1236 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1283 | 1237 |
case $ac_user_opts in
|
|
1293 | 1247 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
1294 | 1248 |
# Reject names that are not valid shell variable names.
|
1295 | 1249 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1296 | |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
|
1297 | |
{ (exit 1); exit 1; }; }
|
|
1250 |
as_fn_error "invalid package name: $ac_useropt"
|
1298 | 1251 |
ac_useropt_orig=$ac_useropt
|
1299 | 1252 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1300 | 1253 |
case $ac_user_opts in
|
|
1324 | 1277 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
1325 | 1278 |
x_libraries=$ac_optarg ;;
|
1326 | 1279 |
|
1327 | |
-*) { $as_echo "$as_me: error: unrecognized option: $ac_option
|
1328 | |
Try \`$0 --help' for more information." >&2
|
1329 | |
{ (exit 1); exit 1; }; }
|
|
1280 |
-*) as_fn_error "unrecognized option: \`$ac_option'
|
|
1281 |
Try \`$0 --help' for more information."
|
1330 | 1282 |
;;
|
1331 | 1283 |
|
1332 | 1284 |
*=*)
|
1333 | 1285 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
1334 | 1286 |
# Reject names that are not valid shell variable names.
|
1335 | |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
1336 | |
{ $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
1337 | |
{ (exit 1); exit 1; }; }
|
|
1287 |
case $ac_envvar in #(
|
|
1288 |
'' | [0-9]* | *[!_$as_cr_alnum]* )
|
|
1289 |
as_fn_error "invalid variable name: \`$ac_envvar'" ;;
|
|
1290 |
esac
|
1338 | 1291 |
eval $ac_envvar=\$ac_optarg
|
1339 | 1292 |
export $ac_envvar ;;
|
1340 | 1293 |
|
|
1351 | 1304 |
|
1352 | 1305 |
if test -n "$ac_prev"; then
|
1353 | 1306 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
1354 | |
{ $as_echo "$as_me: error: missing argument to $ac_option" >&2
|
1355 | |
{ (exit 1); exit 1; }; }
|
|
1307 |
as_fn_error "missing argument to $ac_option"
|
1356 | 1308 |
fi
|
1357 | 1309 |
|
1358 | 1310 |
if test -n "$ac_unrecognized_opts"; then
|
1359 | 1311 |
case $enable_option_checking in
|
1360 | 1312 |
no) ;;
|
1361 | |
fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
|
1362 | |
{ (exit 1); exit 1; }; } ;;
|
|
1313 |
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
|
1363 | 1314 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
1364 | 1315 |
esac
|
1365 | 1316 |
fi
|
|
1382 | 1333 |
[\\/$]* | ?:[\\/]* ) continue;;
|
1383 | 1334 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
1384 | 1335 |
esac
|
1385 | |
{ $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
1386 | |
{ (exit 1); exit 1; }; }
|
|
1336 |
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
|
1387 | 1337 |
done
|
1388 | 1338 |
|
1389 | 1339 |
# There might be people who depend on the old broken behavior: `$host'
|
|
1413 | 1363 |
ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
1414 | 1364 |
ac_ls_di=`ls -di .` &&
|
1415 | 1365 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
1416 | |
{ $as_echo "$as_me: error: working directory cannot be determined" >&2
|
1417 | |
{ (exit 1); exit 1; }; }
|
|
1366 |
as_fn_error "working directory cannot be determined"
|
1418 | 1367 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
1419 | |
{ $as_echo "$as_me: error: pwd does not report name of working directory" >&2
|
1420 | |
{ (exit 1); exit 1; }; }
|
|
1368 |
as_fn_error "pwd does not report name of working directory"
|
1421 | 1369 |
|
1422 | 1370 |
|
1423 | 1371 |
# Find the source files, if location was not specified.
|
|
1456 | 1404 |
fi
|
1457 | 1405 |
if test ! -r "$srcdir/$ac_unique_file"; then
|
1458 | 1406 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
1459 | |
{ $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
1460 | |
{ (exit 1); exit 1; }; }
|
|
1407 |
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
|
1461 | 1408 |
fi
|
1462 | 1409 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
1463 | 1410 |
ac_abs_confdir=`(
|
1464 | |
cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
|
1465 | |
{ (exit 1); exit 1; }; }
|
|
1411 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
|
1466 | 1412 |
pwd)`
|
1467 | 1413 |
# When building in place, set srcdir=.
|
1468 | 1414 |
if test "$ac_abs_confdir" = "$ac_pwd"; then
|
|
1590 | 1536 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
1591 | 1537 |
nonstandard directory <lib dir>
|
1592 | 1538 |
LIBS libraries to pass to the linker, e.g. -l<library>
|
1593 | |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
|
|
1539 |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
1594 | 1540 |
you have headers in a nonstandard directory <include dir>
|
1595 | 1541 |
CPP C preprocessor
|
1596 | 1542 |
CXX C++ compiler command
|
|
1669 | 1615 |
if $ac_init_version; then
|
1670 | 1616 |
cat <<\_ACEOF
|
1671 | 1617 |
libatasmart configure 0.17
|
1672 | |
generated by GNU Autoconf 2.63
|
1673 | |
|
1674 | |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
1675 | |
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
|
1618 |
generated by GNU Autoconf 2.65
|
|
1619 |
|
|
1620 |
Copyright (C) 2009 Free Software Foundation, Inc.
|
1676 | 1621 |
This configure script is free software; the Free Software Foundation
|
1677 | 1622 |
gives unlimited permission to copy, distribute and modify it.
|
1678 | 1623 |
_ACEOF
|
1679 | 1624 |
exit
|
1680 | 1625 |
fi
|
|
1626 |
|
|
1627 |
## ------------------------ ##
|
|
1628 |
## Autoconf initialization. ##
|
|
1629 |
## ------------------------ ##
|
|
1630 |
|
|
1631 |
# ac_fn_c_try_compile LINENO
|
|
1632 |
# --------------------------
|
|
1633 |
# Try to compile conftest.$ac_ext, and return whether this succeeded.
|
|
1634 |
ac_fn_c_try_compile ()
|
|
1635 |
{
|
|
1636 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1637 |
rm -f conftest.$ac_objext
|
|
1638 |
if { { ac_try="$ac_compile"
|
|
1639 |
case "(($ac_try" in
|
|
1640 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1641 |
*) ac_try_echo=$ac_try;;
|
|
1642 |
esac
|
|
1643 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1644 |
$as_echo "$ac_try_echo"; } >&5
|
|
1645 |
(eval "$ac_compile") 2>conftest.err
|
|
1646 |
ac_status=$?
|
|
1647 |
if test -s conftest.err; then
|
|
1648 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1649 |
cat conftest.er1 >&5
|
|
1650 |
mv -f conftest.er1 conftest.err
|
|
1651 |
fi
|
|
1652 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1653 |
test $ac_status = 0; } && {
|
|
1654 |
test -z "$ac_c_werror_flag" ||
|
|
1655 |
test ! -s conftest.err
|
|
1656 |
} && test -s conftest.$ac_objext; then :
|
|
1657 |
ac_retval=0
|
|
1658 |
else
|
|
1659 |
$as_echo "$as_me: failed program was:" >&5
|
|
1660 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1661 |
|
|
1662 |
ac_retval=1
|
|
1663 |
fi
|
|
1664 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1665 |
as_fn_set_status $ac_retval
|
|
1666 |
|
|
1667 |
} # ac_fn_c_try_compile
|
|
1668 |
|
|
1669 |
# ac_fn_c_try_cpp LINENO
|
|
1670 |
# ----------------------
|
|
1671 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
|
1672 |
ac_fn_c_try_cpp ()
|
|
1673 |
{
|
|
1674 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1675 |
if { { ac_try="$ac_cpp conftest.$ac_ext"
|
|
1676 |
case "(($ac_try" in
|
|
1677 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1678 |
*) ac_try_echo=$ac_try;;
|
|
1679 |
esac
|
|
1680 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1681 |
$as_echo "$ac_try_echo"; } >&5
|
|
1682 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
|
1683 |
ac_status=$?
|
|
1684 |
if test -s conftest.err; then
|
|
1685 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1686 |
cat conftest.er1 >&5
|
|
1687 |
mv -f conftest.er1 conftest.err
|
|
1688 |
fi
|
|
1689 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1690 |
test $ac_status = 0; } >/dev/null && {
|
|
1691 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
1692 |
test ! -s conftest.err
|
|
1693 |
}; then :
|
|
1694 |
ac_retval=0
|
|
1695 |
else
|
|
1696 |
$as_echo "$as_me: failed program was:" >&5
|
|
1697 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1698 |
|
|
1699 |
ac_retval=1
|
|
1700 |
fi
|
|
1701 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1702 |
as_fn_set_status $ac_retval
|
|
1703 |
|
|
1704 |
} # ac_fn_c_try_cpp
|
|
1705 |
|
|
1706 |
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
|
1707 |
# -------------------------------------------------------
|
|
1708 |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
|
1709 |
# the include files in INCLUDES and setting the cache variable VAR
|
|
1710 |
# accordingly.
|
|
1711 |
ac_fn_c_check_header_mongrel ()
|
|
1712 |
{
|
|
1713 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1714 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1715 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1716 |
$as_echo_n "checking for $2... " >&6; }
|
|
1717 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1718 |
$as_echo_n "(cached) " >&6
|
|
1719 |
fi
|
|
1720 |
eval ac_res=\$$3
|
|
1721 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1722 |
$as_echo "$ac_res" >&6; }
|
|
1723 |
else
|
|
1724 |
# Is the header compilable?
|
|
1725 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
|
1726 |
$as_echo_n "checking $2 usability... " >&6; }
|
|
1727 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1728 |
/* end confdefs.h. */
|
|
1729 |
$4
|
|
1730 |
#include <$2>
|
|
1731 |
_ACEOF
|
|
1732 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1733 |
ac_header_compiler=yes
|
|
1734 |
else
|
|
1735 |
ac_header_compiler=no
|
|
1736 |
fi
|
|
1737 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1738 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
|
1739 |
$as_echo "$ac_header_compiler" >&6; }
|
|
1740 |
|
|
1741 |
# Is the header present?
|
|
1742 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
|
1743 |
$as_echo_n "checking $2 presence... " >&6; }
|
|
1744 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1745 |
/* end confdefs.h. */
|
|
1746 |
#include <$2>
|
|
1747 |
_ACEOF
|
|
1748 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
1749 |
ac_header_preproc=yes
|
|
1750 |
else
|
|
1751 |
ac_header_preproc=no
|
|
1752 |
fi
|
|
1753 |
rm -f conftest.err conftest.$ac_ext
|
|
1754 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
|
1755 |
$as_echo "$ac_header_preproc" >&6; }
|
|
1756 |
|
|
1757 |
# So? What about this header?
|
|
1758 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
|
|
1759 |
yes:no: )
|
|
1760 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
1761 |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
1762 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
|
1763 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
|
1764 |
;;
|
|
1765 |
no:yes:* )
|
|
1766 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
|
1767 |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
|
1768 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
|
1769 |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
|
1770 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
|
1771 |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
|
1772 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
|
1773 |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
1774 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
|
1775 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
|
1776 |
( cat <<\_ASBOX
|
|
1777 |
## ---------------------------------------------------- ##
|
|
1778 |
## Report this to mzyvongnfzneg (at) 0pointer (dot) net ##
|
|
1779 |
## ---------------------------------------------------- ##
|
|
1780 |
_ASBOX
|
|
1781 |
) | sed "s/^/$as_me: WARNING: /" >&2
|
|
1782 |
;;
|
|
1783 |
esac
|
|
1784 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1785 |
$as_echo_n "checking for $2... " >&6; }
|
|
1786 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1787 |
$as_echo_n "(cached) " >&6
|
|
1788 |
else
|
|
1789 |
eval "$3=\$ac_header_compiler"
|
|
1790 |
fi
|
|
1791 |
eval ac_res=\$$3
|
|
1792 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1793 |
$as_echo "$ac_res" >&6; }
|
|
1794 |
fi
|
|
1795 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1796 |
|
|
1797 |
} # ac_fn_c_check_header_mongrel
|
|
1798 |
|
|
1799 |
# ac_fn_c_try_run LINENO
|
|
1800 |
# ----------------------
|
|
1801 |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
|
1802 |
# that executables *can* be run.
|
|
1803 |
ac_fn_c_try_run ()
|
|
1804 |
{
|
|
1805 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1806 |
if { { ac_try="$ac_link"
|
|
1807 |
case "(($ac_try" in
|
|
1808 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1809 |
*) ac_try_echo=$ac_try;;
|
|
1810 |
esac
|
|
1811 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1812 |
$as_echo "$ac_try_echo"; } >&5
|
|
1813 |
(eval "$ac_link") 2>&5
|
|
1814 |
ac_status=$?
|
|
1815 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1816 |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
|
1817 |
{ { case "(($ac_try" in
|
|
1818 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1819 |
*) ac_try_echo=$ac_try;;
|
|
1820 |
esac
|
|
1821 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1822 |
$as_echo "$ac_try_echo"; } >&5
|
|
1823 |
(eval "$ac_try") 2>&5
|
|
1824 |
ac_status=$?
|
|
1825 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1826 |
test $ac_status = 0; }; }; then :
|
|
1827 |
ac_retval=0
|
|
1828 |
else
|
|
1829 |
$as_echo "$as_me: program exited with status $ac_status" >&5
|
|
1830 |
$as_echo "$as_me: failed program was:" >&5
|
|
1831 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1832 |
|
|
1833 |
ac_retval=$ac_status
|
|
1834 |
fi
|
|
1835 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
|
1836 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1837 |
as_fn_set_status $ac_retval
|
|
1838 |
|
|
1839 |
} # ac_fn_c_try_run
|
|
1840 |
|
|
1841 |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
|
1842 |
# -------------------------------------------------------
|
|
1843 |
# Tests whether HEADER exists and can be compiled using the include files in
|
|
1844 |
# INCLUDES, setting the cache variable VAR accordingly.
|
|
1845 |
ac_fn_c_check_header_compile ()
|
|
1846 |
{
|
|
1847 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1848 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1849 |
$as_echo_n "checking for $2... " >&6; }
|
|
1850 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1851 |
$as_echo_n "(cached) " >&6
|
|
1852 |
else
|
|
1853 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1854 |
/* end confdefs.h. */
|
|
1855 |
$4
|
|
1856 |
#include <$2>
|
|
1857 |
_ACEOF
|
|
1858 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1859 |
eval "$3=yes"
|
|
1860 |
else
|
|
1861 |
eval "$3=no"
|
|
1862 |
fi
|
|
1863 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1864 |
fi
|
|
1865 |
eval ac_res=\$$3
|
|
1866 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1867 |
$as_echo "$ac_res" >&6; }
|
|
1868 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1869 |
|
|
1870 |
} # ac_fn_c_check_header_compile
|
|
1871 |
|
|
1872 |
# ac_fn_cxx_try_compile LINENO
|
|
1873 |
# ----------------------------
|
|
1874 |
# Try to compile conftest.$ac_ext, and return whether this succeeded.
|
|
1875 |
ac_fn_cxx_try_compile ()
|
|
1876 |
{
|
|
1877 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1878 |
rm -f conftest.$ac_objext
|
|
1879 |
if { { ac_try="$ac_compile"
|
|
1880 |
case "(($ac_try" in
|
|
1881 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1882 |
*) ac_try_echo=$ac_try;;
|
|
1883 |
esac
|
|
1884 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1885 |
$as_echo "$ac_try_echo"; } >&5
|
|
1886 |
(eval "$ac_compile") 2>conftest.err
|
|
1887 |
ac_status=$?
|
|
1888 |
if test -s conftest.err; then
|
|
1889 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1890 |
cat conftest.er1 >&5
|
|
1891 |
mv -f conftest.er1 conftest.err
|
|
1892 |
fi
|
|
1893 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1894 |
test $ac_status = 0; } && {
|
|
1895 |
test -z "$ac_cxx_werror_flag" ||
|
|
1896 |
test ! -s conftest.err
|
|
1897 |
} && test -s conftest.$ac_objext; then :
|
|
1898 |
ac_retval=0
|
|
1899 |
else
|
|
1900 |
$as_echo "$as_me: failed program was:" >&5
|
|
1901 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1902 |
|
|
1903 |
ac_retval=1
|
|
1904 |
fi
|
|
1905 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1906 |
as_fn_set_status $ac_retval
|
|
1907 |
|
|
1908 |
} # ac_fn_cxx_try_compile
|
|
1909 |
|
|
1910 |
# ac_fn_c_try_link LINENO
|
|
1911 |
# -----------------------
|
|
1912 |
# Try to link conftest.$ac_ext, and return whether this succeeded.
|
|
1913 |
ac_fn_c_try_link ()
|
|
1914 |
{
|
|
1915 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1916 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
1917 |
if { { ac_try="$ac_link"
|
|
1918 |
case "(($ac_try" in
|
|
1919 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1920 |
*) ac_try_echo=$ac_try;;
|
|
1921 |
esac
|
|
1922 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1923 |
$as_echo "$ac_try_echo"; } >&5
|
|
1924 |
(eval "$ac_link") 2>conftest.err
|
|
1925 |
ac_status=$?
|
|
1926 |
if test -s conftest.err; then
|
|
1927 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1928 |
cat conftest.er1 >&5
|
|
1929 |
mv -f conftest.er1 conftest.err
|
|
1930 |
fi
|
|
1931 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1932 |
test $ac_status = 0; } && {
|
|
1933 |
test -z "$ac_c_werror_flag" ||
|
|
1934 |
test ! -s conftest.err
|
|
1935 |
} && test -s conftest$ac_exeext && {
|
|
1936 |
test "$cross_compiling" = yes ||
|
|
1937 |
$as_test_x conftest$ac_exeext
|
|
1938 |
}; then :
|
|
1939 |
ac_retval=0
|
|
1940 |
else
|
|
1941 |
$as_echo "$as_me: failed program was:" >&5
|
|
1942 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1943 |
|
|
1944 |
ac_retval=1
|
|
1945 |
fi
|
|
1946 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
|
1947 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
|
1948 |
# interfere with the next link command; also delete a directory that is
|
|
1949 |
# left behind by Apple's compiler. We do this before executing the actions.
|
|
1950 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
|
1951 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1952 |
as_fn_set_status $ac_retval
|
|
1953 |
|
|
1954 |
} # ac_fn_c_try_link
|
|
1955 |
|
|
1956 |
# ac_fn_c_check_func LINENO FUNC VAR
|
|
1957 |
# ----------------------------------
|
|
1958 |
# Tests whether FUNC exists, setting the cache variable VAR accordingly
|
|
1959 |
ac_fn_c_check_func ()
|
|
1960 |
{
|
|
1961 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1962 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1963 |
$as_echo_n "checking for $2... " >&6; }
|
|
1964 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1965 |
$as_echo_n "(cached) " >&6
|
|
1966 |
else
|
|
1967 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1968 |
/* end confdefs.h. */
|
|
1969 |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
|
1970 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
1971 |
#define $2 innocuous_$2
|
|
1972 |
|
|
1973 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
1974 |
which can conflict with char $2 (); below.
|
|
1975 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
1976 |
<limits.h> exists even on freestanding compilers. */
|
|
1977 |
|
|
1978 |
#ifdef __STDC__
|
|
1979 |
# include <limits.h>
|
|
1980 |
#else
|
|
1981 |
# include <assert.h>
|
|
1982 |
#endif
|
|
1983 |
|
|
1984 |
#undef $2
|
|
1985 |
|
|
1986 |
/* Override any GCC internal prototype to avoid an error.
|
|
1987 |
Use char because int might match the return type of a GCC
|
|
1988 |
builtin and then its argument prototype would still apply. */
|
|
1989 |
#ifdef __cplusplus
|
|
1990 |
extern "C"
|
|
1991 |
#endif
|
|
1992 |
char $2 ();
|
|
1993 |
/* The GNU C library defines this for functions which it implements
|
|
1994 |
to always fail with ENOSYS. Some functions are actually named
|
|
1995 |
something starting with __ and the normal name is an alias. */
|
|
1996 |
#if defined __stub_$2 || defined __stub___$2
|
|
1997 |
choke me
|
|
1998 |
#endif
|
|
1999 |
|
|
2000 |
int
|
|
2001 |
main ()
|
|
2002 |
{
|
|
2003 |
return $2 ();
|
|
2004 |
;
|
|
2005 |
return 0;
|
|
2006 |
}
|
|
2007 |
_ACEOF
|
|
2008 |
if ac_fn_c_try_link "$LINENO"; then :
|
|
2009 |
eval "$3=yes"
|
|
2010 |
else
|
|
2011 |
eval "$3=no"
|
|
2012 |
fi
|
|
2013 |
rm -f core conftest.err conftest.$ac_objext \
|
|
2014 |
conftest$ac_exeext conftest.$ac_ext
|
|
2015 |
fi
|
|
2016 |
eval ac_res=\$$3
|
|
2017 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
2018 |
$as_echo "$ac_res" >&6; }
|
|
2019 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
2020 |
|
|
2021 |
} # ac_fn_c_check_func
|
|
2022 |
|
|
2023 |
# ac_fn_cxx_try_cpp LINENO
|
|
2024 |
# ------------------------
|
|
2025 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
|
2026 |
ac_fn_cxx_try_cpp ()
|
|
2027 |
{
|
|
2028 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
2029 |
if { { ac_try="$ac_cpp conftest.$ac_ext"
|
|
2030 |
case "(($ac_try" in
|
|
2031 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2032 |
*) ac_try_echo=$ac_try;;
|
|
2033 |
esac
|
|
2034 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
2035 |
$as_echo "$ac_try_echo"; } >&5
|
|
2036 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
|
2037 |
ac_status=$?
|
|
2038 |
if test -s conftest.err; then
|
|
2039 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
2040 |
cat conftest.er1 >&5
|
|
2041 |
mv -f conftest.er1 conftest.err
|
|
2042 |
fi
|
|
2043 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
2044 |
test $ac_status = 0; } >/dev/null && {
|
|
2045 |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
|
2046 |
test ! -s conftest.err
|
|
2047 |
}; then :
|
|
2048 |
ac_retval=0
|
|
2049 |
else
|
|
2050 |
$as_echo "$as_me: failed program was:" >&5
|
|
2051 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
2052 |
|
|
2053 |
ac_retval=1
|
|
2054 |
fi
|
|
2055 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
2056 |
as_fn_set_status $ac_retval
|
|
2057 |
|
|
2058 |
} # ac_fn_cxx_try_cpp
|
|
2059 |
|
|
2060 |
# ac_fn_cxx_try_link LINENO
|
|
2061 |
# -------------------------
|
|
2062 |
# Try to link conftest.$ac_ext, and return whether this succeeded.
|
|
2063 |
ac_fn_cxx_try_link ()
|
|
2064 |
{
|
|
2065 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
2066 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
2067 |
if { { ac_try="$ac_link"
|
|
2068 |
case "(($ac_try" in
|
|
2069 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2070 |
*) ac_try_echo=$ac_try;;
|
|
2071 |
esac
|
|
2072 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
2073 |
$as_echo "$ac_try_echo"; } >&5
|
|
2074 |
(eval "$ac_link") 2>conftest.err
|
|
2075 |
ac_status=$?
|
|
2076 |
if test -s conftest.err; then
|
|
2077 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
2078 |
cat conftest.er1 >&5
|
|
2079 |
mv -f conftest.er1 conftest.err
|
|
2080 |
fi
|
|
2081 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
2082 |
test $ac_status = 0; } && {
|
|
2083 |
test -z "$ac_cxx_werror_flag" ||
|
|
2084 |
test ! -s conftest.err
|
|
2085 |
} && test -s conftest$ac_exeext && {
|
|
2086 |
test "$cross_compiling" = yes ||
|
|
2087 |
$as_test_x conftest$ac_exeext
|
|
2088 |
}; then :
|
|
2089 |
ac_retval=0
|
|
2090 |
else
|
|
2091 |
$as_echo "$as_me: failed program was:" >&5
|
|
2092 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
2093 |
|
|
2094 |
ac_retval=1
|
|
2095 |
fi
|
|
2096 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
|
2097 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
|
2098 |
# interfere with the next link command; also delete a directory that is
|
|
2099 |
# left behind by Apple's compiler. We do this before executing the actions.
|
|
2100 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
|
2101 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
2102 |
as_fn_set_status $ac_retval
|
|
2103 |
|
|
2104 |
} # ac_fn_cxx_try_link
|
|
2105 |
|
|
2106 |
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
|
|
2107 |
# -------------------------------------------
|
|
2108 |
# Tests whether TYPE exists after having included INCLUDES, setting cache
|
|
2109 |
# variable VAR accordingly.
|
|
2110 |
ac_fn_c_check_type ()
|
|
2111 |
{
|
|
2112 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
2113 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
2114 |
$as_echo_n "checking for $2... " >&6; }
|
|
2115 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
2116 |
$as_echo_n "(cached) " >&6
|
|
2117 |
else
|
|
2118 |
eval "$3=no"
|
|
2119 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2120 |
/* end confdefs.h. */
|
|
2121 |
$4
|
|
2122 |
int
|
|
2123 |
main ()
|
|
2124 |
{
|
|
2125 |
if (sizeof ($2))
|
|
2126 |
return 0;
|
|
2127 |
;
|
|
2128 |
return 0;
|
|
2129 |
}
|
|
2130 |
_ACEOF
|
|
2131 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
2132 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2133 |
/* end confdefs.h. */
|
|
2134 |
$4
|
|
2135 |
int
|
|
2136 |
main ()
|
|
2137 |
{
|
|
2138 |
if (sizeof (($2)))
|
|
2139 |
return 0;
|
|
2140 |
;
|
|
2141 |
return 0;
|
|
2142 |
}
|
|
2143 |
_ACEOF
|
|
2144 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
2145 |
|
|
2146 |
else
|
|
2147 |
eval "$3=yes"
|
|
2148 |
fi
|
|
2149 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
2150 |
fi
|
|
2151 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
2152 |
fi
|
|
2153 |
eval ac_res=\$$3
|
|
2154 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
2155 |
$as_echo "$ac_res" >&6; }
|
|
2156 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
2157 |
|
|
2158 |
} # ac_fn_c_check_type
|
1681 | 2159 |
cat >config.log <<_ACEOF
|
1682 | 2160 |
This file contains any messages produced by compilers while
|
1683 | 2161 |
running configure, to aid debugging if configure makes a mistake.
|
1684 | 2162 |
|
1685 | 2163 |
It was created by libatasmart $as_me 0.17, which was
|
1686 | |
generated by GNU Autoconf 2.63. Invocation command line was
|
|
2164 |
generated by GNU Autoconf 2.65. Invocation command line was
|
1687 | 2165 |
|
1688 | 2166 |
$ $0 $@
|
1689 | 2167 |
|
|
1719 | 2197 |
do
|
1720 | 2198 |
IFS=$as_save_IFS
|
1721 | 2199 |
test -z "$as_dir" && as_dir=.
|
1722 | |
$as_echo "PATH: $as_dir"
|
1723 | |
done
|
|
2200 |
$as_echo "PATH: $as_dir"
|
|
2201 |
done
|
1724 | 2202 |
IFS=$as_save_IFS
|
1725 | 2203 |
|
1726 | 2204 |
} >&5
|
|
1757 | 2235 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1758 | 2236 |
esac
|
1759 | 2237 |
case $ac_pass in
|
1760 | |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
|
2238 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
1761 | 2239 |
2)
|
1762 | |
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
|
2240 |
as_fn_append ac_configure_args1 " '$ac_arg'"
|
1763 | 2241 |
if test $ac_must_keep_next = true; then
|
1764 | 2242 |
ac_must_keep_next=false # Got value, back to normal.
|
1765 | 2243 |
else
|
|
1775 | 2253 |
-* ) ac_must_keep_next=true ;;
|
1776 | 2254 |
esac
|
1777 | 2255 |
fi
|
1778 | |
ac_configure_args="$ac_configure_args '$ac_arg'"
|
|
2256 |
as_fn_append ac_configure_args " '$ac_arg'"
|
1779 | 2257 |
;;
|
1780 | 2258 |
esac
|
1781 | 2259 |
done
|
1782 | 2260 |
done
|
1783 | |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
1784 | |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
|
2261 |
{ ac_configure_args0=; unset ac_configure_args0;}
|
|
2262 |
{ ac_configure_args1=; unset ac_configure_args1;}
|
1785 | 2263 |
|
1786 | 2264 |
# When interrupted or exit'd, cleanup temporary files, and complete
|
1787 | 2265 |
# config.log. We remove comments because anyway the quotes in there
|
|
1806 | 2284 |
case $ac_val in #(
|
1807 | 2285 |
*${as_nl}*)
|
1808 | 2286 |
case $ac_var in #(
|
1809 | |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
|
|
2287 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
1810 | 2288 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
1811 | 2289 |
esac
|
1812 | 2290 |
case $ac_var in #(
|
1813 | 2291 |
_ | IFS | as_nl) ;; #(
|
1814 | 2292 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
1815 | |
*) $as_unset $ac_var ;;
|
|
2293 |
*) { eval $ac_var=; unset $ac_var;} ;;
|
1816 | 2294 |
esac ;;
|
1817 | 2295 |
esac
|
1818 | 2296 |
done
|
|
1884 | 2362 |
exit $exit_status
|
1885 | 2363 |
' 0
|
1886 | 2364 |
for ac_signal in 1 2 13 15; do
|
1887 | |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
|
2365 |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
1888 | 2366 |
done
|
1889 | 2367 |
ac_signal=0
|
1890 | 2368 |
|
1891 | 2369 |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
1892 | 2370 |
rm -f -r conftest* confdefs.h
|
|
2371 |
|
|
2372 |
$as_echo "/* confdefs.h */" > confdefs.h
|
1893 | 2373 |
|
1894 | 2374 |
# Predefined preprocessor variables.
|
1895 | 2375 |
|
|
1897 | 2377 |
#define PACKAGE_NAME "$PACKAGE_NAME"
|
1898 | 2378 |
_ACEOF
|
1899 | 2379 |
|
1900 | |
|
1901 | 2380 |
cat >>confdefs.h <<_ACEOF
|
1902 | 2381 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
1903 | 2382 |
_ACEOF
|
1904 | 2383 |
|
1905 | |
|
1906 | 2384 |
cat >>confdefs.h <<_ACEOF
|
1907 | 2385 |
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
1908 | 2386 |
_ACEOF
|
1909 | 2387 |
|
1910 | |
|
1911 | 2388 |
cat >>confdefs.h <<_ACEOF
|
1912 | 2389 |
#define PACKAGE_STRING "$PACKAGE_STRING"
|
1913 | 2390 |
_ACEOF
|
1914 | 2391 |
|
1915 | |
|
1916 | 2392 |
cat >>confdefs.h <<_ACEOF
|
1917 | 2393 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
|
2394 |
_ACEOF
|
|
2395 |
|
|
2396 |
cat >>confdefs.h <<_ACEOF
|
|
2397 |
#define PACKAGE_URL "$PACKAGE_URL"
|
1918 | 2398 |
_ACEOF
|
1919 | 2399 |
|
1920 | 2400 |
|
|
1934 | 2414 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
1935 | 2415 |
do
|
1936 | 2416 |
test "x$ac_site_file" = xNONE && continue
|
1937 | |
if test -r "$ac_site_file"; then
|
1938 | |
{ $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
|
2417 |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
|
2418 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
1939 | 2419 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
1940 | 2420 |
sed 's/^/| /' "$ac_site_file" >&5
|
1941 | 2421 |
. "$ac_site_file"
|
|
1943 | 2423 |
done
|
1944 | 2424 |
|
1945 | 2425 |
if test -r "$cache_file"; then
|
1946 | |
# Some versions of bash will fail to source /dev/null (special
|
1947 | |
# files actually), so we avoid doing that.
|
1948 | |
if test -f "$cache_file"; then
|
1949 | |
{ $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
|
2426 |
# Some versions of bash will fail to source /dev/null (special files
|
|
2427 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
|
2428 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
|
2429 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
1950 | 2430 |
$as_echo "$as_me: loading cache $cache_file" >&6;}
|
1951 | 2431 |
case $cache_file in
|
1952 | 2432 |
[\\/]* | ?:[\\/]* ) . "$cache_file";;
|
|
1954 | 2434 |
esac
|
1955 | 2435 |
fi
|
1956 | 2436 |
else
|
1957 | |
{ $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
|
2437 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
1958 | 2438 |
$as_echo "$as_me: creating cache $cache_file" >&6;}
|
1959 | 2439 |
>$cache_file
|
1960 | 2440 |
fi
|
|
1969 | 2449 |
eval ac_new_val=\$ac_env_${ac_var}_value
|
1970 | 2450 |
case $ac_old_set,$ac_new_set in
|
1971 | 2451 |
set,)
|
1972 | |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
|
2452 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
1973 | 2453 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
1974 | 2454 |
ac_cache_corrupted=: ;;
|
1975 | 2455 |
,set)
|
1976 | |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
|
2456 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
1977 | 2457 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
1978 | 2458 |
ac_cache_corrupted=: ;;
|
1979 | 2459 |
,);;
|
|
1983 | 2463 |
ac_old_val_w=`echo x $ac_old_val`
|
1984 | 2464 |
ac_new_val_w=`echo x $ac_new_val`
|
1985 | 2465 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
1986 | |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
|
2466 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
1987 | 2467 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
1988 | 2468 |
ac_cache_corrupted=:
|
1989 | 2469 |
else
|
1990 | |
{ $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
|
2470 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
1991 | 2471 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
1992 | 2472 |
eval $ac_var=\$ac_old_val
|
1993 | 2473 |
fi
|
1994 | |
{ $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
|
|
2474 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
1995 | 2475 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
1996 | |
{ $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
|
|
2476 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
1997 | 2477 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
1998 | 2478 |
fi;;
|
1999 | 2479 |
esac
|
|
2005 | 2485 |
esac
|
2006 | 2486 |
case " $ac_configure_args " in
|
2007 | 2487 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
2008 | |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
|
2488 |
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
2009 | 2489 |
esac
|
2010 | 2490 |
fi
|
2011 | 2491 |
done
|
2012 | 2492 |
if $ac_cache_corrupted; then
|
2013 | |
{ $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
2493 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2014 | 2494 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2015 | |
{ $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
|
2495 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
2016 | 2496 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
2017 | |
{ { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
2018 | |
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
2019 | |
{ (exit 1); exit 1; }; }
|
2020 | |
fi
|
2021 | |
|
2022 | |
|
2023 | |
|
2024 | |
|
2025 | |
|
2026 | |
|
2027 | |
|
2028 | |
|
2029 | |
|
2030 | |
|
2031 | |
|
2032 | |
|
2033 | |
|
2034 | |
|
2035 | |
|
2036 | |
|
2037 | |
|
2038 | |
|
2039 | |
|
2040 | |
|
2041 | |
|
2042 | |
|
2043 | |
|
2044 | |
|
|
2497 |
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
|
2498 |
fi
|
|
2499 |
## -------------------- ##
|
|
2500 |
## Main body of script. ##
|
|
2501 |
## -------------------- ##
|
2045 | 2502 |
|
2046 | 2503 |
ac_ext=c
|
2047 | 2504 |
ac_cpp='$CPP $CPPFLAGS'
|
|
2059 | 2516 |
|
2060 | 2517 |
ac_aux_dir=
|
2061 | 2518 |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
2062 | |
if test -f "$ac_dir/install-sh"; then
|
2063 | |
ac_aux_dir=$ac_dir
|
2064 | |
ac_install_sh="$ac_aux_dir/install-sh -c"
|
2065 | |
break
|
2066 | |
elif test -f "$ac_dir/install.sh"; then
|
2067 | |
ac_aux_dir=$ac_dir
|
2068 | |
ac_install_sh="$ac_aux_dir/install.sh -c"
|
2069 | |
break
|
2070 | |
elif test -f "$ac_dir/shtool"; then
|
2071 | |
ac_aux_dir=$ac_dir
|
2072 | |
ac_install_sh="$ac_aux_dir/shtool install -c"
|
2073 | |
break
|
2074 | |
fi
|
|
2519 |
for ac_t in install-sh install.sh shtool; do
|
|
2520 |
if test -f "$ac_dir/$ac_t"; then
|
|
2521 |
ac_aux_dir=$ac_dir
|
|
2522 |
ac_install_sh="$ac_aux_dir/$ac_t -c"
|
|
2523 |
break 2
|
|
2524 |
fi
|
|
2525 |
done
|
2075 | 2526 |
done
|
2076 | 2527 |
if test -z "$ac_aux_dir"; then
|
2077 | |
{ { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
|
2078 | |
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
|
2079 | |
{ (exit 1); exit 1; }; }
|
|
2528 |
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
2080 | 2529 |
fi
|
2081 | 2530 |
|
2082 | 2531 |
# These three variables are undocumented and unsupported,
|
|
2102 | 2551 |
# OS/2's system install, which has a completely different semantic
|
2103 | 2552 |
# ./install, which can be erroneously created by make from ./install.sh.
|
2104 | 2553 |
# Reject install programs that cannot install multiple files.
|
2105 | |
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
|
2554 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
2106 | 2555 |
$as_echo_n "checking for a BSD-compatible install... " >&6; }
|
2107 | 2556 |
if test -z "$INSTALL"; then
|
2108 | |
if test "${ac_cv_path_install+set}" = set; then
|
|
2557 |
if test "${ac_cv_path_install+set}" = set; then :
|
2109 | 2558 |
$as_echo_n "(cached) " >&6
|
2110 | 2559 |
else
|
2111 | 2560 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2113 | 2562 |
do
|
2114 | 2563 |
IFS=$as_save_IFS
|
2115 | 2564 |
test -z "$as_dir" && as_dir=.
|
2116 | |
# Account for people who put trailing slashes in PATH elements.
|
2117 | |
case $as_dir/ in
|
2118 | |
./ | .// | /cC/* | \
|
|
2565 |
# Account for people who put trailing slashes in PATH elements.
|
|
2566 |
case $as_dir/ in #((
|
|
2567 |
./ | .// | /[cC]/* | \
|
2119 | 2568 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
2120 | |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
|
2569 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
2121 | 2570 |
/usr/ucb/* ) ;;
|
2122 | 2571 |
*)
|
2123 | 2572 |
# OSF1 and SCO ODT 3.0 have their own names for install.
|
|
2154 | 2603 |
;;
|
2155 | 2604 |
esac
|
2156 | 2605 |
|
2157 | |
done
|
|
2606 |
done
|
2158 | 2607 |
IFS=$as_save_IFS
|
2159 | 2608 |
|
2160 | 2609 |
rm -rf conftest.one conftest.two conftest.dir
|
|
2170 | 2619 |
INSTALL=$ac_install_sh
|
2171 | 2620 |
fi
|
2172 | 2621 |
fi
|
2173 | |
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
|
|
2622 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
2174 | 2623 |
$as_echo "$INSTALL" >&6; }
|
2175 | 2624 |
|
2176 | 2625 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
|
2181 | 2630 |
|
2182 | 2631 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
2183 | 2632 |
|
2184 | |
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
|
|
2633 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
|
2185 | 2634 |
$as_echo_n "checking whether build environment is sane... " >&6; }
|
2186 | 2635 |
# Just in case
|
2187 | 2636 |
sleep 1
|
|
2192 | 2641 |
'
|
2193 | 2642 |
case `pwd` in
|
2194 | 2643 |
*[\\\"\#\$\&\'\`$am_lf]*)
|
2195 | |
{ { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
|
2196 | |
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
|
2197 | |
{ (exit 1); exit 1; }; };;
|
|
2644 |
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
|
2198 | 2645 |
esac
|
2199 | 2646 |
case $srcdir in
|
2200 | 2647 |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
|
2201 | |
{ { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
|
2202 | |
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
|
2203 | |
{ (exit 1); exit 1; }; };;
|
|
2648 |
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
|
2204 | 2649 |
esac
|
2205 | 2650 |
|
2206 | 2651 |
# Do `set' in a subshell so we don't clobber the current shell's
|
|
2222 | 2667 |
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
2223 | 2668 |
# broken ls alias from the environment. This has actually
|
2224 | 2669 |
# happened. Such a system could not be considered "sane".
|
2225 | |
{ { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
|
2226 | |
alias in your environment" >&5
|
2227 | |
$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
|
2228 | |
alias in your environment" >&2;}
|
2229 | |
{ (exit 1); exit 1; }; }
|
|
2670 |
as_fn_error "ls -t appears to fail. Make sure there is not a broken
|
|
2671 |
alias in your environment" "$LINENO" 5
|
2230 | 2672 |
fi
|
2231 | 2673 |
|
2232 | 2674 |
test "$2" = conftest.file
|
|
2235 | 2677 |
# Ok.
|
2236 | 2678 |
:
|
2237 | 2679 |
else
|
2238 | |
{ { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
|
2239 | |
Check your system clock" >&5
|
2240 | |
$as_echo "$as_me: error: newly created file is older than distributed files!
|
2241 | |
Check your system clock" >&2;}
|
2242 | |
{ (exit 1); exit 1; }; }
|
2243 | |
fi
|
2244 | |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
2680 |
as_fn_error "newly created file is older than distributed files!
|
|
2681 |
Check your system clock" "$LINENO" 5
|
|
2682 |
fi
|
|
2683 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
2245 | 2684 |
$as_echo "yes" >&6; }
|
2246 | 2685 |
test "$program_prefix" != NONE &&
|
2247 | 2686 |
program_transform_name="s&^&$program_prefix&;$program_transform_name"
|
|
2269 | 2708 |
am_missing_run="$MISSING --run "
|
2270 | 2709 |
else
|
2271 | 2710 |
am_missing_run=
|
2272 | |
{ $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
|
|
2711 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
|
2273 | 2712 |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
2274 | 2713 |
fi
|
2275 | 2714 |
|
|
2290 | 2729 |
if test -n "$ac_tool_prefix"; then
|
2291 | 2730 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
2292 | 2731 |
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
2293 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2732 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2294 | 2733 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2295 | |
if test "${ac_cv_prog_STRIP+set}" = set; then
|
|
2734 |
if test "${ac_cv_prog_STRIP+set}" = set; then :
|
2296 | 2735 |
$as_echo_n "(cached) " >&6
|
2297 | 2736 |
else
|
2298 | 2737 |
if test -n "$STRIP"; then
|
|
2303 | 2742 |
do
|
2304 | 2743 |
IFS=$as_save_IFS
|
2305 | 2744 |
test -z "$as_dir" && as_dir=.
|
2306 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2745 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2307 | 2746 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2308 | 2747 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
2309 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2748 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2310 | 2749 |
break 2
|
2311 | 2750 |
fi
|
2312 | 2751 |
done
|
2313 | |
done
|
|
2752 |
done
|
2314 | 2753 |
IFS=$as_save_IFS
|
2315 | 2754 |
|
2316 | 2755 |
fi
|
2317 | 2756 |
fi
|
2318 | 2757 |
STRIP=$ac_cv_prog_STRIP
|
2319 | 2758 |
if test -n "$STRIP"; then
|
2320 | |
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
|
|
2759 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
2321 | 2760 |
$as_echo "$STRIP" >&6; }
|
2322 | 2761 |
else
|
2323 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2762 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2324 | 2763 |
$as_echo "no" >&6; }
|
2325 | 2764 |
fi
|
2326 | 2765 |
|
|
2330 | 2769 |
ac_ct_STRIP=$STRIP
|
2331 | 2770 |
# Extract the first word of "strip", so it can be a program name with args.
|
2332 | 2771 |
set dummy strip; ac_word=$2
|
2333 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2772 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2334 | 2773 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2335 | |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
|
|
2774 |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
|
2336 | 2775 |
$as_echo_n "(cached) " >&6
|
2337 | 2776 |
else
|
2338 | 2777 |
if test -n "$ac_ct_STRIP"; then
|
|
2343 | 2782 |
do
|
2344 | 2783 |
IFS=$as_save_IFS
|
2345 | 2784 |
test -z "$as_dir" && as_dir=.
|
2346 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2785 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2347 | 2786 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2348 | 2787 |
ac_cv_prog_ac_ct_STRIP="strip"
|
2349 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2788 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2350 | 2789 |
break 2
|
2351 | 2790 |
fi
|
2352 | 2791 |
done
|
2353 | |
done
|
|
2792 |
done
|
2354 | 2793 |
IFS=$as_save_IFS
|
2355 | 2794 |
|
2356 | 2795 |
fi
|
2357 | 2796 |
fi
|
2358 | 2797 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
2359 | 2798 |
if test -n "$ac_ct_STRIP"; then
|
2360 | |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
|
|
2799 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
2361 | 2800 |
$as_echo "$ac_ct_STRIP" >&6; }
|
2362 | 2801 |
else
|
2363 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2802 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2364 | 2803 |
$as_echo "no" >&6; }
|
2365 | 2804 |
fi
|
2366 | 2805 |
|
|
2369 | 2808 |
else
|
2370 | 2809 |
case $cross_compiling:$ac_tool_warned in
|
2371 | 2810 |
yes:)
|
2372 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
2811 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
2373 | 2812 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2374 | 2813 |
ac_tool_warned=yes ;;
|
2375 | 2814 |
esac
|
|
2382 | 2821 |
fi
|
2383 | 2822 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
2384 | 2823 |
|
2385 | |
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
|
|
2824 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
|
2386 | 2825 |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
|
2387 | 2826 |
if test -z "$MKDIR_P"; then
|
2388 | |
if test "${ac_cv_path_mkdir+set}" = set; then
|
|
2827 |
if test "${ac_cv_path_mkdir+set}" = set; then :
|
2389 | 2828 |
$as_echo_n "(cached) " >&6
|
2390 | 2829 |
else
|
2391 | 2830 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2393 | 2832 |
do
|
2394 | 2833 |
IFS=$as_save_IFS
|
2395 | 2834 |
test -z "$as_dir" && as_dir=.
|
2396 | |
for ac_prog in mkdir gmkdir; do
|
|
2835 |
for ac_prog in mkdir gmkdir; do
|
2397 | 2836 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2398 | 2837 |
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
|
2399 | 2838 |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
|
|
2405 | 2844 |
esac
|
2406 | 2845 |
done
|
2407 | 2846 |
done
|
2408 | |
done
|
|
2847 |
done
|
2409 | 2848 |
IFS=$as_save_IFS
|
2410 | 2849 |
|
2411 | 2850 |
fi
|
2412 | 2851 |
|
|
2852 |
test -d ./--version && rmdir ./--version
|
2413 | 2853 |
if test "${ac_cv_path_mkdir+set}" = set; then
|
2414 | 2854 |
MKDIR_P="$ac_cv_path_mkdir -p"
|
2415 | 2855 |
else
|
|
2417 | 2857 |
# value for MKDIR_P within a source directory, because that will
|
2418 | 2858 |
# break other packages using the cache if that directory is
|
2419 | 2859 |
# removed, or if the value is a relative name.
|
2420 | |
test -d ./--version && rmdir ./--version
|
2421 | 2860 |
MKDIR_P="$ac_install_sh -d"
|
2422 | 2861 |
fi
|
2423 | 2862 |
fi
|
2424 | |
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
|
|
2863 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
|
2425 | 2864 |
$as_echo "$MKDIR_P" >&6; }
|
2426 | 2865 |
|
2427 | 2866 |
mkdir_p="$MKDIR_P"
|
|
2434 | 2873 |
do
|
2435 | 2874 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
2436 | 2875 |
set dummy $ac_prog; ac_word=$2
|
2437 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2876 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2438 | 2877 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2439 | |
if test "${ac_cv_prog_AWK+set}" = set; then
|
|
2878 |
if test "${ac_cv_prog_AWK+set}" = set; then :
|
2440 | 2879 |
$as_echo_n "(cached) " >&6
|
2441 | 2880 |
else
|
2442 | 2881 |
if test -n "$AWK"; then
|
|
2447 | 2886 |
do
|
2448 | 2887 |
IFS=$as_save_IFS
|
2449 | 2888 |
test -z "$as_dir" && as_dir=.
|
2450 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2889 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2451 | 2890 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2452 | 2891 |
ac_cv_prog_AWK="$ac_prog"
|
2453 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2892 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2454 | 2893 |
break 2
|
2455 | 2894 |
fi
|
2456 | 2895 |
done
|
2457 | |
done
|
|
2896 |
done
|
2458 | 2897 |
IFS=$as_save_IFS
|
2459 | 2898 |
|
2460 | 2899 |
fi
|
2461 | 2900 |
fi
|
2462 | 2901 |
AWK=$ac_cv_prog_AWK
|
2463 | 2902 |
if test -n "$AWK"; then
|
2464 | |
{ $as_echo "$as_me:$LINENO: result: $AWK" >&5
|
|
2903 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
2465 | 2904 |
$as_echo "$AWK" >&6; }
|
2466 | 2905 |
else
|
2467 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2906 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2468 | 2907 |
$as_echo "no" >&6; }
|
2469 | 2908 |
fi
|
2470 | 2909 |
|
|
2472 | 2911 |
test -n "$AWK" && break
|
2473 | 2912 |
done
|
2474 | 2913 |
|
2475 | |
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
|
2914 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
2476 | 2915 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
2477 | 2916 |
set x ${MAKE-make}
|
2478 | 2917 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
2479 | |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
2918 |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
|
2480 | 2919 |
$as_echo_n "(cached) " >&6
|
2481 | 2920 |
else
|
2482 | 2921 |
cat >conftest.make <<\_ACEOF
|
|
2494 | 2933 |
rm -f conftest.make
|
2495 | 2934 |
fi
|
2496 | 2935 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
2497 | |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
2936 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
2498 | 2937 |
$as_echo "yes" >&6; }
|
2499 | 2938 |
SET_MAKE=
|
2500 | 2939 |
else
|
2501 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2940 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2502 | 2941 |
$as_echo "no" >&6; }
|
2503 | 2942 |
SET_MAKE="MAKE=${MAKE-make}"
|
2504 | 2943 |
fi
|
|
2513 | 2952 |
rmdir .tst 2>/dev/null
|
2514 | 2953 |
|
2515 | 2954 |
# Check whether --enable-silent-rules was given.
|
2516 | |
if test "${enable_silent_rules+set}" = set; then
|
|
2955 |
if test "${enable_silent_rules+set}" = set; then :
|
2517 | 2956 |
enableval=$enable_silent_rules;
|
2518 | 2957 |
fi
|
2519 | 2958 |
|
|
2530 | 2969 |
am__isrc=' -I$(srcdir)'
|
2531 | 2970 |
# test to see if srcdir already configured
|
2532 | 2971 |
if test -f $srcdir/config.status; then
|
2533 | |
{ { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
|
2534 | |
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
|
2535 | |
{ (exit 1); exit 1; }; }
|
|
2972 |
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
|
2536 | 2973 |
fi
|
2537 | 2974 |
fi
|
2538 | 2975 |
|
|
2583 | 3020 |
AMTAR=${AMTAR-"${am_missing_run}tar"}
|
2584 | 3021 |
|
2585 | 3022 |
|
2586 | |
{ $as_echo "$as_me:$LINENO: checking how to create a pax tar archive" >&5
|
|
3023 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
|
2587 | 3024 |
$as_echo_n "checking how to create a pax tar archive... " >&6; }
|
2588 | 3025 |
# Loop over all known methods to create a tar archive until one works.
|
2589 | 3026 |
_am_tools='gnutar pax cpio none'
|
|
2656 | 3093 |
done
|
2657 | 3094 |
rm -rf conftest.dir
|
2658 | 3095 |
|
2659 | |
if test "${am_cv_prog_tar_pax+set}" = set; then
|
|
3096 |
if test "${am_cv_prog_tar_pax+set}" = set; then :
|
2660 | 3097 |
$as_echo_n "(cached) " >&6
|
2661 | 3098 |
else
|
2662 | 3099 |
am_cv_prog_tar_pax=$_am_tool
|
2663 | 3100 |
fi
|
2664 | 3101 |
|
2665 | |
{ $as_echo "$as_me:$LINENO: result: $am_cv_prog_tar_pax" >&5
|
|
3102 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
|
2666 | 3103 |
$as_echo "$am_cv_prog_tar_pax" >&6; }
|
2667 | 3104 |
|
2668 | 3105 |
|
|
2678 | 3115 |
|
2679 | 3116 |
# Make sure we can run config.sub.
|
2680 | 3117 |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
2681 | |
{ { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
|
2682 | |
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
|
2683 | |
{ (exit 1); exit 1; }; }
|
2684 | |
|
2685 | |
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
|
|
3118 |
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
|
|
3119 |
|
|
3120 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
|
2686 | 3121 |
$as_echo_n "checking build system type... " >&6; }
|
2687 | |
if test "${ac_cv_build+set}" = set; then
|
|
3122 |
if test "${ac_cv_build+set}" = set; then :
|
2688 | 3123 |
$as_echo_n "(cached) " >&6
|
2689 | 3124 |
else
|
2690 | 3125 |
ac_build_alias=$build_alias
|
2691 | 3126 |
test "x$ac_build_alias" = x &&
|
2692 | 3127 |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
2693 | 3128 |
test "x$ac_build_alias" = x &&
|
2694 | |
{ { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
|
2695 | |
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
|
2696 | |
{ (exit 1); exit 1; }; }
|
|
3129 |
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
|
2697 | 3130 |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
2698 | |
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
|
2699 | |
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
|
2700 | |
{ (exit 1); exit 1; }; }
|
2701 | |
|
2702 | |
fi
|
2703 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
|
|
3131 |
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
|
|
3132 |
|
|
3133 |
fi
|
|
3134 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
2704 | 3135 |
$as_echo "$ac_cv_build" >&6; }
|
2705 | 3136 |
case $ac_cv_build in
|
2706 | 3137 |
*-*-*) ;;
|
2707 | |
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
|
2708 | |
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
|
2709 | |
{ (exit 1); exit 1; }; };;
|
|
3138 |
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
|
2710 | 3139 |
esac
|
2711 | 3140 |
build=$ac_cv_build
|
2712 | 3141 |
ac_save_IFS=$IFS; IFS='-'
|
|
2722 | 3151 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
2723 | 3152 |
|
2724 | 3153 |
|
2725 | |
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
|
|
3154 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
|
2726 | 3155 |
$as_echo_n "checking host system type... " >&6; }
|
2727 | |
if test "${ac_cv_host+set}" = set; then
|
|
3156 |
if test "${ac_cv_host+set}" = set; then :
|
2728 | 3157 |
$as_echo_n "(cached) " >&6
|
2729 | 3158 |
else
|
2730 | 3159 |
if test "x$host_alias" = x; then
|
2731 | 3160 |
ac_cv_host=$ac_cv_build
|
2732 | 3161 |
else
|
2733 | 3162 |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
2734 | |
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
|
2735 | |
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
|
2736 | |
{ (exit 1); exit 1; }; }
|
2737 | |
fi
|
2738 | |
|
2739 | |
fi
|
2740 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
|
|
3163 |
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
|
|
3164 |
fi
|
|
3165 |
|
|
3166 |
fi
|
|
3167 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
2741 | 3168 |
$as_echo "$ac_cv_host" >&6; }
|
2742 | 3169 |
case $ac_cv_host in
|
2743 | 3170 |
*-*-*) ;;
|
2744 | |
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
|
2745 | |
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
|
2746 | |
{ (exit 1); exit 1; }; };;
|
|
3171 |
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
|
2747 | 3172 |
esac
|
2748 | 3173 |
host=$ac_cv_host
|
2749 | 3174 |
ac_save_IFS=$IFS; IFS='-'
|
|
2761 | 3186 |
|
2762 | 3187 |
|
2763 | 3188 |
# Check whether --enable-silent-rules was given.
|
2764 | |
if test "${enable_silent_rules+set}" = set; then
|
|
3189 |
if test "${enable_silent_rules+set}" = set; then :
|
2765 | 3190 |
enableval=$enable_silent_rules;
|
2766 | 3191 |
fi
|
2767 | 3192 |
|
|
2774 | 3199 |
|
2775 | 3200 |
|
2776 | 3201 |
if type -p stow > /dev/null && test -d /usr/local/stow ; then
|
2777 | |
{ $as_echo "$as_me:$LINENO: *** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***" >&5
|
|
3202 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: *** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***" >&5
|
2778 | 3203 |
$as_echo "$as_me: *** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***" >&6;}
|
2779 | 3204 |
ac_default_prefix="/usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION}"
|
2780 | 3205 |
fi
|
|
2791 | 3216 |
if test -n "$ac_tool_prefix"; then
|
2792 | 3217 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
2793 | 3218 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
2794 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
3219 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2795 | 3220 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2796 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
|
3221 |
|