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