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