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