Debian Codegraph @

configure

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