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