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