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