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