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