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