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