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