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