configure revision 1.1.1.4 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for xinit 1.3.0.
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='xinit'
563 PACKAGE_TARNAME='xinit'
564 PACKAGE_VERSION='1.3.0'
565 PACKAGE_STRING='xinit 1.3.0'
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 XINITDIR
610 XINIT
611 XAUTH
612 XSERVER
613 XTERM
614 XCLOCK
615 TWM
616 XMODMAP
617 XRDB
618 XCONFIGFILEMAN
619 XCONFIGFILE
620 XSERVERNAME
621 ARCHMANDEFS
622 SHELL_CMD
623 STARTX_COOKIE_FLAGS
624 MCOOKIE
625 XINIT_LIBS
626 XINIT_CFLAGS
627 TIGER_LAUNCHD_FALSE
628 TIGER_LAUNCHD_TRUE
629 LAUNCHD_FALSE
630 LAUNCHD_TRUE
631 launchdidprefix
632 launchdaemonsdir
633 launchagentsdir
634 LAUNCHD
635 RAWCPPFLAGS
636 RAWCPP
637 AM_BACKSLASH
638 AM_DEFAULT_VERBOSITY
639 MAN_SUBSTS
640 XORG_MAN_PAGE
641 ADMIN_MAN_DIR
642 DRIVER_MAN_DIR
643 MISC_MAN_DIR
644 FILE_MAN_DIR
645 LIB_MAN_DIR
646 APP_MAN_DIR
647 ADMIN_MAN_SUFFIX
648 DRIVER_MAN_SUFFIX
649 MISC_MAN_SUFFIX
650 FILE_MAN_SUFFIX
651 LIB_MAN_SUFFIX
652 APP_MAN_SUFFIX
653 SED
654 host_os
655 host_vendor
656 host_cpu
657 host
658 build_os
659 build_vendor
660 build_cpu
661 build
662 INSTALL_CMD
663 PKG_CONFIG
664 CHANGELOG_CMD
665 CWARNFLAGS
666 EGREP
667 GREP
668 CPP
669 am__fastdepCC_FALSE
670 am__fastdepCC_TRUE
671 CCDEPMODE
672 AMDEPBACKSLASH
673 AMDEP_FALSE
674 AMDEP_TRUE
675 am__quote
676 am__include
677 DEPDIR
678 OBJEXT
679 EXEEXT
680 ac_ct_CC
681 CPPFLAGS
682 LDFLAGS
683 CFLAGS
684 CC
685 MAINT
686 MAINTAINER_MODE_FALSE
687 MAINTAINER_MODE_TRUE
688 am__untar
689 am__tar
690 AMTAR
691 am__leading_dot
692 SET_MAKE
693 AWK
694 mkdir_p
695 MKDIR_P
696 INSTALL_STRIP_PROGRAM
697 STRIP
698 install_sh
699 MAKEINFO
700 AUTOHEADER
701 AUTOMAKE
702 AUTOCONF
703 ACLOCAL
704 VERSION
705 PACKAGE
706 CYGPATH_W
707 am__isrc
708 INSTALL_DATA
709 INSTALL_SCRIPT
710 INSTALL_PROGRAM
711 target_alias
712 host_alias
713 build_alias
714 LIBS
715 ECHO_T
716 ECHO_N
717 ECHO_C
718 DEFS
719 mandir
720 localedir
721 libdir
722 psdir
723 pdfdir
724 dvidir
725 htmldir
726 infodir
727 docdir
728 oldincludedir
729 includedir
730 localstatedir
731 sharedstatedir
732 sysconfdir
733 datadir
734 datarootdir
735 libexecdir
736 sbindir
737 bindir
738 program_transform_name
739 prefix
740 exec_prefix
741 PACKAGE_URL
742 PACKAGE_BUGREPORT
743 PACKAGE_STRING
744 PACKAGE_VERSION
745 PACKAGE_TARNAME
746 PACKAGE_NAME
747 PATH_SEPARATOR
748 SHELL'
749 ac_subst_files=''
750 ac_user_opts='
751 enable_option_checking
752 enable_maintainer_mode
753 enable_dependency_tracking
754 enable_strict_compilation
755 enable_silent_rules
756 with_xrdb
757 with_xmodmap
758 with_twm
759 with_xclock
760 with_xterm
761 with_xserver
762 with_xauth
763 with_xinit
764 with_xinitdir
765 with_launchd
766 with_launchagents_dir
767 with_launchdaemons_dir
768 with_launchd_id_prefix
769 '
770 ac_precious_vars='build_alias
771 host_alias
772 target_alias
773 CC
774 CFLAGS
775 LDFLAGS
776 LIBS
777 CPPFLAGS
778 CPP
779 PKG_CONFIG
780 XINIT_CFLAGS
781 XINIT_LIBS'
782
783
784 # Initialize some variables set by options.
785 ac_init_help=
786 ac_init_version=false
787 ac_unrecognized_opts=
788 ac_unrecognized_sep=
789 # The variables have the same names as the options, with
790 # dashes changed to underlines.
791 cache_file=/dev/null
792 exec_prefix=NONE
793 no_create=
794 no_recursion=
795 prefix=NONE
796 program_prefix=NONE
797 program_suffix=NONE
798 program_transform_name=s,x,x,
799 silent=
800 site=
801 srcdir=
802 verbose=
803 x_includes=NONE
804 x_libraries=NONE
805
806 # Installation directory options.
807 # These are left unexpanded so users can "make install exec_prefix=/foo"
808 # and all the variables that are supposed to be based on exec_prefix
809 # by default will actually change.
810 # Use braces instead of parens because sh, perl, etc. also accept them.
811 # (The list follows the same order as the GNU Coding Standards.)
812 bindir='${exec_prefix}/bin'
813 sbindir='${exec_prefix}/sbin'
814 libexecdir='${exec_prefix}/libexec'
815 datarootdir='${prefix}/share'
816 datadir='${datarootdir}'
817 sysconfdir='${prefix}/etc'
818 sharedstatedir='${prefix}/com'
819 localstatedir='${prefix}/var'
820 includedir='${prefix}/include'
821 oldincludedir='/usr/include'
822 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
823 infodir='${datarootdir}/info'
824 htmldir='${docdir}'
825 dvidir='${docdir}'
826 pdfdir='${docdir}'
827 psdir='${docdir}'
828 libdir='${exec_prefix}/lib'
829 localedir='${datarootdir}/locale'
830 mandir='${datarootdir}/man'
831
832 ac_prev=
833 ac_dashdash=
834 for ac_option
835 do
836 # If the previous option needs an argument, assign it.
837 if test -n "$ac_prev"; then
838 eval $ac_prev=\$ac_option
839 ac_prev=
840 continue
841 fi
842
843 case $ac_option in
844 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
845 *=) ac_optarg= ;;
846 *) ac_optarg=yes ;;
847 esac
848
849 # Accept the important Cygnus configure options, so we can diagnose typos.
850
851 case $ac_dashdash$ac_option in
852 --)
853 ac_dashdash=yes ;;
854
855 -bindir | --bindir | --bindi | --bind | --bin | --bi)
856 ac_prev=bindir ;;
857 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
858 bindir=$ac_optarg ;;
859
860 -build | --build | --buil | --bui | --bu)
861 ac_prev=build_alias ;;
862 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
863 build_alias=$ac_optarg ;;
864
865 -cache-file | --cache-file | --cache-fil | --cache-fi \
866 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
867 ac_prev=cache_file ;;
868 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
869 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
870 cache_file=$ac_optarg ;;
871
872 --config-cache | -C)
873 cache_file=config.cache ;;
874
875 -datadir | --datadir | --datadi | --datad)
876 ac_prev=datadir ;;
877 -datadir=* | --datadir=* | --datadi=* | --datad=*)
878 datadir=$ac_optarg ;;
879
880 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
881 | --dataroo | --dataro | --datar)
882 ac_prev=datarootdir ;;
883 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
884 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
885 datarootdir=$ac_optarg ;;
886
887 -disable-* | --disable-*)
888 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
889 # Reject names that are not valid shell variable names.
890 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
891 as_fn_error $? "invalid feature name: $ac_useropt"
892 ac_useropt_orig=$ac_useropt
893 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
894 case $ac_user_opts in
895 *"
896 "enable_$ac_useropt"
897 "*) ;;
898 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
899 ac_unrecognized_sep=', ';;
900 esac
901 eval enable_$ac_useropt=no ;;
902
903 -docdir | --docdir | --docdi | --doc | --do)
904 ac_prev=docdir ;;
905 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
906 docdir=$ac_optarg ;;
907
908 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
909 ac_prev=dvidir ;;
910 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
911 dvidir=$ac_optarg ;;
912
913 -enable-* | --enable-*)
914 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
915 # Reject names that are not valid shell variable names.
916 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
917 as_fn_error $? "invalid feature name: $ac_useropt"
918 ac_useropt_orig=$ac_useropt
919 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
920 case $ac_user_opts in
921 *"
922 "enable_$ac_useropt"
923 "*) ;;
924 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
925 ac_unrecognized_sep=', ';;
926 esac
927 eval enable_$ac_useropt=\$ac_optarg ;;
928
929 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
930 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
931 | --exec | --exe | --ex)
932 ac_prev=exec_prefix ;;
933 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
934 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
935 | --exec=* | --exe=* | --ex=*)
936 exec_prefix=$ac_optarg ;;
937
938 -gas | --gas | --ga | --g)
939 # Obsolete; use --with-gas.
940 with_gas=yes ;;
941
942 -help | --help | --hel | --he | -h)
943 ac_init_help=long ;;
944 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
945 ac_init_help=recursive ;;
946 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
947 ac_init_help=short ;;
948
949 -host | --host | --hos | --ho)
950 ac_prev=host_alias ;;
951 -host=* | --host=* | --hos=* | --ho=*)
952 host_alias=$ac_optarg ;;
953
954 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
955 ac_prev=htmldir ;;
956 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
957 | --ht=*)
958 htmldir=$ac_optarg ;;
959
960 -includedir | --includedir | --includedi | --included | --include \
961 | --includ | --inclu | --incl | --inc)
962 ac_prev=includedir ;;
963 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
964 | --includ=* | --inclu=* | --incl=* | --inc=*)
965 includedir=$ac_optarg ;;
966
967 -infodir | --infodir | --infodi | --infod | --info | --inf)
968 ac_prev=infodir ;;
969 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
970 infodir=$ac_optarg ;;
971
972 -libdir | --libdir | --libdi | --libd)
973 ac_prev=libdir ;;
974 -libdir=* | --libdir=* | --libdi=* | --libd=*)
975 libdir=$ac_optarg ;;
976
977 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
978 | --libexe | --libex | --libe)
979 ac_prev=libexecdir ;;
980 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
981 | --libexe=* | --libex=* | --libe=*)
982 libexecdir=$ac_optarg ;;
983
984 -localedir | --localedir | --localedi | --localed | --locale)
985 ac_prev=localedir ;;
986 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
987 localedir=$ac_optarg ;;
988
989 -localstatedir | --localstatedir | --localstatedi | --localstated \
990 | --localstate | --localstat | --localsta | --localst | --locals)
991 ac_prev=localstatedir ;;
992 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
993 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
994 localstatedir=$ac_optarg ;;
995
996 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
997 ac_prev=mandir ;;
998 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
999 mandir=$ac_optarg ;;
1000
1001 -nfp | --nfp | --nf)
1002 # Obsolete; use --without-fp.
1003 with_fp=no ;;
1004
1005 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1006 | --no-cr | --no-c | -n)
1007 no_create=yes ;;
1008
1009 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1010 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1011 no_recursion=yes ;;
1012
1013 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1014 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1015 | --oldin | --oldi | --old | --ol | --o)
1016 ac_prev=oldincludedir ;;
1017 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1018 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1019 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1020 oldincludedir=$ac_optarg ;;
1021
1022 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1023 ac_prev=prefix ;;
1024 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1025 prefix=$ac_optarg ;;
1026
1027 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1028 | --program-pre | --program-pr | --program-p)
1029 ac_prev=program_prefix ;;
1030 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1031 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1032 program_prefix=$ac_optarg ;;
1033
1034 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1035 | --program-suf | --program-su | --program-s)
1036 ac_prev=program_suffix ;;
1037 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1038 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1039 program_suffix=$ac_optarg ;;
1040
1041 -program-transform-name | --program-transform-name \
1042 | --program-transform-nam | --program-transform-na \
1043 | --program-transform-n | --program-transform- \
1044 | --program-transform | --program-transfor \
1045 | --program-transfo | --program-transf \
1046 | --program-trans | --program-tran \
1047 | --progr-tra | --program-tr | --program-t)
1048 ac_prev=program_transform_name ;;
1049 -program-transform-name=* | --program-transform-name=* \
1050 | --program-transform-nam=* | --program-transform-na=* \
1051 | --program-transform-n=* | --program-transform-=* \
1052 | --program-transform=* | --program-transfor=* \
1053 | --program-transfo=* | --program-transf=* \
1054 | --program-trans=* | --program-tran=* \
1055 | --progr-tra=* | --program-tr=* | --program-t=*)
1056 program_transform_name=$ac_optarg ;;
1057
1058 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1059 ac_prev=pdfdir ;;
1060 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1061 pdfdir=$ac_optarg ;;
1062
1063 -psdir | --psdir | --psdi | --psd | --ps)
1064 ac_prev=psdir ;;
1065 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1066 psdir=$ac_optarg ;;
1067
1068 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1069 | -silent | --silent | --silen | --sile | --sil)
1070 silent=yes ;;
1071
1072 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1073 ac_prev=sbindir ;;
1074 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1075 | --sbi=* | --sb=*)
1076 sbindir=$ac_optarg ;;
1077
1078 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1079 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1080 | --sharedst | --shareds | --shared | --share | --shar \
1081 | --sha | --sh)
1082 ac_prev=sharedstatedir ;;
1083 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1084 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1085 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1086 | --sha=* | --sh=*)
1087 sharedstatedir=$ac_optarg ;;
1088
1089 -site | --site | --sit)
1090 ac_prev=site ;;
1091 -site=* | --site=* | --sit=*)
1092 site=$ac_optarg ;;
1093
1094 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1095 ac_prev=srcdir ;;
1096 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1097 srcdir=$ac_optarg ;;
1098
1099 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1100 | --syscon | --sysco | --sysc | --sys | --sy)
1101 ac_prev=sysconfdir ;;
1102 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1103 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1104 sysconfdir=$ac_optarg ;;
1105
1106 -target | --target | --targe | --targ | --tar | --ta | --t)
1107 ac_prev=target_alias ;;
1108 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1109 target_alias=$ac_optarg ;;
1110
1111 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1112 verbose=yes ;;
1113
1114 -version | --version | --versio | --versi | --vers | -V)
1115 ac_init_version=: ;;
1116
1117 -with-* | --with-*)
1118 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1121 as_fn_error $? "invalid package name: $ac_useropt"
1122 ac_useropt_orig=$ac_useropt
1123 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1124 case $ac_user_opts in
1125 *"
1126 "with_$ac_useropt"
1127 "*) ;;
1128 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1129 ac_unrecognized_sep=', ';;
1130 esac
1131 eval with_$ac_useropt=\$ac_optarg ;;
1132
1133 -without-* | --without-*)
1134 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1135 # Reject names that are not valid shell variable names.
1136 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1137 as_fn_error $? "invalid package name: $ac_useropt"
1138 ac_useropt_orig=$ac_useropt
1139 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1140 case $ac_user_opts in
1141 *"
1142 "with_$ac_useropt"
1143 "*) ;;
1144 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1145 ac_unrecognized_sep=', ';;
1146 esac
1147 eval with_$ac_useropt=no ;;
1148
1149 --x)
1150 # Obsolete; use --with-x.
1151 with_x=yes ;;
1152
1153 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1154 | --x-incl | --x-inc | --x-in | --x-i)
1155 ac_prev=x_includes ;;
1156 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1157 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1158 x_includes=$ac_optarg ;;
1159
1160 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1161 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1162 ac_prev=x_libraries ;;
1163 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1164 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1165 x_libraries=$ac_optarg ;;
1166
1167 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1168 Try \`$0 --help' for more information"
1169 ;;
1170
1171 *=*)
1172 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1173 # Reject names that are not valid shell variable names.
1174 case $ac_envvar in #(
1175 '' | [0-9]* | *[!_$as_cr_alnum]* )
1176 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1177 esac
1178 eval $ac_envvar=\$ac_optarg
1179 export $ac_envvar ;;
1180
1181 *)
1182 # FIXME: should be removed in autoconf 3.0.
1183 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1184 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1185 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1186 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1187 ;;
1188
1189 esac
1190 done
1191
1192 if test -n "$ac_prev"; then
1193 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1194 as_fn_error $? "missing argument to $ac_option"
1195 fi
1196
1197 if test -n "$ac_unrecognized_opts"; then
1198 case $enable_option_checking in
1199 no) ;;
1200 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1201 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1202 esac
1203 fi
1204
1205 # Check all directory arguments for consistency.
1206 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1207 datadir sysconfdir sharedstatedir localstatedir includedir \
1208 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1209 libdir localedir mandir
1210 do
1211 eval ac_val=\$$ac_var
1212 # Remove trailing slashes.
1213 case $ac_val in
1214 */ )
1215 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1216 eval $ac_var=\$ac_val;;
1217 esac
1218 # Be sure to have absolute directory names.
1219 case $ac_val in
1220 [\\/$]* | ?:[\\/]* ) continue;;
1221 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1222 esac
1223 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1224 done
1225
1226 # There might be people who depend on the old broken behavior: `$host'
1227 # used to hold the argument of --host etc.
1228 # FIXME: To remove some day.
1229 build=$build_alias
1230 host=$host_alias
1231 target=$target_alias
1232
1233 # FIXME: To remove some day.
1234 if test "x$host_alias" != x; then
1235 if test "x$build_alias" = x; then
1236 cross_compiling=maybe
1237 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1238 If a cross compiler is detected then cross compile mode will be used" >&2
1239 elif test "x$build_alias" != "x$host_alias"; then
1240 cross_compiling=yes
1241 fi
1242 fi
1243
1244 ac_tool_prefix=
1245 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1246
1247 test "$silent" = yes && exec 6>/dev/null
1248
1249
1250 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1251 ac_ls_di=`ls -di .` &&
1252 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1253 as_fn_error $? "working directory cannot be determined"
1254 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1255 as_fn_error $? "pwd does not report name of working directory"
1256
1257
1258 # Find the source files, if location was not specified.
1259 if test -z "$srcdir"; then
1260 ac_srcdir_defaulted=yes
1261 # Try the directory containing this script, then the parent directory.
1262 ac_confdir=`$as_dirname -- "$as_myself" ||
1263 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1264 X"$as_myself" : 'X\(//\)[^/]' \| \
1265 X"$as_myself" : 'X\(//\)$' \| \
1266 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1267 $as_echo X"$as_myself" |
1268 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1269 s//\1/
1270 q
1271 }
1272 /^X\(\/\/\)[^/].*/{
1273 s//\1/
1274 q
1275 }
1276 /^X\(\/\/\)$/{
1277 s//\1/
1278 q
1279 }
1280 /^X\(\/\).*/{
1281 s//\1/
1282 q
1283 }
1284 s/.*/./; q'`
1285 srcdir=$ac_confdir
1286 if test ! -r "$srcdir/$ac_unique_file"; then
1287 srcdir=..
1288 fi
1289 else
1290 ac_srcdir_defaulted=no
1291 fi
1292 if test ! -r "$srcdir/$ac_unique_file"; then
1293 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1294 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1295 fi
1296 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1297 ac_abs_confdir=`(
1298 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1299 pwd)`
1300 # When building in place, set srcdir=.
1301 if test "$ac_abs_confdir" = "$ac_pwd"; then
1302 srcdir=.
1303 fi
1304 # Remove unnecessary trailing slashes from srcdir.
1305 # Double slashes in file names in object file debugging info
1306 # mess up M-x gdb in Emacs.
1307 case $srcdir in
1308 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1309 esac
1310 for ac_var in $ac_precious_vars; do
1311 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1312 eval ac_env_${ac_var}_value=\$${ac_var}
1313 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1314 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1315 done
1316
1317 #
1318 # Report the --help message.
1319 #
1320 if test "$ac_init_help" = "long"; then
1321 # Omit some internal or obsolete options to make the list less imposing.
1322 # This message is too long to be a string in the A/UX 3.1 sh.
1323 cat <<_ACEOF
1324 \`configure' configures xinit 1.3.0 to adapt to many kinds of systems.
1325
1326 Usage: $0 [OPTION]... [VAR=VALUE]...
1327
1328 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1329 VAR=VALUE. See below for descriptions of some of the useful variables.
1330
1331 Defaults for the options are specified in brackets.
1332
1333 Configuration:
1334 -h, --help display this help and exit
1335 --help=short display options specific to this package
1336 --help=recursive display the short help of all the included packages
1337 -V, --version display version information and exit
1338 -q, --quiet, --silent do not print \`checking ...' messages
1339 --cache-file=FILE cache test results in FILE [disabled]
1340 -C, --config-cache alias for \`--cache-file=config.cache'
1341 -n, --no-create do not create output files
1342 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1343
1344 Installation directories:
1345 --prefix=PREFIX install architecture-independent files in PREFIX
1346 [$ac_default_prefix]
1347 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1348 [PREFIX]
1349
1350 By default, \`make install' will install all the files in
1351 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1352 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1353 for instance \`--prefix=\$HOME'.
1354
1355 For better control, use the options below.
1356
1357 Fine tuning of the installation directories:
1358 --bindir=DIR user executables [EPREFIX/bin]
1359 --sbindir=DIR system admin executables [EPREFIX/sbin]
1360 --libexecdir=DIR program executables [EPREFIX/libexec]
1361 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1362 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1363 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1364 --libdir=DIR object code libraries [EPREFIX/lib]
1365 --includedir=DIR C header files [PREFIX/include]
1366 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1367 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1368 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1369 --infodir=DIR info documentation [DATAROOTDIR/info]
1370 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1371 --mandir=DIR man documentation [DATAROOTDIR/man]
1372 --docdir=DIR documentation root [DATAROOTDIR/doc/xinit]
1373 --htmldir=DIR html documentation [DOCDIR]
1374 --dvidir=DIR dvi documentation [DOCDIR]
1375 --pdfdir=DIR pdf documentation [DOCDIR]
1376 --psdir=DIR ps documentation [DOCDIR]
1377 _ACEOF
1378
1379 cat <<\_ACEOF
1380
1381 Program names:
1382 --program-prefix=PREFIX prepend PREFIX to installed program names
1383 --program-suffix=SUFFIX append SUFFIX to installed program names
1384 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1385
1386 System types:
1387 --build=BUILD configure for building on BUILD [guessed]
1388 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1389 _ACEOF
1390 fi
1391
1392 if test -n "$ac_init_help"; then
1393 case $ac_init_help in
1394 short | recursive ) echo "Configuration of xinit 1.3.0:";;
1395 esac
1396 cat <<\_ACEOF
1397
1398 Optional Features:
1399 --disable-option-checking ignore unrecognized --enable/--with options
1400 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1401 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1402 --enable-maintainer-mode enable make rules and dependencies not useful
1403 (and sometimes confusing) to the casual installer
1404 --disable-dependency-tracking speeds up one-time build
1405 --enable-dependency-tracking do not reject slow dependency extractors
1406 --enable-strict-compilation
1407 Enable all warnings from compiler and make them
1408 errors (default: disabled)
1409 --enable-silent-rules less verbose build output (undo: `make V=1')
1410 --disable-silent-rules verbose build output (undo: `make V=0')
1411
1412 Optional Packages:
1413 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1414 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1415 --with-xrdb=XRDB Path to xrdb
1416 --with-xmodmap=XMODMAP Path to xmodmap
1417 --with-twm=TWM Path to twm
1418 --with-xclock=XCLOCK Path to xclock
1419 --with-xterm=XTERM Path to xterm
1420 --with-xserver=XSERVER Path to default X server
1421 --with-xauth=XAUTH Path to xauth
1422 --with-xinit=XINIT Path to xinit
1423 --with-xinitdir=XINITDIR
1424 Path to xinitdir
1425 --with-launchd Build with support for Apple's launchd (default:
1426 auto)
1427 --with-launchagents-dir=PATH
1428 Path to launchd's LaunchAgents directory (default:
1429 /Library/LaunchAgents)
1430 --with-launchdaemons-dir=PATH
1431 Path to launchd's LaunchDaemonss directory (default:
1432 /Library/LaunchDaemons)
1433 --with-launchd-id-prefix=PATH
1434 Prefix to use for launchd identifiers (default:
1435 org.x)
1436
1437 Some influential environment variables:
1438 CC C compiler command
1439 CFLAGS C compiler flags
1440 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1441 nonstandard directory <lib dir>
1442 LIBS libraries to pass to the linker, e.g. -l<library>
1443 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1444 you have headers in a nonstandard directory <include dir>
1445 CPP C preprocessor
1446 PKG_CONFIG path to pkg-config utility
1447 XINIT_CFLAGS
1448 C compiler flags for XINIT, overriding pkg-config
1449 XINIT_LIBS linker flags for XINIT, overriding pkg-config
1450
1451 Use these variables to override the choices made by `configure' or to help
1452 it to find libraries and programs with nonstandard names/locations.
1453
1454 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1455 _ACEOF
1456 ac_status=$?
1457 fi
1458
1459 if test "$ac_init_help" = "recursive"; then
1460 # If there are subdirs, report their specific --help.
1461 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1462 test -d "$ac_dir" ||
1463 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1464 continue
1465 ac_builddir=.
1466
1467 case "$ac_dir" in
1468 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1469 *)
1470 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1471 # A ".." for each directory in $ac_dir_suffix.
1472 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1473 case $ac_top_builddir_sub in
1474 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1475 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1476 esac ;;
1477 esac
1478 ac_abs_top_builddir=$ac_pwd
1479 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1480 # for backward compatibility:
1481 ac_top_builddir=$ac_top_build_prefix
1482
1483 case $srcdir in
1484 .) # We are building in place.
1485 ac_srcdir=.
1486 ac_top_srcdir=$ac_top_builddir_sub
1487 ac_abs_top_srcdir=$ac_pwd ;;
1488 [\\/]* | ?:[\\/]* ) # Absolute name.
1489 ac_srcdir=$srcdir$ac_dir_suffix;
1490 ac_top_srcdir=$srcdir
1491 ac_abs_top_srcdir=$srcdir ;;
1492 *) # Relative name.
1493 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1494 ac_top_srcdir=$ac_top_build_prefix$srcdir
1495 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1496 esac
1497 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1498
1499 cd "$ac_dir" || { ac_status=$?; continue; }
1500 # Check for guested configure.
1501 if test -f "$ac_srcdir/configure.gnu"; then
1502 echo &&
1503 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1504 elif test -f "$ac_srcdir/configure"; then
1505 echo &&
1506 $SHELL "$ac_srcdir/configure" --help=recursive
1507 else
1508 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1509 fi || ac_status=$?
1510 cd "$ac_pwd" || { ac_status=$?; break; }
1511 done
1512 fi
1513
1514 test -n "$ac_init_help" && exit $ac_status
1515 if $ac_init_version; then
1516 cat <<\_ACEOF
1517 xinit configure 1.3.0
1518 generated by GNU Autoconf 2.68
1519
1520 Copyright (C) 2010 Free Software Foundation, Inc.
1521 This configure script is free software; the Free Software Foundation
1522 gives unlimited permission to copy, distribute and modify it.
1523 _ACEOF
1524 exit
1525 fi
1526
1527 ## ------------------------ ##
1528 ## Autoconf initialization. ##
1529 ## ------------------------ ##
1530
1531 # ac_fn_c_try_compile LINENO
1532 # --------------------------
1533 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1534 ac_fn_c_try_compile ()
1535 {
1536 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1537 rm -f conftest.$ac_objext
1538 if { { ac_try="$ac_compile"
1539 case "(($ac_try" in
1540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1541 *) ac_try_echo=$ac_try;;
1542 esac
1543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1544 $as_echo "$ac_try_echo"; } >&5
1545 (eval "$ac_compile") 2>conftest.err
1546 ac_status=$?
1547 if test -s conftest.err; then
1548 grep -v '^ *+' conftest.err >conftest.er1
1549 cat conftest.er1 >&5
1550 mv -f conftest.er1 conftest.err
1551 fi
1552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1553 test $ac_status = 0; } && {
1554 test -z "$ac_c_werror_flag" ||
1555 test ! -s conftest.err
1556 } && test -s conftest.$ac_objext; then :
1557 ac_retval=0
1558 else
1559 $as_echo "$as_me: failed program was:" >&5
1560 sed 's/^/| /' conftest.$ac_ext >&5
1561
1562 ac_retval=1
1563 fi
1564 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1565 as_fn_set_status $ac_retval
1566
1567 } # ac_fn_c_try_compile
1568
1569 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1570 # ---------------------------------------------
1571 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1572 # accordingly.
1573 ac_fn_c_check_decl ()
1574 {
1575 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1576 as_decl_name=`echo $2|sed 's/ *(.*//'`
1577 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1579 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1580 if eval \${$3+:} false; then :
1581 $as_echo_n "(cached) " >&6
1582 else
1583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1584 /* end confdefs.h. */
1585 $4
1586 int
1587 main ()
1588 {
1589 #ifndef $as_decl_name
1590 #ifdef __cplusplus
1591 (void) $as_decl_use;
1592 #else
1593 (void) $as_decl_name;
1594 #endif
1595 #endif
1596
1597 ;
1598 return 0;
1599 }
1600 _ACEOF
1601 if ac_fn_c_try_compile "$LINENO"; then :
1602 eval "$3=yes"
1603 else
1604 eval "$3=no"
1605 fi
1606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1607 fi
1608 eval ac_res=\$$3
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1610 $as_echo "$ac_res" >&6; }
1611 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1612
1613 } # ac_fn_c_check_decl
1614
1615 # ac_fn_c_try_cpp LINENO
1616 # ----------------------
1617 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1618 ac_fn_c_try_cpp ()
1619 {
1620 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1621 if { { ac_try="$ac_cpp conftest.$ac_ext"
1622 case "(($ac_try" in
1623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1624 *) ac_try_echo=$ac_try;;
1625 esac
1626 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1627 $as_echo "$ac_try_echo"; } >&5
1628 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1629 ac_status=$?
1630 if test -s conftest.err; then
1631 grep -v '^ *+' conftest.err >conftest.er1
1632 cat conftest.er1 >&5
1633 mv -f conftest.er1 conftest.err
1634 fi
1635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1636 test $ac_status = 0; } > conftest.i && {
1637 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1638 test ! -s conftest.err
1639 }; then :
1640 ac_retval=0
1641 else
1642 $as_echo "$as_me: failed program was:" >&5
1643 sed 's/^/| /' conftest.$ac_ext >&5
1644
1645 ac_retval=1
1646 fi
1647 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1648 as_fn_set_status $ac_retval
1649
1650 } # ac_fn_c_try_cpp
1651
1652 # ac_fn_c_try_run LINENO
1653 # ----------------------
1654 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1655 # that executables *can* be run.
1656 ac_fn_c_try_run ()
1657 {
1658 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1659 if { { ac_try="$ac_link"
1660 case "(($ac_try" in
1661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1662 *) ac_try_echo=$ac_try;;
1663 esac
1664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1665 $as_echo "$ac_try_echo"; } >&5
1666 (eval "$ac_link") 2>&5
1667 ac_status=$?
1668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1669 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1670 { { case "(($ac_try" in
1671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1672 *) ac_try_echo=$ac_try;;
1673 esac
1674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1675 $as_echo "$ac_try_echo"; } >&5
1676 (eval "$ac_try") 2>&5
1677 ac_status=$?
1678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1679 test $ac_status = 0; }; }; then :
1680 ac_retval=0
1681 else
1682 $as_echo "$as_me: program exited with status $ac_status" >&5
1683 $as_echo "$as_me: failed program was:" >&5
1684 sed 's/^/| /' conftest.$ac_ext >&5
1685
1686 ac_retval=$ac_status
1687 fi
1688 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1689 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1690 as_fn_set_status $ac_retval
1691
1692 } # ac_fn_c_try_run
1693
1694 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1695 # -------------------------------------------------------
1696 # Tests whether HEADER exists and can be compiled using the include files in
1697 # INCLUDES, setting the cache variable VAR accordingly.
1698 ac_fn_c_check_header_compile ()
1699 {
1700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1702 $as_echo_n "checking for $2... " >&6; }
1703 if eval \${$3+:} false; then :
1704 $as_echo_n "(cached) " >&6
1705 else
1706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1707 /* end confdefs.h. */
1708 $4
1709 #include <$2>
1710 _ACEOF
1711 if ac_fn_c_try_compile "$LINENO"; then :
1712 eval "$3=yes"
1713 else
1714 eval "$3=no"
1715 fi
1716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1717 fi
1718 eval ac_res=\$$3
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1720 $as_echo "$ac_res" >&6; }
1721 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1722
1723 } # ac_fn_c_check_header_compile
1724 cat >config.log <<_ACEOF
1725 This file contains any messages produced by compilers while
1726 running configure, to aid debugging if configure makes a mistake.
1727
1728 It was created by xinit $as_me 1.3.0, which was
1729 generated by GNU Autoconf 2.68. Invocation command line was
1730
1731 $ $0 $@
1732
1733 _ACEOF
1734 exec 5>>config.log
1735 {
1736 cat <<_ASUNAME
1737 ## --------- ##
1738 ## Platform. ##
1739 ## --------- ##
1740
1741 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1742 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1743 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1744 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1745 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1746
1747 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1748 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1749
1750 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1751 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1752 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1753 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1754 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1755 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1756 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1757
1758 _ASUNAME
1759
1760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1761 for as_dir in $PATH
1762 do
1763 IFS=$as_save_IFS
1764 test -z "$as_dir" && as_dir=.
1765 $as_echo "PATH: $as_dir"
1766 done
1767 IFS=$as_save_IFS
1768
1769 } >&5
1770
1771 cat >&5 <<_ACEOF
1772
1773
1774 ## ----------- ##
1775 ## Core tests. ##
1776 ## ----------- ##
1777
1778 _ACEOF
1779
1780
1781 # Keep a trace of the command line.
1782 # Strip out --no-create and --no-recursion so they do not pile up.
1783 # Strip out --silent because we don't want to record it for future runs.
1784 # Also quote any args containing shell meta-characters.
1785 # Make two passes to allow for proper duplicate-argument suppression.
1786 ac_configure_args=
1787 ac_configure_args0=
1788 ac_configure_args1=
1789 ac_must_keep_next=false
1790 for ac_pass in 1 2
1791 do
1792 for ac_arg
1793 do
1794 case $ac_arg in
1795 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1796 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1797 | -silent | --silent | --silen | --sile | --sil)
1798 continue ;;
1799 *\'*)
1800 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1801 esac
1802 case $ac_pass in
1803 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1804 2)
1805 as_fn_append ac_configure_args1 " '$ac_arg'"
1806 if test $ac_must_keep_next = true; then
1807 ac_must_keep_next=false # Got value, back to normal.
1808 else
1809 case $ac_arg in
1810 *=* | --config-cache | -C | -disable-* | --disable-* \
1811 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1812 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1813 | -with-* | --with-* | -without-* | --without-* | --x)
1814 case "$ac_configure_args0 " in
1815 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1816 esac
1817 ;;
1818 -* ) ac_must_keep_next=true ;;
1819 esac
1820 fi
1821 as_fn_append ac_configure_args " '$ac_arg'"
1822 ;;
1823 esac
1824 done
1825 done
1826 { ac_configure_args0=; unset ac_configure_args0;}
1827 { ac_configure_args1=; unset ac_configure_args1;}
1828
1829 # When interrupted or exit'd, cleanup temporary files, and complete
1830 # config.log. We remove comments because anyway the quotes in there
1831 # would cause problems or look ugly.
1832 # WARNING: Use '\'' to represent an apostrophe within the trap.
1833 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1834 trap 'exit_status=$?
1835 # Save into config.log some information that might help in debugging.
1836 {
1837 echo
1838
1839 $as_echo "## ---------------- ##
1840 ## Cache variables. ##
1841 ## ---------------- ##"
1842 echo
1843 # The following way of writing the cache mishandles newlines in values,
1844 (
1845 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1846 eval ac_val=\$$ac_var
1847 case $ac_val in #(
1848 *${as_nl}*)
1849 case $ac_var in #(
1850 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1851 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1852 esac
1853 case $ac_var in #(
1854 _ | IFS | as_nl) ;; #(
1855 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1856 *) { eval $ac_var=; unset $ac_var;} ;;
1857 esac ;;
1858 esac
1859 done
1860 (set) 2>&1 |
1861 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1862 *${as_nl}ac_space=\ *)
1863 sed -n \
1864 "s/'\''/'\''\\\\'\'''\''/g;
1865 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1866 ;; #(
1867 *)
1868 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1869 ;;
1870 esac |
1871 sort
1872 )
1873 echo
1874
1875 $as_echo "## ----------------- ##
1876 ## Output variables. ##
1877 ## ----------------- ##"
1878 echo
1879 for ac_var in $ac_subst_vars
1880 do
1881 eval ac_val=\$$ac_var
1882 case $ac_val in
1883 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1884 esac
1885 $as_echo "$ac_var='\''$ac_val'\''"
1886 done | sort
1887 echo
1888
1889 if test -n "$ac_subst_files"; then
1890 $as_echo "## ------------------- ##
1891 ## File substitutions. ##
1892 ## ------------------- ##"
1893 echo
1894 for ac_var in $ac_subst_files
1895 do
1896 eval ac_val=\$$ac_var
1897 case $ac_val in
1898 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1899 esac
1900 $as_echo "$ac_var='\''$ac_val'\''"
1901 done | sort
1902 echo
1903 fi
1904
1905 if test -s confdefs.h; then
1906 $as_echo "## ----------- ##
1907 ## confdefs.h. ##
1908 ## ----------- ##"
1909 echo
1910 cat confdefs.h
1911 echo
1912 fi
1913 test "$ac_signal" != 0 &&
1914 $as_echo "$as_me: caught signal $ac_signal"
1915 $as_echo "$as_me: exit $exit_status"
1916 } >&5
1917 rm -f core *.core core.conftest.* &&
1918 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1919 exit $exit_status
1920 ' 0
1921 for ac_signal in 1 2 13 15; do
1922 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1923 done
1924 ac_signal=0
1925
1926 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1927 rm -f -r conftest* confdefs.h
1928
1929 $as_echo "/* confdefs.h */" > confdefs.h
1930
1931 # Predefined preprocessor variables.
1932
1933 cat >>confdefs.h <<_ACEOF
1934 #define PACKAGE_NAME "$PACKAGE_NAME"
1935 _ACEOF
1936
1937 cat >>confdefs.h <<_ACEOF
1938 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1939 _ACEOF
1940
1941 cat >>confdefs.h <<_ACEOF
1942 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1943 _ACEOF
1944
1945 cat >>confdefs.h <<_ACEOF
1946 #define PACKAGE_STRING "$PACKAGE_STRING"
1947 _ACEOF
1948
1949 cat >>confdefs.h <<_ACEOF
1950 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1951 _ACEOF
1952
1953 cat >>confdefs.h <<_ACEOF
1954 #define PACKAGE_URL "$PACKAGE_URL"
1955 _ACEOF
1956
1957
1958 # Let the site file select an alternate cache file if it wants to.
1959 # Prefer an explicitly selected file to automatically selected ones.
1960 ac_site_file1=NONE
1961 ac_site_file2=NONE
1962 if test -n "$CONFIG_SITE"; then
1963 # We do not want a PATH search for config.site.
1964 case $CONFIG_SITE in #((
1965 -*) ac_site_file1=./$CONFIG_SITE;;
1966 */*) ac_site_file1=$CONFIG_SITE;;
1967 *) ac_site_file1=./$CONFIG_SITE;;
1968 esac
1969 elif test "x$prefix" != xNONE; then
1970 ac_site_file1=$prefix/share/config.site
1971 ac_site_file2=$prefix/etc/config.site
1972 else
1973 ac_site_file1=$ac_default_prefix/share/config.site
1974 ac_site_file2=$ac_default_prefix/etc/config.site
1975 fi
1976 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1977 do
1978 test "x$ac_site_file" = xNONE && continue
1979 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1981 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1982 sed 's/^/| /' "$ac_site_file" >&5
1983 . "$ac_site_file" \
1984 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1986 as_fn_error $? "failed to load site script $ac_site_file
1987 See \`config.log' for more details" "$LINENO" 5; }
1988 fi
1989 done
1990
1991 if test -r "$cache_file"; then
1992 # Some versions of bash will fail to source /dev/null (special files
1993 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1994 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1996 $as_echo "$as_me: loading cache $cache_file" >&6;}
1997 case $cache_file in
1998 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1999 *) . "./$cache_file";;
2000 esac
2001 fi
2002 else
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2004 $as_echo "$as_me: creating cache $cache_file" >&6;}
2005 >$cache_file
2006 fi
2007
2008 # Check that the precious variables saved in the cache have kept the same
2009 # value.
2010 ac_cache_corrupted=false
2011 for ac_var in $ac_precious_vars; do
2012 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2013 eval ac_new_set=\$ac_env_${ac_var}_set
2014 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2015 eval ac_new_val=\$ac_env_${ac_var}_value
2016 case $ac_old_set,$ac_new_set in
2017 set,)
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2019 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2020 ac_cache_corrupted=: ;;
2021 ,set)
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2023 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2024 ac_cache_corrupted=: ;;
2025 ,);;
2026 *)
2027 if test "x$ac_old_val" != "x$ac_new_val"; then
2028 # differences in whitespace do not lead to failure.
2029 ac_old_val_w=`echo x $ac_old_val`
2030 ac_new_val_w=`echo x $ac_new_val`
2031 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2033 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2034 ac_cache_corrupted=:
2035 else
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2037 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2038 eval $ac_var=\$ac_old_val
2039 fi
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2041 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2043 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2044 fi;;
2045 esac
2046 # Pass precious variables to config.status.
2047 if test "$ac_new_set" = set; then
2048 case $ac_new_val in
2049 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2050 *) ac_arg=$ac_var=$ac_new_val ;;
2051 esac
2052 case " $ac_configure_args " in
2053 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2054 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2055 esac
2056 fi
2057 done
2058 if $ac_cache_corrupted; then
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2060 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2062 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2063 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2064 fi
2065 ## -------------------- ##
2066 ## Main body of script. ##
2067 ## -------------------- ##
2068
2069 ac_ext=c
2070 ac_cpp='$CPP $CPPFLAGS'
2071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2074
2075
2076 am__api_version='1.11'
2077
2078 ac_aux_dir=
2079 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2080 if test -f "$ac_dir/install-sh"; then
2081 ac_aux_dir=$ac_dir
2082 ac_install_sh="$ac_aux_dir/install-sh -c"
2083 break
2084 elif test -f "$ac_dir/install.sh"; then
2085 ac_aux_dir=$ac_dir
2086 ac_install_sh="$ac_aux_dir/install.sh -c"
2087 break
2088 elif test -f "$ac_dir/shtool"; then
2089 ac_aux_dir=$ac_dir
2090 ac_install_sh="$ac_aux_dir/shtool install -c"
2091 break
2092 fi
2093 done
2094 if test -z "$ac_aux_dir"; then
2095 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2096 fi
2097
2098 # These three variables are undocumented and unsupported,
2099 # and are intended to be withdrawn in a future Autoconf release.
2100 # They can cause serious problems if a builder's source tree is in a directory
2101 # whose full name contains unusual characters.
2102 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2103 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2104 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2105
2106
2107 # Find a good install program. We prefer a C program (faster),
2108 # so one script is as good as another. But avoid the broken or
2109 # incompatible versions:
2110 # SysV /etc/install, /usr/sbin/install
2111 # SunOS /usr/etc/install
2112 # IRIX /sbin/install
2113 # AIX /bin/install
2114 # AmigaOS /C/install, which installs bootblocks on floppy discs
2115 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2116 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2117 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2118 # OS/2's system install, which has a completely different semantic
2119 # ./install, which can be erroneously created by make from ./install.sh.
2120 # Reject install programs that cannot install multiple files.
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2122 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2123 if test -z "$INSTALL"; then
2124 if ${ac_cv_path_install+:} false; then :
2125 $as_echo_n "(cached) " >&6
2126 else
2127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2128 for as_dir in $PATH
2129 do
2130 IFS=$as_save_IFS
2131 test -z "$as_dir" && as_dir=.
2132 # Account for people who put trailing slashes in PATH elements.
2133 case $as_dir/ in #((
2134 ./ | .// | /[cC]/* | \
2135 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2136 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2137 /usr/ucb/* ) ;;
2138 *)
2139 # OSF1 and SCO ODT 3.0 have their own names for install.
2140 # Don't use installbsd from OSF since it installs stuff as root
2141 # by default.
2142 for ac_prog in ginstall scoinst install; do
2143 for ac_exec_ext in '' $ac_executable_extensions; do
2144 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2145 if test $ac_prog = install &&
2146 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2147 # AIX install. It has an incompatible calling convention.
2148 :
2149 elif test $ac_prog = install &&
2150 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2151 # program-specific install script used by HP pwplus--don't use.
2152 :
2153 else
2154 rm -rf conftest.one conftest.two conftest.dir
2155 echo one > conftest.one
2156 echo two > conftest.two
2157 mkdir conftest.dir
2158 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2159 test -s conftest.one && test -s conftest.two &&
2160 test -s conftest.dir/conftest.one &&
2161 test -s conftest.dir/conftest.two
2162 then
2163 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2164 break 3
2165 fi
2166 fi
2167 fi
2168 done
2169 done
2170 ;;
2171 esac
2172
2173 done
2174 IFS=$as_save_IFS
2175
2176 rm -rf conftest.one conftest.two conftest.dir
2177
2178 fi
2179 if test "${ac_cv_path_install+set}" = set; then
2180 INSTALL=$ac_cv_path_install
2181 else
2182 # As a last resort, use the slow shell script. Don't cache a
2183 # value for INSTALL within a source directory, because that will
2184 # break other packages using the cache if that directory is
2185 # removed, or if the value is a relative name.
2186 INSTALL=$ac_install_sh
2187 fi
2188 fi
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2190 $as_echo "$INSTALL" >&6; }
2191
2192 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2193 # It thinks the first close brace ends the variable substitution.
2194 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2195
2196 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2197
2198 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2199
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2201 $as_echo_n "checking whether build environment is sane... " >&6; }
2202 # Just in case
2203 sleep 1
2204 echo timestamp > conftest.file
2205 # Reject unsafe characters in $srcdir or the absolute working directory
2206 # name. Accept space and tab only in the latter.
2207 am_lf='
2208 '
2209 case `pwd` in
2210 *[\\\"\#\$\&\'\`$am_lf]*)
2211 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2212 esac
2213 case $srcdir in
2214 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2215 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2216 esac
2217
2218 # Do `set' in a subshell so we don't clobber the current shell's
2219 # arguments. Must try -L first in case configure is actually a
2220 # symlink; some systems play weird games with the mod time of symlinks
2221 # (eg FreeBSD returns the mod time of the symlink's containing
2222 # directory).
2223 if (
2224 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2225 if test "$*" = "X"; then
2226 # -L didn't work.
2227 set X `ls -t "$srcdir/configure" conftest.file`
2228 fi
2229 rm -f conftest.file
2230 if test "$*" != "X $srcdir/configure conftest.file" \
2231 && test "$*" != "X conftest.file $srcdir/configure"; then
2232
2233 # If neither matched, then we have a broken ls. This can happen
2234 # if, for instance, CONFIG_SHELL is bash and it inherits a
2235 # broken ls alias from the environment. This has actually
2236 # happened. Such a system could not be considered "sane".
2237 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2238 alias in your environment" "$LINENO" 5
2239 fi
2240
2241 test "$2" = conftest.file
2242 )
2243 then
2244 # Ok.
2245 :
2246 else
2247 as_fn_error $? "newly created file is older than distributed files!
2248 Check your system clock" "$LINENO" 5
2249 fi
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2251 $as_echo "yes" >&6; }
2252 test "$program_prefix" != NONE &&
2253 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2254 # Use a double $ so make ignores it.
2255 test "$program_suffix" != NONE &&
2256 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2257 # Double any \ or $.
2258 # By default was `s,x,x', remove it if useless.
2259 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2260 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2261
2262 # expand $ac_aux_dir to an absolute path
2263 am_aux_dir=`cd $ac_aux_dir && pwd`
2264
2265 if test x"${MISSING+set}" != xset; then
2266 case $am_aux_dir in
2267 *\ * | *\ *)
2268 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2269 *)
2270 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2271 esac
2272 fi
2273 # Use eval to expand $SHELL
2274 if eval "$MISSING --run true"; then
2275 am_missing_run="$MISSING --run "
2276 else
2277 am_missing_run=
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2279 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2280 fi
2281
2282 if test x"${install_sh}" != xset; then
2283 case $am_aux_dir in
2284 *\ * | *\ *)
2285 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2286 *)
2287 install_sh="\${SHELL} $am_aux_dir/install-sh"
2288 esac
2289 fi
2290
2291 # Installed binaries are usually stripped using `strip' when the user
2292 # run `make install-strip'. However `strip' might not be the right
2293 # tool to use in cross-compilation environments, therefore Automake
2294 # will honor the `STRIP' environment variable to overrule this program.
2295 if test "$cross_compiling" != no; then
2296 if test -n "$ac_tool_prefix"; then
2297 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2298 set dummy ${ac_tool_prefix}strip; ac_word=$2
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2300 $as_echo_n "checking for $ac_word... " >&6; }
2301 if ${ac_cv_prog_STRIP+:} false; then :
2302 $as_echo_n "(cached) " >&6
2303 else
2304 if test -n "$STRIP"; then
2305 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2306 else
2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308 for as_dir in $PATH
2309 do
2310 IFS=$as_save_IFS
2311 test -z "$as_dir" && as_dir=.
2312 for ac_exec_ext in '' $ac_executable_extensions; do
2313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2314 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2316 break 2
2317 fi
2318 done
2319 done
2320 IFS=$as_save_IFS
2321
2322 fi
2323 fi
2324 STRIP=$ac_cv_prog_STRIP
2325 if test -n "$STRIP"; then
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2327 $as_echo "$STRIP" >&6; }
2328 else
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2330 $as_echo "no" >&6; }
2331 fi
2332
2333
2334 fi
2335 if test -z "$ac_cv_prog_STRIP"; then
2336 ac_ct_STRIP=$STRIP
2337 # Extract the first word of "strip", so it can be a program name with args.
2338 set dummy strip; ac_word=$2
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2340 $as_echo_n "checking for $ac_word... " >&6; }
2341 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2342 $as_echo_n "(cached) " >&6
2343 else
2344 if test -n "$ac_ct_STRIP"; then
2345 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2346 else
2347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2348 for as_dir in $PATH
2349 do
2350 IFS=$as_save_IFS
2351 test -z "$as_dir" && as_dir=.
2352 for ac_exec_ext in '' $ac_executable_extensions; do
2353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2354 ac_cv_prog_ac_ct_STRIP="strip"
2355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2356 break 2
2357 fi
2358 done
2359 done
2360 IFS=$as_save_IFS
2361
2362 fi
2363 fi
2364 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2365 if test -n "$ac_ct_STRIP"; then
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2367 $as_echo "$ac_ct_STRIP" >&6; }
2368 else
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2370 $as_echo "no" >&6; }
2371 fi
2372
2373 if test "x$ac_ct_STRIP" = x; then
2374 STRIP=":"
2375 else
2376 case $cross_compiling:$ac_tool_warned in
2377 yes:)
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2380 ac_tool_warned=yes ;;
2381 esac
2382 STRIP=$ac_ct_STRIP
2383 fi
2384 else
2385 STRIP="$ac_cv_prog_STRIP"
2386 fi
2387
2388 fi
2389 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2390
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2392 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2393 if test -z "$MKDIR_P"; then
2394 if ${ac_cv_path_mkdir+:} false; then :
2395 $as_echo_n "(cached) " >&6
2396 else
2397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2398 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2399 do
2400 IFS=$as_save_IFS
2401 test -z "$as_dir" && as_dir=.
2402 for ac_prog in mkdir gmkdir; do
2403 for ac_exec_ext in '' $ac_executable_extensions; do
2404 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2405 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2406 'mkdir (GNU coreutils) '* | \
2407 'mkdir (coreutils) '* | \
2408 'mkdir (fileutils) '4.1*)
2409 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2410 break 3;;
2411 esac
2412 done
2413 done
2414 done
2415 IFS=$as_save_IFS
2416
2417 fi
2418
2419 test -d ./--version && rmdir ./--version
2420 if test "${ac_cv_path_mkdir+set}" = set; then
2421 MKDIR_P="$ac_cv_path_mkdir -p"
2422 else
2423 # As a last resort, use the slow shell script. Don't cache a
2424 # value for MKDIR_P within a source directory, because that will
2425 # break other packages using the cache if that directory is
2426 # removed, or if the value is a relative name.
2427 MKDIR_P="$ac_install_sh -d"
2428 fi
2429 fi
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2431 $as_echo "$MKDIR_P" >&6; }
2432
2433 mkdir_p="$MKDIR_P"
2434 case $mkdir_p in
2435 [\\/$]* | ?:[\\/]*) ;;
2436 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2437 esac
2438
2439 for ac_prog in gawk mawk nawk awk
2440 do
2441 # Extract the first word of "$ac_prog", so it can be a program name with args.
2442 set dummy $ac_prog; ac_word=$2
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2444 $as_echo_n "checking for $ac_word... " >&6; }
2445 if ${ac_cv_prog_AWK+:} false; then :
2446 $as_echo_n "(cached) " >&6
2447 else
2448 if test -n "$AWK"; then
2449 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2450 else
2451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2452 for as_dir in $PATH
2453 do
2454 IFS=$as_save_IFS
2455 test -z "$as_dir" && as_dir=.
2456 for ac_exec_ext in '' $ac_executable_extensions; do
2457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2458 ac_cv_prog_AWK="$ac_prog"
2459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2460 break 2
2461 fi
2462 done
2463 done
2464 IFS=$as_save_IFS
2465
2466 fi
2467 fi
2468 AWK=$ac_cv_prog_AWK
2469 if test -n "$AWK"; then
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2471 $as_echo "$AWK" >&6; }
2472 else
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2474 $as_echo "no" >&6; }
2475 fi
2476
2477
2478 test -n "$AWK" && break
2479 done
2480
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2482 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2483 set x ${MAKE-make}
2484 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2485 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2486 $as_echo_n "(cached) " >&6
2487 else
2488 cat >conftest.make <<\_ACEOF
2489 SHELL = /bin/sh
2490 all:
2491 @echo '@@@%%%=$(MAKE)=@@@%%%'
2492 _ACEOF
2493 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2494 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2495 *@@@%%%=?*=@@@%%%*)
2496 eval ac_cv_prog_make_${ac_make}_set=yes;;
2497 *)
2498 eval ac_cv_prog_make_${ac_make}_set=no;;
2499 esac
2500 rm -f conftest.make
2501 fi
2502 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2504 $as_echo "yes" >&6; }
2505 SET_MAKE=
2506 else
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2508 $as_echo "no" >&6; }
2509 SET_MAKE="MAKE=${MAKE-make}"
2510 fi
2511
2512 rm -rf .tst 2>/dev/null
2513 mkdir .tst 2>/dev/null
2514 if test -d .tst; then
2515 am__leading_dot=.
2516 else
2517 am__leading_dot=_
2518 fi
2519 rmdir .tst 2>/dev/null
2520
2521 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2522 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2523 # is not polluted with repeated "-I."
2524 am__isrc=' -I$(srcdir)'
2525 # test to see if srcdir already configured
2526 if test -f $srcdir/config.status; then
2527 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2528 fi
2529 fi
2530
2531 # test whether we have cygpath
2532 if test -z "$CYGPATH_W"; then
2533 if (cygpath --version) >/dev/null 2>/dev/null; then
2534 CYGPATH_W='cygpath -w'
2535 else
2536 CYGPATH_W=echo
2537 fi
2538 fi
2539
2540
2541 # Define the identity of the package.
2542 PACKAGE='xinit'
2543 VERSION='1.3.0'
2544
2545
2546 cat >>confdefs.h <<_ACEOF
2547 #define PACKAGE "$PACKAGE"
2548 _ACEOF
2549
2550
2551 cat >>confdefs.h <<_ACEOF
2552 #define VERSION "$VERSION"
2553 _ACEOF
2554
2555 # Some tools Automake needs.
2556
2557 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2558
2559
2560 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2561
2562
2563 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2564
2565
2566 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2567
2568
2569 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2570
2571 # We need awk for the "check" target. The system "awk" is bad on
2572 # some platforms.
2573 # Always define AMTAR for backward compatibility.
2574
2575 AMTAR=${AMTAR-"${am_missing_run}tar"}
2576
2577 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2578
2579
2580
2581
2582
2583
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2585 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2586 # Check whether --enable-maintainer-mode was given.
2587 if test "${enable_maintainer_mode+set}" = set; then :
2588 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2589 else
2590 USE_MAINTAINER_MODE=no
2591 fi
2592
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2594 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2595 if test $USE_MAINTAINER_MODE = yes; then
2596 MAINTAINER_MODE_TRUE=
2597 MAINTAINER_MODE_FALSE='#'
2598 else
2599 MAINTAINER_MODE_TRUE='#'
2600 MAINTAINER_MODE_FALSE=
2601 fi
2602
2603 MAINT=$MAINTAINER_MODE_TRUE
2604
2605
2606
2607 # Require X.Org macros 1.8 or later for AC_PROG_SED in XORG_DEFAULT_OPTIONS
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619 DEPDIR="${am__leading_dot}deps"
2620
2621 ac_config_commands="$ac_config_commands depfiles"
2622
2623
2624 am_make=${MAKE-make}
2625 cat > confinc << 'END'
2626 am__doit:
2627 @echo this is the am__doit target
2628 .PHONY: am__doit
2629 END
2630 # If we don't find an include directive, just comment out the code.
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2632 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2633 am__include="#"
2634 am__quote=
2635 _am_result=none
2636 # First try GNU make style include.
2637 echo "include confinc" > confmf
2638 # Ignore all kinds of additional output from `make'.
2639 case `$am_make -s -f confmf 2> /dev/null` in #(
2640 *the\ am__doit\ target*)
2641 am__include=include
2642 am__quote=
2643 _am_result=GNU
2644 ;;
2645 esac
2646 # Now try BSD make style include.
2647 if test "$am__include" = "#"; then
2648 echo '.include "confinc"' > confmf
2649 case `$am_make -s -f confmf 2> /dev/null` in #(
2650 *the\ am__doit\ target*)
2651 am__include=.include
2652 am__quote="\""
2653 _am_result=BSD
2654 ;;
2655 esac
2656 fi
2657
2658
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2660 $as_echo "$_am_result" >&6; }
2661 rm -f confinc confmf
2662
2663 # Check whether --enable-dependency-tracking was given.
2664 if test "${enable_dependency_tracking+set}" = set; then :
2665 enableval=$enable_dependency_tracking;
2666 fi
2667
2668 if test "x$enable_dependency_tracking" != xno; then
2669 am_depcomp="$ac_aux_dir/depcomp"
2670 AMDEPBACKSLASH='\'
2671 fi
2672 if test "x$enable_dependency_tracking" != xno; then
2673 AMDEP_TRUE=
2674 AMDEP_FALSE='#'
2675 else
2676 AMDEP_TRUE='#'
2677 AMDEP_FALSE=
2678 fi
2679
2680
2681 ac_ext=c
2682 ac_cpp='$CPP $CPPFLAGS'
2683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2686 if test -n "$ac_tool_prefix"; then
2687 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2688 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2690 $as_echo_n "checking for $ac_word... " >&6; }
2691 if ${ac_cv_prog_CC+:} false; then :
2692 $as_echo_n "(cached) " >&6
2693 else
2694 if test -n "$CC"; then
2695 ac_cv_prog_CC="$CC" # Let the user override the test.
2696 else
2697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2698 for as_dir in $PATH
2699 do
2700 IFS=$as_save_IFS
2701 test -z "$as_dir" && as_dir=.
2702 for ac_exec_ext in '' $ac_executable_extensions; do
2703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2704 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2706 break 2
2707 fi
2708 done
2709 done
2710 IFS=$as_save_IFS
2711
2712 fi
2713 fi
2714 CC=$ac_cv_prog_CC
2715 if test -n "$CC"; then
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2717 $as_echo "$CC" >&6; }
2718 else
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2720 $as_echo "no" >&6; }
2721 fi
2722
2723
2724 fi
2725 if test -z "$ac_cv_prog_CC"; then
2726 ac_ct_CC=$CC
2727 # Extract the first word of "gcc", so it can be a program name with args.
2728 set dummy gcc; ac_word=$2
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2730 $as_echo_n "checking for $ac_word... " >&6; }
2731 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2732 $as_echo_n "(cached) " >&6
2733 else
2734 if test -n "$ac_ct_CC"; then
2735 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2736 else
2737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2738 for as_dir in $PATH
2739 do
2740 IFS=$as_save_IFS
2741 test -z "$as_dir" && as_dir=.
2742 for ac_exec_ext in '' $ac_executable_extensions; do
2743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2744 ac_cv_prog_ac_ct_CC="gcc"
2745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2746 break 2
2747 fi
2748 done
2749 done
2750 IFS=$as_save_IFS
2751
2752 fi
2753 fi
2754 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2755 if test -n "$ac_ct_CC"; then
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2757 $as_echo "$ac_ct_CC" >&6; }
2758 else
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2760 $as_echo "no" >&6; }
2761 fi
2762
2763 if test "x$ac_ct_CC" = x; then
2764 CC=""
2765 else
2766 case $cross_compiling:$ac_tool_warned in
2767 yes:)
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2769 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2770 ac_tool_warned=yes ;;
2771 esac
2772 CC=$ac_ct_CC
2773 fi
2774 else
2775 CC="$ac_cv_prog_CC"
2776 fi
2777
2778 if test -z "$CC"; then
2779 if test -n "$ac_tool_prefix"; then
2780 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2781 set dummy ${ac_tool_prefix}cc; ac_word=$2
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2783 $as_echo_n "checking for $ac_word... " >&6; }
2784 if ${ac_cv_prog_CC+:} false; then :
2785 $as_echo_n "(cached) " >&6
2786 else
2787 if test -n "$CC"; then
2788 ac_cv_prog_CC="$CC" # Let the user override the test.
2789 else
2790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2791 for as_dir in $PATH
2792 do
2793 IFS=$as_save_IFS
2794 test -z "$as_dir" && as_dir=.
2795 for ac_exec_ext in '' $ac_executable_extensions; do
2796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2797 ac_cv_prog_CC="${ac_tool_prefix}cc"
2798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2799 break 2
2800 fi
2801 done
2802 done
2803 IFS=$as_save_IFS
2804
2805 fi
2806 fi
2807 CC=$ac_cv_prog_CC
2808 if test -n "$CC"; then
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2810 $as_echo "$CC" >&6; }
2811 else
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2813 $as_echo "no" >&6; }
2814 fi
2815
2816
2817 fi
2818 fi
2819 if test -z "$CC"; then
2820 # Extract the first word of "cc", so it can be a program name with args.
2821 set dummy cc; ac_word=$2
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2823 $as_echo_n "checking for $ac_word... " >&6; }
2824 if ${ac_cv_prog_CC+:} false; then :
2825 $as_echo_n "(cached) " >&6
2826 else
2827 if test -n "$CC"; then
2828 ac_cv_prog_CC="$CC" # Let the user override the test.
2829 else
2830 ac_prog_rejected=no
2831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2832 for as_dir in $PATH
2833 do
2834 IFS=$as_save_IFS
2835 test -z "$as_dir" && as_dir=.
2836 for ac_exec_ext in '' $ac_executable_extensions; do
2837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2838 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2839 ac_prog_rejected=yes
2840 continue
2841 fi
2842 ac_cv_prog_CC="cc"
2843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2844 break 2
2845 fi
2846 done
2847 done
2848 IFS=$as_save_IFS
2849
2850 if test $ac_prog_rejected = yes; then
2851 # We found a bogon in the path, so make sure we never use it.
2852 set dummy $ac_cv_prog_CC
2853 shift
2854 if test $# != 0; then
2855 # We chose a different compiler from the bogus one.
2856 # However, it has the same basename, so the bogon will be chosen
2857 # first if we set CC to just the basename; use the full file name.
2858 shift
2859 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2860 fi
2861 fi
2862 fi
2863 fi
2864 CC=$ac_cv_prog_CC
2865 if test -n "$CC"; then
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2867 $as_echo "$CC" >&6; }
2868 else
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2870 $as_echo "no" >&6; }
2871 fi
2872
2873
2874 fi
2875 if test -z "$CC"; then
2876 if test -n "$ac_tool_prefix"; then
2877 for ac_prog in cl.exe
2878 do
2879 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2880 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2882 $as_echo_n "checking for $ac_word... " >&6; }
2883 if ${ac_cv_prog_CC+:} false; then :
2884 $as_echo_n "(cached) " >&6
2885 else
2886 if test -n "$CC"; then
2887 ac_cv_prog_CC="$CC" # Let the user override the test.
2888 else
2889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2890 for as_dir in $PATH
2891 do
2892 IFS=$as_save_IFS
2893 test -z "$as_dir" && as_dir=.
2894 for ac_exec_ext in '' $ac_executable_extensions; do
2895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2896 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2898 break 2
2899 fi
2900 done
2901 done
2902 IFS=$as_save_IFS
2903
2904 fi
2905 fi
2906 CC=$ac_cv_prog_CC
2907 if test -n "$CC"; then
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2909 $as_echo "$CC" >&6; }
2910 else
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2912 $as_echo "no" >&6; }
2913 fi
2914
2915
2916 test -n "$CC" && break
2917 done
2918 fi
2919 if test -z "$CC"; then
2920 ac_ct_CC=$CC
2921 for ac_prog in cl.exe
2922 do
2923 # Extract the first word of "$ac_prog", so it can be a program name with args.
2924 set dummy $ac_prog; ac_word=$2
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2926 $as_echo_n "checking for $ac_word... " >&6; }
2927 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2928 $as_echo_n "(cached) " >&6
2929 else
2930 if test -n "$ac_ct_CC"; then
2931 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2932 else
2933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2934 for as_dir in $PATH
2935 do
2936 IFS=$as_save_IFS
2937 test -z "$as_dir" && as_dir=.
2938 for ac_exec_ext in '' $ac_executable_extensions; do
2939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2940 ac_cv_prog_ac_ct_CC="$ac_prog"
2941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2942 break 2
2943 fi
2944 done
2945 done
2946 IFS=$as_save_IFS
2947
2948 fi
2949 fi
2950 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2951 if test -n "$ac_ct_CC"; then
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2953 $as_echo "$ac_ct_CC" >&6; }
2954 else
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2956 $as_echo "no" >&6; }
2957 fi
2958
2959
2960 test -n "$ac_ct_CC" && break
2961 done
2962
2963 if test "x$ac_ct_CC" = x; then
2964 CC=""
2965 else
2966 case $cross_compiling:$ac_tool_warned in
2967 yes:)
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2969 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2970 ac_tool_warned=yes ;;
2971 esac
2972 CC=$ac_ct_CC
2973 fi
2974 fi
2975
2976 fi
2977
2978
2979 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2980 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2981 as_fn_error $? "no acceptable C compiler found in \$PATH
2982 See \`config.log' for more details" "$LINENO" 5; }
2983
2984 # Provide some information about the compiler.
2985 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2986 set X $ac_compile
2987 ac_compiler=$2
2988 for ac_option in --version -v -V -qversion; do
2989 { { ac_try="$ac_compiler $ac_option >&5"
2990 case "(($ac_try" in
2991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2992 *) ac_try_echo=$ac_try;;
2993 esac
2994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2995 $as_echo "$ac_try_echo"; } >&5
2996 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2997 ac_status=$?
2998 if test -s conftest.err; then
2999 sed '10a\
3000 ... rest of stderr output deleted ...
3001 10q' conftest.err >conftest.er1
3002 cat conftest.er1 >&5
3003 fi
3004 rm -f conftest.er1 conftest.err
3005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3006 test $ac_status = 0; }
3007 done
3008
3009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3010 /* end confdefs.h. */
3011
3012 int
3013 main ()
3014 {
3015
3016 ;
3017 return 0;
3018 }
3019 _ACEOF
3020 ac_clean_files_save=$ac_clean_files
3021 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3022 # Try to create an executable without -o first, disregard a.out.
3023 # It will help us diagnose broken compilers, and finding out an intuition
3024 # of exeext.
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3026 $as_echo_n "checking whether the C compiler works... " >&6; }
3027 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3028
3029 # The possible output files:
3030 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3031
3032 ac_rmfiles=
3033 for ac_file in $ac_files
3034 do
3035 case $ac_file in
3036 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3037 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3038 esac
3039 done
3040 rm -f $ac_rmfiles
3041
3042 if { { ac_try="$ac_link_default"
3043 case "(($ac_try" in
3044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3045 *) ac_try_echo=$ac_try;;
3046 esac
3047 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3048 $as_echo "$ac_try_echo"; } >&5
3049 (eval "$ac_link_default") 2>&5
3050 ac_status=$?
3051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3052 test $ac_status = 0; }; then :
3053 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3054 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3055 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3056 # so that the user can short-circuit this test for compilers unknown to
3057 # Autoconf.
3058 for ac_file in $ac_files ''
3059 do
3060 test -f "$ac_file" || continue
3061 case $ac_file in
3062 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3063 ;;
3064 [ab].out )
3065 # We found the default executable, but exeext='' is most
3066 # certainly right.
3067 break;;
3068 *.* )
3069 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3070 then :; else
3071 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3072 fi
3073 # We set ac_cv_exeext here because the later test for it is not
3074 # safe: cross compilers may not add the suffix if given an `-o'
3075 # argument, so we may need to know it at that point already.
3076 # Even if this section looks crufty: it has the advantage of
3077 # actually working.
3078 break;;
3079 * )
3080 break;;
3081 esac
3082 done
3083 test "$ac_cv_exeext" = no && ac_cv_exeext=
3084
3085 else
3086 ac_file=''
3087 fi
3088 if test -z "$ac_file"; then :
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3090 $as_echo "no" >&6; }
3091 $as_echo "$as_me: failed program was:" >&5
3092 sed 's/^/| /' conftest.$ac_ext >&5
3093
3094 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3096 as_fn_error 77 "C compiler cannot create executables
3097 See \`config.log' for more details" "$LINENO" 5; }
3098 else
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3100 $as_echo "yes" >&6; }
3101 fi
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3103 $as_echo_n "checking for C compiler default output file name... " >&6; }
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3105 $as_echo "$ac_file" >&6; }
3106 ac_exeext=$ac_cv_exeext
3107
3108 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3109 ac_clean_files=$ac_clean_files_save
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3111 $as_echo_n "checking for suffix of executables... " >&6; }
3112 if { { ac_try="$ac_link"
3113 case "(($ac_try" in
3114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3115 *) ac_try_echo=$ac_try;;
3116 esac
3117 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3118 $as_echo "$ac_try_echo"; } >&5
3119 (eval "$ac_link") 2>&5
3120 ac_status=$?
3121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3122 test $ac_status = 0; }; then :
3123 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3124 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3125 # work properly (i.e., refer to `conftest.exe'), while it won't with
3126 # `rm'.
3127 for ac_file in conftest.exe conftest conftest.*; do
3128 test -f "$ac_file" || continue
3129 case $ac_file in
3130 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3131 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3132 break;;
3133 * ) break;;
3134 esac
3135 done
3136 else
3137 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3138 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3139 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3140 See \`config.log' for more details" "$LINENO" 5; }
3141 fi
3142 rm -f conftest conftest$ac_cv_exeext
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3144 $as_echo "$ac_cv_exeext" >&6; }
3145
3146 rm -f conftest.$ac_ext
3147 EXEEXT=$ac_cv_exeext
3148 ac_exeext=$EXEEXT
3149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3150 /* end confdefs.h. */
3151 #include <stdio.h>
3152 int
3153 main ()
3154 {
3155 FILE *f = fopen ("conftest.out", "w");
3156 return ferror (f) || fclose (f) != 0;
3157
3158 ;
3159 return 0;
3160 }
3161 _ACEOF
3162 ac_clean_files="$ac_clean_files conftest.out"
3163 # Check that the compiler produces executables we can run. If not, either
3164 # the compiler is broken, or we cross compile.
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3166 $as_echo_n "checking whether we are cross compiling... " >&6; }
3167 if test "$cross_compiling" != yes; then
3168 { { ac_try="$ac_link"
3169 case "(($ac_try" in
3170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3171 *) ac_try_echo=$ac_try;;
3172 esac
3173 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3174 $as_echo "$ac_try_echo"; } >&5
3175 (eval "$ac_link") 2>&5
3176 ac_status=$?
3177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3178 test $ac_status = 0; }
3179 if { ac_try='./conftest$ac_cv_exeext'
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_try") 2>&5
3187 ac_status=$?
3188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3189 test $ac_status = 0; }; }; then
3190 cross_compiling=no
3191 else
3192 if test "$cross_compiling" = maybe; then
3193 cross_compiling=yes
3194 else
3195 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3196 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3197 as_fn_error $? "cannot run C compiled programs.
3198 If you meant to cross compile, use \`--host'.
3199 See \`config.log' for more details" "$LINENO" 5; }
3200 fi
3201 fi
3202 fi
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3204 $as_echo "$cross_compiling" >&6; }
3205
3206 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3207 ac_clean_files=$ac_clean_files_save
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3209 $as_echo_n "checking for suffix of object files... " >&6; }
3210 if ${ac_cv_objext+:} false; then :
3211 $as_echo_n "(cached) " >&6
3212 else
3213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3214 /* end confdefs.h. */
3215
3216 int
3217 main ()
3218 {
3219
3220 ;
3221 return 0;
3222 }
3223 _ACEOF
3224 rm -f conftest.o conftest.obj
3225 if { { ac_try="$ac_compile"
3226 case "(($ac_try" in
3227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3228 *) ac_try_echo=$ac_try;;
3229 esac
3230 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3231 $as_echo "$ac_try_echo"; } >&5
3232 (eval "$ac_compile") 2>&5
3233 ac_status=$?
3234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3235 test $ac_status = 0; }; then :
3236 for ac_file in conftest.o conftest.obj conftest.*; do
3237 test -f "$ac_file" || continue;
3238 case $ac_file in
3239 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3240 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3241 break;;
3242 esac
3243 done
3244 else
3245 $as_echo "$as_me: failed program was:" >&5
3246 sed 's/^/| /' conftest.$ac_ext >&5
3247
3248 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3250 as_fn_error $? "cannot compute suffix of object files: cannot compile
3251 See \`config.log' for more details" "$LINENO" 5; }
3252 fi
3253 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3254 fi
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3256 $as_echo "$ac_cv_objext" >&6; }
3257 OBJEXT=$ac_cv_objext
3258 ac_objext=$OBJEXT
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3260 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3261 if ${ac_cv_c_compiler_gnu+:} false; then :
3262 $as_echo_n "(cached) " >&6
3263 else
3264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3265 /* end confdefs.h. */
3266
3267 int
3268 main ()
3269 {
3270 #ifndef __GNUC__
3271 choke me
3272 #endif
3273
3274 ;
3275 return 0;
3276 }
3277 _ACEOF
3278 if ac_fn_c_try_compile "$LINENO"; then :
3279 ac_compiler_gnu=yes
3280 else
3281 ac_compiler_gnu=no
3282 fi
3283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3284 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3285
3286 fi
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3288 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3289 if test $ac_compiler_gnu = yes; then
3290 GCC=yes
3291 else
3292 GCC=
3293 fi
3294 ac_test_CFLAGS=${CFLAGS+set}
3295 ac_save_CFLAGS=$CFLAGS
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3297 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3298 if ${ac_cv_prog_cc_g+:} false; then :
3299 $as_echo_n "(cached) " >&6
3300 else
3301 ac_save_c_werror_flag=$ac_c_werror_flag
3302 ac_c_werror_flag=yes
3303 ac_cv_prog_cc_g=no
3304 CFLAGS="-g"
3305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3306 /* end confdefs.h. */
3307
3308 int
3309 main ()
3310 {
3311
3312 ;
3313 return 0;
3314 }
3315 _ACEOF
3316 if ac_fn_c_try_compile "$LINENO"; then :
3317 ac_cv_prog_cc_g=yes
3318 else
3319 CFLAGS=""
3320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3321 /* end confdefs.h. */
3322
3323 int
3324 main ()
3325 {
3326
3327 ;
3328 return 0;
3329 }
3330 _ACEOF
3331 if ac_fn_c_try_compile "$LINENO"; then :
3332
3333 else
3334 ac_c_werror_flag=$ac_save_c_werror_flag
3335 CFLAGS="-g"
3336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3337 /* end confdefs.h. */
3338
3339 int
3340 main ()
3341 {
3342
3343 ;
3344 return 0;
3345 }
3346 _ACEOF
3347 if ac_fn_c_try_compile "$LINENO"; then :
3348 ac_cv_prog_cc_g=yes
3349 fi
3350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3351 fi
3352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3353 fi
3354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3355 ac_c_werror_flag=$ac_save_c_werror_flag
3356 fi
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3358 $as_echo "$ac_cv_prog_cc_g" >&6; }
3359 if test "$ac_test_CFLAGS" = set; then
3360 CFLAGS=$ac_save_CFLAGS
3361 elif test $ac_cv_prog_cc_g = yes; then
3362 if test "$GCC" = yes; then
3363 CFLAGS="-g -O2"
3364 else
3365 CFLAGS="-g"
3366 fi
3367 else
3368 if test "$GCC" = yes; then
3369 CFLAGS="-O2"
3370 else
3371 CFLAGS=
3372 fi
3373 fi
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3375 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3376 if ${ac_cv_prog_cc_c89+:} false; then :
3377 $as_echo_n "(cached) " >&6
3378 else
3379 ac_cv_prog_cc_c89=no
3380 ac_save_CC=$CC
3381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3382 /* end confdefs.h. */
3383 #include <stdarg.h>
3384 #include <stdio.h>
3385 #include <sys/types.h>
3386 #include <sys/stat.h>
3387 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3388 struct buf { int x; };
3389 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3390 static char *e (p, i)
3391 char **p;
3392 int i;
3393 {
3394 return p[i];
3395 }
3396 static char *f (char * (*g) (char **, int), char **p, ...)
3397 {
3398 char *s;
3399 va_list v;
3400 va_start (v,p);
3401 s = g (p, va_arg (v,int));
3402 va_end (v);
3403 return s;
3404 }
3405
3406 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3407 function prototypes and stuff, but not '\xHH' hex character constants.
3408 These don't provoke an error unfortunately, instead are silently treated
3409 as 'x'. The following induces an error, until -std is added to get
3410 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3411 array size at least. It's necessary to write '\x00'==0 to get something
3412 that's true only with -std. */
3413 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3414
3415 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3416 inside strings and character constants. */
3417 #define FOO(x) 'x'
3418 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3419
3420 int test (int i, double x);
3421 struct s1 {int (*f) (int a);};
3422 struct s2 {int (*f) (double a);};
3423 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3424 int argc;
3425 char **argv;
3426 int
3427 main ()
3428 {
3429 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3430 ;
3431 return 0;
3432 }
3433 _ACEOF
3434 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3435 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3436 do
3437 CC="$ac_save_CC $ac_arg"
3438 if ac_fn_c_try_compile "$LINENO"; then :
3439 ac_cv_prog_cc_c89=$ac_arg
3440 fi
3441 rm -f core conftest.err conftest.$ac_objext
3442 test "x$ac_cv_prog_cc_c89" != "xno" && break
3443 done
3444 rm -f conftest.$ac_ext
3445 CC=$ac_save_CC
3446
3447 fi
3448 # AC_CACHE_VAL
3449 case "x$ac_cv_prog_cc_c89" in
3450 x)
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3452 $as_echo "none needed" >&6; } ;;
3453 xno)
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3455 $as_echo "unsupported" >&6; } ;;
3456 *)
3457 CC="$CC $ac_cv_prog_cc_c89"
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3459 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3460 esac
3461 if test "x$ac_cv_prog_cc_c89" != xno; then :
3462
3463 fi
3464
3465 ac_ext=c
3466 ac_cpp='$CPP $CPPFLAGS'
3467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3470
3471 depcc="$CC" am_compiler_list=
3472
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3474 $as_echo_n "checking dependency style of $depcc... " >&6; }
3475 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3476 $as_echo_n "(cached) " >&6
3477 else
3478 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3479 # We make a subdir and do the tests there. Otherwise we can end up
3480 # making bogus files that we don't know about and never remove. For
3481 # instance it was reported that on HP-UX the gcc test will end up
3482 # making a dummy file named `D' -- because `-MD' means `put the output
3483 # in D'.
3484 mkdir conftest.dir
3485 # Copy depcomp to subdir because otherwise we won't find it if we're
3486 # using a relative directory.
3487 cp "$am_depcomp" conftest.dir
3488 cd conftest.dir
3489 # We will build objects and dependencies in a subdirectory because
3490 # it helps to detect inapplicable dependency modes. For instance
3491 # both Tru64's cc and ICC support -MD to output dependencies as a
3492 # side effect of compilation, but ICC will put the dependencies in
3493 # the current directory while Tru64 will put them in the object
3494 # directory.
3495 mkdir sub
3496
3497 am_cv_CC_dependencies_compiler_type=none
3498 if test "$am_compiler_list" = ""; then
3499 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3500 fi
3501 am__universal=false
3502 case " $depcc " in #(
3503 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3504 esac
3505
3506 for depmode in $am_compiler_list; do
3507 # Setup a source with many dependencies, because some compilers
3508 # like to wrap large dependency lists on column 80 (with \), and
3509 # we should not choose a depcomp mode which is confused by this.
3510 #
3511 # We need to recreate these files for each test, as the compiler may
3512 # overwrite some of them when testing with obscure command lines.
3513 # This happens at least with the AIX C compiler.
3514 : > sub/conftest.c
3515 for i in 1 2 3 4 5 6; do
3516 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3517 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3518 # Solaris 8's {/usr,}/bin/sh.
3519 touch sub/conftst$i.h
3520 done
3521 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3522
3523 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3524 # mode. It turns out that the SunPro C++ compiler does not properly
3525 # handle `-M -o', and we need to detect this. Also, some Intel
3526 # versions had trouble with output in subdirs
3527 am__obj=sub/conftest.${OBJEXT-o}
3528 am__minus_obj="-o $am__obj"
3529 case $depmode in
3530 gcc)
3531 # This depmode causes a compiler race in universal mode.
3532 test "$am__universal" = false || continue
3533 ;;
3534 nosideeffect)
3535 # after this tag, mechanisms are not by side-effect, so they'll
3536 # only be used when explicitly requested
3537 if test "x$enable_dependency_tracking" = xyes; then
3538 continue
3539 else
3540 break
3541 fi
3542 ;;
3543 msvisualcpp | msvcmsys)
3544 # This compiler won't grok `-c -o', but also, the minuso test has
3545 # not run yet. These depmodes are late enough in the game, and
3546 # so weak that their functioning should not be impacted.
3547 am__obj=conftest.${OBJEXT-o}
3548 am__minus_obj=
3549 ;;
3550 none) break ;;
3551 esac
3552 if depmode=$depmode \
3553 source=sub/conftest.c object=$am__obj \
3554 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3555 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3556 >/dev/null 2>conftest.err &&
3557 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3558 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3559 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3560 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3561 # icc doesn't choke on unknown options, it will just issue warnings
3562 # or remarks (even with -Werror). So we grep stderr for any message
3563 # that says an option was ignored or not supported.
3564 # When given -MP, icc 7.0 and 7.1 complain thusly:
3565 # icc: Command line warning: ignoring option '-M'; no argument required
3566 # The diagnosis changed in icc 8.0:
3567 # icc: Command line remark: option '-MP' not supported
3568 if (grep 'ignoring option' conftest.err ||
3569 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3570 am_cv_CC_dependencies_compiler_type=$depmode
3571 break
3572 fi
3573 fi
3574 done
3575
3576 cd ..
3577 rm -rf conftest.dir
3578 else
3579 am_cv_CC_dependencies_compiler_type=none
3580 fi
3581
3582 fi
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3584 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3585 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3586
3587 if
3588 test "x$enable_dependency_tracking" != xno \
3589 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3590 am__fastdepCC_TRUE=
3591 am__fastdepCC_FALSE='#'
3592 else
3593 am__fastdepCC_TRUE='#'
3594 am__fastdepCC_FALSE=
3595 fi
3596
3597
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3599 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3600 if ${ac_cv_prog_cc_c99+:} false; then :
3601 $as_echo_n "(cached) " >&6
3602 else
3603 ac_cv_prog_cc_c99=no
3604 ac_save_CC=$CC
3605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3606 /* end confdefs.h. */
3607 #include <stdarg.h>
3608 #include <stdbool.h>
3609 #include <stdlib.h>
3610 #include <wchar.h>
3611 #include <stdio.h>
3612
3613 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3614 #define debug(...) fprintf (stderr, __VA_ARGS__)
3615 #define showlist(...) puts (#__VA_ARGS__)
3616 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3617 static void
3618 test_varargs_macros (void)
3619 {
3620 int x = 1234;
3621 int y = 5678;
3622 debug ("Flag");
3623 debug ("X = %d\n", x);
3624 showlist (The first, second, and third items.);
3625 report (x>y, "x is %d but y is %d", x, y);
3626 }
3627
3628 // Check long long types.
3629 #define BIG64 18446744073709551615ull
3630 #define BIG32 4294967295ul
3631 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3632 #if !BIG_OK
3633 your preprocessor is broken;
3634 #endif
3635 #if BIG_OK
3636 #else
3637 your preprocessor is broken;
3638 #endif
3639 static long long int bignum = -9223372036854775807LL;
3640 static unsigned long long int ubignum = BIG64;
3641
3642 struct incomplete_array
3643 {
3644 int datasize;
3645 double data[];
3646 };
3647
3648 struct named_init {
3649 int number;
3650 const wchar_t *name;
3651 double average;
3652 };
3653
3654 typedef const char *ccp;
3655
3656 static inline int
3657 test_restrict (ccp restrict text)
3658 {
3659 // See if C++-style comments work.
3660 // Iterate through items via the restricted pointer.
3661 // Also check for declarations in for loops.
3662 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3663 continue;
3664 return 0;
3665 }
3666
3667 // Check varargs and va_copy.
3668 static void
3669 test_varargs (const char *format, ...)
3670 {
3671 va_list args;
3672 va_start (args, format);
3673 va_list args_copy;
3674 va_copy (args_copy, args);
3675
3676 const char *str;
3677 int number;
3678 float fnumber;
3679
3680 while (*format)
3681 {
3682 switch (*format++)
3683 {
3684 case 's': // string
3685 str = va_arg (args_copy, const char *);
3686 break;
3687 case 'd': // int
3688 number = va_arg (args_copy, int);
3689 break;
3690 case 'f': // float
3691 fnumber = va_arg (args_copy, double);
3692 break;
3693 default:
3694 break;
3695 }
3696 }
3697 va_end (args_copy);
3698 va_end (args);
3699 }
3700
3701 int
3702 main ()
3703 {
3704
3705 // Check bool.
3706 _Bool success = false;
3707
3708 // Check restrict.
3709 if (test_restrict ("String literal") == 0)
3710 success = true;
3711 char *restrict newvar = "Another string";
3712
3713 // Check varargs.
3714 test_varargs ("s, d' f .", "string", 65, 34.234);
3715 test_varargs_macros ();
3716
3717 // Check flexible array members.
3718 struct incomplete_array *ia =
3719 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3720 ia->datasize = 10;
3721 for (int i = 0; i < ia->datasize; ++i)
3722 ia->data[i] = i * 1.234;
3723
3724 // Check named initializers.
3725 struct named_init ni = {
3726 .number = 34,
3727 .name = L"Test wide string",
3728 .average = 543.34343,
3729 };
3730
3731 ni.number = 58;
3732
3733 int dynamic_array[ni.number];
3734 dynamic_array[ni.number - 1] = 543;
3735
3736 // work around unused variable warnings
3737 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3738 || dynamic_array[ni.number - 1] != 543);
3739
3740 ;
3741 return 0;
3742 }
3743 _ACEOF
3744 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3745 do
3746 CC="$ac_save_CC $ac_arg"
3747 if ac_fn_c_try_compile "$LINENO"; then :
3748 ac_cv_prog_cc_c99=$ac_arg
3749 fi
3750 rm -f core conftest.err conftest.$ac_objext
3751 test "x$ac_cv_prog_cc_c99" != "xno" && break
3752 done
3753 rm -f conftest.$ac_ext
3754 CC=$ac_save_CC
3755
3756 fi
3757 # AC_CACHE_VAL
3758 case "x$ac_cv_prog_cc_c99" in
3759 x)
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3761 $as_echo "none needed" >&6; } ;;
3762 xno)
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3764 $as_echo "unsupported" >&6; } ;;
3765 *)
3766 CC="$CC $ac_cv_prog_cc_c99"
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3768 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3769 esac
3770 if test "x$ac_cv_prog_cc_c99" != xno; then :
3771
3772 fi
3773
3774
3775
3776 ac_ext=c
3777 ac_cpp='$CPP $CPPFLAGS'
3778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3782 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3783 # On Suns, sometimes $CPP names a directory.
3784 if test -n "$CPP" && test -d "$CPP"; then
3785 CPP=
3786 fi
3787 if test -z "$CPP"; then
3788 if ${ac_cv_prog_CPP+:} false; then :
3789 $as_echo_n "(cached) " >&6
3790 else
3791 # Double quotes because CPP needs to be expanded
3792 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3793 do
3794 ac_preproc_ok=false
3795 for ac_c_preproc_warn_flag in '' yes
3796 do
3797 # Use a header file that comes with gcc, so configuring glibc
3798 # with a fresh cross-compiler works.
3799 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3800 # <limits.h> exists even on freestanding compilers.
3801 # On the NeXT, cc -E runs the code through the compiler's parser,
3802 # not just through cpp. "Syntax error" is here to catch this case.
3803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3804 /* end confdefs.h. */
3805 #ifdef __STDC__
3806 # include <limits.h>
3807 #else
3808 # include <assert.h>
3809 #endif
3810 Syntax error
3811 _ACEOF
3812 if ac_fn_c_try_cpp "$LINENO"; then :
3813
3814 else
3815 # Broken: fails on valid input.
3816 continue
3817 fi
3818 rm -f conftest.err conftest.i conftest.$ac_ext
3819
3820 # OK, works on sane cases. Now check whether nonexistent headers
3821 # can be detected and how.
3822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3823 /* end confdefs.h. */
3824 #include <ac_nonexistent.h>
3825 _ACEOF
3826 if ac_fn_c_try_cpp "$LINENO"; then :
3827 # Broken: success on invalid input.
3828 continue
3829 else
3830 # Passes both tests.
3831 ac_preproc_ok=:
3832 break
3833 fi
3834 rm -f conftest.err conftest.i conftest.$ac_ext
3835
3836 done
3837 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3838 rm -f conftest.i conftest.err conftest.$ac_ext
3839 if $ac_preproc_ok; then :
3840 break
3841 fi
3842
3843 done
3844 ac_cv_prog_CPP=$CPP
3845
3846 fi
3847 CPP=$ac_cv_prog_CPP
3848 else
3849 ac_cv_prog_CPP=$CPP
3850 fi
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3852 $as_echo "$CPP" >&6; }
3853 ac_preproc_ok=false
3854 for ac_c_preproc_warn_flag in '' yes
3855 do
3856 # Use a header file that comes with gcc, so configuring glibc
3857 # with a fresh cross-compiler works.
3858 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3859 # <limits.h> exists even on freestanding compilers.
3860 # On the NeXT, cc -E runs the code through the compiler's parser,
3861 # not just through cpp. "Syntax error" is here to catch this case.
3862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3863 /* end confdefs.h. */
3864 #ifdef __STDC__
3865 # include <limits.h>
3866 #else
3867 # include <assert.h>
3868 #endif
3869 Syntax error
3870 _ACEOF
3871 if ac_fn_c_try_cpp "$LINENO"; then :
3872
3873 else
3874 # Broken: fails on valid input.
3875 continue
3876 fi
3877 rm -f conftest.err conftest.i conftest.$ac_ext
3878
3879 # OK, works on sane cases. Now check whether nonexistent headers
3880 # can be detected and how.
3881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3882 /* end confdefs.h. */
3883 #include <ac_nonexistent.h>
3884 _ACEOF
3885 if ac_fn_c_try_cpp "$LINENO"; then :
3886 # Broken: success on invalid input.
3887 continue
3888 else
3889 # Passes both tests.
3890 ac_preproc_ok=:
3891 break
3892 fi
3893 rm -f conftest.err conftest.i conftest.$ac_ext
3894
3895 done
3896 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3897 rm -f conftest.i conftest.err conftest.$ac_ext
3898 if $ac_preproc_ok; then :
3899
3900 else
3901 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3902 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3903 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3904 See \`config.log' for more details" "$LINENO" 5; }
3905 fi
3906
3907 ac_ext=c
3908 ac_cpp='$CPP $CPPFLAGS'
3909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3912
3913
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3915 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3916 if ${ac_cv_path_GREP+:} false; then :
3917 $as_echo_n "(cached) " >&6
3918 else
3919 if test -z "$GREP"; then
3920 ac_path_GREP_found=false
3921 # Loop through the user's path and test for each of PROGNAME-LIST
3922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3923 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3924 do
3925 IFS=$as_save_IFS
3926 test -z "$as_dir" && as_dir=.
3927 for ac_prog in grep ggrep; do
3928 for ac_exec_ext in '' $ac_executable_extensions; do
3929 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3930 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3931 # Check for GNU ac_path_GREP and select it if it is found.
3932 # Check for GNU $ac_path_GREP
3933 case `"$ac_path_GREP" --version 2>&1` in
3934 *GNU*)
3935 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3936 *)
3937 ac_count=0
3938 $as_echo_n 0123456789 >"conftest.in"
3939 while :
3940 do
3941 cat "conftest.in" "conftest.in" >"conftest.tmp"
3942 mv "conftest.tmp" "conftest.in"
3943 cp "conftest.in" "conftest.nl"
3944 $as_echo 'GREP' >> "conftest.nl"
3945 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3946 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3947 as_fn_arith $ac_count + 1 && ac_count=$as_val
3948 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3949 # Best one so far, save it but keep looking for a better one
3950 ac_cv_path_GREP="$ac_path_GREP"
3951 ac_path_GREP_max=$ac_count
3952 fi
3953 # 10*(2^10) chars as input seems more than enough
3954 test $ac_count -gt 10 && break
3955 done
3956 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3957 esac
3958
3959 $ac_path_GREP_found && break 3
3960 done
3961 done
3962 done
3963 IFS=$as_save_IFS
3964 if test -z "$ac_cv_path_GREP"; then
3965 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3966 fi
3967 else
3968 ac_cv_path_GREP=$GREP
3969 fi
3970
3971 fi
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3973 $as_echo "$ac_cv_path_GREP" >&6; }
3974 GREP="$ac_cv_path_GREP"
3975
3976
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3978 $as_echo_n "checking for egrep... " >&6; }
3979 if ${ac_cv_path_EGREP+:} false; then :
3980 $as_echo_n "(cached) " >&6
3981 else
3982 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3983 then ac_cv_path_EGREP="$GREP -E"
3984 else
3985 if test -z "$EGREP"; then
3986 ac_path_EGREP_found=false
3987 # Loop through the user's path and test for each of PROGNAME-LIST
3988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3989 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3990 do
3991 IFS=$as_save_IFS
3992 test -z "$as_dir" && as_dir=.
3993 for ac_prog in egrep; do
3994 for ac_exec_ext in '' $ac_executable_extensions; do
3995 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3996 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3997 # Check for GNU ac_path_EGREP and select it if it is found.
3998 # Check for GNU $ac_path_EGREP
3999 case `"$ac_path_EGREP" --version 2>&1` in
4000 *GNU*)
4001 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4002 *)
4003 ac_count=0
4004 $as_echo_n 0123456789 >"conftest.in"
4005 while :
4006 do
4007 cat "conftest.in" "conftest.in" >"conftest.tmp"
4008 mv "conftest.tmp" "conftest.in"
4009 cp "conftest.in" "conftest.nl"
4010 $as_echo 'EGREP' >> "conftest.nl"
4011 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4012 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4013 as_fn_arith $ac_count + 1 && ac_count=$as_val
4014 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4015 # Best one so far, save it but keep looking for a better one
4016 ac_cv_path_EGREP="$ac_path_EGREP"
4017 ac_path_EGREP_max=$ac_count
4018 fi
4019 # 10*(2^10) chars as input seems more than enough
4020 test $ac_count -gt 10 && break
4021 done
4022 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4023 esac
4024
4025 $ac_path_EGREP_found && break 3
4026 done
4027 done
4028 done
4029 IFS=$as_save_IFS
4030 if test -z "$ac_cv_path_EGREP"; then
4031 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4032 fi
4033 else
4034 ac_cv_path_EGREP=$EGREP
4035 fi
4036
4037 fi
4038 fi
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4040 $as_echo "$ac_cv_path_EGREP" >&6; }
4041 EGREP="$ac_cv_path_EGREP"
4042
4043
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4045 $as_echo_n "checking for ANSI C header files... " >&6; }
4046 if ${ac_cv_header_stdc+:} false; then :
4047 $as_echo_n "(cached) " >&6
4048 else
4049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4050 /* end confdefs.h. */
4051 #include <stdlib.h>
4052 #include <stdarg.h>
4053 #include <string.h>
4054 #include <float.h>
4055
4056 int
4057 main ()
4058 {
4059
4060 ;
4061 return 0;
4062 }
4063 _ACEOF
4064 if ac_fn_c_try_compile "$LINENO"; then :
4065 ac_cv_header_stdc=yes
4066 else
4067 ac_cv_header_stdc=no
4068 fi
4069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4070
4071 if test $ac_cv_header_stdc = yes; then
4072 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4074 /* end confdefs.h. */
4075 #include <string.h>
4076
4077 _ACEOF
4078 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4079 $EGREP "memchr" >/dev/null 2>&1; then :
4080
4081 else
4082 ac_cv_header_stdc=no
4083 fi
4084 rm -f conftest*
4085
4086 fi
4087
4088 if test $ac_cv_header_stdc = yes; then
4089 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4091 /* end confdefs.h. */
4092 #include <stdlib.h>
4093
4094 _ACEOF
4095 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4096 $EGREP "free" >/dev/null 2>&1; then :
4097
4098 else
4099 ac_cv_header_stdc=no
4100 fi
4101 rm -f conftest*
4102
4103 fi
4104
4105 if test $ac_cv_header_stdc = yes; then
4106 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4107 if test "$cross_compiling" = yes; then :
4108 :
4109 else
4110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4111 /* end confdefs.h. */
4112 #include <ctype.h>
4113 #include <stdlib.h>
4114 #if ((' ' & 0x0FF) == 0x020)
4115 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4116 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4117 #else
4118 # define ISLOWER(c) \
4119 (('a' <= (c) && (c) <= 'i') \
4120 || ('j' <= (c) && (c) <= 'r') \
4121 || ('s' <= (c) && (c) <= 'z'))
4122 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4123 #endif
4124
4125 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4126 int
4127 main ()
4128 {
4129 int i;
4130 for (i = 0; i < 256; i++)
4131 if (XOR (islower (i), ISLOWER (i))
4132 || toupper (i) != TOUPPER (i))
4133 return 2;
4134 return 0;
4135 }
4136 _ACEOF
4137 if ac_fn_c_try_run "$LINENO"; then :
4138
4139 else
4140 ac_cv_header_stdc=no
4141 fi
4142 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4143 conftest.$ac_objext conftest.beam conftest.$ac_ext
4144 fi
4145
4146 fi
4147 fi
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4149 $as_echo "$ac_cv_header_stdc" >&6; }
4150 if test $ac_cv_header_stdc = yes; then
4151
4152 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4153
4154 fi
4155
4156 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4157 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4158 inttypes.h stdint.h unistd.h
4159 do :
4160 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4161 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4162 "
4163 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4164 cat >>confdefs.h <<_ACEOF
4165 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4166 _ACEOF
4167
4168 fi
4169
4170 done
4171
4172
4173
4174
4175 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4176 if test -n "$ac_tool_prefix"; then
4177 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4178 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4180 $as_echo_n "checking for $ac_word... " >&6; }
4181 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4182 $as_echo_n "(cached) " >&6
4183 else
4184 case $PKG_CONFIG in
4185 [\\/]* | ?:[\\/]*)
4186 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4187 ;;
4188 *)
4189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4190 for as_dir in $PATH
4191 do
4192 IFS=$as_save_IFS
4193 test -z "$as_dir" && as_dir=.
4194 for ac_exec_ext in '' $ac_executable_extensions; do
4195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4196 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4198 break 2
4199 fi
4200 done
4201 done
4202 IFS=$as_save_IFS
4203
4204 ;;
4205 esac
4206 fi
4207 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4208 if test -n "$PKG_CONFIG"; then
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4210 $as_echo "$PKG_CONFIG" >&6; }
4211 else
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4213 $as_echo "no" >&6; }
4214 fi
4215
4216
4217 fi
4218 if test -z "$ac_cv_path_PKG_CONFIG"; then
4219 ac_pt_PKG_CONFIG=$PKG_CONFIG
4220 # Extract the first word of "pkg-config", so it can be a program name with args.
4221 set dummy pkg-config; ac_word=$2
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4223 $as_echo_n "checking for $ac_word... " >&6; }
4224 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4225 $as_echo_n "(cached) " >&6
4226 else
4227 case $ac_pt_PKG_CONFIG in
4228 [\\/]* | ?:[\\/]*)
4229 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4230 ;;
4231 *)
4232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4233 for as_dir in $PATH
4234 do
4235 IFS=$as_save_IFS
4236 test -z "$as_dir" && as_dir=.
4237 for ac_exec_ext in '' $ac_executable_extensions; do
4238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4239 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4241 break 2
4242 fi
4243 done
4244 done
4245 IFS=$as_save_IFS
4246
4247 ;;
4248 esac
4249 fi
4250 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4251 if test -n "$ac_pt_PKG_CONFIG"; then
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4253 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4254 else
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4256 $as_echo "no" >&6; }
4257 fi
4258
4259 if test "x$ac_pt_PKG_CONFIG" = x; then
4260 PKG_CONFIG=""
4261 else
4262 case $cross_compiling:$ac_tool_warned in
4263 yes:)
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4265 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4266 ac_tool_warned=yes ;;
4267 esac
4268 PKG_CONFIG=$ac_pt_PKG_CONFIG
4269 fi
4270 else
4271 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4272 fi
4273
4274 fi
4275 if test -n "$PKG_CONFIG"; then
4276 _pkg_min_version=0.9.0
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4278 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4279 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4281 $as_echo "yes" >&6; }
4282 else
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4284 $as_echo "no" >&6; }
4285 PKG_CONFIG=""
4286 fi
4287
4288 fi
4289 # Make sure we can run config.sub.
4290 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4291 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4292
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4294 $as_echo_n "checking build system type... " >&6; }
4295 if ${ac_cv_build+:} false; then :
4296 $as_echo_n "(cached) " >&6
4297 else
4298 ac_build_alias=$build_alias
4299 test "x$ac_build_alias" = x &&
4300 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4301 test "x$ac_build_alias" = x &&
4302 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4303 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4304 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4305
4306 fi
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4308 $as_echo "$ac_cv_build" >&6; }
4309 case $ac_cv_build in
4310 *-*-*) ;;
4311 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4312 esac
4313 build=$ac_cv_build
4314 ac_save_IFS=$IFS; IFS='-'
4315 set x $ac_cv_build
4316 shift
4317 build_cpu=$1
4318 build_vendor=$2
4319 shift; shift
4320 # Remember, the first character of IFS is used to create $*,
4321 # except with old shells:
4322 build_os=$*
4323 IFS=$ac_save_IFS
4324 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4325
4326
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4328 $as_echo_n "checking host system type... " >&6; }
4329 if ${ac_cv_host+:} false; then :
4330 $as_echo_n "(cached) " >&6
4331 else
4332 if test "x$host_alias" = x; then
4333 ac_cv_host=$ac_cv_build
4334 else
4335 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4336 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4337 fi
4338
4339 fi
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4341 $as_echo "$ac_cv_host" >&6; }
4342 case $ac_cv_host in
4343 *-*-*) ;;
4344 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4345 esac
4346 host=$ac_cv_host
4347 ac_save_IFS=$IFS; IFS='-'
4348 set x $ac_cv_host
4349 shift
4350 host_cpu=$1
4351 host_vendor=$2
4352 shift; shift
4353 # Remember, the first character of IFS is used to create $*,
4354 # except with old shells:
4355 host_os=$*
4356 IFS=$ac_save_IFS
4357 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4358
4359
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4361 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4362 if ${ac_cv_path_SED+:} false; then :
4363 $as_echo_n "(cached) " >&6
4364 else
4365 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4366 for ac_i in 1 2 3 4 5 6 7; do
4367 ac_script="$ac_script$as_nl$ac_script"
4368 done
4369 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4370 { ac_script=; unset ac_script;}
4371 if test -z "$SED"; then
4372 ac_path_SED_found=false
4373 # Loop through the user's path and test for each of PROGNAME-LIST
4374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4375 for as_dir in $PATH
4376 do
4377 IFS=$as_save_IFS
4378 test -z "$as_dir" && as_dir=.
4379 for ac_prog in sed gsed; do
4380 for ac_exec_ext in '' $ac_executable_extensions; do
4381 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4382 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4383 # Check for GNU ac_path_SED and select it if it is found.
4384 # Check for GNU $ac_path_SED
4385 case `"$ac_path_SED" --version 2>&1` in
4386 *GNU*)
4387 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4388 *)
4389 ac_count=0
4390 $as_echo_n 0123456789 >"conftest.in"
4391 while :
4392 do
4393 cat "conftest.in" "conftest.in" >"conftest.tmp"
4394 mv "conftest.tmp" "conftest.in"
4395 cp "conftest.in" "conftest.nl"
4396 $as_echo '' >> "conftest.nl"
4397 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4398 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4399 as_fn_arith $ac_count + 1 && ac_count=$as_val
4400 if test $ac_count -gt ${ac_path_SED_max-0}; then
4401 # Best one so far, save it but keep looking for a better one
4402 ac_cv_path_SED="$ac_path_SED"
4403 ac_path_SED_max=$ac_count
4404 fi
4405 # 10*(2^10) chars as input seems more than enough
4406 test $ac_count -gt 10 && break
4407 done
4408 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4409 esac
4410
4411 $ac_path_SED_found && break 3
4412 done
4413 done
4414 done
4415 IFS=$as_save_IFS
4416 if test -z "$ac_cv_path_SED"; then
4417 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4418 fi
4419 else
4420 ac_cv_path_SED=$SED
4421 fi
4422
4423 fi
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4425 $as_echo "$ac_cv_path_SED" >&6; }
4426 SED="$ac_cv_path_SED"
4427 rm -f conftest.sed
4428
4429
4430
4431
4432
4433 if test "x$GCC" = xyes ; then
4434 CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
4435 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
4436 -Wbad-function-cast -Wformat=2"
4437 case `$CC -dumpversion` in
4438 3.4.* | 4.*)
4439 CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
4440 ;;
4441 esac
4442 else
4443 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4444 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4445 SUNCC="yes"
4446 else
4447 SUNCC="no"
4448 fi
4449
4450 if test "x$SUNCC" = "xyes"; then
4451 CWARNFLAGS="-v"
4452 fi
4453 fi
4454
4455
4456
4457 # If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
4458
4459
4460
4461 # Check whether --enable-strict-compilation was given.
4462 if test "${enable_strict_compilation+set}" = set; then :
4463 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
4464 else
4465 STRICT_COMPILE=no
4466 fi
4467
4468 if test "x$STRICT_COMPILE" = "xyes"; then
4469 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4470 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4471 SUNCC="yes"
4472 else
4473 SUNCC="no"
4474 fi
4475
4476 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
4477 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
4478 INTELCC="yes"
4479 else
4480 INTELCC="no"
4481 fi
4482
4483 if test "x$GCC" = xyes ; then
4484 STRICT_CFLAGS="-pedantic -Werror"
4485 elif test "x$SUNCC" = "xyes"; then
4486 STRICT_CFLAGS="-errwarn"
4487 elif test "x$INTELCC" = "xyes"; then
4488 STRICT_CFLAGS="-Werror"
4489 fi
4490 fi
4491 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
4492
4493
4494
4495
4496 cat >>confdefs.h <<_ACEOF
4497 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4498 _ACEOF
4499
4500 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
4501 if test "x$PVM" = "x"; then
4502 PVM="0"
4503 fi
4504
4505 cat >>confdefs.h <<_ACEOF
4506 #define PACKAGE_VERSION_MINOR $PVM
4507 _ACEOF
4508
4509 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
4510 if test "x$PVP" = "x"; then
4511 PVP="0"
4512 fi
4513
4514 cat >>confdefs.h <<_ACEOF
4515 #define PACKAGE_VERSION_PATCHLEVEL $PVP
4516 _ACEOF
4517
4518
4519
4520 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
4521 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
4522 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
4523 echo 'git directory not found: installing possibly empty changelog.' >&2)"
4524
4525
4526
4527
4528 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
4529 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
4530 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
4531 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
4532 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
4533
4534
4535
4536
4537
4538
4539 if test x$APP_MAN_SUFFIX = x ; then
4540 APP_MAN_SUFFIX=1
4541 fi
4542 if test x$APP_MAN_DIR = x ; then
4543 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
4544 fi
4545
4546 if test x$LIB_MAN_SUFFIX = x ; then
4547 LIB_MAN_SUFFIX=3
4548 fi
4549 if test x$LIB_MAN_DIR = x ; then
4550 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
4551 fi
4552
4553 if test x$FILE_MAN_SUFFIX = x ; then
4554 case $host_os in
4555 solaris*) FILE_MAN_SUFFIX=4 ;;
4556 *) FILE_MAN_SUFFIX=5 ;;
4557 esac
4558 fi
4559 if test x$FILE_MAN_DIR = x ; then
4560 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
4561 fi
4562
4563 if test x$MISC_MAN_SUFFIX = x ; then
4564 case $host_os in
4565 solaris*) MISC_MAN_SUFFIX=5 ;;
4566 *) MISC_MAN_SUFFIX=7 ;;
4567 esac
4568 fi
4569 if test x$MISC_MAN_DIR = x ; then
4570 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
4571 fi
4572
4573 if test x$DRIVER_MAN_SUFFIX = x ; then
4574 case $host_os in
4575 solaris*) DRIVER_MAN_SUFFIX=7 ;;
4576 *) DRIVER_MAN_SUFFIX=4 ;;
4577 esac
4578 fi
4579 if test x$DRIVER_MAN_DIR = x ; then
4580 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
4581 fi
4582
4583 if test x$ADMIN_MAN_SUFFIX = x ; then
4584 case $host_os in
4585 solaris*) ADMIN_MAN_SUFFIX=1m ;;
4586 *) ADMIN_MAN_SUFFIX=8 ;;
4587 esac
4588 fi
4589 if test x$ADMIN_MAN_DIR = x ; then
4590 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
4591 fi
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607 XORG_MAN_PAGE="X Version 11"
4608
4609 MAN_SUBSTS="\
4610 -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4611 -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4612 -e 's|__xservername__|Xorg|g' \
4613 -e 's|__xconfigfile__|xorg.conf|g' \
4614 -e 's|__projectroot__|\$(prefix)|g' \
4615 -e 's|__apploaddir__|\$(appdefaultdir)|g' \
4616 -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
4617 -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
4618 -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
4619 -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
4620 -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
4621 -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
4622
4623
4624
4625 # Check whether --enable-silent-rules was given.
4626 if test "${enable_silent_rules+set}" = set; then :
4627 enableval=$enable_silent_rules;
4628 fi
4629
4630 case $enable_silent_rules in
4631 yes) AM_DEFAULT_VERBOSITY=0;;
4632 no) AM_DEFAULT_VERBOSITY=1;;
4633 *) AM_DEFAULT_VERBOSITY=0;;
4634 esac
4635 AM_BACKSLASH='\'
4636
4637
4638
4639 ac_config_headers="$ac_config_headers config.h"
4640
4641
4642
4643
4644 for ac_prog in cpp
4645 do
4646 # Extract the first word of "$ac_prog", so it can be a program name with args.
4647 set dummy $ac_prog; ac_word=$2
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4649 $as_echo_n "checking for $ac_word... " >&6; }
4650 if ${ac_cv_path_RAWCPP+:} false; then :
4651 $as_echo_n "(cached) " >&6
4652 else
4653 case $RAWCPP in
4654 [\\/]* | ?:[\\/]*)
4655 ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
4656 ;;
4657 *)
4658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4659 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
4660 for as_dir in $as_dummy
4661 do
4662 IFS=$as_save_IFS
4663 test -z "$as_dir" && as_dir=.
4664 for ac_exec_ext in '' $ac_executable_extensions; do
4665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4666 ac_cv_path_RAWCPP="$as_dir/$ac_word$ac_exec_ext"
4667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4668 break 2
4669 fi
4670 done
4671 done
4672 IFS=$as_save_IFS
4673
4674 ;;
4675 esac
4676 fi
4677 RAWCPP=$ac_cv_path_RAWCPP
4678 if test -n "$RAWCPP"; then
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RAWCPP" >&5
4680 $as_echo "$RAWCPP" >&6; }
4681 else
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4683 $as_echo "no" >&6; }
4684 fi
4685
4686
4687 test -n "$RAWCPP" && break
4688 done
4689 test -n "$RAWCPP" || RAWCPP="${CPP}"
4690
4691
4692 # Check for flag to avoid builtin definitions - assumes unix is predefined,
4693 # which is not the best choice for supporting other OS'es, but covers most
4694 # of the ones we need for now.
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -undef" >&5
4696 $as_echo_n "checking if $RAWCPP requires -undef... " >&6; }
4697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4698 /* end confdefs.h. */
4699 Does cpp redefine unix ?
4700 _ACEOF
4701 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4703 $as_echo "no" >&6; }
4704 else
4705 if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
4706 RAWCPPFLAGS=-undef
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4708 $as_echo "yes" >&6; }
4709 # under Cygwin unix is still defined even with -undef
4710 elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
4711 RAWCPPFLAGS="-undef -ansi"
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, with -ansi" >&5
4713 $as_echo "yes, with -ansi" >&6; }
4714 else
4715 as_fn_error $? "${RAWCPP} defines unix with or without -undef. I don't know what to do." "$LINENO" 5
4716 fi
4717 fi
4718 rm -f conftest.$ac_ext
4719
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -traditional" >&5
4721 $as_echo_n "checking if $RAWCPP requires -traditional... " >&6; }
4722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4723 /* end confdefs.h. */
4724 Does cpp preserve "whitespace"?
4725 _ACEOF
4726 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve \"'` -eq 1 ; then
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4728 $as_echo "no" >&6; }
4729 else
4730 if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve \"'` -eq 1 ; then
4731 RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4733 $as_echo "yes" >&6; }
4734 else
4735 as_fn_error $? "${RAWCPP} does not preserve whitespace with or without -traditional. I don't know what to do." "$LINENO" 5
4736 fi
4737 fi
4738 rm -f conftest.$ac_ext
4739
4740
4741
4742
4743
4744
4745
4746 # Build options
4747 DEFAULT_XRDB=xrdb
4748 DEFAULT_XMODMAP=xmodmap
4749 DEFAULT_TWM=twm
4750 DEFAULT_XCLOCK=xclock
4751 DEFAULT_XTERM=xterm
4752 # You always want to specify the full path to the X server
4753 DEFAULT_XSERVER=${bindir}/X
4754 DEFAULT_XAUTH=xauth
4755 DEFAULT_XINIT=xinit
4756 DEFAULT_XINITDIR=${libdir}/X11/xinit
4757
4758
4759 # Check whether --with-xrdb was given.
4760 if test "${with_xrdb+set}" = set; then :
4761 withval=$with_xrdb; XRDB="$withval"
4762 else
4763 XRDB="$DEFAULT_XRDB"
4764 fi
4765
4766
4767
4768 # Check whether --with-xmodmap was given.
4769 if test "${with_xmodmap+set}" = set; then :
4770 withval=$with_xmodmap; XMODMAP="$withval"
4771 else
4772 XMODMAP="$DEFAULT_XMODMAP"
4773 fi
4774
4775
4776
4777 # Check whether --with-twm was given.
4778 if test "${with_twm+set}" = set; then :
4779 withval=$with_twm; TWM="$withval"
4780 else
4781 TWM="$DEFAULT_TWM"
4782 fi
4783
4784
4785
4786 # Check whether --with-xclock was given.
4787 if test "${with_xclock+set}" = set; then :
4788 withval=$with_xclock; XCLOCK="$withval"
4789 else
4790 XCLOCK="$DEFAULT_XCLOCK"
4791 fi
4792
4793
4794
4795 # Check whether --with-xterm was given.
4796 if test "${with_xterm+set}" = set; then :
4797 withval=$with_xterm; XTERM="$withval"
4798 else
4799 XTERM="$DEFAULT_XTERM"
4800 fi
4801
4802
4803
4804 # Check whether --with-xserver was given.
4805 if test "${with_xserver+set}" = set; then :
4806 withval=$with_xserver; XSERVER="$withval"
4807 else
4808 XSERVER="$DEFAULT_XSERVER"
4809 fi
4810
4811
4812
4813 # Check whether --with-xauth was given.
4814 if test "${with_xauth+set}" = set; then :
4815 withval=$with_xauth; XAUTH="$withval"
4816 else
4817 XAUTH="$DEFAULT_XAUTH"
4818 fi
4819
4820
4821
4822 # Check whether --with-xinit was given.
4823 if test "${with_xinit+set}" = set; then :
4824 withval=$with_xinit; XINIT="$withval"
4825 else
4826 XINIT="$DEFAULT_XINIT"
4827 fi
4828
4829
4830
4831 # Check whether --with-xinitdir was given.
4832 if test "${with_xinitdir+set}" = set; then :
4833 withval=$with_xinitdir; XINITDIR="$withval"
4834 else
4835 XINITDIR="$DEFAULT_XINITDIR"
4836 fi
4837
4838
4839
4840 # Check whether --with-launchd was given.
4841 if test "${with_launchd+set}" = set; then :
4842 withval=$with_launchd; LAUNCHD=$withval
4843 else
4844 LAUNCHD=auto
4845 fi
4846
4847
4848 # Check whether --with-launchagents-dir was given.
4849 if test "${with_launchagents_dir+set}" = set; then :
4850 withval=$with_launchagents_dir; launchagentsdir="${withval}"
4851 else
4852 launchagentsdir="/Library/LaunchAgents"
4853 fi
4854
4855
4856 # Check whether --with-launchdaemons-dir was given.
4857 if test "${with_launchdaemons_dir+set}" = set; then :
4858 withval=$with_launchdaemons_dir; launchdaemonsdir="${withval}"
4859 else
4860 launchdaemonsdir="/Library/LaunchDaemons"
4861 fi
4862
4863
4864 # Check whether --with-launchd-id-prefix was given.
4865 if test "${with_launchd_id_prefix+set}" = set; then :
4866 withval=$with_launchd_id_prefix; launchdidprefix="${withval}"
4867 else
4868 launchdidprefix="org.x"
4869 fi
4870
4871
4872 if test "x$LAUNCHD" = "xauto"; then
4873 unset LAUNCHD
4874 # Extract the first word of "launchd", so it can be a program name with args.
4875 set dummy launchd; ac_word=$2
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4877 $as_echo_n "checking for $ac_word... " >&6; }
4878 if ${ac_cv_prog_LAUNCHD+:} false; then :
4879 $as_echo_n "(cached) " >&6
4880 else
4881 if test -n "$LAUNCHD"; then
4882 ac_cv_prog_LAUNCHD="$LAUNCHD" # Let the user override the test.
4883 else
4884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4885 for as_dir in $PATH$PATH_SEPARATOR/sbin
4886 do
4887 IFS=$as_save_IFS
4888 test -z "$as_dir" && as_dir=.
4889 for ac_exec_ext in '' $ac_executable_extensions; do
4890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4891 ac_cv_prog_LAUNCHD="yes"
4892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4893 break 2
4894 fi
4895 done
4896 done
4897 IFS=$as_save_IFS
4898
4899 test -z "$ac_cv_prog_LAUNCHD" && ac_cv_prog_LAUNCHD="no"
4900 fi
4901 fi
4902 LAUNCHD=$ac_cv_prog_LAUNCHD
4903 if test -n "$LAUNCHD"; then
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LAUNCHD" >&5
4905 $as_echo "$LAUNCHD" >&6; }
4906 else
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4908 $as_echo "no" >&6; }
4909 fi
4910
4911
4912 fi
4913
4914 TIGER_LAUNCHD=no
4915 if test "x$LAUNCHD" = "xyes" ; then
4916
4917 $as_echo "#define HAVE_LAUNCHD 1" >>confdefs.h
4918
4919 case $host_os in
4920 darwin8*)
4921 TIGER_LAUNCHD=yes
4922 ;;
4923 esac
4924 else
4925 launchagentsdir=""
4926 launchdaemonsdir=""
4927 fi
4928
4929
4930 cat >>confdefs.h <<_ACEOF
4931 #define LAUNCHD_ID_PREFIX "$launchdidprefix"
4932 _ACEOF
4933
4934
4935
4936
4937 if test "x$LAUNCHD" = "xyes"; then
4938 LAUNCHD_TRUE=
4939 LAUNCHD_FALSE='#'
4940 else
4941 LAUNCHD_TRUE='#'
4942 LAUNCHD_FALSE=
4943 fi
4944
4945 if test "x$TIGER_LAUNCHD" = "xyes"; then
4946 TIGER_LAUNCHD_TRUE=
4947 TIGER_LAUNCHD_FALSE='#'
4948 else
4949 TIGER_LAUNCHD_TRUE='#'
4950 TIGER_LAUNCHD_FALSE=
4951 fi
4952
4953
4954 # Checks for pkg-config packages
4955
4956 pkg_failed=no
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XINIT" >&5
4958 $as_echo_n "checking for XINIT... " >&6; }
4959
4960 if test -n "$XINIT_CFLAGS"; then
4961 pkg_cv_XINIT_CFLAGS="$XINIT_CFLAGS"
4962 elif test -n "$PKG_CONFIG"; then
4963 if test -n "$PKG_CONFIG" && \
4964 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
4965 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
4966 ac_status=$?
4967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4968 test $ac_status = 0; }; then
4969 pkg_cv_XINIT_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
4970 else
4971 pkg_failed=yes
4972 fi
4973 else
4974 pkg_failed=untried
4975 fi
4976 if test -n "$XINIT_LIBS"; then
4977 pkg_cv_XINIT_LIBS="$XINIT_LIBS"
4978 elif test -n "$PKG_CONFIG"; then
4979 if test -n "$PKG_CONFIG" && \
4980 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
4981 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
4982 ac_status=$?
4983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4984 test $ac_status = 0; }; then
4985 pkg_cv_XINIT_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
4986 else
4987 pkg_failed=yes
4988 fi
4989 else
4990 pkg_failed=untried
4991 fi
4992
4993
4994
4995 if test $pkg_failed = yes; then
4996
4997 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4998 _pkg_short_errors_supported=yes
4999 else
5000 _pkg_short_errors_supported=no
5001 fi
5002 if test $_pkg_short_errors_supported = yes; then
5003 XINIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11" 2>&1`
5004 else
5005 XINIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11" 2>&1`
5006 fi
5007 # Put the nasty error message in config.log where it belongs
5008 echo "$XINIT_PKG_ERRORS" >&5
5009
5010 as_fn_error $? "Package requirements (x11) were not met:
5011
5012 $XINIT_PKG_ERRORS
5013
5014 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5015 installed software in a non-standard prefix.
5016
5017 Alternatively, you may set the environment variables XINIT_CFLAGS
5018 and XINIT_LIBS to avoid the need to call pkg-config.
5019 See the pkg-config man page for more details.
5020 " "$LINENO" 5
5021 elif test $pkg_failed = untried; then
5022 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5024 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
5025 is in your PATH or set the PKG_CONFIG environment variable to the full
5026 path to pkg-config.
5027
5028 Alternatively, you may set the environment variables XINIT_CFLAGS
5029 and XINIT_LIBS to avoid the need to call pkg-config.
5030 See the pkg-config man page for more details.
5031
5032 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5033 See \`config.log' for more details" "$LINENO" 5; }
5034 else
5035 XINIT_CFLAGS=$pkg_cv_XINIT_CFLAGS
5036 XINIT_LIBS=$pkg_cv_XINIT_LIBS
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5038 $as_echo "yes" >&6; }
5039 :
5040 fi
5041
5042 case $host_os in
5043 *bsd*)
5044 XINIT_CFLAGS="$XINIT_CFLAGS -DCSRG_BASED"
5045 ;;
5046 esac
5047
5048
5049
5050
5051 for ac_prog in mcookie
5052 do
5053 # Extract the first word of "$ac_prog", so it can be a program name with args.
5054 set dummy $ac_prog; ac_word=$2
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5056 $as_echo_n "checking for $ac_word... " >&6; }
5057 if ${ac_cv_path_MCOOKIE+:} false; then :
5058 $as_echo_n "(cached) " >&6
5059 else
5060 case $MCOOKIE in
5061 [\\/]* | ?:[\\/]*)
5062 ac_cv_path_MCOOKIE="$MCOOKIE" # Let the user override the test with a path.
5063 ;;
5064 *)
5065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5066 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/local/bin"
5067 for as_dir in $as_dummy
5068 do
5069 IFS=$as_save_IFS
5070 test -z "$as_dir" && as_dir=.
5071 for ac_exec_ext in '' $ac_executable_extensions; do
5072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5073 ac_cv_path_MCOOKIE="$as_dir/$ac_word$ac_exec_ext"
5074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5075 break 2
5076 fi
5077 done
5078 done
5079 IFS=$as_save_IFS
5080
5081 ;;
5082 esac
5083 fi
5084 MCOOKIE=$ac_cv_path_MCOOKIE
5085 if test -n "$MCOOKIE"; then
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MCOOKIE" >&5
5087 $as_echo "$MCOOKIE" >&6; }
5088 else
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5090 $as_echo "no" >&6; }
5091 fi
5092
5093
5094 test -n "$MCOOKIE" && break
5095 done
5096 test -n "$MCOOKIE" || MCOOKIE="$MCOOKIE"
5097
5098
5099 case $host_os in
5100 *openbsd*)
5101 MCOOKIE='/usr/sbin/openssl rand -hex 16'
5102 ;;
5103 *solaris*)
5104 MCOOKIE="/usr/bin/od -X -A n -N 16 /dev/urandom | /usr/bin/tr -d ' '"
5105 ;;
5106 esac
5107
5108 if test "x$MCOOKIE" != x ; then
5109 STARTX_COOKIE_FLAGS='-DHAS_COOKIE_MAKER -DMK_COOKIE="$(MCOOKIE)"'
5110 fi
5111
5112
5113 # Additional substitutions in startx, xinitrc & man pages
5114 ARCHMANDEFS=""
5115 SHELL_CMD="/bin/sh"
5116 XSERVERNAME="Xorg"
5117 XCONFIGFILE="xorg.conf"
5118 XCONFIGFILEMAN='${XCONFIGFILE} (__filemansuffix__)'
5119 case $host_os in
5120 cygwin*)
5121 XSERVERNAME="XWin"
5122 XCONFIGFILE="XWinrc"
5123 ;;
5124 darwin*)
5125 XSERVERNAME="Xquartz"
5126 XCONFIGFILE="defaults"
5127 XCONFIGFILEMAN='defaults (1)'
5128 ;;
5129 *solaris*)
5130 SHELL_CMD="/bin/ksh"
5131 ;;
5132 *sco*)
5133 SHELL_CMD="/bin/ksh"
5134 ARCHMANDEFS="-D__SCOMAN__"
5135 ;;
5136 esac
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153 ac_config_files="$ac_config_files Makefile"
5154
5155 cat >confcache <<\_ACEOF
5156 # This file is a shell script that caches the results of configure
5157 # tests run on this system so they can be shared between configure
5158 # scripts and configure runs, see configure's option --config-cache.
5159 # It is not useful on other systems. If it contains results you don't
5160 # want to keep, you may remove or edit it.
5161 #
5162 # config.status only pays attention to the cache file if you give it
5163 # the --recheck option to rerun configure.
5164 #
5165 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5166 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5167 # following values.
5168
5169 _ACEOF
5170
5171 # The following way of writing the cache mishandles newlines in values,
5172 # but we know of no workaround that is simple, portable, and efficient.
5173 # So, we kill variables containing newlines.
5174 # Ultrix sh set writes to stderr and can't be redirected directly,
5175 # and sets the high bit in the cache file unless we assign to the vars.
5176 (
5177 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5178 eval ac_val=\$$ac_var
5179 case $ac_val in #(
5180 *${as_nl}*)
5181 case $ac_var in #(
5182 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5183 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5184 esac
5185 case $ac_var in #(
5186 _ | IFS | as_nl) ;; #(
5187 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5188 *) { eval $ac_var=; unset $ac_var;} ;;
5189 esac ;;
5190 esac
5191 done
5192
5193 (set) 2>&1 |
5194 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5195 *${as_nl}ac_space=\ *)
5196 # `set' does not quote correctly, so add quotes: double-quote
5197 # substitution turns \\\\ into \\, and sed turns \\ into \.
5198 sed -n \
5199 "s/'/'\\\\''/g;
5200 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5201 ;; #(
5202 *)
5203 # `set' quotes correctly as required by POSIX, so do not add quotes.
5204 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5205 ;;
5206 esac |
5207 sort
5208 ) |
5209 sed '
5210 /^ac_cv_env_/b end
5211 t clear
5212 :clear
5213 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5214 t end
5215 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5216 :end' >>confcache
5217 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5218 if test -w "$cache_file"; then
5219 if test "x$cache_file" != "x/dev/null"; then
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5221 $as_echo "$as_me: updating cache $cache_file" >&6;}
5222 if test ! -f "$cache_file" || test -h "$cache_file"; then
5223 cat confcache >"$cache_file"
5224 else
5225 case $cache_file in #(
5226 */* | ?:*)
5227 mv -f confcache "$cache_file"$$ &&
5228 mv -f "$cache_file"$$ "$cache_file" ;; #(
5229 *)
5230 mv -f confcache "$cache_file" ;;
5231 esac
5232 fi
5233 fi
5234 else
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5236 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5237 fi
5238 fi
5239 rm -f confcache
5240
5241 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5242 # Let make expand exec_prefix.
5243 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5244
5245 DEFS=-DHAVE_CONFIG_H
5246
5247 ac_libobjs=
5248 ac_ltlibobjs=
5249 U=
5250 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5251 # 1. Remove the extension, and $U if already installed.
5252 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5253 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5254 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5255 # will be set to the directory where LIBOBJS objects are built.
5256 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5257 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5258 done
5259 LIBOBJS=$ac_libobjs
5260
5261 LTLIBOBJS=$ac_ltlibobjs
5262
5263
5264 if test -n "$EXEEXT"; then
5265 am__EXEEXT_TRUE=
5266 am__EXEEXT_FALSE='#'
5267 else
5268 am__EXEEXT_TRUE='#'
5269 am__EXEEXT_FALSE=
5270 fi
5271
5272 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5273 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
5274 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5275 fi
5276 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5277 as_fn_error $? "conditional \"AMDEP\" was never defined.
5278 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5279 fi
5280 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5281 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5282 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5283 fi
5284 if test -z "${LAUNCHD_TRUE}" && test -z "${LAUNCHD_FALSE}"; then
5285 as_fn_error $? "conditional \"LAUNCHD\" was never defined.
5286 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5287 fi
5288 if test -z "${TIGER_LAUNCHD_TRUE}" && test -z "${TIGER_LAUNCHD_FALSE}"; then
5289 as_fn_error $? "conditional \"TIGER_LAUNCHD\" was never defined.
5290 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5291 fi
5292
5293 : "${CONFIG_STATUS=./config.status}"
5294 ac_write_fail=0
5295 ac_clean_files_save=$ac_clean_files
5296 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5298 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5299 as_write_fail=0
5300 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5301 #! $SHELL
5302 # Generated by $as_me.
5303 # Run this file to recreate the current configuration.
5304 # Compiler output produced by configure, useful for debugging
5305 # configure, is in config.log if it exists.
5306
5307 debug=false
5308 ac_cs_recheck=false
5309 ac_cs_silent=false
5310
5311 SHELL=\${CONFIG_SHELL-$SHELL}
5312 export SHELL
5313 _ASEOF
5314 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5315 ## -------------------- ##
5316 ## M4sh Initialization. ##
5317 ## -------------------- ##
5318
5319 # Be more Bourne compatible
5320 DUALCASE=1; export DUALCASE # for MKS sh
5321 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5322 emulate sh
5323 NULLCMD=:
5324 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5325 # is contrary to our usage. Disable this feature.
5326 alias -g '${1+"$@"}'='"$@"'
5327 setopt NO_GLOB_SUBST
5328 else
5329 case `(set -o) 2>/dev/null` in #(
5330 *posix*) :
5331 set -o posix ;; #(
5332 *) :
5333 ;;
5334 esac
5335 fi
5336
5337
5338 as_nl='
5339 '
5340 export as_nl
5341 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5342 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5343 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5344 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5345 # Prefer a ksh shell builtin over an external printf program on Solaris,
5346 # but without wasting forks for bash or zsh.
5347 if test -z "$BASH_VERSION$ZSH_VERSION" \
5348 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5349 as_echo='print -r --'
5350 as_echo_n='print -rn --'
5351 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5352 as_echo='printf %s\n'
5353 as_echo_n='printf %s'
5354 else
5355 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5356 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5357 as_echo_n='/usr/ucb/echo -n'
5358 else
5359 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5360 as_echo_n_body='eval
5361 arg=$1;
5362 case $arg in #(
5363 *"$as_nl"*)
5364 expr "X$arg" : "X\\(.*\\)$as_nl";
5365 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5366 esac;
5367 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5368 '
5369 export as_echo_n_body
5370 as_echo_n='sh -c $as_echo_n_body as_echo'
5371 fi
5372 export as_echo_body
5373 as_echo='sh -c $as_echo_body as_echo'
5374 fi
5375
5376 # The user is always right.
5377 if test "${PATH_SEPARATOR+set}" != set; then
5378 PATH_SEPARATOR=:
5379 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5380 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5381 PATH_SEPARATOR=';'
5382 }
5383 fi
5384
5385
5386 # IFS
5387 # We need space, tab and new line, in precisely that order. Quoting is
5388 # there to prevent editors from complaining about space-tab.
5389 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5390 # splitting by setting IFS to empty value.)
5391 IFS=" "" $as_nl"
5392
5393 # Find who we are. Look in the path if we contain no directory separator.
5394 as_myself=
5395 case $0 in #((
5396 *[\\/]* ) as_myself=$0 ;;
5397 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5398 for as_dir in $PATH
5399 do
5400 IFS=$as_save_IFS
5401 test -z "$as_dir" && as_dir=.
5402 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5403 done
5404 IFS=$as_save_IFS
5405
5406 ;;
5407 esac
5408 # We did not find ourselves, most probably we were run as `sh COMMAND'
5409 # in which case we are not to be found in the path.
5410 if test "x$as_myself" = x; then
5411 as_myself=$0
5412 fi
5413 if test ! -f "$as_myself"; then
5414 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5415 exit 1
5416 fi
5417
5418 # Unset variables that we do not need and which cause bugs (e.g. in
5419 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5420 # suppresses any "Segmentation fault" message there. '((' could
5421 # trigger a bug in pdksh 5.2.14.
5422 for as_var in BASH_ENV ENV MAIL MAILPATH
5423 do eval test x\${$as_var+set} = xset \
5424 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5425 done
5426 PS1='$ '
5427 PS2='> '
5428 PS4='+ '
5429
5430 # NLS nuisances.
5431 LC_ALL=C
5432 export LC_ALL
5433 LANGUAGE=C
5434 export LANGUAGE
5435
5436 # CDPATH.
5437 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5438
5439
5440 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5441 # ----------------------------------------
5442 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5443 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5444 # script with STATUS, using 1 if that was 0.
5445 as_fn_error ()
5446 {
5447 as_status=$1; test $as_status -eq 0 && as_status=1
5448 if test "$4"; then
5449 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5450 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5451 fi
5452 $as_echo "$as_me: error: $2" >&2
5453 as_fn_exit $as_status
5454 } # as_fn_error
5455
5456
5457 # as_fn_set_status STATUS
5458 # -----------------------
5459 # Set $? to STATUS, without forking.
5460 as_fn_set_status ()
5461 {
5462 return $1
5463 } # as_fn_set_status
5464
5465 # as_fn_exit STATUS
5466 # -----------------
5467 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5468 as_fn_exit ()
5469 {
5470 set +e
5471 as_fn_set_status $1
5472 exit $1
5473 } # as_fn_exit
5474
5475 # as_fn_unset VAR
5476 # ---------------
5477 # Portably unset VAR.
5478 as_fn_unset ()
5479 {
5480 { eval $1=; unset $1;}
5481 }
5482 as_unset=as_fn_unset
5483 # as_fn_append VAR VALUE
5484 # ----------------------
5485 # Append the text in VALUE to the end of the definition contained in VAR. Take
5486 # advantage of any shell optimizations that allow amortized linear growth over
5487 # repeated appends, instead of the typical quadratic growth present in naive
5488 # implementations.
5489 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5490 eval 'as_fn_append ()
5491 {
5492 eval $1+=\$2
5493 }'
5494 else
5495 as_fn_append ()
5496 {
5497 eval $1=\$$1\$2
5498 }
5499 fi # as_fn_append
5500
5501 # as_fn_arith ARG...
5502 # ------------------
5503 # Perform arithmetic evaluation on the ARGs, and store the result in the
5504 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5505 # must be portable across $(()) and expr.
5506 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5507 eval 'as_fn_arith ()
5508 {
5509 as_val=$(( $* ))
5510 }'
5511 else
5512 as_fn_arith ()
5513 {
5514 as_val=`expr "$@" || test $? -eq 1`
5515 }
5516 fi # as_fn_arith
5517
5518
5519 if expr a : '\(a\)' >/dev/null 2>&1 &&
5520 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5521 as_expr=expr
5522 else
5523 as_expr=false
5524 fi
5525
5526 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5527 as_basename=basename
5528 else
5529 as_basename=false
5530 fi
5531
5532 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5533 as_dirname=dirname
5534 else
5535 as_dirname=false
5536 fi
5537
5538 as_me=`$as_basename -- "$0" ||
5539 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5540 X"$0" : 'X\(//\)$' \| \
5541 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5542 $as_echo X/"$0" |
5543 sed '/^.*\/\([^/][^/]*\)\/*$/{
5544 s//\1/
5545 q
5546 }
5547 /^X\/\(\/\/\)$/{
5548 s//\1/
5549 q
5550 }
5551 /^X\/\(\/\).*/{
5552 s//\1/
5553 q
5554 }
5555 s/.*/./; q'`
5556
5557 # Avoid depending upon Character Ranges.
5558 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5559 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5560 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5561 as_cr_digits='0123456789'
5562 as_cr_alnum=$as_cr_Letters$as_cr_digits
5563
5564 ECHO_C= ECHO_N= ECHO_T=
5565 case `echo -n x` in #(((((
5566 -n*)
5567 case `echo 'xy\c'` in
5568 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5569 xy) ECHO_C='\c';;
5570 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5571 ECHO_T=' ';;
5572 esac;;
5573 *)
5574 ECHO_N='-n';;
5575 esac
5576
5577 rm -f conf$$ conf$$.exe conf$$.file
5578 if test -d conf$$.dir; then
5579 rm -f conf$$.dir/conf$$.file
5580 else
5581 rm -f conf$$.dir
5582 mkdir conf$$.dir 2>/dev/null
5583 fi
5584 if (echo >conf$$.file) 2>/dev/null; then
5585 if ln -s conf$$.file conf$$ 2>/dev/null; then
5586 as_ln_s='ln -s'
5587 # ... but there are two gotchas:
5588 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5589 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5590 # In both cases, we have to default to `cp -p'.
5591 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5592 as_ln_s='cp -p'
5593 elif ln conf$$.file conf$$ 2>/dev/null; then
5594 as_ln_s=ln
5595 else
5596 as_ln_s='cp -p'
5597 fi
5598 else
5599 as_ln_s='cp -p'
5600 fi
5601 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5602 rmdir conf$$.dir 2>/dev/null
5603
5604
5605 # as_fn_mkdir_p
5606 # -------------
5607 # Create "$as_dir" as a directory, including parents if necessary.
5608 as_fn_mkdir_p ()
5609 {
5610
5611 case $as_dir in #(
5612 -*) as_dir=./$as_dir;;
5613 esac
5614 test -d "$as_dir" || eval $as_mkdir_p || {
5615 as_dirs=
5616 while :; do
5617 case $as_dir in #(
5618 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5619 *) as_qdir=$as_dir;;
5620 esac
5621 as_dirs="'$as_qdir' $as_dirs"
5622 as_dir=`$as_dirname -- "$as_dir" ||
5623 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5624 X"$as_dir" : 'X\(//\)[^/]' \| \
5625 X"$as_dir" : 'X\(//\)$' \| \
5626 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5627 $as_echo X"$as_dir" |
5628 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5629 s//\1/
5630 q
5631 }
5632 /^X\(\/\/\)[^/].*/{
5633 s//\1/
5634 q
5635 }
5636 /^X\(\/\/\)$/{
5637 s//\1/
5638 q
5639 }
5640 /^X\(\/\).*/{
5641 s//\1/
5642 q
5643 }
5644 s/.*/./; q'`
5645 test -d "$as_dir" && break
5646 done
5647 test -z "$as_dirs" || eval "mkdir $as_dirs"
5648 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5649
5650
5651 } # as_fn_mkdir_p
5652 if mkdir -p . 2>/dev/null; then
5653 as_mkdir_p='mkdir -p "$as_dir"'
5654 else
5655 test -d ./-p && rmdir ./-p
5656 as_mkdir_p=false
5657 fi
5658
5659 if test -x / >/dev/null 2>&1; then
5660 as_test_x='test -x'
5661 else
5662 if ls -dL / >/dev/null 2>&1; then
5663 as_ls_L_option=L
5664 else
5665 as_ls_L_option=
5666 fi
5667 as_test_x='
5668 eval sh -c '\''
5669 if test -d "$1"; then
5670 test -d "$1/.";
5671 else
5672 case $1 in #(
5673 -*)set "./$1";;
5674 esac;
5675 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5676 ???[sx]*):;;*)false;;esac;fi
5677 '\'' sh
5678 '
5679 fi
5680 as_executable_p=$as_test_x
5681
5682 # Sed expression to map a string onto a valid CPP name.
5683 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5684
5685 # Sed expression to map a string onto a valid variable name.
5686 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5687
5688
5689 exec 6>&1
5690 ## ----------------------------------- ##
5691 ## Main body of $CONFIG_STATUS script. ##
5692 ## ----------------------------------- ##
5693 _ASEOF
5694 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5695
5696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5697 # Save the log message, to keep $0 and so on meaningful, and to
5698 # report actual input values of CONFIG_FILES etc. instead of their
5699 # values after options handling.
5700 ac_log="
5701 This file was extended by xinit $as_me 1.3.0, which was
5702 generated by GNU Autoconf 2.68. Invocation command line was
5703
5704 CONFIG_FILES = $CONFIG_FILES
5705 CONFIG_HEADERS = $CONFIG_HEADERS
5706 CONFIG_LINKS = $CONFIG_LINKS
5707 CONFIG_COMMANDS = $CONFIG_COMMANDS
5708 $ $0 $@
5709
5710 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5711 "
5712
5713 _ACEOF
5714
5715 case $ac_config_files in *"
5716 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5717 esac
5718
5719 case $ac_config_headers in *"
5720 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5721 esac
5722
5723
5724 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5725 # Files that config.status was made for.
5726 config_files="$ac_config_files"
5727 config_headers="$ac_config_headers"
5728 config_commands="$ac_config_commands"
5729
5730 _ACEOF
5731
5732 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5733 ac_cs_usage="\
5734 \`$as_me' instantiates files and other configuration actions
5735 from templates according to the current configuration. Unless the files
5736 and actions are specified as TAGs, all are instantiated by default.
5737
5738 Usage: $0 [OPTION]... [TAG]...
5739
5740 -h, --help print this help, then exit
5741 -V, --version print version number and configuration settings, then exit
5742 --config print configuration, then exit
5743 -q, --quiet, --silent
5744 do not print progress messages
5745 -d, --debug don't remove temporary files
5746 --recheck update $as_me by reconfiguring in the same conditions
5747 --file=FILE[:TEMPLATE]
5748 instantiate the configuration file FILE
5749 --header=FILE[:TEMPLATE]
5750 instantiate the configuration header FILE
5751
5752 Configuration files:
5753 $config_files
5754
5755 Configuration headers:
5756 $config_headers
5757
5758 Configuration commands:
5759 $config_commands
5760
5761 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
5762
5763 _ACEOF
5764 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5765 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5766 ac_cs_version="\\
5767 xinit config.status 1.3.0
5768 configured by $0, generated by GNU Autoconf 2.68,
5769 with options \\"\$ac_cs_config\\"
5770
5771 Copyright (C) 2010 Free Software Foundation, Inc.
5772 This config.status script is free software; the Free Software Foundation
5773 gives unlimited permission to copy, distribute and modify it."
5774
5775 ac_pwd='$ac_pwd'
5776 srcdir='$srcdir'
5777 INSTALL='$INSTALL'
5778 MKDIR_P='$MKDIR_P'
5779 AWK='$AWK'
5780 test -n "\$AWK" || AWK=awk
5781 _ACEOF
5782
5783 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5784 # The default lists apply if the user does not specify any file.
5785 ac_need_defaults=:
5786 while test $# != 0
5787 do
5788 case $1 in
5789 --*=?*)
5790 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5791 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5792 ac_shift=:
5793 ;;
5794 --*=)
5795 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5796 ac_optarg=
5797 ac_shift=:
5798 ;;
5799 *)
5800 ac_option=$1
5801 ac_optarg=$2
5802 ac_shift=shift
5803 ;;
5804 esac
5805
5806 case $ac_option in
5807 # Handling of the options.
5808 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5809 ac_cs_recheck=: ;;
5810 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5811 $as_echo "$ac_cs_version"; exit ;;
5812 --config | --confi | --conf | --con | --co | --c )
5813 $as_echo "$ac_cs_config"; exit ;;
5814 --debug | --debu | --deb | --de | --d | -d )
5815 debug=: ;;
5816 --file | --fil | --fi | --f )
5817 $ac_shift
5818 case $ac_optarg in
5819 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5820 '') as_fn_error $? "missing file argument" ;;
5821 esac
5822 as_fn_append CONFIG_FILES " '$ac_optarg'"
5823 ac_need_defaults=false;;
5824 --header | --heade | --head | --hea )
5825 $ac_shift
5826 case $ac_optarg in
5827 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5828 esac
5829 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5830 ac_need_defaults=false;;
5831 --he | --h)
5832 # Conflict between --help and --header
5833 as_fn_error $? "ambiguous option: \`$1'
5834 Try \`$0 --help' for more information.";;
5835 --help | --hel | -h )
5836 $as_echo "$ac_cs_usage"; exit ;;
5837 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5838 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5839 ac_cs_silent=: ;;
5840
5841 # This is an error.
5842 -*) as_fn_error $? "unrecognized option: \`$1'
5843 Try \`$0 --help' for more information." ;;
5844
5845 *) as_fn_append ac_config_targets " $1"
5846 ac_need_defaults=false ;;
5847
5848 esac
5849 shift
5850 done
5851
5852 ac_configure_extra_args=
5853
5854 if $ac_cs_silent; then
5855 exec 6>/dev/null
5856 ac_configure_extra_args="$ac_configure_extra_args --silent"
5857 fi
5858
5859 _ACEOF
5860 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5861 if \$ac_cs_recheck; then
5862 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5863 shift
5864 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5865 CONFIG_SHELL='$SHELL'
5866 export CONFIG_SHELL
5867 exec "\$@"
5868 fi
5869
5870 _ACEOF
5871 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5872 exec 5>>config.log
5873 {
5874 echo
5875 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5876 ## Running $as_me. ##
5877 _ASBOX
5878 $as_echo "$ac_log"
5879 } >&5
5880
5881 _ACEOF
5882 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5883 #
5884 # INIT-COMMANDS
5885 #
5886 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5887
5888 _ACEOF
5889
5890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5891
5892 # Handling of arguments.
5893 for ac_config_target in $ac_config_targets
5894 do
5895 case $ac_config_target in
5896 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5897 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5898 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5899
5900 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5901 esac
5902 done
5903
5904
5905 # If the user did not use the arguments to specify the items to instantiate,
5906 # then the envvar interface is used. Set only those that are not.
5907 # We use the long form for the default assignment because of an extremely
5908 # bizarre bug on SunOS 4.1.3.
5909 if $ac_need_defaults; then
5910 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5911 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5912 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5913 fi
5914
5915 # Have a temporary directory for convenience. Make it in the build tree
5916 # simply because there is no reason against having it here, and in addition,
5917 # creating and moving files from /tmp can sometimes cause problems.
5918 # Hook for its removal unless debugging.
5919 # Note that there is a small window in which the directory will not be cleaned:
5920 # after its creation but before its name has been assigned to `$tmp'.
5921 $debug ||
5922 {
5923 tmp= ac_tmp=
5924 trap 'exit_status=$?
5925 : "${ac_tmp:=$tmp}"
5926 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5927 ' 0
5928 trap 'as_fn_exit 1' 1 2 13 15
5929 }
5930 # Create a (secure) tmp directory for tmp files.
5931
5932 {
5933 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5934 test -d "$tmp"
5935 } ||
5936 {
5937 tmp=./conf$$-$RANDOM
5938 (umask 077 && mkdir "$tmp")
5939 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5940 ac_tmp=$tmp
5941
5942 # Set up the scripts for CONFIG_FILES section.
5943 # No need to generate them if there are no CONFIG_FILES.
5944 # This happens for instance with `./config.status config.h'.
5945 if test -n "$CONFIG_FILES"; then
5946
5947
5948 ac_cr=`echo X | tr X '\015'`
5949 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5950 # But we know of no other shell where ac_cr would be empty at this
5951 # point, so we can use a bashism as a fallback.
5952 if test "x$ac_cr" = x; then
5953 eval ac_cr=\$\'\\r\'
5954 fi
5955 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5956 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5957 ac_cs_awk_cr='\\r'
5958 else
5959 ac_cs_awk_cr=$ac_cr
5960 fi
5961
5962 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5963 _ACEOF
5964
5965
5966 {
5967 echo "cat >conf$$subs.awk <<_ACEOF" &&
5968 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5969 echo "_ACEOF"
5970 } >conf$$subs.sh ||
5971 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5972 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5973 ac_delim='%!_!# '
5974 for ac_last_try in false false false false false :; do
5975 . ./conf$$subs.sh ||
5976 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5977
5978 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5979 if test $ac_delim_n = $ac_delim_num; then
5980 break
5981 elif $ac_last_try; then
5982 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5983 else
5984 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5985 fi
5986 done
5987 rm -f conf$$subs.sh
5988
5989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5990 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5991 _ACEOF
5992 sed -n '
5993 h
5994 s/^/S["/; s/!.*/"]=/
5995 p
5996 g
5997 s/^[^!]*!//
5998 :repl
5999 t repl
6000 s/'"$ac_delim"'$//
6001 t delim
6002 :nl
6003 h
6004 s/\(.\{148\}\)..*/\1/
6005 t more1
6006 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6007 p
6008 n
6009 b repl
6010 :more1
6011 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6012 p
6013 g
6014 s/.\{148\}//
6015 t nl
6016 :delim
6017 h
6018 s/\(.\{148\}\)..*/\1/
6019 t more2
6020 s/["\\]/\\&/g; s/^/"/; s/$/"/
6021 p
6022 b
6023 :more2
6024 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6025 p
6026 g
6027 s/.\{148\}//
6028 t delim
6029 ' <conf$$subs.awk | sed '
6030 /^[^""]/{
6031 N
6032 s/\n//
6033 }
6034 ' >>$CONFIG_STATUS || ac_write_fail=1
6035 rm -f conf$$subs.awk
6036 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6037 _ACAWK
6038 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6039 for (key in S) S_is_set[key] = 1
6040 FS = ""
6041
6042 }
6043 {
6044 line = $ 0
6045 nfields = split(line, field, "@")
6046 substed = 0
6047 len = length(field[1])
6048 for (i = 2; i < nfields; i++) {
6049 key = field[i]
6050 keylen = length(key)
6051 if (S_is_set[key]) {
6052 value = S[key]
6053 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6054 len += length(value) + length(field[++i])
6055 substed = 1
6056 } else
6057 len += 1 + keylen
6058 }
6059
6060 print line
6061 }
6062
6063 _ACAWK
6064 _ACEOF
6065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6066 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6067 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6068 else
6069 cat
6070 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6071 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6072 _ACEOF
6073
6074 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6075 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6076 # trailing colons and then remove the whole line if VPATH becomes empty
6077 # (actually we leave an empty line to preserve line numbers).
6078 if test "x$srcdir" = x.; then
6079 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6080 h
6081 s///
6082 s/^/:/
6083 s/[ ]*$/:/
6084 s/:\$(srcdir):/:/g
6085 s/:\${srcdir}:/:/g
6086 s/:@srcdir@:/:/g
6087 s/^:*//
6088 s/:*$//
6089 x
6090 s/\(=[ ]*\).*/\1/
6091 G
6092 s/\n//
6093 s/^[^=]*=[ ]*$//
6094 }'
6095 fi
6096
6097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6098 fi # test -n "$CONFIG_FILES"
6099
6100 # Set up the scripts for CONFIG_HEADERS section.
6101 # No need to generate them if there are no CONFIG_HEADERS.
6102 # This happens for instance with `./config.status Makefile'.
6103 if test -n "$CONFIG_HEADERS"; then
6104 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6105 BEGIN {
6106 _ACEOF
6107
6108 # Transform confdefs.h into an awk script `defines.awk', embedded as
6109 # here-document in config.status, that substitutes the proper values into
6110 # config.h.in to produce config.h.
6111
6112 # Create a delimiter string that does not exist in confdefs.h, to ease
6113 # handling of long lines.
6114 ac_delim='%!_!# '
6115 for ac_last_try in false false :; do
6116 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6117 if test -z "$ac_tt"; then
6118 break
6119 elif $ac_last_try; then
6120 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6121 else
6122 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6123 fi
6124 done
6125
6126 # For the awk script, D is an array of macro values keyed by name,
6127 # likewise P contains macro parameters if any. Preserve backslash
6128 # newline sequences.
6129
6130 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6131 sed -n '
6132 s/.\{148\}/&'"$ac_delim"'/g
6133 t rset
6134 :rset
6135 s/^[ ]*#[ ]*define[ ][ ]*/ /
6136 t def
6137 d
6138 :def
6139 s/\\$//
6140 t bsnl
6141 s/["\\]/\\&/g
6142 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6143 D["\1"]=" \3"/p
6144 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6145 d
6146 :bsnl
6147 s/["\\]/\\&/g
6148 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6149 D["\1"]=" \3\\\\\\n"\\/p
6150 t cont
6151 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6152 t cont
6153 d
6154 :cont
6155 n
6156 s/.\{148\}/&'"$ac_delim"'/g
6157 t clear
6158 :clear
6159 s/\\$//
6160 t bsnlc
6161 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6162 d
6163 :bsnlc
6164 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6165 b cont
6166 ' <confdefs.h | sed '
6167 s/'"$ac_delim"'/"\\\
6168 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6169
6170 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6171 for (key in D) D_is_set[key] = 1
6172 FS = ""
6173 }
6174 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6175 line = \$ 0
6176 split(line, arg, " ")
6177 if (arg[1] == "#") {
6178 defundef = arg[2]
6179 mac1 = arg[3]
6180 } else {
6181 defundef = substr(arg[1], 2)
6182 mac1 = arg[2]
6183 }
6184 split(mac1, mac2, "(") #)
6185 macro = mac2[1]
6186 prefix = substr(line, 1, index(line, defundef) - 1)
6187 if (D_is_set[macro]) {
6188 # Preserve the white space surrounding the "#".
6189 print prefix "define", macro P[macro] D[macro]
6190 next
6191 } else {
6192 # Replace #undef with comments. This is necessary, for example,
6193 # in the case of _POSIX_SOURCE, which is predefined and required
6194 # on some systems where configure will not decide to define it.
6195 if (defundef == "undef") {
6196 print "/*", prefix defundef, macro, "*/"
6197 next
6198 }
6199 }
6200 }
6201 { print }
6202 _ACAWK
6203 _ACEOF
6204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6205 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6206 fi # test -n "$CONFIG_HEADERS"
6207
6208
6209 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6210 shift
6211 for ac_tag
6212 do
6213 case $ac_tag in
6214 :[FHLC]) ac_mode=$ac_tag; continue;;
6215 esac
6216 case $ac_mode$ac_tag in
6217 :[FHL]*:*);;
6218 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6219 :[FH]-) ac_tag=-:-;;
6220 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6221 esac
6222 ac_save_IFS=$IFS
6223 IFS=:
6224 set x $ac_tag
6225 IFS=$ac_save_IFS
6226 shift
6227 ac_file=$1
6228 shift
6229
6230 case $ac_mode in
6231 :L) ac_source=$1;;
6232 :[FH])
6233 ac_file_inputs=
6234 for ac_f
6235 do
6236 case $ac_f in
6237 -) ac_f="$ac_tmp/stdin";;
6238 *) # Look for the file first in the build tree, then in the source tree
6239 # (if the path is not absolute). The absolute path cannot be DOS-style,
6240 # because $ac_f cannot contain `:'.
6241 test -f "$ac_f" ||
6242 case $ac_f in
6243 [\\/$]*) false;;
6244 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6245 esac ||
6246 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6247 esac
6248 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6249 as_fn_append ac_file_inputs " '$ac_f'"
6250 done
6251
6252 # Let's still pretend it is `configure' which instantiates (i.e., don't
6253 # use $as_me), people would be surprised to read:
6254 # /* config.h. Generated by config.status. */
6255 configure_input='Generated from '`
6256 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6257 `' by configure.'
6258 if test x"$ac_file" != x-; then
6259 configure_input="$ac_file. $configure_input"
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6261 $as_echo "$as_me: creating $ac_file" >&6;}
6262 fi
6263 # Neutralize special characters interpreted by sed in replacement strings.
6264 case $configure_input in #(
6265 *\&* | *\|* | *\\* )
6266 ac_sed_conf_input=`$as_echo "$configure_input" |
6267 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6268 *) ac_sed_conf_input=$configure_input;;
6269 esac
6270
6271 case $ac_tag in
6272 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6273 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6274 esac
6275 ;;
6276 esac
6277
6278 ac_dir=`$as_dirname -- "$ac_file" ||
6279 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6280 X"$ac_file" : 'X\(//\)[^/]' \| \
6281 X"$ac_file" : 'X\(//\)$' \| \
6282 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6283 $as_echo X"$ac_file" |
6284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6285 s//\1/
6286 q
6287 }
6288 /^X\(\/\/\)[^/].*/{
6289 s//\1/
6290 q
6291 }
6292 /^X\(\/\/\)$/{
6293 s//\1/
6294 q
6295 }
6296 /^X\(\/\).*/{
6297 s//\1/
6298 q
6299 }
6300 s/.*/./; q'`
6301 as_dir="$ac_dir"; as_fn_mkdir_p
6302 ac_builddir=.
6303
6304 case "$ac_dir" in
6305 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6306 *)
6307 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6308 # A ".." for each directory in $ac_dir_suffix.
6309 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6310 case $ac_top_builddir_sub in
6311 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6312 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6313 esac ;;
6314 esac
6315 ac_abs_top_builddir=$ac_pwd
6316 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6317 # for backward compatibility:
6318 ac_top_builddir=$ac_top_build_prefix
6319
6320 case $srcdir in
6321 .) # We are building in place.
6322 ac_srcdir=.
6323 ac_top_srcdir=$ac_top_builddir_sub
6324 ac_abs_top_srcdir=$ac_pwd ;;
6325 [\\/]* | ?:[\\/]* ) # Absolute name.
6326 ac_srcdir=$srcdir$ac_dir_suffix;
6327 ac_top_srcdir=$srcdir
6328 ac_abs_top_srcdir=$srcdir ;;
6329 *) # Relative name.
6330 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6331 ac_top_srcdir=$ac_top_build_prefix$srcdir
6332 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6333 esac
6334 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6335
6336
6337 case $ac_mode in
6338 :F)
6339 #
6340 # CONFIG_FILE
6341 #
6342
6343 case $INSTALL in
6344 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6345 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6346 esac
6347 ac_MKDIR_P=$MKDIR_P
6348 case $MKDIR_P in
6349 [\\/$]* | ?:[\\/]* ) ;;
6350 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6351 esac
6352 _ACEOF
6353
6354 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6355 # If the template does not know about datarootdir, expand it.
6356 # FIXME: This hack should be removed a few years after 2.60.
6357 ac_datarootdir_hack=; ac_datarootdir_seen=
6358 ac_sed_dataroot='
6359 /datarootdir/ {
6360 p
6361 q
6362 }
6363 /@datadir@/p
6364 /@docdir@/p
6365 /@infodir@/p
6366 /@localedir@/p
6367 /@mandir@/p'
6368 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6369 *datarootdir*) ac_datarootdir_seen=yes;;
6370 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6372 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6373 _ACEOF
6374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6375 ac_datarootdir_hack='
6376 s&@datadir@&$datadir&g
6377 s&@docdir@&$docdir&g
6378 s&@infodir@&$infodir&g
6379 s&@localedir@&$localedir&g
6380 s&@mandir@&$mandir&g
6381 s&\\\${datarootdir}&$datarootdir&g' ;;
6382 esac
6383 _ACEOF
6384
6385 # Neutralize VPATH when `$srcdir' = `.'.
6386 # Shell code in configure.ac might set extrasub.
6387 # FIXME: do we really want to maintain this feature?
6388 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6389 ac_sed_extra="$ac_vpsub
6390 $extrasub
6391 _ACEOF
6392 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6393 :t
6394 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6395 s|@configure_input@|$ac_sed_conf_input|;t t
6396 s&@top_builddir@&$ac_top_builddir_sub&;t t
6397 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6398 s&@srcdir@&$ac_srcdir&;t t
6399 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6400 s&@top_srcdir@&$ac_top_srcdir&;t t
6401 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6402 s&@builddir@&$ac_builddir&;t t
6403 s&@abs_builddir@&$ac_abs_builddir&;t t
6404 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6405 s&@INSTALL@&$ac_INSTALL&;t t
6406 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6407 $ac_datarootdir_hack
6408 "
6409 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6410 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6411
6412 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6413 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6414 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6415 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6417 which seems to be undefined. Please make sure it is defined" >&5
6418 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6419 which seems to be undefined. Please make sure it is defined" >&2;}
6420
6421 rm -f "$ac_tmp/stdin"
6422 case $ac_file in
6423 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6424 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6425 esac \
6426 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6427 ;;
6428 :H)
6429 #
6430 # CONFIG_HEADER
6431 #
6432 if test x"$ac_file" != x-; then
6433 {
6434 $as_echo "/* $configure_input */" \
6435 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6436 } >"$ac_tmp/config.h" \
6437 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6438 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6440 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6441 else
6442 rm -f "$ac_file"
6443 mv "$ac_tmp/config.h" "$ac_file" \
6444 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6445 fi
6446 else
6447 $as_echo "/* $configure_input */" \
6448 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6449 || as_fn_error $? "could not create -" "$LINENO" 5
6450 fi
6451 # Compute "$ac_file"'s index in $config_headers.
6452 _am_arg="$ac_file"
6453 _am_stamp_count=1
6454 for _am_header in $config_headers :; do
6455 case $_am_header in
6456 $_am_arg | $_am_arg:* )
6457 break ;;
6458 * )
6459 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6460 esac
6461 done
6462 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6463 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6464 X"$_am_arg" : 'X\(//\)[^/]' \| \
6465 X"$_am_arg" : 'X\(//\)$' \| \
6466 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6467 $as_echo X"$_am_arg" |
6468 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6469 s//\1/
6470 q
6471 }
6472 /^X\(\/\/\)[^/].*/{
6473 s//\1/
6474 q
6475 }
6476 /^X\(\/\/\)$/{
6477 s//\1/
6478 q
6479 }
6480 /^X\(\/\).*/{
6481 s//\1/
6482 q
6483 }
6484 s/.*/./; q'`/stamp-h$_am_stamp_count
6485 ;;
6486
6487 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6488 $as_echo "$as_me: executing $ac_file commands" >&6;}
6489 ;;
6490 esac
6491
6492
6493 case $ac_file$ac_mode in
6494 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6495 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6496 # are listed without --file. Let's play safe and only enable the eval
6497 # if we detect the quoting.
6498 case $CONFIG_FILES in
6499 *\'*) eval set x "$CONFIG_FILES" ;;
6500 *) set x $CONFIG_FILES ;;
6501 esac
6502 shift
6503 for mf
6504 do
6505 # Strip MF so we end up with the name of the file.
6506 mf=`echo "$mf" | sed -e 's/:.*$//'`
6507 # Check whether this is an Automake generated Makefile or not.
6508 # We used to match only the files named `Makefile.in', but
6509 # some people rename them; so instead we look at the file content.
6510 # Grep'ing the first line is not enough: some people post-process
6511 # each Makefile.in and add a new line on top of each file to say so.
6512 # Grep'ing the whole file is not good either: AIX grep has a line
6513 # limit of 2048, but all sed's we know have understand at least 4000.
6514 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6515 dirpart=`$as_dirname -- "$mf" ||
6516 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6517 X"$mf" : 'X\(//\)[^/]' \| \
6518 X"$mf" : 'X\(//\)$' \| \
6519 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6520 $as_echo X"$mf" |
6521 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6522 s//\1/
6523 q
6524 }
6525 /^X\(\/\/\)[^/].*/{
6526 s//\1/
6527 q
6528 }
6529 /^X\(\/\/\)$/{
6530 s//\1/
6531 q
6532 }
6533 /^X\(\/\).*/{
6534 s//\1/
6535 q
6536 }
6537 s/.*/./; q'`
6538 else
6539 continue
6540 fi
6541 # Extract the definition of DEPDIR, am__include, and am__quote
6542 # from the Makefile without running `make'.
6543 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6544 test -z "$DEPDIR" && continue
6545 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6546 test -z "am__include" && continue
6547 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6548 # When using ansi2knr, U may be empty or an underscore; expand it
6549 U=`sed -n 's/^U = //p' < "$mf"`
6550 # Find all dependency output files, they are included files with
6551 # $(DEPDIR) in their names. We invoke sed twice because it is the
6552 # simplest approach to changing $(DEPDIR) to its actual value in the
6553 # expansion.
6554 for file in `sed -n "
6555 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6556 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6557 # Make sure the directory exists.
6558 test -f "$dirpart/$file" && continue
6559 fdir=`$as_dirname -- "$file" ||
6560 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6561 X"$file" : 'X\(//\)[^/]' \| \
6562 X"$file" : 'X\(//\)$' \| \
6563 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6564 $as_echo X"$file" |
6565 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6566 s//\1/
6567 q
6568 }
6569 /^X\(\/\/\)[^/].*/{
6570 s//\1/
6571 q
6572 }
6573 /^X\(\/\/\)$/{
6574 s//\1/
6575 q
6576 }
6577 /^X\(\/\).*/{
6578 s//\1/
6579 q
6580 }
6581 s/.*/./; q'`
6582 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6583 # echo "creating $dirpart/$file"
6584 echo '# dummy' > "$dirpart/$file"
6585 done
6586 done
6587 }
6588 ;;
6589
6590 esac
6591 done # for ac_tag
6592
6593
6594 as_fn_exit 0
6595 _ACEOF
6596 ac_clean_files=$ac_clean_files_save
6597
6598 test $ac_write_fail = 0 ||
6599 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6600
6601
6602 # configure is writing to config.log, and then calls config.status.
6603 # config.status does its own redirection, appending to config.log.
6604 # Unfortunately, on DOS this fails, as config.log is still kept open
6605 # by configure, so config.status won't be able to write to it; its
6606 # output is simply discarded. So we exec the FD to /dev/null,
6607 # effectively closing config.log, so it can be properly (re)opened and
6608 # appended to by config.status. When coming back to configure, we
6609 # need to make the FD available again.
6610 if test "$no_create" != yes; then
6611 ac_cs_success=:
6612 ac_config_status_args=
6613 test "$silent" = yes &&
6614 ac_config_status_args="$ac_config_status_args --quiet"
6615 exec 5>/dev/null
6616 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6617 exec 5>>config.log
6618 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6619 # would make configure fail if this is the last instruction.
6620 $ac_cs_success || as_fn_exit 1
6621 fi
6622 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6624 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6625 fi
6626
6627 ac_config_files="$ac_config_files privileged_startx/Makefile"
6628
6629 cat >confcache <<\_ACEOF
6630 # This file is a shell script that caches the results of configure
6631 # tests run on this system so they can be shared between configure
6632 # scripts and configure runs, see configure's option --config-cache.
6633 # It is not useful on other systems. If it contains results you don't
6634 # want to keep, you may remove or edit it.
6635 #
6636 # config.status only pays attention to the cache file if you give it
6637 # the --recheck option to rerun configure.
6638 #
6639 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6640 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6641 # following values.
6642
6643 _ACEOF
6644
6645 # The following way of writing the cache mishandles newlines in values,
6646 # but we know of no workaround that is simple, portable, and efficient.
6647 # So, we kill variables containing newlines.
6648 # Ultrix sh set writes to stderr and can't be redirected directly,
6649 # and sets the high bit in the cache file unless we assign to the vars.
6650 (
6651 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6652 eval ac_val=\$$ac_var
6653 case $ac_val in #(
6654 *${as_nl}*)
6655 case $ac_var in #(
6656 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6657 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6658 esac
6659 case $ac_var in #(
6660 _ | IFS | as_nl) ;; #(
6661 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6662 *) { eval $ac_var=; unset $ac_var;} ;;
6663 esac ;;
6664 esac
6665 done
6666
6667 (set) 2>&1 |
6668 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6669 *${as_nl}ac_space=\ *)
6670 # `set' does not quote correctly, so add quotes: double-quote
6671 # substitution turns \\\\ into \\, and sed turns \\ into \.
6672 sed -n \
6673 "s/'/'\\\\''/g;
6674 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6675 ;; #(
6676 *)
6677 # `set' quotes correctly as required by POSIX, so do not add quotes.
6678 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6679 ;;
6680 esac |
6681 sort
6682 ) |
6683 sed '
6684 /^ac_cv_env_/b end
6685 t clear
6686 :clear
6687 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6688 t end
6689 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6690 :end' >>confcache
6691 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6692 if test -w "$cache_file"; then
6693 if test "x$cache_file" != "x/dev/null"; then
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6695 $as_echo "$as_me: updating cache $cache_file" >&6;}
6696 if test ! -f "$cache_file" || test -h "$cache_file"; then
6697 cat confcache >"$cache_file"
6698 else
6699 case $cache_file in #(
6700 */* | ?:*)
6701 mv -f confcache "$cache_file"$$ &&
6702 mv -f "$cache_file"$$ "$cache_file" ;; #(
6703 *)
6704 mv -f confcache "$cache_file" ;;
6705 esac
6706 fi
6707 fi
6708 else
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6710 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6711 fi
6712 fi
6713 rm -f confcache
6714
6715 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6716 # Let make expand exec_prefix.
6717 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6718
6719 DEFS=-DHAVE_CONFIG_H
6720
6721 ac_libobjs=
6722 ac_ltlibobjs=
6723 U=
6724 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6725 # 1. Remove the extension, and $U if already installed.
6726 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6727 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6728 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6729 # will be set to the directory where LIBOBJS objects are built.
6730 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6731 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6732 done
6733 LIBOBJS=$ac_libobjs
6734
6735 LTLIBOBJS=$ac_ltlibobjs
6736
6737
6738 if test -n "$EXEEXT"; then
6739 am__EXEEXT_TRUE=
6740 am__EXEEXT_FALSE='#'
6741 else
6742 am__EXEEXT_TRUE='#'
6743 am__EXEEXT_FALSE=
6744 fi
6745
6746 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6747 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
6748 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6749 fi
6750 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6751 as_fn_error $? "conditional \"AMDEP\" was never defined.
6752 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6753 fi
6754 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6755 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6756 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6757 fi
6758 if test -z "${LAUNCHD_TRUE}" && test -z "${LAUNCHD_FALSE}"; then
6759 as_fn_error $? "conditional \"LAUNCHD\" was never defined.
6760 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6761 fi
6762 if test -z "${TIGER_LAUNCHD_TRUE}" && test -z "${TIGER_LAUNCHD_FALSE}"; then
6763 as_fn_error $? "conditional \"TIGER_LAUNCHD\" was never defined.
6764 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6765 fi
6766 if test -z "${am__EXEEXT_TRUE}" && test -z "${am__EXEEXT_FALSE}"; then
6767 as_fn_error $? "conditional \"am__EXEEXT\" was never defined.
6768 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6769 fi
6770
6771 : "${CONFIG_STATUS=./config.status}"
6772 ac_write_fail=0
6773 ac_clean_files_save=$ac_clean_files
6774 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6776 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6777 as_write_fail=0
6778 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6779 #! $SHELL
6780 # Generated by $as_me.
6781 # Run this file to recreate the current configuration.
6782 # Compiler output produced by configure, useful for debugging
6783 # configure, is in config.log if it exists.
6784
6785 debug=false
6786 ac_cs_recheck=false
6787 ac_cs_silent=false
6788
6789 SHELL=\${CONFIG_SHELL-$SHELL}
6790 export SHELL
6791 _ASEOF
6792 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6793 ## -------------------- ##
6794 ## M4sh Initialization. ##
6795 ## -------------------- ##
6796
6797 # Be more Bourne compatible
6798 DUALCASE=1; export DUALCASE # for MKS sh
6799 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6800 emulate sh
6801 NULLCMD=:
6802 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6803 # is contrary to our usage. Disable this feature.
6804 alias -g '${1+"$@"}'='"$@"'
6805 setopt NO_GLOB_SUBST
6806 else
6807 case `(set -o) 2>/dev/null` in #(
6808 *posix*) :
6809 set -o posix ;; #(
6810 *) :
6811 ;;
6812 esac
6813 fi
6814
6815
6816 as_nl='
6817 '
6818 export as_nl
6819 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6820 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6821 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6822 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6823 # Prefer a ksh shell builtin over an external printf program on Solaris,
6824 # but without wasting forks for bash or zsh.
6825 if test -z "$BASH_VERSION$ZSH_VERSION" \
6826 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6827 as_echo='print -r --'
6828 as_echo_n='print -rn --'
6829 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6830 as_echo='printf %s\n'
6831 as_echo_n='printf %s'
6832 else
6833 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6834 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6835 as_echo_n='/usr/ucb/echo -n'
6836 else
6837 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6838 as_echo_n_body='eval
6839 arg=$1;
6840 case $arg in #(
6841 *"$as_nl"*)
6842 expr "X$arg" : "X\\(.*\\)$as_nl";
6843 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6844 esac;
6845 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6846 '
6847 export as_echo_n_body
6848 as_echo_n='sh -c $as_echo_n_body as_echo'
6849 fi
6850 export as_echo_body
6851 as_echo='sh -c $as_echo_body as_echo'
6852 fi
6853
6854 # The user is always right.
6855 if test "${PATH_SEPARATOR+set}" != set; then
6856 PATH_SEPARATOR=:
6857 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6858 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6859 PATH_SEPARATOR=';'
6860 }
6861 fi
6862
6863
6864 # IFS
6865 # We need space, tab and new line, in precisely that order. Quoting is
6866 # there to prevent editors from complaining about space-tab.
6867 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6868 # splitting by setting IFS to empty value.)
6869 IFS=" "" $as_nl"
6870
6871 # Find who we are. Look in the path if we contain no directory separator.
6872 as_myself=
6873 case $0 in #((
6874 *[\\/]* ) as_myself=$0 ;;
6875 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6876 for as_dir in $PATH
6877 do
6878 IFS=$as_save_IFS
6879 test -z "$as_dir" && as_dir=.
6880 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6881 done
6882 IFS=$as_save_IFS
6883
6884 ;;
6885 esac
6886 # We did not find ourselves, most probably we were run as `sh COMMAND'
6887 # in which case we are not to be found in the path.
6888 if test "x$as_myself" = x; then
6889 as_myself=$0
6890 fi
6891 if test ! -f "$as_myself"; then
6892 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6893 exit 1
6894 fi
6895
6896 # Unset variables that we do not need and which cause bugs (e.g. in
6897 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6898 # suppresses any "Segmentation fault" message there. '((' could
6899 # trigger a bug in pdksh 5.2.14.
6900 for as_var in BASH_ENV ENV MAIL MAILPATH
6901 do eval test x\${$as_var+set} = xset \
6902 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6903 done
6904 PS1='$ '
6905 PS2='> '
6906 PS4='+ '
6907
6908 # NLS nuisances.
6909 LC_ALL=C
6910 export LC_ALL
6911 LANGUAGE=C
6912 export LANGUAGE
6913
6914 # CDPATH.
6915 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6916
6917
6918 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6919 # ----------------------------------------
6920 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6921 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6922 # script with STATUS, using 1 if that was 0.
6923 as_fn_error ()
6924 {
6925 as_status=$1; test $as_status -eq 0 && as_status=1
6926 if test "$4"; then
6927 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6928 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6929 fi
6930 $as_echo "$as_me: error: $2" >&2
6931 as_fn_exit $as_status
6932 } # as_fn_error
6933
6934
6935 # as_fn_set_status STATUS
6936 # -----------------------
6937 # Set $? to STATUS, without forking.
6938 as_fn_set_status ()
6939 {
6940 return $1
6941 } # as_fn_set_status
6942
6943 # as_fn_exit STATUS
6944 # -----------------
6945 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6946 as_fn_exit ()
6947 {
6948 set +e
6949 as_fn_set_status $1
6950 exit $1
6951 } # as_fn_exit
6952
6953 # as_fn_unset VAR
6954 # ---------------
6955 # Portably unset VAR.
6956 as_fn_unset ()
6957 {
6958 { eval $1=; unset $1;}
6959 }
6960 as_unset=as_fn_unset
6961 # as_fn_append VAR VALUE
6962 # ----------------------
6963 # Append the text in VALUE to the end of the definition contained in VAR. Take
6964 # advantage of any shell optimizations that allow amortized linear growth over
6965 # repeated appends, instead of the typical quadratic growth present in naive
6966 # implementations.
6967 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6968 eval 'as_fn_append ()
6969 {
6970 eval $1+=\$2
6971 }'
6972 else
6973 as_fn_append ()
6974 {
6975 eval $1=\$$1\$2
6976 }
6977 fi # as_fn_append
6978
6979 # as_fn_arith ARG...
6980 # ------------------
6981 # Perform arithmetic evaluation on the ARGs, and store the result in the
6982 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6983 # must be portable across $(()) and expr.
6984 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6985 eval 'as_fn_arith ()
6986 {
6987 as_val=$(( $* ))
6988 }'
6989 else
6990 as_fn_arith ()
6991 {
6992 as_val=`expr "$@" || test $? -eq 1`
6993 }
6994 fi # as_fn_arith
6995
6996
6997 if expr a : '\(a\)' >/dev/null 2>&1 &&
6998 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6999 as_expr=expr
7000 else
7001 as_expr=false
7002 fi
7003
7004 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7005 as_basename=basename
7006 else
7007 as_basename=false
7008 fi
7009
7010 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7011 as_dirname=dirname
7012 else
7013 as_dirname=false
7014 fi
7015
7016 as_me=`$as_basename -- "$0" ||
7017 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7018 X"$0" : 'X\(//\)$' \| \
7019 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7020 $as_echo X/"$0" |
7021 sed '/^.*\/\([^/][^/]*\)\/*$/{
7022 s//\1/
7023 q
7024 }
7025 /^X\/\(\/\/\)$/{
7026 s//\1/
7027 q
7028 }
7029 /^X\/\(\/\).*/{
7030 s//\1/
7031 q
7032 }
7033 s/.*/./; q'`
7034
7035 # Avoid depending upon Character Ranges.
7036 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7037 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7038 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7039 as_cr_digits='0123456789'
7040 as_cr_alnum=$as_cr_Letters$as_cr_digits
7041
7042 ECHO_C= ECHO_N= ECHO_T=
7043 case `echo -n x` in #(((((
7044 -n*)
7045 case `echo 'xy\c'` in
7046 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7047 xy) ECHO_C='\c';;
7048 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7049 ECHO_T=' ';;
7050 esac;;
7051 *)
7052 ECHO_N='-n';;
7053 esac
7054
7055 rm -f conf$$ conf$$.exe conf$$.file
7056 if test -d conf$$.dir; then
7057 rm -f conf$$.dir/conf$$.file
7058 else
7059 rm -f conf$$.dir
7060 mkdir conf$$.dir 2>/dev/null
7061 fi
7062 if (echo >conf$$.file) 2>/dev/null; then
7063 if ln -s conf$$.file conf$$ 2>/dev/null; then
7064 as_ln_s='ln -s'
7065 # ... but there are two gotchas:
7066 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7067 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7068 # In both cases, we have to default to `cp -p'.
7069 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7070 as_ln_s='cp -p'
7071 elif ln conf$$.file conf$$ 2>/dev/null; then
7072 as_ln_s=ln
7073 else
7074 as_ln_s='cp -p'
7075 fi
7076 else
7077 as_ln_s='cp -p'
7078 fi
7079 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7080 rmdir conf$$.dir 2>/dev/null
7081
7082
7083 # as_fn_mkdir_p
7084 # -------------
7085 # Create "$as_dir" as a directory, including parents if necessary.
7086 as_fn_mkdir_p ()
7087 {
7088
7089 case $as_dir in #(
7090 -*) as_dir=./$as_dir;;
7091 esac
7092 test -d "$as_dir" || eval $as_mkdir_p || {
7093 as_dirs=
7094 while :; do
7095 case $as_dir in #(
7096 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7097 *) as_qdir=$as_dir;;
7098 esac
7099 as_dirs="'$as_qdir' $as_dirs"
7100 as_dir=`$as_dirname -- "$as_dir" ||
7101 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7102 X"$as_dir" : 'X\(//\)[^/]' \| \
7103 X"$as_dir" : 'X\(//\)$' \| \
7104 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7105 $as_echo X"$as_dir" |
7106 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7107 s//\1/
7108 q
7109 }
7110 /^X\(\/\/\)[^/].*/{
7111 s//\1/
7112 q
7113 }
7114 /^X\(\/\/\)$/{
7115 s//\1/
7116 q
7117 }
7118 /^X\(\/\).*/{
7119 s//\1/
7120 q
7121 }
7122 s/.*/./; q'`
7123 test -d "$as_dir" && break
7124 done
7125 test -z "$as_dirs" || eval "mkdir $as_dirs"
7126 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7127
7128
7129 } # as_fn_mkdir_p
7130 if mkdir -p . 2>/dev/null; then
7131 as_mkdir_p='mkdir -p "$as_dir"'
7132 else
7133 test -d ./-p && rmdir ./-p
7134 as_mkdir_p=false
7135 fi
7136
7137 if test -x / >/dev/null 2>&1; then
7138 as_test_x='test -x'
7139 else
7140 if ls -dL / >/dev/null 2>&1; then
7141 as_ls_L_option=L
7142 else
7143 as_ls_L_option=
7144 fi
7145 as_test_x='
7146 eval sh -c '\''
7147 if test -d "$1"; then
7148 test -d "$1/.";
7149 else
7150 case $1 in #(
7151 -*)set "./$1";;
7152 esac;
7153 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7154 ???[sx]*):;;*)false;;esac;fi
7155 '\'' sh
7156 '
7157 fi
7158 as_executable_p=$as_test_x
7159
7160 # Sed expression to map a string onto a valid CPP name.
7161 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7162
7163 # Sed expression to map a string onto a valid variable name.
7164 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7165
7166
7167 exec 6>&1
7168 ## ----------------------------------- ##
7169 ## Main body of $CONFIG_STATUS script. ##
7170 ## ----------------------------------- ##
7171 _ASEOF
7172 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7173
7174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7175 # Save the log message, to keep $0 and so on meaningful, and to
7176 # report actual input values of CONFIG_FILES etc. instead of their
7177 # values after options handling.
7178 ac_log="
7179 This file was extended by xinit $as_me 1.3.0, which was
7180 generated by GNU Autoconf 2.68. Invocation command line was
7181
7182 CONFIG_FILES = $CONFIG_FILES
7183 CONFIG_HEADERS = $CONFIG_HEADERS
7184 CONFIG_LINKS = $CONFIG_LINKS
7185 CONFIG_COMMANDS = $CONFIG_COMMANDS
7186 $ $0 $@
7187
7188 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7189 "
7190
7191 _ACEOF
7192
7193 case $ac_config_files in *"
7194 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7195 esac
7196
7197 case $ac_config_headers in *"
7198 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7199 esac
7200
7201
7202 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7203 # Files that config.status was made for.
7204 config_files="$ac_config_files"
7205 config_headers="$ac_config_headers"
7206 config_commands="$ac_config_commands"
7207
7208 _ACEOF
7209
7210 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7211 ac_cs_usage="\
7212 \`$as_me' instantiates files and other configuration actions
7213 from templates according to the current configuration. Unless the files
7214 and actions are specified as TAGs, all are instantiated by default.
7215
7216 Usage: $0 [OPTION]... [TAG]...
7217
7218 -h, --help print this help, then exit
7219 -V, --version print version number and configuration settings, then exit
7220 --config print configuration, then exit
7221 -q, --quiet, --silent
7222 do not print progress messages
7223 -d, --debug don't remove temporary files
7224 --recheck update $as_me by reconfiguring in the same conditions
7225 --file=FILE[:TEMPLATE]
7226 instantiate the configuration file FILE
7227 --header=FILE[:TEMPLATE]
7228 instantiate the configuration header FILE
7229
7230 Configuration files:
7231 $config_files
7232
7233 Configuration headers:
7234 $config_headers
7235
7236 Configuration commands:
7237 $config_commands
7238
7239 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
7240
7241 _ACEOF
7242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7243 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7244 ac_cs_version="\\
7245 xinit config.status 1.3.0
7246 configured by $0, generated by GNU Autoconf 2.68,
7247 with options \\"\$ac_cs_config\\"
7248
7249 Copyright (C) 2010 Free Software Foundation, Inc.
7250 This config.status script is free software; the Free Software Foundation
7251 gives unlimited permission to copy, distribute and modify it."
7252
7253 ac_pwd='$ac_pwd'
7254 srcdir='$srcdir'
7255 INSTALL='$INSTALL'
7256 MKDIR_P='$MKDIR_P'
7257 AWK='$AWK'
7258 test -n "\$AWK" || AWK=awk
7259 _ACEOF
7260
7261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7262 # The default lists apply if the user does not specify any file.
7263 ac_need_defaults=:
7264 while test $# != 0
7265 do
7266 case $1 in
7267 --*=?*)
7268 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7269 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7270 ac_shift=:
7271 ;;
7272 --*=)
7273 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7274 ac_optarg=
7275 ac_shift=:
7276 ;;
7277 *)
7278 ac_option=$1
7279 ac_optarg=$2
7280 ac_shift=shift
7281 ;;
7282 esac
7283
7284 case $ac_option in
7285 # Handling of the options.
7286 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7287 ac_cs_recheck=: ;;
7288 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7289 $as_echo "$ac_cs_version"; exit ;;
7290 --config | --confi | --conf | --con | --co | --c )
7291 $as_echo "$ac_cs_config"; exit ;;
7292 --debug | --debu | --deb | --de | --d | -d )
7293 debug=: ;;
7294 --file | --fil | --fi | --f )
7295 $ac_shift
7296 case $ac_optarg in
7297 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7298 '') as_fn_error $? "missing file argument" ;;
7299 esac
7300 as_fn_append CONFIG_FILES " '$ac_optarg'"
7301 ac_need_defaults=false;;
7302 --header | --heade | --head | --hea )
7303 $ac_shift
7304 case $ac_optarg in
7305 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7306 esac
7307 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7308 ac_need_defaults=false;;
7309 --he | --h)
7310 # Conflict between --help and --header
7311 as_fn_error $? "ambiguous option: \`$1'
7312 Try \`$0 --help' for more information.";;
7313 --help | --hel | -h )
7314 $as_echo "$ac_cs_usage"; exit ;;
7315 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7316 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7317 ac_cs_silent=: ;;
7318
7319 # This is an error.
7320 -*) as_fn_error $? "unrecognized option: \`$1'
7321 Try \`$0 --help' for more information." ;;
7322
7323 *) as_fn_append ac_config_targets " $1"
7324 ac_need_defaults=false ;;
7325
7326 esac
7327 shift
7328 done
7329
7330 ac_configure_extra_args=
7331
7332 if $ac_cs_silent; then
7333 exec 6>/dev/null
7334 ac_configure_extra_args="$ac_configure_extra_args --silent"
7335 fi
7336
7337 _ACEOF
7338 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7339 if \$ac_cs_recheck; then
7340 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7341 shift
7342 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7343 CONFIG_SHELL='$SHELL'
7344 export CONFIG_SHELL
7345 exec "\$@"
7346 fi
7347
7348 _ACEOF
7349 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7350 exec 5>>config.log
7351 {
7352 echo
7353 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7354 ## Running $as_me. ##
7355 _ASBOX
7356 $as_echo "$ac_log"
7357 } >&5
7358
7359 _ACEOF
7360 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7361 #
7362 # INIT-COMMANDS
7363 #
7364 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7365
7366 _ACEOF
7367
7368 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7369
7370 # Handling of arguments.
7371 for ac_config_target in $ac_config_targets
7372 do
7373 case $ac_config_target in
7374 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7375 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7376 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7377 "privileged_startx/Makefile") CONFIG_FILES="$CONFIG_FILES privileged_startx/Makefile" ;;
7378
7379 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7380 esac
7381 done
7382
7383
7384 # If the user did not use the arguments to specify the items to instantiate,
7385 # then the envvar interface is used. Set only those that are not.
7386 # We use the long form for the default assignment because of an extremely
7387 # bizarre bug on SunOS 4.1.3.
7388 if $ac_need_defaults; then
7389 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7390 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7391 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7392 fi
7393
7394 # Have a temporary directory for convenience. Make it in the build tree
7395 # simply because there is no reason against having it here, and in addition,
7396 # creating and moving files from /tmp can sometimes cause problems.
7397 # Hook for its removal unless debugging.
7398 # Note that there is a small window in which the directory will not be cleaned:
7399 # after its creation but before its name has been assigned to `$tmp'.
7400 $debug ||
7401 {
7402 tmp= ac_tmp=
7403 trap 'exit_status=$?
7404 : "${ac_tmp:=$tmp}"
7405 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7406 ' 0
7407 trap 'as_fn_exit 1' 1 2 13 15
7408 }
7409 # Create a (secure) tmp directory for tmp files.
7410
7411 {
7412 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7413 test -d "$tmp"
7414 } ||
7415 {
7416 tmp=./conf$$-$RANDOM
7417 (umask 077 && mkdir "$tmp")
7418 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7419 ac_tmp=$tmp
7420
7421 # Set up the scripts for CONFIG_FILES section.
7422 # No need to generate them if there are no CONFIG_FILES.
7423 # This happens for instance with `./config.status config.h'.
7424 if test -n "$CONFIG_FILES"; then
7425
7426
7427 ac_cr=`echo X | tr X '\015'`
7428 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7429 # But we know of no other shell where ac_cr would be empty at this
7430 # point, so we can use a bashism as a fallback.
7431 if test "x$ac_cr" = x; then
7432 eval ac_cr=\$\'\\r\'
7433 fi
7434 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7435 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7436 ac_cs_awk_cr='\\r'
7437 else
7438 ac_cs_awk_cr=$ac_cr
7439 fi
7440
7441 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7442 _ACEOF
7443
7444
7445 {
7446 echo "cat >conf$$subs.awk <<_ACEOF" &&
7447 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7448 echo "_ACEOF"
7449 } >conf$$subs.sh ||
7450 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7451 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7452 ac_delim='%!_!# '
7453 for ac_last_try in false false false false false :; do
7454 . ./conf$$subs.sh ||
7455 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7456
7457 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7458 if test $ac_delim_n = $ac_delim_num; then
7459 break
7460 elif $ac_last_try; then
7461 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7462 else
7463 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7464 fi
7465 done
7466 rm -f conf$$subs.sh
7467
7468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7469 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7470 _ACEOF
7471 sed -n '
7472 h
7473 s/^/S["/; s/!.*/"]=/
7474 p
7475 g
7476 s/^[^!]*!//
7477 :repl
7478 t repl
7479 s/'"$ac_delim"'$//
7480 t delim
7481 :nl
7482 h
7483 s/\(.\{148\}\)..*/\1/
7484 t more1
7485 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7486 p
7487 n
7488 b repl
7489 :more1
7490 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7491 p
7492 g
7493 s/.\{148\}//
7494 t nl
7495 :delim
7496 h
7497 s/\(.\{148\}\)..*/\1/
7498 t more2
7499 s/["\\]/\\&/g; s/^/"/; s/$/"/
7500 p
7501 b
7502 :more2
7503 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7504 p
7505 g
7506 s/.\{148\}//
7507 t delim
7508 ' <conf$$subs.awk | sed '
7509 /^[^""]/{
7510 N
7511 s/\n//
7512 }
7513 ' >>$CONFIG_STATUS || ac_write_fail=1
7514 rm -f conf$$subs.awk
7515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7516 _ACAWK
7517 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7518 for (key in S) S_is_set[key] = 1
7519 FS = ""
7520
7521 }
7522 {
7523 line = $ 0
7524 nfields = split(line, field, "@")
7525 substed = 0
7526 len = length(field[1])
7527 for (i = 2; i < nfields; i++) {
7528 key = field[i]
7529 keylen = length(key)
7530 if (S_is_set[key]) {
7531 value = S[key]
7532 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7533 len += length(value) + length(field[++i])
7534 substed = 1
7535 } else
7536 len += 1 + keylen
7537 }
7538
7539 print line
7540 }
7541
7542 _ACAWK
7543 _ACEOF
7544 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7545 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7546 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7547 else
7548 cat
7549 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7550 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7551 _ACEOF
7552
7553 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7554 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7555 # trailing colons and then remove the whole line if VPATH becomes empty
7556 # (actually we leave an empty line to preserve line numbers).
7557 if test "x$srcdir" = x.; then
7558 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7559 h
7560 s///
7561 s/^/:/
7562 s/[ ]*$/:/
7563 s/:\$(srcdir):/:/g
7564 s/:\${srcdir}:/:/g
7565 s/:@srcdir@:/:/g
7566 s/^:*//
7567 s/:*$//
7568 x
7569 s/\(=[ ]*\).*/\1/
7570 G
7571 s/\n//
7572 s/^[^=]*=[ ]*$//
7573 }'
7574 fi
7575
7576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7577 fi # test -n "$CONFIG_FILES"
7578
7579 # Set up the scripts for CONFIG_HEADERS section.
7580 # No need to generate them if there are no CONFIG_HEADERS.
7581 # This happens for instance with `./config.status Makefile'.
7582 if test -n "$CONFIG_HEADERS"; then
7583 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
7584 BEGIN {
7585 _ACEOF
7586
7587 # Transform confdefs.h into an awk script `defines.awk', embedded as
7588 # here-document in config.status, that substitutes the proper values into
7589 # config.h.in to produce config.h.
7590
7591 # Create a delimiter string that does not exist in confdefs.h, to ease
7592 # handling of long lines.
7593 ac_delim='%!_!# '
7594 for ac_last_try in false false :; do
7595 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
7596 if test -z "$ac_tt"; then
7597 break
7598 elif $ac_last_try; then
7599 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7600 else
7601 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7602 fi
7603 done
7604
7605 # For the awk script, D is an array of macro values keyed by name,
7606 # likewise P contains macro parameters if any. Preserve backslash
7607 # newline sequences.
7608
7609 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7610 sed -n '
7611 s/.\{148\}/&'"$ac_delim"'/g
7612 t rset
7613 :rset
7614 s/^[ ]*#[ ]*define[ ][ ]*/ /
7615 t def
7616 d
7617 :def
7618 s/\\$//
7619 t bsnl
7620 s/["\\]/\\&/g
7621 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7622 D["\1"]=" \3"/p
7623 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7624 d
7625 :bsnl
7626 s/["\\]/\\&/g
7627 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7628 D["\1"]=" \3\\\\\\n"\\/p
7629 t cont
7630 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7631 t cont
7632 d
7633 :cont
7634 n
7635 s/.\{148\}/&'"$ac_delim"'/g
7636 t clear
7637 :clear
7638 s/\\$//
7639 t bsnlc
7640 s/["\\]/\\&/g; s/^/"/; s/$/"/p
7641 d
7642 :bsnlc
7643 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7644 b cont
7645 ' <confdefs.h | sed '
7646 s/'"$ac_delim"'/"\\\
7647 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7648
7649 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7650 for (key in D) D_is_set[key] = 1
7651 FS = ""
7652 }
7653 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7654 line = \$ 0
7655 split(line, arg, " ")
7656 if (arg[1] == "#") {
7657 defundef = arg[2]
7658 mac1 = arg[3]
7659 } else {
7660 defundef = substr(arg[1], 2)
7661 mac1 = arg[2]
7662 }
7663 split(mac1, mac2, "(") #)
7664 macro = mac2[1]
7665 prefix = substr(line, 1, index(line, defundef) - 1)
7666 if (D_is_set[macro]) {
7667 # Preserve the white space surrounding the "#".
7668 print prefix "define", macro P[macro] D[macro]
7669 next
7670 } else {
7671 # Replace #undef with comments. This is necessary, for example,
7672 # in the case of _POSIX_SOURCE, which is predefined and required
7673 # on some systems where configure will not decide to define it.
7674 if (defundef == "undef") {
7675 print "/*", prefix defundef, macro, "*/"
7676 next
7677 }
7678 }
7679 }
7680 { print }
7681 _ACAWK
7682 _ACEOF
7683 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7684 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7685 fi # test -n "$CONFIG_HEADERS"
7686
7687
7688 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7689 shift
7690 for ac_tag
7691 do
7692 case $ac_tag in
7693 :[FHLC]) ac_mode=$ac_tag; continue;;
7694 esac
7695 case $ac_mode$ac_tag in
7696 :[FHL]*:*);;
7697 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7698 :[FH]-) ac_tag=-:-;;
7699 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7700 esac
7701 ac_save_IFS=$IFS
7702 IFS=:
7703 set x $ac_tag
7704 IFS=$ac_save_IFS
7705 shift
7706 ac_file=$1
7707 shift
7708
7709 case $ac_mode in
7710 :L) ac_source=$1;;
7711 :[FH])
7712 ac_file_inputs=
7713 for ac_f
7714 do
7715 case $ac_f in
7716 -) ac_f="$ac_tmp/stdin";;
7717 *) # Look for the file first in the build tree, then in the source tree
7718 # (if the path is not absolute). The absolute path cannot be DOS-style,
7719 # because $ac_f cannot contain `:'.
7720 test -f "$ac_f" ||
7721 case $ac_f in
7722 [\\/$]*) false;;
7723 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7724 esac ||
7725 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7726 esac
7727 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7728 as_fn_append ac_file_inputs " '$ac_f'"
7729 done
7730
7731 # Let's still pretend it is `configure' which instantiates (i.e., don't
7732 # use $as_me), people would be surprised to read:
7733 # /* config.h. Generated by config.status. */
7734 configure_input='Generated from '`
7735 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7736 `' by configure.'
7737 if test x"$ac_file" != x-; then
7738 configure_input="$ac_file. $configure_input"
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7740 $as_echo "$as_me: creating $ac_file" >&6;}
7741 fi
7742 # Neutralize special characters interpreted by sed in replacement strings.
7743 case $configure_input in #(
7744 *\&* | *\|* | *\\* )
7745 ac_sed_conf_input=`$as_echo "$configure_input" |
7746 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7747 *) ac_sed_conf_input=$configure_input;;
7748 esac
7749
7750 case $ac_tag in
7751 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7752 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7753 esac
7754 ;;
7755 esac
7756
7757 ac_dir=`$as_dirname -- "$ac_file" ||
7758 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7759 X"$ac_file" : 'X\(//\)[^/]' \| \
7760 X"$ac_file" : 'X\(//\)$' \| \
7761 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7762 $as_echo X"$ac_file" |
7763 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7764 s//\1/
7765 q
7766 }
7767 /^X\(\/\/\)[^/].*/{
7768 s//\1/
7769 q
7770 }
7771 /^X\(\/\/\)$/{
7772 s//\1/
7773 q
7774 }
7775 /^X\(\/\).*/{
7776 s//\1/
7777 q
7778 }
7779 s/.*/./; q'`
7780 as_dir="$ac_dir"; as_fn_mkdir_p
7781 ac_builddir=.
7782
7783 case "$ac_dir" in
7784 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7785 *)
7786 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7787 # A ".." for each directory in $ac_dir_suffix.
7788 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7789 case $ac_top_builddir_sub in
7790 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7791 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7792 esac ;;
7793 esac
7794 ac_abs_top_builddir=$ac_pwd
7795 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7796 # for backward compatibility:
7797 ac_top_builddir=$ac_top_build_prefix
7798
7799 case $srcdir in
7800 .) # We are building in place.
7801 ac_srcdir=.
7802 ac_top_srcdir=$ac_top_builddir_sub
7803 ac_abs_top_srcdir=$ac_pwd ;;
7804 [\\/]* | ?:[\\/]* ) # Absolute name.
7805 ac_srcdir=$srcdir$ac_dir_suffix;
7806 ac_top_srcdir=$srcdir
7807 ac_abs_top_srcdir=$srcdir ;;
7808 *) # Relative name.
7809 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7810 ac_top_srcdir=$ac_top_build_prefix$srcdir
7811 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7812 esac
7813 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7814
7815
7816 case $ac_mode in
7817 :F)
7818 #
7819 # CONFIG_FILE
7820 #
7821
7822 case $INSTALL in
7823 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7824 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7825 esac
7826 ac_MKDIR_P=$MKDIR_P
7827 case $MKDIR_P in
7828 [\\/$]* | ?:[\\/]* ) ;;
7829 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7830 esac
7831 _ACEOF
7832
7833 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7834 # If the template does not know about datarootdir, expand it.
7835 # FIXME: This hack should be removed a few years after 2.60.
7836 ac_datarootdir_hack=; ac_datarootdir_seen=
7837 ac_sed_dataroot='
7838 /datarootdir/ {
7839 p
7840 q
7841 }
7842 /@datadir@/p
7843 /@docdir@/p
7844 /@infodir@/p
7845 /@localedir@/p
7846 /@mandir@/p'
7847 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7848 *datarootdir*) ac_datarootdir_seen=yes;;
7849 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7851 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7852 _ACEOF
7853 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7854 ac_datarootdir_hack='
7855 s&@datadir@&$datadir&g
7856 s&@docdir@&$docdir&g
7857 s&@infodir@&$infodir&g
7858 s&@localedir@&$localedir&g
7859 s&@mandir@&$mandir&g
7860 s&\\\${datarootdir}&$datarootdir&g' ;;
7861 esac
7862 _ACEOF
7863
7864 # Neutralize VPATH when `$srcdir' = `.'.
7865 # Shell code in configure.ac might set extrasub.
7866 # FIXME: do we really want to maintain this feature?
7867 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7868 ac_sed_extra="$ac_vpsub
7869 $extrasub
7870 _ACEOF
7871 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7872 :t
7873 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7874 s|@configure_input@|$ac_sed_conf_input|;t t
7875 s&@top_builddir@&$ac_top_builddir_sub&;t t
7876 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7877 s&@srcdir@&$ac_srcdir&;t t
7878 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7879 s&@top_srcdir@&$ac_top_srcdir&;t t
7880 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7881 s&@builddir@&$ac_builddir&;t t
7882 s&@abs_builddir@&$ac_abs_builddir&;t t
7883 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7884 s&@INSTALL@&$ac_INSTALL&;t t
7885 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7886 $ac_datarootdir_hack
7887 "
7888 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7889 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7890
7891 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7892 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7893 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7894 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7896 which seems to be undefined. Please make sure it is defined" >&5
7897 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7898 which seems to be undefined. Please make sure it is defined" >&2;}
7899
7900 rm -f "$ac_tmp/stdin"
7901 case $ac_file in
7902 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7903 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7904 esac \
7905 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7906 ;;
7907 :H)
7908 #
7909 # CONFIG_HEADER
7910 #
7911 if test x"$ac_file" != x-; then
7912 {
7913 $as_echo "/* $configure_input */" \
7914 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7915 } >"$ac_tmp/config.h" \
7916 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7917 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7919 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7920 else
7921 rm -f "$ac_file"
7922 mv "$ac_tmp/config.h" "$ac_file" \
7923 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7924 fi
7925 else
7926 $as_echo "/* $configure_input */" \
7927 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7928 || as_fn_error $? "could not create -" "$LINENO" 5
7929 fi
7930 # Compute "$ac_file"'s index in $config_headers.
7931 _am_arg="$ac_file"
7932 _am_stamp_count=1
7933 for _am_header in $config_headers :; do
7934 case $_am_header in
7935 $_am_arg | $_am_arg:* )
7936 break ;;
7937 * )
7938 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7939 esac
7940 done
7941 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7942 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7943 X"$_am_arg" : 'X\(//\)[^/]' \| \
7944 X"$_am_arg" : 'X\(//\)$' \| \
7945 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7946 $as_echo X"$_am_arg" |
7947 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7948 s//\1/
7949 q
7950 }
7951 /^X\(\/\/\)[^/].*/{
7952 s//\1/
7953 q
7954 }
7955 /^X\(\/\/\)$/{
7956 s//\1/
7957 q
7958 }
7959 /^X\(\/\).*/{
7960 s//\1/
7961 q
7962 }
7963 s/.*/./; q'`/stamp-h$_am_stamp_count
7964 ;;
7965
7966 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7967 $as_echo "$as_me: executing $ac_file commands" >&6;}
7968 ;;
7969 esac
7970
7971
7972 case $ac_file$ac_mode in
7973 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7974 # Autoconf 2.62 quotes --file arguments for eval, but not when files
7975 # are listed without --file. Let's play safe and only enable the eval
7976 # if we detect the quoting.
7977 case $CONFIG_FILES in
7978 *\'*) eval set x "$CONFIG_FILES" ;;
7979 *) set x $CONFIG_FILES ;;
7980 esac
7981 shift
7982 for mf
7983 do
7984 # Strip MF so we end up with the name of the file.
7985 mf=`echo "$mf" | sed -e 's/:.*$//'`
7986 # Check whether this is an Automake generated Makefile or not.
7987 # We used to match only the files named `Makefile.in', but
7988 # some people rename them; so instead we look at the file content.
7989 # Grep'ing the first line is not enough: some people post-process
7990 # each Makefile.in and add a new line on top of each file to say so.
7991 # Grep'ing the whole file is not good either: AIX grep has a line
7992 # limit of 2048, but all sed's we know have understand at least 4000.
7993 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7994 dirpart=`$as_dirname -- "$mf" ||
7995 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7996 X"$mf" : 'X\(//\)[^/]' \| \
7997 X"$mf" : 'X\(//\)$' \| \
7998 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7999 $as_echo X"$mf" |
8000 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8001 s//\1/
8002 q
8003 }
8004 /^X\(\/\/\)[^/].*/{
8005 s//\1/
8006 q
8007 }
8008 /^X\(\/\/\)$/{
8009 s//\1/
8010 q
8011 }
8012 /^X\(\/\).*/{
8013 s//\1/
8014 q
8015 }
8016 s/.*/./; q'`
8017 else
8018 continue
8019 fi
8020 # Extract the definition of DEPDIR, am__include, and am__quote
8021 # from the Makefile without running `make'.
8022 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8023 test -z "$DEPDIR" && continue
8024 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8025 test -z "am__include" && continue
8026 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8027 # When using ansi2knr, U may be empty or an underscore; expand it
8028 U=`sed -n 's/^U = //p' < "$mf"`
8029 # Find all dependency output files, they are included files with
8030 # $(DEPDIR) in their names. We invoke sed twice because it is the
8031 # simplest approach to changing $(DEPDIR) to its actual value in the
8032 # expansion.
8033 for file in `sed -n "
8034 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8035 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8036 # Make sure the directory exists.
8037 test -f "$dirpart/$file" && continue
8038 fdir=`$as_dirname -- "$file" ||
8039 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8040 X"$file" : 'X\(//\)[^/]' \| \
8041 X"$file" : 'X\(//\)$' \| \
8042 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8043 $as_echo X"$file" |
8044 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8045 s//\1/
8046 q
8047 }
8048 /^X\(\/\/\)[^/].*/{
8049 s//\1/
8050 q
8051 }
8052 /^X\(\/\/\)$/{
8053 s//\1/
8054 q
8055 }
8056 /^X\(\/\).*/{
8057 s//\1/
8058 q
8059 }
8060 s/.*/./; q'`
8061 as_dir=$dirpart/$fdir; as_fn_mkdir_p
8062 # echo "creating $dirpart/$file"
8063 echo '# dummy' > "$dirpart/$file"
8064 done
8065 done
8066 }
8067 ;;
8068
8069 esac
8070 done # for ac_tag
8071
8072
8073 as_fn_exit 0
8074 _ACEOF
8075 ac_clean_files=$ac_clean_files_save
8076
8077 test $ac_write_fail = 0 ||
8078 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8079
8080
8081 # configure is writing to config.log, and then calls config.status.
8082 # config.status does its own redirection, appending to config.log.
8083 # Unfortunately, on DOS this fails, as config.log is still kept open
8084 # by configure, so config.status won't be able to write to it; its
8085 # output is simply discarded. So we exec the FD to /dev/null,
8086 # effectively closing config.log, so it can be properly (re)opened and
8087 # appended to by config.status. When coming back to configure, we
8088 # need to make the FD available again.
8089 if test "$no_create" != yes; then
8090 ac_cs_success=:
8091 ac_config_status_args=
8092 test "$silent" = yes &&
8093 ac_config_status_args="$ac_config_status_args --quiet"
8094 exec 5>/dev/null
8095 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8096 exec 5>>config.log
8097 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8098 # would make configure fail if this is the last instruction.
8099 $ac_cs_success || as_fn_exit 1
8100 fi
8101 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8103 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8104 fi
8105
8106