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