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