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