Debian Codegraph @

configure

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