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