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