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