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