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