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