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