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