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