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