configure revision 1.1.1.1 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for xtrans 1.2.
4 #
5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6 #
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 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 # Zsh 3.x and 4.x performs 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 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
51 fi
52 rm -f conf$$.sh
53 fi
54
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
60 fi
61
62
63 # IFS
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
69 '
70 IFS=" "" $as_nl"
71
72 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
77 do
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
83
84 ;;
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89 as_myself=$0
90 fi
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
94 fi
95
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
103
104 # NLS nuisances.
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
109 do
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114 fi
115 done
116
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr
121 else
122 as_expr=false
123 fi
124
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127 else
128 as_basename=false
129 fi
130
131
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
140 q
141 }
142 /^X\/\(\/\/\)$/{
143 s//\1/
144 q
145 }
146 /^X\/\(\/\).*/{
147 s//\1/
148 q
149 }
150 s/.*/./; q'`
151
152 # CDPATH.
153 $as_unset CDPATH
154
155
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
161 fi
162
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
166 }
167 as_func_success () {
168 as_func_return 0
169 }
170 as_func_failure () {
171 as_func_return 1
172 }
173 as_func_ret_success () {
174 return 0
175 }
176 as_func_ret_failure () {
177 return 1
178 }
179
180 exitcode=0
181 if as_func_success; then
182 :
183 else
184 exitcode=1
185 echo as_func_success failed.
186 fi
187
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
191 fi
192
193 if as_func_ret_success; then
194 :
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
198 fi
199
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
203 fi
204
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206 :
207 else
208 exitcode=1
209 echo positional parameters were not saved.
210 fi
211
212 test \$exitcode = 0) || { (exit 1); exit 1; }
213
214 (
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
220 :
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 do
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
229 /*)
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
236
237
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
253
254 fi
255
256
257 :
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
274
275 fi
276
277
278 :
279 (as_func_return () {
280 (exit $1)
281 }
282 as_func_success () {
283 as_func_return 0
284 }
285 as_func_failure () {
286 as_func_return 1
287 }
288 as_func_ret_success () {
289 return 0
290 }
291 as_func_ret_failure () {
292 return 1
293 }
294
295 exitcode=0
296 if as_func_success; then
297 :
298 else
299 exitcode=1
300 echo as_func_success failed.
301 fi
302
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
306 fi
307
308 if as_func_ret_success; then
309 :
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
313 fi
314
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
318 fi
319
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
321 :
322 else
323 exitcode=1
324 echo positional parameters were not saved.
325 fi
326
327 test $exitcode = 0) || { (exit 1); exit 1; }
328
329 (
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
335 _ASEOF
336 }; then
337 break
338 fi
339
340 fi
341
342 done
343
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350 fi
351
352
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
359 fi
360
361
362 fi
363
364 fi
365
366
367
368 (eval "as_func_return () {
369 (exit \$1)
370 }
371 as_func_success () {
372 as_func_return 0
373 }
374 as_func_failure () {
375 as_func_return 1
376 }
377 as_func_ret_success () {
378 return 0
379 }
380 as_func_ret_failure () {
381 return 1
382 }
383
384 exitcode=0
385 if as_func_success; then
386 :
387 else
388 exitcode=1
389 echo as_func_success failed.
390 fi
391
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
395 fi
396
397 if as_func_ret_success; then
398 :
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
402 fi
403
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
407 fi
408
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410 :
411 else
412 exitcode=1
413 echo positional parameters were not saved.
414 fi
415
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
421 }
422
423
424
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
441 p
442 /[$]LINENO/=
443 ' <$as_myself |
444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
447 b
448 :lineno
449 N
450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop
453 s/-\n.*//
454 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
458
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno"
463 # Exit status is that of the last command.
464 exit
465 }
466
467
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
472 fi
473
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
481 *)
482 ECHO_N='-n';;
483 esac
484
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
490 fi
491
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495 else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
498 fi
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510 else
511 as_ln_s='cp -p'
512 fi
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
515
516 if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
518 else
519 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false
521 fi
522
523 if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525 else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
530 fi
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
542 '
543 fi
544 as_executable_p=$as_test_x
545
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551
552
553
554 exec 7<&0 </dev/null 6>&1
555
556 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560
561 #
562 # Initializations.
563 #
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
573
574 # Identity of this package.
575 PACKAGE_NAME='xtrans'
576 PACKAGE_TARNAME='xtrans'
577 PACKAGE_VERSION='1.2'
578 PACKAGE_STRING='xtrans 1.2'
579 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
580
581 ac_subst_vars='SHELL
582 PATH_SEPARATOR
583 PACKAGE_NAME
584 PACKAGE_TARNAME
585 PACKAGE_VERSION
586 PACKAGE_STRING
587 PACKAGE_BUGREPORT
588 exec_prefix
589 prefix
590 program_transform_name
591 bindir
592 sbindir
593 libexecdir
594 datarootdir
595 datadir
596 sysconfdir
597 sharedstatedir
598 localstatedir
599 includedir
600 oldincludedir
601 docdir
602 infodir
603 htmldir
604 dvidir
605 pdfdir
606 psdir
607 libdir
608 localedir
609 mandir
610 DEFS
611 ECHO_C
612 ECHO_N
613 ECHO_T
614 LIBS
615 build_alias
616 host_alias
617 target_alias
618 INSTALL_PROGRAM
619 INSTALL_SCRIPT
620 INSTALL_DATA
621 am__isrc
622 CYGPATH_W
623 PACKAGE
624 VERSION
625 ACLOCAL
626 AUTOCONF
627 AUTOMAKE
628 AUTOHEADER
629 MAKEINFO
630 install_sh
631 STRIP
632 INSTALL_STRIP_PROGRAM
633 mkdir_p
634 AWK
635 SET_MAKE
636 am__leading_dot
637 AMTAR
638 am__tar
639 am__untar
640 MAINTAINER_MODE_TRUE
641 MAINTAINER_MODE_FALSE
642 MAINT
643 CC
644 CFLAGS
645 LDFLAGS
646 CPPFLAGS
647 ac_ct_CC
648 EXEEXT
649 OBJEXT
650 DEPDIR
651 am__include
652 am__quote
653 AMDEP_TRUE
654 AMDEP_FALSE
655 AMDEPBACKSLASH
656 CCDEPMODE
657 am__fastdepCC_TRUE
658 am__fastdepCC_FALSE
659 fchown_define
660 sticky_bit_define
661 LIBOBJS
662 LTLIBOBJS'
663 ac_subst_files=''
664 ac_precious_vars='build_alias
665 host_alias
666 target_alias
667 CC
668 CFLAGS
669 LDFLAGS
670 LIBS
671 CPPFLAGS'
672
673
674 # Initialize some variables set by options.
675 ac_init_help=
676 ac_init_version=false
677 # The variables have the same names as the options, with
678 # dashes changed to underlines.
679 cache_file=/dev/null
680 exec_prefix=NONE
681 no_create=
682 no_recursion=
683 prefix=NONE
684 program_prefix=NONE
685 program_suffix=NONE
686 program_transform_name=s,x,x,
687 silent=
688 site=
689 srcdir=
690 verbose=
691 x_includes=NONE
692 x_libraries=NONE
693
694 # Installation directory options.
695 # These are left unexpanded so users can "make install exec_prefix=/foo"
696 # and all the variables that are supposed to be based on exec_prefix
697 # by default will actually change.
698 # Use braces instead of parens because sh, perl, etc. also accept them.
699 # (The list follows the same order as the GNU Coding Standards.)
700 bindir='${exec_prefix}/bin'
701 sbindir='${exec_prefix}/sbin'
702 libexecdir='${exec_prefix}/libexec'
703 datarootdir='${prefix}/share'
704 datadir='${datarootdir}'
705 sysconfdir='${prefix}/etc'
706 sharedstatedir='${prefix}/com'
707 localstatedir='${prefix}/var'
708 includedir='${prefix}/include'
709 oldincludedir='/usr/include'
710 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
711 infodir='${datarootdir}/info'
712 htmldir='${docdir}'
713 dvidir='${docdir}'
714 pdfdir='${docdir}'
715 psdir='${docdir}'
716 libdir='${exec_prefix}/lib'
717 localedir='${datarootdir}/locale'
718 mandir='${datarootdir}/man'
719
720 ac_prev=
721 ac_dashdash=
722 for ac_option
723 do
724 # If the previous option needs an argument, assign it.
725 if test -n "$ac_prev"; then
726 eval $ac_prev=\$ac_option
727 ac_prev=
728 continue
729 fi
730
731 case $ac_option in
732 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
733 *) ac_optarg=yes ;;
734 esac
735
736 # Accept the important Cygnus configure options, so we can diagnose typos.
737
738 case $ac_dashdash$ac_option in
739 --)
740 ac_dashdash=yes ;;
741
742 -bindir | --bindir | --bindi | --bind | --bin | --bi)
743 ac_prev=bindir ;;
744 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
745 bindir=$ac_optarg ;;
746
747 -build | --build | --buil | --bui | --bu)
748 ac_prev=build_alias ;;
749 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
750 build_alias=$ac_optarg ;;
751
752 -cache-file | --cache-file | --cache-fil | --cache-fi \
753 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
754 ac_prev=cache_file ;;
755 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
756 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
757 cache_file=$ac_optarg ;;
758
759 --config-cache | -C)
760 cache_file=config.cache ;;
761
762 -datadir | --datadir | --datadi | --datad)
763 ac_prev=datadir ;;
764 -datadir=* | --datadir=* | --datadi=* | --datad=*)
765 datadir=$ac_optarg ;;
766
767 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
768 | --dataroo | --dataro | --datar)
769 ac_prev=datarootdir ;;
770 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
771 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
772 datarootdir=$ac_optarg ;;
773
774 -disable-* | --disable-*)
775 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
776 # Reject names that are not valid shell variable names.
777 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
778 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
779 { (exit 1); exit 1; }; }
780 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
781 eval enable_$ac_feature=no ;;
782
783 -docdir | --docdir | --docdi | --doc | --do)
784 ac_prev=docdir ;;
785 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
786 docdir=$ac_optarg ;;
787
788 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
789 ac_prev=dvidir ;;
790 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
791 dvidir=$ac_optarg ;;
792
793 -enable-* | --enable-*)
794 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
795 # Reject names that are not valid shell variable names.
796 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
797 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
798 { (exit 1); exit 1; }; }
799 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
800 eval enable_$ac_feature=\$ac_optarg ;;
801
802 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
803 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
804 | --exec | --exe | --ex)
805 ac_prev=exec_prefix ;;
806 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
807 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
808 | --exec=* | --exe=* | --ex=*)
809 exec_prefix=$ac_optarg ;;
810
811 -gas | --gas | --ga | --g)
812 # Obsolete; use --with-gas.
813 with_gas=yes ;;
814
815 -help | --help | --hel | --he | -h)
816 ac_init_help=long ;;
817 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
818 ac_init_help=recursive ;;
819 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
820 ac_init_help=short ;;
821
822 -host | --host | --hos | --ho)
823 ac_prev=host_alias ;;
824 -host=* | --host=* | --hos=* | --ho=*)
825 host_alias=$ac_optarg ;;
826
827 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
828 ac_prev=htmldir ;;
829 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
830 | --ht=*)
831 htmldir=$ac_optarg ;;
832
833 -includedir | --includedir | --includedi | --included | --include \
834 | --includ | --inclu | --incl | --inc)
835 ac_prev=includedir ;;
836 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
837 | --includ=* | --inclu=* | --incl=* | --inc=*)
838 includedir=$ac_optarg ;;
839
840 -infodir | --infodir | --infodi | --infod | --info | --inf)
841 ac_prev=infodir ;;
842 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
843 infodir=$ac_optarg ;;
844
845 -libdir | --libdir | --libdi | --libd)
846 ac_prev=libdir ;;
847 -libdir=* | --libdir=* | --libdi=* | --libd=*)
848 libdir=$ac_optarg ;;
849
850 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
851 | --libexe | --libex | --libe)
852 ac_prev=libexecdir ;;
853 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
854 | --libexe=* | --libex=* | --libe=*)
855 libexecdir=$ac_optarg ;;
856
857 -localedir | --localedir | --localedi | --localed | --locale)
858 ac_prev=localedir ;;
859 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
860 localedir=$ac_optarg ;;
861
862 -localstatedir | --localstatedir | --localstatedi | --localstated \
863 | --localstate | --localstat | --localsta | --localst | --locals)
864 ac_prev=localstatedir ;;
865 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
866 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
867 localstatedir=$ac_optarg ;;
868
869 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
870 ac_prev=mandir ;;
871 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
872 mandir=$ac_optarg ;;
873
874 -nfp | --nfp | --nf)
875 # Obsolete; use --without-fp.
876 with_fp=no ;;
877
878 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
879 | --no-cr | --no-c | -n)
880 no_create=yes ;;
881
882 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
883 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
884 no_recursion=yes ;;
885
886 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
887 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
888 | --oldin | --oldi | --old | --ol | --o)
889 ac_prev=oldincludedir ;;
890 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
891 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
892 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
893 oldincludedir=$ac_optarg ;;
894
895 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
896 ac_prev=prefix ;;
897 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
898 prefix=$ac_optarg ;;
899
900 -program-prefix | --program-prefix | --program-prefi | --program-pref \
901 | --program-pre | --program-pr | --program-p)
902 ac_prev=program_prefix ;;
903 -program-prefix=* | --program-prefix=* | --program-prefi=* \
904 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
905 program_prefix=$ac_optarg ;;
906
907 -program-suffix | --program-suffix | --program-suffi | --program-suff \
908 | --program-suf | --program-su | --program-s)
909 ac_prev=program_suffix ;;
910 -program-suffix=* | --program-suffix=* | --program-suffi=* \
911 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
912 program_suffix=$ac_optarg ;;
913
914 -program-transform-name | --program-transform-name \
915 | --program-transform-nam | --program-transform-na \
916 | --program-transform-n | --program-transform- \
917 | --program-transform | --program-transfor \
918 | --program-transfo | --program-transf \
919 | --program-trans | --program-tran \
920 | --progr-tra | --program-tr | --program-t)
921 ac_prev=program_transform_name ;;
922 -program-transform-name=* | --program-transform-name=* \
923 | --program-transform-nam=* | --program-transform-na=* \
924 | --program-transform-n=* | --program-transform-=* \
925 | --program-transform=* | --program-transfor=* \
926 | --program-transfo=* | --program-transf=* \
927 | --program-trans=* | --program-tran=* \
928 | --progr-tra=* | --program-tr=* | --program-t=*)
929 program_transform_name=$ac_optarg ;;
930
931 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
932 ac_prev=pdfdir ;;
933 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
934 pdfdir=$ac_optarg ;;
935
936 -psdir | --psdir | --psdi | --psd | --ps)
937 ac_prev=psdir ;;
938 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
939 psdir=$ac_optarg ;;
940
941 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
942 | -silent | --silent | --silen | --sile | --sil)
943 silent=yes ;;
944
945 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
946 ac_prev=sbindir ;;
947 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
948 | --sbi=* | --sb=*)
949 sbindir=$ac_optarg ;;
950
951 -sharedstatedir | --sharedstatedir | --sharedstatedi \
952 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
953 | --sharedst | --shareds | --shared | --share | --shar \
954 | --sha | --sh)
955 ac_prev=sharedstatedir ;;
956 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
957 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
958 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
959 | --sha=* | --sh=*)
960 sharedstatedir=$ac_optarg ;;
961
962 -site | --site | --sit)
963 ac_prev=site ;;
964 -site=* | --site=* | --sit=*)
965 site=$ac_optarg ;;
966
967 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
968 ac_prev=srcdir ;;
969 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
970 srcdir=$ac_optarg ;;
971
972 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
973 | --syscon | --sysco | --sysc | --sys | --sy)
974 ac_prev=sysconfdir ;;
975 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
976 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
977 sysconfdir=$ac_optarg ;;
978
979 -target | --target | --targe | --targ | --tar | --ta | --t)
980 ac_prev=target_alias ;;
981 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
982 target_alias=$ac_optarg ;;
983
984 -v | -verbose | --verbose | --verbos | --verbo | --verb)
985 verbose=yes ;;
986
987 -version | --version | --versio | --versi | --vers | -V)
988 ac_init_version=: ;;
989
990 -with-* | --with-*)
991 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
992 # Reject names that are not valid shell variable names.
993 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
994 { echo "$as_me: error: invalid package name: $ac_package" >&2
995 { (exit 1); exit 1; }; }
996 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
997 eval with_$ac_package=\$ac_optarg ;;
998
999 -without-* | --without-*)
1000 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1001 # Reject names that are not valid shell variable names.
1002 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1003 { echo "$as_me: error: invalid package name: $ac_package" >&2
1004 { (exit 1); exit 1; }; }
1005 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1006 eval with_$ac_package=no ;;
1007
1008 --x)
1009 # Obsolete; use --with-x.
1010 with_x=yes ;;
1011
1012 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1013 | --x-incl | --x-inc | --x-in | --x-i)
1014 ac_prev=x_includes ;;
1015 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1016 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1017 x_includes=$ac_optarg ;;
1018
1019 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1020 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1021 ac_prev=x_libraries ;;
1022 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1023 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1024 x_libraries=$ac_optarg ;;
1025
1026 -*) { echo "$as_me: error: unrecognized option: $ac_option
1027 Try \`$0 --help' for more information." >&2
1028 { (exit 1); exit 1; }; }
1029 ;;
1030
1031 *=*)
1032 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1035 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1036 { (exit 1); exit 1; }; }
1037 eval $ac_envvar=\$ac_optarg
1038 export $ac_envvar ;;
1039
1040 *)
1041 # FIXME: should be removed in autoconf 3.0.
1042 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1043 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1044 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1045 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1046 ;;
1047
1048 esac
1049 done
1050
1051 if test -n "$ac_prev"; then
1052 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1053 { echo "$as_me: error: missing argument to $ac_option" >&2
1054 { (exit 1); exit 1; }; }
1055 fi
1056
1057 # Be sure to have absolute directory names.
1058 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1059 datadir sysconfdir sharedstatedir localstatedir includedir \
1060 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1061 libdir localedir mandir
1062 do
1063 eval ac_val=\$$ac_var
1064 case $ac_val in
1065 [\\/$]* | ?:[\\/]* ) continue;;
1066 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1067 esac
1068 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1069 { (exit 1); exit 1; }; }
1070 done
1071
1072 # There might be people who depend on the old broken behavior: `$host'
1073 # used to hold the argument of --host etc.
1074 # FIXME: To remove some day.
1075 build=$build_alias
1076 host=$host_alias
1077 target=$target_alias
1078
1079 # FIXME: To remove some day.
1080 if test "x$host_alias" != x; then
1081 if test "x$build_alias" = x; then
1082 cross_compiling=maybe
1083 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1084 If a cross compiler is detected then cross compile mode will be used." >&2
1085 elif test "x$build_alias" != "x$host_alias"; then
1086 cross_compiling=yes
1087 fi
1088 fi
1089
1090 ac_tool_prefix=
1091 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1092
1093 test "$silent" = yes && exec 6>/dev/null
1094
1095
1096 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1097 ac_ls_di=`ls -di .` &&
1098 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1099 { echo "$as_me: error: Working directory cannot be determined" >&2
1100 { (exit 1); exit 1; }; }
1101 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1102 { echo "$as_me: error: pwd does not report name of working directory" >&2
1103 { (exit 1); exit 1; }; }
1104
1105
1106 # Find the source files, if location was not specified.
1107 if test -z "$srcdir"; then
1108 ac_srcdir_defaulted=yes
1109 # Try the directory containing this script, then the parent directory.
1110 ac_confdir=`$as_dirname -- "$0" ||
1111 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1112 X"$0" : 'X\(//\)[^/]' \| \
1113 X"$0" : 'X\(//\)$' \| \
1114 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1115 echo X"$0" |
1116 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1117 s//\1/
1118 q
1119 }
1120 /^X\(\/\/\)[^/].*/{
1121 s//\1/
1122 q
1123 }
1124 /^X\(\/\/\)$/{
1125 s//\1/
1126 q
1127 }
1128 /^X\(\/\).*/{
1129 s//\1/
1130 q
1131 }
1132 s/.*/./; q'`
1133 srcdir=$ac_confdir
1134 if test ! -r "$srcdir/$ac_unique_file"; then
1135 srcdir=..
1136 fi
1137 else
1138 ac_srcdir_defaulted=no
1139 fi
1140 if test ! -r "$srcdir/$ac_unique_file"; then
1141 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1142 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1143 { (exit 1); exit 1; }; }
1144 fi
1145 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1146 ac_abs_confdir=`(
1147 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1148 { (exit 1); exit 1; }; }
1149 pwd)`
1150 # When building in place, set srcdir=.
1151 if test "$ac_abs_confdir" = "$ac_pwd"; then
1152 srcdir=.
1153 fi
1154 # Remove unnecessary trailing slashes from srcdir.
1155 # Double slashes in file names in object file debugging info
1156 # mess up M-x gdb in Emacs.
1157 case $srcdir in
1158 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1159 esac
1160 for ac_var in $ac_precious_vars; do
1161 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1162 eval ac_env_${ac_var}_value=\$${ac_var}
1163 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1164 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1165 done
1166
1167 #
1168 # Report the --help message.
1169 #
1170 if test "$ac_init_help" = "long"; then
1171 # Omit some internal or obsolete options to make the list less imposing.
1172 # This message is too long to be a string in the A/UX 3.1 sh.
1173 cat <<_ACEOF
1174 \`configure' configures xtrans 1.2 to adapt to many kinds of systems.
1175
1176 Usage: $0 [OPTION]... [VAR=VALUE]...
1177
1178 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1179 VAR=VALUE. See below for descriptions of some of the useful variables.
1180
1181 Defaults for the options are specified in brackets.
1182
1183 Configuration:
1184 -h, --help display this help and exit
1185 --help=short display options specific to this package
1186 --help=recursive display the short help of all the included packages
1187 -V, --version display version information and exit
1188 -q, --quiet, --silent do not print \`checking...' messages
1189 --cache-file=FILE cache test results in FILE [disabled]
1190 -C, --config-cache alias for \`--cache-file=config.cache'
1191 -n, --no-create do not create output files
1192 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1193
1194 Installation directories:
1195 --prefix=PREFIX install architecture-independent files in PREFIX
1196 [$ac_default_prefix]
1197 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1198 [PREFIX]
1199
1200 By default, \`make install' will install all the files in
1201 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1202 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1203 for instance \`--prefix=\$HOME'.
1204
1205 For better control, use the options below.
1206
1207 Fine tuning of the installation directories:
1208 --bindir=DIR user executables [EPREFIX/bin]
1209 --sbindir=DIR system admin executables [EPREFIX/sbin]
1210 --libexecdir=DIR program executables [EPREFIX/libexec]
1211 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1212 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1213 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1214 --libdir=DIR object code libraries [EPREFIX/lib]
1215 --includedir=DIR C header files [PREFIX/include]
1216 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1217 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1218 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1219 --infodir=DIR info documentation [DATAROOTDIR/info]
1220 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1221 --mandir=DIR man documentation [DATAROOTDIR/man]
1222 --docdir=DIR documentation root [DATAROOTDIR/doc/xtrans]
1223 --htmldir=DIR html documentation [DOCDIR]
1224 --dvidir=DIR dvi documentation [DOCDIR]
1225 --pdfdir=DIR pdf documentation [DOCDIR]
1226 --psdir=DIR ps documentation [DOCDIR]
1227 _ACEOF
1228
1229 cat <<\_ACEOF
1230
1231 Program names:
1232 --program-prefix=PREFIX prepend PREFIX to installed program names
1233 --program-suffix=SUFFIX append SUFFIX to installed program names
1234 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1235 _ACEOF
1236 fi
1237
1238 if test -n "$ac_init_help"; then
1239 case $ac_init_help in
1240 short | recursive ) echo "Configuration of xtrans 1.2:";;
1241 esac
1242 cat <<\_ACEOF
1243
1244 Optional Features:
1245 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1246 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1247 --enable-maintainer-mode enable make rules and dependencies not useful
1248 (and sometimes confusing) to the casual installer
1249 --disable-dependency-tracking speeds up one-time build
1250 --enable-dependency-tracking do not reject slow dependency extractors
1251
1252 Optional Packages:
1253 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1254 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1255 --with-release-version=STRING
1256 Use release version string in package name
1257
1258 Some influential environment variables:
1259 CC C compiler command
1260 CFLAGS C compiler flags
1261 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1262 nonstandard directory <lib dir>
1263 LIBS libraries to pass to the linker, e.g. -l<library>
1264 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1265 you have headers in a nonstandard directory <include dir>
1266
1267 Use these variables to override the choices made by `configure' or to help
1268 it to find libraries and programs with nonstandard names/locations.
1269
1270 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1271 _ACEOF
1272 ac_status=$?
1273 fi
1274
1275 if test "$ac_init_help" = "recursive"; then
1276 # If there are subdirs, report their specific --help.
1277 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1278 test -d "$ac_dir" || continue
1279 ac_builddir=.
1280
1281 case "$ac_dir" in
1282 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1283 *)
1284 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1285 # A ".." for each directory in $ac_dir_suffix.
1286 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1287 case $ac_top_builddir_sub in
1288 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1289 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1290 esac ;;
1291 esac
1292 ac_abs_top_builddir=$ac_pwd
1293 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1294 # for backward compatibility:
1295 ac_top_builddir=$ac_top_build_prefix
1296
1297 case $srcdir in
1298 .) # We are building in place.
1299 ac_srcdir=.
1300 ac_top_srcdir=$ac_top_builddir_sub
1301 ac_abs_top_srcdir=$ac_pwd ;;
1302 [\\/]* | ?:[\\/]* ) # Absolute name.
1303 ac_srcdir=$srcdir$ac_dir_suffix;
1304 ac_top_srcdir=$srcdir
1305 ac_abs_top_srcdir=$srcdir ;;
1306 *) # Relative name.
1307 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1308 ac_top_srcdir=$ac_top_build_prefix$srcdir
1309 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1310 esac
1311 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1312
1313 cd "$ac_dir" || { ac_status=$?; continue; }
1314 # Check for guested configure.
1315 if test -f "$ac_srcdir/configure.gnu"; then
1316 echo &&
1317 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1318 elif test -f "$ac_srcdir/configure"; then
1319 echo &&
1320 $SHELL "$ac_srcdir/configure" --help=recursive
1321 else
1322 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1323 fi || ac_status=$?
1324 cd "$ac_pwd" || { ac_status=$?; break; }
1325 done
1326 fi
1327
1328 test -n "$ac_init_help" && exit $ac_status
1329 if $ac_init_version; then
1330 cat <<\_ACEOF
1331 xtrans configure 1.2
1332 generated by GNU Autoconf 2.61
1333
1334 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1335 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1336 This configure script is free software; the Free Software Foundation
1337 gives unlimited permission to copy, distribute and modify it.
1338 _ACEOF
1339 exit
1340 fi
1341 cat >config.log <<_ACEOF
1342 This file contains any messages produced by compilers while
1343 running configure, to aid debugging if configure makes a mistake.
1344
1345 It was created by xtrans $as_me 1.2, which was
1346 generated by GNU Autoconf 2.61. Invocation command line was
1347
1348 $ $0 $@
1349
1350 _ACEOF
1351 exec 5>>config.log
1352 {
1353 cat <<_ASUNAME
1354 ## --------- ##
1355 ## Platform. ##
1356 ## --------- ##
1357
1358 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1359 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1360 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1361 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1362 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1363
1364 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1365 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1366
1367 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1368 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1369 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1370 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1371 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1372 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1373 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1374
1375 _ASUNAME
1376
1377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1378 for as_dir in $PATH
1379 do
1380 IFS=$as_save_IFS
1381 test -z "$as_dir" && as_dir=.
1382 echo "PATH: $as_dir"
1383 done
1384 IFS=$as_save_IFS
1385
1386 } >&5
1387
1388 cat >&5 <<_ACEOF
1389
1390
1391 ## ----------- ##
1392 ## Core tests. ##
1393 ## ----------- ##
1394
1395 _ACEOF
1396
1397
1398 # Keep a trace of the command line.
1399 # Strip out --no-create and --no-recursion so they do not pile up.
1400 # Strip out --silent because we don't want to record it for future runs.
1401 # Also quote any args containing shell meta-characters.
1402 # Make two passes to allow for proper duplicate-argument suppression.
1403 ac_configure_args=
1404 ac_configure_args0=
1405 ac_configure_args1=
1406 ac_must_keep_next=false
1407 for ac_pass in 1 2
1408 do
1409 for ac_arg
1410 do
1411 case $ac_arg in
1412 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1413 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1414 | -silent | --silent | --silen | --sile | --sil)
1415 continue ;;
1416 *\'*)
1417 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1418 esac
1419 case $ac_pass in
1420 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1421 2)
1422 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1423 if test $ac_must_keep_next = true; then
1424 ac_must_keep_next=false # Got value, back to normal.
1425 else
1426 case $ac_arg in
1427 *=* | --config-cache | -C | -disable-* | --disable-* \
1428 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1429 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1430 | -with-* | --with-* | -without-* | --without-* | --x)
1431 case "$ac_configure_args0 " in
1432 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1433 esac
1434 ;;
1435 -* ) ac_must_keep_next=true ;;
1436 esac
1437 fi
1438 ac_configure_args="$ac_configure_args '$ac_arg'"
1439 ;;
1440 esac
1441 done
1442 done
1443 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1444 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1445
1446 # When interrupted or exit'd, cleanup temporary files, and complete
1447 # config.log. We remove comments because anyway the quotes in there
1448 # would cause problems or look ugly.
1449 # WARNING: Use '\'' to represent an apostrophe within the trap.
1450 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1451 trap 'exit_status=$?
1452 # Save into config.log some information that might help in debugging.
1453 {
1454 echo
1455
1456 cat <<\_ASBOX
1457 ## ---------------- ##
1458 ## Cache variables. ##
1459 ## ---------------- ##
1460 _ASBOX
1461 echo
1462 # The following way of writing the cache mishandles newlines in values,
1463 (
1464 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1465 eval ac_val=\$$ac_var
1466 case $ac_val in #(
1467 *${as_nl}*)
1468 case $ac_var in #(
1469 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1470 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1471 esac
1472 case $ac_var in #(
1473 _ | IFS | as_nl) ;; #(
1474 *) $as_unset $ac_var ;;
1475 esac ;;
1476 esac
1477 done
1478 (set) 2>&1 |
1479 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1480 *${as_nl}ac_space=\ *)
1481 sed -n \
1482 "s/'\''/'\''\\\\'\'''\''/g;
1483 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1484 ;; #(
1485 *)
1486 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1487 ;;
1488 esac |
1489 sort
1490 )
1491 echo
1492
1493 cat <<\_ASBOX
1494 ## ----------------- ##
1495 ## Output variables. ##
1496 ## ----------------- ##
1497 _ASBOX
1498 echo
1499 for ac_var in $ac_subst_vars
1500 do
1501 eval ac_val=\$$ac_var
1502 case $ac_val in
1503 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1504 esac
1505 echo "$ac_var='\''$ac_val'\''"
1506 done | sort
1507 echo
1508
1509 if test -n "$ac_subst_files"; then
1510 cat <<\_ASBOX
1511 ## ------------------- ##
1512 ## File substitutions. ##
1513 ## ------------------- ##
1514 _ASBOX
1515 echo
1516 for ac_var in $ac_subst_files
1517 do
1518 eval ac_val=\$$ac_var
1519 case $ac_val in
1520 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1521 esac
1522 echo "$ac_var='\''$ac_val'\''"
1523 done | sort
1524 echo
1525 fi
1526
1527 if test -s confdefs.h; then
1528 cat <<\_ASBOX
1529 ## ----------- ##
1530 ## confdefs.h. ##
1531 ## ----------- ##
1532 _ASBOX
1533 echo
1534 cat confdefs.h
1535 echo
1536 fi
1537 test "$ac_signal" != 0 &&
1538 echo "$as_me: caught signal $ac_signal"
1539 echo "$as_me: exit $exit_status"
1540 } >&5
1541 rm -f core *.core core.conftest.* &&
1542 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1543 exit $exit_status
1544 ' 0
1545 for ac_signal in 1 2 13 15; do
1546 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1547 done
1548 ac_signal=0
1549
1550 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1551 rm -f -r conftest* confdefs.h
1552
1553 # Predefined preprocessor variables.
1554
1555 cat >>confdefs.h <<_ACEOF
1556 #define PACKAGE_NAME "$PACKAGE_NAME"
1557 _ACEOF
1558
1559
1560 cat >>confdefs.h <<_ACEOF
1561 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1562 _ACEOF
1563
1564
1565 cat >>confdefs.h <<_ACEOF
1566 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1567 _ACEOF
1568
1569
1570 cat >>confdefs.h <<_ACEOF
1571 #define PACKAGE_STRING "$PACKAGE_STRING"
1572 _ACEOF
1573
1574
1575 cat >>confdefs.h <<_ACEOF
1576 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1577 _ACEOF
1578
1579
1580 # Let the site file select an alternate cache file if it wants to.
1581 # Prefer explicitly selected file to automatically selected ones.
1582 if test -n "$CONFIG_SITE"; then
1583 set x "$CONFIG_SITE"
1584 elif test "x$prefix" != xNONE; then
1585 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1586 else
1587 set x "$ac_default_prefix/share/config.site" \
1588 "$ac_default_prefix/etc/config.site"
1589 fi
1590 shift
1591 for ac_site_file
1592 do
1593 if test -r "$ac_site_file"; then
1594 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1595 echo "$as_me: loading site script $ac_site_file" >&6;}
1596 sed 's/^/| /' "$ac_site_file" >&5
1597 . "$ac_site_file"
1598 fi
1599 done
1600
1601 if test -r "$cache_file"; then
1602 # Some versions of bash will fail to source /dev/null (special
1603 # files actually), so we avoid doing that.
1604 if test -f "$cache_file"; then
1605 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1606 echo "$as_me: loading cache $cache_file" >&6;}
1607 case $cache_file in
1608 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1609 *) . "./$cache_file";;
1610 esac
1611 fi
1612 else
1613 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1614 echo "$as_me: creating cache $cache_file" >&6;}
1615 >$cache_file
1616 fi
1617
1618 # Check that the precious variables saved in the cache have kept the same
1619 # value.
1620 ac_cache_corrupted=false
1621 for ac_var in $ac_precious_vars; do
1622 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1623 eval ac_new_set=\$ac_env_${ac_var}_set
1624 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1625 eval ac_new_val=\$ac_env_${ac_var}_value
1626 case $ac_old_set,$ac_new_set in
1627 set,)
1628 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1629 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1630 ac_cache_corrupted=: ;;
1631 ,set)
1632 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1633 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1634 ac_cache_corrupted=: ;;
1635 ,);;
1636 *)
1637 if test "x$ac_old_val" != "x$ac_new_val"; then
1638 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1639 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1640 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1641 echo "$as_me: former value: $ac_old_val" >&2;}
1642 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1643 echo "$as_me: current value: $ac_new_val" >&2;}
1644 ac_cache_corrupted=:
1645 fi;;
1646 esac
1647 # Pass precious variables to config.status.
1648 if test "$ac_new_set" = set; then
1649 case $ac_new_val in
1650 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1651 *) ac_arg=$ac_var=$ac_new_val ;;
1652 esac
1653 case " $ac_configure_args " in
1654 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1655 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1656 esac
1657 fi
1658 done
1659 if $ac_cache_corrupted; then
1660 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1661 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1662 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1663 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1664 { (exit 1); exit 1; }; }
1665 fi
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691 ac_ext=c
1692 ac_cpp='$CPP $CPPFLAGS'
1693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1696
1697
1698 am__api_version='1.10'
1699
1700 ac_aux_dir=
1701 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1702 if test -f "$ac_dir/install-sh"; then
1703 ac_aux_dir=$ac_dir
1704 ac_install_sh="$ac_aux_dir/install-sh -c"
1705 break
1706 elif test -f "$ac_dir/install.sh"; then
1707 ac_aux_dir=$ac_dir
1708 ac_install_sh="$ac_aux_dir/install.sh -c"
1709 break
1710 elif test -f "$ac_dir/shtool"; then
1711 ac_aux_dir=$ac_dir
1712 ac_install_sh="$ac_aux_dir/shtool install -c"
1713 break
1714 fi
1715 done
1716 if test -z "$ac_aux_dir"; then
1717 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1718 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1719 { (exit 1); exit 1; }; }
1720 fi
1721
1722 # These three variables are undocumented and unsupported,
1723 # and are intended to be withdrawn in a future Autoconf release.
1724 # They can cause serious problems if a builder's source tree is in a directory
1725 # whose full name contains unusual characters.
1726 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1727 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1728 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1729
1730
1731 # Find a good install program. We prefer a C program (faster),
1732 # so one script is as good as another. But avoid the broken or
1733 # incompatible versions:
1734 # SysV /etc/install, /usr/sbin/install
1735 # SunOS /usr/etc/install
1736 # IRIX /sbin/install
1737 # AIX /bin/install
1738 # AmigaOS /C/install, which installs bootblocks on floppy discs
1739 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1740 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1741 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1742 # OS/2's system install, which has a completely different semantic
1743 # ./install, which can be erroneously created by make from ./install.sh.
1744 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1745 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1746 if test -z "$INSTALL"; then
1747 if test "${ac_cv_path_install+set}" = set; then
1748 echo $ECHO_N "(cached) $ECHO_C" >&6
1749 else
1750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1751 for as_dir in $PATH
1752 do
1753 IFS=$as_save_IFS
1754 test -z "$as_dir" && as_dir=.
1755 # Account for people who put trailing slashes in PATH elements.
1756 case $as_dir/ in
1757 ./ | .// | /cC/* | \
1758 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1759 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1760 /usr/ucb/* ) ;;
1761 *)
1762 # OSF1 and SCO ODT 3.0 have their own names for install.
1763 # Don't use installbsd from OSF since it installs stuff as root
1764 # by default.
1765 for ac_prog in ginstall scoinst install; do
1766 for ac_exec_ext in '' $ac_executable_extensions; do
1767 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1768 if test $ac_prog = install &&
1769 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1770 # AIX install. It has an incompatible calling convention.
1771 :
1772 elif test $ac_prog = install &&
1773 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1774 # program-specific install script used by HP pwplus--don't use.
1775 :
1776 else
1777 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1778 break 3
1779 fi
1780 fi
1781 done
1782 done
1783 ;;
1784 esac
1785 done
1786 IFS=$as_save_IFS
1787
1788
1789 fi
1790 if test "${ac_cv_path_install+set}" = set; then
1791 INSTALL=$ac_cv_path_install
1792 else
1793 # As a last resort, use the slow shell script. Don't cache a
1794 # value for INSTALL within a source directory, because that will
1795 # break other packages using the cache if that directory is
1796 # removed, or if the value is a relative name.
1797 INSTALL=$ac_install_sh
1798 fi
1799 fi
1800 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1801 echo "${ECHO_T}$INSTALL" >&6; }
1802
1803 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1804 # It thinks the first close brace ends the variable substitution.
1805 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1806
1807 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1808
1809 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1810
1811 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1812 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1813 # Just in case
1814 sleep 1
1815 echo timestamp > conftest.file
1816 # Do `set' in a subshell so we don't clobber the current shell's
1817 # arguments. Must try -L first in case configure is actually a
1818 # symlink; some systems play weird games with the mod time of symlinks
1819 # (eg FreeBSD returns the mod time of the symlink's containing
1820 # directory).
1821 if (
1822 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1823 if test "$*" = "X"; then
1824 # -L didn't work.
1825 set X `ls -t $srcdir/configure conftest.file`
1826 fi
1827 rm -f conftest.file
1828 if test "$*" != "X $srcdir/configure conftest.file" \
1829 && test "$*" != "X conftest.file $srcdir/configure"; then
1830
1831 # If neither matched, then we have a broken ls. This can happen
1832 # if, for instance, CONFIG_SHELL is bash and it inherits a
1833 # broken ls alias from the environment. This has actually
1834 # happened. Such a system could not be considered "sane".
1835 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1836 alias in your environment" >&5
1837 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1838 alias in your environment" >&2;}
1839 { (exit 1); exit 1; }; }
1840 fi
1841
1842 test "$2" = conftest.file
1843 )
1844 then
1845 # Ok.
1846 :
1847 else
1848 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1849 Check your system clock" >&5
1850 echo "$as_me: error: newly created file is older than distributed files!
1851 Check your system clock" >&2;}
1852 { (exit 1); exit 1; }; }
1853 fi
1854 { echo "$as_me:$LINENO: result: yes" >&5
1855 echo "${ECHO_T}yes" >&6; }
1856 test "$program_prefix" != NONE &&
1857 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1858 # Use a double $ so make ignores it.
1859 test "$program_suffix" != NONE &&
1860 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1861 # Double any \ or $. echo might interpret backslashes.
1862 # By default was `s,x,x', remove it if useless.
1863 cat <<\_ACEOF >conftest.sed
1864 s/[\\$]/&&/g;s/;s,x,x,$//
1865 _ACEOF
1866 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1867 rm -f conftest.sed
1868
1869 # expand $ac_aux_dir to an absolute path
1870 am_aux_dir=`cd $ac_aux_dir && pwd`
1871
1872 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1873 # Use eval to expand $SHELL
1874 if eval "$MISSING --run true"; then
1875 am_missing_run="$MISSING --run "
1876 else
1877 am_missing_run=
1878 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1879 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1880 fi
1881
1882 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1883 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1884 if test -z "$MKDIR_P"; then
1885 if test "${ac_cv_path_mkdir+set}" = set; then
1886 echo $ECHO_N "(cached) $ECHO_C" >&6
1887 else
1888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1889 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1890 do
1891 IFS=$as_save_IFS
1892 test -z "$as_dir" && as_dir=.
1893 for ac_prog in mkdir gmkdir; do
1894 for ac_exec_ext in '' $ac_executable_extensions; do
1895 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1896 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1897 'mkdir (GNU coreutils) '* | \
1898 'mkdir (coreutils) '* | \
1899 'mkdir (fileutils) '4.1*)
1900 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1901 break 3;;
1902 esac
1903 done
1904 done
1905 done
1906 IFS=$as_save_IFS
1907
1908 fi
1909
1910 if test "${ac_cv_path_mkdir+set}" = set; then
1911 MKDIR_P="$ac_cv_path_mkdir -p"
1912 else
1913 # As a last resort, use the slow shell script. Don't cache a
1914 # value for MKDIR_P within a source directory, because that will
1915 # break other packages using the cache if that directory is
1916 # removed, or if the value is a relative name.
1917 test -d ./--version && rmdir ./--version
1918 MKDIR_P="$ac_install_sh -d"
1919 fi
1920 fi
1921 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1922 echo "${ECHO_T}$MKDIR_P" >&6; }
1923
1924 mkdir_p="$MKDIR_P"
1925 case $mkdir_p in
1926 [\\/$]* | ?:[\\/]*) ;;
1927 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1928 esac
1929
1930 for ac_prog in gawk mawk nawk awk
1931 do
1932 # Extract the first word of "$ac_prog", so it can be a program name with args.
1933 set dummy $ac_prog; ac_word=$2
1934 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1936 if test "${ac_cv_prog_AWK+set}" = set; then
1937 echo $ECHO_N "(cached) $ECHO_C" >&6
1938 else
1939 if test -n "$AWK"; then
1940 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1941 else
1942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1943 for as_dir in $PATH
1944 do
1945 IFS=$as_save_IFS
1946 test -z "$as_dir" && as_dir=.
1947 for ac_exec_ext in '' $ac_executable_extensions; do
1948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1949 ac_cv_prog_AWK="$ac_prog"
1950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1951 break 2
1952 fi
1953 done
1954 done
1955 IFS=$as_save_IFS
1956
1957 fi
1958 fi
1959 AWK=$ac_cv_prog_AWK
1960 if test -n "$AWK"; then
1961 { echo "$as_me:$LINENO: result: $AWK" >&5
1962 echo "${ECHO_T}$AWK" >&6; }
1963 else
1964 { echo "$as_me:$LINENO: result: no" >&5
1965 echo "${ECHO_T}no" >&6; }
1966 fi
1967
1968
1969 test -n "$AWK" && break
1970 done
1971
1972 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1973 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1974 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1975 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1976 echo $ECHO_N "(cached) $ECHO_C" >&6
1977 else
1978 cat >conftest.make <<\_ACEOF
1979 SHELL = /bin/sh
1980 all:
1981 @echo '@@@%%%=$(MAKE)=@@@%%%'
1982 _ACEOF
1983 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1984 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1985 *@@@%%%=?*=@@@%%%*)
1986 eval ac_cv_prog_make_${ac_make}_set=yes;;
1987 *)
1988 eval ac_cv_prog_make_${ac_make}_set=no;;
1989 esac
1990 rm -f conftest.make
1991 fi
1992 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1993 { echo "$as_me:$LINENO: result: yes" >&5
1994 echo "${ECHO_T}yes" >&6; }
1995 SET_MAKE=
1996 else
1997 { echo "$as_me:$LINENO: result: no" >&5
1998 echo "${ECHO_T}no" >&6; }
1999 SET_MAKE="MAKE=${MAKE-make}"
2000 fi
2001
2002 rm -rf .tst 2>/dev/null
2003 mkdir .tst 2>/dev/null
2004 if test -d .tst; then
2005 am__leading_dot=.
2006 else
2007 am__leading_dot=_
2008 fi
2009 rmdir .tst 2>/dev/null
2010
2011 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2012 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2013 # is not polluted with repeated "-I."
2014 am__isrc=' -I$(srcdir)'
2015 # test to see if srcdir already configured
2016 if test -f $srcdir/config.status; then
2017 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2018 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2019 { (exit 1); exit 1; }; }
2020 fi
2021 fi
2022
2023 # test whether we have cygpath
2024 if test -z "$CYGPATH_W"; then
2025 if (cygpath --version) >/dev/null 2>/dev/null; then
2026 CYGPATH_W='cygpath -w'
2027 else
2028 CYGPATH_W=echo
2029 fi
2030 fi
2031
2032
2033 # Define the identity of the package.
2034 PACKAGE='xtrans'
2035 VERSION='1.2'
2036
2037
2038 cat >>confdefs.h <<_ACEOF
2039 #define PACKAGE "$PACKAGE"
2040 _ACEOF
2041
2042
2043 cat >>confdefs.h <<_ACEOF
2044 #define VERSION "$VERSION"
2045 _ACEOF
2046
2047 # Some tools Automake needs.
2048
2049 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2050
2051
2052 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2053
2054
2055 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2056
2057
2058 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2059
2060
2061 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2062
2063 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2064
2065 # Installed binaries are usually stripped using `strip' when the user
2066 # run `make install-strip'. However `strip' might not be the right
2067 # tool to use in cross-compilation environments, therefore Automake
2068 # will honor the `STRIP' environment variable to overrule this program.
2069 if test "$cross_compiling" != no; then
2070 if test -n "$ac_tool_prefix"; then
2071 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2072 set dummy ${ac_tool_prefix}strip; ac_word=$2
2073 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2075 if test "${ac_cv_prog_STRIP+set}" = set; then
2076 echo $ECHO_N "(cached) $ECHO_C" >&6
2077 else
2078 if test -n "$STRIP"; then
2079 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2080 else
2081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2082 for as_dir in $PATH
2083 do
2084 IFS=$as_save_IFS
2085 test -z "$as_dir" && as_dir=.
2086 for ac_exec_ext in '' $ac_executable_extensions; do
2087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2088 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2090 break 2
2091 fi
2092 done
2093 done
2094 IFS=$as_save_IFS
2095
2096 fi
2097 fi
2098 STRIP=$ac_cv_prog_STRIP
2099 if test -n "$STRIP"; then
2100 { echo "$as_me:$LINENO: result: $STRIP" >&5
2101 echo "${ECHO_T}$STRIP" >&6; }
2102 else
2103 { echo "$as_me:$LINENO: result: no" >&5
2104 echo "${ECHO_T}no" >&6; }
2105 fi
2106
2107
2108 fi
2109 if test -z "$ac_cv_prog_STRIP"; then
2110 ac_ct_STRIP=$STRIP
2111 # Extract the first word of "strip", so it can be a program name with args.
2112 set dummy strip; ac_word=$2
2113 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2115 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2116 echo $ECHO_N "(cached) $ECHO_C" >&6
2117 else
2118 if test -n "$ac_ct_STRIP"; then
2119 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2120 else
2121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2122 for as_dir in $PATH
2123 do
2124 IFS=$as_save_IFS
2125 test -z "$as_dir" && as_dir=.
2126 for ac_exec_ext in '' $ac_executable_extensions; do
2127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2128 ac_cv_prog_ac_ct_STRIP="strip"
2129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2130 break 2
2131 fi
2132 done
2133 done
2134 IFS=$as_save_IFS
2135
2136 fi
2137 fi
2138 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2139 if test -n "$ac_ct_STRIP"; then
2140 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2141 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2142 else
2143 { echo "$as_me:$LINENO: result: no" >&5
2144 echo "${ECHO_T}no" >&6; }
2145 fi
2146
2147 if test "x$ac_ct_STRIP" = x; then
2148 STRIP=":"
2149 else
2150 case $cross_compiling:$ac_tool_warned in
2151 yes:)
2152 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2153 whose name does not start with the host triplet. If you think this
2154 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
2155 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2156 whose name does not start with the host triplet. If you think this
2157 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
2158 ac_tool_warned=yes ;;
2159 esac
2160 STRIP=$ac_ct_STRIP
2161 fi
2162 else
2163 STRIP="$ac_cv_prog_STRIP"
2164 fi
2165
2166 fi
2167 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2168
2169 # We need awk for the "check" target. The system "awk" is bad on
2170 # some platforms.
2171 # Always define AMTAR for backward compatibility.
2172
2173 AMTAR=${AMTAR-"${am_missing_run}tar"}
2174
2175 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2176
2177
2178
2179
2180
2181 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2182 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2183 # Check whether --enable-maintainer-mode was given.
2184 if test "${enable_maintainer_mode+set}" = set; then
2185 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2186 else
2187 USE_MAINTAINER_MODE=no
2188 fi
2189
2190 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2191 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2192 if test $USE_MAINTAINER_MODE = yes; then
2193 MAINTAINER_MODE_TRUE=
2194 MAINTAINER_MODE_FALSE='#'
2195 else
2196 MAINTAINER_MODE_TRUE='#'
2197 MAINTAINER_MODE_FALSE=
2198 fi
2199
2200 MAINT=$MAINTAINER_MODE_TRUE
2201
2202
2203
2204 # Because xtrans is included into other modules rather than being linked
2205 # with, these defines have to be added to the cflags line
2206
2207 # fchown()
2208
2209 DEPDIR="${am__leading_dot}deps"
2210
2211 ac_config_commands="$ac_config_commands depfiles"
2212
2213
2214 am_make=${MAKE-make}
2215 cat > confinc << 'END'
2216 am__doit:
2217 @echo done
2218 .PHONY: am__doit
2219 END
2220 # If we don't find an include directive, just comment out the code.
2221 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2222 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2223 am__include="#"
2224 am__quote=
2225 _am_result=none
2226 # First try GNU make style include.
2227 echo "include confinc" > confmf
2228 # We grep out `Entering directory' and `Leaving directory'
2229 # messages which can occur if `w' ends up in MAKEFLAGS.
2230 # In particular we don't look at `^make:' because GNU make might
2231 # be invoked under some other name (usually "gmake"), in which
2232 # case it prints its new name instead of `make'.
2233 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2234 am__include=include
2235 am__quote=
2236 _am_result=GNU
2237 fi
2238 # Now try BSD make style include.
2239 if test "$am__include" = "#"; then
2240 echo '.include "confinc"' > confmf
2241 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2242 am__include=.include
2243 am__quote="\""
2244 _am_result=BSD
2245 fi
2246 fi
2247
2248
2249 { echo "$as_me:$LINENO: result: $_am_result" >&5
2250 echo "${ECHO_T}$_am_result" >&6; }
2251 rm -f confinc confmf
2252
2253 # Check whether --enable-dependency-tracking was given.
2254 if test "${enable_dependency_tracking+set}" = set; then
2255 enableval=$enable_dependency_tracking;
2256 fi
2257
2258 if test "x$enable_dependency_tracking" != xno; then
2259 am_depcomp="$ac_aux_dir/depcomp"
2260 AMDEPBACKSLASH='\'
2261 fi
2262 if test "x$enable_dependency_tracking" != xno; then
2263 AMDEP_TRUE=
2264 AMDEP_FALSE='#'
2265 else
2266 AMDEP_TRUE='#'
2267 AMDEP_FALSE=
2268 fi
2269
2270
2271 ac_ext=c
2272 ac_cpp='$CPP $CPPFLAGS'
2273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2276 if test -n "$ac_tool_prefix"; then
2277 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2278 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2281 if test "${ac_cv_prog_CC+set}" = set; then
2282 echo $ECHO_N "(cached) $ECHO_C" >&6
2283 else
2284 if test -n "$CC"; then
2285 ac_cv_prog_CC="$CC" # Let the user override the test.
2286 else
2287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2288 for as_dir in $PATH
2289 do
2290 IFS=$as_save_IFS
2291 test -z "$as_dir" && as_dir=.
2292 for ac_exec_ext in '' $ac_executable_extensions; do
2293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2294 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2296 break 2
2297 fi
2298 done
2299 done
2300 IFS=$as_save_IFS
2301
2302 fi
2303 fi
2304 CC=$ac_cv_prog_CC
2305 if test -n "$CC"; then
2306 { echo "$as_me:$LINENO: result: $CC" >&5
2307 echo "${ECHO_T}$CC" >&6; }
2308 else
2309 { echo "$as_me:$LINENO: result: no" >&5
2310 echo "${ECHO_T}no" >&6; }
2311 fi
2312
2313
2314 fi
2315 if test -z "$ac_cv_prog_CC"; then
2316 ac_ct_CC=$CC
2317 # Extract the first word of "gcc", so it can be a program name with args.
2318 set dummy gcc; ac_word=$2
2319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2321 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2322 echo $ECHO_N "(cached) $ECHO_C" >&6
2323 else
2324 if test -n "$ac_ct_CC"; then
2325 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2326 else
2327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2328 for as_dir in $PATH
2329 do
2330 IFS=$as_save_IFS
2331 test -z "$as_dir" && as_dir=.
2332 for ac_exec_ext in '' $ac_executable_extensions; do
2333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2334 ac_cv_prog_ac_ct_CC="gcc"
2335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2336 break 2
2337 fi
2338 done
2339 done
2340 IFS=$as_save_IFS
2341
2342 fi
2343 fi
2344 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2345 if test -n "$ac_ct_CC"; then
2346 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2347 echo "${ECHO_T}$ac_ct_CC" >&6; }
2348 else
2349 { echo "$as_me:$LINENO: result: no" >&5
2350 echo "${ECHO_T}no" >&6; }
2351 fi
2352
2353 if test "x$ac_ct_CC" = x; then
2354 CC=""
2355 else
2356 case $cross_compiling:$ac_tool_warned in
2357 yes:)
2358 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2359 whose name does not start with the host triplet. If you think this
2360 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
2361 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2362 whose name does not start with the host triplet. If you think this
2363 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
2364 ac_tool_warned=yes ;;
2365 esac
2366 CC=$ac_ct_CC
2367 fi
2368 else
2369 CC="$ac_cv_prog_CC"
2370 fi
2371
2372 if test -z "$CC"; then
2373 if test -n "$ac_tool_prefix"; then
2374 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2375 set dummy ${ac_tool_prefix}cc; ac_word=$2
2376 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2378 if test "${ac_cv_prog_CC+set}" = set; then
2379 echo $ECHO_N "(cached) $ECHO_C" >&6
2380 else
2381 if test -n "$CC"; then
2382 ac_cv_prog_CC="$CC" # Let the user override the test.
2383 else
2384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2385 for as_dir in $PATH
2386 do
2387 IFS=$as_save_IFS
2388 test -z "$as_dir" && as_dir=.
2389 for ac_exec_ext in '' $ac_executable_extensions; do
2390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2391 ac_cv_prog_CC="${ac_tool_prefix}cc"
2392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2393 break 2
2394 fi
2395 done
2396 done
2397 IFS=$as_save_IFS
2398
2399 fi
2400 fi
2401 CC=$ac_cv_prog_CC
2402 if test -n "$CC"; then
2403 { echo "$as_me:$LINENO: result: $CC" >&5
2404 echo "${ECHO_T}$CC" >&6; }
2405 else
2406 { echo "$as_me:$LINENO: result: no" >&5
2407 echo "${ECHO_T}no" >&6; }
2408 fi
2409
2410
2411 fi
2412 fi
2413 if test -z "$CC"; then
2414 # Extract the first word of "cc", so it can be a program name with args.
2415 set dummy cc; ac_word=$2
2416 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2418 if test "${ac_cv_prog_CC+set}" = set; then
2419 echo $ECHO_N "(cached) $ECHO_C" >&6
2420 else
2421 if test -n "$CC"; then
2422 ac_cv_prog_CC="$CC" # Let the user override the test.
2423 else
2424 ac_prog_rejected=no
2425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2426 for as_dir in $PATH
2427 do
2428 IFS=$as_save_IFS
2429 test -z "$as_dir" && as_dir=.
2430 for ac_exec_ext in '' $ac_executable_extensions; do
2431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2432 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2433 ac_prog_rejected=yes
2434 continue
2435 fi
2436 ac_cv_prog_CC="cc"
2437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2438 break 2
2439 fi
2440 done
2441 done
2442 IFS=$as_save_IFS
2443
2444 if test $ac_prog_rejected = yes; then
2445 # We found a bogon in the path, so make sure we never use it.
2446 set dummy $ac_cv_prog_CC
2447 shift
2448 if test $# != 0; then
2449 # We chose a different compiler from the bogus one.
2450 # However, it has the same basename, so the bogon will be chosen
2451 # first if we set CC to just the basename; use the full file name.
2452 shift
2453 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2454 fi
2455 fi
2456 fi
2457 fi
2458 CC=$ac_cv_prog_CC
2459 if test -n "$CC"; then
2460 { echo "$as_me:$LINENO: result: $CC" >&5
2461 echo "${ECHO_T}$CC" >&6; }
2462 else
2463 { echo "$as_me:$LINENO: result: no" >&5
2464 echo "${ECHO_T}no" >&6; }
2465 fi
2466
2467
2468 fi
2469 if test -z "$CC"; then
2470 if test -n "$ac_tool_prefix"; then
2471 for ac_prog in cl.exe
2472 do
2473 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2474 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2477 if test "${ac_cv_prog_CC+set}" = set; then
2478 echo $ECHO_N "(cached) $ECHO_C" >&6
2479 else
2480 if test -n "$CC"; then
2481 ac_cv_prog_CC="$CC" # Let the user override the test.
2482 else
2483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2484 for as_dir in $PATH
2485 do
2486 IFS=$as_save_IFS
2487 test -z "$as_dir" && as_dir=.
2488 for ac_exec_ext in '' $ac_executable_extensions; do
2489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2490 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2492 break 2
2493 fi
2494 done
2495 done
2496 IFS=$as_save_IFS
2497
2498 fi
2499 fi
2500 CC=$ac_cv_prog_CC
2501 if test -n "$CC"; then
2502 { echo "$as_me:$LINENO: result: $CC" >&5
2503 echo "${ECHO_T}$CC" >&6; }
2504 else
2505 { echo "$as_me:$LINENO: result: no" >&5
2506 echo "${ECHO_T}no" >&6; }
2507 fi
2508
2509
2510 test -n "$CC" && break
2511 done
2512 fi
2513 if test -z "$CC"; then
2514 ac_ct_CC=$CC
2515 for ac_prog in cl.exe
2516 do
2517 # Extract the first word of "$ac_prog", so it can be a program name with args.
2518 set dummy $ac_prog; ac_word=$2
2519 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2521 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2522 echo $ECHO_N "(cached) $ECHO_C" >&6
2523 else
2524 if test -n "$ac_ct_CC"; then
2525 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2526 else
2527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2528 for as_dir in $PATH
2529 do
2530 IFS=$as_save_IFS
2531 test -z "$as_dir" && as_dir=.
2532 for ac_exec_ext in '' $ac_executable_extensions; do
2533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2534 ac_cv_prog_ac_ct_CC="$ac_prog"
2535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2536 break 2
2537 fi
2538 done
2539 done
2540 IFS=$as_save_IFS
2541
2542 fi
2543 fi
2544 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2545 if test -n "$ac_ct_CC"; then
2546 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2547 echo "${ECHO_T}$ac_ct_CC" >&6; }
2548 else
2549 { echo "$as_me:$LINENO: result: no" >&5
2550 echo "${ECHO_T}no" >&6; }
2551 fi
2552
2553
2554 test -n "$ac_ct_CC" && break
2555 done
2556
2557 if test "x$ac_ct_CC" = x; then
2558 CC=""
2559 else
2560 case $cross_compiling:$ac_tool_warned in
2561 yes:)
2562 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2563 whose name does not start with the host triplet. If you think this
2564 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
2565 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2566 whose name does not start with the host triplet. If you think this
2567 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
2568 ac_tool_warned=yes ;;
2569 esac
2570 CC=$ac_ct_CC
2571 fi
2572 fi
2573
2574 fi
2575
2576
2577 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2578 See \`config.log' for more details." >&5
2579 echo "$as_me: error: no acceptable C compiler found in \$PATH
2580 See \`config.log' for more details." >&2;}
2581 { (exit 1); exit 1; }; }
2582
2583 # Provide some information about the compiler.
2584 echo "$as_me:$LINENO: checking for C compiler version" >&5
2585 ac_compiler=`set X $ac_compile; echo $2`
2586 { (ac_try="$ac_compiler --version >&5"
2587 case "(($ac_try" in
2588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2589 *) ac_try_echo=$ac_try;;
2590 esac
2591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2592 (eval "$ac_compiler --version >&5") 2>&5
2593 ac_status=$?
2594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2595 (exit $ac_status); }
2596 { (ac_try="$ac_compiler -v >&5"
2597 case "(($ac_try" in
2598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2599 *) ac_try_echo=$ac_try;;
2600 esac
2601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2602 (eval "$ac_compiler -v >&5") 2>&5
2603 ac_status=$?
2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 (exit $ac_status); }
2606 { (ac_try="$ac_compiler -V >&5"
2607 case "(($ac_try" in
2608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2609 *) ac_try_echo=$ac_try;;
2610 esac
2611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2612 (eval "$ac_compiler -V >&5") 2>&5
2613 ac_status=$?
2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615 (exit $ac_status); }
2616
2617 cat >conftest.$ac_ext <<_ACEOF
2618 /* confdefs.h. */
2619 _ACEOF
2620 cat confdefs.h >>conftest.$ac_ext
2621 cat >>conftest.$ac_ext <<_ACEOF
2622 /* end confdefs.h. */
2623
2624 int
2625 main ()
2626 {
2627
2628 ;
2629 return 0;
2630 }
2631 _ACEOF
2632 ac_clean_files_save=$ac_clean_files
2633 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2634 # Try to create an executable without -o first, disregard a.out.
2635 # It will help us diagnose broken compilers, and finding out an intuition
2636 # of exeext.
2637 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2638 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2639 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2640 #
2641 # List of possible output files, starting from the most likely.
2642 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2643 # only as a last resort. b.out is created by i960 compilers.
2644 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2645 #
2646 # The IRIX 6 linker writes into existing files which may not be
2647 # executable, retaining their permissions. Remove them first so a
2648 # subsequent execution test works.
2649 ac_rmfiles=
2650 for ac_file in $ac_files
2651 do
2652 case $ac_file in
2653 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2654 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2655 esac
2656 done
2657 rm -f $ac_rmfiles
2658
2659 if { (ac_try="$ac_link_default"
2660 case "(($ac_try" in
2661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2662 *) ac_try_echo=$ac_try;;
2663 esac
2664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2665 (eval "$ac_link_default") 2>&5
2666 ac_status=$?
2667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2668 (exit $ac_status); }; then
2669 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2670 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2671 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2672 # so that the user can short-circuit this test for compilers unknown to
2673 # Autoconf.
2674 for ac_file in $ac_files ''
2675 do
2676 test -f "$ac_file" || continue
2677 case $ac_file in
2678 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2679 ;;
2680 [ab].out )
2681 # We found the default executable, but exeext='' is most
2682 # certainly right.
2683 break;;
2684 *.* )
2685 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2686 then :; else
2687 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2688 fi
2689 # We set ac_cv_exeext here because the later test for it is not
2690 # safe: cross compilers may not add the suffix if given an `-o'
2691 # argument, so we may need to know it at that point already.
2692 # Even if this section looks crufty: it has the advantage of
2693 # actually working.
2694 break;;
2695 * )
2696 break;;
2697 esac
2698 done
2699 test "$ac_cv_exeext" = no && ac_cv_exeext=
2700
2701 else
2702 ac_file=''
2703 fi
2704
2705 { echo "$as_me:$LINENO: result: $ac_file" >&5
2706 echo "${ECHO_T}$ac_file" >&6; }
2707 if test -z "$ac_file"; then
2708 echo "$as_me: failed program was:" >&5
2709 sed 's/^/| /' conftest.$ac_ext >&5
2710
2711 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2712 See \`config.log' for more details." >&5
2713 echo "$as_me: error: C compiler cannot create executables
2714 See \`config.log' for more details." >&2;}
2715 { (exit 77); exit 77; }; }
2716 fi
2717
2718 ac_exeext=$ac_cv_exeext
2719
2720 # Check that the compiler produces executables we can run. If not, either
2721 # the compiler is broken, or we cross compile.
2722 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2723 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2724 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2725 # If not cross compiling, check that we can run a simple program.
2726 if test "$cross_compiling" != yes; then
2727 if { ac_try='./$ac_file'
2728 { (case "(($ac_try" in
2729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2730 *) ac_try_echo=$ac_try;;
2731 esac
2732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2733 (eval "$ac_try") 2>&5
2734 ac_status=$?
2735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2736 (exit $ac_status); }; }; then
2737 cross_compiling=no
2738 else
2739 if test "$cross_compiling" = maybe; then
2740 cross_compiling=yes
2741 else
2742 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2743 If you meant to cross compile, use \`--host'.
2744 See \`config.log' for more details." >&5
2745 echo "$as_me: error: cannot run C compiled programs.
2746 If you meant to cross compile, use \`--host'.
2747 See \`config.log' for more details." >&2;}
2748 { (exit 1); exit 1; }; }
2749 fi
2750 fi
2751 fi
2752 { echo "$as_me:$LINENO: result: yes" >&5
2753 echo "${ECHO_T}yes" >&6; }
2754
2755 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2756 ac_clean_files=$ac_clean_files_save
2757 # Check that the compiler produces executables we can run. If not, either
2758 # the compiler is broken, or we cross compile.
2759 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2760 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2761 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2762 echo "${ECHO_T}$cross_compiling" >&6; }
2763
2764 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2765 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2766 if { (ac_try="$ac_link"
2767 case "(($ac_try" in
2768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2769 *) ac_try_echo=$ac_try;;
2770 esac
2771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2772 (eval "$ac_link") 2>&5
2773 ac_status=$?
2774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2775 (exit $ac_status); }; then
2776 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2777 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2778 # work properly (i.e., refer to `conftest.exe'), while it won't with
2779 # `rm'.
2780 for ac_file in conftest.exe conftest conftest.*; do
2781 test -f "$ac_file" || continue
2782 case $ac_file in
2783 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2784 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2785 break;;
2786 * ) break;;
2787 esac
2788 done
2789 else
2790 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2791 See \`config.log' for more details." >&5
2792 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2793 See \`config.log' for more details." >&2;}
2794 { (exit 1); exit 1; }; }
2795 fi
2796
2797 rm -f conftest$ac_cv_exeext
2798 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2799 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2800
2801 rm -f conftest.$ac_ext
2802 EXEEXT=$ac_cv_exeext
2803 ac_exeext=$EXEEXT
2804 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2805 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2806 if test "${ac_cv_objext+set}" = set; then
2807 echo $ECHO_N "(cached) $ECHO_C" >&6
2808 else
2809 cat >conftest.$ac_ext <<_ACEOF
2810 /* confdefs.h. */
2811 _ACEOF
2812 cat confdefs.h >>conftest.$ac_ext
2813 cat >>conftest.$ac_ext <<_ACEOF
2814 /* end confdefs.h. */
2815
2816 int
2817 main ()
2818 {
2819
2820 ;
2821 return 0;
2822 }
2823 _ACEOF
2824 rm -f conftest.o conftest.obj
2825 if { (ac_try="$ac_compile"
2826 case "(($ac_try" in
2827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2828 *) ac_try_echo=$ac_try;;
2829 esac
2830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2831 (eval "$ac_compile") 2>&5
2832 ac_status=$?
2833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834 (exit $ac_status); }; then
2835 for ac_file in conftest.o conftest.obj conftest.*; do
2836 test -f "$ac_file" || continue;
2837 case $ac_file in
2838 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2839 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2840 break;;
2841 esac
2842 done
2843 else
2844 echo "$as_me: failed program was:" >&5
2845 sed 's/^/| /' conftest.$ac_ext >&5
2846
2847 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2848 See \`config.log' for more details." >&5
2849 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2850 See \`config.log' for more details." >&2;}
2851 { (exit 1); exit 1; }; }
2852 fi
2853
2854 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2855 fi
2856 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2857 echo "${ECHO_T}$ac_cv_objext" >&6; }
2858 OBJEXT=$ac_cv_objext
2859 ac_objext=$OBJEXT
2860 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2861 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2862 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2863 echo $ECHO_N "(cached) $ECHO_C" >&6
2864 else
2865 cat >conftest.$ac_ext <<_ACEOF
2866 /* confdefs.h. */
2867 _ACEOF
2868 cat confdefs.h >>conftest.$ac_ext
2869 cat >>conftest.$ac_ext <<_ACEOF
2870 /* end confdefs.h. */
2871
2872 int
2873 main ()
2874 {
2875 #ifndef __GNUC__
2876 choke me
2877 #endif
2878
2879 ;
2880 return 0;
2881 }
2882 _ACEOF
2883 rm -f conftest.$ac_objext
2884 if { (ac_try="$ac_compile"
2885 case "(($ac_try" in
2886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2887 *) ac_try_echo=$ac_try;;
2888 esac
2889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2890 (eval "$ac_compile") 2>conftest.er1
2891 ac_status=$?
2892 grep -v '^ *+' conftest.er1 >conftest.err
2893 rm -f conftest.er1
2894 cat conftest.err >&5
2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896 (exit $ac_status); } && {
2897 test -z "$ac_c_werror_flag" ||
2898 test ! -s conftest.err
2899 } && test -s conftest.$ac_objext; then
2900 ac_compiler_gnu=yes
2901 else
2902 echo "$as_me: failed program was:" >&5
2903 sed 's/^/| /' conftest.$ac_ext >&5
2904
2905 ac_compiler_gnu=no
2906 fi
2907
2908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2909 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2910
2911 fi
2912 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2913 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2914 GCC=`test $ac_compiler_gnu = yes && echo yes`
2915 ac_test_CFLAGS=${CFLAGS+set}
2916 ac_save_CFLAGS=$CFLAGS
2917 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2918 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2919 if test "${ac_cv_prog_cc_g+set}" = set; then
2920 echo $ECHO_N "(cached) $ECHO_C" >&6
2921 else
2922 ac_save_c_werror_flag=$ac_c_werror_flag
2923 ac_c_werror_flag=yes
2924 ac_cv_prog_cc_g=no
2925 CFLAGS="-g"
2926 cat >conftest.$ac_ext <<_ACEOF
2927 /* confdefs.h. */
2928 _ACEOF
2929 cat confdefs.h >>conftest.$ac_ext
2930 cat >>conftest.$ac_ext <<_ACEOF
2931 /* end confdefs.h. */
2932
2933 int
2934 main ()
2935 {
2936
2937 ;
2938 return 0;
2939 }
2940 _ACEOF
2941 rm -f conftest.$ac_objext
2942 if { (ac_try="$ac_compile"
2943 case "(($ac_try" in
2944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2945 *) ac_try_echo=$ac_try;;
2946 esac
2947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2948 (eval "$ac_compile") 2>conftest.er1
2949 ac_status=$?
2950 grep -v '^ *+' conftest.er1 >conftest.err
2951 rm -f conftest.er1
2952 cat conftest.err >&5
2953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954 (exit $ac_status); } && {
2955 test -z "$ac_c_werror_flag" ||
2956 test ! -s conftest.err
2957 } && test -s conftest.$ac_objext; then
2958 ac_cv_prog_cc_g=yes
2959 else
2960 echo "$as_me: failed program was:" >&5
2961 sed 's/^/| /' conftest.$ac_ext >&5
2962
2963 CFLAGS=""
2964 cat >conftest.$ac_ext <<_ACEOF
2965 /* confdefs.h. */
2966 _ACEOF
2967 cat confdefs.h >>conftest.$ac_ext
2968 cat >>conftest.$ac_ext <<_ACEOF
2969 /* end confdefs.h. */
2970
2971 int
2972 main ()
2973 {
2974
2975 ;
2976 return 0;
2977 }
2978 _ACEOF
2979 rm -f conftest.$ac_objext
2980 if { (ac_try="$ac_compile"
2981 case "(($ac_try" in
2982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2983 *) ac_try_echo=$ac_try;;
2984 esac
2985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2986 (eval "$ac_compile") 2>conftest.er1
2987 ac_status=$?
2988 grep -v '^ *+' conftest.er1 >conftest.err
2989 rm -f conftest.er1
2990 cat conftest.err >&5
2991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992 (exit $ac_status); } && {
2993 test -z "$ac_c_werror_flag" ||
2994 test ! -s conftest.err
2995 } && test -s conftest.$ac_objext; then
2996 :
2997 else
2998 echo "$as_me: failed program was:" >&5
2999 sed 's/^/| /' conftest.$ac_ext >&5
3000
3001 ac_c_werror_flag=$ac_save_c_werror_flag
3002 CFLAGS="-g"
3003 cat >conftest.$ac_ext <<_ACEOF
3004 /* confdefs.h. */
3005 _ACEOF
3006 cat confdefs.h >>conftest.$ac_ext
3007 cat >>conftest.$ac_ext <<_ACEOF
3008 /* end confdefs.h. */
3009
3010 int
3011 main ()
3012 {
3013
3014 ;
3015 return 0;
3016 }
3017 _ACEOF
3018 rm -f conftest.$ac_objext
3019 if { (ac_try="$ac_compile"
3020 case "(($ac_try" in
3021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3022 *) ac_try_echo=$ac_try;;
3023 esac
3024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3025 (eval "$ac_compile") 2>conftest.er1
3026 ac_status=$?
3027 grep -v '^ *+' conftest.er1 >conftest.err
3028 rm -f conftest.er1
3029 cat conftest.err >&5
3030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031 (exit $ac_status); } && {
3032 test -z "$ac_c_werror_flag" ||
3033 test ! -s conftest.err
3034 } && test -s conftest.$ac_objext; then
3035 ac_cv_prog_cc_g=yes
3036 else
3037 echo "$as_me: failed program was:" >&5
3038 sed 's/^/| /' conftest.$ac_ext >&5
3039
3040
3041 fi
3042
3043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3044 fi
3045
3046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3047 fi
3048
3049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3050 ac_c_werror_flag=$ac_save_c_werror_flag
3051 fi
3052 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3053 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3054 if test "$ac_test_CFLAGS" = set; then
3055 CFLAGS=$ac_save_CFLAGS
3056 elif test $ac_cv_prog_cc_g = yes; then
3057 if test "$GCC" = yes; then
3058 CFLAGS="-g -O2"
3059 else
3060 CFLAGS="-g"
3061 fi
3062 else
3063 if test "$GCC" = yes; then
3064 CFLAGS="-O2"
3065 else
3066 CFLAGS=
3067 fi
3068 fi
3069 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3070 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3071 if test "${ac_cv_prog_cc_c89+set}" = set; then
3072 echo $ECHO_N "(cached) $ECHO_C" >&6
3073 else
3074 ac_cv_prog_cc_c89=no
3075 ac_save_CC=$CC
3076 cat >conftest.$ac_ext <<_ACEOF
3077 /* confdefs.h. */
3078 _ACEOF
3079 cat confdefs.h >>conftest.$ac_ext
3080 cat >>conftest.$ac_ext <<_ACEOF
3081 /* end confdefs.h. */
3082 #include <stdarg.h>
3083 #include <stdio.h>
3084 #include <sys/types.h>
3085 #include <sys/stat.h>
3086 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3087 struct buf { int x; };
3088 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3089 static char *e (p, i)
3090 char **p;
3091 int i;
3092 {
3093 return p[i];
3094 }
3095 static char *f (char * (*g) (char **, int), char **p, ...)
3096 {
3097 char *s;
3098 va_list v;
3099 va_start (v,p);
3100 s = g (p, va_arg (v,int));
3101 va_end (v);
3102 return s;
3103 }
3104
3105 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3106 function prototypes and stuff, but not '\xHH' hex character constants.
3107 These don't provoke an error unfortunately, instead are silently treated
3108 as 'x'. The following induces an error, until -std is added to get
3109 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3110 array size at least. It's necessary to write '\x00'==0 to get something
3111 that's true only with -std. */
3112 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3113
3114 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3115 inside strings and character constants. */
3116 #define FOO(x) 'x'
3117 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3118
3119 int test (int i, double x);
3120 struct s1 {int (*f) (int a);};
3121 struct s2 {int (*f) (double a);};
3122 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3123 int argc;
3124 char **argv;
3125 int
3126 main ()
3127 {
3128 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3129 ;
3130 return 0;
3131 }
3132 _ACEOF
3133 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3134 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3135 do
3136 CC="$ac_save_CC $ac_arg"
3137 rm -f conftest.$ac_objext
3138 if { (ac_try="$ac_compile"
3139 case "(($ac_try" in
3140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3141 *) ac_try_echo=$ac_try;;
3142 esac
3143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3144 (eval "$ac_compile") 2>conftest.er1
3145 ac_status=$?
3146 grep -v '^ *+' conftest.er1 >conftest.err
3147 rm -f conftest.er1
3148 cat conftest.err >&5
3149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3150 (exit $ac_status); } && {
3151 test -z "$ac_c_werror_flag" ||
3152 test ! -s conftest.err
3153 } && test -s conftest.$ac_objext; then
3154 ac_cv_prog_cc_c89=$ac_arg
3155 else
3156 echo "$as_me: failed program was:" >&5
3157 sed 's/^/| /' conftest.$ac_ext >&5
3158
3159
3160 fi
3161
3162 rm -f core conftest.err conftest.$ac_objext
3163 test "x$ac_cv_prog_cc_c89" != "xno" && break
3164 done
3165 rm -f conftest.$ac_ext
3166 CC=$ac_save_CC
3167
3168 fi
3169 # AC_CACHE_VAL
3170 case "x$ac_cv_prog_cc_c89" in
3171 x)
3172 { echo "$as_me:$LINENO: result: none needed" >&5
3173 echo "${ECHO_T}none needed" >&6; } ;;
3174 xno)
3175 { echo "$as_me:$LINENO: result: unsupported" >&5
3176 echo "${ECHO_T}unsupported" >&6; } ;;
3177 *)
3178 CC="$CC $ac_cv_prog_cc_c89"
3179 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3180 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3181 esac
3182
3183
3184 ac_ext=c
3185 ac_cpp='$CPP $CPPFLAGS'
3186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3189
3190 depcc="$CC" am_compiler_list=
3191
3192 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3193 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3194 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3195 echo $ECHO_N "(cached) $ECHO_C" >&6
3196 else
3197 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3198 # We make a subdir and do the tests there. Otherwise we can end up
3199 # making bogus files that we don't know about and never remove. For
3200 # instance it was reported that on HP-UX the gcc test will end up
3201 # making a dummy file named `D' -- because `-MD' means `put the output
3202 # in D'.
3203 mkdir conftest.dir
3204 # Copy depcomp to subdir because otherwise we won't find it if we're
3205 # using a relative directory.
3206 cp "$am_depcomp" conftest.dir
3207 cd conftest.dir
3208 # We will build objects and dependencies in a subdirectory because
3209 # it helps to detect inapplicable dependency modes. For instance
3210 # both Tru64's cc and ICC support -MD to output dependencies as a
3211 # side effect of compilation, but ICC will put the dependencies in
3212 # the current directory while Tru64 will put them in the object
3213 # directory.
3214 mkdir sub
3215
3216 am_cv_CC_dependencies_compiler_type=none
3217 if test "$am_compiler_list" = ""; then
3218 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3219 fi
3220 for depmode in $am_compiler_list; do
3221 # Setup a source with many dependencies, because some compilers
3222 # like to wrap large dependency lists on column 80 (with \), and
3223 # we should not choose a depcomp mode which is confused by this.
3224 #
3225 # We need to recreate these files for each test, as the compiler may
3226 # overwrite some of them when testing with obscure command lines.
3227 # This happens at least with the AIX C compiler.
3228 : > sub/conftest.c
3229 for i in 1 2 3 4 5 6; do
3230 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3231 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3232 # Solaris 8's {/usr,}/bin/sh.
3233 touch sub/conftst$i.h
3234 done
3235 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3236
3237 case $depmode in
3238 nosideeffect)
3239 # after this tag, mechanisms are not by side-effect, so they'll
3240 # only be used when explicitly requested
3241 if test "x$enable_dependency_tracking" = xyes; then
3242 continue
3243 else
3244 break
3245 fi
3246 ;;
3247 none) break ;;
3248 esac
3249 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3250 # mode. It turns out that the SunPro C++ compiler does not properly
3251 # handle `-M -o', and we need to detect this.
3252 if depmode=$depmode \
3253 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3254 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3255 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3256 >/dev/null 2>conftest.err &&
3257 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3258 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3259 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3260 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3261 # icc doesn't choke on unknown options, it will just issue warnings
3262 # or remarks (even with -Werror). So we grep stderr for any message
3263 # that says an option was ignored or not supported.
3264 # When given -MP, icc 7.0 and 7.1 complain thusly:
3265 # icc: Command line warning: ignoring option '-M'; no argument required
3266 # The diagnosis changed in icc 8.0:
3267 # icc: Command line remark: option '-MP' not supported
3268 if (grep 'ignoring option' conftest.err ||
3269 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3270 am_cv_CC_dependencies_compiler_type=$depmode
3271 break
3272 fi
3273 fi
3274 done
3275
3276 cd ..
3277 rm -rf conftest.dir
3278 else
3279 am_cv_CC_dependencies_compiler_type=none
3280 fi
3281
3282 fi
3283 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3284 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3285 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3286
3287 if
3288 test "x$enable_dependency_tracking" != xno \
3289 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3290 am__fastdepCC_TRUE=
3291 am__fastdepCC_FALSE='#'
3292 else
3293 am__fastdepCC_TRUE='#'
3294 am__fastdepCC_FALSE=
3295 fi
3296
3297
3298
3299 { echo "$as_me:$LINENO: checking for fchown" >&5
3300 echo $ECHO_N "checking for fchown... $ECHO_C" >&6; }
3301 if test "${ac_cv_func_fchown+set}" = set; then
3302 echo $ECHO_N "(cached) $ECHO_C" >&6
3303 else
3304 cat >conftest.$ac_ext <<_ACEOF
3305 /* confdefs.h. */
3306 _ACEOF
3307 cat confdefs.h >>conftest.$ac_ext
3308 cat >>conftest.$ac_ext <<_ACEOF
3309 /* end confdefs.h. */
3310 /* Define fchown to an innocuous variant, in case <limits.h> declares fchown.
3311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3312 #define fchown innocuous_fchown
3313
3314 /* System header to define __stub macros and hopefully few prototypes,
3315 which can conflict with char fchown (); below.
3316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3317 <limits.h> exists even on freestanding compilers. */
3318
3319 #ifdef __STDC__
3320 # include <limits.h>
3321 #else
3322 # include <assert.h>
3323 #endif
3324
3325 #undef fchown
3326
3327 /* Override any GCC internal prototype to avoid an error.
3328 Use char because int might match the return type of a GCC
3329 builtin and then its argument prototype would still apply. */
3330 #ifdef __cplusplus
3331 extern "C"
3332 #endif
3333 char fchown ();
3334 /* The GNU C library defines this for functions which it implements
3335 to always fail with ENOSYS. Some functions are actually named
3336 something starting with __ and the normal name is an alias. */
3337 #if defined __stub_fchown || defined __stub___fchown
3338 choke me
3339 #endif
3340
3341 int
3342 main ()
3343 {
3344 return fchown ();
3345 ;
3346 return 0;
3347 }
3348 _ACEOF
3349 rm -f conftest.$ac_objext conftest$ac_exeext
3350 if { (ac_try="$ac_link"
3351 case "(($ac_try" in
3352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3353 *) ac_try_echo=$ac_try;;
3354 esac
3355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3356 (eval "$ac_link") 2>conftest.er1
3357 ac_status=$?
3358 grep -v '^ *+' conftest.er1 >conftest.err
3359 rm -f conftest.er1
3360 cat conftest.err >&5
3361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362 (exit $ac_status); } && {
3363 test -z "$ac_c_werror_flag" ||
3364 test ! -s conftest.err
3365 } && test -s conftest$ac_exeext &&
3366 $as_test_x conftest$ac_exeext; then
3367 ac_cv_func_fchown=yes
3368 else
3369 echo "$as_me: failed program was:" >&5
3370 sed 's/^/| /' conftest.$ac_ext >&5
3371
3372 ac_cv_func_fchown=no
3373 fi
3374
3375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3376 conftest$ac_exeext conftest.$ac_ext
3377 fi
3378 { echo "$as_me:$LINENO: result: $ac_cv_func_fchown" >&5
3379 echo "${ECHO_T}$ac_cv_func_fchown" >&6; }
3380 if test $ac_cv_func_fchown = yes; then
3381 fchown_define="-DHAS_FCHOWN"
3382 else
3383 fchown_define=""
3384 fi
3385
3386
3387
3388
3389 # sticky bit
3390 #
3391 # if any system exists without sticky dir bits this
3392 # needs to be redone with a real autoconf test
3393
3394 sticky_bit_define="-DHAS_STICKY_DIR_BIT"
3395
3396
3397
3398
3399
3400 # Check whether --with-release-version was given.
3401 if test "${with_release_version+set}" = set; then
3402 withval=$with_release_version; RELEASE_VERSION="$withval"
3403 else
3404 RELEASE_VERSION=""
3405 fi
3406
3407 if test "x$RELEASE_VERSION" != "x"; then
3408 PACKAGE="$PACKAGE-$RELEASE_VERSION"
3409 PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
3410 { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
3411 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
3412 fi
3413
3414 cat >>confdefs.h <<_ACEOF
3415 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
3416 _ACEOF
3417
3418 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
3419 if test "x$PVM" = "x"; then
3420 PVM="0"
3421 fi
3422
3423 cat >>confdefs.h <<_ACEOF
3424 #define PACKAGE_VERSION_MINOR $PVM
3425 _ACEOF
3426
3427 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
3428 if test "x$PVP" = "x"; then
3429 PVP="0"
3430 fi
3431
3432 cat >>confdefs.h <<_ACEOF
3433 #define PACKAGE_VERSION_PATCHLEVEL $PVP
3434 _ACEOF
3435
3436
3437
3438 ac_config_files="$ac_config_files Makefile xtrans.pc"
3439
3440 cat >confcache <<\_ACEOF
3441 # This file is a shell script that caches the results of configure
3442 # tests run on this system so they can be shared between configure
3443 # scripts and configure runs, see configure's option --config-cache.
3444 # It is not useful on other systems. If it contains results you don't
3445 # want to keep, you may remove or edit it.
3446 #
3447 # config.status only pays attention to the cache file if you give it
3448 # the --recheck option to rerun configure.
3449 #
3450 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3451 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3452 # following values.
3453
3454 _ACEOF
3455
3456 # The following way of writing the cache mishandles newlines in values,
3457 # but we know of no workaround that is simple, portable, and efficient.
3458 # So, we kill variables containing newlines.
3459 # Ultrix sh set writes to stderr and can't be redirected directly,
3460 # and sets the high bit in the cache file unless we assign to the vars.
3461 (
3462 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3463 eval ac_val=\$$ac_var
3464 case $ac_val in #(
3465 *${as_nl}*)
3466 case $ac_var in #(
3467 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3468 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3469 esac
3470 case $ac_var in #(
3471 _ | IFS | as_nl) ;; #(
3472 *) $as_unset $ac_var ;;
3473 esac ;;
3474 esac
3475 done
3476
3477 (set) 2>&1 |
3478 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3479 *${as_nl}ac_space=\ *)
3480 # `set' does not quote correctly, so add quotes (double-quote
3481 # substitution turns \\\\ into \\, and sed turns \\ into \).
3482 sed -n \
3483 "s/'/'\\\\''/g;
3484 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3485 ;; #(
3486 *)
3487 # `set' quotes correctly as required by POSIX, so do not add quotes.
3488 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3489 ;;
3490 esac |
3491 sort
3492 ) |
3493 sed '
3494 /^ac_cv_env_/b end
3495 t clear
3496 :clear
3497 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3498 t end
3499 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3500 :end' >>confcache
3501 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3502 if test -w "$cache_file"; then
3503 test "x$cache_file" != "x/dev/null" &&
3504 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3505 echo "$as_me: updating cache $cache_file" >&6;}
3506 cat confcache >$cache_file
3507 else
3508 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3509 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3510 fi
3511 fi
3512 rm -f confcache
3513
3514 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3515 # Let make expand exec_prefix.
3516 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3517
3518 # Transform confdefs.h into DEFS.
3519 # Protect against shell expansion while executing Makefile rules.
3520 # Protect against Makefile macro expansion.
3521 #
3522 # If the first sed substitution is executed (which looks for macros that
3523 # take arguments), then branch to the quote section. Otherwise,
3524 # look for a macro that doesn't take arguments.
3525 ac_script='
3526 t clear
3527 :clear
3528 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3529 t quote
3530 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3531 t quote
3532 b any
3533 :quote
3534 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3535 s/\[/\\&/g
3536 s/\]/\\&/g
3537 s/\$/$$/g
3538 H
3539 :any
3540 ${
3541 g
3542 s/^\n//
3543 s/\n/ /g
3544 p
3545 }
3546 '
3547 DEFS=`sed -n "$ac_script" confdefs.h`
3548
3549
3550 ac_libobjs=
3551 ac_ltlibobjs=
3552 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3553 # 1. Remove the extension, and $U if already installed.
3554 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3555 ac_i=`echo "$ac_i" | sed "$ac_script"`
3556 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3557 # will be set to the directory where LIBOBJS objects are built.
3558 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3559 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3560 done
3561 LIBOBJS=$ac_libobjs
3562
3563 LTLIBOBJS=$ac_ltlibobjs
3564
3565
3566 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3567 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
3568 Usually this means the macro was only invoked conditionally." >&5
3569 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
3570 Usually this means the macro was only invoked conditionally." >&2;}
3571 { (exit 1); exit 1; }; }
3572 fi
3573 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3574 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3575 Usually this means the macro was only invoked conditionally." >&5
3576 echo "$as_me: error: conditional \"AMDEP\" was never defined.
3577 Usually this means the macro was only invoked conditionally." >&2;}
3578 { (exit 1); exit 1; }; }
3579 fi
3580 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3581 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3582 Usually this means the macro was only invoked conditionally." >&5
3583 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3584 Usually this means the macro was only invoked conditionally." >&2;}
3585 { (exit 1); exit 1; }; }
3586 fi
3587
3588 : ${CONFIG_STATUS=./config.status}
3589 ac_clean_files_save=$ac_clean_files
3590 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3591 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3592 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3593 cat >$CONFIG_STATUS <<_ACEOF
3594 #! $SHELL
3595 # Generated by $as_me.
3596 # Run this file to recreate the current configuration.
3597 # Compiler output produced by configure, useful for debugging
3598 # configure, is in config.log if it exists.
3599
3600 debug=false
3601 ac_cs_recheck=false
3602 ac_cs_silent=false
3603 SHELL=\${CONFIG_SHELL-$SHELL}
3604 _ACEOF
3605
3606 cat >>$CONFIG_STATUS <<\_ACEOF
3607 ## --------------------- ##
3608 ## M4sh Initialization. ##
3609 ## --------------------- ##
3610
3611 # Be more Bourne compatible
3612 DUALCASE=1; export DUALCASE # for MKS sh
3613 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3614 emulate sh
3615 NULLCMD=:
3616 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3617 # is contrary to our usage. Disable this feature.
3618 alias -g '${1+"$@"}'='"$@"'
3619 setopt NO_GLOB_SUBST
3620 else
3621 case `(set -o) 2>/dev/null` in
3622 *posix*) set -o posix ;;
3623 esac
3624
3625 fi
3626
3627
3628
3629
3630 # PATH needs CR
3631 # Avoid depending upon Character Ranges.
3632 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3633 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3634 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3635 as_cr_digits='0123456789'
3636 as_cr_alnum=$as_cr_Letters$as_cr_digits
3637
3638 # The user is always right.
3639 if test "${PATH_SEPARATOR+set}" != set; then
3640 echo "#! /bin/sh" >conf$$.sh
3641 echo "exit 0" >>conf$$.sh
3642 chmod +x conf$$.sh
3643 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3644 PATH_SEPARATOR=';'
3645 else
3646 PATH_SEPARATOR=:
3647 fi
3648 rm -f conf$$.sh
3649 fi
3650
3651 # Support unset when possible.
3652 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3653 as_unset=unset
3654 else
3655 as_unset=false
3656 fi
3657
3658
3659 # IFS
3660 # We need space, tab and new line, in precisely that order. Quoting is
3661 # there to prevent editors from complaining about space-tab.
3662 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3663 # splitting by setting IFS to empty value.)
3664 as_nl='
3665 '
3666 IFS=" "" $as_nl"
3667
3668 # Find who we are. Look in the path if we contain no directory separator.
3669 case $0 in
3670 *[\\/]* ) as_myself=$0 ;;
3671 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3672 for as_dir in $PATH
3673 do
3674 IFS=$as_save_IFS
3675 test -z "$as_dir" && as_dir=.
3676 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3677 done
3678 IFS=$as_save_IFS
3679
3680 ;;
3681 esac
3682 # We did not find ourselves, most probably we were run as `sh COMMAND'
3683 # in which case we are not to be found in the path.
3684 if test "x$as_myself" = x; then
3685 as_myself=$0
3686 fi
3687 if test ! -f "$as_myself"; then
3688 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3689 { (exit 1); exit 1; }
3690 fi
3691
3692 # Work around bugs in pre-3.0 UWIN ksh.
3693 for as_var in ENV MAIL MAILPATH
3694 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3695 done
3696 PS1='$ '
3697 PS2='> '
3698 PS4='+ '
3699
3700 # NLS nuisances.
3701 for as_var in \
3702 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3703 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3704 LC_TELEPHONE LC_TIME
3705 do
3706 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3707 eval $as_var=C; export $as_var
3708 else
3709 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3710 fi
3711 done
3712
3713 # Required to use basename.
3714 if expr a : '\(a\)' >/dev/null 2>&1 &&
3715 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3716 as_expr=expr
3717 else
3718 as_expr=false
3719 fi
3720
3721 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3722 as_basename=basename
3723 else
3724 as_basename=false
3725 fi
3726
3727
3728 # Name of the executable.
3729 as_me=`$as_basename -- "$0" ||
3730 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3731 X"$0" : 'X\(//\)$' \| \
3732 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3733 echo X/"$0" |
3734 sed '/^.*\/\([^/][^/]*\)\/*$/{
3735 s//\1/
3736 q
3737 }
3738 /^X\/\(\/\/\)$/{
3739 s//\1/
3740 q
3741 }
3742 /^X\/\(\/\).*/{
3743 s//\1/
3744 q
3745 }
3746 s/.*/./; q'`
3747
3748 # CDPATH.
3749 $as_unset CDPATH
3750
3751
3752
3753 as_lineno_1=$LINENO
3754 as_lineno_2=$LINENO
3755 test "x$as_lineno_1" != "x$as_lineno_2" &&
3756 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3757
3758 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3759 # uniformly replaced by the line number. The first 'sed' inserts a
3760 # line-number line after each line using $LINENO; the second 'sed'
3761 # does the real work. The second script uses 'N' to pair each
3762 # line-number line with the line containing $LINENO, and appends
3763 # trailing '-' during substitution so that $LINENO is not a special
3764 # case at line end.
3765 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3766 # scripts with optimization help from Paolo Bonzini. Blame Lee
3767 # E. McMahon (1931-1989) for sed's syntax. :-)
3768 sed -n '
3769 p
3770 /[$]LINENO/=
3771 ' <$as_myself |
3772 sed '
3773 s/[$]LINENO.*/&-/
3774 t lineno
3775 b
3776 :lineno
3777 N
3778 :loop
3779 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3780 t loop
3781 s/-\n.*//
3782 ' >$as_me.lineno &&
3783 chmod +x "$as_me.lineno" ||
3784 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3785 { (exit 1); exit 1; }; }
3786
3787 # Don't try to exec as it changes $[0], causing all sort of problems
3788 # (the dirname of $[0] is not the place where we might find the
3789 # original and so on. Autoconf is especially sensitive to this).
3790 . "./$as_me.lineno"
3791 # Exit status is that of the last command.
3792 exit
3793 }
3794
3795
3796 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3797 as_dirname=dirname
3798 else
3799 as_dirname=false
3800 fi
3801
3802 ECHO_C= ECHO_N= ECHO_T=
3803 case `echo -n x` in
3804 -n*)
3805 case `echo 'x\c'` in
3806 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3807 *) ECHO_C='\c';;
3808 esac;;
3809 *)
3810 ECHO_N='-n';;
3811 esac
3812
3813 if expr a : '\(a\)' >/dev/null 2>&1 &&
3814 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3815 as_expr=expr
3816 else
3817 as_expr=false
3818 fi
3819
3820 rm -f conf$$ conf$$.exe conf$$.file
3821 if test -d conf$$.dir; then
3822 rm -f conf$$.dir/conf$$.file
3823 else
3824 rm -f conf$$.dir
3825 mkdir conf$$.dir
3826 fi
3827 echo >conf$$.file
3828 if ln -s conf$$.file conf$$ 2>/dev/null; then
3829 as_ln_s='ln -s'
3830 # ... but there are two gotchas:
3831 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3832 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3833 # In both cases, we have to default to `cp -p'.
3834 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3835 as_ln_s='cp -p'
3836 elif ln conf$$.file conf$$ 2>/dev/null; then
3837 as_ln_s=ln
3838 else
3839 as_ln_s='cp -p'
3840 fi
3841 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3842 rmdir conf$$.dir 2>/dev/null
3843
3844 if mkdir -p . 2>/dev/null; then
3845 as_mkdir_p=:
3846 else
3847 test -d ./-p && rmdir ./-p
3848 as_mkdir_p=false
3849 fi
3850
3851 if test -x / >/dev/null 2>&1; then
3852 as_test_x='test -x'
3853 else
3854 if ls -dL / >/dev/null 2>&1; then
3855 as_ls_L_option=L
3856 else
3857 as_ls_L_option=
3858 fi
3859 as_test_x='
3860 eval sh -c '\''
3861 if test -d "$1"; then
3862 test -d "$1/.";
3863 else
3864 case $1 in
3865 -*)set "./$1";;
3866 esac;
3867 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3868 ???[sx]*):;;*)false;;esac;fi
3869 '\'' sh
3870 '
3871 fi
3872 as_executable_p=$as_test_x
3873
3874 # Sed expression to map a string onto a valid CPP name.
3875 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3876
3877 # Sed expression to map a string onto a valid variable name.
3878 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3879
3880
3881 exec 6>&1
3882
3883 # Save the log message, to keep $[0] and so on meaningful, and to
3884 # report actual input values of CONFIG_FILES etc. instead of their
3885 # values after options handling.
3886 ac_log="
3887 This file was extended by xtrans $as_me 1.2, which was
3888 generated by GNU Autoconf 2.61. Invocation command line was
3889
3890 CONFIG_FILES = $CONFIG_FILES
3891 CONFIG_HEADERS = $CONFIG_HEADERS
3892 CONFIG_LINKS = $CONFIG_LINKS
3893 CONFIG_COMMANDS = $CONFIG_COMMANDS
3894 $ $0 $@
3895
3896 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3897 "
3898
3899 _ACEOF
3900
3901 cat >>$CONFIG_STATUS <<_ACEOF
3902 # Files that config.status was made for.
3903 config_files="$ac_config_files"
3904 config_commands="$ac_config_commands"
3905
3906 _ACEOF
3907
3908 cat >>$CONFIG_STATUS <<\_ACEOF
3909 ac_cs_usage="\
3910 \`$as_me' instantiates files from templates according to the
3911 current configuration.
3912
3913 Usage: $0 [OPTIONS] [FILE]...
3914
3915 -h, --help print this help, then exit
3916 -V, --version print version number and configuration settings, then exit
3917 -q, --quiet do not print progress messages
3918 -d, --debug don't remove temporary files
3919 --recheck update $as_me by reconfiguring in the same conditions
3920 --file=FILE[:TEMPLATE]
3921 instantiate the configuration file FILE
3922
3923 Configuration files:
3924 $config_files
3925
3926 Configuration commands:
3927 $config_commands
3928
3929 Report bugs to <bug-autoconf (at] gnu.org>."
3930
3931 _ACEOF
3932 cat >>$CONFIG_STATUS <<_ACEOF
3933 ac_cs_version="\\
3934 xtrans config.status 1.2
3935 configured by $0, generated by GNU Autoconf 2.61,
3936 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3937
3938 Copyright (C) 2006 Free Software Foundation, Inc.
3939 This config.status script is free software; the Free Software Foundation
3940 gives unlimited permission to copy, distribute and modify it."
3941
3942 ac_pwd='$ac_pwd'
3943 srcdir='$srcdir'
3944 INSTALL='$INSTALL'
3945 MKDIR_P='$MKDIR_P'
3946 _ACEOF
3947
3948 cat >>$CONFIG_STATUS <<\_ACEOF
3949 # If no file are specified by the user, then we need to provide default
3950 # value. By we need to know if files were specified by the user.
3951 ac_need_defaults=:
3952 while test $# != 0
3953 do
3954 case $1 in
3955 --*=*)
3956 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3957 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3958 ac_shift=:
3959 ;;
3960 *)
3961 ac_option=$1
3962 ac_optarg=$2
3963 ac_shift=shift
3964 ;;
3965 esac
3966
3967 case $ac_option in
3968 # Handling of the options.
3969 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3970 ac_cs_recheck=: ;;
3971 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3972 echo "$ac_cs_version"; exit ;;
3973 --debug | --debu | --deb | --de | --d | -d )
3974 debug=: ;;
3975 --file | --fil | --fi | --f )
3976 $ac_shift
3977 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3978 ac_need_defaults=false;;
3979 --he | --h | --help | --hel | -h )
3980 echo "$ac_cs_usage"; exit ;;
3981 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3982 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3983 ac_cs_silent=: ;;
3984
3985 # This is an error.
3986 -*) { echo "$as_me: error: unrecognized option: $1
3987 Try \`$0 --help' for more information." >&2
3988 { (exit 1); exit 1; }; } ;;
3989
3990 *) ac_config_targets="$ac_config_targets $1"
3991 ac_need_defaults=false ;;
3992
3993 esac
3994 shift
3995 done
3996
3997 ac_configure_extra_args=
3998
3999 if $ac_cs_silent; then
4000 exec 6>/dev/null
4001 ac_configure_extra_args="$ac_configure_extra_args --silent"
4002 fi
4003
4004 _ACEOF
4005 cat >>$CONFIG_STATUS <<_ACEOF
4006 if \$ac_cs_recheck; then
4007 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4008 CONFIG_SHELL=$SHELL
4009 export CONFIG_SHELL
4010 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4011 fi
4012
4013 _ACEOF
4014 cat >>$CONFIG_STATUS <<\_ACEOF
4015 exec 5>>config.log
4016 {
4017 echo
4018 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4019 ## Running $as_me. ##
4020 _ASBOX
4021 echo "$ac_log"
4022 } >&5
4023
4024 _ACEOF
4025 cat >>$CONFIG_STATUS <<_ACEOF
4026 #
4027 # INIT-COMMANDS
4028 #
4029 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4030
4031 _ACEOF
4032
4033 cat >>$CONFIG_STATUS <<\_ACEOF
4034
4035 # Handling of arguments.
4036 for ac_config_target in $ac_config_targets
4037 do
4038 case $ac_config_target in
4039 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4040 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4041 "xtrans.pc") CONFIG_FILES="$CONFIG_FILES xtrans.pc" ;;
4042
4043 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4044 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4045 { (exit 1); exit 1; }; };;
4046 esac
4047 done
4048
4049
4050 # If the user did not use the arguments to specify the items to instantiate,
4051 # then the envvar interface is used. Set only those that are not.
4052 # We use the long form for the default assignment because of an extremely
4053 # bizarre bug on SunOS 4.1.3.
4054 if $ac_need_defaults; then
4055 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4056 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4057 fi
4058
4059 # Have a temporary directory for convenience. Make it in the build tree
4060 # simply because there is no reason against having it here, and in addition,
4061 # creating and moving files from /tmp can sometimes cause problems.
4062 # Hook for its removal unless debugging.
4063 # Note that there is a small window in which the directory will not be cleaned:
4064 # after its creation but before its name has been assigned to `$tmp'.
4065 $debug ||
4066 {
4067 tmp=
4068 trap 'exit_status=$?
4069 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4070 ' 0
4071 trap '{ (exit 1); exit 1; }' 1 2 13 15
4072 }
4073 # Create a (secure) tmp directory for tmp files.
4074
4075 {
4076 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4077 test -n "$tmp" && test -d "$tmp"
4078 } ||
4079 {
4080 tmp=./conf$$-$RANDOM
4081 (umask 077 && mkdir "$tmp")
4082 } ||
4083 {
4084 echo "$me: cannot create a temporary directory in ." >&2
4085 { (exit 1); exit 1; }
4086 }
4087
4088 #
4089 # Set up the sed scripts for CONFIG_FILES section.
4090 #
4091
4092 # No need to generate the scripts if there are no CONFIG_FILES.
4093 # This happens for instance when ./config.status config.h
4094 if test -n "$CONFIG_FILES"; then
4095
4096 _ACEOF
4097
4098
4099
4100 ac_delim='%!_!# '
4101 for ac_last_try in false false false false false :; do
4102 cat >conf$$subs.sed <<_ACEOF
4103 SHELL!$SHELL$ac_delim
4104 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4105 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4106 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4107 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4108 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4109 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4110 exec_prefix!$exec_prefix$ac_delim
4111 prefix!$prefix$ac_delim
4112 program_transform_name!$program_transform_name$ac_delim
4113 bindir!$bindir$ac_delim
4114 sbindir!$sbindir$ac_delim
4115 libexecdir!$libexecdir$ac_delim
4116 datarootdir!$datarootdir$ac_delim
4117 datadir!$datadir$ac_delim
4118 sysconfdir!$sysconfdir$ac_delim
4119 sharedstatedir!$sharedstatedir$ac_delim
4120 localstatedir!$localstatedir$ac_delim
4121 includedir!$includedir$ac_delim
4122 oldincludedir!$oldincludedir$ac_delim
4123 docdir!$docdir$ac_delim
4124 infodir!$infodir$ac_delim
4125 htmldir!$htmldir$ac_delim
4126 dvidir!$dvidir$ac_delim
4127 pdfdir!$pdfdir$ac_delim
4128 psdir!$psdir$ac_delim
4129 libdir!$libdir$ac_delim
4130 localedir!$localedir$ac_delim
4131 mandir!$mandir$ac_delim
4132 DEFS!$DEFS$ac_delim
4133 ECHO_C!$ECHO_C$ac_delim
4134 ECHO_N!$ECHO_N$ac_delim
4135 ECHO_T!$ECHO_T$ac_delim
4136 LIBS!$LIBS$ac_delim
4137 build_alias!$build_alias$ac_delim
4138 host_alias!$host_alias$ac_delim
4139 target_alias!$target_alias$ac_delim
4140 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4141 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4142 INSTALL_DATA!$INSTALL_DATA$ac_delim
4143 am__isrc!$am__isrc$ac_delim
4144 CYGPATH_W!$CYGPATH_W$ac_delim
4145 PACKAGE!$PACKAGE$ac_delim
4146 VERSION!$VERSION$ac_delim
4147 ACLOCAL!$ACLOCAL$ac_delim
4148 AUTOCONF!$AUTOCONF$ac_delim
4149 AUTOMAKE!$AUTOMAKE$ac_delim
4150 AUTOHEADER!$AUTOHEADER$ac_delim
4151 MAKEINFO!$MAKEINFO$ac_delim
4152 install_sh!$install_sh$ac_delim
4153 STRIP!$STRIP$ac_delim
4154 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
4155 mkdir_p!$mkdir_p$ac_delim
4156 AWK!$AWK$ac_delim
4157 SET_MAKE!$SET_MAKE$ac_delim
4158 am__leading_dot!$am__leading_dot$ac_delim
4159 AMTAR!$AMTAR$ac_delim
4160 am__tar!$am__tar$ac_delim
4161 am__untar!$am__untar$ac_delim
4162 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
4163 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
4164 MAINT!$MAINT$ac_delim
4165 CC!$CC$ac_delim
4166 CFLAGS!$CFLAGS$ac_delim
4167 LDFLAGS!$LDFLAGS$ac_delim
4168 CPPFLAGS!$CPPFLAGS$ac_delim
4169 ac_ct_CC!$ac_ct_CC$ac_delim
4170 EXEEXT!$EXEEXT$ac_delim
4171 OBJEXT!$OBJEXT$ac_delim
4172 DEPDIR!$DEPDIR$ac_delim
4173 am__include!$am__include$ac_delim
4174 am__quote!$am__quote$ac_delim
4175 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
4176 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
4177 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
4178 CCDEPMODE!$CCDEPMODE$ac_delim
4179 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
4180 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
4181 fchown_define!$fchown_define$ac_delim
4182 sticky_bit_define!$sticky_bit_define$ac_delim
4183 LIBOBJS!$LIBOBJS$ac_delim
4184 LTLIBOBJS!$LTLIBOBJS$ac_delim
4185 _ACEOF
4186
4187 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
4188 break
4189 elif $ac_last_try; then
4190 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4191 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4192 { (exit 1); exit 1; }; }
4193 else
4194 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4195 fi
4196 done
4197
4198 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4199 if test -n "$ac_eof"; then
4200 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4201 ac_eof=`expr $ac_eof + 1`
4202 fi
4203
4204 cat >>$CONFIG_STATUS <<_ACEOF
4205 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4206 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4207 _ACEOF
4208 sed '
4209 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4210 s/^/s,@/; s/!/@,|#_!!_#|/
4211 :n
4212 t n
4213 s/'"$ac_delim"'$/,g/; t
4214 s/$/\\/; p
4215 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4216 ' >>$CONFIG_STATUS <conf$$subs.sed
4217 rm -f conf$$subs.sed
4218 cat >>$CONFIG_STATUS <<_ACEOF
4219 :end
4220 s/|#_!!_#|//g
4221 CEOF$ac_eof
4222 _ACEOF
4223
4224
4225 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4226 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4227 # trailing colons and then remove the whole line if VPATH becomes empty
4228 # (actually we leave an empty line to preserve line numbers).
4229 if test "x$srcdir" = x.; then
4230 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4231 s/:*\$(srcdir):*/:/
4232 s/:*\${srcdir}:*/:/
4233 s/:*@srcdir@:*/:/
4234 s/^\([^=]*=[ ]*\):*/\1/
4235 s/:*$//
4236 s/^[^=]*=[ ]*$//
4237 }'
4238 fi
4239
4240 cat >>$CONFIG_STATUS <<\_ACEOF
4241 fi # test -n "$CONFIG_FILES"
4242
4243
4244 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
4245 do
4246 case $ac_tag in
4247 :[FHLC]) ac_mode=$ac_tag; continue;;
4248 esac
4249 case $ac_mode$ac_tag in
4250 :[FHL]*:*);;
4251 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4252 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4253 { (exit 1); exit 1; }; };;
4254 :[FH]-) ac_tag=-:-;;
4255 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4256 esac
4257 ac_save_IFS=$IFS
4258 IFS=:
4259 set x $ac_tag
4260 IFS=$ac_save_IFS
4261 shift
4262 ac_file=$1
4263 shift
4264
4265 case $ac_mode in
4266 :L) ac_source=$1;;
4267 :[FH])
4268 ac_file_inputs=
4269 for ac_f
4270 do
4271 case $ac_f in
4272 -) ac_f="$tmp/stdin";;
4273 *) # Look for the file first in the build tree, then in the source tree
4274 # (if the path is not absolute). The absolute path cannot be DOS-style,
4275 # because $ac_f cannot contain `:'.
4276 test -f "$ac_f" ||
4277 case $ac_f in
4278 [\\/$]*) false;;
4279 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4280 esac ||
4281 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4282 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4283 { (exit 1); exit 1; }; };;
4284 esac
4285 ac_file_inputs="$ac_file_inputs $ac_f"
4286 done
4287
4288 # Let's still pretend it is `configure' which instantiates (i.e., don't
4289 # use $as_me), people would be surprised to read:
4290 # /* config.h. Generated by config.status. */
4291 configure_input="Generated from "`IFS=:
4292 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4293 if test x"$ac_file" != x-; then
4294 configure_input="$ac_file. $configure_input"
4295 { echo "$as_me:$LINENO: creating $ac_file" >&5
4296 echo "$as_me: creating $ac_file" >&6;}
4297 fi
4298
4299 case $ac_tag in
4300 *:-:* | *:-) cat >"$tmp/stdin";;
4301 esac
4302 ;;
4303 esac
4304
4305 ac_dir=`$as_dirname -- "$ac_file" ||
4306 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4307 X"$ac_file" : 'X\(//\)[^/]' \| \
4308 X"$ac_file" : 'X\(//\)$' \| \
4309 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4310 echo X"$ac_file" |
4311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4312 s//\1/
4313 q
4314 }
4315 /^X\(\/\/\)[^/].*/{
4316 s//\1/
4317 q
4318 }
4319 /^X\(\/\/\)$/{
4320 s//\1/
4321 q
4322 }
4323 /^X\(\/\).*/{
4324 s//\1/
4325 q
4326 }
4327 s/.*/./; q'`
4328 { as_dir="$ac_dir"
4329 case $as_dir in #(
4330 -*) as_dir=./$as_dir;;
4331 esac
4332 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4333 as_dirs=
4334 while :; do
4335 case $as_dir in #(
4336 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4337 *) as_qdir=$as_dir;;
4338 esac
4339 as_dirs="'$as_qdir' $as_dirs"
4340 as_dir=`$as_dirname -- "$as_dir" ||
4341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4342 X"$as_dir" : 'X\(//\)[^/]' \| \
4343 X"$as_dir" : 'X\(//\)$' \| \
4344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4345 echo X"$as_dir" |
4346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4347 s//\1/
4348 q
4349 }
4350 /^X\(\/\/\)[^/].*/{
4351 s//\1/
4352 q
4353 }
4354 /^X\(\/\/\)$/{
4355 s//\1/
4356 q
4357 }
4358 /^X\(\/\).*/{
4359 s//\1/
4360 q
4361 }
4362 s/.*/./; q'`
4363 test -d "$as_dir" && break
4364 done
4365 test -z "$as_dirs" || eval "mkdir $as_dirs"
4366 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4367 echo "$as_me: error: cannot create directory $as_dir" >&2;}
4368 { (exit 1); exit 1; }; }; }
4369 ac_builddir=.
4370
4371 case "$ac_dir" in
4372 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4373 *)
4374 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4375 # A ".." for each directory in $ac_dir_suffix.
4376 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4377 case $ac_top_builddir_sub in
4378 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4379 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4380 esac ;;
4381 esac
4382 ac_abs_top_builddir=$ac_pwd
4383 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4384 # for backward compatibility:
4385 ac_top_builddir=$ac_top_build_prefix
4386
4387 case $srcdir in
4388 .) # We are building in place.
4389 ac_srcdir=.
4390 ac_top_srcdir=$ac_top_builddir_sub
4391 ac_abs_top_srcdir=$ac_pwd ;;
4392 [\\/]* | ?:[\\/]* ) # Absolute name.
4393 ac_srcdir=$srcdir$ac_dir_suffix;
4394 ac_top_srcdir=$srcdir
4395 ac_abs_top_srcdir=$srcdir ;;
4396 *) # Relative name.
4397 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4398 ac_top_srcdir=$ac_top_build_prefix$srcdir
4399 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4400 esac
4401 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4402
4403
4404 case $ac_mode in
4405 :F)
4406 #
4407 # CONFIG_FILE
4408 #
4409
4410 case $INSTALL in
4411 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4412 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4413 esac
4414 ac_MKDIR_P=$MKDIR_P
4415 case $MKDIR_P in
4416 [\\/$]* | ?:[\\/]* ) ;;
4417 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4418 esac
4419 _ACEOF
4420
4421 cat >>$CONFIG_STATUS <<\_ACEOF
4422 # If the template does not know about datarootdir, expand it.
4423 # FIXME: This hack should be removed a few years after 2.60.
4424 ac_datarootdir_hack=; ac_datarootdir_seen=
4425
4426 case `sed -n '/datarootdir/ {
4427 p
4428 q
4429 }
4430 /@datadir@/p
4431 /@docdir@/p
4432 /@infodir@/p
4433 /@localedir@/p
4434 /@mandir@/p
4435 ' $ac_file_inputs` in
4436 *datarootdir*) ac_datarootdir_seen=yes;;
4437 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4438 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4439 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4440 _ACEOF
4441 cat >>$CONFIG_STATUS <<_ACEOF
4442 ac_datarootdir_hack='
4443 s&@datadir@&$datadir&g
4444 s&@docdir@&$docdir&g
4445 s&@infodir@&$infodir&g
4446 s&@localedir@&$localedir&g
4447 s&@mandir@&$mandir&g
4448 s&\\\${datarootdir}&$datarootdir&g' ;;
4449 esac
4450 _ACEOF
4451
4452 # Neutralize VPATH when `$srcdir' = `.'.
4453 # Shell code in configure.ac might set extrasub.
4454 # FIXME: do we really want to maintain this feature?
4455 cat >>$CONFIG_STATUS <<_ACEOF
4456 sed "$ac_vpsub
4457 $extrasub
4458 _ACEOF
4459 cat >>$CONFIG_STATUS <<\_ACEOF
4460 :t
4461 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4462 s&@configure_input@&$configure_input&;t t
4463 s&@top_builddir@&$ac_top_builddir_sub&;t t
4464 s&@srcdir@&$ac_srcdir&;t t
4465 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4466 s&@top_srcdir@&$ac_top_srcdir&;t t
4467 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4468 s&@builddir@&$ac_builddir&;t t
4469 s&@abs_builddir@&$ac_abs_builddir&;t t
4470 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4471 s&@INSTALL@&$ac_INSTALL&;t t
4472 s&@MKDIR_P@&$ac_MKDIR_P&;t t
4473 $ac_datarootdir_hack
4474 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
4475
4476 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4477 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4478 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4479 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4480 which seems to be undefined. Please make sure it is defined." >&5
4481 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4482 which seems to be undefined. Please make sure it is defined." >&2;}
4483
4484 rm -f "$tmp/stdin"
4485 case $ac_file in
4486 -) cat "$tmp/out"; rm -f "$tmp/out";;
4487 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4488 esac
4489 ;;
4490
4491
4492 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
4493 echo "$as_me: executing $ac_file commands" >&6;}
4494 ;;
4495 esac
4496
4497
4498 case $ac_file$ac_mode in
4499 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4500 # Strip MF so we end up with the name of the file.
4501 mf=`echo "$mf" | sed -e 's/:.*$//'`
4502 # Check whether this is an Automake generated Makefile or not.
4503 # We used to match only the files named `Makefile.in', but
4504 # some people rename them; so instead we look at the file content.
4505 # Grep'ing the first line is not enough: some people post-process
4506 # each Makefile.in and add a new line on top of each file to say so.
4507 # Grep'ing the whole file is not good either: AIX grep has a line
4508 # limit of 2048, but all sed's we know have understand at least 4000.
4509 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
4510 dirpart=`$as_dirname -- "$mf" ||
4511 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4512 X"$mf" : 'X\(//\)[^/]' \| \
4513 X"$mf" : 'X\(//\)$' \| \
4514 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
4515 echo X"$mf" |
4516 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4517 s//\1/
4518 q
4519 }
4520 /^X\(\/\/\)[^/].*/{
4521 s//\1/
4522 q
4523 }
4524 /^X\(\/\/\)$/{
4525 s//\1/
4526 q
4527 }
4528 /^X\(\/\).*/{
4529 s//\1/
4530 q
4531 }
4532 s/.*/./; q'`
4533 else
4534 continue
4535 fi
4536 # Extract the definition of DEPDIR, am__include, and am__quote
4537 # from the Makefile without running `make'.
4538 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4539 test -z "$DEPDIR" && continue
4540 am__include=`sed -n 's/^am__include = //p' < "$mf"`
4541 test -z "am__include" && continue
4542 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4543 # When using ansi2knr, U may be empty or an underscore; expand it
4544 U=`sed -n 's/^U = //p' < "$mf"`
4545 # Find all dependency output files, they are included files with
4546 # $(DEPDIR) in their names. We invoke sed twice because it is the
4547 # simplest approach to changing $(DEPDIR) to its actual value in the
4548 # expansion.
4549 for file in `sed -n "
4550 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4551 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4552 # Make sure the directory exists.
4553 test -f "$dirpart/$file" && continue
4554 fdir=`$as_dirname -- "$file" ||
4555 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4556 X"$file" : 'X\(//\)[^/]' \| \
4557 X"$file" : 'X\(//\)$' \| \
4558 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
4559 echo X"$file" |
4560 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4561 s//\1/
4562 q
4563 }
4564 /^X\(\/\/\)[^/].*/{
4565 s//\1/
4566 q
4567 }
4568 /^X\(\/\/\)$/{
4569 s//\1/
4570 q
4571 }
4572 /^X\(\/\).*/{
4573 s//\1/
4574 q
4575 }
4576 s/.*/./; q'`
4577 { as_dir=$dirpart/$fdir
4578 case $as_dir in #(
4579 -*) as_dir=./$as_dir;;
4580 esac
4581 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4582 as_dirs=
4583 while :; do
4584 case $as_dir in #(
4585 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4586 *) as_qdir=$as_dir;;
4587 esac
4588 as_dirs="'$as_qdir' $as_dirs"
4589 as_dir=`$as_dirname -- "$as_dir" ||
4590 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4591 X"$as_dir" : 'X\(//\)[^/]' \| \
4592 X"$as_dir" : 'X\(//\)$' \| \
4593 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4594 echo X"$as_dir" |
4595 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4596 s//\1/
4597 q
4598 }
4599 /^X\(\/\/\)[^/].*/{
4600 s//\1/
4601 q
4602 }
4603 /^X\(\/\/\)$/{
4604 s//\1/
4605 q
4606 }
4607 /^X\(\/\).*/{
4608 s//\1/
4609 q
4610 }
4611 s/.*/./; q'`
4612 test -d "$as_dir" && break
4613 done
4614 test -z "$as_dirs" || eval "mkdir $as_dirs"
4615 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4616 echo "$as_me: error: cannot create directory $as_dir" >&2;}
4617 { (exit 1); exit 1; }; }; }
4618 # echo "creating $dirpart/$file"
4619 echo '# dummy' > "$dirpart/$file"
4620 done
4621 done
4622 ;;
4623
4624 esac
4625 done # for ac_tag
4626
4627
4628 { (exit 0); exit 0; }
4629 _ACEOF
4630 chmod +x $CONFIG_STATUS
4631 ac_clean_files=$ac_clean_files_save
4632
4633
4634 # configure is writing to config.log, and then calls config.status.
4635 # config.status does its own redirection, appending to config.log.
4636 # Unfortunately, on DOS this fails, as config.log is still kept open
4637 # by configure, so config.status won't be able to write to it; its
4638 # output is simply discarded. So we exec the FD to /dev/null,
4639 # effectively closing config.log, so it can be properly (re)opened and
4640 # appended to by config.status. When coming back to configure, we
4641 # need to make the FD available again.
4642 if test "$no_create" != yes; then
4643 ac_cs_success=:
4644 ac_config_status_args=
4645 test "$silent" = yes &&
4646 ac_config_status_args="$ac_config_status_args --quiet"
4647 exec 5>/dev/null
4648 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4649 exec 5>>config.log
4650 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4651 # would make configure fail if this is the last instruction.
4652 $ac_cs_success || { (exit 1); exit 1; }
4653 fi
4654
4655