bzr branch
http://bzr.ed.am/gtk/prep-images
1
by edam
- initial commit, includes project and build setup |
1 |
#! /bin/sh |
2 |
# Guess values for system-dependent variables and create Makefiles. |
|
3 |
# Generated by GNU Autoconf 2.67 for add-copyright-to-images 0.1.0. |
|
4 |
# |
|
5 |
# Report bugs to <edam@waxworlds.org>. |
|
6 |
# |
|
7 |
# |
|
8 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
|
9 |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
|
10 |
# Foundation, Inc. |
|
11 |
# |
|
12 |
# |
|
13 |
# This configure script is free software; the Free Software Foundation |
|
14 |
# gives unlimited permission to copy, distribute and modify it. |
|
15 |
## -------------------- ## |
|
16 |
## M4sh Initialization. ## |
|
17 |
## -------------------- ## |
|
18 |
||
19 |
# Be more Bourne compatible |
|
20 |
DUALCASE=1; export DUALCASE # for MKS sh |
|
21 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
|
22 |
emulate sh |
|
23 |
NULLCMD=: |
|
24 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
|
25 |
# is contrary to our usage. Disable this feature. |
|
26 |
alias -g '${1+"$@"}'='"$@"' |
|
27 |
setopt NO_GLOB_SUBST |
|
28 |
else |
|
29 |
case `(set -o) 2>/dev/null` in #( |
|
30 |
*posix*) : |
|
31 |
set -o posix ;; #( |
|
32 |
*) : |
|
33 |
;; |
|
34 |
esac |
|
35 |
fi |
|
36 |
||
37 |
||
38 |
as_nl=' |
|
39 |
' |
|
40 |
export as_nl |
|
41 |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
|
42 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
43 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
|
44 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|
45 |
# Prefer a ksh shell builtin over an external printf program on Solaris, |
|
46 |
# but without wasting forks for bash or zsh. |
|
47 |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
|
48 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
49 |
as_echo='print -r --' |
|
50 |
as_echo_n='print -rn --' |
|
51 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
52 |
as_echo='printf %s\n' |
|
53 |
as_echo_n='printf %s' |
|
54 |
else |
|
55 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
56 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
57 |
as_echo_n='/usr/ucb/echo -n' |
|
58 |
else |
|
59 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
60 |
as_echo_n_body='eval |
|
61 |
arg=$1; |
|
62 |
case $arg in #( |
|
63 |
*"$as_nl"*) |
|
64 |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
65 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
66 |
esac; |
|
67 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
68 |
' |
|
69 |
export as_echo_n_body |
|
70 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
|
71 |
fi |
|
72 |
export as_echo_body |
|
73 |
as_echo='sh -c $as_echo_body as_echo' |
|
74 |
fi |
|
75 |
||
76 |
# The user is always right. |
|
77 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
78 |
PATH_SEPARATOR=: |
|
79 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
80 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
81 |
PATH_SEPARATOR=';' |
|
82 |
} |
|
83 |
fi |
|
84 |
||
85 |
||
86 |
# IFS |
|
87 |
# We need space, tab and new line, in precisely that order. Quoting is |
|
88 |
# there to prevent editors from complaining about space-tab. |
|
89 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
90 |
# splitting by setting IFS to empty value.) |
|
91 |
IFS=" "" $as_nl" |
|
92 |
||
93 |
# Find who we are. Look in the path if we contain no directory separator. |
|
94 |
case $0 in #(( |
|
95 |
*[\\/]* ) as_myself=$0 ;; |
|
96 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
97 |
for as_dir in $PATH |
|
98 |
do |
|
99 |
IFS=$as_save_IFS |
|
100 |
test -z "$as_dir" && as_dir=. |
|
101 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
102 |
done |
|
103 |
IFS=$as_save_IFS |
|
104 |
||
105 |
;; |
|
106 |
esac |
|
107 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
|
108 |
# in which case we are not to be found in the path. |
|
109 |
if test "x$as_myself" = x; then |
|
110 |
as_myself=$0 |
|
111 |
fi |
|
112 |
if test ! -f "$as_myself"; then |
|
113 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|
114 |
exit 1 |
|
115 |
fi |
|
116 |
||
117 |
# Unset variables that we do not need and which cause bugs (e.g. in |
|
118 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
|
119 |
# suppresses any "Segmentation fault" message there. '((' could |
|
120 |
# trigger a bug in pdksh 5.2.14. |
|
121 |
for as_var in BASH_ENV ENV MAIL MAILPATH |
|
122 |
do eval test x\${$as_var+set} = xset \ |
|
123 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
|
124 |
done |
|
125 |
PS1='$ ' |
|
126 |
PS2='> ' |
|
127 |
PS4='+ ' |
|
128 |
||
129 |
# NLS nuisances. |
|
130 |
LC_ALL=C |
|
131 |
export LC_ALL |
|
132 |
LANGUAGE=C |
|
133 |
export LANGUAGE |
|
134 |
||
135 |
# CDPATH. |
|
136 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
137 |
||
138 |
if test "x$CONFIG_SHELL" = x; then |
|
139 |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
|
140 |
emulate sh |
|
141 |
NULLCMD=: |
|
142 |
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
|
143 |
# is contrary to our usage. Disable this feature. |
|
144 |
alias -g '\${1+\"\$@\"}'='\"\$@\"' |
|
145 |
setopt NO_GLOB_SUBST |
|
146 |
else |
|
147 |
case \`(set -o) 2>/dev/null\` in #( |
|
148 |
*posix*) : |
|
149 |
set -o posix ;; #( |
|
150 |
*) : |
|
151 |
;; |
|
152 |
esac |
|
153 |
fi |
|
154 |
" |
|
155 |
as_required="as_fn_return () { (exit \$1); } |
|
156 |
as_fn_success () { as_fn_return 0; } |
|
157 |
as_fn_failure () { as_fn_return 1; } |
|
158 |
as_fn_ret_success () { return 0; } |
|
159 |
as_fn_ret_failure () { return 1; } |
|
160 |
||
161 |
exitcode=0 |
|
162 |
as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
|
163 |
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
|
164 |
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
|
165 |
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
|
166 |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
|
167 |
||
168 |
else |
|
169 |
exitcode=1; echo positional parameters were not saved. |
|
170 |
fi |
|
171 |
test x\$exitcode = x0 || exit 1" |
|
172 |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
|
173 |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
|
174 |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
|
175 |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" |
|
176 |
if (eval "$as_required") 2>/dev/null; then : |
|
177 |
as_have_required=yes |
|
178 |
else |
|
179 |
as_have_required=no |
|
180 |
fi |
|
181 |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
|
182 |
||
183 |
else |
|
184 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
185 |
as_found=false |
|
186 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
|
187 |
do |
|
188 |
IFS=$as_save_IFS |
|
189 |
test -z "$as_dir" && as_dir=. |
|
190 |
as_found=: |
|
191 |
case $as_dir in #( |
|
192 |
/*) |
|
193 |
for as_base in sh bash ksh sh5; do |
|
194 |
# Try only shells that exist, to save several forks. |
|
195 |
as_shell=$as_dir/$as_base |
|
196 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
|
197 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
|
198 |
CONFIG_SHELL=$as_shell as_have_required=yes |
|
199 |
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
|
200 |
break 2 |
|
201 |
fi |
|
202 |
fi |
|
203 |
done;; |
|
204 |
esac |
|
205 |
as_found=false |
|
206 |
done |
|
207 |
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
|
208 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
|
209 |
CONFIG_SHELL=$SHELL as_have_required=yes |
|
210 |
fi; } |
|
211 |
IFS=$as_save_IFS |
|
212 |
||
213 |
||
214 |
if test "x$CONFIG_SHELL" != x; then : |
|
215 |
# We cannot yet assume a decent shell, so we have to provide a |
|
216 |
# neutralization value for shells without unset; and this also |
|
217 |
# works around shells that cannot unset nonexistent variables. |
|
218 |
BASH_ENV=/dev/null |
|
219 |
ENV=/dev/null |
|
220 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
221 |
export CONFIG_SHELL |
|
222 |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
|
223 |
fi |
|
224 |
||
225 |
if test x$as_have_required = xno; then : |
|
226 |
$as_echo "$0: This script requires a shell more modern than all" |
|
227 |
$as_echo "$0: the shells that I found on your system." |
|
228 |
if test x${ZSH_VERSION+set} = xset ; then |
|
229 |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
|
230 |
$as_echo "$0: be upgraded to zsh 4.3.4 or later." |
|
231 |
else |
|
232 |
$as_echo "$0: Please tell bug-autoconf@gnu.org and edam@waxworlds.org |
|
233 |
$0: about your system, including any error possibly output |
|
234 |
$0: before this message. Then install a modern shell, or |
|
235 |
$0: manually run the script under such a shell if you do |
|
236 |
$0: have one." |
|
237 |
fi |
|
238 |
exit 1 |
|
239 |
fi |
|
240 |
fi |
|
241 |
fi |
|
242 |
SHELL=${CONFIG_SHELL-/bin/sh} |
|
243 |
export SHELL |
|
244 |
# Unset more variables known to interfere with behavior of common tools. |
|
245 |
CLICOLOR_FORCE= GREP_OPTIONS= |
|
246 |
unset CLICOLOR_FORCE GREP_OPTIONS |
|
247 |
||
248 |
## --------------------- ## |
|
249 |
## M4sh Shell Functions. ## |
|
250 |
## --------------------- ## |
|
251 |
# as_fn_unset VAR |
|
252 |
# --------------- |
|
253 |
# Portably unset VAR. |
|
254 |
as_fn_unset () |
|
255 |
{ |
|
256 |
{ eval $1=; unset $1;} |
|
257 |
} |
|
258 |
as_unset=as_fn_unset |
|
259 |
||
260 |
# as_fn_set_status STATUS |
|
261 |
# ----------------------- |
|
262 |
# Set $? to STATUS, without forking. |
|
263 |
as_fn_set_status () |
|
264 |
{ |
|
265 |
return $1 |
|
266 |
} # as_fn_set_status |
|
267 |
||
268 |
# as_fn_exit STATUS |
|
269 |
# ----------------- |
|
270 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
|
271 |
as_fn_exit () |
|
272 |
{ |
|
273 |
set +e |
|
274 |
as_fn_set_status $1 |
|
275 |
exit $1 |
|
276 |
} # as_fn_exit |
|
277 |
||
278 |
# as_fn_mkdir_p |
|
279 |
# ------------- |
|
280 |
# Create "$as_dir" as a directory, including parents if necessary. |
|
281 |
as_fn_mkdir_p () |
|
282 |
{ |
|
283 |
||
284 |
case $as_dir in #( |
|
285 |
-*) as_dir=./$as_dir;; |
|
286 |
esac |
|
287 |
test -d "$as_dir" || eval $as_mkdir_p || { |
|
288 |
as_dirs= |
|
289 |
while :; do |
|
290 |
case $as_dir in #( |
|
291 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|
292 |
*) as_qdir=$as_dir;; |
|
293 |
esac |
|
294 |
as_dirs="'$as_qdir' $as_dirs" |
|
295 |
as_dir=`$as_dirname -- "$as_dir" || |
|
296 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
297 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
298 |
X"$as_dir" : 'X\(//\)$' \| \ |
|
299 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
300 |
$as_echo X"$as_dir" | |
|
301 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
302 |
s//\1/ |
|
303 |
q |
|
304 |
} |
|
305 |
/^X\(\/\/\)[^/].*/{ |
|
306 |
s//\1/ |
|
307 |
q |
|
308 |
} |
|
309 |
/^X\(\/\/\)$/{ |
|
310 |
s//\1/ |
|
311 |
q |
|
312 |
} |
|
313 |
/^X\(\/\).*/{ |
|
314 |
s//\1/ |
|
315 |
q |
|
316 |
} |
|
317 |
s/.*/./; q'` |
|
318 |
test -d "$as_dir" && break |
|
319 |
done |
|
320 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
321 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
|
322 |
||
323 |
||
324 |
} # as_fn_mkdir_p |
|
325 |
# as_fn_append VAR VALUE |
|
326 |
# ---------------------- |
|
327 |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
|
328 |
# advantage of any shell optimizations that allow amortized linear growth over |
|
329 |
# repeated appends, instead of the typical quadratic growth present in naive |
|
330 |
# implementations. |
|
331 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
|
332 |
eval 'as_fn_append () |
|
333 |
{ |
|
334 |
eval $1+=\$2 |
|
335 |
}' |
|
336 |
else |
|
337 |
as_fn_append () |
|
338 |
{ |
|
339 |
eval $1=\$$1\$2 |
|
340 |
} |
|
341 |
fi # as_fn_append |
|
342 |
||
343 |
# as_fn_arith ARG... |
|
344 |
# ------------------ |
|
345 |
# Perform arithmetic evaluation on the ARGs, and store the result in the |
|
346 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments |
|
347 |
# must be portable across $(()) and expr. |
|
348 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
|
349 |
eval 'as_fn_arith () |
|
350 |
{ |
|
351 |
as_val=$(( $* )) |
|
352 |
}' |
|
353 |
else |
|
354 |
as_fn_arith () |
|
355 |
{ |
|
356 |
as_val=`expr "$@" || test $? -eq 1` |
|
357 |
} |
|
358 |
fi # as_fn_arith |
|
359 |
||
360 |
||
361 |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
|
362 |
# ---------------------------------------- |
|
363 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
|
364 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
|
365 |
# script with STATUS, using 1 if that was 0. |
|
366 |
as_fn_error () |
|
367 |
{ |
|
368 |
as_status=$1; test $as_status -eq 0 && as_status=1 |
|
369 |
if test "$4"; then |
|
370 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
371 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
|
372 |
fi |
|
373 |
$as_echo "$as_me: error: $2" >&2 |
|
374 |
as_fn_exit $as_status |
|
375 |
} # as_fn_error |
|
376 |
||
377 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
378 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
379 |
as_expr=expr |
|
380 |
else |
|
381 |
as_expr=false |
|
382 |
fi |
|
383 |
||
384 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|
385 |
as_basename=basename |
|
386 |
else |
|
387 |
as_basename=false |
|
388 |
fi |
|
389 |
||
390 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
391 |
as_dirname=dirname |
|
392 |
else |
|
393 |
as_dirname=false |
|
394 |
fi |
|
395 |
||
396 |
as_me=`$as_basename -- "$0" || |
|
397 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
398 |
X"$0" : 'X\(//\)$' \| \ |
|
399 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|
400 |
$as_echo X/"$0" | |
|
401 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|
402 |
s//\1/ |
|
403 |
q |
|
404 |
} |
|
405 |
/^X\/\(\/\/\)$/{ |
|
406 |
s//\1/ |
|
407 |
q |
|
408 |
} |
|
409 |
/^X\/\(\/\).*/{ |
|
410 |
s//\1/ |
|
411 |
q |
|
412 |
} |
|
413 |
s/.*/./; q'` |
|
414 |
||
415 |
# Avoid depending upon Character Ranges. |
|
416 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
417 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
418 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
419 |
as_cr_digits='0123456789' |
|
420 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
421 |
||
422 |
||
423 |
as_lineno_1=$LINENO as_lineno_1a=$LINENO |
|
424 |
as_lineno_2=$LINENO as_lineno_2a=$LINENO |
|
425 |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
|
426 |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
|
427 |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
|
428 |
sed -n ' |
|
429 |
p |
|
430 |
/[$]LINENO/= |
|
431 |
' <$as_myself | |
|
432 |
sed ' |
|
433 |
s/[$]LINENO.*/&-/ |
|
434 |
t lineno |
|
435 |
b |
|
436 |
:lineno |
|
437 |
N |
|
438 |
:loop |
|
439 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
|
440 |
t loop |
|
441 |
s/-\n.*// |
|
442 |
' >$as_me.lineno && |
|
443 |
chmod +x "$as_me.lineno" || |
|
444 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
|
445 |
||
446 |
# Don't try to exec as it changes $[0], causing all sort of problems |
|
447 |
# (the dirname of $[0] is not the place where we might find the |
|
448 |
# original and so on. Autoconf is especially sensitive to this). |
|
449 |
. "./$as_me.lineno" |
|
450 |
# Exit status is that of the last command. |
|
451 |
exit |
|
452 |
} |
|
453 |
||
454 |
ECHO_C= ECHO_N= ECHO_T= |
|
455 |
case `echo -n x` in #((((( |
|
456 |
-n*) |
|
457 |
case `echo 'xy\c'` in |
|
458 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
459 |
xy) ECHO_C='\c';; |
|
460 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
|
461 |
ECHO_T=' ';; |
|
462 |
esac;; |
|
463 |
*) |
|
464 |
ECHO_N='-n';; |
|
465 |
esac |
|
466 |
||
467 |
rm -f conf$$ conf$$.exe conf$$.file |
|
468 |
if test -d conf$$.dir; then |
|
469 |
rm -f conf$$.dir/conf$$.file |
|
470 |
else |
|
471 |
rm -f conf$$.dir |
|
472 |
mkdir conf$$.dir 2>/dev/null |
|
473 |
fi |
|
474 |
if (echo >conf$$.file) 2>/dev/null; then |
|
475 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
476 |
as_ln_s='ln -s' |
|
477 |
# ... but there are two gotchas: |
|
478 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|
479 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
480 |
# In both cases, we have to default to `cp -p'. |
|
481 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
482 |
as_ln_s='cp -p' |
|
483 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
|
484 |
as_ln_s=ln |
|
485 |
else |
|
486 |
as_ln_s='cp -p' |
|
487 |
fi |
|
488 |
else |
|
489 |
as_ln_s='cp -p' |
|
490 |
fi |
|
491 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|
492 |
rmdir conf$$.dir 2>/dev/null |
|
493 |
||
494 |
if mkdir -p . 2>/dev/null; then |
|
495 |
as_mkdir_p='mkdir -p "$as_dir"' |
|
496 |
else |
|
497 |
test -d ./-p && rmdir ./-p |
|
498 |
as_mkdir_p=false |
|
499 |
fi |
|
500 |
||
501 |
if test -x / >/dev/null 2>&1; then |
|
502 |
as_test_x='test -x' |
|
503 |
else |
|
504 |
if ls -dL / >/dev/null 2>&1; then |
|
505 |
as_ls_L_option=L |
|
506 |
else |
|
507 |
as_ls_L_option= |
|
508 |
fi |
|
509 |
as_test_x=' |
|
510 |
eval sh -c '\'' |
|
511 |
if test -d "$1"; then |
|
512 |
test -d "$1/."; |
|
513 |
else |
|
514 |
case $1 in #( |
|
515 |
-*)set "./$1";; |
|
516 |
esac; |
|
517 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
518 |
???[sx]*):;;*)false;;esac;fi |
|
519 |
'\'' sh |
|
520 |
' |
|
521 |
fi |
|
522 |
as_executable_p=$as_test_x |
|
523 |
||
524 |
# Sed expression to map a string onto a valid CPP name. |
|
525 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
526 |
||
527 |
# Sed expression to map a string onto a valid variable name. |
|
528 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
529 |
||
530 |
||
531 |
test -n "$DJDIR" || exec 7<&0 </dev/null |
|
532 |
exec 6>&1 |
|
533 |
||
534 |
# Name of the host. |
|
535 |
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
|
536 |
# so uname gets run too. |
|
537 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
|
538 |
||
539 |
# |
|
540 |
# Initializations. |
|
541 |
# |
|
542 |
ac_default_prefix=/usr/local |
|
543 |
ac_clean_files= |
|
544 |
ac_config_libobj_dir=. |
|
545 |
LIBOBJS= |
|
546 |
cross_compiling=no |
|
547 |
subdirs= |
|
548 |
MFLAGS= |
|
549 |
MAKEFLAGS= |
|
550 |
||
551 |
# Identity of this package. |
|
552 |
PACKAGE_NAME='add-copyright-to-images' |
|
553 |
PACKAGE_TARNAME='add-copyright-to-images' |
|
554 |
PACKAGE_VERSION='0.1.0' |
|
555 |
PACKAGE_STRING='add-copyright-to-images 0.1.0' |
|
556 |
PACKAGE_BUGREPORT='edam@waxworlds.org' |
|
557 |
PACKAGE_URL='http://www.waxworlds.org/edam/software/add-copyright-to-images' |
|
558 |
||
559 |
ac_subst_vars='LTLIBOBJS |
|
560 |
LIBOBJS |
|
561 |
pkgpyexecdir |
|
562 |
pyexecdir |
|
563 |
pkgpythondir |
|
564 |
pythondir |
|
565 |
PYTHON_PLATFORM |
|
566 |
PYTHON_EXEC_PREFIX |
|
567 |
PYTHON_PREFIX |
|
568 |
PYTHON_VERSION |
|
569 |
PYTHON |
|
570 |
am__untar |
|
571 |
am__tar |
|
572 |
AMTAR |
|
573 |
am__leading_dot |
|
574 |
SET_MAKE |
|
575 |
AWK |
|
576 |
mkdir_p |
|
577 |
MKDIR_P |
|
578 |
INSTALL_STRIP_PROGRAM |
|
579 |
STRIP |
|
580 |
install_sh |
|
581 |
MAKEINFO |
|
582 |
AUTOHEADER |
|
583 |
AUTOMAKE |
|
584 |
AUTOCONF |
|
585 |
ACLOCAL |
|
586 |
VERSION |
|
587 |
PACKAGE |
|
588 |
CYGPATH_W |
|
589 |
am__isrc |
|
590 |
INSTALL_DATA |
|
591 |
INSTALL_SCRIPT |
|
592 |
INSTALL_PROGRAM |
|
593 |
target_alias |
|
594 |
host_alias |
|
595 |
build_alias |
|
596 |
LIBS |
|
597 |
ECHO_T |
|
598 |
ECHO_N |
|
599 |
ECHO_C |
|
600 |
DEFS |
|
601 |
mandir |
|
602 |
localedir |
|
603 |
libdir |
|
604 |
psdir |
|
605 |
pdfdir |
|
606 |
dvidir |
|
607 |
htmldir |
|
608 |
infodir |
|
609 |
docdir |
|
610 |
oldincludedir |
|
611 |
includedir |
|
612 |
localstatedir |
|
613 |
sharedstatedir |
|
614 |
sysconfdir |
|
615 |
datadir |
|
616 |
datarootdir |
|
617 |
libexecdir |
|
618 |
sbindir |
|
619 |
bindir |
|
620 |
program_transform_name |
|
621 |
prefix |
|
622 |
exec_prefix |
|
623 |
PACKAGE_URL |
|
624 |
PACKAGE_BUGREPORT |
|
625 |
PACKAGE_STRING |
|
626 |
PACKAGE_VERSION |
|
627 |
PACKAGE_TARNAME |
|
628 |
PACKAGE_NAME |
|
629 |
PATH_SEPARATOR |
|
630 |
SHELL' |
|
631 |
ac_subst_files='' |
|
632 |
ac_user_opts=' |
|
633 |
enable_option_checking |
|
634 |
' |
|
635 |
ac_precious_vars='build_alias |
|
636 |
host_alias |
|
637 |
target_alias' |
|
638 |
||
639 |
||
640 |
# Initialize some variables set by options. |
|
641 |
ac_init_help= |
|
642 |
ac_init_version=false |
|
643 |
ac_unrecognized_opts= |
|
644 |
ac_unrecognized_sep= |
|
645 |
# The variables have the same names as the options, with |
|
646 |
# dashes changed to underlines. |
|
647 |
cache_file=/dev/null |
|
648 |
exec_prefix=NONE |
|
649 |
no_create= |
|
650 |
no_recursion= |
|
651 |
prefix=NONE |
|
652 |
program_prefix=NONE |
|
653 |
program_suffix=NONE |
|
654 |
program_transform_name=s,x,x, |
|
655 |
silent= |
|
656 |
site= |
|
657 |
srcdir= |
|
658 |
verbose= |
|
659 |
x_includes=NONE |
|
660 |
x_libraries=NONE |
|
661 |
||
662 |
# Installation directory options. |
|
663 |
# These are left unexpanded so users can "make install exec_prefix=/foo" |
|
664 |
# and all the variables that are supposed to be based on exec_prefix |
|
665 |
# by default will actually change. |
|
666 |
# Use braces instead of parens because sh, perl, etc. also accept them. |
|
667 |
# (The list follows the same order as the GNU Coding Standards.) |
|
668 |
bindir='${exec_prefix}/bin' |
|
669 |
sbindir='${exec_prefix}/sbin' |
|
670 |
libexecdir='${exec_prefix}/libexec' |
|
671 |
datarootdir='${prefix}/share' |
|
672 |
datadir='${datarootdir}' |
|
673 |
sysconfdir='${prefix}/etc' |
|
674 |
sharedstatedir='${prefix}/com' |
|
675 |
localstatedir='${prefix}/var' |
|
676 |
includedir='${prefix}/include' |
|
677 |
oldincludedir='/usr/include' |
|
678 |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
|
679 |
infodir='${datarootdir}/info' |
|
680 |
htmldir='${docdir}' |
|
681 |
dvidir='${docdir}' |
|
682 |
pdfdir='${docdir}' |
|
683 |
psdir='${docdir}' |
|
684 |
libdir='${exec_prefix}/lib' |
|
685 |
localedir='${datarootdir}/locale' |
|
686 |
mandir='${datarootdir}/man' |
|
687 |
||
688 |
ac_prev= |
|
689 |
ac_dashdash= |
|
690 |
for ac_option |
|
691 |
do |
|
692 |
# If the previous option needs an argument, assign it. |
|
693 |
if test -n "$ac_prev"; then |
|
694 |
eval $ac_prev=\$ac_option |
|
695 |
ac_prev= |
|
696 |
continue |
|
697 |
fi |
|
698 |
||
699 |
case $ac_option in |
|
700 |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
|
701 |
*=) ac_optarg= ;; |
|
702 |
*) ac_optarg=yes ;; |
|
703 |
esac |
|
704 |
||
705 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
|
706 |
||
707 |
case $ac_dashdash$ac_option in |
|
708 |
--) |
|
709 |
ac_dashdash=yes ;; |
|
710 |
||
711 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
|
712 |
ac_prev=bindir ;; |
|
713 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
|
714 |
bindir=$ac_optarg ;; |
|
715 |
||
716 |
-build | --build | --buil | --bui | --bu) |
|
717 |
ac_prev=build_alias ;; |
|
718 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
|
719 |
build_alias=$ac_optarg ;; |
|
720 |
||
721 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
|
722 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
|
723 |
ac_prev=cache_file ;; |
|
724 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
|
725 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
|
726 |
cache_file=$ac_optarg ;; |
|
727 |
||
728 |
--config-cache | -C) |
|
729 |
cache_file=config.cache ;; |
|
730 |
||
731 |
-datadir | --datadir | --datadi | --datad) |
|
732 |
ac_prev=datadir ;; |
|
733 |
-datadir=* | --datadir=* | --datadi=* | --datad=*) |
|
734 |
datadir=$ac_optarg ;; |
|
735 |
||
736 |
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
|
737 |
| --dataroo | --dataro | --datar) |
|
738 |
ac_prev=datarootdir ;; |
|
739 |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
|
740 |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
|
741 |
datarootdir=$ac_optarg ;; |
|
742 |
||
743 |
-disable-* | --disable-*) |
|
744 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
|
745 |
# Reject names that are not valid shell variable names. |
|
746 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
747 |
as_fn_error $? "invalid feature name: $ac_useropt" |
|
748 |
ac_useropt_orig=$ac_useropt |
|
749 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
750 |
case $ac_user_opts in |
|
751 |
*" |
|
752 |
"enable_$ac_useropt" |
|
753 |
"*) ;; |
|
754 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
|
755 |
ac_unrecognized_sep=', ';; |
|
756 |
esac |
|
757 |
eval enable_$ac_useropt=no ;; |
|
758 |
||
759 |
-docdir | --docdir | --docdi | --doc | --do) |
|
760 |
ac_prev=docdir ;; |
|
761 |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
|
762 |
docdir=$ac_optarg ;; |
|
763 |
||
764 |
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
|
765 |
ac_prev=dvidir ;; |
|
766 |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
|
767 |
dvidir=$ac_optarg ;; |
|
768 |
||
769 |
-enable-* | --enable-*) |
|
770 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
|
771 |
# Reject names that are not valid shell variable names. |
|
772 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
773 |
as_fn_error $? "invalid feature name: $ac_useropt" |
|
774 |
ac_useropt_orig=$ac_useropt |
|
775 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
776 |
case $ac_user_opts in |
|
777 |
*" |
|
778 |
"enable_$ac_useropt" |
|
779 |
"*) ;; |
|
780 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
|
781 |
ac_unrecognized_sep=', ';; |
|
782 |
esac |
|
783 |
eval enable_$ac_useropt=\$ac_optarg ;; |
|
784 |
||
785 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
|
786 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
|
787 |
| --exec | --exe | --ex) |
|
788 |
ac_prev=exec_prefix ;; |
|
789 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
|
790 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
|
791 |
| --exec=* | --exe=* | --ex=*) |
|
792 |
exec_prefix=$ac_optarg ;; |
|
793 |
||
794 |
-gas | --gas | --ga | --g) |
|
795 |
# Obsolete; use --with-gas. |
|
796 |
with_gas=yes ;; |
|
797 |
||
798 |
-help | --help | --hel | --he | -h) |
|
799 |
ac_init_help=long ;; |
|
800 |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
|
801 |
ac_init_help=recursive ;; |
|
802 |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
|
803 |
ac_init_help=short ;; |
|
804 |
||
805 |
-host | --host | --hos | --ho) |
|
806 |
ac_prev=host_alias ;; |
|
807 |
-host=* | --host=* | --hos=* | --ho=*) |
|
808 |
host_alias=$ac_optarg ;; |
|
809 |
||
810 |
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
|
811 |
ac_prev=htmldir ;; |
|
812 |
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
|
813 |
| --ht=*) |
|
814 |
htmldir=$ac_optarg ;; |
|
815 |
||
816 |
-includedir | --includedir | --includedi | --included | --include \ |
|
817 |
| --includ | --inclu | --incl | --inc) |
|
818 |
ac_prev=includedir ;; |
|
819 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
|
820 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
|
821 |
includedir=$ac_optarg ;; |
|
822 |
||
823 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
|
824 |
ac_prev=infodir ;; |
|
825 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
|
826 |
infodir=$ac_optarg ;; |
|
827 |
||
828 |
-libdir | --libdir | --libdi | --libd) |
|
829 |
ac_prev=libdir ;; |
|
830 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
|
831 |
libdir=$ac_optarg ;; |
|
832 |
||
833 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
|
834 |
| --libexe | --libex | --libe) |
|
835 |
ac_prev=libexecdir ;; |
|
836 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
|
837 |
| --libexe=* | --libex=* | --libe=*) |
|
838 |
libexecdir=$ac_optarg ;; |
|
839 |
||
840 |
-localedir | --localedir | --localedi | --localed | --locale) |
|
841 |
ac_prev=localedir ;; |
|
842 |
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
|
843 |
localedir=$ac_optarg ;; |
|
844 |
||
845 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
|
846 |
| --localstate | --localstat | --localsta | --localst | --locals) |
|
847 |
ac_prev=localstatedir ;; |
|
848 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
|
849 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
|
850 |
localstatedir=$ac_optarg ;; |
|
851 |
||
852 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
|
853 |
ac_prev=mandir ;; |
|
854 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
|
855 |
mandir=$ac_optarg ;; |
|
856 |
||
857 |
-nfp | --nfp | --nf) |
|
858 |
# Obsolete; use --without-fp. |
|
859 |
with_fp=no ;; |
|
860 |
||
861 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
|
862 |
| --no-cr | --no-c | -n) |
|
863 |
no_create=yes ;; |
|
864 |
||
865 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|
866 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
|
867 |
no_recursion=yes ;; |
|
868 |
||
869 |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
|
870 |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
|
871 |
| --oldin | --oldi | --old | --ol | --o) |
|
872 |
ac_prev=oldincludedir ;; |
|
873 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
|
874 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
|
875 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
|
876 |
oldincludedir=$ac_optarg ;; |
|
877 |
||
878 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
|
879 |
ac_prev=prefix ;; |
|
880 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
|
881 |
prefix=$ac_optarg ;; |
|
882 |
||
883 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
|
884 |
| --program-pre | --program-pr | --program-p) |
|
885 |
ac_prev=program_prefix ;; |
|
886 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
|
887 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
|
888 |
program_prefix=$ac_optarg ;; |
|
889 |
||
890 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
|
891 |
| --program-suf | --program-su | --program-s) |
|
892 |
ac_prev=program_suffix ;; |
|
893 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
|
894 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
|
895 |
program_suffix=$ac_optarg ;; |
|
896 |
||
897 |
-program-transform-name | --program-transform-name \ |
|
898 |
| --program-transform-nam | --program-transform-na \ |
|
899 |
| --program-transform-n | --program-transform- \ |
|
900 |
| --program-transform | --program-transfor \ |
|
901 |
| --program-transfo | --program-transf \ |
|
902 |
| --program-trans | --program-tran \ |
|
903 |
| --progr-tra | --program-tr | --program-t) |
|
904 |
ac_prev=program_transform_name ;; |
|
905 |
-program-transform-name=* | --program-transform-name=* \ |
|
906 |
| --program-transform-nam=* | --program-transform-na=* \ |
|
907 |
| --program-transform-n=* | --program-transform-=* \ |
|
908 |
| --program-transform=* | --program-transfor=* \ |
|
909 |
| --program-transfo=* | --program-transf=* \ |
|
910 |
| --program-trans=* | --program-tran=* \ |
|
911 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
|
912 |
program_transform_name=$ac_optarg ;; |
|
913 |
||
914 |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
|
915 |
ac_prev=pdfdir ;; |
|
916 |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
|
917 |
pdfdir=$ac_optarg ;; |
|
918 |
||
919 |
-psdir | --psdir | --psdi | --psd | --ps) |
|
920 |
ac_prev=psdir ;; |
|
921 |
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
|
922 |
psdir=$ac_optarg ;; |
|
923 |
||
924 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
925 |
| -silent | --silent | --silen | --sile | --sil) |
|
926 |
silent=yes ;; |
|
927 |
||
928 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
|
929 |
ac_prev=sbindir ;; |
|
930 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
|
931 |
| --sbi=* | --sb=*) |
|
932 |
sbindir=$ac_optarg ;; |
|
933 |
||
934 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
|
935 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
|
936 |
| --sharedst | --shareds | --shared | --share | --shar \ |
|
937 |
| --sha | --sh) |
|
938 |
ac_prev=sharedstatedir ;; |
|
939 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
|
940 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
|
941 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
|
942 |
| --sha=* | --sh=*) |
|
943 |
sharedstatedir=$ac_optarg ;; |
|
944 |
||
945 |
-site | --site | --sit) |
|
946 |
ac_prev=site ;; |
|
947 |
-site=* | --site=* | --sit=*) |
|
948 |
site=$ac_optarg ;; |
|
949 |
||
950 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
|
951 |
ac_prev=srcdir ;; |
|
952 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
|
953 |
srcdir=$ac_optarg ;; |
|
954 |
||
955 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
|
956 |
| --syscon | --sysco | --sysc | --sys | --sy) |
|
957 |
ac_prev=sysconfdir ;; |
|
958 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
|
959 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
|
960 |
sysconfdir=$ac_optarg ;; |
|
961 |
||
962 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
|
963 |
ac_prev=target_alias ;; |
|
964 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
|
965 |
target_alias=$ac_optarg ;; |
|
966 |
||
967 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
|
968 |
verbose=yes ;; |
|
969 |
||
970 |
-version | --version | --versio | --versi | --vers | -V) |
|
971 |
ac_init_version=: ;; |
|
972 |
||
973 |
-with-* | --with-*) |
|
974 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
|
975 |
# Reject names that are not valid shell variable names. |
|
976 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
977 |
as_fn_error $? "invalid package name: $ac_useropt" |
|
978 |
ac_useropt_orig=$ac_useropt |
|
979 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
980 |
case $ac_user_opts in |
|
981 |
*" |
|
982 |
"with_$ac_useropt" |
|
983 |
"*) ;; |
|
984 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
|
985 |
ac_unrecognized_sep=', ';; |
|
986 |
esac |
|
987 |
eval with_$ac_useropt=\$ac_optarg ;; |
|
988 |
||
989 |
-without-* | --without-*) |
|
990 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
|
991 |
# Reject names that are not valid shell variable names. |
|
992 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
993 |
as_fn_error $? "invalid package name: $ac_useropt" |
|
994 |
ac_useropt_orig=$ac_useropt |
|
995 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
996 |
case $ac_user_opts in |
|
997 |
*" |
|
998 |
"with_$ac_useropt" |
|
999 |
"*) ;; |
|
1000 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
|
1001 |
ac_unrecognized_sep=', ';; |
|
1002 |
esac |
|
1003 |
eval with_$ac_useropt=no ;; |
|
1004 |
||
1005 |
--x) |
|
1006 |
# Obsolete; use --with-x. |
|
1007 |
with_x=yes ;; |
|
1008 |
||
1009 |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
|
1010 |
| --x-incl | --x-inc | --x-in | --x-i) |
|
1011 |
ac_prev=x_includes ;; |
|
1012 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
|
1013 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
|
1014 |
x_includes=$ac_optarg ;; |
|
1015 |
||
1016 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
|
1017 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
|
1018 |
ac_prev=x_libraries ;; |
|
1019 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
|
1020 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
|
1021 |
x_libraries=$ac_optarg ;; |
|
1022 |
||
1023 |
-*) as_fn_error $? "unrecognized option: \`$ac_option' |
|
1024 |
Try \`$0 --help' for more information" |
|
1025 |
;; |
|
1026 |
||
1027 |
*=*) |
|
1028 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
|
1029 |
# Reject names that are not valid shell variable names. |
|
1030 |
case $ac_envvar in #( |
|
1031 |
'' | [0-9]* | *[!_$as_cr_alnum]* ) |
|
1032 |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
|
1033 |
esac |
|
1034 |
eval $ac_envvar=\$ac_optarg |
|
1035 |
export $ac_envvar ;; |
|
1036 |
||
1037 |
*) |
|
1038 |
# FIXME: should be removed in autoconf 3.0. |
|
1039 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
|
1040 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
|
1041 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
|
1042 |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
|
1043 |
;; |
|
1044 |
||
1045 |
esac |
|
1046 |
done |
|
1047 |
||
1048 |
if test -n "$ac_prev"; then |
|
1049 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
|
1050 |
as_fn_error $? "missing argument to $ac_option" |
|
1051 |
fi |
|
1052 |
||
1053 |
if test -n "$ac_unrecognized_opts"; then |
|
1054 |
case $enable_option_checking in |
|
1055 |
no) ;; |
|
1056 |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
|
1057 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
|
1058 |
esac |
|
1059 |
fi |
|
1060 |
||
1061 |
# Check all directory arguments for consistency. |
|
1062 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
|
1063 |
datadir sysconfdir sharedstatedir localstatedir includedir \ |
|
1064 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
|
1065 |
libdir localedir mandir |
|
1066 |
do |
|
1067 |
eval ac_val=\$$ac_var |
|
1068 |
# Remove trailing slashes. |
|
1069 |
case $ac_val in |
|
1070 |
*/ ) |
|
1071 |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
|
1072 |
eval $ac_var=\$ac_val;; |
|
1073 |
esac |
|
1074 |
# Be sure to have absolute directory names. |
|
1075 |
case $ac_val in |
|
1076 |
[\\/$]* | ?:[\\/]* ) continue;; |
|
1077 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
|
1078 |
esac |
|
1079 |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
|
1080 |
done |
|
1081 |
||
1082 |
# There might be people who depend on the old broken behavior: `$host' |
|
1083 |
# used to hold the argument of --host etc. |
|
1084 |
# FIXME: To remove some day. |
|
1085 |
build=$build_alias |
|
1086 |
host=$host_alias |
|
1087 |
target=$target_alias |
|
1088 |
||
1089 |
# FIXME: To remove some day. |
|
1090 |
if test "x$host_alias" != x; then |
|
1091 |
if test "x$build_alias" = x; then |
|
1092 |
cross_compiling=maybe |
|
1093 |
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
|
1094 |
If a cross compiler is detected then cross compile mode will be used" >&2 |
|
1095 |
elif test "x$build_alias" != "x$host_alias"; then |
|
1096 |
cross_compiling=yes |
|
1097 |
fi |
|
1098 |
fi |
|
1099 |
||
1100 |
ac_tool_prefix= |
|
1101 |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
|
1102 |
||
1103 |
test "$silent" = yes && exec 6>/dev/null |
|
1104 |
||
1105 |
||
1106 |
ac_pwd=`pwd` && test -n "$ac_pwd" && |
|
1107 |
ac_ls_di=`ls -di .` && |
|
1108 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
|
1109 |
as_fn_error $? "working directory cannot be determined" |
|
1110 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
|
1111 |
as_fn_error $? "pwd does not report name of working directory" |
|
1112 |
||
1113 |
||
1114 |
# Find the source files, if location was not specified. |
|
1115 |
if test -z "$srcdir"; then |
|
1116 |
ac_srcdir_defaulted=yes |
|
1117 |
# Try the directory containing this script, then the parent directory. |
|
1118 |
ac_confdir=`$as_dirname -- "$as_myself" || |
|
1119 |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
1120 |
X"$as_myself" : 'X\(//\)[^/]' \| \ |
|
1121 |
X"$as_myself" : 'X\(//\)$' \| \ |
|
1122 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
|
1123 |
$as_echo X"$as_myself" | |
|
1124 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
1125 |
s//\1/ |
|
1126 |
q |
|
1127 |
} |
|
1128 |
/^X\(\/\/\)[^/].*/{ |
|
1129 |
s//\1/ |
|
1130 |
q |
|
1131 |
} |
|
1132 |
/^X\(\/\/\)$/{ |
|
1133 |
s//\1/ |
|
1134 |
q |
|
1135 |
} |
|
1136 |
/^X\(\/\).*/{ |
|
1137 |
s//\1/ |
|
1138 |
q |
|
1139 |
} |
|
1140 |
s/.*/./; q'` |
|
1141 |
srcdir=$ac_confdir |
|
1142 |
if test ! -r "$srcdir/$ac_unique_file"; then |
|
1143 |
srcdir=.. |
|
1144 |
fi |
|
1145 |
else |
|
1146 |
ac_srcdir_defaulted=no |
|
1147 |
fi |
|
1148 |
if test ! -r "$srcdir/$ac_unique_file"; then |
|
1149 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
|
1150 |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
|
1151 |
fi |
|
1152 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
|
1153 |
ac_abs_confdir=`( |
|
1154 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
|
1155 |
pwd)` |
|
1156 |
# When building in place, set srcdir=. |
|
1157 |
if test "$ac_abs_confdir" = "$ac_pwd"; then |
|
1158 |
srcdir=. |
|
1159 |
fi |
|
1160 |
# Remove unnecessary trailing slashes from srcdir. |
|
1161 |
# Double slashes in file names in object file debugging info |
|
1162 |
# mess up M-x gdb in Emacs. |
|
1163 |
case $srcdir in |
|
1164 |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
|
1165 |
esac |
|
1166 |
for ac_var in $ac_precious_vars; do |
|
1167 |
eval ac_env_${ac_var}_set=\${${ac_var}+set} |
|
1168 |
eval ac_env_${ac_var}_value=\$${ac_var} |
|
1169 |
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
|
1170 |
eval ac_cv_env_${ac_var}_value=\$${ac_var} |
|
1171 |
done |
|
1172 |
||
1173 |
# |
|
1174 |
# Report the --help message. |
|
1175 |
# |
|
1176 |
if test "$ac_init_help" = "long"; then |
|
1177 |
# Omit some internal or obsolete options to make the list less imposing. |
|
1178 |
# This message is too long to be a string in the A/UX 3.1 sh. |
|
1179 |
cat <<_ACEOF |
|
1180 |
\`configure' configures add-copyright-to-images 0.1.0 to adapt to many kinds of systems. |
|
1181 |
||
1182 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
1183 |
||
1184 |
To assign environment variables (e.g., CC, CFLAGS...), specify them as |
|
1185 |
VAR=VALUE. See below for descriptions of some of the useful variables. |
|
1186 |
||
1187 |
Defaults for the options are specified in brackets. |
|
1188 |
||
1189 |
Configuration: |
|
1190 |
-h, --help display this help and exit |
|
1191 |
--help=short display options specific to this package |
|
1192 |
--help=recursive display the short help of all the included packages |
|
1193 |
-V, --version display version information and exit |
|
1194 |
-q, --quiet, --silent do not print \`checking ...' messages |
|
1195 |
--cache-file=FILE cache test results in FILE [disabled] |
|
1196 |
-C, --config-cache alias for \`--cache-file=config.cache' |
|
1197 |
-n, --no-create do not create output files |
|
1198 |
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
|
1199 |
||
1200 |
Installation directories: |
|
1201 |
--prefix=PREFIX install architecture-independent files in PREFIX |
|
1202 |
[$ac_default_prefix] |
|
1203 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
|
1204 |
[PREFIX] |
|
1205 |
||
1206 |
By default, \`make install' will install all the files in |
|
1207 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
|
1208 |
an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
|
1209 |
for instance \`--prefix=\$HOME'. |
|
1210 |
||
1211 |
For better control, use the options below. |
|
1212 |
||
1213 |
Fine tuning of the installation directories: |
|
1214 |
--bindir=DIR user executables [EPREFIX/bin] |
|
1215 |
--sbindir=DIR system admin executables [EPREFIX/sbin] |
|
1216 |
--libexecdir=DIR program executables [EPREFIX/libexec] |
|
1217 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
|
1218 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
|
1219 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
|
1220 |
--libdir=DIR object code libraries [EPREFIX/lib] |
|
1221 |
--includedir=DIR C header files [PREFIX/include] |
|
1222 |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
|
1223 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
|
1224 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
|
1225 |
--infodir=DIR info documentation [DATAROOTDIR/info] |
|
1226 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
|
1227 |
--mandir=DIR man documentation [DATAROOTDIR/man] |
|
1228 |
--docdir=DIR documentation root |
|
1229 |
[DATAROOTDIR/doc/add-copyright-to-images] |
|
1230 |
--htmldir=DIR html documentation [DOCDIR] |
|
1231 |
--dvidir=DIR dvi documentation [DOCDIR] |
|
1232 |
--pdfdir=DIR pdf documentation [DOCDIR] |
|
1233 |
--psdir=DIR ps documentation [DOCDIR] |
|
1234 |
_ACEOF |
|
1235 |
||
1236 |
cat <<\_ACEOF |
|
1237 |
||
1238 |
Program names: |
|
1239 |
--program-prefix=PREFIX prepend PREFIX to installed program names |
|
1240 |
--program-suffix=SUFFIX append SUFFIX to installed program names |
|
1241 |
--program-transform-name=PROGRAM run sed PROGRAM on installed program names |
|
1242 |
_ACEOF |
|
1243 |
fi |
|
1244 |
||
1245 |
if test -n "$ac_init_help"; then |
|
1246 |
case $ac_init_help in |
|
1247 |
short | recursive ) echo "Configuration of add-copyright-to-images 0.1.0:";; |
|
1248 |
esac |
|
1249 |
cat <<\_ACEOF |
|
1250 |
||
1251 |
Report bugs to <edam@waxworlds.org>. |
|
1252 |
add-copyright-to-images home page: <http://www.waxworlds.org/edam/software/add-copyright-to-images>. |
|
1253 |
_ACEOF |
|
1254 |
ac_status=$? |
|
1255 |
fi |
|
1256 |
||
1257 |
if test "$ac_init_help" = "recursive"; then |
|
1258 |
# If there are subdirs, report their specific --help. |
|
1259 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
|
1260 |
test -d "$ac_dir" || |
|
1261 |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
|
1262 |
continue |
|
1263 |
ac_builddir=. |
|
1264 |
||
1265 |
case "$ac_dir" in |
|
1266 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1267 |
*) |
|
1268 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
|
1269 |
# A ".." for each directory in $ac_dir_suffix. |
|
1270 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
|
1271 |
case $ac_top_builddir_sub in |
|
1272 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1273 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
1274 |
esac ;; |
|
1275 |
esac |
|
1276 |
ac_abs_top_builddir=$ac_pwd |
|
1277 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
1278 |
# for backward compatibility: |
|
1279 |
ac_top_builddir=$ac_top_build_prefix |
|
1280 |
||
1281 |
case $srcdir in |
|
1282 |
.) # We are building in place. |
|
1283 |
ac_srcdir=. |
|
1284 |
ac_top_srcdir=$ac_top_builddir_sub |
|
1285 |
ac_abs_top_srcdir=$ac_pwd ;; |
|
1286 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
|
1287 |
ac_srcdir=$srcdir$ac_dir_suffix; |
|
1288 |
ac_top_srcdir=$srcdir |
|
1289 |
ac_abs_top_srcdir=$srcdir ;; |
|
1290 |
*) # Relative name. |
|
1291 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
1292 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
1293 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
1294 |
esac |
|
1295 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
1296 |
||
1297 |
cd "$ac_dir" || { ac_status=$?; continue; } |
|
1298 |
# Check for guested configure. |
|
1299 |
if test -f "$ac_srcdir/configure.gnu"; then |
|
1300 |
echo && |
|
1301 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive |
|
1302 |
elif test -f "$ac_srcdir/configure"; then |
|
1303 |
echo && |
|
1304 |
$SHELL "$ac_srcdir/configure" --help=recursive |
|
1305 |
else |
|
1306 |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
|
1307 |
fi || ac_status=$? |
|
1308 |
cd "$ac_pwd" || { ac_status=$?; break; } |
|
1309 |
done |
|
1310 |
fi |
|
1311 |
||
1312 |
test -n "$ac_init_help" && exit $ac_status |
|
1313 |
if $ac_init_version; then |
|
1314 |
cat <<\_ACEOF |
|
1315 |
add-copyright-to-images configure 0.1.0 |
|
1316 |
generated by GNU Autoconf 2.67 |
|
1317 |
||
1318 |
Copyright (C) 2010 Free Software Foundation, Inc. |
|
1319 |
This configure script is free software; the Free Software Foundation |
|
1320 |
gives unlimited permission to copy, distribute and modify it. |
|
1321 |
_ACEOF |
|
1322 |
exit |
|
1323 |
fi |
|
1324 |
||
1325 |
## ------------------------ ## |
|
1326 |
## Autoconf initialization. ## |
|
1327 |
## ------------------------ ## |
|
1328 |
cat >config.log <<_ACEOF |
|
1329 |
This file contains any messages produced by compilers while |
|
1330 |
running configure, to aid debugging if configure makes a mistake. |
|
1331 |
||
1332 |
It was created by add-copyright-to-images $as_me 0.1.0, which was |
|
1333 |
generated by GNU Autoconf 2.67. Invocation command line was |
|
1334 |
||
1335 |
$ $0 $@ |
|
1336 |
||
1337 |
_ACEOF |
|
1338 |
exec 5>>config.log |
|
1339 |
{ |
|
1340 |
cat <<_ASUNAME |
|
1341 |
## --------- ## |
|
1342 |
## Platform. ## |
|
1343 |
## --------- ## |
|
1344 |
||
1345 |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
1346 |
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
|
1347 |
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
|
1348 |
uname -s = `(uname -s) 2>/dev/null || echo unknown` |
|
1349 |
uname -v = `(uname -v) 2>/dev/null || echo unknown` |
|
1350 |
||
1351 |
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
|
1352 |
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
|
1353 |
||
1354 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
|
1355 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
|
1356 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
|
1357 |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
|
1358 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
|
1359 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
|
1360 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
|
1361 |
||
1362 |
_ASUNAME |
|
1363 |
||
1364 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1365 |
for as_dir in $PATH |
|
1366 |
do |
|
1367 |
IFS=$as_save_IFS |
|
1368 |
test -z "$as_dir" && as_dir=. |
|
1369 |
$as_echo "PATH: $as_dir" |
|
1370 |
done |
|
1371 |
IFS=$as_save_IFS |
|
1372 |
||
1373 |
} >&5 |
|
1374 |
||
1375 |
cat >&5 <<_ACEOF |
|
1376 |
||
1377 |
||
1378 |
## ----------- ## |
|
1379 |
## Core tests. ## |
|
1380 |
## ----------- ## |
|
1381 |
||
1382 |
_ACEOF |
|
1383 |
||
1384 |
||
1385 |
# Keep a trace of the command line. |
|
1386 |
# Strip out --no-create and --no-recursion so they do not pile up. |
|
1387 |
# Strip out --silent because we don't want to record it for future runs. |
|
1388 |
# Also quote any args containing shell meta-characters. |
|
1389 |
# Make two passes to allow for proper duplicate-argument suppression. |
|
1390 |
ac_configure_args= |
|
1391 |
ac_configure_args0= |
|
1392 |
ac_configure_args1= |
|
1393 |
ac_must_keep_next=false |
|
1394 |
for ac_pass in 1 2 |
|
1395 |
do |
|
1396 |
for ac_arg |
|
1397 |
do |
|
1398 |
case $ac_arg in |
|
1399 |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
|
1400 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
1401 |
| -silent | --silent | --silen | --sile | --sil) |
|
1402 |
continue ;; |
|
1403 |
*\'*) |
|
1404 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
1405 |
esac |
|
1406 |
case $ac_pass in |
|
1407 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
|
1408 |
2) |
|
1409 |
as_fn_append ac_configure_args1 " '$ac_arg'" |
|
1410 |
if test $ac_must_keep_next = true; then |
|
1411 |
ac_must_keep_next=false # Got value, back to normal. |
|
1412 |
else |
|
1413 |
case $ac_arg in |
|
1414 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
|
1415 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
|
1416 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
|
1417 |
| -with-* | --with-* | -without-* | --without-* | --x) |
|
1418 |
case "$ac_configure_args0 " in |
|
1419 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
|
1420 |
esac |
|
1421 |
;; |
|
1422 |
-* ) ac_must_keep_next=true ;; |
|
1423 |
esac |
|
1424 |
fi |
|
1425 |
as_fn_append ac_configure_args " '$ac_arg'" |
|
1426 |
;; |
|
1427 |
esac |
|
1428 |
done |
|
1429 |
done |
|
1430 |
{ ac_configure_args0=; unset ac_configure_args0;} |
|
1431 |
{ ac_configure_args1=; unset ac_configure_args1;} |
|
1432 |
||
1433 |
# When interrupted or exit'd, cleanup temporary files, and complete |
|
1434 |
# config.log. We remove comments because anyway the quotes in there |
|
1435 |
# would cause problems or look ugly. |
|
1436 |
# WARNING: Use '\'' to represent an apostrophe within the trap. |
|
1437 |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
|
1438 |
trap 'exit_status=$? |
|
1439 |
# Save into config.log some information that might help in debugging. |
|
1440 |
{ |
|
1441 |
echo |
|
1442 |
||
1443 |
$as_echo "## ---------------- ## |
|
1444 |
## Cache variables. ## |
|
1445 |
## ---------------- ##" |
|
1446 |
echo |
|
1447 |
# The following way of writing the cache mishandles newlines in values, |
|
1448 |
( |
|
1449 |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
|
1450 |
eval ac_val=\$$ac_var |
|
1451 |
case $ac_val in #( |
|
1452 |
*${as_nl}*) |
|
1453 |
case $ac_var in #( |
|
1454 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
|
1455 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
|
1456 |
esac |
|
1457 |
case $ac_var in #( |
|
1458 |
_ | IFS | as_nl) ;; #( |
|
1459 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
1460 |
*) { eval $ac_var=; unset $ac_var;} ;; |
|
1461 |
esac ;; |
|
1462 |
esac |
|
1463 |
done |
|
1464 |
(set) 2>&1 | |
|
1465 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
|
1466 |
*${as_nl}ac_space=\ *) |
|
1467 |
sed -n \ |
|
1468 |
"s/'\''/'\''\\\\'\'''\''/g; |
|
1469 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
|
1470 |
;; #( |
|
1471 |
*) |
|
1472 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
|
1473 |
;; |
|
1474 |
esac | |
|
1475 |
sort |
|
1476 |
) |
|
1477 |
echo |
|
1478 |
||
1479 |
$as_echo "## ----------------- ## |
|
1480 |
## Output variables. ## |
|
1481 |
## ----------------- ##" |
|
1482 |
echo |
|
1483 |
for ac_var in $ac_subst_vars |
|
1484 |
do |
|
1485 |
eval ac_val=\$$ac_var |
|
1486 |
case $ac_val in |
|
1487 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|
1488 |
esac |
|
1489 |
$as_echo "$ac_var='\''$ac_val'\''" |
|
1490 |
done | sort |
|
1491 |
echo |
|
1492 |
||
1493 |
if test -n "$ac_subst_files"; then |
|
1494 |
$as_echo "## ------------------- ## |
|
1495 |
## File substitutions. ## |
|
1496 |
## ------------------- ##" |
|
1497 |
echo |
|
1498 |
for ac_var in $ac_subst_files |
|
1499 |
do |
|
1500 |
eval ac_val=\$$ac_var |
|
1501 |
case $ac_val in |
|
1502 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|
1503 |
esac |
|
1504 |
$as_echo "$ac_var='\''$ac_val'\''" |
|
1505 |
done | sort |
|
1506 |
echo |
|
1507 |
fi |
|
1508 |
||
1509 |
if test -s confdefs.h; then |
|
1510 |
$as_echo "## ----------- ## |
|
1511 |
## confdefs.h. ## |
|
1512 |
## ----------- ##" |
|
1513 |
echo |
|
1514 |
cat confdefs.h |
|
1515 |
echo |
|
1516 |
fi |
|
1517 |
test "$ac_signal" != 0 && |
|
1518 |
$as_echo "$as_me: caught signal $ac_signal" |
|
1519 |
$as_echo "$as_me: exit $exit_status" |
|
1520 |
} >&5 |
|
1521 |
rm -f core *.core core.conftest.* && |
|
1522 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
|
1523 |
exit $exit_status |
|
1524 |
' 0 |
|
1525 |
for ac_signal in 1 2 13 15; do |
|
1526 |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
|
1527 |
done |
|
1528 |
ac_signal=0 |
|
1529 |
||
1530 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
|
1531 |
rm -f -r conftest* confdefs.h |
|
1532 |
||
1533 |
$as_echo "/* confdefs.h */" > confdefs.h |
|
1534 |
||
1535 |
# Predefined preprocessor variables. |
|
1536 |
||
1537 |
cat >>confdefs.h <<_ACEOF |
|
1538 |
#define PACKAGE_NAME "$PACKAGE_NAME" |
|
1539 |
_ACEOF |
|
1540 |
||
1541 |
cat >>confdefs.h <<_ACEOF |
|
1542 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
|
1543 |
_ACEOF |
|
1544 |
||
1545 |
cat >>confdefs.h <<_ACEOF |
|
1546 |
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
|
1547 |
_ACEOF |
|
1548 |
||
1549 |
cat >>confdefs.h <<_ACEOF |
|
1550 |
#define PACKAGE_STRING "$PACKAGE_STRING" |
|
1551 |
_ACEOF |
|
1552 |
||
1553 |
cat >>confdefs.h <<_ACEOF |
|
1554 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
|
1555 |
_ACEOF |
|
1556 |
||
1557 |
cat >>confdefs.h <<_ACEOF |
|
1558 |
#define PACKAGE_URL "$PACKAGE_URL" |
|
1559 |
_ACEOF |
|
1560 |
||
1561 |
||
1562 |
# Let the site file select an alternate cache file if it wants to. |
|
1563 |
# Prefer an explicitly selected file to automatically selected ones. |
|
1564 |
ac_site_file1=NONE |
|
1565 |
ac_site_file2=NONE |
|
1566 |
if test -n "$CONFIG_SITE"; then |
|
1567 |
# We do not want a PATH search for config.site. |
|
1568 |
case $CONFIG_SITE in #(( |
|
1569 |
-*) ac_site_file1=./$CONFIG_SITE;; |
|
1570 |
*/*) ac_site_file1=$CONFIG_SITE;; |
|
1571 |
*) ac_site_file1=./$CONFIG_SITE;; |
|
1572 |
esac |
|
1573 |
elif test "x$prefix" != xNONE; then |
|
1574 |
ac_site_file1=$prefix/share/config.site |
|
1575 |
ac_site_file2=$prefix/etc/config.site |
|
1576 |
else |
|
1577 |
ac_site_file1=$ac_default_prefix/share/config.site |
|
1578 |
ac_site_file2=$ac_default_prefix/etc/config.site |
|
1579 |
fi |
|
1580 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
|
1581 |
do |
|
1582 |
test "x$ac_site_file" = xNONE && continue |
|
1583 |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
|
1584 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
|
1585 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
|
1586 |
sed 's/^/| /' "$ac_site_file" >&5 |
|
1587 |
. "$ac_site_file" \ |
|
1588 |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
1589 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
1590 |
as_fn_error $? "failed to load site script $ac_site_file |
|
1591 |
See \`config.log' for more details" "$LINENO" 5 ; } |
|
1592 |
fi |
|
1593 |
done |
|
1594 |
||
1595 |
if test -r "$cache_file"; then |
|
1596 |
# Some versions of bash will fail to source /dev/null (special files |
|
1597 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file. |
|
1598 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
|
1599 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
|
1600 |
$as_echo "$as_me: loading cache $cache_file" >&6;} |
|
1601 |
case $cache_file in |
|
1602 |
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
|
1603 |
*) . "./$cache_file";; |
|
1604 |
esac |
|
1605 |
fi |
|
1606 |
else |
|
1607 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
|
1608 |
$as_echo "$as_me: creating cache $cache_file" >&6;} |
|
1609 |
>$cache_file |
|
1610 |
fi |
|
1611 |
||
1612 |
# Check that the precious variables saved in the cache have kept the same |
|
1613 |
# value. |
|
1614 |
ac_cache_corrupted=false |
|
1615 |
for ac_var in $ac_precious_vars; do |
|
1616 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
|
1617 |
eval ac_new_set=\$ac_env_${ac_var}_set |
|
1618 |
eval ac_old_val=\$ac_cv_env_${ac_var}_value |
|
1619 |
eval ac_new_val=\$ac_env_${ac_var}_value |
|
1620 |
case $ac_old_set,$ac_new_set in |
|
1621 |
set,) |
|
1622 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
|
1623 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
|
1624 |
ac_cache_corrupted=: ;; |
|
1625 |
,set) |
|
1626 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
|
1627 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
|
1628 |
ac_cache_corrupted=: ;; |
|
1629 |
,);; |
|
1630 |
*) |
|
1631 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
|
1632 |
# differences in whitespace do not lead to failure. |
|
1633 |
ac_old_val_w=`echo x $ac_old_val` |
|
1634 |
ac_new_val_w=`echo x $ac_new_val` |
|
1635 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then |
|
1636 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
|
1637 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
|
1638 |
ac_cache_corrupted=: |
|
1639 |
else |
|
1640 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
|
1641 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
|
1642 |
eval $ac_var=\$ac_old_val |
|
1643 |
fi |
|
1644 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
|
1645 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
|
1646 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
|
1647 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
|
1648 |
fi;; |
|
1649 |
esac |
|
1650 |
# Pass precious variables to config.status. |
|
1651 |
if test "$ac_new_set" = set; then |
|
1652 |
case $ac_new_val in |
|
1653 |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
1654 |
*) ac_arg=$ac_var=$ac_new_val ;; |
|
1655 |
esac |
|
1656 |
case " $ac_configure_args " in |
|
1657 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
|
1658 |
*) as_fn_append ac_configure_args " '$ac_arg'" ;; |
|
1659 |
esac |
|
1660 |
fi |
|
1661 |
done |
|
1662 |
if $ac_cache_corrupted; then |
|
1663 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
1664 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
1665 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
|
1666 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
|
1667 |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
|
1668 |
fi |
|
1669 |
## -------------------- ## |
|
1670 |
## Main body of script. ## |
|
1671 |
## -------------------- ## |
|
1672 |
||
1673 |
ac_ext=c |
|
1674 |
ac_cpp='$CPP $CPPFLAGS' |
|
1675 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
1676 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
1677 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
1678 |
||
1679 |
||
1680 |
||
1681 |
ac_aux_dir= |
|
1682 |
for ac_dir in build-aux "$srcdir"/build-aux; do |
|
1683 |
if test -f "$ac_dir/install-sh"; then |
|
1684 |
ac_aux_dir=$ac_dir |
|
1685 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
|
1686 |
break |
|
1687 |
elif test -f "$ac_dir/install.sh"; then |
|
1688 |
ac_aux_dir=$ac_dir |
|
1689 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
|
1690 |
break |
|
1691 |
elif test -f "$ac_dir/shtool"; then |
|
1692 |
ac_aux_dir=$ac_dir |
|
1693 |
ac_install_sh="$ac_aux_dir/shtool install -c" |
|
1694 |
break |
|
1695 |
fi |
|
1696 |
done |
|
1697 |
if test -z "$ac_aux_dir"; then |
|
1698 |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 |
|
1699 |
fi |
|
1700 |
||
1701 |
# These three variables are undocumented and unsupported, |
|
1702 |
# and are intended to be withdrawn in a future Autoconf release. |
|
1703 |
# They can cause serious problems if a builder's source tree is in a directory |
|
1704 |
# whose full name contains unusual characters. |
|
1705 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
|
1706 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
|
1707 |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
|
1708 |
||
1709 |
||
1710 |
am__api_version='1.11' |
|
1711 |
||
1712 |
# Find a good install program. We prefer a C program (faster), |
|
1713 |
# so one script is as good as another. But avoid the broken or |
|
1714 |
# incompatible versions: |
|
1715 |
# SysV /etc/install, /usr/sbin/install |
|
1716 |
# SunOS /usr/etc/install |
|
1717 |
# IRIX /sbin/install |
|
1718 |
# AIX /bin/install |
|
1719 |
# AmigaOS /C/install, which installs bootblocks on floppy discs |
|
1720 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
|
1721 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
|
1722 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|
1723 |
# OS/2's system install, which has a completely different semantic |
|
1724 |
# ./install, which can be erroneously created by make from ./install.sh. |
|
1725 |
# Reject install programs that cannot install multiple files. |
|
1726 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
|
1727 |
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
|
1728 |
if test -z "$INSTALL"; then |
|
1729 |
if test "${ac_cv_path_install+set}" = set; then : |
|
1730 |
$as_echo_n "(cached) " >&6 |
|
1731 |
else |
|
1732 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1733 |
for as_dir in $PATH |
|
1734 |
do |
|
1735 |
IFS=$as_save_IFS |
|
1736 |
test -z "$as_dir" && as_dir=. |
|
1737 |
# Account for people who put trailing slashes in PATH elements. |
|
1738 |
case $as_dir/ in #(( |
|
1739 |
./ | .// | /[cC]/* | \ |
|
1740 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
|
1741 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
|
1742 |
/usr/ucb/* ) ;; |
|
1743 |
*) |
|
1744 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
|
1745 |
# Don't use installbsd from OSF since it installs stuff as root |
|
1746 |
# by default. |
|
1747 |
for ac_prog in ginstall scoinst install; do |
|
1748 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1749 |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
|
1750 |
if test $ac_prog = install && |
|
1751 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
1752 |
# AIX install. It has an incompatible calling convention. |
|
1753 |
: |
|
1754 |
elif test $ac_prog = install && |
|
1755 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
1756 |
# program-specific install script used by HP pwplus--don't use. |
|
1757 |
: |
|
1758 |
else |
|
1759 |
rm -rf conftest.one conftest.two conftest.dir |
|
1760 |
echo one > conftest.one |
|
1761 |
echo two > conftest.two |
|
1762 |
mkdir conftest.dir |
|
1763 |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
|
1764 |
test -s conftest.one && test -s conftest.two && |
|
1765 |
test -s conftest.dir/conftest.one && |
|
1766 |
test -s conftest.dir/conftest.two |
|
1767 |
then |
|
1768 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
|
1769 |
break 3 |
|
1770 |
fi |
|
1771 |
fi |
|
1772 |
fi |
|
1773 |
done |
|
1774 |
done |
|
1775 |
;; |
|
1776 |
esac |
|
1777 |
||
1778 |
done |
|
1779 |
IFS=$as_save_IFS |
|
1780 |
||
1781 |
rm -rf conftest.one conftest.two conftest.dir |
|
1782 |
||
1783 |
fi |
|
1784 |
if test "${ac_cv_path_install+set}" = set; then |
|
1785 |
INSTALL=$ac_cv_path_install |
|
1786 |
else |
|
1787 |
# As a last resort, use the slow shell script. Don't cache a |
|
1788 |
# value for INSTALL within a source directory, because that will |
|
1789 |
# break other packages using the cache if that directory is |
|
1790 |
# removed, or if the value is a relative name. |
|
1791 |
INSTALL=$ac_install_sh |
|
1792 |
fi |
|
1793 |
fi |
|
1794 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
|
1795 |
$as_echo "$INSTALL" >&6; } |
|
1796 |
||
1797 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
|
1798 |
# It thinks the first close brace ends the variable substitution. |
|
1799 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
|
1800 |
||
1801 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
|
1802 |
||
1803 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|
1804 |
||
1805 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
|
1806 |
$as_echo_n "checking whether build environment is sane... " >&6; } |
|
1807 |
# Just in case |
|
1808 |
sleep 1 |
|
1809 |
echo timestamp > conftest.file |
|
1810 |
# Reject unsafe characters in $srcdir or the absolute working directory |
|
1811 |
# name. Accept space and tab only in the latter. |
|
1812 |
am_lf=' |
|
1813 |
' |
|
1814 |
case `pwd` in |
|
1815 |
*[\\\"\#\$\&\'\`$am_lf]*) |
|
1816 |
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;; |
|
1817 |
esac |
|
1818 |
case $srcdir in |
|
1819 |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
|
1820 |
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;; |
|
1821 |
esac |
|
1822 |
||
1823 |
# Do `set' in a subshell so we don't clobber the current shell's |
|
1824 |
# arguments. Must try -L first in case configure is actually a |
|
1825 |
# symlink; some systems play weird games with the mod time of symlinks |
|
1826 |
# (eg FreeBSD returns the mod time of the symlink's containing |
|
1827 |
# directory). |
|
1828 |
if ( |
|
1829 |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
|
1830 |
if test "$*" = "X"; then |
|
1831 |
# -L didn't work. |
|
1832 |
set X `ls -t "$srcdir/configure" conftest.file` |
|
1833 |
fi |
|
1834 |
rm -f conftest.file |
|
1835 |
if test "$*" != "X $srcdir/configure conftest.file" \ |
|
1836 |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
|
1837 |
||
1838 |
# If neither matched, then we have a broken ls. This can happen |
|
1839 |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
|
1840 |
# broken ls alias from the environment. This has actually |
|
1841 |
# happened. Such a system could not be considered "sane". |
|
1842 |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
|
1843 |
alias in your environment" "$LINENO" 5 |
|
1844 |
fi |
|
1845 |
||
1846 |
test "$2" = conftest.file |
|
1847 |
) |
|
1848 |
then |
|
1849 |
# Ok. |
|
1850 |
: |
|
1851 |
else |
|
1852 |
as_fn_error $? "newly created file is older than distributed files! |
|
1853 |
Check your system clock" "$LINENO" 5 |
|
1854 |
fi |
|
1855 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
1856 |
$as_echo "yes" >&6; } |
|
1857 |
test "$program_prefix" != NONE && |
|
1858 |
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
|
1859 |
# Use a double $ so make ignores it. |
|
1860 |
test "$program_suffix" != NONE && |
|
1861 |
program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
|
1862 |
# Double any \ or $. |
|
1863 |
# By default was `s,x,x', remove it if useless. |
|
1864 |
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
|
1865 |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
|
1866 |
||
1867 |
# expand $ac_aux_dir to an absolute path |
|
1868 |
am_aux_dir=`cd $ac_aux_dir && pwd` |
|
1869 |
||
1870 |
if test x"${MISSING+set}" != xset; then |
|
1871 |
case $am_aux_dir in |
|
1872 |
*\ * | *\ *) |
|
1873 |
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
|
1874 |
*) |
|
1875 |
MISSING="\${SHELL} $am_aux_dir/missing" ;; |
|
1876 |
esac |
|
1877 |
fi |
|
1878 |
# Use eval to expand $SHELL |
|
1879 |
if eval "$MISSING --run true"; then |
|
1880 |
am_missing_run="$MISSING --run " |
|
1881 |
else |
|
1882 |
am_missing_run= |
|
1883 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
|
1884 |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
|
1885 |
fi |
|
1886 |
||
1887 |
if test x"${install_sh}" != xset; then |
|
1888 |
case $am_aux_dir in |
|
1889 |
*\ * | *\ *) |
|
1890 |
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
|
1891 |
*) |
|
1892 |
install_sh="\${SHELL} $am_aux_dir/install-sh" |
|
1893 |
esac |
|
1894 |
fi |
|
1895 |
||
1896 |
# Installed binaries are usually stripped using `strip' when the user |
|
1897 |
# run `make install-strip'. However `strip' might not be the right |
|
1898 |
# tool to use in cross-compilation environments, therefore Automake |
|
1899 |
# will honor the `STRIP' environment variable to overrule this program. |
|
1900 |
if test "$cross_compiling" != no; then |
|
1901 |
if test -n "$ac_tool_prefix"; then |
|
1902 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
|
1903 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|
1904 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
1905 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1906 |
if test "${ac_cv_prog_STRIP+set}" = set; then : |
|
1907 |
$as_echo_n "(cached) " >&6 |
|
1908 |
else |
|
1909 |
if test -n "$STRIP"; then |
|
1910 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|
1911 |
else |
|
1912 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1913 |
for as_dir in $PATH |
|
1914 |
do |
|
1915 |
IFS=$as_save_IFS |
|
1916 |
test -z "$as_dir" && as_dir=. |
|
1917 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1918 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
1919 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
|
1920 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
1921 |
break 2 |
|
1922 |
fi |
|
1923 |
done |
|
1924 |
done |
|
1925 |
IFS=$as_save_IFS |
|
1926 |
||
1927 |
fi |
|
1928 |
fi |
|
1929 |
STRIP=$ac_cv_prog_STRIP |
|
1930 |
if test -n "$STRIP"; then |
|
1931 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
|
1932 |
$as_echo "$STRIP" >&6; } |
|
1933 |
else |
|
1934 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
1935 |
$as_echo "no" >&6; } |
|
1936 |
fi |
|
1937 |
||
1938 |
||
1939 |
fi |
|
1940 |
if test -z "$ac_cv_prog_STRIP"; then |
|
1941 |
ac_ct_STRIP=$STRIP |
|
1942 |
# Extract the first word of "strip", so it can be a program name with args. |
|
1943 |
set dummy strip; ac_word=$2 |
|
1944 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
1945 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1946 |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : |
|
1947 |
$as_echo_n "(cached) " >&6 |
|
1948 |
else |
|
1949 |
if test -n "$ac_ct_STRIP"; then |
|
1950 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|
1951 |
else |
|
1952 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1953 |
for as_dir in $PATH |
|
1954 |
do |
|
1955 |
IFS=$as_save_IFS |
|
1956 |
test -z "$as_dir" && as_dir=. |
|
1957 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1958 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
1959 |
ac_cv_prog_ac_ct_STRIP="strip" |
|
1960 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
1961 |
break 2 |
|
1962 |
fi |
|
1963 |
done |
|
1964 |
done |
|
1965 |
IFS=$as_save_IFS |
|
1966 |
||
1967 |
fi |
|
1968 |
fi |
|
1969 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
1970 |
if test -n "$ac_ct_STRIP"; then |
|
1971 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
|
1972 |
$as_echo "$ac_ct_STRIP" >&6; } |
|
1973 |
else |
|
1974 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
1975 |
$as_echo "no" >&6; } |
|
1976 |
fi |
|
1977 |
||
1978 |
if test "x$ac_ct_STRIP" = x; then |
|
1979 |
STRIP=":" |
|
1980 |
else |
|
1981 |
case $cross_compiling:$ac_tool_warned in |
|
1982 |
yes:) |
|
1983 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
1984 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
1985 |
ac_tool_warned=yes ;; |
|
1986 |
esac |
|
1987 |
STRIP=$ac_ct_STRIP |
|
1988 |
fi |
|
1989 |
else |
|
1990 |
STRIP="$ac_cv_prog_STRIP" |
|
1991 |
fi |
|
1992 |
||
1993 |
fi |
|
1994 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
|
1995 |
||
1996 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
|
1997 |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
|
1998 |
if test -z "$MKDIR_P"; then |
|
1999 |
if test "${ac_cv_path_mkdir+set}" = set; then : |
|
2000 |
$as_echo_n "(cached) " >&6 |
|
2001 |
else |
|
2002 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2003 |
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
|
2004 |
do |
|
2005 |
IFS=$as_save_IFS |
|
2006 |
test -z "$as_dir" && as_dir=. |
|
2007 |
for ac_prog in mkdir gmkdir; do |
|
2008 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2009 |
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
|
2010 |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
|
2011 |
'mkdir (GNU coreutils) '* | \ |
|
2012 |
'mkdir (coreutils) '* | \ |
|
2013 |
'mkdir (fileutils) '4.1*) |
|
2014 |
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
|
2015 |
break 3;; |
|
2016 |
esac |
|
2017 |
done |
|
2018 |
done |
|
2019 |
done |
|
2020 |
IFS=$as_save_IFS |
|
2021 |
||
2022 |
fi |
|
2023 |
||
2024 |
test -d ./--version && rmdir ./--version |
|
2025 |
if test "${ac_cv_path_mkdir+set}" = set; then |
|
2026 |
MKDIR_P="$ac_cv_path_mkdir -p" |
|
2027 |
else |
|
2028 |
# As a last resort, use the slow shell script. Don't cache a |
|
2029 |
# value for MKDIR_P within a source directory, because that will |
|
2030 |
# break other packages using the cache if that directory is |
|
2031 |
# removed, or if the value is a relative name. |
|
2032 |
MKDIR_P="$ac_install_sh -d" |
|
2033 |
fi |
|
2034 |
fi |
|
2035 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
|
2036 |
$as_echo "$MKDIR_P" >&6; } |
|
2037 |
||
2038 |
mkdir_p="$MKDIR_P" |
|
2039 |
case $mkdir_p in |
|
2040 |
[\\/$]* | ?:[\\/]*) ;; |
|
2041 |
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
|
2042 |
esac |
|
2043 |
||
2044 |
for ac_prog in gawk mawk nawk awk |
|
2045 |
do |
|
2046 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
2047 |
set dummy $ac_prog; ac_word=$2 |
|
2048 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2049 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
2050 |
if test "${ac_cv_prog_AWK+set}" = set; then : |
|
2051 |
$as_echo_n "(cached) " >&6 |
|
2052 |
else |
|
2053 |
if test -n "$AWK"; then |
|
2054 |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
2055 |
else |
|
2056 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2057 |
for as_dir in $PATH |
|
2058 |
do |
|
2059 |
IFS=$as_save_IFS |
|
2060 |
test -z "$as_dir" && as_dir=. |
|
2061 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2062 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
2063 |
ac_cv_prog_AWK="$ac_prog" |
|
2064 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2065 |
break 2 |
|
2066 |
fi |
|
2067 |
done |
|
2068 |
done |
|
2069 |
IFS=$as_save_IFS |
|
2070 |
||
2071 |
fi |
|
2072 |
fi |
|
2073 |
AWK=$ac_cv_prog_AWK |
|
2074 |
if test -n "$AWK"; then |
|
2075 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
|
2076 |
$as_echo "$AWK" >&6; } |
|
2077 |
else |
|
2078 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2079 |
$as_echo "no" >&6; } |
|
2080 |
fi |
|
2081 |
||
2082 |
||
2083 |
test -n "$AWK" && break |
|
2084 |
done |
|
2085 |
||
2086 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
|
2087 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
|
2088 |
set x ${MAKE-make} |
|
2089 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
|
2090 |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : |
|
2091 |
$as_echo_n "(cached) " >&6 |
|
2092 |
else |
|
2093 |
cat >conftest.make <<\_ACEOF |
|
2094 |
SHELL = /bin/sh |
|
2095 |
all: |
|
2096 |
@echo '@@@%%%=$(MAKE)=@@@%%%' |
|
2097 |
_ACEOF |
|
2098 |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
|
2099 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
|
2100 |
*@@@%%%=?*=@@@%%%*) |
|
2101 |
eval ac_cv_prog_make_${ac_make}_set=yes;; |
|
2102 |
*) |
|
2103 |
eval ac_cv_prog_make_${ac_make}_set=no;; |
|
2104 |
esac |
|
2105 |
rm -f conftest.make |
|
2106 |
fi |
|
2107 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
|
2108 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
2109 |
$as_echo "yes" >&6; } |
|
2110 |
SET_MAKE= |
|
2111 |
else |
|
2112 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2113 |
$as_echo "no" >&6; } |
|
2114 |
SET_MAKE="MAKE=${MAKE-make}" |
|
2115 |
fi |
|
2116 |
||
2117 |
rm -rf .tst 2>/dev/null |
|
2118 |
mkdir .tst 2>/dev/null |
|
2119 |
if test -d .tst; then |
|
2120 |
am__leading_dot=. |
|
2121 |
else |
|
2122 |
am__leading_dot=_ |
|
2123 |
fi |
|
2124 |
rmdir .tst 2>/dev/null |
|
2125 |
||
2126 |
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
|
2127 |
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
|
2128 |
# is not polluted with repeated "-I." |
|
2129 |
am__isrc=' -I$(srcdir)' |
|
2130 |
# test to see if srcdir already configured |
|
2131 |
if test -f $srcdir/config.status; then |
|
2132 |
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
|
2133 |
fi |
|
2134 |
fi |
|
2135 |
||
2136 |
# test whether we have cygpath |
|
2137 |
if test -z "$CYGPATH_W"; then |
|
2138 |
if (cygpath --version) >/dev/null 2>/dev/null; then |
|
2139 |
CYGPATH_W='cygpath -w' |
|
2140 |
else |
|
2141 |
CYGPATH_W=echo |
|
2142 |
fi |
|
2143 |
fi |
|
2144 |
||
2145 |
||
2146 |
# Define the identity of the package. |
|
2147 |
PACKAGE='add-copyright-to-images' |
|
2148 |
VERSION='0.1.0' |
|
2149 |
||
2150 |
||
2151 |
cat >>confdefs.h <<_ACEOF |
|
2152 |
#define PACKAGE "$PACKAGE" |
|
2153 |
_ACEOF |
|
2154 |
||
2155 |
||
2156 |
cat >>confdefs.h <<_ACEOF |
|
2157 |
#define VERSION "$VERSION" |
|
2158 |
_ACEOF |
|
2159 |
||
2160 |
# Some tools Automake needs. |
|
2161 |
||
2162 |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
|
2163 |
||
2164 |
||
2165 |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
|
2166 |
||
2167 |
||
2168 |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
|
2169 |
||
2170 |
||
2171 |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
|
2172 |
||
2173 |
||
2174 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
2175 |
||
2176 |
# We need awk for the "check" target. The system "awk" is bad on |
|
2177 |
# some platforms. |
|
2178 |
# Always define AMTAR for backward compatibility. |
|
2179 |
||
2180 |
AMTAR=${AMTAR-"${am_missing_run}tar"} |
|
2181 |
||
2182 |
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
|
2183 |
||
2184 |
||
2185 |
||
2186 |
||
2187 |
||
2188 |
||
2189 |
# checks for programs. |
|
2190 |
||
2191 |
||
2192 |
||
2193 |
||
2194 |
if test -n "$PYTHON"; then |
|
2195 |
# If the user set $PYTHON, use it and don't search something else. |
|
2196 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.6" >&5 |
|
2197 |
$as_echo_n "checking whether $PYTHON version >= 2.6... " >&6; } |
|
2198 |
prog="import sys |
|
2199 |
# split strings by '.' and convert to numeric. Append some zeros |
|
2200 |
# because we need at least 4 digits for the hex conversion. |
|
2201 |
# map returns an iterator in Python 3.0 and a list in 2.x |
|
2202 |
minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0] |
|
2203 |
minverhex = 0 |
|
2204 |
# xrange is not present in Python 3.0 and range returns an iterator |
|
2205 |
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] |
|
2206 |
sys.exit(sys.hexversion < minverhex)" |
|
2207 |
if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 |
|
2208 |
($PYTHON -c "$prog") >&5 2>&5 |
|
2209 |
ac_status=$? |
|
2210 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2211 |
(exit $ac_status); }; then : |
|
2212 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
2213 |
$as_echo "yes" >&6; } |
|
2214 |
else |
|
2215 |
as_fn_error $? "too old" "$LINENO" 5 |
|
2216 |
fi |
|
2217 |
am_display_PYTHON=$PYTHON |
|
2218 |
else |
|
2219 |
# Otherwise, try each interpreter until we find one that satisfies |
|
2220 |
# VERSION. |
|
2221 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.6" >&5 |
|
2222 |
$as_echo_n "checking for a Python interpreter with version >= 2.6... " >&6; } |
|
2223 |
if test "${am_cv_pathless_PYTHON+set}" = set; then : |
|
2224 |
$as_echo_n "(cached) " >&6 |
|
2225 |
else |
|
2226 |
||
2227 |
for am_cv_pathless_PYTHON in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do |
|
2228 |
test "$am_cv_pathless_PYTHON" = none && break |
|
2229 |
prog="import sys |
|
2230 |
# split strings by '.' and convert to numeric. Append some zeros |
|
2231 |
# because we need at least 4 digits for the hex conversion. |
|
2232 |
# map returns an iterator in Python 3.0 and a list in 2.x |
|
2233 |
minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0] |
|
2234 |
minverhex = 0 |
|
2235 |
# xrange is not present in Python 3.0 and range returns an iterator |
|
2236 |
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] |
|
2237 |
sys.exit(sys.hexversion < minverhex)" |
|
2238 |
if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5 |
|
2239 |
($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5 |
|
2240 |
ac_status=$? |
|
2241 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2242 |
(exit $ac_status); }; then : |
|
2243 |
break |
|
2244 |
fi |
|
2245 |
done |
|
2246 |
fi |
|
2247 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5 |
|
2248 |
$as_echo "$am_cv_pathless_PYTHON" >&6; } |
|
2249 |
# Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. |
|
2250 |
if test "$am_cv_pathless_PYTHON" = none; then |
|
2251 |
PYTHON=: |
|
2252 |
else |
|
2253 |
# Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args. |
|
2254 |
set dummy $am_cv_pathless_PYTHON; ac_word=$2 |
|
2255 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2256 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
2257 |
if test "${ac_cv_path_PYTHON+set}" = set; then : |
|
2258 |
$as_echo_n "(cached) " >&6 |
|
2259 |
else |
|
2260 |
case $PYTHON in |
|
2261 |
[\\/]* | ?:[\\/]*) |
|
2262 |
ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. |
|
2263 |
;; |
|
2264 |
*) |
|
2265 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2266 |
for as_dir in $PATH |
|
2267 |
do |
|
2268 |
IFS=$as_save_IFS |
|
2269 |
test -z "$as_dir" && as_dir=. |
|
2270 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2271 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
2272 |
ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" |
|
2273 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2274 |
break 2 |
|
2275 |
fi |
|
2276 |
done |
|
2277 |
done |
|
2278 |
IFS=$as_save_IFS |
|
2279 |
||
2280 |
;; |
|
2281 |
esac |
|
2282 |
fi |
|
2283 |
PYTHON=$ac_cv_path_PYTHON |
|
2284 |
if test -n "$PYTHON"; then |
|
2285 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 |
|
2286 |
$as_echo "$PYTHON" >&6; } |
|
2287 |
else |
|
2288 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2289 |
$as_echo "no" >&6; } |
|
2290 |
fi |
|
2291 |
||
2292 |
||
2293 |
fi |
|
2294 |
am_display_PYTHON=$am_cv_pathless_PYTHON |
|
2295 |
fi |
|
2296 |
||
2297 |
||
2298 |
if test "$PYTHON" = :; then |
|
2299 |
as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5 |
|
2300 |
else |
|
2301 |
||
2302 |
||
2303 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5 |
|
2304 |
$as_echo_n "checking for $am_display_PYTHON version... " >&6; } |
|
2305 |
if test "${am_cv_python_version+set}" = set; then : |
|
2306 |
$as_echo_n "(cached) " >&6 |
|
2307 |
else |
|
2308 |
am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"` |
|
2309 |
fi |
|
2310 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5 |
|
2311 |
$as_echo "$am_cv_python_version" >&6; } |
|
2312 |
PYTHON_VERSION=$am_cv_python_version |
|
2313 |
||
2314 |
||
2315 |
||
2316 |
PYTHON_PREFIX='${prefix}' |
|
2317 |
||
2318 |
PYTHON_EXEC_PREFIX='${exec_prefix}' |
|
2319 |
||
2320 |
||
2321 |
||
2322 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5 |
|
2323 |
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; } |
|
2324 |
if test "${am_cv_python_platform+set}" = set; then : |
|
2325 |
$as_echo_n "(cached) " >&6 |
|
2326 |
else |
|
2327 |
am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"` |
|
2328 |
fi |
|
2329 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5 |
|
2330 |
$as_echo "$am_cv_python_platform" >&6; } |
|
2331 |
PYTHON_PLATFORM=$am_cv_python_platform |
|
2332 |
||
2333 |
||
2334 |
||
2335 |
||
2336 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5 |
|
2337 |
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; } |
|
2338 |
if test "${am_cv_python_pythondir+set}" = set; then : |
|
2339 |
$as_echo_n "(cached) " >&6 |
|
2340 |
else |
|
2341 |
if test "x$prefix" = xNONE |
|
2342 |
then |
|
2343 |
am_py_prefix=$ac_default_prefix |
|
2344 |
else |
|
2345 |
am_py_prefix=$prefix |
|
2346 |
fi |
|
2347 |
am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null || |
|
2348 |
echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` |
|
2349 |
case $am_cv_python_pythondir in |
|
2350 |
$am_py_prefix*) |
|
2351 |
am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'` |
|
2352 |
am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"` |
|
2353 |
;; |
|
2354 |
*) |
|
2355 |
case $am_py_prefix in |
|
2356 |
/usr|/System*) ;; |
|
2357 |
*) |
|
2358 |
am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages |
|
2359 |
;; |
|
2360 |
esac |
|
2361 |
;; |
|
2362 |
esac |
|
2363 |
||
2364 |
fi |
|
2365 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5 |
|
2366 |
$as_echo "$am_cv_python_pythondir" >&6; } |
|
2367 |
pythondir=$am_cv_python_pythondir |
|
2368 |
||
2369 |
||
2370 |
||
2371 |
pkgpythondir=\${pythondir}/$PACKAGE |
|
2372 |
||
2373 |
||
2374 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5 |
|
2375 |
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; } |
|
2376 |
if test "${am_cv_python_pyexecdir+set}" = set; then : |
|
2377 |
$as_echo_n "(cached) " >&6 |
|
2378 |
else |
|
2379 |
if test "x$exec_prefix" = xNONE |
|
2380 |
then |
|
2381 |
am_py_exec_prefix=$am_py_prefix |
|
2382 |
else |
|
2383 |
am_py_exec_prefix=$exec_prefix |
|
2384 |
fi |
|
2385 |
am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null || |
|
2386 |
echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"` |
|
2387 |
case $am_cv_python_pyexecdir in |
|
2388 |
$am_py_exec_prefix*) |
|
2389 |
am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'` |
|
2390 |
am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"` |
|
2391 |
;; |
|
2392 |
*) |
|
2393 |
case $am_py_exec_prefix in |
|
2394 |
/usr|/System*) ;; |
|
2395 |
*) |
|
2396 |
am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages |
|
2397 |
;; |
|
2398 |
esac |
|
2399 |
;; |
|
2400 |
esac |
|
2401 |
||
2402 |
fi |
|
2403 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5 |
|
2404 |
$as_echo "$am_cv_python_pyexecdir" >&6; } |
|
2405 |
pyexecdir=$am_cv_python_pyexecdir |
|
2406 |
||
2407 |
||
2408 |
||
2409 |
pkgpyexecdir=\${pyexecdir}/$PACKAGE |
|
2410 |
||
2411 |
||
2412 |
||
2413 |
fi |
|
2414 |
||
2415 |
||
2416 |
||
2417 |
# checks for libraries. |
|
2418 |
||
2419 |
# checks for header files. |
|
2420 |
||
2421 |
# checks for typedefs, structures, and compiler characteristics. |
|
2422 |
||
2423 |
# checks for library functions. |
|
2424 |
||
2425 |
ac_config_files="$ac_config_files Makefile src/Makefile src/scripts/add-copyright-to-images" |
|
2426 |
||
2427 |
cat >confcache <<\_ACEOF |
|
2428 |
# This file is a shell script that caches the results of configure |
|
2429 |
# tests run on this system so they can be shared between configure |
|
2430 |
# scripts and configure runs, see configure's option --config-cache. |
|
2431 |
# It is not useful on other systems. If it contains results you don't |
|
2432 |
# want to keep, you may remove or edit it. |
|
2433 |
# |
|
2434 |
# config.status only pays attention to the cache file if you give it |
|
2435 |
# the --recheck option to rerun configure. |
|
2436 |
# |
|
2437 |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
|
2438 |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
|
2439 |
# following values. |
|
2440 |
||
2441 |
_ACEOF |
|
2442 |
||
2443 |
# The following way of writing the cache mishandles newlines in values, |
|
2444 |
# but we know of no workaround that is simple, portable, and efficient. |
|
2445 |
# So, we kill variables containing newlines. |
|
2446 |
# Ultrix sh set writes to stderr and can't be redirected directly, |
|
2447 |
# and sets the high bit in the cache file unless we assign to the vars. |
|
2448 |
( |
|
2449 |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
|
2450 |
eval ac_val=\$$ac_var |
|
2451 |
case $ac_val in #( |
|
2452 |
*${as_nl}*) |
|
2453 |
case $ac_var in #( |
|
2454 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
|
2455 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
|
2456 |
esac |
|
2457 |
case $ac_var in #( |
|
2458 |
_ | IFS | as_nl) ;; #( |
|
2459 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
2460 |
*) { eval $ac_var=; unset $ac_var;} ;; |
|
2461 |
esac ;; |
|
2462 |
esac |
|
2463 |
done |
|
2464 |
||
2465 |
(set) 2>&1 | |
|
2466 |
case $as_nl`(ac_space=' '; set) 2>&1` in #( |
|
2467 |
*${as_nl}ac_space=\ *) |
|
2468 |
# `set' does not quote correctly, so add quotes: double-quote |
|
2469 |
# substitution turns \\\\ into \\, and sed turns \\ into \. |
|
2470 |
sed -n \ |
|
2471 |
"s/'/'\\\\''/g; |
|
2472 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
|
2473 |
;; #( |
|
2474 |
*) |
|
2475 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
|
2476 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
|
2477 |
;; |
|
2478 |
esac | |
|
2479 |
sort |
|
2480 |
) | |
|
2481 |
sed ' |
|
2482 |
/^ac_cv_env_/b end |
|
2483 |
t clear |
|
2484 |
:clear |
|
2485 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
|
2486 |
t end |
|
2487 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
|
2488 |
:end' >>confcache |
|
2489 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
|
2490 |
if test -w "$cache_file"; then |
|
2491 |
test "x$cache_file" != "x/dev/null" && |
|
2492 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
|
2493 |
$as_echo "$as_me: updating cache $cache_file" >&6;} |
|
2494 |
cat confcache >$cache_file |
|
2495 |
else |
|
2496 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
|
2497 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
|
2498 |
fi |
|
2499 |
fi |
|
2500 |
rm -f confcache |
|
2501 |
||
2502 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
|
2503 |
# Let make expand exec_prefix. |
|
2504 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
|
2505 |
||
2506 |
# Transform confdefs.h into DEFS. |
|
2507 |
# Protect against shell expansion while executing Makefile rules. |
|
2508 |
# Protect against Makefile macro expansion. |
|
2509 |
# |
|
2510 |
# If the first sed substitution is executed (which looks for macros that |
|
2511 |
# take arguments), then branch to the quote section. Otherwise, |
|
2512 |
# look for a macro that doesn't take arguments. |
|
2513 |
ac_script=' |
|
2514 |
:mline |
|
2515 |
/\\$/{ |
|
2516 |
N |
|
2517 |
s,\\\n,, |
|
2518 |
b mline |
|
2519 |
} |
|
2520 |
t clear |
|
2521 |
:clear |
|
2522 |
s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g |
|
2523 |
t quote |
|
2524 |
s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g |
|
2525 |
t quote |
|
2526 |
b any |
|
2527 |
:quote |
|
2528 |
s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g |
|
2529 |
s/\[/\\&/g |
|
2530 |
s/\]/\\&/g |
|
2531 |
s/\$/$$/g |
|
2532 |
H |
|
2533 |
:any |
|
2534 |
${ |
|
2535 |
g |
|
2536 |
s/^\n// |
|
2537 |
s/\n/ /g |
|
2538 |
p |
|
2539 |
} |
|
2540 |
' |
|
2541 |
DEFS=`sed -n "$ac_script" confdefs.h` |
|
2542 |
||
2543 |
||
2544 |
ac_libobjs= |
|
2545 |
ac_ltlibobjs= |
|
2546 |
U= |
|
2547 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
|
2548 |
# 1. Remove the extension, and $U if already installed. |
|
2549 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
|
2550 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
|
2551 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
|
2552 |
# will be set to the directory where LIBOBJS objects are built. |
|
2553 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
|
2554 |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
|
2555 |
done |
|
2556 |
LIBOBJS=$ac_libobjs |
|
2557 |
||
2558 |
LTLIBOBJS=$ac_ltlibobjs |
|
2559 |
||
2560 |
||
2561 |
||
2562 |
||
2563 |
: ${CONFIG_STATUS=./config.status} |
|
2564 |
ac_write_fail=0 |
|
2565 |
ac_clean_files_save=$ac_clean_files |
|
2566 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
|
2567 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
|
2568 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
|
2569 |
as_write_fail=0 |
|
2570 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
|
2571 |
#! $SHELL |
|
2572 |
# Generated by $as_me. |
|
2573 |
# Run this file to recreate the current configuration. |
|
2574 |
# Compiler output produced by configure, useful for debugging |
|
2575 |
# configure, is in config.log if it exists. |
|
2576 |
||
2577 |
debug=false |
|
2578 |
ac_cs_recheck=false |
|
2579 |
ac_cs_silent=false |
|
2580 |
||
2581 |
SHELL=\${CONFIG_SHELL-$SHELL} |
|
2582 |
export SHELL |
|
2583 |
_ASEOF |
|
2584 |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
|
2585 |
## -------------------- ## |
|
2586 |
## M4sh Initialization. ## |
|
2587 |
## -------------------- ## |
|
2588 |
||
2589 |
# Be more Bourne compatible |
|
2590 |
DUALCASE=1; export DUALCASE # for MKS sh |
|
2591 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
|
2592 |
emulate sh |
|
2593 |
NULLCMD=: |
|
2594 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
|
2595 |
# is contrary to our usage. Disable this feature. |
|
2596 |
alias -g '${1+"$@"}'='"$@"' |
|
2597 |
setopt NO_GLOB_SUBST |
|
2598 |
else |
|
2599 |
case `(set -o) 2>/dev/null` in #( |
|
2600 |
*posix*) : |
|
2601 |
set -o posix ;; #( |
|
2602 |
*) : |
|
2603 |
;; |
|
2604 |
esac |
|
2605 |
fi |
|
2606 |
||
2607 |
||
2608 |
as_nl=' |
|
2609 |
' |
|
2610 |
export as_nl |
|
2611 |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
|
2612 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
2613 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
|
2614 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|
2615 |
# Prefer a ksh shell builtin over an external printf program on Solaris, |
|
2616 |
# but without wasting forks for bash or zsh. |
|
2617 |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
|
2618 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
2619 |
as_echo='print -r --' |
|
2620 |
as_echo_n='print -rn --' |
|
2621 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
2622 |
as_echo='printf %s\n' |
|
2623 |
as_echo_n='printf %s' |
|
2624 |
else |
|
2625 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
2626 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
2627 |
as_echo_n='/usr/ucb/echo -n' |
|
2628 |
else |
|
2629 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
2630 |
as_echo_n_body='eval |
|
2631 |
arg=$1; |
|
2632 |
case $arg in #( |
|
2633 |
*"$as_nl"*) |
|
2634 |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
2635 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
2636 |
esac; |
|
2637 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
2638 |
' |
|
2639 |
export as_echo_n_body |
|
2640 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
|
2641 |
fi |
|
2642 |
export as_echo_body |
|
2643 |
as_echo='sh -c $as_echo_body as_echo' |
|
2644 |
fi |
|
2645 |
||
2646 |
# The user is always right. |
|
2647 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
2648 |
PATH_SEPARATOR=: |
|
2649 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
2650 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
2651 |
PATH_SEPARATOR=';' |
|
2652 |
} |
|
2653 |
fi |
|
2654 |
||
2655 |
||
2656 |
# IFS |
|
2657 |
# We need space, tab and new line, in precisely that order. Quoting is |
|
2658 |
# there to prevent editors from complaining about space-tab. |
|
2659 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
2660 |
# splitting by setting IFS to empty value.) |
|
2661 |
IFS=" "" $as_nl" |
|
2662 |
||
2663 |
# Find who we are. Look in the path if we contain no directory separator. |
|
2664 |
case $0 in #(( |
|
2665 |
*[\\/]* ) as_myself=$0 ;; |
|
2666 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2667 |
for as_dir in $PATH |
|
2668 |
do |
|
2669 |
IFS=$as_save_IFS |
|
2670 |
test -z "$as_dir" && as_dir=. |
|
2671 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
2672 |
done |
|
2673 |
IFS=$as_save_IFS |
|
2674 |
||
2675 |
;; |
|
2676 |
esac |
|
2677 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
|
2678 |
# in which case we are not to be found in the path. |
|
2679 |
if test "x$as_myself" = x; then |
|
2680 |
as_myself=$0 |
|
2681 |
fi |
|
2682 |
if test ! -f "$as_myself"; then |
|
2683 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|
2684 |
exit 1 |
|
2685 |
fi |
|
2686 |
||
2687 |
# Unset variables that we do not need and which cause bugs (e.g. in |
|
2688 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
|
2689 |
# suppresses any "Segmentation fault" message there. '((' could |
|
2690 |
# trigger a bug in pdksh 5.2.14. |
|
2691 |
for as_var in BASH_ENV ENV MAIL MAILPATH |
|
2692 |
do eval test x\${$as_var+set} = xset \ |
|
2693 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
|
2694 |
done |
|
2695 |
PS1='$ ' |
|
2696 |
PS2='> ' |
|
2697 |
PS4='+ ' |
|
2698 |
||
2699 |
# NLS nuisances. |
|
2700 |
LC_ALL=C |
|
2701 |
export LC_ALL |
|
2702 |
LANGUAGE=C |
|
2703 |
export LANGUAGE |
|
2704 |
||
2705 |
# CDPATH. |
|
2706 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
2707 |
||
2708 |
||
2709 |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
|
2710 |
# ---------------------------------------- |
|
2711 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
|
2712 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
|
2713 |
# script with STATUS, using 1 if that was 0. |
|
2714 |
as_fn_error () |
|
2715 |
{ |
|
2716 |
as_status=$1; test $as_status -eq 0 && as_status=1 |
|
2717 |
if test "$4"; then |
|
2718 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
2719 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
|
2720 |
fi |
|
2721 |
$as_echo "$as_me: error: $2" >&2 |
|
2722 |
as_fn_exit $as_status |
|
2723 |
} # as_fn_error |
|
2724 |
||
2725 |
||
2726 |
# as_fn_set_status STATUS |
|
2727 |
# ----------------------- |
|
2728 |
# Set $? to STATUS, without forking. |
|
2729 |
as_fn_set_status () |
|
2730 |
{ |
|
2731 |
return $1 |
|
2732 |
} # as_fn_set_status |
|
2733 |
||
2734 |
# as_fn_exit STATUS |
|
2735 |
# ----------------- |
|
2736 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
|
2737 |
as_fn_exit () |
|
2738 |
{ |
|
2739 |
set +e |
|
2740 |
as_fn_set_status $1 |
|
2741 |
exit $1 |
|
2742 |
} # as_fn_exit |
|
2743 |
||
2744 |
# as_fn_unset VAR |
|
2745 |
# --------------- |
|
2746 |
# Portably unset VAR. |
|
2747 |
as_fn_unset () |
|
2748 |
{ |
|
2749 |
{ eval $1=; unset $1;} |
|
2750 |
} |
|
2751 |
as_unset=as_fn_unset |
|
2752 |
# as_fn_append VAR VALUE |
|
2753 |
# ---------------------- |
|
2754 |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
|
2755 |
# advantage of any shell optimizations that allow amortized linear growth over |
|
2756 |
# repeated appends, instead of the typical quadratic growth present in naive |
|
2757 |
# implementations. |
|
2758 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
|
2759 |
eval 'as_fn_append () |
|
2760 |
{ |
|
2761 |
eval $1+=\$2 |
|
2762 |
}' |
|
2763 |
else |
|
2764 |
as_fn_append () |
|
2765 |
{ |
|
2766 |
eval $1=\$$1\$2 |
|
2767 |
} |
|
2768 |
fi # as_fn_append |
|
2769 |
||
2770 |
# as_fn_arith ARG... |
|
2771 |
# ------------------ |
|
2772 |
# Perform arithmetic evaluation on the ARGs, and store the result in the |
|
2773 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments |
|
2774 |
# must be portable across $(()) and expr. |
|
2775 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
|
2776 |
eval 'as_fn_arith () |
|
2777 |
{ |
|
2778 |
as_val=$(( $* )) |
|
2779 |
}' |
|
2780 |
else |
|
2781 |
as_fn_arith () |
|
2782 |
{ |
|
2783 |
as_val=`expr "$@" || test $? -eq 1` |
|
2784 |
} |
|
2785 |
fi # as_fn_arith |
|
2786 |
||
2787 |
||
2788 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
2789 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
2790 |
as_expr=expr |
|
2791 |
else |
|
2792 |
as_expr=false |
|
2793 |
fi |
|
2794 |
||
2795 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|
2796 |
as_basename=basename |
|
2797 |
else |
|
2798 |
as_basename=false |
|
2799 |
fi |
|
2800 |
||
2801 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
2802 |
as_dirname=dirname |
|
2803 |
else |
|
2804 |
as_dirname=false |
|
2805 |
fi |
|
2806 |
||
2807 |
as_me=`$as_basename -- "$0" || |
|
2808 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
2809 |
X"$0" : 'X\(//\)$' \| \ |
|
2810 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|
2811 |
$as_echo X/"$0" | |
|
2812 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|
2813 |
s//\1/ |
|
2814 |
q |
|
2815 |
} |
|
2816 |
/^X\/\(\/\/\)$/{ |
|
2817 |
s//\1/ |
|
2818 |
q |
|
2819 |
} |
|
2820 |
/^X\/\(\/\).*/{ |
|
2821 |
s//\1/ |
|
2822 |
q |
|
2823 |
} |
|
2824 |
s/.*/./; q'` |
|
2825 |
||
2826 |
# Avoid depending upon Character Ranges. |
|
2827 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
2828 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
2829 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
2830 |
as_cr_digits='0123456789' |
|
2831 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
2832 |
||
2833 |
ECHO_C= ECHO_N= ECHO_T= |
|
2834 |
case `echo -n x` in #((((( |
|
2835 |
-n*) |
|
2836 |
case `echo 'xy\c'` in |
|
2837 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
2838 |
xy) ECHO_C='\c';; |
|
2839 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
|
2840 |
ECHO_T=' ';; |
|
2841 |
esac;; |
|
2842 |
*) |
|
2843 |
ECHO_N='-n';; |
|
2844 |
esac |
|
2845 |
||
2846 |
rm -f conf$$ conf$$.exe conf$$.file |
|
2847 |
if test -d conf$$.dir; then |
|
2848 |
rm -f conf$$.dir/conf$$.file |
|
2849 |
else |
|
2850 |
rm -f conf$$.dir |
|
2851 |
mkdir conf$$.dir 2>/dev/null |
|
2852 |
fi |
|
2853 |
if (echo >conf$$.file) 2>/dev/null; then |
|
2854 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
2855 |
as_ln_s='ln -s' |
|
2856 |
# ... but there are two gotchas: |
|
2857 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|
2858 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
2859 |
# In both cases, we have to default to `cp -p'. |
|
2860 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
2861 |
as_ln_s='cp -p' |
|
2862 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
|
2863 |
as_ln_s=ln |
|
2864 |
else |
|
2865 |
as_ln_s='cp -p' |
|
2866 |
fi |
|
2867 |
else |
|
2868 |
as_ln_s='cp -p' |
|
2869 |
fi |
|
2870 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|
2871 |
rmdir conf$$.dir 2>/dev/null |
|
2872 |
||
2873 |
||
2874 |
# as_fn_mkdir_p |
|
2875 |
# ------------- |
|
2876 |
# Create "$as_dir" as a directory, including parents if necessary. |
|
2877 |
as_fn_mkdir_p () |
|
2878 |
{ |
|
2879 |
||
2880 |
case $as_dir in #( |
|
2881 |
-*) as_dir=./$as_dir;; |
|
2882 |
esac |
|
2883 |
test -d "$as_dir" || eval $as_mkdir_p || { |
|
2884 |
as_dirs= |
|
2885 |
while :; do |
|
2886 |
case $as_dir in #( |
|
2887 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|
2888 |
*) as_qdir=$as_dir;; |
|
2889 |
esac |
|
2890 |
as_dirs="'$as_qdir' $as_dirs" |
|
2891 |
as_dir=`$as_dirname -- "$as_dir" || |
|
2892 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
2893 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
2894 |
X"$as_dir" : 'X\(//\)$' \| \ |
|
2895 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
2896 |
$as_echo X"$as_dir" | |
|
2897 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
2898 |
s//\1/ |
|
2899 |
q |
|
2900 |
} |
|
2901 |
/^X\(\/\/\)[^/].*/{ |
|
2902 |
s//\1/ |
|
2903 |
q |
|
2904 |
} |
|
2905 |
/^X\(\/\/\)$/{ |
|
2906 |
s//\1/ |
|
2907 |
q |
|
2908 |
} |
|
2909 |
/^X\(\/\).*/{ |
|
2910 |
s//\1/ |
|
2911 |
q |
|
2912 |
} |
|
2913 |
s/.*/./; q'` |
|
2914 |
test -d "$as_dir" && break |
|
2915 |
done |
|
2916 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
2917 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
|
2918 |
||
2919 |
||
2920 |
} # as_fn_mkdir_p |
|
2921 |
if mkdir -p . 2>/dev/null; then |
|
2922 |
as_mkdir_p='mkdir -p "$as_dir"' |
|
2923 |
else |
|
2924 |
test -d ./-p && rmdir ./-p |
|
2925 |
as_mkdir_p=false |
|
2926 |
fi |
|
2927 |
||
2928 |
if test -x / >/dev/null 2>&1; then |
|
2929 |
as_test_x='test -x' |
|
2930 |
else |
|
2931 |
if ls -dL / >/dev/null 2>&1; then |
|
2932 |
as_ls_L_option=L |
|
2933 |
else |
|
2934 |
as_ls_L_option= |
|
2935 |
fi |
|
2936 |
as_test_x=' |
|
2937 |
eval sh -c '\'' |
|
2938 |
if test -d "$1"; then |
|
2939 |
test -d "$1/."; |
|
2940 |
else |
|
2941 |
case $1 in #( |
|
2942 |
-*)set "./$1";; |
|
2943 |
esac; |
|
2944 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
2945 |
???[sx]*):;;*)false;;esac;fi |
|
2946 |
'\'' sh |
|
2947 |
' |
|
2948 |
fi |
|
2949 |
as_executable_p=$as_test_x |
|
2950 |
||
2951 |
# Sed expression to map a string onto a valid CPP name. |
|
2952 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
2953 |
||
2954 |
# Sed expression to map a string onto a valid variable name. |
|
2955 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
2956 |
||
2957 |
||
2958 |
exec 6>&1 |
|
2959 |
## ----------------------------------- ## |
|
2960 |
## Main body of $CONFIG_STATUS script. ## |
|
2961 |
## ----------------------------------- ## |
|
2962 |
_ASEOF |
|
2963 |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
|
2964 |
||
2965 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
2966 |
# Save the log message, to keep $0 and so on meaningful, and to |
|
2967 |
# report actual input values of CONFIG_FILES etc. instead of their |
|
2968 |
# values after options handling. |
|
2969 |
ac_log=" |
|
2970 |
This file was extended by add-copyright-to-images $as_me 0.1.0, which was |
|
2971 |
generated by GNU Autoconf 2.67. Invocation command line was |
|
2972 |
||
2973 |
CONFIG_FILES = $CONFIG_FILES |
|
2974 |
CONFIG_HEADERS = $CONFIG_HEADERS |
|
2975 |
CONFIG_LINKS = $CONFIG_LINKS |
|
2976 |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
|
2977 |
$ $0 $@ |
|
2978 |
||
2979 |
on `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
2980 |
" |
|
2981 |
||
2982 |
_ACEOF |
|
2983 |
||
2984 |
case $ac_config_files in *" |
|
2985 |
"*) set x $ac_config_files; shift; ac_config_files=$*;; |
|
2986 |
esac |
|
2987 |
||
2988 |
||
2989 |
||
2990 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
2991 |
# Files that config.status was made for. |
|
2992 |
config_files="$ac_config_files" |
|
2993 |
||
2994 |
_ACEOF |
|
2995 |
||
2996 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
2997 |
ac_cs_usage="\ |
|
2998 |
\`$as_me' instantiates files and other configuration actions |
|
2999 |
from templates according to the current configuration. Unless the files |
|
3000 |
and actions are specified as TAGs, all are instantiated by default. |
|
3001 |
||
3002 |
Usage: $0 [OPTION]... [TAG]... |
|
3003 |
||
3004 |
-h, --help print this help, then exit |
|
3005 |
-V, --version print version number and configuration settings, then exit |
|
3006 |
--config print configuration, then exit |
|
3007 |
-q, --quiet, --silent |
|
3008 |
do not print progress messages |
|
3009 |
-d, --debug don't remove temporary files |
|
3010 |
--recheck update $as_me by reconfiguring in the same conditions |
|
3011 |
--file=FILE[:TEMPLATE] |
|
3012 |
instantiate the configuration file FILE |
|
3013 |
||
3014 |
Configuration files: |
|
3015 |
$config_files |
|
3016 |
||
3017 |
Report bugs to <edam@waxworlds.org>. |
|
3018 |
add-copyright-to-images home page: <http://www.waxworlds.org/edam/software/add-copyright-to-images>." |
|
3019 |
||
3020 |
_ACEOF |
|
3021 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
3022 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
|
3023 |
ac_cs_version="\\ |
|
3024 |
add-copyright-to-images config.status 0.1.0 |
|
3025 |
configured by $0, generated by GNU Autoconf 2.67, |
|
3026 |
with options \\"\$ac_cs_config\\" |
|
3027 |
||
3028 |
Copyright (C) 2010 Free Software Foundation, Inc. |
|
3029 |
This config.status script is free software; the Free Software Foundation |
|
3030 |
gives unlimited permission to copy, distribute and modify it." |
|
3031 |
||
3032 |
ac_pwd='$ac_pwd' |
|
3033 |
srcdir='$srcdir' |
|
3034 |
INSTALL='$INSTALL' |
|
3035 |
MKDIR_P='$MKDIR_P' |
|
3036 |
AWK='$AWK' |
|
3037 |
test -n "\$AWK" || AWK=awk |
|
3038 |
_ACEOF |
|
3039 |
||
3040 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
3041 |
# The default lists apply if the user does not specify any file. |
|
3042 |
ac_need_defaults=: |
|
3043 |
while test $# != 0 |
|
3044 |
do |
|
3045 |
case $1 in |
|
3046 |
--*=?*) |
|
3047 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
3048 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
|
3049 |
ac_shift=: |
|
3050 |
;; |
|
3051 |
--*=) |
|
3052 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
3053 |
ac_optarg= |
|
3054 |
ac_shift=: |
|
3055 |
;; |
|
3056 |
*) |
|
3057 |
ac_option=$1 |
|
3058 |
ac_optarg=$2 |
|
3059 |
ac_shift=shift |
|
3060 |
;; |
|
3061 |
esac |
|
3062 |
||
3063 |
case $ac_option in |
|
3064 |
# Handling of the options. |
|
3065 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
|
3066 |
ac_cs_recheck=: ;; |
|
3067 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
|
3068 |
$as_echo "$ac_cs_version"; exit ;; |
|
3069 |
--config | --confi | --conf | --con | --co | --c ) |
|
3070 |
$as_echo "$ac_cs_config"; exit ;; |
|
3071 |
--debug | --debu | --deb | --de | --d | -d ) |
|
3072 |
debug=: ;; |
|
3073 |
--file | --fil | --fi | --f ) |
|
3074 |
$ac_shift |
|
3075 |
case $ac_optarg in |
|
3076 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
3077 |
'') as_fn_error $? "missing file argument" ;; |
|
3078 |
esac |
|
3079 |
as_fn_append CONFIG_FILES " '$ac_optarg'" |
|
3080 |
ac_need_defaults=false;; |
|
3081 |
--he | --h | --help | --hel | -h ) |
|
3082 |
$as_echo "$ac_cs_usage"; exit ;; |
|
3083 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
3084 |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
|
3085 |
ac_cs_silent=: ;; |
|
3086 |
||
3087 |
# This is an error. |
|
3088 |
-*) as_fn_error $? "unrecognized option: \`$1' |
|
3089 |
Try \`$0 --help' for more information." ;; |
|
3090 |
||
3091 |
*) as_fn_append ac_config_targets " $1" |
|
3092 |
ac_need_defaults=false ;; |
|
3093 |
||
3094 |
esac |
|
3095 |
shift |
|
3096 |
done |
|
3097 |
||
3098 |
ac_configure_extra_args= |
|
3099 |
||
3100 |
if $ac_cs_silent; then |
|
3101 |
exec 6>/dev/null |
|
3102 |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
|
3103 |
fi |
|
3104 |
||
3105 |
_ACEOF |
|
3106 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
3107 |
if \$ac_cs_recheck; then |
|
3108 |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
|
3109 |
shift |
|
3110 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
|
3111 |
CONFIG_SHELL='$SHELL' |
|
3112 |
export CONFIG_SHELL |
|
3113 |
exec "\$@" |
|
3114 |
fi |
|
3115 |
||
3116 |
_ACEOF |
|
3117 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
3118 |
exec 5>>config.log |
|
3119 |
{ |
|
3120 |
echo |
|
3121 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
|
3122 |
## Running $as_me. ## |
|
3123 |
_ASBOX |
|
3124 |
$as_echo "$ac_log" |
|
3125 |
} >&5 |
|
3126 |
||
3127 |
_ACEOF |
|
3128 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
3129 |
_ACEOF |
|
3130 |
||
3131 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
3132 |
||
3133 |
# Handling of arguments. |
|
3134 |
for ac_config_target in $ac_config_targets |
|
3135 |
do |
|
3136 |
case $ac_config_target in |
|
3137 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
|
3138 |
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
|
3139 |
"src/scripts/add-copyright-to-images") CONFIG_FILES="$CONFIG_FILES src/scripts/add-copyright-to-images" ;; |
|
3140 |
||
3141 |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; |
|
3142 |
esac |
|
3143 |
done |
|
3144 |
||
3145 |
||
3146 |
# If the user did not use the arguments to specify the items to instantiate, |
|
3147 |
# then the envvar interface is used. Set only those that are not. |
|
3148 |
# We use the long form for the default assignment because of an extremely |
|
3149 |
# bizarre bug on SunOS 4.1.3. |
|
3150 |
if $ac_need_defaults; then |
|
3151 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
|
3152 |
fi |
|
3153 |
||
3154 |
# Have a temporary directory for convenience. Make it in the build tree |
|
3155 |
# simply because there is no reason against having it here, and in addition, |
|
3156 |
# creating and moving files from /tmp can sometimes cause problems. |
|
3157 |
# Hook for its removal unless debugging. |
|
3158 |
# Note that there is a small window in which the directory will not be cleaned: |
|
3159 |
# after its creation but before its name has been assigned to `$tmp'. |
|
3160 |
$debug || |
|
3161 |
{ |
|
3162 |
tmp= |
|
3163 |
trap 'exit_status=$? |
|
3164 |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
|
3165 |
' 0 |
|
3166 |
trap 'as_fn_exit 1' 1 2 13 15 |
|
3167 |
} |
|
3168 |
# Create a (secure) tmp directory for tmp files. |
|
3169 |
||
3170 |
{ |
|
3171 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
|
3172 |
test -n "$tmp" && test -d "$tmp" |
|
3173 |
} || |
|
3174 |
{ |
|
3175 |
tmp=./conf$$-$RANDOM |
|
3176 |
(umask 077 && mkdir "$tmp") |
|
3177 |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
|
3178 |
||
3179 |
# Set up the scripts for CONFIG_FILES section. |
|
3180 |
# No need to generate them if there are no CONFIG_FILES. |
|
3181 |
# This happens for instance with `./config.status config.h'. |
|
3182 |
if test -n "$CONFIG_FILES"; then |
|
3183 |
||
3184 |
||
3185 |
ac_cr=`echo X | tr X '\015'` |
|
3186 |
# On cygwin, bash can eat \r inside `` if the user requested igncr. |
|
3187 |
# But we know of no other shell where ac_cr would be empty at this |
|
3188 |
# point, so we can use a bashism as a fallback. |
|
3189 |
if test "x$ac_cr" = x; then |
|
3190 |
eval ac_cr=\$\'\\r\' |
|
3191 |
fi |
|
3192 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
|
3193 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
|
3194 |
ac_cs_awk_cr='\\r' |
|
3195 |
else |
|
3196 |
ac_cs_awk_cr=$ac_cr |
|
3197 |
fi |
|
3198 |
||
3199 |
echo 'BEGIN {' >"$tmp/subs1.awk" && |
|
3200 |
_ACEOF |
|
3201 |
||
3202 |
||
3203 |
{ |
|
3204 |
echo "cat >conf$$subs.awk <<_ACEOF" && |
|
3205 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
|
3206 |
echo "_ACEOF" |
|
3207 |
} >conf$$subs.sh || |
|
3208 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
|
3209 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
|
3210 |
ac_delim='%!_!# ' |
|
3211 |
for ac_last_try in false false false false false :; do |
|
3212 |
. ./conf$$subs.sh || |
|
3213 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
|
3214 |
||
3215 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
|
3216 |
if test $ac_delim_n = $ac_delim_num; then |
|
3217 |
break |
|
3218 |
elif $ac_last_try; then |
|
3219 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
|
3220 |
else |
|
3221 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
3222 |
fi |
|
3223 |
done |
|
3224 |
rm -f conf$$subs.sh |
|
3225 |
||
3226 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
3227 |
cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
|
3228 |
_ACEOF |
|
3229 |
sed -n ' |
|
3230 |
h |
|
3231 |
s/^/S["/; s/!.*/"]=/ |
|
3232 |
p |
|
3233 |
g |
|
3234 |
s/^[^!]*!// |
|
3235 |
:repl |
|
3236 |
t repl |
|
3237 |
s/'"$ac_delim"'$// |
|
3238 |
t delim |
|
3239 |
:nl |
|
3240 |
h |
|
3241 |
s/\(.\{148\}\)..*/\1/ |
|
3242 |
t more1 |
|
3243 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
|
3244 |
p |
|
3245 |
n |
|
3246 |
b repl |
|
3247 |
:more1 |
|
3248 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
3249 |
p |
|
3250 |
g |
|
3251 |
s/.\{148\}// |
|
3252 |
t nl |
|
3253 |
:delim |
|
3254 |
h |
|
3255 |
s/\(.\{148\}\)..*/\1/ |
|
3256 |
t more2 |
|
3257 |
s/["\\]/\\&/g; s/^/"/; s/$/"/ |
|
3258 |
p |
|
3259 |
b |
|
3260 |
:more2 |
|
3261 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
3262 |
p |
|
3263 |
g |
|
3264 |
s/.\{148\}// |
|
3265 |
t delim |
|
3266 |
' <conf$$subs.awk | sed ' |
|
3267 |
/^[^""]/{ |
|
3268 |
N |
|
3269 |
s/\n// |
|
3270 |
} |
|
3271 |
' >>$CONFIG_STATUS || ac_write_fail=1 |
|
3272 |
rm -f conf$$subs.awk |
|
3273 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
3274 |
_ACAWK |
|
3275 |
cat >>"\$tmp/subs1.awk" <<_ACAWK && |
|
3276 |
for (key in S) S_is_set[key] = 1 |
|
3277 |
FS = "" |
|
3278 |
||
3279 |
} |
|
3280 |
{ |
|
3281 |
line = $ 0 |
|
3282 |
nfields = split(line, field, "@") |
|
3283 |
substed = 0 |
|
3284 |
len = length(field[1]) |
|
3285 |
for (i = 2; i < nfields; i++) { |
|
3286 |
key = field[i] |
|
3287 |
keylen = length(key) |
|
3288 |
if (S_is_set[key]) { |
|
3289 |
value = S[key] |
|
3290 |
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
|
3291 |
len += length(value) + length(field[++i]) |
|
3292 |
substed = 1 |
|
3293 |
} else |
|
3294 |
len += 1 + keylen |
|
3295 |
} |
|
3296 |
||
3297 |
print line |
|
3298 |
} |
|
3299 |
||
3300 |
_ACAWK |
|
3301 |
_ACEOF |
|
3302 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
3303 |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
|
3304 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
|
3305 |
else |
|
3306 |
cat |
|
3307 |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
|
3308 |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
|
3309 |
_ACEOF |
|
3310 |
||
3311 |
# VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
|
3312 |
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
|
3313 |
# trailing colons and then remove the whole line if VPATH becomes empty |
|
3314 |
# (actually we leave an empty line to preserve line numbers). |
|
3315 |
if test "x$srcdir" = x.; then |
|
3316 |
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
|
3317 |
h |
|
3318 |
s/// |
|
3319 |
s/^/:/ |
|
3320 |
s/[ ]*$/:/ |
|
3321 |
s/:\$(srcdir):/:/g |
|
3322 |
s/:\${srcdir}:/:/g |
|
3323 |
s/:@srcdir@:/:/g |
|
3324 |
s/^:*// |
|
3325 |
s/:*$// |
|
3326 |
x |
|
3327 |
s/\(=[ ]*\).*/\1/ |
|
3328 |
G |
|
3329 |
s/\n// |
|
3330 |
s/^[^=]*=[ ]*$// |
|
3331 |
}' |
|
3332 |
fi |
|
3333 |
||
3334 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
3335 |
fi # test -n "$CONFIG_FILES" |
|
3336 |
||
3337 |
||
3338 |
eval set X " :F $CONFIG_FILES " |
|
3339 |
shift |
|
3340 |
for ac_tag |
|
3341 |
do |
|
3342 |
case $ac_tag in |
|
3343 |
:[FHLC]) ac_mode=$ac_tag; continue;; |
|
3344 |
esac |
|
3345 |
case $ac_mode$ac_tag in |
|
3346 |
:[FHL]*:*);; |
|
3347 |
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; |
|
3348 |
:[FH]-) ac_tag=-:-;; |
|
3349 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
|
3350 |
esac |
|
3351 |
ac_save_IFS=$IFS |
|
3352 |
IFS=: |
|
3353 |
set x $ac_tag |
|
3354 |
IFS=$ac_save_IFS |
|
3355 |
shift |
|
3356 |
ac_file=$1 |
|
3357 |
shift |
|
3358 |
||
3359 |
case $ac_mode in |
|
3360 |
:L) ac_source=$1;; |
|
3361 |
:[FH]) |
|
3362 |
ac_file_inputs= |
|
3363 |
for ac_f |
|
3364 |
do |
|
3365 |
case $ac_f in |
|
3366 |
-) ac_f="$tmp/stdin";; |
|
3367 |
*) # Look for the file first in the build tree, then in the source tree |
|
3368 |
# (if the path is not absolute). The absolute path cannot be DOS-style, |
|
3369 |
# because $ac_f cannot contain `:'. |
|
3370 |
test -f "$ac_f" || |
|
3371 |
case $ac_f in |
|
3372 |
[\\/$]*) false;; |
|
3373 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
|
3374 |
esac || |
|
3375 |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; |
|
3376 |
esac |
|
3377 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
|
3378 |
as_fn_append ac_file_inputs " '$ac_f'" |
|
3379 |
done |
|
3380 |
||
3381 |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
|
3382 |
# use $as_me), people would be surprised to read: |
|
3383 |
# /* config.h. Generated by config.status. */ |
|
3384 |
configure_input='Generated from '` |
|
3385 |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
|
3386 |
`' by configure.' |
|
3387 |
if test x"$ac_file" != x-; then |
|
3388 |
configure_input="$ac_file. $configure_input" |
|
3389 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
|
3390 |
$as_echo "$as_me: creating $ac_file" >&6;} |
|
3391 |
fi |
|
3392 |
# Neutralize special characters interpreted by sed in replacement strings. |
|
3393 |
case $configure_input in #( |
|
3394 |
*\&* | *\|* | *\\* ) |
|
3395 |
ac_sed_conf_input=`$as_echo "$configure_input" | |
|
3396 |
sed 's/[\\\\&|]/\\\\&/g'`;; #( |
|
3397 |
*) ac_sed_conf_input=$configure_input;; |
|
3398 |
esac |
|
3399 |
||
3400 |
case $ac_tag in |
|
3401 |
*:-:* | *:-) cat >"$tmp/stdin" \ |
|
3402 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
|
3403 |
esac |
|
3404 |
;; |
|
3405 |
esac |
|
3406 |
||
3407 |
ac_dir=`$as_dirname -- "$ac_file" || |
|
3408 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
3409 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
|
3410 |
X"$ac_file" : 'X\(//\)$' \| \ |
|
3411 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
|
3412 |
$as_echo X"$ac_file" | |
|
3413 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
3414 |
s//\1/ |
|
3415 |
q |
|
3416 |
} |
|
3417 |
/^X\(\/\/\)[^/].*/{ |
|
3418 |
s//\1/ |
|
3419 |
q |
|
3420 |
} |
|
3421 |
/^X\(\/\/\)$/{ |
|
3422 |
s//\1/ |
|
3423 |
q |
|
3424 |
} |
|
3425 |
/^X\(\/\).*/{ |
|
3426 |
s//\1/ |
|
3427 |
q |
|
3428 |
} |
|
3429 |
s/.*/./; q'` |
|
3430 |
as_dir="$ac_dir"; as_fn_mkdir_p |
|
3431 |
ac_builddir=. |
|
3432 |
||
3433 |
case "$ac_dir" in |
|
3434 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
3435 |
*) |
|
3436 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
|
3437 |
# A ".." for each directory in $ac_dir_suffix. |
|
3438 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
|
3439 |
case $ac_top_builddir_sub in |
|
3440 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
3441 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
3442 |
esac ;; |
|
3443 |
esac |
|
3444 |
ac_abs_top_builddir=$ac_pwd |
|
3445 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
3446 |
# for backward compatibility: |
|
3447 |
ac_top_builddir=$ac_top_build_prefix |
|
3448 |
||
3449 |
case $srcdir in |
|
3450 |
.) # We are building in place. |
|
3451 |
ac_srcdir=. |
|
3452 |
ac_top_srcdir=$ac_top_builddir_sub |
|
3453 |
ac_abs_top_srcdir=$ac_pwd ;; |
|
3454 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
|
3455 |
ac_srcdir=$srcdir$ac_dir_suffix; |
|
3456 |
ac_top_srcdir=$srcdir |
|
3457 |
ac_abs_top_srcdir=$srcdir ;; |
|
3458 |
*) # Relative name. |
|
3459 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
3460 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
3461 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
3462 |
esac |
|
3463 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
3464 |
||
3465 |
||
3466 |
case $ac_mode in |
|
3467 |
:F) |
|
3468 |
# |
|
3469 |
# CONFIG_FILE |
|
3470 |
# |
|
3471 |
||
3472 |
case $INSTALL in |
|
3473 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
|
3474 |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
|
3475 |
esac |
|
3476 |
ac_MKDIR_P=$MKDIR_P |
|
3477 |
case $MKDIR_P in |
|
3478 |
[\\/$]* | ?:[\\/]* ) ;; |
|
3479 |
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
|
3480 |
esac |
|
3481 |
_ACEOF |
|
3482 |
||
3483 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
3484 |
# If the template does not know about datarootdir, expand it. |
|
3485 |
# FIXME: This hack should be removed a few years after 2.60. |
|
3486 |
ac_datarootdir_hack=; ac_datarootdir_seen= |
|
3487 |
ac_sed_dataroot=' |
|
3488 |
/datarootdir/ { |
|
3489 |
p |
|
3490 |
q |
|
3491 |
} |
|
3492 |
/@datadir@/p |
|
3493 |
/@docdir@/p |
|
3494 |
/@infodir@/p |
|
3495 |
/@localedir@/p |
|
3496 |
/@mandir@/p' |
|
3497 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
|
3498 |
*datarootdir*) ac_datarootdir_seen=yes;; |
|
3499 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
|
3500 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
|
3501 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
|
3502 |
_ACEOF |
|
3503 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
3504 |
ac_datarootdir_hack=' |
|
3505 |
s&@datadir@&$datadir&g |
|
3506 |
s&@docdir@&$docdir&g |
|
3507 |
s&@infodir@&$infodir&g |
|
3508 |
s&@localedir@&$localedir&g |
|
3509 |
s&@mandir@&$mandir&g |
|
3510 |
s&\\\${datarootdir}&$datarootdir&g' ;; |
|
3511 |
esac |
|
3512 |
_ACEOF |
|
3513 |
||
3514 |
# Neutralize VPATH when `$srcdir' = `.'. |
|
3515 |
# Shell code in configure.ac might set extrasub. |
|
3516 |
# FIXME: do we really want to maintain this feature? |
|
3517 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
3518 |
ac_sed_extra="$ac_vpsub |
|
3519 |
$extrasub |
|
3520 |
_ACEOF |
|
3521 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
3522 |
:t |
|
3523 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
|
3524 |
s|@configure_input@|$ac_sed_conf_input|;t t |
|
3525 |
s&@top_builddir@&$ac_top_builddir_sub&;t t |
|
3526 |
s&@top_build_prefix@&$ac_top_build_prefix&;t t |
|
3527 |
s&@srcdir@&$ac_srcdir&;t t |
|
3528 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t |
|
3529 |
s&@top_srcdir@&$ac_top_srcdir&;t t |
|
3530 |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
|
3531 |
s&@builddir@&$ac_builddir&;t t |
|
3532 |
s&@abs_builddir@&$ac_abs_builddir&;t t |
|
3533 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
|
3534 |
s&@INSTALL@&$ac_INSTALL&;t t |
|
3535 |
s&@MKDIR_P@&$ac_MKDIR_P&;t t |
|
3536 |
$ac_datarootdir_hack |
|
3537 |
" |
|
3538 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
|
3539 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
3540 |
||
3541 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
|
3542 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
|
3543 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
|
3544 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|
3545 |
which seems to be undefined. Please make sure it is defined" >&5 |
|
3546 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|
3547 |
which seems to be undefined. Please make sure it is defined" >&2;} |
|
3548 |
||
3549 |
rm -f "$tmp/stdin" |
|
3550 |
case $ac_file in |
|
3551 |
-) cat "$tmp/out" && rm -f "$tmp/out";; |
|
3552 |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
|
3553 |
esac \ |
|
3554 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
3555 |
;; |
|
3556 |
||
3557 |
||
3558 |
||
3559 |
esac |
|
3560 |
||
3561 |
done # for ac_tag |
|
3562 |
||
3563 |
||
3564 |
as_fn_exit 0 |
|
3565 |
_ACEOF |
|
3566 |
ac_clean_files=$ac_clean_files_save |
|
3567 |
||
3568 |
test $ac_write_fail = 0 || |
|
3569 |
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
|
3570 |
||
3571 |
||
3572 |
# configure is writing to config.log, and then calls config.status. |
|
3573 |
# config.status does its own redirection, appending to config.log. |
|
3574 |
# Unfortunately, on DOS this fails, as config.log is still kept open |
|
3575 |
# by configure, so config.status won't be able to write to it; its |
|
3576 |
# output is simply discarded. So we exec the FD to /dev/null, |
|
3577 |
# effectively closing config.log, so it can be properly (re)opened and |
|
3578 |
# appended to by config.status. When coming back to configure, we |
|
3579 |
# need to make the FD available again. |
|
3580 |
if test "$no_create" != yes; then |
|
3581 |
ac_cs_success=: |
|
3582 |
ac_config_status_args= |
|
3583 |
test "$silent" = yes && |
|
3584 |
ac_config_status_args="$ac_config_status_args --quiet" |
|
3585 |
exec 5>/dev/null |
|
3586 |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
|
3587 |
exec 5>>config.log |
|
3588 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
|
3589 |
# would make configure fail if this is the last instruction. |
|
3590 |
$ac_cs_success || as_fn_exit 1 |
|
3591 |
fi |
|
3592 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
|
3593 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
|
3594 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
|
3595 |
fi |
|
3596 |