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