Debian Codegraph @

configure

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