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