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