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