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