Debian Codegraph @

debian/external_deps/fetk/gamer/tools/GenerateMesh/configure

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