commit | author | age
|
5d5578
|
1 |
@%:@! /bin/sh |
SP |
2 |
@%:@ Guess values for system-dependent variables and create Makefiles. |
|
3 |
@%:@ Generated by GNU Autoconf 2.69 for sizif-helpers 0.2. |
|
4 |
@%:@ |
|
5 |
@%:@ Report bugs to <samo.penic@gmail.com>. |
|
6 |
@%:@ |
|
7 |
@%:@ |
|
8 |
@%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
|
9 |
@%:@ |
|
10 |
@%:@ |
|
11 |
@%:@ This configure script is free software; the Free Software Foundation |
|
12 |
@%:@ gives unlimited permission to copy, distribute and modify it. |
|
13 |
## -------------------- ## |
|
14 |
## M4sh Initialization. ## |
|
15 |
## -------------------- ## |
|
16 |
|
|
17 |
# Be more Bourne compatible |
|
18 |
DUALCASE=1; export DUALCASE # for MKS sh |
|
19 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
|
20 |
emulate sh |
|
21 |
NULLCMD=: |
|
22 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
|
23 |
# is contrary to our usage. Disable this feature. |
|
24 |
alias -g '${1+"$@"}'='"$@"' |
|
25 |
setopt NO_GLOB_SUBST |
|
26 |
else |
|
27 |
case `(set -o) 2>/dev/null` in @%:@( |
|
28 |
*posix*) : |
|
29 |
set -o posix ;; @%:@( |
|
30 |
*) : |
|
31 |
;; |
|
32 |
esac |
|
33 |
fi |
|
34 |
|
|
35 |
|
|
36 |
as_nl=' |
|
37 |
' |
|
38 |
export as_nl |
|
39 |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
|
40 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
41 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
|
42 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|
43 |
# Prefer a ksh shell builtin over an external printf program on Solaris, |
|
44 |
# but without wasting forks for bash or zsh. |
|
45 |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
|
46 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
47 |
as_echo='print -r --' |
|
48 |
as_echo_n='print -rn --' |
|
49 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
50 |
as_echo='printf %s\n' |
|
51 |
as_echo_n='printf %s' |
|
52 |
else |
|
53 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
54 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
55 |
as_echo_n='/usr/ucb/echo -n' |
|
56 |
else |
|
57 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
58 |
as_echo_n_body='eval |
|
59 |
arg=$1; |
|
60 |
case $arg in @%:@( |
|
61 |
*"$as_nl"*) |
|
62 |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
63 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
64 |
esac; |
|
65 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
66 |
' |
|
67 |
export as_echo_n_body |
|
68 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
|
69 |
fi |
|
70 |
export as_echo_body |
|
71 |
as_echo='sh -c $as_echo_body as_echo' |
|
72 |
fi |
|
73 |
|
|
74 |
# The user is always right. |
|
75 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
76 |
PATH_SEPARATOR=: |
|
77 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
78 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
79 |
PATH_SEPARATOR=';' |
|
80 |
} |
|
81 |
fi |
|
82 |
|
|
83 |
|
|
84 |
# IFS |
|
85 |
# We need space, tab and new line, in precisely that order. Quoting is |
|
86 |
# there to prevent editors from complaining about space-tab. |
|
87 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
88 |
# splitting by setting IFS to empty value.) |
|
89 |
IFS=" "" $as_nl" |
|
90 |
|
|
91 |
# Find who we are. Look in the path if we contain no directory separator. |
|
92 |
as_myself= |
|
93 |
case $0 in @%:@(( |
|
94 |
*[\\/]* ) as_myself=$0 ;; |
|
95 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
96 |
for as_dir in $PATH |
|
97 |
do |
|
98 |
IFS=$as_save_IFS |
|
99 |
test -z "$as_dir" && as_dir=. |
|
100 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
101 |
done |
|
102 |
IFS=$as_save_IFS |
|
103 |
|
|
104 |
;; |
|
105 |
esac |
|
106 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
|
107 |
# in which case we are not to be found in the path. |
|
108 |
if test "x$as_myself" = x; then |
|
109 |
as_myself=$0 |
|
110 |
fi |
|
111 |
if test ! -f "$as_myself"; then |
|
112 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|
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 || : |
|
123 |
done |
|
124 |
PS1='$ ' |
|
125 |
PS2='> ' |
|
126 |
PS4='+ ' |
|
127 |
|
|
128 |
# NLS nuisances. |
|
129 |
LC_ALL=C |
|
130 |
export LC_ALL |
|
131 |
LANGUAGE=C |
|
132 |
export LANGUAGE |
|
133 |
|
|
134 |
# CDPATH. |
|
135 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
136 |
|
|
137 |
# Use a proper internal environment variable to ensure we don't fall |
|
138 |
# into an infinite loop, continuously re-executing ourselves. |
|
139 |
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
|
140 |
_as_can_reexec=no; export _as_can_reexec; |
|
141 |
# We cannot yet assume a decent shell, so we have to provide a |
|
142 |
# neutralization value for shells without unset; and this also |
|
143 |
# works around shells that cannot unset nonexistent variables. |
|
144 |
# Preserve -v and -x to the replacement shell. |
|
145 |
BASH_ENV=/dev/null |
|
146 |
ENV=/dev/null |
|
147 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
148 |
case $- in @%:@ (((( |
|
149 |
*v*x* | *x*v* ) as_opts=-vx ;; |
|
150 |
*v* ) as_opts=-v ;; |
|
151 |
*x* ) as_opts=-x ;; |
|
152 |
* ) as_opts= ;; |
|
153 |
esac |
|
154 |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
|
155 |
# Admittedly, this is quite paranoid, since all the known shells bail |
|
156 |
# out after a failed `exec'. |
|
157 |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
|
158 |
as_fn_exit 255 |
|
159 |
fi |
|
160 |
# We don't want this to propagate to other subprocesses. |
|
161 |
{ _as_can_reexec=; unset _as_can_reexec;} |
|
162 |
if test "x$CONFIG_SHELL" = x; then |
|
163 |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
|
164 |
emulate sh |
|
165 |
NULLCMD=: |
|
166 |
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
|
167 |
# is contrary to our usage. Disable this feature. |
|
168 |
alias -g '\${1+\"\$@\"}'='\"\$@\"' |
|
169 |
setopt NO_GLOB_SUBST |
|
170 |
else |
|
171 |
case \`(set -o) 2>/dev/null\` in @%:@( |
|
172 |
*posix*) : |
|
173 |
set -o posix ;; @%:@( |
|
174 |
*) : |
|
175 |
;; |
|
176 |
esac |
|
177 |
fi |
|
178 |
" |
|
179 |
as_required="as_fn_return () { (exit \$1); } |
|
180 |
as_fn_success () { as_fn_return 0; } |
|
181 |
as_fn_failure () { as_fn_return 1; } |
|
182 |
as_fn_ret_success () { return 0; } |
|
183 |
as_fn_ret_failure () { return 1; } |
|
184 |
|
|
185 |
exitcode=0 |
|
186 |
as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
|
187 |
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
|
188 |
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
|
189 |
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
|
190 |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
|
191 |
|
|
192 |
else |
|
193 |
exitcode=1; echo positional parameters were not saved. |
|
194 |
fi |
|
195 |
test x\$exitcode = x0 || exit 1 |
|
196 |
test -x / || exit 1" |
|
197 |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
|
198 |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
|
199 |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
|
200 |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
|
201 |
test \$(( 1 + 1 )) = 2 || exit 1" |
|
202 |
if (eval "$as_required") 2>/dev/null; then : |
|
203 |
as_have_required=yes |
|
204 |
else |
|
205 |
as_have_required=no |
|
206 |
fi |
|
207 |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
|
208 |
|
|
209 |
else |
|
210 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
211 |
as_found=false |
|
212 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
|
213 |
do |
|
214 |
IFS=$as_save_IFS |
|
215 |
test -z "$as_dir" && as_dir=. |
|
216 |
as_found=: |
|
217 |
case $as_dir in @%:@( |
|
218 |
/*) |
|
219 |
for as_base in sh bash ksh sh5; do |
|
220 |
# Try only shells that exist, to save several forks. |
|
221 |
as_shell=$as_dir/$as_base |
|
222 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
|
223 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
|
224 |
CONFIG_SHELL=$as_shell as_have_required=yes |
|
225 |
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
|
226 |
break 2 |
|
227 |
fi |
|
228 |
fi |
|
229 |
done;; |
|
230 |
esac |
|
231 |
as_found=false |
|
232 |
done |
|
233 |
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
|
234 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
|
235 |
CONFIG_SHELL=$SHELL as_have_required=yes |
|
236 |
fi; } |
|
237 |
IFS=$as_save_IFS |
|
238 |
|
|
239 |
|
|
240 |
if test "x$CONFIG_SHELL" != x; then : |
|
241 |
export CONFIG_SHELL |
|
242 |
# We cannot yet assume a decent shell, so we have to provide a |
|
243 |
# neutralization value for shells without unset; and this also |
|
244 |
# works around shells that cannot unset nonexistent variables. |
|
245 |
# Preserve -v and -x to the replacement shell. |
|
246 |
BASH_ENV=/dev/null |
|
247 |
ENV=/dev/null |
|
248 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
249 |
case $- in @%:@ (((( |
|
250 |
*v*x* | *x*v* ) as_opts=-vx ;; |
|
251 |
*v* ) as_opts=-v ;; |
|
252 |
*x* ) as_opts=-x ;; |
|
253 |
* ) as_opts= ;; |
|
254 |
esac |
|
255 |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
|
256 |
# Admittedly, this is quite paranoid, since all the known shells bail |
|
257 |
# out after a failed `exec'. |
|
258 |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
|
259 |
exit 255 |
|
260 |
fi |
|
261 |
|
|
262 |
if test x$as_have_required = xno; then : |
|
263 |
$as_echo "$0: This script requires a shell more modern than all" |
|
264 |
$as_echo "$0: the shells that I found on your system." |
|
265 |
if test x${ZSH_VERSION+set} = xset ; then |
|
266 |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
|
267 |
$as_echo "$0: be upgraded to zsh 4.3.4 or later." |
|
268 |
else |
|
269 |
$as_echo "$0: Please tell bug-autoconf@gnu.org and |
|
270 |
$0: samo.penic@gmail.com about your system, including any |
|
271 |
$0: error possibly output before this message. Then install |
|
272 |
$0: a modern shell, or manually run the script under such a |
|
273 |
$0: shell if you do have one." |
|
274 |
fi |
|
275 |
exit 1 |
|
276 |
fi |
|
277 |
fi |
|
278 |
fi |
|
279 |
SHELL=${CONFIG_SHELL-/bin/sh} |
|
280 |
export SHELL |
|
281 |
# Unset more variables known to interfere with behavior of common tools. |
|
282 |
CLICOLOR_FORCE= GREP_OPTIONS= |
|
283 |
unset CLICOLOR_FORCE GREP_OPTIONS |
|
284 |
|
|
285 |
## --------------------- ## |
|
286 |
## M4sh Shell Functions. ## |
|
287 |
## --------------------- ## |
|
288 |
@%:@ as_fn_unset VAR |
|
289 |
@%:@ --------------- |
|
290 |
@%:@ Portably unset VAR. |
|
291 |
as_fn_unset () |
|
292 |
{ |
|
293 |
{ eval $1=; unset $1;} |
|
294 |
} |
|
295 |
as_unset=as_fn_unset |
|
296 |
|
|
297 |
@%:@ as_fn_set_status STATUS |
|
298 |
@%:@ ----------------------- |
|
299 |
@%:@ Set @S|@? to STATUS, without forking. |
|
300 |
as_fn_set_status () |
|
301 |
{ |
|
302 |
return $1 |
|
303 |
} @%:@ as_fn_set_status |
|
304 |
|
|
305 |
@%:@ as_fn_exit STATUS |
|
306 |
@%:@ ----------------- |
|
307 |
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
|
308 |
as_fn_exit () |
|
309 |
{ |
|
310 |
set +e |
|
311 |
as_fn_set_status $1 |
|
312 |
exit $1 |
|
313 |
} @%:@ as_fn_exit |
|
314 |
|
|
315 |
@%:@ as_fn_mkdir_p |
|
316 |
@%:@ ------------- |
|
317 |
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. |
|
318 |
as_fn_mkdir_p () |
|
319 |
{ |
|
320 |
|
|
321 |
case $as_dir in #( |
|
322 |
-*) as_dir=./$as_dir;; |
|
323 |
esac |
|
324 |
test -d "$as_dir" || eval $as_mkdir_p || { |
|
325 |
as_dirs= |
|
326 |
while :; do |
|
327 |
case $as_dir in #( |
|
328 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|
329 |
*) as_qdir=$as_dir;; |
|
330 |
esac |
|
331 |
as_dirs="'$as_qdir' $as_dirs" |
|
332 |
as_dir=`$as_dirname -- "$as_dir" || |
|
333 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
334 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
335 |
X"$as_dir" : 'X\(//\)$' \| \ |
|
336 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
337 |
$as_echo X"$as_dir" | |
|
338 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
339 |
s//\1/ |
|
340 |
q |
|
341 |
} |
|
342 |
/^X\(\/\/\)[^/].*/{ |
|
343 |
s//\1/ |
|
344 |
q |
|
345 |
} |
|
346 |
/^X\(\/\/\)$/{ |
|
347 |
s//\1/ |
|
348 |
q |
|
349 |
} |
|
350 |
/^X\(\/\).*/{ |
|
351 |
s//\1/ |
|
352 |
q |
|
353 |
} |
|
354 |
s/.*/./; q'` |
|
355 |
test -d "$as_dir" && break |
|
356 |
done |
|
357 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
358 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
|
359 |
|
|
360 |
|
|
361 |
} @%:@ as_fn_mkdir_p |
|
362 |
|
|
363 |
@%:@ as_fn_executable_p FILE |
|
364 |
@%:@ ----------------------- |
|
365 |
@%:@ Test if FILE is an executable regular file. |
|
366 |
as_fn_executable_p () |
|
367 |
{ |
|
368 |
test -f "$1" && test -x "$1" |
|
369 |
} @%:@ as_fn_executable_p |
|
370 |
@%:@ as_fn_append VAR VALUE |
|
371 |
@%:@ ---------------------- |
|
372 |
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take |
|
373 |
@%:@ advantage of any shell optimizations that allow amortized linear growth over |
|
374 |
@%:@ repeated appends, instead of the typical quadratic growth present in naive |
|
375 |
@%:@ implementations. |
|
376 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
|
377 |
eval 'as_fn_append () |
|
378 |
{ |
|
379 |
eval $1+=\$2 |
|
380 |
}' |
|
381 |
else |
|
382 |
as_fn_append () |
|
383 |
{ |
|
384 |
eval $1=\$$1\$2 |
|
385 |
} |
|
386 |
fi # as_fn_append |
|
387 |
|
|
388 |
@%:@ as_fn_arith ARG... |
|
389 |
@%:@ ------------------ |
|
390 |
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the |
|
391 |
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments |
|
392 |
@%:@ must be portable across @S|@(()) and expr. |
|
393 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
|
394 |
eval 'as_fn_arith () |
|
395 |
{ |
|
396 |
as_val=$(( $* )) |
|
397 |
}' |
|
398 |
else |
|
399 |
as_fn_arith () |
|
400 |
{ |
|
401 |
as_val=`expr "$@" || test $? -eq 1` |
|
402 |
} |
|
403 |
fi # as_fn_arith |
|
404 |
|
|
405 |
|
|
406 |
@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] |
|
407 |
@%:@ ---------------------------------------- |
|
408 |
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
|
409 |
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
|
410 |
@%:@ script with STATUS, using 1 if that was 0. |
|
411 |
as_fn_error () |
|
412 |
{ |
|
413 |
as_status=$1; test $as_status -eq 0 && as_status=1 |
|
414 |
if test "$4"; then |
|
415 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
416 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
|
417 |
fi |
|
418 |
$as_echo "$as_me: error: $2" >&2 |
|
419 |
as_fn_exit $as_status |
|
420 |
} @%:@ as_fn_error |
|
421 |
|
|
422 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
423 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
424 |
as_expr=expr |
|
425 |
else |
|
426 |
as_expr=false |
|
427 |
fi |
|
428 |
|
|
429 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|
430 |
as_basename=basename |
|
431 |
else |
|
432 |
as_basename=false |
|
433 |
fi |
|
434 |
|
|
435 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
436 |
as_dirname=dirname |
|
437 |
else |
|
438 |
as_dirname=false |
|
439 |
fi |
|
440 |
|
|
441 |
as_me=`$as_basename -- "$0" || |
|
442 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
443 |
X"$0" : 'X\(//\)$' \| \ |
|
444 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|
445 |
$as_echo X/"$0" | |
|
446 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|
447 |
s//\1/ |
|
448 |
q |
|
449 |
} |
|
450 |
/^X\/\(\/\/\)$/{ |
|
451 |
s//\1/ |
|
452 |
q |
|
453 |
} |
|
454 |
/^X\/\(\/\).*/{ |
|
455 |
s//\1/ |
|
456 |
q |
|
457 |
} |
|
458 |
s/.*/./; q'` |
|
459 |
|
|
460 |
# Avoid depending upon Character Ranges. |
|
461 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
462 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
463 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
464 |
as_cr_digits='0123456789' |
|
465 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
466 |
|
|
467 |
|
|
468 |
as_lineno_1=$LINENO as_lineno_1a=$LINENO |
|
469 |
as_lineno_2=$LINENO as_lineno_2a=$LINENO |
|
470 |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
|
471 |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
|
472 |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
|
473 |
sed -n ' |
|
474 |
p |
|
475 |
/[$]LINENO/= |
|
476 |
' <$as_myself | |
|
477 |
sed ' |
|
478 |
s/[$]LINENO.*/&-/ |
|
479 |
t lineno |
|
480 |
b |
|
481 |
:lineno |
|
482 |
N |
|
483 |
:loop |
|
484 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
|
485 |
t loop |
|
486 |
s/-\n.*// |
|
487 |
' >$as_me.lineno && |
|
488 |
chmod +x "$as_me.lineno" || |
|
489 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
|
490 |
|
|
491 |
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
|
492 |
# already done that, so ensure we don't try to do so again and fall |
|
493 |
# in an infinite loop. This has already happened in practice. |
|
494 |
_as_can_reexec=no; export _as_can_reexec |
|
495 |
# Don't try to exec as it changes $[0], causing all sort of problems |
|
496 |
# (the dirname of $[0] is not the place where we might find the |
|
497 |
# original and so on. Autoconf is especially sensitive to this). |
|
498 |
. "./$as_me.lineno" |
|
499 |
# Exit status is that of the last command. |
|
500 |
exit |
|
501 |
} |
|
502 |
|
|
503 |
ECHO_C= ECHO_N= ECHO_T= |
|
504 |
case `echo -n x` in @%:@((((( |
|
505 |
-n*) |
|
506 |
case `echo 'xy\c'` in |
|
507 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
508 |
xy) ECHO_C='\c';; |
|
509 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
|
510 |
ECHO_T=' ';; |
|
511 |
esac;; |
|
512 |
*) |
|
513 |
ECHO_N='-n';; |
|
514 |
esac |
|
515 |
|
|
516 |
rm -f conf$$ conf$$.exe conf$$.file |
|
517 |
if test -d conf$$.dir; then |
|
518 |
rm -f conf$$.dir/conf$$.file |
|
519 |
else |
|
520 |
rm -f conf$$.dir |
|
521 |
mkdir conf$$.dir 2>/dev/null |
|
522 |
fi |
|
523 |
if (echo >conf$$.file) 2>/dev/null; then |
|
524 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
525 |
as_ln_s='ln -s' |
|
526 |
# ... but there are two gotchas: |
|
527 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|
528 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
529 |
# In both cases, we have to default to `cp -pR'. |
|
530 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
531 |
as_ln_s='cp -pR' |
|
532 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
|
533 |
as_ln_s=ln |
|
534 |
else |
|
535 |
as_ln_s='cp -pR' |
|
536 |
fi |
|
537 |
else |
|
538 |
as_ln_s='cp -pR' |
|
539 |
fi |
|
540 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|
541 |
rmdir conf$$.dir 2>/dev/null |
|
542 |
|
|
543 |
if mkdir -p . 2>/dev/null; then |
|
544 |
as_mkdir_p='mkdir -p "$as_dir"' |
|
545 |
else |
|
546 |
test -d ./-p && rmdir ./-p |
|
547 |
as_mkdir_p=false |
|
548 |
fi |
|
549 |
|
|
550 |
as_test_x='test -x' |
|
551 |
as_executable_p=as_fn_executable_p |
|
552 |
|
|
553 |
# Sed expression to map a string onto a valid CPP name. |
|
554 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
555 |
|
|
556 |
# Sed expression to map a string onto a valid variable name. |
|
557 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
558 |
|
|
559 |
|
|
560 |
test -n "$DJDIR" || exec 7<&0 </dev/null |
|
561 |
exec 6>&1 |
|
562 |
|
|
563 |
# Name of the host. |
|
564 |
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
|
565 |
# so uname gets run too. |
|
566 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
|
567 |
|
|
568 |
# |
|
569 |
# Initializations. |
|
570 |
# |
|
571 |
ac_default_prefix=/usr/local |
|
572 |
ac_clean_files= |
|
573 |
ac_config_libobj_dir=. |
|
574 |
LIB@&t@OBJS= |
|
575 |
cross_compiling=no |
|
576 |
subdirs= |
|
577 |
MFLAGS= |
|
578 |
MAKEFLAGS= |
|
579 |
|
|
580 |
# Identity of this package. |
|
581 |
PACKAGE_NAME='sizif-helpers' |
|
582 |
PACKAGE_TARNAME='sizif-helpers' |
|
583 |
PACKAGE_VERSION='0.2' |
|
584 |
PACKAGE_STRING='sizif-helpers 0.2' |
|
585 |
PACKAGE_BUGREPORT='samo.penic@gmail.com' |
|
586 |
PACKAGE_URL='' |
|
587 |
|
|
588 |
ac_unique_file="config.h.in" |
|
589 |
# Factoring default headers for most tests. |
|
590 |
ac_includes_default="\ |
|
591 |
#include <stdio.h> |
|
592 |
#ifdef HAVE_SYS_TYPES_H |
|
593 |
# include <sys/types.h> |
|
594 |
#endif |
|
595 |
#ifdef HAVE_SYS_STAT_H |
|
596 |
# include <sys/stat.h> |
|
597 |
#endif |
|
598 |
#ifdef STDC_HEADERS |
|
599 |
# include <stdlib.h> |
|
600 |
# include <stddef.h> |
|
601 |
#else |
|
602 |
# ifdef HAVE_STDLIB_H |
|
603 |
# include <stdlib.h> |
|
604 |
# endif |
|
605 |
#endif |
|
606 |
#ifdef HAVE_STRING_H |
|
607 |
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
|
608 |
# include <memory.h> |
|
609 |
# endif |
|
610 |
# include <string.h> |
|
611 |
#endif |
|
612 |
#ifdef HAVE_STRINGS_H |
|
613 |
# include <strings.h> |
|
614 |
#endif |
|
615 |
#ifdef HAVE_INTTYPES_H |
|
616 |
# include <inttypes.h> |
|
617 |
#endif |
|
618 |
#ifdef HAVE_STDINT_H |
|
619 |
# include <stdint.h> |
|
620 |
#endif |
|
621 |
#ifdef HAVE_UNISTD_H |
|
622 |
# include <unistd.h> |
|
623 |
#endif" |
|
624 |
|
|
625 |
ac_subst_vars='LTLIBOBJS |
|
626 |
LIB@&t@OBJS |
|
627 |
EGREP |
|
628 |
GREP |
|
629 |
CPP |
|
630 |
OBJEXT |
|
631 |
EXEEXT |
|
632 |
ac_ct_CC |
|
633 |
CPPFLAGS |
|
634 |
LDFLAGS |
|
635 |
CFLAGS |
|
636 |
CC |
|
637 |
target_alias |
|
638 |
host_alias |
|
639 |
build_alias |
|
640 |
LIBS |
|
641 |
ECHO_T |
|
642 |
ECHO_N |
|
643 |
ECHO_C |
|
644 |
DEFS |
|
645 |
mandir |
|
646 |
localedir |
|
647 |
libdir |
|
648 |
psdir |
|
649 |
pdfdir |
|
650 |
dvidir |
|
651 |
htmldir |
|
652 |
infodir |
|
653 |
docdir |
|
654 |
oldincludedir |
|
655 |
includedir |
|
656 |
runstatedir |
|
657 |
localstatedir |
|
658 |
sharedstatedir |
|
659 |
sysconfdir |
|
660 |
datadir |
|
661 |
datarootdir |
|
662 |
libexecdir |
|
663 |
sbindir |
|
664 |
bindir |
|
665 |
program_transform_name |
|
666 |
prefix |
|
667 |
exec_prefix |
|
668 |
PACKAGE_URL |
|
669 |
PACKAGE_BUGREPORT |
|
670 |
PACKAGE_STRING |
|
671 |
PACKAGE_VERSION |
|
672 |
PACKAGE_TARNAME |
|
673 |
PACKAGE_NAME |
|
674 |
PATH_SEPARATOR |
|
675 |
SHELL' |
|
676 |
ac_subst_files='' |
|
677 |
ac_user_opts=' |
|
678 |
enable_option_checking |
|
679 |
' |
|
680 |
ac_precious_vars='build_alias |
|
681 |
host_alias |
|
682 |
target_alias |
|
683 |
CC |
|
684 |
CFLAGS |
|
685 |
LDFLAGS |
|
686 |
LIBS |
|
687 |
CPPFLAGS |
|
688 |
CPP' |
|
689 |
|
|
690 |
|
|
691 |
# Initialize some variables set by options. |
|
692 |
ac_init_help= |
|
693 |
ac_init_version=false |
|
694 |
ac_unrecognized_opts= |
|
695 |
ac_unrecognized_sep= |
|
696 |
# The variables have the same names as the options, with |
|
697 |
# dashes changed to underlines. |
|
698 |
cache_file=/dev/null |
|
699 |
exec_prefix=NONE |
|
700 |
no_create= |
|
701 |
no_recursion= |
|
702 |
prefix=NONE |
|
703 |
program_prefix=NONE |
|
704 |
program_suffix=NONE |
|
705 |
program_transform_name=s,x,x, |
|
706 |
silent= |
|
707 |
site= |
|
708 |
srcdir= |
|
709 |
verbose= |
|
710 |
x_includes=NONE |
|
711 |
x_libraries=NONE |
|
712 |
|
|
713 |
# Installation directory options. |
|
714 |
# These are left unexpanded so users can "make install exec_prefix=/foo" |
|
715 |
# and all the variables that are supposed to be based on exec_prefix |
|
716 |
# by default will actually change. |
|
717 |
# Use braces instead of parens because sh, perl, etc. also accept them. |
|
718 |
# (The list follows the same order as the GNU Coding Standards.) |
|
719 |
bindir='${exec_prefix}/bin' |
|
720 |
sbindir='${exec_prefix}/sbin' |
|
721 |
libexecdir='${exec_prefix}/libexec' |
|
722 |
datarootdir='${prefix}/share' |
|
723 |
datadir='${datarootdir}' |
|
724 |
sysconfdir='${prefix}/etc' |
|
725 |
sharedstatedir='${prefix}/com' |
|
726 |
localstatedir='${prefix}/var' |
|
727 |
runstatedir='${localstatedir}/run' |
|
728 |
includedir='${prefix}/include' |
|
729 |
oldincludedir='/usr/include' |
|
730 |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
|
731 |
infodir='${datarootdir}/info' |
|
732 |
htmldir='${docdir}' |
|
733 |
dvidir='${docdir}' |
|
734 |
pdfdir='${docdir}' |
|
735 |
psdir='${docdir}' |
|
736 |
libdir='${exec_prefix}/lib' |
|
737 |
localedir='${datarootdir}/locale' |
|
738 |
mandir='${datarootdir}/man' |
|
739 |
|
|
740 |
ac_prev= |
|
741 |
ac_dashdash= |
|
742 |
for ac_option |
|
743 |
do |
|
744 |
# If the previous option needs an argument, assign it. |
|
745 |
if test -n "$ac_prev"; then |
|
746 |
eval $ac_prev=\$ac_option |
|
747 |
ac_prev= |
|
748 |
continue |
|
749 |
fi |
|
750 |
|
|
751 |
case $ac_option in |
|
752 |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
|
753 |
*=) ac_optarg= ;; |
|
754 |
*) ac_optarg=yes ;; |
|
755 |
esac |
|
756 |
|
|
757 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
|
758 |
|
|
759 |
case $ac_dashdash$ac_option in |
|
760 |
--) |
|
761 |
ac_dashdash=yes ;; |
|
762 |
|
|
763 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
|
764 |
ac_prev=bindir ;; |
|
765 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
|
766 |
bindir=$ac_optarg ;; |
|
767 |
|
|
768 |
-build | --build | --buil | --bui | --bu) |
|
769 |
ac_prev=build_alias ;; |
|
770 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
|
771 |
build_alias=$ac_optarg ;; |
|
772 |
|
|
773 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
|
774 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
|
775 |
ac_prev=cache_file ;; |
|
776 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
|
777 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
|
778 |
cache_file=$ac_optarg ;; |
|
779 |
|
|
780 |
--config-cache | -C) |
|
781 |
cache_file=config.cache ;; |
|
782 |
|
|
783 |
-datadir | --datadir | --datadi | --datad) |
|
784 |
ac_prev=datadir ;; |
|
785 |
-datadir=* | --datadir=* | --datadi=* | --datad=*) |
|
786 |
datadir=$ac_optarg ;; |
|
787 |
|
|
788 |
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
|
789 |
| --dataroo | --dataro | --datar) |
|
790 |
ac_prev=datarootdir ;; |
|
791 |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
|
792 |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
|
793 |
datarootdir=$ac_optarg ;; |
|
794 |
|
|
795 |
-disable-* | --disable-*) |
|
796 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
|
797 |
# Reject names that are not valid shell variable names. |
|
798 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
799 |
as_fn_error $? "invalid feature name: $ac_useropt" |
|
800 |
ac_useropt_orig=$ac_useropt |
|
801 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
802 |
case $ac_user_opts in |
|
803 |
*" |
|
804 |
"enable_$ac_useropt" |
|
805 |
"*) ;; |
|
806 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
|
807 |
ac_unrecognized_sep=', ';; |
|
808 |
esac |
|
809 |
eval enable_$ac_useropt=no ;; |
|
810 |
|
|
811 |
-docdir | --docdir | --docdi | --doc | --do) |
|
812 |
ac_prev=docdir ;; |
|
813 |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
|
814 |
docdir=$ac_optarg ;; |
|
815 |
|
|
816 |
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
|
817 |
ac_prev=dvidir ;; |
|
818 |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
|
819 |
dvidir=$ac_optarg ;; |
|
820 |
|
|
821 |
-enable-* | --enable-*) |
|
822 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
|
823 |
# Reject names that are not valid shell variable names. |
|
824 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
825 |
as_fn_error $? "invalid feature name: $ac_useropt" |
|
826 |
ac_useropt_orig=$ac_useropt |
|
827 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
828 |
case $ac_user_opts in |
|
829 |
*" |
|
830 |
"enable_$ac_useropt" |
|
831 |
"*) ;; |
|
832 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
|
833 |
ac_unrecognized_sep=', ';; |
|
834 |
esac |
|
835 |
eval enable_$ac_useropt=\$ac_optarg ;; |
|
836 |
|
|
837 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
|
838 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
|
839 |
| --exec | --exe | --ex) |
|
840 |
ac_prev=exec_prefix ;; |
|
841 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
|
842 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
|
843 |
| --exec=* | --exe=* | --ex=*) |
|
844 |
exec_prefix=$ac_optarg ;; |
|
845 |
|
|
846 |
-gas | --gas | --ga | --g) |
|
847 |
# Obsolete; use --with-gas. |
|
848 |
with_gas=yes ;; |
|
849 |
|
|
850 |
-help | --help | --hel | --he | -h) |
|
851 |
ac_init_help=long ;; |
|
852 |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
|
853 |
ac_init_help=recursive ;; |
|
854 |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
|
855 |
ac_init_help=short ;; |
|
856 |
|
|
857 |
-host | --host | --hos | --ho) |
|
858 |
ac_prev=host_alias ;; |
|
859 |
-host=* | --host=* | --hos=* | --ho=*) |
|
860 |
host_alias=$ac_optarg ;; |
|
861 |
|
|
862 |
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
|
863 |
ac_prev=htmldir ;; |
|
864 |
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
|
865 |
| --ht=*) |
|
866 |
htmldir=$ac_optarg ;; |
|
867 |
|
|
868 |
-includedir | --includedir | --includedi | --included | --include \ |
|
869 |
| --includ | --inclu | --incl | --inc) |
|
870 |
ac_prev=includedir ;; |
|
871 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
|
872 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
|
873 |
includedir=$ac_optarg ;; |
|
874 |
|
|
875 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
|
876 |
ac_prev=infodir ;; |
|
877 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
|
878 |
infodir=$ac_optarg ;; |
|
879 |
|
|
880 |
-libdir | --libdir | --libdi | --libd) |
|
881 |
ac_prev=libdir ;; |
|
882 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
|
883 |
libdir=$ac_optarg ;; |
|
884 |
|
|
885 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
|
886 |
| --libexe | --libex | --libe) |
|
887 |
ac_prev=libexecdir ;; |
|
888 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
|
889 |
| --libexe=* | --libex=* | --libe=*) |
|
890 |
libexecdir=$ac_optarg ;; |
|
891 |
|
|
892 |
-localedir | --localedir | --localedi | --localed | --locale) |
|
893 |
ac_prev=localedir ;; |
|
894 |
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
|
895 |
localedir=$ac_optarg ;; |
|
896 |
|
|
897 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
|
898 |
| --localstate | --localstat | --localsta | --localst | --locals) |
|
899 |
ac_prev=localstatedir ;; |
|
900 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
|
901 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
|
902 |
localstatedir=$ac_optarg ;; |
|
903 |
|
|
904 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
|
905 |
ac_prev=mandir ;; |
|
906 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
|
907 |
mandir=$ac_optarg ;; |
|
908 |
|
|
909 |
-nfp | --nfp | --nf) |
|
910 |
# Obsolete; use --without-fp. |
|
911 |
with_fp=no ;; |
|
912 |
|
|
913 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
|
914 |
| --no-cr | --no-c | -n) |
|
915 |
no_create=yes ;; |
|
916 |
|
|
917 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|
918 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
|
919 |
no_recursion=yes ;; |
|
920 |
|
|
921 |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
|
922 |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
|
923 |
| --oldin | --oldi | --old | --ol | --o) |
|
924 |
ac_prev=oldincludedir ;; |
|
925 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
|
926 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
|
927 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
|
928 |
oldincludedir=$ac_optarg ;; |
|
929 |
|
|
930 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
|
931 |
ac_prev=prefix ;; |
|
932 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
|
933 |
prefix=$ac_optarg ;; |
|
934 |
|
|
935 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
|
936 |
| --program-pre | --program-pr | --program-p) |
|
937 |
ac_prev=program_prefix ;; |
|
938 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
|
939 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
|
940 |
program_prefix=$ac_optarg ;; |
|
941 |
|
|
942 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
|
943 |
| --program-suf | --program-su | --program-s) |
|
944 |
ac_prev=program_suffix ;; |
|
945 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
|
946 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
|
947 |
program_suffix=$ac_optarg ;; |
|
948 |
|
|
949 |
-program-transform-name | --program-transform-name \ |
|
950 |
| --program-transform-nam | --program-transform-na \ |
|
951 |
| --program-transform-n | --program-transform- \ |
|
952 |
| --program-transform | --program-transfor \ |
|
953 |
| --program-transfo | --program-transf \ |
|
954 |
| --program-trans | --program-tran \ |
|
955 |
| --progr-tra | --program-tr | --program-t) |
|
956 |
ac_prev=program_transform_name ;; |
|
957 |
-program-transform-name=* | --program-transform-name=* \ |
|
958 |
| --program-transform-nam=* | --program-transform-na=* \ |
|
959 |
| --program-transform-n=* | --program-transform-=* \ |
|
960 |
| --program-transform=* | --program-transfor=* \ |
|
961 |
| --program-transfo=* | --program-transf=* \ |
|
962 |
| --program-trans=* | --program-tran=* \ |
|
963 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
|
964 |
program_transform_name=$ac_optarg ;; |
|
965 |
|
|
966 |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
|
967 |
ac_prev=pdfdir ;; |
|
968 |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
|
969 |
pdfdir=$ac_optarg ;; |
|
970 |
|
|
971 |
-psdir | --psdir | --psdi | --psd | --ps) |
|
972 |
ac_prev=psdir ;; |
|
973 |
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
|
974 |
psdir=$ac_optarg ;; |
|
975 |
|
|
976 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
977 |
| -silent | --silent | --silen | --sile | --sil) |
|
978 |
silent=yes ;; |
|
979 |
|
|
980 |
-runstatedir | --runstatedir | --runstatedi | --runstated \ |
|
981 |
| --runstate | --runstat | --runsta | --runst | --runs \ |
|
982 |
| --run | --ru | --r) |
|
983 |
ac_prev=runstatedir ;; |
|
984 |
-runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ |
|
985 |
| --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ |
|
986 |
| --run=* | --ru=* | --r=*) |
|
987 |
runstatedir=$ac_optarg ;; |
|
988 |
|
|
989 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
|
990 |
ac_prev=sbindir ;; |
|
991 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
|
992 |
| --sbi=* | --sb=*) |
|
993 |
sbindir=$ac_optarg ;; |
|
994 |
|
|
995 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
|
996 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
|
997 |
| --sharedst | --shareds | --shared | --share | --shar \ |
|
998 |
| --sha | --sh) |
|
999 |
ac_prev=sharedstatedir ;; |
|
1000 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
|
1001 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
|
1002 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
|
1003 |
| --sha=* | --sh=*) |
|
1004 |
sharedstatedir=$ac_optarg ;; |
|
1005 |
|
|
1006 |
-site | --site | --sit) |
|
1007 |
ac_prev=site ;; |
|
1008 |
-site=* | --site=* | --sit=*) |
|
1009 |
site=$ac_optarg ;; |
|
1010 |
|
|
1011 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
|
1012 |
ac_prev=srcdir ;; |
|
1013 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
|
1014 |
srcdir=$ac_optarg ;; |
|
1015 |
|
|
1016 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
|
1017 |
| --syscon | --sysco | --sysc | --sys | --sy) |
|
1018 |
ac_prev=sysconfdir ;; |
|
1019 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
|
1020 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
|
1021 |
sysconfdir=$ac_optarg ;; |
|
1022 |
|
|
1023 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
|
1024 |
ac_prev=target_alias ;; |
|
1025 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
|
1026 |
target_alias=$ac_optarg ;; |
|
1027 |
|
|
1028 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
|
1029 |
verbose=yes ;; |
|
1030 |
|
|
1031 |
-version | --version | --versio | --versi | --vers | -V) |
|
1032 |
ac_init_version=: ;; |
|
1033 |
|
|
1034 |
-with-* | --with-*) |
|
1035 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
|
1036 |
# Reject names that are not valid shell variable names. |
|
1037 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
1038 |
as_fn_error $? "invalid package name: $ac_useropt" |
|
1039 |
ac_useropt_orig=$ac_useropt |
|
1040 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1041 |
case $ac_user_opts in |
|
1042 |
*" |
|
1043 |
"with_$ac_useropt" |
|
1044 |
"*) ;; |
|
1045 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
|
1046 |
ac_unrecognized_sep=', ';; |
|
1047 |
esac |
|
1048 |
eval with_$ac_useropt=\$ac_optarg ;; |
|
1049 |
|
|
1050 |
-without-* | --without-*) |
|
1051 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
|
1052 |
# Reject names that are not valid shell variable names. |
|
1053 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
1054 |
as_fn_error $? "invalid package name: $ac_useropt" |
|
1055 |
ac_useropt_orig=$ac_useropt |
|
1056 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1057 |
case $ac_user_opts in |
|
1058 |
*" |
|
1059 |
"with_$ac_useropt" |
|
1060 |
"*) ;; |
|
1061 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
|
1062 |
ac_unrecognized_sep=', ';; |
|
1063 |
esac |
|
1064 |
eval with_$ac_useropt=no ;; |
|
1065 |
|
|
1066 |
--x) |
|
1067 |
# Obsolete; use --with-x. |
|
1068 |
with_x=yes ;; |
|
1069 |
|
|
1070 |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
|
1071 |
| --x-incl | --x-inc | --x-in | --x-i) |
|
1072 |
ac_prev=x_includes ;; |
|
1073 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
|
1074 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
|
1075 |
x_includes=$ac_optarg ;; |
|
1076 |
|
|
1077 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
|
1078 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
|
1079 |
ac_prev=x_libraries ;; |
|
1080 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
|
1081 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
|
1082 |
x_libraries=$ac_optarg ;; |
|
1083 |
|
|
1084 |
-*) as_fn_error $? "unrecognized option: \`$ac_option' |
|
1085 |
Try \`$0 --help' for more information" |
|
1086 |
;; |
|
1087 |
|
|
1088 |
*=*) |
|
1089 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
|
1090 |
# Reject names that are not valid shell variable names. |
|
1091 |
case $ac_envvar in #( |
|
1092 |
'' | [0-9]* | *[!_$as_cr_alnum]* ) |
|
1093 |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
|
1094 |
esac |
|
1095 |
eval $ac_envvar=\$ac_optarg |
|
1096 |
export $ac_envvar ;; |
|
1097 |
|
|
1098 |
*) |
|
1099 |
# FIXME: should be removed in autoconf 3.0. |
|
1100 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
|
1101 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
|
1102 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
|
1103 |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
|
1104 |
;; |
|
1105 |
|
|
1106 |
esac |
|
1107 |
done |
|
1108 |
|
|
1109 |
if test -n "$ac_prev"; then |
|
1110 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
|
1111 |
as_fn_error $? "missing argument to $ac_option" |
|
1112 |
fi |
|
1113 |
|
|
1114 |
if test -n "$ac_unrecognized_opts"; then |
|
1115 |
case $enable_option_checking in |
|
1116 |
no) ;; |
|
1117 |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
|
1118 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
|
1119 |
esac |
|
1120 |
fi |
|
1121 |
|
|
1122 |
# Check all directory arguments for consistency. |
|
1123 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
|
1124 |
datadir sysconfdir sharedstatedir localstatedir includedir \ |
|
1125 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
|
1126 |
libdir localedir mandir runstatedir |
|
1127 |
do |
|
1128 |
eval ac_val=\$$ac_var |
|
1129 |
# Remove trailing slashes. |
|
1130 |
case $ac_val in |
|
1131 |
*/ ) |
|
1132 |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
|
1133 |
eval $ac_var=\$ac_val;; |
|
1134 |
esac |
|
1135 |
# Be sure to have absolute directory names. |
|
1136 |
case $ac_val in |
|
1137 |
[\\/$]* | ?:[\\/]* ) continue;; |
|
1138 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
|
1139 |
esac |
|
1140 |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
|
1141 |
done |
|
1142 |
|
|
1143 |
# There might be people who depend on the old broken behavior: `$host' |
|
1144 |
# used to hold the argument of --host etc. |
|
1145 |
# FIXME: To remove some day. |
|
1146 |
build=$build_alias |
|
1147 |
host=$host_alias |
|
1148 |
target=$target_alias |
|
1149 |
|
|
1150 |
# FIXME: To remove some day. |
|
1151 |
if test "x$host_alias" != x; then |
|
1152 |
if test "x$build_alias" = x; then |
|
1153 |
cross_compiling=maybe |
|
1154 |
elif test "x$build_alias" != "x$host_alias"; then |
|
1155 |
cross_compiling=yes |
|
1156 |
fi |
|
1157 |
fi |
|
1158 |
|
|
1159 |
ac_tool_prefix= |
|
1160 |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
|
1161 |
|
|
1162 |
test "$silent" = yes && exec 6>/dev/null |
|
1163 |
|
|
1164 |
|
|
1165 |
ac_pwd=`pwd` && test -n "$ac_pwd" && |
|
1166 |
ac_ls_di=`ls -di .` && |
|
1167 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
|
1168 |
as_fn_error $? "working directory cannot be determined" |
|
1169 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
|
1170 |
as_fn_error $? "pwd does not report name of working directory" |
|
1171 |
|
|
1172 |
|
|
1173 |
# Find the source files, if location was not specified. |
|
1174 |
if test -z "$srcdir"; then |
|
1175 |
ac_srcdir_defaulted=yes |
|
1176 |
# Try the directory containing this script, then the parent directory. |
|
1177 |
ac_confdir=`$as_dirname -- "$as_myself" || |
|
1178 |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
1179 |
X"$as_myself" : 'X\(//\)[^/]' \| \ |
|
1180 |
X"$as_myself" : 'X\(//\)$' \| \ |
|
1181 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
|
1182 |
$as_echo X"$as_myself" | |
|
1183 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
1184 |
s//\1/ |
|
1185 |
q |
|
1186 |
} |
|
1187 |
/^X\(\/\/\)[^/].*/{ |
|
1188 |
s//\1/ |
|
1189 |
q |
|
1190 |
} |
|
1191 |
/^X\(\/\/\)$/{ |
|
1192 |
s//\1/ |
|
1193 |
q |
|
1194 |
} |
|
1195 |
/^X\(\/\).*/{ |
|
1196 |
s//\1/ |
|
1197 |
q |
|
1198 |
} |
|
1199 |
s/.*/./; q'` |
|
1200 |
srcdir=$ac_confdir |
|
1201 |
if test ! -r "$srcdir/$ac_unique_file"; then |
|
1202 |
srcdir=.. |
|
1203 |
fi |
|
1204 |
else |
|
1205 |
ac_srcdir_defaulted=no |
|
1206 |
fi |
|
1207 |
if test ! -r "$srcdir/$ac_unique_file"; then |
|
1208 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
|
1209 |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
|
1210 |
fi |
|
1211 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
|
1212 |
ac_abs_confdir=`( |
|
1213 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
|
1214 |
pwd)` |
|
1215 |
# When building in place, set srcdir=. |
|
1216 |
if test "$ac_abs_confdir" = "$ac_pwd"; then |
|
1217 |
srcdir=. |
|
1218 |
fi |
|
1219 |
# Remove unnecessary trailing slashes from srcdir. |
|
1220 |
# Double slashes in file names in object file debugging info |
|
1221 |
# mess up M-x gdb in Emacs. |
|
1222 |
case $srcdir in |
|
1223 |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
|
1224 |
esac |
|
1225 |
for ac_var in $ac_precious_vars; do |
|
1226 |
eval ac_env_${ac_var}_set=\${${ac_var}+set} |
|
1227 |
eval ac_env_${ac_var}_value=\$${ac_var} |
|
1228 |
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
|
1229 |
eval ac_cv_env_${ac_var}_value=\$${ac_var} |
|
1230 |
done |
|
1231 |
|
|
1232 |
# |
|
1233 |
# Report the --help message. |
|
1234 |
# |
|
1235 |
if test "$ac_init_help" = "long"; then |
|
1236 |
# Omit some internal or obsolete options to make the list less imposing. |
|
1237 |
# This message is too long to be a string in the A/UX 3.1 sh. |
|
1238 |
cat <<_ACEOF |
|
1239 |
\`configure' configures sizif-helpers 0.2 to adapt to many kinds of systems. |
|
1240 |
|
|
1241 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
1242 |
|
|
1243 |
To assign environment variables (e.g., CC, CFLAGS...), specify them as |
|
1244 |
VAR=VALUE. See below for descriptions of some of the useful variables. |
|
1245 |
|
|
1246 |
Defaults for the options are specified in brackets. |
|
1247 |
|
|
1248 |
Configuration: |
|
1249 |
-h, --help display this help and exit |
|
1250 |
--help=short display options specific to this package |
|
1251 |
--help=recursive display the short help of all the included packages |
|
1252 |
-V, --version display version information and exit |
|
1253 |
-q, --quiet, --silent do not print \`checking ...' messages |
|
1254 |
--cache-file=FILE cache test results in FILE [disabled] |
|
1255 |
-C, --config-cache alias for \`--cache-file=config.cache' |
|
1256 |
-n, --no-create do not create output files |
|
1257 |
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
|
1258 |
|
|
1259 |
Installation directories: |
|
1260 |
--prefix=PREFIX install architecture-independent files in PREFIX |
|
1261 |
@<:@@S|@ac_default_prefix@:>@ |
|
1262 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
|
1263 |
@<:@PREFIX@:>@ |
|
1264 |
|
|
1265 |
By default, \`make install' will install all the files in |
|
1266 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
|
1267 |
an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
|
1268 |
for instance \`--prefix=\$HOME'. |
|
1269 |
|
|
1270 |
For better control, use the options below. |
|
1271 |
|
|
1272 |
Fine tuning of the installation directories: |
|
1273 |
--bindir=DIR user executables [EPREFIX/bin] |
|
1274 |
--sbindir=DIR system admin executables [EPREFIX/sbin] |
|
1275 |
--libexecdir=DIR program executables [EPREFIX/libexec] |
|
1276 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
|
1277 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
|
1278 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
|
1279 |
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] |
|
1280 |
--libdir=DIR object code libraries [EPREFIX/lib] |
|
1281 |
--includedir=DIR C header files [PREFIX/include] |
|
1282 |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
|
1283 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
|
1284 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
|
1285 |
--infodir=DIR info documentation [DATAROOTDIR/info] |
|
1286 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
|
1287 |
--mandir=DIR man documentation [DATAROOTDIR/man] |
|
1288 |
--docdir=DIR documentation root @<:@DATAROOTDIR/doc/sizif-helpers@:>@ |
|
1289 |
--htmldir=DIR html documentation [DOCDIR] |
|
1290 |
--dvidir=DIR dvi documentation [DOCDIR] |
|
1291 |
--pdfdir=DIR pdf documentation [DOCDIR] |
|
1292 |
--psdir=DIR ps documentation [DOCDIR] |
|
1293 |
_ACEOF |
|
1294 |
|
|
1295 |
cat <<\_ACEOF |
|
1296 |
_ACEOF |
|
1297 |
fi |
|
1298 |
|
|
1299 |
if test -n "$ac_init_help"; then |
|
1300 |
case $ac_init_help in |
|
1301 |
short | recursive ) echo "Configuration of sizif-helpers 0.2:";; |
|
1302 |
esac |
|
1303 |
cat <<\_ACEOF |
|
1304 |
|
|
1305 |
Some influential environment variables: |
|
1306 |
CC C compiler command |
|
1307 |
CFLAGS C compiler flags |
|
1308 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
|
1309 |
nonstandard directory <lib dir> |
|
1310 |
LIBS libraries to pass to the linker, e.g. -l<library> |
|
1311 |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
|
1312 |
you have headers in a nonstandard directory <include dir> |
|
1313 |
CPP C preprocessor |
|
1314 |
|
|
1315 |
Use these variables to override the choices made by `configure' or to help |
|
1316 |
it to find libraries and programs with nonstandard names/locations. |
|
1317 |
|
|
1318 |
Report bugs to <samo.penic@gmail.com>. |
|
1319 |
_ACEOF |
|
1320 |
ac_status=$? |
|
1321 |
fi |
|
1322 |
|
|
1323 |
if test "$ac_init_help" = "recursive"; then |
|
1324 |
# If there are subdirs, report their specific --help. |
|
1325 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
|
1326 |
test -d "$ac_dir" || |
|
1327 |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
|
1328 |
continue |
|
1329 |
ac_builddir=. |
|
1330 |
|
|
1331 |
case "$ac_dir" in |
|
1332 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1333 |
*) |
|
1334 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
|
1335 |
# A ".." for each directory in $ac_dir_suffix. |
|
1336 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
|
1337 |
case $ac_top_builddir_sub in |
|
1338 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1339 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
1340 |
esac ;; |
|
1341 |
esac |
|
1342 |
ac_abs_top_builddir=$ac_pwd |
|
1343 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
1344 |
# for backward compatibility: |
|
1345 |
ac_top_builddir=$ac_top_build_prefix |
|
1346 |
|
|
1347 |
case $srcdir in |
|
1348 |
.) # We are building in place. |
|
1349 |
ac_srcdir=. |
|
1350 |
ac_top_srcdir=$ac_top_builddir_sub |
|
1351 |
ac_abs_top_srcdir=$ac_pwd ;; |
|
1352 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
|
1353 |
ac_srcdir=$srcdir$ac_dir_suffix; |
|
1354 |
ac_top_srcdir=$srcdir |
|
1355 |
ac_abs_top_srcdir=$srcdir ;; |
|
1356 |
*) # Relative name. |
|
1357 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
1358 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
1359 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
1360 |
esac |
|
1361 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
1362 |
|
|
1363 |
cd "$ac_dir" || { ac_status=$?; continue; } |
|
1364 |
# Check for guested configure. |
|
1365 |
if test -f "$ac_srcdir/configure.gnu"; then |
|
1366 |
echo && |
|
1367 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive |
|
1368 |
elif test -f "$ac_srcdir/configure"; then |
|
1369 |
echo && |
|
1370 |
$SHELL "$ac_srcdir/configure" --help=recursive |
|
1371 |
else |
|
1372 |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
|
1373 |
fi || ac_status=$? |
|
1374 |
cd "$ac_pwd" || { ac_status=$?; break; } |
|
1375 |
done |
|
1376 |
fi |
|
1377 |
|
|
1378 |
test -n "$ac_init_help" && exit $ac_status |
|
1379 |
if $ac_init_version; then |
|
1380 |
cat <<\_ACEOF |
|
1381 |
sizif-helpers configure 0.2 |
|
1382 |
generated by GNU Autoconf 2.69 |
|
1383 |
|
|
1384 |
Copyright (C) 2012 Free Software Foundation, Inc. |
|
1385 |
This configure script is free software; the Free Software Foundation |
|
1386 |
gives unlimited permission to copy, distribute and modify it. |
|
1387 |
_ACEOF |
|
1388 |
exit |
|
1389 |
fi |
|
1390 |
|
|
1391 |
## ------------------------ ## |
|
1392 |
## Autoconf initialization. ## |
|
1393 |
## ------------------------ ## |
|
1394 |
|
|
1395 |
@%:@ ac_fn_c_try_compile LINENO |
|
1396 |
@%:@ -------------------------- |
|
1397 |
@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. |
|
1398 |
ac_fn_c_try_compile () |
|
1399 |
{ |
|
1400 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1401 |
rm -f conftest.$ac_objext |
|
1402 |
if { { ac_try="$ac_compile" |
|
1403 |
case "(($ac_try" in |
|
1404 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1405 |
*) ac_try_echo=$ac_try;; |
|
1406 |
esac |
|
1407 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1408 |
$as_echo "$ac_try_echo"; } >&5 |
|
1409 |
(eval "$ac_compile") 2>conftest.err |
|
1410 |
ac_status=$? |
|
1411 |
if test -s conftest.err; then |
|
1412 |
grep -v '^ *+' conftest.err >conftest.er1 |
|
1413 |
cat conftest.er1 >&5 |
|
1414 |
mv -f conftest.er1 conftest.err |
|
1415 |
fi |
|
1416 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1417 |
test $ac_status = 0; } && { |
|
1418 |
test -z "$ac_c_werror_flag" || |
|
1419 |
test ! -s conftest.err |
|
1420 |
} && test -s conftest.$ac_objext; then : |
|
1421 |
ac_retval=0 |
|
1422 |
else |
|
1423 |
$as_echo "$as_me: failed program was:" >&5 |
|
1424 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1425 |
|
|
1426 |
ac_retval=1 |
|
1427 |
fi |
|
1428 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1429 |
as_fn_set_status $ac_retval |
|
1430 |
|
|
1431 |
} @%:@ ac_fn_c_try_compile |
|
1432 |
|
|
1433 |
@%:@ ac_fn_c_try_cpp LINENO |
|
1434 |
@%:@ ---------------------- |
|
1435 |
@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded. |
|
1436 |
ac_fn_c_try_cpp () |
|
1437 |
{ |
|
1438 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1439 |
if { { ac_try="$ac_cpp conftest.$ac_ext" |
|
1440 |
case "(($ac_try" in |
|
1441 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1442 |
*) ac_try_echo=$ac_try;; |
|
1443 |
esac |
|
1444 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1445 |
$as_echo "$ac_try_echo"; } >&5 |
|
1446 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
|
1447 |
ac_status=$? |
|
1448 |
if test -s conftest.err; then |
|
1449 |
grep -v '^ *+' conftest.err >conftest.er1 |
|
1450 |
cat conftest.er1 >&5 |
|
1451 |
mv -f conftest.er1 conftest.err |
|
1452 |
fi |
|
1453 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1454 |
test $ac_status = 0; } > conftest.i && { |
|
1455 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
1456 |
test ! -s conftest.err |
|
1457 |
}; then : |
|
1458 |
ac_retval=0 |
|
1459 |
else |
|
1460 |
$as_echo "$as_me: failed program was:" >&5 |
|
1461 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1462 |
|
|
1463 |
ac_retval=1 |
|
1464 |
fi |
|
1465 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1466 |
as_fn_set_status $ac_retval |
|
1467 |
|
|
1468 |
} @%:@ ac_fn_c_try_cpp |
|
1469 |
|
|
1470 |
@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
|
1471 |
@%:@ ------------------------------------------------------- |
|
1472 |
@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using |
|
1473 |
@%:@ the include files in INCLUDES and setting the cache variable VAR |
|
1474 |
@%:@ accordingly. |
|
1475 |
ac_fn_c_check_header_mongrel () |
|
1476 |
{ |
|
1477 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1478 |
if eval \${$3+:} false; then : |
|
1479 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1480 |
$as_echo_n "checking for $2... " >&6; } |
|
1481 |
if eval \${$3+:} false; then : |
|
1482 |
$as_echo_n "(cached) " >&6 |
|
1483 |
fi |
|
1484 |
eval ac_res=\$$3 |
|
1485 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1486 |
$as_echo "$ac_res" >&6; } |
|
1487 |
else |
|
1488 |
# Is the header compilable? |
|
1489 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
|
1490 |
$as_echo_n "checking $2 usability... " >&6; } |
|
1491 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1492 |
/* end confdefs.h. */ |
|
1493 |
$4 |
|
1494 |
@%:@include <$2> |
|
1495 |
_ACEOF |
|
1496 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
1497 |
ac_header_compiler=yes |
|
1498 |
else |
|
1499 |
ac_header_compiler=no |
|
1500 |
fi |
|
1501 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1502 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
|
1503 |
$as_echo "$ac_header_compiler" >&6; } |
|
1504 |
|
|
1505 |
# Is the header present? |
|
1506 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
|
1507 |
$as_echo_n "checking $2 presence... " >&6; } |
|
1508 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1509 |
/* end confdefs.h. */ |
|
1510 |
@%:@include <$2> |
|
1511 |
_ACEOF |
|
1512 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
1513 |
ac_header_preproc=yes |
|
1514 |
else |
|
1515 |
ac_header_preproc=no |
|
1516 |
fi |
|
1517 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
1518 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
|
1519 |
$as_echo "$ac_header_preproc" >&6; } |
|
1520 |
|
|
1521 |
# So? What about this header? |
|
1522 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
|
1523 |
yes:no: ) |
|
1524 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
1525 |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
1526 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
1527 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
1528 |
;; |
|
1529 |
no:yes:* ) |
|
1530 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
|
1531 |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
|
1532 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
|
1533 |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
|
1534 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
|
1535 |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
|
1536 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
|
1537 |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
|
1538 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
1539 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
1540 |
( $as_echo "## ----------------------------------- ## |
|
1541 |
## Report this to samo.penic@gmail.com ## |
|
1542 |
## ----------------------------------- ##" |
|
1543 |
) | sed "s/^/$as_me: WARNING: /" >&2 |
|
1544 |
;; |
|
1545 |
esac |
|
1546 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1547 |
$as_echo_n "checking for $2... " >&6; } |
|
1548 |
if eval \${$3+:} false; then : |
|
1549 |
$as_echo_n "(cached) " >&6 |
|
1550 |
else |
|
1551 |
eval "$3=\$ac_header_compiler" |
|
1552 |
fi |
|
1553 |
eval ac_res=\$$3 |
|
1554 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1555 |
$as_echo "$ac_res" >&6; } |
|
1556 |
fi |
|
1557 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1558 |
|
|
1559 |
} @%:@ ac_fn_c_check_header_mongrel |
|
1560 |
|
|
1561 |
@%:@ ac_fn_c_try_run LINENO |
|
1562 |
@%:@ ---------------------- |
|
1563 |
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes |
|
1564 |
@%:@ that executables *can* be run. |
|
1565 |
ac_fn_c_try_run () |
|
1566 |
{ |
|
1567 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1568 |
if { { ac_try="$ac_link" |
|
1569 |
case "(($ac_try" in |
|
1570 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1571 |
*) ac_try_echo=$ac_try;; |
|
1572 |
esac |
|
1573 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1574 |
$as_echo "$ac_try_echo"; } >&5 |
|
1575 |
(eval "$ac_link") 2>&5 |
|
1576 |
ac_status=$? |
|
1577 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1578 |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
|
1579 |
{ { case "(($ac_try" in |
|
1580 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1581 |
*) ac_try_echo=$ac_try;; |
|
1582 |
esac |
|
1583 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1584 |
$as_echo "$ac_try_echo"; } >&5 |
|
1585 |
(eval "$ac_try") 2>&5 |
|
1586 |
ac_status=$? |
|
1587 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1588 |
test $ac_status = 0; }; }; then : |
|
1589 |
ac_retval=0 |
|
1590 |
else |
|
1591 |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
|
1592 |
$as_echo "$as_me: failed program was:" >&5 |
|
1593 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1594 |
|
|
1595 |
ac_retval=$ac_status |
|
1596 |
fi |
|
1597 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
1598 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1599 |
as_fn_set_status $ac_retval |
|
1600 |
|
|
1601 |
} @%:@ ac_fn_c_try_run |
|
1602 |
|
|
1603 |
@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
|
1604 |
@%:@ ------------------------------------------------------- |
|
1605 |
@%:@ Tests whether HEADER exists and can be compiled using the include files in |
|
1606 |
@%:@ INCLUDES, setting the cache variable VAR accordingly. |
|
1607 |
ac_fn_c_check_header_compile () |
|
1608 |
{ |
|
1609 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1610 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1611 |
$as_echo_n "checking for $2... " >&6; } |
|
1612 |
if eval \${$3+:} false; then : |
|
1613 |
$as_echo_n "(cached) " >&6 |
|
1614 |
else |
|
1615 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1616 |
/* end confdefs.h. */ |
|
1617 |
$4 |
|
1618 |
@%:@include <$2> |
|
1619 |
_ACEOF |
|
1620 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
1621 |
eval "$3=yes" |
|
1622 |
else |
|
1623 |
eval "$3=no" |
|
1624 |
fi |
|
1625 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1626 |
fi |
|
1627 |
eval ac_res=\$$3 |
|
1628 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1629 |
$as_echo "$ac_res" >&6; } |
|
1630 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1631 |
|
|
1632 |
} @%:@ ac_fn_c_check_header_compile |
|
1633 |
|
|
1634 |
@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
|
1635 |
@%:@ ------------------------------------------- |
|
1636 |
@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache |
|
1637 |
@%:@ variable VAR accordingly. |
|
1638 |
ac_fn_c_check_type () |
|
1639 |
{ |
|
1640 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1641 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1642 |
$as_echo_n "checking for $2... " >&6; } |
|
1643 |
if eval \${$3+:} false; then : |
|
1644 |
$as_echo_n "(cached) " >&6 |
|
1645 |
else |
|
1646 |
eval "$3=no" |
|
1647 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1648 |
/* end confdefs.h. */ |
|
1649 |
$4 |
|
1650 |
int |
|
1651 |
main () |
|
1652 |
{ |
|
1653 |
if (sizeof ($2)) |
|
1654 |
return 0; |
|
1655 |
; |
|
1656 |
return 0; |
|
1657 |
} |
|
1658 |
_ACEOF |
|
1659 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
1660 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1661 |
/* end confdefs.h. */ |
|
1662 |
$4 |
|
1663 |
int |
|
1664 |
main () |
|
1665 |
{ |
|
1666 |
if (sizeof (($2))) |
|
1667 |
return 0; |
|
1668 |
; |
|
1669 |
return 0; |
|
1670 |
} |
|
1671 |
_ACEOF |
|
1672 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
1673 |
|
|
1674 |
else |
|
1675 |
eval "$3=yes" |
|
1676 |
fi |
|
1677 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1678 |
fi |
|
1679 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1680 |
fi |
|
1681 |
eval ac_res=\$$3 |
|
1682 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1683 |
$as_echo "$ac_res" >&6; } |
|
1684 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1685 |
|
|
1686 |
} @%:@ ac_fn_c_check_type |
|
1687 |
|
|
1688 |
@%:@ ac_fn_c_try_link LINENO |
|
1689 |
@%:@ ----------------------- |
|
1690 |
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. |
|
1691 |
ac_fn_c_try_link () |
|
1692 |
{ |
|
1693 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1694 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1695 |
if { { ac_try="$ac_link" |
|
1696 |
case "(($ac_try" in |
|
1697 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1698 |
*) ac_try_echo=$ac_try;; |
|
1699 |
esac |
|
1700 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1701 |
$as_echo "$ac_try_echo"; } >&5 |
|
1702 |
(eval "$ac_link") 2>conftest.err |
|
1703 |
ac_status=$? |
|
1704 |
if test -s conftest.err; then |
|
1705 |
grep -v '^ *+' conftest.err >conftest.er1 |
|
1706 |
cat conftest.er1 >&5 |
|
1707 |
mv -f conftest.er1 conftest.err |
|
1708 |
fi |
|
1709 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1710 |
test $ac_status = 0; } && { |
|
1711 |
test -z "$ac_c_werror_flag" || |
|
1712 |
test ! -s conftest.err |
|
1713 |
} && test -s conftest$ac_exeext && { |
|
1714 |
test "$cross_compiling" = yes || |
|
1715 |
test -x conftest$ac_exeext |
|
1716 |
}; then : |
|
1717 |
ac_retval=0 |
|
1718 |
else |
|
1719 |
$as_echo "$as_me: failed program was:" >&5 |
|
1720 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1721 |
|
|
1722 |
ac_retval=1 |
|
1723 |
fi |
|
1724 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
|
1725 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
|
1726 |
# interfere with the next link command; also delete a directory that is |
|
1727 |
# left behind by Apple's compiler. We do this before executing the actions. |
|
1728 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
1729 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1730 |
as_fn_set_status $ac_retval |
|
1731 |
|
|
1732 |
} @%:@ ac_fn_c_try_link |
|
1733 |
cat >config.log <<_ACEOF |
|
1734 |
This file contains any messages produced by compilers while |
|
1735 |
running configure, to aid debugging if configure makes a mistake. |
|
1736 |
|
|
1737 |
It was created by sizif-helpers $as_me 0.2, which was |
|
1738 |
generated by GNU Autoconf 2.69. Invocation command line was |
|
1739 |
|
|
1740 |
$ $0 $@ |
|
1741 |
|
|
1742 |
_ACEOF |
|
1743 |
exec 5>>config.log |
|
1744 |
{ |
|
1745 |
cat <<_ASUNAME |
|
1746 |
## --------- ## |
|
1747 |
## Platform. ## |
|
1748 |
## --------- ## |
|
1749 |
|
|
1750 |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
1751 |
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
|
1752 |
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
|
1753 |
uname -s = `(uname -s) 2>/dev/null || echo unknown` |
|
1754 |
uname -v = `(uname -v) 2>/dev/null || echo unknown` |
|
1755 |
|
|
1756 |
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
|
1757 |
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
|
1758 |
|
|
1759 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
|
1760 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
|
1761 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
|
1762 |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
|
1763 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
|
1764 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
|
1765 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
|
1766 |
|
|
1767 |
_ASUNAME |
|
1768 |
|
|
1769 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1770 |
for as_dir in $PATH |
|
1771 |
do |
|
1772 |
IFS=$as_save_IFS |
|
1773 |
test -z "$as_dir" && as_dir=. |
|
1774 |
$as_echo "PATH: $as_dir" |
|
1775 |
done |
|
1776 |
IFS=$as_save_IFS |
|
1777 |
|
|
1778 |
} >&5 |
|
1779 |
|
|
1780 |
cat >&5 <<_ACEOF |
|
1781 |
|
|
1782 |
|
|
1783 |
## ----------- ## |
|
1784 |
## Core tests. ## |
|
1785 |
## ----------- ## |
|
1786 |
|
|
1787 |
_ACEOF |
|
1788 |
|
|
1789 |
|
|
1790 |
# Keep a trace of the command line. |
|
1791 |
# Strip out --no-create and --no-recursion so they do not pile up. |
|
1792 |
# Strip out --silent because we don't want to record it for future runs. |
|
1793 |
# Also quote any args containing shell meta-characters. |
|
1794 |
# Make two passes to allow for proper duplicate-argument suppression. |
|
1795 |
ac_configure_args= |
|
1796 |
ac_configure_args0= |
|
1797 |
ac_configure_args1= |
|
1798 |
ac_must_keep_next=false |
|
1799 |
for ac_pass in 1 2 |
|
1800 |
do |
|
1801 |
for ac_arg |
|
1802 |
do |
|
1803 |
case $ac_arg in |
|
1804 |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
|
1805 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
1806 |
| -silent | --silent | --silen | --sile | --sil) |
|
1807 |
continue ;; |
|
1808 |
*\'*) |
|
1809 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
1810 |
esac |
|
1811 |
case $ac_pass in |
|
1812 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
|
1813 |
2) |
|
1814 |
as_fn_append ac_configure_args1 " '$ac_arg'" |
|
1815 |
if test $ac_must_keep_next = true; then |
|
1816 |
ac_must_keep_next=false # Got value, back to normal. |
|
1817 |
else |
|
1818 |
case $ac_arg in |
|
1819 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
|
1820 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
|
1821 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
|
1822 |
| -with-* | --with-* | -without-* | --without-* | --x) |
|
1823 |
case "$ac_configure_args0 " in |
|
1824 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
|
1825 |
esac |
|
1826 |
;; |
|
1827 |
-* ) ac_must_keep_next=true ;; |
|
1828 |
esac |
|
1829 |
fi |
|
1830 |
as_fn_append ac_configure_args " '$ac_arg'" |
|
1831 |
;; |
|
1832 |
esac |
|
1833 |
done |
|
1834 |
done |
|
1835 |
{ ac_configure_args0=; unset ac_configure_args0;} |
|
1836 |
{ ac_configure_args1=; unset ac_configure_args1;} |
|
1837 |
|
|
1838 |
# When interrupted or exit'd, cleanup temporary files, and complete |
|
1839 |
# config.log. We remove comments because anyway the quotes in there |
|
1840 |
# would cause problems or look ugly. |
|
1841 |
# WARNING: Use '\'' to represent an apostrophe within the trap. |
|
1842 |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
|
1843 |
trap 'exit_status=$? |
|
1844 |
# Save into config.log some information that might help in debugging. |
|
1845 |
{ |
|
1846 |
echo |
|
1847 |
|
|
1848 |
$as_echo "## ---------------- ## |
|
1849 |
## Cache variables. ## |
|
1850 |
## ---------------- ##" |
|
1851 |
echo |
|
1852 |
# The following way of writing the cache mishandles newlines in values, |
|
1853 |
( |
|
1854 |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
|
1855 |
eval ac_val=\$$ac_var |
|
1856 |
case $ac_val in #( |
|
1857 |
*${as_nl}*) |
|
1858 |
case $ac_var in #( |
|
1859 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
|
1860 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
|
1861 |
esac |
|
1862 |
case $ac_var in #( |
|
1863 |
_ | IFS | as_nl) ;; #( |
|
1864 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
1865 |
*) { eval $ac_var=; unset $ac_var;} ;; |
|
1866 |
esac ;; |
|
1867 |
esac |
|
1868 |
done |
|
1869 |
(set) 2>&1 | |
|
1870 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
|
1871 |
*${as_nl}ac_space=\ *) |
|
1872 |
sed -n \ |
|
1873 |
"s/'\''/'\''\\\\'\'''\''/g; |
|
1874 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
|
1875 |
;; #( |
|
1876 |
*) |
|
1877 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
|
1878 |
;; |
|
1879 |
esac | |
|
1880 |
sort |
|
1881 |
) |
|
1882 |
echo |
|
1883 |
|
|
1884 |
$as_echo "## ----------------- ## |
|
1885 |
## Output variables. ## |
|
1886 |
## ----------------- ##" |
|
1887 |
echo |
|
1888 |
for ac_var in $ac_subst_vars |
|
1889 |
do |
|
1890 |
eval ac_val=\$$ac_var |
|
1891 |
case $ac_val in |
|
1892 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|
1893 |
esac |
|
1894 |
$as_echo "$ac_var='\''$ac_val'\''" |
|
1895 |
done | sort |
|
1896 |
echo |
|
1897 |
|
|
1898 |
if test -n "$ac_subst_files"; then |
|
1899 |
$as_echo "## ------------------- ## |
|
1900 |
## File substitutions. ## |
|
1901 |
## ------------------- ##" |
|
1902 |
echo |
|
1903 |
for ac_var in $ac_subst_files |
|
1904 |
do |
|
1905 |
eval ac_val=\$$ac_var |
|
1906 |
case $ac_val in |
|
1907 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|
1908 |
esac |
|
1909 |
$as_echo "$ac_var='\''$ac_val'\''" |
|
1910 |
done | sort |
|
1911 |
echo |
|
1912 |
fi |
|
1913 |
|
|
1914 |
if test -s confdefs.h; then |
|
1915 |
$as_echo "## ----------- ## |
|
1916 |
## confdefs.h. ## |
|
1917 |
## ----------- ##" |
|
1918 |
echo |
|
1919 |
cat confdefs.h |
|
1920 |
echo |
|
1921 |
fi |
|
1922 |
test "$ac_signal" != 0 && |
|
1923 |
$as_echo "$as_me: caught signal $ac_signal" |
|
1924 |
$as_echo "$as_me: exit $exit_status" |
|
1925 |
} >&5 |
|
1926 |
rm -f core *.core core.conftest.* && |
|
1927 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
|
1928 |
exit $exit_status |
|
1929 |
' 0 |
|
1930 |
for ac_signal in 1 2 13 15; do |
|
1931 |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
|
1932 |
done |
|
1933 |
ac_signal=0 |
|
1934 |
|
|
1935 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
|
1936 |
rm -f -r conftest* confdefs.h |
|
1937 |
|
|
1938 |
$as_echo "/* confdefs.h */" > confdefs.h |
|
1939 |
|
|
1940 |
# Predefined preprocessor variables. |
|
1941 |
|
|
1942 |
cat >>confdefs.h <<_ACEOF |
|
1943 |
@%:@define PACKAGE_NAME "$PACKAGE_NAME" |
|
1944 |
_ACEOF |
|
1945 |
|
|
1946 |
cat >>confdefs.h <<_ACEOF |
|
1947 |
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
|
1948 |
_ACEOF |
|
1949 |
|
|
1950 |
cat >>confdefs.h <<_ACEOF |
|
1951 |
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" |
|
1952 |
_ACEOF |
|
1953 |
|
|
1954 |
cat >>confdefs.h <<_ACEOF |
|
1955 |
@%:@define PACKAGE_STRING "$PACKAGE_STRING" |
|
1956 |
_ACEOF |
|
1957 |
|
|
1958 |
cat >>confdefs.h <<_ACEOF |
|
1959 |
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
|
1960 |
_ACEOF |
|
1961 |
|
|
1962 |
cat >>confdefs.h <<_ACEOF |
|
1963 |
@%:@define PACKAGE_URL "$PACKAGE_URL" |
|
1964 |
_ACEOF |
|
1965 |
|
|
1966 |
|
|
1967 |
# Let the site file select an alternate cache file if it wants to. |
|
1968 |
# Prefer an explicitly selected file to automatically selected ones. |
|
1969 |
ac_site_file1=NONE |
|
1970 |
ac_site_file2=NONE |
|
1971 |
if test -n "$CONFIG_SITE"; then |
|
1972 |
# We do not want a PATH search for config.site. |
|
1973 |
case $CONFIG_SITE in @%:@(( |
|
1974 |
-*) ac_site_file1=./$CONFIG_SITE;; |
|
1975 |
*/*) ac_site_file1=$CONFIG_SITE;; |
|
1976 |
*) ac_site_file1=./$CONFIG_SITE;; |
|
1977 |
esac |
|
1978 |
elif test "x$prefix" != xNONE; then |
|
1979 |
ac_site_file1=$prefix/share/config.site |
|
1980 |
ac_site_file2=$prefix/etc/config.site |
|
1981 |
else |
|
1982 |
ac_site_file1=$ac_default_prefix/share/config.site |
|
1983 |
ac_site_file2=$ac_default_prefix/etc/config.site |
|
1984 |
fi |
|
1985 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
|
1986 |
do |
|
1987 |
test "x$ac_site_file" = xNONE && continue |
|
1988 |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
|
1989 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
|
1990 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
|
1991 |
sed 's/^/| /' "$ac_site_file" >&5 |
|
1992 |
. "$ac_site_file" \ |
|
1993 |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
1994 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
1995 |
as_fn_error $? "failed to load site script $ac_site_file |
|
1996 |
See \`config.log' for more details" "$LINENO" 5; } |
|
1997 |
fi |
|
1998 |
done |
|
1999 |
|
|
2000 |
if test -r "$cache_file"; then |
|
2001 |
# Some versions of bash will fail to source /dev/null (special files |
|
2002 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file. |
|
2003 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
|
2004 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
|
2005 |
$as_echo "$as_me: loading cache $cache_file" >&6;} |
|
2006 |
case $cache_file in |
|
2007 |
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
|
2008 |
*) . "./$cache_file";; |
|
2009 |
esac |
|
2010 |
fi |
|
2011 |
else |
|
2012 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
|
2013 |
$as_echo "$as_me: creating cache $cache_file" >&6;} |
|
2014 |
>$cache_file |
|
2015 |
fi |
|
2016 |
|
|
2017 |
# Check that the precious variables saved in the cache have kept the same |
|
2018 |
# value. |
|
2019 |
ac_cache_corrupted=false |
|
2020 |
for ac_var in $ac_precious_vars; do |
|
2021 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
|
2022 |
eval ac_new_set=\$ac_env_${ac_var}_set |
|
2023 |
eval ac_old_val=\$ac_cv_env_${ac_var}_value |
|
2024 |
eval ac_new_val=\$ac_env_${ac_var}_value |
|
2025 |
case $ac_old_set,$ac_new_set in |
|
2026 |
set,) |
|
2027 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
|
2028 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
|
2029 |
ac_cache_corrupted=: ;; |
|
2030 |
,set) |
|
2031 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
|
2032 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
|
2033 |
ac_cache_corrupted=: ;; |
|
2034 |
,);; |
|
2035 |
*) |
|
2036 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
|
2037 |
# differences in whitespace do not lead to failure. |
|
2038 |
ac_old_val_w=`echo x $ac_old_val` |
|
2039 |
ac_new_val_w=`echo x $ac_new_val` |
|
2040 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then |
|
2041 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
|
2042 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
|
2043 |
ac_cache_corrupted=: |
|
2044 |
else |
|
2045 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
|
2046 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
|
2047 |
eval $ac_var=\$ac_old_val |
|
2048 |
fi |
|
2049 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
|
2050 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
|
2051 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
|
2052 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
|
2053 |
fi;; |
|
2054 |
esac |
|
2055 |
# Pass precious variables to config.status. |
|
2056 |
if test "$ac_new_set" = set; then |
|
2057 |
case $ac_new_val in |
|
2058 |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
2059 |
*) ac_arg=$ac_var=$ac_new_val ;; |
|
2060 |
esac |
|
2061 |
case " $ac_configure_args " in |
|
2062 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
|
2063 |
*) as_fn_append ac_configure_args " '$ac_arg'" ;; |
|
2064 |
esac |
|
2065 |
fi |
|
2066 |
done |
|
2067 |
if $ac_cache_corrupted; then |
|
2068 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
2069 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2070 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
|
2071 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
|
2072 |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
|
2073 |
fi |
|
2074 |
## -------------------- ## |
|
2075 |
## Main body of script. ## |
|
2076 |
## -------------------- ## |
|
2077 |
|
|
2078 |
ac_ext=c |
|
2079 |
ac_cpp='$CPP $CPPFLAGS' |
|
2080 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
2081 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2082 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
2083 |
|
|
2084 |
|
|
2085 |
AM_INIT_AUTOMAKE |
|
2086 |
|
|
2087 |
ac_config_headers="$ac_config_headers config.h" |
|
2088 |
|
|
2089 |
# Checks for programs. |
|
2090 |
ac_ext=c |
|
2091 |
ac_cpp='$CPP $CPPFLAGS' |
|
2092 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
2093 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2094 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
2095 |
if test -n "$ac_tool_prefix"; then |
|
2096 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
|
2097 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|
2098 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2099 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
2100 |
if ${ac_cv_prog_CC+:} false; then : |
|
2101 |
$as_echo_n "(cached) " >&6 |
|
2102 |
else |
|
2103 |
if test -n "$CC"; then |
|
2104 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2105 |
else |
|
2106 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2107 |
for as_dir in $PATH |
|
2108 |
do |
|
2109 |
IFS=$as_save_IFS |
|
2110 |
test -z "$as_dir" && as_dir=. |
|
2111 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2112 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2113 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
|
2114 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2115 |
break 2 |
|
2116 |
fi |
|
2117 |
done |
|
2118 |
done |
|
2119 |
IFS=$as_save_IFS |
|
2120 |
|
|
2121 |
fi |
|
2122 |
fi |
|
2123 |
CC=$ac_cv_prog_CC |
|
2124 |
if test -n "$CC"; then |
|
2125 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
2126 |
$as_echo "$CC" >&6; } |
|
2127 |
else |
|
2128 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2129 |
$as_echo "no" >&6; } |
|
2130 |
fi |
|
2131 |
|
|
2132 |
|
|
2133 |
fi |
|
2134 |
if test -z "$ac_cv_prog_CC"; then |
|
2135 |
ac_ct_CC=$CC |
|
2136 |
# Extract the first word of "gcc", so it can be a program name with args. |
|
2137 |
set dummy gcc; ac_word=$2 |
|
2138 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2139 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
2140 |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
|
2141 |
$as_echo_n "(cached) " >&6 |
|
2142 |
else |
|
2143 |
if test -n "$ac_ct_CC"; then |
|
2144 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
2145 |
else |
|
2146 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2147 |
for as_dir in $PATH |
|
2148 |
do |
|
2149 |
IFS=$as_save_IFS |
|
2150 |
test -z "$as_dir" && as_dir=. |
|
2151 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2152 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2153 |
ac_cv_prog_ac_ct_CC="gcc" |
|
2154 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2155 |
break 2 |
|
2156 |
fi |
|
2157 |
done |
|
2158 |
done |
|
2159 |
IFS=$as_save_IFS |
|
2160 |
|
|
2161 |
fi |
|
2162 |
fi |
|
2163 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
2164 |
if test -n "$ac_ct_CC"; then |
|
2165 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
2166 |
$as_echo "$ac_ct_CC" >&6; } |
|
2167 |
else |
|
2168 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2169 |
$as_echo "no" >&6; } |
|
2170 |
fi |
|
2171 |
|
|
2172 |
if test "x$ac_ct_CC" = x; then |
|
2173 |
CC="" |
|
2174 |
else |
|
2175 |
case $cross_compiling:$ac_tool_warned in |
|
2176 |
yes:) |
|
2177 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
2178 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
2179 |
ac_tool_warned=yes ;; |
|
2180 |
esac |
|
2181 |
CC=$ac_ct_CC |
|
2182 |
fi |
|
2183 |
else |
|
2184 |
CC="$ac_cv_prog_CC" |
|
2185 |
fi |
|
2186 |
|
|
2187 |
if test -z "$CC"; then |
|
2188 |
if test -n "$ac_tool_prefix"; then |
|
2189 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
|
2190 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
|
2191 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2192 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
2193 |
if ${ac_cv_prog_CC+:} false; then : |
|
2194 |
$as_echo_n "(cached) " >&6 |
|
2195 |
else |
|
2196 |
if test -n "$CC"; then |
|
2197 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2198 |
else |
|
2199 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2200 |
for as_dir in $PATH |
|
2201 |
do |
|
2202 |
IFS=$as_save_IFS |
|
2203 |
test -z "$as_dir" && as_dir=. |
|
2204 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2205 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2206 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
|
2207 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2208 |
break 2 |
|
2209 |
fi |
|
2210 |
done |
|
2211 |
done |
|
2212 |
IFS=$as_save_IFS |
|
2213 |
|
|
2214 |
fi |
|
2215 |
fi |
|
2216 |
CC=$ac_cv_prog_CC |
|
2217 |
if test -n "$CC"; then |
|
2218 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
2219 |
$as_echo "$CC" >&6; } |
|
2220 |
else |
|
2221 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2222 |
$as_echo "no" >&6; } |
|
2223 |
fi |
|
2224 |
|
|
2225 |
|
|
2226 |
fi |
|
2227 |
fi |
|
2228 |
if test -z "$CC"; then |
|
2229 |
# Extract the first word of "cc", so it can be a program name with args. |
|
2230 |
set dummy cc; ac_word=$2 |
|
2231 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2232 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
2233 |
if ${ac_cv_prog_CC+:} false; then : |
|
2234 |
$as_echo_n "(cached) " >&6 |
|
2235 |
else |
|
2236 |
if test -n "$CC"; then |
|
2237 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2238 |
else |
|
2239 |
ac_prog_rejected=no |
|
2240 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2241 |
for as_dir in $PATH |
|
2242 |
do |
|
2243 |
IFS=$as_save_IFS |
|
2244 |
test -z "$as_dir" && as_dir=. |
|
2245 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2246 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2247 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
|
2248 |
ac_prog_rejected=yes |
|
2249 |
continue |
|
2250 |
fi |
|
2251 |
ac_cv_prog_CC="cc" |
|
2252 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2253 |
break 2 |
|
2254 |
fi |
|
2255 |
done |
|
2256 |
done |
|
2257 |
IFS=$as_save_IFS |
|
2258 |
|
|
2259 |
if test $ac_prog_rejected = yes; then |
|
2260 |
# We found a bogon in the path, so make sure we never use it. |
|
2261 |
set dummy $ac_cv_prog_CC |
|
2262 |
shift |
|
2263 |
if test $@%:@ != 0; then |
|
2264 |
# We chose a different compiler from the bogus one. |
|
2265 |
# However, it has the same basename, so the bogon will be chosen |
|
2266 |
# first if we set CC to just the basename; use the full file name. |
|
2267 |
shift |
|
2268 |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
2269 |
fi |
|
2270 |
fi |
|
2271 |
fi |
|
2272 |
fi |
|
2273 |
CC=$ac_cv_prog_CC |
|
2274 |
if test -n "$CC"; then |
|
2275 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
2276 |
$as_echo "$CC" >&6; } |
|
2277 |
else |
|
2278 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2279 |
$as_echo "no" >&6; } |
|
2280 |
fi |
|
2281 |
|
|
2282 |
|
|
2283 |
fi |
|
2284 |
if test -z "$CC"; then |
|
2285 |
if test -n "$ac_tool_prefix"; then |
|
2286 |
for ac_prog in cl.exe |
|
2287 |
do |
|
2288 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
2289 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
2290 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2291 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
2292 |
if ${ac_cv_prog_CC+:} false; then : |
|
2293 |
$as_echo_n "(cached) " >&6 |
|
2294 |
else |
|
2295 |
if test -n "$CC"; then |
|
2296 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2297 |
else |
|
2298 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2299 |
for as_dir in $PATH |
|
2300 |
do |
|
2301 |
IFS=$as_save_IFS |
|
2302 |
test -z "$as_dir" && as_dir=. |
|
2303 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2304 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2305 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
|
2306 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2307 |
break 2 |
|
2308 |
fi |
|
2309 |
done |
|
2310 |
done |
|
2311 |
IFS=$as_save_IFS |
|
2312 |
|
|
2313 |
fi |
|
2314 |
fi |
|
2315 |
CC=$ac_cv_prog_CC |
|
2316 |
if test -n "$CC"; then |
|
2317 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
2318 |
$as_echo "$CC" >&6; } |
|
2319 |
else |
|
2320 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2321 |
$as_echo "no" >&6; } |
|
2322 |
fi |
|
2323 |
|
|
2324 |
|
|
2325 |
test -n "$CC" && break |
|
2326 |
done |
|
2327 |
fi |
|
2328 |
if test -z "$CC"; then |
|
2329 |
ac_ct_CC=$CC |
|
2330 |
for ac_prog in cl.exe |
|
2331 |
do |
|
2332 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
2333 |
set dummy $ac_prog; ac_word=$2 |
|
2334 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2335 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
2336 |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
|
2337 |
$as_echo_n "(cached) " >&6 |
|
2338 |
else |
|
2339 |
if test -n "$ac_ct_CC"; then |
|
2340 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
2341 |
else |
|
2342 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2343 |
for as_dir in $PATH |
|
2344 |
do |
|
2345 |
IFS=$as_save_IFS |
|
2346 |
test -z "$as_dir" && as_dir=. |
|
2347 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2348 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2349 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
|
2350 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2351 |
break 2 |
|
2352 |
fi |
|
2353 |
done |
|
2354 |
done |
|
2355 |
IFS=$as_save_IFS |
|
2356 |
|
|
2357 |
fi |
|
2358 |
fi |
|
2359 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
2360 |
if test -n "$ac_ct_CC"; then |
|
2361 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
2362 |
$as_echo "$ac_ct_CC" >&6; } |
|
2363 |
else |
|
2364 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2365 |
$as_echo "no" >&6; } |
|
2366 |
fi |
|
2367 |
|
|
2368 |
|
|
2369 |
test -n "$ac_ct_CC" && break |
|
2370 |
done |
|
2371 |
|
|
2372 |
if test "x$ac_ct_CC" = x; then |
|
2373 |
CC="" |
|
2374 |
else |
|
2375 |
case $cross_compiling:$ac_tool_warned in |
|
2376 |
yes:) |
|
2377 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
2378 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
2379 |
ac_tool_warned=yes ;; |
|
2380 |
esac |
|
2381 |
CC=$ac_ct_CC |
|
2382 |
fi |
|
2383 |
fi |
|
2384 |
|
|
2385 |
fi |
|
2386 |
|
|
2387 |
|
|
2388 |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
2389 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2390 |
as_fn_error $? "no acceptable C compiler found in \$PATH |
|
2391 |
See \`config.log' for more details" "$LINENO" 5; } |
|
2392 |
|
|
2393 |
# Provide some information about the compiler. |
|
2394 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
|
2395 |
set X $ac_compile |
|
2396 |
ac_compiler=$2 |
|
2397 |
for ac_option in --version -v -V -qversion; do |
|
2398 |
{ { ac_try="$ac_compiler $ac_option >&5" |
|
2399 |
case "(($ac_try" in |
|
2400 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
2401 |
*) ac_try_echo=$ac_try;; |
|
2402 |
esac |
|
2403 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
2404 |
$as_echo "$ac_try_echo"; } >&5 |
|
2405 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err |
|
2406 |
ac_status=$? |
|
2407 |
if test -s conftest.err; then |
|
2408 |
sed '10a\ |
|
2409 |
... rest of stderr output deleted ... |
|
2410 |
10q' conftest.err >conftest.er1 |
|
2411 |
cat conftest.er1 >&5 |
|
2412 |
fi |
|
2413 |
rm -f conftest.er1 conftest.err |
|
2414 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
2415 |
test $ac_status = 0; } |
|
2416 |
done |
|
2417 |
|
|
2418 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
2419 |
/* end confdefs.h. */ |
|
2420 |
|
|
2421 |
int |
|
2422 |
main () |
|
2423 |
{ |
|
2424 |
|
|
2425 |
; |
|
2426 |
return 0; |
|
2427 |
} |
|
2428 |
_ACEOF |
|
2429 |
ac_clean_files_save=$ac_clean_files |
|
2430 |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
|
2431 |
# Try to create an executable without -o first, disregard a.out. |
|
2432 |
# It will help us diagnose broken compilers, and finding out an intuition |
|
2433 |
# of exeext. |
|
2434 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
|
2435 |
$as_echo_n "checking whether the C compiler works... " >&6; } |
|
2436 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
|
2437 |
|
|
2438 |
# The possible output files: |
|
2439 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
|
2440 |
|
|
2441 |
ac_rmfiles= |
|
2442 |
for ac_file in $ac_files |
|
2443 |
do |
|
2444 |
case $ac_file in |
|
2445 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
|
2446 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
|
2447 |
esac |
|
2448 |
done |
|
2449 |
rm -f $ac_rmfiles |
|
2450 |
|
|
2451 |
if { { ac_try="$ac_link_default" |
|
2452 |
case "(($ac_try" in |
|
2453 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
2454 |
*) ac_try_echo=$ac_try;; |
|
2455 |
esac |
|
2456 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
2457 |
$as_echo "$ac_try_echo"; } >&5 |
|
2458 |
(eval "$ac_link_default") 2>&5 |
|
2459 |
ac_status=$? |
|
2460 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
2461 |
test $ac_status = 0; }; then : |
|
2462 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
|
2463 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
|
2464 |
# in a Makefile. We should not override ac_cv_exeext if it was cached, |
|
2465 |
# so that the user can short-circuit this test for compilers unknown to |
|
2466 |
# Autoconf. |
|
2467 |
for ac_file in $ac_files '' |
|
2468 |
do |
|
2469 |
test -f "$ac_file" || continue |
|
2470 |
case $ac_file in |
|
2471 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
|
2472 |
;; |
|
2473 |
[ab].out ) |
|
2474 |
# We found the default executable, but exeext='' is most |
|
2475 |
# certainly right. |
|
2476 |
break;; |
|
2477 |
*.* ) |
|
2478 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
|
2479 |
then :; else |
|
2480 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
2481 |
fi |
|
2482 |
# We set ac_cv_exeext here because the later test for it is not |
|
2483 |
# safe: cross compilers may not add the suffix if given an `-o' |
|
2484 |
# argument, so we may need to know it at that point already. |
|
2485 |
# Even if this section looks crufty: it has the advantage of |
|
2486 |
# actually working. |
|
2487 |
break;; |
|
2488 |
* ) |
|
2489 |
break;; |
|
2490 |
esac |
|
2491 |
done |
|
2492 |
test "$ac_cv_exeext" = no && ac_cv_exeext= |
|
2493 |
|
|
2494 |
else |
|
2495 |
ac_file='' |
|
2496 |
fi |
|
2497 |
if test -z "$ac_file"; then : |
|
2498 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2499 |
$as_echo "no" >&6; } |
|
2500 |
$as_echo "$as_me: failed program was:" >&5 |
|
2501 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
2502 |
|
|
2503 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
2504 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2505 |
as_fn_error 77 "C compiler cannot create executables |
|
2506 |
See \`config.log' for more details" "$LINENO" 5; } |
|
2507 |
else |
|
2508 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
2509 |
$as_echo "yes" >&6; } |
|
2510 |
fi |
|
2511 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
|
2512 |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
|
2513 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
|
2514 |
$as_echo "$ac_file" >&6; } |
|
2515 |
ac_exeext=$ac_cv_exeext |
|
2516 |
|
|
2517 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
|
2518 |
ac_clean_files=$ac_clean_files_save |
|
2519 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
|
2520 |
$as_echo_n "checking for suffix of executables... " >&6; } |
|
2521 |
if { { ac_try="$ac_link" |
|
2522 |
case "(($ac_try" in |
|
2523 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
2524 |
*) ac_try_echo=$ac_try;; |
|
2525 |
esac |
|
2526 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
2527 |
$as_echo "$ac_try_echo"; } >&5 |
|
2528 |
(eval "$ac_link") 2>&5 |
|
2529 |
ac_status=$? |
|
2530 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
2531 |
test $ac_status = 0; }; then : |
|
2532 |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
|
2533 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
|
2534 |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
|
2535 |
# `rm'. |
|
2536 |
for ac_file in conftest.exe conftest conftest.*; do |
|
2537 |
test -f "$ac_file" || continue |
|
2538 |
case $ac_file in |
|
2539 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
|
2540 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
2541 |
break;; |
|
2542 |
* ) break;; |
|
2543 |
esac |
|
2544 |
done |
|
2545 |
else |
|
2546 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
2547 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2548 |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
|
2549 |
See \`config.log' for more details" "$LINENO" 5; } |
|
2550 |
fi |
|
2551 |
rm -f conftest conftest$ac_cv_exeext |
|
2552 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
|
2553 |
$as_echo "$ac_cv_exeext" >&6; } |
|
2554 |
|
|
2555 |
rm -f conftest.$ac_ext |
|
2556 |
EXEEXT=$ac_cv_exeext |
|
2557 |
ac_exeext=$EXEEXT |
|
2558 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
2559 |
/* end confdefs.h. */ |
|
2560 |
@%:@include <stdio.h> |
|
2561 |
int |
|
2562 |
main () |
|
2563 |
{ |
|
2564 |
FILE *f = fopen ("conftest.out", "w"); |
|
2565 |
return ferror (f) || fclose (f) != 0; |
|
2566 |
|
|
2567 |
; |
|
2568 |
return 0; |
|
2569 |
} |
|
2570 |
_ACEOF |
|
2571 |
ac_clean_files="$ac_clean_files conftest.out" |
|
2572 |
# Check that the compiler produces executables we can run. If not, either |
|
2573 |
# the compiler is broken, or we cross compile. |
|
2574 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
|
2575 |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
|
2576 |
if test "$cross_compiling" != yes; then |
|
2577 |
{ { ac_try="$ac_link" |
|
2578 |
case "(($ac_try" in |
|
2579 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
2580 |
*) ac_try_echo=$ac_try;; |
|
2581 |
esac |
|
2582 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
2583 |
$as_echo "$ac_try_echo"; } >&5 |
|
2584 |
(eval "$ac_link") 2>&5 |
|
2585 |
ac_status=$? |
|
2586 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
2587 |
test $ac_status = 0; } |
|
2588 |
if { ac_try='./conftest$ac_cv_exeext' |
|
2589 |
{ { case "(($ac_try" in |
|
2590 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
2591 |
*) ac_try_echo=$ac_try;; |
|
2592 |
esac |
|
2593 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
2594 |
$as_echo "$ac_try_echo"; } >&5 |
|
2595 |
(eval "$ac_try") 2>&5 |
|
2596 |
ac_status=$? |
|
2597 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
2598 |
test $ac_status = 0; }; }; then |
|
2599 |
cross_compiling=no |
|
2600 |
else |
|
2601 |
if test "$cross_compiling" = maybe; then |
|
2602 |
cross_compiling=yes |
|
2603 |
else |
|
2604 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
2605 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2606 |
as_fn_error $? "cannot run C compiled programs. |
|
2607 |
If you meant to cross compile, use \`--host'. |
|
2608 |
See \`config.log' for more details" "$LINENO" 5; } |
|
2609 |
fi |
|
2610 |
fi |
|
2611 |
fi |
|
2612 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
|
2613 |
$as_echo "$cross_compiling" >&6; } |
|
2614 |
|
|
2615 |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
|
2616 |
ac_clean_files=$ac_clean_files_save |
|
2617 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
|
2618 |
$as_echo_n "checking for suffix of object files... " >&6; } |
|
2619 |
if ${ac_cv_objext+:} false; then : |
|
2620 |
$as_echo_n "(cached) " >&6 |
|
2621 |
else |
|
2622 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
2623 |
/* end confdefs.h. */ |
|
2624 |
|
|
2625 |
int |
|
2626 |
main () |
|
2627 |
{ |
|
2628 |
|
|
2629 |
; |
|
2630 |
return 0; |
|
2631 |
} |
|
2632 |
_ACEOF |
|
2633 |
rm -f conftest.o conftest.obj |
|
2634 |
if { { ac_try="$ac_compile" |
|
2635 |
case "(($ac_try" in |
|
2636 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
2637 |
*) ac_try_echo=$ac_try;; |
|
2638 |
esac |
|
2639 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
2640 |
$as_echo "$ac_try_echo"; } >&5 |
|
2641 |
(eval "$ac_compile") 2>&5 |
|
2642 |
ac_status=$? |
|
2643 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
2644 |
test $ac_status = 0; }; then : |
|
2645 |
for ac_file in conftest.o conftest.obj conftest.*; do |
|
2646 |
test -f "$ac_file" || continue; |
|
2647 |
case $ac_file in |
|
2648 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
|
2649 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
|
2650 |
break;; |
|
2651 |
esac |
|
2652 |
done |
|
2653 |
else |
|
2654 |
$as_echo "$as_me: failed program was:" >&5 |
|
2655 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
2656 |
|
|
2657 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
2658 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2659 |
as_fn_error $? "cannot compute suffix of object files: cannot compile |
|
2660 |
See \`config.log' for more details" "$LINENO" 5; } |
|
2661 |
fi |
|
2662 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
|
2663 |
fi |
|
2664 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
|
2665 |
$as_echo "$ac_cv_objext" >&6; } |
|
2666 |
OBJEXT=$ac_cv_objext |
|
2667 |
ac_objext=$OBJEXT |
|
2668 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
|
2669 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
|
2670 |
if ${ac_cv_c_compiler_gnu+:} false; then : |
|
2671 |
$as_echo_n "(cached) " >&6 |
|
2672 |
else |
|
2673 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
2674 |
/* end confdefs.h. */ |
|
2675 |
|
|
2676 |
int |
|
2677 |
main () |
|
2678 |
{ |
|
2679 |
#ifndef __GNUC__ |
|
2680 |
choke me |
|
2681 |
#endif |
|
2682 |
|
|
2683 |
; |
|
2684 |
return 0; |
|
2685 |
} |
|
2686 |
_ACEOF |
|
2687 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
2688 |
ac_compiler_gnu=yes |
|
2689 |
else |
|
2690 |
ac_compiler_gnu=no |
|
2691 |
fi |
|
2692 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
2693 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|
2694 |
|
|
2695 |
fi |
|
2696 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
|
2697 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
|
2698 |
if test $ac_compiler_gnu = yes; then |
|
2699 |
GCC=yes |
|
2700 |
else |
|
2701 |
GCC= |
|
2702 |
fi |
|
2703 |
ac_test_CFLAGS=${CFLAGS+set} |
|
2704 |
ac_save_CFLAGS=$CFLAGS |
|
2705 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
|
2706 |
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
|
2707 |
if ${ac_cv_prog_cc_g+:} false; then : |
|
2708 |
$as_echo_n "(cached) " >&6 |
|
2709 |
else |
|
2710 |
ac_save_c_werror_flag=$ac_c_werror_flag |
|
2711 |
ac_c_werror_flag=yes |
|
2712 |
ac_cv_prog_cc_g=no |
|
2713 |
CFLAGS="-g" |
|
2714 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
2715 |
/* end confdefs.h. */ |
|
2716 |
|
|
2717 |
int |
|
2718 |
main () |
|
2719 |
{ |
|
2720 |
|
|
2721 |
; |
|
2722 |
return 0; |
|
2723 |
} |
|
2724 |
_ACEOF |
|
2725 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
2726 |
ac_cv_prog_cc_g=yes |
|
2727 |
else |
|
2728 |
CFLAGS="" |
|
2729 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
2730 |
/* end confdefs.h. */ |
|
2731 |
|
|
2732 |
int |
|
2733 |
main () |
|
2734 |
{ |
|
2735 |
|
|
2736 |
; |
|
2737 |
return 0; |
|
2738 |
} |
|
2739 |
_ACEOF |
|
2740 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
2741 |
|
|
2742 |
else |
|
2743 |
ac_c_werror_flag=$ac_save_c_werror_flag |
|
2744 |
CFLAGS="-g" |
|
2745 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
2746 |
/* end confdefs.h. */ |
|
2747 |
|
|
2748 |
int |
|
2749 |
main () |
|
2750 |
{ |
|
2751 |
|
|
2752 |
; |
|
2753 |
return 0; |
|
2754 |
} |
|
2755 |
_ACEOF |
|
2756 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
2757 |
ac_cv_prog_cc_g=yes |
|
2758 |
fi |
|
2759 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
2760 |
fi |
|
2761 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
2762 |
fi |
|
2763 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
2764 |
ac_c_werror_flag=$ac_save_c_werror_flag |
|
2765 |
fi |
|
2766 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
|
2767 |
$as_echo "$ac_cv_prog_cc_g" >&6; } |
|
2768 |
if test "$ac_test_CFLAGS" = set; then |
|
2769 |
CFLAGS=$ac_save_CFLAGS |
|
2770 |
elif test $ac_cv_prog_cc_g = yes; then |
|
2771 |
if test "$GCC" = yes; then |
|
2772 |
CFLAGS="-g -O2" |
|
2773 |
else |
|
2774 |
CFLAGS="-g" |
|
2775 |
fi |
|
2776 |
else |
|
2777 |
if test "$GCC" = yes; then |
|
2778 |
CFLAGS="-O2" |
|
2779 |
else |
|
2780 |
CFLAGS= |
|
2781 |
fi |
|
2782 |
fi |
|
2783 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
|
2784 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
|
2785 |
if ${ac_cv_prog_cc_c89+:} false; then : |
|
2786 |
$as_echo_n "(cached) " >&6 |
|
2787 |
else |
|
2788 |
ac_cv_prog_cc_c89=no |
|
2789 |
ac_save_CC=$CC |
|
2790 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
2791 |
/* end confdefs.h. */ |
|
2792 |
#include <stdarg.h> |
|
2793 |
#include <stdio.h> |
|
2794 |
struct stat; |
|
2795 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|
2796 |
struct buf { int x; }; |
|
2797 |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
2798 |
static char *e (p, i) |
|
2799 |
char **p; |
|
2800 |
int i; |
|
2801 |
{ |
|
2802 |
return p[i]; |
|
2803 |
} |
|
2804 |
static char *f (char * (*g) (char **, int), char **p, ...) |
|
2805 |
{ |
|
2806 |
char *s; |
|
2807 |
va_list v; |
|
2808 |
va_start (v,p); |
|
2809 |
s = g (p, va_arg (v,int)); |
|
2810 |
va_end (v); |
|
2811 |
return s; |
|
2812 |
} |
|
2813 |
|
|
2814 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
2815 |
function prototypes and stuff, but not '\xHH' hex character constants. |
|
2816 |
These don't provoke an error unfortunately, instead are silently treated |
|
2817 |
as 'x'. The following induces an error, until -std is added to get |
|
2818 |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
|
2819 |
array size at least. It's necessary to write '\x00'==0 to get something |
|
2820 |
that's true only with -std. */ |
|
2821 |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
2822 |
|
|
2823 |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
|
2824 |
inside strings and character constants. */ |
|
2825 |
#define FOO(x) 'x' |
|
2826 |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
|
2827 |
|
|
2828 |
int test (int i, double x); |
|
2829 |
struct s1 {int (*f) (int a);}; |
|
2830 |
struct s2 {int (*f) (double a);}; |
|
2831 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|
2832 |
int argc; |
|
2833 |
char **argv; |
|
2834 |
int |
|
2835 |
main () |
|
2836 |
{ |
|
2837 |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|
2838 |
; |
|
2839 |
return 0; |
|
2840 |
} |
|
2841 |
_ACEOF |
|
2842 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
|
2843 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
2844 |
do |
|
2845 |
CC="$ac_save_CC $ac_arg" |
|
2846 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
2847 |
ac_cv_prog_cc_c89=$ac_arg |
|
2848 |
fi |
|
2849 |
rm -f core conftest.err conftest.$ac_objext |
|
2850 |
test "x$ac_cv_prog_cc_c89" != "xno" && break |
|
2851 |
done |
|
2852 |
rm -f conftest.$ac_ext |
|
2853 |
CC=$ac_save_CC |
|
2854 |
|
|
2855 |
fi |
|
2856 |
# AC_CACHE_VAL |
|
2857 |
case "x$ac_cv_prog_cc_c89" in |
|
2858 |
x) |
|
2859 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
|
2860 |
$as_echo "none needed" >&6; } ;; |
|
2861 |
xno) |
|
2862 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
|
2863 |
$as_echo "unsupported" >&6; } ;; |
|
2864 |
*) |
|
2865 |
CC="$CC $ac_cv_prog_cc_c89" |
|
2866 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
|
2867 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
|
2868 |
esac |
|
2869 |
if test "x$ac_cv_prog_cc_c89" != xno; then : |
|
2870 |
|
|
2871 |
fi |
|
2872 |
|
|
2873 |
ac_ext=c |
|
2874 |
ac_cpp='$CPP $CPPFLAGS' |
|
2875 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
2876 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2877 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
2878 |
|
|
2879 |
#AC_LANG([C]) |
|
2880 |
LT_INIT |
|
2881 |
AC_PROG_LIBTOOL |
|
2882 |
#AM_GNU_GETTEXT_VERSION([0.16]) |
|
2883 |
#AM_GNU_GETTEXT([external]) |
|
2884 |
|
|
2885 |
# Checks for header files. |
|
2886 |
|
|
2887 |
ac_ext=c |
|
2888 |
ac_cpp='$CPP $CPPFLAGS' |
|
2889 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
2890 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2891 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
2892 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
|
2893 |
$as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
2894 |
# On Suns, sometimes $CPP names a directory. |
|
2895 |
if test -n "$CPP" && test -d "$CPP"; then |
|
2896 |
CPP= |
|
2897 |
fi |
|
2898 |
if test -z "$CPP"; then |
|
2899 |
if ${ac_cv_prog_CPP+:} false; then : |
|
2900 |
$as_echo_n "(cached) " >&6 |
|
2901 |
else |
|
2902 |
# Double quotes because CPP needs to be expanded |
|
2903 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
2904 |
do |
|
2905 |
ac_preproc_ok=false |
|
2906 |
for ac_c_preproc_warn_flag in '' yes |
|
2907 |
do |
|
2908 |
# Use a header file that comes with gcc, so configuring glibc |
|
2909 |
# with a fresh cross-compiler works. |
|
2910 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
2911 |
# <limits.h> exists even on freestanding compilers. |
|
2912 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
2913 |
# not just through cpp. "Syntax error" is here to catch this case. |
|
2914 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
2915 |
/* end confdefs.h. */ |
|
2916 |
@%:@ifdef __STDC__ |
|
2917 |
@%:@ include <limits.h> |
|
2918 |
@%:@else |
|
2919 |
@%:@ include <assert.h> |
|
2920 |
@%:@endif |
|
2921 |
Syntax error |
|
2922 |
_ACEOF |
|
2923 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
2924 |
|
|
2925 |
else |
|
2926 |
# Broken: fails on valid input. |
|
2927 |
continue |
|
2928 |
fi |
|
2929 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
2930 |
|
|
2931 |
# OK, works on sane cases. Now check whether nonexistent headers |
|
2932 |
# can be detected and how. |
|
2933 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
2934 |
/* end confdefs.h. */ |
|
2935 |
@%:@include <ac_nonexistent.h> |
|
2936 |
_ACEOF |
|
2937 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
2938 |
# Broken: success on invalid input. |
|
2939 |
continue |
|
2940 |
else |
|
2941 |
# Passes both tests. |
|
2942 |
ac_preproc_ok=: |
|
2943 |
break |
|
2944 |
fi |
|
2945 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
2946 |
|
|
2947 |
done |
|
2948 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
2949 |
rm -f conftest.i conftest.err conftest.$ac_ext |
|
2950 |
if $ac_preproc_ok; then : |
|
2951 |
break |
|
2952 |
fi |
|
2953 |
|
|
2954 |
done |
|
2955 |
ac_cv_prog_CPP=$CPP |
|
2956 |
|
|
2957 |
fi |
|
2958 |
CPP=$ac_cv_prog_CPP |
|
2959 |
else |
|
2960 |
ac_cv_prog_CPP=$CPP |
|
2961 |
fi |
|
2962 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
|
2963 |
$as_echo "$CPP" >&6; } |
|
2964 |
ac_preproc_ok=false |
|
2965 |
for ac_c_preproc_warn_flag in '' yes |
|
2966 |
do |
|
2967 |
# Use a header file that comes with gcc, so configuring glibc |
|
2968 |
# with a fresh cross-compiler works. |
|
2969 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
2970 |
# <limits.h> exists even on freestanding compilers. |
|
2971 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
2972 |
# not just through cpp. "Syntax error" is here to catch this case. |
|
2973 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
2974 |
/* end confdefs.h. */ |
|
2975 |
@%:@ifdef __STDC__ |
|
2976 |
@%:@ include <limits.h> |
|
2977 |
@%:@else |
|
2978 |
@%:@ include <assert.h> |
|
2979 |
@%:@endif |
|
2980 |
Syntax error |
|
2981 |
_ACEOF |
|
2982 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
2983 |
|
|
2984 |
else |
|
2985 |
# Broken: fails on valid input. |
|
2986 |
continue |
|
2987 |
fi |
|
2988 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
2989 |
|
|
2990 |
# OK, works on sane cases. Now check whether nonexistent headers |
|
2991 |
# can be detected and how. |
|
2992 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
2993 |
/* end confdefs.h. */ |
|
2994 |
@%:@include <ac_nonexistent.h> |
|
2995 |
_ACEOF |
|
2996 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
2997 |
# Broken: success on invalid input. |
|
2998 |
continue |
|
2999 |
else |
|
3000 |
# Passes both tests. |
|
3001 |
ac_preproc_ok=: |
|
3002 |
break |
|
3003 |
fi |
|
3004 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
3005 |
|
|
3006 |
done |
|
3007 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
3008 |
rm -f conftest.i conftest.err conftest.$ac_ext |
|
3009 |
if $ac_preproc_ok; then : |
|
3010 |
|
|
3011 |
else |
|
3012 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3013 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3014 |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
|
3015 |
See \`config.log' for more details" "$LINENO" 5; } |
|
3016 |
fi |
|
3017 |
|
|
3018 |
ac_ext=c |
|
3019 |
ac_cpp='$CPP $CPPFLAGS' |
|
3020 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3021 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3022 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
3023 |
|
|
3024 |
|
|
3025 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
|
3026 |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
|
3027 |
if ${ac_cv_path_GREP+:} false; then : |
|
3028 |
$as_echo_n "(cached) " >&6 |
|
3029 |
else |
|
3030 |
if test -z "$GREP"; then |
|
3031 |
ac_path_GREP_found=false |
|
3032 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
3033 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3034 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
3035 |
do |
|
3036 |
IFS=$as_save_IFS |
|
3037 |
test -z "$as_dir" && as_dir=. |
|
3038 |
for ac_prog in grep ggrep; do |
|
3039 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3040 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
|
3041 |
as_fn_executable_p "$ac_path_GREP" || continue |
|
3042 |
# Check for GNU ac_path_GREP and select it if it is found. |
|
3043 |
# Check for GNU $ac_path_GREP |
|
3044 |
case `"$ac_path_GREP" --version 2>&1` in |
|
3045 |
*GNU*) |
|
3046 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
|
3047 |
*) |
|
3048 |
ac_count=0 |
|
3049 |
$as_echo_n 0123456789 >"conftest.in" |
|
3050 |
while : |
|
3051 |
do |
|
3052 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
3053 |
mv "conftest.tmp" "conftest.in" |
|
3054 |
cp "conftest.in" "conftest.nl" |
|
3055 |
$as_echo 'GREP' >> "conftest.nl" |
|
3056 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
3057 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
3058 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
3059 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then |
|
3060 |
# Best one so far, save it but keep looking for a better one |
|
3061 |
ac_cv_path_GREP="$ac_path_GREP" |
|
3062 |
ac_path_GREP_max=$ac_count |
|
3063 |
fi |
|
3064 |
# 10*(2^10) chars as input seems more than enough |
|
3065 |
test $ac_count -gt 10 && break |
|
3066 |
done |
|
3067 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
3068 |
esac |
|
3069 |
|
|
3070 |
$ac_path_GREP_found && break 3 |
|
3071 |
done |
|
3072 |
done |
|
3073 |
done |
|
3074 |
IFS=$as_save_IFS |
|
3075 |
if test -z "$ac_cv_path_GREP"; then |
|
3076 |
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
|
3077 |
fi |
|
3078 |
else |
|
3079 |
ac_cv_path_GREP=$GREP |
|
3080 |
fi |
|
3081 |
|
|
3082 |
fi |
|
3083 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
|
3084 |
$as_echo "$ac_cv_path_GREP" >&6; } |
|
3085 |
GREP="$ac_cv_path_GREP" |
|
3086 |
|
|
3087 |
|
|
3088 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
|
3089 |
$as_echo_n "checking for egrep... " >&6; } |
|
3090 |
if ${ac_cv_path_EGREP+:} false; then : |
|
3091 |
$as_echo_n "(cached) " >&6 |
|
3092 |
else |
|
3093 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
|
3094 |
then ac_cv_path_EGREP="$GREP -E" |
|
3095 |
else |
|
3096 |
if test -z "$EGREP"; then |
|
3097 |
ac_path_EGREP_found=false |
|
3098 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
3099 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3100 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
3101 |
do |
|
3102 |
IFS=$as_save_IFS |
|
3103 |
test -z "$as_dir" && as_dir=. |
|
3104 |
for ac_prog in egrep; do |
|
3105 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3106 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
3107 |
as_fn_executable_p "$ac_path_EGREP" || continue |
|
3108 |
# Check for GNU ac_path_EGREP and select it if it is found. |
|
3109 |
# Check for GNU $ac_path_EGREP |
|
3110 |
case `"$ac_path_EGREP" --version 2>&1` in |
|
3111 |
*GNU*) |
|
3112 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
|
3113 |
*) |
|
3114 |
ac_count=0 |
|
3115 |
$as_echo_n 0123456789 >"conftest.in" |
|
3116 |
while : |
|
3117 |
do |
|
3118 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
3119 |
mv "conftest.tmp" "conftest.in" |
|
3120 |
cp "conftest.in" "conftest.nl" |
|
3121 |
$as_echo 'EGREP' >> "conftest.nl" |
|
3122 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
3123 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
3124 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
3125 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
|
3126 |
# Best one so far, save it but keep looking for a better one |
|
3127 |
ac_cv_path_EGREP="$ac_path_EGREP" |
|
3128 |
ac_path_EGREP_max=$ac_count |
|
3129 |
fi |
|
3130 |
# 10*(2^10) chars as input seems more than enough |
|
3131 |
test $ac_count -gt 10 && break |
|
3132 |
done |
|
3133 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
3134 |
esac |
|
3135 |
|
|
3136 |
$ac_path_EGREP_found && break 3 |
|
3137 |
done |
|
3138 |
done |
|
3139 |
done |
|
3140 |
IFS=$as_save_IFS |
|
3141 |
if test -z "$ac_cv_path_EGREP"; then |
|
3142 |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
|
3143 |
fi |
|
3144 |
else |
|
3145 |
ac_cv_path_EGREP=$EGREP |
|
3146 |
fi |
|
3147 |
|
|
3148 |
fi |
|
3149 |
fi |
|
3150 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
|
3151 |
$as_echo "$ac_cv_path_EGREP" >&6; } |
|
3152 |
EGREP="$ac_cv_path_EGREP" |
|
3153 |
|
|
3154 |
|
|
3155 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
|
3156 |
$as_echo_n "checking for ANSI C header files... " >&6; } |
|
3157 |
if ${ac_cv_header_stdc+:} false; then : |
|
3158 |
$as_echo_n "(cached) " >&6 |
|
3159 |
else |
|
3160 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3161 |
/* end confdefs.h. */ |
|
3162 |
#include <stdlib.h> |
|
3163 |
#include <stdarg.h> |
|
3164 |
#include <string.h> |
|
3165 |
#include <float.h> |
|
3166 |
|
|
3167 |
int |
|
3168 |
main () |
|
3169 |
{ |
|
3170 |
|
|
3171 |
; |
|
3172 |
return 0; |
|
3173 |
} |
|
3174 |
_ACEOF |
|
3175 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
3176 |
ac_cv_header_stdc=yes |
|
3177 |
else |
|
3178 |
ac_cv_header_stdc=no |
|
3179 |
fi |
|
3180 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3181 |
|
|
3182 |
if test $ac_cv_header_stdc = yes; then |
|
3183 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
3184 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3185 |
/* end confdefs.h. */ |
|
3186 |
#include <string.h> |
|
3187 |
|
|
3188 |
_ACEOF |
|
3189 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
3190 |
$EGREP "memchr" >/dev/null 2>&1; then : |
|
3191 |
|
|
3192 |
else |
|
3193 |
ac_cv_header_stdc=no |
|
3194 |
fi |
|
3195 |
rm -f conftest* |
|
3196 |
|
|
3197 |
fi |
|
3198 |
|
|
3199 |
if test $ac_cv_header_stdc = yes; then |
|
3200 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
3201 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3202 |
/* end confdefs.h. */ |
|
3203 |
#include <stdlib.h> |
|
3204 |
|
|
3205 |
_ACEOF |
|
3206 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
3207 |
$EGREP "free" >/dev/null 2>&1; then : |
|
3208 |
|
|
3209 |
else |
|
3210 |
ac_cv_header_stdc=no |
|
3211 |
fi |
|
3212 |
rm -f conftest* |
|
3213 |
|
|
3214 |
fi |
|
3215 |
|
|
3216 |
if test $ac_cv_header_stdc = yes; then |
|
3217 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
3218 |
if test "$cross_compiling" = yes; then : |
|
3219 |
: |
|
3220 |
else |
|
3221 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3222 |
/* end confdefs.h. */ |
|
3223 |
#include <ctype.h> |
|
3224 |
#include <stdlib.h> |
|
3225 |
#if ((' ' & 0x0FF) == 0x020) |
|
3226 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
3227 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
3228 |
#else |
|
3229 |
# define ISLOWER(c) \ |
|
3230 |
(('a' <= (c) && (c) <= 'i') \ |
|
3231 |
|| ('j' <= (c) && (c) <= 'r') \ |
|
3232 |
|| ('s' <= (c) && (c) <= 'z')) |
|
3233 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
3234 |
#endif |
|
3235 |
|
|
3236 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
3237 |
int |
|
3238 |
main () |
|
3239 |
{ |
|
3240 |
int i; |
|
3241 |
for (i = 0; i < 256; i++) |
|
3242 |
if (XOR (islower (i), ISLOWER (i)) |
|
3243 |
|| toupper (i) != TOUPPER (i)) |
|
3244 |
return 2; |
|
3245 |
return 0; |
|
3246 |
} |
|
3247 |
_ACEOF |
|
3248 |
if ac_fn_c_try_run "$LINENO"; then : |
|
3249 |
|
|
3250 |
else |
|
3251 |
ac_cv_header_stdc=no |
|
3252 |
fi |
|
3253 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
3254 |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
3255 |
fi |
|
3256 |
|
|
3257 |
fi |
|
3258 |
fi |
|
3259 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
|
3260 |
$as_echo "$ac_cv_header_stdc" >&6; } |
|
3261 |
if test $ac_cv_header_stdc = yes; then |
|
3262 |
|
|
3263 |
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h |
|
3264 |
|
|
3265 |
fi |
|
3266 |
|
|
3267 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
3268 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
3269 |
inttypes.h stdint.h unistd.h |
|
3270 |
do : |
|
3271 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
3272 |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
|
3273 |
" |
|
3274 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
3275 |
cat >>confdefs.h <<_ACEOF |
|
3276 |
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
3277 |
_ACEOF |
|
3278 |
|
|
3279 |
fi |
|
3280 |
|
|
3281 |
done |
|
3282 |
|
|
3283 |
|
|
3284 |
for ac_header in stdlib.h string.h leptonica/allheaders.h |
|
3285 |
do : |
|
3286 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
3287 |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
|
3288 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
3289 |
cat >>confdefs.h <<_ACEOF |
|
3290 |
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
3291 |
_ACEOF |
|
3292 |
|
|
3293 |
fi |
|
3294 |
|
|
3295 |
done |
|
3296 |
|
|
3297 |
|
|
3298 |
# Checks for typedefs, structures, and compiler characteristics. |
|
3299 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
|
3300 |
$as_echo_n "checking for inline... " >&6; } |
|
3301 |
if ${ac_cv_c_inline+:} false; then : |
|
3302 |
$as_echo_n "(cached) " >&6 |
|
3303 |
else |
|
3304 |
ac_cv_c_inline=no |
|
3305 |
for ac_kw in inline __inline__ __inline; do |
|
3306 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3307 |
/* end confdefs.h. */ |
|
3308 |
#ifndef __cplusplus |
|
3309 |
typedef int foo_t; |
|
3310 |
static $ac_kw foo_t static_foo () {return 0; } |
|
3311 |
$ac_kw foo_t foo () {return 0; } |
|
3312 |
#endif |
|
3313 |
|
|
3314 |
_ACEOF |
|
3315 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
3316 |
ac_cv_c_inline=$ac_kw |
|
3317 |
fi |
|
3318 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3319 |
test "$ac_cv_c_inline" != no && break |
|
3320 |
done |
|
3321 |
|
|
3322 |
fi |
|
3323 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 |
|
3324 |
$as_echo "$ac_cv_c_inline" >&6; } |
|
3325 |
|
|
3326 |
case $ac_cv_c_inline in |
|
3327 |
inline | yes) ;; |
|
3328 |
*) |
|
3329 |
case $ac_cv_c_inline in |
|
3330 |
no) ac_val=;; |
|
3331 |
*) ac_val=$ac_cv_c_inline;; |
|
3332 |
esac |
|
3333 |
cat >>confdefs.h <<_ACEOF |
|
3334 |
#ifndef __cplusplus |
|
3335 |
#define inline $ac_val |
|
3336 |
#endif |
|
3337 |
_ACEOF |
|
3338 |
;; |
|
3339 |
esac |
|
3340 |
|
|
3341 |
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
|
3342 |
if test "x$ac_cv_type_size_t" = xyes; then : |
|
3343 |
|
|
3344 |
else |
|
3345 |
|
|
3346 |
cat >>confdefs.h <<_ACEOF |
|
3347 |
@%:@define size_t unsigned int |
|
3348 |
_ACEOF |
|
3349 |
|
|
3350 |
fi |
|
3351 |
|
|
3352 |
|
|
3353 |
|
|
3354 |
# Checks for library functions. |
|
3355 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing atan2" >&5 |
|
3356 |
$as_echo_n "checking for library containing atan2... " >&6; } |
|
3357 |
if ${ac_cv_search_atan2+:} false; then : |
|
3358 |
$as_echo_n "(cached) " >&6 |
|
3359 |
else |
|
3360 |
ac_func_search_save_LIBS=$LIBS |
|
3361 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3362 |
/* end confdefs.h. */ |
|
3363 |
|
|
3364 |
/* Override any GCC internal prototype to avoid an error. |
|
3365 |
Use char because int might match the return type of a GCC |
|
3366 |
builtin and then its argument prototype would still apply. */ |
|
3367 |
#ifdef __cplusplus |
|
3368 |
extern "C" |
|
3369 |
#endif |
|
3370 |
char atan2 (); |
|
3371 |
int |
|
3372 |
main () |
|
3373 |
{ |
|
3374 |
return atan2 (); |
|
3375 |
; |
|
3376 |
return 0; |
|
3377 |
} |
|
3378 |
_ACEOF |
|
3379 |
for ac_lib in '' m; do |
|
3380 |
if test -z "$ac_lib"; then |
|
3381 |
ac_res="none required" |
|
3382 |
else |
|
3383 |
ac_res=-l$ac_lib |
|
3384 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
3385 |
fi |
|
3386 |
if ac_fn_c_try_link "$LINENO"; then : |
|
3387 |
ac_cv_search_atan2=$ac_res |
|
3388 |
fi |
|
3389 |
rm -f core conftest.err conftest.$ac_objext \ |
|
3390 |
conftest$ac_exeext |
|
3391 |
if ${ac_cv_search_atan2+:} false; then : |
|
3392 |
break |
|
3393 |
fi |
|
3394 |
done |
|
3395 |
if ${ac_cv_search_atan2+:} false; then : |
|
3396 |
|
|
3397 |
else |
|
3398 |
ac_cv_search_atan2=no |
|
3399 |
fi |
|
3400 |
rm conftest.$ac_ext |
|
3401 |
LIBS=$ac_func_search_save_LIBS |
|
3402 |
fi |
|
3403 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_atan2" >&5 |
|
3404 |
$as_echo "$ac_cv_search_atan2" >&6; } |
|
3405 |
ac_res=$ac_cv_search_atan2 |
|
3406 |
if test "$ac_res" != no; then : |
|
3407 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
3408 |
|
|
3409 |
fi |
|
3410 |
|
|
3411 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing TIFFOpen" >&5 |
|
3412 |
$as_echo_n "checking for library containing TIFFOpen... " >&6; } |
|
3413 |
if ${ac_cv_search_TIFFOpen+:} false; then : |
|
3414 |
$as_echo_n "(cached) " >&6 |
|
3415 |
else |
|
3416 |
ac_func_search_save_LIBS=$LIBS |
|
3417 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3418 |
/* end confdefs.h. */ |
|
3419 |
|
|
3420 |
/* Override any GCC internal prototype to avoid an error. |
|
3421 |
Use char because int might match the return type of a GCC |
|
3422 |
builtin and then its argument prototype would still apply. */ |
|
3423 |
#ifdef __cplusplus |
|
3424 |
extern "C" |
|
3425 |
#endif |
|
3426 |
char TIFFOpen (); |
|
3427 |
int |
|
3428 |
main () |
|
3429 |
{ |
|
3430 |
return TIFFOpen (); |
|
3431 |
; |
|
3432 |
return 0; |
|
3433 |
} |
|
3434 |
_ACEOF |
|
3435 |
for ac_lib in '' tiff; do |
|
3436 |
if test -z "$ac_lib"; then |
|
3437 |
ac_res="none required" |
|
3438 |
else |
|
3439 |
ac_res=-l$ac_lib |
|
3440 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
3441 |
fi |
|
3442 |
if ac_fn_c_try_link "$LINENO"; then : |
|
3443 |
ac_cv_search_TIFFOpen=$ac_res |
|
3444 |
fi |
|
3445 |
rm -f core conftest.err conftest.$ac_objext \ |
|
3446 |
conftest$ac_exeext |
|
3447 |
if ${ac_cv_search_TIFFOpen+:} false; then : |
|
3448 |
break |
|
3449 |
fi |
|
3450 |
done |
|
3451 |
if ${ac_cv_search_TIFFOpen+:} false; then : |
|
3452 |
|
|
3453 |
else |
|
3454 |
ac_cv_search_TIFFOpen=no |
|
3455 |
fi |
|
3456 |
rm conftest.$ac_ext |
|
3457 |
LIBS=$ac_func_search_save_LIBS |
|
3458 |
fi |
|
3459 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_TIFFOpen" >&5 |
|
3460 |
$as_echo "$ac_cv_search_TIFFOpen" >&6; } |
|
3461 |
ac_res=$ac_cv_search_TIFFOpen |
|
3462 |
if test "$ac_res" != no; then : |
|
3463 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
3464 |
|
|
3465 |
else |
|
3466 |
echo 'Install libtiff-dev'; exit 1 |
|
3467 |
fi |
|
3468 |
|
|
3469 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing png_create_info_struct" >&5 |
|
3470 |
$as_echo_n "checking for library containing png_create_info_struct... " >&6; } |
|
3471 |
if ${ac_cv_search_png_create_info_struct+:} false; then : |
|
3472 |
$as_echo_n "(cached) " >&6 |
|
3473 |
else |
|
3474 |
ac_func_search_save_LIBS=$LIBS |
|
3475 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3476 |
/* end confdefs.h. */ |
|
3477 |
|
|
3478 |
/* Override any GCC internal prototype to avoid an error. |
|
3479 |
Use char because int might match the return type of a GCC |
|
3480 |
builtin and then its argument prototype would still apply. */ |
|
3481 |
#ifdef __cplusplus |
|
3482 |
extern "C" |
|
3483 |
#endif |
|
3484 |
char png_create_info_struct (); |
|
3485 |
int |
|
3486 |
main () |
|
3487 |
{ |
|
3488 |
return png_create_info_struct (); |
|
3489 |
; |
|
3490 |
return 0; |
|
3491 |
} |
|
3492 |
_ACEOF |
|
3493 |
for ac_lib in '' png; do |
|
3494 |
if test -z "$ac_lib"; then |
|
3495 |
ac_res="none required" |
|
3496 |
else |
|
3497 |
ac_res=-l$ac_lib |
|
3498 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
3499 |
fi |
|
3500 |
if ac_fn_c_try_link "$LINENO"; then : |
|
3501 |
ac_cv_search_png_create_info_struct=$ac_res |
|
3502 |
fi |
|
3503 |
rm -f core conftest.err conftest.$ac_objext \ |
|
3504 |
conftest$ac_exeext |
|
3505 |
if ${ac_cv_search_png_create_info_struct+:} false; then : |
|
3506 |
break |
|
3507 |
fi |
|
3508 |
done |
|
3509 |
if ${ac_cv_search_png_create_info_struct+:} false; then : |
|
3510 |
|
|
3511 |
else |
|
3512 |
ac_cv_search_png_create_info_struct=no |
|
3513 |
fi |
|
3514 |
rm conftest.$ac_ext |
|
3515 |
LIBS=$ac_func_search_save_LIBS |
|
3516 |
fi |
|
3517 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_png_create_info_struct" >&5 |
|
3518 |
$as_echo "$ac_cv_search_png_create_info_struct" >&6; } |
|
3519 |
ac_res=$ac_cv_search_png_create_info_struct |
|
3520 |
if test "$ac_res" != no; then : |
|
3521 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
3522 |
|
|
3523 |
else |
|
3524 |
echo 'Install libpng-dev'; exit |
|
3525 |
1 |
|
3526 |
fi |
|
3527 |
|
|
3528 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pixMorphSequence" >&5 |
|
3529 |
$as_echo_n "checking for library containing pixMorphSequence... " >&6; } |
|
3530 |
if ${ac_cv_search_pixMorphSequence+:} false; then : |
|
3531 |
$as_echo_n "(cached) " >&6 |
|
3532 |
else |
|
3533 |
ac_func_search_save_LIBS=$LIBS |
|
3534 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3535 |
/* end confdefs.h. */ |
|
3536 |
|
|
3537 |
/* Override any GCC internal prototype to avoid an error. |
|
3538 |
Use char because int might match the return type of a GCC |
|
3539 |
builtin and then its argument prototype would still apply. */ |
|
3540 |
#ifdef __cplusplus |
|
3541 |
extern "C" |
|
3542 |
#endif |
|
3543 |
char pixMorphSequence (); |
|
3544 |
int |
|
3545 |
main () |
|
3546 |
{ |
|
3547 |
return pixMorphSequence (); |
|
3548 |
; |
|
3549 |
return 0; |
|
3550 |
} |
|
3551 |
_ACEOF |
|
3552 |
for ac_lib in '' lept; do |
|
3553 |
if test -z "$ac_lib"; then |
|
3554 |
ac_res="none required" |
|
3555 |
else |
|
3556 |
ac_res=-l$ac_lib |
|
3557 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
3558 |
fi |
|
3559 |
if ac_fn_c_try_link "$LINENO"; then : |
|
3560 |
ac_cv_search_pixMorphSequence=$ac_res |
|
3561 |
fi |
|
3562 |
rm -f core conftest.err conftest.$ac_objext \ |
|
3563 |
conftest$ac_exeext |
|
3564 |
if ${ac_cv_search_pixMorphSequence+:} false; then : |
|
3565 |
break |
|
3566 |
fi |
|
3567 |
done |
|
3568 |
if ${ac_cv_search_pixMorphSequence+:} false; then : |
|
3569 |
|
|
3570 |
else |
|
3571 |
ac_cv_search_pixMorphSequence=no |
|
3572 |
fi |
|
3573 |
rm conftest.$ac_ext |
|
3574 |
LIBS=$ac_func_search_save_LIBS |
|
3575 |
fi |
|
3576 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pixMorphSequence" >&5 |
|
3577 |
$as_echo "$ac_cv_search_pixMorphSequence" >&6; } |
|
3578 |
ac_res=$ac_cv_search_pixMorphSequence |
|
3579 |
if test "$ac_res" != no; then : |
|
3580 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
3581 |
|
|
3582 |
else |
|
3583 |
echo 'Install libleptonica-dev'; exit 1 |
|
3584 |
fi |
|
3585 |
|
|
3586 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gzgets" >&5 |
|
3587 |
$as_echo_n "checking for library containing gzgets... " >&6; } |
|
3588 |
if ${ac_cv_search_gzgets+:} false; then : |
|
3589 |
$as_echo_n "(cached) " >&6 |
|
3590 |
else |
|
3591 |
ac_func_search_save_LIBS=$LIBS |
|
3592 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3593 |
/* end confdefs.h. */ |
|
3594 |
|
|
3595 |
/* Override any GCC internal prototype to avoid an error. |
|
3596 |
Use char because int might match the return type of a GCC |
|
3597 |
builtin and then its argument prototype would still apply. */ |
|
3598 |
#ifdef __cplusplus |
|
3599 |
extern "C" |
|
3600 |
#endif |
|
3601 |
char gzgets (); |
|
3602 |
int |
|
3603 |
main () |
|
3604 |
{ |
|
3605 |
return gzgets (); |
|
3606 |
; |
|
3607 |
return 0; |
|
3608 |
} |
|
3609 |
_ACEOF |
|
3610 |
for ac_lib in '' z; do |
|
3611 |
if test -z "$ac_lib"; then |
|
3612 |
ac_res="none required" |
|
3613 |
else |
|
3614 |
ac_res=-l$ac_lib |
|
3615 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
3616 |
fi |
|
3617 |
if ac_fn_c_try_link "$LINENO"; then : |
|
3618 |
ac_cv_search_gzgets=$ac_res |
|
3619 |
fi |
|
3620 |
rm -f core conftest.err conftest.$ac_objext \ |
|
3621 |
conftest$ac_exeext |
|
3622 |
if ${ac_cv_search_gzgets+:} false; then : |
|
3623 |
break |
|
3624 |
fi |
|
3625 |
done |
|
3626 |
if ${ac_cv_search_gzgets+:} false; then : |
|
3627 |
|
|
3628 |
else |
|
3629 |
ac_cv_search_gzgets=no |
|
3630 |
fi |
|
3631 |
rm conftest.$ac_ext |
|
3632 |
LIBS=$ac_func_search_save_LIBS |
|
3633 |
fi |
|
3634 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gzgets" >&5 |
|
3635 |
$as_echo "$ac_cv_search_gzgets" >&6; } |
|
3636 |
ac_res=$ac_cv_search_gzgets |
|
3637 |
if test "$ac_res" != no; then : |
|
3638 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
3639 |
|
|
3640 |
else |
|
3641 |
echo 'Install zlib1g-dev'; exit 1 |
|
3642 |
fi |
|
3643 |
|
|
3644 |
|
|
3645 |
$as_echo "@%:@define NEWLEPT /**/" >>confdefs.h |
|
3646 |
] |
|
3647 |
|
|
3648 |
ac_config_files="$ac_config_files Makefile src/Makefile" |
|
3649 |
|
|
3650 |
cat >confcache <<\_ACEOF |
|
3651 |
# This file is a shell script that caches the results of configure |
|
3652 |
# tests run on this system so they can be shared between configure |
|
3653 |
# scripts and configure runs, see configure's option --config-cache. |
|
3654 |
# It is not useful on other systems. If it contains results you don't |
|
3655 |
# want to keep, you may remove or edit it. |
|
3656 |
# |
|
3657 |
# config.status only pays attention to the cache file if you give it |
|
3658 |
# the --recheck option to rerun configure. |
|
3659 |
# |
|
3660 |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
|
3661 |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
|
3662 |
# following values. |
|
3663 |
|
|
3664 |
_ACEOF |
|
3665 |
|
|
3666 |
# The following way of writing the cache mishandles newlines in values, |
|
3667 |
# but we know of no workaround that is simple, portable, and efficient. |
|
3668 |
# So, we kill variables containing newlines. |
|
3669 |
# Ultrix sh set writes to stderr and can't be redirected directly, |
|
3670 |
# and sets the high bit in the cache file unless we assign to the vars. |
|
3671 |
( |
|
3672 |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
|
3673 |
eval ac_val=\$$ac_var |
|
3674 |
case $ac_val in #( |
|
3675 |
*${as_nl}*) |
|
3676 |
case $ac_var in #( |
|
3677 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
|
3678 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
|
3679 |
esac |
|
3680 |
case $ac_var in #( |
|
3681 |
_ | IFS | as_nl) ;; #( |
|
3682 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
3683 |
*) { eval $ac_var=; unset $ac_var;} ;; |
|
3684 |
esac ;; |
|
3685 |
esac |
|
3686 |
done |
|
3687 |
|
|
3688 |
(set) 2>&1 | |
|
3689 |
case $as_nl`(ac_space=' '; set) 2>&1` in #( |
|
3690 |
*${as_nl}ac_space=\ *) |
|
3691 |
# `set' does not quote correctly, so add quotes: double-quote |
|
3692 |
# substitution turns \\\\ into \\, and sed turns \\ into \. |
|
3693 |
sed -n \ |
|
3694 |
"s/'/'\\\\''/g; |
|
3695 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
|
3696 |
;; #( |
|
3697 |
*) |
|
3698 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
|
3699 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
|
3700 |
;; |
|
3701 |
esac | |
|
3702 |
sort |
|
3703 |
) | |
|
3704 |
sed ' |
|
3705 |
/^ac_cv_env_/b end |
|
3706 |
t clear |
|
3707 |
:clear |
|
3708 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
|
3709 |
t end |
|
3710 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
|
3711 |
:end' >>confcache |
|
3712 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
|
3713 |
if test -w "$cache_file"; then |
|
3714 |
if test "x$cache_file" != "x/dev/null"; then |
|
3715 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
|
3716 |
$as_echo "$as_me: updating cache $cache_file" >&6;} |
|
3717 |
if test ! -f "$cache_file" || test -h "$cache_file"; then |
|
3718 |
cat confcache >"$cache_file" |
|
3719 |
else |
|
3720 |
case $cache_file in #( |
|
3721 |
*/* | ?:*) |
|
3722 |
mv -f confcache "$cache_file"$$ && |
|
3723 |
mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
3724 |
*) |
|
3725 |
mv -f confcache "$cache_file" ;; |
|
3726 |
esac |
|
3727 |
fi |
|
3728 |
fi |
|
3729 |
else |
|
3730 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
|
3731 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
|
3732 |
fi |
|
3733 |
fi |
|
3734 |
rm -f confcache |
|
3735 |
|
|
3736 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
|
3737 |
# Let make expand exec_prefix. |
|
3738 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
|
3739 |
|
|
3740 |
DEFS=-DHAVE_CONFIG_H |
|
3741 |
|
|
3742 |
ac_libobjs= |
|
3743 |
ac_ltlibobjs= |
|
3744 |
U= |
|
3745 |
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue |
|
3746 |
# 1. Remove the extension, and $U if already installed. |
|
3747 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
|
3748 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
|
3749 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
|
3750 |
# will be set to the directory where LIBOBJS objects are built. |
|
3751 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
|
3752 |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
|
3753 |
done |
|
3754 |
LIB@&t@OBJS=$ac_libobjs |
|
3755 |
|
|
3756 |
LTLIBOBJS=$ac_ltlibobjs |
|
3757 |
|
|
3758 |
|
|
3759 |
|
|
3760 |
: "${CONFIG_STATUS=./config.status}" |
|
3761 |
ac_write_fail=0 |
|
3762 |
ac_clean_files_save=$ac_clean_files |
|
3763 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
|
3764 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
|
3765 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
|
3766 |
as_write_fail=0 |
|
3767 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
|
3768 |
#! $SHELL |
|
3769 |
# Generated by $as_me. |
|
3770 |
# Run this file to recreate the current configuration. |
|
3771 |
# Compiler output produced by configure, useful for debugging |
|
3772 |
# configure, is in config.log if it exists. |
|
3773 |
|
|
3774 |
debug=false |
|
3775 |
ac_cs_recheck=false |
|
3776 |
ac_cs_silent=false |
|
3777 |
|
|
3778 |
SHELL=\${CONFIG_SHELL-$SHELL} |
|
3779 |
export SHELL |
|
3780 |
_ASEOF |
|
3781 |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
|
3782 |
## -------------------- ## |
|
3783 |
## M4sh Initialization. ## |
|
3784 |
## -------------------- ## |
|
3785 |
|
|
3786 |
# Be more Bourne compatible |
|
3787 |
DUALCASE=1; export DUALCASE # for MKS sh |
|
3788 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
|
3789 |
emulate sh |
|
3790 |
NULLCMD=: |
|
3791 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
|
3792 |
# is contrary to our usage. Disable this feature. |
|
3793 |
alias -g '${1+"$@"}'='"$@"' |
|
3794 |
setopt NO_GLOB_SUBST |
|
3795 |
else |
|
3796 |
case `(set -o) 2>/dev/null` in @%:@( |
|
3797 |
*posix*) : |
|
3798 |
set -o posix ;; @%:@( |
|
3799 |
*) : |
|
3800 |
;; |
|
3801 |
esac |
|
3802 |
fi |
|
3803 |
|
|
3804 |
|
|
3805 |
as_nl=' |
|
3806 |
' |
|
3807 |
export as_nl |
|
3808 |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
|
3809 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
3810 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
|
3811 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|
3812 |
# Prefer a ksh shell builtin over an external printf program on Solaris, |
|
3813 |
# but without wasting forks for bash or zsh. |
|
3814 |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
|
3815 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
3816 |
as_echo='print -r --' |
|
3817 |
as_echo_n='print -rn --' |
|
3818 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
3819 |
as_echo='printf %s\n' |
|
3820 |
as_echo_n='printf %s' |
|
3821 |
else |
|
3822 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
3823 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
3824 |
as_echo_n='/usr/ucb/echo -n' |
|
3825 |
else |
|
3826 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
3827 |
as_echo_n_body='eval |
|
3828 |
arg=$1; |
|
3829 |
case $arg in @%:@( |
|
3830 |
*"$as_nl"*) |
|
3831 |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
3832 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
3833 |
esac; |
|
3834 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
3835 |
' |
|
3836 |
export as_echo_n_body |
|
3837 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
|
3838 |
fi |
|
3839 |
export as_echo_body |
|
3840 |
as_echo='sh -c $as_echo_body as_echo' |
|
3841 |
fi |
|
3842 |
|
|
3843 |
# The user is always right. |
|
3844 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
3845 |
PATH_SEPARATOR=: |
|
3846 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
3847 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
3848 |
PATH_SEPARATOR=';' |
|
3849 |
} |
|
3850 |
fi |
|
3851 |
|
|
3852 |
|
|
3853 |
# IFS |
|
3854 |
# We need space, tab and new line, in precisely that order. Quoting is |
|
3855 |
# there to prevent editors from complaining about space-tab. |
|
3856 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
3857 |
# splitting by setting IFS to empty value.) |
|
3858 |
IFS=" "" $as_nl" |
|
3859 |
|
|
3860 |
# Find who we are. Look in the path if we contain no directory separator. |
|
3861 |
as_myself= |
|
3862 |
case $0 in @%:@(( |
|
3863 |
*[\\/]* ) as_myself=$0 ;; |
|
3864 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3865 |
for as_dir in $PATH |
|
3866 |
do |
|
3867 |
IFS=$as_save_IFS |
|
3868 |
test -z "$as_dir" && as_dir=. |
|
3869 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
3870 |
done |
|
3871 |
IFS=$as_save_IFS |
|
3872 |
|
|
3873 |
;; |
|
3874 |
esac |
|
3875 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
|
3876 |
# in which case we are not to be found in the path. |
|
3877 |
if test "x$as_myself" = x; then |
|
3878 |
as_myself=$0 |
|
3879 |
fi |
|
3880 |
if test ! -f "$as_myself"; then |
|
3881 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|
3882 |
exit 1 |
|
3883 |
fi |
|
3884 |
|
|
3885 |
# Unset variables that we do not need and which cause bugs (e.g. in |
|
3886 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
|
3887 |
# suppresses any "Segmentation fault" message there. '((' could |
|
3888 |
# trigger a bug in pdksh 5.2.14. |
|
3889 |
for as_var in BASH_ENV ENV MAIL MAILPATH |
|
3890 |
do eval test x\${$as_var+set} = xset \ |
|
3891 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
|
3892 |
done |
|
3893 |
PS1='$ ' |
|
3894 |
PS2='> ' |
|
3895 |
PS4='+ ' |
|
3896 |
|
|
3897 |
# NLS nuisances. |
|
3898 |
LC_ALL=C |
|
3899 |
export LC_ALL |
|
3900 |
LANGUAGE=C |
|
3901 |
export LANGUAGE |
|
3902 |
|
|
3903 |
# CDPATH. |
|
3904 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
3905 |
|
|
3906 |
|
|
3907 |
@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] |
|
3908 |
@%:@ ---------------------------------------- |
|
3909 |
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
|
3910 |
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
|
3911 |
@%:@ script with STATUS, using 1 if that was 0. |
|
3912 |
as_fn_error () |
|
3913 |
{ |
|
3914 |
as_status=$1; test $as_status -eq 0 && as_status=1 |
|
3915 |
if test "$4"; then |
|
3916 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
3917 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
|
3918 |
fi |
|
3919 |
$as_echo "$as_me: error: $2" >&2 |
|
3920 |
as_fn_exit $as_status |
|
3921 |
} @%:@ as_fn_error |
|
3922 |
|
|
3923 |
|
|
3924 |
@%:@ as_fn_set_status STATUS |
|
3925 |
@%:@ ----------------------- |
|
3926 |
@%:@ Set @S|@? to STATUS, without forking. |
|
3927 |
as_fn_set_status () |
|
3928 |
{ |
|
3929 |
return $1 |
|
3930 |
} @%:@ as_fn_set_status |
|
3931 |
|
|
3932 |
@%:@ as_fn_exit STATUS |
|
3933 |
@%:@ ----------------- |
|
3934 |
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
|
3935 |
as_fn_exit () |
|
3936 |
{ |
|
3937 |
set +e |
|
3938 |
as_fn_set_status $1 |
|
3939 |
exit $1 |
|
3940 |
} @%:@ as_fn_exit |
|
3941 |
|
|
3942 |
@%:@ as_fn_unset VAR |
|
3943 |
@%:@ --------------- |
|
3944 |
@%:@ Portably unset VAR. |
|
3945 |
as_fn_unset () |
|
3946 |
{ |
|
3947 |
{ eval $1=; unset $1;} |
|
3948 |
} |
|
3949 |
as_unset=as_fn_unset |
|
3950 |
@%:@ as_fn_append VAR VALUE |
|
3951 |
@%:@ ---------------------- |
|
3952 |
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take |
|
3953 |
@%:@ advantage of any shell optimizations that allow amortized linear growth over |
|
3954 |
@%:@ repeated appends, instead of the typical quadratic growth present in naive |
|
3955 |
@%:@ implementations. |
|
3956 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
|
3957 |
eval 'as_fn_append () |
|
3958 |
{ |
|
3959 |
eval $1+=\$2 |
|
3960 |
}' |
|
3961 |
else |
|
3962 |
as_fn_append () |
|
3963 |
{ |
|
3964 |
eval $1=\$$1\$2 |
|
3965 |
} |
|
3966 |
fi # as_fn_append |
|
3967 |
|
|
3968 |
@%:@ as_fn_arith ARG... |
|
3969 |
@%:@ ------------------ |
|
3970 |
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the |
|
3971 |
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments |
|
3972 |
@%:@ must be portable across @S|@(()) and expr. |
|
3973 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
|
3974 |
eval 'as_fn_arith () |
|
3975 |
{ |
|
3976 |
as_val=$(( $* )) |
|
3977 |
}' |
|
3978 |
else |
|
3979 |
as_fn_arith () |
|
3980 |
{ |
|
3981 |
as_val=`expr "$@" || test $? -eq 1` |
|
3982 |
} |
|
3983 |
fi # as_fn_arith |
|
3984 |
|
|
3985 |
|
|
3986 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
3987 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
3988 |
as_expr=expr |
|
3989 |
else |
|
3990 |
as_expr=false |
|
3991 |
fi |
|
3992 |
|
|
3993 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|
3994 |
as_basename=basename |
|
3995 |
else |
|
3996 |
as_basename=false |
|
3997 |
fi |
|
3998 |
|
|
3999 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
4000 |
as_dirname=dirname |
|
4001 |
else |
|
4002 |
as_dirname=false |
|
4003 |
fi |
|
4004 |
|
|
4005 |
as_me=`$as_basename -- "$0" || |
|
4006 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
4007 |
X"$0" : 'X\(//\)$' \| \ |
|
4008 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|
4009 |
$as_echo X/"$0" | |
|
4010 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|
4011 |
s//\1/ |
|
4012 |
q |
|
4013 |
} |
|
4014 |
/^X\/\(\/\/\)$/{ |
|
4015 |
s//\1/ |
|
4016 |
q |
|
4017 |
} |
|
4018 |
/^X\/\(\/\).*/{ |
|
4019 |
s//\1/ |
|
4020 |
q |
|
4021 |
} |
|
4022 |
s/.*/./; q'` |
|
4023 |
|
|
4024 |
# Avoid depending upon Character Ranges. |
|
4025 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
4026 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
4027 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
4028 |
as_cr_digits='0123456789' |
|
4029 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
4030 |
|
|
4031 |
ECHO_C= ECHO_N= ECHO_T= |
|
4032 |
case `echo -n x` in @%:@((((( |
|
4033 |
-n*) |
|
4034 |
case `echo 'xy\c'` in |
|
4035 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
4036 |
xy) ECHO_C='\c';; |
|
4037 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
|
4038 |
ECHO_T=' ';; |
|
4039 |
esac;; |
|
4040 |
*) |
|
4041 |
ECHO_N='-n';; |
|
4042 |
esac |
|
4043 |
|
|
4044 |
rm -f conf$$ conf$$.exe conf$$.file |
|
4045 |
if test -d conf$$.dir; then |
|
4046 |
rm -f conf$$.dir/conf$$.file |
|
4047 |
else |
|
4048 |
rm -f conf$$.dir |
|
4049 |
mkdir conf$$.dir 2>/dev/null |
|
4050 |
fi |
|
4051 |
if (echo >conf$$.file) 2>/dev/null; then |
|
4052 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
4053 |
as_ln_s='ln -s' |
|
4054 |
# ... but there are two gotchas: |
|
4055 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|
4056 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
4057 |
# In both cases, we have to default to `cp -pR'. |
|
4058 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
4059 |
as_ln_s='cp -pR' |
|
4060 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
|
4061 |
as_ln_s=ln |
|
4062 |
else |
|
4063 |
as_ln_s='cp -pR' |
|
4064 |
fi |
|
4065 |
else |
|
4066 |
as_ln_s='cp -pR' |
|
4067 |
fi |
|
4068 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|
4069 |
rmdir conf$$.dir 2>/dev/null |
|
4070 |
|
|
4071 |
|
|
4072 |
@%:@ as_fn_mkdir_p |
|
4073 |
@%:@ ------------- |
|
4074 |
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. |
|
4075 |
as_fn_mkdir_p () |
|
4076 |
{ |
|
4077 |
|
|
4078 |
case $as_dir in #( |
|
4079 |
-*) as_dir=./$as_dir;; |
|
4080 |
esac |
|
4081 |
test -d "$as_dir" || eval $as_mkdir_p || { |
|
4082 |
as_dirs= |
|
4083 |
while :; do |
|
4084 |
case $as_dir in #( |
|
4085 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|
4086 |
*) as_qdir=$as_dir;; |
|
4087 |
esac |
|
4088 |
as_dirs="'$as_qdir' $as_dirs" |
|
4089 |
as_dir=`$as_dirname -- "$as_dir" || |
|
4090 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
4091 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
4092 |
X"$as_dir" : 'X\(//\)$' \| \ |
|
4093 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
4094 |
$as_echo X"$as_dir" | |
|
4095 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
4096 |
s//\1/ |
|
4097 |
q |
|
4098 |
} |
|
4099 |
/^X\(\/\/\)[^/].*/{ |
|
4100 |
s//\1/ |
|
4101 |
q |
|
4102 |
} |
|
4103 |
/^X\(\/\/\)$/{ |
|
4104 |
s//\1/ |
|
4105 |
q |
|
4106 |
} |
|
4107 |
/^X\(\/\).*/{ |
|
4108 |
s//\1/ |
|
4109 |
q |
|
4110 |
} |
|
4111 |
s/.*/./; q'` |
|
4112 |
test -d "$as_dir" && break |
|
4113 |
done |
|
4114 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
4115 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
|
4116 |
|
|
4117 |
|
|
4118 |
} @%:@ as_fn_mkdir_p |
|
4119 |
if mkdir -p . 2>/dev/null; then |
|
4120 |
as_mkdir_p='mkdir -p "$as_dir"' |
|
4121 |
else |
|
4122 |
test -d ./-p && rmdir ./-p |
|
4123 |
as_mkdir_p=false |
|
4124 |
fi |
|
4125 |
|
|
4126 |
|
|
4127 |
@%:@ as_fn_executable_p FILE |
|
4128 |
@%:@ ----------------------- |
|
4129 |
@%:@ Test if FILE is an executable regular file. |
|
4130 |
as_fn_executable_p () |
|
4131 |
{ |
|
4132 |
test -f "$1" && test -x "$1" |
|
4133 |
} @%:@ as_fn_executable_p |
|
4134 |
as_test_x='test -x' |
|
4135 |
as_executable_p=as_fn_executable_p |
|
4136 |
|
|
4137 |
# Sed expression to map a string onto a valid CPP name. |
|
4138 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
4139 |
|
|
4140 |
# Sed expression to map a string onto a valid variable name. |
|
4141 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
4142 |
|
|
4143 |
|
|
4144 |
exec 6>&1 |
|
4145 |
## ----------------------------------- ## |
|
4146 |
## Main body of $CONFIG_STATUS script. ## |
|
4147 |
## ----------------------------------- ## |
|
4148 |
_ASEOF |
|
4149 |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
|
4150 |
|
|
4151 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
4152 |
# Save the log message, to keep $0 and so on meaningful, and to |
|
4153 |
# report actual input values of CONFIG_FILES etc. instead of their |
|
4154 |
# values after options handling. |
|
4155 |
ac_log=" |
|
4156 |
This file was extended by sizif-helpers $as_me 0.2, which was |
|
4157 |
generated by GNU Autoconf 2.69. Invocation command line was |
|
4158 |
|
|
4159 |
CONFIG_FILES = $CONFIG_FILES |
|
4160 |
CONFIG_HEADERS = $CONFIG_HEADERS |
|
4161 |
CONFIG_LINKS = $CONFIG_LINKS |
|
4162 |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
|
4163 |
$ $0 $@ |
|
4164 |
|
|
4165 |
on `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
4166 |
" |
|
4167 |
|
|
4168 |
_ACEOF |
|
4169 |
|
|
4170 |
case $ac_config_files in *" |
|
4171 |
"*) set x $ac_config_files; shift; ac_config_files=$*;; |
|
4172 |
esac |
|
4173 |
|
|
4174 |
case $ac_config_headers in *" |
|
4175 |
"*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
|
4176 |
esac |
|
4177 |
|
|
4178 |
|
|
4179 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
4180 |
# Files that config.status was made for. |
|
4181 |
config_files="$ac_config_files" |
|
4182 |
config_headers="$ac_config_headers" |
|
4183 |
|
|
4184 |
_ACEOF |
|
4185 |
|
|
4186 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
4187 |
ac_cs_usage="\ |
|
4188 |
\`$as_me' instantiates files and other configuration actions |
|
4189 |
from templates according to the current configuration. Unless the files |
|
4190 |
and actions are specified as TAGs, all are instantiated by default. |
|
4191 |
|
|
4192 |
Usage: $0 [OPTION]... [TAG]... |
|
4193 |
|
|
4194 |
-h, --help print this help, then exit |
|
4195 |
-V, --version print version number and configuration settings, then exit |
|
4196 |
--config print configuration, then exit |
|
4197 |
-q, --quiet, --silent |
|
4198 |
do not print progress messages |
|
4199 |
-d, --debug don't remove temporary files |
|
4200 |
--recheck update $as_me by reconfiguring in the same conditions |
|
4201 |
--file=FILE[:TEMPLATE] |
|
4202 |
instantiate the configuration file FILE |
|
4203 |
--header=FILE[:TEMPLATE] |
|
4204 |
instantiate the configuration header FILE |
|
4205 |
|
|
4206 |
Configuration files: |
|
4207 |
$config_files |
|
4208 |
|
|
4209 |
Configuration headers: |
|
4210 |
$config_headers |
|
4211 |
|
|
4212 |
Report bugs to <samo.penic@gmail.com>." |
|
4213 |
|
|
4214 |
_ACEOF |
|
4215 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
4216 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
|
4217 |
ac_cs_version="\\ |
|
4218 |
sizif-helpers config.status 0.2 |
|
4219 |
configured by $0, generated by GNU Autoconf 2.69, |
|
4220 |
with options \\"\$ac_cs_config\\" |
|
4221 |
|
|
4222 |
Copyright (C) 2012 Free Software Foundation, Inc. |
|
4223 |
This config.status script is free software; the Free Software Foundation |
|
4224 |
gives unlimited permission to copy, distribute and modify it." |
|
4225 |
|
|
4226 |
ac_pwd='$ac_pwd' |
|
4227 |
srcdir='$srcdir' |
|
4228 |
test -n "\$AWK" || AWK=awk |
|
4229 |
_ACEOF |
|
4230 |
|
|
4231 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
4232 |
# The default lists apply if the user does not specify any file. |
|
4233 |
ac_need_defaults=: |
|
4234 |
while test $# != 0 |
|
4235 |
do |
|
4236 |
case $1 in |
|
4237 |
--*=?*) |
|
4238 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
4239 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
|
4240 |
ac_shift=: |
|
4241 |
;; |
|
4242 |
--*=) |
|
4243 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
4244 |
ac_optarg= |
|
4245 |
ac_shift=: |
|
4246 |
;; |
|
4247 |
*) |
|
4248 |
ac_option=$1 |
|
4249 |
ac_optarg=$2 |
|
4250 |
ac_shift=shift |
|
4251 |
;; |
|
4252 |
esac |
|
4253 |
|
|
4254 |
case $ac_option in |
|
4255 |
# Handling of the options. |
|
4256 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
|
4257 |
ac_cs_recheck=: ;; |
|
4258 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
|
4259 |
$as_echo "$ac_cs_version"; exit ;; |
|
4260 |
--config | --confi | --conf | --con | --co | --c ) |
|
4261 |
$as_echo "$ac_cs_config"; exit ;; |
|
4262 |
--debug | --debu | --deb | --de | --d | -d ) |
|
4263 |
debug=: ;; |
|
4264 |
--file | --fil | --fi | --f ) |
|
4265 |
$ac_shift |
|
4266 |
case $ac_optarg in |
|
4267 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
4268 |
'') as_fn_error $? "missing file argument" ;; |
|
4269 |
esac |
|
4270 |
as_fn_append CONFIG_FILES " '$ac_optarg'" |
|
4271 |
ac_need_defaults=false;; |
|
4272 |
--header | --heade | --head | --hea ) |
|
4273 |
$ac_shift |
|
4274 |
case $ac_optarg in |
|
4275 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
4276 |
esac |
|
4277 |
as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
|
4278 |
ac_need_defaults=false;; |
|
4279 |
--he | --h) |
|
4280 |
# Conflict between --help and --header |
|
4281 |
as_fn_error $? "ambiguous option: \`$1' |
|
4282 |
Try \`$0 --help' for more information.";; |
|
4283 |
--help | --hel | -h ) |
|
4284 |
$as_echo "$ac_cs_usage"; exit ;; |
|
4285 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
4286 |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
|
4287 |
ac_cs_silent=: ;; |
|
4288 |
|
|
4289 |
# This is an error. |
|
4290 |
-*) as_fn_error $? "unrecognized option: \`$1' |
|
4291 |
Try \`$0 --help' for more information." ;; |
|
4292 |
|
|
4293 |
*) as_fn_append ac_config_targets " $1" |
|
4294 |
ac_need_defaults=false ;; |
|
4295 |
|
|
4296 |
esac |
|
4297 |
shift |
|
4298 |
done |
|
4299 |
|
|
4300 |
ac_configure_extra_args= |
|
4301 |
|
|
4302 |
if $ac_cs_silent; then |
|
4303 |
exec 6>/dev/null |
|
4304 |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
|
4305 |
fi |
|
4306 |
|
|
4307 |
_ACEOF |
|
4308 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
4309 |
if \$ac_cs_recheck; then |
|
4310 |
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
|
4311 |
shift |
|
4312 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
|
4313 |
CONFIG_SHELL='$SHELL' |
|
4314 |
export CONFIG_SHELL |
|
4315 |
exec "\$@" |
|
4316 |
fi |
|
4317 |
|
|
4318 |
_ACEOF |
|
4319 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
4320 |
exec 5>>config.log |
|
4321 |
{ |
|
4322 |
echo |
|
4323 |
sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX |
|
4324 |
@%:@@%:@ Running $as_me. @%:@@%:@ |
|
4325 |
_ASBOX |
|
4326 |
$as_echo "$ac_log" |
|
4327 |
} >&5 |
|
4328 |
|
|
4329 |
_ACEOF |
|
4330 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
4331 |
_ACEOF |
|
4332 |
|
|
4333 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
4334 |
|
|
4335 |
# Handling of arguments. |
|
4336 |
for ac_config_target in $ac_config_targets |
|
4337 |
do |
|
4338 |
case $ac_config_target in |
|
4339 |
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
|
4340 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
|
4341 |
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
|
4342 |
|
|
4343 |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
|
4344 |
esac |
|
4345 |
done |
|
4346 |
|
|
4347 |
|
|
4348 |
# If the user did not use the arguments to specify the items to instantiate, |
|
4349 |
# then the envvar interface is used. Set only those that are not. |
|
4350 |
# We use the long form for the default assignment because of an extremely |
|
4351 |
# bizarre bug on SunOS 4.1.3. |
|
4352 |
if $ac_need_defaults; then |
|
4353 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
|
4354 |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
|
4355 |
fi |
|
4356 |
|
|
4357 |
# Have a temporary directory for convenience. Make it in the build tree |
|
4358 |
# simply because there is no reason against having it here, and in addition, |
|
4359 |
# creating and moving files from /tmp can sometimes cause problems. |
|
4360 |
# Hook for its removal unless debugging. |
|
4361 |
# Note that there is a small window in which the directory will not be cleaned: |
|
4362 |
# after its creation but before its name has been assigned to `$tmp'. |
|
4363 |
$debug || |
|
4364 |
{ |
|
4365 |
tmp= ac_tmp= |
|
4366 |
trap 'exit_status=$? |
|
4367 |
: "${ac_tmp:=$tmp}" |
|
4368 |
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
|
4369 |
' 0 |
|
4370 |
trap 'as_fn_exit 1' 1 2 13 15 |
|
4371 |
} |
|
4372 |
# Create a (secure) tmp directory for tmp files. |
|
4373 |
|
|
4374 |
{ |
|
4375 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
|
4376 |
test -d "$tmp" |
|
4377 |
} || |
|
4378 |
{ |
|
4379 |
tmp=./conf$$-$RANDOM |
|
4380 |
(umask 077 && mkdir "$tmp") |
|
4381 |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
|
4382 |
ac_tmp=$tmp |
|
4383 |
|
|
4384 |
# Set up the scripts for CONFIG_FILES section. |
|
4385 |
# No need to generate them if there are no CONFIG_FILES. |
|
4386 |
# This happens for instance with `./config.status config.h'. |
|
4387 |
if test -n "$CONFIG_FILES"; then |
|
4388 |
|
|
4389 |
|
|
4390 |
ac_cr=`echo X | tr X '\015'` |
|
4391 |
# On cygwin, bash can eat \r inside `` if the user requested igncr. |
|
4392 |
# But we know of no other shell where ac_cr would be empty at this |
|
4393 |
# point, so we can use a bashism as a fallback. |
|
4394 |
if test "x$ac_cr" = x; then |
|
4395 |
eval ac_cr=\$\'\\r\' |
|
4396 |
fi |
|
4397 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
|
4398 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
|
4399 |
ac_cs_awk_cr='\\r' |
|
4400 |
else |
|
4401 |
ac_cs_awk_cr=$ac_cr |
|
4402 |
fi |
|
4403 |
|
|
4404 |
echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
|
4405 |
_ACEOF |
|
4406 |
|
|
4407 |
|
|
4408 |
{ |
|
4409 |
echo "cat >conf$$subs.awk <<_ACEOF" && |
|
4410 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
|
4411 |
echo "_ACEOF" |
|
4412 |
} >conf$$subs.sh || |
|
4413 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
|
4414 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
|
4415 |
ac_delim='%!_!# ' |
|
4416 |
for ac_last_try in false false false false false :; do |
|
4417 |
. ./conf$$subs.sh || |
|
4418 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
|
4419 |
|
|
4420 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
|
4421 |
if test $ac_delim_n = $ac_delim_num; then |
|
4422 |
break |
|
4423 |
elif $ac_last_try; then |
|
4424 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
|
4425 |
else |
|
4426 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
4427 |
fi |
|
4428 |
done |
|
4429 |
rm -f conf$$subs.sh |
|
4430 |
|
|
4431 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
4432 |
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
|
4433 |
_ACEOF |
|
4434 |
sed -n ' |
|
4435 |
h |
|
4436 |
s/^/S["/; s/!.*/"]=/ |
|
4437 |
p |
|
4438 |
g |
|
4439 |
s/^[^!]*!// |
|
4440 |
:repl |
|
4441 |
t repl |
|
4442 |
s/'"$ac_delim"'$// |
|
4443 |
t delim |
|
4444 |
:nl |
|
4445 |
h |
|
4446 |
s/\(.\{148\}\)..*/\1/ |
|
4447 |
t more1 |
|
4448 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
|
4449 |
p |
|
4450 |
n |
|
4451 |
b repl |
|
4452 |
:more1 |
|
4453 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
4454 |
p |
|
4455 |
g |
|
4456 |
s/.\{148\}// |
|
4457 |
t nl |
|
4458 |
:delim |
|
4459 |
h |
|
4460 |
s/\(.\{148\}\)..*/\1/ |
|
4461 |
t more2 |
|
4462 |
s/["\\]/\\&/g; s/^/"/; s/$/"/ |
|
4463 |
p |
|
4464 |
b |
|
4465 |
:more2 |
|
4466 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
4467 |
p |
|
4468 |
g |
|
4469 |
s/.\{148\}// |
|
4470 |
t delim |
|
4471 |
' <conf$$subs.awk | sed ' |
|
4472 |
/^[^""]/{ |
|
4473 |
N |
|
4474 |
s/\n// |
|
4475 |
} |
|
4476 |
' >>$CONFIG_STATUS || ac_write_fail=1 |
|
4477 |
rm -f conf$$subs.awk |
|
4478 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
4479 |
_ACAWK |
|
4480 |
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
|
4481 |
for (key in S) S_is_set[key] = 1 |
|
4482 |
FS = "" |
|
4483 |
|
|
4484 |
} |
|
4485 |
{ |
|
4486 |
line = $ 0 |
|
4487 |
nfields = split(line, field, "@") |
|
4488 |
substed = 0 |
|
4489 |
len = length(field[1]) |
|
4490 |
for (i = 2; i < nfields; i++) { |
|
4491 |
key = field[i] |
|
4492 |
keylen = length(key) |
|
4493 |
if (S_is_set[key]) { |
|
4494 |
value = S[key] |
|
4495 |
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
|
4496 |
len += length(value) + length(field[++i]) |
|
4497 |
substed = 1 |
|
4498 |
} else |
|
4499 |
len += 1 + keylen |
|
4500 |
} |
|
4501 |
|
|
4502 |
print line |
|
4503 |
} |
|
4504 |
|
|
4505 |
_ACAWK |
|
4506 |
_ACEOF |
|
4507 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
4508 |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
|
4509 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
|
4510 |
else |
|
4511 |
cat |
|
4512 |
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
|
4513 |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
|
4514 |
_ACEOF |
|
4515 |
|
|
4516 |
# VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
|
4517 |
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
|
4518 |
# trailing colons and then remove the whole line if VPATH becomes empty |
|
4519 |
# (actually we leave an empty line to preserve line numbers). |
|
4520 |
if test "x$srcdir" = x.; then |
|
4521 |
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
|
4522 |
h |
|
4523 |
s/// |
|
4524 |
s/^/:/ |
|
4525 |
s/[ ]*$/:/ |
|
4526 |
s/:\$(srcdir):/:/g |
|
4527 |
s/:\${srcdir}:/:/g |
|
4528 |
s/:@srcdir@:/:/g |
|
4529 |
s/^:*// |
|
4530 |
s/:*$// |
|
4531 |
x |
|
4532 |
s/\(=[ ]*\).*/\1/ |
|
4533 |
G |
|
4534 |
s/\n// |
|
4535 |
s/^[^=]*=[ ]*$// |
|
4536 |
}' |
|
4537 |
fi |
|
4538 |
|
|
4539 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
4540 |
fi # test -n "$CONFIG_FILES" |
|
4541 |
|
|
4542 |
# Set up the scripts for CONFIG_HEADERS section. |
|
4543 |
# No need to generate them if there are no CONFIG_HEADERS. |
|
4544 |
# This happens for instance with `./config.status Makefile'. |
|
4545 |
if test -n "$CONFIG_HEADERS"; then |
|
4546 |
cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
|
4547 |
BEGIN { |
|
4548 |
_ACEOF |
|
4549 |
|
|
4550 |
# Transform confdefs.h into an awk script `defines.awk', embedded as |
|
4551 |
# here-document in config.status, that substitutes the proper values into |
|
4552 |
# config.h.in to produce config.h. |
|
4553 |
|
|
4554 |
# Create a delimiter string that does not exist in confdefs.h, to ease |
|
4555 |
# handling of long lines. |
|
4556 |
ac_delim='%!_!# ' |
|
4557 |
for ac_last_try in false false :; do |
|
4558 |
ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
|
4559 |
if test -z "$ac_tt"; then |
|
4560 |
break |
|
4561 |
elif $ac_last_try; then |
|
4562 |
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
|
4563 |
else |
|
4564 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
4565 |
fi |
|
4566 |
done |
|
4567 |
|
|
4568 |
# For the awk script, D is an array of macro values keyed by name, |
|
4569 |
# likewise P contains macro parameters if any. Preserve backslash |
|
4570 |
# newline sequences. |
|
4571 |
|
|
4572 |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
|
4573 |
sed -n ' |
|
4574 |
s/.\{148\}/&'"$ac_delim"'/g |
|
4575 |
t rset |
|
4576 |
:rset |
|
4577 |
s/^[ ]*#[ ]*define[ ][ ]*/ / |
|
4578 |
t def |
|
4579 |
d |
|
4580 |
:def |
|
4581 |
s/\\$// |
|
4582 |
t bsnl |
|
4583 |
s/["\\]/\\&/g |
|
4584 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
4585 |
D["\1"]=" \3"/p |
|
4586 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
|
4587 |
d |
|
4588 |
:bsnl |
|
4589 |
s/["\\]/\\&/g |
|
4590 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
4591 |
D["\1"]=" \3\\\\\\n"\\/p |
|
4592 |
t cont |
|
4593 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
|
4594 |
t cont |
|
4595 |
d |
|
4596 |
:cont |
|
4597 |
n |
|
4598 |
s/.\{148\}/&'"$ac_delim"'/g |
|
4599 |
t clear |
|
4600 |
:clear |
|
4601 |
s/\\$// |
|
4602 |
t bsnlc |
|
4603 |
s/["\\]/\\&/g; s/^/"/; s/$/"/p |
|
4604 |
d |
|
4605 |
:bsnlc |
|
4606 |
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
|
4607 |
b cont |
|
4608 |
' <confdefs.h | sed ' |
|
4609 |
s/'"$ac_delim"'/"\\\ |
|
4610 |
"/g' >>$CONFIG_STATUS || ac_write_fail=1 |
|
4611 |
|
|
4612 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
4613 |
for (key in D) D_is_set[key] = 1 |
|
4614 |
FS = "" |
|
4615 |
} |
|
4616 |
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
|
4617 |
line = \$ 0 |
|
4618 |
split(line, arg, " ") |
|
4619 |
if (arg[1] == "#") { |
|
4620 |
defundef = arg[2] |
|
4621 |
mac1 = arg[3] |
|
4622 |
} else { |
|
4623 |
defundef = substr(arg[1], 2) |
|
4624 |
mac1 = arg[2] |
|
4625 |
} |
|
4626 |
split(mac1, mac2, "(") #) |
|
4627 |
macro = mac2[1] |
|
4628 |
prefix = substr(line, 1, index(line, defundef) - 1) |
|
4629 |
if (D_is_set[macro]) { |
|
4630 |
# Preserve the white space surrounding the "#". |
|
4631 |
print prefix "define", macro P[macro] D[macro] |
|
4632 |
next |
|
4633 |
} else { |
|
4634 |
# Replace #undef with comments. This is necessary, for example, |
|
4635 |
# in the case of _POSIX_SOURCE, which is predefined and required |
|
4636 |
# on some systems where configure will not decide to define it. |
|
4637 |
if (defundef == "undef") { |
|
4638 |
print "/*", prefix defundef, macro, "*/" |
|
4639 |
next |
|
4640 |
} |
|
4641 |
} |
|
4642 |
} |
|
4643 |
{ print } |
|
4644 |
_ACAWK |
|
4645 |
_ACEOF |
|
4646 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
4647 |
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
|
4648 |
fi # test -n "$CONFIG_HEADERS" |
|
4649 |
|
|
4650 |
|
|
4651 |
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " |
|
4652 |
shift |
|
4653 |
for ac_tag |
|
4654 |
do |
|
4655 |
case $ac_tag in |
|
4656 |
:[FHLC]) ac_mode=$ac_tag; continue;; |
|
4657 |
esac |
|
4658 |
case $ac_mode$ac_tag in |
|
4659 |
:[FHL]*:*);; |
|
4660 |
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
|
4661 |
:[FH]-) ac_tag=-:-;; |
|
4662 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
|
4663 |
esac |
|
4664 |
ac_save_IFS=$IFS |
|
4665 |
IFS=: |
|
4666 |
set x $ac_tag |
|
4667 |
IFS=$ac_save_IFS |
|
4668 |
shift |
|
4669 |
ac_file=$1 |
|
4670 |
shift |
|
4671 |
|
|
4672 |
case $ac_mode in |
|
4673 |
:L) ac_source=$1;; |
|
4674 |
:[FH]) |
|
4675 |
ac_file_inputs= |
|
4676 |
for ac_f |
|
4677 |
do |
|
4678 |
case $ac_f in |
|
4679 |
-) ac_f="$ac_tmp/stdin";; |
|
4680 |
*) # Look for the file first in the build tree, then in the source tree |
|
4681 |
# (if the path is not absolute). The absolute path cannot be DOS-style, |
|
4682 |
# because $ac_f cannot contain `:'. |
|
4683 |
test -f "$ac_f" || |
|
4684 |
case $ac_f in |
|
4685 |
[\\/$]*) false;; |
|
4686 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
|
4687 |
esac || |
|
4688 |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
|
4689 |
esac |
|
4690 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
|
4691 |
as_fn_append ac_file_inputs " '$ac_f'" |
|
4692 |
done |
|
4693 |
|
|
4694 |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
|
4695 |
# use $as_me), people would be surprised to read: |
|
4696 |
# /* config.h. Generated by config.status. */ |
|
4697 |
configure_input='Generated from '` |
|
4698 |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
|
4699 |
`' by configure.' |
|
4700 |
if test x"$ac_file" != x-; then |
|
4701 |
configure_input="$ac_file. $configure_input" |
|
4702 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
|
4703 |
$as_echo "$as_me: creating $ac_file" >&6;} |
|
4704 |
fi |
|
4705 |
# Neutralize special characters interpreted by sed in replacement strings. |
|
4706 |
case $configure_input in #( |
|
4707 |
*\&* | *\|* | *\\* ) |
|
4708 |
ac_sed_conf_input=`$as_echo "$configure_input" | |
|
4709 |
sed 's/[\\\\&|]/\\\\&/g'`;; #( |
|
4710 |
*) ac_sed_conf_input=$configure_input;; |
|
4711 |
esac |
|
4712 |
|
|
4713 |
case $ac_tag in |
|
4714 |
*:-:* | *:-) cat >"$ac_tmp/stdin" \ |
|
4715 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
|
4716 |
esac |
|
4717 |
;; |
|
4718 |
esac |
|
4719 |
|
|
4720 |
ac_dir=`$as_dirname -- "$ac_file" || |
|
4721 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
4722 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
|
4723 |
X"$ac_file" : 'X\(//\)$' \| \ |
|
4724 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
|
4725 |
$as_echo X"$ac_file" | |
|
4726 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
4727 |
s//\1/ |
|
4728 |
q |
|
4729 |
} |
|
4730 |
/^X\(\/\/\)[^/].*/{ |
|
4731 |
s//\1/ |
|
4732 |
q |
|
4733 |
} |
|
4734 |
/^X\(\/\/\)$/{ |
|
4735 |
s//\1/ |
|
4736 |
q |
|
4737 |
} |
|
4738 |
/^X\(\/\).*/{ |
|
4739 |
s//\1/ |
|
4740 |
q |
|
4741 |
} |
|
4742 |
s/.*/./; q'` |
|
4743 |
as_dir="$ac_dir"; as_fn_mkdir_p |
|
4744 |
ac_builddir=. |
|
4745 |
|
|
4746 |
case "$ac_dir" in |
|
4747 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
4748 |
*) |
|
4749 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
|
4750 |
# A ".." for each directory in $ac_dir_suffix. |
|
4751 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
|
4752 |
case $ac_top_builddir_sub in |
|
4753 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
4754 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
4755 |
esac ;; |
|
4756 |
esac |
|
4757 |
ac_abs_top_builddir=$ac_pwd |
|
4758 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
4759 |
# for backward compatibility: |
|
4760 |
ac_top_builddir=$ac_top_build_prefix |
|
4761 |
|
|
4762 |
case $srcdir in |
|
4763 |
.) # We are building in place. |
|
4764 |
ac_srcdir=. |
|
4765 |
ac_top_srcdir=$ac_top_builddir_sub |
|
4766 |
ac_abs_top_srcdir=$ac_pwd ;; |
|
4767 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
|
4768 |
ac_srcdir=$srcdir$ac_dir_suffix; |
|
4769 |
ac_top_srcdir=$srcdir |
|
4770 |
ac_abs_top_srcdir=$srcdir ;; |
|
4771 |
*) # Relative name. |
|
4772 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
4773 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
4774 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
4775 |
esac |
|
4776 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
4777 |
|
|
4778 |
|
|
4779 |
case $ac_mode in |
|
4780 |
:F) |
|
4781 |
# |
|
4782 |
# CONFIG_FILE |
|
4783 |
# |
|
4784 |
|
|
4785 |
_ACEOF |
|
4786 |
|
|
4787 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
4788 |
# If the template does not know about datarootdir, expand it. |
|
4789 |
# FIXME: This hack should be removed a few years after 2.60. |
|
4790 |
ac_datarootdir_hack=; ac_datarootdir_seen= |
|
4791 |
ac_sed_dataroot=' |
|
4792 |
/datarootdir/ { |
|
4793 |
p |
|
4794 |
q |
|
4795 |
} |
|
4796 |
/@datadir@/p |
|
4797 |
/@docdir@/p |
|
4798 |
/@infodir@/p |
|
4799 |
/@localedir@/p |
|
4800 |
/@mandir@/p' |
|
4801 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
|
4802 |
*datarootdir*) ac_datarootdir_seen=yes;; |
|
4803 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
|
4804 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
|
4805 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
|
4806 |
_ACEOF |
|
4807 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
4808 |
ac_datarootdir_hack=' |
|
4809 |
s&@datadir@&$datadir&g |
|
4810 |
s&@docdir@&$docdir&g |
|
4811 |
s&@infodir@&$infodir&g |
|
4812 |
s&@localedir@&$localedir&g |
|
4813 |
s&@mandir@&$mandir&g |
|
4814 |
s&\\\${datarootdir}&$datarootdir&g' ;; |
|
4815 |
esac |
|
4816 |
_ACEOF |
|
4817 |
|
|
4818 |
# Neutralize VPATH when `$srcdir' = `.'. |
|
4819 |
# Shell code in configure.ac might set extrasub. |
|
4820 |
# FIXME: do we really want to maintain this feature? |
|
4821 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
4822 |
ac_sed_extra="$ac_vpsub |
|
4823 |
$extrasub |
|
4824 |
_ACEOF |
|
4825 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
4826 |
:t |
|
4827 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
|
4828 |
s|@configure_input@|$ac_sed_conf_input|;t t |
|
4829 |
s&@top_builddir@&$ac_top_builddir_sub&;t t |
|
4830 |
s&@top_build_prefix@&$ac_top_build_prefix&;t t |
|
4831 |
s&@srcdir@&$ac_srcdir&;t t |
|
4832 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t |
|
4833 |
s&@top_srcdir@&$ac_top_srcdir&;t t |
|
4834 |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
|
4835 |
s&@builddir@&$ac_builddir&;t t |
|
4836 |
s&@abs_builddir@&$ac_abs_builddir&;t t |
|
4837 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
|
4838 |
$ac_datarootdir_hack |
|
4839 |
" |
|
4840 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
|
4841 |
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
4842 |
|
|
4843 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
|
4844 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
|
4845 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
|
4846 |
"$ac_tmp/out"`; test -z "$ac_out"; } && |
|
4847 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|
4848 |
which seems to be undefined. Please make sure it is defined" >&5 |
|
4849 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|
4850 |
which seems to be undefined. Please make sure it is defined" >&2;} |
|
4851 |
|
|
4852 |
rm -f "$ac_tmp/stdin" |
|
4853 |
case $ac_file in |
|
4854 |
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
|
4855 |
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
|
4856 |
esac \ |
|
4857 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
4858 |
;; |
|
4859 |
:H) |
|
4860 |
# |
|
4861 |
# CONFIG_HEADER |
|
4862 |
# |
|
4863 |
if test x"$ac_file" != x-; then |
|
4864 |
{ |
|
4865 |
$as_echo "/* $configure_input */" \ |
|
4866 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
|
4867 |
} >"$ac_tmp/config.h" \ |
|
4868 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
4869 |
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
|
4870 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
|
4871 |
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
|
4872 |
else |
|
4873 |
rm -f "$ac_file" |
|
4874 |
mv "$ac_tmp/config.h" "$ac_file" \ |
|
4875 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
4876 |
fi |
|
4877 |
else |
|
4878 |
$as_echo "/* $configure_input */" \ |
|
4879 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
|
4880 |
|| as_fn_error $? "could not create -" "$LINENO" 5 |
|
4881 |
fi |
|
4882 |
;; |
|
4883 |
|
|
4884 |
|
|
4885 |
esac |
|
4886 |
|
|
4887 |
done # for ac_tag |
|
4888 |
|
|
4889 |
|
|
4890 |
as_fn_exit 0 |
|
4891 |
_ACEOF |
|
4892 |
ac_clean_files=$ac_clean_files_save |
|
4893 |
|
|
4894 |
test $ac_write_fail = 0 || |
|
4895 |
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
|
4896 |
|
|
4897 |
|
|
4898 |
# configure is writing to config.log, and then calls config.status. |
|
4899 |
# config.status does its own redirection, appending to config.log. |
|
4900 |
# Unfortunately, on DOS this fails, as config.log is still kept open |
|
4901 |
# by configure, so config.status won't be able to write to it; its |
|
4902 |
# output is simply discarded. So we exec the FD to /dev/null, |
|
4903 |
# effectively closing config.log, so it can be properly (re)opened and |
|
4904 |
# appended to by config.status. When coming back to configure, we |
|
4905 |
# need to make the FD available again. |
|
4906 |
if test "$no_create" != yes; then |
|
4907 |
ac_cs_success=: |
|
4908 |
ac_config_status_args= |
|
4909 |
test "$silent" = yes && |
|
4910 |
ac_config_status_args="$ac_config_status_args --quiet" |
|
4911 |
exec 5>/dev/null |
|
4912 |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
|
4913 |
exec 5>>config.log |
|
4914 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
|
4915 |
# would make configure fail if this is the last instruction. |
|
4916 |
$ac_cs_success || as_fn_exit 1 |
|
4917 |
fi |
|
4918 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
|
4919 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
|
4920 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
|
4921 |
fi |
|
4922 |
|