pikeyd165 – Blame information for rev 2

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for bcm2835 1.71.
4 #
5 # Report bugs to <mikem@airspayce.com>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16  
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac
33 fi
34  
35  
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73  
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81 fi
82  
83  
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
90  
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
103  
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115  
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127  
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133  
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136  
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159 fi
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
175 ;;
176 esac
177 fi
178 "
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184  
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191  
192 else
193 exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201 if (eval "$as_required") 2>/dev/null; then :
202 as_have_required=yes
203 else
204 as_have_required=no
205 fi
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
207  
208 else
209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 as_found=false
211 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
212 do
213 IFS=$as_save_IFS
214 test -z "$as_dir" && as_dir=.
215 as_found=:
216 case $as_dir in #(
217 /*)
218 for as_base in sh bash ksh sh5; do
219 # Try only shells that exist, to save several forks.
220 as_shell=$as_dir/$as_base
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 CONFIG_SHELL=$as_shell as_have_required=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
225 break 2
226 fi
227 fi
228 done;;
229 esac
230 as_found=false
231 done
232 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
235 fi; }
236 IFS=$as_save_IFS
237  
238  
239 if test "x$CONFIG_SHELL" != x; then :
240 export CONFIG_SHELL
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
245 BASH_ENV=/dev/null
246 ENV=/dev/null
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 case $- in # ((((
249 *v*x* | *x*v* ) as_opts=-vx ;;
250 *v* ) as_opts=-v ;;
251 *x* ) as_opts=-x ;;
252 * ) as_opts= ;;
253 esac
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
258 exit 255
259 fi
260  
261 if test x$as_have_required = xno; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x${ZSH_VERSION+set} = xset ; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 else
268 $as_echo "$0: Please tell bug-autoconf@gnu.org and
269 $0: mikem@airspayce.com about your system, including any
270 $0: error possibly output before this message. Then install
271 $0: a modern shell, or manually run the script under such a
272 $0: shell if you do have one."
273 fi
274 exit 1
275 fi
276 fi
277 fi
278 SHELL=${CONFIG_SHELL-/bin/sh}
279 export SHELL
280 # Unset more variables known to interfere with behavior of common tools.
281 CLICOLOR_FORCE= GREP_OPTIONS=
282 unset CLICOLOR_FORCE GREP_OPTIONS
283  
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
287 # as_fn_unset VAR
288 # ---------------
289 # Portably unset VAR.
290 as_fn_unset ()
291 {
292 { eval $1=; unset $1;}
293 }
294 as_unset=as_fn_unset
295  
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
299 as_fn_set_status ()
300 {
301 return $1
302 } # as_fn_set_status
303  
304 # as_fn_exit STATUS
305 # -----------------
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
307 as_fn_exit ()
308 {
309 set +e
310 as_fn_set_status $1
311 exit $1
312 } # as_fn_exit
313  
314 # as_fn_mkdir_p
315 # -------------
316 # Create "$as_dir" as a directory, including parents if necessary.
317 as_fn_mkdir_p ()
318 {
319  
320 case $as_dir in #(
321 -*) as_dir=./$as_dir;;
322 esac
323 test -d "$as_dir" || eval $as_mkdir_p || {
324 as_dirs=
325 while :; do
326 case $as_dir in #(
327 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 *) as_qdir=$as_dir;;
329 esac
330 as_dirs="'$as_qdir' $as_dirs"
331 as_dir=`$as_dirname -- "$as_dir" ||
332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333 X"$as_dir" : 'X\(//\)[^/]' \| \
334 X"$as_dir" : 'X\(//\)$' \| \
335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336 $as_echo X"$as_dir" |
337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
338 s//\1/
339 q
340 }
341 /^X\(\/\/\)[^/].*/{
342 s//\1/
343 q
344 }
345 /^X\(\/\/\)$/{
346 s//\1/
347 q
348 }
349 /^X\(\/\).*/{
350 s//\1/
351 q
352 }
353 s/.*/./; q'`
354 test -d "$as_dir" && break
355 done
356 test -z "$as_dirs" || eval "mkdir $as_dirs"
357 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
358  
359  
360 } # as_fn_mkdir_p
361  
362 # as_fn_executable_p FILE
363 # -----------------------
364 # Test if FILE is an executable regular file.
365 as_fn_executable_p ()
366 {
367 test -f "$1" && test -x "$1"
368 } # as_fn_executable_p
369 # as_fn_append VAR VALUE
370 # ----------------------
371 # Append the text in VALUE to the end of the definition contained in VAR. Take
372 # advantage of any shell optimizations that allow amortized linear growth over
373 # repeated appends, instead of the typical quadratic growth present in naive
374 # implementations.
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
376 eval 'as_fn_append ()
377 {
378 eval $1+=\$2
379 }'
380 else
381 as_fn_append ()
382 {
383 eval $1=\$$1\$2
384 }
385 fi # as_fn_append
386  
387 # as_fn_arith ARG...
388 # ------------------
389 # Perform arithmetic evaluation on the ARGs, and store the result in the
390 # global $as_val. Take advantage of shells that can avoid forks. The arguments
391 # must be portable across $(()) and expr.
392 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
393 eval 'as_fn_arith ()
394 {
395 as_val=$(( $* ))
396 }'
397 else
398 as_fn_arith ()
399 {
400 as_val=`expr "$@" || test $? -eq 1`
401 }
402 fi # as_fn_arith
403  
404  
405 # as_fn_error STATUS ERROR [LINENO LOG_FD]
406 # ----------------------------------------
407 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409 # script with STATUS, using 1 if that was 0.
410 as_fn_error ()
411 {
412 as_status=$1; test $as_status -eq 0 && as_status=1
413 if test "$4"; then
414 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
416 fi
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit $as_status
419 } # as_fn_error
420  
421 if expr a : '\(a\)' >/dev/null 2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001; then
423 as_expr=expr
424 else
425 as_expr=false
426 fi
427  
428 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
429 as_basename=basename
430 else
431 as_basename=false
432 fi
433  
434 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
435 as_dirname=dirname
436 else
437 as_dirname=false
438 fi
439  
440 as_me=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
444 $as_echo X/"$0" |
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
446 s//\1/
447 q
448 }
449 /^X\/\(\/\/\)$/{
450 s//\1/
451 q
452 }
453 /^X\/\(\/\).*/{
454 s//\1/
455 q
456 }
457 s/.*/./; q'`
458  
459 # Avoid depending upon Character Ranges.
460 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
461 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
463 as_cr_digits='0123456789'
464 as_cr_alnum=$as_cr_Letters$as_cr_digits
465  
466  
467 as_lineno_1=$LINENO as_lineno_1a=$LINENO
468 as_lineno_2=$LINENO as_lineno_2a=$LINENO
469 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
471 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
472 sed -n '
473 p
474 /[$]LINENO/=
475 ' <$as_myself |
476 sed '
477 s/[$]LINENO.*/&-/
478 t lineno
479 b
480 :lineno
481 N
482 :loop
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484 t loop
485 s/-\n.*//
486 ' >$as_me.lineno &&
487 chmod +x "$as_me.lineno" ||
488 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
489  
490 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491 # already done that, so ensure we don't try to do so again and fall
492 # in an infinite loop. This has already happened in practice.
493 _as_can_reexec=no; export _as_can_reexec
494 # Don't try to exec as it changes $[0], causing all sort of problems
495 # (the dirname of $[0] is not the place where we might find the
496 # original and so on. Autoconf is especially sensitive to this).
497 . "./$as_me.lineno"
498 # Exit status is that of the last command.
499 exit
500 }
501  
502 ECHO_C= ECHO_N= ECHO_T=
503 case `echo -n x` in #(((((
504 -n*)
505 case `echo 'xy\c'` in
506 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
507 xy) ECHO_C='\c';;
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
509 ECHO_T=' ';;
510 esac;;
511 *)
512 ECHO_N='-n';;
513 esac
514  
515 rm -f conf$$ conf$$.exe conf$$.file
516 if test -d conf$$.dir; then
517 rm -f conf$$.dir/conf$$.file
518 else
519 rm -f conf$$.dir
520 mkdir conf$$.dir 2>/dev/null
521 fi
522 if (echo >conf$$.file) 2>/dev/null; then
523 if ln -s conf$$.file conf$$ 2>/dev/null; then
524 as_ln_s='ln -s'
525 # ... but there are two gotchas:
526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528 # In both cases, we have to default to `cp -pR'.
529 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
530 as_ln_s='cp -pR'
531 elif ln conf$$.file conf$$ 2>/dev/null; then
532 as_ln_s=ln
533 else
534 as_ln_s='cp -pR'
535 fi
536 else
537 as_ln_s='cp -pR'
538 fi
539 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540 rmdir conf$$.dir 2>/dev/null
541  
542 if mkdir -p . 2>/dev/null; then
543 as_mkdir_p='mkdir -p "$as_dir"'
544 else
545 test -d ./-p && rmdir ./-p
546 as_mkdir_p=false
547 fi
548  
549 as_test_x='test -x'
550 as_executable_p=as_fn_executable_p
551  
552 # Sed expression to map a string onto a valid CPP name.
553 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
554  
555 # Sed expression to map a string onto a valid variable name.
556 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557  
558  
559 test -n "$DJDIR" || exec 7<&0 </dev/null
560 exec 6>&1
561  
562 # Name of the host.
563 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564 # so uname gets run too.
565 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
566  
567 #
568 # Initializations.
569 #
570 ac_default_prefix=/usr/local
571 ac_clean_files=
572 ac_config_libobj_dir=.
573 LIBOBJS=
574 cross_compiling=no
575 subdirs=
576 MFLAGS=
577 MAKEFLAGS=
578  
579 # Identity of this package.
580 PACKAGE_NAME='bcm2835'
581 PACKAGE_TARNAME='bcm2835'
582 PACKAGE_VERSION='1.71'
583 PACKAGE_STRING='bcm2835 1.71'
584 PACKAGE_BUGREPORT='mikem@airspayce.com'
585 PACKAGE_URL=''
586  
587 ac_subst_vars='am__EXEEXT_FALSE
588 am__EXEEXT_TRUE
589 LTLIBOBJS
590 LIBOBJS
591 HAVE_DOXYGEN_FALSE
592 HAVE_DOXYGEN_TRUE
593 RANLIB
594 DOXYGEN
595 am__fastdepCC_FALSE
596 am__fastdepCC_TRUE
597 CCDEPMODE
598 am__nodep
599 AMDEPBACKSLASH
600 AMDEP_FALSE
601 AMDEP_TRUE
602 am__include
603 DEPDIR
604 OBJEXT
605 EXEEXT
606 ac_ct_CC
607 CPPFLAGS
608 LDFLAGS
609 CFLAGS
610 CC
611 AM_BACKSLASH
612 AM_DEFAULT_VERBOSITY
613 AM_DEFAULT_V
614 AM_V
615 am__untar
616 am__tar
617 AMTAR
618 am__leading_dot
619 SET_MAKE
620 AWK
621 mkdir_p
622 MKDIR_P
623 INSTALL_STRIP_PROGRAM
624 STRIP
625 install_sh
626 MAKEINFO
627 AUTOHEADER
628 AUTOMAKE
629 AUTOCONF
630 ACLOCAL
631 VERSION
632 PACKAGE
633 CYGPATH_W
634 am__isrc
635 INSTALL_DATA
636 INSTALL_SCRIPT
637 INSTALL_PROGRAM
638 target_alias
639 host_alias
640 build_alias
641 LIBS
642 ECHO_T
643 ECHO_N
644 ECHO_C
645 DEFS
646 mandir
647 localedir
648 libdir
649 psdir
650 pdfdir
651 dvidir
652 htmldir
653 infodir
654 docdir
655 oldincludedir
656 includedir
657 runstatedir
658 localstatedir
659 sharedstatedir
660 sysconfdir
661 datadir
662 datarootdir
663 libexecdir
664 sbindir
665 bindir
666 program_transform_name
667 prefix
668 exec_prefix
669 PACKAGE_URL
670 PACKAGE_BUGREPORT
671 PACKAGE_STRING
672 PACKAGE_VERSION
673 PACKAGE_TARNAME
674 PACKAGE_NAME
675 PATH_SEPARATOR
676 SHELL
677 am__quote'
678 ac_subst_files=''
679 ac_user_opts='
680 enable_option_checking
681 enable_silent_rules
682 enable_dependency_tracking
683 '
684 ac_precious_vars='build_alias
685 host_alias
686 target_alias
687 CC
688 CFLAGS
689 LDFLAGS
690 LIBS
691 CPPFLAGS'
692  
693  
694 # Initialize some variables set by options.
695 ac_init_help=
696 ac_init_version=false
697 ac_unrecognized_opts=
698 ac_unrecognized_sep=
699 # The variables have the same names as the options, with
700 # dashes changed to underlines.
701 cache_file=/dev/null
702 exec_prefix=NONE
703 no_create=
704 no_recursion=
705 prefix=NONE
706 program_prefix=NONE
707 program_suffix=NONE
708 program_transform_name=s,x,x,
709 silent=
710 site=
711 srcdir=
712 verbose=
713 x_includes=NONE
714 x_libraries=NONE
715  
716 # Installation directory options.
717 # These are left unexpanded so users can "make install exec_prefix=/foo"
718 # and all the variables that are supposed to be based on exec_prefix
719 # by default will actually change.
720 # Use braces instead of parens because sh, perl, etc. also accept them.
721 # (The list follows the same order as the GNU Coding Standards.)
722 bindir='${exec_prefix}/bin'
723 sbindir='${exec_prefix}/sbin'
724 libexecdir='${exec_prefix}/libexec'
725 datarootdir='${prefix}/share'
726 datadir='${datarootdir}'
727 sysconfdir='${prefix}/etc'
728 sharedstatedir='${prefix}/com'
729 localstatedir='${prefix}/var'
730 runstatedir='${localstatedir}/run'
731 includedir='${prefix}/include'
732 oldincludedir='/usr/include'
733 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
734 infodir='${datarootdir}/info'
735 htmldir='${docdir}'
736 dvidir='${docdir}'
737 pdfdir='${docdir}'
738 psdir='${docdir}'
739 libdir='${exec_prefix}/lib'
740 localedir='${datarootdir}/locale'
741 mandir='${datarootdir}/man'
742  
743 ac_prev=
744 ac_dashdash=
745 for ac_option
746 do
747 # If the previous option needs an argument, assign it.
748 if test -n "$ac_prev"; then
749 eval $ac_prev=\$ac_option
750 ac_prev=
751 continue
752 fi
753  
754 case $ac_option in
755 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
756 *=) ac_optarg= ;;
757 *) ac_optarg=yes ;;
758 esac
759  
760 # Accept the important Cygnus configure options, so we can diagnose typos.
761  
762 case $ac_dashdash$ac_option in
763 --)
764 ac_dashdash=yes ;;
765  
766 -bindir | --bindir | --bindi | --bind | --bin | --bi)
767 ac_prev=bindir ;;
768 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
769 bindir=$ac_optarg ;;
770  
771 -build | --build | --buil | --bui | --bu)
772 ac_prev=build_alias ;;
773 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
774 build_alias=$ac_optarg ;;
775  
776 -cache-file | --cache-file | --cache-fil | --cache-fi \
777 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
778 ac_prev=cache_file ;;
779 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
780 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
781 cache_file=$ac_optarg ;;
782  
783 --config-cache | -C)
784 cache_file=config.cache ;;
785  
786 -datadir | --datadir | --datadi | --datad)
787 ac_prev=datadir ;;
788 -datadir=* | --datadir=* | --datadi=* | --datad=*)
789 datadir=$ac_optarg ;;
790  
791 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
792 | --dataroo | --dataro | --datar)
793 ac_prev=datarootdir ;;
794 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
795 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
796 datarootdir=$ac_optarg ;;
797  
798 -disable-* | --disable-*)
799 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
800 # Reject names that are not valid shell variable names.
801 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
802 as_fn_error $? "invalid feature name: $ac_useropt"
803 ac_useropt_orig=$ac_useropt
804 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
805 case $ac_user_opts in
806 *"
807 "enable_$ac_useropt"
808 "*) ;;
809 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
810 ac_unrecognized_sep=', ';;
811 esac
812 eval enable_$ac_useropt=no ;;
813  
814 -docdir | --docdir | --docdi | --doc | --do)
815 ac_prev=docdir ;;
816 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
817 docdir=$ac_optarg ;;
818  
819 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
820 ac_prev=dvidir ;;
821 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
822 dvidir=$ac_optarg ;;
823  
824 -enable-* | --enable-*)
825 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
826 # Reject names that are not valid shell variable names.
827 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
828 as_fn_error $? "invalid feature name: $ac_useropt"
829 ac_useropt_orig=$ac_useropt
830 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
831 case $ac_user_opts in
832 *"
833 "enable_$ac_useropt"
834 "*) ;;
835 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
836 ac_unrecognized_sep=', ';;
837 esac
838 eval enable_$ac_useropt=\$ac_optarg ;;
839  
840 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
841 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
842 | --exec | --exe | --ex)
843 ac_prev=exec_prefix ;;
844 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
845 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
846 | --exec=* | --exe=* | --ex=*)
847 exec_prefix=$ac_optarg ;;
848  
849 -gas | --gas | --ga | --g)
850 # Obsolete; use --with-gas.
851 with_gas=yes ;;
852  
853 -help | --help | --hel | --he | -h)
854 ac_init_help=long ;;
855 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
856 ac_init_help=recursive ;;
857 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
858 ac_init_help=short ;;
859  
860 -host | --host | --hos | --ho)
861 ac_prev=host_alias ;;
862 -host=* | --host=* | --hos=* | --ho=*)
863 host_alias=$ac_optarg ;;
864  
865 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
866 ac_prev=htmldir ;;
867 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
868 | --ht=*)
869 htmldir=$ac_optarg ;;
870  
871 -includedir | --includedir | --includedi | --included | --include \
872 | --includ | --inclu | --incl | --inc)
873 ac_prev=includedir ;;
874 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
875 | --includ=* | --inclu=* | --incl=* | --inc=*)
876 includedir=$ac_optarg ;;
877  
878 -infodir | --infodir | --infodi | --infod | --info | --inf)
879 ac_prev=infodir ;;
880 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
881 infodir=$ac_optarg ;;
882  
883 -libdir | --libdir | --libdi | --libd)
884 ac_prev=libdir ;;
885 -libdir=* | --libdir=* | --libdi=* | --libd=*)
886 libdir=$ac_optarg ;;
887  
888 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
889 | --libexe | --libex | --libe)
890 ac_prev=libexecdir ;;
891 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
892 | --libexe=* | --libex=* | --libe=*)
893 libexecdir=$ac_optarg ;;
894  
895 -localedir | --localedir | --localedi | --localed | --locale)
896 ac_prev=localedir ;;
897 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
898 localedir=$ac_optarg ;;
899  
900 -localstatedir | --localstatedir | --localstatedi | --localstated \
901 | --localstate | --localstat | --localsta | --localst | --locals)
902 ac_prev=localstatedir ;;
903 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
904 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
905 localstatedir=$ac_optarg ;;
906  
907 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
908 ac_prev=mandir ;;
909 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
910 mandir=$ac_optarg ;;
911  
912 -nfp | --nfp | --nf)
913 # Obsolete; use --without-fp.
914 with_fp=no ;;
915  
916 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
917 | --no-cr | --no-c | -n)
918 no_create=yes ;;
919  
920 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
921 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
922 no_recursion=yes ;;
923  
924 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
925 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
926 | --oldin | --oldi | --old | --ol | --o)
927 ac_prev=oldincludedir ;;
928 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
929 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
930 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
931 oldincludedir=$ac_optarg ;;
932  
933 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
934 ac_prev=prefix ;;
935 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
936 prefix=$ac_optarg ;;
937  
938 -program-prefix | --program-prefix | --program-prefi | --program-pref \
939 | --program-pre | --program-pr | --program-p)
940 ac_prev=program_prefix ;;
941 -program-prefix=* | --program-prefix=* | --program-prefi=* \
942 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
943 program_prefix=$ac_optarg ;;
944  
945 -program-suffix | --program-suffix | --program-suffi | --program-suff \
946 | --program-suf | --program-su | --program-s)
947 ac_prev=program_suffix ;;
948 -program-suffix=* | --program-suffix=* | --program-suffi=* \
949 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
950 program_suffix=$ac_optarg ;;
951  
952 -program-transform-name | --program-transform-name \
953 | --program-transform-nam | --program-transform-na \
954 | --program-transform-n | --program-transform- \
955 | --program-transform | --program-transfor \
956 | --program-transfo | --program-transf \
957 | --program-trans | --program-tran \
958 | --progr-tra | --program-tr | --program-t)
959 ac_prev=program_transform_name ;;
960 -program-transform-name=* | --program-transform-name=* \
961 | --program-transform-nam=* | --program-transform-na=* \
962 | --program-transform-n=* | --program-transform-=* \
963 | --program-transform=* | --program-transfor=* \
964 | --program-transfo=* | --program-transf=* \
965 | --program-trans=* | --program-tran=* \
966 | --progr-tra=* | --program-tr=* | --program-t=*)
967 program_transform_name=$ac_optarg ;;
968  
969 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
970 ac_prev=pdfdir ;;
971 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
972 pdfdir=$ac_optarg ;;
973  
974 -psdir | --psdir | --psdi | --psd | --ps)
975 ac_prev=psdir ;;
976 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
977 psdir=$ac_optarg ;;
978  
979 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
980 | -silent | --silent | --silen | --sile | --sil)
981 silent=yes ;;
982  
983 -runstatedir | --runstatedir | --runstatedi | --runstated \
984 | --runstate | --runstat | --runsta | --runst | --runs \
985 | --run | --ru | --r)
986 ac_prev=runstatedir ;;
987 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
988 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
989 | --run=* | --ru=* | --r=*)
990 runstatedir=$ac_optarg ;;
991  
992 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
993 ac_prev=sbindir ;;
994 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
995 | --sbi=* | --sb=*)
996 sbindir=$ac_optarg ;;
997  
998 -sharedstatedir | --sharedstatedir | --sharedstatedi \
999 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1000 | --sharedst | --shareds | --shared | --share | --shar \
1001 | --sha | --sh)
1002 ac_prev=sharedstatedir ;;
1003 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1004 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1005 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1006 | --sha=* | --sh=*)
1007 sharedstatedir=$ac_optarg ;;
1008  
1009 -site | --site | --sit)
1010 ac_prev=site ;;
1011 -site=* | --site=* | --sit=*)
1012 site=$ac_optarg ;;
1013  
1014 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1015 ac_prev=srcdir ;;
1016 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1017 srcdir=$ac_optarg ;;
1018  
1019 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1020 | --syscon | --sysco | --sysc | --sys | --sy)
1021 ac_prev=sysconfdir ;;
1022 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1023 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1024 sysconfdir=$ac_optarg ;;
1025  
1026 -target | --target | --targe | --targ | --tar | --ta | --t)
1027 ac_prev=target_alias ;;
1028 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1029 target_alias=$ac_optarg ;;
1030  
1031 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1032 verbose=yes ;;
1033  
1034 -version | --version | --versio | --versi | --vers | -V)
1035 ac_init_version=: ;;
1036  
1037 -with-* | --with-*)
1038 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1039 # Reject names that are not valid shell variable names.
1040 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1041 as_fn_error $? "invalid package name: $ac_useropt"
1042 ac_useropt_orig=$ac_useropt
1043 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1044 case $ac_user_opts in
1045 *"
1046 "with_$ac_useropt"
1047 "*) ;;
1048 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1049 ac_unrecognized_sep=', ';;
1050 esac
1051 eval with_$ac_useropt=\$ac_optarg ;;
1052  
1053 -without-* | --without-*)
1054 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1055 # Reject names that are not valid shell variable names.
1056 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1057 as_fn_error $? "invalid package name: $ac_useropt"
1058 ac_useropt_orig=$ac_useropt
1059 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1060 case $ac_user_opts in
1061 *"
1062 "with_$ac_useropt"
1063 "*) ;;
1064 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1065 ac_unrecognized_sep=', ';;
1066 esac
1067 eval with_$ac_useropt=no ;;
1068  
1069 --x)
1070 # Obsolete; use --with-x.
1071 with_x=yes ;;
1072  
1073 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1074 | --x-incl | --x-inc | --x-in | --x-i)
1075 ac_prev=x_includes ;;
1076 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1077 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1078 x_includes=$ac_optarg ;;
1079  
1080 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1081 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1082 ac_prev=x_libraries ;;
1083 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1084 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1085 x_libraries=$ac_optarg ;;
1086  
1087 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1088 Try \`$0 --help' for more information"
1089 ;;
1090  
1091 *=*)
1092 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1093 # Reject names that are not valid shell variable names.
1094 case $ac_envvar in #(
1095 '' | [0-9]* | *[!_$as_cr_alnum]* )
1096 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1097 esac
1098 eval $ac_envvar=\$ac_optarg
1099 export $ac_envvar ;;
1100  
1101 *)
1102 # FIXME: should be removed in autoconf 3.0.
1103 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1104 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1105 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1106 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1107 ;;
1108  
1109 esac
1110 done
1111  
1112 if test -n "$ac_prev"; then
1113 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1114 as_fn_error $? "missing argument to $ac_option"
1115 fi
1116  
1117 if test -n "$ac_unrecognized_opts"; then
1118 case $enable_option_checking in
1119 no) ;;
1120 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1121 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1122 esac
1123 fi
1124  
1125 # Check all directory arguments for consistency.
1126 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1127 datadir sysconfdir sharedstatedir localstatedir includedir \
1128 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1129 libdir localedir mandir runstatedir
1130 do
1131 eval ac_val=\$$ac_var
1132 # Remove trailing slashes.
1133 case $ac_val in
1134 */ )
1135 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1136 eval $ac_var=\$ac_val;;
1137 esac
1138 # Be sure to have absolute directory names.
1139 case $ac_val in
1140 [\\/$]* | ?:[\\/]* ) continue;;
1141 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1142 esac
1143 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1144 done
1145  
1146 # There might be people who depend on the old broken behavior: `$host'
1147 # used to hold the argument of --host etc.
1148 # FIXME: To remove some day.
1149 build=$build_alias
1150 host=$host_alias
1151 target=$target_alias
1152  
1153 # FIXME: To remove some day.
1154 if test "x$host_alias" != x; then
1155 if test "x$build_alias" = x; then
1156 cross_compiling=maybe
1157 elif test "x$build_alias" != "x$host_alias"; then
1158 cross_compiling=yes
1159 fi
1160 fi
1161  
1162 ac_tool_prefix=
1163 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1164  
1165 test "$silent" = yes && exec 6>/dev/null
1166  
1167  
1168 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1169 ac_ls_di=`ls -di .` &&
1170 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1171 as_fn_error $? "working directory cannot be determined"
1172 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1173 as_fn_error $? "pwd does not report name of working directory"
1174  
1175  
1176 # Find the source files, if location was not specified.
1177 if test -z "$srcdir"; then
1178 ac_srcdir_defaulted=yes
1179 # Try the directory containing this script, then the parent directory.
1180 ac_confdir=`$as_dirname -- "$as_myself" ||
1181 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1182 X"$as_myself" : 'X\(//\)[^/]' \| \
1183 X"$as_myself" : 'X\(//\)$' \| \
1184 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1185 $as_echo X"$as_myself" |
1186 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1187 s//\1/
1188 q
1189 }
1190 /^X\(\/\/\)[^/].*/{
1191 s//\1/
1192 q
1193 }
1194 /^X\(\/\/\)$/{
1195 s//\1/
1196 q
1197 }
1198 /^X\(\/\).*/{
1199 s//\1/
1200 q
1201 }
1202 s/.*/./; q'`
1203 srcdir=$ac_confdir
1204 if test ! -r "$srcdir/$ac_unique_file"; then
1205 srcdir=..
1206 fi
1207 else
1208 ac_srcdir_defaulted=no
1209 fi
1210 if test ! -r "$srcdir/$ac_unique_file"; then
1211 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1212 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1213 fi
1214 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1215 ac_abs_confdir=`(
1216 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1217 pwd)`
1218 # When building in place, set srcdir=.
1219 if test "$ac_abs_confdir" = "$ac_pwd"; then
1220 srcdir=.
1221 fi
1222 # Remove unnecessary trailing slashes from srcdir.
1223 # Double slashes in file names in object file debugging info
1224 # mess up M-x gdb in Emacs.
1225 case $srcdir in
1226 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1227 esac
1228 for ac_var in $ac_precious_vars; do
1229 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1230 eval ac_env_${ac_var}_value=\$${ac_var}
1231 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1232 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1233 done
1234  
1235 #
1236 # Report the --help message.
1237 #
1238 if test "$ac_init_help" = "long"; then
1239 # Omit some internal or obsolete options to make the list less imposing.
1240 # This message is too long to be a string in the A/UX 3.1 sh.
1241 cat <<_ACEOF
1242 \`configure' configures bcm2835 1.71 to adapt to many kinds of systems.
1243  
1244 Usage: $0 [OPTION]... [VAR=VALUE]...
1245  
1246 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1247 VAR=VALUE. See below for descriptions of some of the useful variables.
1248  
1249 Defaults for the options are specified in brackets.
1250  
1251 Configuration:
1252 -h, --help display this help and exit
1253 --help=short display options specific to this package
1254 --help=recursive display the short help of all the included packages
1255 -V, --version display version information and exit
1256 -q, --quiet, --silent do not print \`checking ...' messages
1257 --cache-file=FILE cache test results in FILE [disabled]
1258 -C, --config-cache alias for \`--cache-file=config.cache'
1259 -n, --no-create do not create output files
1260 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1261  
1262 Installation directories:
1263 --prefix=PREFIX install architecture-independent files in PREFIX
1264 [$ac_default_prefix]
1265 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1266 [PREFIX]
1267  
1268 By default, \`make install' will install all the files in
1269 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1270 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1271 for instance \`--prefix=\$HOME'.
1272  
1273 For better control, use the options below.
1274  
1275 Fine tuning of the installation directories:
1276 --bindir=DIR user executables [EPREFIX/bin]
1277 --sbindir=DIR system admin executables [EPREFIX/sbin]
1278 --libexecdir=DIR program executables [EPREFIX/libexec]
1279 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1280 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1281 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1282 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1283 --libdir=DIR object code libraries [EPREFIX/lib]
1284 --includedir=DIR C header files [PREFIX/include]
1285 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1286 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1287 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1288 --infodir=DIR info documentation [DATAROOTDIR/info]
1289 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1290 --mandir=DIR man documentation [DATAROOTDIR/man]
1291 --docdir=DIR documentation root [DATAROOTDIR/doc/bcm2835]
1292 --htmldir=DIR html documentation [DOCDIR]
1293 --dvidir=DIR dvi documentation [DOCDIR]
1294 --pdfdir=DIR pdf documentation [DOCDIR]
1295 --psdir=DIR ps documentation [DOCDIR]
1296 _ACEOF
1297  
1298 cat <<\_ACEOF
1299  
1300 Program names:
1301 --program-prefix=PREFIX prepend PREFIX to installed program names
1302 --program-suffix=SUFFIX append SUFFIX to installed program names
1303 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1304 _ACEOF
1305 fi
1306  
1307 if test -n "$ac_init_help"; then
1308 case $ac_init_help in
1309 short | recursive ) echo "Configuration of bcm2835 1.71:";;
1310 esac
1311 cat <<\_ACEOF
1312  
1313 Optional Features:
1314 --disable-option-checking ignore unrecognized --enable/--with options
1315 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1316 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1317 --enable-silent-rules less verbose build output (undo: "make V=1")
1318 --disable-silent-rules verbose build output (undo: "make V=0")
1319 --enable-dependency-tracking
1320 do not reject slow dependency extractors
1321 --disable-dependency-tracking
1322 speeds up one-time build
1323  
1324 Some influential environment variables:
1325 CC C compiler command
1326 CFLAGS C compiler flags
1327 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1328 nonstandard directory <lib dir>
1329 LIBS libraries to pass to the linker, e.g. -l<library>
1330 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1331 you have headers in a nonstandard directory <include dir>
1332  
1333 Use these variables to override the choices made by `configure' or to help
1334 it to find libraries and programs with nonstandard names/locations.
1335  
1336 Report bugs to <mikem@airspayce.com>.
1337 _ACEOF
1338 ac_status=$?
1339 fi
1340  
1341 if test "$ac_init_help" = "recursive"; then
1342 # If there are subdirs, report their specific --help.
1343 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1344 test -d "$ac_dir" ||
1345 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1346 continue
1347 ac_builddir=.
1348  
1349 case "$ac_dir" in
1350 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1351 *)
1352 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1353 # A ".." for each directory in $ac_dir_suffix.
1354 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1355 case $ac_top_builddir_sub in
1356 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1357 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1358 esac ;;
1359 esac
1360 ac_abs_top_builddir=$ac_pwd
1361 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1362 # for backward compatibility:
1363 ac_top_builddir=$ac_top_build_prefix
1364  
1365 case $srcdir in
1366 .) # We are building in place.
1367 ac_srcdir=.
1368 ac_top_srcdir=$ac_top_builddir_sub
1369 ac_abs_top_srcdir=$ac_pwd ;;
1370 [\\/]* | ?:[\\/]* ) # Absolute name.
1371 ac_srcdir=$srcdir$ac_dir_suffix;
1372 ac_top_srcdir=$srcdir
1373 ac_abs_top_srcdir=$srcdir ;;
1374 *) # Relative name.
1375 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1376 ac_top_srcdir=$ac_top_build_prefix$srcdir
1377 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1378 esac
1379 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1380  
1381 cd "$ac_dir" || { ac_status=$?; continue; }
1382 # Check for guested configure.
1383 if test -f "$ac_srcdir/configure.gnu"; then
1384 echo &&
1385 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1386 elif test -f "$ac_srcdir/configure"; then
1387 echo &&
1388 $SHELL "$ac_srcdir/configure" --help=recursive
1389 else
1390 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1391 fi || ac_status=$?
1392 cd "$ac_pwd" || { ac_status=$?; break; }
1393 done
1394 fi
1395  
1396 test -n "$ac_init_help" && exit $ac_status
1397 if $ac_init_version; then
1398 cat <<\_ACEOF
1399 bcm2835 configure 1.71
1400 generated by GNU Autoconf 2.69
1401  
1402 Copyright (C) 2012 Free Software Foundation, Inc.
1403 This configure script is free software; the Free Software Foundation
1404 gives unlimited permission to copy, distribute and modify it.
1405 _ACEOF
1406 exit
1407 fi
1408  
1409 ## ------------------------ ##
1410 ## Autoconf initialization. ##
1411 ## ------------------------ ##
1412  
1413 # ac_fn_c_try_compile LINENO
1414 # --------------------------
1415 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1416 ac_fn_c_try_compile ()
1417 {
1418 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1419 rm -f conftest.$ac_objext
1420 if { { ac_try="$ac_compile"
1421 case "(($ac_try" in
1422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1423 *) ac_try_echo=$ac_try;;
1424 esac
1425 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1426 $as_echo "$ac_try_echo"; } >&5
1427 (eval "$ac_compile") 2>conftest.err
1428 ac_status=$?
1429 if test -s conftest.err; then
1430 grep -v '^ *+' conftest.err >conftest.er1
1431 cat conftest.er1 >&5
1432 mv -f conftest.er1 conftest.err
1433 fi
1434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1435 test $ac_status = 0; } && {
1436 test -z "$ac_c_werror_flag" ||
1437 test ! -s conftest.err
1438 } && test -s conftest.$ac_objext; then :
1439 ac_retval=0
1440 else
1441 $as_echo "$as_me: failed program was:" >&5
1442 sed 's/^/| /' conftest.$ac_ext >&5
1443  
1444 ac_retval=1
1445 fi
1446 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1447 as_fn_set_status $ac_retval
1448  
1449 } # ac_fn_c_try_compile
1450  
1451 # ac_fn_c_try_link LINENO
1452 # -----------------------
1453 # Try to link conftest.$ac_ext, and return whether this succeeded.
1454 ac_fn_c_try_link ()
1455 {
1456 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1457 rm -f conftest.$ac_objext conftest$ac_exeext
1458 if { { ac_try="$ac_link"
1459 case "(($ac_try" in
1460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1461 *) ac_try_echo=$ac_try;;
1462 esac
1463 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1464 $as_echo "$ac_try_echo"; } >&5
1465 (eval "$ac_link") 2>conftest.err
1466 ac_status=$?
1467 if test -s conftest.err; then
1468 grep -v '^ *+' conftest.err >conftest.er1
1469 cat conftest.er1 >&5
1470 mv -f conftest.er1 conftest.err
1471 fi
1472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1473 test $ac_status = 0; } && {
1474 test -z "$ac_c_werror_flag" ||
1475 test ! -s conftest.err
1476 } && test -s conftest$ac_exeext && {
1477 test "$cross_compiling" = yes ||
1478 test -x conftest$ac_exeext
1479 }; then :
1480 ac_retval=0
1481 else
1482 $as_echo "$as_me: failed program was:" >&5
1483 sed 's/^/| /' conftest.$ac_ext >&5
1484  
1485 ac_retval=1
1486 fi
1487 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1488 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1489 # interfere with the next link command; also delete a directory that is
1490 # left behind by Apple's compiler. We do this before executing the actions.
1491 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1492 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1493 as_fn_set_status $ac_retval
1494  
1495 } # ac_fn_c_try_link
1496 cat >config.log <<_ACEOF
1497 This file contains any messages produced by compilers while
1498 running configure, to aid debugging if configure makes a mistake.
1499  
1500 It was created by bcm2835 $as_me 1.71, which was
1501 generated by GNU Autoconf 2.69. Invocation command line was
1502  
1503 $ $0 $@
1504  
1505 _ACEOF
1506 exec 5>>config.log
1507 {
1508 cat <<_ASUNAME
1509 ## --------- ##
1510 ## Platform. ##
1511 ## --------- ##
1512  
1513 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1514 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1515 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1516 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1517 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1518  
1519 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1520 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1521  
1522 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1523 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1524 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1525 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1526 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1527 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1528 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1529  
1530 _ASUNAME
1531  
1532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1533 for as_dir in $PATH
1534 do
1535 IFS=$as_save_IFS
1536 test -z "$as_dir" && as_dir=.
1537 $as_echo "PATH: $as_dir"
1538 done
1539 IFS=$as_save_IFS
1540  
1541 } >&5
1542  
1543 cat >&5 <<_ACEOF
1544  
1545  
1546 ## ----------- ##
1547 ## Core tests. ##
1548 ## ----------- ##
1549  
1550 _ACEOF
1551  
1552  
1553 # Keep a trace of the command line.
1554 # Strip out --no-create and --no-recursion so they do not pile up.
1555 # Strip out --silent because we don't want to record it for future runs.
1556 # Also quote any args containing shell meta-characters.
1557 # Make two passes to allow for proper duplicate-argument suppression.
1558 ac_configure_args=
1559 ac_configure_args0=
1560 ac_configure_args1=
1561 ac_must_keep_next=false
1562 for ac_pass in 1 2
1563 do
1564 for ac_arg
1565 do
1566 case $ac_arg in
1567 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1568 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1569 | -silent | --silent | --silen | --sile | --sil)
1570 continue ;;
1571 *\'*)
1572 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1573 esac
1574 case $ac_pass in
1575 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1576 2)
1577 as_fn_append ac_configure_args1 " '$ac_arg'"
1578 if test $ac_must_keep_next = true; then
1579 ac_must_keep_next=false # Got value, back to normal.
1580 else
1581 case $ac_arg in
1582 *=* | --config-cache | -C | -disable-* | --disable-* \
1583 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1584 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1585 | -with-* | --with-* | -without-* | --without-* | --x)
1586 case "$ac_configure_args0 " in
1587 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1588 esac
1589 ;;
1590 -* ) ac_must_keep_next=true ;;
1591 esac
1592 fi
1593 as_fn_append ac_configure_args " '$ac_arg'"
1594 ;;
1595 esac
1596 done
1597 done
1598 { ac_configure_args0=; unset ac_configure_args0;}
1599 { ac_configure_args1=; unset ac_configure_args1;}
1600  
1601 # When interrupted or exit'd, cleanup temporary files, and complete
1602 # config.log. We remove comments because anyway the quotes in there
1603 # would cause problems or look ugly.
1604 # WARNING: Use '\'' to represent an apostrophe within the trap.
1605 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1606 trap 'exit_status=$?
1607 # Save into config.log some information that might help in debugging.
1608 {
1609 echo
1610  
1611 $as_echo "## ---------------- ##
1612 ## Cache variables. ##
1613 ## ---------------- ##"
1614 echo
1615 # The following way of writing the cache mishandles newlines in values,
1616 (
1617 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1618 eval ac_val=\$$ac_var
1619 case $ac_val in #(
1620 *${as_nl}*)
1621 case $ac_var in #(
1622 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1623 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1624 esac
1625 case $ac_var in #(
1626 _ | IFS | as_nl) ;; #(
1627 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1628 *) { eval $ac_var=; unset $ac_var;} ;;
1629 esac ;;
1630 esac
1631 done
1632 (set) 2>&1 |
1633 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1634 *${as_nl}ac_space=\ *)
1635 sed -n \
1636 "s/'\''/'\''\\\\'\'''\''/g;
1637 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1638 ;; #(
1639 *)
1640 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1641 ;;
1642 esac |
1643 sort
1644 )
1645 echo
1646  
1647 $as_echo "## ----------------- ##
1648 ## Output variables. ##
1649 ## ----------------- ##"
1650 echo
1651 for ac_var in $ac_subst_vars
1652 do
1653 eval ac_val=\$$ac_var
1654 case $ac_val in
1655 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1656 esac
1657 $as_echo "$ac_var='\''$ac_val'\''"
1658 done | sort
1659 echo
1660  
1661 if test -n "$ac_subst_files"; then
1662 $as_echo "## ------------------- ##
1663 ## File substitutions. ##
1664 ## ------------------- ##"
1665 echo
1666 for ac_var in $ac_subst_files
1667 do
1668 eval ac_val=\$$ac_var
1669 case $ac_val in
1670 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1671 esac
1672 $as_echo "$ac_var='\''$ac_val'\''"
1673 done | sort
1674 echo
1675 fi
1676  
1677 if test -s confdefs.h; then
1678 $as_echo "## ----------- ##
1679 ## confdefs.h. ##
1680 ## ----------- ##"
1681 echo
1682 cat confdefs.h
1683 echo
1684 fi
1685 test "$ac_signal" != 0 &&
1686 $as_echo "$as_me: caught signal $ac_signal"
1687 $as_echo "$as_me: exit $exit_status"
1688 } >&5
1689 rm -f core *.core core.conftest.* &&
1690 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1691 exit $exit_status
1692 ' 0
1693 for ac_signal in 1 2 13 15; do
1694 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1695 done
1696 ac_signal=0
1697  
1698 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1699 rm -f -r conftest* confdefs.h
1700  
1701 $as_echo "/* confdefs.h */" > confdefs.h
1702  
1703 # Predefined preprocessor variables.
1704  
1705 cat >>confdefs.h <<_ACEOF
1706 #define PACKAGE_NAME "$PACKAGE_NAME"
1707 _ACEOF
1708  
1709 cat >>confdefs.h <<_ACEOF
1710 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1711 _ACEOF
1712  
1713 cat >>confdefs.h <<_ACEOF
1714 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1715 _ACEOF
1716  
1717 cat >>confdefs.h <<_ACEOF
1718 #define PACKAGE_STRING "$PACKAGE_STRING"
1719 _ACEOF
1720  
1721 cat >>confdefs.h <<_ACEOF
1722 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1723 _ACEOF
1724  
1725 cat >>confdefs.h <<_ACEOF
1726 #define PACKAGE_URL "$PACKAGE_URL"
1727 _ACEOF
1728  
1729  
1730 # Let the site file select an alternate cache file if it wants to.
1731 # Prefer an explicitly selected file to automatically selected ones.
1732 ac_site_file1=NONE
1733 ac_site_file2=NONE
1734 if test -n "$CONFIG_SITE"; then
1735 # We do not want a PATH search for config.site.
1736 case $CONFIG_SITE in #((
1737 -*) ac_site_file1=./$CONFIG_SITE;;
1738 */*) ac_site_file1=$CONFIG_SITE;;
1739 *) ac_site_file1=./$CONFIG_SITE;;
1740 esac
1741 elif test "x$prefix" != xNONE; then
1742 ac_site_file1=$prefix/share/config.site
1743 ac_site_file2=$prefix/etc/config.site
1744 else
1745 ac_site_file1=$ac_default_prefix/share/config.site
1746 ac_site_file2=$ac_default_prefix/etc/config.site
1747 fi
1748 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1749 do
1750 test "x$ac_site_file" = xNONE && continue
1751 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1753 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1754 sed 's/^/| /' "$ac_site_file" >&5
1755 . "$ac_site_file" \
1756 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1758 as_fn_error $? "failed to load site script $ac_site_file
1759 See \`config.log' for more details" "$LINENO" 5; }
1760 fi
1761 done
1762  
1763 if test -r "$cache_file"; then
1764 # Some versions of bash will fail to source /dev/null (special files
1765 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1766 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1768 $as_echo "$as_me: loading cache $cache_file" >&6;}
1769 case $cache_file in
1770 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1771 *) . "./$cache_file";;
1772 esac
1773 fi
1774 else
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1776 $as_echo "$as_me: creating cache $cache_file" >&6;}
1777 >$cache_file
1778 fi
1779  
1780 # Check that the precious variables saved in the cache have kept the same
1781 # value.
1782 ac_cache_corrupted=false
1783 for ac_var in $ac_precious_vars; do
1784 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1785 eval ac_new_set=\$ac_env_${ac_var}_set
1786 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1787 eval ac_new_val=\$ac_env_${ac_var}_value
1788 case $ac_old_set,$ac_new_set in
1789 set,)
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1791 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1792 ac_cache_corrupted=: ;;
1793 ,set)
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1795 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1796 ac_cache_corrupted=: ;;
1797 ,);;
1798 *)
1799 if test "x$ac_old_val" != "x$ac_new_val"; then
1800 # differences in whitespace do not lead to failure.
1801 ac_old_val_w=`echo x $ac_old_val`
1802 ac_new_val_w=`echo x $ac_new_val`
1803 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1805 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1806 ac_cache_corrupted=:
1807 else
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1809 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1810 eval $ac_var=\$ac_old_val
1811 fi
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1813 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1815 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1816 fi;;
1817 esac
1818 # Pass precious variables to config.status.
1819 if test "$ac_new_set" = set; then
1820 case $ac_new_val in
1821 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1822 *) ac_arg=$ac_var=$ac_new_val ;;
1823 esac
1824 case " $ac_configure_args " in
1825 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1826 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1827 esac
1828 fi
1829 done
1830 if $ac_cache_corrupted; then
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1834 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1835 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1836 fi
1837 ## -------------------- ##
1838 ## Main body of script. ##
1839 ## -------------------- ##
1840  
1841 ac_ext=c
1842 ac_cpp='$CPP $CPPFLAGS'
1843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1846  
1847  
1848  
1849 ac_config_headers="$ac_config_headers config.h"
1850  
1851 am__api_version='1.16'
1852  
1853 ac_aux_dir=
1854 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1855 if test -f "$ac_dir/install-sh"; then
1856 ac_aux_dir=$ac_dir
1857 ac_install_sh="$ac_aux_dir/install-sh -c"
1858 break
1859 elif test -f "$ac_dir/install.sh"; then
1860 ac_aux_dir=$ac_dir
1861 ac_install_sh="$ac_aux_dir/install.sh -c"
1862 break
1863 elif test -f "$ac_dir/shtool"; then
1864 ac_aux_dir=$ac_dir
1865 ac_install_sh="$ac_aux_dir/shtool install -c"
1866 break
1867 fi
1868 done
1869 if test -z "$ac_aux_dir"; then
1870 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1871 fi
1872  
1873 # These three variables are undocumented and unsupported,
1874 # and are intended to be withdrawn in a future Autoconf release.
1875 # They can cause serious problems if a builder's source tree is in a directory
1876 # whose full name contains unusual characters.
1877 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1878 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1879 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1880  
1881  
1882 # Find a good install program. We prefer a C program (faster),
1883 # so one script is as good as another. But avoid the broken or
1884 # incompatible versions:
1885 # SysV /etc/install, /usr/sbin/install
1886 # SunOS /usr/etc/install
1887 # IRIX /sbin/install
1888 # AIX /bin/install
1889 # AmigaOS /C/install, which installs bootblocks on floppy discs
1890 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1891 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1892 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1893 # OS/2's system install, which has a completely different semantic
1894 # ./install, which can be erroneously created by make from ./install.sh.
1895 # Reject install programs that cannot install multiple files.
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1897 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1898 if test -z "$INSTALL"; then
1899 if ${ac_cv_path_install+:} false; then :
1900 $as_echo_n "(cached) " >&6
1901 else
1902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1903 for as_dir in $PATH
1904 do
1905 IFS=$as_save_IFS
1906 test -z "$as_dir" && as_dir=.
1907 # Account for people who put trailing slashes in PATH elements.
1908 case $as_dir/ in #((
1909 ./ | .// | /[cC]/* | \
1910 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1911 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1912 /usr/ucb/* ) ;;
1913 *)
1914 # OSF1 and SCO ODT 3.0 have their own names for install.
1915 # Don't use installbsd from OSF since it installs stuff as root
1916 # by default.
1917 for ac_prog in ginstall scoinst install; do
1918 for ac_exec_ext in '' $ac_executable_extensions; do
1919 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1920 if test $ac_prog = install &&
1921 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1922 # AIX install. It has an incompatible calling convention.
1923 :
1924 elif test $ac_prog = install &&
1925 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1926 # program-specific install script used by HP pwplus--don't use.
1927 :
1928 else
1929 rm -rf conftest.one conftest.two conftest.dir
1930 echo one > conftest.one
1931 echo two > conftest.two
1932 mkdir conftest.dir
1933 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1934 test -s conftest.one && test -s conftest.two &&
1935 test -s conftest.dir/conftest.one &&
1936 test -s conftest.dir/conftest.two
1937 then
1938 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1939 break 3
1940 fi
1941 fi
1942 fi
1943 done
1944 done
1945 ;;
1946 esac
1947  
1948 done
1949 IFS=$as_save_IFS
1950  
1951 rm -rf conftest.one conftest.two conftest.dir
1952  
1953 fi
1954 if test "${ac_cv_path_install+set}" = set; then
1955 INSTALL=$ac_cv_path_install
1956 else
1957 # As a last resort, use the slow shell script. Don't cache a
1958 # value for INSTALL within a source directory, because that will
1959 # break other packages using the cache if that directory is
1960 # removed, or if the value is a relative name.
1961 INSTALL=$ac_install_sh
1962 fi
1963 fi
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1965 $as_echo "$INSTALL" >&6; }
1966  
1967 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1968 # It thinks the first close brace ends the variable substitution.
1969 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1970  
1971 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1972  
1973 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1974  
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1976 $as_echo_n "checking whether build environment is sane... " >&6; }
1977 # Reject unsafe characters in $srcdir or the absolute working directory
1978 # name. Accept space and tab only in the latter.
1979 am_lf='
1980 '
1981 case `pwd` in
1982 *[\\\"\#\$\&\'\`$am_lf]*)
1983 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1984 esac
1985 case $srcdir in
1986 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1987 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1988 esac
1989  
1990 # Do 'set' in a subshell so we don't clobber the current shell's
1991 # arguments. Must try -L first in case configure is actually a
1992 # symlink; some systems play weird games with the mod time of symlinks
1993 # (eg FreeBSD returns the mod time of the symlink's containing
1994 # directory).
1995 if (
1996 am_has_slept=no
1997 for am_try in 1 2; do
1998 echo "timestamp, slept: $am_has_slept" > conftest.file
1999 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2000 if test "$*" = "X"; then
2001 # -L didn't work.
2002 set X `ls -t "$srcdir/configure" conftest.file`
2003 fi
2004 if test "$*" != "X $srcdir/configure conftest.file" \
2005 && test "$*" != "X conftest.file $srcdir/configure"; then
2006  
2007 # If neither matched, then we have a broken ls. This can happen
2008 # if, for instance, CONFIG_SHELL is bash and it inherits a
2009 # broken ls alias from the environment. This has actually
2010 # happened. Such a system could not be considered "sane".
2011 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2012 alias in your environment" "$LINENO" 5
2013 fi
2014 if test "$2" = conftest.file || test $am_try -eq 2; then
2015 break
2016 fi
2017 # Just in case.
2018 sleep 1
2019 am_has_slept=yes
2020 done
2021 test "$2" = conftest.file
2022 )
2023 then
2024 # Ok.
2025 :
2026 else
2027 as_fn_error $? "newly created file is older than distributed files!
2028 Check your system clock" "$LINENO" 5
2029 fi
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2031 $as_echo "yes" >&6; }
2032 # If we didn't sleep, we still need to ensure time stamps of config.status and
2033 # generated files are strictly newer.
2034 am_sleep_pid=
2035 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2036 ( sleep 1 ) &
2037 am_sleep_pid=$!
2038 fi
2039  
2040 rm -f conftest.file
2041  
2042 test "$program_prefix" != NONE &&
2043 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2044 # Use a double $ so make ignores it.
2045 test "$program_suffix" != NONE &&
2046 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2047 # Double any \ or $.
2048 # By default was `s,x,x', remove it if useless.
2049 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2050 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2051  
2052 # Expand $ac_aux_dir to an absolute path.
2053 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2054  
2055 if test x"${MISSING+set}" != xset; then
2 office 2056 MISSING="\${SHELL} '$am_aux_dir/missing'"
1 office 2057 fi
2058 # Use eval to expand $SHELL
2059 if eval "$MISSING --is-lightweight"; then
2060 am_missing_run="$MISSING "
2061 else
2062 am_missing_run=
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2064 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2065 fi
2066  
2067 if test x"${install_sh+set}" != xset; then
2068 case $am_aux_dir in
2069 *\ * | *\ *)
2070 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2071 *)
2072 install_sh="\${SHELL} $am_aux_dir/install-sh"
2073 esac
2074 fi
2075  
2076 # Installed binaries are usually stripped using 'strip' when the user
2077 # run "make install-strip". However 'strip' might not be the right
2078 # tool to use in cross-compilation environments, therefore Automake
2079 # will honor the 'STRIP' environment variable to overrule this program.
2080 if test "$cross_compiling" != no; then
2081 if test -n "$ac_tool_prefix"; then
2082 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2083 set dummy ${ac_tool_prefix}strip; ac_word=$2
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2085 $as_echo_n "checking for $ac_word... " >&6; }
2086 if ${ac_cv_prog_STRIP+:} false; then :
2087 $as_echo_n "(cached) " >&6
2088 else
2089 if test -n "$STRIP"; then
2090 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2091 else
2092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2093 for as_dir in $PATH
2094 do
2095 IFS=$as_save_IFS
2096 test -z "$as_dir" && as_dir=.
2097 for ac_exec_ext in '' $ac_executable_extensions; do
2098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2099 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2101 break 2
2102 fi
2103 done
2104 done
2105 IFS=$as_save_IFS
2106  
2107 fi
2108 fi
2109 STRIP=$ac_cv_prog_STRIP
2110 if test -n "$STRIP"; then
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2112 $as_echo "$STRIP" >&6; }
2113 else
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2115 $as_echo "no" >&6; }
2116 fi
2117  
2118  
2119 fi
2120 if test -z "$ac_cv_prog_STRIP"; then
2121 ac_ct_STRIP=$STRIP
2122 # Extract the first word of "strip", so it can be a program name with args.
2123 set dummy strip; ac_word=$2
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2125 $as_echo_n "checking for $ac_word... " >&6; }
2126 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2127 $as_echo_n "(cached) " >&6
2128 else
2129 if test -n "$ac_ct_STRIP"; then
2130 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2131 else
2132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2133 for as_dir in $PATH
2134 do
2135 IFS=$as_save_IFS
2136 test -z "$as_dir" && as_dir=.
2137 for ac_exec_ext in '' $ac_executable_extensions; do
2138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2139 ac_cv_prog_ac_ct_STRIP="strip"
2140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2141 break 2
2142 fi
2143 done
2144 done
2145 IFS=$as_save_IFS
2146  
2147 fi
2148 fi
2149 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2150 if test -n "$ac_ct_STRIP"; then
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2152 $as_echo "$ac_ct_STRIP" >&6; }
2153 else
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2155 $as_echo "no" >&6; }
2156 fi
2157  
2158 if test "x$ac_ct_STRIP" = x; then
2159 STRIP=":"
2160 else
2161 case $cross_compiling:$ac_tool_warned in
2162 yes:)
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2165 ac_tool_warned=yes ;;
2166 esac
2167 STRIP=$ac_ct_STRIP
2168 fi
2169 else
2170 STRIP="$ac_cv_prog_STRIP"
2171 fi
2172  
2173 fi
2174 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2175  
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2177 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2178 if test -z "$MKDIR_P"; then
2179 if ${ac_cv_path_mkdir+:} false; then :
2180 $as_echo_n "(cached) " >&6
2181 else
2182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2183 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2184 do
2185 IFS=$as_save_IFS
2186 test -z "$as_dir" && as_dir=.
2187 for ac_prog in mkdir gmkdir; do
2188 for ac_exec_ext in '' $ac_executable_extensions; do
2189 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2190 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2191 'mkdir (GNU coreutils) '* | \
2192 'mkdir (coreutils) '* | \
2193 'mkdir (fileutils) '4.1*)
2194 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2195 break 3;;
2196 esac
2197 done
2198 done
2199 done
2200 IFS=$as_save_IFS
2201  
2202 fi
2203  
2204 test -d ./--version && rmdir ./--version
2205 if test "${ac_cv_path_mkdir+set}" = set; then
2206 MKDIR_P="$ac_cv_path_mkdir -p"
2207 else
2208 # As a last resort, use the slow shell script. Don't cache a
2209 # value for MKDIR_P within a source directory, because that will
2210 # break other packages using the cache if that directory is
2211 # removed, or if the value is a relative name.
2212 MKDIR_P="$ac_install_sh -d"
2213 fi
2214 fi
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2216 $as_echo "$MKDIR_P" >&6; }
2217  
2218 for ac_prog in gawk mawk nawk awk
2219 do
2220 # Extract the first word of "$ac_prog", so it can be a program name with args.
2221 set dummy $ac_prog; ac_word=$2
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2223 $as_echo_n "checking for $ac_word... " >&6; }
2224 if ${ac_cv_prog_AWK+:} false; then :
2225 $as_echo_n "(cached) " >&6
2226 else
2227 if test -n "$AWK"; then
2228 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2229 else
2230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2231 for as_dir in $PATH
2232 do
2233 IFS=$as_save_IFS
2234 test -z "$as_dir" && as_dir=.
2235 for ac_exec_ext in '' $ac_executable_extensions; do
2236 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2237 ac_cv_prog_AWK="$ac_prog"
2238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2239 break 2
2240 fi
2241 done
2242 done
2243 IFS=$as_save_IFS
2244  
2245 fi
2246 fi
2247 AWK=$ac_cv_prog_AWK
2248 if test -n "$AWK"; then
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2250 $as_echo "$AWK" >&6; }
2251 else
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2253 $as_echo "no" >&6; }
2254 fi
2255  
2256  
2257 test -n "$AWK" && break
2258 done
2259  
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2261 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2262 set x ${MAKE-make}
2263 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2264 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2265 $as_echo_n "(cached) " >&6
2266 else
2267 cat >conftest.make <<\_ACEOF
2268 SHELL = /bin/sh
2269 all:
2270 @echo '@@@%%%=$(MAKE)=@@@%%%'
2271 _ACEOF
2272 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2273 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2274 *@@@%%%=?*=@@@%%%*)
2275 eval ac_cv_prog_make_${ac_make}_set=yes;;
2276 *)
2277 eval ac_cv_prog_make_${ac_make}_set=no;;
2278 esac
2279 rm -f conftest.make
2280 fi
2281 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2283 $as_echo "yes" >&6; }
2284 SET_MAKE=
2285 else
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2287 $as_echo "no" >&6; }
2288 SET_MAKE="MAKE=${MAKE-make}"
2289 fi
2290  
2291 rm -rf .tst 2>/dev/null
2292 mkdir .tst 2>/dev/null
2293 if test -d .tst; then
2294 am__leading_dot=.
2295 else
2296 am__leading_dot=_
2297 fi
2298 rmdir .tst 2>/dev/null
2299  
2300 # Check whether --enable-silent-rules was given.
2301 if test "${enable_silent_rules+set}" = set; then :
2302 enableval=$enable_silent_rules;
2303 fi
2304  
2305 case $enable_silent_rules in # (((
2306 yes) AM_DEFAULT_VERBOSITY=0;;
2307 no) AM_DEFAULT_VERBOSITY=1;;
2308 *) AM_DEFAULT_VERBOSITY=1;;
2309 esac
2310 am_make=${MAKE-make}
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2312 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2313 if ${am_cv_make_support_nested_variables+:} false; then :
2314 $as_echo_n "(cached) " >&6
2315 else
2316 if $as_echo 'TRUE=$(BAR$(V))
2317 BAR0=false
2318 BAR1=true
2319 V=1
2320 am__doit:
2321 @$(TRUE)
2322 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2323 am_cv_make_support_nested_variables=yes
2324 else
2325 am_cv_make_support_nested_variables=no
2326 fi
2327 fi
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2329 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2330 if test $am_cv_make_support_nested_variables = yes; then
2331 AM_V='$(V)'
2332 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2333 else
2334 AM_V=$AM_DEFAULT_VERBOSITY
2335 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2336 fi
2337 AM_BACKSLASH='\'
2338  
2339 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2340 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2341 # is not polluted with repeated "-I."
2342 am__isrc=' -I$(srcdir)'
2343 # test to see if srcdir already configured
2344 if test -f $srcdir/config.status; then
2345 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2346 fi
2347 fi
2348  
2349 # test whether we have cygpath
2350 if test -z "$CYGPATH_W"; then
2351 if (cygpath --version) >/dev/null 2>/dev/null; then
2352 CYGPATH_W='cygpath -w'
2353 else
2354 CYGPATH_W=echo
2355 fi
2356 fi
2357  
2358  
2359 # Define the identity of the package.
2360 PACKAGE='bcm2835'
2361 VERSION='1.71'
2362  
2363  
2364 cat >>confdefs.h <<_ACEOF
2365 #define PACKAGE "$PACKAGE"
2366 _ACEOF
2367  
2368  
2369 cat >>confdefs.h <<_ACEOF
2370 #define VERSION "$VERSION"
2371 _ACEOF
2372  
2373 # Some tools Automake needs.
2374  
2375 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2376  
2377  
2378 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2379  
2380  
2381 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2382  
2383  
2384 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2385  
2386  
2387 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2388  
2389 # For better backward compatibility. To be removed once Automake 1.9.x
2390 # dies out for good. For more background, see:
2391 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2392 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2393 mkdir_p='$(MKDIR_P)'
2394  
2395 # We need awk for the "check" target (and possibly the TAP driver). The
2396 # system "awk" is bad on some platforms.
2397 # Always define AMTAR for backward compatibility. Yes, it's still used
2398 # in the wild :-( We should find a proper way to deprecate it ...
2399 AMTAR='$${TAR-tar}'
2400  
2401  
2402 # We'll loop over all known methods to create a tar archive until one works.
2403 _am_tools='gnutar pax cpio none'
2404  
2405 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2406  
2407  
2408  
2409  
2410  
2411  
2412 # POSIX will say in a future version that running "rm -f" with no argument
2413 # is OK; and we want to be able to make that assumption in our Makefile
2414 # recipes. So use an aggressive probe to check that the usage we want is
2415 # actually supported "in the wild" to an acceptable degree.
2416 # See automake bug#10828.
2417 # To make any issue more visible, cause the running configure to be aborted
2418 # by default if the 'rm' program in use doesn't match our expectations; the
2419 # user can still override this though.
2420 if rm -f && rm -fr && rm -rf; then : OK; else
2421 cat >&2 <<'END'
2422 Oops!
2423  
2424 Your 'rm' program seems unable to run without file operands specified
2425 on the command line, even when the '-f' option is present. This is contrary
2426 to the behaviour of most rm programs out there, and not conforming with
2427 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2428  
2429 Please tell bug-automake@gnu.org about your system, including the value
2430 of your $PATH and any error possibly output before this message. This
2431 can help us improve future automake versions.
2432  
2433 END
2434 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2435 echo 'Configuration will proceed anyway, since you have set the' >&2
2436 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2437 echo >&2
2438 else
2439 cat >&2 <<'END'
2440 Aborting the configuration process, to ensure you take notice of the issue.
2441  
2442 You can download and install GNU coreutils to get an 'rm' implementation
2443 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2444  
2445 If you want to complete the configuration process using your problematic
2446 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2447 to "yes", and re-run configure.
2448  
2449 END
2450 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2451 fi
2452 fi
2453  
2454 DEPDIR="${am__leading_dot}deps"
2455  
2456 ac_config_commands="$ac_config_commands depfiles"
2457  
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
2459 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
2460 cat > confinc.mk << 'END'
2461 am__doit:
2462 @echo this is the am__doit target >confinc.out
2463 .PHONY: am__doit
2464 END
2465 am__include="#"
2466 am__quote=
2467 # BSD make does it like this.
2468 echo '.include "confinc.mk" # ignored' > confmf.BSD
2469 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
2470 echo 'include confinc.mk # ignored' > confmf.GNU
2471 _am_result=no
2472 for s in GNU BSD; do
2473 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
2474 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
2475 ac_status=$?
2476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2477 (exit $ac_status); }
2478 case $?:`cat confinc.out 2>/dev/null` in #(
2479 '0:this is the am__doit target') :
2480 case $s in #(
2481 BSD) :
2482 am__include='.include' am__quote='"' ;; #(
2483 *) :
2484 am__include='include' am__quote='' ;;
2485 esac ;; #(
2486 *) :
2487 ;;
2488 esac
2489 if test "$am__include" != "#"; then
2490 _am_result="yes ($s style)"
2491 break
2492 fi
2493 done
2494 rm -f confinc.* confmf.*
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
2496 $as_echo "${_am_result}" >&6; }
2497  
2498 # Check whether --enable-dependency-tracking was given.
2499 if test "${enable_dependency_tracking+set}" = set; then :
2500 enableval=$enable_dependency_tracking;
2501 fi
2502  
2503 if test "x$enable_dependency_tracking" != xno; then
2504 am_depcomp="$ac_aux_dir/depcomp"
2505 AMDEPBACKSLASH='\'
2506 am__nodep='_no'
2507 fi
2508 if test "x$enable_dependency_tracking" != xno; then
2509 AMDEP_TRUE=
2510 AMDEP_FALSE='#'
2511 else
2512 AMDEP_TRUE='#'
2513 AMDEP_FALSE=
2514 fi
2515  
2516  
2517 ac_ext=c
2518 ac_cpp='$CPP $CPPFLAGS'
2519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2522 if test -n "$ac_tool_prefix"; then
2523 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2524 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2526 $as_echo_n "checking for $ac_word... " >&6; }
2527 if ${ac_cv_prog_CC+:} false; then :
2528 $as_echo_n "(cached) " >&6
2529 else
2530 if test -n "$CC"; then
2531 ac_cv_prog_CC="$CC" # Let the user override the test.
2532 else
2533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2534 for as_dir in $PATH
2535 do
2536 IFS=$as_save_IFS
2537 test -z "$as_dir" && as_dir=.
2538 for ac_exec_ext in '' $ac_executable_extensions; do
2539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2540 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2542 break 2
2543 fi
2544 done
2545 done
2546 IFS=$as_save_IFS
2547  
2548 fi
2549 fi
2550 CC=$ac_cv_prog_CC
2551 if test -n "$CC"; then
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2553 $as_echo "$CC" >&6; }
2554 else
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2556 $as_echo "no" >&6; }
2557 fi
2558  
2559  
2560 fi
2561 if test -z "$ac_cv_prog_CC"; then
2562 ac_ct_CC=$CC
2563 # Extract the first word of "gcc", so it can be a program name with args.
2564 set dummy gcc; ac_word=$2
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2566 $as_echo_n "checking for $ac_word... " >&6; }
2567 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2568 $as_echo_n "(cached) " >&6
2569 else
2570 if test -n "$ac_ct_CC"; then
2571 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2572 else
2573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2574 for as_dir in $PATH
2575 do
2576 IFS=$as_save_IFS
2577 test -z "$as_dir" && as_dir=.
2578 for ac_exec_ext in '' $ac_executable_extensions; do
2579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2580 ac_cv_prog_ac_ct_CC="gcc"
2581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2582 break 2
2583 fi
2584 done
2585 done
2586 IFS=$as_save_IFS
2587  
2588 fi
2589 fi
2590 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2591 if test -n "$ac_ct_CC"; then
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2593 $as_echo "$ac_ct_CC" >&6; }
2594 else
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2596 $as_echo "no" >&6; }
2597 fi
2598  
2599 if test "x$ac_ct_CC" = x; then
2600 CC=""
2601 else
2602 case $cross_compiling:$ac_tool_warned in
2603 yes:)
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2606 ac_tool_warned=yes ;;
2607 esac
2608 CC=$ac_ct_CC
2609 fi
2610 else
2611 CC="$ac_cv_prog_CC"
2612 fi
2613  
2614 if test -z "$CC"; then
2615 if test -n "$ac_tool_prefix"; then
2616 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2617 set dummy ${ac_tool_prefix}cc; ac_word=$2
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2619 $as_echo_n "checking for $ac_word... " >&6; }
2620 if ${ac_cv_prog_CC+:} false; then :
2621 $as_echo_n "(cached) " >&6
2622 else
2623 if test -n "$CC"; then
2624 ac_cv_prog_CC="$CC" # Let the user override the test.
2625 else
2626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2627 for as_dir in $PATH
2628 do
2629 IFS=$as_save_IFS
2630 test -z "$as_dir" && as_dir=.
2631 for ac_exec_ext in '' $ac_executable_extensions; do
2632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2633 ac_cv_prog_CC="${ac_tool_prefix}cc"
2634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2635 break 2
2636 fi
2637 done
2638 done
2639 IFS=$as_save_IFS
2640  
2641 fi
2642 fi
2643 CC=$ac_cv_prog_CC
2644 if test -n "$CC"; then
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2646 $as_echo "$CC" >&6; }
2647 else
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2649 $as_echo "no" >&6; }
2650 fi
2651  
2652  
2653 fi
2654 fi
2655 if test -z "$CC"; then
2656 # Extract the first word of "cc", so it can be a program name with args.
2657 set dummy cc; ac_word=$2
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2659 $as_echo_n "checking for $ac_word... " >&6; }
2660 if ${ac_cv_prog_CC+:} false; then :
2661 $as_echo_n "(cached) " >&6
2662 else
2663 if test -n "$CC"; then
2664 ac_cv_prog_CC="$CC" # Let the user override the test.
2665 else
2666 ac_prog_rejected=no
2667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2668 for as_dir in $PATH
2669 do
2670 IFS=$as_save_IFS
2671 test -z "$as_dir" && as_dir=.
2672 for ac_exec_ext in '' $ac_executable_extensions; do
2673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2674 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2675 ac_prog_rejected=yes
2676 continue
2677 fi
2678 ac_cv_prog_CC="cc"
2679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2680 break 2
2681 fi
2682 done
2683 done
2684 IFS=$as_save_IFS
2685  
2686 if test $ac_prog_rejected = yes; then
2687 # We found a bogon in the path, so make sure we never use it.
2688 set dummy $ac_cv_prog_CC
2689 shift
2690 if test $# != 0; then
2691 # We chose a different compiler from the bogus one.
2692 # However, it has the same basename, so the bogon will be chosen
2693 # first if we set CC to just the basename; use the full file name.
2694 shift
2695 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2696 fi
2697 fi
2698 fi
2699 fi
2700 CC=$ac_cv_prog_CC
2701 if test -n "$CC"; then
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2703 $as_echo "$CC" >&6; }
2704 else
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2706 $as_echo "no" >&6; }
2707 fi
2708  
2709  
2710 fi
2711 if test -z "$CC"; then
2712 if test -n "$ac_tool_prefix"; then
2713 for ac_prog in cl.exe
2714 do
2715 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2716 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2718 $as_echo_n "checking for $ac_word... " >&6; }
2719 if ${ac_cv_prog_CC+:} false; then :
2720 $as_echo_n "(cached) " >&6
2721 else
2722 if test -n "$CC"; then
2723 ac_cv_prog_CC="$CC" # Let the user override the test.
2724 else
2725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2726 for as_dir in $PATH
2727 do
2728 IFS=$as_save_IFS
2729 test -z "$as_dir" && as_dir=.
2730 for ac_exec_ext in '' $ac_executable_extensions; do
2731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2732 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2734 break 2
2735 fi
2736 done
2737 done
2738 IFS=$as_save_IFS
2739  
2740 fi
2741 fi
2742 CC=$ac_cv_prog_CC
2743 if test -n "$CC"; then
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2745 $as_echo "$CC" >&6; }
2746 else
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2748 $as_echo "no" >&6; }
2749 fi
2750  
2751  
2752 test -n "$CC" && break
2753 done
2754 fi
2755 if test -z "$CC"; then
2756 ac_ct_CC=$CC
2757 for ac_prog in cl.exe
2758 do
2759 # Extract the first word of "$ac_prog", so it can be a program name with args.
2760 set dummy $ac_prog; ac_word=$2
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2762 $as_echo_n "checking for $ac_word... " >&6; }
2763 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2764 $as_echo_n "(cached) " >&6
2765 else
2766 if test -n "$ac_ct_CC"; then
2767 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2768 else
2769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2770 for as_dir in $PATH
2771 do
2772 IFS=$as_save_IFS
2773 test -z "$as_dir" && as_dir=.
2774 for ac_exec_ext in '' $ac_executable_extensions; do
2775 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2776 ac_cv_prog_ac_ct_CC="$ac_prog"
2777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2778 break 2
2779 fi
2780 done
2781 done
2782 IFS=$as_save_IFS
2783  
2784 fi
2785 fi
2786 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2787 if test -n "$ac_ct_CC"; then
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2789 $as_echo "$ac_ct_CC" >&6; }
2790 else
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2792 $as_echo "no" >&6; }
2793 fi
2794  
2795  
2796 test -n "$ac_ct_CC" && break
2797 done
2798  
2799 if test "x$ac_ct_CC" = x; then
2800 CC=""
2801 else
2802 case $cross_compiling:$ac_tool_warned in
2803 yes:)
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2806 ac_tool_warned=yes ;;
2807 esac
2808 CC=$ac_ct_CC
2809 fi
2810 fi
2811  
2812 fi
2813  
2814  
2815 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2817 as_fn_error $? "no acceptable C compiler found in \$PATH
2818 See \`config.log' for more details" "$LINENO" 5; }
2819  
2820 # Provide some information about the compiler.
2821 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2822 set X $ac_compile
2823 ac_compiler=$2
2824 for ac_option in --version -v -V -qversion; do
2825 { { ac_try="$ac_compiler $ac_option >&5"
2826 case "(($ac_try" in
2827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2828 *) ac_try_echo=$ac_try;;
2829 esac
2830 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2831 $as_echo "$ac_try_echo"; } >&5
2832 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2833 ac_status=$?
2834 if test -s conftest.err; then
2835 sed '10a\
2836 ... rest of stderr output deleted ...
2837 10q' conftest.err >conftest.er1
2838 cat conftest.er1 >&5
2839 fi
2840 rm -f conftest.er1 conftest.err
2841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2842 test $ac_status = 0; }
2843 done
2844  
2845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2846 /* end confdefs.h. */
2847  
2848 int
2849 main ()
2850 {
2851  
2852 ;
2853 return 0;
2854 }
2855 _ACEOF
2856 ac_clean_files_save=$ac_clean_files
2857 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2858 # Try to create an executable without -o first, disregard a.out.
2859 # It will help us diagnose broken compilers, and finding out an intuition
2860 # of exeext.
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2862 $as_echo_n "checking whether the C compiler works... " >&6; }
2863 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2864  
2865 # The possible output files:
2866 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2867  
2868 ac_rmfiles=
2869 for ac_file in $ac_files
2870 do
2871 case $ac_file in
2872 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2873 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2874 esac
2875 done
2876 rm -f $ac_rmfiles
2877  
2878 if { { ac_try="$ac_link_default"
2879 case "(($ac_try" in
2880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2881 *) ac_try_echo=$ac_try;;
2882 esac
2883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2884 $as_echo "$ac_try_echo"; } >&5
2885 (eval "$ac_link_default") 2>&5
2886 ac_status=$?
2887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2888 test $ac_status = 0; }; then :
2889 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2890 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2891 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2892 # so that the user can short-circuit this test for compilers unknown to
2893 # Autoconf.
2894 for ac_file in $ac_files ''
2895 do
2896 test -f "$ac_file" || continue
2897 case $ac_file in
2898 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2899 ;;
2900 [ab].out )
2901 # We found the default executable, but exeext='' is most
2902 # certainly right.
2903 break;;
2904 *.* )
2905 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2906 then :; else
2907 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2908 fi
2909 # We set ac_cv_exeext here because the later test for it is not
2910 # safe: cross compilers may not add the suffix if given an `-o'
2911 # argument, so we may need to know it at that point already.
2912 # Even if this section looks crufty: it has the advantage of
2913 # actually working.
2914 break;;
2915 * )
2916 break;;
2917 esac
2918 done
2919 test "$ac_cv_exeext" = no && ac_cv_exeext=
2920  
2921 else
2922 ac_file=''
2923 fi
2924 if test -z "$ac_file"; then :
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2926 $as_echo "no" >&6; }
2927 $as_echo "$as_me: failed program was:" >&5
2928 sed 's/^/| /' conftest.$ac_ext >&5
2929  
2930 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2931 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2932 as_fn_error 77 "C compiler cannot create executables
2933 See \`config.log' for more details" "$LINENO" 5; }
2934 else
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2936 $as_echo "yes" >&6; }
2937 fi
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2939 $as_echo_n "checking for C compiler default output file name... " >&6; }
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2941 $as_echo "$ac_file" >&6; }
2942 ac_exeext=$ac_cv_exeext
2943  
2944 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2945 ac_clean_files=$ac_clean_files_save
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2947 $as_echo_n "checking for suffix of executables... " >&6; }
2948 if { { ac_try="$ac_link"
2949 case "(($ac_try" in
2950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2951 *) ac_try_echo=$ac_try;;
2952 esac
2953 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2954 $as_echo "$ac_try_echo"; } >&5
2955 (eval "$ac_link") 2>&5
2956 ac_status=$?
2957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2958 test $ac_status = 0; }; then :
2959 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2960 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2961 # work properly (i.e., refer to `conftest.exe'), while it won't with
2962 # `rm'.
2963 for ac_file in conftest.exe conftest conftest.*; do
2964 test -f "$ac_file" || continue
2965 case $ac_file in
2966 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2967 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2968 break;;
2969 * ) break;;
2970 esac
2971 done
2972 else
2973 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2974 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2975 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2976 See \`config.log' for more details" "$LINENO" 5; }
2977 fi
2978 rm -f conftest conftest$ac_cv_exeext
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2980 $as_echo "$ac_cv_exeext" >&6; }
2981  
2982 rm -f conftest.$ac_ext
2983 EXEEXT=$ac_cv_exeext
2984 ac_exeext=$EXEEXT
2985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2986 /* end confdefs.h. */
2987 #include <stdio.h>
2988 int
2989 main ()
2990 {
2991 FILE *f = fopen ("conftest.out", "w");
2992 return ferror (f) || fclose (f) != 0;
2993  
2994 ;
2995 return 0;
2996 }
2997 _ACEOF
2998 ac_clean_files="$ac_clean_files conftest.out"
2999 # Check that the compiler produces executables we can run. If not, either
3000 # the compiler is broken, or we cross compile.
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3002 $as_echo_n "checking whether we are cross compiling... " >&6; }
3003 if test "$cross_compiling" != yes; then
3004 { { ac_try="$ac_link"
3005 case "(($ac_try" in
3006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3007 *) ac_try_echo=$ac_try;;
3008 esac
3009 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3010 $as_echo "$ac_try_echo"; } >&5
3011 (eval "$ac_link") 2>&5
3012 ac_status=$?
3013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3014 test $ac_status = 0; }
3015 if { ac_try='./conftest$ac_cv_exeext'
3016 { { case "(($ac_try" in
3017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3018 *) ac_try_echo=$ac_try;;
3019 esac
3020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3021 $as_echo "$ac_try_echo"; } >&5
3022 (eval "$ac_try") 2>&5
3023 ac_status=$?
3024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3025 test $ac_status = 0; }; }; then
3026 cross_compiling=no
3027 else
3028 if test "$cross_compiling" = maybe; then
3029 cross_compiling=yes
3030 else
3031 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3032 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3033 as_fn_error $? "cannot run C compiled programs.
3034 If you meant to cross compile, use \`--host'.
3035 See \`config.log' for more details" "$LINENO" 5; }
3036 fi
3037 fi
3038 fi
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3040 $as_echo "$cross_compiling" >&6; }
3041  
3042 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3043 ac_clean_files=$ac_clean_files_save
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3045 $as_echo_n "checking for suffix of object files... " >&6; }
3046 if ${ac_cv_objext+:} false; then :
3047 $as_echo_n "(cached) " >&6
3048 else
3049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3050 /* end confdefs.h. */
3051  
3052 int
3053 main ()
3054 {
3055  
3056 ;
3057 return 0;
3058 }
3059 _ACEOF
3060 rm -f conftest.o conftest.obj
3061 if { { ac_try="$ac_compile"
3062 case "(($ac_try" in
3063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3064 *) ac_try_echo=$ac_try;;
3065 esac
3066 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3067 $as_echo "$ac_try_echo"; } >&5
3068 (eval "$ac_compile") 2>&5
3069 ac_status=$?
3070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3071 test $ac_status = 0; }; then :
3072 for ac_file in conftest.o conftest.obj conftest.*; do
3073 test -f "$ac_file" || continue;
3074 case $ac_file in
3075 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3076 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3077 break;;
3078 esac
3079 done
3080 else
3081 $as_echo "$as_me: failed program was:" >&5
3082 sed 's/^/| /' conftest.$ac_ext >&5
3083  
3084 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3085 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3086 as_fn_error $? "cannot compute suffix of object files: cannot compile
3087 See \`config.log' for more details" "$LINENO" 5; }
3088 fi
3089 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3090 fi
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3092 $as_echo "$ac_cv_objext" >&6; }
3093 OBJEXT=$ac_cv_objext
3094 ac_objext=$OBJEXT
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3096 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3097 if ${ac_cv_c_compiler_gnu+:} false; then :
3098 $as_echo_n "(cached) " >&6
3099 else
3100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3101 /* end confdefs.h. */
3102  
3103 int
3104 main ()
3105 {
3106 #ifndef __GNUC__
3107 choke me
3108 #endif
3109  
3110 ;
3111 return 0;
3112 }
3113 _ACEOF
3114 if ac_fn_c_try_compile "$LINENO"; then :
3115 ac_compiler_gnu=yes
3116 else
3117 ac_compiler_gnu=no
3118 fi
3119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3120 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3121  
3122 fi
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3124 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3125 if test $ac_compiler_gnu = yes; then
3126 GCC=yes
3127 else
3128 GCC=
3129 fi
3130 ac_test_CFLAGS=${CFLAGS+set}
3131 ac_save_CFLAGS=$CFLAGS
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3133 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3134 if ${ac_cv_prog_cc_g+:} false; then :
3135 $as_echo_n "(cached) " >&6
3136 else
3137 ac_save_c_werror_flag=$ac_c_werror_flag
3138 ac_c_werror_flag=yes
3139 ac_cv_prog_cc_g=no
3140 CFLAGS="-g"
3141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3142 /* end confdefs.h. */
3143  
3144 int
3145 main ()
3146 {
3147  
3148 ;
3149 return 0;
3150 }
3151 _ACEOF
3152 if ac_fn_c_try_compile "$LINENO"; then :
3153 ac_cv_prog_cc_g=yes
3154 else
3155 CFLAGS=""
3156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3157 /* end confdefs.h. */
3158  
3159 int
3160 main ()
3161 {
3162  
3163 ;
3164 return 0;
3165 }
3166 _ACEOF
3167 if ac_fn_c_try_compile "$LINENO"; then :
3168  
3169 else
3170 ac_c_werror_flag=$ac_save_c_werror_flag
3171 CFLAGS="-g"
3172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3173 /* end confdefs.h. */
3174  
3175 int
3176 main ()
3177 {
3178  
3179 ;
3180 return 0;
3181 }
3182 _ACEOF
3183 if ac_fn_c_try_compile "$LINENO"; then :
3184 ac_cv_prog_cc_g=yes
3185 fi
3186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3187 fi
3188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3189 fi
3190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3191 ac_c_werror_flag=$ac_save_c_werror_flag
3192 fi
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3194 $as_echo "$ac_cv_prog_cc_g" >&6; }
3195 if test "$ac_test_CFLAGS" = set; then
3196 CFLAGS=$ac_save_CFLAGS
3197 elif test $ac_cv_prog_cc_g = yes; then
3198 if test "$GCC" = yes; then
3199 CFLAGS="-g -O2"
3200 else
3201 CFLAGS="-g"
3202 fi
3203 else
3204 if test "$GCC" = yes; then
3205 CFLAGS="-O2"
3206 else
3207 CFLAGS=
3208 fi
3209 fi
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3211 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3212 if ${ac_cv_prog_cc_c89+:} false; then :
3213 $as_echo_n "(cached) " >&6
3214 else
3215 ac_cv_prog_cc_c89=no
3216 ac_save_CC=$CC
3217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3218 /* end confdefs.h. */
3219 #include <stdarg.h>
3220 #include <stdio.h>
3221 struct stat;
3222 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3223 struct buf { int x; };
3224 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3225 static char *e (p, i)
3226 char **p;
3227 int i;
3228 {
3229 return p[i];
3230 }
3231 static char *f (char * (*g) (char **, int), char **p, ...)
3232 {
3233 char *s;
3234 va_list v;
3235 va_start (v,p);
3236 s = g (p, va_arg (v,int));
3237 va_end (v);
3238 return s;
3239 }
3240  
3241 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3242 function prototypes and stuff, but not '\xHH' hex character constants.
3243 These don't provoke an error unfortunately, instead are silently treated
3244 as 'x'. The following induces an error, until -std is added to get
3245 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3246 array size at least. It's necessary to write '\x00'==0 to get something
3247 that's true only with -std. */
3248 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3249  
3250 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3251 inside strings and character constants. */
3252 #define FOO(x) 'x'
3253 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3254  
3255 int test (int i, double x);
3256 struct s1 {int (*f) (int a);};
3257 struct s2 {int (*f) (double a);};
3258 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3259 int argc;
3260 char **argv;
3261 int
3262 main ()
3263 {
3264 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3265 ;
3266 return 0;
3267 }
3268 _ACEOF
3269 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3270 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3271 do
3272 CC="$ac_save_CC $ac_arg"
3273 if ac_fn_c_try_compile "$LINENO"; then :
3274 ac_cv_prog_cc_c89=$ac_arg
3275 fi
3276 rm -f core conftest.err conftest.$ac_objext
3277 test "x$ac_cv_prog_cc_c89" != "xno" && break
3278 done
3279 rm -f conftest.$ac_ext
3280 CC=$ac_save_CC
3281  
3282 fi
3283 # AC_CACHE_VAL
3284 case "x$ac_cv_prog_cc_c89" in
3285 x)
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3287 $as_echo "none needed" >&6; } ;;
3288 xno)
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3290 $as_echo "unsupported" >&6; } ;;
3291 *)
3292 CC="$CC $ac_cv_prog_cc_c89"
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3294 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3295 esac
3296 if test "x$ac_cv_prog_cc_c89" != xno; then :
3297  
3298 fi
3299  
3300 ac_ext=c
3301 ac_cpp='$CPP $CPPFLAGS'
3302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3305  
3306 ac_ext=c
3307 ac_cpp='$CPP $CPPFLAGS'
3308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3312 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3313 if ${am_cv_prog_cc_c_o+:} false; then :
3314 $as_echo_n "(cached) " >&6
3315 else
3316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3317 /* end confdefs.h. */
3318  
3319 int
3320 main ()
3321 {
3322  
3323 ;
3324 return 0;
3325 }
3326 _ACEOF
3327 # Make sure it works both with $CC and with simple cc.
3328 # Following AC_PROG_CC_C_O, we do the test twice because some
3329 # compilers refuse to overwrite an existing .o file with -o,
3330 # though they will create one.
3331 am_cv_prog_cc_c_o=yes
3332 for am_i in 1 2; do
3333 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3334 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3335 ac_status=$?
3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337 (exit $ac_status); } \
3338 && test -f conftest2.$ac_objext; then
3339 : OK
3340 else
3341 am_cv_prog_cc_c_o=no
3342 break
3343 fi
3344 done
3345 rm -f core conftest*
3346 unset am_i
3347 fi
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3349 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3350 if test "$am_cv_prog_cc_c_o" != yes; then
3351 # Losing compiler, so override with the script.
3352 # FIXME: It is wrong to rewrite CC.
3353 # But if we don't then we get into trouble of one sort or another.
3354 # A longer-term fix would be to have automake use am__CC in this case,
3355 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3356 CC="$am_aux_dir/compile $CC"
3357 fi
3358 ac_ext=c
3359 ac_cpp='$CPP $CPPFLAGS'
3360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3363  
3364  
3365 depcc="$CC" am_compiler_list=
3366  
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3368 $as_echo_n "checking dependency style of $depcc... " >&6; }
3369 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3370 $as_echo_n "(cached) " >&6
3371 else
3372 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3373 # We make a subdir and do the tests there. Otherwise we can end up
3374 # making bogus files that we don't know about and never remove. For
3375 # instance it was reported that on HP-UX the gcc test will end up
3376 # making a dummy file named 'D' -- because '-MD' means "put the output
3377 # in D".
3378 rm -rf conftest.dir
3379 mkdir conftest.dir
3380 # Copy depcomp to subdir because otherwise we won't find it if we're
3381 # using a relative directory.
3382 cp "$am_depcomp" conftest.dir
3383 cd conftest.dir
3384 # We will build objects and dependencies in a subdirectory because
3385 # it helps to detect inapplicable dependency modes. For instance
3386 # both Tru64's cc and ICC support -MD to output dependencies as a
3387 # side effect of compilation, but ICC will put the dependencies in
3388 # the current directory while Tru64 will put them in the object
3389 # directory.
3390 mkdir sub
3391  
3392 am_cv_CC_dependencies_compiler_type=none
3393 if test "$am_compiler_list" = ""; then
3394 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3395 fi
3396 am__universal=false
3397 case " $depcc " in #(
3398 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3399 esac
3400  
3401 for depmode in $am_compiler_list; do
3402 # Setup a source with many dependencies, because some compilers
3403 # like to wrap large dependency lists on column 80 (with \), and
3404 # we should not choose a depcomp mode which is confused by this.
3405 #
3406 # We need to recreate these files for each test, as the compiler may
3407 # overwrite some of them when testing with obscure command lines.
3408 # This happens at least with the AIX C compiler.
3409 : > sub/conftest.c
3410 for i in 1 2 3 4 5 6; do
3411 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3412 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3413 # Solaris 10 /bin/sh.
3414 echo '/* dummy */' > sub/conftst$i.h
3415 done
3416 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3417  
3418 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3419 # mode. It turns out that the SunPro C++ compiler does not properly
3420 # handle '-M -o', and we need to detect this. Also, some Intel
3421 # versions had trouble with output in subdirs.
3422 am__obj=sub/conftest.${OBJEXT-o}
3423 am__minus_obj="-o $am__obj"
3424 case $depmode in
3425 gcc)
3426 # This depmode causes a compiler race in universal mode.
3427 test "$am__universal" = false || continue
3428 ;;
3429 nosideeffect)
3430 # After this tag, mechanisms are not by side-effect, so they'll
3431 # only be used when explicitly requested.
3432 if test "x$enable_dependency_tracking" = xyes; then
3433 continue
3434 else
3435 break
3436 fi
3437 ;;
3438 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3439 # This compiler won't grok '-c -o', but also, the minuso test has
3440 # not run yet. These depmodes are late enough in the game, and
3441 # so weak that their functioning should not be impacted.
3442 am__obj=conftest.${OBJEXT-o}
3443 am__minus_obj=
3444 ;;
3445 none) break ;;
3446 esac
3447 if depmode=$depmode \
3448 source=sub/conftest.c object=$am__obj \
3449 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3450 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3451 >/dev/null 2>conftest.err &&
3452 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3453 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3454 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3455 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3456 # icc doesn't choke on unknown options, it will just issue warnings
3457 # or remarks (even with -Werror). So we grep stderr for any message
3458 # that says an option was ignored or not supported.
3459 # When given -MP, icc 7.0 and 7.1 complain thusly:
3460 # icc: Command line warning: ignoring option '-M'; no argument required
3461 # The diagnosis changed in icc 8.0:
3462 # icc: Command line remark: option '-MP' not supported
3463 if (grep 'ignoring option' conftest.err ||
3464 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3465 am_cv_CC_dependencies_compiler_type=$depmode
3466 break
3467 fi
3468 fi
3469 done
3470  
3471 cd ..
3472 rm -rf conftest.dir
3473 else
3474 am_cv_CC_dependencies_compiler_type=none
3475 fi
3476  
3477 fi
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3479 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3480 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3481  
3482 if
3483 test "x$enable_dependency_tracking" != xno \
3484 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3485 am__fastdepCC_TRUE=
3486 am__fastdepCC_FALSE='#'
3487 else
3488 am__fastdepCC_TRUE='#'
3489 am__fastdepCC_FALSE=
3490 fi
3491  
3492  
3493  
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
3495 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
3496 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
3497 $as_echo_n "(cached) " >&6
3498 else
3499 ac_check_lib_save_LIBS=$LIBS
3500 LIBS="-lrt $LIBS"
3501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3502 /* end confdefs.h. */
3503  
3504 /* Override any GCC internal prototype to avoid an error.
3505 Use char because int might match the return type of a GCC
3506 builtin and then its argument prototype would still apply. */
3507 #ifdef __cplusplus
3508 extern "C"
3509 #endif
3510 char clock_gettime ();
3511 int
3512 main ()
3513 {
3514 return clock_gettime ();
3515 ;
3516 return 0;
3517 }
3518 _ACEOF
3519 if ac_fn_c_try_link "$LINENO"; then :
3520 ac_cv_lib_rt_clock_gettime=yes
3521 else
3522 ac_cv_lib_rt_clock_gettime=no
3523 fi
3524 rm -f core conftest.err conftest.$ac_objext \
3525 conftest$ac_exeext conftest.$ac_ext
3526 LIBS=$ac_check_lib_save_LIBS
3527 fi
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
3529 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
3530 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
3531 cat >>confdefs.h <<_ACEOF
3532 #define HAVE_LIBRT 1
3533 _ACEOF
3534  
3535 LIBS="-lrt $LIBS"
3536  
3537 fi
3538  
3539 for ac_prog in doxygen
3540 do
3541 # Extract the first word of "$ac_prog", so it can be a program name with args.
3542 set dummy $ac_prog; ac_word=$2
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3544 $as_echo_n "checking for $ac_word... " >&6; }
3545 if ${ac_cv_prog_DOXYGEN+:} false; then :
3546 $as_echo_n "(cached) " >&6
3547 else
3548 if test -n "$DOXYGEN"; then
3549 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
3550 else
3551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3552 for as_dir in $PATH
3553 do
3554 IFS=$as_save_IFS
3555 test -z "$as_dir" && as_dir=.
3556 for ac_exec_ext in '' $ac_executable_extensions; do
3557 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3558 ac_cv_prog_DOXYGEN="$ac_prog"
3559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3560 break 2
3561 fi
3562 done
3563 done
3564 IFS=$as_save_IFS
3565  
3566 fi
3567 fi
3568 DOXYGEN=$ac_cv_prog_DOXYGEN
3569 if test -n "$DOXYGEN"; then
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
3571 $as_echo "$DOXYGEN" >&6; }
3572 else
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3574 $as_echo "no" >&6; }
3575 fi
3576  
3577  
3578 test -n "$DOXYGEN" && break
3579 done
3580  
3581 if test -z "$DOXYGEN";
3582 then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen not found - continuing without Doxygen support" >&5
3583 $as_echo "$as_me: WARNING: Doxygen not found - continuing without Doxygen support" >&2;}
3584 fi
3585 if test -n "$ac_tool_prefix"; then
3586 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3587 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3589 $as_echo_n "checking for $ac_word... " >&6; }
3590 if ${ac_cv_prog_RANLIB+:} false; then :
3591 $as_echo_n "(cached) " >&6
3592 else
3593 if test -n "$RANLIB"; then
3594 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3595 else
3596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3597 for as_dir in $PATH
3598 do
3599 IFS=$as_save_IFS
3600 test -z "$as_dir" && as_dir=.
3601 for ac_exec_ext in '' $ac_executable_extensions; do
3602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3603 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3605 break 2
3606 fi
3607 done
3608 done
3609 IFS=$as_save_IFS
3610  
3611 fi
3612 fi
3613 RANLIB=$ac_cv_prog_RANLIB
3614 if test -n "$RANLIB"; then
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3616 $as_echo "$RANLIB" >&6; }
3617 else
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3619 $as_echo "no" >&6; }
3620 fi
3621  
3622  
3623 fi
3624 if test -z "$ac_cv_prog_RANLIB"; then
3625 ac_ct_RANLIB=$RANLIB
3626 # Extract the first word of "ranlib", so it can be a program name with args.
3627 set dummy ranlib; ac_word=$2
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3629 $as_echo_n "checking for $ac_word... " >&6; }
3630 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3631 $as_echo_n "(cached) " >&6
3632 else
3633 if test -n "$ac_ct_RANLIB"; then
3634 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3635 else
3636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3637 for as_dir in $PATH
3638 do
3639 IFS=$as_save_IFS
3640 test -z "$as_dir" && as_dir=.
3641 for ac_exec_ext in '' $ac_executable_extensions; do
3642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3643 ac_cv_prog_ac_ct_RANLIB="ranlib"
3644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3645 break 2
3646 fi
3647 done
3648 done
3649 IFS=$as_save_IFS
3650  
3651 fi
3652 fi
3653 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3654 if test -n "$ac_ct_RANLIB"; then
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3656 $as_echo "$ac_ct_RANLIB" >&6; }
3657 else
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3659 $as_echo "no" >&6; }
3660 fi
3661  
3662 if test "x$ac_ct_RANLIB" = x; then
3663 RANLIB=":"
3664 else
3665 case $cross_compiling:$ac_tool_warned in
3666 yes:)
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3668 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3669 ac_tool_warned=yes ;;
3670 esac
3671 RANLIB=$ac_ct_RANLIB
3672 fi
3673 else
3674 RANLIB="$ac_cv_prog_RANLIB"
3675 fi
3676  
3677 ac_ext=c
3678 ac_cpp='$CPP $CPPFLAGS'
3679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3682 if test -n "$ac_tool_prefix"; then
3683 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3684 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3686 $as_echo_n "checking for $ac_word... " >&6; }
3687 if ${ac_cv_prog_CC+:} false; then :
3688 $as_echo_n "(cached) " >&6
3689 else
3690 if test -n "$CC"; then
3691 ac_cv_prog_CC="$CC" # Let the user override the test.
3692 else
3693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3694 for as_dir in $PATH
3695 do
3696 IFS=$as_save_IFS
3697 test -z "$as_dir" && as_dir=.
3698 for ac_exec_ext in '' $ac_executable_extensions; do
3699 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3700 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3702 break 2
3703 fi
3704 done
3705 done
3706 IFS=$as_save_IFS
3707  
3708 fi
3709 fi
3710 CC=$ac_cv_prog_CC
3711 if test -n "$CC"; then
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3713 $as_echo "$CC" >&6; }
3714 else
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3716 $as_echo "no" >&6; }
3717 fi
3718  
3719  
3720 fi
3721 if test -z "$ac_cv_prog_CC"; then
3722 ac_ct_CC=$CC
3723 # Extract the first word of "gcc", so it can be a program name with args.
3724 set dummy gcc; ac_word=$2
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3726 $as_echo_n "checking for $ac_word... " >&6; }
3727 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3728 $as_echo_n "(cached) " >&6
3729 else
3730 if test -n "$ac_ct_CC"; then
3731 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3732 else
3733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3734 for as_dir in $PATH
3735 do
3736 IFS=$as_save_IFS
3737 test -z "$as_dir" && as_dir=.
3738 for ac_exec_ext in '' $ac_executable_extensions; do
3739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3740 ac_cv_prog_ac_ct_CC="gcc"
3741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3742 break 2
3743 fi
3744 done
3745 done
3746 IFS=$as_save_IFS
3747  
3748 fi
3749 fi
3750 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3751 if test -n "$ac_ct_CC"; then
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3753 $as_echo "$ac_ct_CC" >&6; }
3754 else
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3756 $as_echo "no" >&6; }
3757 fi
3758  
3759 if test "x$ac_ct_CC" = x; then
3760 CC=""
3761 else
3762 case $cross_compiling:$ac_tool_warned in
3763 yes:)
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3765 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3766 ac_tool_warned=yes ;;
3767 esac
3768 CC=$ac_ct_CC
3769 fi
3770 else
3771 CC="$ac_cv_prog_CC"
3772 fi
3773  
3774 if test -z "$CC"; then
3775 if test -n "$ac_tool_prefix"; then
3776 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3777 set dummy ${ac_tool_prefix}cc; ac_word=$2
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3779 $as_echo_n "checking for $ac_word... " >&6; }
3780 if ${ac_cv_prog_CC+:} false; then :
3781 $as_echo_n "(cached) " >&6
3782 else
3783 if test -n "$CC"; then
3784 ac_cv_prog_CC="$CC" # Let the user override the test.
3785 else
3786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3787 for as_dir in $PATH
3788 do
3789 IFS=$as_save_IFS
3790 test -z "$as_dir" && as_dir=.
3791 for ac_exec_ext in '' $ac_executable_extensions; do
3792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3793 ac_cv_prog_CC="${ac_tool_prefix}cc"
3794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3795 break 2
3796 fi
3797 done
3798 done
3799 IFS=$as_save_IFS
3800  
3801 fi
3802 fi
3803 CC=$ac_cv_prog_CC
3804 if test -n "$CC"; then
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3806 $as_echo "$CC" >&6; }
3807 else
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3809 $as_echo "no" >&6; }
3810 fi
3811  
3812  
3813 fi
3814 fi
3815 if test -z "$CC"; then
3816 # Extract the first word of "cc", so it can be a program name with args.
3817 set dummy cc; ac_word=$2
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3819 $as_echo_n "checking for $ac_word... " >&6; }
3820 if ${ac_cv_prog_CC+:} false; then :
3821 $as_echo_n "(cached) " >&6
3822 else
3823 if test -n "$CC"; then
3824 ac_cv_prog_CC="$CC" # Let the user override the test.
3825 else
3826 ac_prog_rejected=no
3827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3828 for as_dir in $PATH
3829 do
3830 IFS=$as_save_IFS
3831 test -z "$as_dir" && as_dir=.
3832 for ac_exec_ext in '' $ac_executable_extensions; do
3833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3834 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3835 ac_prog_rejected=yes
3836 continue
3837 fi
3838 ac_cv_prog_CC="cc"
3839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3840 break 2
3841 fi
3842 done
3843 done
3844 IFS=$as_save_IFS
3845  
3846 if test $ac_prog_rejected = yes; then
3847 # We found a bogon in the path, so make sure we never use it.
3848 set dummy $ac_cv_prog_CC
3849 shift
3850 if test $# != 0; then
3851 # We chose a different compiler from the bogus one.
3852 # However, it has the same basename, so the bogon will be chosen
3853 # first if we set CC to just the basename; use the full file name.
3854 shift
3855 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3856 fi
3857 fi
3858 fi
3859 fi
3860 CC=$ac_cv_prog_CC
3861 if test -n "$CC"; then
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3863 $as_echo "$CC" >&6; }
3864 else
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3866 $as_echo "no" >&6; }
3867 fi
3868  
3869  
3870 fi
3871 if test -z "$CC"; then
3872 if test -n "$ac_tool_prefix"; then
3873 for ac_prog in cl.exe
3874 do
3875 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3876 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3878 $as_echo_n "checking for $ac_word... " >&6; }
3879 if ${ac_cv_prog_CC+:} false; then :
3880 $as_echo_n "(cached) " >&6
3881 else
3882 if test -n "$CC"; then
3883 ac_cv_prog_CC="$CC" # Let the user override the test.
3884 else
3885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3886 for as_dir in $PATH
3887 do
3888 IFS=$as_save_IFS
3889 test -z "$as_dir" && as_dir=.
3890 for ac_exec_ext in '' $ac_executable_extensions; do
3891 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3892 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3894 break 2
3895 fi
3896 done
3897 done
3898 IFS=$as_save_IFS
3899  
3900 fi
3901 fi
3902 CC=$ac_cv_prog_CC
3903 if test -n "$CC"; then
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3905 $as_echo "$CC" >&6; }
3906 else
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3908 $as_echo "no" >&6; }
3909 fi
3910  
3911  
3912 test -n "$CC" && break
3913 done
3914 fi
3915 if test -z "$CC"; then
3916 ac_ct_CC=$CC
3917 for ac_prog in cl.exe
3918 do
3919 # Extract the first word of "$ac_prog", so it can be a program name with args.
3920 set dummy $ac_prog; ac_word=$2
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3922 $as_echo_n "checking for $ac_word... " >&6; }
3923 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3924 $as_echo_n "(cached) " >&6
3925 else
3926 if test -n "$ac_ct_CC"; then
3927 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3928 else
3929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3930 for as_dir in $PATH
3931 do
3932 IFS=$as_save_IFS
3933 test -z "$as_dir" && as_dir=.
3934 for ac_exec_ext in '' $ac_executable_extensions; do
3935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3936 ac_cv_prog_ac_ct_CC="$ac_prog"
3937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3938 break 2
3939 fi
3940 done
3941 done
3942 IFS=$as_save_IFS
3943  
3944 fi
3945 fi
3946 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3947 if test -n "$ac_ct_CC"; then
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3949 $as_echo "$ac_ct_CC" >&6; }
3950 else
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3952 $as_echo "no" >&6; }
3953 fi
3954  
3955  
3956 test -n "$ac_ct_CC" && break
3957 done
3958  
3959 if test "x$ac_ct_CC" = x; then
3960 CC=""
3961 else
3962 case $cross_compiling:$ac_tool_warned in
3963 yes:)
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3965 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3966 ac_tool_warned=yes ;;
3967 esac
3968 CC=$ac_ct_CC
3969 fi
3970 fi
3971  
3972 fi
3973  
3974  
3975 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3976 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3977 as_fn_error $? "no acceptable C compiler found in \$PATH
3978 See \`config.log' for more details" "$LINENO" 5; }
3979  
3980 # Provide some information about the compiler.
3981 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3982 set X $ac_compile
3983 ac_compiler=$2
3984 for ac_option in --version -v -V -qversion; do
3985 { { ac_try="$ac_compiler $ac_option >&5"
3986 case "(($ac_try" in
3987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3988 *) ac_try_echo=$ac_try;;
3989 esac
3990 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3991 $as_echo "$ac_try_echo"; } >&5
3992 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3993 ac_status=$?
3994 if test -s conftest.err; then
3995 sed '10a\
3996 ... rest of stderr output deleted ...
3997 10q' conftest.err >conftest.er1
3998 cat conftest.er1 >&5
3999 fi
4000 rm -f conftest.er1 conftest.err
4001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4002 test $ac_status = 0; }
4003 done
4004  
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4006 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4007 if ${ac_cv_c_compiler_gnu+:} false; then :
4008 $as_echo_n "(cached) " >&6
4009 else
4010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4011 /* end confdefs.h. */
4012  
4013 int
4014 main ()
4015 {
4016 #ifndef __GNUC__
4017 choke me
4018 #endif
4019  
4020 ;
4021 return 0;
4022 }
4023 _ACEOF
4024 if ac_fn_c_try_compile "$LINENO"; then :
4025 ac_compiler_gnu=yes
4026 else
4027 ac_compiler_gnu=no
4028 fi
4029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4030 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4031  
4032 fi
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4034 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4035 if test $ac_compiler_gnu = yes; then
4036 GCC=yes
4037 else
4038 GCC=
4039 fi
4040 ac_test_CFLAGS=${CFLAGS+set}
4041 ac_save_CFLAGS=$CFLAGS
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4043 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4044 if ${ac_cv_prog_cc_g+:} false; then :
4045 $as_echo_n "(cached) " >&6
4046 else
4047 ac_save_c_werror_flag=$ac_c_werror_flag
4048 ac_c_werror_flag=yes
4049 ac_cv_prog_cc_g=no
4050 CFLAGS="-g"
4051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4052 /* end confdefs.h. */
4053  
4054 int
4055 main ()
4056 {
4057  
4058 ;
4059 return 0;
4060 }
4061 _ACEOF
4062 if ac_fn_c_try_compile "$LINENO"; then :
4063 ac_cv_prog_cc_g=yes
4064 else
4065 CFLAGS=""
4066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4067 /* end confdefs.h. */
4068  
4069 int
4070 main ()
4071 {
4072  
4073 ;
4074 return 0;
4075 }
4076 _ACEOF
4077 if ac_fn_c_try_compile "$LINENO"; then :
4078  
4079 else
4080 ac_c_werror_flag=$ac_save_c_werror_flag
4081 CFLAGS="-g"
4082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4083 /* end confdefs.h. */
4084  
4085 int
4086 main ()
4087 {
4088  
4089 ;
4090 return 0;
4091 }
4092 _ACEOF
4093 if ac_fn_c_try_compile "$LINENO"; then :
4094 ac_cv_prog_cc_g=yes
4095 fi
4096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4097 fi
4098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4099 fi
4100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4101 ac_c_werror_flag=$ac_save_c_werror_flag
4102 fi
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4104 $as_echo "$ac_cv_prog_cc_g" >&6; }
4105 if test "$ac_test_CFLAGS" = set; then
4106 CFLAGS=$ac_save_CFLAGS
4107 elif test $ac_cv_prog_cc_g = yes; then
4108 if test "$GCC" = yes; then
4109 CFLAGS="-g -O2"
4110 else
4111 CFLAGS="-g"
4112 fi
4113 else
4114 if test "$GCC" = yes; then
4115 CFLAGS="-O2"
4116 else
4117 CFLAGS=
4118 fi
4119 fi
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4121 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4122 if ${ac_cv_prog_cc_c89+:} false; then :
4123 $as_echo_n "(cached) " >&6
4124 else
4125 ac_cv_prog_cc_c89=no
4126 ac_save_CC=$CC
4127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4128 /* end confdefs.h. */
4129 #include <stdarg.h>
4130 #include <stdio.h>
4131 struct stat;
4132 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4133 struct buf { int x; };
4134 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4135 static char *e (p, i)
4136 char **p;
4137 int i;
4138 {
4139 return p[i];
4140 }
4141 static char *f (char * (*g) (char **, int), char **p, ...)
4142 {
4143 char *s;
4144 va_list v;
4145 va_start (v,p);
4146 s = g (p, va_arg (v,int));
4147 va_end (v);
4148 return s;
4149 }
4150  
4151 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4152 function prototypes and stuff, but not '\xHH' hex character constants.
4153 These don't provoke an error unfortunately, instead are silently treated
4154 as 'x'. The following induces an error, until -std is added to get
4155 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4156 array size at least. It's necessary to write '\x00'==0 to get something
4157 that's true only with -std. */
4158 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4159  
4160 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4161 inside strings and character constants. */
4162 #define FOO(x) 'x'
4163 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4164  
4165 int test (int i, double x);
4166 struct s1 {int (*f) (int a);};
4167 struct s2 {int (*f) (double a);};
4168 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4169 int argc;
4170 char **argv;
4171 int
4172 main ()
4173 {
4174 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4175 ;
4176 return 0;
4177 }
4178 _ACEOF
4179 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4180 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4181 do
4182 CC="$ac_save_CC $ac_arg"
4183 if ac_fn_c_try_compile "$LINENO"; then :
4184 ac_cv_prog_cc_c89=$ac_arg
4185 fi
4186 rm -f core conftest.err conftest.$ac_objext
4187 test "x$ac_cv_prog_cc_c89" != "xno" && break
4188 done
4189 rm -f conftest.$ac_ext
4190 CC=$ac_save_CC
4191  
4192 fi
4193 # AC_CACHE_VAL
4194 case "x$ac_cv_prog_cc_c89" in
4195 x)
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4197 $as_echo "none needed" >&6; } ;;
4198 xno)
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4200 $as_echo "unsupported" >&6; } ;;
4201 *)
4202 CC="$CC $ac_cv_prog_cc_c89"
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4204 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4205 esac
4206 if test "x$ac_cv_prog_cc_c89" != xno; then :
4207  
4208 fi
4209  
4210 ac_ext=c
4211 ac_cpp='$CPP $CPPFLAGS'
4212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4215  
4216 ac_ext=c
4217 ac_cpp='$CPP $CPPFLAGS'
4218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4222 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4223 if ${am_cv_prog_cc_c_o+:} false; then :
4224 $as_echo_n "(cached) " >&6
4225 else
4226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4227 /* end confdefs.h. */
4228  
4229 int
4230 main ()
4231 {
4232  
4233 ;
4234 return 0;
4235 }
4236 _ACEOF
4237 # Make sure it works both with $CC and with simple cc.
4238 # Following AC_PROG_CC_C_O, we do the test twice because some
4239 # compilers refuse to overwrite an existing .o file with -o,
4240 # though they will create one.
4241 am_cv_prog_cc_c_o=yes
4242 for am_i in 1 2; do
4243 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4244 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4245 ac_status=$?
4246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4247 (exit $ac_status); } \
4248 && test -f conftest2.$ac_objext; then
4249 : OK
4250 else
4251 am_cv_prog_cc_c_o=no
4252 break
4253 fi
4254 done
4255 rm -f core conftest*
4256 unset am_i
4257 fi
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4259 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4260 if test "$am_cv_prog_cc_c_o" != yes; then
4261 # Losing compiler, so override with the script.
4262 # FIXME: It is wrong to rewrite CC.
4263 # But if we don't then we get into trouble of one sort or another.
4264 # A longer-term fix would be to have automake use am__CC in this case,
4265 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4266 CC="$am_aux_dir/compile $CC"
4267 fi
4268 ac_ext=c
4269 ac_cpp='$CPP $CPPFLAGS'
4270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4273  
4274  
4275 depcc="$CC" am_compiler_list=
4276  
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4278 $as_echo_n "checking dependency style of $depcc... " >&6; }
4279 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4280 $as_echo_n "(cached) " >&6
4281 else
4282 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4283 # We make a subdir and do the tests there. Otherwise we can end up
4284 # making bogus files that we don't know about and never remove. For
4285 # instance it was reported that on HP-UX the gcc test will end up
4286 # making a dummy file named 'D' -- because '-MD' means "put the output
4287 # in D".
4288 rm -rf conftest.dir
4289 mkdir conftest.dir
4290 # Copy depcomp to subdir because otherwise we won't find it if we're
4291 # using a relative directory.
4292 cp "$am_depcomp" conftest.dir
4293 cd conftest.dir
4294 # We will build objects and dependencies in a subdirectory because
4295 # it helps to detect inapplicable dependency modes. For instance
4296 # both Tru64's cc and ICC support -MD to output dependencies as a
4297 # side effect of compilation, but ICC will put the dependencies in
4298 # the current directory while Tru64 will put them in the object
4299 # directory.
4300 mkdir sub
4301  
4302 am_cv_CC_dependencies_compiler_type=none
4303 if test "$am_compiler_list" = ""; then
4304 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4305 fi
4306 am__universal=false
4307 case " $depcc " in #(
4308 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4309 esac
4310  
4311 for depmode in $am_compiler_list; do
4312 # Setup a source with many dependencies, because some compilers
4313 # like to wrap large dependency lists on column 80 (with \), and
4314 # we should not choose a depcomp mode which is confused by this.
4315 #
4316 # We need to recreate these files for each test, as the compiler may
4317 # overwrite some of them when testing with obscure command lines.
4318 # This happens at least with the AIX C compiler.
4319 : > sub/conftest.c
4320 for i in 1 2 3 4 5 6; do
4321 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4322 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4323 # Solaris 10 /bin/sh.
4324 echo '/* dummy */' > sub/conftst$i.h
4325 done
4326 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4327  
4328 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4329 # mode. It turns out that the SunPro C++ compiler does not properly
4330 # handle '-M -o', and we need to detect this. Also, some Intel
4331 # versions had trouble with output in subdirs.
4332 am__obj=sub/conftest.${OBJEXT-o}
4333 am__minus_obj="-o $am__obj"
4334 case $depmode in
4335 gcc)
4336 # This depmode causes a compiler race in universal mode.
4337 test "$am__universal" = false || continue
4338 ;;
4339 nosideeffect)
4340 # After this tag, mechanisms are not by side-effect, so they'll
4341 # only be used when explicitly requested.
4342 if test "x$enable_dependency_tracking" = xyes; then
4343 continue
4344 else
4345 break
4346 fi
4347 ;;
4348 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4349 # This compiler won't grok '-c -o', but also, the minuso test has
4350 # not run yet. These depmodes are late enough in the game, and
4351 # so weak that their functioning should not be impacted.
4352 am__obj=conftest.${OBJEXT-o}
4353 am__minus_obj=
4354 ;;
4355 none) break ;;
4356 esac
4357 if depmode=$depmode \
4358 source=sub/conftest.c object=$am__obj \
4359 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4360 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4361 >/dev/null 2>conftest.err &&
4362 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4363 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4364 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4365 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4366 # icc doesn't choke on unknown options, it will just issue warnings
4367 # or remarks (even with -Werror). So we grep stderr for any message
4368 # that says an option was ignored or not supported.
4369 # When given -MP, icc 7.0 and 7.1 complain thusly:
4370 # icc: Command line warning: ignoring option '-M'; no argument required
4371 # The diagnosis changed in icc 8.0:
4372 # icc: Command line remark: option '-MP' not supported
4373 if (grep 'ignoring option' conftest.err ||
4374 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4375 am_cv_CC_dependencies_compiler_type=$depmode
4376 break
4377 fi
4378 fi
4379 done
4380  
4381 cd ..
4382 rm -rf conftest.dir
4383 else
4384 am_cv_CC_dependencies_compiler_type=none
4385 fi
4386  
4387 fi
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4389 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4390 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4391  
4392 if
4393 test "x$enable_dependency_tracking" != xno \
4394 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4395 am__fastdepCC_TRUE=
4396 am__fastdepCC_FALSE='#'
4397 else
4398 am__fastdepCC_TRUE='#'
4399 am__fastdepCC_FALSE=
4400 fi
4401  
4402  
4403  
4404 if test -n "$DOXYGEN"; then
4405 HAVE_DOXYGEN_TRUE=
4406 HAVE_DOXYGEN_FALSE='#'
4407 else
4408 HAVE_DOXYGEN_TRUE='#'
4409 HAVE_DOXYGEN_FALSE=
4410 fi
4411  
4412 if test -z "$HAVE_DOXYGEN_TRUE"; then :
4413 ac_config_files="$ac_config_files doc/Doxyfile"
4414  
4415 fi
4416 ac_config_files="$ac_config_files Makefile src/Makefile doc/Makefile"
4417  
4418 cat >confcache <<\_ACEOF
4419 # This file is a shell script that caches the results of configure
4420 # tests run on this system so they can be shared between configure
4421 # scripts and configure runs, see configure's option --config-cache.
4422 # It is not useful on other systems. If it contains results you don't
4423 # want to keep, you may remove or edit it.
4424 #
4425 # config.status only pays attention to the cache file if you give it
4426 # the --recheck option to rerun configure.
4427 #
4428 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4429 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4430 # following values.
4431  
4432 _ACEOF
4433  
4434 # The following way of writing the cache mishandles newlines in values,
4435 # but we know of no workaround that is simple, portable, and efficient.
4436 # So, we kill variables containing newlines.
4437 # Ultrix sh set writes to stderr and can't be redirected directly,
4438 # and sets the high bit in the cache file unless we assign to the vars.
4439 (
4440 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4441 eval ac_val=\$$ac_var
4442 case $ac_val in #(
4443 *${as_nl}*)
4444 case $ac_var in #(
4445 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4446 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4447 esac
4448 case $ac_var in #(
4449 _ | IFS | as_nl) ;; #(
4450 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4451 *) { eval $ac_var=; unset $ac_var;} ;;
4452 esac ;;
4453 esac
4454 done
4455  
4456 (set) 2>&1 |
4457 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4458 *${as_nl}ac_space=\ *)
4459 # `set' does not quote correctly, so add quotes: double-quote
4460 # substitution turns \\\\ into \\, and sed turns \\ into \.
4461 sed -n \
4462 "s/'/'\\\\''/g;
4463 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4464 ;; #(
4465 *)
4466 # `set' quotes correctly as required by POSIX, so do not add quotes.
4467 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4468 ;;
4469 esac |
4470 sort
4471 ) |
4472 sed '
4473 /^ac_cv_env_/b end
4474 t clear
4475 :clear
4476 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4477 t end
4478 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4479 :end' >>confcache
4480 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4481 if test -w "$cache_file"; then
4482 if test "x$cache_file" != "x/dev/null"; then
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4484 $as_echo "$as_me: updating cache $cache_file" >&6;}
4485 if test ! -f "$cache_file" || test -h "$cache_file"; then
4486 cat confcache >"$cache_file"
4487 else
4488 case $cache_file in #(
4489 */* | ?:*)
4490 mv -f confcache "$cache_file"$$ &&
4491 mv -f "$cache_file"$$ "$cache_file" ;; #(
4492 *)
4493 mv -f confcache "$cache_file" ;;
4494 esac
4495 fi
4496 fi
4497 else
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4499 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4500 fi
4501 fi
4502 rm -f confcache
4503  
4504 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4505 # Let make expand exec_prefix.
4506 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4507  
4508 DEFS=-DHAVE_CONFIG_H
4509  
4510 ac_libobjs=
4511 ac_ltlibobjs=
4512 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4513 # 1. Remove the extension, and $U if already installed.
4514 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4515 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4516 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4517 # will be set to the directory where LIBOBJS objects are built.
4518 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4519 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4520 done
4521 LIBOBJS=$ac_libobjs
4522  
4523 LTLIBOBJS=$ac_ltlibobjs
4524  
4525  
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4527 $as_echo_n "checking that generated files are newer than configure... " >&6; }
4528 if test -n "$am_sleep_pid"; then
4529 # Hide warnings about reused PIDs.
4530 wait $am_sleep_pid 2>/dev/null
4531 fi
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
4533 $as_echo "done" >&6; }
4534 if test -n "$EXEEXT"; then
4535 am__EXEEXT_TRUE=
4536 am__EXEEXT_FALSE='#'
4537 else
4538 am__EXEEXT_TRUE='#'
4539 am__EXEEXT_FALSE=
4540 fi
4541  
4542 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4543 as_fn_error $? "conditional \"AMDEP\" was never defined.
4544 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4545 fi
4546 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4547 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4548 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4549 fi
4550 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4551 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4552 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4553 fi
4554 if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then
4555 as_fn_error $? "conditional \"HAVE_DOXYGEN\" was never defined.
4556 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4557 fi
4558  
4559 : "${CONFIG_STATUS=./config.status}"
4560 ac_write_fail=0
4561 ac_clean_files_save=$ac_clean_files
4562 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4564 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4565 as_write_fail=0
4566 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4567 #! $SHELL
4568 # Generated by $as_me.
4569 # Run this file to recreate the current configuration.
4570 # Compiler output produced by configure, useful for debugging
4571 # configure, is in config.log if it exists.
4572  
4573 debug=false
4574 ac_cs_recheck=false
4575 ac_cs_silent=false
4576  
4577 SHELL=\${CONFIG_SHELL-$SHELL}
4578 export SHELL
4579 _ASEOF
4580 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4581 ## -------------------- ##
4582 ## M4sh Initialization. ##
4583 ## -------------------- ##
4584  
4585 # Be more Bourne compatible
4586 DUALCASE=1; export DUALCASE # for MKS sh
4587 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4588 emulate sh
4589 NULLCMD=:
4590 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4591 # is contrary to our usage. Disable this feature.
4592 alias -g '${1+"$@"}'='"$@"'
4593 setopt NO_GLOB_SUBST
4594 else
4595 case `(set -o) 2>/dev/null` in #(
4596 *posix*) :
4597 set -o posix ;; #(
4598 *) :
4599 ;;
4600 esac
4601 fi
4602  
4603  
4604 as_nl='
4605 '
4606 export as_nl
4607 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4608 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4609 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4610 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4611 # Prefer a ksh shell builtin over an external printf program on Solaris,
4612 # but without wasting forks for bash or zsh.
4613 if test -z "$BASH_VERSION$ZSH_VERSION" \
4614 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4615 as_echo='print -r --'
4616 as_echo_n='print -rn --'
4617 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4618 as_echo='printf %s\n'
4619 as_echo_n='printf %s'
4620 else
4621 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4622 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4623 as_echo_n='/usr/ucb/echo -n'
4624 else
4625 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4626 as_echo_n_body='eval
4627 arg=$1;
4628 case $arg in #(
4629 *"$as_nl"*)
4630 expr "X$arg" : "X\\(.*\\)$as_nl";
4631 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4632 esac;
4633 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4634 '
4635 export as_echo_n_body
4636 as_echo_n='sh -c $as_echo_n_body as_echo'
4637 fi
4638 export as_echo_body
4639 as_echo='sh -c $as_echo_body as_echo'
4640 fi
4641  
4642 # The user is always right.
4643 if test "${PATH_SEPARATOR+set}" != set; then
4644 PATH_SEPARATOR=:
4645 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4646 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4647 PATH_SEPARATOR=';'
4648 }
4649 fi
4650  
4651  
4652 # IFS
4653 # We need space, tab and new line, in precisely that order. Quoting is
4654 # there to prevent editors from complaining about space-tab.
4655 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4656 # splitting by setting IFS to empty value.)
4657 IFS=" "" $as_nl"
4658  
4659 # Find who we are. Look in the path if we contain no directory separator.
4660 as_myself=
4661 case $0 in #((
4662 *[\\/]* ) as_myself=$0 ;;
4663 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4664 for as_dir in $PATH
4665 do
4666 IFS=$as_save_IFS
4667 test -z "$as_dir" && as_dir=.
4668 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4669 done
4670 IFS=$as_save_IFS
4671  
4672 ;;
4673 esac
4674 # We did not find ourselves, most probably we were run as `sh COMMAND'
4675 # in which case we are not to be found in the path.
4676 if test "x$as_myself" = x; then
4677 as_myself=$0
4678 fi
4679 if test ! -f "$as_myself"; then
4680 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4681 exit 1
4682 fi
4683  
4684 # Unset variables that we do not need and which cause bugs (e.g. in
4685 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4686 # suppresses any "Segmentation fault" message there. '((' could
4687 # trigger a bug in pdksh 5.2.14.
4688 for as_var in BASH_ENV ENV MAIL MAILPATH
4689 do eval test x\${$as_var+set} = xset \
4690 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4691 done
4692 PS1='$ '
4693 PS2='> '
4694 PS4='+ '
4695  
4696 # NLS nuisances.
4697 LC_ALL=C
4698 export LC_ALL
4699 LANGUAGE=C
4700 export LANGUAGE
4701  
4702 # CDPATH.
4703 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4704  
4705  
4706 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4707 # ----------------------------------------
4708 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4709 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4710 # script with STATUS, using 1 if that was 0.
4711 as_fn_error ()
4712 {
4713 as_status=$1; test $as_status -eq 0 && as_status=1
4714 if test "$4"; then
4715 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4716 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4717 fi
4718 $as_echo "$as_me: error: $2" >&2
4719 as_fn_exit $as_status
4720 } # as_fn_error
4721  
4722  
4723 # as_fn_set_status STATUS
4724 # -----------------------
4725 # Set $? to STATUS, without forking.
4726 as_fn_set_status ()
4727 {
4728 return $1
4729 } # as_fn_set_status
4730  
4731 # as_fn_exit STATUS
4732 # -----------------
4733 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4734 as_fn_exit ()
4735 {
4736 set +e
4737 as_fn_set_status $1
4738 exit $1
4739 } # as_fn_exit
4740  
4741 # as_fn_unset VAR
4742 # ---------------
4743 # Portably unset VAR.
4744 as_fn_unset ()
4745 {
4746 { eval $1=; unset $1;}
4747 }
4748 as_unset=as_fn_unset
4749 # as_fn_append VAR VALUE
4750 # ----------------------
4751 # Append the text in VALUE to the end of the definition contained in VAR. Take
4752 # advantage of any shell optimizations that allow amortized linear growth over
4753 # repeated appends, instead of the typical quadratic growth present in naive
4754 # implementations.
4755 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4756 eval 'as_fn_append ()
4757 {
4758 eval $1+=\$2
4759 }'
4760 else
4761 as_fn_append ()
4762 {
4763 eval $1=\$$1\$2
4764 }
4765 fi # as_fn_append
4766  
4767 # as_fn_arith ARG...
4768 # ------------------
4769 # Perform arithmetic evaluation on the ARGs, and store the result in the
4770 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4771 # must be portable across $(()) and expr.
4772 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4773 eval 'as_fn_arith ()
4774 {
4775 as_val=$(( $* ))
4776 }'
4777 else
4778 as_fn_arith ()
4779 {
4780 as_val=`expr "$@" || test $? -eq 1`
4781 }
4782 fi # as_fn_arith
4783  
4784  
4785 if expr a : '\(a\)' >/dev/null 2>&1 &&
4786 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4787 as_expr=expr
4788 else
4789 as_expr=false
4790 fi
4791  
4792 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4793 as_basename=basename
4794 else
4795 as_basename=false
4796 fi
4797  
4798 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4799 as_dirname=dirname
4800 else
4801 as_dirname=false
4802 fi
4803  
4804 as_me=`$as_basename -- "$0" ||
4805 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4806 X"$0" : 'X\(//\)$' \| \
4807 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4808 $as_echo X/"$0" |
4809 sed '/^.*\/\([^/][^/]*\)\/*$/{
4810 s//\1/
4811 q
4812 }
4813 /^X\/\(\/\/\)$/{
4814 s//\1/
4815 q
4816 }
4817 /^X\/\(\/\).*/{
4818 s//\1/
4819 q
4820 }
4821 s/.*/./; q'`
4822  
4823 # Avoid depending upon Character Ranges.
4824 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4825 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4826 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4827 as_cr_digits='0123456789'
4828 as_cr_alnum=$as_cr_Letters$as_cr_digits
4829  
4830 ECHO_C= ECHO_N= ECHO_T=
4831 case `echo -n x` in #(((((
4832 -n*)
4833 case `echo 'xy\c'` in
4834 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4835 xy) ECHO_C='\c';;
4836 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4837 ECHO_T=' ';;
4838 esac;;
4839 *)
4840 ECHO_N='-n';;
4841 esac
4842  
4843 rm -f conf$$ conf$$.exe conf$$.file
4844 if test -d conf$$.dir; then
4845 rm -f conf$$.dir/conf$$.file
4846 else
4847 rm -f conf$$.dir
4848 mkdir conf$$.dir 2>/dev/null
4849 fi
4850 if (echo >conf$$.file) 2>/dev/null; then
4851 if ln -s conf$$.file conf$$ 2>/dev/null; then
4852 as_ln_s='ln -s'
4853 # ... but there are two gotchas:
4854 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4855 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4856 # In both cases, we have to default to `cp -pR'.
4857 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4858 as_ln_s='cp -pR'
4859 elif ln conf$$.file conf$$ 2>/dev/null; then
4860 as_ln_s=ln
4861 else
4862 as_ln_s='cp -pR'
4863 fi
4864 else
4865 as_ln_s='cp -pR'
4866 fi
4867 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4868 rmdir conf$$.dir 2>/dev/null
4869  
4870  
4871 # as_fn_mkdir_p
4872 # -------------
4873 # Create "$as_dir" as a directory, including parents if necessary.
4874 as_fn_mkdir_p ()
4875 {
4876  
4877 case $as_dir in #(
4878 -*) as_dir=./$as_dir;;
4879 esac
4880 test -d "$as_dir" || eval $as_mkdir_p || {
4881 as_dirs=
4882 while :; do
4883 case $as_dir in #(
4884 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4885 *) as_qdir=$as_dir;;
4886 esac
4887 as_dirs="'$as_qdir' $as_dirs"
4888 as_dir=`$as_dirname -- "$as_dir" ||
4889 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4890 X"$as_dir" : 'X\(//\)[^/]' \| \
4891 X"$as_dir" : 'X\(//\)$' \| \
4892 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4893 $as_echo X"$as_dir" |
4894 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4895 s//\1/
4896 q
4897 }
4898 /^X\(\/\/\)[^/].*/{
4899 s//\1/
4900 q
4901 }
4902 /^X\(\/\/\)$/{
4903 s//\1/
4904 q
4905 }
4906 /^X\(\/\).*/{
4907 s//\1/
4908 q
4909 }
4910 s/.*/./; q'`
4911 test -d "$as_dir" && break
4912 done
4913 test -z "$as_dirs" || eval "mkdir $as_dirs"
4914 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4915  
4916  
4917 } # as_fn_mkdir_p
4918 if mkdir -p . 2>/dev/null; then
4919 as_mkdir_p='mkdir -p "$as_dir"'
4920 else
4921 test -d ./-p && rmdir ./-p
4922 as_mkdir_p=false
4923 fi
4924  
4925  
4926 # as_fn_executable_p FILE
4927 # -----------------------
4928 # Test if FILE is an executable regular file.
4929 as_fn_executable_p ()
4930 {
4931 test -f "$1" && test -x "$1"
4932 } # as_fn_executable_p
4933 as_test_x='test -x'
4934 as_executable_p=as_fn_executable_p
4935  
4936 # Sed expression to map a string onto a valid CPP name.
4937 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4938  
4939 # Sed expression to map a string onto a valid variable name.
4940 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4941  
4942  
4943 exec 6>&1
4944 ## ----------------------------------- ##
4945 ## Main body of $CONFIG_STATUS script. ##
4946 ## ----------------------------------- ##
4947 _ASEOF
4948 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4949  
4950 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4951 # Save the log message, to keep $0 and so on meaningful, and to
4952 # report actual input values of CONFIG_FILES etc. instead of their
4953 # values after options handling.
4954 ac_log="
4955 This file was extended by bcm2835 $as_me 1.71, which was
4956 generated by GNU Autoconf 2.69. Invocation command line was
4957  
4958 CONFIG_FILES = $CONFIG_FILES
4959 CONFIG_HEADERS = $CONFIG_HEADERS
4960 CONFIG_LINKS = $CONFIG_LINKS
4961 CONFIG_COMMANDS = $CONFIG_COMMANDS
4962 $ $0 $@
4963  
4964 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4965 "
4966  
4967 _ACEOF
4968  
4969 case $ac_config_files in *"
4970 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4971 esac
4972  
4973 case $ac_config_headers in *"
4974 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4975 esac
4976  
4977  
4978 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4979 # Files that config.status was made for.
4980 config_files="$ac_config_files"
4981 config_headers="$ac_config_headers"
4982 config_commands="$ac_config_commands"
4983  
4984 _ACEOF
4985  
4986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4987 ac_cs_usage="\
4988 \`$as_me' instantiates files and other configuration actions
4989 from templates according to the current configuration. Unless the files
4990 and actions are specified as TAGs, all are instantiated by default.
4991  
4992 Usage: $0 [OPTION]... [TAG]...
4993  
4994 -h, --help print this help, then exit
4995 -V, --version print version number and configuration settings, then exit
4996 --config print configuration, then exit
4997 -q, --quiet, --silent
4998 do not print progress messages
4999 -d, --debug don't remove temporary files
5000 --recheck update $as_me by reconfiguring in the same conditions
5001 --file=FILE[:TEMPLATE]
5002 instantiate the configuration file FILE
5003 --header=FILE[:TEMPLATE]
5004 instantiate the configuration header FILE
5005  
5006 Configuration files:
5007 $config_files
5008  
5009 Configuration headers:
5010 $config_headers
5011  
5012 Configuration commands:
5013 $config_commands
5014  
5015 Report bugs to <mikem@airspayce.com>."
5016  
5017 _ACEOF
5018 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5019 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5020 ac_cs_version="\\
5021 bcm2835 config.status 1.71
5022 configured by $0, generated by GNU Autoconf 2.69,
5023 with options \\"\$ac_cs_config\\"
5024  
5025 Copyright (C) 2012 Free Software Foundation, Inc.
5026 This config.status script is free software; the Free Software Foundation
5027 gives unlimited permission to copy, distribute and modify it."
5028  
5029 ac_pwd='$ac_pwd'
5030 srcdir='$srcdir'
5031 INSTALL='$INSTALL'
5032 MKDIR_P='$MKDIR_P'
5033 AWK='$AWK'
5034 test -n "\$AWK" || AWK=awk
5035 _ACEOF
5036  
5037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5038 # The default lists apply if the user does not specify any file.
5039 ac_need_defaults=:
5040 while test $# != 0
5041 do
5042 case $1 in
5043 --*=?*)
5044 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5045 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5046 ac_shift=:
5047 ;;
5048 --*=)
5049 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5050 ac_optarg=
5051 ac_shift=:
5052 ;;
5053 *)
5054 ac_option=$1
5055 ac_optarg=$2
5056 ac_shift=shift
5057 ;;
5058 esac
5059  
5060 case $ac_option in
5061 # Handling of the options.
5062 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5063 ac_cs_recheck=: ;;
5064 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5065 $as_echo "$ac_cs_version"; exit ;;
5066 --config | --confi | --conf | --con | --co | --c )
5067 $as_echo "$ac_cs_config"; exit ;;
5068 --debug | --debu | --deb | --de | --d | -d )
5069 debug=: ;;
5070 --file | --fil | --fi | --f )
5071 $ac_shift
5072 case $ac_optarg in
5073 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5074 '') as_fn_error $? "missing file argument" ;;
5075 esac
5076 as_fn_append CONFIG_FILES " '$ac_optarg'"
5077 ac_need_defaults=false;;
5078 --header | --heade | --head | --hea )
5079 $ac_shift
5080 case $ac_optarg in
5081 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5082 esac
5083 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5084 ac_need_defaults=false;;
5085 --he | --h)
5086 # Conflict between --help and --header
5087 as_fn_error $? "ambiguous option: \`$1'
5088 Try \`$0 --help' for more information.";;
5089 --help | --hel | -h )
5090 $as_echo "$ac_cs_usage"; exit ;;
5091 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5092 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5093 ac_cs_silent=: ;;
5094  
5095 # This is an error.
5096 -*) as_fn_error $? "unrecognized option: \`$1'
5097 Try \`$0 --help' for more information." ;;
5098  
5099 *) as_fn_append ac_config_targets " $1"
5100 ac_need_defaults=false ;;
5101  
5102 esac
5103 shift
5104 done
5105  
5106 ac_configure_extra_args=
5107  
5108 if $ac_cs_silent; then
5109 exec 6>/dev/null
5110 ac_configure_extra_args="$ac_configure_extra_args --silent"
5111 fi
5112  
5113 _ACEOF
5114 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5115 if \$ac_cs_recheck; then
5116 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5117 shift
5118 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5119 CONFIG_SHELL='$SHELL'
5120 export CONFIG_SHELL
5121 exec "\$@"
5122 fi
5123  
5124 _ACEOF
5125 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5126 exec 5>>config.log
5127 {
5128 echo
5129 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5130 ## Running $as_me. ##
5131 _ASBOX
5132 $as_echo "$ac_log"
5133 } >&5
5134  
5135 _ACEOF
5136 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5137 #
5138 # INIT-COMMANDS
5139 #
5140 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
5141  
5142 _ACEOF
5143  
5144 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5145  
5146 # Handling of arguments.
5147 for ac_config_target in $ac_config_targets
5148 do
5149 case $ac_config_target in
5150 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5151 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5152 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
5153 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5154 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5155 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
5156  
5157 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5158 esac
5159 done
5160  
5161  
5162 # If the user did not use the arguments to specify the items to instantiate,
5163 # then the envvar interface is used. Set only those that are not.
5164 # We use the long form for the default assignment because of an extremely
5165 # bizarre bug on SunOS 4.1.3.
5166 if $ac_need_defaults; then
5167 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5168 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5169 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5170 fi
5171  
5172 # Have a temporary directory for convenience. Make it in the build tree
5173 # simply because there is no reason against having it here, and in addition,
5174 # creating and moving files from /tmp can sometimes cause problems.
5175 # Hook for its removal unless debugging.
5176 # Note that there is a small window in which the directory will not be cleaned:
5177 # after its creation but before its name has been assigned to `$tmp'.
5178 $debug ||
5179 {
5180 tmp= ac_tmp=
5181 trap 'exit_status=$?
5182 : "${ac_tmp:=$tmp}"
5183 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5184 ' 0
5185 trap 'as_fn_exit 1' 1 2 13 15
5186 }
5187 # Create a (secure) tmp directory for tmp files.
5188  
5189 {
5190 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5191 test -d "$tmp"
5192 } ||
5193 {
5194 tmp=./conf$$-$RANDOM
5195 (umask 077 && mkdir "$tmp")
5196 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5197 ac_tmp=$tmp
5198  
5199 # Set up the scripts for CONFIG_FILES section.
5200 # No need to generate them if there are no CONFIG_FILES.
5201 # This happens for instance with `./config.status config.h'.
5202 if test -n "$CONFIG_FILES"; then
5203  
5204  
5205 ac_cr=`echo X | tr X '\015'`
5206 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5207 # But we know of no other shell where ac_cr would be empty at this
5208 # point, so we can use a bashism as a fallback.
5209 if test "x$ac_cr" = x; then
5210 eval ac_cr=\$\'\\r\'
5211 fi
5212 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5213 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5214 ac_cs_awk_cr='\\r'
5215 else
5216 ac_cs_awk_cr=$ac_cr
5217 fi
5218  
5219 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5220 _ACEOF
5221  
5222  
5223 {
5224 echo "cat >conf$$subs.awk <<_ACEOF" &&
5225 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5226 echo "_ACEOF"
5227 } >conf$$subs.sh ||
5228 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5229 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5230 ac_delim='%!_!# '
5231 for ac_last_try in false false false false false :; do
5232 . ./conf$$subs.sh ||
5233 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5234  
5235 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5236 if test $ac_delim_n = $ac_delim_num; then
5237 break
5238 elif $ac_last_try; then
5239 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5240 else
5241 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5242 fi
5243 done
5244 rm -f conf$$subs.sh
5245  
5246 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5247 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5248 _ACEOF
5249 sed -n '
5250 h
5251 s/^/S["/; s/!.*/"]=/
5252 p
5253 g
5254 s/^[^!]*!//
5255 :repl
5256 t repl
5257 s/'"$ac_delim"'$//
5258 t delim
5259 :nl
5260 h
5261 s/\(.\{148\}\)..*/\1/
5262 t more1
5263 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5264 p
5265 n
5266 b repl
5267 :more1
5268 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5269 p
5270 g
5271 s/.\{148\}//
5272 t nl
5273 :delim
5274 h
5275 s/\(.\{148\}\)..*/\1/
5276 t more2
5277 s/["\\]/\\&/g; s/^/"/; s/$/"/
5278 p
5279 b
5280 :more2
5281 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5282 p
5283 g
5284 s/.\{148\}//
5285 t delim
5286 ' <conf$$subs.awk | sed '
5287 /^[^""]/{
5288 N
5289 s/\n//
5290 }
5291 ' >>$CONFIG_STATUS || ac_write_fail=1
5292 rm -f conf$$subs.awk
5293 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5294 _ACAWK
5295 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5296 for (key in S) S_is_set[key] = 1
5297 FS = ""
5298  
5299 }
5300 {
5301 line = $ 0
5302 nfields = split(line, field, "@")
5303 substed = 0
5304 len = length(field[1])
5305 for (i = 2; i < nfields; i++) {
5306 key = field[i]
5307 keylen = length(key)
5308 if (S_is_set[key]) {
5309 value = S[key]
5310 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5311 len += length(value) + length(field[++i])
5312 substed = 1
5313 } else
5314 len += 1 + keylen
5315 }
5316  
5317 print line
5318 }
5319  
5320 _ACAWK
5321 _ACEOF
5322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5323 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5324 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5325 else
5326 cat
5327 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5328 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5329 _ACEOF
5330  
5331 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5332 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5333 # trailing colons and then remove the whole line if VPATH becomes empty
5334 # (actually we leave an empty line to preserve line numbers).
5335 if test "x$srcdir" = x.; then
5336 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5337 h
5338 s///
5339 s/^/:/
5340 s/[ ]*$/:/
5341 s/:\$(srcdir):/:/g
5342 s/:\${srcdir}:/:/g
5343 s/:@srcdir@:/:/g
5344 s/^:*//
5345 s/:*$//
5346 x
5347 s/\(=[ ]*\).*/\1/
5348 G
5349 s/\n//
5350 s/^[^=]*=[ ]*$//
5351 }'
5352 fi
5353  
5354 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5355 fi # test -n "$CONFIG_FILES"
5356  
5357 # Set up the scripts for CONFIG_HEADERS section.
5358 # No need to generate them if there are no CONFIG_HEADERS.
5359 # This happens for instance with `./config.status Makefile'.
5360 if test -n "$CONFIG_HEADERS"; then
5361 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5362 BEGIN {
5363 _ACEOF
5364  
5365 # Transform confdefs.h into an awk script `defines.awk', embedded as
5366 # here-document in config.status, that substitutes the proper values into
5367 # config.h.in to produce config.h.
5368  
5369 # Create a delimiter string that does not exist in confdefs.h, to ease
5370 # handling of long lines.
5371 ac_delim='%!_!# '
5372 for ac_last_try in false false :; do
5373 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5374 if test -z "$ac_tt"; then
5375 break
5376 elif $ac_last_try; then
5377 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5378 else
5379 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5380 fi
5381 done
5382  
5383 # For the awk script, D is an array of macro values keyed by name,
5384 # likewise P contains macro parameters if any. Preserve backslash
5385 # newline sequences.
5386  
5387 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5388 sed -n '
5389 s/.\{148\}/&'"$ac_delim"'/g
5390 t rset
5391 :rset
5392 s/^[ ]*#[ ]*define[ ][ ]*/ /
5393 t def
5394 d
5395 :def
5396 s/\\$//
5397 t bsnl
5398 s/["\\]/\\&/g
5399 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5400 D["\1"]=" \3"/p
5401 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5402 d
5403 :bsnl
5404 s/["\\]/\\&/g
5405 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5406 D["\1"]=" \3\\\\\\n"\\/p
5407 t cont
5408 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5409 t cont
5410 d
5411 :cont
5412 n
5413 s/.\{148\}/&'"$ac_delim"'/g
5414 t clear
5415 :clear
5416 s/\\$//
5417 t bsnlc
5418 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5419 d
5420 :bsnlc
5421 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5422 b cont
5423 ' <confdefs.h | sed '
5424 s/'"$ac_delim"'/"\\\
5425 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5426  
5427 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5428 for (key in D) D_is_set[key] = 1
5429 FS = ""
5430 }
5431 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5432 line = \$ 0
5433 split(line, arg, " ")
5434 if (arg[1] == "#") {
5435 defundef = arg[2]
5436 mac1 = arg[3]
5437 } else {
5438 defundef = substr(arg[1], 2)
5439 mac1 = arg[2]
5440 }
5441 split(mac1, mac2, "(") #)
5442 macro = mac2[1]
5443 prefix = substr(line, 1, index(line, defundef) - 1)
5444 if (D_is_set[macro]) {
5445 # Preserve the white space surrounding the "#".
5446 print prefix "define", macro P[macro] D[macro]
5447 next
5448 } else {
5449 # Replace #undef with comments. This is necessary, for example,
5450 # in the case of _POSIX_SOURCE, which is predefined and required
5451 # on some systems where configure will not decide to define it.
5452 if (defundef == "undef") {
5453 print "/*", prefix defundef, macro, "*/"
5454 next
5455 }
5456 }
5457 }
5458 { print }
5459 _ACAWK
5460 _ACEOF
5461 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5462 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5463 fi # test -n "$CONFIG_HEADERS"
5464  
5465  
5466 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5467 shift
5468 for ac_tag
5469 do
5470 case $ac_tag in
5471 :[FHLC]) ac_mode=$ac_tag; continue;;
5472 esac
5473 case $ac_mode$ac_tag in
5474 :[FHL]*:*);;
5475 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5476 :[FH]-) ac_tag=-:-;;
5477 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5478 esac
5479 ac_save_IFS=$IFS
5480 IFS=:
5481 set x $ac_tag
5482 IFS=$ac_save_IFS
5483 shift
5484 ac_file=$1
5485 shift
5486  
5487 case $ac_mode in
5488 :L) ac_source=$1;;
5489 :[FH])
5490 ac_file_inputs=
5491 for ac_f
5492 do
5493 case $ac_f in
5494 -) ac_f="$ac_tmp/stdin";;
5495 *) # Look for the file first in the build tree, then in the source tree
5496 # (if the path is not absolute). The absolute path cannot be DOS-style,
5497 # because $ac_f cannot contain `:'.
5498 test -f "$ac_f" ||
5499 case $ac_f in
5500 [\\/$]*) false;;
5501 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5502 esac ||
5503 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5504 esac
5505 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5506 as_fn_append ac_file_inputs " '$ac_f'"
5507 done
5508  
5509 # Let's still pretend it is `configure' which instantiates (i.e., don't
5510 # use $as_me), people would be surprised to read:
5511 # /* config.h. Generated by config.status. */
5512 configure_input='Generated from '`
5513 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5514 `' by configure.'
5515 if test x"$ac_file" != x-; then
5516 configure_input="$ac_file. $configure_input"
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5518 $as_echo "$as_me: creating $ac_file" >&6;}
5519 fi
5520 # Neutralize special characters interpreted by sed in replacement strings.
5521 case $configure_input in #(
5522 *\&* | *\|* | *\\* )
5523 ac_sed_conf_input=`$as_echo "$configure_input" |
5524 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5525 *) ac_sed_conf_input=$configure_input;;
5526 esac
5527  
5528 case $ac_tag in
5529 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5530 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5531 esac
5532 ;;
5533 esac
5534  
5535 ac_dir=`$as_dirname -- "$ac_file" ||
5536 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5537 X"$ac_file" : 'X\(//\)[^/]' \| \
5538 X"$ac_file" : 'X\(//\)$' \| \
5539 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5540 $as_echo X"$ac_file" |
5541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5542 s//\1/
5543 q
5544 }
5545 /^X\(\/\/\)[^/].*/{
5546 s//\1/
5547 q
5548 }
5549 /^X\(\/\/\)$/{
5550 s//\1/
5551 q
5552 }
5553 /^X\(\/\).*/{
5554 s//\1/
5555 q
5556 }
5557 s/.*/./; q'`
5558 as_dir="$ac_dir"; as_fn_mkdir_p
5559 ac_builddir=.
5560  
5561 case "$ac_dir" in
5562 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5563 *)
5564 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5565 # A ".." for each directory in $ac_dir_suffix.
5566 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5567 case $ac_top_builddir_sub in
5568 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5569 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5570 esac ;;
5571 esac
5572 ac_abs_top_builddir=$ac_pwd
5573 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5574 # for backward compatibility:
5575 ac_top_builddir=$ac_top_build_prefix
5576  
5577 case $srcdir in
5578 .) # We are building in place.
5579 ac_srcdir=.
5580 ac_top_srcdir=$ac_top_builddir_sub
5581 ac_abs_top_srcdir=$ac_pwd ;;
5582 [\\/]* | ?:[\\/]* ) # Absolute name.
5583 ac_srcdir=$srcdir$ac_dir_suffix;
5584 ac_top_srcdir=$srcdir
5585 ac_abs_top_srcdir=$srcdir ;;
5586 *) # Relative name.
5587 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5588 ac_top_srcdir=$ac_top_build_prefix$srcdir
5589 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5590 esac
5591 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5592  
5593  
5594 case $ac_mode in
5595 :F)
5596 #
5597 # CONFIG_FILE
5598 #
5599  
5600 case $INSTALL in
5601 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5602 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5603 esac
5604 ac_MKDIR_P=$MKDIR_P
5605 case $MKDIR_P in
5606 [\\/$]* | ?:[\\/]* ) ;;
5607 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5608 esac
5609 _ACEOF
5610  
5611 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5612 # If the template does not know about datarootdir, expand it.
5613 # FIXME: This hack should be removed a few years after 2.60.
5614 ac_datarootdir_hack=; ac_datarootdir_seen=
5615 ac_sed_dataroot='
5616 /datarootdir/ {
5617 p
5618 q
5619 }
5620 /@datadir@/p
5621 /@docdir@/p
5622 /@infodir@/p
5623 /@localedir@/p
5624 /@mandir@/p'
5625 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5626 *datarootdir*) ac_datarootdir_seen=yes;;
5627 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5629 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5630 _ACEOF
5631 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5632 ac_datarootdir_hack='
5633 s&@datadir@&$datadir&g
5634 s&@docdir@&$docdir&g
5635 s&@infodir@&$infodir&g
5636 s&@localedir@&$localedir&g
5637 s&@mandir@&$mandir&g
5638 s&\\\${datarootdir}&$datarootdir&g' ;;
5639 esac
5640 _ACEOF
5641  
5642 # Neutralize VPATH when `$srcdir' = `.'.
5643 # Shell code in configure.ac might set extrasub.
5644 # FIXME: do we really want to maintain this feature?
5645 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5646 ac_sed_extra="$ac_vpsub
5647 $extrasub
5648 _ACEOF
5649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5650 :t
5651 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5652 s|@configure_input@|$ac_sed_conf_input|;t t
5653 s&@top_builddir@&$ac_top_builddir_sub&;t t
5654 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5655 s&@srcdir@&$ac_srcdir&;t t
5656 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5657 s&@top_srcdir@&$ac_top_srcdir&;t t
5658 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5659 s&@builddir@&$ac_builddir&;t t
5660 s&@abs_builddir@&$ac_abs_builddir&;t t
5661 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5662 s&@INSTALL@&$ac_INSTALL&;t t
5663 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5664 $ac_datarootdir_hack
5665 "
5666 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5667 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5668  
5669 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5670 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5671 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5672 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5674 which seems to be undefined. Please make sure it is defined" >&5
5675 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5676 which seems to be undefined. Please make sure it is defined" >&2;}
5677  
5678 rm -f "$ac_tmp/stdin"
5679 case $ac_file in
5680 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5681 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5682 esac \
5683 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5684 ;;
5685 :H)
5686 #
5687 # CONFIG_HEADER
5688 #
5689 if test x"$ac_file" != x-; then
5690 {
5691 $as_echo "/* $configure_input */" \
5692 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5693 } >"$ac_tmp/config.h" \
5694 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5695 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5697 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5698 else
5699 rm -f "$ac_file"
5700 mv "$ac_tmp/config.h" "$ac_file" \
5701 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5702 fi
5703 else
5704 $as_echo "/* $configure_input */" \
5705 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5706 || as_fn_error $? "could not create -" "$LINENO" 5
5707 fi
5708 # Compute "$ac_file"'s index in $config_headers.
5709 _am_arg="$ac_file"
5710 _am_stamp_count=1
5711 for _am_header in $config_headers :; do
5712 case $_am_header in
5713 $_am_arg | $_am_arg:* )
5714 break ;;
5715 * )
5716 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5717 esac
5718 done
5719 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5720 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5721 X"$_am_arg" : 'X\(//\)[^/]' \| \
5722 X"$_am_arg" : 'X\(//\)$' \| \
5723 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5724 $as_echo X"$_am_arg" |
5725 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5726 s//\1/
5727 q
5728 }
5729 /^X\(\/\/\)[^/].*/{
5730 s//\1/
5731 q
5732 }
5733 /^X\(\/\/\)$/{
5734 s//\1/
5735 q
5736 }
5737 /^X\(\/\).*/{
5738 s//\1/
5739 q
5740 }
5741 s/.*/./; q'`/stamp-h$_am_stamp_count
5742 ;;
5743  
5744 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5745 $as_echo "$as_me: executing $ac_file commands" >&6;}
5746 ;;
5747 esac
5748  
5749  
5750 case $ac_file$ac_mode in
5751 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5752 # Older Autoconf quotes --file arguments for eval, but not when files
5753 # are listed without --file. Let's play safe and only enable the eval
5754 # if we detect the quoting.
5755 # TODO: see whether this extra hack can be removed once we start
5756 # requiring Autoconf 2.70 or later.
5757 case $CONFIG_FILES in #(
5758 *\'*) :
5759 eval set x "$CONFIG_FILES" ;; #(
5760 *) :
5761 set x $CONFIG_FILES ;; #(
5762 *) :
5763 ;;
5764 esac
5765 shift
5766 # Used to flag and report bootstrapping failures.
5767 am_rc=0
5768 for am_mf
5769 do
5770 # Strip MF so we end up with the name of the file.
5771 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
5772 # Check whether this is an Automake generated Makefile which includes
5773 # dependency-tracking related rules and includes.
5774 # Grep'ing the whole file directly is not great: AIX grep has a line
5775 # limit of 2048, but all sed's we know have understand at least 4000.
5776 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
5777 || continue
5778 am_dirpart=`$as_dirname -- "$am_mf" ||
5779 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5780 X"$am_mf" : 'X\(//\)[^/]' \| \
5781 X"$am_mf" : 'X\(//\)$' \| \
5782 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
5783 $as_echo X"$am_mf" |
5784 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5785 s//\1/
5786 q
5787 }
5788 /^X\(\/\/\)[^/].*/{
5789 s//\1/
5790 q
5791 }
5792 /^X\(\/\/\)$/{
5793 s//\1/
5794 q
5795 }
5796 /^X\(\/\).*/{
5797 s//\1/
5798 q
5799 }
5800 s/.*/./; q'`
5801 am_filepart=`$as_basename -- "$am_mf" ||
5802 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
5803 X"$am_mf" : 'X\(//\)$' \| \
5804 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
5805 $as_echo X/"$am_mf" |
5806 sed '/^.*\/\([^/][^/]*\)\/*$/{
5807 s//\1/
5808 q
5809 }
5810 /^X\/\(\/\/\)$/{
5811 s//\1/
5812 q
5813 }
5814 /^X\/\(\/\).*/{
5815 s//\1/
5816 q
5817 }
5818 s/.*/./; q'`
5819 { echo "$as_me:$LINENO: cd "$am_dirpart" \
5820 && sed -e '/# am--include-marker/d' "$am_filepart" \
5821 | $MAKE -f - am--depfiles" >&5
5822 (cd "$am_dirpart" \
5823 && sed -e '/# am--include-marker/d' "$am_filepart" \
5824 | $MAKE -f - am--depfiles) >&5 2>&5
5825 ac_status=$?
5826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5827 (exit $ac_status); } || am_rc=$?
5828 done
5829 if test $am_rc -ne 0; then
5830 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5831 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5832 as_fn_error $? "Something went wrong bootstrapping makefile fragments
2 office 5833 for automatic dependency tracking. If GNU make was not used, consider
5834 re-running the configure script with MAKE=\"gmake\" (or whatever is
5835 necessary). You can also try re-running configure with the
1 office 5836 '--disable-dependency-tracking' option to at least be able to build
5837 the package (albeit without support for automatic dependency tracking).
5838 See \`config.log' for more details" "$LINENO" 5; }
5839 fi
5840 { am_dirpart=; unset am_dirpart;}
5841 { am_filepart=; unset am_filepart;}
5842 { am_mf=; unset am_mf;}
5843 { am_rc=; unset am_rc;}
5844 rm -f conftest-deps.mk
5845 }
5846 ;;
5847  
5848 esac
5849 done # for ac_tag
5850  
5851  
5852 as_fn_exit 0
5853 _ACEOF
5854 ac_clean_files=$ac_clean_files_save
5855  
5856 test $ac_write_fail = 0 ||
5857 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5858  
5859  
5860 # configure is writing to config.log, and then calls config.status.
5861 # config.status does its own redirection, appending to config.log.
5862 # Unfortunately, on DOS this fails, as config.log is still kept open
5863 # by configure, so config.status won't be able to write to it; its
5864 # output is simply discarded. So we exec the FD to /dev/null,
5865 # effectively closing config.log, so it can be properly (re)opened and
5866 # appended to by config.status. When coming back to configure, we
5867 # need to make the FD available again.
5868 if test "$no_create" != yes; then
5869 ac_cs_success=:
5870 ac_config_status_args=
5871 test "$silent" = yes &&
5872 ac_config_status_args="$ac_config_status_args --quiet"
5873 exec 5>/dev/null
5874 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5875 exec 5>>config.log
5876 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5877 # would make configure fail if this is the last instruction.
5878 $ac_cs_success || as_fn_exit 1
5879 fi
5880 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5882 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5883 fi
5884