0 | |
@%:@! /bin/sh
|
1 | |
@%:@ Guess values for system-dependent variables and create Makefiles.
|
2 | |
@%:@ Generated by GNU Autoconf 2.69 for unrtf 0.21.3.
|
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 @S|@? 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 "@S|@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 @S|@as_val. Take advantage of shells that can avoid forks. The arguments
|
391 | |
@%:@ must be portable across @S|@(()) 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 @S|@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 | |
LIB@&t@OBJS=
|
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.3'
|
583 | |
PACKAGE_STRING='unrtf 0.21.3'
|
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 | |
LIB@&t@OBJS
|
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__untar
|
660 | |
am__tar
|
661 | |
AMTAR
|
662 | |
am__leading_dot
|
663 | |
SET_MAKE
|
664 | |
AWK
|
665 | |
mkdir_p
|
666 | |
MKDIR_P
|
667 | |
INSTALL_STRIP_PROGRAM
|
668 | |
STRIP
|
669 | |
install_sh
|
670 | |
MAKEINFO
|
671 | |
AUTOHEADER
|
672 | |
AUTOMAKE
|
673 | |
AUTOCONF
|
674 | |
ACLOCAL
|
675 | |
VERSION
|
676 | |
PACKAGE
|
677 | |
CYGPATH_W
|
678 | |
am__isrc
|
679 | |
INSTALL_DATA
|
680 | |
INSTALL_SCRIPT
|
681 | |
INSTALL_PROGRAM
|
682 | |
target_alias
|
683 | |
host_alias
|
684 | |
build_alias
|
685 | |
LIBS
|
686 | |
ECHO_T
|
687 | |
ECHO_N
|
688 | |
ECHO_C
|
689 | |
DEFS
|
690 | |
mandir
|
691 | |
localedir
|
692 | |
libdir
|
693 | |
psdir
|
694 | |
pdfdir
|
695 | |
dvidir
|
696 | |
htmldir
|
697 | |
infodir
|
698 | |
docdir
|
699 | |
oldincludedir
|
700 | |
includedir
|
701 | |
localstatedir
|
702 | |
sharedstatedir
|
703 | |
sysconfdir
|
704 | |
datadir
|
705 | |
datarootdir
|
706 | |
libexecdir
|
707 | |
sbindir
|
708 | |
bindir
|
709 | |
program_transform_name
|
710 | |
prefix
|
711 | |
exec_prefix
|
712 | |
PACKAGE_URL
|
713 | |
PACKAGE_BUGREPORT
|
714 | |
PACKAGE_STRING
|
715 | |
PACKAGE_VERSION
|
716 | |
PACKAGE_TARNAME
|
717 | |
PACKAGE_NAME
|
718 | |
PATH_SEPARATOR
|
719 | |
SHELL'
|
720 | |
ac_subst_files=''
|
721 | |
ac_user_opts='
|
722 | |
enable_option_checking
|
723 | |
enable_maintainer_mode
|
724 | |
enable_dependency_tracking
|
725 | |
'
|
726 | |
ac_precious_vars='build_alias
|
727 | |
host_alias
|
728 | |
target_alias
|
729 | |
CC
|
730 | |
CFLAGS
|
731 | |
LDFLAGS
|
732 | |
LIBS
|
733 | |
CPPFLAGS
|
734 | |
CPP'
|
735 | |
|
736 | |
|
737 | |
# Initialize some variables set by options.
|
738 | |
ac_init_help=
|
739 | |
ac_init_version=false
|
740 | |
ac_unrecognized_opts=
|
741 | |
ac_unrecognized_sep=
|
742 | |
# The variables have the same names as the options, with
|
743 | |
# dashes changed to underlines.
|
744 | |
cache_file=/dev/null
|
745 | |
exec_prefix=NONE
|
746 | |
no_create=
|
747 | |
no_recursion=
|
748 | |
prefix=NONE
|
749 | |
program_prefix=NONE
|
750 | |
program_suffix=NONE
|
751 | |
program_transform_name=s,x,x,
|
752 | |
silent=
|
753 | |
site=
|
754 | |
srcdir=
|
755 | |
verbose=
|
756 | |
x_includes=NONE
|
757 | |
x_libraries=NONE
|
758 | |
|
759 | |
# Installation directory options.
|
760 | |
# These are left unexpanded so users can "make install exec_prefix=/foo"
|
761 | |
# and all the variables that are supposed to be based on exec_prefix
|
762 | |
# by default will actually change.
|
763 | |
# Use braces instead of parens because sh, perl, etc. also accept them.
|
764 | |
# (The list follows the same order as the GNU Coding Standards.)
|
765 | |
bindir='${exec_prefix}/bin'
|
766 | |
sbindir='${exec_prefix}/sbin'
|
767 | |
libexecdir='${exec_prefix}/libexec'
|
768 | |
datarootdir='${prefix}/share'
|
769 | |
datadir='${datarootdir}'
|
770 | |
sysconfdir='${prefix}/etc'
|
771 | |
sharedstatedir='${prefix}/com'
|
772 | |
localstatedir='${prefix}/var'
|
773 | |
includedir='${prefix}/include'
|
774 | |
oldincludedir='/usr/include'
|
775 | |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
|
776 | |
infodir='${datarootdir}/info'
|
777 | |
htmldir='${docdir}'
|
778 | |
dvidir='${docdir}'
|
779 | |
pdfdir='${docdir}'
|
780 | |
psdir='${docdir}'
|
781 | |
libdir='${exec_prefix}/lib'
|
782 | |
localedir='${datarootdir}/locale'
|
783 | |
mandir='${datarootdir}/man'
|
784 | |
|
785 | |
ac_prev=
|
786 | |
ac_dashdash=
|
787 | |
for ac_option
|
788 | |
do
|
789 | |
# If the previous option needs an argument, assign it.
|
790 | |
if test -n "$ac_prev"; then
|
791 | |
eval $ac_prev=\$ac_option
|
792 | |
ac_prev=
|
793 | |
continue
|
794 | |
fi
|
795 | |
|
796 | |
case $ac_option in
|
797 | |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
798 | |
*=) ac_optarg= ;;
|
799 | |
*) ac_optarg=yes ;;
|
800 | |
esac
|
801 | |
|
802 | |
# Accept the important Cygnus configure options, so we can diagnose typos.
|
803 | |
|
804 | |
case $ac_dashdash$ac_option in
|
805 | |
--)
|
806 | |
ac_dashdash=yes ;;
|
807 | |
|
808 | |
-bindir | --bindir | --bindi | --bind | --bin | --bi)
|
809 | |
ac_prev=bindir ;;
|
810 | |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
811 | |
bindir=$ac_optarg ;;
|
812 | |
|
813 | |
-build | --build | --buil | --bui | --bu)
|
814 | |
ac_prev=build_alias ;;
|
815 | |
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
816 | |
build_alias=$ac_optarg ;;
|
817 | |
|
818 | |
-cache-file | --cache-file | --cache-fil | --cache-fi \
|
819 | |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
820 | |
ac_prev=cache_file ;;
|
821 | |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
822 | |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
823 | |
cache_file=$ac_optarg ;;
|
824 | |
|
825 | |
--config-cache | -C)
|
826 | |
cache_file=config.cache ;;
|
827 | |
|
828 | |
-datadir | --datadir | --datadi | --datad)
|
829 | |
ac_prev=datadir ;;
|
830 | |
-datadir=* | --datadir=* | --datadi=* | --datad=*)
|
831 | |
datadir=$ac_optarg ;;
|
832 | |
|
833 | |
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
|
834 | |
| --dataroo | --dataro | --datar)
|
835 | |
ac_prev=datarootdir ;;
|
836 | |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
|
837 | |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
|
838 | |
datarootdir=$ac_optarg ;;
|
839 | |
|
840 | |
-disable-* | --disable-*)
|
841 | |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
842 | |
# Reject names that are not valid shell variable names.
|
843 | |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
844 | |
as_fn_error $? "invalid feature name: $ac_useropt"
|
845 | |
ac_useropt_orig=$ac_useropt
|
846 | |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
847 | |
case $ac_user_opts in
|
848 | |
*"
|
849 | |
"enable_$ac_useropt"
|
850 | |
"*) ;;
|
851 | |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
|
852 | |
ac_unrecognized_sep=', ';;
|
853 | |
esac
|
854 | |
eval enable_$ac_useropt=no ;;
|
855 | |
|
856 | |
-docdir | --docdir | --docdi | --doc | --do)
|
857 | |
ac_prev=docdir ;;
|
858 | |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
|
859 | |
docdir=$ac_optarg ;;
|
860 | |
|
861 | |
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
|
862 | |
ac_prev=dvidir ;;
|
863 | |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
|
864 | |
dvidir=$ac_optarg ;;
|
865 | |
|
866 | |
-enable-* | --enable-*)
|
867 | |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
868 | |
# Reject names that are not valid shell variable names.
|
869 | |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
870 | |
as_fn_error $? "invalid feature name: $ac_useropt"
|
871 | |
ac_useropt_orig=$ac_useropt
|
872 | |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
873 | |
case $ac_user_opts in
|
874 | |
*"
|
875 | |
"enable_$ac_useropt"
|
876 | |
"*) ;;
|
877 | |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
|
878 | |
ac_unrecognized_sep=', ';;
|
879 | |
esac
|
880 | |
eval enable_$ac_useropt=\$ac_optarg ;;
|
881 | |
|
882 | |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
883 | |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
884 | |
| --exec | --exe | --ex)
|
885 | |
ac_prev=exec_prefix ;;
|
886 | |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
887 | |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
888 | |
| --exec=* | --exe=* | --ex=*)
|
889 | |
exec_prefix=$ac_optarg ;;
|
890 | |
|
891 | |
-gas | --gas | --ga | --g)
|
892 | |
# Obsolete; use --with-gas.
|
893 | |
with_gas=yes ;;
|
894 | |
|
895 | |
-help | --help | --hel | --he | -h)
|
896 | |
ac_init_help=long ;;
|
897 | |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
898 | |
ac_init_help=recursive ;;
|
899 | |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
900 | |
ac_init_help=short ;;
|
901 | |
|
902 | |
-host | --host | --hos | --ho)
|
903 | |
ac_prev=host_alias ;;
|
904 | |
-host=* | --host=* | --hos=* | --ho=*)
|
905 | |
host_alias=$ac_optarg ;;
|
906 | |
|
907 | |
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
|
908 | |
ac_prev=htmldir ;;
|
909 | |
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
|
910 | |
| --ht=*)
|
911 | |
htmldir=$ac_optarg ;;
|
912 | |
|
913 | |
-includedir | --includedir | --includedi | --included | --include \
|
914 | |
| --includ | --inclu | --incl | --inc)
|
915 | |
ac_prev=includedir ;;
|
916 | |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
917 | |
| --includ=* | --inclu=* | --incl=* | --inc=*)
|
918 | |
includedir=$ac_optarg ;;
|
919 | |
|
920 | |
-infodir | --infodir | --infodi | --infod | --info | --inf)
|
921 | |
ac_prev=infodir ;;
|
922 | |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
923 | |
infodir=$ac_optarg ;;
|
924 | |
|
925 | |
-libdir | --libdir | --libdi | --libd)
|
926 | |
ac_prev=libdir ;;
|
927 | |
-libdir=* | --libdir=* | --libdi=* | --libd=*)
|
928 | |
libdir=$ac_optarg ;;
|
929 | |
|
930 | |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
931 | |
| --libexe | --libex | --libe)
|
932 | |
ac_prev=libexecdir ;;
|
933 | |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
934 | |
| --libexe=* | --libex=* | --libe=*)
|
935 | |
libexecdir=$ac_optarg ;;
|
936 | |
|
937 | |
-localedir | --localedir | --localedi | --localed | --locale)
|
938 | |
ac_prev=localedir ;;
|
939 | |
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
|
940 | |
localedir=$ac_optarg ;;
|
941 | |
|
942 | |
-localstatedir | --localstatedir | --localstatedi | --localstated \
|
943 | |
| --localstate | --localstat | --localsta | --localst | --locals)
|
944 | |
ac_prev=localstatedir ;;
|
945 | |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
946 | |
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
|
947 | |
localstatedir=$ac_optarg ;;
|
948 | |
|
949 | |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
950 | |
ac_prev=mandir ;;
|
951 | |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
952 | |
mandir=$ac_optarg ;;
|
953 | |
|
954 | |
-nfp | --nfp | --nf)
|
955 | |
# Obsolete; use --without-fp.
|
956 | |
with_fp=no ;;
|
957 | |
|
958 | |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
959 | |
| --no-cr | --no-c | -n)
|
960 | |
no_create=yes ;;
|
961 | |
|
962 | |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
963 | |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
964 | |
no_recursion=yes ;;
|
965 | |
|
966 | |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
967 | |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
968 | |
| --oldin | --oldi | --old | --ol | --o)
|
969 | |
ac_prev=oldincludedir ;;
|
970 | |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
971 | |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
972 | |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
973 | |
oldincludedir=$ac_optarg ;;
|
974 | |
|
975 | |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
976 | |
ac_prev=prefix ;;
|
977 | |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
978 | |
prefix=$ac_optarg ;;
|
979 | |
|
980 | |
-program-prefix | --program-prefix | --program-prefi | --program-pref \
|
981 | |
| --program-pre | --program-pr | --program-p)
|
982 | |
ac_prev=program_prefix ;;
|
983 | |
-program-prefix=* | --program-prefix=* | --program-prefi=* \
|
984 | |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
985 | |
program_prefix=$ac_optarg ;;
|
986 | |
|
987 | |
-program-suffix | --program-suffix | --program-suffi | --program-suff \
|
988 | |
| --program-suf | --program-su | --program-s)
|
989 | |
ac_prev=program_suffix ;;
|
990 | |
-program-suffix=* | --program-suffix=* | --program-suffi=* \
|
991 | |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
992 | |
program_suffix=$ac_optarg ;;
|
993 | |
|
994 | |
-program-transform-name | --program-transform-name \
|
995 | |
| --program-transform-nam | --program-transform-na \
|
996 | |
| --program-transform-n | --program-transform- \
|
997 | |
| --program-transform | --program-transfor \
|
998 | |
| --program-transfo | --program-transf \
|
999 | |
| --program-trans | --program-tran \
|
1000 | |
| --progr-tra | --program-tr | --program-t)
|
1001 | |
ac_prev=program_transform_name ;;
|
1002 | |
-program-transform-name=* | --program-transform-name=* \
|
1003 | |
| --program-transform-nam=* | --program-transform-na=* \
|
1004 | |
| --program-transform-n=* | --program-transform-=* \
|
1005 | |
| --program-transform=* | --program-transfor=* \
|
1006 | |
| --program-transfo=* | --program-transf=* \
|
1007 | |
| --program-trans=* | --program-tran=* \
|
1008 | |
| --progr-tra=* | --program-tr=* | --program-t=*)
|
1009 | |
program_transform_name=$ac_optarg ;;
|
1010 | |
|
1011 | |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
|
1012 | |
ac_prev=pdfdir ;;
|
1013 | |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
|
1014 | |
pdfdir=$ac_optarg ;;
|
1015 | |
|
1016 | |
-psdir | --psdir | --psdi | --psd | --ps)
|
1017 | |
ac_prev=psdir ;;
|
1018 | |
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
|
1019 | |
psdir=$ac_optarg ;;
|
1020 | |
|
1021 | |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
1022 | |
| -silent | --silent | --silen | --sile | --sil)
|
1023 | |
silent=yes ;;
|
1024 | |
|
1025 | |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
1026 | |
ac_prev=sbindir ;;
|
1027 | |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
1028 | |
| --sbi=* | --sb=*)
|
1029 | |
sbindir=$ac_optarg ;;
|
1030 | |
|
1031 | |
-sharedstatedir | --sharedstatedir | --sharedstatedi \
|
1032 | |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
1033 | |
| --sharedst | --shareds | --shared | --share | --shar \
|
1034 | |
| --sha | --sh)
|
1035 | |
ac_prev=sharedstatedir ;;
|
1036 | |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
1037 | |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
1038 | |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
1039 | |
| --sha=* | --sh=*)
|
1040 | |
sharedstatedir=$ac_optarg ;;
|
1041 | |
|
1042 | |
-site | --site | --sit)
|
1043 | |
ac_prev=site ;;
|
1044 | |
-site=* | --site=* | --sit=*)
|
1045 | |
site=$ac_optarg ;;
|
1046 | |
|
1047 | |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
1048 | |
ac_prev=srcdir ;;
|
1049 | |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
1050 | |
srcdir=$ac_optarg ;;
|
1051 | |
|
1052 | |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
1053 | |
| --syscon | --sysco | --sysc | --sys | --sy)
|
1054 | |
ac_prev=sysconfdir ;;
|
1055 | |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
1056 | |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
1057 | |
sysconfdir=$ac_optarg ;;
|
1058 | |
|
1059 | |
-target | --target | --targe | --targ | --tar | --ta | --t)
|
1060 | |
ac_prev=target_alias ;;
|
1061 | |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
1062 | |
target_alias=$ac_optarg ;;
|
1063 | |
|
1064 | |
-v | -verbose | --verbose | --verbos | --verbo | --verb)
|
1065 | |
verbose=yes ;;
|
1066 | |
|
1067 | |
-version | --version | --versio | --versi | --vers | -V)
|
1068 | |
ac_init_version=: ;;
|
1069 | |
|
1070 | |
-with-* | --with-*)
|
1071 | |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
1072 | |
# Reject names that are not valid shell variable names.
|
1073 | |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1074 | |
as_fn_error $? "invalid package name: $ac_useropt"
|
1075 | |
ac_useropt_orig=$ac_useropt
|
1076 | |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1077 | |
case $ac_user_opts in
|
1078 | |
*"
|
1079 | |
"with_$ac_useropt"
|
1080 | |
"*) ;;
|
1081 | |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
|
1082 | |
ac_unrecognized_sep=', ';;
|
1083 | |
esac
|
1084 | |
eval with_$ac_useropt=\$ac_optarg ;;
|
1085 | |
|
1086 | |
-without-* | --without-*)
|
1087 | |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
1088 | |
# Reject names that are not valid shell variable names.
|
1089 | |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1090 | |
as_fn_error $? "invalid package name: $ac_useropt"
|
1091 | |
ac_useropt_orig=$ac_useropt
|
1092 | |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1093 | |
case $ac_user_opts in
|
1094 | |
*"
|
1095 | |
"with_$ac_useropt"
|
1096 | |
"*) ;;
|
1097 | |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
|
1098 | |
ac_unrecognized_sep=', ';;
|
1099 | |
esac
|
1100 | |
eval with_$ac_useropt=no ;;
|
1101 | |
|
1102 | |
--x)
|
1103 | |
# Obsolete; use --with-x.
|
1104 | |
with_x=yes ;;
|
1105 | |
|
1106 | |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
1107 | |
| --x-incl | --x-inc | --x-in | --x-i)
|
1108 | |
ac_prev=x_includes ;;
|
1109 | |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
1110 | |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
1111 | |
x_includes=$ac_optarg ;;
|
1112 | |
|
1113 | |
-x-libraries | --x-libraries | --x-librarie | --x-librari \
|
1114 | |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
1115 | |
ac_prev=x_libraries ;;
|
1116 | |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
1117 | |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
1118 | |
x_libraries=$ac_optarg ;;
|
1119 | |
|
1120 | |
-*) as_fn_error $? "unrecognized option: \`$ac_option'
|
1121 | |
Try \`$0 --help' for more information"
|
1122 | |
;;
|
1123 | |
|
1124 | |
*=*)
|
1125 | |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
1126 | |
# Reject names that are not valid shell variable names.
|
1127 | |
case $ac_envvar in #(
|
1128 | |
'' | [0-9]* | *[!_$as_cr_alnum]* )
|
1129 | |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
|
1130 | |
esac
|
1131 | |
eval $ac_envvar=\$ac_optarg
|
1132 | |
export $ac_envvar ;;
|
1133 | |
|
1134 | |
*)
|
1135 | |
# FIXME: should be removed in autoconf 3.0.
|
1136 | |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
1137 | |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
1138 | |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
1139 | |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
|
1140 | |
;;
|
1141 | |
|
1142 | |
esac
|
1143 | |
done
|
1144 | |
|
1145 | |
if test -n "$ac_prev"; then
|
1146 | |
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
1147 | |
as_fn_error $? "missing argument to $ac_option"
|
1148 | |
fi
|
1149 | |
|
1150 | |
if test -n "$ac_unrecognized_opts"; then
|
1151 | |
case $enable_option_checking in
|
1152 | |
no) ;;
|
1153 | |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
|
1154 | |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
1155 | |
esac
|
1156 | |
fi
|
1157 | |
|
1158 | |
# Check all directory arguments for consistency.
|
1159 | |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
1160 | |
datadir sysconfdir sharedstatedir localstatedir includedir \
|
1161 | |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
1162 | |
libdir localedir mandir
|
1163 | |
do
|
1164 | |
eval ac_val=\$$ac_var
|
1165 | |
# Remove trailing slashes.
|
1166 | |
case $ac_val in
|
1167 | |
*/ )
|
1168 | |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
|
1169 | |
eval $ac_var=\$ac_val;;
|
1170 | |
esac
|
1171 | |
# Be sure to have absolute directory names.
|
1172 | |
case $ac_val in
|
1173 | |
[\\/$]* | ?:[\\/]* ) continue;;
|
1174 | |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
1175 | |
esac
|
1176 | |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
|
1177 | |
done
|
1178 | |
|
1179 | |
# There might be people who depend on the old broken behavior: `$host'
|
1180 | |
# used to hold the argument of --host etc.
|
1181 | |
# FIXME: To remove some day.
|
1182 | |
build=$build_alias
|
1183 | |
host=$host_alias
|
1184 | |
target=$target_alias
|
1185 | |
|
1186 | |
# FIXME: To remove some day.
|
1187 | |
if test "x$host_alias" != x; then
|
1188 | |
if test "x$build_alias" = x; then
|
1189 | |
cross_compiling=maybe
|
1190 | |
elif test "x$build_alias" != "x$host_alias"; then
|
1191 | |
cross_compiling=yes
|
1192 | |
fi
|
1193 | |
fi
|
1194 | |
|
1195 | |
ac_tool_prefix=
|
1196 | |
test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
1197 | |
|
1198 | |
test "$silent" = yes && exec 6>/dev/null
|
1199 | |
|
1200 | |
|
1201 | |
ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
1202 | |
ac_ls_di=`ls -di .` &&
|
1203 | |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
1204 | |
as_fn_error $? "working directory cannot be determined"
|
1205 | |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
1206 | |
as_fn_error $? "pwd does not report name of working directory"
|
1207 | |
|
1208 | |
|
1209 | |
# Find the source files, if location was not specified.
|
1210 | |
if test -z "$srcdir"; then
|
1211 | |
ac_srcdir_defaulted=yes
|
1212 | |
# Try the directory containing this script, then the parent directory.
|
1213 | |
ac_confdir=`$as_dirname -- "$as_myself" ||
|
1214 | |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
1215 | |
X"$as_myself" : 'X\(//\)[^/]' \| \
|
1216 | |
X"$as_myself" : 'X\(//\)$' \| \
|
1217 | |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
1218 | |
$as_echo X"$as_myself" |
|
1219 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
1220 | |
s//\1/
|
1221 | |
q
|
1222 | |
}
|
1223 | |
/^X\(\/\/\)[^/].*/{
|
1224 | |
s//\1/
|
1225 | |
q
|
1226 | |
}
|
1227 | |
/^X\(\/\/\)$/{
|
1228 | |
s//\1/
|
1229 | |
q
|
1230 | |
}
|
1231 | |
/^X\(\/\).*/{
|
1232 | |
s//\1/
|
1233 | |
q
|
1234 | |
}
|
1235 | |
s/.*/./; q'`
|
1236 | |
srcdir=$ac_confdir
|
1237 | |
if test ! -r "$srcdir/$ac_unique_file"; then
|
1238 | |
srcdir=..
|
1239 | |
fi
|
1240 | |
else
|
1241 | |
ac_srcdir_defaulted=no
|
1242 | |
fi
|
1243 | |
if test ! -r "$srcdir/$ac_unique_file"; then
|
1244 | |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
1245 | |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
|
1246 | |
fi
|
1247 | |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
1248 | |
ac_abs_confdir=`(
|
1249 | |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
|
1250 | |
pwd)`
|
1251 | |
# When building in place, set srcdir=.
|
1252 | |
if test "$ac_abs_confdir" = "$ac_pwd"; then
|
1253 | |
srcdir=.
|
1254 | |
fi
|
1255 | |
# Remove unnecessary trailing slashes from srcdir.
|
1256 | |
# Double slashes in file names in object file debugging info
|
1257 | |
# mess up M-x gdb in Emacs.
|
1258 | |
case $srcdir in
|
1259 | |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
|
1260 | |
esac
|
1261 | |
for ac_var in $ac_precious_vars; do
|
1262 | |
eval ac_env_${ac_var}_set=\${${ac_var}+set}
|
1263 | |
eval ac_env_${ac_var}_value=\$${ac_var}
|
1264 | |
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
|
1265 | |
eval ac_cv_env_${ac_var}_value=\$${ac_var}
|
1266 | |
done
|
1267 | |
|
1268 | |
#
|
1269 | |
# Report the --help message.
|
1270 | |
#
|
1271 | |
if test "$ac_init_help" = "long"; then
|
1272 | |
# Omit some internal or obsolete options to make the list less imposing.
|
1273 | |
# This message is too long to be a string in the A/UX 3.1 sh.
|
1274 | |
cat <<_ACEOF
|
1275 | |
\`configure' configures unrtf 0.21.3 to adapt to many kinds of systems.
|
1276 | |
|
1277 | |
Usage: $0 [OPTION]... [VAR=VALUE]...
|
1278 | |
|
1279 | |
To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
1280 | |
VAR=VALUE. See below for descriptions of some of the useful variables.
|
1281 | |
|
1282 | |
Defaults for the options are specified in brackets.
|
1283 | |
|
1284 | |
Configuration:
|
1285 | |
-h, --help display this help and exit
|
1286 | |
--help=short display options specific to this package
|
1287 | |
--help=recursive display the short help of all the included packages
|
1288 | |
-V, --version display version information and exit
|
1289 | |
-q, --quiet, --silent do not print \`checking ...' messages
|
1290 | |
--cache-file=FILE cache test results in FILE [disabled]
|
1291 | |
-C, --config-cache alias for \`--cache-file=config.cache'
|
1292 | |
-n, --no-create do not create output files
|
1293 | |
--srcdir=DIR find the sources in DIR [configure dir or \`..']
|
1294 | |
|
1295 | |
Installation directories:
|
1296 | |
--prefix=PREFIX install architecture-independent files in PREFIX
|
1297 | |
@<:@@S|@ac_default_prefix@:>@
|
1298 | |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
1299 | |
@<:@PREFIX@:>@
|
1300 | |
|
1301 | |
By default, \`make install' will install all the files in
|
1302 | |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
1303 | |
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
1304 | |
for instance \`--prefix=\$HOME'.
|
1305 | |
|
1306 | |
For better control, use the options below.
|
1307 | |
|
1308 | |
Fine tuning of the installation directories:
|
1309 | |
--bindir=DIR user executables [EPREFIX/bin]
|
1310 | |
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
1311 | |
--libexecdir=DIR program executables [EPREFIX/libexec]
|
1312 | |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
1313 | |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
1314 | |
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
1315 | |
--libdir=DIR object code libraries [EPREFIX/lib]
|
1316 | |
--includedir=DIR C header files [PREFIX/include]
|
1317 | |
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
1318 | |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
1319 | |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
1320 | |
--infodir=DIR info documentation [DATAROOTDIR/info]
|
1321 | |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
1322 | |
--mandir=DIR man documentation [DATAROOTDIR/man]
|
1323 | |
--docdir=DIR documentation root @<:@DATAROOTDIR/doc/unrtf@:>@
|
1324 | |
--htmldir=DIR html documentation [DOCDIR]
|
1325 | |
--dvidir=DIR dvi documentation [DOCDIR]
|
1326 | |
--pdfdir=DIR pdf documentation [DOCDIR]
|
1327 | |
--psdir=DIR ps documentation [DOCDIR]
|
1328 | |
_ACEOF
|
1329 | |
|
1330 | |
cat <<\_ACEOF
|
1331 | |
|
1332 | |
Program names:
|
1333 | |
--program-prefix=PREFIX prepend PREFIX to installed program names
|
1334 | |
--program-suffix=SUFFIX append SUFFIX to installed program names
|
1335 | |
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
1336 | |
|
1337 | |
System types:
|
1338 | |
--build=BUILD configure for building on BUILD [guessed]
|
1339 | |
--host=HOST cross-compile to build programs to run on HOST [BUILD]
|
1340 | |
_ACEOF
|
1341 | |
fi
|
1342 | |
|
1343 | |
if test -n "$ac_init_help"; then
|
1344 | |
case $ac_init_help in
|
1345 | |
short | recursive ) echo "Configuration of unrtf 0.21.3:";;
|
1346 | |
esac
|
1347 | |
cat <<\_ACEOF
|
1348 | |
|
1349 | |
Optional Features:
|
1350 | |
--disable-option-checking ignore unrecognized --enable/--with options
|
1351 | |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
1352 | |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
1353 | |
--enable-maintainer-mode
|
1354 | |
enable make rules and dependencies not useful (and
|
1355 | |
sometimes confusing) to the casual installer
|
1356 | |
--enable-dependency-tracking
|
1357 | |
do not reject slow dependency extractors
|
1358 | |
--disable-dependency-tracking
|
1359 | |
speeds up one-time build
|
1360 | |
|
1361 | |
Some influential environment variables:
|
1362 | |
CC C compiler command
|
1363 | |
CFLAGS C compiler flags
|
1364 | |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
1365 | |
nonstandard directory <lib dir>
|
1366 | |
LIBS libraries to pass to the linker, e.g. -l<library>
|
1367 | |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
1368 | |
you have headers in a nonstandard directory <include dir>
|
1369 | |
CPP C preprocessor
|
1370 | |
|
1371 | |
Use these variables to override the choices made by `configure' or to help
|
1372 | |
it to find libraries and programs with nonstandard names/locations.
|
1373 | |
|
1374 | |
Report bugs to <bug-unrtf@gnu.org>.
|
1375 | |
_ACEOF
|
1376 | |
ac_status=$?
|
1377 | |
fi
|
1378 | |
|
1379 | |
if test "$ac_init_help" = "recursive"; then
|
1380 | |
# If there are subdirs, report their specific --help.
|
1381 | |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
1382 | |
test -d "$ac_dir" ||
|
1383 | |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
|
1384 | |
continue
|
1385 | |
ac_builddir=.
|
1386 | |
|
1387 | |
case "$ac_dir" in
|
1388 | |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
1389 | |
*)
|
1390 | |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
1391 | |
# A ".." for each directory in $ac_dir_suffix.
|
1392 | |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
1393 | |
case $ac_top_builddir_sub in
|
1394 | |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
1395 | |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
1396 | |
esac ;;
|
1397 | |
esac
|
1398 | |
ac_abs_top_builddir=$ac_pwd
|
1399 | |
ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
1400 | |
# for backward compatibility:
|
1401 | |
ac_top_builddir=$ac_top_build_prefix
|
1402 | |
|
1403 | |
case $srcdir in
|
1404 | |
.) # We are building in place.
|
1405 | |
ac_srcdir=.
|
1406 | |
ac_top_srcdir=$ac_top_builddir_sub
|
1407 | |
ac_abs_top_srcdir=$ac_pwd ;;
|
1408 | |
[\\/]* | ?:[\\/]* ) # Absolute name.
|
1409 | |
ac_srcdir=$srcdir$ac_dir_suffix;
|
1410 | |
ac_top_srcdir=$srcdir
|
1411 | |
ac_abs_top_srcdir=$srcdir ;;
|
1412 | |
*) # Relative name.
|
1413 | |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
1414 | |
ac_top_srcdir=$ac_top_build_prefix$srcdir
|
1415 | |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
1416 | |
esac
|
1417 | |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
1418 | |
|
1419 | |
cd "$ac_dir" || { ac_status=$?; continue; }
|
1420 | |
# Check for guested configure.
|
1421 | |
if test -f "$ac_srcdir/configure.gnu"; then
|
1422 | |
echo &&
|
1423 | |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
1424 | |
elif test -f "$ac_srcdir/configure"; then
|
1425 | |
echo &&
|
1426 | |
$SHELL "$ac_srcdir/configure" --help=recursive
|
1427 | |
else
|
1428 | |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
1429 | |
fi || ac_status=$?
|
1430 | |
cd "$ac_pwd" || { ac_status=$?; break; }
|
1431 | |
done
|
1432 | |
fi
|
1433 | |
|
1434 | |
test -n "$ac_init_help" && exit $ac_status
|
1435 | |
if $ac_init_version; then
|
1436 | |
cat <<\_ACEOF
|
1437 | |
unrtf configure 0.21.3
|
1438 | |
generated by GNU Autoconf 2.69
|
1439 | |
|
1440 | |
Copyright (C) 2012 Free Software Foundation, Inc.
|
1441 | |
This configure script is free software; the Free Software Foundation
|
1442 | |
gives unlimited permission to copy, distribute and modify it.
|
1443 | |
_ACEOF
|
1444 | |
exit
|
1445 | |
fi
|
1446 | |
|
1447 | |
## ------------------------ ##
|
1448 | |
## Autoconf initialization. ##
|
1449 | |
## ------------------------ ##
|
1450 | |
|
1451 | |
@%:@ ac_fn_c_try_compile LINENO
|
1452 | |
@%:@ --------------------------
|
1453 | |
@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
|
1454 | |
ac_fn_c_try_compile ()
|
1455 | |
{
|
1456 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1457 | |
rm -f conftest.$ac_objext
|
1458 | |
if { { ac_try="$ac_compile"
|
1459 | |
case "(($ac_try" in
|
1460 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1461 | |
*) ac_try_echo=$ac_try;;
|
1462 | |
esac
|
1463 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1464 | |
$as_echo "$ac_try_echo"; } >&5
|
1465 | |
(eval "$ac_compile") 2>conftest.err
|
1466 | |
ac_status=$?
|
1467 | |
if test -s conftest.err; then
|
1468 | |
grep -v '^ *+' conftest.err >conftest.er1
|
1469 | |
cat conftest.er1 >&5
|
1470 | |
mv -f conftest.er1 conftest.err
|
1471 | |
fi
|
1472 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1473 | |
test $ac_status = 0; } && {
|
1474 | |
test -z "$ac_c_werror_flag" ||
|
1475 | |
test ! -s conftest.err
|
1476 | |
} && test -s conftest.$ac_objext; then :
|
1477 | |
ac_retval=0
|
1478 | |
else
|
1479 | |
$as_echo "$as_me: failed program was:" >&5
|
1480 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
1481 | |
|
1482 | |
ac_retval=1
|
1483 | |
fi
|
1484 | |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1485 | |
as_fn_set_status $ac_retval
|
1486 | |
|
1487 | |
} @%:@ ac_fn_c_try_compile
|
1488 | |
|
1489 | |
@%:@ ac_fn_c_try_cpp LINENO
|
1490 | |
@%:@ ----------------------
|
1491 | |
@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
|
1492 | |
ac_fn_c_try_cpp ()
|
1493 | |
{
|
1494 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1495 | |
if { { ac_try="$ac_cpp conftest.$ac_ext"
|
1496 | |
case "(($ac_try" in
|
1497 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1498 | |
*) ac_try_echo=$ac_try;;
|
1499 | |
esac
|
1500 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1501 | |
$as_echo "$ac_try_echo"; } >&5
|
1502 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
1503 | |
ac_status=$?
|
1504 | |
if test -s conftest.err; then
|
1505 | |
grep -v '^ *+' conftest.err >conftest.er1
|
1506 | |
cat conftest.er1 >&5
|
1507 | |
mv -f conftest.er1 conftest.err
|
1508 | |
fi
|
1509 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1510 | |
test $ac_status = 0; } > conftest.i && {
|
1511 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
1512 | |
test ! -s conftest.err
|
1513 | |
}; then :
|
1514 | |
ac_retval=0
|
1515 | |
else
|
1516 | |
$as_echo "$as_me: failed program was:" >&5
|
1517 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
1518 | |
|
1519 | |
ac_retval=1
|
1520 | |
fi
|
1521 | |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1522 | |
as_fn_set_status $ac_retval
|
1523 | |
|
1524 | |
} @%:@ ac_fn_c_try_cpp
|
1525 | |
|
1526 | |
@%:@ ac_fn_c_try_run LINENO
|
1527 | |
@%:@ ----------------------
|
1528 | |
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
|
1529 | |
@%:@ that executables *can* be run.
|
1530 | |
ac_fn_c_try_run ()
|
1531 | |
{
|
1532 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1533 | |
if { { ac_try="$ac_link"
|
1534 | |
case "(($ac_try" in
|
1535 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1536 | |
*) ac_try_echo=$ac_try;;
|
1537 | |
esac
|
1538 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1539 | |
$as_echo "$ac_try_echo"; } >&5
|
1540 | |
(eval "$ac_link") 2>&5
|
1541 | |
ac_status=$?
|
1542 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1543 | |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
1544 | |
{ { case "(($ac_try" in
|
1545 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1546 | |
*) ac_try_echo=$ac_try;;
|
1547 | |
esac
|
1548 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1549 | |
$as_echo "$ac_try_echo"; } >&5
|
1550 | |
(eval "$ac_try") 2>&5
|
1551 | |
ac_status=$?
|
1552 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1553 | |
test $ac_status = 0; }; }; then :
|
1554 | |
ac_retval=0
|
1555 | |
else
|
1556 | |
$as_echo "$as_me: program exited with status $ac_status" >&5
|
1557 | |
$as_echo "$as_me: failed program was:" >&5
|
1558 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
1559 | |
|
1560 | |
ac_retval=$ac_status
|
1561 | |
fi
|
1562 | |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
1563 | |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1564 | |
as_fn_set_status $ac_retval
|
1565 | |
|
1566 | |
} @%:@ ac_fn_c_try_run
|
1567 | |
|
1568 | |
@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
1569 | |
@%:@ -------------------------------------------------------
|
1570 | |
@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
1571 | |
@%:@ the include files in INCLUDES and setting the cache variable VAR
|
1572 | |
@%:@ accordingly.
|
1573 | |
ac_fn_c_check_header_mongrel ()
|
1574 | |
{
|
1575 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1576 | |
if eval \${$3+:} false; then :
|
1577 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1578 | |
$as_echo_n "checking for $2... " >&6; }
|
1579 | |
if eval \${$3+:} false; then :
|
1580 | |
$as_echo_n "(cached) " >&6
|
1581 | |
fi
|
1582 | |
eval ac_res=\$$3
|
1583 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1584 | |
$as_echo "$ac_res" >&6; }
|
1585 | |
else
|
1586 | |
# Is the header compilable?
|
1587 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
1588 | |
$as_echo_n "checking $2 usability... " >&6; }
|
1589 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1590 | |
/* end confdefs.h. */
|
1591 | |
$4
|
1592 | |
@%:@include <$2>
|
1593 | |
_ACEOF
|
1594 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
1595 | |
ac_header_compiler=yes
|
1596 | |
else
|
1597 | |
ac_header_compiler=no
|
1598 | |
fi
|
1599 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
1600 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
1601 | |
$as_echo "$ac_header_compiler" >&6; }
|
1602 | |
|
1603 | |
# Is the header present?
|
1604 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
1605 | |
$as_echo_n "checking $2 presence... " >&6; }
|
1606 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1607 | |
/* end confdefs.h. */
|
1608 | |
@%:@include <$2>
|
1609 | |
_ACEOF
|
1610 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
1611 | |
ac_header_preproc=yes
|
1612 | |
else
|
1613 | |
ac_header_preproc=no
|
1614 | |
fi
|
1615 | |
rm -f conftest.err conftest.i conftest.$ac_ext
|
1616 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
1617 | |
$as_echo "$ac_header_preproc" >&6; }
|
1618 | |
|
1619 | |
# So? What about this header?
|
1620 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
|
1621 | |
yes:no: )
|
1622 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
1623 | |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
1624 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
1625 | |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
1626 | |
;;
|
1627 | |
no:yes:* )
|
1628 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
1629 | |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
1630 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
1631 | |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
1632 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
1633 | |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
1634 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
1635 | |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
1636 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
1637 | |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
1638 | |
( $as_echo "## -------------------------------- ##
|
1639 | |
## Report this to bug-unrtf@gnu.org ##
|
1640 | |
## -------------------------------- ##"
|
1641 | |
) | sed "s/^/$as_me: WARNING: /" >&2
|
1642 | |
;;
|
1643 | |
esac
|
1644 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1645 | |
$as_echo_n "checking for $2... " >&6; }
|
1646 | |
if eval \${$3+:} false; then :
|
1647 | |
$as_echo_n "(cached) " >&6
|
1648 | |
else
|
1649 | |
eval "$3=\$ac_header_compiler"
|
1650 | |
fi
|
1651 | |
eval ac_res=\$$3
|
1652 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1653 | |
$as_echo "$ac_res" >&6; }
|
1654 | |
fi
|
1655 | |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1656 | |
|
1657 | |
} @%:@ ac_fn_c_check_header_mongrel
|
1658 | |
|
1659 | |
@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
1660 | |
@%:@ -------------------------------------------------------
|
1661 | |
@%:@ Tests whether HEADER exists and can be compiled using the include files in
|
1662 | |
@%:@ INCLUDES, setting the cache variable VAR accordingly.
|
1663 | |
ac_fn_c_check_header_compile ()
|
1664 | |
{
|
1665 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1666 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1667 | |
$as_echo_n "checking for $2... " >&6; }
|
1668 | |
if eval \${$3+:} false; then :
|
1669 | |
$as_echo_n "(cached) " >&6
|
1670 | |
else
|
1671 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1672 | |
/* end confdefs.h. */
|
1673 | |
$4
|
1674 | |
@%:@include <$2>
|
1675 | |
_ACEOF
|
1676 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
1677 | |
eval "$3=yes"
|
1678 | |
else
|
1679 | |
eval "$3=no"
|
1680 | |
fi
|
1681 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
1682 | |
fi
|
1683 | |
eval ac_res=\$$3
|
1684 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1685 | |
$as_echo "$ac_res" >&6; }
|
1686 | |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1687 | |
|
1688 | |
} @%:@ ac_fn_c_check_header_compile
|
1689 | |
|
1690 | |
@%:@ ac_fn_c_try_link LINENO
|
1691 | |
@%:@ -----------------------
|
1692 | |
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
|
1693 | |
ac_fn_c_try_link ()
|
1694 | |
{
|
1695 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1696 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
1697 | |
if { { ac_try="$ac_link"
|
1698 | |
case "(($ac_try" in
|
1699 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1700 | |
*) ac_try_echo=$ac_try;;
|
1701 | |
esac
|
1702 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1703 | |
$as_echo "$ac_try_echo"; } >&5
|
1704 | |
(eval "$ac_link") 2>conftest.err
|
1705 | |
ac_status=$?
|
1706 | |
if test -s conftest.err; then
|
1707 | |
grep -v '^ *+' conftest.err >conftest.er1
|
1708 | |
cat conftest.er1 >&5
|
1709 | |
mv -f conftest.er1 conftest.err
|
1710 | |
fi
|
1711 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1712 | |
test $ac_status = 0; } && {
|
1713 | |
test -z "$ac_c_werror_flag" ||
|
1714 | |
test ! -s conftest.err
|
1715 | |
} && test -s conftest$ac_exeext && {
|
1716 | |
test "$cross_compiling" = yes ||
|
1717 | |
test -x conftest$ac_exeext
|
1718 | |
}; then :
|
1719 | |
ac_retval=0
|
1720 | |
else
|
1721 | |
$as_echo "$as_me: failed program was:" >&5
|
1722 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
1723 | |
|
1724 | |
ac_retval=1
|
1725 | |
fi
|
1726 | |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
1727 | |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
1728 | |
# interfere with the next link command; also delete a directory that is
|
1729 | |
# left behind by Apple's compiler. We do this before executing the actions.
|
1730 | |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
1731 | |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1732 | |
as_fn_set_status $ac_retval
|
1733 | |
|
1734 | |
} @%:@ ac_fn_c_try_link
|
1735 | |
|
1736 | |
@%:@ ac_fn_c_check_func LINENO FUNC VAR
|
1737 | |
@%:@ ----------------------------------
|
1738 | |
@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
|
1739 | |
ac_fn_c_check_func ()
|
1740 | |
{
|
1741 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1742 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1743 | |
$as_echo_n "checking for $2... " >&6; }
|
1744 | |
if eval \${$3+:} false; then :
|
1745 | |
$as_echo_n "(cached) " >&6
|
1746 | |
else
|
1747 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1748 | |
/* end confdefs.h. */
|
1749 | |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
1750 | |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
1751 | |
#define $2 innocuous_$2
|
1752 | |
|
1753 | |
/* System header to define __stub macros and hopefully few prototypes,
|
1754 | |
which can conflict with char $2 (); below.
|
1755 | |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
1756 | |
<limits.h> exists even on freestanding compilers. */
|
1757 | |
|
1758 | |
#ifdef __STDC__
|
1759 | |
# include <limits.h>
|
1760 | |
#else
|
1761 | |
# include <assert.h>
|
1762 | |
#endif
|
1763 | |
|
1764 | |
#undef $2
|
1765 | |
|
1766 | |
/* Override any GCC internal prototype to avoid an error.
|
1767 | |
Use char because int might match the return type of a GCC
|
1768 | |
builtin and then its argument prototype would still apply. */
|
1769 | |
#ifdef __cplusplus
|
1770 | |
extern "C"
|
1771 | |
#endif
|
1772 | |
char $2 ();
|
1773 | |
/* The GNU C library defines this for functions which it implements
|
1774 | |
to always fail with ENOSYS. Some functions are actually named
|
1775 | |
something starting with __ and the normal name is an alias. */
|
1776 | |
#if defined __stub_$2 || defined __stub___$2
|
1777 | |
choke me
|
1778 | |
#endif
|
1779 | |
|
1780 | |
int
|
1781 | |
main ()
|
1782 | |
{
|
1783 | |
return $2 ();
|
1784 | |
;
|
1785 | |
return 0;
|
1786 | |
}
|
1787 | |
_ACEOF
|
1788 | |
if ac_fn_c_try_link "$LINENO"; then :
|
1789 | |
eval "$3=yes"
|
1790 | |
else
|
1791 | |
eval "$3=no"
|
1792 | |
fi
|
1793 | |
rm -f core conftest.err conftest.$ac_objext \
|
1794 | |
conftest$ac_exeext conftest.$ac_ext
|
1795 | |
fi
|
1796 | |
eval ac_res=\$$3
|
1797 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1798 | |
$as_echo "$ac_res" >&6; }
|
1799 | |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1800 | |
|
1801 | |
} @%:@ ac_fn_c_check_func
|
1802 | |
cat >config.log <<_ACEOF
|
1803 | |
This file contains any messages produced by compilers while
|
1804 | |
running configure, to aid debugging if configure makes a mistake.
|
1805 | |
|
1806 | |
It was created by unrtf $as_me 0.21.3, which was
|
1807 | |
generated by GNU Autoconf 2.69. Invocation command line was
|
1808 | |
|
1809 | |
$ $0 $@
|
1810 | |
|
1811 | |
_ACEOF
|
1812 | |
exec 5>>config.log
|
1813 | |
{
|
1814 | |
cat <<_ASUNAME
|
1815 | |
## --------- ##
|
1816 | |
## Platform. ##
|
1817 | |
## --------- ##
|
1818 | |
|
1819 | |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
1820 | |
uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
1821 | |
uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
1822 | |
uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
1823 | |
uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
1824 | |
|
1825 | |
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
1826 | |
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
1827 | |
|
1828 | |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
1829 | |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
1830 | |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
1831 | |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
1832 | |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
1833 | |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
1834 | |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
1835 | |
|
1836 | |
_ASUNAME
|
1837 | |
|
1838 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1839 | |
for as_dir in $PATH
|
1840 | |
do
|
1841 | |
IFS=$as_save_IFS
|
1842 | |
test -z "$as_dir" && as_dir=.
|
1843 | |
$as_echo "PATH: $as_dir"
|
1844 | |
done
|
1845 | |
IFS=$as_save_IFS
|
1846 | |
|
1847 | |
} >&5
|
1848 | |
|
1849 | |
cat >&5 <<_ACEOF
|
1850 | |
|
1851 | |
|
1852 | |
## ----------- ##
|
1853 | |
## Core tests. ##
|
1854 | |
## ----------- ##
|
1855 | |
|
1856 | |
_ACEOF
|
1857 | |
|
1858 | |
|
1859 | |
# Keep a trace of the command line.
|
1860 | |
# Strip out --no-create and --no-recursion so they do not pile up.
|
1861 | |
# Strip out --silent because we don't want to record it for future runs.
|
1862 | |
# Also quote any args containing shell meta-characters.
|
1863 | |
# Make two passes to allow for proper duplicate-argument suppression.
|
1864 | |
ac_configure_args=
|
1865 | |
ac_configure_args0=
|
1866 | |
ac_configure_args1=
|
1867 | |
ac_must_keep_next=false
|
1868 | |
for ac_pass in 1 2
|
1869 | |
do
|
1870 | |
for ac_arg
|
1871 | |
do
|
1872 | |
case $ac_arg in
|
1873 | |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
1874 | |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
1875 | |
| -silent | --silent | --silen | --sile | --sil)
|
1876 | |
continue ;;
|
1877 | |
*\'*)
|
1878 | |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1879 | |
esac
|
1880 | |
case $ac_pass in
|
1881 | |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
1882 | |
2)
|
1883 | |
as_fn_append ac_configure_args1 " '$ac_arg'"
|
1884 | |
if test $ac_must_keep_next = true; then
|
1885 | |
ac_must_keep_next=false # Got value, back to normal.
|
1886 | |
else
|
1887 | |
case $ac_arg in
|
1888 | |
*=* | --config-cache | -C | -disable-* | --disable-* \
|
1889 | |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
1890 | |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
1891 | |
| -with-* | --with-* | -without-* | --without-* | --x)
|
1892 | |
case "$ac_configure_args0 " in
|
1893 | |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
1894 | |
esac
|
1895 | |
;;
|
1896 | |
-* ) ac_must_keep_next=true ;;
|
1897 | |
esac
|
1898 | |
fi
|
1899 | |
as_fn_append ac_configure_args " '$ac_arg'"
|
1900 | |
;;
|
1901 | |
esac
|
1902 | |
done
|
1903 | |
done
|
1904 | |
{ ac_configure_args0=; unset ac_configure_args0;}
|
1905 | |
{ ac_configure_args1=; unset ac_configure_args1;}
|
1906 | |
|
1907 | |
# When interrupted or exit'd, cleanup temporary files, and complete
|
1908 | |
# config.log. We remove comments because anyway the quotes in there
|
1909 | |
# would cause problems or look ugly.
|
1910 | |
# WARNING: Use '\'' to represent an apostrophe within the trap.
|
1911 | |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
1912 | |
trap 'exit_status=$?
|
1913 | |
# Save into config.log some information that might help in debugging.
|
1914 | |
{
|
1915 | |
echo
|
1916 | |
|
1917 | |
$as_echo "## ---------------- ##
|
1918 | |
## Cache variables. ##
|
1919 | |
## ---------------- ##"
|
1920 | |
echo
|
1921 | |
# The following way of writing the cache mishandles newlines in values,
|
1922 | |
(
|
1923 | |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
|
1924 | |
eval ac_val=\$$ac_var
|
1925 | |
case $ac_val in #(
|
1926 | |
*${as_nl}*)
|
1927 | |
case $ac_var in #(
|
1928 | |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
1929 | |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
1930 | |
esac
|
1931 | |
case $ac_var in #(
|
1932 | |
_ | IFS | as_nl) ;; #(
|
1933 | |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
1934 | |
*) { eval $ac_var=; unset $ac_var;} ;;
|
1935 | |
esac ;;
|
1936 | |
esac
|
1937 | |
done
|
1938 | |
(set) 2>&1 |
|
1939 | |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
|
1940 | |
*${as_nl}ac_space=\ *)
|
1941 | |
sed -n \
|
1942 | |
"s/'\''/'\''\\\\'\'''\''/g;
|
1943 | |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
|
1944 | |
;; #(
|
1945 | |
*)
|
1946 | |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
1947 | |
;;
|
1948 | |
esac |
|
1949 | |
sort
|
1950 | |
)
|
1951 | |
echo
|
1952 | |
|
1953 | |
$as_echo "## ----------------- ##
|
1954 | |
## Output variables. ##
|
1955 | |
## ----------------- ##"
|
1956 | |
echo
|
1957 | |
for ac_var in $ac_subst_vars
|
1958 | |
do
|
1959 | |
eval ac_val=\$$ac_var
|
1960 | |
case $ac_val in
|
1961 | |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
1962 | |
esac
|
1963 | |
$as_echo "$ac_var='\''$ac_val'\''"
|
1964 | |
done | sort
|
1965 | |
echo
|
1966 | |
|
1967 | |
if test -n "$ac_subst_files"; then
|
1968 | |
$as_echo "## ------------------- ##
|
1969 | |
## File substitutions. ##
|
1970 | |
## ------------------- ##"
|
1971 | |
echo
|
1972 | |
for ac_var in $ac_subst_files
|
1973 | |
do
|
1974 | |
eval ac_val=\$$ac_var
|
1975 | |
case $ac_val in
|
1976 | |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
1977 | |
esac
|
1978 | |
$as_echo "$ac_var='\''$ac_val'\''"
|
1979 | |
done | sort
|
1980 | |
echo
|
1981 | |
fi
|
1982 | |
|
1983 | |
if test -s confdefs.h; then
|
1984 | |
$as_echo "## ----------- ##
|
1985 | |
## confdefs.h. ##
|
1986 | |
## ----------- ##"
|
1987 | |
echo
|
1988 | |
cat confdefs.h
|
1989 | |
echo
|
1990 | |
fi
|
1991 | |
test "$ac_signal" != 0 &&
|
1992 | |
$as_echo "$as_me: caught signal $ac_signal"
|
1993 | |
$as_echo "$as_me: exit $exit_status"
|
1994 | |
} >&5
|
1995 | |
rm -f core *.core core.conftest.* &&
|
1996 | |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
1997 | |
exit $exit_status
|
1998 | |
' 0
|
1999 | |
for ac_signal in 1 2 13 15; do
|
2000 | |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
2001 | |
done
|
2002 | |
ac_signal=0
|
2003 | |
|
2004 | |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
2005 | |
rm -f -r conftest* confdefs.h
|
2006 | |
|
2007 | |
$as_echo "/* confdefs.h */" > confdefs.h
|
2008 | |
|
2009 | |
# Predefined preprocessor variables.
|
2010 | |
|
2011 | |
cat >>confdefs.h <<_ACEOF
|
2012 | |
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
|
2013 | |
_ACEOF
|
2014 | |
|
2015 | |
cat >>confdefs.h <<_ACEOF
|
2016 | |
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
2017 | |
_ACEOF
|
2018 | |
|
2019 | |
cat >>confdefs.h <<_ACEOF
|
2020 | |
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
|
2021 | |
_ACEOF
|
2022 | |
|
2023 | |
cat >>confdefs.h <<_ACEOF
|
2024 | |
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
|
2025 | |
_ACEOF
|
2026 | |
|
2027 | |
cat >>confdefs.h <<_ACEOF
|
2028 | |
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
2029 | |
_ACEOF
|
2030 | |
|
2031 | |
cat >>confdefs.h <<_ACEOF
|
2032 | |
@%:@define PACKAGE_URL "$PACKAGE_URL"
|
2033 | |
_ACEOF
|
2034 | |
|
2035 | |
|
2036 | |
# Let the site file select an alternate cache file if it wants to.
|
2037 | |
# Prefer an explicitly selected file to automatically selected ones.
|
2038 | |
ac_site_file1=NONE
|
2039 | |
ac_site_file2=NONE
|
2040 | |
if test -n "$CONFIG_SITE"; then
|
2041 | |
# We do not want a PATH search for config.site.
|
2042 | |
case $CONFIG_SITE in @%:@((
|
2043 | |
-*) ac_site_file1=./$CONFIG_SITE;;
|
2044 | |
*/*) ac_site_file1=$CONFIG_SITE;;
|
2045 | |
*) ac_site_file1=./$CONFIG_SITE;;
|
2046 | |
esac
|
2047 | |
elif test "x$prefix" != xNONE; then
|
2048 | |
ac_site_file1=$prefix/share/config.site
|
2049 | |
ac_site_file2=$prefix/etc/config.site
|
2050 | |
else
|
2051 | |
ac_site_file1=$ac_default_prefix/share/config.site
|
2052 | |
ac_site_file2=$ac_default_prefix/etc/config.site
|
2053 | |
fi
|
2054 | |
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
2055 | |
do
|
2056 | |
test "x$ac_site_file" = xNONE && continue
|
2057 | |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
2058 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
2059 | |
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
2060 | |
sed 's/^/| /' "$ac_site_file" >&5
|
2061 | |
. "$ac_site_file" \
|
2062 | |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2063 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2064 | |
as_fn_error $? "failed to load site script $ac_site_file
|
2065 | |
See \`config.log' for more details" "$LINENO" 5; }
|
2066 | |
fi
|
2067 | |
done
|
2068 | |
|
2069 | |
if test -r "$cache_file"; then
|
2070 | |
# Some versions of bash will fail to source /dev/null (special files
|
2071 | |
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
2072 | |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
2073 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
2074 | |
$as_echo "$as_me: loading cache $cache_file" >&6;}
|
2075 | |
case $cache_file in
|
2076 | |
[\\/]* | ?:[\\/]* ) . "$cache_file";;
|
2077 | |
*) . "./$cache_file";;
|
2078 | |
esac
|
2079 | |
fi
|
2080 | |
else
|
2081 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
2082 | |
$as_echo "$as_me: creating cache $cache_file" >&6;}
|
2083 | |
>$cache_file
|
2084 | |
fi
|
2085 | |
|
2086 | |
# Check that the precious variables saved in the cache have kept the same
|
2087 | |
# value.
|
2088 | |
ac_cache_corrupted=false
|
2089 | |
for ac_var in $ac_precious_vars; do
|
2090 | |
eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
2091 | |
eval ac_new_set=\$ac_env_${ac_var}_set
|
2092 | |
eval ac_old_val=\$ac_cv_env_${ac_var}_value
|
2093 | |
eval ac_new_val=\$ac_env_${ac_var}_value
|
2094 | |
case $ac_old_set,$ac_new_set in
|
2095 | |
set,)
|
2096 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
2097 | |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
2098 | |
ac_cache_corrupted=: ;;
|
2099 | |
,set)
|
2100 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
2101 | |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
2102 | |
ac_cache_corrupted=: ;;
|
2103 | |
,);;
|
2104 | |
*)
|
2105 | |
if test "x$ac_old_val" != "x$ac_new_val"; then
|
2106 | |
# differences in whitespace do not lead to failure.
|
2107 | |
ac_old_val_w=`echo x $ac_old_val`
|
2108 | |
ac_new_val_w=`echo x $ac_new_val`
|
2109 | |
if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
2110 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
2111 | |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
2112 | |
ac_cache_corrupted=:
|
2113 | |
else
|
2114 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
2115 | |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
2116 | |
eval $ac_var=\$ac_old_val
|
2117 | |
fi
|
2118 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
2119 | |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
2120 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
2121 | |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
2122 | |
fi;;
|
2123 | |
esac
|
2124 | |
# Pass precious variables to config.status.
|
2125 | |
if test "$ac_new_set" = set; then
|
2126 | |
case $ac_new_val in
|
2127 | |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
2128 | |
*) ac_arg=$ac_var=$ac_new_val ;;
|
2129 | |
esac
|
2130 | |
case " $ac_configure_args " in
|
2131 | |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
2132 | |
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
2133 | |
esac
|
2134 | |
fi
|
2135 | |
done
|
2136 | |
if $ac_cache_corrupted; then
|
2137 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2138 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2139 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
2140 | |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
2141 | |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
2142 | |
fi
|
2143 | |
## -------------------- ##
|
2144 | |
## Main body of script. ##
|
2145 | |
## -------------------- ##
|
2146 | |
|
2147 | |
ac_ext=c
|
2148 | |
ac_cpp='$CPP $CPPFLAGS'
|
2149 | |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
2150 | |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2151 | |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2152 | |
|
2153 | |
|
2154 | |
|
2155 | |
ac_aux_dir=
|
2156 | |
for ac_dir in config "$srcdir"/config; do
|
2157 | |
if test -f "$ac_dir/install-sh"; then
|
2158 | |
ac_aux_dir=$ac_dir
|
2159 | |
ac_install_sh="$ac_aux_dir/install-sh -c"
|
2160 | |
break
|
2161 | |
elif test -f "$ac_dir/install.sh"; then
|
2162 | |
ac_aux_dir=$ac_dir
|
2163 | |
ac_install_sh="$ac_aux_dir/install.sh -c"
|
2164 | |
break
|
2165 | |
elif test -f "$ac_dir/shtool"; then
|
2166 | |
ac_aux_dir=$ac_dir
|
2167 | |
ac_install_sh="$ac_aux_dir/shtool install -c"
|
2168 | |
break
|
2169 | |
fi
|
2170 | |
done
|
2171 | |
if test -z "$ac_aux_dir"; then
|
2172 | |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
|
2173 | |
fi
|
2174 | |
|
2175 | |
# These three variables are undocumented and unsupported,
|
2176 | |
# and are intended to be withdrawn in a future Autoconf release.
|
2177 | |
# They can cause serious problems if a builder's source tree is in a directory
|
2178 | |
# whose full name contains unusual characters.
|
2179 | |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
2180 | |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
2181 | |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
2182 | |
|
2183 | |
|
2184 | |
ac_config_headers="$ac_config_headers config.h"
|
2185 | |
|
2186 | |
|
2187 | |
# Initialize automake
|
2188 | |
|
2189 | |
am__api_version='1.12'
|
2190 | |
|
2191 | |
# Find a good install program. We prefer a C program (faster),
|
2192 | |
# so one script is as good as another. But avoid the broken or
|
2193 | |
# incompatible versions:
|
2194 | |
# SysV /etc/install, /usr/sbin/install
|
2195 | |
# SunOS /usr/etc/install
|
2196 | |
# IRIX /sbin/install
|
2197 | |
# AIX /bin/install
|
2198 | |
# AmigaOS /C/install, which installs bootblocks on floppy discs
|
2199 | |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
2200 | |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
2201 | |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
2202 | |
# OS/2's system install, which has a completely different semantic
|
2203 | |
# ./install, which can be erroneously created by make from ./install.sh.
|
2204 | |
# Reject install programs that cannot install multiple files.
|
2205 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
2206 | |
$as_echo_n "checking for a BSD-compatible install... " >&6; }
|
2207 | |
if test -z "$INSTALL"; then
|
2208 | |
if ${ac_cv_path_install+:} false; then :
|
2209 | |
$as_echo_n "(cached) " >&6
|
2210 | |
else
|
2211 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2212 | |
for as_dir in $PATH
|
2213 | |
do
|
2214 | |
IFS=$as_save_IFS
|
2215 | |
test -z "$as_dir" && as_dir=.
|
2216 | |
# Account for people who put trailing slashes in PATH elements.
|
2217 | |
case $as_dir/ in @%:@((
|
2218 | |
./ | .// | /[cC]/* | \
|
2219 | |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
2220 | |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
2221 | |
/usr/ucb/* ) ;;
|
2222 | |
*)
|
2223 | |
# OSF1 and SCO ODT 3.0 have their own names for install.
|
2224 | |
# Don't use installbsd from OSF since it installs stuff as root
|
2225 | |
# by default.
|
2226 | |
for ac_prog in ginstall scoinst install; do
|
2227 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2228 | |
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
2229 | |
if test $ac_prog = install &&
|
2230 | |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
2231 | |
# AIX install. It has an incompatible calling convention.
|
2232 | |
:
|
2233 | |
elif test $ac_prog = install &&
|
2234 | |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
2235 | |
# program-specific install script used by HP pwplus--don't use.
|
2236 | |
:
|
2237 | |
else
|
2238 | |
rm -rf conftest.one conftest.two conftest.dir
|
2239 | |
echo one > conftest.one
|
2240 | |
echo two > conftest.two
|
2241 | |
mkdir conftest.dir
|
2242 | |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
2243 | |
test -s conftest.one && test -s conftest.two &&
|
2244 | |
test -s conftest.dir/conftest.one &&
|
2245 | |
test -s conftest.dir/conftest.two
|
2246 | |
then
|
2247 | |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
2248 | |
break 3
|
2249 | |
fi
|
2250 | |
fi
|
2251 | |
fi
|
2252 | |
done
|
2253 | |
done
|
2254 | |
;;
|
2255 | |
esac
|
2256 | |
|
2257 | |
done
|
2258 | |
IFS=$as_save_IFS
|
2259 | |
|
2260 | |
rm -rf conftest.one conftest.two conftest.dir
|
2261 | |
|
2262 | |
fi
|
2263 | |
if test "${ac_cv_path_install+set}" = set; then
|
2264 | |
INSTALL=$ac_cv_path_install
|
2265 | |
else
|
2266 | |
# As a last resort, use the slow shell script. Don't cache a
|
2267 | |
# value for INSTALL within a source directory, because that will
|
2268 | |
# break other packages using the cache if that directory is
|
2269 | |
# removed, or if the value is a relative name.
|
2270 | |
INSTALL=$ac_install_sh
|
2271 | |
fi
|
2272 | |
fi
|
2273 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
2274 | |
$as_echo "$INSTALL" >&6; }
|
2275 | |
|
2276 | |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
2277 | |
# It thinks the first close brace ends the variable substitution.
|
2278 | |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
2279 | |
|
2280 | |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
2281 | |
|
2282 | |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
2283 | |
|
2284 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
|
2285 | |
$as_echo_n "checking whether build environment is sane... " >&6; }
|
2286 | |
# Reject unsafe characters in $srcdir or the absolute working directory
|
2287 | |
# name. Accept space and tab only in the latter.
|
2288 | |
am_lf='
|
2289 | |
'
|
2290 | |
case `pwd` in
|
2291 | |
*[\\\"\#\$\&\'\`$am_lf]*)
|
2292 | |
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
|
2293 | |
esac
|
2294 | |
case $srcdir in
|
2295 | |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
|
2296 | |
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
|
2297 | |
esac
|
2298 | |
|
2299 | |
# Do 'set' in a subshell so we don't clobber the current shell's
|
2300 | |
# arguments. Must try -L first in case configure is actually a
|
2301 | |
# symlink; some systems play weird games with the mod time of symlinks
|
2302 | |
# (eg FreeBSD returns the mod time of the symlink's containing
|
2303 | |
# directory).
|
2304 | |
if (
|
2305 | |
am_has_slept=no
|
2306 | |
for am_try in 1 2; do
|
2307 | |
echo "timestamp, slept: $am_has_slept" > conftest.file
|
2308 | |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
|
2309 | |
if test "$*" = "X"; then
|
2310 | |
# -L didn't work.
|
2311 | |
set X `ls -t "$srcdir/configure" conftest.file`
|
2312 | |
fi
|
2313 | |
if test "$*" != "X $srcdir/configure conftest.file" \
|
2314 | |
&& test "$*" != "X conftest.file $srcdir/configure"; then
|
2315 | |
|
2316 | |
# If neither matched, then we have a broken ls. This can happen
|
2317 | |
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
2318 | |
# broken ls alias from the environment. This has actually
|
2319 | |
# happened. Such a system could not be considered "sane".
|
2320 | |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
|
2321 | |
alias in your environment" "$LINENO" 5
|
2322 | |
fi
|
2323 | |
if test "$2" = conftest.file || test $am_try -eq 2; then
|
2324 | |
break
|
2325 | |
fi
|
2326 | |
# Just in case.
|
2327 | |
sleep 1
|
2328 | |
am_has_slept=yes
|
2329 | |
done
|
2330 | |
test "$2" = conftest.file
|
23 |