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