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