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