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