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