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