|
1 #! /bin/sh |
|
2 # Guess values for system-dependent variables and create Makefiles. |
|
3 # Generated by GNU Autoconf 2.68 for breakpad 0.1. |
|
4 # |
|
5 # Report bugs to <google-breakpad-dev@googlegroups.com>. |
|
6 # |
|
7 # |
|
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
|
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
|
10 # Foundation, Inc. |
|
11 # |
|
12 # |
|
13 # This configure script is free software; the Free Software Foundation |
|
14 # gives unlimited permission to copy, distribute and modify it. |
|
15 ## -------------------- ## |
|
16 ## M4sh Initialization. ## |
|
17 ## -------------------- ## |
|
18 |
|
19 # Be more Bourne compatible |
|
20 DUALCASE=1; export DUALCASE # for MKS sh |
|
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
|
22 emulate sh |
|
23 NULLCMD=: |
|
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
|
25 # is contrary to our usage. Disable this feature. |
|
26 alias -g '${1+"$@"}'='"$@"' |
|
27 setopt NO_GLOB_SUBST |
|
28 else |
|
29 case `(set -o) 2>/dev/null` in #( |
|
30 *posix*) : |
|
31 set -o posix ;; #( |
|
32 *) : |
|
33 ;; |
|
34 esac |
|
35 fi |
|
36 |
|
37 |
|
38 as_nl=' |
|
39 ' |
|
40 export as_nl |
|
41 # Printing a long string crashes Solaris 7 /usr/bin/printf. |
|
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
|
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|
45 # Prefer a ksh shell builtin over an external printf program on Solaris, |
|
46 # but without wasting forks for bash or zsh. |
|
47 if test -z "$BASH_VERSION$ZSH_VERSION" \ |
|
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
49 as_echo='print -r --' |
|
50 as_echo_n='print -rn --' |
|
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
52 as_echo='printf %s\n' |
|
53 as_echo_n='printf %s' |
|
54 else |
|
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
57 as_echo_n='/usr/ucb/echo -n' |
|
58 else |
|
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
60 as_echo_n_body='eval |
|
61 arg=$1; |
|
62 case $arg in #( |
|
63 *"$as_nl"*) |
|
64 expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
66 esac; |
|
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
68 ' |
|
69 export as_echo_n_body |
|
70 as_echo_n='sh -c $as_echo_n_body as_echo' |
|
71 fi |
|
72 export as_echo_body |
|
73 as_echo='sh -c $as_echo_body as_echo' |
|
74 fi |
|
75 |
|
76 # The user is always right. |
|
77 if test "${PATH_SEPARATOR+set}" != set; then |
|
78 PATH_SEPARATOR=: |
|
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
81 PATH_SEPARATOR=';' |
|
82 } |
|
83 fi |
|
84 |
|
85 |
|
86 # IFS |
|
87 # We need space, tab and new line, in precisely that order. Quoting is |
|
88 # there to prevent editors from complaining about space-tab. |
|
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
90 # splitting by setting IFS to empty value.) |
|
91 IFS=" "" $as_nl" |
|
92 |
|
93 # Find who we are. Look in the path if we contain no directory separator. |
|
94 as_myself= |
|
95 case $0 in #(( |
|
96 *[\\/]* ) as_myself=$0 ;; |
|
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
98 for as_dir in $PATH |
|
99 do |
|
100 IFS=$as_save_IFS |
|
101 test -z "$as_dir" && as_dir=. |
|
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
103 done |
|
104 IFS=$as_save_IFS |
|
105 |
|
106 ;; |
|
107 esac |
|
108 # We did not find ourselves, most probably we were run as `sh COMMAND' |
|
109 # in which case we are not to be found in the path. |
|
110 if test "x$as_myself" = x; then |
|
111 as_myself=$0 |
|
112 fi |
|
113 if test ! -f "$as_myself"; then |
|
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|
115 exit 1 |
|
116 fi |
|
117 |
|
118 # Unset variables that we do not need and which cause bugs (e.g. in |
|
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
|
120 # suppresses any "Segmentation fault" message there. '((' could |
|
121 # trigger a bug in pdksh 5.2.14. |
|
122 for as_var in BASH_ENV ENV MAIL MAILPATH |
|
123 do eval test x\${$as_var+set} = xset \ |
|
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
|
125 done |
|
126 PS1='$ ' |
|
127 PS2='> ' |
|
128 PS4='+ ' |
|
129 |
|
130 # NLS nuisances. |
|
131 LC_ALL=C |
|
132 export LC_ALL |
|
133 LANGUAGE=C |
|
134 export LANGUAGE |
|
135 |
|
136 # CDPATH. |
|
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
138 |
|
139 if test "x$CONFIG_SHELL" = x; then |
|
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
|
141 emulate sh |
|
142 NULLCMD=: |
|
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
|
144 # is contrary to our usage. Disable this feature. |
|
145 alias -g '\${1+\"\$@\"}'='\"\$@\"' |
|
146 setopt NO_GLOB_SUBST |
|
147 else |
|
148 case \`(set -o) 2>/dev/null\` in #( |
|
149 *posix*) : |
|
150 set -o posix ;; #( |
|
151 *) : |
|
152 ;; |
|
153 esac |
|
154 fi |
|
155 " |
|
156 as_required="as_fn_return () { (exit \$1); } |
|
157 as_fn_success () { as_fn_return 0; } |
|
158 as_fn_failure () { as_fn_return 1; } |
|
159 as_fn_ret_success () { return 0; } |
|
160 as_fn_ret_failure () { return 1; } |
|
161 |
|
162 exitcode=0 |
|
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
|
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
|
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
|
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
|
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
|
168 |
|
169 else |
|
170 exitcode=1; echo positional parameters were not saved. |
|
171 fi |
|
172 test x\$exitcode = x0 || exit 1" |
|
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
|
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
|
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
|
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
|
177 test \$(( 1 + 1 )) = 2 || exit 1" |
|
178 if (eval "$as_required") 2>/dev/null; then : |
|
179 as_have_required=yes |
|
180 else |
|
181 as_have_required=no |
|
182 fi |
|
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
|
184 |
|
185 else |
|
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
187 as_found=false |
|
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
|
189 do |
|
190 IFS=$as_save_IFS |
|
191 test -z "$as_dir" && as_dir=. |
|
192 as_found=: |
|
193 case $as_dir in #( |
|
194 /*) |
|
195 for as_base in sh bash ksh sh5; do |
|
196 # Try only shells that exist, to save several forks. |
|
197 as_shell=$as_dir/$as_base |
|
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
|
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
|
200 CONFIG_SHELL=$as_shell as_have_required=yes |
|
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
|
202 break 2 |
|
203 fi |
|
204 fi |
|
205 done;; |
|
206 esac |
|
207 as_found=false |
|
208 done |
|
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
|
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
|
211 CONFIG_SHELL=$SHELL as_have_required=yes |
|
212 fi; } |
|
213 IFS=$as_save_IFS |
|
214 |
|
215 |
|
216 if test "x$CONFIG_SHELL" != x; then : |
|
217 # We cannot yet assume a decent shell, so we have to provide a |
|
218 # neutralization value for shells without unset; and this also |
|
219 # works around shells that cannot unset nonexistent variables. |
|
220 # Preserve -v and -x to the replacement shell. |
|
221 BASH_ENV=/dev/null |
|
222 ENV=/dev/null |
|
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
224 export CONFIG_SHELL |
|
225 case $- in # (((( |
|
226 *v*x* | *x*v* ) as_opts=-vx ;; |
|
227 *v* ) as_opts=-v ;; |
|
228 *x* ) as_opts=-x ;; |
|
229 * ) as_opts= ;; |
|
230 esac |
|
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} |
|
232 fi |
|
233 |
|
234 if test x$as_have_required = xno; then : |
|
235 $as_echo "$0: This script requires a shell more modern than all" |
|
236 $as_echo "$0: the shells that I found on your system." |
|
237 if test x${ZSH_VERSION+set} = xset ; then |
|
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
|
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
|
240 else |
|
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and |
|
242 $0: google-breakpad-dev@googlegroups.com about your system, |
|
243 $0: including any error possibly output before this |
|
244 $0: message. Then install a modern shell, or manually run |
|
245 $0: the script under such a shell if you do have one." |
|
246 fi |
|
247 exit 1 |
|
248 fi |
|
249 fi |
|
250 fi |
|
251 SHELL=${CONFIG_SHELL-/bin/sh} |
|
252 export SHELL |
|
253 # Unset more variables known to interfere with behavior of common tools. |
|
254 CLICOLOR_FORCE= GREP_OPTIONS= |
|
255 unset CLICOLOR_FORCE GREP_OPTIONS |
|
256 |
|
257 ## --------------------- ## |
|
258 ## M4sh Shell Functions. ## |
|
259 ## --------------------- ## |
|
260 # as_fn_unset VAR |
|
261 # --------------- |
|
262 # Portably unset VAR. |
|
263 as_fn_unset () |
|
264 { |
|
265 { eval $1=; unset $1;} |
|
266 } |
|
267 as_unset=as_fn_unset |
|
268 |
|
269 # as_fn_set_status STATUS |
|
270 # ----------------------- |
|
271 # Set $? to STATUS, without forking. |
|
272 as_fn_set_status () |
|
273 { |
|
274 return $1 |
|
275 } # as_fn_set_status |
|
276 |
|
277 # as_fn_exit STATUS |
|
278 # ----------------- |
|
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
|
280 as_fn_exit () |
|
281 { |
|
282 set +e |
|
283 as_fn_set_status $1 |
|
284 exit $1 |
|
285 } # as_fn_exit |
|
286 |
|
287 # as_fn_mkdir_p |
|
288 # ------------- |
|
289 # Create "$as_dir" as a directory, including parents if necessary. |
|
290 as_fn_mkdir_p () |
|
291 { |
|
292 |
|
293 case $as_dir in #( |
|
294 -*) as_dir=./$as_dir;; |
|
295 esac |
|
296 test -d "$as_dir" || eval $as_mkdir_p || { |
|
297 as_dirs= |
|
298 while :; do |
|
299 case $as_dir in #( |
|
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|
301 *) as_qdir=$as_dir;; |
|
302 esac |
|
303 as_dirs="'$as_qdir' $as_dirs" |
|
304 as_dir=`$as_dirname -- "$as_dir" || |
|
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
306 X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
307 X"$as_dir" : 'X\(//\)$' \| \ |
|
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
309 $as_echo X"$as_dir" | |
|
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
311 s//\1/ |
|
312 q |
|
313 } |
|
314 /^X\(\/\/\)[^/].*/{ |
|
315 s//\1/ |
|
316 q |
|
317 } |
|
318 /^X\(\/\/\)$/{ |
|
319 s//\1/ |
|
320 q |
|
321 } |
|
322 /^X\(\/\).*/{ |
|
323 s//\1/ |
|
324 q |
|
325 } |
|
326 s/.*/./; q'` |
|
327 test -d "$as_dir" && break |
|
328 done |
|
329 test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
|
331 |
|
332 |
|
333 } # as_fn_mkdir_p |
|
334 # as_fn_append VAR VALUE |
|
335 # ---------------------- |
|
336 # Append the text in VALUE to the end of the definition contained in VAR. Take |
|
337 # advantage of any shell optimizations that allow amortized linear growth over |
|
338 # repeated appends, instead of the typical quadratic growth present in naive |
|
339 # implementations. |
|
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
|
341 eval 'as_fn_append () |
|
342 { |
|
343 eval $1+=\$2 |
|
344 }' |
|
345 else |
|
346 as_fn_append () |
|
347 { |
|
348 eval $1=\$$1\$2 |
|
349 } |
|
350 fi # as_fn_append |
|
351 |
|
352 # as_fn_arith ARG... |
|
353 # ------------------ |
|
354 # Perform arithmetic evaluation on the ARGs, and store the result in the |
|
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments |
|
356 # must be portable across $(()) and expr. |
|
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
|
358 eval 'as_fn_arith () |
|
359 { |
|
360 as_val=$(( $* )) |
|
361 }' |
|
362 else |
|
363 as_fn_arith () |
|
364 { |
|
365 as_val=`expr "$@" || test $? -eq 1` |
|
366 } |
|
367 fi # as_fn_arith |
|
368 |
|
369 |
|
370 # as_fn_error STATUS ERROR [LINENO LOG_FD] |
|
371 # ---------------------------------------- |
|
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
|
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
|
374 # script with STATUS, using 1 if that was 0. |
|
375 as_fn_error () |
|
376 { |
|
377 as_status=$1; test $as_status -eq 0 && as_status=1 |
|
378 if test "$4"; then |
|
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
|
381 fi |
|
382 $as_echo "$as_me: error: $2" >&2 |
|
383 as_fn_exit $as_status |
|
384 } # as_fn_error |
|
385 |
|
386 if expr a : '\(a\)' >/dev/null 2>&1 && |
|
387 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
388 as_expr=expr |
|
389 else |
|
390 as_expr=false |
|
391 fi |
|
392 |
|
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|
394 as_basename=basename |
|
395 else |
|
396 as_basename=false |
|
397 fi |
|
398 |
|
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
400 as_dirname=dirname |
|
401 else |
|
402 as_dirname=false |
|
403 fi |
|
404 |
|
405 as_me=`$as_basename -- "$0" || |
|
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
407 X"$0" : 'X\(//\)$' \| \ |
|
408 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|
409 $as_echo X/"$0" | |
|
410 sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|
411 s//\1/ |
|
412 q |
|
413 } |
|
414 /^X\/\(\/\/\)$/{ |
|
415 s//\1/ |
|
416 q |
|
417 } |
|
418 /^X\/\(\/\).*/{ |
|
419 s//\1/ |
|
420 q |
|
421 } |
|
422 s/.*/./; q'` |
|
423 |
|
424 # Avoid depending upon Character Ranges. |
|
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
428 as_cr_digits='0123456789' |
|
429 as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
430 |
|
431 |
|
432 as_lineno_1=$LINENO as_lineno_1a=$LINENO |
|
433 as_lineno_2=$LINENO as_lineno_2a=$LINENO |
|
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
|
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
|
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
|
437 sed -n ' |
|
438 p |
|
439 /[$]LINENO/= |
|
440 ' <$as_myself | |
|
441 sed ' |
|
442 s/[$]LINENO.*/&-/ |
|
443 t lineno |
|
444 b |
|
445 :lineno |
|
446 N |
|
447 :loop |
|
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
|
449 t loop |
|
450 s/-\n.*// |
|
451 ' >$as_me.lineno && |
|
452 chmod +x "$as_me.lineno" || |
|
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
|
454 |
|
455 # Don't try to exec as it changes $[0], causing all sort of problems |
|
456 # (the dirname of $[0] is not the place where we might find the |
|
457 # original and so on. Autoconf is especially sensitive to this). |
|
458 . "./$as_me.lineno" |
|
459 # Exit status is that of the last command. |
|
460 exit |
|
461 } |
|
462 |
|
463 ECHO_C= ECHO_N= ECHO_T= |
|
464 case `echo -n x` in #((((( |
|
465 -n*) |
|
466 case `echo 'xy\c'` in |
|
467 *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
468 xy) ECHO_C='\c';; |
|
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
|
470 ECHO_T=' ';; |
|
471 esac;; |
|
472 *) |
|
473 ECHO_N='-n';; |
|
474 esac |
|
475 |
|
476 rm -f conf$$ conf$$.exe conf$$.file |
|
477 if test -d conf$$.dir; then |
|
478 rm -f conf$$.dir/conf$$.file |
|
479 else |
|
480 rm -f conf$$.dir |
|
481 mkdir conf$$.dir 2>/dev/null |
|
482 fi |
|
483 if (echo >conf$$.file) 2>/dev/null; then |
|
484 if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
485 as_ln_s='ln -s' |
|
486 # ... but there are two gotchas: |
|
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
489 # In both cases, we have to default to `cp -p'. |
|
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
491 as_ln_s='cp -p' |
|
492 elif ln conf$$.file conf$$ 2>/dev/null; then |
|
493 as_ln_s=ln |
|
494 else |
|
495 as_ln_s='cp -p' |
|
496 fi |
|
497 else |
|
498 as_ln_s='cp -p' |
|
499 fi |
|
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|
501 rmdir conf$$.dir 2>/dev/null |
|
502 |
|
503 if mkdir -p . 2>/dev/null; then |
|
504 as_mkdir_p='mkdir -p "$as_dir"' |
|
505 else |
|
506 test -d ./-p && rmdir ./-p |
|
507 as_mkdir_p=false |
|
508 fi |
|
509 |
|
510 if test -x / >/dev/null 2>&1; then |
|
511 as_test_x='test -x' |
|
512 else |
|
513 if ls -dL / >/dev/null 2>&1; then |
|
514 as_ls_L_option=L |
|
515 else |
|
516 as_ls_L_option= |
|
517 fi |
|
518 as_test_x=' |
|
519 eval sh -c '\'' |
|
520 if test -d "$1"; then |
|
521 test -d "$1/."; |
|
522 else |
|
523 case $1 in #( |
|
524 -*)set "./$1";; |
|
525 esac; |
|
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
527 ???[sx]*):;;*)false;;esac;fi |
|
528 '\'' sh |
|
529 ' |
|
530 fi |
|
531 as_executable_p=$as_test_x |
|
532 |
|
533 # Sed expression to map a string onto a valid CPP name. |
|
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
535 |
|
536 # Sed expression to map a string onto a valid variable name. |
|
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
538 |
|
539 |
|
540 test -n "$DJDIR" || exec 7<&0 </dev/null |
|
541 exec 6>&1 |
|
542 |
|
543 # Name of the host. |
|
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
|
545 # so uname gets run too. |
|
546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
|
547 |
|
548 # |
|
549 # Initializations. |
|
550 # |
|
551 ac_default_prefix=/usr/local |
|
552 ac_clean_files= |
|
553 ac_config_libobj_dir=. |
|
554 LIBOBJS= |
|
555 cross_compiling=no |
|
556 subdirs= |
|
557 MFLAGS= |
|
558 MAKEFLAGS= |
|
559 |
|
560 # Identity of this package. |
|
561 PACKAGE_NAME='breakpad' |
|
562 PACKAGE_TARNAME='breakpad' |
|
563 PACKAGE_VERSION='0.1' |
|
564 PACKAGE_STRING='breakpad 0.1' |
|
565 PACKAGE_BUGREPORT='google-breakpad-dev@googlegroups.com' |
|
566 PACKAGE_URL='' |
|
567 |
|
568 ac_unique_file="README" |
|
569 # Factoring default headers for most tests. |
|
570 ac_includes_default="\ |
|
571 #include <stdio.h> |
|
572 #ifdef HAVE_SYS_TYPES_H |
|
573 # include <sys/types.h> |
|
574 #endif |
|
575 #ifdef HAVE_SYS_STAT_H |
|
576 # include <sys/stat.h> |
|
577 #endif |
|
578 #ifdef STDC_HEADERS |
|
579 # include <stdlib.h> |
|
580 # include <stddef.h> |
|
581 #else |
|
582 # ifdef HAVE_STDLIB_H |
|
583 # include <stdlib.h> |
|
584 # endif |
|
585 #endif |
|
586 #ifdef HAVE_STRING_H |
|
587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
|
588 # include <memory.h> |
|
589 # endif |
|
590 # include <string.h> |
|
591 #endif |
|
592 #ifdef HAVE_STRINGS_H |
|
593 # include <strings.h> |
|
594 #endif |
|
595 #ifdef HAVE_INTTYPES_H |
|
596 # include <inttypes.h> |
|
597 #endif |
|
598 #ifdef HAVE_STDINT_H |
|
599 # include <stdint.h> |
|
600 #endif |
|
601 #ifdef HAVE_UNISTD_H |
|
602 # include <unistd.h> |
|
603 #endif" |
|
604 |
|
605 ac_subst_vars='am__EXEEXT_FALSE |
|
606 am__EXEEXT_TRUE |
|
607 LTLIBOBJS |
|
608 LIBOBJS |
|
609 SELFTEST_FALSE |
|
610 SELFTEST_TRUE |
|
611 DISABLE_TOOLS_FALSE |
|
612 DISABLE_TOOLS_TRUE |
|
613 DISABLE_PROCESSOR_FALSE |
|
614 DISABLE_PROCESSOR_TRUE |
|
615 ANDROID_HOST_FALSE |
|
616 ANDROID_HOST_TRUE |
|
617 LINUX_HOST_FALSE |
|
618 LINUX_HOST_TRUE |
|
619 PTHREAD_CFLAGS |
|
620 PTHREAD_LIBS |
|
621 PTHREAD_CC |
|
622 ax_pthread_config |
|
623 EGREP |
|
624 GREP |
|
625 GCC_FALSE |
|
626 GCC_TRUE |
|
627 RANLIB |
|
628 am__fastdepCXX_FALSE |
|
629 am__fastdepCXX_TRUE |
|
630 CXXDEPMODE |
|
631 ac_ct_CXX |
|
632 CXXFLAGS |
|
633 CXX |
|
634 CPP |
|
635 am__fastdepCCAS_FALSE |
|
636 am__fastdepCCAS_TRUE |
|
637 CCASDEPMODE |
|
638 CCASFLAGS |
|
639 CCAS |
|
640 am__fastdepCC_FALSE |
|
641 am__fastdepCC_TRUE |
|
642 CCDEPMODE |
|
643 am__nodep |
|
644 AMDEPBACKSLASH |
|
645 AMDEP_FALSE |
|
646 AMDEP_TRUE |
|
647 am__quote |
|
648 am__include |
|
649 DEPDIR |
|
650 OBJEXT |
|
651 EXEEXT |
|
652 ac_ct_CC |
|
653 CPPFLAGS |
|
654 LDFLAGS |
|
655 CFLAGS |
|
656 CC |
|
657 am__untar |
|
658 am__tar |
|
659 AMTAR |
|
660 am__leading_dot |
|
661 SET_MAKE |
|
662 AWK |
|
663 mkdir_p |
|
664 MKDIR_P |
|
665 INSTALL_STRIP_PROGRAM |
|
666 STRIP |
|
667 install_sh |
|
668 MAKEINFO |
|
669 AUTOHEADER |
|
670 AUTOMAKE |
|
671 AUTOCONF |
|
672 ACLOCAL |
|
673 VERSION |
|
674 PACKAGE |
|
675 CYGPATH_W |
|
676 am__isrc |
|
677 INSTALL_DATA |
|
678 INSTALL_SCRIPT |
|
679 INSTALL_PROGRAM |
|
680 host_os |
|
681 host_vendor |
|
682 host_cpu |
|
683 host |
|
684 build_os |
|
685 build_vendor |
|
686 build_cpu |
|
687 build |
|
688 target_alias |
|
689 host_alias |
|
690 build_alias |
|
691 LIBS |
|
692 ECHO_T |
|
693 ECHO_N |
|
694 ECHO_C |
|
695 DEFS |
|
696 mandir |
|
697 localedir |
|
698 libdir |
|
699 psdir |
|
700 pdfdir |
|
701 dvidir |
|
702 htmldir |
|
703 infodir |
|
704 docdir |
|
705 oldincludedir |
|
706 includedir |
|
707 localstatedir |
|
708 sharedstatedir |
|
709 sysconfdir |
|
710 datadir |
|
711 datarootdir |
|
712 libexecdir |
|
713 sbindir |
|
714 bindir |
|
715 program_transform_name |
|
716 prefix |
|
717 exec_prefix |
|
718 PACKAGE_URL |
|
719 PACKAGE_BUGREPORT |
|
720 PACKAGE_STRING |
|
721 PACKAGE_VERSION |
|
722 PACKAGE_TARNAME |
|
723 PACKAGE_NAME |
|
724 PATH_SEPARATOR |
|
725 SHELL' |
|
726 ac_subst_files='' |
|
727 ac_user_opts=' |
|
728 enable_option_checking |
|
729 enable_dependency_tracking |
|
730 enable_m32 |
|
731 enable_processor |
|
732 enable_tools |
|
733 enable_selftest |
|
734 ' |
|
735 ac_precious_vars='build_alias |
|
736 host_alias |
|
737 target_alias |
|
738 CC |
|
739 CFLAGS |
|
740 LDFLAGS |
|
741 LIBS |
|
742 CPPFLAGS |
|
743 CCAS |
|
744 CCASFLAGS |
|
745 CPP |
|
746 CXX |
|
747 CXXFLAGS |
|
748 CCC' |
|
749 |
|
750 |
|
751 # Initialize some variables set by options. |
|
752 ac_init_help= |
|
753 ac_init_version=false |
|
754 ac_unrecognized_opts= |
|
755 ac_unrecognized_sep= |
|
756 # The variables have the same names as the options, with |
|
757 # dashes changed to underlines. |
|
758 cache_file=/dev/null |
|
759 exec_prefix=NONE |
|
760 no_create= |
|
761 no_recursion= |
|
762 prefix=NONE |
|
763 program_prefix=NONE |
|
764 program_suffix=NONE |
|
765 program_transform_name=s,x,x, |
|
766 silent= |
|
767 site= |
|
768 srcdir= |
|
769 verbose= |
|
770 x_includes=NONE |
|
771 x_libraries=NONE |
|
772 |
|
773 # Installation directory options. |
|
774 # These are left unexpanded so users can "make install exec_prefix=/foo" |
|
775 # and all the variables that are supposed to be based on exec_prefix |
|
776 # by default will actually change. |
|
777 # Use braces instead of parens because sh, perl, etc. also accept them. |
|
778 # (The list follows the same order as the GNU Coding Standards.) |
|
779 bindir='${exec_prefix}/bin' |
|
780 sbindir='${exec_prefix}/sbin' |
|
781 libexecdir='${exec_prefix}/libexec' |
|
782 datarootdir='${prefix}/share' |
|
783 datadir='${datarootdir}' |
|
784 sysconfdir='${prefix}/etc' |
|
785 sharedstatedir='${prefix}/com' |
|
786 localstatedir='${prefix}/var' |
|
787 includedir='${prefix}/include' |
|
788 oldincludedir='/usr/include' |
|
789 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
|
790 infodir='${datarootdir}/info' |
|
791 htmldir='${docdir}' |
|
792 dvidir='${docdir}' |
|
793 pdfdir='${docdir}' |
|
794 psdir='${docdir}' |
|
795 libdir='${exec_prefix}/lib' |
|
796 localedir='${datarootdir}/locale' |
|
797 mandir='${datarootdir}/man' |
|
798 |
|
799 ac_prev= |
|
800 ac_dashdash= |
|
801 for ac_option |
|
802 do |
|
803 # If the previous option needs an argument, assign it. |
|
804 if test -n "$ac_prev"; then |
|
805 eval $ac_prev=\$ac_option |
|
806 ac_prev= |
|
807 continue |
|
808 fi |
|
809 |
|
810 case $ac_option in |
|
811 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
|
812 *=) ac_optarg= ;; |
|
813 *) ac_optarg=yes ;; |
|
814 esac |
|
815 |
|
816 # Accept the important Cygnus configure options, so we can diagnose typos. |
|
817 |
|
818 case $ac_dashdash$ac_option in |
|
819 --) |
|
820 ac_dashdash=yes ;; |
|
821 |
|
822 -bindir | --bindir | --bindi | --bind | --bin | --bi) |
|
823 ac_prev=bindir ;; |
|
824 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
|
825 bindir=$ac_optarg ;; |
|
826 |
|
827 -build | --build | --buil | --bui | --bu) |
|
828 ac_prev=build_alias ;; |
|
829 -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
|
830 build_alias=$ac_optarg ;; |
|
831 |
|
832 -cache-file | --cache-file | --cache-fil | --cache-fi \ |
|
833 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
|
834 ac_prev=cache_file ;; |
|
835 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
|
836 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
|
837 cache_file=$ac_optarg ;; |
|
838 |
|
839 --config-cache | -C) |
|
840 cache_file=config.cache ;; |
|
841 |
|
842 -datadir | --datadir | --datadi | --datad) |
|
843 ac_prev=datadir ;; |
|
844 -datadir=* | --datadir=* | --datadi=* | --datad=*) |
|
845 datadir=$ac_optarg ;; |
|
846 |
|
847 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
|
848 | --dataroo | --dataro | --datar) |
|
849 ac_prev=datarootdir ;; |
|
850 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
|
851 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
|
852 datarootdir=$ac_optarg ;; |
|
853 |
|
854 -disable-* | --disable-*) |
|
855 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
|
856 # Reject names that are not valid shell variable names. |
|
857 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
858 as_fn_error $? "invalid feature name: $ac_useropt" |
|
859 ac_useropt_orig=$ac_useropt |
|
860 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
861 case $ac_user_opts in |
|
862 *" |
|
863 "enable_$ac_useropt" |
|
864 "*) ;; |
|
865 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
|
866 ac_unrecognized_sep=', ';; |
|
867 esac |
|
868 eval enable_$ac_useropt=no ;; |
|
869 |
|
870 -docdir | --docdir | --docdi | --doc | --do) |
|
871 ac_prev=docdir ;; |
|
872 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
|
873 docdir=$ac_optarg ;; |
|
874 |
|
875 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
|
876 ac_prev=dvidir ;; |
|
877 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
|
878 dvidir=$ac_optarg ;; |
|
879 |
|
880 -enable-* | --enable-*) |
|
881 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
|
882 # Reject names that are not valid shell variable names. |
|
883 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
884 as_fn_error $? "invalid feature name: $ac_useropt" |
|
885 ac_useropt_orig=$ac_useropt |
|
886 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
887 case $ac_user_opts in |
|
888 *" |
|
889 "enable_$ac_useropt" |
|
890 "*) ;; |
|
891 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
|
892 ac_unrecognized_sep=', ';; |
|
893 esac |
|
894 eval enable_$ac_useropt=\$ac_optarg ;; |
|
895 |
|
896 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
|
897 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
|
898 | --exec | --exe | --ex) |
|
899 ac_prev=exec_prefix ;; |
|
900 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
|
901 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
|
902 | --exec=* | --exe=* | --ex=*) |
|
903 exec_prefix=$ac_optarg ;; |
|
904 |
|
905 -gas | --gas | --ga | --g) |
|
906 # Obsolete; use --with-gas. |
|
907 with_gas=yes ;; |
|
908 |
|
909 -help | --help | --hel | --he | -h) |
|
910 ac_init_help=long ;; |
|
911 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
|
912 ac_init_help=recursive ;; |
|
913 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
|
914 ac_init_help=short ;; |
|
915 |
|
916 -host | --host | --hos | --ho) |
|
917 ac_prev=host_alias ;; |
|
918 -host=* | --host=* | --hos=* | --ho=*) |
|
919 host_alias=$ac_optarg ;; |
|
920 |
|
921 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
|
922 ac_prev=htmldir ;; |
|
923 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
|
924 | --ht=*) |
|
925 htmldir=$ac_optarg ;; |
|
926 |
|
927 -includedir | --includedir | --includedi | --included | --include \ |
|
928 | --includ | --inclu | --incl | --inc) |
|
929 ac_prev=includedir ;; |
|
930 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
|
931 | --includ=* | --inclu=* | --incl=* | --inc=*) |
|
932 includedir=$ac_optarg ;; |
|
933 |
|
934 -infodir | --infodir | --infodi | --infod | --info | --inf) |
|
935 ac_prev=infodir ;; |
|
936 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
|
937 infodir=$ac_optarg ;; |
|
938 |
|
939 -libdir | --libdir | --libdi | --libd) |
|
940 ac_prev=libdir ;; |
|
941 -libdir=* | --libdir=* | --libdi=* | --libd=*) |
|
942 libdir=$ac_optarg ;; |
|
943 |
|
944 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
|
945 | --libexe | --libex | --libe) |
|
946 ac_prev=libexecdir ;; |
|
947 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
|
948 | --libexe=* | --libex=* | --libe=*) |
|
949 libexecdir=$ac_optarg ;; |
|
950 |
|
951 -localedir | --localedir | --localedi | --localed | --locale) |
|
952 ac_prev=localedir ;; |
|
953 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
|
954 localedir=$ac_optarg ;; |
|
955 |
|
956 -localstatedir | --localstatedir | --localstatedi | --localstated \ |
|
957 | --localstate | --localstat | --localsta | --localst | --locals) |
|
958 ac_prev=localstatedir ;; |
|
959 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
|
960 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
|
961 localstatedir=$ac_optarg ;; |
|
962 |
|
963 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
|
964 ac_prev=mandir ;; |
|
965 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
|
966 mandir=$ac_optarg ;; |
|
967 |
|
968 -nfp | --nfp | --nf) |
|
969 # Obsolete; use --without-fp. |
|
970 with_fp=no ;; |
|
971 |
|
972 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
|
973 | --no-cr | --no-c | -n) |
|
974 no_create=yes ;; |
|
975 |
|
976 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|
977 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
|
978 no_recursion=yes ;; |
|
979 |
|
980 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
|
981 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
|
982 | --oldin | --oldi | --old | --ol | --o) |
|
983 ac_prev=oldincludedir ;; |
|
984 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
|
985 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
|
986 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
|
987 oldincludedir=$ac_optarg ;; |
|
988 |
|
989 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
|
990 ac_prev=prefix ;; |
|
991 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
|
992 prefix=$ac_optarg ;; |
|
993 |
|
994 -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
|
995 | --program-pre | --program-pr | --program-p) |
|
996 ac_prev=program_prefix ;; |
|
997 -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
|
998 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
|
999 program_prefix=$ac_optarg ;; |
|
1000 |
|
1001 -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
|
1002 | --program-suf | --program-su | --program-s) |
|
1003 ac_prev=program_suffix ;; |
|
1004 -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
|
1005 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
|
1006 program_suffix=$ac_optarg ;; |
|
1007 |
|
1008 -program-transform-name | --program-transform-name \ |
|
1009 | --program-transform-nam | --program-transform-na \ |
|
1010 | --program-transform-n | --program-transform- \ |
|
1011 | --program-transform | --program-transfor \ |
|
1012 | --program-transfo | --program-transf \ |
|
1013 | --program-trans | --program-tran \ |
|
1014 | --progr-tra | --program-tr | --program-t) |
|
1015 ac_prev=program_transform_name ;; |
|
1016 -program-transform-name=* | --program-transform-name=* \ |
|
1017 | --program-transform-nam=* | --program-transform-na=* \ |
|
1018 | --program-transform-n=* | --program-transform-=* \ |
|
1019 | --program-transform=* | --program-transfor=* \ |
|
1020 | --program-transfo=* | --program-transf=* \ |
|
1021 | --program-trans=* | --program-tran=* \ |
|
1022 | --progr-tra=* | --program-tr=* | --program-t=*) |
|
1023 program_transform_name=$ac_optarg ;; |
|
1024 |
|
1025 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
|
1026 ac_prev=pdfdir ;; |
|
1027 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
|
1028 pdfdir=$ac_optarg ;; |
|
1029 |
|
1030 -psdir | --psdir | --psdi | --psd | --ps) |
|
1031 ac_prev=psdir ;; |
|
1032 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
|
1033 psdir=$ac_optarg ;; |
|
1034 |
|
1035 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
1036 | -silent | --silent | --silen | --sile | --sil) |
|
1037 silent=yes ;; |
|
1038 |
|
1039 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
|
1040 ac_prev=sbindir ;; |
|
1041 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
|
1042 | --sbi=* | --sb=*) |
|
1043 sbindir=$ac_optarg ;; |
|
1044 |
|
1045 -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
|
1046 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
|
1047 | --sharedst | --shareds | --shared | --share | --shar \ |
|
1048 | --sha | --sh) |
|
1049 ac_prev=sharedstatedir ;; |
|
1050 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
|
1051 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
|
1052 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
|
1053 | --sha=* | --sh=*) |
|
1054 sharedstatedir=$ac_optarg ;; |
|
1055 |
|
1056 -site | --site | --sit) |
|
1057 ac_prev=site ;; |
|
1058 -site=* | --site=* | --sit=*) |
|
1059 site=$ac_optarg ;; |
|
1060 |
|
1061 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
|
1062 ac_prev=srcdir ;; |
|
1063 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
|
1064 srcdir=$ac_optarg ;; |
|
1065 |
|
1066 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
|
1067 | --syscon | --sysco | --sysc | --sys | --sy) |
|
1068 ac_prev=sysconfdir ;; |
|
1069 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
|
1070 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
|
1071 sysconfdir=$ac_optarg ;; |
|
1072 |
|
1073 -target | --target | --targe | --targ | --tar | --ta | --t) |
|
1074 ac_prev=target_alias ;; |
|
1075 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
|
1076 target_alias=$ac_optarg ;; |
|
1077 |
|
1078 -v | -verbose | --verbose | --verbos | --verbo | --verb) |
|
1079 verbose=yes ;; |
|
1080 |
|
1081 -version | --version | --versio | --versi | --vers | -V) |
|
1082 ac_init_version=: ;; |
|
1083 |
|
1084 -with-* | --with-*) |
|
1085 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
|
1086 # Reject names that are not valid shell variable names. |
|
1087 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
1088 as_fn_error $? "invalid package name: $ac_useropt" |
|
1089 ac_useropt_orig=$ac_useropt |
|
1090 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1091 case $ac_user_opts in |
|
1092 *" |
|
1093 "with_$ac_useropt" |
|
1094 "*) ;; |
|
1095 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
|
1096 ac_unrecognized_sep=', ';; |
|
1097 esac |
|
1098 eval with_$ac_useropt=\$ac_optarg ;; |
|
1099 |
|
1100 -without-* | --without-*) |
|
1101 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
|
1102 # Reject names that are not valid shell variable names. |
|
1103 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
1104 as_fn_error $? "invalid package name: $ac_useropt" |
|
1105 ac_useropt_orig=$ac_useropt |
|
1106 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1107 case $ac_user_opts in |
|
1108 *" |
|
1109 "with_$ac_useropt" |
|
1110 "*) ;; |
|
1111 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
|
1112 ac_unrecognized_sep=', ';; |
|
1113 esac |
|
1114 eval with_$ac_useropt=no ;; |
|
1115 |
|
1116 --x) |
|
1117 # Obsolete; use --with-x. |
|
1118 with_x=yes ;; |
|
1119 |
|
1120 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
|
1121 | --x-incl | --x-inc | --x-in | --x-i) |
|
1122 ac_prev=x_includes ;; |
|
1123 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
|
1124 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
|
1125 x_includes=$ac_optarg ;; |
|
1126 |
|
1127 -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
|
1128 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
|
1129 ac_prev=x_libraries ;; |
|
1130 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
|
1131 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
|
1132 x_libraries=$ac_optarg ;; |
|
1133 |
|
1134 -*) as_fn_error $? "unrecognized option: \`$ac_option' |
|
1135 Try \`$0 --help' for more information" |
|
1136 ;; |
|
1137 |
|
1138 *=*) |
|
1139 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
|
1140 # Reject names that are not valid shell variable names. |
|
1141 case $ac_envvar in #( |
|
1142 '' | [0-9]* | *[!_$as_cr_alnum]* ) |
|
1143 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
|
1144 esac |
|
1145 eval $ac_envvar=\$ac_optarg |
|
1146 export $ac_envvar ;; |
|
1147 |
|
1148 *) |
|
1149 # FIXME: should be removed in autoconf 3.0. |
|
1150 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
|
1151 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
|
1152 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
|
1153 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
|
1154 ;; |
|
1155 |
|
1156 esac |
|
1157 done |
|
1158 |
|
1159 if test -n "$ac_prev"; then |
|
1160 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
|
1161 as_fn_error $? "missing argument to $ac_option" |
|
1162 fi |
|
1163 |
|
1164 if test -n "$ac_unrecognized_opts"; then |
|
1165 case $enable_option_checking in |
|
1166 no) ;; |
|
1167 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
|
1168 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
|
1169 esac |
|
1170 fi |
|
1171 |
|
1172 # Check all directory arguments for consistency. |
|
1173 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
|
1174 datadir sysconfdir sharedstatedir localstatedir includedir \ |
|
1175 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
|
1176 libdir localedir mandir |
|
1177 do |
|
1178 eval ac_val=\$$ac_var |
|
1179 # Remove trailing slashes. |
|
1180 case $ac_val in |
|
1181 */ ) |
|
1182 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
|
1183 eval $ac_var=\$ac_val;; |
|
1184 esac |
|
1185 # Be sure to have absolute directory names. |
|
1186 case $ac_val in |
|
1187 [\\/$]* | ?:[\\/]* ) continue;; |
|
1188 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
|
1189 esac |
|
1190 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
|
1191 done |
|
1192 |
|
1193 # There might be people who depend on the old broken behavior: `$host' |
|
1194 # used to hold the argument of --host etc. |
|
1195 # FIXME: To remove some day. |
|
1196 build=$build_alias |
|
1197 host=$host_alias |
|
1198 target=$target_alias |
|
1199 |
|
1200 # FIXME: To remove some day. |
|
1201 if test "x$host_alias" != x; then |
|
1202 if test "x$build_alias" = x; then |
|
1203 cross_compiling=maybe |
|
1204 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
|
1205 If a cross compiler is detected then cross compile mode will be used" >&2 |
|
1206 elif test "x$build_alias" != "x$host_alias"; then |
|
1207 cross_compiling=yes |
|
1208 fi |
|
1209 fi |
|
1210 |
|
1211 ac_tool_prefix= |
|
1212 test -n "$host_alias" && ac_tool_prefix=$host_alias- |
|
1213 |
|
1214 test "$silent" = yes && exec 6>/dev/null |
|
1215 |
|
1216 |
|
1217 ac_pwd=`pwd` && test -n "$ac_pwd" && |
|
1218 ac_ls_di=`ls -di .` && |
|
1219 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
|
1220 as_fn_error $? "working directory cannot be determined" |
|
1221 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
|
1222 as_fn_error $? "pwd does not report name of working directory" |
|
1223 |
|
1224 |
|
1225 # Find the source files, if location was not specified. |
|
1226 if test -z "$srcdir"; then |
|
1227 ac_srcdir_defaulted=yes |
|
1228 # Try the directory containing this script, then the parent directory. |
|
1229 ac_confdir=`$as_dirname -- "$as_myself" || |
|
1230 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
1231 X"$as_myself" : 'X\(//\)[^/]' \| \ |
|
1232 X"$as_myself" : 'X\(//\)$' \| \ |
|
1233 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
|
1234 $as_echo X"$as_myself" | |
|
1235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
1236 s//\1/ |
|
1237 q |
|
1238 } |
|
1239 /^X\(\/\/\)[^/].*/{ |
|
1240 s//\1/ |
|
1241 q |
|
1242 } |
|
1243 /^X\(\/\/\)$/{ |
|
1244 s//\1/ |
|
1245 q |
|
1246 } |
|
1247 /^X\(\/\).*/{ |
|
1248 s//\1/ |
|
1249 q |
|
1250 } |
|
1251 s/.*/./; q'` |
|
1252 srcdir=$ac_confdir |
|
1253 if test ! -r "$srcdir/$ac_unique_file"; then |
|
1254 srcdir=.. |
|
1255 fi |
|
1256 else |
|
1257 ac_srcdir_defaulted=no |
|
1258 fi |
|
1259 if test ! -r "$srcdir/$ac_unique_file"; then |
|
1260 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
|
1261 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
|
1262 fi |
|
1263 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
|
1264 ac_abs_confdir=`( |
|
1265 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
|
1266 pwd)` |
|
1267 # When building in place, set srcdir=. |
|
1268 if test "$ac_abs_confdir" = "$ac_pwd"; then |
|
1269 srcdir=. |
|
1270 fi |
|
1271 # Remove unnecessary trailing slashes from srcdir. |
|
1272 # Double slashes in file names in object file debugging info |
|
1273 # mess up M-x gdb in Emacs. |
|
1274 case $srcdir in |
|
1275 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
|
1276 esac |
|
1277 for ac_var in $ac_precious_vars; do |
|
1278 eval ac_env_${ac_var}_set=\${${ac_var}+set} |
|
1279 eval ac_env_${ac_var}_value=\$${ac_var} |
|
1280 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
|
1281 eval ac_cv_env_${ac_var}_value=\$${ac_var} |
|
1282 done |
|
1283 |
|
1284 # |
|
1285 # Report the --help message. |
|
1286 # |
|
1287 if test "$ac_init_help" = "long"; then |
|
1288 # Omit some internal or obsolete options to make the list less imposing. |
|
1289 # This message is too long to be a string in the A/UX 3.1 sh. |
|
1290 cat <<_ACEOF |
|
1291 \`configure' configures breakpad 0.1 to adapt to many kinds of systems. |
|
1292 |
|
1293 Usage: $0 [OPTION]... [VAR=VALUE]... |
|
1294 |
|
1295 To assign environment variables (e.g., CC, CFLAGS...), specify them as |
|
1296 VAR=VALUE. See below for descriptions of some of the useful variables. |
|
1297 |
|
1298 Defaults for the options are specified in brackets. |
|
1299 |
|
1300 Configuration: |
|
1301 -h, --help display this help and exit |
|
1302 --help=short display options specific to this package |
|
1303 --help=recursive display the short help of all the included packages |
|
1304 -V, --version display version information and exit |
|
1305 -q, --quiet, --silent do not print \`checking ...' messages |
|
1306 --cache-file=FILE cache test results in FILE [disabled] |
|
1307 -C, --config-cache alias for \`--cache-file=config.cache' |
|
1308 -n, --no-create do not create output files |
|
1309 --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
|
1310 |
|
1311 Installation directories: |
|
1312 --prefix=PREFIX install architecture-independent files in PREFIX |
|
1313 [$ac_default_prefix] |
|
1314 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
|
1315 [PREFIX] |
|
1316 |
|
1317 By default, \`make install' will install all the files in |
|
1318 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
|
1319 an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
|
1320 for instance \`--prefix=\$HOME'. |
|
1321 |
|
1322 For better control, use the options below. |
|
1323 |
|
1324 Fine tuning of the installation directories: |
|
1325 --bindir=DIR user executables [EPREFIX/bin] |
|
1326 --sbindir=DIR system admin executables [EPREFIX/sbin] |
|
1327 --libexecdir=DIR program executables [EPREFIX/libexec] |
|
1328 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
|
1329 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
|
1330 --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
|
1331 --libdir=DIR object code libraries [EPREFIX/lib] |
|
1332 --includedir=DIR C header files [PREFIX/include] |
|
1333 --oldincludedir=DIR C header files for non-gcc [/usr/include] |
|
1334 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
|
1335 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
|
1336 --infodir=DIR info documentation [DATAROOTDIR/info] |
|
1337 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
|
1338 --mandir=DIR man documentation [DATAROOTDIR/man] |
|
1339 --docdir=DIR documentation root [DATAROOTDIR/doc/breakpad] |
|
1340 --htmldir=DIR html documentation [DOCDIR] |
|
1341 --dvidir=DIR dvi documentation [DOCDIR] |
|
1342 --pdfdir=DIR pdf documentation [DOCDIR] |
|
1343 --psdir=DIR ps documentation [DOCDIR] |
|
1344 _ACEOF |
|
1345 |
|
1346 cat <<\_ACEOF |
|
1347 |
|
1348 Program names: |
|
1349 --program-prefix=PREFIX prepend PREFIX to installed program names |
|
1350 --program-suffix=SUFFIX append SUFFIX to installed program names |
|
1351 --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
|
1352 |
|
1353 System types: |
|
1354 --build=BUILD configure for building on BUILD [guessed] |
|
1355 --host=HOST cross-compile to build programs to run on HOST [BUILD] |
|
1356 _ACEOF |
|
1357 fi |
|
1358 |
|
1359 if test -n "$ac_init_help"; then |
|
1360 case $ac_init_help in |
|
1361 short | recursive ) echo "Configuration of breakpad 0.1:";; |
|
1362 esac |
|
1363 cat <<\_ACEOF |
|
1364 |
|
1365 Optional Features: |
|
1366 --disable-option-checking ignore unrecognized --enable/--with options |
|
1367 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
|
1368 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
|
1369 --disable-dependency-tracking speeds up one-time build |
|
1370 --enable-dependency-tracking do not reject slow dependency extractors |
|
1371 --enable-m32 Compile/build with -m32 (default is no) |
|
1372 --disable-processor Don't build processor library (default is no) |
|
1373 --disable-tools Don't build tool binaries (default is no) |
|
1374 --enable-selftest Run extra tests with "make check" (may conflict with |
|
1375 optimizations) (default is no) |
|
1376 |
|
1377 Some influential environment variables: |
|
1378 CC C compiler command |
|
1379 CFLAGS C compiler flags |
|
1380 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
|
1381 nonstandard directory <lib dir> |
|
1382 LIBS libraries to pass to the linker, e.g. -l<library> |
|
1383 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
|
1384 you have headers in a nonstandard directory <include dir> |
|
1385 CCAS assembler compiler command (defaults to CC) |
|
1386 CCASFLAGS assembler compiler flags (defaults to CFLAGS) |
|
1387 CPP C preprocessor |
|
1388 CXX C++ compiler command |
|
1389 CXXFLAGS C++ compiler flags |
|
1390 |
|
1391 Use these variables to override the choices made by `configure' or to help |
|
1392 it to find libraries and programs with nonstandard names/locations. |
|
1393 |
|
1394 Report bugs to <google-breakpad-dev@googlegroups.com>. |
|
1395 _ACEOF |
|
1396 ac_status=$? |
|
1397 fi |
|
1398 |
|
1399 if test "$ac_init_help" = "recursive"; then |
|
1400 # If there are subdirs, report their specific --help. |
|
1401 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
|
1402 test -d "$ac_dir" || |
|
1403 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
|
1404 continue |
|
1405 ac_builddir=. |
|
1406 |
|
1407 case "$ac_dir" in |
|
1408 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1409 *) |
|
1410 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
|
1411 # A ".." for each directory in $ac_dir_suffix. |
|
1412 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
|
1413 case $ac_top_builddir_sub in |
|
1414 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1415 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
1416 esac ;; |
|
1417 esac |
|
1418 ac_abs_top_builddir=$ac_pwd |
|
1419 ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
1420 # for backward compatibility: |
|
1421 ac_top_builddir=$ac_top_build_prefix |
|
1422 |
|
1423 case $srcdir in |
|
1424 .) # We are building in place. |
|
1425 ac_srcdir=. |
|
1426 ac_top_srcdir=$ac_top_builddir_sub |
|
1427 ac_abs_top_srcdir=$ac_pwd ;; |
|
1428 [\\/]* | ?:[\\/]* ) # Absolute name. |
|
1429 ac_srcdir=$srcdir$ac_dir_suffix; |
|
1430 ac_top_srcdir=$srcdir |
|
1431 ac_abs_top_srcdir=$srcdir ;; |
|
1432 *) # Relative name. |
|
1433 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
1434 ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
1435 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
1436 esac |
|
1437 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
1438 |
|
1439 cd "$ac_dir" || { ac_status=$?; continue; } |
|
1440 # Check for guested configure. |
|
1441 if test -f "$ac_srcdir/configure.gnu"; then |
|
1442 echo && |
|
1443 $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
|
1444 elif test -f "$ac_srcdir/configure"; then |
|
1445 echo && |
|
1446 $SHELL "$ac_srcdir/configure" --help=recursive |
|
1447 else |
|
1448 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
|
1449 fi || ac_status=$? |
|
1450 cd "$ac_pwd" || { ac_status=$?; break; } |
|
1451 done |
|
1452 fi |
|
1453 |
|
1454 test -n "$ac_init_help" && exit $ac_status |
|
1455 if $ac_init_version; then |
|
1456 cat <<\_ACEOF |
|
1457 breakpad configure 0.1 |
|
1458 generated by GNU Autoconf 2.68 |
|
1459 |
|
1460 Copyright (C) 2010 Free Software Foundation, Inc. |
|
1461 This configure script is free software; the Free Software Foundation |
|
1462 gives unlimited permission to copy, distribute and modify it. |
|
1463 _ACEOF |
|
1464 exit |
|
1465 fi |
|
1466 |
|
1467 ## ------------------------ ## |
|
1468 ## Autoconf initialization. ## |
|
1469 ## ------------------------ ## |
|
1470 |
|
1471 # ac_fn_c_try_compile LINENO |
|
1472 # -------------------------- |
|
1473 # Try to compile conftest.$ac_ext, and return whether this succeeded. |
|
1474 ac_fn_c_try_compile () |
|
1475 { |
|
1476 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1477 rm -f conftest.$ac_objext |
|
1478 if { { ac_try="$ac_compile" |
|
1479 case "(($ac_try" in |
|
1480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1481 *) ac_try_echo=$ac_try;; |
|
1482 esac |
|
1483 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1484 $as_echo "$ac_try_echo"; } >&5 |
|
1485 (eval "$ac_compile") 2>conftest.err |
|
1486 ac_status=$? |
|
1487 if test -s conftest.err; then |
|
1488 grep -v '^ *+' conftest.err >conftest.er1 |
|
1489 cat conftest.er1 >&5 |
|
1490 mv -f conftest.er1 conftest.err |
|
1491 fi |
|
1492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1493 test $ac_status = 0; } && { |
|
1494 test -z "$ac_c_werror_flag" || |
|
1495 test ! -s conftest.err |
|
1496 } && test -s conftest.$ac_objext; then : |
|
1497 ac_retval=0 |
|
1498 else |
|
1499 $as_echo "$as_me: failed program was:" >&5 |
|
1500 sed 's/^/| /' conftest.$ac_ext >&5 |
|
1501 |
|
1502 ac_retval=1 |
|
1503 fi |
|
1504 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1505 as_fn_set_status $ac_retval |
|
1506 |
|
1507 } # ac_fn_c_try_compile |
|
1508 |
|
1509 # ac_fn_c_try_cpp LINENO |
|
1510 # ---------------------- |
|
1511 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
|
1512 ac_fn_c_try_cpp () |
|
1513 { |
|
1514 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1515 if { { ac_try="$ac_cpp conftest.$ac_ext" |
|
1516 case "(($ac_try" in |
|
1517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1518 *) ac_try_echo=$ac_try;; |
|
1519 esac |
|
1520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1521 $as_echo "$ac_try_echo"; } >&5 |
|
1522 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
|
1523 ac_status=$? |
|
1524 if test -s conftest.err; then |
|
1525 grep -v '^ *+' conftest.err >conftest.er1 |
|
1526 cat conftest.er1 >&5 |
|
1527 mv -f conftest.er1 conftest.err |
|
1528 fi |
|
1529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1530 test $ac_status = 0; } > conftest.i && { |
|
1531 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
1532 test ! -s conftest.err |
|
1533 }; then : |
|
1534 ac_retval=0 |
|
1535 else |
|
1536 $as_echo "$as_me: failed program was:" >&5 |
|
1537 sed 's/^/| /' conftest.$ac_ext >&5 |
|
1538 |
|
1539 ac_retval=1 |
|
1540 fi |
|
1541 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1542 as_fn_set_status $ac_retval |
|
1543 |
|
1544 } # ac_fn_c_try_cpp |
|
1545 |
|
1546 # ac_fn_cxx_try_compile LINENO |
|
1547 # ---------------------------- |
|
1548 # Try to compile conftest.$ac_ext, and return whether this succeeded. |
|
1549 ac_fn_cxx_try_compile () |
|
1550 { |
|
1551 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1552 rm -f conftest.$ac_objext |
|
1553 if { { ac_try="$ac_compile" |
|
1554 case "(($ac_try" in |
|
1555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1556 *) ac_try_echo=$ac_try;; |
|
1557 esac |
|
1558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1559 $as_echo "$ac_try_echo"; } >&5 |
|
1560 (eval "$ac_compile") 2>conftest.err |
|
1561 ac_status=$? |
|
1562 if test -s conftest.err; then |
|
1563 grep -v '^ *+' conftest.err >conftest.er1 |
|
1564 cat conftest.er1 >&5 |
|
1565 mv -f conftest.er1 conftest.err |
|
1566 fi |
|
1567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1568 test $ac_status = 0; } && { |
|
1569 test -z "$ac_cxx_werror_flag" || |
|
1570 test ! -s conftest.err |
|
1571 } && test -s conftest.$ac_objext; then : |
|
1572 ac_retval=0 |
|
1573 else |
|
1574 $as_echo "$as_me: failed program was:" >&5 |
|
1575 sed 's/^/| /' conftest.$ac_ext >&5 |
|
1576 |
|
1577 ac_retval=1 |
|
1578 fi |
|
1579 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1580 as_fn_set_status $ac_retval |
|
1581 |
|
1582 } # ac_fn_cxx_try_compile |
|
1583 |
|
1584 # ac_fn_c_try_run LINENO |
|
1585 # ---------------------- |
|
1586 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
|
1587 # that executables *can* be run. |
|
1588 ac_fn_c_try_run () |
|
1589 { |
|
1590 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1591 if { { ac_try="$ac_link" |
|
1592 case "(($ac_try" in |
|
1593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1594 *) ac_try_echo=$ac_try;; |
|
1595 esac |
|
1596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1597 $as_echo "$ac_try_echo"; } >&5 |
|
1598 (eval "$ac_link") 2>&5 |
|
1599 ac_status=$? |
|
1600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1601 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
|
1602 { { case "(($ac_try" in |
|
1603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1604 *) ac_try_echo=$ac_try;; |
|
1605 esac |
|
1606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1607 $as_echo "$ac_try_echo"; } >&5 |
|
1608 (eval "$ac_try") 2>&5 |
|
1609 ac_status=$? |
|
1610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1611 test $ac_status = 0; }; }; then : |
|
1612 ac_retval=0 |
|
1613 else |
|
1614 $as_echo "$as_me: program exited with status $ac_status" >&5 |
|
1615 $as_echo "$as_me: failed program was:" >&5 |
|
1616 sed 's/^/| /' conftest.$ac_ext >&5 |
|
1617 |
|
1618 ac_retval=$ac_status |
|
1619 fi |
|
1620 rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
1621 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1622 as_fn_set_status $ac_retval |
|
1623 |
|
1624 } # ac_fn_c_try_run |
|
1625 |
|
1626 # ac_fn_c_try_link LINENO |
|
1627 # ----------------------- |
|
1628 # Try to link conftest.$ac_ext, and return whether this succeeded. |
|
1629 ac_fn_c_try_link () |
|
1630 { |
|
1631 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1632 rm -f conftest.$ac_objext conftest$ac_exeext |
|
1633 if { { ac_try="$ac_link" |
|
1634 case "(($ac_try" in |
|
1635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1636 *) ac_try_echo=$ac_try;; |
|
1637 esac |
|
1638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1639 $as_echo "$ac_try_echo"; } >&5 |
|
1640 (eval "$ac_link") 2>conftest.err |
|
1641 ac_status=$? |
|
1642 if test -s conftest.err; then |
|
1643 grep -v '^ *+' conftest.err >conftest.er1 |
|
1644 cat conftest.er1 >&5 |
|
1645 mv -f conftest.er1 conftest.err |
|
1646 fi |
|
1647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1648 test $ac_status = 0; } && { |
|
1649 test -z "$ac_c_werror_flag" || |
|
1650 test ! -s conftest.err |
|
1651 } && test -s conftest$ac_exeext && { |
|
1652 test "$cross_compiling" = yes || |
|
1653 $as_test_x conftest$ac_exeext |
|
1654 }; then : |
|
1655 ac_retval=0 |
|
1656 else |
|
1657 $as_echo "$as_me: failed program was:" >&5 |
|
1658 sed 's/^/| /' conftest.$ac_ext >&5 |
|
1659 |
|
1660 ac_retval=1 |
|
1661 fi |
|
1662 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
|
1663 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
|
1664 # interfere with the next link command; also delete a directory that is |
|
1665 # left behind by Apple's compiler. We do this before executing the actions. |
|
1666 rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
1667 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1668 as_fn_set_status $ac_retval |
|
1669 |
|
1670 } # ac_fn_c_try_link |
|
1671 |
|
1672 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
|
1673 # ------------------------------------------------------- |
|
1674 # Tests whether HEADER exists, giving a warning if it cannot be compiled using |
|
1675 # the include files in INCLUDES and setting the cache variable VAR |
|
1676 # accordingly. |
|
1677 ac_fn_c_check_header_mongrel () |
|
1678 { |
|
1679 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1680 if eval \${$3+:} false; then : |
|
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1682 $as_echo_n "checking for $2... " >&6; } |
|
1683 if eval \${$3+:} false; then : |
|
1684 $as_echo_n "(cached) " >&6 |
|
1685 fi |
|
1686 eval ac_res=\$$3 |
|
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1688 $as_echo "$ac_res" >&6; } |
|
1689 else |
|
1690 # Is the header compilable? |
|
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
|
1692 $as_echo_n "checking $2 usability... " >&6; } |
|
1693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1694 /* end confdefs.h. */ |
|
1695 $4 |
|
1696 #include <$2> |
|
1697 _ACEOF |
|
1698 if ac_fn_c_try_compile "$LINENO"; then : |
|
1699 ac_header_compiler=yes |
|
1700 else |
|
1701 ac_header_compiler=no |
|
1702 fi |
|
1703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
|
1705 $as_echo "$ac_header_compiler" >&6; } |
|
1706 |
|
1707 # Is the header present? |
|
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
|
1709 $as_echo_n "checking $2 presence... " >&6; } |
|
1710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1711 /* end confdefs.h. */ |
|
1712 #include <$2> |
|
1713 _ACEOF |
|
1714 if ac_fn_c_try_cpp "$LINENO"; then : |
|
1715 ac_header_preproc=yes |
|
1716 else |
|
1717 ac_header_preproc=no |
|
1718 fi |
|
1719 rm -f conftest.err conftest.i conftest.$ac_ext |
|
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
|
1721 $as_echo "$ac_header_preproc" >&6; } |
|
1722 |
|
1723 # So? What about this header? |
|
1724 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
|
1725 yes:no: ) |
|
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
1727 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
1729 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
1730 ;; |
|
1731 no:yes:* ) |
|
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
|
1733 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
|
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
|
1735 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
|
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
|
1737 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
|
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
|
1739 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
|
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
1741 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
1742 ( $as_echo "## --------------------------------------------------- ## |
|
1743 ## Report this to google-breakpad-dev@googlegroups.com ## |
|
1744 ## --------------------------------------------------- ##" |
|
1745 ) | sed "s/^/$as_me: WARNING: /" >&2 |
|
1746 ;; |
|
1747 esac |
|
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1749 $as_echo_n "checking for $2... " >&6; } |
|
1750 if eval \${$3+:} false; then : |
|
1751 $as_echo_n "(cached) " >&6 |
|
1752 else |
|
1753 eval "$3=\$ac_header_compiler" |
|
1754 fi |
|
1755 eval ac_res=\$$3 |
|
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1757 $as_echo "$ac_res" >&6; } |
|
1758 fi |
|
1759 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1760 |
|
1761 } # ac_fn_c_check_header_mongrel |
|
1762 |
|
1763 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
|
1764 # ------------------------------------------------------- |
|
1765 # Tests whether HEADER exists and can be compiled using the include files in |
|
1766 # INCLUDES, setting the cache variable VAR accordingly. |
|
1767 ac_fn_c_check_header_compile () |
|
1768 { |
|
1769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1771 $as_echo_n "checking for $2... " >&6; } |
|
1772 if eval \${$3+:} false; then : |
|
1773 $as_echo_n "(cached) " >&6 |
|
1774 else |
|
1775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1776 /* end confdefs.h. */ |
|
1777 $4 |
|
1778 #include <$2> |
|
1779 _ACEOF |
|
1780 if ac_fn_c_try_compile "$LINENO"; then : |
|
1781 eval "$3=yes" |
|
1782 else |
|
1783 eval "$3=no" |
|
1784 fi |
|
1785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1786 fi |
|
1787 eval ac_res=\$$3 |
|
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1789 $as_echo "$ac_res" >&6; } |
|
1790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1791 |
|
1792 } # ac_fn_c_check_header_compile |
|
1793 cat >config.log <<_ACEOF |
|
1794 This file contains any messages produced by compilers while |
|
1795 running configure, to aid debugging if configure makes a mistake. |
|
1796 |
|
1797 It was created by breakpad $as_me 0.1, which was |
|
1798 generated by GNU Autoconf 2.68. Invocation command line was |
|
1799 |
|
1800 $ $0 $@ |
|
1801 |
|
1802 _ACEOF |
|
1803 exec 5>>config.log |
|
1804 { |
|
1805 cat <<_ASUNAME |
|
1806 ## --------- ## |
|
1807 ## Platform. ## |
|
1808 ## --------- ## |
|
1809 |
|
1810 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
1811 uname -m = `(uname -m) 2>/dev/null || echo unknown` |
|
1812 uname -r = `(uname -r) 2>/dev/null || echo unknown` |
|
1813 uname -s = `(uname -s) 2>/dev/null || echo unknown` |
|
1814 uname -v = `(uname -v) 2>/dev/null || echo unknown` |
|
1815 |
|
1816 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
|
1817 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
|
1818 |
|
1819 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
|
1820 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
|
1821 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
|
1822 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
|
1823 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
|
1824 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
|
1825 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
|
1826 |
|
1827 _ASUNAME |
|
1828 |
|
1829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1830 for as_dir in $PATH |
|
1831 do |
|
1832 IFS=$as_save_IFS |
|
1833 test -z "$as_dir" && as_dir=. |
|
1834 $as_echo "PATH: $as_dir" |
|
1835 done |
|
1836 IFS=$as_save_IFS |
|
1837 |
|
1838 } >&5 |
|
1839 |
|
1840 cat >&5 <<_ACEOF |
|
1841 |
|
1842 |
|
1843 ## ----------- ## |
|
1844 ## Core tests. ## |
|
1845 ## ----------- ## |
|
1846 |
|
1847 _ACEOF |
|
1848 |
|
1849 |
|
1850 # Keep a trace of the command line. |
|
1851 # Strip out --no-create and --no-recursion so they do not pile up. |
|
1852 # Strip out --silent because we don't want to record it for future runs. |
|
1853 # Also quote any args containing shell meta-characters. |
|
1854 # Make two passes to allow for proper duplicate-argument suppression. |
|
1855 ac_configure_args= |
|
1856 ac_configure_args0= |
|
1857 ac_configure_args1= |
|
1858 ac_must_keep_next=false |
|
1859 for ac_pass in 1 2 |
|
1860 do |
|
1861 for ac_arg |
|
1862 do |
|
1863 case $ac_arg in |
|
1864 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
|
1865 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
1866 | -silent | --silent | --silen | --sile | --sil) |
|
1867 continue ;; |
|
1868 *\'*) |
|
1869 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
1870 esac |
|
1871 case $ac_pass in |
|
1872 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
|
1873 2) |
|
1874 as_fn_append ac_configure_args1 " '$ac_arg'" |
|
1875 if test $ac_must_keep_next = true; then |
|
1876 ac_must_keep_next=false # Got value, back to normal. |
|
1877 else |
|
1878 case $ac_arg in |
|
1879 *=* | --config-cache | -C | -disable-* | --disable-* \ |
|
1880 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
|
1881 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
|
1882 | -with-* | --with-* | -without-* | --without-* | --x) |
|
1883 case "$ac_configure_args0 " in |
|
1884 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
|
1885 esac |
|
1886 ;; |
|
1887 -* ) ac_must_keep_next=true ;; |
|
1888 esac |
|
1889 fi |
|
1890 as_fn_append ac_configure_args " '$ac_arg'" |
|
1891 ;; |
|
1892 esac |
|
1893 done |
|
1894 done |
|
1895 { ac_configure_args0=; unset ac_configure_args0;} |
|
1896 { ac_configure_args1=; unset ac_configure_args1;} |
|
1897 |
|
1898 # When interrupted or exit'd, cleanup temporary files, and complete |
|
1899 # config.log. We remove comments because anyway the quotes in there |
|
1900 # would cause problems or look ugly. |
|
1901 # WARNING: Use '\'' to represent an apostrophe within the trap. |
|
1902 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
|
1903 trap 'exit_status=$? |
|
1904 # Save into config.log some information that might help in debugging. |
|
1905 { |
|
1906 echo |
|
1907 |
|
1908 $as_echo "## ---------------- ## |
|
1909 ## Cache variables. ## |
|
1910 ## ---------------- ##" |
|
1911 echo |
|
1912 # The following way of writing the cache mishandles newlines in values, |
|
1913 ( |
|
1914 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
|
1915 eval ac_val=\$$ac_var |
|
1916 case $ac_val in #( |
|
1917 *${as_nl}*) |
|
1918 case $ac_var in #( |
|
1919 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
|
1920 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
|
1921 esac |
|
1922 case $ac_var in #( |
|
1923 _ | IFS | as_nl) ;; #( |
|
1924 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
1925 *) { eval $ac_var=; unset $ac_var;} ;; |
|
1926 esac ;; |
|
1927 esac |
|
1928 done |
|
1929 (set) 2>&1 | |
|
1930 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
|
1931 *${as_nl}ac_space=\ *) |
|
1932 sed -n \ |
|
1933 "s/'\''/'\''\\\\'\'''\''/g; |
|
1934 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
|
1935 ;; #( |
|
1936 *) |
|
1937 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
|
1938 ;; |
|
1939 esac | |
|
1940 sort |
|
1941 ) |
|
1942 echo |
|
1943 |
|
1944 $as_echo "## ----------------- ## |
|
1945 ## Output variables. ## |
|
1946 ## ----------------- ##" |
|
1947 echo |
|
1948 for ac_var in $ac_subst_vars |
|
1949 do |
|
1950 eval ac_val=\$$ac_var |
|
1951 case $ac_val in |
|
1952 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|
1953 esac |
|
1954 $as_echo "$ac_var='\''$ac_val'\''" |
|
1955 done | sort |
|
1956 echo |
|
1957 |
|
1958 if test -n "$ac_subst_files"; then |
|
1959 $as_echo "## ------------------- ## |
|
1960 ## File substitutions. ## |
|
1961 ## ------------------- ##" |
|
1962 echo |
|
1963 for ac_var in $ac_subst_files |
|
1964 do |
|
1965 eval ac_val=\$$ac_var |
|
1966 case $ac_val in |
|
1967 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|
1968 esac |
|
1969 $as_echo "$ac_var='\''$ac_val'\''" |
|
1970 done | sort |
|
1971 echo |
|
1972 fi |
|
1973 |
|
1974 if test -s confdefs.h; then |
|
1975 $as_echo "## ----------- ## |
|
1976 ## confdefs.h. ## |
|
1977 ## ----------- ##" |
|
1978 echo |
|
1979 cat confdefs.h |
|
1980 echo |
|
1981 fi |
|
1982 test "$ac_signal" != 0 && |
|
1983 $as_echo "$as_me: caught signal $ac_signal" |
|
1984 $as_echo "$as_me: exit $exit_status" |
|
1985 } >&5 |
|
1986 rm -f core *.core core.conftest.* && |
|
1987 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
|
1988 exit $exit_status |
|
1989 ' 0 |
|
1990 for ac_signal in 1 2 13 15; do |
|
1991 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
|
1992 done |
|
1993 ac_signal=0 |
|
1994 |
|
1995 # confdefs.h avoids OS command line length limits that DEFS can exceed. |
|
1996 rm -f -r conftest* confdefs.h |
|
1997 |
|
1998 $as_echo "/* confdefs.h */" > confdefs.h |
|
1999 |
|
2000 # Predefined preprocessor variables. |
|
2001 |
|
2002 cat >>confdefs.h <<_ACEOF |
|
2003 #define PACKAGE_NAME "$PACKAGE_NAME" |
|
2004 _ACEOF |
|
2005 |
|
2006 cat >>confdefs.h <<_ACEOF |
|
2007 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
|
2008 _ACEOF |
|
2009 |
|
2010 cat >>confdefs.h <<_ACEOF |
|
2011 #define PACKAGE_VERSION "$PACKAGE_VERSION" |
|
2012 _ACEOF |
|
2013 |
|
2014 cat >>confdefs.h <<_ACEOF |
|
2015 #define PACKAGE_STRING "$PACKAGE_STRING" |
|
2016 _ACEOF |
|
2017 |
|
2018 cat >>confdefs.h <<_ACEOF |
|
2019 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
|
2020 _ACEOF |
|
2021 |
|
2022 cat >>confdefs.h <<_ACEOF |
|
2023 #define PACKAGE_URL "$PACKAGE_URL" |
|
2024 _ACEOF |
|
2025 |
|
2026 |
|
2027 # Let the site file select an alternate cache file if it wants to. |
|
2028 # Prefer an explicitly selected file to automatically selected ones. |
|
2029 ac_site_file1=NONE |
|
2030 ac_site_file2=NONE |
|
2031 if test -n "$CONFIG_SITE"; then |
|
2032 # We do not want a PATH search for config.site. |
|
2033 case $CONFIG_SITE in #(( |
|
2034 -*) ac_site_file1=./$CONFIG_SITE;; |
|
2035 */*) ac_site_file1=$CONFIG_SITE;; |
|
2036 *) ac_site_file1=./$CONFIG_SITE;; |
|
2037 esac |
|
2038 elif test "x$prefix" != xNONE; then |
|
2039 ac_site_file1=$prefix/share/config.site |
|
2040 ac_site_file2=$prefix/etc/config.site |
|
2041 else |
|
2042 ac_site_file1=$ac_default_prefix/share/config.site |
|
2043 ac_site_file2=$ac_default_prefix/etc/config.site |
|
2044 fi |
|
2045 for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
|
2046 do |
|
2047 test "x$ac_site_file" = xNONE && continue |
|
2048 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
|
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
|
2050 $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
|
2051 sed 's/^/| /' "$ac_site_file" >&5 |
|
2052 . "$ac_site_file" \ |
|
2053 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
2054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2055 as_fn_error $? "failed to load site script $ac_site_file |
|
2056 See \`config.log' for more details" "$LINENO" 5; } |
|
2057 fi |
|
2058 done |
|
2059 |
|
2060 if test -r "$cache_file"; then |
|
2061 # Some versions of bash will fail to source /dev/null (special files |
|
2062 # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
|
2063 if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
|
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
|
2065 $as_echo "$as_me: loading cache $cache_file" >&6;} |
|
2066 case $cache_file in |
|
2067 [\\/]* | ?:[\\/]* ) . "$cache_file";; |
|
2068 *) . "./$cache_file";; |
|
2069 esac |
|
2070 fi |
|
2071 else |
|
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
|
2073 $as_echo "$as_me: creating cache $cache_file" >&6;} |
|
2074 >$cache_file |
|
2075 fi |
|
2076 |
|
2077 # Check that the precious variables saved in the cache have kept the same |
|
2078 # value. |
|
2079 ac_cache_corrupted=false |
|
2080 for ac_var in $ac_precious_vars; do |
|
2081 eval ac_old_set=\$ac_cv_env_${ac_var}_set |
|
2082 eval ac_new_set=\$ac_env_${ac_var}_set |
|
2083 eval ac_old_val=\$ac_cv_env_${ac_var}_value |
|
2084 eval ac_new_val=\$ac_env_${ac_var}_value |
|
2085 case $ac_old_set,$ac_new_set in |
|
2086 set,) |
|
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
|
2088 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
|
2089 ac_cache_corrupted=: ;; |
|
2090 ,set) |
|
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
|
2092 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
|
2093 ac_cache_corrupted=: ;; |
|
2094 ,);; |
|
2095 *) |
|
2096 if test "x$ac_old_val" != "x$ac_new_val"; then |
|
2097 # differences in whitespace do not lead to failure. |
|
2098 ac_old_val_w=`echo x $ac_old_val` |
|
2099 ac_new_val_w=`echo x $ac_new_val` |
|
2100 if test "$ac_old_val_w" != "$ac_new_val_w"; then |
|
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
|
2102 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
|
2103 ac_cache_corrupted=: |
|
2104 else |
|
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
|
2106 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
|
2107 eval $ac_var=\$ac_old_val |
|
2108 fi |
|
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
|
2110 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
|
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
|
2112 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
|
2113 fi;; |
|
2114 esac |
|
2115 # Pass precious variables to config.status. |
|
2116 if test "$ac_new_set" = set; then |
|
2117 case $ac_new_val in |
|
2118 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
2119 *) ac_arg=$ac_var=$ac_new_val ;; |
|
2120 esac |
|
2121 case " $ac_configure_args " in |
|
2122 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
|
2123 *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
|
2124 esac |
|
2125 fi |
|
2126 done |
|
2127 if $ac_cache_corrupted; then |
|
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
2129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
|
2131 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
|
2132 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
|
2133 fi |
|
2134 ## -------------------- ## |
|
2135 ## Main body of script. ## |
|
2136 ## -------------------- ## |
|
2137 |
|
2138 ac_ext=c |
|
2139 ac_cpp='$CPP $CPPFLAGS' |
|
2140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
2141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2142 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
2143 |
|
2144 |
|
2145 |
|
2146 ac_aux_dir= |
|
2147 for ac_dir in autotools "$srcdir"/autotools; do |
|
2148 if test -f "$ac_dir/install-sh"; then |
|
2149 ac_aux_dir=$ac_dir |
|
2150 ac_install_sh="$ac_aux_dir/install-sh -c" |
|
2151 break |
|
2152 elif test -f "$ac_dir/install.sh"; then |
|
2153 ac_aux_dir=$ac_dir |
|
2154 ac_install_sh="$ac_aux_dir/install.sh -c" |
|
2155 break |
|
2156 elif test -f "$ac_dir/shtool"; then |
|
2157 ac_aux_dir=$ac_dir |
|
2158 ac_install_sh="$ac_aux_dir/shtool install -c" |
|
2159 break |
|
2160 fi |
|
2161 done |
|
2162 if test -z "$ac_aux_dir"; then |
|
2163 as_fn_error $? "cannot find install-sh, install.sh, or shtool in autotools \"$srcdir\"/autotools" "$LINENO" 5 |
|
2164 fi |
|
2165 |
|
2166 # These three variables are undocumented and unsupported, |
|
2167 # and are intended to be withdrawn in a future Autoconf release. |
|
2168 # They can cause serious problems if a builder's source tree is in a directory |
|
2169 # whose full name contains unusual characters. |
|
2170 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
|
2171 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
|
2172 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
|
2173 |
|
2174 |
|
2175 |
|
2176 # Make sure we can run config.sub. |
|
2177 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
|
2178 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
|
2179 |
|
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
|
2181 $as_echo_n "checking build system type... " >&6; } |
|
2182 if ${ac_cv_build+:} false; then : |
|
2183 $as_echo_n "(cached) " >&6 |
|
2184 else |
|
2185 ac_build_alias=$build_alias |
|
2186 test "x$ac_build_alias" = x && |
|
2187 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
|
2188 test "x$ac_build_alias" = x && |
|
2189 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
|
2190 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
|
2191 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
|
2192 |
|
2193 fi |
|
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
|
2195 $as_echo "$ac_cv_build" >&6; } |
|
2196 case $ac_cv_build in |
|
2197 *-*-*) ;; |
|
2198 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
|
2199 esac |
|
2200 build=$ac_cv_build |
|
2201 ac_save_IFS=$IFS; IFS='-' |
|
2202 set x $ac_cv_build |
|
2203 shift |
|
2204 build_cpu=$1 |
|
2205 build_vendor=$2 |
|
2206 shift; shift |
|
2207 # Remember, the first character of IFS is used to create $*, |
|
2208 # except with old shells: |
|
2209 build_os=$* |
|
2210 IFS=$ac_save_IFS |
|
2211 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
|
2212 |
|
2213 |
|
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
|
2215 $as_echo_n "checking host system type... " >&6; } |
|
2216 if ${ac_cv_host+:} false; then : |
|
2217 $as_echo_n "(cached) " >&6 |
|
2218 else |
|
2219 if test "x$host_alias" = x; then |
|
2220 ac_cv_host=$ac_cv_build |
|
2221 else |
|
2222 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
|
2223 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
|
2224 fi |
|
2225 |
|
2226 fi |
|
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
|
2228 $as_echo "$ac_cv_host" >&6; } |
|
2229 case $ac_cv_host in |
|
2230 *-*-*) ;; |
|
2231 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
|
2232 esac |
|
2233 host=$ac_cv_host |
|
2234 ac_save_IFS=$IFS; IFS='-' |
|
2235 set x $ac_cv_host |
|
2236 shift |
|
2237 host_cpu=$1 |
|
2238 host_vendor=$2 |
|
2239 shift; shift |
|
2240 # Remember, the first character of IFS is used to create $*, |
|
2241 # except with old shells: |
|
2242 host_os=$* |
|
2243 IFS=$ac_save_IFS |
|
2244 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
|
2245 |
|
2246 |
|
2247 |
|
2248 am__api_version='1.11' |
|
2249 |
|
2250 # Find a good install program. We prefer a C program (faster), |
|
2251 # so one script is as good as another. But avoid the broken or |
|
2252 # incompatible versions: |
|
2253 # SysV /etc/install, /usr/sbin/install |
|
2254 # SunOS /usr/etc/install |
|
2255 # IRIX /sbin/install |
|
2256 # AIX /bin/install |
|
2257 # AmigaOS /C/install, which installs bootblocks on floppy discs |
|
2258 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
|
2259 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
|
2260 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|
2261 # OS/2's system install, which has a completely different semantic |
|
2262 # ./install, which can be erroneously created by make from ./install.sh. |
|
2263 # Reject install programs that cannot install multiple files. |
|
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
|
2265 $as_echo_n "checking for a BSD-compatible install... " >&6; } |
|
2266 if test -z "$INSTALL"; then |
|
2267 if ${ac_cv_path_install+:} false; then : |
|
2268 $as_echo_n "(cached) " >&6 |
|
2269 else |
|
2270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2271 for as_dir in $PATH |
|
2272 do |
|
2273 IFS=$as_save_IFS |
|
2274 test -z "$as_dir" && as_dir=. |
|
2275 # Account for people who put trailing slashes in PATH elements. |
|
2276 case $as_dir/ in #(( |
|
2277 ./ | .// | /[cC]/* | \ |
|
2278 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
|
2279 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
|
2280 /usr/ucb/* ) ;; |
|
2281 *) |
|
2282 # OSF1 and SCO ODT 3.0 have their own names for install. |
|
2283 # Don't use installbsd from OSF since it installs stuff as root |
|
2284 # by default. |
|
2285 for ac_prog in ginstall scoinst install; do |
|
2286 for ac_exec_ext in '' $ac_executable_extensions; do |
|
2287 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
|
2288 if test $ac_prog = install && |
|
2289 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
2290 # AIX install. It has an incompatible calling convention. |
|
2291 : |
|
2292 elif test $ac_prog = install && |
|
2293 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
2294 # program-specific install script used by HP pwplus--don't use. |
|
2295 : |
|
2296 else |
|
2297 rm -rf conftest.one conftest.two conftest.dir |
|
2298 echo one > conftest.one |
|
2299 echo two > conftest.two |
|
2300 mkdir conftest.dir |
|
2301 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
|
2302 test -s conftest.one && test -s conftest.two && |
|
2303 test -s conftest.dir/conftest.one && |
|
2304 test -s conftest.dir/conftest.two |
|
2305 then |
|
2306 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
|
2307 break 3 |
|
2308 fi |
|
2309 fi |
|
2310 fi |
|
2311 done |
|
2312 done |
|
2313 ;; |
|
2314 esac |
|
2315 |
|
2316 done |
|
2317 IFS=$as_save_IFS |
|
2318 |
|
2319 rm -rf conftest.one conftest.two conftest.dir |
|
2320 |
|
2321 fi |
|
2322 if test "${ac_cv_path_install+set}" = set; then |
|
2323 INSTALL=$ac_cv_path_install |
|
2324 else |
|
2325 # As a last resort, use the slow shell script. Don't cache a |
|
2326 # value for INSTALL within a source directory, because that will |
|
2327 # break other packages using the cache if that directory is |
|
2328 # removed, or if the value is a relative name. |
|
2329 INSTALL=$ac_install_sh |
|
2330 fi |
|
2331 fi |
|
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
|
2333 $as_echo "$INSTALL" >&6; } |
|
2334 |
|
2335 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
|
2336 # It thinks the first close brace ends the variable substitution. |
|
2337 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
|
2338 |
|
2339 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
|
2340 |
|
2341 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|
2342 |
|
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
|
2344 $as_echo_n "checking whether build environment is sane... " >&6; } |
|
2345 # Just in case |
|
2346 sleep 1 |
|
2347 echo timestamp > conftest.file |
|
2348 # Reject unsafe characters in $srcdir or the absolute working directory |
|
2349 # name. Accept space and tab only in the latter. |
|
2350 am_lf=' |
|
2351 ' |
|
2352 case `pwd` in |
|
2353 *[\\\"\#\$\&\'\`$am_lf]*) |
|
2354 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
|
2355 esac |
|
2356 case $srcdir in |
|
2357 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
|
2358 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
|
2359 esac |
|
2360 |
|
2361 # Do `set' in a subshell so we don't clobber the current shell's |
|
2362 # arguments. Must try -L first in case configure is actually a |
|
2363 # symlink; some systems play weird games with the mod time of symlinks |
|
2364 # (eg FreeBSD returns the mod time of the symlink's containing |
|
2365 # directory). |
|
2366 if ( |
|
2367 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
|
2368 if test "$*" = "X"; then |
|
2369 # -L didn't work. |
|
2370 set X `ls -t "$srcdir/configure" conftest.file` |
|
2371 fi |
|
2372 rm -f conftest.file |
|
2373 if test "$*" != "X $srcdir/configure conftest.file" \ |
|
2374 && test "$*" != "X conftest.file $srcdir/configure"; then |
|
2375 |
|
2376 # If neither matched, then we have a broken ls. This can happen |
|
2377 # if, for instance, CONFIG_SHELL is bash and it inherits a |
|
2378 # broken ls alias from the environment. This has actually |
|
2379 # happened. Such a system could not be considered "sane". |
|
2380 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
|
2381 alias in your environment" "$LINENO" 5 |
|
2382 fi |
|
2383 |
|
2384 test "$2" = conftest.file |
|
2385 ) |
|
2386 then |
|
2387 # Ok. |
|
2388 : |
|
2389 else |
|
2390 as_fn_error $? "newly created file is older than distributed files! |
|
2391 Check your system clock" "$LINENO" 5 |
|
2392 fi |
|
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
2394 $as_echo "yes" >&6; } |
|
2395 test "$program_prefix" != NONE && |
|
2396 program_transform_name="s&^&$program_prefix&;$program_transform_name" |
|
2397 # Use a double $ so make ignores it. |
|
2398 test "$program_suffix" != NONE && |
|
2399 program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
|
2400 # Double any \ or $. |
|
2401 # By default was `s,x,x', remove it if useless. |
|
2402 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
|
2403 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
|
2404 |
|
2405 # expand $ac_aux_dir to an absolute path |
|
2406 am_aux_dir=`cd $ac_aux_dir && pwd` |
|
2407 |
|
2408 if test x"${MISSING+set}" != xset; then |
|
2409 case $am_aux_dir in |
|
2410 *\ * | *\ *) |
|
2411 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
|
2412 *) |
|
2413 MISSING="\${SHELL} $am_aux_dir/missing" ;; |
|
2414 esac |
|
2415 fi |
|
2416 # Use eval to expand $SHELL |
|
2417 if eval "$MISSING --run true"; then |
|
2418 am_missing_run="$MISSING --run " |
|
2419 else |
|
2420 am_missing_run= |
|
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
|
2422 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
|
2423 fi |
|
2424 |
|
2425 if test x"${install_sh}" != xset; then |
|
2426 case $am_aux_dir in |
|
2427 *\ * | *\ *) |
|
2428 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
|
2429 *) |
|
2430 install_sh="\${SHELL} $am_aux_dir/install-sh" |
|
2431 esac |
|
2432 fi |
|
2433 |
|
2434 # Installed binaries are usually stripped using `strip' when the user |
|
2435 # run `make install-strip'. However `strip' might not be the right |
|
2436 # tool to use in cross-compilation environments, therefore Automake |
|
2437 # will honor the `STRIP' environment variable to overrule this program. |
|
2438 if test "$cross_compiling" != no; then |
|
2439 if test -n "$ac_tool_prefix"; then |
|
2440 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
|
2441 set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2443 $as_echo_n "checking for $ac_word... " >&6; } |
|
2444 if ${ac_cv_prog_STRIP+:} false; then : |
|
2445 $as_echo_n "(cached) " >&6 |
|
2446 else |
|
2447 if test -n "$STRIP"; then |
|
2448 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|
2449 else |
|
2450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2451 for as_dir in $PATH |
|
2452 do |
|
2453 IFS=$as_save_IFS |
|
2454 test -z "$as_dir" && as_dir=. |
|
2455 for ac_exec_ext in '' $ac_executable_extensions; do |
|
2456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
2457 ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
|
2458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2459 break 2 |
|
2460 fi |
|
2461 done |
|
2462 done |
|
2463 IFS=$as_save_IFS |
|
2464 |
|
2465 fi |
|
2466 fi |
|
2467 STRIP=$ac_cv_prog_STRIP |
|
2468 if test -n "$STRIP"; then |
|
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
|
2470 $as_echo "$STRIP" >&6; } |
|
2471 else |
|
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2473 $as_echo "no" >&6; } |
|
2474 fi |
|
2475 |
|
2476 |
|
2477 fi |
|
2478 if test -z "$ac_cv_prog_STRIP"; then |
|
2479 ac_ct_STRIP=$STRIP |
|
2480 # Extract the first word of "strip", so it can be a program name with args. |
|
2481 set dummy strip; ac_word=$2 |
|
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2483 $as_echo_n "checking for $ac_word... " >&6; } |
|
2484 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
|
2485 $as_echo_n "(cached) " >&6 |
|
2486 else |
|
2487 if test -n "$ac_ct_STRIP"; then |
|
2488 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|
2489 else |
|
2490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2491 for as_dir in $PATH |
|
2492 do |
|
2493 IFS=$as_save_IFS |
|
2494 test -z "$as_dir" && as_dir=. |
|
2495 for ac_exec_ext in '' $ac_executable_extensions; do |
|
2496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
2497 ac_cv_prog_ac_ct_STRIP="strip" |
|
2498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2499 break 2 |
|
2500 fi |
|
2501 done |
|
2502 done |
|
2503 IFS=$as_save_IFS |
|
2504 |
|
2505 fi |
|
2506 fi |
|
2507 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
2508 if test -n "$ac_ct_STRIP"; then |
|
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
|
2510 $as_echo "$ac_ct_STRIP" >&6; } |
|
2511 else |
|
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2513 $as_echo "no" >&6; } |
|
2514 fi |
|
2515 |
|
2516 if test "x$ac_ct_STRIP" = x; then |
|
2517 STRIP=":" |
|
2518 else |
|
2519 case $cross_compiling:$ac_tool_warned in |
|
2520 yes:) |
|
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
2522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
2523 ac_tool_warned=yes ;; |
|
2524 esac |
|
2525 STRIP=$ac_ct_STRIP |
|
2526 fi |
|
2527 else |
|
2528 STRIP="$ac_cv_prog_STRIP" |
|
2529 fi |
|
2530 |
|
2531 fi |
|
2532 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
|
2533 |
|
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
|
2535 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
|
2536 if test -z "$MKDIR_P"; then |
|
2537 if ${ac_cv_path_mkdir+:} false; then : |
|
2538 $as_echo_n "(cached) " >&6 |
|
2539 else |
|
2540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2541 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
|
2542 do |
|
2543 IFS=$as_save_IFS |
|
2544 test -z "$as_dir" && as_dir=. |
|
2545 for ac_prog in mkdir gmkdir; do |
|
2546 for ac_exec_ext in '' $ac_executable_extensions; do |
|
2547 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
|
2548 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
|
2549 'mkdir (GNU coreutils) '* | \ |
|
2550 'mkdir (coreutils) '* | \ |
|
2551 'mkdir (fileutils) '4.1*) |
|
2552 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
|
2553 break 3;; |
|
2554 esac |
|
2555 done |
|
2556 done |
|
2557 done |
|
2558 IFS=$as_save_IFS |
|
2559 |
|
2560 fi |
|
2561 |
|
2562 test -d ./--version && rmdir ./--version |
|
2563 if test "${ac_cv_path_mkdir+set}" = set; then |
|
2564 MKDIR_P="$ac_cv_path_mkdir -p" |
|
2565 else |
|
2566 # As a last resort, use the slow shell script. Don't cache a |
|
2567 # value for MKDIR_P within a source directory, because that will |
|
2568 # break other packages using the cache if that directory is |
|
2569 # removed, or if the value is a relative name. |
|
2570 MKDIR_P="$ac_install_sh -d" |
|
2571 fi |
|
2572 fi |
|
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
|
2574 $as_echo "$MKDIR_P" >&6; } |
|
2575 |
|
2576 mkdir_p="$MKDIR_P" |
|
2577 case $mkdir_p in |
|
2578 [\\/$]* | ?:[\\/]*) ;; |
|
2579 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
|
2580 esac |
|
2581 |
|
2582 for ac_prog in gawk mawk nawk awk |
|
2583 do |
|
2584 # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
2585 set dummy $ac_prog; ac_word=$2 |
|
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2587 $as_echo_n "checking for $ac_word... " >&6; } |
|
2588 if ${ac_cv_prog_AWK+:} false; then : |
|
2589 $as_echo_n "(cached) " >&6 |
|
2590 else |
|
2591 if test -n "$AWK"; then |
|
2592 ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
2593 else |
|
2594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2595 for as_dir in $PATH |
|
2596 do |
|
2597 IFS=$as_save_IFS |
|
2598 test -z "$as_dir" && as_dir=. |
|
2599 for ac_exec_ext in '' $ac_executable_extensions; do |
|
2600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
2601 ac_cv_prog_AWK="$ac_prog" |
|
2602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2603 break 2 |
|
2604 fi |
|
2605 done |
|
2606 done |
|
2607 IFS=$as_save_IFS |
|
2608 |
|
2609 fi |
|
2610 fi |
|
2611 AWK=$ac_cv_prog_AWK |
|
2612 if test -n "$AWK"; then |
|
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
|
2614 $as_echo "$AWK" >&6; } |
|
2615 else |
|
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2617 $as_echo "no" >&6; } |
|
2618 fi |
|
2619 |
|
2620 |
|
2621 test -n "$AWK" && break |
|
2622 done |
|
2623 |
|
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
|
2625 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
|
2626 set x ${MAKE-make} |
|
2627 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
|
2628 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
|
2629 $as_echo_n "(cached) " >&6 |
|
2630 else |
|
2631 cat >conftest.make <<\_ACEOF |
|
2632 SHELL = /bin/sh |
|
2633 all: |
|
2634 @echo '@@@%%%=$(MAKE)=@@@%%%' |
|
2635 _ACEOF |
|
2636 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
|
2637 case `${MAKE-make} -f conftest.make 2>/dev/null` in |
|
2638 *@@@%%%=?*=@@@%%%*) |
|
2639 eval ac_cv_prog_make_${ac_make}_set=yes;; |
|
2640 *) |
|
2641 eval ac_cv_prog_make_${ac_make}_set=no;; |
|
2642 esac |
|
2643 rm -f conftest.make |
|
2644 fi |
|
2645 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
|
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
2647 $as_echo "yes" >&6; } |
|
2648 SET_MAKE= |
|
2649 else |
|
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2651 $as_echo "no" >&6; } |
|
2652 SET_MAKE="MAKE=${MAKE-make}" |
|
2653 fi |
|
2654 |
|
2655 rm -rf .tst 2>/dev/null |
|
2656 mkdir .tst 2>/dev/null |
|
2657 if test -d .tst; then |
|
2658 am__leading_dot=. |
|
2659 else |
|
2660 am__leading_dot=_ |
|
2661 fi |
|
2662 rmdir .tst 2>/dev/null |
|
2663 |
|
2664 if test "`cd $srcdir && pwd`" != "`pwd`"; then |
|
2665 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
|
2666 # is not polluted with repeated "-I." |
|
2667 am__isrc=' -I$(srcdir)' |
|
2668 # test to see if srcdir already configured |
|
2669 if test -f $srcdir/config.status; then |
|
2670 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
|
2671 fi |
|
2672 fi |
|
2673 |
|
2674 # test whether we have cygpath |
|
2675 if test -z "$CYGPATH_W"; then |
|
2676 if (cygpath --version) >/dev/null 2>/dev/null; then |
|
2677 CYGPATH_W='cygpath -w' |
|
2678 else |
|
2679 CYGPATH_W=echo |
|
2680 fi |
|
2681 fi |
|
2682 |
|
2683 |
|
2684 # Define the identity of the package. |
|
2685 PACKAGE='breakpad' |
|
2686 VERSION='0.1' |
|
2687 |
|
2688 |
|
2689 cat >>confdefs.h <<_ACEOF |
|
2690 #define PACKAGE "$PACKAGE" |
|
2691 _ACEOF |
|
2692 |
|
2693 |
|
2694 cat >>confdefs.h <<_ACEOF |
|
2695 #define VERSION "$VERSION" |
|
2696 _ACEOF |
|
2697 |
|
2698 # Some tools Automake needs. |
|
2699 |
|
2700 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
|
2701 |
|
2702 |
|
2703 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
|
2704 |
|
2705 |
|
2706 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
|
2707 |
|
2708 |
|
2709 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
|
2710 |
|
2711 |
|
2712 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
2713 |
|
2714 # We need awk for the "check" target. The system "awk" is bad on |
|
2715 # some platforms. |
|
2716 # Always define AMTAR for backward compatibility. Yes, it's still used |
|
2717 # in the wild :-( We should find a proper way to deprecate it ... |
|
2718 AMTAR='$${TAR-tar}' |
|
2719 |
|
2720 |
|
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 |
|
2722 $as_echo_n "checking how to create a ustar tar archive... " >&6; } |
|
2723 # Loop over all known methods to create a tar archive until one works. |
|
2724 _am_tools='gnutar plaintar pax cpio none' |
|
2725 _am_tools=${am_cv_prog_tar_ustar-$_am_tools} |
|
2726 # Do not fold the above two line into one, because Tru64 sh and |
|
2727 # Solaris sh will not grok spaces in the rhs of `-'. |
|
2728 for _am_tool in $_am_tools |
|
2729 do |
|
2730 case $_am_tool in |
|
2731 gnutar) |
|
2732 for _am_tar in tar gnutar gtar; |
|
2733 do |
|
2734 { echo "$as_me:$LINENO: $_am_tar --version" >&5 |
|
2735 ($_am_tar --version) >&5 2>&5 |
|
2736 ac_status=$? |
|
2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2738 (exit $ac_status); } && break |
|
2739 done |
|
2740 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' |
|
2741 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' |
|
2742 am__untar="$_am_tar -xf -" |
|
2743 ;; |
|
2744 plaintar) |
|
2745 # Must skip GNU tar: if it does not support --format= it doesn't create |
|
2746 # ustar tarball either. |
|
2747 (tar --version) >/dev/null 2>&1 && continue |
|
2748 am__tar='tar chf - "$$tardir"' |
|
2749 am__tar_='tar chf - "$tardir"' |
|
2750 am__untar='tar xf -' |
|
2751 ;; |
|
2752 pax) |
|
2753 am__tar='pax -L -x ustar -w "$$tardir"' |
|
2754 am__tar_='pax -L -x ustar -w "$tardir"' |
|
2755 am__untar='pax -r' |
|
2756 ;; |
|
2757 cpio) |
|
2758 am__tar='find "$$tardir" -print | cpio -o -H ustar -L' |
|
2759 am__tar_='find "$tardir" -print | cpio -o -H ustar -L' |
|
2760 am__untar='cpio -i -H ustar -d' |
|
2761 ;; |
|
2762 none) |
|
2763 am__tar=false |
|
2764 am__tar_=false |
|
2765 am__untar=false |
|
2766 ;; |
|
2767 esac |
|
2768 |
|
2769 # If the value was cached, stop now. We just wanted to have am__tar |
|
2770 # and am__untar set. |
|
2771 test -n "${am_cv_prog_tar_ustar}" && break |
|
2772 |
|
2773 # tar/untar a dummy directory, and stop if the command works |
|
2774 rm -rf conftest.dir |
|
2775 mkdir conftest.dir |
|
2776 echo GrepMe > conftest.dir/file |
|
2777 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 |
|
2778 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 |
|
2779 ac_status=$? |
|
2780 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2781 (exit $ac_status); } |
|
2782 rm -rf conftest.dir |
|
2783 if test -s conftest.tar; then |
|
2784 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 |
|
2785 ($am__untar <conftest.tar) >&5 2>&5 |
|
2786 ac_status=$? |
|
2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2788 (exit $ac_status); } |
|
2789 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break |
|
2790 fi |
|
2791 done |
|
2792 rm -rf conftest.dir |
|
2793 |
|
2794 if ${am_cv_prog_tar_ustar+:} false; then : |
|
2795 $as_echo_n "(cached) " >&6 |
|
2796 else |
|
2797 am_cv_prog_tar_ustar=$_am_tool |
|
2798 fi |
|
2799 |
|
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 |
|
2801 $as_echo "$am_cv_prog_tar_ustar" >&6; } |
|
2802 |
|
2803 |
|
2804 |
|
2805 |
|
2806 |
|
2807 ac_config_headers="$ac_config_headers src/config.h" |
|
2808 |
|
2809 |
|
2810 DEPDIR="${am__leading_dot}deps" |
|
2811 |
|
2812 ac_config_commands="$ac_config_commands depfiles" |
|
2813 |
|
2814 |
|
2815 am_make=${MAKE-make} |
|
2816 cat > confinc << 'END' |
|
2817 am__doit: |
|
2818 @echo this is the am__doit target |
|
2819 .PHONY: am__doit |
|
2820 END |
|
2821 # If we don't find an include directive, just comment out the code. |
|
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
|
2823 $as_echo_n "checking for style of include used by $am_make... " >&6; } |
|
2824 am__include="#" |
|
2825 am__quote= |
|
2826 _am_result=none |
|
2827 # First try GNU make style include. |
|
2828 echo "include confinc" > confmf |
|
2829 # Ignore all kinds of additional output from `make'. |
|
2830 case `$am_make -s -f confmf 2> /dev/null` in #( |
|
2831 *the\ am__doit\ target*) |
|
2832 am__include=include |
|
2833 am__quote= |
|
2834 _am_result=GNU |
|
2835 ;; |
|
2836 esac |
|
2837 # Now try BSD make style include. |
|
2838 if test "$am__include" = "#"; then |
|
2839 echo '.include "confinc"' > confmf |
|
2840 case `$am_make -s -f confmf 2> /dev/null` in #( |
|
2841 *the\ am__doit\ target*) |
|
2842 am__include=.include |
|
2843 am__quote="\"" |
|
2844 _am_result=BSD |
|
2845 ;; |
|
2846 esac |
|
2847 fi |
|
2848 |
|
2849 |
|
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
|
2851 $as_echo "$_am_result" >&6; } |
|
2852 rm -f confinc confmf |
|
2853 |
|
2854 # Check whether --enable-dependency-tracking was given. |
|
2855 if test "${enable_dependency_tracking+set}" = set; then : |
|
2856 enableval=$enable_dependency_tracking; |
|
2857 fi |
|
2858 |
|
2859 if test "x$enable_dependency_tracking" != xno; then |
|
2860 am_depcomp="$ac_aux_dir/depcomp" |
|
2861 AMDEPBACKSLASH='\' |
|
2862 am__nodep='_no' |
|
2863 fi |
|
2864 if test "x$enable_dependency_tracking" != xno; then |
|
2865 AMDEP_TRUE= |
|
2866 AMDEP_FALSE='#' |
|
2867 else |
|
2868 AMDEP_TRUE='#' |
|
2869 AMDEP_FALSE= |
|
2870 fi |
|
2871 |
|
2872 |
|
2873 ac_ext=c |
|
2874 ac_cpp='$CPP $CPPFLAGS' |
|
2875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
2876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2877 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
2878 if test -n "$ac_tool_prefix"; then |
|
2879 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
|
2880 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2882 $as_echo_n "checking for $ac_word... " >&6; } |
|
2883 if ${ac_cv_prog_CC+:} false; then : |
|
2884 $as_echo_n "(cached) " >&6 |
|
2885 else |
|
2886 if test -n "$CC"; then |
|
2887 ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2888 else |
|
2889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2890 for as_dir in $PATH |
|
2891 do |
|
2892 IFS=$as_save_IFS |
|
2893 test -z "$as_dir" && as_dir=. |
|
2894 for ac_exec_ext in '' $ac_executable_extensions; do |
|
2895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
2896 ac_cv_prog_CC="${ac_tool_prefix}gcc" |
|
2897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2898 break 2 |
|
2899 fi |
|
2900 done |
|
2901 done |
|
2902 IFS=$as_save_IFS |
|
2903 |
|
2904 fi |
|
2905 fi |
|
2906 CC=$ac_cv_prog_CC |
|
2907 if test -n "$CC"; then |
|
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
2909 $as_echo "$CC" >&6; } |
|
2910 else |
|
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2912 $as_echo "no" >&6; } |
|
2913 fi |
|
2914 |
|
2915 |
|
2916 fi |
|
2917 if test -z "$ac_cv_prog_CC"; then |
|
2918 ac_ct_CC=$CC |
|
2919 # Extract the first word of "gcc", so it can be a program name with args. |
|
2920 set dummy gcc; ac_word=$2 |
|
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2922 $as_echo_n "checking for $ac_word... " >&6; } |
|
2923 if ${ac_cv_prog_ac_ct_CC+:} false; then : |
|
2924 $as_echo_n "(cached) " >&6 |
|
2925 else |
|
2926 if test -n "$ac_ct_CC"; then |
|
2927 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
2928 else |
|
2929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2930 for as_dir in $PATH |
|
2931 do |
|
2932 IFS=$as_save_IFS |
|
2933 test -z "$as_dir" && as_dir=. |
|
2934 for ac_exec_ext in '' $ac_executable_extensions; do |
|
2935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
2936 ac_cv_prog_ac_ct_CC="gcc" |
|
2937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2938 break 2 |
|
2939 fi |
|
2940 done |
|
2941 done |
|
2942 IFS=$as_save_IFS |
|
2943 |
|
2944 fi |
|
2945 fi |
|
2946 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
2947 if test -n "$ac_ct_CC"; then |
|
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
2949 $as_echo "$ac_ct_CC" >&6; } |
|
2950 else |
|
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2952 $as_echo "no" >&6; } |
|
2953 fi |
|
2954 |
|
2955 if test "x$ac_ct_CC" = x; then |
|
2956 CC="" |
|
2957 else |
|
2958 case $cross_compiling:$ac_tool_warned in |
|
2959 yes:) |
|
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
2961 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
2962 ac_tool_warned=yes ;; |
|
2963 esac |
|
2964 CC=$ac_ct_CC |
|
2965 fi |
|
2966 else |
|
2967 CC="$ac_cv_prog_CC" |
|
2968 fi |
|
2969 |
|
2970 if test -z "$CC"; then |
|
2971 if test -n "$ac_tool_prefix"; then |
|
2972 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
|
2973 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
|
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2975 $as_echo_n "checking for $ac_word... " >&6; } |
|
2976 if ${ac_cv_prog_CC+:} false; then : |
|
2977 $as_echo_n "(cached) " >&6 |
|
2978 else |
|
2979 if test -n "$CC"; then |
|
2980 ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2981 else |
|
2982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2983 for as_dir in $PATH |
|
2984 do |
|
2985 IFS=$as_save_IFS |
|
2986 test -z "$as_dir" && as_dir=. |
|
2987 for ac_exec_ext in '' $ac_executable_extensions; do |
|
2988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
2989 ac_cv_prog_CC="${ac_tool_prefix}cc" |
|
2990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2991 break 2 |
|
2992 fi |
|
2993 done |
|
2994 done |
|
2995 IFS=$as_save_IFS |
|
2996 |
|
2997 fi |
|
2998 fi |
|
2999 CC=$ac_cv_prog_CC |
|
3000 if test -n "$CC"; then |
|
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
3002 $as_echo "$CC" >&6; } |
|
3003 else |
|
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3005 $as_echo "no" >&6; } |
|
3006 fi |
|
3007 |
|
3008 |
|
3009 fi |
|
3010 fi |
|
3011 if test -z "$CC"; then |
|
3012 # Extract the first word of "cc", so it can be a program name with args. |
|
3013 set dummy cc; ac_word=$2 |
|
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3015 $as_echo_n "checking for $ac_word... " >&6; } |
|
3016 if ${ac_cv_prog_CC+:} false; then : |
|
3017 $as_echo_n "(cached) " >&6 |
|
3018 else |
|
3019 if test -n "$CC"; then |
|
3020 ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3021 else |
|
3022 ac_prog_rejected=no |
|
3023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3024 for as_dir in $PATH |
|
3025 do |
|
3026 IFS=$as_save_IFS |
|
3027 test -z "$as_dir" && as_dir=. |
|
3028 for ac_exec_ext in '' $ac_executable_extensions; do |
|
3029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
3030 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
|
3031 ac_prog_rejected=yes |
|
3032 continue |
|
3033 fi |
|
3034 ac_cv_prog_CC="cc" |
|
3035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3036 break 2 |
|
3037 fi |
|
3038 done |
|
3039 done |
|
3040 IFS=$as_save_IFS |
|
3041 |
|
3042 if test $ac_prog_rejected = yes; then |
|
3043 # We found a bogon in the path, so make sure we never use it. |
|
3044 set dummy $ac_cv_prog_CC |
|
3045 shift |
|
3046 if test $# != 0; then |
|
3047 # We chose a different compiler from the bogus one. |
|
3048 # However, it has the same basename, so the bogon will be chosen |
|
3049 # first if we set CC to just the basename; use the full file name. |
|
3050 shift |
|
3051 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
3052 fi |
|
3053 fi |
|
3054 fi |
|
3055 fi |
|
3056 CC=$ac_cv_prog_CC |
|
3057 if test -n "$CC"; then |
|
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
3059 $as_echo "$CC" >&6; } |
|
3060 else |
|
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3062 $as_echo "no" >&6; } |
|
3063 fi |
|
3064 |
|
3065 |
|
3066 fi |
|
3067 if test -z "$CC"; then |
|
3068 if test -n "$ac_tool_prefix"; then |
|
3069 for ac_prog in cl.exe |
|
3070 do |
|
3071 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
3072 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3074 $as_echo_n "checking for $ac_word... " >&6; } |
|
3075 if ${ac_cv_prog_CC+:} false; then : |
|
3076 $as_echo_n "(cached) " >&6 |
|
3077 else |
|
3078 if test -n "$CC"; then |
|
3079 ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3080 else |
|
3081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3082 for as_dir in $PATH |
|
3083 do |
|
3084 IFS=$as_save_IFS |
|
3085 test -z "$as_dir" && as_dir=. |
|
3086 for ac_exec_ext in '' $ac_executable_extensions; do |
|
3087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
3088 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
|
3089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3090 break 2 |
|
3091 fi |
|
3092 done |
|
3093 done |
|
3094 IFS=$as_save_IFS |
|
3095 |
|
3096 fi |
|
3097 fi |
|
3098 CC=$ac_cv_prog_CC |
|
3099 if test -n "$CC"; then |
|
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
3101 $as_echo "$CC" >&6; } |
|
3102 else |
|
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3104 $as_echo "no" >&6; } |
|
3105 fi |
|
3106 |
|
3107 |
|
3108 test -n "$CC" && break |
|
3109 done |
|
3110 fi |
|
3111 if test -z "$CC"; then |
|
3112 ac_ct_CC=$CC |
|
3113 for ac_prog in cl.exe |
|
3114 do |
|
3115 # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
3116 set dummy $ac_prog; ac_word=$2 |
|
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3118 $as_echo_n "checking for $ac_word... " >&6; } |
|
3119 if ${ac_cv_prog_ac_ct_CC+:} false; then : |
|
3120 $as_echo_n "(cached) " >&6 |
|
3121 else |
|
3122 if test -n "$ac_ct_CC"; then |
|
3123 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
3124 else |
|
3125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3126 for as_dir in $PATH |
|
3127 do |
|
3128 IFS=$as_save_IFS |
|
3129 test -z "$as_dir" && as_dir=. |
|
3130 for ac_exec_ext in '' $ac_executable_extensions; do |
|
3131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
3132 ac_cv_prog_ac_ct_CC="$ac_prog" |
|
3133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3134 break 2 |
|
3135 fi |
|
3136 done |
|
3137 done |
|
3138 IFS=$as_save_IFS |
|
3139 |
|
3140 fi |
|
3141 fi |
|
3142 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
3143 if test -n "$ac_ct_CC"; then |
|
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
3145 $as_echo "$ac_ct_CC" >&6; } |
|
3146 else |
|
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3148 $as_echo "no" >&6; } |
|
3149 fi |
|
3150 |
|
3151 |
|
3152 test -n "$ac_ct_CC" && break |
|
3153 done |
|
3154 |
|
3155 if test "x$ac_ct_CC" = x; then |
|
3156 CC="" |
|
3157 else |
|
3158 case $cross_compiling:$ac_tool_warned in |
|
3159 yes:) |
|
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
3161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
3162 ac_tool_warned=yes ;; |
|
3163 esac |
|
3164 CC=$ac_ct_CC |
|
3165 fi |
|
3166 fi |
|
3167 |
|
3168 fi |
|
3169 |
|
3170 |
|
3171 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3173 as_fn_error $? "no acceptable C compiler found in \$PATH |
|
3174 See \`config.log' for more details" "$LINENO" 5; } |
|
3175 |
|
3176 # Provide some information about the compiler. |
|
3177 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
|
3178 set X $ac_compile |
|
3179 ac_compiler=$2 |
|
3180 for ac_option in --version -v -V -qversion; do |
|
3181 { { ac_try="$ac_compiler $ac_option >&5" |
|
3182 case "(($ac_try" in |
|
3183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3184 *) ac_try_echo=$ac_try;; |
|
3185 esac |
|
3186 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3187 $as_echo "$ac_try_echo"; } >&5 |
|
3188 (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
|
3189 ac_status=$? |
|
3190 if test -s conftest.err; then |
|
3191 sed '10a\ |
|
3192 ... rest of stderr output deleted ... |
|
3193 10q' conftest.err >conftest.er1 |
|
3194 cat conftest.er1 >&5 |
|
3195 fi |
|
3196 rm -f conftest.er1 conftest.err |
|
3197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3198 test $ac_status = 0; } |
|
3199 done |
|
3200 |
|
3201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3202 /* end confdefs.h. */ |
|
3203 |
|
3204 int |
|
3205 main () |
|
3206 { |
|
3207 |
|
3208 ; |
|
3209 return 0; |
|
3210 } |
|
3211 _ACEOF |
|
3212 ac_clean_files_save=$ac_clean_files |
|
3213 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
|
3214 # Try to create an executable without -o first, disregard a.out. |
|
3215 # It will help us diagnose broken compilers, and finding out an intuition |
|
3216 # of exeext. |
|
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
|
3218 $as_echo_n "checking whether the C compiler works... " >&6; } |
|
3219 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
|
3220 |
|
3221 # The possible output files: |
|
3222 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
|
3223 |
|
3224 ac_rmfiles= |
|
3225 for ac_file in $ac_files |
|
3226 do |
|
3227 case $ac_file in |
|
3228 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
|
3229 * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
|
3230 esac |
|
3231 done |
|
3232 rm -f $ac_rmfiles |
|
3233 |
|
3234 if { { ac_try="$ac_link_default" |
|
3235 case "(($ac_try" in |
|
3236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3237 *) ac_try_echo=$ac_try;; |
|
3238 esac |
|
3239 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3240 $as_echo "$ac_try_echo"; } >&5 |
|
3241 (eval "$ac_link_default") 2>&5 |
|
3242 ac_status=$? |
|
3243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3244 test $ac_status = 0; }; then : |
|
3245 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
|
3246 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
|
3247 # in a Makefile. We should not override ac_cv_exeext if it was cached, |
|
3248 # so that the user can short-circuit this test for compilers unknown to |
|
3249 # Autoconf. |
|
3250 for ac_file in $ac_files '' |
|
3251 do |
|
3252 test -f "$ac_file" || continue |
|
3253 case $ac_file in |
|
3254 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
|
3255 ;; |
|
3256 [ab].out ) |
|
3257 # We found the default executable, but exeext='' is most |
|
3258 # certainly right. |
|
3259 break;; |
|
3260 *.* ) |
|
3261 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
|
3262 then :; else |
|
3263 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
3264 fi |
|
3265 # We set ac_cv_exeext here because the later test for it is not |
|
3266 # safe: cross compilers may not add the suffix if given an `-o' |
|
3267 # argument, so we may need to know it at that point already. |
|
3268 # Even if this section looks crufty: it has the advantage of |
|
3269 # actually working. |
|
3270 break;; |
|
3271 * ) |
|
3272 break;; |
|
3273 esac |
|
3274 done |
|
3275 test "$ac_cv_exeext" = no && ac_cv_exeext= |
|
3276 |
|
3277 else |
|
3278 ac_file='' |
|
3279 fi |
|
3280 if test -z "$ac_file"; then : |
|
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3282 $as_echo "no" >&6; } |
|
3283 $as_echo "$as_me: failed program was:" >&5 |
|
3284 sed 's/^/| /' conftest.$ac_ext >&5 |
|
3285 |
|
3286 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3287 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3288 as_fn_error 77 "C compiler cannot create executables |
|
3289 See \`config.log' for more details" "$LINENO" 5; } |
|
3290 else |
|
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
3292 $as_echo "yes" >&6; } |
|
3293 fi |
|
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
|
3295 $as_echo_n "checking for C compiler default output file name... " >&6; } |
|
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
|
3297 $as_echo "$ac_file" >&6; } |
|
3298 ac_exeext=$ac_cv_exeext |
|
3299 |
|
3300 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
|
3301 ac_clean_files=$ac_clean_files_save |
|
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
|
3303 $as_echo_n "checking for suffix of executables... " >&6; } |
|
3304 if { { ac_try="$ac_link" |
|
3305 case "(($ac_try" in |
|
3306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3307 *) ac_try_echo=$ac_try;; |
|
3308 esac |
|
3309 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3310 $as_echo "$ac_try_echo"; } >&5 |
|
3311 (eval "$ac_link") 2>&5 |
|
3312 ac_status=$? |
|
3313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3314 test $ac_status = 0; }; then : |
|
3315 # If both `conftest.exe' and `conftest' are `present' (well, observable) |
|
3316 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
|
3317 # work properly (i.e., refer to `conftest.exe'), while it won't with |
|
3318 # `rm'. |
|
3319 for ac_file in conftest.exe conftest conftest.*; do |
|
3320 test -f "$ac_file" || continue |
|
3321 case $ac_file in |
|
3322 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
|
3323 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
3324 break;; |
|
3325 * ) break;; |
|
3326 esac |
|
3327 done |
|
3328 else |
|
3329 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3331 as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
|
3332 See \`config.log' for more details" "$LINENO" 5; } |
|
3333 fi |
|
3334 rm -f conftest conftest$ac_cv_exeext |
|
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
|
3336 $as_echo "$ac_cv_exeext" >&6; } |
|
3337 |
|
3338 rm -f conftest.$ac_ext |
|
3339 EXEEXT=$ac_cv_exeext |
|
3340 ac_exeext=$EXEEXT |
|
3341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3342 /* end confdefs.h. */ |
|
3343 #include <stdio.h> |
|
3344 int |
|
3345 main () |
|
3346 { |
|
3347 FILE *f = fopen ("conftest.out", "w"); |
|
3348 return ferror (f) || fclose (f) != 0; |
|
3349 |
|
3350 ; |
|
3351 return 0; |
|
3352 } |
|
3353 _ACEOF |
|
3354 ac_clean_files="$ac_clean_files conftest.out" |
|
3355 # Check that the compiler produces executables we can run. If not, either |
|
3356 # the compiler is broken, or we cross compile. |
|
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
|
3358 $as_echo_n "checking whether we are cross compiling... " >&6; } |
|
3359 if test "$cross_compiling" != yes; then |
|
3360 { { ac_try="$ac_link" |
|
3361 case "(($ac_try" in |
|
3362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3363 *) ac_try_echo=$ac_try;; |
|
3364 esac |
|
3365 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3366 $as_echo "$ac_try_echo"; } >&5 |
|
3367 (eval "$ac_link") 2>&5 |
|
3368 ac_status=$? |
|
3369 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3370 test $ac_status = 0; } |
|
3371 if { ac_try='./conftest$ac_cv_exeext' |
|
3372 { { case "(($ac_try" in |
|
3373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3374 *) ac_try_echo=$ac_try;; |
|
3375 esac |
|
3376 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3377 $as_echo "$ac_try_echo"; } >&5 |
|
3378 (eval "$ac_try") 2>&5 |
|
3379 ac_status=$? |
|
3380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3381 test $ac_status = 0; }; }; then |
|
3382 cross_compiling=no |
|
3383 else |
|
3384 if test "$cross_compiling" = maybe; then |
|
3385 cross_compiling=yes |
|
3386 else |
|
3387 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3388 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3389 as_fn_error $? "cannot run C compiled programs. |
|
3390 If you meant to cross compile, use \`--host'. |
|
3391 See \`config.log' for more details" "$LINENO" 5; } |
|
3392 fi |
|
3393 fi |
|
3394 fi |
|
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
|
3396 $as_echo "$cross_compiling" >&6; } |
|
3397 |
|
3398 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
|
3399 ac_clean_files=$ac_clean_files_save |
|
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
|
3401 $as_echo_n "checking for suffix of object files... " >&6; } |
|
3402 if ${ac_cv_objext+:} false; then : |
|
3403 $as_echo_n "(cached) " >&6 |
|
3404 else |
|
3405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3406 /* end confdefs.h. */ |
|
3407 |
|
3408 int |
|
3409 main () |
|
3410 { |
|
3411 |
|
3412 ; |
|
3413 return 0; |
|
3414 } |
|
3415 _ACEOF |
|
3416 rm -f conftest.o conftest.obj |
|
3417 if { { ac_try="$ac_compile" |
|
3418 case "(($ac_try" in |
|
3419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3420 *) ac_try_echo=$ac_try;; |
|
3421 esac |
|
3422 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3423 $as_echo "$ac_try_echo"; } >&5 |
|
3424 (eval "$ac_compile") 2>&5 |
|
3425 ac_status=$? |
|
3426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3427 test $ac_status = 0; }; then : |
|
3428 for ac_file in conftest.o conftest.obj conftest.*; do |
|
3429 test -f "$ac_file" || continue; |
|
3430 case $ac_file in |
|
3431 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
|
3432 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
|
3433 break;; |
|
3434 esac |
|
3435 done |
|
3436 else |
|
3437 $as_echo "$as_me: failed program was:" >&5 |
|
3438 sed 's/^/| /' conftest.$ac_ext >&5 |
|
3439 |
|
3440 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3442 as_fn_error $? "cannot compute suffix of object files: cannot compile |
|
3443 See \`config.log' for more details" "$LINENO" 5; } |
|
3444 fi |
|
3445 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
|
3446 fi |
|
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
|
3448 $as_echo "$ac_cv_objext" >&6; } |
|
3449 OBJEXT=$ac_cv_objext |
|
3450 ac_objext=$OBJEXT |
|
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
|
3452 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
|
3453 if ${ac_cv_c_compiler_gnu+:} false; then : |
|
3454 $as_echo_n "(cached) " >&6 |
|
3455 else |
|
3456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3457 /* end confdefs.h. */ |
|
3458 |
|
3459 int |
|
3460 main () |
|
3461 { |
|
3462 #ifndef __GNUC__ |
|
3463 choke me |
|
3464 #endif |
|
3465 |
|
3466 ; |
|
3467 return 0; |
|
3468 } |
|
3469 _ACEOF |
|
3470 if ac_fn_c_try_compile "$LINENO"; then : |
|
3471 ac_compiler_gnu=yes |
|
3472 else |
|
3473 ac_compiler_gnu=no |
|
3474 fi |
|
3475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3476 ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|
3477 |
|
3478 fi |
|
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
|
3480 $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
|
3481 if test $ac_compiler_gnu = yes; then |
|
3482 GCC=yes |
|
3483 else |
|
3484 GCC= |
|
3485 fi |
|
3486 ac_test_CFLAGS=${CFLAGS+set} |
|
3487 ac_save_CFLAGS=$CFLAGS |
|
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
|
3489 $as_echo_n "checking whether $CC accepts -g... " >&6; } |
|
3490 if ${ac_cv_prog_cc_g+:} false; then : |
|
3491 $as_echo_n "(cached) " >&6 |
|
3492 else |
|
3493 ac_save_c_werror_flag=$ac_c_werror_flag |
|
3494 ac_c_werror_flag=yes |
|
3495 ac_cv_prog_cc_g=no |
|
3496 CFLAGS="-g" |
|
3497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3498 /* end confdefs.h. */ |
|
3499 |
|
3500 int |
|
3501 main () |
|
3502 { |
|
3503 |
|
3504 ; |
|
3505 return 0; |
|
3506 } |
|
3507 _ACEOF |
|
3508 if ac_fn_c_try_compile "$LINENO"; then : |
|
3509 ac_cv_prog_cc_g=yes |
|
3510 else |
|
3511 CFLAGS="" |
|
3512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3513 /* end confdefs.h. */ |
|
3514 |
|
3515 int |
|
3516 main () |
|
3517 { |
|
3518 |
|
3519 ; |
|
3520 return 0; |
|
3521 } |
|
3522 _ACEOF |
|
3523 if ac_fn_c_try_compile "$LINENO"; then : |
|
3524 |
|
3525 else |
|
3526 ac_c_werror_flag=$ac_save_c_werror_flag |
|
3527 CFLAGS="-g" |
|
3528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3529 /* end confdefs.h. */ |
|
3530 |
|
3531 int |
|
3532 main () |
|
3533 { |
|
3534 |
|
3535 ; |
|
3536 return 0; |
|
3537 } |
|
3538 _ACEOF |
|
3539 if ac_fn_c_try_compile "$LINENO"; then : |
|
3540 ac_cv_prog_cc_g=yes |
|
3541 fi |
|
3542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3543 fi |
|
3544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3545 fi |
|
3546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3547 ac_c_werror_flag=$ac_save_c_werror_flag |
|
3548 fi |
|
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
|
3550 $as_echo "$ac_cv_prog_cc_g" >&6; } |
|
3551 if test "$ac_test_CFLAGS" = set; then |
|
3552 CFLAGS=$ac_save_CFLAGS |
|
3553 elif test $ac_cv_prog_cc_g = yes; then |
|
3554 if test "$GCC" = yes; then |
|
3555 CFLAGS="-g -O2" |
|
3556 else |
|
3557 CFLAGS="-g" |
|
3558 fi |
|
3559 else |
|
3560 if test "$GCC" = yes; then |
|
3561 CFLAGS="-O2" |
|
3562 else |
|
3563 CFLAGS= |
|
3564 fi |
|
3565 fi |
|
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
|
3567 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
|
3568 if ${ac_cv_prog_cc_c89+:} false; then : |
|
3569 $as_echo_n "(cached) " >&6 |
|
3570 else |
|
3571 ac_cv_prog_cc_c89=no |
|
3572 ac_save_CC=$CC |
|
3573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3574 /* end confdefs.h. */ |
|
3575 #include <stdarg.h> |
|
3576 #include <stdio.h> |
|
3577 #include <sys/types.h> |
|
3578 #include <sys/stat.h> |
|
3579 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|
3580 struct buf { int x; }; |
|
3581 FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
3582 static char *e (p, i) |
|
3583 char **p; |
|
3584 int i; |
|
3585 { |
|
3586 return p[i]; |
|
3587 } |
|
3588 static char *f (char * (*g) (char **, int), char **p, ...) |
|
3589 { |
|
3590 char *s; |
|
3591 va_list v; |
|
3592 va_start (v,p); |
|
3593 s = g (p, va_arg (v,int)); |
|
3594 va_end (v); |
|
3595 return s; |
|
3596 } |
|
3597 |
|
3598 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
3599 function prototypes and stuff, but not '\xHH' hex character constants. |
|
3600 These don't provoke an error unfortunately, instead are silently treated |
|
3601 as 'x'. The following induces an error, until -std is added to get |
|
3602 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
|
3603 array size at least. It's necessary to write '\x00'==0 to get something |
|
3604 that's true only with -std. */ |
|
3605 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
3606 |
|
3607 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
|
3608 inside strings and character constants. */ |
|
3609 #define FOO(x) 'x' |
|
3610 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
|
3611 |
|
3612 int test (int i, double x); |
|
3613 struct s1 {int (*f) (int a);}; |
|
3614 struct s2 {int (*f) (double a);}; |
|
3615 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|
3616 int argc; |
|
3617 char **argv; |
|
3618 int |
|
3619 main () |
|
3620 { |
|
3621 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|
3622 ; |
|
3623 return 0; |
|
3624 } |
|
3625 _ACEOF |
|
3626 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
|
3627 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
3628 do |
|
3629 CC="$ac_save_CC $ac_arg" |
|
3630 if ac_fn_c_try_compile "$LINENO"; then : |
|
3631 ac_cv_prog_cc_c89=$ac_arg |
|
3632 fi |
|
3633 rm -f core conftest.err conftest.$ac_objext |
|
3634 test "x$ac_cv_prog_cc_c89" != "xno" && break |
|
3635 done |
|
3636 rm -f conftest.$ac_ext |
|
3637 CC=$ac_save_CC |
|
3638 |
|
3639 fi |
|
3640 # AC_CACHE_VAL |
|
3641 case "x$ac_cv_prog_cc_c89" in |
|
3642 x) |
|
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
|
3644 $as_echo "none needed" >&6; } ;; |
|
3645 xno) |
|
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
|
3647 $as_echo "unsupported" >&6; } ;; |
|
3648 *) |
|
3649 CC="$CC $ac_cv_prog_cc_c89" |
|
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
|
3651 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
|
3652 esac |
|
3653 if test "x$ac_cv_prog_cc_c89" != xno; then : |
|
3654 |
|
3655 fi |
|
3656 |
|
3657 ac_ext=c |
|
3658 ac_cpp='$CPP $CPPFLAGS' |
|
3659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3661 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
3662 |
|
3663 depcc="$CC" am_compiler_list= |
|
3664 |
|
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
|
3666 $as_echo_n "checking dependency style of $depcc... " >&6; } |
|
3667 if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
|
3668 $as_echo_n "(cached) " >&6 |
|
3669 else |
|
3670 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
3671 # We make a subdir and do the tests there. Otherwise we can end up |
|
3672 # making bogus files that we don't know about and never remove. For |
|
3673 # instance it was reported that on HP-UX the gcc test will end up |
|
3674 # making a dummy file named `D' -- because `-MD' means `put the output |
|
3675 # in D'. |
|
3676 rm -rf conftest.dir |
|
3677 mkdir conftest.dir |
|
3678 # Copy depcomp to subdir because otherwise we won't find it if we're |
|
3679 # using a relative directory. |
|
3680 cp "$am_depcomp" conftest.dir |
|
3681 cd conftest.dir |
|
3682 # We will build objects and dependencies in a subdirectory because |
|
3683 # it helps to detect inapplicable dependency modes. For instance |
|
3684 # both Tru64's cc and ICC support -MD to output dependencies as a |
|
3685 # side effect of compilation, but ICC will put the dependencies in |
|
3686 # the current directory while Tru64 will put them in the object |
|
3687 # directory. |
|
3688 mkdir sub |
|
3689 |
|
3690 am_cv_CC_dependencies_compiler_type=none |
|
3691 if test "$am_compiler_list" = ""; then |
|
3692 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
3693 fi |
|
3694 am__universal=false |
|
3695 case " $depcc " in #( |
|
3696 *\ -arch\ *\ -arch\ *) am__universal=true ;; |
|
3697 esac |
|
3698 |
|
3699 for depmode in $am_compiler_list; do |
|
3700 # Setup a source with many dependencies, because some compilers |
|
3701 # like to wrap large dependency lists on column 80 (with \), and |
|
3702 # we should not choose a depcomp mode which is confused by this. |
|
3703 # |
|
3704 # We need to recreate these files for each test, as the compiler may |
|
3705 # overwrite some of them when testing with obscure command lines. |
|
3706 # This happens at least with the AIX C compiler. |
|
3707 : > sub/conftest.c |
|
3708 for i in 1 2 3 4 5 6; do |
|
3709 echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
3710 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
|
3711 # Solaris 8's {/usr,}/bin/sh. |
|
3712 touch sub/conftst$i.h |
|
3713 done |
|
3714 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
3715 |
|
3716 # We check with `-c' and `-o' for the sake of the "dashmstdout" |
|
3717 # mode. It turns out that the SunPro C++ compiler does not properly |
|
3718 # handle `-M -o', and we need to detect this. Also, some Intel |
|
3719 # versions had trouble with output in subdirs |
|
3720 am__obj=sub/conftest.${OBJEXT-o} |
|
3721 am__minus_obj="-o $am__obj" |
|
3722 case $depmode in |
|
3723 gcc) |
|
3724 # This depmode causes a compiler race in universal mode. |
|
3725 test "$am__universal" = false || continue |
|
3726 ;; |
|
3727 nosideeffect) |
|
3728 # after this tag, mechanisms are not by side-effect, so they'll |
|
3729 # only be used when explicitly requested |
|
3730 if test "x$enable_dependency_tracking" = xyes; then |
|
3731 continue |
|
3732 else |
|
3733 break |
|
3734 fi |
|
3735 ;; |
|
3736 msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
|
3737 # This compiler won't grok `-c -o', but also, the minuso test has |
|
3738 # not run yet. These depmodes are late enough in the game, and |
|
3739 # so weak that their functioning should not be impacted. |
|
3740 am__obj=conftest.${OBJEXT-o} |
|
3741 am__minus_obj= |
|
3742 ;; |
|
3743 none) break ;; |
|
3744 esac |
|
3745 if depmode=$depmode \ |
|
3746 source=sub/conftest.c object=$am__obj \ |
|
3747 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
|
3748 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
|
3749 >/dev/null 2>conftest.err && |
|
3750 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
|
3751 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
3752 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
|
3753 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
3754 # icc doesn't choke on unknown options, it will just issue warnings |
|
3755 # or remarks (even with -Werror). So we grep stderr for any message |
|
3756 # that says an option was ignored or not supported. |
|
3757 # When given -MP, icc 7.0 and 7.1 complain thusly: |
|
3758 # icc: Command line warning: ignoring option '-M'; no argument required |
|
3759 # The diagnosis changed in icc 8.0: |
|
3760 # icc: Command line remark: option '-MP' not supported |
|
3761 if (grep 'ignoring option' conftest.err || |
|
3762 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
3763 am_cv_CC_dependencies_compiler_type=$depmode |
|
3764 break |
|
3765 fi |
|
3766 fi |
|
3767 done |
|
3768 |
|
3769 cd .. |
|
3770 rm -rf conftest.dir |
|
3771 else |
|
3772 am_cv_CC_dependencies_compiler_type=none |
|
3773 fi |
|
3774 |
|
3775 fi |
|
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
|
3777 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
|
3778 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
|
3779 |
|
3780 if |
|
3781 test "x$enable_dependency_tracking" != xno \ |
|
3782 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
|
3783 am__fastdepCC_TRUE= |
|
3784 am__fastdepCC_FALSE='#' |
|
3785 else |
|
3786 am__fastdepCC_TRUE='#' |
|
3787 am__fastdepCC_FALSE= |
|
3788 fi |
|
3789 |
|
3790 |
|
3791 # By default we simply use the C compiler to build assembly code. |
|
3792 |
|
3793 test "${CCAS+set}" = set || CCAS=$CC |
|
3794 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS |
|
3795 |
|
3796 |
|
3797 |
|
3798 depcc="$CCAS" am_compiler_list= |
|
3799 |
|
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
|
3801 $as_echo_n "checking dependency style of $depcc... " >&6; } |
|
3802 if ${am_cv_CCAS_dependencies_compiler_type+:} false; then : |
|
3803 $as_echo_n "(cached) " >&6 |
|
3804 else |
|
3805 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
3806 # We make a subdir and do the tests there. Otherwise we can end up |
|
3807 # making bogus files that we don't know about and never remove. For |
|
3808 # instance it was reported that on HP-UX the gcc test will end up |
|
3809 # making a dummy file named `D' -- because `-MD' means `put the output |
|
3810 # in D'. |
|
3811 rm -rf conftest.dir |
|
3812 mkdir conftest.dir |
|
3813 # Copy depcomp to subdir because otherwise we won't find it if we're |
|
3814 # using a relative directory. |
|
3815 cp "$am_depcomp" conftest.dir |
|
3816 cd conftest.dir |
|
3817 # We will build objects and dependencies in a subdirectory because |
|
3818 # it helps to detect inapplicable dependency modes. For instance |
|
3819 # both Tru64's cc and ICC support -MD to output dependencies as a |
|
3820 # side effect of compilation, but ICC will put the dependencies in |
|
3821 # the current directory while Tru64 will put them in the object |
|
3822 # directory. |
|
3823 mkdir sub |
|
3824 |
|
3825 am_cv_CCAS_dependencies_compiler_type=none |
|
3826 if test "$am_compiler_list" = ""; then |
|
3827 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
3828 fi |
|
3829 am__universal=false |
|
3830 |
|
3831 |
|
3832 for depmode in $am_compiler_list; do |
|
3833 # Setup a source with many dependencies, because some compilers |
|
3834 # like to wrap large dependency lists on column 80 (with \), and |
|
3835 # we should not choose a depcomp mode which is confused by this. |
|
3836 # |
|
3837 # We need to recreate these files for each test, as the compiler may |
|
3838 # overwrite some of them when testing with obscure command lines. |
|
3839 # This happens at least with the AIX C compiler. |
|
3840 : > sub/conftest.c |
|
3841 for i in 1 2 3 4 5 6; do |
|
3842 echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
3843 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
|
3844 # Solaris 8's {/usr,}/bin/sh. |
|
3845 touch sub/conftst$i.h |
|
3846 done |
|
3847 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
3848 |
|
3849 # We check with `-c' and `-o' for the sake of the "dashmstdout" |
|
3850 # mode. It turns out that the SunPro C++ compiler does not properly |
|
3851 # handle `-M -o', and we need to detect this. Also, some Intel |
|
3852 # versions had trouble with output in subdirs |
|
3853 am__obj=sub/conftest.${OBJEXT-o} |
|
3854 am__minus_obj="-o $am__obj" |
|
3855 case $depmode in |
|
3856 gcc) |
|
3857 # This depmode causes a compiler race in universal mode. |
|
3858 test "$am__universal" = false || continue |
|
3859 ;; |
|
3860 nosideeffect) |
|
3861 # after this tag, mechanisms are not by side-effect, so they'll |
|
3862 # only be used when explicitly requested |
|
3863 if test "x$enable_dependency_tracking" = xyes; then |
|
3864 continue |
|
3865 else |
|
3866 break |
|
3867 fi |
|
3868 ;; |
|
3869 msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
|
3870 # This compiler won't grok `-c -o', but also, the minuso test has |
|
3871 # not run yet. These depmodes are late enough in the game, and |
|
3872 # so weak that their functioning should not be impacted. |
|
3873 am__obj=conftest.${OBJEXT-o} |
|
3874 am__minus_obj= |
|
3875 ;; |
|
3876 none) break ;; |
|
3877 esac |
|
3878 if depmode=$depmode \ |
|
3879 source=sub/conftest.c object=$am__obj \ |
|
3880 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
|
3881 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
|
3882 >/dev/null 2>conftest.err && |
|
3883 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
|
3884 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
3885 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
|
3886 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
3887 # icc doesn't choke on unknown options, it will just issue warnings |
|
3888 # or remarks (even with -Werror). So we grep stderr for any message |
|
3889 # that says an option was ignored or not supported. |
|
3890 # When given -MP, icc 7.0 and 7.1 complain thusly: |
|
3891 # icc: Command line warning: ignoring option '-M'; no argument required |
|
3892 # The diagnosis changed in icc 8.0: |
|
3893 # icc: Command line remark: option '-MP' not supported |
|
3894 if (grep 'ignoring option' conftest.err || |
|
3895 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
3896 am_cv_CCAS_dependencies_compiler_type=$depmode |
|
3897 break |
|
3898 fi |
|
3899 fi |
|
3900 done |
|
3901 |
|
3902 cd .. |
|
3903 rm -rf conftest.dir |
|
3904 else |
|
3905 am_cv_CCAS_dependencies_compiler_type=none |
|
3906 fi |
|
3907 |
|
3908 fi |
|
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5 |
|
3910 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; } |
|
3911 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type |
|
3912 |
|
3913 if |
|
3914 test "x$enable_dependency_tracking" != xno \ |
|
3915 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then |
|
3916 am__fastdepCCAS_TRUE= |
|
3917 am__fastdepCCAS_FALSE='#' |
|
3918 else |
|
3919 am__fastdepCCAS_TRUE='#' |
|
3920 am__fastdepCCAS_FALSE= |
|
3921 fi |
|
3922 |
|
3923 |
|
3924 ac_ext=c |
|
3925 ac_cpp='$CPP $CPPFLAGS' |
|
3926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3928 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
3929 if test -n "$ac_tool_prefix"; then |
|
3930 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
|
3931 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3933 $as_echo_n "checking for $ac_word... " >&6; } |
|
3934 if ${ac_cv_prog_CC+:} false; then : |
|
3935 $as_echo_n "(cached) " >&6 |
|
3936 else |
|
3937 if test -n "$CC"; then |
|
3938 ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3939 else |
|
3940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3941 for as_dir in $PATH |
|
3942 do |
|
3943 IFS=$as_save_IFS |
|
3944 test -z "$as_dir" && as_dir=. |
|
3945 for ac_exec_ext in '' $ac_executable_extensions; do |
|
3946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
3947 ac_cv_prog_CC="${ac_tool_prefix}gcc" |
|
3948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3949 break 2 |
|
3950 fi |
|
3951 done |
|
3952 done |
|
3953 IFS=$as_save_IFS |
|
3954 |
|
3955 fi |
|
3956 fi |
|
3957 CC=$ac_cv_prog_CC |
|
3958 if test -n "$CC"; then |
|
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
3960 $as_echo "$CC" >&6; } |
|
3961 else |
|
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3963 $as_echo "no" >&6; } |
|
3964 fi |
|
3965 |
|
3966 |
|
3967 fi |
|
3968 if test -z "$ac_cv_prog_CC"; then |
|
3969 ac_ct_CC=$CC |
|
3970 # Extract the first word of "gcc", so it can be a program name with args. |
|
3971 set dummy gcc; ac_word=$2 |
|
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3973 $as_echo_n "checking for $ac_word... " >&6; } |
|
3974 if ${ac_cv_prog_ac_ct_CC+:} false; then : |
|
3975 $as_echo_n "(cached) " >&6 |
|
3976 else |
|
3977 if test -n "$ac_ct_CC"; then |
|
3978 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
3979 else |
|
3980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3981 for as_dir in $PATH |
|
3982 do |
|
3983 IFS=$as_save_IFS |
|
3984 test -z "$as_dir" && as_dir=. |
|
3985 for ac_exec_ext in '' $ac_executable_extensions; do |
|
3986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
3987 ac_cv_prog_ac_ct_CC="gcc" |
|
3988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3989 break 2 |
|
3990 fi |
|
3991 done |
|
3992 done |
|
3993 IFS=$as_save_IFS |
|
3994 |
|
3995 fi |
|
3996 fi |
|
3997 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
3998 if test -n "$ac_ct_CC"; then |
|
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
4000 $as_echo "$ac_ct_CC" >&6; } |
|
4001 else |
|
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
4003 $as_echo "no" >&6; } |
|
4004 fi |
|
4005 |
|
4006 if test "x$ac_ct_CC" = x; then |
|
4007 CC="" |
|
4008 else |
|
4009 case $cross_compiling:$ac_tool_warned in |
|
4010 yes:) |
|
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
4012 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
4013 ac_tool_warned=yes ;; |
|
4014 esac |
|
4015 CC=$ac_ct_CC |
|
4016 fi |
|
4017 else |
|
4018 CC="$ac_cv_prog_CC" |
|
4019 fi |
|
4020 |
|
4021 if test -z "$CC"; then |
|
4022 if test -n "$ac_tool_prefix"; then |
|
4023 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
|
4024 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
|
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
4026 $as_echo_n "checking for $ac_word... " >&6; } |
|
4027 if ${ac_cv_prog_CC+:} false; then : |
|
4028 $as_echo_n "(cached) " >&6 |
|
4029 else |
|
4030 if test -n "$CC"; then |
|
4031 ac_cv_prog_CC="$CC" # Let the user override the test. |
|
4032 else |
|
4033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4034 for as_dir in $PATH |
|
4035 do |
|
4036 IFS=$as_save_IFS |
|
4037 test -z "$as_dir" && as_dir=. |
|
4038 for ac_exec_ext in '' $ac_executable_extensions; do |
|
4039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
4040 ac_cv_prog_CC="${ac_tool_prefix}cc" |
|
4041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
4042 break 2 |
|
4043 fi |
|
4044 done |
|
4045 done |
|
4046 IFS=$as_save_IFS |
|
4047 |
|
4048 fi |
|
4049 fi |
|
4050 CC=$ac_cv_prog_CC |
|
4051 if test -n "$CC"; then |
|
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
4053 $as_echo "$CC" >&6; } |
|
4054 else |
|
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
4056 $as_echo "no" >&6; } |
|
4057 fi |
|
4058 |
|
4059 |
|
4060 fi |
|
4061 fi |
|
4062 if test -z "$CC"; then |
|
4063 # Extract the first word of "cc", so it can be a program name with args. |
|
4064 set dummy cc; ac_word=$2 |
|
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
4066 $as_echo_n "checking for $ac_word... " >&6; } |
|
4067 if ${ac_cv_prog_CC+:} false; then : |
|
4068 $as_echo_n "(cached) " >&6 |
|
4069 else |
|
4070 if test -n "$CC"; then |
|
4071 ac_cv_prog_CC="$CC" # Let the user override the test. |
|
4072 else |
|
4073 ac_prog_rejected=no |
|
4074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4075 for as_dir in $PATH |
|
4076 do |
|
4077 IFS=$as_save_IFS |
|
4078 test -z "$as_dir" && as_dir=. |
|
4079 for ac_exec_ext in '' $ac_executable_extensions; do |
|
4080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
4081 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
|
4082 ac_prog_rejected=yes |
|
4083 continue |
|
4084 fi |
|
4085 ac_cv_prog_CC="cc" |
|
4086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
4087 break 2 |
|
4088 fi |
|
4089 done |
|
4090 done |
|
4091 IFS=$as_save_IFS |
|
4092 |
|
4093 if test $ac_prog_rejected = yes; then |
|
4094 # We found a bogon in the path, so make sure we never use it. |
|
4095 set dummy $ac_cv_prog_CC |
|
4096 shift |
|
4097 if test $# != 0; then |
|
4098 # We chose a different compiler from the bogus one. |
|
4099 # However, it has the same basename, so the bogon will be chosen |
|
4100 # first if we set CC to just the basename; use the full file name. |
|
4101 shift |
|
4102 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
4103 fi |
|
4104 fi |
|
4105 fi |
|
4106 fi |
|
4107 CC=$ac_cv_prog_CC |
|
4108 if test -n "$CC"; then |
|
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
4110 $as_echo "$CC" >&6; } |
|
4111 else |
|
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
4113 $as_echo "no" >&6; } |
|
4114 fi |
|
4115 |
|
4116 |
|
4117 fi |
|
4118 if test -z "$CC"; then |
|
4119 if test -n "$ac_tool_prefix"; then |
|
4120 for ac_prog in cl.exe |
|
4121 do |
|
4122 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
4123 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
4125 $as_echo_n "checking for $ac_word... " >&6; } |
|
4126 if ${ac_cv_prog_CC+:} false; then : |
|
4127 $as_echo_n "(cached) " >&6 |
|
4128 else |
|
4129 if test -n "$CC"; then |
|
4130 ac_cv_prog_CC="$CC" # Let the user override the test. |
|
4131 else |
|
4132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4133 for as_dir in $PATH |
|
4134 do |
|
4135 IFS=$as_save_IFS |
|
4136 test -z "$as_dir" && as_dir=. |
|
4137 for ac_exec_ext in '' $ac_executable_extensions; do |
|
4138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
4139 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
|
4140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
4141 break 2 |
|
4142 fi |
|
4143 done |
|
4144 done |
|
4145 IFS=$as_save_IFS |
|
4146 |
|
4147 fi |
|
4148 fi |
|
4149 CC=$ac_cv_prog_CC |
|
4150 if test -n "$CC"; then |
|
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
4152 $as_echo "$CC" >&6; } |
|
4153 else |
|
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
4155 $as_echo "no" >&6; } |
|
4156 fi |
|
4157 |
|
4158 |
|
4159 test -n "$CC" && break |
|
4160 done |
|
4161 fi |
|
4162 if test -z "$CC"; then |
|
4163 ac_ct_CC=$CC |
|
4164 for ac_prog in cl.exe |
|
4165 do |
|
4166 # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
4167 set dummy $ac_prog; ac_word=$2 |
|
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
4169 $as_echo_n "checking for $ac_word... " >&6; } |
|
4170 if ${ac_cv_prog_ac_ct_CC+:} false; then : |
|
4171 $as_echo_n "(cached) " >&6 |
|
4172 else |
|
4173 if test -n "$ac_ct_CC"; then |
|
4174 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
4175 else |
|
4176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4177 for as_dir in $PATH |
|
4178 do |
|
4179 IFS=$as_save_IFS |
|
4180 test -z "$as_dir" && as_dir=. |
|
4181 for ac_exec_ext in '' $ac_executable_extensions; do |
|
4182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
4183 ac_cv_prog_ac_ct_CC="$ac_prog" |
|
4184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
4185 break 2 |
|
4186 fi |
|
4187 done |
|
4188 done |
|
4189 IFS=$as_save_IFS |
|
4190 |
|
4191 fi |
|
4192 fi |
|
4193 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
4194 if test -n "$ac_ct_CC"; then |
|
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
4196 $as_echo "$ac_ct_CC" >&6; } |
|
4197 else |
|
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
4199 $as_echo "no" >&6; } |
|
4200 fi |
|
4201 |
|
4202 |
|
4203 test -n "$ac_ct_CC" && break |
|
4204 done |
|
4205 |
|
4206 if test "x$ac_ct_CC" = x; then |
|
4207 CC="" |
|
4208 else |
|
4209 case $cross_compiling:$ac_tool_warned in |
|
4210 yes:) |
|
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
4212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
4213 ac_tool_warned=yes ;; |
|
4214 esac |
|
4215 CC=$ac_ct_CC |
|
4216 fi |
|
4217 fi |
|
4218 |
|
4219 fi |
|
4220 |
|
4221 |
|
4222 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
4223 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
4224 as_fn_error $? "no acceptable C compiler found in \$PATH |
|
4225 See \`config.log' for more details" "$LINENO" 5; } |
|
4226 |
|
4227 # Provide some information about the compiler. |
|
4228 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
|
4229 set X $ac_compile |
|
4230 ac_compiler=$2 |
|
4231 for ac_option in --version -v -V -qversion; do |
|
4232 { { ac_try="$ac_compiler $ac_option >&5" |
|
4233 case "(($ac_try" in |
|
4234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4235 *) ac_try_echo=$ac_try;; |
|
4236 esac |
|
4237 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
4238 $as_echo "$ac_try_echo"; } >&5 |
|
4239 (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
|
4240 ac_status=$? |
|
4241 if test -s conftest.err; then |
|
4242 sed '10a\ |
|
4243 ... rest of stderr output deleted ... |
|
4244 10q' conftest.err >conftest.er1 |
|
4245 cat conftest.er1 >&5 |
|
4246 fi |
|
4247 rm -f conftest.er1 conftest.err |
|
4248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
4249 test $ac_status = 0; } |
|
4250 done |
|
4251 |
|
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
|
4253 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
|
4254 if ${ac_cv_c_compiler_gnu+:} false; then : |
|
4255 $as_echo_n "(cached) " >&6 |
|
4256 else |
|
4257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4258 /* end confdefs.h. */ |
|
4259 |
|
4260 int |
|
4261 main () |
|
4262 { |
|
4263 #ifndef __GNUC__ |
|
4264 choke me |
|
4265 #endif |
|
4266 |
|
4267 ; |
|
4268 return 0; |
|
4269 } |
|
4270 _ACEOF |
|
4271 if ac_fn_c_try_compile "$LINENO"; then : |
|
4272 ac_compiler_gnu=yes |
|
4273 else |
|
4274 ac_compiler_gnu=no |
|
4275 fi |
|
4276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4277 ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|
4278 |
|
4279 fi |
|
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
|
4281 $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
|
4282 if test $ac_compiler_gnu = yes; then |
|
4283 GCC=yes |
|
4284 else |
|
4285 GCC= |
|
4286 fi |
|
4287 ac_test_CFLAGS=${CFLAGS+set} |
|
4288 ac_save_CFLAGS=$CFLAGS |
|
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
|
4290 $as_echo_n "checking whether $CC accepts -g... " >&6; } |
|
4291 if ${ac_cv_prog_cc_g+:} false; then : |
|
4292 $as_echo_n "(cached) " >&6 |
|
4293 else |
|
4294 ac_save_c_werror_flag=$ac_c_werror_flag |
|
4295 ac_c_werror_flag=yes |
|
4296 ac_cv_prog_cc_g=no |
|
4297 CFLAGS="-g" |
|
4298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4299 /* end confdefs.h. */ |
|
4300 |
|
4301 int |
|
4302 main () |
|
4303 { |
|
4304 |
|
4305 ; |
|
4306 return 0; |
|
4307 } |
|
4308 _ACEOF |
|
4309 if ac_fn_c_try_compile "$LINENO"; then : |
|
4310 ac_cv_prog_cc_g=yes |
|
4311 else |
|
4312 CFLAGS="" |
|
4313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4314 /* end confdefs.h. */ |
|
4315 |
|
4316 int |
|
4317 main () |
|
4318 { |
|
4319 |
|
4320 ; |
|
4321 return 0; |
|
4322 } |
|
4323 _ACEOF |
|
4324 if ac_fn_c_try_compile "$LINENO"; then : |
|
4325 |
|
4326 else |
|
4327 ac_c_werror_flag=$ac_save_c_werror_flag |
|
4328 CFLAGS="-g" |
|
4329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4330 /* end confdefs.h. */ |
|
4331 |
|
4332 int |
|
4333 main () |
|
4334 { |
|
4335 |
|
4336 ; |
|
4337 return 0; |
|
4338 } |
|
4339 _ACEOF |
|
4340 if ac_fn_c_try_compile "$LINENO"; then : |
|
4341 ac_cv_prog_cc_g=yes |
|
4342 fi |
|
4343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4344 fi |
|
4345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4346 fi |
|
4347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4348 ac_c_werror_flag=$ac_save_c_werror_flag |
|
4349 fi |
|
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
|
4351 $as_echo "$ac_cv_prog_cc_g" >&6; } |
|
4352 if test "$ac_test_CFLAGS" = set; then |
|
4353 CFLAGS=$ac_save_CFLAGS |
|
4354 elif test $ac_cv_prog_cc_g = yes; then |
|
4355 if test "$GCC" = yes; then |
|
4356 CFLAGS="-g -O2" |
|
4357 else |
|
4358 CFLAGS="-g" |
|
4359 fi |
|
4360 else |
|
4361 if test "$GCC" = yes; then |
|
4362 CFLAGS="-O2" |
|
4363 else |
|
4364 CFLAGS= |
|
4365 fi |
|
4366 fi |
|
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
|
4368 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
|
4369 if ${ac_cv_prog_cc_c89+:} false; then : |
|
4370 $as_echo_n "(cached) " >&6 |
|
4371 else |
|
4372 ac_cv_prog_cc_c89=no |
|
4373 ac_save_CC=$CC |
|
4374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4375 /* end confdefs.h. */ |
|
4376 #include <stdarg.h> |
|
4377 #include <stdio.h> |
|
4378 #include <sys/types.h> |
|
4379 #include <sys/stat.h> |
|
4380 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|
4381 struct buf { int x; }; |
|
4382 FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
4383 static char *e (p, i) |
|
4384 char **p; |
|
4385 int i; |
|
4386 { |
|
4387 return p[i]; |
|
4388 } |
|
4389 static char *f (char * (*g) (char **, int), char **p, ...) |
|
4390 { |
|
4391 char *s; |
|
4392 va_list v; |
|
4393 va_start (v,p); |
|
4394 s = g (p, va_arg (v,int)); |
|
4395 va_end (v); |
|
4396 return s; |
|
4397 } |
|
4398 |
|
4399 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
4400 function prototypes and stuff, but not '\xHH' hex character constants. |
|
4401 These don't provoke an error unfortunately, instead are silently treated |
|
4402 as 'x'. The following induces an error, until -std is added to get |
|
4403 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
|
4404 array size at least. It's necessary to write '\x00'==0 to get something |
|
4405 that's true only with -std. */ |
|
4406 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
4407 |
|
4408 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
|
4409 inside strings and character constants. */ |
|
4410 #define FOO(x) 'x' |
|
4411 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
|
4412 |
|
4413 int test (int i, double x); |
|
4414 struct s1 {int (*f) (int a);}; |
|
4415 struct s2 {int (*f) (double a);}; |
|
4416 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|
4417 int argc; |
|
4418 char **argv; |
|
4419 int |
|
4420 main () |
|
4421 { |
|
4422 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|
4423 ; |
|
4424 return 0; |
|
4425 } |
|
4426 _ACEOF |
|
4427 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
|
4428 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
4429 do |
|
4430 CC="$ac_save_CC $ac_arg" |
|
4431 if ac_fn_c_try_compile "$LINENO"; then : |
|
4432 ac_cv_prog_cc_c89=$ac_arg |
|
4433 fi |
|
4434 rm -f core conftest.err conftest.$ac_objext |
|
4435 test "x$ac_cv_prog_cc_c89" != "xno" && break |
|
4436 done |
|
4437 rm -f conftest.$ac_ext |
|
4438 CC=$ac_save_CC |
|
4439 |
|
4440 fi |
|
4441 # AC_CACHE_VAL |
|
4442 case "x$ac_cv_prog_cc_c89" in |
|
4443 x) |
|
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
|
4445 $as_echo "none needed" >&6; } ;; |
|
4446 xno) |
|
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
|
4448 $as_echo "unsupported" >&6; } ;; |
|
4449 *) |
|
4450 CC="$CC $ac_cv_prog_cc_c89" |
|
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
|
4452 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
|
4453 esac |
|
4454 if test "x$ac_cv_prog_cc_c89" != xno; then : |
|
4455 |
|
4456 fi |
|
4457 |
|
4458 ac_ext=c |
|
4459 ac_cpp='$CPP $CPPFLAGS' |
|
4460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4462 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
4463 |
|
4464 depcc="$CC" am_compiler_list= |
|
4465 |
|
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
|
4467 $as_echo_n "checking dependency style of $depcc... " >&6; } |
|
4468 if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
|
4469 $as_echo_n "(cached) " >&6 |
|
4470 else |
|
4471 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
4472 # We make a subdir and do the tests there. Otherwise we can end up |
|
4473 # making bogus files that we don't know about and never remove. For |
|
4474 # instance it was reported that on HP-UX the gcc test will end up |
|
4475 # making a dummy file named `D' -- because `-MD' means `put the output |
|
4476 # in D'. |
|
4477 rm -rf conftest.dir |
|
4478 mkdir conftest.dir |
|
4479 # Copy depcomp to subdir because otherwise we won't find it if we're |
|
4480 # using a relative directory. |
|
4481 cp "$am_depcomp" conftest.dir |
|
4482 cd conftest.dir |
|
4483 # We will build objects and dependencies in a subdirectory because |
|
4484 # it helps to detect inapplicable dependency modes. For instance |
|
4485 # both Tru64's cc and ICC support -MD to output dependencies as a |
|
4486 # side effect of compilation, but ICC will put the dependencies in |
|
4487 # the current directory while Tru64 will put them in the object |
|
4488 # directory. |
|
4489 mkdir sub |
|
4490 |
|
4491 am_cv_CC_dependencies_compiler_type=none |
|
4492 if test "$am_compiler_list" = ""; then |
|
4493 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
4494 fi |
|
4495 am__universal=false |
|
4496 case " $depcc " in #( |
|
4497 *\ -arch\ *\ -arch\ *) am__universal=true ;; |
|
4498 esac |
|
4499 |
|
4500 for depmode in $am_compiler_list; do |
|
4501 # Setup a source with many dependencies, because some compilers |
|
4502 # like to wrap large dependency lists on column 80 (with \), and |
|
4503 # we should not choose a depcomp mode which is confused by this. |
|
4504 # |
|
4505 # We need to recreate these files for each test, as the compiler may |
|
4506 # overwrite some of them when testing with obscure command lines. |
|
4507 # This happens at least with the AIX C compiler. |
|
4508 : > sub/conftest.c |
|
4509 for i in 1 2 3 4 5 6; do |
|
4510 echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
4511 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
|
4512 # Solaris 8's {/usr,}/bin/sh. |
|
4513 touch sub/conftst$i.h |
|
4514 done |
|
4515 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
4516 |
|
4517 # We check with `-c' and `-o' for the sake of the "dashmstdout" |
|
4518 # mode. It turns out that the SunPro C++ compiler does not properly |
|
4519 # handle `-M -o', and we need to detect this. Also, some Intel |
|
4520 # versions had trouble with output in subdirs |
|
4521 am__obj=sub/conftest.${OBJEXT-o} |
|
4522 am__minus_obj="-o $am__obj" |
|
4523 case $depmode in |
|
4524 gcc) |
|
4525 # This depmode causes a compiler race in universal mode. |
|
4526 test "$am__universal" = false || continue |
|
4527 ;; |
|
4528 nosideeffect) |
|
4529 # after this tag, mechanisms are not by side-effect, so they'll |
|
4530 # only be used when explicitly requested |
|
4531 if test "x$enable_dependency_tracking" = xyes; then |
|
4532 continue |
|
4533 else |
|
4534 break |
|
4535 fi |
|
4536 ;; |
|
4537 msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
|
4538 # This compiler won't grok `-c -o', but also, the minuso test has |
|
4539 # not run yet. These depmodes are late enough in the game, and |
|
4540 # so weak that their functioning should not be impacted. |
|
4541 am__obj=conftest.${OBJEXT-o} |
|
4542 am__minus_obj= |
|
4543 ;; |
|
4544 none) break ;; |
|
4545 esac |
|
4546 if depmode=$depmode \ |
|
4547 source=sub/conftest.c object=$am__obj \ |
|
4548 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
|
4549 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
|
4550 >/dev/null 2>conftest.err && |
|
4551 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
|
4552 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
4553 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
|
4554 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
4555 # icc doesn't choke on unknown options, it will just issue warnings |
|
4556 # or remarks (even with -Werror). So we grep stderr for any message |
|
4557 # that says an option was ignored or not supported. |
|
4558 # When given -MP, icc 7.0 and 7.1 complain thusly: |
|
4559 # icc: Command line warning: ignoring option '-M'; no argument required |
|
4560 # The diagnosis changed in icc 8.0: |
|
4561 # icc: Command line remark: option '-MP' not supported |
|
4562 if (grep 'ignoring option' conftest.err || |
|
4563 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
4564 am_cv_CC_dependencies_compiler_type=$depmode |
|
4565 break |
|
4566 fi |
|
4567 fi |
|
4568 done |
|
4569 |
|
4570 cd .. |
|
4571 rm -rf conftest.dir |
|
4572 else |
|
4573 am_cv_CC_dependencies_compiler_type=none |
|
4574 fi |
|
4575 |
|
4576 fi |
|
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
|
4578 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
|
4579 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
|
4580 |
|
4581 if |
|
4582 test "x$enable_dependency_tracking" != xno \ |
|
4583 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
|
4584 am__fastdepCC_TRUE= |
|
4585 am__fastdepCC_FALSE='#' |
|
4586 else |
|
4587 am__fastdepCC_TRUE='#' |
|
4588 am__fastdepCC_FALSE= |
|
4589 fi |
|
4590 |
|
4591 |
|
4592 if test "x$CC" != xcc; then |
|
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 |
|
4594 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } |
|
4595 else |
|
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 |
|
4597 $as_echo_n "checking whether cc understands -c and -o together... " >&6; } |
|
4598 fi |
|
4599 set dummy $CC; ac_cc=`$as_echo "$2" | |
|
4600 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` |
|
4601 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : |
|
4602 $as_echo_n "(cached) " >&6 |
|
4603 else |
|
4604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4605 /* end confdefs.h. */ |
|
4606 |
|
4607 int |
|
4608 main () |
|
4609 { |
|
4610 |
|
4611 ; |
|
4612 return 0; |
|
4613 } |
|
4614 _ACEOF |
|
4615 # Make sure it works both with $CC and with simple cc. |
|
4616 # We do the test twice because some compilers refuse to overwrite an |
|
4617 # existing .o file with -o, though they will create one. |
|
4618 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' |
|
4619 rm -f conftest2.* |
|
4620 if { { case "(($ac_try" in |
|
4621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4622 *) ac_try_echo=$ac_try;; |
|
4623 esac |
|
4624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
4625 $as_echo "$ac_try_echo"; } >&5 |
|
4626 (eval "$ac_try") 2>&5 |
|
4627 ac_status=$? |
|
4628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
4629 test $ac_status = 0; } && |
|
4630 test -f conftest2.$ac_objext && { { case "(($ac_try" in |
|
4631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4632 *) ac_try_echo=$ac_try;; |
|
4633 esac |
|
4634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
4635 $as_echo "$ac_try_echo"; } >&5 |
|
4636 (eval "$ac_try") 2>&5 |
|
4637 ac_status=$? |
|
4638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
4639 test $ac_status = 0; }; |
|
4640 then |
|
4641 eval ac_cv_prog_cc_${ac_cc}_c_o=yes |
|
4642 if test "x$CC" != xcc; then |
|
4643 # Test first that cc exists at all. |
|
4644 if { ac_try='cc -c conftest.$ac_ext >&5' |
|
4645 { { case "(($ac_try" in |
|
4646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4647 *) ac_try_echo=$ac_try;; |
|
4648 esac |
|
4649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
4650 $as_echo "$ac_try_echo"; } >&5 |
|
4651 (eval "$ac_try") 2>&5 |
|
4652 ac_status=$? |
|
4653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
4654 test $ac_status = 0; }; }; then |
|
4655 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' |
|
4656 rm -f conftest2.* |
|
4657 if { { case "(($ac_try" in |
|
4658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4659 *) ac_try_echo=$ac_try;; |
|
4660 esac |
|
4661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
4662 $as_echo "$ac_try_echo"; } >&5 |
|
4663 (eval "$ac_try") 2>&5 |
|
4664 ac_status=$? |
|
4665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
4666 test $ac_status = 0; } && |
|
4667 test -f conftest2.$ac_objext && { { case "(($ac_try" in |
|
4668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4669 *) ac_try_echo=$ac_try;; |
|
4670 esac |
|
4671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
4672 $as_echo "$ac_try_echo"; } >&5 |
|
4673 (eval "$ac_try") 2>&5 |
|
4674 ac_status=$? |
|
4675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
4676 test $ac_status = 0; }; |
|
4677 then |
|
4678 # cc works too. |
|
4679 : |
|
4680 else |
|
4681 # cc exists but doesn't like -o. |
|
4682 eval ac_cv_prog_cc_${ac_cc}_c_o=no |
|
4683 fi |
|
4684 fi |
|
4685 fi |
|
4686 else |
|
4687 eval ac_cv_prog_cc_${ac_cc}_c_o=no |
|
4688 fi |
|
4689 rm -f core conftest* |
|
4690 |
|
4691 fi |
|
4692 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then |
|
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
4694 $as_echo "yes" >&6; } |
|
4695 else |
|
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
4697 $as_echo "no" >&6; } |
|
4698 |
|
4699 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h |
|
4700 |
|
4701 fi |
|
4702 |
|
4703 # FIXME: we rely on the cache variable name because |
|
4704 # there is no other way. |
|
4705 set dummy $CC |
|
4706 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` |
|
4707 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o |
|
4708 if test "$am_t" != yes; then |
|
4709 # Losing compiler, so override with the script. |
|
4710 # FIXME: It is wrong to rewrite CC. |
|
4711 # But if we don't then we get into trouble of one sort or another. |
|
4712 # A longer-term fix would be to have automake use am__CC in this case, |
|
4713 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
|
4714 CC="$am_aux_dir/compile $CC" |
|
4715 fi |
|
4716 |
|
4717 |
|
4718 ac_ext=c |
|
4719 ac_cpp='$CPP $CPPFLAGS' |
|
4720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4722 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
|
4724 $as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
4725 # On Suns, sometimes $CPP names a directory. |
|
4726 if test -n "$CPP" && test -d "$CPP"; then |
|
4727 CPP= |
|
4728 fi |
|
4729 if test -z "$CPP"; then |
|
4730 if ${ac_cv_prog_CPP+:} false; then : |
|
4731 $as_echo_n "(cached) " >&6 |
|
4732 else |
|
4733 # Double quotes because CPP needs to be expanded |
|
4734 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
4735 do |
|
4736 ac_preproc_ok=false |
|
4737 for ac_c_preproc_warn_flag in '' yes |
|
4738 do |
|
4739 # Use a header file that comes with gcc, so configuring glibc |
|
4740 # with a fresh cross-compiler works. |
|
4741 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
4742 # <limits.h> exists even on freestanding compilers. |
|
4743 # On the NeXT, cc -E runs the code through the compiler's parser, |
|
4744 # not just through cpp. "Syntax error" is here to catch this case. |
|
4745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4746 /* end confdefs.h. */ |
|
4747 #ifdef __STDC__ |
|
4748 # include <limits.h> |
|
4749 #else |
|
4750 # include <assert.h> |
|
4751 #endif |
|
4752 Syntax error |
|
4753 _ACEOF |
|
4754 if ac_fn_c_try_cpp "$LINENO"; then : |
|
4755 |
|
4756 else |
|
4757 # Broken: fails on valid input. |
|
4758 continue |
|
4759 fi |
|
4760 rm -f conftest.err conftest.i conftest.$ac_ext |
|
4761 |
|
4762 # OK, works on sane cases. Now check whether nonexistent headers |
|
4763 # can be detected and how. |
|
4764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4765 /* end confdefs.h. */ |
|
4766 #include <ac_nonexistent.h> |
|
4767 _ACEOF |
|
4768 if ac_fn_c_try_cpp "$LINENO"; then : |
|
4769 # Broken: success on invalid input. |
|
4770 continue |
|
4771 else |
|
4772 # Passes both tests. |
|
4773 ac_preproc_ok=: |
|
4774 break |
|
4775 fi |
|
4776 rm -f conftest.err conftest.i conftest.$ac_ext |
|
4777 |
|
4778 done |
|
4779 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
4780 rm -f conftest.i conftest.err conftest.$ac_ext |
|
4781 if $ac_preproc_ok; then : |
|
4782 break |
|
4783 fi |
|
4784 |
|
4785 done |
|
4786 ac_cv_prog_CPP=$CPP |
|
4787 |
|
4788 fi |
|
4789 CPP=$ac_cv_prog_CPP |
|
4790 else |
|
4791 ac_cv_prog_CPP=$CPP |
|
4792 fi |
|
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
|
4794 $as_echo "$CPP" >&6; } |
|
4795 ac_preproc_ok=false |
|
4796 for ac_c_preproc_warn_flag in '' yes |
|
4797 do |
|
4798 # Use a header file that comes with gcc, so configuring glibc |
|
4799 # with a fresh cross-compiler works. |
|
4800 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
4801 # <limits.h> exists even on freestanding compilers. |
|
4802 # On the NeXT, cc -E runs the code through the compiler's parser, |
|
4803 # not just through cpp. "Syntax error" is here to catch this case. |
|
4804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4805 /* end confdefs.h. */ |
|
4806 #ifdef __STDC__ |
|
4807 # include <limits.h> |
|
4808 #else |
|
4809 # include <assert.h> |
|
4810 #endif |
|
4811 Syntax error |
|
4812 _ACEOF |
|
4813 if ac_fn_c_try_cpp "$LINENO"; then : |
|
4814 |
|
4815 else |
|
4816 # Broken: fails on valid input. |
|
4817 continue |
|
4818 fi |
|
4819 rm -f conftest.err conftest.i conftest.$ac_ext |
|
4820 |
|
4821 # OK, works on sane cases. Now check whether nonexistent headers |
|
4822 # can be detected and how. |
|
4823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4824 /* end confdefs.h. */ |
|
4825 #include <ac_nonexistent.h> |
|
4826 _ACEOF |
|
4827 if ac_fn_c_try_cpp "$LINENO"; then : |
|
4828 # Broken: success on invalid input. |
|
4829 continue |
|
4830 else |
|
4831 # Passes both tests. |
|
4832 ac_preproc_ok=: |
|
4833 break |
|
4834 fi |
|
4835 rm -f conftest.err conftest.i conftest.$ac_ext |
|
4836 |
|
4837 done |
|
4838 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
4839 rm -f conftest.i conftest.err conftest.$ac_ext |
|
4840 if $ac_preproc_ok; then : |
|
4841 |
|
4842 else |
|
4843 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
4844 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
4845 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
|
4846 See \`config.log' for more details" "$LINENO" 5; } |
|
4847 fi |
|
4848 |
|
4849 ac_ext=c |
|
4850 ac_cpp='$CPP $CPPFLAGS' |
|
4851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4853 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
4854 |
|
4855 ac_ext=cpp |
|
4856 ac_cpp='$CXXCPP $CPPFLAGS' |
|
4857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
4860 if test -z "$CXX"; then |
|
4861 if test -n "$CCC"; then |
|
4862 CXX=$CCC |
|
4863 else |
|
4864 if test -n "$ac_tool_prefix"; then |
|
4865 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
|
4866 do |
|
4867 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
4868 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
4870 $as_echo_n "checking for $ac_word... " >&6; } |
|
4871 if ${ac_cv_prog_CXX+:} false; then : |
|
4872 $as_echo_n "(cached) " >&6 |
|
4873 else |
|
4874 if test -n "$CXX"; then |
|
4875 ac_cv_prog_CXX="$CXX" # Let the user override the test. |
|
4876 else |
|
4877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4878 for as_dir in $PATH |
|
4879 do |
|
4880 IFS=$as_save_IFS |
|
4881 test -z "$as_dir" && as_dir=. |
|
4882 for ac_exec_ext in '' $ac_executable_extensions; do |
|
4883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
4884 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
|
4885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
4886 break 2 |
|
4887 fi |
|
4888 done |
|
4889 done |
|
4890 IFS=$as_save_IFS |
|
4891 |
|
4892 fi |
|
4893 fi |
|
4894 CXX=$ac_cv_prog_CXX |
|
4895 if test -n "$CXX"; then |
|
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 |
|
4897 $as_echo "$CXX" >&6; } |
|
4898 else |
|
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
4900 $as_echo "no" >&6; } |
|
4901 fi |
|
4902 |
|
4903 |
|
4904 test -n "$CXX" && break |
|
4905 done |
|
4906 fi |
|
4907 if test -z "$CXX"; then |
|
4908 ac_ct_CXX=$CXX |
|
4909 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
|
4910 do |
|
4911 # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
4912 set dummy $ac_prog; ac_word=$2 |
|
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
4914 $as_echo_n "checking for $ac_word... " >&6; } |
|
4915 if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
|
4916 $as_echo_n "(cached) " >&6 |
|
4917 else |
|
4918 if test -n "$ac_ct_CXX"; then |
|
4919 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
|
4920 else |
|
4921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4922 for as_dir in $PATH |
|
4923 do |
|
4924 IFS=$as_save_IFS |
|
4925 test -z "$as_dir" && as_dir=. |
|
4926 for ac_exec_ext in '' $ac_executable_extensions; do |
|
4927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
4928 ac_cv_prog_ac_ct_CXX="$ac_prog" |
|
4929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
4930 break 2 |
|
4931 fi |
|
4932 done |
|
4933 done |
|
4934 IFS=$as_save_IFS |
|
4935 |
|
4936 fi |
|
4937 fi |
|
4938 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
|
4939 if test -n "$ac_ct_CXX"; then |
|
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 |
|
4941 $as_echo "$ac_ct_CXX" >&6; } |
|
4942 else |
|
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
4944 $as_echo "no" >&6; } |
|
4945 fi |
|
4946 |
|
4947 |
|
4948 test -n "$ac_ct_CXX" && break |
|
4949 done |
|
4950 |
|
4951 if test "x$ac_ct_CXX" = x; then |
|
4952 CXX="g++" |
|
4953 else |
|
4954 case $cross_compiling:$ac_tool_warned in |
|
4955 yes:) |
|
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
4957 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
4958 ac_tool_warned=yes ;; |
|
4959 esac |
|
4960 CXX=$ac_ct_CXX |
|
4961 fi |
|
4962 fi |
|
4963 |
|
4964 fi |
|
4965 fi |
|
4966 # Provide some information about the compiler. |
|
4967 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 |
|
4968 set X $ac_compile |
|
4969 ac_compiler=$2 |
|
4970 for ac_option in --version -v -V -qversion; do |
|
4971 { { ac_try="$ac_compiler $ac_option >&5" |
|
4972 case "(($ac_try" in |
|
4973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4974 *) ac_try_echo=$ac_try;; |
|
4975 esac |
|
4976 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
4977 $as_echo "$ac_try_echo"; } >&5 |
|
4978 (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
|
4979 ac_status=$? |
|
4980 if test -s conftest.err; then |
|
4981 sed '10a\ |
|
4982 ... rest of stderr output deleted ... |
|
4983 10q' conftest.err >conftest.er1 |
|
4984 cat conftest.er1 >&5 |
|
4985 fi |
|
4986 rm -f conftest.er1 conftest.err |
|
4987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
4988 test $ac_status = 0; } |
|
4989 done |
|
4990 |
|
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
|
4992 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
|
4993 if ${ac_cv_cxx_compiler_gnu+:} false; then : |
|
4994 $as_echo_n "(cached) " >&6 |
|
4995 else |
|
4996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4997 /* end confdefs.h. */ |
|
4998 |
|
4999 int |
|
5000 main () |
|
5001 { |
|
5002 #ifndef __GNUC__ |
|
5003 choke me |
|
5004 #endif |
|
5005 |
|
5006 ; |
|
5007 return 0; |
|
5008 } |
|
5009 _ACEOF |
|
5010 if ac_fn_cxx_try_compile "$LINENO"; then : |
|
5011 ac_compiler_gnu=yes |
|
5012 else |
|
5013 ac_compiler_gnu=no |
|
5014 fi |
|
5015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
5016 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
|
5017 |
|
5018 fi |
|
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 |
|
5020 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } |
|
5021 if test $ac_compiler_gnu = yes; then |
|
5022 GXX=yes |
|
5023 else |
|
5024 GXX= |
|
5025 fi |
|
5026 ac_test_CXXFLAGS=${CXXFLAGS+set} |
|
5027 ac_save_CXXFLAGS=$CXXFLAGS |
|
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
|
5029 $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
|
5030 if ${ac_cv_prog_cxx_g+:} false; then : |
|
5031 $as_echo_n "(cached) " >&6 |
|
5032 else |
|
5033 ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
|
5034 ac_cxx_werror_flag=yes |
|
5035 ac_cv_prog_cxx_g=no |
|
5036 CXXFLAGS="-g" |
|
5037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
5038 /* end confdefs.h. */ |
|
5039 |
|
5040 int |
|
5041 main () |
|
5042 { |
|
5043 |
|
5044 ; |
|
5045 return 0; |
|
5046 } |
|
5047 _ACEOF |
|
5048 if ac_fn_cxx_try_compile "$LINENO"; then : |
|
5049 ac_cv_prog_cxx_g=yes |
|
5050 else |
|
5051 CXXFLAGS="" |
|
5052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
5053 /* end confdefs.h. */ |
|
5054 |
|
5055 int |
|
5056 main () |
|
5057 { |
|
5058 |
|
5059 ; |
|
5060 return 0; |
|
5061 } |
|
5062 _ACEOF |
|
5063 if ac_fn_cxx_try_compile "$LINENO"; then : |
|
5064 |
|
5065 else |
|
5066 ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
|
5067 CXXFLAGS="-g" |
|
5068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
5069 /* end confdefs.h. */ |
|
5070 |
|
5071 int |
|
5072 main () |
|
5073 { |
|
5074 |
|
5075 ; |
|
5076 return 0; |
|
5077 } |
|
5078 _ACEOF |
|
5079 if ac_fn_cxx_try_compile "$LINENO"; then : |
|
5080 ac_cv_prog_cxx_g=yes |
|
5081 fi |
|
5082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
5083 fi |
|
5084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
5085 fi |
|
5086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
5087 ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
|
5088 fi |
|
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 |
|
5090 $as_echo "$ac_cv_prog_cxx_g" >&6; } |
|
5091 if test "$ac_test_CXXFLAGS" = set; then |
|
5092 CXXFLAGS=$ac_save_CXXFLAGS |
|
5093 elif test $ac_cv_prog_cxx_g = yes; then |
|
5094 if test "$GXX" = yes; then |
|
5095 CXXFLAGS="-g -O2" |
|
5096 else |
|
5097 CXXFLAGS="-g" |
|
5098 fi |
|
5099 else |
|
5100 if test "$GXX" = yes; then |
|
5101 CXXFLAGS="-O2" |
|
5102 else |
|
5103 CXXFLAGS= |
|
5104 fi |
|
5105 fi |
|
5106 ac_ext=c |
|
5107 ac_cpp='$CPP $CPPFLAGS' |
|
5108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
5109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
5110 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
5111 |
|
5112 depcc="$CXX" am_compiler_list= |
|
5113 |
|
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
|
5115 $as_echo_n "checking dependency style of $depcc... " >&6; } |
|
5116 if ${am_cv_CXX_dependencies_compiler_type+:} false; then : |
|
5117 $as_echo_n "(cached) " >&6 |
|
5118 else |
|
5119 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
5120 # We make a subdir and do the tests there. Otherwise we can end up |
|
5121 # making bogus files that we don't know about and never remove. For |
|
5122 # instance it was reported that on HP-UX the gcc test will end up |
|
5123 # making a dummy file named `D' -- because `-MD' means `put the output |
|
5124 # in D'. |
|
5125 rm -rf conftest.dir |
|
5126 mkdir conftest.dir |
|
5127 # Copy depcomp to subdir because otherwise we won't find it if we're |
|
5128 # using a relative directory. |
|
5129 cp "$am_depcomp" conftest.dir |
|
5130 cd conftest.dir |
|
5131 # We will build objects and dependencies in a subdirectory because |
|
5132 # it helps to detect inapplicable dependency modes. For instance |
|
5133 # both Tru64's cc and ICC support -MD to output dependencies as a |
|
5134 # side effect of compilation, but ICC will put the dependencies in |
|
5135 # the current directory while Tru64 will put them in the object |
|
5136 # directory. |
|
5137 mkdir sub |
|
5138 |
|
5139 am_cv_CXX_dependencies_compiler_type=none |
|
5140 if test "$am_compiler_list" = ""; then |
|
5141 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
5142 fi |
|
5143 am__universal=false |
|
5144 case " $depcc " in #( |
|
5145 *\ -arch\ *\ -arch\ *) am__universal=true ;; |
|
5146 esac |
|
5147 |
|
5148 for depmode in $am_compiler_list; do |
|
5149 # Setup a source with many dependencies, because some compilers |
|
5150 # like to wrap large dependency lists on column 80 (with \), and |
|
5151 # we should not choose a depcomp mode which is confused by this. |
|
5152 # |
|
5153 # We need to recreate these files for each test, as the compiler may |
|
5154 # overwrite some of them when testing with obscure command lines. |
|
5155 # This happens at least with the AIX C compiler. |
|
5156 : > sub/conftest.c |
|
5157 for i in 1 2 3 4 5 6; do |
|
5158 echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
5159 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
|
5160 # Solaris 8's {/usr,}/bin/sh. |
|
5161 touch sub/conftst$i.h |
|
5162 done |
|
5163 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
5164 |
|
5165 # We check with `-c' and `-o' for the sake of the "dashmstdout" |
|
5166 # mode. It turns out that the SunPro C++ compiler does not properly |
|
5167 # handle `-M -o', and we need to detect this. Also, some Intel |
|
5168 # versions had trouble with output in subdirs |
|
5169 am__obj=sub/conftest.${OBJEXT-o} |
|
5170 am__minus_obj="-o $am__obj" |
|
5171 case $depmode in |
|
5172 gcc) |
|
5173 # This depmode causes a compiler race in universal mode. |
|
5174 test "$am__universal" = false || continue |
|
5175 ;; |
|
5176 nosideeffect) |
|
5177 # after this tag, mechanisms are not by side-effect, so they'll |
|
5178 # only be used when explicitly requested |
|
5179 if test "x$enable_dependency_tracking" = xyes; then |
|
5180 continue |
|
5181 else |
|
5182 break |
|
5183 fi |
|
5184 ;; |
|
5185 msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
|
5186 # This compiler won't grok `-c -o', but also, the minuso test has |
|
5187 # not run yet. These depmodes are late enough in the game, and |
|
5188 # so weak that their functioning should not be impacted. |
|
5189 am__obj=conftest.${OBJEXT-o} |
|
5190 am__minus_obj= |
|
5191 ;; |
|
5192 none) break ;; |
|
5193 esac |
|
5194 if depmode=$depmode \ |
|
5195 source=sub/conftest.c object=$am__obj \ |
|
5196 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
|
5197 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
|
5198 >/dev/null 2>conftest.err && |
|
5199 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
|
5200 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
5201 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
|
5202 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
5203 # icc doesn't choke on unknown options, it will just issue warnings |
|
5204 # or remarks (even with -Werror). So we grep stderr for any message |
|
5205 # that says an option was ignored or not supported. |
|
5206 # When given -MP, icc 7.0 and 7.1 complain thusly: |
|
5207 # icc: Command line warning: ignoring option '-M'; no argument required |
|
5208 # The diagnosis changed in icc 8.0: |
|
5209 # icc: Command line remark: option '-MP' not supported |
|
5210 if (grep 'ignoring option' conftest.err || |
|
5211 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
5212 am_cv_CXX_dependencies_compiler_type=$depmode |
|
5213 break |
|
5214 fi |
|
5215 fi |
|
5216 done |
|
5217 |
|
5218 cd .. |
|
5219 rm -rf conftest.dir |
|
5220 else |
|
5221 am_cv_CXX_dependencies_compiler_type=none |
|
5222 fi |
|
5223 |
|
5224 fi |
|
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
|
5226 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } |
|
5227 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
|
5228 |
|
5229 if |
|
5230 test "x$enable_dependency_tracking" != xno \ |
|
5231 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
|
5232 am__fastdepCXX_TRUE= |
|
5233 am__fastdepCXX_FALSE='#' |
|
5234 else |
|
5235 am__fastdepCXX_TRUE='#' |
|
5236 am__fastdepCXX_FALSE= |
|
5237 fi |
|
5238 |
|
5239 |
|
5240 if test -n "$ac_tool_prefix"; then |
|
5241 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
|
5242 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
|
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5244 $as_echo_n "checking for $ac_word... " >&6; } |
|
5245 if ${ac_cv_prog_RANLIB+:} false; then : |
|
5246 $as_echo_n "(cached) " >&6 |
|
5247 else |
|
5248 if test -n "$RANLIB"; then |
|
5249 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
|
5250 else |
|
5251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5252 for as_dir in $PATH |
|
5253 do |
|
5254 IFS=$as_save_IFS |
|
5255 test -z "$as_dir" && as_dir=. |
|
5256 for ac_exec_ext in '' $ac_executable_extensions; do |
|
5257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
5258 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
|
5259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5260 break 2 |
|
5261 fi |
|
5262 done |
|
5263 done |
|
5264 IFS=$as_save_IFS |
|
5265 |
|
5266 fi |
|
5267 fi |
|
5268 RANLIB=$ac_cv_prog_RANLIB |
|
5269 if test -n "$RANLIB"; then |
|
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
|
5271 $as_echo "$RANLIB" >&6; } |
|
5272 else |
|
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5274 $as_echo "no" >&6; } |
|
5275 fi |
|
5276 |
|
5277 |
|
5278 fi |
|
5279 if test -z "$ac_cv_prog_RANLIB"; then |
|
5280 ac_ct_RANLIB=$RANLIB |
|
5281 # Extract the first word of "ranlib", so it can be a program name with args. |
|
5282 set dummy ranlib; ac_word=$2 |
|
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5284 $as_echo_n "checking for $ac_word... " >&6; } |
|
5285 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
|
5286 $as_echo_n "(cached) " >&6 |
|
5287 else |
|
5288 if test -n "$ac_ct_RANLIB"; then |
|
5289 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
|
5290 else |
|
5291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5292 for as_dir in $PATH |
|
5293 do |
|
5294 IFS=$as_save_IFS |
|
5295 test -z "$as_dir" && as_dir=. |
|
5296 for ac_exec_ext in '' $ac_executable_extensions; do |
|
5297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
5298 ac_cv_prog_ac_ct_RANLIB="ranlib" |
|
5299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5300 break 2 |
|
5301 fi |
|
5302 done |
|
5303 done |
|
5304 IFS=$as_save_IFS |
|
5305 |
|
5306 fi |
|
5307 fi |
|
5308 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
|
5309 if test -n "$ac_ct_RANLIB"; then |
|
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
|
5311 $as_echo "$ac_ct_RANLIB" >&6; } |
|
5312 else |
|
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5314 $as_echo "no" >&6; } |
|
5315 fi |
|
5316 |
|
5317 if test "x$ac_ct_RANLIB" = x; then |
|
5318 RANLIB=":" |
|
5319 else |
|
5320 case $cross_compiling:$ac_tool_warned in |
|
5321 yes:) |
|
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
5323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
5324 ac_tool_warned=yes ;; |
|
5325 esac |
|
5326 RANLIB=$ac_ct_RANLIB |
|
5327 fi |
|
5328 else |
|
5329 RANLIB="$ac_cv_prog_RANLIB" |
|
5330 fi |
|
5331 |
|
5332 if test "$GCC" = yes; then |
|
5333 GCC_TRUE= |
|
5334 GCC_FALSE='#' |
|
5335 else |
|
5336 GCC_TRUE='#' |
|
5337 GCC_FALSE= |
|
5338 fi |
|
5339 # let the Makefile know if we're gcc |
|
5340 |
|
5341 |
|
5342 |
|
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
|
5344 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
|
5345 if ${ac_cv_path_GREP+:} false; then : |
|
5346 $as_echo_n "(cached) " >&6 |
|
5347 else |
|
5348 if test -z "$GREP"; then |
|
5349 ac_path_GREP_found=false |
|
5350 # Loop through the user's path and test for each of PROGNAME-LIST |
|
5351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5352 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
5353 do |
|
5354 IFS=$as_save_IFS |
|
5355 test -z "$as_dir" && as_dir=. |
|
5356 for ac_prog in grep ggrep; do |
|
5357 for ac_exec_ext in '' $ac_executable_extensions; do |
|
5358 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
|
5359 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
|
5360 # Check for GNU ac_path_GREP and select it if it is found. |
|
5361 # Check for GNU $ac_path_GREP |
|
5362 case `"$ac_path_GREP" --version 2>&1` in |
|
5363 *GNU*) |
|
5364 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
|
5365 *) |
|
5366 ac_count=0 |
|
5367 $as_echo_n 0123456789 >"conftest.in" |
|
5368 while : |
|
5369 do |
|
5370 cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
5371 mv "conftest.tmp" "conftest.in" |
|
5372 cp "conftest.in" "conftest.nl" |
|
5373 $as_echo 'GREP' >> "conftest.nl" |
|
5374 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
5375 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
5376 as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
5377 if test $ac_count -gt ${ac_path_GREP_max-0}; then |
|
5378 # Best one so far, save it but keep looking for a better one |
|
5379 ac_cv_path_GREP="$ac_path_GREP" |
|
5380 ac_path_GREP_max=$ac_count |
|
5381 fi |
|
5382 # 10*(2^10) chars as input seems more than enough |
|
5383 test $ac_count -gt 10 && break |
|
5384 done |
|
5385 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
5386 esac |
|
5387 |
|
5388 $ac_path_GREP_found && break 3 |
|
5389 done |
|
5390 done |
|
5391 done |
|
5392 IFS=$as_save_IFS |
|
5393 if test -z "$ac_cv_path_GREP"; then |
|
5394 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
|
5395 fi |
|
5396 else |
|
5397 ac_cv_path_GREP=$GREP |
|
5398 fi |
|
5399 |
|
5400 fi |
|
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
|
5402 $as_echo "$ac_cv_path_GREP" >&6; } |
|
5403 GREP="$ac_cv_path_GREP" |
|
5404 |
|
5405 |
|
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
|
5407 $as_echo_n "checking for egrep... " >&6; } |
|
5408 if ${ac_cv_path_EGREP+:} false; then : |
|
5409 $as_echo_n "(cached) " >&6 |
|
5410 else |
|
5411 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
|
5412 then ac_cv_path_EGREP="$GREP -E" |
|
5413 else |
|
5414 if test -z "$EGREP"; then |
|
5415 ac_path_EGREP_found=false |
|
5416 # Loop through the user's path and test for each of PROGNAME-LIST |
|
5417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5418 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
5419 do |
|
5420 IFS=$as_save_IFS |
|
5421 test -z "$as_dir" && as_dir=. |
|
5422 for ac_prog in egrep; do |
|
5423 for ac_exec_ext in '' $ac_executable_extensions; do |
|
5424 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
5425 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
|
5426 # Check for GNU ac_path_EGREP and select it if it is found. |
|
5427 # Check for GNU $ac_path_EGREP |
|
5428 case `"$ac_path_EGREP" --version 2>&1` in |
|
5429 *GNU*) |
|
5430 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
|
5431 *) |
|
5432 ac_count=0 |
|
5433 $as_echo_n 0123456789 >"conftest.in" |
|
5434 while : |
|
5435 do |
|
5436 cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
5437 mv "conftest.tmp" "conftest.in" |
|
5438 cp "conftest.in" "conftest.nl" |
|
5439 $as_echo 'EGREP' >> "conftest.nl" |
|
5440 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
5441 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
5442 as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
5443 if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
|
5444 # Best one so far, save it but keep looking for a better one |
|
5445 ac_cv_path_EGREP="$ac_path_EGREP" |
|
5446 ac_path_EGREP_max=$ac_count |
|
5447 fi |
|
5448 # 10*(2^10) chars as input seems more than enough |
|
5449 test $ac_count -gt 10 && break |
|
5450 done |
|
5451 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
5452 esac |
|
5453 |
|
5454 $ac_path_EGREP_found && break 3 |
|
5455 done |
|
5456 done |
|
5457 done |
|
5458 IFS=$as_save_IFS |
|
5459 if test -z "$ac_cv_path_EGREP"; then |
|
5460 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
|
5461 fi |
|
5462 else |
|
5463 ac_cv_path_EGREP=$EGREP |
|
5464 fi |
|
5465 |
|
5466 fi |
|
5467 fi |
|
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
|
5469 $as_echo "$ac_cv_path_EGREP" >&6; } |
|
5470 EGREP="$ac_cv_path_EGREP" |
|
5471 |
|
5472 |
|
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
|
5474 $as_echo_n "checking for ANSI C header files... " >&6; } |
|
5475 if ${ac_cv_header_stdc+:} false; then : |
|
5476 $as_echo_n "(cached) " >&6 |
|
5477 else |
|
5478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
5479 /* end confdefs.h. */ |
|
5480 #include <stdlib.h> |
|
5481 #include <stdarg.h> |
|
5482 #include <string.h> |
|
5483 #include <float.h> |
|
5484 |
|
5485 int |
|
5486 main () |
|
5487 { |
|
5488 |
|
5489 ; |
|
5490 return 0; |
|
5491 } |
|
5492 _ACEOF |
|
5493 if ac_fn_c_try_compile "$LINENO"; then : |
|
5494 ac_cv_header_stdc=yes |
|
5495 else |
|
5496 ac_cv_header_stdc=no |
|
5497 fi |
|
5498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
5499 |
|
5500 if test $ac_cv_header_stdc = yes; then |
|
5501 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
5502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
5503 /* end confdefs.h. */ |
|
5504 #include <string.h> |
|
5505 |
|
5506 _ACEOF |
|
5507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
5508 $EGREP "memchr" >/dev/null 2>&1; then : |
|
5509 |
|
5510 else |
|
5511 ac_cv_header_stdc=no |
|
5512 fi |
|
5513 rm -f conftest* |
|
5514 |
|
5515 fi |
|
5516 |
|
5517 if test $ac_cv_header_stdc = yes; then |
|
5518 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
5519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
5520 /* end confdefs.h. */ |
|
5521 #include <stdlib.h> |
|
5522 |
|
5523 _ACEOF |
|
5524 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
5525 $EGREP "free" >/dev/null 2>&1; then : |
|
5526 |
|
5527 else |
|
5528 ac_cv_header_stdc=no |
|
5529 fi |
|
5530 rm -f conftest* |
|
5531 |
|
5532 fi |
|
5533 |
|
5534 if test $ac_cv_header_stdc = yes; then |
|
5535 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
5536 if test "$cross_compiling" = yes; then : |
|
5537 : |
|
5538 else |
|
5539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
5540 /* end confdefs.h. */ |
|
5541 #include <ctype.h> |
|
5542 #include <stdlib.h> |
|
5543 #if ((' ' & 0x0FF) == 0x020) |
|
5544 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
5545 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
5546 #else |
|
5547 # define ISLOWER(c) \ |
|
5548 (('a' <= (c) && (c) <= 'i') \ |
|
5549 || ('j' <= (c) && (c) <= 'r') \ |
|
5550 || ('s' <= (c) && (c) <= 'z')) |
|
5551 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
5552 #endif |
|
5553 |
|
5554 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
5555 int |
|
5556 main () |
|
5557 { |
|
5558 int i; |
|
5559 for (i = 0; i < 256; i++) |
|
5560 if (XOR (islower (i), ISLOWER (i)) |
|
5561 || toupper (i) != TOUPPER (i)) |
|
5562 return 2; |
|
5563 return 0; |
|
5564 } |
|
5565 _ACEOF |
|
5566 if ac_fn_c_try_run "$LINENO"; then : |
|
5567 |
|
5568 else |
|
5569 ac_cv_header_stdc=no |
|
5570 fi |
|
5571 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
5572 conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
5573 fi |
|
5574 |
|
5575 fi |
|
5576 fi |
|
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
|
5578 $as_echo "$ac_cv_header_stdc" >&6; } |
|
5579 if test $ac_cv_header_stdc = yes; then |
|
5580 |
|
5581 $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
|
5582 |
|
5583 fi |
|
5584 |
|
5585 # =========================================================================== |
|
5586 # http://www.nongnu.org/autoconf-archive/ax_pthread.html |
|
5587 # =========================================================================== |
|
5588 # |
|
5589 # SYNOPSIS |
|
5590 # |
|
5591 # AX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) |
|
5592 # |
|
5593 # DESCRIPTION |
|
5594 # |
|
5595 # This macro figures out how to build C programs using POSIX threads. It |
|
5596 # sets the PTHREAD_LIBS output variable to the threads library and linker |
|
5597 # flags, and the PTHREAD_CFLAGS output variable to any special C compiler |
|
5598 # flags that are needed. (The user can also force certain compiler |
|
5599 # flags/libs to be tested by setting these environment variables.) |
|
5600 # |
|
5601 # Also sets PTHREAD_CC to any special C compiler that is needed for |
|
5602 # multi-threaded programs (defaults to the value of CC otherwise). (This |
|
5603 # is necessary on AIX to use the special cc_r compiler alias.) |
|
5604 # |
|
5605 # NOTE: You are assumed to not only compile your program with these flags, |
|
5606 # but also link it with them as well. e.g. you should link with |
|
5607 # $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS |
|
5608 # |
|
5609 # If you are only building threads programs, you may wish to use these |
|
5610 # variables in your default LIBS, CFLAGS, and CC: |
|
5611 # |
|
5612 # LIBS="$PTHREAD_LIBS $LIBS" |
|
5613 # CFLAGS="$CFLAGS $PTHREAD_CFLAGS" |
|
5614 # CC="$PTHREAD_CC" |
|
5615 # |
|
5616 # In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant |
|
5617 # has a nonstandard name, defines PTHREAD_CREATE_JOINABLE to that name |
|
5618 # (e.g. PTHREAD_CREATE_UNDETACHED on AIX). |
|
5619 # |
|
5620 # ACTION-IF-FOUND is a list of shell commands to run if a threads library |
|
5621 # is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it |
|
5622 # is not found. If ACTION-IF-FOUND is not specified, the default action |
|
5623 # will define HAVE_PTHREAD. |
|
5624 # |
|
5625 # Please let the authors know if this macro fails on any platform, or if |
|
5626 # you have any other suggestions or comments. This macro was based on work |
|
5627 # by SGJ on autoconf scripts for FFTW (http://www.fftw.org/) (with help |
|
5628 # from M. Frigo), as well as ac_pthread and hb_pthread macros posted by |
|
5629 # Alejandro Forero Cuervo to the autoconf macro repository. We are also |
|
5630 # grateful for the helpful feedback of numerous users. |
|
5631 # |
|
5632 # LICENSE |
|
5633 # |
|
5634 # Copyright (c) 2008 Steven G. Johnson <stevenj@alum.mit.edu> |
|
5635 # |
|
5636 # This program is free software: you can redistribute it and/or modify it |
|
5637 # under the terms of the GNU General Public License as published by the |
|
5638 # Free Software Foundation, either version 3 of the License, or (at your |
|
5639 # option) any later version. |
|
5640 # |
|
5641 # This program is distributed in the hope that it will be useful, but |
|
5642 # WITHOUT ANY WARRANTY; without even the implied warranty of |
|
5643 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General |
|
5644 # Public License for more details. |
|
5645 # |
|
5646 # You should have received a copy of the GNU General Public License along |
|
5647 # with this program. If not, see <http://www.gnu.org/licenses/>. |
|
5648 # |
|
5649 # As a special exception, the respective Autoconf Macro's copyright owner |
|
5650 # gives unlimited permission to copy, distribute and modify the configure |
|
5651 # scripts that are the output of Autoconf when processing the Macro. You |
|
5652 # need not follow the terms of the GNU General Public License when using |
|
5653 # or distributing such scripts, even though portions of the text of the |
|
5654 # Macro appear in them. The GNU General Public License (GPL) does govern |
|
5655 # all other use of the material that constitutes the Autoconf Macro. |
|
5656 # |
|
5657 # This special exception to the GPL applies to versions of the Autoconf |
|
5658 # Macro released by the Autoconf Archive. When you make and distribute a |
|
5659 # modified version of the Autoconf Macro, you may extend this special |
|
5660 # exception to the GPL to apply to your modified version as well. |
|
5661 |
|
5662 #serial 6 |
|
5663 |
|
5664 # This is what autoupdate's m4 run will expand. It fires |
|
5665 # the warning (with _au_warn_XXX), outputs it into the |
|
5666 # updated configure.ac (with AC_DIAGNOSE), and then outputs |
|
5667 # the replacement expansion. |
|
5668 |
|
5669 |
|
5670 # This is an auxiliary macro that is also run when |
|
5671 # autoupdate runs m4. It simply calls m4_warning, but |
|
5672 # we need a wrapper so that each warning is emitted only |
|
5673 # once. We break the quoting in m4_warning's argument in |
|
5674 # order to expand this macro's arguments, not AU_DEFUN's. |
|
5675 |
|
5676 |
|
5677 # Finally, this is the expansion that is picked up by |
|
5678 # autoconf. It tells the user to run autoupdate, and |
|
5679 # then outputs the replacement expansion. We do not care |
|
5680 # about autoupdate's warning because that contains |
|
5681 # information on what to do *after* running autoupdate. |
|
5682 |
|
5683 |
|
5684 |
|
5685 |
|
5686 ac_ext=c |
|
5687 ac_cpp='$CPP $CPPFLAGS' |
|
5688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
5689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
5690 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
5691 |
|
5692 ax_pthread_ok=no |
|
5693 |
|
5694 # We used to check for pthread.h first, but this fails if pthread.h |
|
5695 # requires special compiler flags (e.g. on True64 or Sequent). |
|
5696 # It gets checked for in the link test anyway. |
|
5697 |
|
5698 # First of all, check if the user has set any of the PTHREAD_LIBS, |
|
5699 # etcetera environment variables, and if threads linking works using |
|
5700 # them: |
|
5701 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then |
|
5702 save_CFLAGS="$CFLAGS" |
|
5703 CFLAGS="$CFLAGS $PTHREAD_CFLAGS" |
|
5704 save_LIBS="$LIBS" |
|
5705 LIBS="$PTHREAD_LIBS $LIBS" |
|
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5 |
|
5707 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; } |
|
5708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
5709 /* end confdefs.h. */ |
|
5710 |
|
5711 /* Override any GCC internal prototype to avoid an error. |
|
5712 Use char because int might match the return type of a GCC |
|
5713 builtin and then its argument prototype would still apply. */ |
|
5714 #ifdef __cplusplus |
|
5715 extern "C" |
|
5716 #endif |
|
5717 char pthread_join (); |
|
5718 int |
|
5719 main () |
|
5720 { |
|
5721 return pthread_join (); |
|
5722 ; |
|
5723 return 0; |
|
5724 } |
|
5725 _ACEOF |
|
5726 if ac_fn_c_try_link "$LINENO"; then : |
|
5727 ax_pthread_ok=yes |
|
5728 fi |
|
5729 rm -f core conftest.err conftest.$ac_objext \ |
|
5730 conftest$ac_exeext conftest.$ac_ext |
|
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5 |
|
5732 $as_echo "$ax_pthread_ok" >&6; } |
|
5733 if test x"$ax_pthread_ok" = xno; then |
|
5734 PTHREAD_LIBS="" |
|
5735 PTHREAD_CFLAGS="" |
|
5736 fi |
|
5737 LIBS="$save_LIBS" |
|
5738 CFLAGS="$save_CFLAGS" |
|
5739 fi |
|
5740 |
|
5741 # We must check for the threads library under a number of different |
|
5742 # names; the ordering is very important because some systems |
|
5743 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the |
|
5744 # libraries is broken (non-POSIX). |
|
5745 |
|
5746 # Create a list of thread flags to try. Items starting with a "-" are |
|
5747 # C compiler flags, and other items are library names, except for "none" |
|
5748 # which indicates that we try without any flags at all, and "pthread-config" |
|
5749 # which is a program returning the flags for the Pth emulation library. |
|
5750 |
|
5751 ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config" |
|
5752 |
|
5753 # The ordering *is* (sometimes) important. Some notes on the |
|
5754 # individual items follow: |
|
5755 |
|
5756 # pthreads: AIX (must check this before -lpthread) |
|
5757 # none: in case threads are in libc; should be tried before -Kthread and |
|
5758 # other compiler flags to prevent continual compiler warnings |
|
5759 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h) |
|
5760 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able) |
|
5761 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread) |
|
5762 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads) |
|
5763 # -pthreads: Solaris/gcc |
|
5764 # -mthreads: Mingw32/gcc, Lynx/gcc |
|
5765 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it |
|
5766 # doesn't hurt to check since this sometimes defines pthreads too; |
|
5767 # also defines -D_REENTRANT) |
|
5768 # ... -mt is also the pthreads flag for HP/aCC |
|
5769 # pthread: Linux, etcetera |
|
5770 # --thread-safe: KAI C++ |
|
5771 # pthread-config: use pthread-config program (for GNU Pth library) |
|
5772 |
|
5773 case "${host_cpu}-${host_os}" in |
|
5774 *solaris*) |
|
5775 |
|
5776 # On Solaris (at least, for some versions), libc contains stubbed |
|
5777 # (non-functional) versions of the pthreads routines, so link-based |
|
5778 # tests will erroneously succeed. (We need to link with -pthreads/-mt/ |
|
5779 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather |
|
5780 # a function called by this macro, so we could check for that, but |
|
5781 # who knows whether they'll stub that too in a future libc.) So, |
|
5782 # we'll just look for -pthreads and -lpthread first: |
|
5783 |
|
5784 ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags" |
|
5785 ;; |
|
5786 |
|
5787 *-darwin*) |
|
5788 acx_pthread_flags="-pthread $acx_pthread_flags" |
|
5789 ;; |
|
5790 esac |
|
5791 |
|
5792 if test x"$ax_pthread_ok" = xno; then |
|
5793 for flag in $ax_pthread_flags; do |
|
5794 |
|
5795 case $flag in |
|
5796 none) |
|
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5 |
|
5798 $as_echo_n "checking whether pthreads work without any flags... " >&6; } |
|
5799 ;; |
|
5800 |
|
5801 -*) |
|
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5 |
|
5803 $as_echo_n "checking whether pthreads work with $flag... " >&6; } |
|
5804 PTHREAD_CFLAGS="$flag" |
|
5805 ;; |
|
5806 |
|
5807 pthread-config) |
|
5808 # Extract the first word of "pthread-config", so it can be a program name with args. |
|
5809 set dummy pthread-config; ac_word=$2 |
|
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5811 $as_echo_n "checking for $ac_word... " >&6; } |
|
5812 if ${ac_cv_prog_ax_pthread_config+:} false; then : |
|
5813 $as_echo_n "(cached) " >&6 |
|
5814 else |
|
5815 if test -n "$ax_pthread_config"; then |
|
5816 ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test. |
|
5817 else |
|
5818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5819 for as_dir in $PATH |
|
5820 do |
|
5821 IFS=$as_save_IFS |
|
5822 test -z "$as_dir" && as_dir=. |
|
5823 for ac_exec_ext in '' $ac_executable_extensions; do |
|
5824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
5825 ac_cv_prog_ax_pthread_config="yes" |
|
5826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5827 break 2 |
|
5828 fi |
|
5829 done |
|
5830 done |
|
5831 IFS=$as_save_IFS |
|
5832 |
|
5833 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no" |
|
5834 fi |
|
5835 fi |
|
5836 ax_pthread_config=$ac_cv_prog_ax_pthread_config |
|
5837 if test -n "$ax_pthread_config"; then |
|
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5 |
|
5839 $as_echo "$ax_pthread_config" >&6; } |
|
5840 else |
|
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5842 $as_echo "no" >&6; } |
|
5843 fi |
|
5844 |
|
5845 |
|
5846 if test x"$ax_pthread_config" = xno; then continue; fi |
|
5847 PTHREAD_CFLAGS="`pthread-config --cflags`" |
|
5848 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`" |
|
5849 ;; |
|
5850 |
|
5851 *) |
|
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5 |
|
5853 $as_echo_n "checking for the pthreads library -l$flag... " >&6; } |
|
5854 PTHREAD_LIBS="-l$flag" |
|
5855 ;; |
|
5856 esac |
|
5857 |
|
5858 save_LIBS="$LIBS" |
|
5859 save_CFLAGS="$CFLAGS" |
|
5860 LIBS="$PTHREAD_LIBS $LIBS" |
|
5861 CFLAGS="$CFLAGS $PTHREAD_CFLAGS" |
|
5862 |
|
5863 # Check for various functions. We must include pthread.h, |
|
5864 # since some functions may be macros. (On the Sequent, we |
|
5865 # need a special flag -Kthread to make this header compile.) |
|
5866 # We check for pthread_join because it is in -lpthread on IRIX |
|
5867 # while pthread_create is in libc. We check for pthread_attr_init |
|
5868 # due to DEC craziness with -lpthreads. We check for |
|
5869 # pthread_cleanup_push because it is one of the few pthread |
|
5870 # functions on Solaris that doesn't have a non-functional libc stub. |
|
5871 # We try pthread_create on general principles. |
|
5872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
5873 /* end confdefs.h. */ |
|
5874 #include <pthread.h> |
|
5875 static void routine(void* a) {a=0;} |
|
5876 static void* start_routine(void* a) {return a;} |
|
5877 int |
|
5878 main () |
|
5879 { |
|
5880 pthread_t th; pthread_attr_t attr; |
|
5881 pthread_join(th, 0); |
|
5882 pthread_attr_init(&attr); |
|
5883 pthread_cleanup_push(routine, 0); |
|
5884 pthread_create(&th,0,start_routine,0); |
|
5885 pthread_cleanup_pop(0); |
|
5886 ; |
|
5887 return 0; |
|
5888 } |
|
5889 _ACEOF |
|
5890 if ac_fn_c_try_link "$LINENO"; then : |
|
5891 ax_pthread_ok=yes |
|
5892 fi |
|
5893 rm -f core conftest.err conftest.$ac_objext \ |
|
5894 conftest$ac_exeext conftest.$ac_ext |
|
5895 |
|
5896 LIBS="$save_LIBS" |
|
5897 CFLAGS="$save_CFLAGS" |
|
5898 |
|
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5 |
|
5900 $as_echo "$ax_pthread_ok" >&6; } |
|
5901 if test "x$ax_pthread_ok" = xyes; then |
|
5902 break; |
|
5903 fi |
|
5904 |
|
5905 PTHREAD_LIBS="" |
|
5906 PTHREAD_CFLAGS="" |
|
5907 done |
|
5908 fi |
|
5909 |
|
5910 # Various other checks: |
|
5911 if test "x$ax_pthread_ok" = xyes; then |
|
5912 save_LIBS="$LIBS" |
|
5913 LIBS="$PTHREAD_LIBS $LIBS" |
|
5914 save_CFLAGS="$CFLAGS" |
|
5915 CFLAGS="$CFLAGS $PTHREAD_CFLAGS" |
|
5916 |
|
5917 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED. |
|
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5 |
|
5919 $as_echo_n "checking for joinable pthread attribute... " >&6; } |
|
5920 attr_name=unknown |
|
5921 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do |
|
5922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
5923 /* end confdefs.h. */ |
|
5924 #include <pthread.h> |
|
5925 int |
|
5926 main () |
|
5927 { |
|
5928 int attr=$attr; return attr; |
|
5929 ; |
|
5930 return 0; |
|
5931 } |
|
5932 _ACEOF |
|
5933 if ac_fn_c_try_link "$LINENO"; then : |
|
5934 attr_name=$attr; break |
|
5935 fi |
|
5936 rm -f core conftest.err conftest.$ac_objext \ |
|
5937 conftest$ac_exeext conftest.$ac_ext |
|
5938 done |
|
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5 |
|
5940 $as_echo "$attr_name" >&6; } |
|
5941 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then |
|
5942 |
|
5943 cat >>confdefs.h <<_ACEOF |
|
5944 #define PTHREAD_CREATE_JOINABLE $attr_name |
|
5945 _ACEOF |
|
5946 |
|
5947 fi |
|
5948 |
|
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5 |
|
5950 $as_echo_n "checking if more special flags are required for pthreads... " >&6; } |
|
5951 flag=no |
|
5952 case "${host_cpu}-${host_os}" in |
|
5953 *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";; |
|
5954 *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";; |
|
5955 esac |
|
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5 |
|
5957 $as_echo "${flag}" >&6; } |
|
5958 if test "x$flag" != xno; then |
|
5959 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS" |
|
5960 fi |
|
5961 |
|
5962 LIBS="$save_LIBS" |
|
5963 CFLAGS="$save_CFLAGS" |
|
5964 |
|
5965 # More AIX lossage: must compile with xlc_r or cc_r |
|
5966 if test x"$GCC" != xyes; then |
|
5967 for ac_prog in xlc_r cc_r |
|
5968 do |
|
5969 # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
5970 set dummy $ac_prog; ac_word=$2 |
|
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5972 $as_echo_n "checking for $ac_word... " >&6; } |
|
5973 if ${ac_cv_prog_PTHREAD_CC+:} false; then : |
|
5974 $as_echo_n "(cached) " >&6 |
|
5975 else |
|
5976 if test -n "$PTHREAD_CC"; then |
|
5977 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test. |
|
5978 else |
|
5979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5980 for as_dir in $PATH |
|
5981 do |
|
5982 IFS=$as_save_IFS |
|
5983 test -z "$as_dir" && as_dir=. |
|
5984 for ac_exec_ext in '' $ac_executable_extensions; do |
|
5985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
5986 ac_cv_prog_PTHREAD_CC="$ac_prog" |
|
5987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5988 break 2 |
|
5989 fi |
|
5990 done |
|
5991 done |
|
5992 IFS=$as_save_IFS |
|
5993 |
|
5994 fi |
|
5995 fi |
|
5996 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC |
|
5997 if test -n "$PTHREAD_CC"; then |
|
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5 |
|
5999 $as_echo "$PTHREAD_CC" >&6; } |
|
6000 else |
|
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6002 $as_echo "no" >&6; } |
|
6003 fi |
|
6004 |
|
6005 |
|
6006 test -n "$PTHREAD_CC" && break |
|
6007 done |
|
6008 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}" |
|
6009 |
|
6010 else |
|
6011 PTHREAD_CC=$CC |
|
6012 fi |
|
6013 else |
|
6014 PTHREAD_CC="$CC" |
|
6015 fi |
|
6016 |
|
6017 |
|
6018 |
|
6019 |
|
6020 |
|
6021 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: |
|
6022 if test x"$ax_pthread_ok" = xyes; then |
|
6023 |
|
6024 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h |
|
6025 |
|
6026 : |
|
6027 else |
|
6028 ax_pthread_ok=no |
|
6029 |
|
6030 fi |
|
6031 ac_ext=c |
|
6032 ac_cpp='$CPP $CPPFLAGS' |
|
6033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
6034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
6035 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
6036 |
|
6037 |
|
6038 # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
6039 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
6040 inttypes.h stdint.h unistd.h |
|
6041 do : |
|
6042 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
6043 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
|
6044 " |
|
6045 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
6046 cat >>confdefs.h <<_ACEOF |
|
6047 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
6048 _ACEOF |
|
6049 |
|
6050 fi |
|
6051 |
|
6052 done |
|
6053 |
|
6054 |
|
6055 for ac_header in a.out.h |
|
6056 do : |
|
6057 ac_fn_c_check_header_mongrel "$LINENO" "a.out.h" "ac_cv_header_a_out_h" "$ac_includes_default" |
|
6058 if test "x$ac_cv_header_a_out_h" = xyes; then : |
|
6059 cat >>confdefs.h <<_ACEOF |
|
6060 #define HAVE_A_OUT_H 1 |
|
6061 _ACEOF |
|
6062 |
|
6063 fi |
|
6064 |
|
6065 done |
|
6066 |
|
6067 |
|
6068 # Only build Linux client libs when compiling for Linux |
|
6069 case $host in |
|
6070 *-*-linux* | *-android* ) |
|
6071 LINUX_HOST=true |
|
6072 ;; |
|
6073 esac |
|
6074 if test x$LINUX_HOST = xtrue; then |
|
6075 LINUX_HOST_TRUE= |
|
6076 LINUX_HOST_FALSE='#' |
|
6077 else |
|
6078 LINUX_HOST_TRUE='#' |
|
6079 LINUX_HOST_FALSE= |
|
6080 fi |
|
6081 |
|
6082 |
|
6083 # Only use Android support headers when compiling for Android |
|
6084 case $host in |
|
6085 *-android*) |
|
6086 ANDROID_HOST=true |
|
6087 ;; |
|
6088 esac |
|
6089 if test x$ANDROID_HOST = xtrue; then |
|
6090 ANDROID_HOST_TRUE= |
|
6091 ANDROID_HOST_FALSE='#' |
|
6092 else |
|
6093 ANDROID_HOST_TRUE='#' |
|
6094 ANDROID_HOST_FALSE= |
|
6095 fi |
|
6096 |
|
6097 |
|
6098 # Check whether --enable-m32 was given. |
|
6099 if test "${enable_m32+set}" = set; then : |
|
6100 enableval=$enable_m32; case "${enableval}" in |
|
6101 yes) |
|
6102 CFLAGS="${CFLAGS} -m32" |
|
6103 CXXFLAGS="${CXXFLAGS} -m32" |
|
6104 usem32=true |
|
6105 ;; |
|
6106 no) |
|
6107 usem32=false |
|
6108 ;; |
|
6109 *) |
|
6110 as_fn_error $? "bad value ${enableval} for --enable-m32" "$LINENO" 5 |
|
6111 ;; |
|
6112 esac |
|
6113 else |
|
6114 usem32=false |
|
6115 fi |
|
6116 |
|
6117 |
|
6118 # Check whether --enable-processor was given. |
|
6119 if test "${enable_processor+set}" = set; then : |
|
6120 enableval=$enable_processor; case "${enableval}" in |
|
6121 yes) |
|
6122 disable_processor=false |
|
6123 ;; |
|
6124 no) |
|
6125 disable_processor=true |
|
6126 ;; |
|
6127 *) |
|
6128 as_fn_error $? "bad value ${enableval} for --disable-processor" "$LINENO" 5 |
|
6129 ;; |
|
6130 esac |
|
6131 else |
|
6132 disable_processor=false |
|
6133 fi |
|
6134 |
|
6135 if test x$disable_processor = xtrue; then |
|
6136 DISABLE_PROCESSOR_TRUE= |
|
6137 DISABLE_PROCESSOR_FALSE='#' |
|
6138 else |
|
6139 DISABLE_PROCESSOR_TRUE='#' |
|
6140 DISABLE_PROCESSOR_FALSE= |
|
6141 fi |
|
6142 |
|
6143 |
|
6144 # Check whether --enable-tools was given. |
|
6145 if test "${enable_tools+set}" = set; then : |
|
6146 enableval=$enable_tools; case "${enableval}" in |
|
6147 yes) |
|
6148 disable_tools=false |
|
6149 ;; |
|
6150 no) |
|
6151 disable_tools=true |
|
6152 ;; |
|
6153 *) |
|
6154 as_fn_error $? "bad value ${enableval} for --disable-tools" "$LINENO" 5 |
|
6155 ;; |
|
6156 esac |
|
6157 else |
|
6158 disable_tools=false |
|
6159 fi |
|
6160 |
|
6161 if test x$disable_tools = xtrue; then |
|
6162 DISABLE_TOOLS_TRUE= |
|
6163 DISABLE_TOOLS_FALSE='#' |
|
6164 else |
|
6165 DISABLE_TOOLS_TRUE='#' |
|
6166 DISABLE_TOOLS_FALSE= |
|
6167 fi |
|
6168 |
|
6169 |
|
6170 if test x$LINUX_HOST = xfalse -a x$disable_processor = xtrue -a x$disable_tools = xtrue; then |
|
6171 as_fn_error $? "--disable-processor and --disable-tools were specified, and not building for Linux. Nothing to build!" "$LINENO" 5 |
|
6172 fi |
|
6173 |
|
6174 # Check whether --enable-selftest was given. |
|
6175 if test "${enable_selftest+set}" = set; then : |
|
6176 enableval=$enable_selftest; case "${enableval}" in |
|
6177 yes) |
|
6178 selftest=true |
|
6179 ;; |
|
6180 no) |
|
6181 selftest=false |
|
6182 ;; |
|
6183 *) |
|
6184 as_fn_error $? "bad value ${enableval} for --enable-selftest" "$LINENO" 5 |
|
6185 ;; |
|
6186 esac |
|
6187 else |
|
6188 selftest=false |
|
6189 fi |
|
6190 |
|
6191 if test x$selftest = xtrue; then |
|
6192 SELFTEST_TRUE= |
|
6193 SELFTEST_FALSE='#' |
|
6194 else |
|
6195 SELFTEST_TRUE='#' |
|
6196 SELFTEST_FALSE= |
|
6197 fi |
|
6198 |
|
6199 |
|
6200 ac_config_files="$ac_config_files Makefile" |
|
6201 |
|
6202 cat >confcache <<\_ACEOF |
|
6203 # This file is a shell script that caches the results of configure |
|
6204 # tests run on this system so they can be shared between configure |
|
6205 # scripts and configure runs, see configure's option --config-cache. |
|
6206 # It is not useful on other systems. If it contains results you don't |
|
6207 # want to keep, you may remove or edit it. |
|
6208 # |
|
6209 # config.status only pays attention to the cache file if you give it |
|
6210 # the --recheck option to rerun configure. |
|
6211 # |
|
6212 # `ac_cv_env_foo' variables (set or unset) will be overridden when |
|
6213 # loading this file, other *unset* `ac_cv_foo' will be assigned the |
|
6214 # following values. |
|
6215 |
|
6216 _ACEOF |
|
6217 |
|
6218 # The following way of writing the cache mishandles newlines in values, |
|
6219 # but we know of no workaround that is simple, portable, and efficient. |
|
6220 # So, we kill variables containing newlines. |
|
6221 # Ultrix sh set writes to stderr and can't be redirected directly, |
|
6222 # and sets the high bit in the cache file unless we assign to the vars. |
|
6223 ( |
|
6224 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
|
6225 eval ac_val=\$$ac_var |
|
6226 case $ac_val in #( |
|
6227 *${as_nl}*) |
|
6228 case $ac_var in #( |
|
6229 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
|
6230 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
|
6231 esac |
|
6232 case $ac_var in #( |
|
6233 _ | IFS | as_nl) ;; #( |
|
6234 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
6235 *) { eval $ac_var=; unset $ac_var;} ;; |
|
6236 esac ;; |
|
6237 esac |
|
6238 done |
|
6239 |
|
6240 (set) 2>&1 | |
|
6241 case $as_nl`(ac_space=' '; set) 2>&1` in #( |
|
6242 *${as_nl}ac_space=\ *) |
|
6243 # `set' does not quote correctly, so add quotes: double-quote |
|
6244 # substitution turns \\\\ into \\, and sed turns \\ into \. |
|
6245 sed -n \ |
|
6246 "s/'/'\\\\''/g; |
|
6247 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
|
6248 ;; #( |
|
6249 *) |
|
6250 # `set' quotes correctly as required by POSIX, so do not add quotes. |
|
6251 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
|
6252 ;; |
|
6253 esac | |
|
6254 sort |
|
6255 ) | |
|
6256 sed ' |
|
6257 /^ac_cv_env_/b end |
|
6258 t clear |
|
6259 :clear |
|
6260 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
|
6261 t end |
|
6262 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
|
6263 :end' >>confcache |
|
6264 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
|
6265 if test -w "$cache_file"; then |
|
6266 if test "x$cache_file" != "x/dev/null"; then |
|
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
|
6268 $as_echo "$as_me: updating cache $cache_file" >&6;} |
|
6269 if test ! -f "$cache_file" || test -h "$cache_file"; then |
|
6270 cat confcache >"$cache_file" |
|
6271 else |
|
6272 case $cache_file in #( |
|
6273 */* | ?:*) |
|
6274 mv -f confcache "$cache_file"$$ && |
|
6275 mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
6276 *) |
|
6277 mv -f confcache "$cache_file" ;; |
|
6278 esac |
|
6279 fi |
|
6280 fi |
|
6281 else |
|
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
|
6283 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
|
6284 fi |
|
6285 fi |
|
6286 rm -f confcache |
|
6287 |
|
6288 test "x$prefix" = xNONE && prefix=$ac_default_prefix |
|
6289 # Let make expand exec_prefix. |
|
6290 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
|
6291 |
|
6292 DEFS=-DHAVE_CONFIG_H |
|
6293 |
|
6294 ac_libobjs= |
|
6295 ac_ltlibobjs= |
|
6296 U= |
|
6297 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
|
6298 # 1. Remove the extension, and $U if already installed. |
|
6299 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
|
6300 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
|
6301 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
|
6302 # will be set to the directory where LIBOBJS objects are built. |
|
6303 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
|
6304 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
|
6305 done |
|
6306 LIBOBJS=$ac_libobjs |
|
6307 |
|
6308 LTLIBOBJS=$ac_ltlibobjs |
|
6309 |
|
6310 |
|
6311 if test -n "$EXEEXT"; then |
|
6312 am__EXEEXT_TRUE= |
|
6313 am__EXEEXT_FALSE='#' |
|
6314 else |
|
6315 am__EXEEXT_TRUE='#' |
|
6316 am__EXEEXT_FALSE= |
|
6317 fi |
|
6318 |
|
6319 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
|
6320 as_fn_error $? "conditional \"AMDEP\" was never defined. |
|
6321 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
6322 fi |
|
6323 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
|
6324 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
|
6325 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
6326 fi |
|
6327 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then |
|
6328 as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined. |
|
6329 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
6330 fi |
|
6331 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
|
6332 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
|
6333 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
6334 fi |
|
6335 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
|
6336 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. |
|
6337 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
6338 fi |
|
6339 if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then |
|
6340 as_fn_error $? "conditional \"GCC\" was never defined. |
|
6341 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
6342 fi |
|
6343 if test -z "${LINUX_HOST_TRUE}" && test -z "${LINUX_HOST_FALSE}"; then |
|
6344 as_fn_error $? "conditional \"LINUX_HOST\" was never defined. |
|
6345 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
6346 fi |
|
6347 if test -z "${ANDROID_HOST_TRUE}" && test -z "${ANDROID_HOST_FALSE}"; then |
|
6348 as_fn_error $? "conditional \"ANDROID_HOST\" was never defined. |
|
6349 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
6350 fi |
|
6351 if test -z "${DISABLE_PROCESSOR_TRUE}" && test -z "${DISABLE_PROCESSOR_FALSE}"; then |
|
6352 as_fn_error $? "conditional \"DISABLE_PROCESSOR\" was never defined. |
|
6353 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
6354 fi |
|
6355 if test -z "${DISABLE_TOOLS_TRUE}" && test -z "${DISABLE_TOOLS_FALSE}"; then |
|
6356 as_fn_error $? "conditional \"DISABLE_TOOLS\" was never defined. |
|
6357 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
6358 fi |
|
6359 if test -z "${SELFTEST_TRUE}" && test -z "${SELFTEST_FALSE}"; then |
|
6360 as_fn_error $? "conditional \"SELFTEST\" was never defined. |
|
6361 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
6362 fi |
|
6363 |
|
6364 : "${CONFIG_STATUS=./config.status}" |
|
6365 ac_write_fail=0 |
|
6366 ac_clean_files_save=$ac_clean_files |
|
6367 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
|
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
|
6369 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
|
6370 as_write_fail=0 |
|
6371 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
|
6372 #! $SHELL |
|
6373 # Generated by $as_me. |
|
6374 # Run this file to recreate the current configuration. |
|
6375 # Compiler output produced by configure, useful for debugging |
|
6376 # configure, is in config.log if it exists. |
|
6377 |
|
6378 debug=false |
|
6379 ac_cs_recheck=false |
|
6380 ac_cs_silent=false |
|
6381 |
|
6382 SHELL=\${CONFIG_SHELL-$SHELL} |
|
6383 export SHELL |
|
6384 _ASEOF |
|
6385 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
|
6386 ## -------------------- ## |
|
6387 ## M4sh Initialization. ## |
|
6388 ## -------------------- ## |
|
6389 |
|
6390 # Be more Bourne compatible |
|
6391 DUALCASE=1; export DUALCASE # for MKS sh |
|
6392 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
|
6393 emulate sh |
|
6394 NULLCMD=: |
|
6395 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
|
6396 # is contrary to our usage. Disable this feature. |
|
6397 alias -g '${1+"$@"}'='"$@"' |
|
6398 setopt NO_GLOB_SUBST |
|
6399 else |
|
6400 case `(set -o) 2>/dev/null` in #( |
|
6401 *posix*) : |
|
6402 set -o posix ;; #( |
|
6403 *) : |
|
6404 ;; |
|
6405 esac |
|
6406 fi |
|
6407 |
|
6408 |
|
6409 as_nl=' |
|
6410 ' |
|
6411 export as_nl |
|
6412 # Printing a long string crashes Solaris 7 /usr/bin/printf. |
|
6413 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
6414 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
|
6415 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|
6416 # Prefer a ksh shell builtin over an external printf program on Solaris, |
|
6417 # but without wasting forks for bash or zsh. |
|
6418 if test -z "$BASH_VERSION$ZSH_VERSION" \ |
|
6419 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
6420 as_echo='print -r --' |
|
6421 as_echo_n='print -rn --' |
|
6422 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
6423 as_echo='printf %s\n' |
|
6424 as_echo_n='printf %s' |
|
6425 else |
|
6426 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
6427 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
6428 as_echo_n='/usr/ucb/echo -n' |
|
6429 else |
|
6430 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
6431 as_echo_n_body='eval |
|
6432 arg=$1; |
|
6433 case $arg in #( |
|
6434 *"$as_nl"*) |
|
6435 expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
6436 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
6437 esac; |
|
6438 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
6439 ' |
|
6440 export as_echo_n_body |
|
6441 as_echo_n='sh -c $as_echo_n_body as_echo' |
|
6442 fi |
|
6443 export as_echo_body |
|
6444 as_echo='sh -c $as_echo_body as_echo' |
|
6445 fi |
|
6446 |
|
6447 # The user is always right. |
|
6448 if test "${PATH_SEPARATOR+set}" != set; then |
|
6449 PATH_SEPARATOR=: |
|
6450 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
6451 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
6452 PATH_SEPARATOR=';' |
|
6453 } |
|
6454 fi |
|
6455 |
|
6456 |
|
6457 # IFS |
|
6458 # We need space, tab and new line, in precisely that order. Quoting is |
|
6459 # there to prevent editors from complaining about space-tab. |
|
6460 # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
6461 # splitting by setting IFS to empty value.) |
|
6462 IFS=" "" $as_nl" |
|
6463 |
|
6464 # Find who we are. Look in the path if we contain no directory separator. |
|
6465 as_myself= |
|
6466 case $0 in #(( |
|
6467 *[\\/]* ) as_myself=$0 ;; |
|
6468 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6469 for as_dir in $PATH |
|
6470 do |
|
6471 IFS=$as_save_IFS |
|
6472 test -z "$as_dir" && as_dir=. |
|
6473 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
6474 done |
|
6475 IFS=$as_save_IFS |
|
6476 |
|
6477 ;; |
|
6478 esac |
|
6479 # We did not find ourselves, most probably we were run as `sh COMMAND' |
|
6480 # in which case we are not to be found in the path. |
|
6481 if test "x$as_myself" = x; then |
|
6482 as_myself=$0 |
|
6483 fi |
|
6484 if test ! -f "$as_myself"; then |
|
6485 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|
6486 exit 1 |
|
6487 fi |
|
6488 |
|
6489 # Unset variables that we do not need and which cause bugs (e.g. in |
|
6490 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
|
6491 # suppresses any "Segmentation fault" message there. '((' could |
|
6492 # trigger a bug in pdksh 5.2.14. |
|
6493 for as_var in BASH_ENV ENV MAIL MAILPATH |
|
6494 do eval test x\${$as_var+set} = xset \ |
|
6495 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
|
6496 done |
|
6497 PS1='$ ' |
|
6498 PS2='> ' |
|
6499 PS4='+ ' |
|
6500 |
|
6501 # NLS nuisances. |
|
6502 LC_ALL=C |
|
6503 export LC_ALL |
|
6504 LANGUAGE=C |
|
6505 export LANGUAGE |
|
6506 |
|
6507 # CDPATH. |
|
6508 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
6509 |
|
6510 |
|
6511 # as_fn_error STATUS ERROR [LINENO LOG_FD] |
|
6512 # ---------------------------------------- |
|
6513 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
|
6514 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
|
6515 # script with STATUS, using 1 if that was 0. |
|
6516 as_fn_error () |
|
6517 { |
|
6518 as_status=$1; test $as_status -eq 0 && as_status=1 |
|
6519 if test "$4"; then |
|
6520 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
6521 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
|
6522 fi |
|
6523 $as_echo "$as_me: error: $2" >&2 |
|
6524 as_fn_exit $as_status |
|
6525 } # as_fn_error |
|
6526 |
|
6527 |
|
6528 # as_fn_set_status STATUS |
|
6529 # ----------------------- |
|
6530 # Set $? to STATUS, without forking. |
|
6531 as_fn_set_status () |
|
6532 { |
|
6533 return $1 |
|
6534 } # as_fn_set_status |
|
6535 |
|
6536 # as_fn_exit STATUS |
|
6537 # ----------------- |
|
6538 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
|
6539 as_fn_exit () |
|
6540 { |
|
6541 set +e |
|
6542 as_fn_set_status $1 |
|
6543 exit $1 |
|
6544 } # as_fn_exit |
|
6545 |
|
6546 # as_fn_unset VAR |
|
6547 # --------------- |
|
6548 # Portably unset VAR. |
|
6549 as_fn_unset () |
|
6550 { |
|
6551 { eval $1=; unset $1;} |
|
6552 } |
|
6553 as_unset=as_fn_unset |
|
6554 # as_fn_append VAR VALUE |
|
6555 # ---------------------- |
|
6556 # Append the text in VALUE to the end of the definition contained in VAR. Take |
|
6557 # advantage of any shell optimizations that allow amortized linear growth over |
|
6558 # repeated appends, instead of the typical quadratic growth present in naive |
|
6559 # implementations. |
|
6560 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
|
6561 eval 'as_fn_append () |
|
6562 { |
|
6563 eval $1+=\$2 |
|
6564 }' |
|
6565 else |
|
6566 as_fn_append () |
|
6567 { |
|
6568 eval $1=\$$1\$2 |
|
6569 } |
|
6570 fi # as_fn_append |
|
6571 |
|
6572 # as_fn_arith ARG... |
|
6573 # ------------------ |
|
6574 # Perform arithmetic evaluation on the ARGs, and store the result in the |
|
6575 # global $as_val. Take advantage of shells that can avoid forks. The arguments |
|
6576 # must be portable across $(()) and expr. |
|
6577 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
|
6578 eval 'as_fn_arith () |
|
6579 { |
|
6580 as_val=$(( $* )) |
|
6581 }' |
|
6582 else |
|
6583 as_fn_arith () |
|
6584 { |
|
6585 as_val=`expr "$@" || test $? -eq 1` |
|
6586 } |
|
6587 fi # as_fn_arith |
|
6588 |
|
6589 |
|
6590 if expr a : '\(a\)' >/dev/null 2>&1 && |
|
6591 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
6592 as_expr=expr |
|
6593 else |
|
6594 as_expr=false |
|
6595 fi |
|
6596 |
|
6597 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|
6598 as_basename=basename |
|
6599 else |
|
6600 as_basename=false |
|
6601 fi |
|
6602 |
|
6603 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
6604 as_dirname=dirname |
|
6605 else |
|
6606 as_dirname=false |
|
6607 fi |
|
6608 |
|
6609 as_me=`$as_basename -- "$0" || |
|
6610 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
6611 X"$0" : 'X\(//\)$' \| \ |
|
6612 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|
6613 $as_echo X/"$0" | |
|
6614 sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|
6615 s//\1/ |
|
6616 q |
|
6617 } |
|
6618 /^X\/\(\/\/\)$/{ |
|
6619 s//\1/ |
|
6620 q |
|
6621 } |
|
6622 /^X\/\(\/\).*/{ |
|
6623 s//\1/ |
|
6624 q |
|
6625 } |
|
6626 s/.*/./; q'` |
|
6627 |
|
6628 # Avoid depending upon Character Ranges. |
|
6629 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
6630 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
6631 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
6632 as_cr_digits='0123456789' |
|
6633 as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
6634 |
|
6635 ECHO_C= ECHO_N= ECHO_T= |
|
6636 case `echo -n x` in #((((( |
|
6637 -n*) |
|
6638 case `echo 'xy\c'` in |
|
6639 *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
6640 xy) ECHO_C='\c';; |
|
6641 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
|
6642 ECHO_T=' ';; |
|
6643 esac;; |
|
6644 *) |
|
6645 ECHO_N='-n';; |
|
6646 esac |
|
6647 |
|
6648 rm -f conf$$ conf$$.exe conf$$.file |
|
6649 if test -d conf$$.dir; then |
|
6650 rm -f conf$$.dir/conf$$.file |
|
6651 else |
|
6652 rm -f conf$$.dir |
|
6653 mkdir conf$$.dir 2>/dev/null |
|
6654 fi |
|
6655 if (echo >conf$$.file) 2>/dev/null; then |
|
6656 if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
6657 as_ln_s='ln -s' |
|
6658 # ... but there are two gotchas: |
|
6659 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|
6660 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
6661 # In both cases, we have to default to `cp -p'. |
|
6662 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
6663 as_ln_s='cp -p' |
|
6664 elif ln conf$$.file conf$$ 2>/dev/null; then |
|
6665 as_ln_s=ln |
|
6666 else |
|
6667 as_ln_s='cp -p' |
|
6668 fi |
|
6669 else |
|
6670 as_ln_s='cp -p' |
|
6671 fi |
|
6672 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|
6673 rmdir conf$$.dir 2>/dev/null |
|
6674 |
|
6675 |
|
6676 # as_fn_mkdir_p |
|
6677 # ------------- |
|
6678 # Create "$as_dir" as a directory, including parents if necessary. |
|
6679 as_fn_mkdir_p () |
|
6680 { |
|
6681 |
|
6682 case $as_dir in #( |
|
6683 -*) as_dir=./$as_dir;; |
|
6684 esac |
|
6685 test -d "$as_dir" || eval $as_mkdir_p || { |
|
6686 as_dirs= |
|
6687 while :; do |
|
6688 case $as_dir in #( |
|
6689 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|
6690 *) as_qdir=$as_dir;; |
|
6691 esac |
|
6692 as_dirs="'$as_qdir' $as_dirs" |
|
6693 as_dir=`$as_dirname -- "$as_dir" || |
|
6694 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
6695 X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
6696 X"$as_dir" : 'X\(//\)$' \| \ |
|
6697 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
6698 $as_echo X"$as_dir" | |
|
6699 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
6700 s//\1/ |
|
6701 q |
|
6702 } |
|
6703 /^X\(\/\/\)[^/].*/{ |
|
6704 s//\1/ |
|
6705 q |
|
6706 } |
|
6707 /^X\(\/\/\)$/{ |
|
6708 s//\1/ |
|
6709 q |
|
6710 } |
|
6711 /^X\(\/\).*/{ |
|
6712 s//\1/ |
|
6713 q |
|
6714 } |
|
6715 s/.*/./; q'` |
|
6716 test -d "$as_dir" && break |
|
6717 done |
|
6718 test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
6719 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
|
6720 |
|
6721 |
|
6722 } # as_fn_mkdir_p |
|
6723 if mkdir -p . 2>/dev/null; then |
|
6724 as_mkdir_p='mkdir -p "$as_dir"' |
|
6725 else |
|
6726 test -d ./-p && rmdir ./-p |
|
6727 as_mkdir_p=false |
|
6728 fi |
|
6729 |
|
6730 if test -x / >/dev/null 2>&1; then |
|
6731 as_test_x='test -x' |
|
6732 else |
|
6733 if ls -dL / >/dev/null 2>&1; then |
|
6734 as_ls_L_option=L |
|
6735 else |
|
6736 as_ls_L_option= |
|
6737 fi |
|
6738 as_test_x=' |
|
6739 eval sh -c '\'' |
|
6740 if test -d "$1"; then |
|
6741 test -d "$1/."; |
|
6742 else |
|
6743 case $1 in #( |
|
6744 -*)set "./$1";; |
|
6745 esac; |
|
6746 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
6747 ???[sx]*):;;*)false;;esac;fi |
|
6748 '\'' sh |
|
6749 ' |
|
6750 fi |
|
6751 as_executable_p=$as_test_x |
|
6752 |
|
6753 # Sed expression to map a string onto a valid CPP name. |
|
6754 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
6755 |
|
6756 # Sed expression to map a string onto a valid variable name. |
|
6757 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
6758 |
|
6759 |
|
6760 exec 6>&1 |
|
6761 ## ----------------------------------- ## |
|
6762 ## Main body of $CONFIG_STATUS script. ## |
|
6763 ## ----------------------------------- ## |
|
6764 _ASEOF |
|
6765 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
|
6766 |
|
6767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
6768 # Save the log message, to keep $0 and so on meaningful, and to |
|
6769 # report actual input values of CONFIG_FILES etc. instead of their |
|
6770 # values after options handling. |
|
6771 ac_log=" |
|
6772 This file was extended by breakpad $as_me 0.1, which was |
|
6773 generated by GNU Autoconf 2.68. Invocation command line was |
|
6774 |
|
6775 CONFIG_FILES = $CONFIG_FILES |
|
6776 CONFIG_HEADERS = $CONFIG_HEADERS |
|
6777 CONFIG_LINKS = $CONFIG_LINKS |
|
6778 CONFIG_COMMANDS = $CONFIG_COMMANDS |
|
6779 $ $0 $@ |
|
6780 |
|
6781 on `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
6782 " |
|
6783 |
|
6784 _ACEOF |
|
6785 |
|
6786 case $ac_config_files in *" |
|
6787 "*) set x $ac_config_files; shift; ac_config_files=$*;; |
|
6788 esac |
|
6789 |
|
6790 case $ac_config_headers in *" |
|
6791 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
|
6792 esac |
|
6793 |
|
6794 |
|
6795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
6796 # Files that config.status was made for. |
|
6797 config_files="$ac_config_files" |
|
6798 config_headers="$ac_config_headers" |
|
6799 config_commands="$ac_config_commands" |
|
6800 |
|
6801 _ACEOF |
|
6802 |
|
6803 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
6804 ac_cs_usage="\ |
|
6805 \`$as_me' instantiates files and other configuration actions |
|
6806 from templates according to the current configuration. Unless the files |
|
6807 and actions are specified as TAGs, all are instantiated by default. |
|
6808 |
|
6809 Usage: $0 [OPTION]... [TAG]... |
|
6810 |
|
6811 -h, --help print this help, then exit |
|
6812 -V, --version print version number and configuration settings, then exit |
|
6813 --config print configuration, then exit |
|
6814 -q, --quiet, --silent |
|
6815 do not print progress messages |
|
6816 -d, --debug don't remove temporary files |
|
6817 --recheck update $as_me by reconfiguring in the same conditions |
|
6818 --file=FILE[:TEMPLATE] |
|
6819 instantiate the configuration file FILE |
|
6820 --header=FILE[:TEMPLATE] |
|
6821 instantiate the configuration header FILE |
|
6822 |
|
6823 Configuration files: |
|
6824 $config_files |
|
6825 |
|
6826 Configuration headers: |
|
6827 $config_headers |
|
6828 |
|
6829 Configuration commands: |
|
6830 $config_commands |
|
6831 |
|
6832 Report bugs to <google-breakpad-dev@googlegroups.com>." |
|
6833 |
|
6834 _ACEOF |
|
6835 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
6836 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
|
6837 ac_cs_version="\\ |
|
6838 breakpad config.status 0.1 |
|
6839 configured by $0, generated by GNU Autoconf 2.68, |
|
6840 with options \\"\$ac_cs_config\\" |
|
6841 |
|
6842 Copyright (C) 2010 Free Software Foundation, Inc. |
|
6843 This config.status script is free software; the Free Software Foundation |
|
6844 gives unlimited permission to copy, distribute and modify it." |
|
6845 |
|
6846 ac_pwd='$ac_pwd' |
|
6847 srcdir='$srcdir' |
|
6848 INSTALL='$INSTALL' |
|
6849 MKDIR_P='$MKDIR_P' |
|
6850 AWK='$AWK' |
|
6851 test -n "\$AWK" || AWK=awk |
|
6852 _ACEOF |
|
6853 |
|
6854 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
6855 # The default lists apply if the user does not specify any file. |
|
6856 ac_need_defaults=: |
|
6857 while test $# != 0 |
|
6858 do |
|
6859 case $1 in |
|
6860 --*=?*) |
|
6861 ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
6862 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
|
6863 ac_shift=: |
|
6864 ;; |
|
6865 --*=) |
|
6866 ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
6867 ac_optarg= |
|
6868 ac_shift=: |
|
6869 ;; |
|
6870 *) |
|
6871 ac_option=$1 |
|
6872 ac_optarg=$2 |
|
6873 ac_shift=shift |
|
6874 ;; |
|
6875 esac |
|
6876 |
|
6877 case $ac_option in |
|
6878 # Handling of the options. |
|
6879 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
|
6880 ac_cs_recheck=: ;; |
|
6881 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
|
6882 $as_echo "$ac_cs_version"; exit ;; |
|
6883 --config | --confi | --conf | --con | --co | --c ) |
|
6884 $as_echo "$ac_cs_config"; exit ;; |
|
6885 --debug | --debu | --deb | --de | --d | -d ) |
|
6886 debug=: ;; |
|
6887 --file | --fil | --fi | --f ) |
|
6888 $ac_shift |
|
6889 case $ac_optarg in |
|
6890 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
6891 '') as_fn_error $? "missing file argument" ;; |
|
6892 esac |
|
6893 as_fn_append CONFIG_FILES " '$ac_optarg'" |
|
6894 ac_need_defaults=false;; |
|
6895 --header | --heade | --head | --hea ) |
|
6896 $ac_shift |
|
6897 case $ac_optarg in |
|
6898 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
6899 esac |
|
6900 as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
|
6901 ac_need_defaults=false;; |
|
6902 --he | --h) |
|
6903 # Conflict between --help and --header |
|
6904 as_fn_error $? "ambiguous option: \`$1' |
|
6905 Try \`$0 --help' for more information.";; |
|
6906 --help | --hel | -h ) |
|
6907 $as_echo "$ac_cs_usage"; exit ;; |
|
6908 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
6909 | -silent | --silent | --silen | --sile | --sil | --si | --s) |
|
6910 ac_cs_silent=: ;; |
|
6911 |
|
6912 # This is an error. |
|
6913 -*) as_fn_error $? "unrecognized option: \`$1' |
|
6914 Try \`$0 --help' for more information." ;; |
|
6915 |
|
6916 *) as_fn_append ac_config_targets " $1" |
|
6917 ac_need_defaults=false ;; |
|
6918 |
|
6919 esac |
|
6920 shift |
|
6921 done |
|
6922 |
|
6923 ac_configure_extra_args= |
|
6924 |
|
6925 if $ac_cs_silent; then |
|
6926 exec 6>/dev/null |
|
6927 ac_configure_extra_args="$ac_configure_extra_args --silent" |
|
6928 fi |
|
6929 |
|
6930 _ACEOF |
|
6931 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
6932 if \$ac_cs_recheck; then |
|
6933 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
|
6934 shift |
|
6935 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
|
6936 CONFIG_SHELL='$SHELL' |
|
6937 export CONFIG_SHELL |
|
6938 exec "\$@" |
|
6939 fi |
|
6940 |
|
6941 _ACEOF |
|
6942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
6943 exec 5>>config.log |
|
6944 { |
|
6945 echo |
|
6946 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
|
6947 ## Running $as_me. ## |
|
6948 _ASBOX |
|
6949 $as_echo "$ac_log" |
|
6950 } >&5 |
|
6951 |
|
6952 _ACEOF |
|
6953 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
6954 # |
|
6955 # INIT-COMMANDS |
|
6956 # |
|
6957 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
|
6958 |
|
6959 _ACEOF |
|
6960 |
|
6961 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
6962 |
|
6963 # Handling of arguments. |
|
6964 for ac_config_target in $ac_config_targets |
|
6965 do |
|
6966 case $ac_config_target in |
|
6967 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; |
|
6968 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
|
6969 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
|
6970 |
|
6971 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
|
6972 esac |
|
6973 done |
|
6974 |
|
6975 |
|
6976 # If the user did not use the arguments to specify the items to instantiate, |
|
6977 # then the envvar interface is used. Set only those that are not. |
|
6978 # We use the long form for the default assignment because of an extremely |
|
6979 # bizarre bug on SunOS 4.1.3. |
|
6980 if $ac_need_defaults; then |
|
6981 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
|
6982 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
|
6983 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
|
6984 fi |
|
6985 |
|
6986 # Have a temporary directory for convenience. Make it in the build tree |
|
6987 # simply because there is no reason against having it here, and in addition, |
|
6988 # creating and moving files from /tmp can sometimes cause problems. |
|
6989 # Hook for its removal unless debugging. |
|
6990 # Note that there is a small window in which the directory will not be cleaned: |
|
6991 # after its creation but before its name has been assigned to `$tmp'. |
|
6992 $debug || |
|
6993 { |
|
6994 tmp= ac_tmp= |
|
6995 trap 'exit_status=$? |
|
6996 : "${ac_tmp:=$tmp}" |
|
6997 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
|
6998 ' 0 |
|
6999 trap 'as_fn_exit 1' 1 2 13 15 |
|
7000 } |
|
7001 # Create a (secure) tmp directory for tmp files. |
|
7002 |
|
7003 { |
|
7004 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
|
7005 test -d "$tmp" |
|
7006 } || |
|
7007 { |
|
7008 tmp=./conf$$-$RANDOM |
|
7009 (umask 077 && mkdir "$tmp") |
|
7010 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
|
7011 ac_tmp=$tmp |
|
7012 |
|
7013 # Set up the scripts for CONFIG_FILES section. |
|
7014 # No need to generate them if there are no CONFIG_FILES. |
|
7015 # This happens for instance with `./config.status config.h'. |
|
7016 if test -n "$CONFIG_FILES"; then |
|
7017 |
|
7018 |
|
7019 ac_cr=`echo X | tr X '\015'` |
|
7020 # On cygwin, bash can eat \r inside `` if the user requested igncr. |
|
7021 # But we know of no other shell where ac_cr would be empty at this |
|
7022 # point, so we can use a bashism as a fallback. |
|
7023 if test "x$ac_cr" = x; then |
|
7024 eval ac_cr=\$\'\\r\' |
|
7025 fi |
|
7026 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
|
7027 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
|
7028 ac_cs_awk_cr='\\r' |
|
7029 else |
|
7030 ac_cs_awk_cr=$ac_cr |
|
7031 fi |
|
7032 |
|
7033 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
|
7034 _ACEOF |
|
7035 |
|
7036 |
|
7037 { |
|
7038 echo "cat >conf$$subs.awk <<_ACEOF" && |
|
7039 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
|
7040 echo "_ACEOF" |
|
7041 } >conf$$subs.sh || |
|
7042 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
|
7043 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
|
7044 ac_delim='%!_!# ' |
|
7045 for ac_last_try in false false false false false :; do |
|
7046 . ./conf$$subs.sh || |
|
7047 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
|
7048 |
|
7049 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
|
7050 if test $ac_delim_n = $ac_delim_num; then |
|
7051 break |
|
7052 elif $ac_last_try; then |
|
7053 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
|
7054 else |
|
7055 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
7056 fi |
|
7057 done |
|
7058 rm -f conf$$subs.sh |
|
7059 |
|
7060 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
7061 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
|
7062 _ACEOF |
|
7063 sed -n ' |
|
7064 h |
|
7065 s/^/S["/; s/!.*/"]=/ |
|
7066 p |
|
7067 g |
|
7068 s/^[^!]*!// |
|
7069 :repl |
|
7070 t repl |
|
7071 s/'"$ac_delim"'$// |
|
7072 t delim |
|
7073 :nl |
|
7074 h |
|
7075 s/\(.\{148\}\)..*/\1/ |
|
7076 t more1 |
|
7077 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
|
7078 p |
|
7079 n |
|
7080 b repl |
|
7081 :more1 |
|
7082 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
7083 p |
|
7084 g |
|
7085 s/.\{148\}// |
|
7086 t nl |
|
7087 :delim |
|
7088 h |
|
7089 s/\(.\{148\}\)..*/\1/ |
|
7090 t more2 |
|
7091 s/["\\]/\\&/g; s/^/"/; s/$/"/ |
|
7092 p |
|
7093 b |
|
7094 :more2 |
|
7095 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
7096 p |
|
7097 g |
|
7098 s/.\{148\}// |
|
7099 t delim |
|
7100 ' <conf$$subs.awk | sed ' |
|
7101 /^[^""]/{ |
|
7102 N |
|
7103 s/\n// |
|
7104 } |
|
7105 ' >>$CONFIG_STATUS || ac_write_fail=1 |
|
7106 rm -f conf$$subs.awk |
|
7107 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
7108 _ACAWK |
|
7109 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
|
7110 for (key in S) S_is_set[key] = 1 |
|
7111 FS = "" |
|
7112 |
|
7113 } |
|
7114 { |
|
7115 line = $ 0 |
|
7116 nfields = split(line, field, "@") |
|
7117 substed = 0 |
|
7118 len = length(field[1]) |
|
7119 for (i = 2; i < nfields; i++) { |
|
7120 key = field[i] |
|
7121 keylen = length(key) |
|
7122 if (S_is_set[key]) { |
|
7123 value = S[key] |
|
7124 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
|
7125 len += length(value) + length(field[++i]) |
|
7126 substed = 1 |
|
7127 } else |
|
7128 len += 1 + keylen |
|
7129 } |
|
7130 |
|
7131 print line |
|
7132 } |
|
7133 |
|
7134 _ACAWK |
|
7135 _ACEOF |
|
7136 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
7137 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
|
7138 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
|
7139 else |
|
7140 cat |
|
7141 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
|
7142 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
|
7143 _ACEOF |
|
7144 |
|
7145 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
|
7146 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
|
7147 # trailing colons and then remove the whole line if VPATH becomes empty |
|
7148 # (actually we leave an empty line to preserve line numbers). |
|
7149 if test "x$srcdir" = x.; then |
|
7150 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
|
7151 h |
|
7152 s/// |
|
7153 s/^/:/ |
|
7154 s/[ ]*$/:/ |
|
7155 s/:\$(srcdir):/:/g |
|
7156 s/:\${srcdir}:/:/g |
|
7157 s/:@srcdir@:/:/g |
|
7158 s/^:*// |
|
7159 s/:*$// |
|
7160 x |
|
7161 s/\(=[ ]*\).*/\1/ |
|
7162 G |
|
7163 s/\n// |
|
7164 s/^[^=]*=[ ]*$// |
|
7165 }' |
|
7166 fi |
|
7167 |
|
7168 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
7169 fi # test -n "$CONFIG_FILES" |
|
7170 |
|
7171 # Set up the scripts for CONFIG_HEADERS section. |
|
7172 # No need to generate them if there are no CONFIG_HEADERS. |
|
7173 # This happens for instance with `./config.status Makefile'. |
|
7174 if test -n "$CONFIG_HEADERS"; then |
|
7175 cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
|
7176 BEGIN { |
|
7177 _ACEOF |
|
7178 |
|
7179 # Transform confdefs.h into an awk script `defines.awk', embedded as |
|
7180 # here-document in config.status, that substitutes the proper values into |
|
7181 # config.h.in to produce config.h. |
|
7182 |
|
7183 # Create a delimiter string that does not exist in confdefs.h, to ease |
|
7184 # handling of long lines. |
|
7185 ac_delim='%!_!# ' |
|
7186 for ac_last_try in false false :; do |
|
7187 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
|
7188 if test -z "$ac_tt"; then |
|
7189 break |
|
7190 elif $ac_last_try; then |
|
7191 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
|
7192 else |
|
7193 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
7194 fi |
|
7195 done |
|
7196 |
|
7197 # For the awk script, D is an array of macro values keyed by name, |
|
7198 # likewise P contains macro parameters if any. Preserve backslash |
|
7199 # newline sequences. |
|
7200 |
|
7201 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
|
7202 sed -n ' |
|
7203 s/.\{148\}/&'"$ac_delim"'/g |
|
7204 t rset |
|
7205 :rset |
|
7206 s/^[ ]*#[ ]*define[ ][ ]*/ / |
|
7207 t def |
|
7208 d |
|
7209 :def |
|
7210 s/\\$// |
|
7211 t bsnl |
|
7212 s/["\\]/\\&/g |
|
7213 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
7214 D["\1"]=" \3"/p |
|
7215 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
|
7216 d |
|
7217 :bsnl |
|
7218 s/["\\]/\\&/g |
|
7219 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
7220 D["\1"]=" \3\\\\\\n"\\/p |
|
7221 t cont |
|
7222 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
|
7223 t cont |
|
7224 d |
|
7225 :cont |
|
7226 n |
|
7227 s/.\{148\}/&'"$ac_delim"'/g |
|
7228 t clear |
|
7229 :clear |
|
7230 s/\\$// |
|
7231 t bsnlc |
|
7232 s/["\\]/\\&/g; s/^/"/; s/$/"/p |
|
7233 d |
|
7234 :bsnlc |
|
7235 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
|
7236 b cont |
|
7237 ' <confdefs.h | sed ' |
|
7238 s/'"$ac_delim"'/"\\\ |
|
7239 "/g' >>$CONFIG_STATUS || ac_write_fail=1 |
|
7240 |
|
7241 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
7242 for (key in D) D_is_set[key] = 1 |
|
7243 FS = "" |
|
7244 } |
|
7245 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
|
7246 line = \$ 0 |
|
7247 split(line, arg, " ") |
|
7248 if (arg[1] == "#") { |
|
7249 defundef = arg[2] |
|
7250 mac1 = arg[3] |
|
7251 } else { |
|
7252 defundef = substr(arg[1], 2) |
|
7253 mac1 = arg[2] |
|
7254 } |
|
7255 split(mac1, mac2, "(") #) |
|
7256 macro = mac2[1] |
|
7257 prefix = substr(line, 1, index(line, defundef) - 1) |
|
7258 if (D_is_set[macro]) { |
|
7259 # Preserve the white space surrounding the "#". |
|
7260 print prefix "define", macro P[macro] D[macro] |
|
7261 next |
|
7262 } else { |
|
7263 # Replace #undef with comments. This is necessary, for example, |
|
7264 # in the case of _POSIX_SOURCE, which is predefined and required |
|
7265 # on some systems where configure will not decide to define it. |
|
7266 if (defundef == "undef") { |
|
7267 print "/*", prefix defundef, macro, "*/" |
|
7268 next |
|
7269 } |
|
7270 } |
|
7271 } |
|
7272 { print } |
|
7273 _ACAWK |
|
7274 _ACEOF |
|
7275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
7276 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
|
7277 fi # test -n "$CONFIG_HEADERS" |
|
7278 |
|
7279 |
|
7280 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
|
7281 shift |
|
7282 for ac_tag |
|
7283 do |
|
7284 case $ac_tag in |
|
7285 :[FHLC]) ac_mode=$ac_tag; continue;; |
|
7286 esac |
|
7287 case $ac_mode$ac_tag in |
|
7288 :[FHL]*:*);; |
|
7289 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
|
7290 :[FH]-) ac_tag=-:-;; |
|
7291 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
|
7292 esac |
|
7293 ac_save_IFS=$IFS |
|
7294 IFS=: |
|
7295 set x $ac_tag |
|
7296 IFS=$ac_save_IFS |
|
7297 shift |
|
7298 ac_file=$1 |
|
7299 shift |
|
7300 |
|
7301 case $ac_mode in |
|
7302 :L) ac_source=$1;; |
|
7303 :[FH]) |
|
7304 ac_file_inputs= |
|
7305 for ac_f |
|
7306 do |
|
7307 case $ac_f in |
|
7308 -) ac_f="$ac_tmp/stdin";; |
|
7309 *) # Look for the file first in the build tree, then in the source tree |
|
7310 # (if the path is not absolute). The absolute path cannot be DOS-style, |
|
7311 # because $ac_f cannot contain `:'. |
|
7312 test -f "$ac_f" || |
|
7313 case $ac_f in |
|
7314 [\\/$]*) false;; |
|
7315 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
|
7316 esac || |
|
7317 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
|
7318 esac |
|
7319 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
|
7320 as_fn_append ac_file_inputs " '$ac_f'" |
|
7321 done |
|
7322 |
|
7323 # Let's still pretend it is `configure' which instantiates (i.e., don't |
|
7324 # use $as_me), people would be surprised to read: |
|
7325 # /* config.h. Generated by config.status. */ |
|
7326 configure_input='Generated from '` |
|
7327 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
|
7328 `' by configure.' |
|
7329 if test x"$ac_file" != x-; then |
|
7330 configure_input="$ac_file. $configure_input" |
|
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
|
7332 $as_echo "$as_me: creating $ac_file" >&6;} |
|
7333 fi |
|
7334 # Neutralize special characters interpreted by sed in replacement strings. |
|
7335 case $configure_input in #( |
|
7336 *\&* | *\|* | *\\* ) |
|
7337 ac_sed_conf_input=`$as_echo "$configure_input" | |
|
7338 sed 's/[\\\\&|]/\\\\&/g'`;; #( |
|
7339 *) ac_sed_conf_input=$configure_input;; |
|
7340 esac |
|
7341 |
|
7342 case $ac_tag in |
|
7343 *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
|
7344 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
|
7345 esac |
|
7346 ;; |
|
7347 esac |
|
7348 |
|
7349 ac_dir=`$as_dirname -- "$ac_file" || |
|
7350 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
7351 X"$ac_file" : 'X\(//\)[^/]' \| \ |
|
7352 X"$ac_file" : 'X\(//\)$' \| \ |
|
7353 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
|
7354 $as_echo X"$ac_file" | |
|
7355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
7356 s//\1/ |
|
7357 q |
|
7358 } |
|
7359 /^X\(\/\/\)[^/].*/{ |
|
7360 s//\1/ |
|
7361 q |
|
7362 } |
|
7363 /^X\(\/\/\)$/{ |
|
7364 s//\1/ |
|
7365 q |
|
7366 } |
|
7367 /^X\(\/\).*/{ |
|
7368 s//\1/ |
|
7369 q |
|
7370 } |
|
7371 s/.*/./; q'` |
|
7372 as_dir="$ac_dir"; as_fn_mkdir_p |
|
7373 ac_builddir=. |
|
7374 |
|
7375 case "$ac_dir" in |
|
7376 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
7377 *) |
|
7378 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
|
7379 # A ".." for each directory in $ac_dir_suffix. |
|
7380 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
|
7381 case $ac_top_builddir_sub in |
|
7382 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
7383 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
7384 esac ;; |
|
7385 esac |
|
7386 ac_abs_top_builddir=$ac_pwd |
|
7387 ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
7388 # for backward compatibility: |
|
7389 ac_top_builddir=$ac_top_build_prefix |
|
7390 |
|
7391 case $srcdir in |
|
7392 .) # We are building in place. |
|
7393 ac_srcdir=. |
|
7394 ac_top_srcdir=$ac_top_builddir_sub |
|
7395 ac_abs_top_srcdir=$ac_pwd ;; |
|
7396 [\\/]* | ?:[\\/]* ) # Absolute name. |
|
7397 ac_srcdir=$srcdir$ac_dir_suffix; |
|
7398 ac_top_srcdir=$srcdir |
|
7399 ac_abs_top_srcdir=$srcdir ;; |
|
7400 *) # Relative name. |
|
7401 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
7402 ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
7403 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
7404 esac |
|
7405 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
7406 |
|
7407 |
|
7408 case $ac_mode in |
|
7409 :F) |
|
7410 # |
|
7411 # CONFIG_FILE |
|
7412 # |
|
7413 |
|
7414 case $INSTALL in |
|
7415 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
|
7416 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
|
7417 esac |
|
7418 ac_MKDIR_P=$MKDIR_P |
|
7419 case $MKDIR_P in |
|
7420 [\\/$]* | ?:[\\/]* ) ;; |
|
7421 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
|
7422 esac |
|
7423 _ACEOF |
|
7424 |
|
7425 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
7426 # If the template does not know about datarootdir, expand it. |
|
7427 # FIXME: This hack should be removed a few years after 2.60. |
|
7428 ac_datarootdir_hack=; ac_datarootdir_seen= |
|
7429 ac_sed_dataroot=' |
|
7430 /datarootdir/ { |
|
7431 p |
|
7432 q |
|
7433 } |
|
7434 /@datadir@/p |
|
7435 /@docdir@/p |
|
7436 /@infodir@/p |
|
7437 /@localedir@/p |
|
7438 /@mandir@/p' |
|
7439 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
|
7440 *datarootdir*) ac_datarootdir_seen=yes;; |
|
7441 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
|
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
|
7443 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
|
7444 _ACEOF |
|
7445 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
7446 ac_datarootdir_hack=' |
|
7447 s&@datadir@&$datadir&g |
|
7448 s&@docdir@&$docdir&g |
|
7449 s&@infodir@&$infodir&g |
|
7450 s&@localedir@&$localedir&g |
|
7451 s&@mandir@&$mandir&g |
|
7452 s&\\\${datarootdir}&$datarootdir&g' ;; |
|
7453 esac |
|
7454 _ACEOF |
|
7455 |
|
7456 # Neutralize VPATH when `$srcdir' = `.'. |
|
7457 # Shell code in configure.ac might set extrasub. |
|
7458 # FIXME: do we really want to maintain this feature? |
|
7459 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
7460 ac_sed_extra="$ac_vpsub |
|
7461 $extrasub |
|
7462 _ACEOF |
|
7463 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
7464 :t |
|
7465 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
|
7466 s|@configure_input@|$ac_sed_conf_input|;t t |
|
7467 s&@top_builddir@&$ac_top_builddir_sub&;t t |
|
7468 s&@top_build_prefix@&$ac_top_build_prefix&;t t |
|
7469 s&@srcdir@&$ac_srcdir&;t t |
|
7470 s&@abs_srcdir@&$ac_abs_srcdir&;t t |
|
7471 s&@top_srcdir@&$ac_top_srcdir&;t t |
|
7472 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
|
7473 s&@builddir@&$ac_builddir&;t t |
|
7474 s&@abs_builddir@&$ac_abs_builddir&;t t |
|
7475 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
|
7476 s&@INSTALL@&$ac_INSTALL&;t t |
|
7477 s&@MKDIR_P@&$ac_MKDIR_P&;t t |
|
7478 $ac_datarootdir_hack |
|
7479 " |
|
7480 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
|
7481 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
7482 |
|
7483 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
|
7484 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
|
7485 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
|
7486 "$ac_tmp/out"`; test -z "$ac_out"; } && |
|
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|
7488 which seems to be undefined. Please make sure it is defined" >&5 |
|
7489 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|
7490 which seems to be undefined. Please make sure it is defined" >&2;} |
|
7491 |
|
7492 rm -f "$ac_tmp/stdin" |
|
7493 case $ac_file in |
|
7494 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
|
7495 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
|
7496 esac \ |
|
7497 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
7498 ;; |
|
7499 :H) |
|
7500 # |
|
7501 # CONFIG_HEADER |
|
7502 # |
|
7503 if test x"$ac_file" != x-; then |
|
7504 { |
|
7505 $as_echo "/* $configure_input */" \ |
|
7506 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
|
7507 } >"$ac_tmp/config.h" \ |
|
7508 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
7509 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
|
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
|
7511 $as_echo "$as_me: $ac_file is unchanged" >&6;} |
|
7512 else |
|
7513 rm -f "$ac_file" |
|
7514 mv "$ac_tmp/config.h" "$ac_file" \ |
|
7515 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
7516 fi |
|
7517 else |
|
7518 $as_echo "/* $configure_input */" \ |
|
7519 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
|
7520 || as_fn_error $? "could not create -" "$LINENO" 5 |
|
7521 fi |
|
7522 # Compute "$ac_file"'s index in $config_headers. |
|
7523 _am_arg="$ac_file" |
|
7524 _am_stamp_count=1 |
|
7525 for _am_header in $config_headers :; do |
|
7526 case $_am_header in |
|
7527 $_am_arg | $_am_arg:* ) |
|
7528 break ;; |
|
7529 * ) |
|
7530 _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
|
7531 esac |
|
7532 done |
|
7533 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
|
7534 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
7535 X"$_am_arg" : 'X\(//\)[^/]' \| \ |
|
7536 X"$_am_arg" : 'X\(//\)$' \| \ |
|
7537 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
|
7538 $as_echo X"$_am_arg" | |
|
7539 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
7540 s//\1/ |
|
7541 q |
|
7542 } |
|
7543 /^X\(\/\/\)[^/].*/{ |
|
7544 s//\1/ |
|
7545 q |
|
7546 } |
|
7547 /^X\(\/\/\)$/{ |
|
7548 s//\1/ |
|
7549 q |
|
7550 } |
|
7551 /^X\(\/\).*/{ |
|
7552 s//\1/ |
|
7553 q |
|
7554 } |
|
7555 s/.*/./; q'`/stamp-h$_am_stamp_count |
|
7556 ;; |
|
7557 |
|
7558 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
|
7559 $as_echo "$as_me: executing $ac_file commands" >&6;} |
|
7560 ;; |
|
7561 esac |
|
7562 |
|
7563 |
|
7564 case $ac_file$ac_mode in |
|
7565 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
|
7566 # Autoconf 2.62 quotes --file arguments for eval, but not when files |
|
7567 # are listed without --file. Let's play safe and only enable the eval |
|
7568 # if we detect the quoting. |
|
7569 case $CONFIG_FILES in |
|
7570 *\'*) eval set x "$CONFIG_FILES" ;; |
|
7571 *) set x $CONFIG_FILES ;; |
|
7572 esac |
|
7573 shift |
|
7574 for mf |
|
7575 do |
|
7576 # Strip MF so we end up with the name of the file. |
|
7577 mf=`echo "$mf" | sed -e 's/:.*$//'` |
|
7578 # Check whether this is an Automake generated Makefile or not. |
|
7579 # We used to match only the files named `Makefile.in', but |
|
7580 # some people rename them; so instead we look at the file content. |
|
7581 # Grep'ing the first line is not enough: some people post-process |
|
7582 # each Makefile.in and add a new line on top of each file to say so. |
|
7583 # Grep'ing the whole file is not good either: AIX grep has a line |
|
7584 # limit of 2048, but all sed's we know have understand at least 4000. |
|
7585 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
|
7586 dirpart=`$as_dirname -- "$mf" || |
|
7587 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
7588 X"$mf" : 'X\(//\)[^/]' \| \ |
|
7589 X"$mf" : 'X\(//\)$' \| \ |
|
7590 X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
|
7591 $as_echo X"$mf" | |
|
7592 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
7593 s//\1/ |
|
7594 q |
|
7595 } |
|
7596 /^X\(\/\/\)[^/].*/{ |
|
7597 s//\1/ |
|
7598 q |
|
7599 } |
|
7600 /^X\(\/\/\)$/{ |
|
7601 s//\1/ |
|
7602 q |
|
7603 } |
|
7604 /^X\(\/\).*/{ |
|
7605 s//\1/ |
|
7606 q |
|
7607 } |
|
7608 s/.*/./; q'` |
|
7609 else |
|
7610 continue |
|
7611 fi |
|
7612 # Extract the definition of DEPDIR, am__include, and am__quote |
|
7613 # from the Makefile without running `make'. |
|
7614 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
|
7615 test -z "$DEPDIR" && continue |
|
7616 am__include=`sed -n 's/^am__include = //p' < "$mf"` |
|
7617 test -z "am__include" && continue |
|
7618 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
|
7619 # When using ansi2knr, U may be empty or an underscore; expand it |
|
7620 U=`sed -n 's/^U = //p' < "$mf"` |
|
7621 # Find all dependency output files, they are included files with |
|
7622 # $(DEPDIR) in their names. We invoke sed twice because it is the |
|
7623 # simplest approach to changing $(DEPDIR) to its actual value in the |
|
7624 # expansion. |
|
7625 for file in `sed -n " |
|
7626 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
|
7627 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
|
7628 # Make sure the directory exists. |
|
7629 test -f "$dirpart/$file" && continue |
|
7630 fdir=`$as_dirname -- "$file" || |
|
7631 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
7632 X"$file" : 'X\(//\)[^/]' \| \ |
|
7633 X"$file" : 'X\(//\)$' \| \ |
|
7634 X"$file" : 'X\(/\)' \| . 2>/dev/null || |
|
7635 $as_echo X"$file" | |
|
7636 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
7637 s//\1/ |
|
7638 q |
|
7639 } |
|
7640 /^X\(\/\/\)[^/].*/{ |
|
7641 s//\1/ |
|
7642 q |
|
7643 } |
|
7644 /^X\(\/\/\)$/{ |
|
7645 s//\1/ |
|
7646 q |
|
7647 } |
|
7648 /^X\(\/\).*/{ |
|
7649 s//\1/ |
|
7650 q |
|
7651 } |
|
7652 s/.*/./; q'` |
|
7653 as_dir=$dirpart/$fdir; as_fn_mkdir_p |
|
7654 # echo "creating $dirpart/$file" |
|
7655 echo '# dummy' > "$dirpart/$file" |
|
7656 done |
|
7657 done |
|
7658 } |
|
7659 ;; |
|
7660 |
|
7661 esac |
|
7662 done # for ac_tag |
|
7663 |
|
7664 |
|
7665 as_fn_exit 0 |
|
7666 _ACEOF |
|
7667 ac_clean_files=$ac_clean_files_save |
|
7668 |
|
7669 test $ac_write_fail = 0 || |
|
7670 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
|
7671 |
|
7672 |
|
7673 # configure is writing to config.log, and then calls config.status. |
|
7674 # config.status does its own redirection, appending to config.log. |
|
7675 # Unfortunately, on DOS this fails, as config.log is still kept open |
|
7676 # by configure, so config.status won't be able to write to it; its |
|
7677 # output is simply discarded. So we exec the FD to /dev/null, |
|
7678 # effectively closing config.log, so it can be properly (re)opened and |
|
7679 # appended to by config.status. When coming back to configure, we |
|
7680 # need to make the FD available again. |
|
7681 if test "$no_create" != yes; then |
|
7682 ac_cs_success=: |
|
7683 ac_config_status_args= |
|
7684 test "$silent" = yes && |
|
7685 ac_config_status_args="$ac_config_status_args --quiet" |
|
7686 exec 5>/dev/null |
|
7687 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
|
7688 exec 5>>config.log |
|
7689 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
|
7690 # would make configure fail if this is the last instruction. |
|
7691 $ac_cs_success || as_fn_exit 1 |
|
7692 fi |
|
7693 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
|
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
|
7695 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
|
7696 fi |
|
7697 |