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