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