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