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