Debian Codegraph @

xsetmode/configure

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