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