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