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