Debian Codegraph @

debian/external_deps/fetk/maloc/tools/configure

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