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