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