1 # This is a frozen state file generated by GNU m4 1.4
6 _AC_INIT_PREPARE_FS_SEPARATORSecho "#! $SHELL" >conftest.sh
7 echo "exit 0" >>conftest.sh
9 if AC_RUN_LOG([PATH=".;."; conftest.sh]); then
14 AC_SUBST([PATH_SEPARATOR], "$ac_path_separator")dnl
18 AC_UNISTD_H_m4_defun_pro([AC_UNISTD_H])AC_DIAGNOSE([obsolete], [The macro `AC_UNISTD_H' is obsolete.
19 You should run autoupdate.])dnl
20 AC_CHECK_HEADERS(unistd.h)[]AC_PROVIDE([AC_UNISTD_H])[]_m4_defun_epi([AC_UNISTD_H])
22 m4_location(AC_CHECK_MEMBERS)actypes.m4:452
24 AC_RUN_LOG_m4_defun_pro([AC_RUN_LOG])_AC_RUN_LOG([$1],
25 [echo "$as_me:__oline__: AS_ESCAPE([$1])"])[]AC_PROVIDE([AC_RUN_LOG])[]_m4_defun_epi([AC_RUN_LOG])
29 _AC_INIT_DEFAULTSm4_divert_push([DEFAULTS])dnl
34 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
35 # so uname gets run too.
36 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
43 ac_default_prefix=/usr/local
47 AC_SUBST(SHELL, ${CONFIG_SHELL-/bin/sh})dnl
49 # Maximum number of lines to put in a shell here document.
50 # This variable seems obsolete. It should probably be removed, and
51 # only ac_max_sed_lines should be used.
52 : ${ac_max_here_lines=38}
54 m4_divert_pop([DEFAULTS])dnl
57 AS_DIRNAME_m4_defun_pro([AS_DIRNAME])AS_DIRNAME_EXPR([$1]) 2>/dev/null ||
58 AS_DIRNAME_SED([$1])[]_m4_defun_epi([AS_DIRNAME])
60 m4_location(AM_FUNC_FNMATCH)acfunctions.m4:362
62 m4_location(AC_PROG_CC)aclang.m4:976
66 AC_STRCOLL_m4_defun_pro([AC_STRCOLL])AC_DIAGNOSE([obsolete], [The macro `AC_STRCOLL' is obsolete.
67 You should run autoupdate.])dnl
68 AC_FUNC_STRCOLL($@)[]AC_PROVIDE([AC_STRCOLL])[]_m4_defun_epi([AC_STRCOLL])
70 AC_FD_MSG_m4_defun_pro([AC_FD_MSG])AC_DIAGNOSE([obsolete], [The macro `AC_FD_MSG' is obsolete.
71 You should run autoupdate.])dnl
72 AS_MESSAGE_FD($@)[]AC_PROVIDE([AC_FD_MSG])[]_m4_defun_epi([AC_FD_MSG])
74 m4_changequotechangequote
76 AM_FUNC_FNMATCH_m4_defun_pro([AM_FUNC_FNMATCH])AC_DIAGNOSE([obsolete], [The macro `AM_FUNC_FNMATCH' is obsolete.
77 You should run autoupdate.])dnl
78 AC_FUNC_FNMATCH($@)[]AC_PROVIDE([AM_FUNC_FNMATCH])[]_m4_defun_epi([AM_FUNC_FNMATCH])
80 m4_location(AM_PROG_INSTALL)acoldnames.m4:86
82 AC_LANG_FORTRAN77_m4_defun_pro([AC_LANG_FORTRAN77])AC_DIAGNOSE([obsolete], [The macro `AC_LANG_FORTRAN77' is obsolete.
83 You should run autoupdate.])dnl
84 AC_LANG(Fortran 77)[]AC_PROVIDE([AC_LANG_FORTRAN77])[]_m4_defun_epi([AC_LANG_FORTRAN77])
86 m4_location(AC_PATH_PROGS)acgeneral.m4:2401
88 m4_location(AC_FUNC_VPRINTF)acfunctions.m4:1598
90 m4_location(_AS_TEST_PREPARE)m4sh.m4:421
92 m4_location(AC_GETLOADAVG)acfunctions.m4:570
96 m4_location(AC_SET_MAKE)acoldnames.m4:66
100 m4_re_word[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789]*
102 m4_location(AC_CHECK_FILE)acgeneral.m4:2877
104 AC_WARN_m4_defun_pro([AC_WARN])AC_DIAGNOSE([obsolete], [The macro `AC_WARN' is obsolete.
105 You should run autoupdate.])dnl
106 AC_MSG_WARN($@)[]AC_PROVIDE([AC_WARN])[]_m4_defun_epi([AC_WARN])
108 m4_location(AC_SYS_RESTARTABLE_SYSCALLS)acspecific.m4:554
110 _AS_QUOTE_IFELSEm4_if(m4_regexp([$1], [\\[\\$]]),
111 [-1], [m4_if(m4_regexp([$1], [\\[`""]]),
116 _AS_ECHO_UNQUOTEDecho "$1" >&m4_default([$2], [AS_MESSAGE_FD])
118 _AC_OUTPUT_CONFIG_STATUSAC_MSG_NOTICE([creating $CONFIG_STATUS])
119 cat >$CONFIG_STATUS <<_ACEOF
121 # Generated automatically by configure.
122 # Run this file to recreate the current configuration.
123 # Compiler output produced by configure, useful for debugging
124 # configure, is in config.log if it exists.
127 SHELL=\${CONFIG_SHELL-$SHELL}
128 ac_cs_invocation="\$[0] \$[@]"
132 cat >>$CONFIG_STATUS <<\_ACEOF
134 exec AS_MESSAGE_FD>&1
138 # Files that config.status was made for.
139 if test -n "$ac_config_files"; then
140 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
143 if test -n "$ac_config_headers"; then
144 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
147 if test -n "$ac_config_links"; then
148 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
151 if test -n "$ac_config_commands"; then
152 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
155 cat >>$CONFIG_STATUS <<\EOF
158 \`$as_me' instantiates files from templates according to the
159 current configuration.
161 Usage: $[0] [[OPTIONS]] [[FILE]]...
163 -h, --help print this help, then exit
164 -V, --version print version number, then exit
165 -d, --debug don't remove temporary files
166 --recheck update $as_me by reconfiguring in the same conditions
167 m4_ifset([AC_LIST_FILES],
168 [[ --file=FILE[:TEMPLATE]
169 instantiate the configuration file FILE
171 m4_ifset([AC_LIST_HEADERS],
172 [[ --header=FILE[:TEMPLATE]
173 instantiate the configuration header FILE
176 m4_ifset([AC_LIST_FILES],
177 [Configuration files:
181 m4_ifset([AC_LIST_HEADERS],
182 [Configuration headers:
186 m4_ifset([AC_LIST_LINKS],
187 [Configuration links:
191 m4_ifset([AC_LIST_COMMANDS],
192 [Configuration commands:
196 Report bugs to <bug-autoconf@gnu.org>."
199 cat >>$CONFIG_STATUS <<EOF
201 m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.status[]dnl
202 m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
203 configured by [$]0, generated by GNU Autoconf AC_ACVERSION,
204 with options \\"`echo "$ac_configure_args" | sed 's/[[\\""\`\$]]/\\\\&/g'`\\"
206 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
207 Free Software Foundation, Inc.
208 This config.status script is free software; the Free Software Foundation
209 gives unlimited permission to copy, distribute and modify it."
211 AC_PROVIDE_IFELSE([AC_PROG_INSTALL],
212 [dnl Leave those double quotes here: this $INSTALL is evaluated in a
213 dnl here document, which might result in `INSTALL=/bin/install -c'.
218 cat >>$CONFIG_STATUS <<\EOF
219 # If no file are specified by the user, then we need to provide default
220 # value. By we need to know if files were specified by the user.
226 ac_option=`expr "x$[1]" : 'x\([[^=]]*\)='`
227 ac_optarg=`expr "x$[1]" : 'x[[^=]]*=\(.*\)'`
229 set dummy "$ac_option" "$ac_optarg" ${1+"$[@]"}
233 *) # This is not an option, so the user has probably given explicit
235 ac_need_defaults=false;;
239 # Handling of the options.
241 cat >>$CONFIG_STATUS <<EOF
242 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
243 echo "running $SHELL $[0] " $ac_configure_args " --no-create --no-recursion"
244 exec $SHELL $[0] $ac_configure_args --no-create --no-recursion ;;
246 cat >>$CONFIG_STATUS <<\EOF
247 --version | --vers* | -V )
248 echo "$ac_cs_version"; exit 0 ;;
250 # Conflict between --help and --header
251 AC_MSG_ERROR([ambiguous option: $[1]
252 Try `$[0] --help' for more information.]);;
253 --help | --hel | -h )
254 echo "$ac_cs_usage"; exit 0 ;;
255 --debug | --d* | -d )
257 --file | --fil | --fi | --f )
259 CONFIG_FILES="$CONFIG_FILES $[1]"
260 ac_need_defaults=false;;
261 --header | --heade | --head | --hea )
263 CONFIG_HEADERS="$CONFIG_HEADERS $[1]"
264 ac_need_defaults=false;;
267 -*) AC_MSG_ERROR([unrecognized option: $[1]
268 Try `$[0] --help' for more information.]) ;;
270 *) ac_config_targets="$ac_config_targets $[1]" ;;
276 exec AS_MESSAGE_LOG_FD>>config.log
277 cat >&AS_MESSAGE_LOG_FD << _ACEOF
279 ## ----------------------- ##
280 ## Running config.status. ##
281 ## ----------------------- ##
283 This file was extended by $as_me m4_ifset([AC_PACKAGE_STRING],
284 [(AC_PACKAGE_STRING) ])AC_ACVERSION, executed with
285 CONFIG_FILES = $CONFIG_FILES
286 CONFIG_HEADERS = $CONFIG_HEADERS
287 CONFIG_LINKS = $CONFIG_LINKS
288 CONFIG_COMMANDS = $CONFIG_COMMANDS
290 on `(hostname || uname -n) 2>/dev/null | sed 1q`
295 dnl We output the INIT-CMDS first for obvious reasons :)
296 m4_ifset([_AC_OUTPUT_COMMANDS_INIT],
297 [cat >>$CONFIG_STATUS <<EOF
299 # INIT-COMMANDS section.
302 _AC_OUTPUT_COMMANDS_INIT()
306 dnl Issue this section only if there were actually config files.
307 dnl This checks if one of AC_LIST_HEADERS, AC_LIST_FILES, AC_LIST_COMMANDS,
308 dnl or AC_LIST_LINKS is set.
309 m4_ifval(AC_LIST_HEADERS()AC_LIST_LINKS()AC_LIST_FILES()AC_LIST_COMMANDS(),
311 cat >>$CONFIG_STATUS <<\EOF
312 for ac_config_target in $ac_config_targets
314 case "$ac_config_target" in
315 # Handling of arguments.
316 AC_FOREACH([AC_File], AC_LIST_FILES,
317 [ "m4_patsubst(AC_File, [:.*])" )dnl
318 CONFIG_FILES="$CONFIG_FILES AC_File" ;;
320 AC_FOREACH([AC_File], AC_LIST_LINKS,
321 [ "m4_patsubst(AC_File, [:.*])" )dnl
322 CONFIG_LINKS="$CONFIG_LINKS AC_File" ;;
324 AC_FOREACH([AC_File], AC_LIST_COMMANDS,
325 [ "m4_patsubst(AC_File, [:.*])" )dnl
326 CONFIG_COMMANDS="$CONFIG_COMMANDS AC_File" ;;
328 AC_FOREACH([AC_File], AC_LIST_HEADERS,
329 [ "m4_patsubst(AC_File, [:.*])" )dnl
330 CONFIG_HEADERS="$CONFIG_HEADERS AC_File" ;;
332 *) AC_MSG_ERROR([invalid argument: $ac_config_target]);;
336 # If the user did not use the arguments to specify the items to instantiate,
337 # then the envvar interface is used. Set only those that are not.
338 # We use the long form for the default assignment because of an extremely
339 # bizarre bug on SunOS 4.1.3.
340 if $ac_need_defaults; then
341 m4_ifset([AC_LIST_FILES],
342 [ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
344 m4_ifset([AC_LIST_HEADERS],
345 [ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
347 m4_ifset([AC_LIST_LINKS],
348 [ test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
350 m4_ifset([AC_LIST_COMMANDS],
351 [ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
360 dnl The following four sections are in charge of their own here
361 dnl documenting into $CONFIG_STATUS.
362 m4_ifset([AC_LIST_FILES], [_AC_OUTPUT_FILES()])dnl
363 m4_ifset([AC_LIST_HEADERS], [_AC_OUTPUT_HEADERS()])dnl
364 m4_ifset([AC_LIST_LINKS], [_AC_OUTPUT_LINKS()])dnl
365 m4_ifset([AC_LIST_COMMANDS], [_AC_OUTPUT_COMMANDS()])dnl
367 cat >>$CONFIG_STATUS <<\EOF
371 chmod +x $CONFIG_STATUS
374 AC_HEADER_STAT_m4_defun_pro([AC_HEADER_STAT])AC_CACHE_CHECK(whether stat file-mode macros are broken,
375 ac_cv_header_stat_broken,
376 [AC_EGREP_CPP([You lose], [#include <sys/types.h>
377 #include <sys/stat.h>
379 #if defined(S_ISBLK) && defined(S_IFDIR)
380 # if S_ISBLK (S_IFDIR)
385 #if defined(S_ISBLK) && defined(S_IFCHR)
386 # if S_ISBLK (S_IFCHR)
391 #if defined(S_ISLNK) && defined(S_IFREG)
392 # if S_ISLNK (S_IFREG)
397 #if defined(S_ISSOCK) && defined(S_IFREG)
398 # if S_ISSOCK (S_IFREG)
402 ], ac_cv_header_stat_broken=yes, ac_cv_header_stat_broken=no)])
403 if test $ac_cv_header_stat_broken = yes; then
404 AC_DEFINE(STAT_MACROS_BROKEN, 1,
405 [Define if the `S_IS*' macros in <sys/stat.h> do not
408 []AC_PROVIDE([AC_HEADER_STAT])[]_m4_defun_epi([AC_HEADER_STAT])
410 m4_location(AC_MEMORY_H)acheaders.m4:432
412 _AS_LN_S_PREPARE_m4_defun_pro([_AS_LN_S_PREPARE])rm -f conf$$ conf$$.exe conf$$.file
414 if ln -s conf$$.file conf$$ 2>/dev/null; then
415 # We could just check for DJGPP; but this test a) works b) is more generic
416 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
417 if test -f conf$$.exe; then
418 # Don't use ln at all; we don't have any links
423 elif ln conf$$.file conf$$ 2>/dev/null; then
428 rm -f conf$$ conf$$.exe conf$$.file
429 []_m4_defun_epi([_AS_LN_S_PREPARE])
431 AC_F77_LIBRARY_LDFLAGS_m4_defun_pro([AC_F77_LIBRARY_LDFLAGS])AC_LANG_PUSH(Fortran 77)dnl
433 AC_CACHE_CHECK([for Fortran 77 libraries], ac_cv_flibs,
434 [if test "x$FLIBS" != "x"; then
435 ac_cv_flibs="$FLIBS" # Let the user override the test.
438 _AC_PROG_F77_V_OUTPUT
442 # Save positional arguments (if any)
443 ac_save_positional="$[@]"
445 set X $ac_f77_v_output
446 while test $[@%:@] != 1; do
450 [[\\/]]*.a | ?:[[\\/]]*.a)
451 AC_LIST_MEMBER_OF($ac_arg, $ac_cv_flibs, ,
452 ac_cv_flibs="$ac_cv_flibs $ac_arg")
455 AC_LIST_MEMBER_OF($ac_arg, $ac_cv_flibs, ,
456 [AC_LINKER_OPTION([$ac_arg], ac_cv_flibs)])
458 # Ignore these flags.
459 -lang* | -lcrt0.o | -lc | -lgcc | -LANG:=*)
462 test x"$CYGWIN" != xyes && ac_cv_flibs="$ac_cv_flibs $ac_arg"
465 # These flags, when seen by themselves, take an argument.
466 # We remove the space between option and argument and re-iterate
467 # unless we find an empty arg or a new option (starting with -)
478 for ac_j in `echo $ac_arg | sed -e 's/-YP,/-L/;s/:/ -L/g'`; do
479 AC_LIST_MEMBER_OF($ac_j, $ac_cv_flibs, ,
480 [ac_arg="$ac_arg $ac_j"
481 ac_cv_flibs="$ac_cv_flibs $ac_j"])
485 AC_LIST_MEMBER_OF($ac_arg, $ac_cv_flibs, ,
486 ac_cv_flibs="$ac_cv_flibs $ac_arg")
488 # Ignore everything else.
491 # restore positional arguments
492 set X $ac_save_positional; shift
494 # We only consider "LD_RUN_PATH" on Solaris systems. If this is seen,
495 # then we insist that the "run path" must be an absolute path (i.e. it
496 # must begin with a "/").
497 case `(uname -sr) 2>/dev/null` in
499 ac_ld_run_path=`echo $ac_f77_v_output |
500 sed -n 's,^.*LD_RUN_PATH *= *\(/[[^ ]]*\).*$,-R\1,p'`
501 test "x$ac_ld_run_path" != x &&
502 AC_LINKER_OPTION([$ac_ld_run_path], ac_cv_flibs)
505 fi # test "x$FLIBS" = "x"
509 AC_LANG_POP(Fortran 77)dnl
510 []AC_PROVIDE([AC_F77_LIBRARY_LDFLAGS])[]_m4_defun_epi([AC_F77_LIBRARY_LDFLAGS])
512 m4_location(AC_HEADER_DIRENT)acheaders.m4:165
514 m4_location(AC_CHECK_TOOL_PREFIX)acgeneral.m4:2413
516 m4_location(AC_ARG_PROGRAM)acgeneral.m4:1625
518 _AC_INIT_SRCDIRm4_divert_push([PARSE_ARGS])dnl
520 # Find the source files, if location was not specified.
521 if test -z "$srcdir"; then
522 ac_srcdir_defaulted=yes
523 # Try the directory containing this script, then its parent.
525 dnl FIXME: should use AS_DIRNAME here once it is made DOS-friendly.
526 ac_confdir=`echo "$ac_prog" | sed 's%[[\\/][^\\/][^\\/]]*$%%'`
527 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
529 if test ! -r $srcdir/$ac_unique_file; then
533 ac_srcdir_defaulted=no
535 if test ! -r $srcdir/$ac_unique_file; then
536 if test "$ac_srcdir_defaulted" = yes; then
537 AC_MSG_ERROR([cannot find sources in $ac_confdir or ..])
539 AC_MSG_ERROR([cannot find sources in $srcdir])
542 dnl Double slashes in pathnames in object file debugging info
543 dnl mess up M-x gdb in Emacs.
544 srcdir=`echo "$srcdir" | sed 's%\([[^\\/]]\)[[\\/]]*$%\1%'`
545 m4_divert_pop([PARSE_ARGS])dnl
548 m4_includem4_include_unique([$1])dnl
549 m4_builtin([include], [$1])
551 m4_location(AC_INLINE)acoldnames.m4:55
553 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK_m4_defun_pro([AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK])AC_CACHE_CHECK(
554 [whether lstat dereferences a symlink specified with a trailing slash],
555 [ac_cv_func_lstat_dereferences_slashed_symlink],
556 [rm -f conftest.sym conftest.file
558 if ln -s conftest.file conftest.sym; then
559 AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
561 /* Linux will dereference the symlink and fail.
562 That is better in the sense that it means we will not
563 have to compile and use the lstat wrapper. */
564 exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1);])],
565 [ac_cv_func_lstat_dereferences_slashed_symlink=yes],
566 [ac_cv_func_lstat_dereferences_slashed_symlink=no],
567 [ac_cv_func_lstat_dereferences_slashed_symlink=no])
569 # If the `ln -s' command failed, then we probably don't even
570 # have an lstat function.
571 ac_cv_func_lstat_dereferences_slashed_symlink=no
573 rm -f conftest.sym conftest.file
576 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
577 AC_DEFINE_UNQUOTED(LSTAT_FOLLOWS_SLASHED_SYMLINK, 1,
578 [Define if `lstat' dereferences a symlink specified
579 with a trailing slash.])
581 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
584 []AC_PROVIDE([AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK])[]_m4_defun_epi([AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK])
586 _AC_CHECK_TYPE_NEWAS_VAR_PUSHDEF([ac_Type], [ac_cv_type_$1])dnl
587 AC_CACHE_CHECK([for $1], ac_Type,
588 [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT([$4])],
593 [AS_VAR_SET(ac_Type, yes)],
594 [AS_VAR_SET(ac_Type, no)])])
595 AS_IF([test AS_VAR_GET(ac_Type) = yes], [$2], [$3])[]dnl
596 AS_VAR_POPDEF([ac_Type])dnl
599 AC_PREPROC_IFELSE_m4_defun_pro([AC_PREPROC_IFELSE])AC_LANG_PREPROC_REQUIRE()dnl
600 _AC_PREPROC_IFELSE($@)[]AC_PROVIDE([AC_PREPROC_IFELSE])[]_m4_defun_epi([AC_PREPROC_IFELSE])
602 AC_HEADER_STDC_m4_defun_pro([AC_HEADER_STDC])AC_CACHE_CHECK(for ANSI C header files, ac_cv_header_stdc,
603 [AC_TRY_CPP([#include <stdlib.h>
607 ], ac_cv_header_stdc=yes, ac_cv_header_stdc=no)
609 if test $ac_cv_header_stdc = yes; then
610 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
611 AC_EGREP_HEADER(memchr, string.h, , ac_cv_header_stdc=no)
614 if test $ac_cv_header_stdc = yes; then
615 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
616 AC_EGREP_HEADER(free, stdlib.h, , ac_cv_header_stdc=no)
619 if test $ac_cv_header_stdc = yes; then
620 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
623 #if ((' ' & 0x0FF) == 0x020)
624 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
625 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
627 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
628 || ('j' <= (c) && (c) <= 'r') \
629 || ('s' <= (c) && (c) <= 'z'))
630 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
633 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
638 for (i = 0; i < 256; i++)
639 if (XOR (islower (i), ISLOWER (i))
640 || toupper (i) != TOUPPER (i))
643 }], , ac_cv_header_stdc=no, :)
645 if test $ac_cv_header_stdc = yes; then
646 AC_DEFINE(STDC_HEADERS, 1, [Define if you have the ANSI C header files.])
648 []AC_PROVIDE([AC_HEADER_STDC])[]_m4_defun_epi([AC_HEADER_STDC])
650 AC_FD_CC_m4_defun_pro([AC_FD_CC])AC_DIAGNOSE([obsolete], [The macro `AC_FD_CC' is obsolete.
651 You should run autoupdate.])dnl
652 AS_MESSAGE_LOG_FD($@)[]AC_PROVIDE([AC_FD_CC])[]_m4_defun_epi([AC_FD_CC])
654 m4_cr_digits0123456789
656 AC_VFORK_m4_defun_pro([AC_VFORK])AC_DIAGNOSE([obsolete], [The macro `AC_VFORK' is obsolete.
657 You should run autoupdate.])dnl
658 AC_FUNC_FORK($@)[]AC_PROVIDE([AC_VFORK])[]_m4_defun_epi([AC_VFORK])
660 m4_location(AC_HEADER_TIOCGWINSZ)acheaders.m4:385
662 ac_cv_prog_gcc_m4_defun_pro([ac_cv_prog_gcc])AC_DIAGNOSE([obsolete], [The macro `ac_cv_prog_gcc' is obsolete.
663 You should run autoupdate.])dnl
664 ac_cv_c_compiler_gnu[]AC_PROVIDE([ac_cv_prog_gcc])[]_m4_defun_epi([ac_cv_prog_gcc])
666 AC_LANG_PROGRAM_m4_defun_pro([AC_LANG_PROGRAM])AC_LANG_SOURCE([_AC_LANG_DISPATCH([$0], _AC_LANG, $@)])[]AC_PROVIDE([AC_LANG_PROGRAM])[]_m4_defun_epi([AC_LANG_PROGRAM])
668 m4_location(AC_CONFIG_LINKS)acgeneral.m4:3328
672 AC_WITH_m4_defun_pro([AC_WITH])AC_DIAGNOSE([obsolete], [The macro `AC_WITH' is obsolete.
673 You should run autoupdate.])dnl
674 AC_ARG_WITH([$1], [ --with-$1], [$2], [$3])[]AC_PROVIDE([AC_WITH])[]_m4_defun_epi([AC_WITH])
676 m4_signm4_match([$1],
681 m4_location(AC_LANG_POP)aclang.m4:157
683 m4_location(AC_PROG_CPP)aclang.m4:910
685 m4_location__file__:__line__
687 AC_CANONICAL_TARGETm4_provide_ifelse([AC_CANONICAL_TARGET],
688 [m4_warn([syntax], [AC_CANONICAL_TARGET invoked multiple times])],
689 [_m4_defun_pro([AC_CANONICAL_TARGET])AC_REQUIRE([AC_CANONICAL_HOST])dnl
690 AC_BEFORE([$0], [AC_ARG_PROGRAM])dnl
691 m4_divert_text([HELP_CANON],
692 [[ --target=TARGET configure for building compilers for TARGET [HOST]]])dnl
693 AC_CACHE_CHECK([target system type], [ac_cv_target],
694 [dnl Set target_alias.
695 ac_cv_target_alias=$target_alias
696 test "x$ac_cv_target_alias" = "x" &&
697 ac_cv_target_alias=$ac_cv_host_alias
698 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
699 AC_MSG_ERROR([$ac_config_sub $ac_cv_target_alias failed])
701 _AC_CANONICAL_SPLIT([target])
703 # The aliases save the names the user supplied, while $host etc.
704 # will get canonicalized.
705 test -n "$target_alias" &&
706 test "$program_prefix$program_suffix$program_transform_name" = \
708 program_prefix=${target_alias}-[]dnl
709 []AC_PROVIDE([AC_CANONICAL_TARGET])[]_m4_defun_epi([AC_CANONICAL_TARGET])])
711 AC_PROGRAMS_PATH_m4_defun_pro([AC_PROGRAMS_PATH])AC_DIAGNOSE([obsolete], [The macro `AC_PROGRAMS_PATH' is obsolete.
712 You should run autoupdate.])dnl
713 AC_PATH_PROGS($@)[]AC_PROVIDE([AC_PROGRAMS_PATH])[]_m4_defun_epi([AC_PROGRAMS_PATH])
715 _m4_divert(HELP_ENABLE)12
717 _AC_CONFIG_DEPENDENCIESm4_divert_push([KILL])
718 AC_FOREACH([AC_File], [$1],
719 [_AC_CONFIG_DEPENDENCY(m4_patsubst(AC_File, [:], [,]))])
720 m4_divert_pop([KILL])dnl
723 AS_WARNAS_MESSAGE([WARNING: $1], [2])
725 m4_location(AC_CONFIG_SRCDIR)acgeneral.m4:625
727 AS_VAR_GETAS_LITERAL_IF([$1],
729 [`eval echo '${'m4_patsubst($1, [[\\`]], [\\\&])'}'`])
731 m4_location(AS_TR_SH)m4sh.m4:580
733 m4_location(AC_PATH_X)acspecific.m4:760
735 m4_location(AC_HEADER_STAT)acheaders.m4:232
737 AM_CYGWIN32_m4_defun_pro([AM_CYGWIN32])AC_DIAGNOSE([obsolete], [The macro `AM_CYGWIN32' is obsolete.
738 You should run autoupdate.])dnl
739 AC_CYGWIN32($@)[]AC_PROVIDE([AM_CYGWIN32])[]_m4_defun_epi([AM_CYGWIN32])
741 m4_location(AC_LANG_ASSERT)aclang.m4:189
743 m4_location(AC_RESTARTABLE_SYSCALLS)acoldnames.m4:64
745 AC_LANG_COMPILER(C++)_m4_defun_pro([AC_LANG_COMPILER(C++)])AC_REQUIRE([AC_PROG_CXX])[]AC_PROVIDE([AC_LANG_COMPILER(C++)])[]_m4_defun_epi([AC_LANG_COMPILER(C++)])
747 AC_CONFIG_IF_MEMBERm4_if(m4_regexp($2, [\(^\| \)]m4_patsubst([$1],
748 [\([+*.]\)], [\\\1])[\(:\| \|$\)]),
751 m4_location(AC_FUNC_SETVBUF_REVERSED)acfunctions.m4:1349
753 AC_PROG_CXX_m4_defun_pro([AC_PROG_CXX])AC_LANG_PUSH(C++)dnl
754 AC_ARG_VAR([CXX], [C++ compiler command])dnl
755 AC_ARG_VAR([CXXFLAGS], [C++ compiler flags])dnl
756 _AC_ARG_VAR_LDFLAGS()dnl
757 _AC_ARG_VAR_CPPFLAGS()dnl
759 [$CCC m4_default([$1],
760 [g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC])],
763 # Provide some information about the compiler.
764 echo "$as_me:__oline__:" \
765 "checking for _AC_LANG compiler version" >&AS_MESSAGE_LOG_FD
766 ac_compiler=`set X $ac_compile; echo $[2]`
767 _AC_EVAL([$ac_compiler --version </dev/null >&AS_MESSAGE_LOG_FD])
768 _AC_EVAL([$ac_compiler -v </dev/null >&AS_MESSAGE_LOG_FD])
769 _AC_EVAL([$ac_compiler -V </dev/null >&AS_MESSAGE_LOG_FD])
771 m4_expand_once([_AC_COMPILER_EXEEXT])[]dnl
772 m4_expand_once([_AC_COMPILER_OBJEXT])[]dnl
773 _AC_LANG_COMPILER_GNU
774 GXX=`test $ac_compiler_gnu = yes && echo yes`
776 _AC_PROG_CXX_EXIT_DECLARATION
778 []AC_PROVIDE([AC_PROG_CXX])[]_m4_defun_epi([AC_PROG_CXX])
780 m4_location(AC_CONFIG_FILES)acgeneral.m4:3399
782 AM_FUNC_STRTOD_m4_defun_pro([AM_FUNC_STRTOD])AC_DIAGNOSE([obsolete], [The macro `AM_FUNC_STRTOD' is obsolete.
783 You should run autoupdate.])dnl
784 AC_FUNC_STRTOD($@)[]AC_PROVIDE([AM_FUNC_STRTOD])[]_m4_defun_epi([AM_FUNC_STRTOD])
786 AC_LANG_SAVE_m4_defun_pro([AC_LANG_SAVE])AC_DIAGNOSE([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
787 You should run autoupdate.])dnl
788 AC_DIAGNOSE([obsolete],
789 [instead of using `AC_LANG', `AC_LANG_SAVE',
790 and `AC_LANG_RESTORE', you should use `AC_LANG_PUSH' and `AC_LANG_POP'.])
791 m4_pushdef([_AC_LANG], _AC_LANG)[]AC_PROVIDE([AC_LANG_SAVE])[]_m4_defun_epi([AC_LANG_SAVE])
793 m4_location(AC_ARG_WITH)acgeneral.m4:1478
795 m4_location(AC_ARG_VAR)acgeneral.m4:1589
797 sincludem4_include_unique([$1])dnl
798 m4_builtin([sinclude], [$1])
800 m4_location(AC_CANONICAL_BUILD)acgeneral.m4:1738
802 m4_flattenm4_translit(m4_patsubst([[[$1]]], [\\
806 AC_TYPE_GETGROUPS_m4_defun_pro([AC_TYPE_GETGROUPS])AC_REQUIRE([AC_TYPE_UID_T])dnl
807 AC_CACHE_CHECK(type of array argument to getgroups, ac_cv_type_getgroups,
808 [AC_RUN_IFELSE([AC_LANG_SOURCE(
809 [[/* Thanks to Mike Rendell for this test. */
810 #include <sys/types.h>
813 #define MAX(x, y) ((x) > (y) ? (x) : (y))
820 union { gid_t gval; long lval; } val;
823 for (i = 0; i < NGID; i++)
824 gidset[i] = val.gval;
825 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
827 /* Exit non-zero if getgroups seems to require an array of ints. This
828 happens when gid_t is short but getgroups modifies an array of ints. */
829 exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
831 [ac_cv_type_getgroups=gid_t],
832 [ac_cv_type_getgroups=int],
833 [ac_cv_type_getgroups=cross])
834 if test $ac_cv_type_getgroups = cross; then
835 dnl When we can't run the test program (we are cross compiling), presume
836 dnl that <unistd.h> has either an accurate prototype for getgroups or none.
837 dnl Old systems without prototypes probably use int.
838 AC_EGREP_HEADER([getgroups.*int.*gid_t], unistd.h,
839 ac_cv_type_getgroups=gid_t, ac_cv_type_getgroups=int)
841 AC_DEFINE_UNQUOTED(GETGROUPS_T, $ac_cv_type_getgroups,
842 [Define to the type of elements in the array set by
843 `getgroups'. Usually this is either `int' or `gid_t'.])
844 []AC_PROVIDE([AC_TYPE_GETGROUPS])[]_m4_defun_epi([AC_TYPE_GETGROUPS])
848 m4_location(AC_LANG)aclang.m4:133
850 m4_location(AC_F77_FUNC)aclang.m4:2185
852 _m4_divert(VERSION_USER)22
854 _m4_divert(HELP_END)16
858 m4_form4_case(m4_sign(m4_eval($3 - $2)),
859 1, [m4_assert(m4_sign(m4_default($4, 1)) == 1)],
860 -1, [m4_assert(m4_sign(m4_default($4, -1)) == -1)])dnl
861 m4_pushdef([$1], [$2])dnl
862 m4_if(m4_eval([$3 > $2]), 1,
863 [_m4_for([$1], [$3], m4_default([$4], 1), [$5])],
864 [_m4_for([$1], [$3], m4_default([$4], -1), [$5])])dnl
869 _AC_CHECK_TYPE_MAYBE_TYPE_Pm4_if(m4_regexp([$1], [^[_a-zA-Z0-9 ]+\([_a-zA-Z0-9() *]\|\[\|\]\)*$]),
873 AC_MSG_CHECKING_AS_ECHO([$as_me:__oline__: checking $1], AS_MESSAGE_LOG_FD)
874 _AC_ECHO_N([checking $1... ])[]dnl
877 m4_location(AC_F77_DUMMY_MAIN)aclang.m4:1996
879 AC_PROG_INSTALL_m4_defun_pro([AC_PROG_INSTALL])AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
880 # Find a good install program. We prefer a C program (faster),
881 # so one script is as good as another. But avoid the broken or
882 # incompatible versions:
883 # SysV /etc/install, /usr/sbin/install
884 # SunOS /usr/etc/install
887 # AmigaOS /C/install, which installs bootblocks on floppy discs
888 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
889 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
890 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
891 # ./install, which can be erroneously created by make from ./install.sh.
892 AC_MSG_CHECKING([for a BSD compatible install])
893 if test -z "$INSTALL"; then
894 AC_CACHE_VAL(ac_cv_path_install,
895 [ ac_save_IFS=$IFS; IFS=$ac_path_separator
896 for ac_dir in $PATH; do
898 # Account for people who put trailing slashes in PATH elements.
900 / | ./ | .// | /[cC]/* \
901 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
904 # OSF1 and SCO ODT 3.0 have their own names for install.
905 # Don't use installbsd from OSF since it installs stuff as root
907 for ac_prog in ginstall scoinst install; do
908 if AS_EXECUTABLE_P(["$ac_dir/$ac_prog"]); then
909 if test $ac_prog = install &&
910 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
911 # AIX install. It has an incompatible calling convention.
913 elif test $ac_prog = install &&
914 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
915 # program-specific install script used by HP pwplus--don't use.
918 ac_cv_path_install="$ac_dir/$ac_prog -c"
927 if test "${ac_cv_path_install+set}" = set; then
928 INSTALL=$ac_cv_path_install
930 # As a last resort, use the slow shell script. We don't cache a
931 # path for INSTALL within a source directory, because that will
932 # break other packages using the cache if that directory is
933 # removed, or if the path is relative.
934 INSTALL=$ac_install_sh
937 dnl We do special magic for INSTALL instead of AC_SUBST, to get
938 dnl relative paths right.
939 AC_MSG_RESULT([$INSTALL])
941 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
942 # It thinks the first close brace ends the variable substitution.
943 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
944 AC_SUBST(INSTALL_PROGRAM)dnl
946 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
947 AC_SUBST(INSTALL_SCRIPT)dnl
949 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
950 AC_SUBST(INSTALL_DATA)dnl
951 []AC_PROVIDE([AC_PROG_INSTALL])[]_m4_defun_epi([AC_PROG_INSTALL])
953 m4_location(AC_PROGRAM_EGREP)acoldnames.m4:36
957 AC_HAVE_HEADERS_m4_defun_pro([AC_HAVE_HEADERS])AC_DIAGNOSE([obsolete], [The macro `AC_HAVE_HEADERS' is obsolete.
958 You should run autoupdate.])dnl
959 AC_CHECK_HEADERS($@)[]AC_PROVIDE([AC_HAVE_HEADERS])[]_m4_defun_epi([AC_HAVE_HEADERS])
961 AC_SYS_LONG_FILE_NAMES_m4_defun_pro([AC_SYS_LONG_FILE_NAMES])AC_CACHE_CHECK(for long file names, ac_cv_sys_long_file_names,
962 [ac_cv_sys_long_file_names=yes
963 # Test for long file names in all the places we know might matter:
964 # . the current directory, where building will happen
965 # $prefix/lib where we will be installing things
966 # $exec_prefix/lib likewise
967 # eval it to expand exec_prefix.
968 # $TMPDIR if set, where it might want to write temporary files
969 # if $TMPDIR is not set:
970 # /tmp where it might want to write temporary files
973 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
976 ac_tmpdirs='/tmp /var/tmp /usr/tmp'
978 for ac_dir in . $ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
979 test -d $ac_dir || continue
980 test -w $ac_dir || continue # It is less confusing to not echo anything here.
982 (umask 077 && mkdir $ac_xdir 2>/dev/null) || continue
983 ac_tf1=$ac_xdir/conftest9012345
984 ac_tf2=$ac_xdir/conftest9012346
985 (echo 1 >$ac_tf1) 2>/dev/null
986 (echo 2 >$ac_tf2) 2>/dev/null
987 ac_val=`cat $ac_tf1 2>/dev/null`
988 if test ! -f $ac_tf1 || test "$ac_val" != 1; then
989 ac_cv_sys_long_file_names=no
990 rm -rf $ac_xdir 2>/dev/null
993 rm -rf $ac_xdir 2>/dev/null
995 if test $ac_cv_sys_long_file_names = yes; then
996 AC_DEFINE(HAVE_LONG_FILE_NAMES, 1,
997 [Define if you support file names longer than 14 characters.])
999 []AC_PROVIDE([AC_SYS_LONG_FILE_NAMES])[]_m4_defun_epi([AC_SYS_LONG_FILE_NAMES])
1001 m4_location(AC_PROG_GCC_TRADITIONAL)aclang.m4:1029
1003 AC_PATH_PROG_m4_defun_pro([AC_PATH_PROG])# Extract the first word of "$2", so it can be a program name with args.
1004 set dummy $2; ac_word=$[2]
1005 AC_MSG_CHECKING([for $ac_word])
1006 AC_CACHE_VAL([ac_cv_path_$1],
1008 [[\\/]]* | ?:[[\\/]]*)
1009 ac_cv_path_$1="$$1" # Let the user override the test with a path.
1012 AC_SHELL_PATH_WALK([$4],
1013 [if AS_EXECUTABLE_P("$ac_dir/$ac_word"); then
1014 ac_cv_path_$1="$ac_dir/$ac_word"
1015 echo "$as_me:__oline__: found $ac_dir/$ac_word" >&AS_MESSAGE_LOG_FD
1018 dnl If no 3rd arg is given, leave the cache variable unset,
1019 dnl so AC_PATH_PROGS will keep looking.
1021 [ test -z "$ac_cv_path_$1" && ac_cv_path_$1="$3"])dnl
1024 AC_SUBST([$1], [$ac_cv_path_$1])
1025 if test -n "$$1"; then
1026 AC_MSG_RESULT([$$1])
1030 []AC_PROVIDE([AC_PATH_PROG])[]_m4_defun_epi([AC_PATH_PROG])
1032 m4_copy_unm4m4_copy([$1], m4_patsubst([$1], [^m4_\(.*\)], [[\1]]))
1034 AC_LANG_INT_SAVE(C++)AC_LANG_PROGRAM([m4_default([$1], [@%:@include <stdio.h>])],
1035 [FILE *f = fopen ("conftest.val", "w");
1038 fprintf (f, "%d", ($2));
1041 m4_location(AC_LINK_IFELSE)acgeneral.m4:2773
1043 _AS_BOX_INDIRsed 'h;s/./m4_default([$2], [=])/g;p;x;p;x' <<_ASBOX
1047 _AC_LANG_DISPATCHm4_ifdef([$1($2)],
1048 [m4_indir([$1($2)], m4_shiftn(2, $@))],
1049 [AC_FATAL([$1: unknown language: $2])])
1051 m4_location(AC_HAVE_LIBRARY)acgeneral.m4:2611
1053 AU_DEFINEAC_DEFUN([$1], [$2])
1055 AC_CONST_m4_defun_pro([AC_CONST])AC_DIAGNOSE([obsolete], [The macro `AC_CONST' is obsolete.
1056 You should run autoupdate.])dnl
1057 AC_C_CONST($@)[]AC_PROVIDE([AC_CONST])[]_m4_defun_epi([AC_CONST])
1059 AC_DEFUNm4_defun([$1], [$2[]AC_PROVIDE([$1])])
1061 m4_location(AC_STRUCT_ST_RDEV)actypes.m4:512
1063 AC_STDC_HEADERS_m4_defun_pro([AC_STDC_HEADERS])AC_DIAGNOSE([obsolete], [The macro `AC_STDC_HEADERS' is obsolete.
1064 You should run autoupdate.])dnl
1065 AC_HEADER_STDC($@)[]AC_PROVIDE([AC_STDC_HEADERS])[]_m4_defun_epi([AC_STDC_HEADERS])
1067 AC_CONFIG_AUX_DIR_DEFAULT_m4_defun_pro([AC_CONFIG_AUX_DIR_DEFAULT])AC_CONFIG_AUX_DIRS($srcdir $srcdir/.. $srcdir/../..)[]AC_PROVIDE([AC_CONFIG_AUX_DIR_DEFAULT])[]_m4_defun_epi([AC_CONFIG_AUX_DIR_DEFAULT])
1071 AC_INCLUDES_DEFAULT_m4_defun_pro([AC_INCLUDES_DEFAULT])m4_ifval([$1], [$1
1073 [AC_REQUIRE([_AC_INCLUDES_DEFAULT_REQUIREMENTS])dnl
1074 $ac_includes_default])[]AC_PROVIDE([AC_INCLUDES_DEFAULT])[]_m4_defun_epi([AC_INCLUDES_DEFAULT])
1076 AC_C_LONG_DOUBLE_m4_defun_pro([AC_C_LONG_DOUBLE])AC_CACHE_CHECK(for long double, ac_cv_c_long_double,
1077 [if test "$GCC" = yes; then
1078 ac_cv_c_long_double=yes
1084 /* The Stardent Vistra knows sizeof(long double), but does not
1086 long double foo = 0.0;
1087 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
1088 exit (sizeof (long double) < sizeof (double));
1090 ac_cv_c_long_double=yes, ac_cv_c_long_double=no)
1092 if test $ac_cv_c_long_double = yes; then
1093 AC_DEFINE(HAVE_LONG_DOUBLE, 1,
1094 [Define if the `long double' type works.])
1096 []AC_PROVIDE([AC_C_LONG_DOUBLE])[]_m4_defun_epi([AC_C_LONG_DOUBLE])
1098 ac_cv_prog_g77_m4_defun_pro([ac_cv_prog_g77])AC_DIAGNOSE([obsolete], [The macro `ac_cv_prog_g77' is obsolete.
1099 You should run autoupdate.])dnl
1100 ac_cv_f77_compiler_gnu[]AC_PROVIDE([ac_cv_prog_g77])[]_m4_defun_epi([ac_cv_prog_g77])
1102 AC_PROG_CXXCPP_m4_defun_pro([AC_PROG_CXXCPP])AC_REQUIRE([AC_PROG_CXX])dnl
1103 AC_ARG_VAR([CXXCPP], [C++ preprocessor])dnl
1104 _AC_ARG_VAR_CPPFLAGS()dnl
1105 AC_LANG_PUSH(C++)dnl
1106 AC_MSG_CHECKING([how to run the C++ preprocessor])
1107 if test -z "$CXXCPP"; then
1108 AC_CACHE_VAL(ac_cv_prog_CXXCPP,
1110 # Double quotes because CXXCPP needs to be expanded
1111 for CXXCPP in "$CXX -E" "/lib/cpp"
1113 _AC_PROG_PREPROC_WORKS_IFELSE([break])
1115 ac_cv_prog_CXXCPP=$CXXCPP
1117 CXXCPP=$ac_cv_prog_CXXCPP
1119 ac_cv_prog_CXXCPP=$CXXCPP
1121 AC_MSG_RESULT([$CXXCPP])
1122 _AC_PROG_PREPROC_WORKS_IFELSE([],
1123 [AC_MSG_ERROR([C++ preprocessor "$CXXCPP" fails sanity check])])
1126 []AC_PROVIDE([AC_PROG_CXXCPP])[]_m4_defun_epi([AC_PROG_CXXCPP])
1128 m4_location(AC_PATH_XTRA)acspecific.m4:886
1130 _AC_PATH_X_XMKMFrm -fr conftest.dir
1131 if mkdir conftest.dir; then
1133 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
1134 cat >Imakefile <<'EOF'
1136 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
1138 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
1139 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1140 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
1141 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
1142 for ac_extension in a so sl; do
1143 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
1144 test -f $ac_im_libdir/libX11.$ac_extension; then
1145 ac_im_usrlibdir=$ac_im_libdir; break
1148 # Screen out bogus values from the imake configuration. They are
1149 # bogus both because they are the default anyway, and because
1150 # using them would break gcc on systems where it needs fixed includes.
1151 case $ac_im_incroot in
1153 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
1155 case $ac_im_usrlibdir in
1157 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
1165 AC_REPLACE_FUNCS_m4_defun_pro([AC_REPLACE_FUNCS])AC_FOREACH([AC_Func], [$1], [AC_LIBSOURCE(AC_Func.c)])dnl
1166 AC_CHECK_FUNCS([$1], , [_AC_LIBOBJ($ac_func)])
1167 []AC_PROVIDE([AC_REPLACE_FUNCS])[]_m4_defun_epi([AC_REPLACE_FUNCS])
1169 m4_casem4_if([$#], 0, [],
1173 [m4_case([$1], m4_shiftn(3, $@))])
1175 _AC_PATH_X_m4_defun_pro([_AC_PATH_X])AC_CACHE_VAL(ac_cv_have_x,
1176 [# One or both of the vars are not set, and there is no cached value.
1177 ac_x_includes=no ac_x_libraries=no
1180 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
1181 # Didn't find X anywhere. Cache the known absence of X.
1182 ac_cv_have_x="have_x=no"
1184 # Record where we found X for the cache.
1185 ac_cv_have_x="have_x=yes \
1186 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
1188 []AC_PROVIDE([_AC_PATH_X])[]_m4_defun_epi([_AC_PATH_X])
1190 AC_STRUCT_ST_BLOCKS_m4_defun_pro([AC_STRUCT_ST_BLOCKS])AC_CHECK_MEMBERS([struct stat.st_blocks],
1191 [AC_DEFINE(HAVE_ST_BLOCKS, 1,
1192 [Define if your `struct stat' has
1193 `st_blocks'. Deprecated, use
1194 `HAVE_STRUCT_STAT_ST_BLOCKS' instead.])],
1195 [AC_LIBOBJ([fileblocks])])
1196 []AC_PROVIDE([AC_STRUCT_ST_BLOCKS])[]_m4_defun_epi([AC_STRUCT_ST_BLOCKS])
1198 AC_C_VOLATILE_m4_defun_pro([AC_C_VOLATILE])AC_REQUIRE([AC_PROG_CC_STDC])dnl
1199 AC_CACHE_CHECK([for working volatile], ac_cv_c_volatile,
1200 [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [
1202 int * volatile y;])],
1203 [ac_cv_c_volatile=yes],
1204 [ac_cv_c_volatile=no])])
1205 if test $ac_cv_c_volatile = no; then
1206 AC_DEFINE(volatile,,
1207 [Define to empty if the keyword `volatile' does not work.
1208 Warning: valid code using `volatile' can become incorrect
1209 without. Disable with care.])
1211 []AC_PROVIDE([AC_C_VOLATILE])[]_m4_defun_epi([AC_C_VOLATILE])
1213 _m4_dumpdefs_downm4_ifdef([_m4_dumpdefs],
1214 [m4_pushdef([$1], m4_defn([_m4_dumpdefs]))dnl
1215 m4_popdef([_m4_dumpdefs])dnl
1216 _m4_dumpdefs_down([$1])])
1218 m4_location(AC_CONFIG_SUBDIRS)acgeneral.m4:3427
1220 AS_VAR_POPDEFm4_popdef([$1])
1222 m4_location(AC_LONG_DOUBLE)acoldnames.m4:57
1225 [m4_fatal([$0: undefined macro: $1])])dnl
1226 m4_builtin([defn], $@)
1228 AC_STRUCT_TIMEZONE_m4_defun_pro([AC_STRUCT_TIMEZONE])AC_REQUIRE([AC_STRUCT_TM])dnl
1229 AC_CHECK_MEMBERS([struct tm.tm_zone],,,[#include <sys/types.h>
1230 #include <$ac_cv_struct_tm>
1232 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
1233 AC_DEFINE(HAVE_TM_ZONE, 1,
1234 [Define if your `struct tm' has `tm_zone'. Deprecated, use
1235 `HAVE_STRUCT_TM_TM_ZONE' instead.])
1237 AC_CACHE_CHECK(for tzname, ac_cv_var_tzname,
1240 #ifndef tzname /* For SGI. */
1241 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
1244 [atoi(*tzname);], ac_cv_var_tzname=yes, ac_cv_var_tzname=no)])
1245 if test $ac_cv_var_tzname = yes; then
1246 AC_DEFINE(HAVE_TZNAME, 1,
1247 [Define if you don't have `tm_zone' but do have the external
1251 []AC_PROVIDE([AC_STRUCT_TIMEZONE])[]_m4_defun_epi([AC_STRUCT_TIMEZONE])
1253 m4_location(AC_ARG_ENABLE)acgeneral.m4:1450
1257 AC_LANG_PREPROC_REQUIRE_m4_defun_pro([AC_LANG_PREPROC_REQUIRE])m4_require([AC_LANG_PREPROC(]_AC_LANG[)],
1258 [AC_LANG_PREPROC])[]AC_PROVIDE([AC_LANG_PREPROC_REQUIRE])[]_m4_defun_epi([AC_LANG_PREPROC_REQUIRE])
1260 divertm4_define([m4_divert_stack],
1261 m4_location[: $0: $1]m4_ifdef([m4_divert_stack], [
1262 m4_defn([m4_divert_stack])]))dnl
1263 m4_builtin([divert], _m4_divert([$1]))dnl
1266 AC_LINK_FILES_m4_defun_pro([AC_LINK_FILES])AC_DIAGNOSE([obsolete], [The macro `AC_LINK_FILES' is obsolete.
1267 You should run autoupdate.])dnl
1269 [m4_fatal([$0: incorrect number of arguments])])dnl
1270 m4_define([_AC_LINK_FILES_CNT], m4_incr(_AC_LINK_FILES_CNT))dnl
1273 while test -n "$ac_sources"; do
1274 set $ac_dests; ac_dest=$[1]; shift; ac_dests=$[*]
1275 set $ac_sources; ac_source=$[1]; shift; ac_sources=$[*]
1276 [ac_config_links_]_AC_LINK_FILES_CNT="$[ac_config_links_]_AC_LINK_FILES_CNT $ac_dest:$ac_source"
1278 AC_CONFIG_LINKS($[ac_config_links_]_AC_LINK_FILES_CNT)dnl
1279 []AC_PROVIDE([AC_LINK_FILES])[]_m4_defun_epi([AC_LINK_FILES])
1281 m4_location(AM_FUNC_ERROR_AT_LINE)acfunctions.m4:330
1283 _AS_EXPR_PREPARE_m4_defun_pro([_AS_EXPR_PREPARE])if expr a : '\(a\)' >/dev/null 2>&1; then
1288 []_m4_defun_epi([_AS_EXPR_PREPARE])
1290 _AC_ARG_VAR_PRECIOUSAC_SUBST([$1])dnl
1291 m4_divert_once([PARSE_ARGS],
1292 [ac_env_$1_set=${$1+set}
1294 ac_cv_env_$1_set=${$1+set}
1295 ac_cv_env_$1_value=$$1])dnl
1298 m4_location(AC_CHECK_HEADERS)acheaders.m4:109
1300 m4_location(AC_STRUCT_ST_BLKSIZE)actypes.m4:473
1304 AC_MINGW32_m4_defun_pro([AC_MINGW32])AC_DIAGNOSE([obsolete], [The macro `AC_MINGW32' is obsolete.
1305 You should run autoupdate.])dnl
1306 AC_REQUIRE([AC_CANONICAL_HOST])[]dnl
1307 AC_DIAGNOSE([obsolete],
1308 [$0 is obsolete: use AC_CANONICAL_HOST and $host_os])dnl
1310 *mingw32* ) MINGW32=yes;;
1313 []AC_PROVIDE([AC_MINGW32])[]_m4_defun_epi([AC_MINGW32])
1315 AC_TRY_LINK_m4_defun_pro([AC_TRY_LINK])AC_LINK_IFELSE([AC_LANG_PROGRAM([[$1]], [[$2]])], [$3], [$4])[]AC_PROVIDE([AC_TRY_LINK])[]_m4_defun_epi([AC_TRY_LINK])
1317 AC_PROG_MAKE_SET_m4_defun_pro([AC_PROG_MAKE_SET])AC_MSG_CHECKING([whether ${MAKE-make} sets \${MAKE}])
1318 set dummy ${MAKE-make}; ac_make=`echo "$[2]" | sed 'y,./+-,__p_,'`
1319 AC_CACHE_VAL(ac_cv_prog_make_${ac_make}_set,
1320 [cat >conftest.make <<\EOF
1322 @echo 'ac_maketemp="${MAKE}"'
1324 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1325 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1326 if test -n "$ac_maketemp"; then
1327 eval ac_cv_prog_make_${ac_make}_set=yes
1329 eval ac_cv_prog_make_${ac_make}_set=no
1331 rm -f conftest.make])dnl
1332 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1333 AC_MSG_RESULT([yes])
1337 SET_MAKE="MAKE=${MAKE-make}"
1339 AC_SUBST([SET_MAKE])dnl
1340 []AC_PROVIDE([AC_PROG_MAKE_SET])[]_m4_defun_epi([AC_PROG_MAKE_SET])
1342 AC_CHECK_TOOLS_m4_defun_pro([AC_CHECK_TOOLS])if test -n "$ac_tool_prefix"; then
1346 [$ac_tool_prefix$ac_prog], [$ac_tool_prefix$ac_prog],,
1348 test -n "$$1" && break
1351 if test -z "$$1"; then
1353 AC_CHECK_PROGS([ac_ct_$1], [$2], [$3], [$4])
1356 []AC_PROVIDE([AC_CHECK_TOOLS])[]_m4_defun_epi([AC_CHECK_TOOLS])
1358 AC_ARG_PROGRAMm4_provide_ifelse([AC_ARG_PROGRAM],
1359 [m4_warn([syntax], [AC_ARG_PROGRAM invoked multiple times])],
1360 [_m4_defun_pro([AC_ARG_PROGRAM])dnl Document the options.
1361 m4_divert_push([HELP_BEGIN])dnl
1364 --program-prefix=PREFIX prepend PREFIX to installed program names
1365 --program-suffix=SUFFIX append SUFFIX to installed program names
1366 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1367 m4_divert_pop([HELP_BEGIN])dnl
1368 test "$program_prefix" != NONE &&
1369 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1370 # Use a double $ so make ignores it.
1371 test "$program_suffix" != NONE &&
1372 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1373 # Double any \ or $. echo might interpret backslashes.
1374 # By default was `s,x,x', remove it if useless.
1375 cat <<\_ACEOF >conftest.sed
1376 [s/[\\$]/&&/g;s/;s,x,x,$//]
1378 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1380 []AC_PROVIDE([AC_ARG_PROGRAM])[]_m4_defun_epi([AC_ARG_PROGRAM])])
1382 m4_location(AC_SIZEOF_TYPE)acoldnames.m4:38
1384 m4_location(AC_ENABLE)acgeneral.m4:1454
1386 _AC_SUBST_SED_PROGRAM
1388 _AC_CANONICAL_SPLITAC_SUBST([$1], [$ac_cv_$1])dnl
1389 dnl FIXME: AC_SUBST([$1_alias], [$ac_cv_$1_alias])dnl
1391 [`echo $ac_cv_$1 | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])dnl
1392 AC_SUBST([$1_vendor],
1393 [`echo $ac_cv_$1 | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])dnl
1395 [`echo $ac_cv_$1 | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])dnl
1398 m4_location(AC_F77_LIBRARY_LDFLAGS)aclang.m4:1918
1400 m4_location(AC_SETVBUF_REVERSED)acfunctions.m4:1354
1402 AC_MSG_RESULT_UNQUOTED_AS_ECHO_UNQUOTED([$as_me:__oline__: result: $1], AS_MESSAGE_LOG_FD)
1403 _AS_ECHO_UNQUOTED([${ECHO_T}$1])[]dnl
1406 _m4_warning_error_ifelse__m4_warning_error_ifelse([$1], [$2], m4_warnings)
1408 AC_CONFIG_COMMANDS_m4_defun_pro([AC_CONFIG_COMMANDS])m4_divert_push([KILL])
1409 _AC_CONFIG_UNIQUE([$1])
1410 m4_append([AC_LIST_COMMANDS], [ $1])
1412 m4_if([$2],,, [AC_FOREACH([AC_Name], [$1],
1413 [m4_append([AC_LIST_COMMANDS_COMMANDS],
1414 [ ]m4_patsubst(AC_Name, [:.*])[ ) $2 ;;
1416 _AC_CONFIG_COMMANDS_INIT([$3])
1417 m4_divert_pop([KILL])dnl
1418 ac_config_commands="$ac_config_commands $1"
1419 []AC_PROVIDE([AC_CONFIG_COMMANDS])[]_m4_defun_epi([AC_CONFIG_COMMANDS])
1421 m4_location(AC_CHECK_MEMBER)actypes.m4:435
1423 AC_PATH_X_m4_defun_pro([AC_PATH_X])dnl Document the X abnormal options inherited from history.
1424 m4_divert_once([HELP_BEGIN], [
1426 --x-includes=DIR X include files are in DIR
1427 --x-libraries=DIR X library files are in DIR])dnl
1428 AC_MSG_CHECKING([for X])
1430 AC_ARG_WITH(x, [ --with-x use the X Window System])
1431 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
1432 if test "x$with_x" = xno; then
1433 # The user explicitly disabled X.
1436 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
1437 # Both variables are already set.
1442 eval "$ac_cv_have_x"
1445 if test "$have_x" != yes; then
1446 AC_MSG_RESULT([$have_x])
1449 # If each of the values was on the command line, it overrides each guess.
1450 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
1451 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
1452 # Update the cache value to reflect the command line values.
1453 ac_cv_have_x="have_x=yes \
1454 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
1455 AC_MSG_RESULT([libraries $x_libraries, headers $x_includes])
1457 []AC_PROVIDE([AC_PATH_X])[]_m4_defun_epi([AC_PATH_X])
1459 m4_location(AC_CHECKING)acgeneral.m4:2101
1461 AC_CHECK_MEMBERS_m4_defun_pro([AC_CHECK_MEMBERS])m4_foreach([AC_Member], [$1],
1462 [AC_CHECK_MEMBER(AC_Member,
1463 [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_[]AC_Member), 1,
1464 [Define if `]m4_patsubst(AC_Member,
1466 member of `]m4_patsubst(AC_Member, [\..*])['.])
1469 [$4])])[]AC_PROVIDE([AC_CHECK_MEMBERS])[]_m4_defun_epi([AC_CHECK_MEMBERS])
1473 m4_location(AC_FUNC_MMAP)acfunctions.m4:1080
1475 m4_include(aclang.m4)
1477 _m4_foreachm4_if(m4_quote($2), [], [],
1478 [m4_define([$1], [m4_car($2)])$3[]_m4_foreach([$1],
1482 AM_PROG_INSTALL_m4_defun_pro([AM_PROG_INSTALL])AC_DIAGNOSE([obsolete], [The macro `AM_PROG_INSTALL' is obsolete.
1483 You should run autoupdate.])dnl
1484 AC_PROG_INSTALL($@)[]AC_PROVIDE([AM_PROG_INSTALL])[]_m4_defun_epi([AM_PROG_INSTALL])
1486 AM_FUNC_MKTIME_m4_defun_pro([AM_FUNC_MKTIME])AC_DIAGNOSE([obsolete], [The macro `AM_FUNC_MKTIME' is obsolete.
1487 You should run autoupdate.])dnl
1488 AC_FUNC_MKTIME($@)[]AC_PROVIDE([AM_FUNC_MKTIME])[]_m4_defun_epi([AM_FUNC_MKTIME])
1492 AC_LIBSOURCESm4_foreach([_AC_FILENAME], [$1],
1493 [AC_LIBSOURCE(_AC_FILENAME)])
1495 AC_C_INLINE_m4_defun_pro([AC_C_INLINE])AC_REQUIRE([AC_PROG_CC_STDC])dnl
1496 AC_CACHE_CHECK([for inline], ac_cv_c_inline,
1498 for ac_kw in inline __inline__ __inline; do
1499 AC_COMPILE_IFELSE([AC_LANG_SOURCE(
1500 [#ifndef __cplusplus
1501 static $ac_kw int static_foo () {return 0; }
1502 $ac_kw int foo () {return 0; }
1505 [ac_cv_c_inline=$ac_kw; break])
1508 case $ac_cv_c_inline in
1510 no) AC_DEFINE(inline,,
1511 [Define as `__inline' if that's what the C compiler calls it,
1512 or to nothing if it is not supported.]) ;;
1513 *) AC_DEFINE_UNQUOTED(inline, $ac_cv_c_inline) ;;
1515 []AC_PROVIDE([AC_C_INLINE])[]_m4_defun_epi([AC_C_INLINE])
1517 m4_location(AC_TRY_RUN)acgeneral.m4:2851
1519 AC_RETSIGTYPE_m4_defun_pro([AC_RETSIGTYPE])AC_DIAGNOSE([obsolete], [The macro `AC_RETSIGTYPE' is obsolete.
1520 You should run autoupdate.])dnl
1521 AC_TYPE_SIGNAL($@)[]AC_PROVIDE([AC_RETSIGTYPE])[]_m4_defun_epi([AC_RETSIGTYPE])
1523 m4_location(AC_PROG_RANLIB)acspecific.m4:113
1525 AC_STRUCT_ST_RDEV_m4_defun_pro([AC_STRUCT_ST_RDEV])AC_DIAGNOSE([obsolete], [The macro `AC_STRUCT_ST_RDEV' is obsolete.
1526 You should run autoupdate.])dnl
1527 AC_DIAGNOSE([obsolete], [$0:
1528 your code should no longer depend upon `HAVE_ST_RDEV', but
1529 `HAVE_STRUCT_STAT_ST_RDEV'. Remove this warning and
1530 the `AC_DEFINE' when you adjust the code.])
1531 AC_CHECK_MEMBERS([struct stat.st_rdev],
1532 [AC_DEFINE(HAVE_ST_RDEV, 1,
1533 [Define if your `struct stat' has `st_rdev'.
1534 Deprecated, use `HAVE_STRUCT_STAT_ST_RDEV'
1536 []AC_PROVIDE([AC_STRUCT_ST_RDEV])[]_m4_defun_epi([AC_STRUCT_ST_RDEV])
1538 AC_MSG_NOTICEm4_ifset([AS_MESSAGE_LOG_FD],
1539 [{ _AS_ECHO([$as_me:__oline__: $1], [AS_MESSAGE_LOG_FD])
1540 _AS_ECHO([$as_me: $1], [$2]);}],
1541 [_AS_ECHO([$as_me: $1], [$2])])[]dnl
1544 m4_location(AC_TIMEZONE)acoldnames.m4:74
1546 AC_FUNC_CHECK_m4_defun_pro([AC_FUNC_CHECK])AC_DIAGNOSE([obsolete], [The macro `AC_FUNC_CHECK' is obsolete.
1547 You should run autoupdate.])dnl
1548 AC_CHECK_FUNC($@)[]AC_PROVIDE([AC_FUNC_CHECK])[]_m4_defun_epi([AC_FUNC_CHECK])
1550 AC_TIME_WITH_SYS_TIME_m4_defun_pro([AC_TIME_WITH_SYS_TIME])AC_DIAGNOSE([obsolete], [The macro `AC_TIME_WITH_SYS_TIME' is obsolete.
1551 You should run autoupdate.])dnl
1552 AC_HEADER_TIME($@)[]AC_PROVIDE([AC_TIME_WITH_SYS_TIME])[]_m4_defun_epi([AC_TIME_WITH_SYS_TIME])
1556 m4_location(AS_DIRNAME_SED)m4sh.m4:292
1558 AC_HAVE_FUNCS_m4_defun_pro([AC_HAVE_FUNCS])AC_DIAGNOSE([obsolete], [The macro `AC_HAVE_FUNCS' is obsolete.
1559 You should run autoupdate.])dnl
1560 AC_CHECK_FUNCS($@)[]AC_PROVIDE([AC_HAVE_FUNCS])[]_m4_defun_epi([AC_HAVE_FUNCS])
1562 m4_location(AC_PROGRAM_PATH)acoldnames.m4:37
1564 m4_splitm4_changequote(``, '')dnl
1565 [dnl Can't use m4_default here instead of m4_if, because m4_default uses
1566 dnl [ and ] as quotes.
1567 m4_patsubst(````$1'''',
1568 m4_if(``$2'',, ``[ ]+'', ``$2''),
1570 m4_changequote([, ])
1572 AC_DIVERT_PUSHm4_pushdef([m4_divert_stack],
1573 m4_location[: $0: $1]m4_ifdef([m4_divert_stack], [
1574 m4_defn([m4_divert_stack])]))dnl
1575 m4_pushdef([_m4_divert_diversion], [$1])dnl
1576 m4_builtin([divert], _m4_divert(_m4_divert_diversion))dnl
1579 AC_LANG_FUNC_LINK_TRY_m4_defun_pro([AC_LANG_FUNC_LINK_TRY])_AC_LANG_DISPATCH([$0], _AC_LANG, $@)[]AC_PROVIDE([AC_LANG_FUNC_LINK_TRY])[]_m4_defun_epi([AC_LANG_FUNC_LINK_TRY])
1581 m4_location(AC_LANG_BOOL_COMPILE_TRY)aclang.m4:330
1583 AC_HEADER_EGREP_m4_defun_pro([AC_HEADER_EGREP])AC_DIAGNOSE([obsolete], [The macro `AC_HEADER_EGREP' is obsolete.
1584 You should run autoupdate.])dnl
1585 AC_EGREP_HEADER($@)[]AC_PROVIDE([AC_HEADER_EGREP])[]_m4_defun_epi([AC_HEADER_EGREP])
1587 AC_FUNC_STRCOLL_m4_defun_pro([AC_FUNC_STRCOLL])AC_CACHE_CHECK(for working strcoll, ac_cv_func_strcoll_works,
1588 [AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
1589 [[exit (strcoll ("abc", "def") >= 0 ||
1590 strcoll ("ABC", "DEF") >= 0 ||
1591 strcoll ("123", "456") >= 0)]])],
1592 ac_cv_func_strcoll_works=yes,
1593 ac_cv_func_strcoll_works=no,
1594 ac_cv_func_strcoll_works=no)])
1595 if test $ac_cv_func_strcoll_works = yes; then
1596 AC_DEFINE(HAVE_STRCOLL, 1,
1597 [Define if you have the `strcoll' function and it is properly
1600 []AC_PROVIDE([AC_FUNC_STRCOLL])[]_m4_defun_epi([AC_FUNC_STRCOLL])
1602 m4_location(AM_FUNC_STRTOD)acfunctions.m4:1269
1604 m4_location(AC_PROG_MAKE_SET)acspecific.m4:107
1606 m4_foreach_quotedm4_pushdef([$1], [])_m4_foreach_quoted($@)m4_popdef([$1])
1608 m4_location(AC_LANG_FUNC_LINK_TRY)aclang.m4:322
1610 m4_location(_AC_PATH_X)acspecific.m4:716
1612 m4_location(AC_LANG_COMPILER(C++))aclang.m4:1132
1614 m4_location(AC_CHECK_TOOL)acgeneral.m4:2447
1616 _AC_SYS_LARGEFILE_MACRO_VALUEAC_CACHE_CHECK([for $1 value needed for large files], [$3],
1619 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([$5], [$6])],
1621 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([@%:@define $1 $2
1626 if test "$$3" != no; then
1627 AC_DEFINE_UNQUOTED([$1], [$$3], [$4])
1629 rm -f conftest*[]dnl
1632 m4_location(AC_F77_NAME_MANGLING)aclang.m4:2120
1634 m4_list_cmpm4_if([$1$2], [()()], 0,
1635 [$1], [()], [m4_list_cmp((0), [$2])],
1636 [$2], [()], [m4_list_cmp([$1], (0))],
1637 [m4_case(m4_cmp(m4_car$1, m4_car$2),
1640 0, [m4_list_cmp((m4_shift$1), (m4_shift$2))])])
1642 m4_expansion_stack_popm4_popdef([m4_expansion_stack])
1644 AC_F77_DUMMY_MAIN_m4_defun_pro([AC_F77_DUMMY_MAIN])AC_REQUIRE([AC_F77_LIBRARY_LDFLAGS])dnl
1645 m4_define([_AC_LANG_PROGRAM_C_F77_HOOKS],
1646 [#ifdef F77_DUMMY_MAIN
1650 int F77_DUMMY_MAIN() { return 1; }
1653 AC_CACHE_CHECK([for dummy main to link with Fortran 77 libraries],
1654 ac_cv_f77_dummy_main,
1656 ac_f77_dm_save_LIBS=$LIBS
1659 # First, try linking without a dummy main:
1661 ac_cv_f77_dummy_main=none,
1662 ac_cv_f77_dummy_main=unknown)
1664 if test $ac_cv_f77_dummy_main = unknown; then
1665 for ac_func in MAIN__ MAIN_ __main MAIN _MAIN __MAIN main_ main__ _main; do
1666 AC_TRY_LINK([@%:@define F77_DUMMY_MAIN $ac_func],
1667 [], [ac_cv_f77_dummy_main=$ac_func; break])
1671 LIBS=$ac_f77_dm_save_LIBS
1674 F77_DUMMY_MAIN=$ac_cv_f77_dummy_main
1675 AS_IF([test "$F77_DUMMY_MAIN" != unknown],
1677 [if test $F77_DUMMY_MAIN != none; then
1678 AC_DEFINE_UNQUOTED([F77_DUMMY_MAIN], $F77_DUMMY_MAIN,
1679 [Define to dummy `main' function (if any) required to
1680 link to the Fortran 77 libraries.])
1683 [AC_MSG_ERROR([Linking to Fortran libraries from C fails.])])])
1684 []AC_PROVIDE([AC_F77_DUMMY_MAIN])[]_m4_defun_epi([AC_F77_DUMMY_MAIN])
1688 _m4_divertm4_ifdef([_m4_divert($1)],
1689 [m4_indir([_m4_divert($1)])],
1692 _AC_OUTPUT_HEADERScat >>$CONFIG_STATUS <<\EOF
1695 # CONFIG_HEADER section.
1698 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
1699 # NAME is the cpp macro being defined and VALUE is the value it is being given.
1701 # ac_d sets the value in "#define NAME VALUE" lines.
1702 dnl Double quote for the `[ ]' and `define'.
1703 [ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
1704 ac_dB='[ ].*$,\1#\2'
1707 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
1708 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
1709 ac_uB='$,\1#\2define\3'
1713 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
1714 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1716 - | *:- | *:-:* ) # input from stdin
1718 ac_file_in=`echo "$ac_file" | sed 's,[[^:]]*:,,'`
1719 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1720 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[[^:]]*:,,'`
1721 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1722 * ) ac_file_in=$ac_file.in ;;
1725 test x"$ac_file" != x- && AC_MSG_NOTICE([creating $ac_file])
1727 # First look for the input files in the build tree, otherwise in the
1729 ac_file_inputs=`IFS=:
1730 for f in $ac_file_in; do
1732 -) echo $tmp/stdin ;;
1734 # Absolute (can't be DOS-style, as IFS=:)
1735 test -f "$f" || AC_MSG_ERROR([cannot find input file: $f])
1738 if test -f "$f"; then
1741 elif test -f "$srcdir/$f"; then
1746 AC_MSG_ERROR([cannot find input file: $f])
1749 done` || AS_EXIT([1])
1750 # Remove the trailing spaces.
1751 sed 's/[[ ]]*$//' $ac_file_inputs >$tmp/in
1755 # Transform confdefs.h into two sed scripts, `conftest.defines' and
1756 # `conftest.undefs', that substitutes the proper values into
1757 # config.h.in to produce config.h. The first handles `#define'
1758 # templates, and the second `#undef' templates.
1759 # And first: Protect against being on the right side of a sed subst in
1760 # config.status. Protect against being in an unquoted here document
1762 rm -f conftest.defines conftest.undefs
1763 # Using a here document instead of a string reduces the quoting nightmare.
1764 # Putting comments in sed scripts is not portable.
1766 # `end' is used to avoid that the second main sed command (meant for
1767 # 0-ary CPP macros) applies to n-ary macro definitions.
1768 # See the Autoconf documentation for `clear'.
1769 cat >confdef2sed.sed <<\EOF
1770 dnl Double quote for `[ ]' and `define'.
1775 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
1777 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
1780 # If some macros were called several times there might be several times
1781 # the same #defines, which is useless. Nevertheless, we may not want to
1782 # sort them, since we want the *last* AC-DEFINE to be honored.
1783 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
1784 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
1785 rm -f confdef2sed.sed
1787 # This sed command replaces #undef with comments. This is necessary, for
1788 # example, in the case of _POSIX_SOURCE, which is predefined and required
1789 # on some systems where configure will not decide to define it.
1790 cat >>conftest.undefs <<\EOF
1791 [s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,]
1794 # Break up conftest.defines because some shells have a limit on the size
1795 # of here documents, and old seds have small limits too (100 cmds).
1796 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
1797 echo ' if egrep ["^[ ]*#[ ]*define"] $tmp/in >/dev/null; then' >>$CONFIG_STATUS
1798 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
1799 echo ' :' >>$CONFIG_STATUS
1801 while grep . conftest.defines >/dev/null
1803 # Write a limited-size here document to $tmp/defines.sed.
1804 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
1805 # Speed up: don't consider the non `#define' lines.
1806 echo ['/^[ ]*#[ ]*define/!b'] >>$CONFIG_STATUS
1807 # Work around the forget-to-reset-the-flag bug.
1808 echo 't clr' >>$CONFIG_STATUS
1809 echo ': clr' >>$CONFIG_STATUS
1810 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
1812 sed -f $tmp/defines.sed $tmp/in >$tmp/out
1816 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
1817 rm -f conftest.defines
1818 mv conftest.tail conftest.defines
1820 rm -f conftest.defines
1821 echo ' fi # egrep' >>$CONFIG_STATUS
1822 echo >>$CONFIG_STATUS
1824 # Break up conftest.undefs because some shells have a limit on the size
1825 # of here documents, and old seds have small limits too (100 cmds).
1826 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
1828 while grep . conftest.undefs >/dev/null
1830 # Write a limited-size here document to $tmp/undefs.sed.
1831 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
1832 # Speed up: don't consider the non `#undef'
1833 echo ['/^[ ]*#[ ]*undef/!b'] >>$CONFIG_STATUS
1834 # Work around the forget-to-reset-the-flag bug.
1835 echo 't clr' >>$CONFIG_STATUS
1836 echo ': clr' >>$CONFIG_STATUS
1837 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
1839 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
1843 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
1844 rm -f conftest.undefs
1845 mv conftest.tail conftest.undefs
1847 rm -f conftest.undefs
1849 dnl Now back to your regularly scheduled config.status.
1850 cat >>$CONFIG_STATUS <<\EOF
1851 # Let's still pretend it is `configure' which instantiates (i.e., don't
1852 # use $as_me), people would be surprised to read:
1853 # /* config.h. Generated automatically by config.status. */
1854 if test x"$ac_file" = x-; then
1855 echo "/* Generated automatically by configure. */" >$tmp/config.h
1857 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
1859 cat $tmp/in >>$tmp/config.h
1861 if test x"$ac_file" != x-; then
1862 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
1863 AC_MSG_NOTICE([$ac_file is unchanged])
1865 ac_dir=`AS_DIRNAME(["$ac_file"])`
1866 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1867 AS_MKDIR_P(["$ac_dir"])
1870 mv $tmp/config.h $ac_file
1876 m4_ifset([AC_LIST_HEADERS_COMMANDS],
1877 [ # Run the commands associated with the file.
1879 AC_LIST_HEADERS_COMMANDS()dnl
1886 AC_MMAP_m4_defun_pro([AC_MMAP])AC_DIAGNOSE([obsolete], [The macro `AC_MMAP' is obsolete.
1887 You should run autoupdate.])dnl
1888 AC_FUNC_MMAP($@)[]AC_PROVIDE([AC_MMAP])[]_m4_defun_epi([AC_MMAP])
1890 m4_location(AC_PROGRAM_CHECK)acoldnames.m4:35
1892 AC_MODE_T_m4_defun_pro([AC_MODE_T])AC_DIAGNOSE([obsolete], [The macro `AC_MODE_T' is obsolete.
1893 You should run autoupdate.])dnl
1894 AC_TYPE_MODE_T($@)[]AC_PROVIDE([AC_MODE_T])[]_m4_defun_epi([AC_MODE_T])
1896 m4_location(AM_MINGW32)acoldnames.m4:85
1898 _AC_FUNC_FORK_m4_defun_pro([_AC_FUNC_FORK])AC_CACHE_CHECK(for working fork, ac_cv_func_fork_works,
1899 [AC_RUN_IFELSE([/* By Rüdiger Kuhlmann. */
1900 #include <sys/types.h>
1902 # include <unistd.h>
1904 /* Some systems only have a dummy stub for fork() */
1911 [ac_cv_func_fork_works=yes],
1912 [ac_cv_func_fork_works=no],
1913 [ac_cv_func_fork_works=cross])])
1914 []AC_PROVIDE([_AC_FUNC_FORK])[]_m4_defun_epi([_AC_FUNC_FORK])
1916 AC_PROG_CPP_m4_defun_pro([AC_PROG_CPP])AC_REQUIRE([AC_PROG_CC])dnl
1917 AC_ARG_VAR([CPP], [C preprocessor])dnl
1918 _AC_ARG_VAR_CPPFLAGS()dnl
1920 AC_MSG_CHECKING([how to run the C preprocessor])
1921 # On Suns, sometimes $CPP names a directory.
1922 if test -n "$CPP" && test -d "$CPP"; then
1925 if test -z "$CPP"; then
1926 AC_CACHE_VAL([ac_cv_prog_CPP],
1928 # Double quotes because CPP needs to be expanded
1929 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
1931 _AC_PROG_PREPROC_WORKS_IFELSE([break])
1939 AC_MSG_RESULT([$CPP])
1940 _AC_PROG_PREPROC_WORKS_IFELSE([],
1941 [AC_MSG_ERROR([C preprocessor "$CPP" fails sanity check])])
1944 []AC_PROVIDE([AC_PROG_CPP])[]_m4_defun_epi([AC_PROG_CPP])
1946 m4_requirem4_expansion_stack_push(m4_location[: $1 is required by...])dnl
1947 m4_ifdef([_m4_expanding($1)],
1948 [m4_fatal([$0: circular dependency of $1])])dnl
1949 m4_ifndef([_m4_divert_dump],
1950 [m4_fatal([$0: cannot be used outside of an m4_defun'd macro])])dnl
1951 m4_provide_ifelse([$1],
1953 [m4_divert_push(m4_eval(m4_divnum - 1))dnl
1954 m4_default([$2], [$1])
1955 m4_divert(m4_defn([_m4_divert_dump]))dnl
1956 m4_undivert(m4_defn([_m4_divert_diversion]))dnl
1957 m4_divert_pop(m4_defn([_m4_divert_dump]))])dnl
1958 m4_provide_ifelse([$1],
1961 [$1 is m4_require'd but is not m4_defun'd])])dnl
1962 m4_expansion_stack_pop()dnl
1965 m4_location(AC_WARN)acoldnames.m4:27
1967 AC_PROGRAM_EGREP_m4_defun_pro([AC_PROGRAM_EGREP])AC_DIAGNOSE([obsolete], [The macro `AC_PROGRAM_EGREP' is obsolete.
1968 You should run autoupdate.])dnl
1969 AC_EGREP_CPP($@)[]AC_PROVIDE([AC_PROGRAM_EGREP])[]_m4_defun_epi([AC_PROGRAM_EGREP])
1971 AC_EMXOS2_m4_defun_pro([AC_EMXOS2])AC_DIAGNOSE([obsolete], [The macro `AC_EMXOS2' is obsolete.
1972 You should run autoupdate.])dnl
1973 AC_REQUIRE([AC_CANONICAL_HOST])[]dnl
1974 AC_DIAGNOSE([obsolete],
1975 [$0 is obsolete: use AC_CANONICAL_HOST and $host_os])dnl
1977 *emx* ) EMXOS2=yes;;
1980 []AC_PROVIDE([AC_EMXOS2])[]_m4_defun_epi([AC_EMXOS2])
1982 m4_location(_AC_FUNC_FORK)acfunctions.m4:1473
1984 m4_location(AC_NO_EXECUTABLES)aclang.m4:621
1986 AC_DEFUN_ONCEm4_defun_once([$1], [$2[]AC_PROVIDE([$1])])
1990 AC_PROVIDE_IFELSEm4_ifdef([AC_PROVIDE_$1],
1993 m4_location(AC_CHECK_LIB)acgeneral.m4:2583
1995 AC_CHECK_TYPES_m4_defun_pro([AC_CHECK_TYPES])m4_foreach([AC_Type], [$1],
1996 [_AC_CHECK_TYPE_NEW(AC_Type,
1997 [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_[]AC_Type), 1,
1998 [Define if the system has the type
2002 [$4])])[]AC_PROVIDE([AC_CHECK_TYPES])[]_m4_defun_epi([AC_CHECK_TYPES])
2004 m4_location(AC_OFF_T)acoldnames.m4:62
2006 AM_FUNC_ERROR_AT_LINE_m4_defun_pro([AM_FUNC_ERROR_AT_LINE])AC_DIAGNOSE([obsolete], [The macro `AM_FUNC_ERROR_AT_LINE' is obsolete.
2007 You should run autoupdate.])dnl
2008 AC_FUNC_ERROR_AT_LINE($@)[]AC_PROVIDE([AM_FUNC_ERROR_AT_LINE])[]_m4_defun_epi([AM_FUNC_ERROR_AT_LINE])
2010 m4_include(acversion.m4)
2012 _m4_divert(HELP_WITH)13
2014 AC_FIND_X_m4_defun_pro([AC_FIND_X])AC_DIAGNOSE([obsolete], [The macro `AC_FIND_X' is obsolete.
2015 You should run autoupdate.])dnl
2016 AC_PATH_X($@)[]AC_PROVIDE([AC_FIND_X])[]_m4_defun_epi([AC_FIND_X])
2018 m4_location(AC_PREPROC_IFELSE)acgeneral.m4:2659
2020 m4_location(AC_CANONICAL_SYSTEM)acgeneral.m4:1784
2022 m4_location(AC_ARG_ARRAY)acspecific.m4:352
2024 AC_ST_RDEV_m4_defun_pro([AC_ST_RDEV])AC_DIAGNOSE([obsolete], [The macro `AC_ST_RDEV' is obsolete.
2025 You should run autoupdate.])dnl
2026 AC_STRUCT_ST_RDEV($@)[]AC_PROVIDE([AC_ST_RDEV])[]_m4_defun_epi([AC_ST_RDEV])
2028 AC_TIMEZONE_m4_defun_pro([AC_TIMEZONE])AC_DIAGNOSE([obsolete], [The macro `AC_TIMEZONE' is obsolete.
2029 You should run autoupdate.])dnl
2030 AC_STRUCT_TIMEZONE($@)[]AC_PROVIDE([AC_TIMEZONE])[]_m4_defun_epi([AC_TIMEZONE])
2032 AC_PROG_GCC_TRADITIONAL_m4_defun_pro([AC_PROG_GCC_TRADITIONAL])if test $ac_cv_c_compiler_gnu = yes; then
2033 AC_CACHE_CHECK(whether $CC needs -traditional,
2034 ac_cv_prog_gcc_traditional,
2035 [ ac_pattern="Autoconf.*'x'"
2036 AC_EGREP_CPP($ac_pattern, [#include <sgtty.h>
2038 ac_cv_prog_gcc_traditional=yes, ac_cv_prog_gcc_traditional=no)
2040 if test $ac_cv_prog_gcc_traditional = no; then
2041 AC_EGREP_CPP($ac_pattern, [#include <termio.h>
2043 ac_cv_prog_gcc_traditional=yes)
2045 if test $ac_cv_prog_gcc_traditional = yes; then
2046 CC="$CC -traditional"
2049 []AC_PROVIDE([AC_PROG_GCC_TRADITIONAL])[]_m4_defun_epi([AC_PROG_GCC_TRADITIONAL])
2051 AC_C_CONST_m4_defun_pro([AC_C_CONST])AC_REQUIRE([AC_PROG_CC_STDC])dnl
2052 AC_CACHE_CHECK([for an ANSI C-conforming const], ac_cv_c_const,
2053 [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],
2054 [[/* FIXME: Include the comments suggested by Paul. */
2056 /* Ultrix mips cc rejects this. */
2057 typedef int charset[2];
2059 /* SunOS 4.1.1 cc rejects this. */
2060 char const *const *ccp;
2062 /* NEC SVR4.0.2 mips cc rejects this. */
2063 struct point {int x, y;};
2064 static struct point const zero = {0,0};
2065 /* AIX XL C 1.02.0.0 rejects this.
2066 It does not let you subtract one const X* pointer from another in
2067 an arm of an if-expression whose if-part is not a constant
2069 const char *g = "string";
2070 ccp = &g + (g ? g-g : 0);
2071 /* HPUX 7.0 cc rejects these. */
2074 ccp = (char const *const *) p;
2075 { /* SCO 3.2v4 cc rejects this. */
2077 char const *s = 0 ? (char *) 0 : (char const *) 0;
2081 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
2083 const int *foo = &x[0];
2086 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
2087 typedef const int *iptr;
2091 { /* AIX XL C 1.02.0.0 rejects this saying
2092 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
2093 struct s { int j; const int *ap[3]; };
2094 struct s *b; b->j = 5;
2096 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
2101 [ac_cv_c_const=yes],
2102 [ac_cv_c_const=no])])
2103 if test $ac_cv_c_const = no; then
2105 [Define to empty if `const' does not conform to ANSI C.])
2107 []AC_PROVIDE([AC_C_CONST])[]_m4_defun_epi([AC_C_CONST])
2109 m4_version_unletterm4_translit(m4_patsubst(m4_patsubst(m4_patsubst([$1],
2110 [\([0-9]+\)\([abcdefghi]\)],
2111 [m4_eval(\1 + 1).-1.\2]),
2112 [\([0-9]+\)\([jklmnopqrs]\)],
2113 [m4_eval(\1 + 1).-1.1\2]),
2114 [\([0-9]+\)\([tuvwxyz]\)],
2115 [m4_eval(\1 + 1).-1.2\2]),
2116 [abcdefghijklmnopqrstuvwxyz],
2117 [12345678901234567890123456])
2119 m4_location(AC_UTIME_NULL)acfunctions.m4:1409
2121 AS_VAR_PUSHDEFAS_LITERAL_IF([$2],
2122 [m4_pushdef([$1], [AS_TR_SH($2)])],
2124 m4_pushdef([$1], [$as_[$1]])])
2126 AC_RESTARTABLE_SYSCALLS_m4_defun_pro([AC_RESTARTABLE_SYSCALLS])AC_DIAGNOSE([obsolete], [The macro `AC_RESTARTABLE_SYSCALLS' is obsolete.
2127 You should run autoupdate.])dnl
2128 AC_SYS_RESTARTABLE_SYSCALLS($@)[]AC_PROVIDE([AC_RESTARTABLE_SYSCALLS])[]_m4_defun_epi([AC_RESTARTABLE_SYSCALLS])
2130 AC_CONFIG_SUBDIRS_m4_defun_pro([AC_CONFIG_SUBDIRS])_AC_CONFIG_UNIQUE([$1])dnl
2131 AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
2132 m4_append([_AC_LIST_SUBDIRS], [ $1])dnl
2133 AS_LITERAL_IF([$1], [],
2134 [AC_DIAGNOSE(syntax, [$0: you should use literals])])
2135 m4_divert_text([DEFAULTS],
2136 [ac_subdirs_all="$ac_subdirs_all m4_normalize([$1])"])
2137 AC_SUBST(subdirs, "$subdirs $1")dnl
2138 []AC_PROVIDE([AC_CONFIG_SUBDIRS])[]_m4_defun_epi([AC_CONFIG_SUBDIRS])
2140 AC_WARNINGAC_DIAGNOSE([syntax], [$1])
2142 m4_warnm4_warning_ifelse([$1], [_m4_warn([$2])])
2144 AC_FUNC_FORK_m4_defun_pro([AC_FUNC_FORK])AC_REQUIRE([AC_TYPE_PID_T])dnl
2145 AC_CHECK_HEADERS(unistd.h vfork.h)
2146 AC_CHECK_FUNCS(fork vfork)
2147 ac_cv_func_fork_works=$ac_cv_func_fork
2148 if test "x$ac_cv_func_fork" = xyes; then
2151 if test "x$ac_cv_func_fork_works" = xcross; then
2153 *-*-amigaos* | *-*-msdosdjgpp*)
2154 # Override, as these systems have only a dummy fork() stub
2155 ac_cv_func_fork_works=no
2158 ac_cv_func_fork_works=yes
2161 AC_MSG_WARN(CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling.)
2163 ac_cv_func_vfork_works=$ac_cv_func_vfork
2164 if test "x$ac_cv_func_vfork" = xyes; then
2167 if test "x$ac_cv_func_fork_works" = xcross; then
2168 ac_cv_func_vfork_works=ac_cv_func_vfork
2169 AC_MSG_WARN(CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling.)
2172 if test "x$ac_cv_func_vfork_works" = xyes; then
2173 AC_DEFINE(HAVE_WORKING_VFORK, 1, [Define if `vfork' works.])
2175 AC_DEFINE(vfork, fork, [Define as `fork' if `vfork' does not work.])
2177 if test "x$ac_cv_func_fork_works" = xyes; then
2178 AC_DEFINE(HAVE_WORKING_FORK, 1, [Define if `fork' works.])
2180 []AC_PROVIDE([AC_FUNC_FORK])[]_m4_defun_epi([AC_FUNC_FORK])
2182 AC_SYS_LARGEFILE_m4_defun_pro([AC_SYS_LARGEFILE])AC_ARG_ENABLE(largefile,
2183 [ --disable-largefile omit support for large files])
2184 if test "$enable_largefile" != no; then
2186 AC_CACHE_CHECK([for special C compiler options needed for large files],
2187 ac_cv_sys_largefile_CC,
2188 [ac_cv_sys_largefile_CC=no
2189 if test "$GCC" != yes; then
2192 # IRIX 6.2 and later do not support large files by default,
2193 # so use the C compiler's -n32 option if that helps.
2194 AC_LANG_CONFTEST([AC_LANG_PROGRAM([_AC_SYS_LARGEFILE_TEST_INCLUDES])])
2195 AC_COMPILE_IFELSE([], [break])
2197 AC_COMPILE_IFELSE([], [ac_cv_sys_largefile_CC=' -n32'; break])
2201 rm -f conftest.$ac_ext
2203 if test "$ac_cv_sys_largefile_CC" != no; then
2204 CC=$CC$ac_cv_sys_largefile_CC
2207 _AC_SYS_LARGEFILE_MACRO_VALUE(_FILE_OFFSET_BITS, 64,
2208 ac_cv_sys_file_offset_bits,
2209 [Number of bits in a file offset, on hosts where this is settable.],
2210 [_AC_SYS_LARGEFILE_TEST_INCLUDES])
2211 _AC_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES, 1,
2212 ac_cv_sys_large_files,
2213 [Define for large files, on AIX-style hosts.],
2214 [_AC_SYS_LARGEFILE_TEST_INCLUDES])
2216 []AC_PROVIDE([AC_SYS_LARGEFILE])[]_m4_defun_epi([AC_SYS_LARGEFILE])
2218 AC_PROG_LEXm4_provide_ifelse([AC_PROG_LEX],
2219 [m4_warn([syntax], [AC_PROG_LEX invoked multiple times])],
2220 [_m4_defun_pro([AC_PROG_LEX])AC_CHECK_PROGS(LEX, flex lex, :)
2221 if test -z "$LEXLIB"
2223 AC_CHECK_LIB(fl, yywrap, LEXLIB="-lfl",
2224 [AC_CHECK_LIB(l, yywrap, LEXLIB="-ll")])
2227 if test "x$LEX" != "x:"; then
2229 fi[]AC_PROVIDE([AC_PROG_LEX])[]_m4_defun_epi([AC_PROG_LEX])])
2231 AC_CONFIG_SRCDIR_m4_defun_pro([AC_CONFIG_SRCDIR])m4_divert_text([DEFAULTS], [ac_unique_file="$1"])[]AC_PROVIDE([AC_CONFIG_SRCDIR])[]_m4_defun_epi([AC_CONFIG_SRCDIR])
2233 m4_location(AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)acfunctions.m4:711
2235 m4_location(AC_CONFIG_AUX_DIRS)acgeneral.m4:1683
2241 AC_LIST_LINKS_COMMANDS
2243 AC_CACHE_VALm4_if(m4_regexp([$2], [AC_DEFINE]), [-1], [],
2244 [AC_DIAGNOSE(syntax,
2245 [$0($1, ...): suspicious presence of an AC_DEFINE in the second argument, ]dnl
2246 [where no actions should be taken])])dnl
2248 [echo $ECHO_N "(cached) $ECHO_C" >&AS_MESSAGE_FD],
2251 m4_location(AC_PROG_CXXCPP)aclang.m4:1125
2253 _AH_VERBATIM_OLDAS_LITERAL_IF([$1],
2254 [AH_OUTPUT([$1], _AS_QUOTE([[$2]]))])
2257 m4_location(AC_INCLUDES_DEFAULT)acgeneral.m4:2257
2259 _AS_CR_PREPARE_m4_defun_pro([_AS_CR_PREPARE])# Avoid depending upon Character Ranges.
2260 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2261 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2262 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2263 as_cr_digits='0123456789'
2264 as_cr_alnum=$as_cr_Letters$as_cr_digits
2265 []_m4_defun_epi([_AS_CR_PREPARE])
2267 m4_pattern_forbidm4_file_append(m4_defn([m4_tmpdir])/forbidden.rx, [$1])
2269 m4_divertm4_define([m4_divert_stack],
2270 m4_location[: $0: $1]m4_ifdef([m4_divert_stack], [
2271 m4_defn([m4_divert_stack])]))dnl
2272 m4_builtin([divert], _m4_divert([$1]))dnl
2277 m4_version_comparem4_list_cmp((m4_split(m4_version_unletter([$1]), [\.])),
2278 (m4_split(m4_version_unletter([$2]), [\.])))
2282 m4_location(AC_PROG_LEX)acspecific.m4:141
2284 m4_location(AC_SCO_INTL)acspecific.m4:1050
2286 m4_location(AC_LANG_SAVE)aclang.m4:167
2288 AC_CHECK_FUNCS_m4_defun_pro([AC_CHECK_FUNCS])AC_FOREACH([AC_Func], [$1],
2289 [AH_TEMPLATE(AS_TR_CPP(HAVE_[]AC_Func),
2290 [Define if you have the `]AC_Func[' function.])])dnl
2293 AC_CHECK_FUNC($ac_func,
2294 [AC_DEFINE_UNQUOTED([AS_TR_CPP([HAVE_$ac_func])]) $2],
2297 []AC_PROVIDE([AC_CHECK_FUNCS])[]_m4_defun_epi([AC_CHECK_FUNCS])
2299 m4_location(AC_ISC_POSIX)acspecific.m4:1017
2301 m4_location(AC_C_BIGENDIAN)aclang.m4:1573
2305 AC_TRY_COMMAND_m4_defun_pro([AC_TRY_COMMAND]){ ac_try='$1'
2306 _AC_EVAL([$ac_try]); }[]AC_PROVIDE([AC_TRY_COMMAND])[]_m4_defun_epi([AC_TRY_COMMAND])
2308 undivertm4_builtin([undivert], _m4_divert([$1]))
2310 m4_location(AC_PROG_AWK)acspecific.m4:118
2312 m4_location(AC_MINUS_C_MINUS_O)acoldnames.m4:60
2314 AC_TRY_LINK_FUNC_m4_defun_pro([AC_TRY_LINK_FUNC])AC_LINK_IFELSE([AC_LANG_CALL([], [$1])], [$2], [$3])[]AC_PROVIDE([AC_TRY_LINK_FUNC])[]_m4_defun_epi([AC_TRY_LINK_FUNC])
2316 m4_location(AC_FIND_XTRA)acoldnames.m4:52
2318 AC_TRY_COMPILE_m4_defun_pro([AC_TRY_COMPILE])AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[$1]], [[$2]])], [$3], [$4])[]AC_PROVIDE([AC_TRY_COMPILE])[]_m4_defun_epi([AC_TRY_COMPILE])
2320 AC_CANONICAL_BUILDm4_provide_ifelse([AC_CANONICAL_BUILD],
2321 [m4_warn([syntax], [AC_CANONICAL_BUILD invoked multiple times])],
2322 [_m4_defun_pro([AC_CANONICAL_BUILD])AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
2323 m4_divert_text([HELP_CANON],
2326 --build=BUILD configure for building on BUILD [guessed]]])dnl
2327 # Make sure we can run config.sub.
2328 $ac_config_sub sun4 >/dev/null 2>&1 ||
2329 AC_MSG_ERROR([cannot run $ac_config_sub])
2331 AC_CACHE_CHECK([build system type], [ac_cv_build],
2332 [ac_cv_build_alias=$build_alias
2333 test -z "$ac_cv_build_alias" &&
2334 ac_cv_build_alias=`$ac_config_guess`
2335 test -z "$ac_cv_build_alias" &&
2336 AC_MSG_ERROR([cannot guess build type; you must specify one])
2337 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2338 AC_MSG_ERROR([$ac_config_sub $ac_cv_build_alias failed.])
2340 _AC_CANONICAL_SPLIT(build)
2341 []AC_PROVIDE([AC_CANONICAL_BUILD])[]_m4_defun_epi([AC_CANONICAL_BUILD])])
2343 AH_TEMPLATEAH_VERBATIM([$1],
2344 m4_text_wrap([$2 */], [ ], [/* ])[
2347 AC_PROVIDEm4_define([AC_PROVIDE_$1])m4_provide([$1])
2349 m4_provide_ifelsem4_ifdef([m4_provide($1)],
2352 AC_DIVERT_POPm4_ifval([$1],
2353 [m4_if(_m4_divert([$1]), m4_divnum, [],
2354 [m4_fatal([$0($1): unexpected current diversion: ]m4_divnum)])])dnl
2355 m4_popdef([_m4_divert_diversion])dnl
2356 dnl m4_ifndef([_m4_divert_diversion],
2357 dnl [m4_fatal([too many m4_divert_pop])])dnl
2358 m4_builtin([divert],
2359 m4_ifdef([_m4_divert_diversion],
2360 [_m4_divert(_m4_divert_diversion)], -1))dnl
2361 m4_popdef([m4_divert_stack])dnl
2364 m4_location(AC_CONFIG_AUX_DIR)acgeneral.m4:1642
2368 m4_location(AC_CHECK_TYPE)actypes.m4:235
2370 AC_PREFIX_m4_defun_pro([AC_PREFIX])AC_DIAGNOSE([obsolete], [The macro `AC_PREFIX' is obsolete.
2371 You should run autoupdate.])dnl
2372 AC_PREFIX_PROGRAM($@)[]AC_PROVIDE([AC_PREFIX])[]_m4_defun_epi([AC_PREFIX])
2374 AC_OBJEXT_m4_defun_pro([AC_OBJEXT])[]AC_PROVIDE([AC_OBJEXT])[]_m4_defun_epi([AC_OBJEXT])
2376 AC_HELP_STRINGm4_pushdef([AC_Prefix], m4_default([$3], [ ]))dnl
2377 m4_pushdef([AC_Prefix_Format],
2378 [ %-]m4_eval(m4_len(AC_Prefix) - 3)[s ])dnl [ %-23s ]
2379 m4_text_wrap([$2], AC_Prefix, m4_format(AC_Prefix_Format, [$1]))dnl
2380 m4_popdef([AC_Prefix_Format])dnl
2381 m4_popdef([AC_Prefix])dnl
2384 m4_location(AC_REQUIRE_CPP)aclang.m4:583
2386 m4_location(AC_CANONICAL_TARGET)acgeneral.m4:1781
2388 _AC_LIBOBJAS_LITERAL_IF([$1],
2389 [AC_LIBSOURCE([$1.c])],
2391 AC_SUBST([LIBOBJS])dnl
2392 LIBOBJS="$LIBOBJS $1.$ac_objext"
2394 AC_CACHE_SAVEcat >confcache <<\_ACEOF
2395 # This file is a shell script that caches the results of configure
2396 # tests run on this system so they can be shared between configure
2397 # scripts and configure runs, see configure's option --config-cache.
2398 # It is not useful on other systems. If it contains results you don't
2399 # want to keep, you may remove or edit it.
2401 # config.status only pays attention to the cache file if you give it
2402 # the --recheck option to rerun configure.
2404 # `ac_cv_env_foo' variables (set or unset) will be overriden when
2405 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2414 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2416 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2418 if cmp -s $cache_file confcache; then :; else
2419 if test -w $cache_file; then
2420 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2421 cat confcache >$cache_file
2423 echo "not updating unwritable cache $cache_file"
2426 rm -f confcache[]dnl
2431 AC_PROG_F77_m4_defun_pro([AC_PROG_F77])AC_LANG_PUSH(Fortran 77)dnl
2432 AC_ARG_VAR([F77], [Fortran 77 compiler command])dnl
2433 AC_ARG_VAR([FFLAGS], [Fortran 77 compiler flags])dnl
2434 _AC_ARG_VAR_LDFLAGS()dnl
2437 [g77 f77 xlf cf77 cft77 frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 fc])])
2439 # Provide some information about the compiler.
2440 echo "$as_me:__oline__:" \
2441 "checking for _AC_LANG compiler version" >&AS_MESSAGE_LOG_FD
2442 ac_compiler=`set X $ac_compile; echo $[2]`
2443 _AC_EVAL([$ac_compiler --version </dev/null >&AS_MESSAGE_LOG_FD])
2444 _AC_EVAL([$ac_compiler -v </dev/null >&AS_MESSAGE_LOG_FD])
2445 _AC_EVAL([$ac_compiler -V </dev/null >&AS_MESSAGE_LOG_FD])
2447 m4_expand_once([_AC_COMPILER_EXEEXT])[]dnl
2448 m4_expand_once([_AC_COMPILER_OBJEXT])[]dnl
2449 # If we don't use `.F' as extension, the preprocessor is not run on the
2453 _AC_LANG_COMPILER_GNU
2455 G77=`test $ac_compiler_gnu = yes && echo yes`
2457 AC_LANG_POP(Fortran 77)dnl
2458 []AC_PROVIDE([AC_PROG_F77])[]_m4_defun_epi([AC_PROG_F77])
2462 AC_TRY_RUN_m4_defun_pro([AC_TRY_RUN])AC_RUN_IFELSE([AC_LANG_SOURCE([[$1]])], [$2], [$3], [$4])[]AC_PROVIDE([AC_TRY_RUN])[]_m4_defun_epi([AC_TRY_RUN])
2464 AC_OUTPUT_COMMANDS_PRE
2466 AC_LINKER_OPTION_m4_defun_pro([AC_LINKER_OPTION])if test "$ac_compiler_gnu" = yes; then
2467 for ac_link_opt in $1; do
2468 $2="[$]$2 -Xlinker $ac_link_opt"
2472 fi[]AC_PROVIDE([AC_LINKER_OPTION])[]_m4_defun_epi([AC_LINKER_OPTION])
2474 m4_location(AC_WORDS_BIGENDIAN)acoldnames.m4:77
2476 _AC_LIBOBJ_GETLOADAVGAC_LIBOBJ(getloadavg)
2477 AC_DEFINE(C_GETLOADAVG, 1, [Define if using `getloadavg.c'.])
2478 # Figure out what our getloadavg.c needs.
2480 AC_CHECK_HEADER(sys/dg_sys_info.h,
2482 AC_DEFINE(DGUX, 1, [Define for DGUX with <sys/dg_sys_info.h>.])
2483 AC_CHECK_LIB(dgc, dg_sys_info)])
2485 AC_CHECK_HEADER(locale.h)
2486 AC_CHECK_FUNCS(setlocale)
2488 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
2489 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because
2490 # Irix 4.0.5F has the header but not the library.
2491 if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then
2493 AC_DEFINE(SVR4, 1, [Define on System V Release 4.])
2496 if test $ac_have_func = no; then
2497 AC_CHECK_HEADER(inq_stats/cpustats.h,
2499 AC_DEFINE(UMAX, 1, [Define for Encore UMAX.])
2500 AC_DEFINE(UMAX4_3, 1,
2501 [Define for Encore UMAX 4.3 that has <inq_status/cpustats.h>
2502 instead of <sys/cpustats.h>.])])
2505 if test $ac_have_func = no; then
2506 AC_CHECK_HEADER(sys/cpustats.h,
2507 [ac_have_func=yes; AC_DEFINE(UMAX)])
2510 if test $ac_have_func = no; then
2511 AC_CHECK_HEADERS(mach/mach.h)
2514 AC_CHECK_HEADERS(nlist.h,
2515 [AC_CHECK_MEMBERS([struct nlist.n_un.n_name],
2516 [AC_DEFINE(NLIST_NAME_UNION, 1,
2517 [Define if your `struct nlist' has an
2518 `n_un' member. Obsolete, depend on
2519 `HAVE_STRUCT_NLIST_N_UN_N_NAME])], [],
2520 [@%:@include <nlist.h>])
2524 m4_location(AC_FUNC_ALLOCA)acfunctions.m4:245
2526 _AC_CONFIG_DEPENDENCYm4_ifval([$2],
2527 [AC_FILE_DEPENDENCY_TRACE($@)],
2528 [AC_FILE_DEPENDENCY_TRACE([$1], [$1.in])])
2530 AC_ST_BLOCKS_m4_defun_pro([AC_ST_BLOCKS])AC_DIAGNOSE([obsolete], [The macro `AC_ST_BLOCKS' is obsolete.
2531 You should run autoupdate.])dnl
2532 AC_STRUCT_ST_BLOCKS($@)[]AC_PROVIDE([AC_ST_BLOCKS])[]_m4_defun_epi([AC_ST_BLOCKS])
2534 m4_location(AC_MINGW32)acspecific.m4:937
2536 m4_include(acoldnames.m4)
2538 m4_location(AC_UNISTD_H)acheaders.m4:391
2540 m4_cr_LettersabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
2542 AC_WAIT3_m4_defun_pro([AC_WAIT3])AC_DIAGNOSE([obsolete], [The macro `AC_WAIT3' is obsolete.
2543 You should run autoupdate.])dnl
2544 AC_FUNC_WAIT3($@)[]AC_PROVIDE([AC_WAIT3])[]_m4_defun_epi([AC_WAIT3])
2546 _m4_divert(GROW)10000
2548 AC_ARG_VAR_m4_defun_pro([AC_ARG_VAR])m4_divert_once([HELP_VAR], [[
2549 Some influential environment variables:]])dnl
2550 m4_divert_once([HELP_VAR_END], [[
2551 Use these variables to override the choices made by `configure' or to help
2552 it to find libraries and programs with nonstandard names/locations.]])dnl
2553 m4_expand_once([m4_divert_once([HELP_VAR],
2554 [AC_HELP_STRING([$1], [$2], [ ])])],
2556 _AC_ARG_VAR_PRECIOUS([$1])dnl
2557 []AC_PROVIDE([AC_ARG_VAR])[]_m4_defun_epi([AC_ARG_VAR])
2561 m4_location(AC_C_LONG_DOUBLE)aclang.m4:1529
2563 _AC_INIT_CONFIG_LOGm4_divert_text([INIT_PREPARE],
2564 [m4_define([AS_MESSAGE_LOG_FD], 5)dnl
2565 exec AS_MESSAGE_LOG_FD>config.log
2566 cat >&AS_MESSAGE_LOG_FD <<EOF
2567 This file contains any messages produced by compilers while
2568 running configure, to aid debugging if configure makes a mistake.
2570 It was created by m4_ifset([AC_PACKAGE_NAME],
2571 [AC_PACKAGE_NAME ])dnl
2572 $as_me[]m4_ifset([AC_PACKAGE_VERSION],
2573 [ AC_PACKAGE_VERSION]), which was
2574 generated by GNU Autoconf AC_ACVERSION. Invocation command line was
2579 AS_UNAME >&AS_MESSAGE_LOG_FD
2581 cat >&AS_MESSAGE_LOG_FD <<EOF
2589 m4_re_string[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789]*
2591 m4_location(m4_join)m4sugar.m4:1478
2593 m4_location(AC_C_STRINGIZE)aclang.m4:1709
2595 changequotechangequote
2597 _AC_PROG_CC_Gac_test_CFLAGS=${CFLAGS+set}
2598 ac_save_CFLAGS=$CFLAGS
2600 AC_CACHE_CHECK(whether $CC accepts -g, ac_cv_prog_cc_g,
2601 [_AC_COMPILE_IFELSE([AC_LANG_PROGRAM()], [ac_cv_prog_cc_g=yes],
2602 [ac_cv_prog_cc_g=no])])
2603 if test "$ac_test_CFLAGS" = set; then
2604 CFLAGS=$ac_save_CFLAGS
2605 elif test $ac_cv_prog_cc_g = yes; then
2606 if test "$GCC" = yes; then
2612 if test "$GCC" = yes; then
2620 _AC_COMPILER_OBJEXTAC_CACHE_CHECK([for object suffix], ac_cv_objext,
2621 [AC_LANG_CONFTEST([AC_LANG_PROGRAM()])
2622 rm -f conftest.o conftest.obj
2623 AS_IF([AC_TRY_EVAL(ac_compile)],
2624 [for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2626 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2627 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2631 [echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD
2632 cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD
2633 AC_MSG_ERROR([cannot compute OBJEXT: cannot compile])])
2634 rm -f conftest.$ac_cv_objext conftest.$ac_ext])
2635 AC_SUBST([OBJEXT], [$ac_cv_objext])dnl
2639 _AS_TR_SH_PREPARE_m4_defun_pro([_AS_TR_SH_PREPARE])m4_require([_AS_CR_PREPARE])dnl
2640 # Sed expression to map a string onto a valid variable name.
2641 as_tr_sh="sed y%*+%pp%;s%[[^_$as_cr_alnum]]%_%g"
2642 []_m4_defun_epi([_AS_TR_SH_PREPARE])
2644 _AC_LIBOBJ_ALLOCA# The SVR3 libPW and SVR4 libucb both contain incompatible functions
2645 # that cause trouble. Some versions do not even contain alloca or
2646 # contain a buggy version. If you still want to use their alloca,
2647 # use ar to extract alloca.o from them instead of compiling alloca.c.
2648 AC_LIBSOURCES(alloca.c)
2649 AC_SUBST(ALLOCA, alloca.$ac_objext)dnl
2650 AC_DEFINE(C_ALLOCA, 1, [Define if using `alloca.c'.])
2652 AC_CACHE_CHECK(whether `alloca.c' needs Cray hooks, ac_cv_os_cray,
2653 [AC_EGREP_CPP(webecray,
2654 [#if defined(CRAY) && ! defined(CRAY2)
2659 ], ac_cv_os_cray=yes, ac_cv_os_cray=no)])
2660 if test $ac_cv_os_cray = yes; then
2661 for ac_func in _getb67 GETB67 getb67; do
2662 AC_CHECK_FUNC($ac_func,
2663 [AC_DEFINE_UNQUOTED(CRAY_STACKSEG_END, $ac_func,
2664 [Define to one of `_getb67', `GETB67',
2665 `getb67' for Cray-2 and Cray-YMP
2666 systems. This function is required for
2667 `alloca.c' support on those systems.])
2672 AC_CACHE_CHECK([stack direction for C alloca],
2673 [ac_cv_c_stack_direction],
2674 [AC_RUN_IFELSE([AC_LANG_SOURCE(
2676 find_stack_direction ()
2678 static char *addr = 0;
2683 return find_stack_direction ();
2686 return (&dummy > addr) ? 1 : -1;
2692 exit (find_stack_direction () < 0);
2694 [ac_cv_c_stack_direction=1],
2695 [ac_cv_c_stack_direction=-1],
2696 [ac_cv_c_stack_direction=0])])
2697 AH_VERBATIM([STACK_DIRECTION],
2698 [/* If using the C implementation of alloca, define if you know the
2699 direction of stack growth for your system; otherwise it will be
2700 automatically deduced at run-time.
2701 STACK_DIRECTION > 0 => grows toward higher addresses
2702 STACK_DIRECTION < 0 => grows toward lower addresses
2703 STACK_DIRECTION = 0 => direction of growth unknown */
2704 @%:@undef STACK_DIRECTION])dnl
2705 AC_DEFINE_UNQUOTED(STACK_DIRECTION, $ac_cv_c_stack_direction)
2708 m4_location(AC_VFORK)acfunctions.m4:1585
2710 m4_location(AC_CHECK_FUNC)acfunctions.m4:74
2712 m4_location(AC_DIR_HEADER)acheaders.m4:454
2716 m4_location(AC_OUTPUT)acgeneral.m4:3443
2718 AC_HAVE_LIBRARY_m4_defun_pro([AC_HAVE_LIBRARY])AC_DIAGNOSE([obsolete], [The macro `AC_HAVE_LIBRARY' is obsolete.
2719 You should run autoupdate.])dnl
2720 m4_pushdef([AC_Lib_Name],
2721 m4_patsubst(m4_patsubst([[$1]],
2722 [lib\([^\.]*\)\.a], [\1]),
2724 AC_CHECK_LIB(AC_Lib_Name, main, [$2], [$3], [$4])dnl
2725 ac_cv_lib_[]AC_Lib_Name()=ac_cv_lib_[]AC_Lib_Name()_main
2726 m4_popdef([AC_Lib_Name])dnl
2727 []AC_PROVIDE([AC_HAVE_LIBRARY])[]_m4_defun_epi([AC_HAVE_LIBRARY])
2729 m4_location(AC_FUNC_GETLOADAVG)acfunctions.m4:565
2731 m4_location(AC_COMPILE_IFELSE)acgeneral.m4:2733
2733 AC_LANG_RESTORE_m4_defun_pro([AC_LANG_RESTORE])AC_DIAGNOSE([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
2734 You should run autoupdate.])dnl
2735 AC_LANG_POP($@)[]AC_PROVIDE([AC_LANG_RESTORE])[]_m4_defun_epi([AC_LANG_RESTORE])
2737 m4_appendm4_define([$1],
2738 m4_ifdef([$1], [m4_defn([$1])])[$2])
2740 _AC_PREPROC_IFELSE_m4_defun_pro([_AC_PREPROC_IFELSE])m4_ifvaln([$1], [AC_LANG_CONFTEST([$1])])dnl
2741 if _AC_EVAL_STDERR([$ac_cpp conftest.$ac_ext]) >/dev/null; then
2742 if test -s conftest.err; then
2743 ac_cpp_err=$ac_[]_AC_LANG_ABBREV[]_preproc_warn_flag
2750 if test -z "$ac_cpp_err"; then
2753 echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD
2754 cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD
2757 rm -f conftest.err m4_ifval([$1], [conftest.$ac_ext])[]dnl
2758 []AC_PROVIDE([_AC_PREPROC_IFELSE])[]_m4_defun_epi([_AC_PREPROC_IFELSE])
2760 AC_SIZE_T_m4_defun_pro([AC_SIZE_T])AC_DIAGNOSE([obsolete], [The macro `AC_SIZE_T' is obsolete.
2761 You should run autoupdate.])dnl
2762 AC_TYPE_SIZE_T($@)[]AC_PROVIDE([AC_SIZE_T])[]_m4_defun_epi([AC_SIZE_T])
2764 AC_LIBOBJ_AC_LIBOBJ([$1],
2765 [AC_DIAGNOSE(syntax,
2766 [$0($1): you should use literals])])dnl
2769 m4_location(AC_TYPE_GETGROUPS)actypes.m4:284
2771 AC_TRY_CPP_m4_defun_pro([AC_TRY_CPP])AC_PREPROC_IFELSE([AC_LANG_SOURCE([[$1]])], [$2], [$3])[]AC_PROVIDE([AC_TRY_CPP])[]_m4_defun_epi([AC_TRY_CPP])
2773 AS_TR_SH_m4_defun_pro([AS_TR_SH])m4_require([_$0_PREPARE])dnl
2775 [m4_patsubst(m4_translit([[$1]], [*+], [pp]),
2776 [[^a-zA-Z0-9_]], [_])],
2777 [`echo "$1" | $as_tr_sh`])[]_m4_defun_epi([AS_TR_SH])
2779 _AC_INIT_VERSIONm4_divert_text([VERSION_BEGIN],
2780 [if $ac_init_version; then
2782 m4_ifset([AC_PACKAGE_STRING],
2783 [m4_divert_text([VERSION_BEGIN],
2785 m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])configure[]dnl
2786 m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
2787 generated by GNU Autoconf AC_ACVERSION])])
2788 m4_divert_text([VERSION_END],
2794 m4_location(AC_WAIT3)acfunctions.m4:1666
2796 m4_location(AC_FUNC_MEMCMP)acfunctions.m4:773
2798 AC_CHECK_TOOL_m4_defun_pro([AC_CHECK_TOOL])if test -n "$ac_tool_prefix"; then
2799 AC_CHECK_PROG([$1], [${ac_tool_prefix}$2], [${ac_tool_prefix}$2], , [$4])
2801 if test -z "$ac_cv_prog_$1"; then
2803 AC_CHECK_PROG([ac_ct_$1], [$2], [$2], [$3], [$4])
2808 []AC_PROVIDE([AC_CHECK_TOOL])[]_m4_defun_epi([AC_CHECK_TOOL])
2810 m4_location(AC_F77_MAIN)aclang.m4:2027
2812 _AC_LIBOBJ_STRTODAC_LIBOBJ(strtod)
2814 if test $ac_cv_func_pow = no; then
2815 AC_CHECK_LIB(m, pow,
2817 [AC_MSG_WARN([can't find library containing definition of pow])])
2821 AS_BASENAME_m4_defun_pro([AS_BASENAME])echo "$1" |sed 's,.*[[\\/]],,'[]_m4_defun_epi([AS_BASENAME])
2823 m4_location(AC_SIZE_T)acoldnames.m4:67
2825 m4_location(AC_HAVE_FUNCS)acfunctions.m4:107
2827 _AC_FUNC_VFORK_m4_defun_pro([_AC_FUNC_VFORK])AC_CACHE_CHECK(for working vfork, ac_cv_func_vfork_works,
2828 [AC_TRY_RUN([/* Thanks to Paul Eggert for this test. */
2830 #include <sys/types.h>
2831 #include <sys/stat.h>
2833 # include <unistd.h>
2838 /* On some sparc systems, changes by the child to local and incoming
2839 argument registers are propagated back to the parent. The compiler
2840 is told about this with #include <vfork.h>, but some compilers
2841 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
2842 static variable whose address is put into a register that is
2843 clobbered by the vfork. */
2846 sparc_address_test (int arg)
2848 sparc_address_test (arg) int arg;
2869 pid_t parent = getpid ();
2872 sparc_address_test ();
2877 /* Here is another test for sparc vfork register problems. This
2878 test uses lots of local variables, at least as many local
2879 variables as main has allocated so far including compiler
2880 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
2881 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
2882 reuse the register of parent for one of the local variables,
2883 since it will think that parent can't possibly be used any more
2884 in this routine. Assigning to the local variable will thus
2885 munge parent in the parent process. */
2887 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
2888 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
2889 /* Convince the compiler that p..p7 are live; otherwise, it might
2890 use the same hardware register for all 8 local variables. */
2891 if (p != p1 || p != p2 || p != p3 || p != p4
2892 || p != p5 || p != p6 || p != p7)
2895 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
2896 from child file descriptors. If the child closes a descriptor
2897 before it execs or exits, this munges the parent's descriptor
2898 as well. Test for this by closing stdout in the child. */
2899 _exit(close(fileno(stdout)) != 0);
2904 while (wait(&status) != child)
2907 /* Was there some problem with vforking? */
2910 /* Did the child fail? (This shouldn't happen.) */
2913 /* Did the vfork/compiler bug occur? */
2914 || parent != getpid()
2916 /* Did the file descriptor bug occur? */
2917 || fstat(fileno(stdout), &st) != 0
2921 [ac_cv_func_vfork_works=yes],
2922 [ac_cv_func_vfork_works=no],
2923 [ac_cv_func_vfork_works=cross])])
2924 []AC_PROVIDE([_AC_FUNC_VFORK])[]_m4_defun_epi([_AC_FUNC_VFORK])
2926 _AC_COMPUTE_INTif test "$cross_compiling" = yes; then
2927 _AC_COMPUTE_INT_COMPILE([$1], [$2], [$3])
2929 _AC_COMPUTE_INT_RUN([$1], [$2], [$3], [$4])
2931 rm -f conftest.val[]dnl
2934 m4_tolowerm4_translit([$1],
2935 [ABCDEFGHIJKLMNOPQRSTUVWXYZ],
2936 [abcdefghijklmnopqrstuvwxyz])
2938 m4_location(AC_FUNC_CLOSEDIR_VOID)acfunctions.m4:311
2940 AC_MEMORY_H_m4_defun_pro([AC_MEMORY_H])AC_DIAGNOSE([obsolete], [The macro `AC_MEMORY_H' is obsolete.
2941 You should run autoupdate.])dnl
2942 AC_DIAGNOSE([obsolete], [$0: Remove this warning and
2943 `AC_CHECK_HEADER(memory.h, AC_DEFINE(...))' when you ajust your code to
2944 use and HAVE_STRING_H and HAVE_MEMORY_H, not NEED_MEMORY_H.])dnl
2945 AC_CHECK_HEADER(memory.h,
2946 [AC_DEFINE([NEED_MEMORY_H], 1,
2947 [Same as `HAVE_MEMORY_H', don't depend on me.])])
2948 AC_CHECK_HEADERS(string.h memory.h)
2949 []AC_PROVIDE([AC_MEMORY_H])[]_m4_defun_epi([AC_MEMORY_H])
2953 m4_location(AC_TYPE_OFF_T)actypes.m4:308
2955 m4_location(AC_FUNC_GETGROUPS)acfunctions.m4:422
2957 m4_location(AC_CHECK_PROGS)acgeneral.m4:2355
2959 AC_CONFIG_AUX_DIR_m4_defun_pro([AC_CONFIG_AUX_DIR])AC_CONFIG_AUX_DIRS($1 $srcdir/$1)[]AC_PROVIDE([AC_CONFIG_AUX_DIR])[]_m4_defun_epi([AC_CONFIG_AUX_DIR])
2961 m4_location(_AS_LN_S_PREPARE)m4sh.m4:353
2963 m4_location(AC_CHECK_TOOLS)acgeneral.m4:2471
2965 m4_warning_ifelse_m4_warning_ifelse([$1], [$2], [$3], m4_warnings)
2967 m4_location(ac_cv_prog_g77)aclang.m4:1270
2969 m4_list_appendm4_define([$1],
2970 m4_ifdef([$1], [m4_defn([$1]), ])[$2])
2972 m4_fatalm4_errprintn(m4_location[: error: $1])dnl
2973 m4_expansion_stack_dump()dnl
2974 m4_exit(m4_if([$2],, 1, [$2]))
2976 AC_HEADER_TIOCGWINSZ_m4_defun_pro([AC_HEADER_TIOCGWINSZ])AC_REQUIRE([AC_SYS_POSIX_TERMIOS])dnl
2977 if test $ac_cv_sys_posix_termios = yes; then
2978 _AC_HEADER_TIOCGWINSZ_IN_TERMIOS_H
2980 if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then
2981 _AC_HEADER_TIOCGWINSZ_IN_SYS_IOCTL
2982 if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then
2983 AC_DEFINE(GWINSZ_IN_SYS_IOCTL,1,
2984 [Define if `TIOCGWINSZ' requires <sys/ioctl.h>])
2987 []AC_PROVIDE([AC_HEADER_TIOCGWINSZ])[]_m4_defun_epi([AC_HEADER_TIOCGWINSZ])
2989 _AC_COMPILER_EXEEXT_OAC_MSG_CHECKING([for executable suffix])
2990 AS_IF([AC_TRY_EVAL(ac_link)],
2991 [# If both `conftest.exe' and `conftest' are `present' (well, observable)
2992 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2993 # work properly (i.e., refer to `conftest.exe'), while it won't with
2995 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2997 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2998 *.* ) ac_cv_exeext=`expr "$ac_file" : ['[^.]*\(\..*\)']`
3004 [AC_MSG_ERROR([cannot compute EXEEXT: cannot compile and link])])
3005 rm -f conftest$ac_cv_exeext
3006 AC_MSG_RESULT([$ac_cv_exeext])
3009 AC_PREFIX_DEFAULT_m4_defun_pro([AC_PREFIX_DEFAULT])m4_divert_text([DEFAULTS], [ac_default_prefix=$1])[]AC_PROVIDE([AC_PREFIX_DEFAULT])[]_m4_defun_epi([AC_PREFIX_DEFAULT])
3011 m4_location(AC_LANG_CALL)aclang.m4:315
3013 m4_location(AC_FD_CC)acgeneral.m4:575
3015 _m4_divert(DEFAULTS)3
3017 m4_location(_AC_EVAL_STDERR)acgeneral.m4:2160
3019 m4_location(AC_TRY_EVAL)acgeneral.m4:2168
3021 _AC_PROG_CXX_EXIT_DECLARATIONfor ac_declaration in \
3023 '#include <stdlib.h>' \
3024 'extern "C" void std::exit (int) throw (); using std::exit;' \
3025 'extern "C" void std::exit (int); using std::exit;' \
3026 'extern "C" void exit (int) throw ();' \
3027 'extern "C" void exit (int);' \
3030 _AC_COMPILE_IFELSE([AC_LANG_PROGRAM([@%:@include <stdlib.h>
3035 _AC_COMPILE_IFELSE([AC_LANG_PROGRAM([$ac_declaration],
3040 if test -n "$ac_declaration"; then
3041 echo '#ifdef __cplusplus' >>confdefs.h
3042 echo $ac_declaration >>confdefs.h
3043 echo '#endif' >>confdefs.h
3047 AC_SEARCH_LIBS_m4_defun_pro([AC_SEARCH_LIBS])AC_CACHE_CHECK([for library containing $1], [ac_cv_search_$1],
3048 [ac_func_search_save_LIBS=$LIBS
3050 AC_TRY_LINK_FUNC([$1], [ac_cv_search_$1="none required"])
3051 if test "$ac_cv_search_$1" = no; then
3052 for ac_lib in $2; do
3053 LIBS="-l$ac_lib $5 $ac_func_search_save_LIBS"
3054 AC_TRY_LINK_FUNC([$1],
3055 [ac_cv_search_$1="-l$ac_lib"
3059 LIBS=$ac_func_search_save_LIBS])
3060 AS_IF([test "$ac_cv_search_$1" != no],
3061 [test "$ac_cv_search_$1" = "none required" || LIBS="$ac_cv_search_$1 $LIBS"
3064 []AC_PROVIDE([AC_SEARCH_LIBS])[]_m4_defun_epi([AC_SEARCH_LIBS])
3066 AC_USG_m4_defun_pro([AC_USG])AC_DIAGNOSE([obsolete], [The macro `AC_USG' is obsolete.
3067 You should run autoupdate.])dnl
3068 AC_DIAGNOSE([obsolete],
3069 [$0: Remove `AC_MSG_CHECKING', `AC_TRY_LINK' and this `AC_WARNING'
3070 when you ajust your code to use HAVE_STRING_H.])dnl
3071 AC_MSG_CHECKING([for BSD string and memory functions])
3072 AC_TRY_LINK([@%:@include <strings.h>], [rindex(0, 0); bzero(0, 0);],
3073 [AC_MSG_RESULT(yes)],
3076 [Define if you do not have <strings.h>, index, bzero, etc...
3077 This symbol is obsolete, you should not depend upon it.])])
3078 AC_CHECK_HEADERS(string.h)[]AC_PROVIDE([AC_USG])[]_m4_defun_epi([AC_USG])
3080 m4_location(AC_FUNC_VFORK)acfunctions.m4:1581
3082 m4_location(AC_CONFIG_HEADERS)acgeneral.m4:3291
3084 m4_location(AC_CONFIG_HEADER)acgeneral.m4:3304
3086 m4_location(AC_PROG_INSTALL)acspecific.m4:264
3088 _AC_CACHE_DUMP# The following way of writing the cache mishandles newlines in values,
3089 # but we know of no workaround that is simple, portable, and efficient.
3090 # So, don't put newlines in cache variables' values.
3091 # Ultrix sh set writes to stderr and can't be redirected directly,
3092 # and sets the high bit in the cache file unless we assign to the vars.
3095 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3097 # `set' does not quote correctly, so add quotes (double-quote
3098 # substitution turns \\\\ into \\, and sed turns \\ into \).
3101 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"]
3104 # `set' quotes correctly as required by POSIX, so do not add quotes.
3106 ["s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"]
3112 AC_PREFIX_PROGRAM_m4_defun_pro([AC_PREFIX_PROGRAM])dnl Get an upper case version of $[1].
3113 m4_pushdef([AC_Prog], m4_toupper([$1]))dnl
3114 if test "x$prefix" = xNONE; then
3115 dnl We reimplement AC_MSG_CHECKING (mostly) to avoid the ... in the middle.
3116 echo $ECHO_N "checking for prefix by $ECHO_C" >&AS_MESSAGE_FD
3117 AC_PATH_PROG(m4_quote(AC_Prog), [$1])
3118 if test -n "$ac_cv_path_[]AC_Prog"; then
3119 prefix=`AS_DIRNAME(["$ac_cv_path_[]AC_Prog"])`
3122 m4_popdef([AC_Prog])dnl
3123 []AC_PROVIDE([AC_PREFIX_PROGRAM])[]_m4_defun_epi([AC_PREFIX_PROGRAM])
3125 m4_location(AC_DECL_SYS_SIGLIST)acspecific.m4:313
3127 AC_PROG_AWK_m4_defun_pro([AC_PROG_AWK])AC_CHECK_PROGS(AWK, mawk gawk nawk awk, )[]AC_PROVIDE([AC_PROG_AWK])[]_m4_defun_epi([AC_PROG_AWK])
3129 m4_location(_AS_TR_CPP_PREPARE)m4sh.m4:589
3131 _AS_BROKEN_TEST_PREPARE_m4_defun_pro([_AS_BROKEN_TEST_PREPARE])# Find out how to test for executable files. Don't use a zero-byte file,
3132 # as systems may use methods other than mode bits to determine executability.
3133 cat >conf$$.file <<_ASEOF
3137 chmod +x conf$$.file
3138 if test -x conf$$.file >/dev/null 2>&1; then
3139 as_executable_p="test -x"
3140 elif test -f conf$$.file >/dev/null 2>&1; then
3141 as_executable_p="test -f"
3143 AS_ERROR([cannot check whether a file is executable on this system])
3146 []_m4_defun_epi([_AS_BROKEN_TEST_PREPARE])
3148 AC_COMPILE_IFELSE_m4_defun_pro([AC_COMPILE_IFELSE])AC_LANG_COMPILER_REQUIRE()dnl
3149 _AC_COMPILE_IFELSE($@)[]AC_PROVIDE([AC_COMPILE_IFELSE])[]_m4_defun_epi([AC_COMPILE_IFELSE])
3151 AC_ALLOCA_m4_defun_pro([AC_ALLOCA])AC_DIAGNOSE([obsolete], [The macro `AC_ALLOCA' is obsolete.
3152 You should run autoupdate.])dnl
3153 AC_FUNC_ALLOCA($@)[]AC_PROVIDE([AC_ALLOCA])[]_m4_defun_epi([AC_ALLOCA])
3155 m4_location(AC_PROGRAMS_CHECK)acoldnames.m4:33
3157 m4_location(AC_LANG_C)aclang.m4:212
3159 _AS_UNSET_PREPARE_m4_defun_pro([_AS_UNSET_PREPARE])# Support unset when possible.
3160 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3165 []_m4_defun_epi([_AS_UNSET_PREPARE])
3167 AC_C_CROSS_m4_defun_pro([AC_C_CROSS])AC_DIAGNOSE([obsolete], [The macro `AC_C_CROSS' is obsolete.
3168 You should run autoupdate.])dnl
3169 []AC_PROVIDE([AC_C_CROSS])[]_m4_defun_epi([AC_C_CROSS])
3171 m4_location(_AC_LINK_FILES_CNT)acgeneral.m4:3370
3173 _AC_COMPUTE_INT_RUNAC_RUN_IFELSE([AC_LANG_INT_SAVE([$3], [$1])],
3174 [$2=`cat conftest.val`], [$4])
3178 AC_YYTEXT_POINTER_m4_defun_pro([AC_YYTEXT_POINTER])AC_DIAGNOSE([obsolete], [The macro `AC_YYTEXT_POINTER' is obsolete.
3179 You should run autoupdate.])dnl
3180 AC_DECL_YYTEXT($@)[]AC_PROVIDE([AC_YYTEXT_POINTER])[]_m4_defun_epi([AC_YYTEXT_POINTER])
3182 m4_location(AC_FUNC_GETPGRP)acfunctions.m4:671
3184 _AC_INIT_COPYRIGHTAC_COPYRIGHT(
3185 [Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3186 Free Software Foundation, Inc.
3187 This configure script is free software; the Free Software Foundation
3188 gives unlimited permission to copy, distribute and modify it.],
3194 m4_location(AC_FUNC_CHECK)acfunctions.m4:102
3198 m4_location(AC_FUNC_WAIT3)acfunctions.m4:1661
3200 m4_ifvalnm4_if([$1],
3204 _AC_PROG_PREPROC_WORKS_IFELSE_m4_defun_pro([_AC_PROG_PREPROC_WORKS_IFELSE])ac_preproc_ok=false
3205 for ac_[]_AC_LANG_ABBREV[]_preproc_warn_flag in '' yes
3207 # Use a header file that comes with gcc, so configuring glibc
3208 # with a fresh cross-compiler works.
3209 # On the NeXT, cc -E runs the code through the compiler's parser,
3210 # not just through cpp. "Syntax error" is here to catch this case.
3211 _AC_PREPROC_IFELSE([AC_LANG_SOURCE([[@%:@include <assert.h>
3214 [# Broken: fails on valid input.
3217 # OK, works on sane cases. Now check whether non-existent headers
3218 # can be detected and how.
3219 _AC_PREPROC_IFELSE([AC_LANG_SOURCE([[@%:@include <ac_nonexistent.h>]])],
3220 [# Broken: success on invalid input.
3222 [# Passes both tests.
3227 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3228 rm -f conftest.err conftest.$ac_ext
3229 AS_IF([$ac_preproc_ok], [$1], [$2])[]AC_PROVIDE([_AC_PROG_PREPROC_WORKS_IFELSE])[]_m4_defun_epi([_AC_PROG_PREPROC_WORKS_IFELSE])
3231 undefinem4_ifndef([$1],
3232 [m4_fatal([$0: undefined macro: $1])])dnl
3233 m4_builtin([undefine], $@)
3235 m4_location(AC_TEST_CPP)acoldnames.m4:39
3237 _m4_divert(VERSION_FSF)21
3239 AC_SUBSTm4_ifvaln([$2], [$1=$2])[]dnl
3240 _AC_SUBST([$1], [s,@$1@,[$]$1,;t t])dnl
3243 AC_ARG_ARRAY_m4_defun_pro([AC_ARG_ARRAY])AC_DIAGNOSE([obsolete], [The macro `AC_ARG_ARRAY' is obsolete.
3244 You should run autoupdate.])dnl
3245 AC_DIAGNOSE([obsolete],
3246 [$0: no longer implemented: don't do unportable things
3247 with arguments. Remove this warning when you adjust your code.])[]AC_PROVIDE([AC_ARG_ARRAY])[]_m4_defun_epi([AC_ARG_ARRAY])
3249 m4_location(AC_TRY_COMMAND)acgeneral.m4:2175
3251 m4_location(AC_C_CHAR_UNSIGNED)aclang.m4:1503
3253 AC_MINIX_m4_defun_pro([AC_MINIX])AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl
3254 AC_BEFORE([$0], [AC_RUN_IFELSE])dnl
3255 AC_CHECK_HEADER(minix/config.h, MINIX=yes, MINIX=)
3256 if test "$MINIX" = yes; then
3257 AC_DEFINE(_POSIX_SOURCE, 1,
3258 [Define if you need to in order for `stat' and other things to
3260 AC_DEFINE(_POSIX_1_SOURCE, 2,
3261 [Define if the system does not provide POSIX.1 features except
3262 with this defined.])
3263 AC_DEFINE(_MINIX, 1,
3264 [Define if on MINIX.])
3266 []AC_PROVIDE([AC_MINIX])[]_m4_defun_epi([AC_MINIX])
3268 m4_rename_m4m4_rename([$1], [m4_$1])
3270 AC_PROGRAM_PATH_m4_defun_pro([AC_PROGRAM_PATH])AC_DIAGNOSE([obsolete], [The macro `AC_PROGRAM_PATH' is obsolete.
3271 You should run autoupdate.])dnl
3272 AC_PATH_PROG($@)[]AC_PROVIDE([AC_PROGRAM_PATH])[]_m4_defun_epi([AC_PROGRAM_PATH])
3274 _m4_defun_prom4_expansion_stack_push(m4_defn([m4_location($1)])[: $1 is expanded from...])dnl
3275 m4_pushdef([_m4_expanding($1)])dnl
3276 m4_ifdef([_m4_divert_dump],
3277 [m4_divert_push(m4_defn([_m4_divert_diversion]))],
3278 [m4_copy([_m4_divert_diversion], [_m4_divert_dump])dnl
3279 m4_divert_push([GROW])])dnl
3282 AU_ALIASAU_DEFUN([$1], [$2($][@)])
3288 m4_location(AC_FUNC_STRERROR_R)acfunctions.m4:1310
3290 m4_location(AC_ERROR)acoldnames.m4:28
3292 AC_CONFIG_HEADER_m4_defun_pro([AC_CONFIG_HEADER])AC_CONFIG_HEADERS([$1])[]AC_PROVIDE([AC_CONFIG_HEADER])[]_m4_defun_epi([AC_CONFIG_HEADER])
3296 m4_location(AC_REPLACE_FUNCS)acfunctions.m4:97
3298 m4_location(AC_PROGRAMS_PATH)acoldnames.m4:34
3300 m4_location(AC_STRCOLL)acfunctions.m4:1378
3302 m4_location(AC_LINK_FILES)acgeneral.m4:3366
3304 m4_cr_symbols1abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_
3306 m4_location(AC_WITH)acgeneral.m4:1481
3308 m4_location(AC_LANG_PREPROC(C++))aclang.m4:1092
3310 m4_cr_symbols2abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789
3312 AC_MINUS_C_MINUS_O_m4_defun_pro([AC_MINUS_C_MINUS_O])AC_DIAGNOSE([obsolete], [The macro `AC_MINUS_C_MINUS_O' is obsolete.
3313 You should run autoupdate.])dnl
3314 AC_PROG_CC_C_O($@)[]AC_PROVIDE([AC_MINUS_C_MINUS_O])[]_m4_defun_epi([AC_MINUS_C_MINUS_O])
3316 AC_ENABLE_m4_defun_pro([AC_ENABLE])AC_DIAGNOSE([obsolete], [The macro `AC_ENABLE' is obsolete.
3317 You should run autoupdate.])dnl
3318 AC_ARG_ENABLE([$1], [ --enable-$1], [$2], [$3])[]AC_PROVIDE([AC_ENABLE])[]_m4_defun_epi([AC_ENABLE])
3320 AC_CHECK_MEMBER_m4_defun_pro([AC_CHECK_MEMBER])AS_LITERAL_IF([$1], [],
3321 [AC_FATAL([$0: requires literal arguments])])dnl
3322 m4_if(m4_regexp([$1], [\.]), -1,
3323 [AC_FATAL([$0: Did not see any dot in `$1'])])dnl
3324 AS_VAR_PUSHDEF([ac_Member], [ac_cv_member_$1])dnl
3325 dnl Extract the aggregate name, and the member name
3326 AC_CACHE_CHECK([for $1], ac_Member,
3327 [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT([$4])],
3328 [dnl AGGREGATE ac_aggr;
3329 static m4_patsubst([$1], [\..*]) ac_aggr;
3331 if (ac_aggr.m4_patsubst([$1], [^[^.]*\.]))
3333 [AS_VAR_SET(ac_Member, yes)],
3334 [AS_VAR_SET(ac_Member, no)])])
3335 AS_IF([test AS_VAR_GET(ac_Member) = yes], [$2], [$3])dnl
3336 AS_VAR_POPDEF([ac_Member])dnl
3337 []AC_PROVIDE([AC_CHECK_MEMBER])[]_m4_defun_epi([AC_CHECK_MEMBER])
3339 m4_location(AC_FUNC_FORK)acfunctions.m4:1451
3341 fp_FUNC_FNMATCH_m4_defun_pro([fp_FUNC_FNMATCH])AC_DIAGNOSE([obsolete], [The macro `fp_FUNC_FNMATCH' is obsolete.
3342 You should run autoupdate.])dnl
3343 AC_FUNC_FNMATCH($@)[]AC_PROVIDE([fp_FUNC_FNMATCH])[]_m4_defun_epi([fp_FUNC_FNMATCH])
3345 m4_location(AC_LANG_PREPROC(C))aclang.m4:838
3347 AH_TOPm4_define([_AH_COUNTER], m4_incr(_AH_COUNTER))dnl
3348 AH_VERBATIM([0000]_AH_COUNTER, [$1])
3350 AC_RUN_IFELSE_m4_defun_pro([AC_RUN_IFELSE])AC_LANG_COMPILER_REQUIRE()dnl
3352 [AC_DIAGNOSE([cross],
3353 [$0 called without default to allow cross compiling])])dnl
3354 if test "$cross_compiling" = yes; then
3356 [AC_MSG_ERROR([cannot run test program while cross compiling])])
3359 fi[]AC_PROVIDE([AC_RUN_IFELSE])[]_m4_defun_epi([AC_RUN_IFELSE])
3361 m4_location(AC_INT_16_BITS)actypes.m4:383
3363 AU_DEFUNAU_DEFINE([$1],
3364 [AC_DIAGNOSE([obsolete], [The macro `$1' is obsolete.
3365 You should run autoupdate.])dnl
3370 AS_LITERAL_IFm4_if(m4_regexp([$1], [[`$]]),
3374 AC_ST_BLKSIZE_m4_defun_pro([AC_ST_BLKSIZE])AC_DIAGNOSE([obsolete], [The macro `AC_ST_BLKSIZE' is obsolete.
3375 You should run autoupdate.])dnl
3376 AC_STRUCT_ST_BLKSIZE($@)[]AC_PROVIDE([AC_ST_BLKSIZE])[]_m4_defun_epi([AC_ST_BLKSIZE])
3378 AC_CHECK_FILE_m4_defun_pro([AC_CHECK_FILE])AC_DIAGNOSE([cross],
3379 [cannot check for file existence when cross compiling])dnl
3380 AS_VAR_PUSHDEF([ac_File], [ac_cv_file_$1])dnl
3381 AC_CACHE_CHECK([for $1], ac_File,
3382 [test "$cross_compiling" = yes &&
3383 AC_MSG_ERROR([cannot check for file existence when cross compiling])
3384 if test -r "$1"; then
3385 AS_VAR_SET(ac_File, yes)
3387 AS_VAR_SET(ac_File, no)
3389 AS_IF([test AS_VAR_GET(ac_File) = yes], [$2], [$3])[]dnl
3390 AS_VAR_POPDEF([ac_File])dnl
3391 []AC_PROVIDE([AC_CHECK_FILE])[]_m4_defun_epi([AC_CHECK_FILE])
3393 m4_location(_AC_PROG_F77_V)aclang.m4:1807
3395 m4_cr_lettersabcdefghijklmnopqrstuvwxyz
3397 AC_SYS_SIGLIST_DECLARED_m4_defun_pro([AC_SYS_SIGLIST_DECLARED])AC_DIAGNOSE([obsolete], [The macro `AC_SYS_SIGLIST_DECLARED' is obsolete.
3398 You should run autoupdate.])dnl
3399 AC_DECL_SYS_SIGLIST($@)[]AC_PROVIDE([AC_SYS_SIGLIST_DECLARED])[]_m4_defun_epi([AC_SYS_SIGLIST_DECLARED])
3402 ac_cpp='$CPP $CPPFLAGS'
3403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&AS_MESSAGE_LOG_FD'
3404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&AS_MESSAGE_LOG_FD'
3405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3408 AC_DECL_SYS_SIGLIST_m4_defun_pro([AC_DECL_SYS_SIGLIST])AC_CACHE_CHECK([for sys_siglist declaration in signal.h or unistd.h],
3409 ac_cv_decl_sys_siglist,
3411 [AC_LANG_PROGRAM([#include <sys/types.h>
3413 /* NetBSD declares sys_siglist in unistd.h. */
3415 # include <unistd.h>
3417 ], [char *msg = *(sys_siglist + 1);])],
3418 [ac_cv_decl_sys_siglist=yes],
3419 [ac_cv_decl_sys_siglist=no])])
3420 if test $ac_cv_decl_sys_siglist = yes; then
3421 AC_DEFINE(SYS_SIGLIST_DECLARED, 1,
3422 [Define if `sys_siglist' is declared by <signal.h> or <unistd.h>.])
3424 []AC_PROVIDE([AC_DECL_SYS_SIGLIST])[]_m4_defun_epi([AC_DECL_SYS_SIGLIST])
3426 m4_divert_oncem4_expand_once([m4_divert_text([$1], [$2])])
3428 AC_PATH_XTRA_m4_defun_pro([AC_PATH_XTRA])AC_REQUIRE([AC_PATH_X])dnl
3429 if test "$no_x" = yes; then
3430 # Not all programs may use this symbol, but it does not hurt to define it.
3431 AC_DEFINE([X_DISPLAY_MISSING], 1,
3432 [Define if the X Window System is missing or not being used.])
3433 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3435 if test -n "$x_includes"; then
3436 X_CFLAGS="$X_CFLAGS -I$x_includes"
3439 # It would also be nice to do this for all -L options, not just this one.
3440 if test -n "$x_libraries"; then
3441 X_LIBS="$X_LIBS -L$x_libraries"
3442 dnl FIXME: banish uname from this macro!
3443 # For Solaris; some versions of Sun CC require a space after -R and
3444 # others require no space. Words are not sufficient . . . .
3445 case `(uname -sr) 2>/dev/null` in
3447 AC_MSG_CHECKING([whether -R must be followed by a space])
3448 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3449 AC_LINK_IFELSE([AC_LANG_PROGRAM()], ac_R_nospace=yes, ac_R_nospace=no)
3450 if test $ac_R_nospace = yes; then
3452 X_LIBS="$X_LIBS -R$x_libraries"
3454 LIBS="$ac_xsave_LIBS -R $x_libraries"
3455 AC_LINK_IFELSE([AC_LANG_PROGRAM()], ac_R_space=yes, ac_R_space=no)
3456 if test $ac_R_space = yes; then
3457 AC_MSG_RESULT([yes])
3458 X_LIBS="$X_LIBS -R $x_libraries"
3460 AC_MSG_RESULT([neither works])
3467 # Check for system-dependent libraries X programs must link with.
3468 # Do this before checking for the system-independent R6 libraries
3469 # (-lICE), since we may need -lsocket or whatever for X linking.
3471 if test "$ISC" = yes; then
3472 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
3474 # Martyn Johnson says this is needed for Ultrix, if the X
3475 # libraries were built with DECnet support. And Karl Berry says
3476 # the Alpha needs dnet_stub (dnet does not exist).
3477 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
3478 AC_TRY_LINK_FUNC(XOpenDisplay, ,
3479 [AC_CHECK_LIB(dnet, dnet_ntoa, [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"])
3480 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
3481 AC_CHECK_LIB(dnet_stub, dnet_ntoa,
3482 [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"])
3484 LIBS="$ac_xsave_LIBS"
3486 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3487 # to get the SysV transport functions.
3488 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3490 # The nsl library prevents programs from opening the X display
3491 # on Irix 5.2, according to T.E. Dickey.
3492 # The functions gethostbyname, getservbyname, and inet_addr are
3493 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3494 AC_CHECK_FUNC(gethostbyname)
3495 if test $ac_cv_func_gethostbyname = no; then
3496 AC_CHECK_LIB(nsl, gethostbyname, X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl")
3497 if test $ac_cv_lib_nsl_gethostbyname = no; then
3498 AC_CHECK_LIB(bsd, gethostbyname, X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd")
3502 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3503 # socket/setsockopt and other routines are undefined under SCO ODT
3504 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3505 # on later versions), says Simon Leinen: it contains gethostby*
3506 # variants that don't use the nameserver (or something). -lsocket
3507 # must be given before -lnsl if both are needed. We assume that
3508 # if connect needs -lnsl, so does gethostbyname.
3509 AC_CHECK_FUNC(connect)
3510 if test $ac_cv_func_connect = no; then
3511 AC_CHECK_LIB(socket, connect, X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS", ,
3515 # Guillermo Gomez says -lposix is necessary on A/UX.
3516 AC_CHECK_FUNC(remove)
3517 if test $ac_cv_func_remove = no; then
3518 AC_CHECK_LIB(posix, remove, X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix")
3521 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
3522 AC_CHECK_FUNC(shmat)
3523 if test $ac_cv_func_shmat = no; then
3524 AC_CHECK_LIB(ipc, shmat, X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc")
3528 # Check for libraries that X11R6 Xt/Xaw programs need.
3529 ac_save_LDFLAGS=$LDFLAGS
3530 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
3531 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
3532 # check for ICE first), but we must link in the order -lSM -lICE or
3533 # we get undefined symbols. So assume we have SM if we have ICE.
3534 # These have to be linked with before -lX11, unlike the other
3535 # libraries we check for below, so use a different variable.
3536 # John Interrante, Karl Berry
3537 AC_CHECK_LIB(ICE, IceConnectionNumber,
3538 [X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"], , $X_EXTRA_LIBS)
3539 LDFLAGS=$ac_save_LDFLAGS
3542 AC_SUBST(X_CFLAGS)dnl
3543 AC_SUBST(X_PRE_LIBS)dnl
3545 AC_SUBST(X_EXTRA_LIBS)dnl
3546 []AC_PROVIDE([AC_PATH_XTRA])[]_m4_defun_epi([AC_PATH_XTRA])
3548 AC_OUTPUT_COMMANDS_POST
3550 AC_C_PROTOTYPES_m4_defun_pro([AC_C_PROTOTYPES])AC_REQUIRE([AC_PROG_CC_STDC])dnl
3551 AC_MSG_CHECKING([for function prototypes])
3552 if test "$ac_cv_prog_cc_stdc" != no; then
3553 AC_MSG_RESULT([yes])
3554 AC_DEFINE(PROTOTYPES, 1,
3555 [Define if the C compiler supports function prototypes.])
3559 []AC_PROVIDE([AC_C_PROTOTYPES])[]_m4_defun_epi([AC_C_PROTOTYPES])
3561 m4_location(AC_CYGWIN)acspecific.m4:907
3563 AC_SUBST_FILE_AC_SUBST([$1], [/@$1@/r [$]$1
3566 AC_LANG_CPLUSPLUS_m4_defun_pro([AC_LANG_CPLUSPLUS])AC_DIAGNOSE([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete.
3567 You should run autoupdate.])dnl
3568 AC_LANG(C++)[]AC_PROVIDE([AC_LANG_CPLUSPLUS])[]_m4_defun_epi([AC_LANG_CPLUSPLUS])
3570 m4_location(AS_BASENAME)m4sh.m4:304
3572 m4_location(AC_TRY_COMPILE)acgeneral.m4:2740
3574 m4_location(AC_LONG_FILE_NAMES)acoldnames.m4:58
3576 m4_beforem4_provide_ifelse([$2],
3577 [m4_warn([syntax], [$2 was called before $1])])
3579 m4_location(AS_SHELL_SANITIZE)m4sh.m4:97
3581 m4_location(AC_EGREP_CPP)acgeneral.m4:2690
3583 m4_defnm4_ifndef([$1],
3584 [m4_fatal([$0: undefined macro: $1])])dnl
3585 m4_builtin([defn], $@)
3587 _AC_LANG_COMPILER_GNUAC_CACHE_CHECK([whether we are using the GNU _AC_LANG compiler],
3588 [ac_cv_[]_AC_LANG_ABBREV[]_compiler_gnu],
3589 [_AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [[#ifndef __GNUC__
3593 [ac_compiler_gnu=yes],
3594 [ac_compiler_gnu=no])
3595 ac_cv_[]_AC_LANG_ABBREV[]_compiler_gnu=$ac_compiler_gnu
3598 m4_include(acgeneral.m4)
3600 AC_INITAC_PLAIN_SCRIPT
3601 m4_ifval([$2], [_AC_INIT_PACKAGE($@)])
3602 m4_divert_text([BINSH], [@%:@! /bin/sh])
3612 m4_ifval([$2], , [m4_ifval([$1], [AC_CONFIG_SRCDIR([$1])])])dnl
3615 AC_ARG_ENABLE_m4_defun_pro([AC_ARG_ENABLE])m4_divert_once([HELP_ENABLE], [[
3617 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
3618 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]]])dnl
3619 m4_divert_once([HELP_ENABLE], [$2])dnl
3620 # Check whether --enable-$1 or --disable-$1 was given.
3621 if test "[${enable_]m4_patsubst([$1], -, _)+set}" = set; then
3622 enableval="[$enable_]m4_patsubst([$1], -, _)"
3624 m4_ifvaln([$4], [else
3627 []AC_PROVIDE([AC_ARG_ENABLE])[]_m4_defun_epi([AC_ARG_ENABLE])
3629 m4_location(_AS_TR_SH_PREPARE)m4sh.m4:567
3631 m4_location(AC_PREREQ)acgeneral.m4:509
3633 m4_location(AC_PATH_PROG)acgeneral.m4:2388
3635 m4_location(AC_OUTPUT_COMMANDS)acgeneral.m4:3238
3637 _AC_LINK_IFELSEm4_ifvaln([$1], [AC_LANG_CONFTEST([$1])])dnl
3638 rm -f conftest.$ac_objext conftest$ac_exeext
3639 AS_IF([AC_TRY_EVAL(ac_link) &&
3640 AC_TRY_COMMAND([test -s conftest$ac_exeext])],
3642 [echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD
3643 cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD
3644 m4_ifvaln([$3], [$3])dnl])[]dnl
3645 rm -f conftest.$ac_objext conftest$ac_exeext m4_ifval([$1], [conftest.$ac_ext])[]dnl
3648 m4_sincludem4_include_unique([$1])dnl
3649 m4_builtin([sinclude], [$1])
3651 m4_location(_AC_F77_NAME_MANGLING)aclang.m4:2117
3653 m4_location(AC_C_CROSS)aclang.m4:1485
3655 AC_LANG_FUNC_LINK_TRY(C++)AC_LANG_PROGRAM(
3656 [/* System header to define __stub macros and hopefully few prototypes,
3657 which can conflict with char $1 (); below. */
3659 /* Override any gcc2 internal prototype to avoid an error. */
3663 /* We use char because int might match the return type of a gcc2
3664 builtin and then its argument prototype would still apply. */
3668 [/* The GNU C library defines this for functions which it implements
3669 to always fail with ENOSYS. Some functions are actually named
3670 something starting with __ and the normal name is an alias. */
3671 #if defined (__stub_$1) || defined (__stub___$1)
3678 AC_LANG_C_m4_defun_pro([AC_LANG_C])AC_DIAGNOSE([obsolete], [The macro `AC_LANG_C' is obsolete.
3679 You should run autoupdate.])dnl
3680 AC_LANG(C)[]AC_PROVIDE([AC_LANG_C])[]_m4_defun_epi([AC_LANG_C])
3682 AC_INT_16_BITS_m4_defun_pro([AC_INT_16_BITS])AC_DIAGNOSE([obsolete], [The macro `AC_INT_16_BITS' is obsolete.
3683 You should run autoupdate.])dnl
3684 AC_CHECK_SIZEOF([int])
3685 AC_DIAGNOSE([obsolete], [$0:
3686 your code should no longer depend upon `INT_16_BITS', but upon
3687 `SIZEOF_INT'. Remove this warning and the `AC_DEFINE' when you
3688 adjust the code.])dnl
3689 test $ac_cv_sizeof_int = 2 &&
3690 AC_DEFINE(INT_16_BITS, 1,
3691 [Define if `sizeof (int)' = 2. Obsolete, use `SIZEOF_INT'.])
3692 []AC_PROVIDE([AC_INT_16_BITS])[]_m4_defun_epi([AC_INT_16_BITS])
3694 m4_location(AC_RUN_LOG)acgeneral.m4:2182
3696 AC_ISC_POSIX_m4_defun_pro([AC_ISC_POSIX])AC_REQUIRE([AC_PROG_CC])dnl
3697 AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl
3698 AC_BEFORE([$0], [AC_RUN_IFELSE])dnl
3699 AC_MSG_CHECKING([for POSIXized ISC])
3700 if test -d /etc/conf/kconfig.d &&
3701 grep _POSIX_VERSION [/usr/include/sys/unistd.h] >/dev/null 2>&1
3703 AC_MSG_RESULT([yes])
3704 ISC=yes # If later tests want to check for ISC.
3705 AC_DEFINE(_POSIX_SOURCE, 1,
3706 [Define if you need to in order for stat and other things to
3708 if test "$GCC" = yes; then
3717 []AC_PROVIDE([AC_ISC_POSIX])[]_m4_defun_epi([AC_ISC_POSIX])
3719 AC_CONFIG_FILES_m4_defun_pro([AC_CONFIG_FILES])m4_divert_push([KILL])
3720 _AC_CONFIG_UNIQUE([$1])
3721 _AC_CONFIG_DEPENDENCIES([$1])
3722 m4_append([AC_LIST_FILES], [ $1])
3723 dnl Register the commands.
3724 m4_ifval([$2], [AC_FOREACH([AC_File], [$1],
3725 [m4_append([AC_LIST_FILES_COMMANDS],
3726 [ ]m4_patsubst(AC_File, [:.*])[ ) $2 ;;
3728 _AC_CONFIG_COMMANDS_INIT([$3])
3729 m4_divert_pop([KILL])dnl
3730 ac_config_files="$ac_config_files m4_normalize([$1])"
3731 []AC_PROVIDE([AC_CONFIG_FILES])[]_m4_defun_epi([AC_CONFIG_FILES])
3733 m4_location(AC_MODE_T)acoldnames.m4:61
3735 AC_PROGRAM_CHECK_m4_defun_pro([AC_PROGRAM_CHECK])AC_DIAGNOSE([obsolete], [The macro `AC_PROGRAM_CHECK' is obsolete.
3736 You should run autoupdate.])dnl
3737 AC_CHECK_PROG($@)[]AC_PROVIDE([AC_PROGRAM_CHECK])[]_m4_defun_epi([AC_PROGRAM_CHECK])
3739 AC_C_CHAR_UNSIGNED_m4_defun_pro([AC_C_CHAR_UNSIGNED])AH_VERBATIM([__CHAR_UNSIGNED__],
3740 [/* Define if type `char' is unsigned and you are not using gcc. */
3741 #ifndef __CHAR_UNSIGNED__
3742 # undef __CHAR_UNSIGNED__
3744 AC_CACHE_CHECK(whether char is unsigned, ac_cv_c_char_unsigned,
3745 [AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([AC_INCLUDES_DEFAULT([])],
3746 [((char) -1) < 0])],
3747 ac_cv_c_char_unsigned=no, ac_cv_c_char_unsigned=yes)])
3748 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
3749 AC_DEFINE(__CHAR_UNSIGNED__)
3751 []AC_PROVIDE([AC_C_CHAR_UNSIGNED])[]_m4_defun_epi([AC_C_CHAR_UNSIGNED])
3753 AC_CYGWIN32_m4_defun_pro([AC_CYGWIN32])AC_DIAGNOSE([obsolete], [The macro `AC_CYGWIN32' is obsolete.
3754 You should run autoupdate.])dnl
3755 AC_CYGWIN($@)[]AC_PROVIDE([AC_CYGWIN32])[]_m4_defun_epi([AC_CYGWIN32])
3757 AC_CONFIG_HEADERS_m4_defun_pro([AC_CONFIG_HEADERS])m4_divert_push([KILL])
3758 _AC_CONFIG_UNIQUE([$1])
3759 _AC_CONFIG_DEPENDENCIES([$1])
3760 m4_append([AC_LIST_HEADERS], [ $1])
3761 dnl Register the commands
3762 m4_ifval([$2], [AC_FOREACH([AC_File], [$1],
3763 [m4_append([AC_LIST_HEADERS_COMMANDS],
3764 [ ]m4_patsubst(AC_File, [:.*])[ ) $2 ;;
3766 _AC_CONFIG_COMMANDS_INIT([$3])
3767 m4_divert_pop([KILL])dnl
3768 ac_config_headers="$ac_config_headers m4_normalize([$1])"
3769 []AC_PROVIDE([AC_CONFIG_HEADERS])[]_m4_defun_epi([AC_CONFIG_HEADERS])
3771 _AC_PROG_CXX_Gac_test_CXXFLAGS=${CXXFLAGS+set}
3772 ac_save_CXXFLAGS=$CXXFLAGS
3774 AC_CACHE_CHECK(whether $CXX accepts -g, ac_cv_prog_cxx_g,
3775 [_AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
3776 [ac_cv_prog_cxx_g=yes],
3777 [ac_cv_prog_cxx_g=no])])
3778 if test "$ac_test_CXXFLAGS" = set; then
3779 CXXFLAGS=$ac_save_CXXFLAGS
3780 elif test $ac_cv_prog_cxx_g = yes; then
3781 if test "$GXX" = yes; then
3787 if test "$GXX" = yes; then
3795 AM_MINGW32_m4_defun_pro([AM_MINGW32])AC_DIAGNOSE([obsolete], [The macro `AM_MINGW32' is obsolete.
3796 You should run autoupdate.])dnl
3797 AC_MINGW32($@)[]AC_PROVIDE([AM_MINGW32])[]_m4_defun_epi([AM_MINGW32])
3799 AC_TYPE_SIGNAL_m4_defun_pro([AC_TYPE_SIGNAL])AC_CACHE_CHECK([return type of signal handlers], ac_cv_type_signal,
3801 [AC_LANG_PROGRAM([#include <sys/types.h>
3807 extern "C" void (*signal (int, void (*)(int)))(int);
3809 void (*signal ()) ();
3813 [ac_cv_type_signal=void],
3814 [ac_cv_type_signal=int])])
3815 AC_DEFINE_UNQUOTED(RETSIGTYPE, $ac_cv_type_signal,
3816 [Define as the return type of signal handlers
3817 (`int' or `void').])
3818 []AC_PROVIDE([AC_TYPE_SIGNAL])[]_m4_defun_epi([AC_TYPE_SIGNAL])
3820 AC_SET_MAKE_m4_defun_pro([AC_SET_MAKE])AC_DIAGNOSE([obsolete], [The macro `AC_SET_MAKE' is obsolete.
3821 You should run autoupdate.])dnl
3822 AC_PROG_MAKE_SET($@)[]AC_PROVIDE([AC_SET_MAKE])[]_m4_defun_epi([AC_SET_MAKE])
3824 AC_COMPILE_CHECK_m4_defun_pro([AC_COMPILE_CHECK])AC_DIAGNOSE([obsolete], [The macro `AC_COMPILE_CHECK' is obsolete.
3825 You should run autoupdate.])dnl
3826 m4_ifvaln([$1], [AC_CHECKING([for $1])])dnl
3827 AC_LINK_IFELSE([AC_LANG_PROGRAM([[$2]], [[$3]])], [$4], [$5])
3828 []AC_PROVIDE([AC_COMPILE_CHECK])[]_m4_defun_epi([AC_COMPILE_CHECK])
3830 AC_CHECK_SIZEOF_m4_defun_pro([AC_CHECK_SIZEOF])AS_LITERAL_IF([$1], [],
3831 [AC_FATAL([$0: requires literal arguments])])dnl
3832 AC_CHECK_TYPE([$1], [], [], [$3])
3833 AC_CACHE_CHECK([size of $1], AS_TR_SH([ac_cv_sizeof_$1]),
3834 [if test "$AS_TR_SH([ac_cv_type_$1])" = yes; then
3835 _AC_COMPUTE_INT([sizeof ($1)],
3836 [AS_TR_SH([ac_cv_sizeof_$1])],
3837 [AC_INCLUDES_DEFAULT([$3])])
3839 AS_TR_SH([ac_cv_sizeof_$1])=0
3841 AC_DEFINE_UNQUOTED(AS_TR_CPP(sizeof_$1), $AS_TR_SH([ac_cv_sizeof_$1]),
3842 [The size of a `$1', as computed by sizeof.])
3843 []AC_PROVIDE([AC_CHECK_SIZEOF])[]_m4_defun_epi([AC_CHECK_SIZEOF])
3847 m4_location(_AC_INCLUDES_DEFAULT_REQUIREMENTS)acgeneral.m4:2241
3849 m4_location(AC_F77_WRAPPERS)aclang.m4:2165
3853 _AC_OUTPUT_LINKScat >>$CONFIG_STATUS <<\EOF
3856 # CONFIG_LINKS section.
3859 dnl Here we use : instead of .. because if AC_LINK_FILES was used
3860 dnl with empty parameters (as in gettext.m4), then we obtain here
3861 dnl `:', which we want to skip. So let's keep a single exception: `:'.
3862 for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue
3863 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
3864 ac_source=`echo "$ac_file" | sed 's,[[^:]]*:,,'`
3866 AC_MSG_NOTICE([linking $srcdir/$ac_source to $ac_dest])
3868 if test ! -r $srcdir/$ac_source; then
3869 AC_MSG_ERROR([$srcdir/$ac_source: File not found])
3873 # Make relative symlinks.
3874 ac_dest_dir=`AS_DIRNAME(["$ac_dest"])`
3875 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
3876 AS_MKDIR_P(["$ac_dest_dir"])
3877 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's,^\./,,'`"
3878 # A "../" for each directory in $ac_dest_dir_suffix.
3879 ac_dots=`echo $ac_dest_dir_suffix|sed 's,/[[^/]]*,../,g'`
3881 ac_dest_dir_suffix= ac_dots=
3885 [[\\/$]]* | ?:[[\\/]]* ) ac_rel_source=$srcdir/$ac_source ;;
3886 *) ac_rel_source=$ac_dots$srcdir/$ac_source ;;
3889 # Make a symlink if possible; otherwise try a hard link.
3890 ln -s $ac_rel_source $ac_dest 2>/dev/null ||
3891 ln $srcdir/$ac_source $ac_dest ||
3892 AC_MSG_ERROR([cannot link $ac_dest to $srcdir/$ac_source])
3893 m4_ifset([AC_LIST_LINKS_COMMANDS],
3894 [ # Run the commands associated with the file.
3896 AC_LIST_LINKS_COMMANDS()dnl
3903 AC_MSG_RESULT_AS_ECHO([$as_me:__oline__: result: $1], AS_MESSAGE_LOG_FD)
3904 _AS_ECHO([${ECHO_T}$1])[]dnl
3907 m4_defun_oncem4_define([m4_location($1)], m4_location)dnl
3909 [m4_provide_ifelse([$1],
3910 [m4_warn([syntax], [$1 invoked multiple times])],
3911 [_m4_defun_pro([$1])$2[]_m4_defun_epi([$1])])])
3913 AC_ARG_WITH_m4_defun_pro([AC_ARG_WITH])m4_divert_once([HELP_WITH], [[
3915 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
3916 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)]])
3917 m4_divert_once([HELP_WITH], [$2])dnl
3918 # Check whether --with-$1 or --without-$1 was given.
3919 if test "[${with_]m4_patsubst([$1], -, _)+set}" = set; then
3920 withval="[$with_]m4_patsubst([$1], -, _)"
3922 m4_ifvaln([$4], [else
3925 []AC_PROVIDE([AC_ARG_WITH])[]_m4_defun_epi([AC_ARG_WITH])
3927 m4_location(AC_STAT_MACROS_BROKEN)acoldnames.m4:68
3929 m4_location(AC_CHECK_SIZEOF)actypes.m4:363
3931 m4_ifsetm4_ifdef([$1],
3932 [m4_if(m4_defn([$1]), [], [$3], [$2])],
3941 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3942 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3943 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3944 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3945 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3947 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3948 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3950 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3951 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3952 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3953 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
3954 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3955 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3956 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3963 m4_location(AC_STRUCT_TM)actypes.m4:532
3967 # Forbidden tokens and exceptions.
3968 m4_pattern_forbid([^_?AS_])
3971 AC_STRUCT_TM_m4_defun_pro([AC_STRUCT_TM])AC_CACHE_CHECK([whether struct tm is in sys/time.h or time.h],
3973 [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <sys/types.h>
3976 [struct tm *tp; tp->tm_sec;])],
3977 [ac_cv_struct_tm=time.h],
3978 [ac_cv_struct_tm=sys/time.h])])
3979 if test $ac_cv_struct_tm = sys/time.h; then
3980 AC_DEFINE(TM_IN_SYS_TIME, 1,
3981 [Define if your <sys/time.h> declares `struct tm'.])
3983 []AC_PROVIDE([AC_STRUCT_TM])[]_m4_defun_epi([AC_STRUCT_TM])
3985 AC_GETGROUPS_T_m4_defun_pro([AC_GETGROUPS_T])AC_DIAGNOSE([obsolete], [The macro `AC_GETGROUPS_T' is obsolete.
3986 You should run autoupdate.])dnl
3987 AC_TYPE_GETGROUPS($@)[]AC_PROVIDE([AC_GETGROUPS_T])[]_m4_defun_epi([AC_GETGROUPS_T])
3989 m4_location(AC_CHECK_FUNCS)acfunctions.m4:89
3991 AH_BOTTOMm4_define([_AH_COUNTER], m4_incr(_AH_COUNTER))dnl
3992 AH_VERBATIM([zzzz]_AH_COUNTER, [$1])
3994 m4_location(AC_TRY_LINK)acgeneral.m4:2787
3996 _AS_ECHO_AS_ECHO_UNQUOTED([_AS_QUOTE([$1])], [$2])
3998 AC_LANG_SOURCE(Fortran 77)$1
4000 AC_VERBOSE_m4_defun_pro([AC_VERBOSE])AC_DIAGNOSE([obsolete], [The macro `AC_VERBOSE' is obsolete.
4001 You should run autoupdate.])dnl
4002 AC_MSG_RESULT($@)[]AC_PROVIDE([AC_VERBOSE])[]_m4_defun_epi([AC_VERBOSE])
4004 m4_location(AM_FUNC_MKTIME)acfunctions.m4:940
4006 m4_location(AM_EXEEXT)acoldnames.m4:81
4008 m4_location(AC_LN_S)acoldnames.m4:56
4010 m4_location(AC_FUNC_OBSTACK)acfunctions.m4:1103
4012 m4_location(AC_FUNC_LSTAT)acfunctions.m4:1211
4014 m4_location(AC_CROSS_CHECK)acoldnames.m4:50
4016 AC_CONFIG_COMMANDS_PRE_m4_defun_pro([AC_CONFIG_COMMANDS_PRE])m4_append([AC_OUTPUT_COMMANDS_PRE], [$1
4017 ])[]AC_PROVIDE([AC_CONFIG_COMMANDS_PRE])[]_m4_defun_epi([AC_CONFIG_COMMANDS_PRE])
4019 m4_location(AC_FUNC_STRTOD)acfunctions.m4:1264
4023 _AC_CHECK_HEADER_DIRENTAS_VAR_PUSHDEF([ac_Header], [ac_cv_header_dirent_$1])dnl
4024 AC_CACHE_CHECK([for $1 that defines DIR], ac_Header,
4025 [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <sys/types.h>
4030 [AS_VAR_SET(ac_Header, yes)],
4031 [AS_VAR_SET(ac_Header, no)])])
4032 AS_IF([test AS_VAR_GET(ac_Header) = yes], [$2], [$3])[]dnl
4033 AS_VAR_POPDEF([ac_Header])dnl
4036 m4_location(AC_MINIX)acspecific.m4:990
4038 m4_foreachm4_pushdef([$1])_m4_foreach($@)m4_popdef([$1])
4040 m4_location(AC_LANG_CPLUSPLUS)aclang.m4:239
4042 _AC_ARG_VAR_VALIDATE# Check that the precious variables saved in the cache have kept the same
4044 ac_cache_corrupted=false
4045 for ac_var in `(set) 2>&1 |
4046 sed -n 's/^ac_env_\([[a-zA-Z_0-9]]*\)_set=.*/\1/p'`; do
4047 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4048 eval ac_new_set=\$ac_env_${ac_var}_set
4049 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
4050 eval ac_new_val="\$ac_env_${ac_var}_value"
4051 case $ac_old_set,$ac_new_set in
4053 AS_MESSAGE([error: `$ac_var' was set to `$ac_old_val' in the previous run], 2)
4054 ac_cache_corrupted=: ;;
4056 AS_MESSAGE([error: `$ac_var' was not set in the previous run], 2)
4057 ac_cache_corrupted=: ;;
4060 if test "x$ac_old_val" != "x$ac_new_val"; then
4061 AS_MESSAGE([error: `$ac_var' has changed since the previous run:], 2)
4062 AS_MESSAGE([ former value: $ac_old_val], 2)
4063 AS_MESSAGE([ current value: $ac_new_val], 2)
4064 ac_cache_corrupted=:
4067 # Pass precious variables to config.status. It doesn't matter if
4068 # we pass some twice (in addition to the command line arguments).
4069 if test "$ac_new_set" = set; then
4071 dnl If you change this globbing pattern, test it on an old shell --
4072 dnl it's sensitive. Putting any kind of quote in it causes syntax errors.
4073 [ *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)]
4074 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
4075 ac_configure_args="$ac_configure_args '$ac_arg'"
4077 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
4082 if $ac_cache_corrupted; then
4083 AS_MESSAGE([error: changes in the environment can compromise the build], 2)
4084 AS_ERROR([run `make distclean' and/or `rm $cache_file' and start over])
4088 AC_FUNC_GETGROUPS_m4_defun_pro([AC_FUNC_GETGROUPS])AC_REQUIRE([AC_TYPE_GETGROUPS])dnl
4089 AC_REQUIRE([AC_TYPE_SIZE_T])dnl
4090 AC_CHECK_FUNC(getgroups)
4092 # If we don't yet have getgroups, see if it's in -lbsd.
4093 # This is reported to be necessary on an ITOS 3000WS running SEIUX 3.1.
4095 if test $ac_cv_func_getgroups = no; then
4096 AC_CHECK_LIB(bsd, getgroups, [GETGROUPS_LIB=-lbsd])
4099 # Run the program to test the functionality of the system-supplied
4100 # getgroups function only if there is such a function.
4101 if test $ac_cv_func_getgroups = yes; then
4102 AC_CACHE_CHECK([for working getgroups], ac_cv_func_getgroups_works,
4103 [AC_RUN_IFELSE([AC_LANG_PROGRAM([],
4104 [[/* On Ultrix 4.3, getgroups (0, 0) always fails. */
4105 exit (getgroups (0, 0) == -1 ? 1 : 0);]])],
4106 [ac_cv_func_getgroups_works=yes],
4107 [ac_cv_func_getgroups_works=no],
4108 [ac_cv_func_getgroups_works=no])
4110 if test $ac_cv_func_getgroups_works = yes; then
4111 AC_DEFINE(HAVE_GETGROUPS, 1,
4112 [Define if your system has a working `getgroups' function.])
4116 []AC_PROVIDE([AC_FUNC_GETGROUPS])[]_m4_defun_epi([AC_FUNC_GETGROUPS])
4120 m4_location(_AS_EXPR_PREPARE)m4sh.m4:326
4122 AC_F77_MAIN_m4_defun_pro([AC_F77_MAIN])AC_REQUIRE([AC_F77_LIBRARY_LDFLAGS])dnl
4123 AC_CACHE_CHECK([for alternate main to link with Fortran 77 libraries],
4126 ac_f77_m_save_LIBS=$LIBS
4128 ac_cv_f77_main="main" # default entry point name
4130 for ac_func in MAIN__ MAIN_ __main MAIN _MAIN __MAIN main_ main__ _main; do
4131 AC_TRY_LINK([#undef F77_DUMMY_MAIN
4132 @%:@define main $ac_func], [], [ac_cv_f77_main=$ac_func; break])
4135 LIBS=$ac_f77_m_save_LIBS
4138 AC_DEFINE_UNQUOTED([F77_MAIN], $ac_cv_f77_main,
4139 [Define to alternate name for `main' routine that is
4140 called from a `main' in the Fortran libraries.])
4141 []AC_PROVIDE([AC_F77_MAIN])[]_m4_defun_epi([AC_F77_MAIN])
4145 AC_MSG_ERROR{ AS_MESSAGE([error: $1], [2])
4146 AS_EXIT([$2]); }[]dnl
4149 m4_debugmodedebugmode
4151 m4_pattern_allowm4_file_append(m4_defn([m4_tmpdir])/allowed.rx, [$1])
4153 m4_location(AC_GCC_TRADITIONAL)acoldnames.m4:53
4155 AC_EXEEXT_m4_defun_pro([AC_EXEEXT])[]AC_PROVIDE([AC_EXEEXT])[]_m4_defun_epi([AC_EXEEXT])
4157 m4_location(AS_UNSET)m4sh.m4:161
4159 m4_expand_oncem4_provide_ifelse(m4_ifval([$2], [[$2]], [[$1]]),
4161 [m4_provide(m4_ifval([$2], [[$2]], [[$1]]))[]$1])
4163 m4_errprintnm4_errprint([$1
4166 AC_CHECK_LIB_m4_defun_pro([AC_CHECK_LIB])m4_ifval([$3], , [AH_CHECK_LIB([$1])])dnl
4168 [AS_VAR_PUSHDEF([ac_Lib], [ac_cv_lib_$1_$2])],
4169 [AS_VAR_PUSHDEF([ac_Lib], [ac_cv_lib_$1''_$2])])dnl
4170 AC_CACHE_CHECK([for $2 in -l$1], ac_Lib,
4171 [ac_check_lib_save_LIBS=$LIBS
4172 LIBS="-l$1 $5 $LIBS"
4173 AC_TRY_LINK_FUNC([$2],
4174 [AS_VAR_SET(ac_Lib, yes)],
4175 [AS_VAR_SET(ac_Lib, no)])
4176 LIBS=$ac_check_lib_save_LIBS])
4177 AS_IF([test AS_VAR_GET(ac_Lib) = yes],
4178 [m4_default([$3], [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_LIB$1))
4182 AS_VAR_POPDEF([ac_Lib])dnl
4183 []AC_PROVIDE([AC_CHECK_LIB])[]_m4_defun_epi([AC_CHECK_LIB])
4185 m4_location(AC_VALIDATE_CACHED_SYSTEM_TUPLE)acgeneral.m4:1792
4187 m4_location(AC_EMXOS2)acspecific.m4:922
4189 m4_location(AC_CHECK_HEADER)acheaders.m4:85
4191 _AC_INIT_PREPAREm4_divert_push([INIT_PREPARE])dnl
4193 # Keep a trace of the command line.
4194 # Strip out --no-create and --no-recursion so they do not pile up.
4195 # Also quote any args containing shell meta-characters.
4201 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
4202 | --no-cr | --no-c) ;;
4203 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
4204 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
4205 dnl If you change this globbing pattern, test it on an old shell --
4206 dnl it's sensitive. Putting any kind of quote in it causes syntax errors.
4207 [ *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)]
4208 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
4209 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
4211 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
4214 # Get rid of the leading space.
4217 # When interrupted or exit'd, cleanup temporary files, and complete
4218 # config.log. We remove comments because anyway the quotes in there
4219 # would cause problems or look ugly.
4220 trap 'exit_status=$?
4221 # Save into config.log some information that might help in debugging.
4222 echo >&AS_MESSAGE_LOG_FD
4223 echo ["## ----------------- ##"] >&AS_MESSAGE_LOG_FD
4224 echo ["## Cache variables. ##"] >&AS_MESSAGE_LOG_FD
4225 echo ["## ----------------- ##"] >&AS_MESSAGE_LOG_FD
4226 echo >&AS_MESSAGE_LOG_FD
4227 m4_patsubst(m4_patsubst(m4_dquote(m4_defn([_AC_CACHE_DUMP])),
4230 ['], ['"'"']) >&AS_MESSAGE_LOG_FD
4231 sed "/^$/d" confdefs.h >conftest.log
4232 if test -s conftest.log; then
4233 echo >&AS_MESSAGE_LOG_FD
4234 echo ["## ------------ ##"] >&AS_MESSAGE_LOG_FD
4235 echo ["## confdefs.h. ##"] >&AS_MESSAGE_LOG_FD
4236 echo ["## ------------ ##"] >&AS_MESSAGE_LOG_FD
4237 echo >&AS_MESSAGE_LOG_FD
4238 cat conftest.log >&AS_MESSAGE_LOG_FD
4240 (echo; echo) >&AS_MESSAGE_LOG_FD
4241 test "$ac_signal" != 0 &&
4242 echo "$as_me: caught signal $ac_signal" >&AS_MESSAGE_LOG_FD
4243 echo "$as_me: exit $exit_status" >&AS_MESSAGE_LOG_FD
4244 rm -rf conftest* confdefs* core core.* *.core conf$[$]* $ac_clean_files &&
4247 for ac_signal in 1 2 13 15; do
4248 trap 'ac_signal='$ac_signal'; AS_EXIT([1])' $ac_signal
4252 # confdefs.h avoids OS command line length limits that DEFS can exceed.
4253 rm -rf conftest* confdefs.h
4254 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
4257 # Let the site file select an alternate cache file if it wants to.
4260 _AC_ARG_VAR_VALIDATE
4261 _AC_ARG_VAR_PRECIOUS(build_alias)dnl
4262 _AC_ARG_VAR_PRECIOUS(host_alias)dnl
4263 _AC_ARG_VAR_PRECIOUS(target_alias)dnl
4267 _AC_INIT_PREPARE_FS_SEPARATORS
4269 dnl Substitute for predefined variables.
4272 m4_divert_pop([INIT_PREPARE])dnl
4275 m4_location(AC_TYPE_SIZE_T)actypes.m4:306
4277 m4_location(AC_SYS_LARGEFILE)acspecific.m4:434
4279 AC_F77_NAME_MANGLING_m4_defun_pro([AC_F77_NAME_MANGLING])AC_DIAGNOSE([obsolete], [The macro `AC_F77_NAME_MANGLING' is obsolete.
4280 You should run autoupdate.])dnl
4281 []AC_PROVIDE([AC_F77_NAME_MANGLING])[]_m4_defun_epi([AC_F77_NAME_MANGLING])
4283 _m4_divert(PREPARE)100
4285 m4_include(acheaders.m4)
4287 _AC_HEADER_TIOCGWINSZ_IN_SYS_IOCTLAC_CACHE_CHECK([whether sys/ioctl.h defines TIOCGWINSZ],
4288 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h,
4289 [AC_EGREP_CPP([yes],
4290 [#include <sys/types.h>
4291 #include <sys/ioctl.h>
4296 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h=yes,
4297 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h=no)])
4300 AC_FUNC_GETLOADAVG_m4_defun_pro([AC_FUNC_GETLOADAVG])ac_have_func=no # yes means we've found a way to get the load average.
4304 # Check for getloadavg, but be sure not to touch the cache variable.
4305 (AC_CHECK_FUNC(getloadavg, exit 0, exit 1)) && ac_have_func=yes
4307 # On HPUX9, an unprivileged user can get load averages through this function.
4308 AC_CHECK_FUNCS(pstat_getdynamic)
4310 # Solaris has libkstat which does not require root.
4311 AC_CHECK_LIB(kstat, kstat_open)
4312 test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func=yes
4314 # Some systems with -lutil have (and need) -lkvm as well, some do not.
4315 # On Solaris, -lkvm requires nlist from -lelf, so check that first
4316 # to get the right answer into the cache.
4317 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
4318 if test $ac_have_func = no; then
4319 AC_CHECK_LIB(elf, elf_begin, LIBS="-lelf $LIBS")
4321 if test $ac_have_func = no; then
4322 AC_CHECK_LIB(kvm, kvm_open, LIBS="-lkvm $LIBS")
4323 # Check for the 4.4BSD definition of getloadavg.
4324 AC_CHECK_LIB(util, getloadavg,
4325 [LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes])
4328 if test $ac_have_func = no; then
4329 # There is a commonly available library for RS/6000 AIX.
4330 # Since it is not a standard part of AIX, it might be installed locally.
4331 ac_getloadavg_LIBS=$LIBS
4332 LIBS="-L/usr/local/lib $LIBS"
4333 AC_CHECK_LIB(getloadavg, getloadavg,
4334 [LIBS="-lgetloadavg $LIBS"], [LIBS=$ac_getloadavg_LIBS])
4337 # Make sure it is really in the library, if we think we found it,
4338 # otherwise set up the replacement function.
4339 AC_CHECK_FUNCS(getloadavg, [],
4340 [_AC_LIBOBJ_GETLOADAVG])
4342 # Some definitions of getloadavg require that the program be installed setgid.
4343 dnl FIXME: Don't hardwire the path of getloadavg.c in the top-level directory.
4344 AC_CACHE_CHECK(whether getloadavg requires setgid,
4345 ac_cv_func_getloadavg_setgid,
4346 [AC_EGREP_CPP([Yowza Am I SETGID yet],
4347 [#include "$srcdir/getloadavg.c"
4348 #ifdef LDAV_PRIVILEGED
4349 Yowza Am I SETGID yet
4351 ac_cv_func_getloadavg_setgid=yes,
4352 ac_cv_func_getloadavg_setgid=no)])
4353 if test $ac_cv_func_getloadavg_setgid = yes; then
4355 AC_DEFINE(GETLOADAVG_PRIVILEGED, 1,
4356 [Define if the `getloadavg' function needs to be run setuid
4361 AC_SUBST(NEED_SETGID)dnl
4363 if test $ac_cv_func_getloadavg_setgid = yes; then
4364 AC_CACHE_CHECK(group of /dev/kmem, ac_cv_group_kmem,
4365 [ # On Solaris, /dev/kmem is a symlink. Get info on the real file.
4366 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null`
4367 # If we got an error (system does not support symlinks), try without -L.
4368 test -z "$ac_ls_output" && ac_ls_output=`ls -lg /dev/kmem`
4369 ac_cv_group_kmem=`echo $ac_ls_output \
4370 | sed -ne ['s/[ ][ ]*/ /g;
4371 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
4374 AC_SUBST(KMEM_GROUP, $ac_cv_group_kmem)dnl
4376 if test "x$ac_save_LIBS" = x; then
4377 GETLOADAVG_LIBS=$LIBS
4379 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
4383 AC_SUBST(GETLOADAVG_LIBS)dnl
4384 []AC_PROVIDE([AC_FUNC_GETLOADAVG])[]_m4_defun_epi([AC_FUNC_GETLOADAVG])
4386 _AS_TR_PREPARE_m4_defun_pro([_AS_TR_PREPARE])m4_require([_AS_TR_SH_PREPARE])dnl
4387 m4_require([_AS_TR_CPP_PREPARE])dnl
4388 []_m4_defun_epi([_AS_TR_PREPARE])
4390 AC_LANG_PUSH_m4_defun_pro([AC_LANG_PUSH])_AC_LANG_SET(m4_ifdef([_AC_LANG], [m4_defn([_AC_LANG])]),
4392 m4_pushdef([_AC_LANG], [$1])[]_m4_defun_epi([AC_LANG_PUSH])
4394 m4_location(AS_DIRNAME)m4sh.m4:296
4396 AC_CROSS_CHECK_m4_defun_pro([AC_CROSS_CHECK])AC_DIAGNOSE([obsolete], [The macro `AC_CROSS_CHECK' is obsolete.
4397 You should run autoupdate.])dnl
4398 AC_C_CROSS($@)[]AC_PROVIDE([AC_CROSS_CHECK])[]_m4_defun_epi([AC_CROSS_CHECK])
4400 m4_location(AC_VERBOSE)acgeneral.m4:2106
4402 m4_location(AC_FUNC_UTIME_NULL)acfunctions.m4:1404
4404 m4_location(AC_FUNC_ERROR_AT_LINE)acfunctions.m4:325
4406 _AC_COMPILER_EXEEXTAC_LANG_CONFTEST([AC_LANG_PROGRAM()])
4407 ac_clean_files_save=$ac_clean_files
4408 ac_clean_files="$ac_clean_files a.out a.exe"
4409 _AC_COMPILER_EXEEXT_DEFAULT
4410 _AC_COMPILER_EXEEXT_WORKS
4411 rm -f a.out a.exe conftest$ac_cv_exeext
4412 ac_clean_files=$ac_clean_files_save
4413 _AC_COMPILER_EXEEXT_CROSS
4414 _AC_COMPILER_EXEEXT_O
4415 rm -f conftest.$ac_ext
4416 AC_SUBST([EXEEXT], [$ac_cv_exeext])dnl
4420 AC_FUNC_LSTAT_m4_defun_pro([AC_FUNC_LSTAT])_AC_FUNC_STAT(lstat)[]AC_PROVIDE([AC_FUNC_LSTAT])[]_m4_defun_epi([AC_FUNC_LSTAT])
4422 AC_LIST_FILES_COMMANDS
4424 AC_FUNC_FSEEKO_m4_defun_pro([AC_FUNC_FSEEKO])_AC_SYS_LARGEFILE_MACRO_VALUE(_LARGEFILE_SOURCE, 1,
4425 [ac_cv_sys_largefile_source],
4426 [Define to make fseeko visible on some hosts (e.g. glibc 2.2).],
4427 [@%:@include <stdio.h>], [return !fseeko;])
4429 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
4430 # in glibc 2.1.3, but that breaks too many other things.
4431 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
4432 AC_CACHE_CHECK([for fseeko], [ac_cv_func_fseeko],
4433 [AC_TRY_LINK([@%:@include <stdio.h>],
4434 [return fseeko && fseeko (stdin, 0, 0);],
4435 [ac_cv_func_fseeko=yes],
4436 [ac_cv_func_fseeko=no])])
4437 if test $ac_cv_func_fseeko = yes; then
4438 AC_DEFINE(HAVE_FSEEKO, 1,
4439 [Define if fseeko (and presumably ftello) exists and is declared.])
4441 []AC_PROVIDE([AC_FUNC_FSEEKO])[]_m4_defun_epi([AC_FUNC_FSEEKO])
4443 _AC_OUTPUT_COMMANDScat >>$CONFIG_STATUS <<\EOF
4446 # CONFIG_COMMANDS section.
4448 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4449 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4450 ac_source=`echo "$ac_file" | sed 's,[[^:]]*:,,'`
4452 dnl FIXME: Until Automake uses the new features of config.status, we
4453 dnl should keep this silent. Otherwise, because Automake runs this in
4454 dnl each directory, it quickly becomes annoying.
4455 dnl echo "executing commands of $ac_dest"
4457 AC_LIST_COMMANDS_COMMANDS()dnl
4463 AM_TYPE_PTRDIFF_T_m4_defun_pro([AM_TYPE_PTRDIFF_T])AC_DIAGNOSE([obsolete], [The macro `AM_TYPE_PTRDIFF_T' is obsolete.
4464 You should run autoupdate.])dnl
4465 AC_CHECK_TYPES(ptrdiff_t)[]AC_PROVIDE([AM_TYPE_PTRDIFF_T])[]_m4_defun_epi([AM_TYPE_PTRDIFF_T])
4467 m4_location(_AS_TR_PREPARE)m4sh.m4:612
4469 m4_location(AC_DECL_YYTEXT)acspecific.m4:186
4471 m4_text_wrapm4_pushdef([m4_Prefix], m4_default([$2], []))dnl
4472 m4_pushdef([m4_Prefix1], m4_default([$3], [m4_Prefix]))dnl
4473 m4_pushdef([m4_Width], m4_default([$4], 79))dnl
4474 m4_pushdef([m4_Cursor], m4_len(m4_Prefix1))dnl
4475 m4_pushdef([m4_Separator], [])dnl
4477 m4_if(m4_eval(m4_Cursor > m4_len(m4_Prefix)),
4478 1, [m4_define([m4_Cursor], m4_len(m4_Prefix))
4480 m4_foreach_quoted([m4_Word], (m4_split(m4_normalize([$1]))),
4481 [m4_define([m4_Cursor], m4_eval(m4_Cursor + len(m4_Word) + 1))dnl
4482 dnl New line if too long, else insert a space unless it is the first
4484 m4_if(m4_eval(m4_Cursor > m4_Width),
4485 1, [m4_define([m4_Cursor],
4486 m4_eval(m4_len(m4_Prefix) + m4_len(m4_Word) + 1))]
4488 [m4_Separator])[]dnl
4490 m4_define([m4_Separator], [ ])])dnl
4491 m4_popdef([m4_Separator])dnl
4492 m4_popdef([m4_Cursor])dnl
4493 m4_popdef([m4_Width])dnl
4494 m4_popdef([m4_Prefix1])dnl
4495 m4_popdef([m4_Prefix])dnl
4498 popdefm4_ifndef([$1],
4499 [m4_fatal([$0: undefined macro: $1])])dnl
4500 m4_builtin([popdef], $@)
4502 m4_file_appendm4_syscmd([cat >>$1 <<_m4eof
4506 m4_if(m4_sysval, [0], [],
4507 [m4_fatal([$0: cannot write: $1])])
4509 m4_location(AS_TR_CPP)m4sh.m4:604
4511 m4_location(_AC_LANG_ABBREV)aclang.m4:181
4513 m4_location(AC_FUNC_STRCOLL)acfunctions.m4:1373
4515 AC_FUNC_VFORK_m4_defun_pro([AC_FUNC_VFORK])AC_DIAGNOSE([obsolete], [The macro `AC_FUNC_VFORK' is obsolete.
4516 You should run autoupdate.])dnl
4517 AC_FUNC_FORK($@)[]AC_PROVIDE([AC_FUNC_VFORK])[]_m4_defun_epi([AC_FUNC_VFORK])
4519 AC_FUNC_STRFTIME_m4_defun_pro([AC_FUNC_STRFTIME])AC_CHECK_FUNCS(strftime, [],
4520 [# strftime is in -lintl on SCO UNIX.
4521 AC_CHECK_LIB(intl, strftime,
4522 [AC_DEFINE(HAVE_STRFTIME)
4523 LIBS="-lintl $LIBS"])])dnl
4524 []AC_PROVIDE([AC_FUNC_STRFTIME])[]_m4_defun_epi([AC_FUNC_STRFTIME])
4526 m4_location(AC_FUNC_SELECT_ARGTYPES)acfunctions.m4:1154
4528 AC_LANG_COMPILERAC_BEFORE([AC_LANG_COMPILER(]_AC_LANG[)],
4529 [AC_LANG_PREPROC(]_AC_LANG[)])dnl
4530 _AC_LANG_DISPATCH([$0], _AC_LANG, $@)
4532 AC_FUNC_GETMNTENT_m4_defun_pro([AC_FUNC_GETMNTENT])# getmntent is in -lsun on Irix 4, -lseq on Dynix/PTX, -lgen on Unixware.
4533 AC_CHECK_LIB(sun, getmntent, LIBS="-lsun $LIBS",
4534 [AC_CHECK_LIB(seq, getmntent, LIBS="-lseq $LIBS",
4535 [AC_CHECK_LIB(gen, getmntent, LIBS="-lgen $LIBS")])])
4536 AC_CHECK_FUNC(getmntent,
4537 [AC_DEFINE(HAVE_GETMNTENT, 1,
4538 [Define if you have the `getmntent' function.])])[]AC_PROVIDE([AC_FUNC_GETMNTENT])[]_m4_defun_epi([AC_FUNC_GETMNTENT])
4542 AC_FILE_DEPENDENCY_TRACE
4544 AC_DEFINEAC_DEFINE_TRACE([$1])dnl
4545 m4_ifval([$3], [_AH_TEMPLATE_OLD([$1], [$3])])dnl
4546 cat >>confdefs.h <<\EOF
4547 [@%:@define] $1 m4_if($#, 2, [$2], $#, 3, [$2], 1)
4553 AC_HAVE_POUNDBANG_m4_defun_pro([AC_HAVE_POUNDBANG])AC_DIAGNOSE([obsolete], [The macro `AC_HAVE_POUNDBANG' is obsolete.
4554 You should run autoupdate.])dnl
4556 AC_DIAGNOSE([obsolete],
4557 [$0: Remove this warning when you adjust your code to use
4558 `AC_SYS_INTERPRETER'.])[]AC_PROVIDE([AC_HAVE_POUNDBANG])[]_m4_defun_epi([AC_HAVE_POUNDBANG])
4565 m4_location(AC_SYS_INTERPRETER)acspecific.m4:339
4567 AS_VAR_SETAS_LITERAL_IF([$1],
4571 AC_OUTPUTdnl Dispatch the extra arguments to their native macros.
4573 [AC_CONFIG_FILES([$1])])dnl
4575 [AC_CONFIG_COMMANDS(default, [$2], [$3])])dnl
4577 [AC_DIAGNOSE([obsolete],
4578 [$0 should be used without arguments.
4579 You should run autoupdate.])])dnl
4582 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4583 # Let make expand exec_prefix.
4584 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4586 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4587 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4588 # trailing colons and then remove the whole line if VPATH becomes empty
4589 # (actually we leave an empty line to preserve line numbers).
4590 if test "x$srcdir" = x.; then
4591 ac_vpsub=['/^[ ]*VPATH[ ]*=/{
4592 s/:*\$(srcdir):*/:/;
4593 s/:*\${srcdir}:*/:/;
4595 s/^\([^=]*=[ ]*\):*/\1/;
4601 m4_ifset([AC_LIST_HEADERS], [DEFS=-DHAVE_CONFIG_H], [AC_OUTPUT_MAKE_DEFS()])
4603 dnl Commands to run before creating config.status.
4604 AC_OUTPUT_COMMANDS_PRE()dnl
4606 : ${CONFIG_STATUS=./config.status}
4607 ac_clean_files_save=$ac_clean_files
4608 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4609 _AC_OUTPUT_CONFIG_STATUS()dnl
4610 ac_clean_files=$ac_clean_files_save
4612 dnl Commands to run after config.status was created
4613 AC_OUTPUT_COMMANDS_POST()dnl
4615 # configure is writing to config.log, and then calls config.status.
4616 # config.status does its own redirection, appending to config.log.
4617 # Unfortunately, on DOS this fails, as config.log is still kept open
4618 # by configure, so config.status won't be able to write to it; its
4619 # output is simply discarded. So we exec the FD to /dev/null,
4620 # effectively closing config.log, so it can be properly (re)opened and
4621 # appended to by config.status. When coming back to configure, we
4622 # need to make the FD available again.
4623 if test "$no_create" != yes; then
4625 exec AS_MESSAGE_LOG_FD>/dev/null
4626 $SHELL $CONFIG_STATUS || ac_cs_success=false
4627 exec AS_MESSAGE_LOG_FD>>config.log
4628 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4629 # would make configure fail if this is the last instruction.
4630 $ac_cs_success || AS_EXIT([1])
4632 dnl config.status should not do recursion.
4633 AC_PROVIDE_IFELSE([AC_CONFIG_SUBDIRS], [_AC_OUTPUT_SUBDIRS()])dnl
4636 AC_LANG_PREPROC(C)_m4_defun_pro([AC_LANG_PREPROC(C)])AC_REQUIRE([AC_PROG_CPP])[]AC_PROVIDE([AC_LANG_PREPROC(C)])[]_m4_defun_epi([AC_LANG_PREPROC(C)])
4638 m4_location(AC_PROG_F77)aclang.m4:1325
4640 AC_VPRINTF_m4_defun_pro([AC_VPRINTF])AC_DIAGNOSE([obsolete], [The macro `AC_VPRINTF' is obsolete.
4641 You should run autoupdate.])dnl
4642 AC_FUNC_VPRINTF($@)[]AC_PROVIDE([AC_VPRINTF])[]_m4_defun_epi([AC_VPRINTF])
4644 m4_assertm4_if(m4_eval([$1]), 0,
4645 [m4_fatal([assert failed: $1], [$2])])
4647 _AC_PROG_F77_V_OUTPUT_m4_defun_pro([_AC_PROG_F77_V_OUTPUT])AC_REQUIRE([AC_PROG_F77])dnl
4648 AC_LANG_PUSH(Fortran 77)dnl
4650 AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
4652 # Compile and link our simple test program by passing a flag (argument
4653 # 1 to this macro) to the Fortran 77 compiler in order to get
4654 # "verbose" output that we can then parse for the Fortran 77 linker
4656 ac_save_FFLAGS=$FFLAGS
4657 FFLAGS="$FFLAGS m4_default([$1], [$ac_cv_prog_f77_v])"
4658 (eval echo $as_me:__oline__: \"$ac_link\") >&AS_MESSAGE_LOG_FD
4659 ac_f77_v_output=`eval $ac_link AS_MESSAGE_LOG_FD>&1 2>&1 | grep -v 'Driving:'`
4660 echo "$ac_f77_v_output" >&AS_MESSAGE_LOG_FD
4661 FFLAGS=$ac_save_FFLAGS
4664 AC_LANG_POP(Fortran 77)dnl
4666 # If we are using xlf then replace all the commas with spaces.
4667 if echo $ac_f77_v_output | grep xlfentry >/dev/null 2>&1; then
4668 ac_f77_v_output=`echo $ac_f77_v_output | sed 's/,/ /g'`
4671 # If we are using Cray Fortran then delete quotes.
4672 # Use "\"" instead of '"' for font-lock-mode.
4673 # FIXME: a more general fix for quoted arguments with spaces?
4674 if echo $ac_f77_v_output | grep cft90 >/dev/null 2>&1; then
4675 ac_f77_v_output=`echo $ac_f77_v_output | sed "s/\"//g"`
4677 []AC_PROVIDE([_AC_PROG_F77_V_OUTPUT])[]_m4_defun_epi([_AC_PROG_F77_V_OUTPUT])
4679 m4_location(AC_FUNC_STRFTIME)acfunctions.m4:1321
4681 AC_OBSOLETEAC_DIAGNOSE([obsolete], [$1 is obsolete$2])
4683 m4_location(AC_CHAR_UNSIGNED)acoldnames.m4:48
4685 m4_divert_pushm4_pushdef([m4_divert_stack],
4686 m4_location[: $0: $1]m4_ifdef([m4_divert_stack], [
4687 m4_defn([m4_divert_stack])]))dnl
4688 m4_pushdef([_m4_divert_diversion], [$1])dnl
4689 m4_builtin([divert], _m4_divert(_m4_divert_diversion))dnl
4694 AC_FUNC_OBSTACK_m4_defun_pro([AC_FUNC_OBSTACK])AC_LIBSOURCES([obstack.h, obstack.c])dnl
4695 AC_CACHE_CHECK([for obstacks], ac_cv_func_obstack,
4696 [AC_TRY_LINK([@%:@include "obstack.h"],
4697 [struct obstack *mem; obstack_free(mem,(char *) 0)],
4698 [ac_cv_func_obstack=yes],
4699 [ac_cv_func_obstack=no])])
4700 if test $ac_cv_func_obstack = yes; then
4701 AC_DEFINE(HAVE_OBSTACK, 1, [Define if libc includes obstacks.])
4705 []AC_PROVIDE([AC_FUNC_OBSTACK])[]_m4_defun_epi([AC_FUNC_OBSTACK])
4707 m4_dom4_if($#, 0, [],
4709 [$1[]m4_do(m4_shift($@))])
4711 m4_location(AC_C_CONST)aclang.m4:1664
4713 _AC_F77_NAME_MANGLING_m4_defun_pro([_AC_F77_NAME_MANGLING])AC_REQUIRE([AC_F77_LIBRARY_LDFLAGS])dnl
4714 AC_REQUIRE([AC_F77_DUMMY_MAIN])dnl
4715 AC_CACHE_CHECK([for Fortran 77 name-mangling scheme],
4717 [AC_LANG_PUSH(Fortran 77)dnl
4719 [ subroutine foobar()
4722 subroutine foo_bar()
4725 [mv conftest.$ac_objext cf77_test.$ac_objext
4730 LIBS="cf77_test.$ac_objext $LIBS $FLIBS"
4733 for ac_foobar in foobar FOOBAR; do
4734 for ac_underscore in "" "_"; do
4735 ac_func="$ac_foobar$ac_underscore"
4736 AC_TRY_LINK_FUNC($ac_func,
4737 [ac_success=yes; break 2])
4741 if test "$ac_success" = "yes"; then
4754 for ac_extra in "" "_"; do
4755 ac_func="$ac_foo_bar$ac_underscore$ac_extra"
4756 AC_TRY_LINK_FUNC($ac_func,
4757 [ac_success_extra=yes; break])
4760 if test "$ac_success_extra" = "yes"; then
4761 ac_cv_f77_mangling="$ac_case case"
4762 if test -z "$ac_underscore"; then
4763 ac_cv_f77_mangling="$ac_cv_f77_mangling, no underscore"
4765 ac_cv_f77_mangling="$ac_cv_f77_mangling, underscore"
4767 if test -z "$ac_extra"; then
4768 ac_cv_f77_mangling="$ac_cv_f77_mangling, no extra underscore"
4770 ac_cv_f77_mangling="$ac_cv_f77_mangling, extra underscore"
4773 ac_cv_f77_mangling="unknown"
4776 ac_cv_f77_mangling="unknown"
4781 rm -f cf77_test* conftest*])
4782 AC_LANG_POP(Fortran 77)dnl
4784 []AC_PROVIDE([_AC_F77_NAME_MANGLING])[]_m4_defun_epi([_AC_F77_NAME_MANGLING])
4786 AC_IRIX_SUN_m4_defun_pro([AC_IRIX_SUN])AC_DIAGNOSE([obsolete], [The macro `AC_IRIX_SUN' is obsolete.
4787 You should run autoupdate.])dnl
4789 AC_CHECK_LIB(sun, getpwnam)[]AC_PROVIDE([AC_IRIX_SUN])[]_m4_defun_epi([AC_IRIX_SUN])
4791 _AC_LANG_ABBREV_m4_defun_pro([_AC_LANG_ABBREV])_AC_LANG_DISPATCH([$0], _AC_LANG, $@)[]_m4_defun_epi([_AC_LANG_ABBREV])
4793 AC_FUNC_STRTOD_m4_defun_pro([AC_FUNC_STRTOD])AC_CACHE_CHECK(for working strtod, ac_cv_func_strtod,
4794 [AC_RUN_IFELSE([AC_LANG_SOURCE([[
4800 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
4801 char *string = " +69";
4804 value = strtod (string, &term);
4805 if (value != 69 || term != (string + 4))
4810 /* Under Solaris 2.4, strtod returns the wrong value for the
4811 terminating character under some conditions. */
4812 char *string = "NaN";
4814 strtod (string, &term);
4815 if (term != string && *(term - 1) == 0)
4821 ac_cv_func_strtod=yes,
4822 ac_cv_func_strtod=no,
4823 ac_cv_func_strtod=no)])
4824 if test $ac_cv_func_strtod = no; then
4827 []AC_PROVIDE([AC_FUNC_STRTOD])[]_m4_defun_epi([AC_FUNC_STRTOD])
4831 AC_CHECK_TYPE_m4_defun_pro([AC_CHECK_TYPE])m4_if($#, 3,
4832 [_AC_CHECK_TYPE_NEW($@)],
4834 [_AC_CHECK_TYPE_NEW($@)],
4835 _AC_CHECK_TYPE_REPLACEMENT_TYPE_P([$2]), 1,
4836 [_AC_CHECK_TYPE_OLD($@)],
4837 _AC_CHECK_TYPE_MAYBE_TYPE_P([$2]), 1,
4838 [AC_DIAGNOSE([syntax],
4839 [$0: assuming `$2' is not a type])_AC_CHECK_TYPE_NEW($@)],
4840 [_AC_CHECK_TYPE_NEW($@)])[]dnl
4841 []AC_PROVIDE([AC_CHECK_TYPE])[]_m4_defun_epi([AC_CHECK_TYPE])
4843 m4_ifndefm4_ifdef([$1], [$3], [$2])
4845 AC_COPYRIGHTm4_divert_text([NOTICE],
4847 $1], [^], [@%:@ ])])dnl
4848 m4_divert_text(m4_default([$2], [VERSION_USER]),
4853 m4_location(_AS_UNSET_PREPARE)m4sh.m4:152
4855 AH_VERBATIMAS_LITERAL_IF([$1],
4856 [AH_OUTPUT([$1], AS_ESCAPE([[$2]]))])
4859 AC_FUNC_GETPGRP_m4_defun_pro([AC_FUNC_GETPGRP])AC_CACHE_CHECK(whether getpgrp takes no argument, ac_cv_func_getpgrp_void,
4860 [# Use it with a single arg.
4861 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT], [getpgrp (0);])],
4862 [ac_func_getpgrp_1=yes],
4863 [ac_func_getpgrp_1=no])
4864 # Use it with no arg.
4865 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT], [getpgrp ();])],
4866 [ac_func_getpgrp_0=yes],
4867 [ac_func_getpgrp_0=no])
4868 # If both static checks agree, we are done.
4869 case $ac_func_getpgrp_0:$ac_func_getpgrp_1 in
4870 yes:no) ac_cv_func_getpgrp_void=yes;;
4871 no:yes) ac_cv_func_getpgrp_void=false;;
4872 *) AC_RUN_IFELSE([_AC_FUNC_GETPGRP_TEST],
4873 [ac_cv_func_getpgrp_void=yes],
4874 [ac_cv_func_getpgrp_void=no],
4875 [AC_MSG_ERROR([cannot check getpgrp if cross compiling])]);;
4876 esac # $ac_func_getpgrp_0:$ac_func_getpgrp_1
4878 if test $ac_cv_func_getpgrp_void = yes; then
4879 AC_DEFINE(GETPGRP_VOID, 1,
4880 [Define if the `getpgrp' function takes no argument.])
4882 []AC_PROVIDE([AC_FUNC_GETPGRP])[]_m4_defun_epi([AC_FUNC_GETPGRP])
4884 m4_location(AC_FIND_X)acoldnames.m4:51
4886 _AC_OUTPUT_COMMANDS_CNT_m4_defun_pro([_AC_OUTPUT_COMMANDS_CNT])AC_DIAGNOSE([obsolete], [The macro `_AC_OUTPUT_COMMANDS_CNT' is obsolete.
4887 You should run autoupdate.])dnl
4888 0[]AC_PROVIDE([_AC_OUTPUT_COMMANDS_CNT])[]_m4_defun_epi([_AC_OUTPUT_COMMANDS_CNT])
4890 m4_location(AC_ST_RDEV)acoldnames.m4:72
4892 m4_location(AC_INIT)acgeneral.m4:1382
4894 m4_location(_AC_ARG_VAR_LDFLAGS)aclang.m4:830
4898 m4_location(AC_CONFIG_AUX_DIR_DEFAULT)acgeneral.m4:1650
4900 AC_CHECKING_m4_defun_pro([AC_CHECKING])AC_DIAGNOSE([obsolete], [The macro `AC_CHECKING' is obsolete.
4901 You should run autoupdate.])dnl
4902 AS_MESSAGE([checking $1...])[]AC_PROVIDE([AC_CHECKING])[]_m4_defun_epi([AC_CHECKING])
4904 AC_PROG_RANLIB_m4_defun_pro([AC_PROG_RANLIB])AC_CHECK_TOOL(RANLIB, ranlib, :)[]AC_PROVIDE([AC_PROG_RANLIB])[]_m4_defun_epi([AC_PROG_RANLIB])
4906 m4_location(_AC_PROG_F77_V_OUTPUT)aclang.m4:1775
4908 m4_location(AC_CANONICAL_HOST)acgeneral.m4:1755
4910 _AC_INIT_NOTICEm4_divert_text([NOTICE],
4911 [@%:@ Guess values for system-dependent variables and create Makefiles.
4912 @%:@ Generated by Autoconf AC_ACVERSION[]dnl
4913 m4_ifset([AC_PACKAGE_STRING], [ for AC_PACKAGE_STRING]).])
4915 m4_ifset([AC_PACKAGE_BUGREPORT],
4916 [m4_divert_text([NOTICE],
4918 @%:@ Report bugs to <AC_PACKAGE_BUGREPORT>.])])
4921 _AC_INIT_HELPm4_divert_push([HELP_BEGIN])dnl
4924 # Report the --help message.
4926 if test "$ac_init_help" = "long"; then
4927 # Omit some internal or obsolete options to make the list less imposing.
4928 # This message is too long to be a string in the A/UX 3.1 sh.
4930 \`configure' configures m4_ifset([AC_PACKAGE_STRING],
4931 [AC_PACKAGE_STRING],
4932 [this package]) to adapt to many kinds of systems.
4934 Usage: $[0] [[OPTION]]... [[VAR=VALUE]]...
4936 [To assign environment variables (e.g., CC, CFLAGS...), specify them as
4937 VAR=VALUE. See below for descriptions of some of the useful variables.
4939 Defaults for the options are specified in brackets.
4942 -h, --help display this help and exit
4943 --help=short display options specific to this package
4944 --help=recursive display the short help of all the included packages
4945 -V, --version display version information and exit
4946 -q, --quiet, --silent do not print \`checking...' messages
4947 --cache-file=FILE cache test results in FILE [disabled]
4948 -C, --config-cache alias for \`--cache-file=config.cache'
4949 -n, --no-create do not create output files
4950 --srcdir=DIR find the sources in DIR [configure dir or \`..']
4955 Installation directories:
4956 --prefix=PREFIX install architecture-independent files in PREFIX
4957 [$ac_default_prefix]
4958 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
4961 By default, \`make install' will install all the files in
4962 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
4963 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
4964 for instance \`--prefix=\$HOME'.
4966 For better control, use the options below.
4968 Fine tuning of the installation directories:
4969 --bindir=DIR user executables [EPREFIX/bin]
4970 --sbindir=DIR system admin executables [EPREFIX/sbin]
4971 --libexecdir=DIR program executables [EPREFIX/libexec]
4972 --datadir=DIR read-only architecture-independent data [PREFIX/share]
4973 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
4974 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
4975 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
4976 --libdir=DIR object code libraries [EPREFIX/lib]
4977 --includedir=DIR C header files [PREFIX/include]
4978 --oldincludedir=DIR C header files for non-gcc [/usr/include]
4979 --infodir=DIR info documentation [PREFIX/info]
4980 --mandir=DIR man documentation [PREFIX/man]
4984 m4_divert_pop([HELP_BEGIN])dnl
4985 dnl The order of the diversions here is
4987 dnl which may be prolongated by extra generic options such as with X or
4988 dnl AC_ARG_PROGRAM. Displayed only in long --help.
4991 dnl Support for cross compilation (--build, --host and --target).
4992 dnl Display only in long --help.
4995 dnl which starts with the trailer of the HELP_BEGIN, HELP_CANON section,
4996 dnl then implements the header of the non generic options.
5005 dnl initialized below, in which we dump the trailer (handling of the
5006 dnl recursion for instance).
5007 m4_divert_push([HELP_ENABLE])dnl
5011 if test -n "$ac_init_help"; then
5012 m4_ifset([AC_PACKAGE_STRING],
5013 [ case $ac_init_help in
5014 short | recursive ) echo "Configuration of AC_PACKAGE_STRING:";;
5017 m4_divert_pop([HELP_ENABLE])dnl
5018 m4_divert_push([HELP_END])dnl
5019 m4_ifset([AC_PACKAGE_BUGREPORT], [
5020 Report bugs to <AC_PACKAGE_BUGREPORT>.])
5024 if test "$ac_init_help" = "recursive"; then
5025 # If there are subdirs, report their specific --help.
5027 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
5029 # A "../" for each directory in /$ac_subdir.
5030 ac_dots=`echo $ac_subdir |
5031 sed 's,^\./,,;s,[[^/]]$,&/,;s,[[^/]]*/,../,g'`
5034 .) # No --srcdir option. We are building in place.
5035 ac_sub_srcdir=$srcdir ;;
5036 [[\\/]]* | ?:[[\\/]]* ) # Absolute path.
5037 ac_sub_srcdir=$srcdir/$ac_subdir ;;
5039 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
5042 # Check for guested configure; otherwise get Cygnus style configure.
5043 if test -f $ac_sub_srcdir/configure.gnu; then
5045 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
5046 elif test -f $ac_sub_srcdir/configure; then
5048 $SHELL $ac_sub_srcdir/configure --help=recursive
5049 elif test -f $ac_sub_srcdir/configure.ac ||
5050 test -f $ac_sub_srcdir/configure.in; then
5052 $ac_configure --help
5054 AC_MSG_WARN([no configuration information is in $ac_subdir])
5060 test -n "$ac_init_help" && exit 0
5061 m4_divert_pop([HELP_END])dnl
5064 AC_FUNC_ALLOCA_m4_defun_pro([AC_FUNC_ALLOCA])# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5065 # for constant arguments. Useless!
5066 AC_CACHE_CHECK([for working alloca.h], ac_cv_working_alloca_h,
5067 [AC_TRY_LINK([@%:@include <alloca.h>],
5068 [char *p = (char *) alloca (2 * sizeof (int));],
5069 ac_cv_working_alloca_h=yes, ac_cv_working_alloca_h=no)])
5070 if test $ac_cv_working_alloca_h = yes; then
5071 AC_DEFINE(HAVE_ALLOCA_H, 1,
5072 [Define if you have <alloca.h> and it should be used
5076 AC_CACHE_CHECK([for alloca], ac_cv_func_alloca_works,
5079 # define alloca __builtin_alloca
5082 # include <malloc.h>
5083 # define alloca _alloca
5086 # include <alloca.h>
5091 # ifndef alloca /* predefined by HP cc +Olibcalls */
5098 ], [char *p = (char *) alloca (1);],
5099 ac_cv_func_alloca_works=yes, ac_cv_func_alloca_works=no)])
5101 if test $ac_cv_func_alloca_works = yes; then
5102 AC_DEFINE(HAVE_ALLOCA, 1,
5103 [Define if you have `alloca', as a function or macro.])
5107 []AC_PROVIDE([AC_FUNC_ALLOCA])[]_m4_defun_epi([AC_FUNC_ALLOCA])
5109 AS_TMPDIR# Create a temporary directory, and hook for its removal unless debugging.
5112 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5113 trap 'AS_EXIT([1])' 1 2 13 15
5116 # Create a (secure) tmp directory for tmp files.
5119 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/$1XXXXXX") 2>/dev/null` &&
5120 test -n "$tmp" && test -d "$tmp"
5123 tmp=$TMPDIR/$1$$-$RANDOM
5124 (umask 077 && mkdir $tmp)
5127 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
5132 AC_SCO_INTL_m4_defun_pro([AC_SCO_INTL])AC_DIAGNOSE([obsolete], [The macro `AC_SCO_INTL' is obsolete.
5133 You should run autoupdate.])dnl
5134 AC_FUNC_STRFTIME[]AC_PROVIDE([AC_SCO_INTL])[]_m4_defun_epi([AC_SCO_INTL])
5136 AC_PID_T_m4_defun_pro([AC_PID_T])AC_DIAGNOSE([obsolete], [The macro `AC_PID_T' is obsolete.
5137 You should run autoupdate.])dnl
5138 AC_TYPE_PID_T($@)[]AC_PROVIDE([AC_PID_T])[]_m4_defun_epi([AC_PID_T])
5140 _m4_divert(HELP_VAR_END)15
5146 AC_FUNC_SETVBUF_REVERSED_m4_defun_pro([AC_FUNC_SETVBUF_REVERSED])AC_CACHE_CHECK(whether setvbuf arguments are reversed,
5147 ac_cv_func_setvbuf_reversed,
5148 [AC_TRY_RUN([#include <stdio.h>
5149 /* If setvbuf has the reversed format, exit 0. */
5153 /* This call has the arguments reversed.
5154 A reversed system may check and see that the address of main
5155 is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
5156 if (setvbuf(stdout, _IOLBF, (char *) main, BUFSIZ) != 0)
5159 exit(0); /* Non-reversed systems segv here. */
5160 }], ac_cv_func_setvbuf_reversed=yes, ac_cv_func_setvbuf_reversed=no)
5161 rm -f core core.* *.core])
5162 if test $ac_cv_func_setvbuf_reversed = yes; then
5163 AC_DEFINE(SETVBUF_REVERSED, 1,
5164 [Define if the `setvbuf' function takes the buffering type as
5165 its second argument and the buffer pointer as the third, as on
5166 System V before release 3.])
5168 []AC_PROVIDE([AC_FUNC_SETVBUF_REVERSED])[]_m4_defun_epi([AC_FUNC_SETVBUF_REVERSED])
5170 AC_FATALm4_errprintn(m4_location[: error: $1])dnl
5171 m4_expansion_stack_dump()dnl
5172 m4_exit(m4_if([$2],, 1, [$2]))
5174 AC_LIST_MEMBER_OF_m4_defun_pro([AC_LIST_MEMBER_OF])dnl Do some sanity checking of the arguments.
5175 m4_if([$1], , [AC_FATAL([$0]: missing argument 1)])dnl
5176 m4_if([$2], , [AC_FATAL([$0]: missing argument 2)])dnl
5180 if test x"$1" = x"$ac_i"; then
5186 AS_IF([test x"$ac_exists" = xtrue], [$3], [$4])[]dnl
5187 []AC_PROVIDE([AC_LIST_MEMBER_OF])[]_m4_defun_epi([AC_LIST_MEMBER_OF])
5189 AC_BEFOREAC_PROVIDE_IFELSE([$2], [AC_DIAGNOSE([syntax], [$2 was called before $1])])
5193 m4_undivertm4_builtin([undivert], _m4_divert([$1]))
5195 m4_location(AC_C_PROTOTYPES)aclang.m4:1726
5197 _m4_warning_ifelsem4_case([$4],
5203 [$0([$1], [$2], [$3], m4_shiftn(4, $@))])
5205 _AC_EVAL_STDERR_m4_defun_pro([_AC_EVAL_STDERR])_AC_RUN_LOG_STDERR([eval $1],
5206 [eval echo "$as_me:__oline__: \"$1\""])[]AC_PROVIDE([_AC_EVAL_STDERR])[]_m4_defun_epi([_AC_EVAL_STDERR])
5208 _AC_PROG_F77_V_m4_defun_pro([_AC_PROG_F77_V])AC_CACHE_CHECK([how to get verbose linking output from $F77],
5210 [AC_LANG_ASSERT(Fortran 77)
5211 AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
5213 # Try some options frequently used verbose output
5214 for ac_verb in -v -verbose --verbose -V -\#\#\#; do
5215 _AC_PROG_F77_V_OUTPUT($ac_verb)
5216 # look for -l* and *.a constructs in the output
5217 for ac_arg in $ac_f77_v_output; do
5219 [[\\/]]*.a | ?:[[\\/]]*.a | -[[lLRu]]*)
5220 ac_cv_prog_f77_v=$ac_verb
5225 if test -z "$ac_cv_prog_f77_v"; then
5226 AC_MSG_WARN([cannot determine how to obtain linking information from $F77])
5228 [AC_MSG_WARN([compilation failed])])
5229 ])[]AC_PROVIDE([_AC_PROG_F77_V])[]_m4_defun_epi([_AC_PROG_F77_V])
5233 AS_MESSAGEm4_ifset([AS_MESSAGE_LOG_FD],
5234 [{ _AS_ECHO([$as_me:__oline__: $1], [AS_MESSAGE_LOG_FD])
5235 _AS_ECHO([$as_me: $1], [$2]);}],
5236 [_AS_ECHO([$as_me: $1], [$2])])[]dnl
5239 AC_FIND_XTRA_m4_defun_pro([AC_FIND_XTRA])AC_DIAGNOSE([obsolete], [The macro `AC_FIND_XTRA' is obsolete.
5240 You should run autoupdate.])dnl
5241 AC_PATH_XTRA($@)[]AC_PROVIDE([AC_FIND_XTRA])[]_m4_defun_epi([AC_FIND_XTRA])
5243 m4_location(AC_TYPE_MODE_T)actypes.m4:309
5245 m4_include(actypes.m4)
5251 _AC_INIT_PARSE_ARGSm4_divert_push([PARSE_ARGS])dnl
5253 # Initialize some variables set by options.
5255 ac_init_version=false
5256 # The variables have the same names as the options, with
5257 # dashes changed to underlines.
5258 cache_file=/dev/null
5259 AC_SUBST(exec_prefix, NONE)dnl
5262 AC_SUBST(prefix, NONE)dnl
5265 AC_SUBST(program_transform_name, [s,x,x,])dnl
5273 # Installation directory options.
5274 # These are left unexpanded so users can "make install exec_prefix=/foo"
5275 # and all the variables that are supposed to be based on exec_prefix
5276 # by default will actually change.
5277 # Use braces instead of parens because sh, perl, etc. also accept them.
5278 AC_SUBST([bindir], ['${exec_prefix}/bin'])dnl
5279 AC_SUBST([sbindir], ['${exec_prefix}/sbin'])dnl
5280 AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])dnl
5281 AC_SUBST([datadir], ['${prefix}/share'])dnl
5282 AC_SUBST([sysconfdir], ['${prefix}/etc'])dnl
5283 AC_SUBST([sharedstatedir], ['${prefix}/com'])dnl
5284 AC_SUBST([localstatedir], ['${prefix}/var'])dnl
5285 AC_SUBST([libdir], ['${exec_prefix}/lib'])dnl
5286 AC_SUBST([includedir], ['${prefix}/include'])dnl
5287 AC_SUBST([oldincludedir], ['/usr/include'])dnl
5288 AC_SUBST([infodir], ['${prefix}/info'])dnl
5289 AC_SUBST([mandir], ['${prefix}/man'])dnl
5291 # Identity of this package.
5292 AC_SUBST([PACKAGE_NAME],
5293 [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])dnl
5294 AC_SUBST([PACKAGE_TARNAME],
5295 [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])dnl
5296 AC_SUBST([PACKAGE_VERSION],
5297 [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])dnl
5298 AC_SUBST([PACKAGE_STRING],
5299 [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])dnl
5300 AC_SUBST([PACKAGE_BUGREPORT],
5301 [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])dnl
5306 # If the previous option needs an argument, assign it.
5307 if test -n "$ac_prev"; then
5308 eval "$ac_prev=\$ac_option"
5313 ac_optarg=`expr "x$ac_option" : 'x[[^=]]*=\(.*\)'`
5315 # Accept the important Cygnus configure options, so we can diagnose typos.
5319 -bindir | --bindir | --bindi | --bind | --bin | --bi)
5321 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
5322 bindir=$ac_optarg ;;
5324 -build | --build | --buil | --bui | --bu)
5325 ac_prev=build_alias ;;
5326 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
5327 build_alias=$ac_optarg ;;
5329 -cache-file | --cache-file | --cache-fil | --cache-fi \
5330 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
5331 ac_prev=cache_file ;;
5332 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
5333 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
5334 cache_file=$ac_optarg ;;
5336 --config-cache | -C)
5337 cache_file=config.cache ;;
5339 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
5341 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
5343 datadir=$ac_optarg ;;
5345 -disable-* | --disable-*)
5346 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
5347 # Reject names that are not valid shell variable names.
5348 expr "x$ac_feature" : "[.*[^-_$as_cr_alnum]]" >/dev/null &&
5349 AC_MSG_ERROR([invalid feature name: $ac_feature])
5350 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
5351 eval "enable_$ac_feature=no" ;;
5353 -enable-* | --enable-*)
5354 ac_feature=`expr "x$ac_option" : 'x-*enable-\([[^=]]*\)'`
5355 # Reject names that are not valid shell variable names.
5356 expr "x$ac_feature" : "[.*[^-_$as_cr_alnum]]" >/dev/null &&
5357 AC_MSG_ERROR([invalid feature name: $ac_feature])
5358 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
5360 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
5363 eval "enable_$ac_feature='$ac_optarg'" ;;
5365 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
5366 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
5367 | --exec | --exe | --ex)
5368 ac_prev=exec_prefix ;;
5369 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
5370 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
5371 | --exec=* | --exe=* | --ex=*)
5372 exec_prefix=$ac_optarg ;;
5374 -gas | --gas | --ga | --g)
5375 # Obsolete; use --with-gas.
5378 -help | --help | --hel | --he | -h)
5379 ac_init_help=long ;;
5380 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
5381 ac_init_help=recursive ;;
5382 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
5383 ac_init_help=short ;;
5385 -host | --host | --hos | --ho)
5386 ac_prev=host_alias ;;
5387 -host=* | --host=* | --hos=* | --ho=*)
5388 host_alias=$ac_optarg ;;
5390 -includedir | --includedir | --includedi | --included | --include \
5391 | --includ | --inclu | --incl | --inc)
5392 ac_prev=includedir ;;
5393 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
5394 | --includ=* | --inclu=* | --incl=* | --inc=*)
5395 includedir=$ac_optarg ;;
5397 -infodir | --infodir | --infodi | --infod | --info | --inf)
5399 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
5400 infodir=$ac_optarg ;;
5402 -libdir | --libdir | --libdi | --libd)
5404 -libdir=* | --libdir=* | --libdi=* | --libd=*)
5405 libdir=$ac_optarg ;;
5407 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
5408 | --libexe | --libex | --libe)
5409 ac_prev=libexecdir ;;
5410 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
5411 | --libexe=* | --libex=* | --libe=*)
5412 libexecdir=$ac_optarg ;;
5414 -localstatedir | --localstatedir | --localstatedi | --localstated \
5415 | --localstate | --localstat | --localsta | --localst \
5416 | --locals | --local | --loca | --loc | --lo)
5417 ac_prev=localstatedir ;;
5418 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
5419 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
5420 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
5421 localstatedir=$ac_optarg ;;
5423 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
5425 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
5426 mandir=$ac_optarg ;;
5428 -nfp | --nfp | --nf)
5429 # Obsolete; use --without-fp.
5432 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
5436 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
5437 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
5440 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
5441 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
5442 | --oldin | --oldi | --old | --ol | --o)
5443 ac_prev=oldincludedir ;;
5444 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
5445 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
5446 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
5447 oldincludedir=$ac_optarg ;;
5449 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
5451 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
5452 prefix=$ac_optarg ;;
5454 -program-prefix | --program-prefix | --program-prefi | --program-pref \
5455 | --program-pre | --program-pr | --program-p)
5456 ac_prev=program_prefix ;;
5457 -program-prefix=* | --program-prefix=* | --program-prefi=* \
5458 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
5459 program_prefix=$ac_optarg ;;
5461 -program-suffix | --program-suffix | --program-suffi | --program-suff \
5462 | --program-suf | --program-su | --program-s)
5463 ac_prev=program_suffix ;;
5464 -program-suffix=* | --program-suffix=* | --program-suffi=* \
5465 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
5466 program_suffix=$ac_optarg ;;
5468 -program-transform-name | --program-transform-name \
5469 | --program-transform-nam | --program-transform-na \
5470 | --program-transform-n | --program-transform- \
5471 | --program-transform | --program-transfor \
5472 | --program-transfo | --program-transf \
5473 | --program-trans | --program-tran \
5474 | --progr-tra | --program-tr | --program-t)
5475 ac_prev=program_transform_name ;;
5476 -program-transform-name=* | --program-transform-name=* \
5477 | --program-transform-nam=* | --program-transform-na=* \
5478 | --program-transform-n=* | --program-transform-=* \
5479 | --program-transform=* | --program-transfor=* \
5480 | --program-transfo=* | --program-transf=* \
5481 | --program-trans=* | --program-tran=* \
5482 | --progr-tra=* | --program-tr=* | --program-t=*)
5483 program_transform_name=$ac_optarg ;;
5485 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5486 | -silent | --silent | --silen | --sile | --sil)
5489 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
5491 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
5493 sbindir=$ac_optarg ;;
5495 -sharedstatedir | --sharedstatedir | --sharedstatedi \
5496 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
5497 | --sharedst | --shareds | --shared | --share | --shar \
5499 ac_prev=sharedstatedir ;;
5500 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
5501 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
5502 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
5504 sharedstatedir=$ac_optarg ;;
5506 -site | --site | --sit)
5508 -site=* | --site=* | --sit=*)
5511 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
5513 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
5514 srcdir=$ac_optarg ;;
5516 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
5517 | --syscon | --sysco | --sysc | --sys | --sy)
5518 ac_prev=sysconfdir ;;
5519 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
5520 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
5521 sysconfdir=$ac_optarg ;;
5523 -target | --target | --targe | --targ | --tar | --ta | --t)
5524 ac_prev=target_alias ;;
5525 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
5526 target_alias=$ac_optarg ;;
5528 -v | -verbose | --verbose | --verbos | --verbo | --verb)
5531 -version | --version | --versio | --versi | --vers | -V)
5532 ac_init_version=: ;;
5535 ac_package=`expr "x$ac_option" : 'x-*with-\([[^=]]*\)'`
5536 # Reject names that are not valid shell variable names.
5537 expr "x$ac_package" : "[.*[^-_$as_cr_alnum]]" >/dev/null &&
5538 AC_MSG_ERROR([invalid package name: $ac_package])
5539 ac_package=`echo $ac_package| sed 's/-/_/g'`
5541 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
5544 eval "with_$ac_package='$ac_optarg'" ;;
5546 -without-* | --without-*)
5547 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
5548 # Reject names that are not valid shell variable names.
5549 expr "x$ac_package" : "[.*[^-_$as_cr_alnum]]" >/dev/null &&
5550 AC_MSG_ERROR([invalid package name: $ac_package])
5551 ac_package=`echo $ac_package | sed 's/-/_/g'`
5552 eval "with_$ac_package=no" ;;
5555 # Obsolete; use --with-x.
5558 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
5559 | --x-incl | --x-inc | --x-in | --x-i)
5560 ac_prev=x_includes ;;
5561 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
5562 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
5563 x_includes=$ac_optarg ;;
5565 -x-libraries | --x-libraries | --x-librarie | --x-librari \
5566 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
5567 ac_prev=x_libraries ;;
5568 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
5569 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
5570 x_libraries=$ac_optarg ;;
5572 -*) AC_MSG_ERROR([unrecognized option: $ac_option
5573 Try `$[0] --help' for more information.])
5577 ac_envvar=`expr "x$ac_option" : 'x\([[^=]]*\)='`
5578 # Reject names that are not valid shell variable names.
5579 expr "x$ac_envvar" : "[.*[^_$as_cr_alnum]]" >/dev/null &&
5580 AC_MSG_ERROR([invalid variable name: $ac_envvar])
5581 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
5582 eval "$ac_envvar='$ac_optarg'"
5583 export $ac_envvar ;;
5586 # FIXME: should be removed in autoconf 3.0.
5587 AC_MSG_WARN([you should use --build, --host, --target])
5588 expr "x$ac_option" : "[.*[^-._$as_cr_alnum]]" >/dev/null &&
5589 AC_MSG_WARN([invalid host type: $ac_option])
5590 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
5596 if test -n "$ac_prev"; then
5597 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
5598 AC_MSG_ERROR([missing argument to $ac_option])
5601 # Be sure to have absolute paths.
5602 for ac_var in exec_prefix prefix
5604 eval ac_val=$`echo $ac_var`
5606 [[\\/$]]* | ?:[[\\/]]* | NONE | '' ) ;;
5607 *) AC_MSG_ERROR([expected an absolute path for --$ac_var: $ac_val]);;
5611 # Be sure to have absolute paths.
5612 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
5613 localstatedir libdir includedir oldincludedir infodir mandir
5615 eval ac_val=$`echo $ac_var`
5617 [[\\/$]]* | ?:[[\\/]]* ) ;;
5618 *) AC_MSG_ERROR([expected an absolute path for --$ac_var: $ac_val]);;
5622 # There might be people who depend on the old broken behavior: `$host'
5623 # used to hold the argument of --host etc.
5626 target=$target_alias
5628 # FIXME: should be removed in autoconf 3.0.
5629 if test "x$host_alias" != x; then
5630 if test "x$build_alias" = x; then
5631 cross_compiling=maybe
5632 AC_MSG_WARN([If you wanted to set the --build type, don't use --host.
5633 If a cross compiler is detected then cross compile mode will be used.])
5634 elif test "x$build_alias" != "x$host_alias"; then
5640 test -n "$host_alias" && ac_tool_prefix=$host_alias-
5642 test "$silent" = yes && exec AS_MESSAGE_FD>/dev/null
5644 m4_divert_pop([PARSE_ARGS])dnl
5649 _m4_divert(INIT_PREPARE)30
5651 AS_UNSET_m4_defun_pro([AS_UNSET])m4_require([_AS_UNSET_PREPARE])dnl
5652 $as_unset $1 || test "${$1+set}" != set || { $1=$2; export $1; }[]_m4_defun_epi([AS_UNSET])
5654 AC_STAT_MACROS_BROKEN_m4_defun_pro([AC_STAT_MACROS_BROKEN])AC_DIAGNOSE([obsolete], [The macro `AC_STAT_MACROS_BROKEN' is obsolete.
5655 You should run autoupdate.])dnl
5656 AC_HEADER_STAT($@)[]AC_PROVIDE([AC_STAT_MACROS_BROKEN])[]_m4_defun_epi([AC_STAT_MACROS_BROKEN])
5660 m4_location(AC_FUNC_FNMATCH)acfunctions.m4:356
5664 AC_PROG_CC_STDC_m4_defun_pro([AC_PROG_CC_STDC])AC_REQUIRE([AC_PROG_CC])dnl
5665 AC_BEFORE([$0], [AC_C_INLINE])dnl
5666 AC_BEFORE([$0], [AC_C_CONST])dnl
5667 dnl Force this before AC_PROG_CPP. Some cpp's, eg on HPUX, require
5668 dnl a magic option to avoid problems with ANSI preprocessor commands
5670 dnl FIXME: can't do this because then AC_AIX won't work due to a
5671 dnl circular dependency.
5672 dnl AC_BEFORE([$0], [AC_PROG_CPP])
5673 AC_MSG_CHECKING([for $CC option to accept ANSI C])
5674 AC_CACHE_VAL(ac_cv_prog_cc_stdc,
5675 [ac_cv_prog_cc_stdc=no
5677 AC_LANG_CONFTEST([AC_LANG_PROGRAM(
5678 [[#include <stdarg.h>
5680 #include <sys/types.h>
5681 #include <sys/stat.h>
5682 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5683 struct buf { int x; };
5684 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5685 static char *e (p, i)
5691 static char *f (char * (*g) (char **, int), char **p, ...)
5696 s = g (p, va_arg (v,int));
5700 int test (int i, double x);
5701 struct s1 {int (*f) (int a);};
5702 struct s2 {int (*f) (double a);};
5703 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5706 [[return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];]])])
5707 # Don't try gcc -ansi; that turns off useful extensions and
5708 # breaks some systems' header files.
5709 # AIX -qlanglvl=ansi
5710 # Ultrix and OSF/1 -std1
5711 # HP-UX 10.20 and later -Ae
5712 # HP-UX older versions -Aa -D_HPUX_SOURCE
5713 # SVR4 -Xc -D__EXTENSIONS__
5714 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5716 CC="$ac_save_CC $ac_arg"
5717 AC_COMPILE_IFELSE([],
5718 [ac_cv_prog_cc_stdc=$ac_arg
5721 rm -f conftest.$ac_ext conftest.$ac_objext
5724 case "x$ac_cv_prog_cc_stdc" in
5726 AC_MSG_RESULT([none needed]) ;;
5728 AC_MSG_RESULT([$ac_cv_prog_cc_stdc])
5729 CC="$CC $ac_cv_prog_cc_stdc" ;;
5731 []AC_PROVIDE([AC_PROG_CC_STDC])[]_m4_defun_epi([AC_PROG_CC_STDC])
5733 AC_PLAIN_SCRIPTAS_INIT
5735 # Forbidden tokens and exceptions.
5736 m4_pattern_forbid([^_?A[CHUM]_])
5737 m4_pattern_forbid([_AC_])
5738 # Actually reserved by M4sh.
5739 m4_pattern_allow([^AS_FLAGS$])
5741 m4_divert_push([BODY])dnl
5742 m4_wrap([m4_divert_pop([BODY])[]])dnl
5745 _AC_RUN_IFELSEm4_ifvaln([$1], [AC_LANG_CONFTEST([$1])])dnl
5746 rm -f conftest$ac_exeext
5747 AS_IF([AC_TRY_EVAL(ac_link) && AC_TRY_COMMAND(./conftest$ac_exeext)],
5749 [echo "$as_me: program exited with status $ac_status" >&AS_MESSAGE_LOG_FD
5750 echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD
5751 cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD
5752 m4_ifvaln([$3], [$3])dnl])[]dnl
5753 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext m4_ifval([$1],
5754 [conftest.$ac_ext])[]dnl
5757 m4_include(acfunctions.m4)
5759 _AC_LANG_ABBREV(C++)cxx
5761 AM_FUNC_OBSTACK_m4_defun_pro([AM_FUNC_OBSTACK])AC_DIAGNOSE([obsolete], [The macro `AM_FUNC_OBSTACK' is obsolete.
5762 You should run autoupdate.])dnl
5763 AC_FUNC_OBSTACK($@)[]AC_PROVIDE([AM_FUNC_OBSTACK])[]_m4_defun_epi([AM_FUNC_OBSTACK])
5765 AC_MAJOR_HEADER_m4_defun_pro([AC_MAJOR_HEADER])AC_DIAGNOSE([obsolete], [The macro `AC_MAJOR_HEADER' is obsolete.
5766 You should run autoupdate.])dnl
5767 AC_HEADER_MAJOR($@)[]AC_PROVIDE([AC_MAJOR_HEADER])[]_m4_defun_epi([AC_MAJOR_HEADER])
5769 AC_FUNC_STRERROR_R_m4_defun_pro([AC_FUNC_STRERROR_R])AC_CHECK_DECLS([strerror_r])
5770 AC_CHECK_FUNCS([strerror_r])
5771 if test $ac_cv_func_strerror_r = yes; then
5772 AC_CACHE_CHECK([for working strerror_r],
5773 ac_cv_func_strerror_r_works,
5775 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
5778 char x = *strerror_r (0, buf, sizeof buf);
5780 ac_cv_func_strerror_r_works=yes,
5781 ac_cv_func_strerror_r_works=no)
5782 if test $ac_cv_func_strerror_r_works = no; then
5783 # strerror_r seems not to work, but now we have to choose between
5784 # systems that have relatively inaccessible declarations for the
5785 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
5786 # former has a strerror_r that returns char*, while the latter
5787 # has a strerror_r that returns `int'.
5788 # This test should segfault on the DEC system.
5789 AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT
5790 extern char *strerror_r ();],
5792 char x = *strerror_r (0, buf, sizeof buf);
5793 exit (!isalpha (x));]])],
5794 ac_cv_func_strerror_r_works=yes,
5795 ac_cv_func_strerror_r_works=no,
5796 ac_cv_func_strerror_r_works=no)
5799 if test $ac_cv_func_strerror_r_works = yes; then
5800 AC_DEFINE_UNQUOTED([HAVE_WORKING_STRERROR_R], 1,
5801 [Define to 1 if `strerror_r' returns a string.])
5804 []AC_PROVIDE([AC_FUNC_STRERROR_R])[]_m4_defun_epi([AC_FUNC_STRERROR_R])
5808 _AC_COMPILE_IFELSEm4_ifvaln([$1], [AC_LANG_CONFTEST([$1])])dnl
5809 rm -f conftest.$ac_objext
5810 AS_IF([AC_TRY_EVAL(ac_compile) &&
5811 AC_TRY_COMMAND([test -s conftest.$ac_objext])],
5813 [echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD
5814 cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD
5815 m4_ifvaln([$3],[$3])dnl])dnl
5816 rm -f conftest.$ac_objext m4_ifval([$1], [conftest.$ac_ext])[]dnl
5819 _AS_TEST_PREPARE_m4_defun_pro([_AS_TEST_PREPARE])as_executable_p="test -f"
5820 []_m4_defun_epi([_AS_TEST_PREPARE])
5822 AS_VAR_TEST_SETAS_LITERAL_IF([$1],
5823 [test "${$1+set}" = set],
5824 [eval "test \"\${$1+set}\" = set"])
5826 _AC_CHECK_TYPE_REPLACEMENT_TYPE_Pm4_if(m4_regexp([$1],
5827 [^\(_Bool\|bool\|char\|double\|float\|int\|long\|short\|\(un\)?signed\|[_a-zA-Z][_a-zA-Z0-9]*_t\)[][_a-zA-Z0-9() *]*$]),
5831 AC_LANG_INT_SAVE_m4_defun_pro([AC_LANG_INT_SAVE])_AC_LANG_DISPATCH([$0], _AC_LANG, $@)[]AC_PROVIDE([AC_LANG_INT_SAVE])[]_m4_defun_epi([AC_LANG_INT_SAVE])
5833 AC_ERROR_m4_defun_pro([AC_ERROR])AC_DIAGNOSE([obsolete], [The macro `AC_ERROR' is obsolete.
5834 You should run autoupdate.])dnl
5835 AC_MSG_ERROR($@)[]AC_PROVIDE([AC_ERROR])[]_m4_defun_epi([AC_ERROR])
5837 m4_location(AC_LANG_COMPILER_REQUIRE)aclang.m4:532
5839 _AS_BOX_LITERALcat <<\_ASBOX
5840 m4_patsubst([$1], [.], m4_if([$2], [], [[=]], [[$2]]))
5842 m4_patsubst([$1], [.], m4_if([$2], [], [[=]], [[$2]]))
5845 AC_PATH_PROGS_m4_defun_pro([AC_PATH_PROGS])for ac_prog in $2
5847 AC_PATH_PROG([$1], [$ac_prog], , [$4])
5848 test -n "$$1" && break
5850 m4_ifvaln([$3], [test -n "$$1" || $1="$3"])dnl
5851 []AC_PROVIDE([AC_PATH_PROGS])[]_m4_defun_epi([AC_PATH_PROGS])
5853 m4_location(AC_LANG_COMPILER(Fortran 77))aclang.m4:1263
5855 m4_init# We need a tmp directory.
5856 m4_ifndef([m4_tmpdir],
5857 [m4_define([m4_tmpdir], [/tmp])])
5859 # M4sugar reserves `m4_[A-Za-z0-9_]*'. We'd need \b and +,
5860 # but they are not portable.
5861 m4_pattern_forbid([^m4_])
5862 m4_pattern_forbid([^dnl$])
5864 # Check the divert push/pop perfect balance.
5865 m4_wrap([m4_ifdef([_m4_divert_diversion],
5866 [m4_fatal([$0: unbalanced m4_divert_push:]
5867 m4_defn([m4_divert_stack]))])[]])
5869 m4_divert_push([KILL])
5870 m4_wrap([m4_divert_pop([KILL])[]])
5873 _AC_PROG_F77_Gac_test_FFLAGS=${FFLAGS+set}
5874 ac_save_FFLAGS=$FFLAGS
5876 AC_CACHE_CHECK(whether $F77 accepts -g, ac_cv_prog_f77_g,
5878 _AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
5879 [ac_cv_prog_f77_g=yes],
5880 [ac_cv_prog_f77_g=no])
5882 if test "$ac_test_FFLAGS" = set; then
5883 FFLAGS=$ac_save_FFLAGS
5884 elif test $ac_cv_prog_f77_g = yes; then
5885 if test "$G77" = yes; then
5891 if test "$G77" = yes; then
5899 AC_LONG_64_BITS_m4_defun_pro([AC_LONG_64_BITS])AC_DIAGNOSE([obsolete], [The macro `AC_LONG_64_BITS' is obsolete.
5900 You should run autoupdate.])dnl
5901 AC_CHECK_SIZEOF([long int])
5902 AC_DIAGNOSE([obsolete], [$0:
5903 your code should no longer depend upon `LONG_64_BITS', but upon
5904 `SIZEOF_LONG_INT'. Remove this warning and the `AC_DEFINE' when
5905 you adjust the code.])dnl
5906 test $ac_cv_sizeof_long_int = 8 &&
5907 AC_DEFINE(LONG_64_BITS, 1,
5908 [Define if `sizeof (long int)' = 8. Obsolete, use
5909 `SIZEOF_LONG_INT'.])
5910 []AC_PROVIDE([AC_LONG_64_BITS])[]_m4_defun_epi([AC_LONG_64_BITS])
5912 m4_popdefm4_ifndef([$1],
5913 [m4_fatal([$0: undefined macro: $1])])dnl
5914 m4_builtin([popdef], $@)
5916 AS_MKDIR_P{ case $1 in
5917 [[\\/]]* | ?:[[\\/]]* ) as_incr_dir=;;
5921 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$[@]"`; do
5922 case $as_mkdir_dir in
5923 # Skip DOS drivespec
5924 ?:) as_incr_dir=$as_mkdir_dir ;;
5926 as_incr_dir=$as_incr_dir/$as_mkdir_dir
5927 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
5933 AC_UTIME_NULL_m4_defun_pro([AC_UTIME_NULL])AC_DIAGNOSE([obsolete], [The macro `AC_UTIME_NULL' is obsolete.
5934 You should run autoupdate.])dnl
5935 AC_FUNC_UTIME_NULL($@)[]AC_PROVIDE([AC_UTIME_NULL])[]_m4_defun_epi([AC_UTIME_NULL])
5937 AC_PROG_F77_C_O_m4_defun_pro([AC_PROG_F77_C_O])AC_REQUIRE([AC_PROG_F77])dnl
5938 AC_CACHE_CHECK([whether $F77 understand -c and -o together],
5939 [ac_cv_prog_f77_c_o],
5940 [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
5941 # We test twice because some compilers refuse to overwrite an existing
5942 # `.o' file with `-o', although they will create one.
5943 ac_try='$F77 $FFLAGS -c conftest.$ac_ext -o conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
5944 if AC_TRY_EVAL(ac_try) &&
5945 test -f conftest.$ac_objext &&
5946 AC_TRY_EVAL(ac_try); then
5947 ac_cv_prog_f77_c_o=yes
5949 ac_cv_prog_f77_c_o=no
5952 if test $ac_cv_prog_f77_c_o = no; then
5953 AC_DEFINE(F77_NO_MINUS_C_MINUS_O, 1,
5954 [Define if your Fortran 77 compiler doesn't accept -c and -o together.])
5956 []AC_PROVIDE([AC_PROG_F77_C_O])[]_m4_defun_epi([AC_PROG_F77_C_O])
5958 AC_CACHE_LOADif test -r "$cache_file"; then
5959 # Some versions of bash will fail to source /dev/null (special
5960 # files actually), so we avoid doing that.
5961 if test -f "$cache_file"; then
5962 AC_MSG_NOTICE([loading cache $cache_file])
5964 [[\\/]]* | ?:[[\\/]]* ) . $cache_file;;
5965 *) . ./$cache_file;;
5969 AC_MSG_NOTICE([creating cache $cache_file])
5974 _AC_RUN_LOG_m4_defun_pro([_AC_RUN_LOG]){ ($2) >&AS_MESSAGE_LOG_FD
5975 ($1) 2>&AS_MESSAGE_LOG_FD
5977 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
5978 (exit $ac_status); }[]AC_PROVIDE([_AC_RUN_LOG])[]_m4_defun_epi([_AC_RUN_LOG])
5980 _AC_FUNC_STATAC_REQUIRE([AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK])dnl
5981 AC_CACHE_CHECK([whether $1 accepts an empty string],
5982 [ac_cv_func_$1_empty_string_bug],
5983 [AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
5985 exit ($1 ("", &sbuf) ? 1 : 0);]])],
5986 [ac_cv_func_$1_empty_string_bug=yes],
5987 [ac_cv_func_$1_empty_string_bug=no],
5988 [ac_cv_func_$1_empty_string_bug=yes])])
5989 if test $ac_cv_func_$1_empty_string_bug = yes; then
5991 AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_$1_EMPTY_STRING_BUG]), 1,
5992 [Define if `$1' has the bug that it succeeds when
5993 given the zero-length file name argument.])
5997 AC_SETVBUF_REVERSED_m4_defun_pro([AC_SETVBUF_REVERSED])AC_DIAGNOSE([obsolete], [The macro `AC_SETVBUF_REVERSED' is obsolete.
5998 You should run autoupdate.])dnl
5999 AC_FUNC_SETVBUF_REVERSED($@)[]AC_PROVIDE([AC_SETVBUF_REVERSED])[]_m4_defun_epi([AC_SETVBUF_REVERSED])
6001 AC_LONG_DOUBLE_m4_defun_pro([AC_LONG_DOUBLE])AC_DIAGNOSE([obsolete], [The macro `AC_LONG_DOUBLE' is obsolete.
6002 You should run autoupdate.])dnl
6003 AC_C_LONG_DOUBLE($@)[]AC_PROVIDE([AC_LONG_DOUBLE])[]_m4_defun_epi([AC_LONG_DOUBLE])
6005 AC_CANONICAL_SYSTEM_m4_defun_pro([AC_CANONICAL_SYSTEM])AC_DIAGNOSE([obsolete], [The macro `AC_CANONICAL_SYSTEM' is obsolete.
6006 You should run autoupdate.])dnl
6007 AC_CANONICAL_TARGET($@)[]AC_PROVIDE([AC_CANONICAL_SYSTEM])[]_m4_defun_epi([AC_CANONICAL_SYSTEM])
6009 AC_CHECK_PROG_m4_defun_pro([AC_CHECK_PROG])# Extract the first word of "$2", so it can be a program name with args.
6010 set dummy $2; ac_word=$[2]
6011 AC_MSG_CHECKING([for $ac_word])
6012 AC_CACHE_VAL(ac_cv_prog_$1,
6013 [if test -n "$$1"; then
6014 ac_cv_prog_$1="$$1" # Let the user override the test.
6017 [ ac_prog_rejected=no])dnl
6018 AC_SHELL_PATH_WALK([$5],
6019 [AS_EXECUTABLE_P("$ac_dir/$ac_word") || continue
6021 [if test "$ac_dir/$ac_word" = "$6"; then
6022 ac_prog_rejected=yes
6026 echo "$as_me:__oline__: found $ac_dir/$ac_word" >&AS_MESSAGE_LOG_FD
6029 [if test $ac_prog_rejected = yes; then
6030 # We found a bogon in the path, so make sure we never use it.
6031 set dummy $ac_cv_prog_$1
6033 if test $[@%:@] != 0; then
6034 # We chose a different compiler from the bogus one.
6035 # However, it has the same basename, so the bogon will be chosen
6036 # first if we set $1 to just the basename; use the full file name.
6038 set dummy "$ac_dir/$ac_word" ${1+"$[@]"}
6040 ac_cv_prog_$1="$[@]"
6043 # Default is a loser.
6044 AC_MSG_ERROR([$1=$6 unacceptable, but no other $4 found in dnl
6045 m4_default([$5], [\$PATH])])
6049 dnl If no 4th arg is given, leave the cache variable unset,
6050 dnl so AC_CHECK_PROGS will keep looking.
6052 [ test -z "$ac_cv_prog_$1" && ac_cv_prog_$1="$4"])dnl
6055 if test -n "$$1"; then
6056 AC_MSG_RESULT([$$1])
6061 []AC_PROVIDE([AC_CHECK_PROG])[]_m4_defun_epi([AC_CHECK_PROG])
6063 m4_location(AC_C_INLINE)aclang.m4:1602
6065 ac_cv_prog_gxx_m4_defun_pro([ac_cv_prog_gxx])AC_DIAGNOSE([obsolete], [The macro `ac_cv_prog_gxx' is obsolete.
6066 You should run autoupdate.])dnl
6067 ac_cv_cxx_compiler_gnu[]AC_PROVIDE([ac_cv_prog_gxx])[]_m4_defun_epi([ac_cv_prog_gxx])
6069 _AC_RUN_LOG_STDERR_m4_defun_pro([_AC_RUN_LOG_STDERR]){ ($2) >&AS_MESSAGE_LOG_FD
6072 egrep -v '^ *\+' conftest.er1 >conftest.err
6074 cat conftest.err >&AS_MESSAGE_LOG_FD
6075 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
6076 (exit $ac_status); }[]AC_PROVIDE([_AC_RUN_LOG_STDERR])[]_m4_defun_epi([_AC_RUN_LOG_STDERR])
6078 AC_LANG_PROGRAM(C++)$1
6079 m4_ifdef([_AC_LANG_PROGRAM_C_F77_HOOKS], [_AC_LANG_PROGRAM_C_F77_HOOKS()])dnl
6083 dnl Do *not* indent the following line: there may be CPP directives.
6084 dnl Don't move the `;' right after for the same reason.
6090 AC_FUNC_MKTIME_m4_defun_pro([AC_FUNC_MKTIME])AC_REQUIRE([AC_HEADER_TIME])dnl
6091 AC_CHECK_HEADERS(sys/time.h unistd.h)
6092 AC_CHECK_FUNCS(alarm)
6093 AC_CACHE_CHECK([for working mktime], ac_cv_func_working_mktime,
6094 [AC_RUN_IFELSE([AC_LANG_SOURCE(
6095 [[/* Test program from Paul Eggert and Tony Leneis. */
6096 #if TIME_WITH_SYS_TIME
6097 # include <sys/time.h>
6100 # if HAVE_SYS_TIME_H
6101 # include <sys/time.h>
6108 # include <unistd.h>
6112 # define alarm(X) /* empty */
6115 /* Work around redefinition to rpl_putenv by other config tests. */
6118 static time_t time_t_max;
6120 /* Values we'll use to set the TZ environment variable. */
6121 static const char *const tz_strings[] = {
6122 (const char *) 0, "TZ=GMT0", "TZ=JST-9",
6123 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
6125 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
6127 /* Fail if mktime fails to convert a date in the spring-forward gap.
6128 Based on a problem report from Andreas Jaeger. */
6130 spring_forward_gap ()
6132 /* glibc (up to about 1998-10-07) failed this test. */
6135 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
6136 instead of "TZ=America/Vancouver" in order to detect the bug even
6137 on systems that don't support the Olson extension, or don't have the
6138 full zoneinfo tables installed. */
6139 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
6148 if (mktime (&tm) == (time_t)-1)
6157 if ((lt = localtime (&now)) && mktime (lt) != now)
6159 now = time_t_max - now;
6160 if ((lt = localtime (&now)) && mktime (lt) != now)
6167 /* Based on code from Ariel Faigon. */
6177 if (tm.tm_mon != 2 || tm.tm_mday != 31)
6187 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
6189 if (now != (time_t) -1)
6191 struct tm *lt = localtime (&now);
6193 && lt->tm_year == tm.tm_year
6194 && lt->tm_mon == tm.tm_mon
6195 && lt->tm_mday == tm.tm_mday
6196 && lt->tm_hour == tm.tm_hour
6197 && lt->tm_min == tm.tm_min
6198 && lt->tm_sec == tm.tm_sec
6199 && lt->tm_yday == tm.tm_yday
6200 && lt->tm_wday == tm.tm_wday
6201 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
6202 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
6213 /* This test makes some buggy mktime implementations loop.
6214 Give up after 60 seconds; a mktime slower than that
6215 isn't worth using anyway. */
6218 for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
6221 delta = time_t_max / 997; /* a suitable prime number */
6222 for (i = 0; i < N_STRINGS; i++)
6225 putenv (tz_strings[i]);
6227 for (t = 0; t <= time_t_max - delta; t += delta)
6229 mktime_test ((time_t) 60 * 60);
6230 mktime_test ((time_t) 60 * 60 * 24);
6232 for (j = 1; 0 < j; j *= 2)
6234 bigtime_test (j - 1);
6237 spring_forward_gap ();
6240 [ac_cv_func_working_mktime=yes],
6241 [ac_cv_func_working_mktime=no],
6242 [ac_cv_func_working_mktime=no])])
6243 if test $ac_cv_func_working_mktime = no; then
6246 []AC_PROVIDE([AC_FUNC_MKTIME])[]_m4_defun_epi([AC_FUNC_MKTIME])
6248 m4_location(AC_SYS_SIGLIST_DECLARED)acoldnames.m4:73
6250 m4_cmpm4_sign(m4_eval([$1 - $2]))
6252 m4_location(AC_TIME_WITH_SYS_TIME)acoldnames.m4:75
6256 _m4_warn_m4_warning_error_ifelse([m4_fatal([$1])],
6259 AC_DEFINE_TRACEAS_LITERAL_IF([$1], [AC_DEFINE_TRACE_LITERAL([$1])])
6261 m4_location(AC_USG)acheaders.m4:408
6263 _m4_divert(REVISION)1
6265 m4_location(AC_RSH)acspecific.m4:285
6267 m4_location(AC_FUNC_SETPGRP)acfunctions.m4:1177
6269 _AC_ARG_VAR_CPPFLAGS_m4_defun_pro([_AC_ARG_VAR_CPPFLAGS])AC_ARG_VAR([CPPFLAGS],
6270 [C/C++ preprocessor flags, e.g. -I<include dir> if you have
6271 headers in a nonstandard directory <include dir>])[]AC_PROVIDE([_AC_ARG_VAR_CPPFLAGS])[]_m4_defun_epi([_AC_ARG_VAR_CPPFLAGS])
6273 AC_LANG_INT_SAVE(C)AC_LANG_PROGRAM([m4_default([$1], [@%:@include <stdio.h>])],
6274 [FILE *f = fopen ("conftest.val", "w");
6277 fprintf (f, "%d", ($2));
6280 AC_HEADER_DIRENT_m4_defun_pro([AC_HEADER_DIRENT])AH_CHECK_HEADERS_DIRENT(dirent.h sys/ndir.h sys/dir.h ndir.h)
6282 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
6283 _AC_CHECK_HEADER_DIRENT($ac_hdr,
6284 [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_$ac_hdr), 1)
6285 ac_header_dirent=$ac_hdr; break])
6287 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6288 if test $ac_header_dirent = dirent.h; then
6289 AC_CHECK_LIB(dir, opendir, LIBS="$LIBS -ldir")
6291 AC_CHECK_LIB(x, opendir, LIBS="$LIBS -lx")
6293 []AC_PROVIDE([AC_HEADER_DIRENT])[]_m4_defun_epi([AC_HEADER_DIRENT])
6295 m4_renamem4_copy([$1], [$2])m4_undefine([$1])
6297 m4_location(AC_LANG_PREPROC(Fortran 77))aclang.m4:1255
6299 m4_location(AC_HEADER_SYS_WAIT)acheaders.m4:311
6301 AC_LIST_COMMANDS_COMMANDS
6303 m4_location(AC_STDC_HEADERS)acoldnames.m4:69
6305 AH_CHECK_HEADERSAC_FOREACH([AC_Header], [$1],
6306 [AH_TEMPLATE(AS_TR_CPP(HAVE_[]AC_Header),
6307 [Define if you have the <]AC_Header[> header file.])])
6309 AC_REQUIRE_CPP_m4_defun_pro([AC_REQUIRE_CPP])AC_LANG_PREPROC_REQUIRE[]AC_PROVIDE([AC_REQUIRE_CPP])[]_m4_defun_epi([AC_REQUIRE_CPP])
6311 AC_LINK_IFELSE_m4_defun_pro([AC_LINK_IFELSE])AC_LANG_COMPILER_REQUIRE()dnl
6312 _AC_LINK_IFELSE($@)[]AC_PROVIDE([AC_LINK_IFELSE])[]_m4_defun_epi([AC_LINK_IFELSE])
6314 m4_location(AC_STRUCT_ST_BLOCKS)actypes.m4:497
6316 m4_divert_textm4_divert_push([$1])dnl
6318 m4_divert_pop([$1])dnl
6321 _AC_CONFIG_COMMANDS_INITm4_ifval([$1],
6322 [m4_append([_AC_OUTPUT_COMMANDS_INIT],
6326 m4_location(AC_PATH_TOOL)acgeneral.m4:2430
6330 _AC_COMPILER_EXEEXT_DEFAULT# Try to create an executable without -o first, disregard a.out.
6331 # It will help us diagnose broken compilers, and finding out an intuition
6333 AC_MSG_CHECKING([for _AC_LANG compiler default output])
6334 ac_link_default=`echo "$ac_link" | sed ['s/ -o *conftest[^ ]*//']`
6335 AS_IF([AC_TRY_EVAL(ac_link_default)],
6336 [# Find the output, starting from the most likely. This scheme is
6337 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
6339 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
6340 ls a.out conftest 2>/dev/null;
6341 ls a.* conftest.* 2>/dev/null`; do
6343 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
6344 a.out ) # We found the default executable, but exeext='' is most
6347 *.* ) ac_cv_exeext=`expr "$ac_file" : ['[^.]*\(\..*\)']`
6348 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
6354 [echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD
6355 cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD
6356 AC_MSG_ERROR([_AC_LANG compiler cannot create executables], 77)])
6357 ac_exeext=$ac_cv_exeext
6358 AC_MSG_RESULT([$ac_file])
6361 AC_FUNC_STAT_m4_defun_pro([AC_FUNC_STAT])_AC_FUNC_STAT(stat)[]AC_PROVIDE([AC_FUNC_STAT])[]_m4_defun_epi([AC_FUNC_STAT])
6363 AS_BOXAS_LITERAL_IF([$1],
6364 [_AS_BOX_LITERAL($@)],
6365 [_AS_BOX_INDIR($@)])
6367 AC_HEADER_SYS_WAIT_m4_defun_pro([AC_HEADER_SYS_WAIT])AC_CACHE_CHECK([for sys/wait.h that is POSIX.1 compatible],
6368 ac_cv_header_sys_wait_h,
6370 [AC_LANG_PROGRAM([#include <sys/types.h>
6371 #include <sys/wait.h>
6373 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
6376 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6381 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;])],
6382 [ac_cv_header_sys_wait_h=yes],
6383 [ac_cv_header_sys_wait_h=no])])
6384 if test $ac_cv_header_sys_wait_h = yes; then
6385 AC_DEFINE(HAVE_SYS_WAIT_H, 1,
6386 [Define if you have <sys/wait.h> that is POSIX.1 compatible.])
6388 []AC_PROVIDE([AC_HEADER_SYS_WAIT])[]_m4_defun_epi([AC_HEADER_SYS_WAIT])
6390 AC_HEADER_MAJOR_m4_defun_pro([AC_HEADER_MAJOR])AC_CACHE_CHECK(whether sys/types.h defines makedev,
6391 ac_cv_header_sys_types_h_makedev,
6392 [AC_TRY_LINK([#include <sys/types.h>
6393 ], [return makedev(0, 0);],
6394 ac_cv_header_sys_types_h_makedev=yes, ac_cv_header_sys_types_h_makedev=no)
6397 if test $ac_cv_header_sys_types_h_makedev = no; then
6398 AC_CHECK_HEADER(sys/mkdev.h,
6399 [AC_DEFINE(MAJOR_IN_MKDEV, 1,
6400 [Define if `major', `minor', and `makedev' are
6401 declared in <mkdev.h>.])])
6403 if test $ac_cv_header_sys_mkdev_h = no; then
6404 AC_CHECK_HEADER(sys/sysmacros.h,
6405 [AC_DEFINE(MAJOR_IN_SYSMACROS, 1,
6406 [Define if `major', `minor', and `makedev' are
6407 declared in <sysmacros.h>.])])
6410 []AC_PROVIDE([AC_HEADER_MAJOR])[]_m4_defun_epi([AC_HEADER_MAJOR])
6412 m4_location(AC_LANG_RESTORE)aclang.m4:173
6414 m4_cr_LETTERSABCDEFGHIJKLMNOPQRSTUVWXYZ
6416 _AC_LANG_ABBREV(Fortran 77)f77
6418 _AS_QUOTE_AS_QUOTE_IFELSE([$1],
6419 [AS_ESCAPE([$1], [`""])],
6420 [m4_warn([obsolete],
6421 [back quotes and double quotes should not be escaped in: $1])dnl
6424 m4_noquotem4_changequote(-=<{,}>=-)$1-=<{}>=-m4_changequote([,])
6426 m4_matchm4_if([$#], 0, [],
6429 m4_regexp([$1], [$2]), -1, [m4_match([$1], m4_shiftn(3, $@))],
6432 m4_location(AC_MAJOR_HEADER)acoldnames.m4:59
6436 AC_PREREQm4_if(m4_version_compare(m4_defn([AC_ACVERSION]), [$1]), -1,
6437 [AC_FATAL([Autoconf version $1 or higher is required for this script])])
6439 AC_OUTPUT_MAKE_DEFS[# Transform confdefs.h into DEFS.
6440 # Protect against shell expansion while executing Makefile rules.
6441 # Protect against Makefile macro expansion.
6443 # If the first sed substitution is executed (which looks for macros that
6444 # take arguments), then we branch to the quote section. Otherwise,
6445 # look for a macro that doesn't take arguments.
6446 cat >confdef2opt.sed <<\EOF
6449 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
6451 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
6455 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
6461 # We use echo to avoid assuming a particular line-breaking character.
6462 # The extra dot is to prevent the shell from consuming trailing
6463 # line-breaks from the sub-command output. A line-break within
6464 # single-quotes doesn't work because, if this script is created in a
6465 # platform that uses two characters for line-breaks (e.g., DOS), tr
6467 ac_LF_and_DOT=`echo; echo .`
6468 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
6469 rm -f confdef2opt.sed
6472 m4_location(AC_PROG_YACC)acspecific.m4:124
6474 m4_location(AC_MMAP)acfunctions.m4:1085
6476 AC_REQUIREm4_expansion_stack_push(m4_location[: $1 is required by...])dnl
6477 m4_ifdef([_m4_expanding($1)],
6478 [m4_fatal([$0: circular dependency of $1])])dnl
6479 m4_ifndef([_m4_divert_dump],
6480 [m4_fatal([$0: cannot be used outside of an m4_defun'd macro])])dnl
6481 m4_provide_ifelse([$1],
6483 [m4_divert_push(m4_eval(m4_divnum - 1))dnl
6484 m4_default([$2], [$1])
6485 m4_divert(m4_defn([_m4_divert_dump]))dnl
6486 m4_undivert(m4_defn([_m4_divert_diversion]))dnl
6487 m4_divert_pop(m4_defn([_m4_divert_dump]))])dnl
6488 m4_provide_ifelse([$1],
6491 [$1 is m4_require'd but is not m4_defun'd])])dnl
6492 m4_expansion_stack_pop()dnl
6495 AS_EXIT{ (exit m4_default([$1], 1)); exit m4_default([$1], 1); }
6497 AC_DECL_YYTEXT_m4_defun_pro([AC_DECL_YYTEXT])AC_DIAGNOSE([obsolete], [The macro `AC_DECL_YYTEXT' is obsolete.
6498 You should run autoupdate.])dnl
6499 AC_PROG_LEX[]AC_PROVIDE([AC_DECL_YYTEXT])[]_m4_defun_epi([AC_DECL_YYTEXT])
6501 m4_location(fp_FUNC_FNMATCH)acfunctions.m4:363
6507 AC_LANG_SOURCE(C)#line __oline__ "configure"
6508 #include "confdefs.h"
6511 AC_CHECK_HEADER_m4_defun_pro([AC_CHECK_HEADER])AS_VAR_PUSHDEF([ac_Header], [ac_cv_header_$1])dnl
6512 AC_CACHE_CHECK([for $1], ac_Header,
6514 [AC_COMPILE_IFELSE([AC_LANG_SOURCE([$4
6515 @%:@include <$1>])],
6516 [AS_VAR_SET(ac_Header, yes)],
6517 [AS_VAR_SET(ac_Header, no)])],
6518 [AC_PREPROC_IFELSE([AC_LANG_SOURCE([@%:@include <$1>])],
6519 [AS_VAR_SET(ac_Header, yes)],
6520 [AS_VAR_SET(ac_Header, no)])])])
6521 AS_IF([test AS_VAR_GET(ac_Header) = yes], [$2], [$3])[]dnl
6522 AS_VAR_POPDEF([ac_Header])dnl
6523 []AC_PROVIDE([AC_CHECK_HEADER])[]_m4_defun_epi([AC_CHECK_HEADER])
6525 m4_location(AC_PID_T)acoldnames.m4:63
6527 m4_location(AC_LANG_INT_SAVE)aclang.m4:338
6529 _m4_divert(VERSION_END)23
6531 _AC_EVAL_m4_defun_pro([_AC_EVAL])_AC_RUN_LOG([eval $1],
6532 [eval echo "$as_me:__oline__: \"$1\""])[]AC_PROVIDE([_AC_EVAL])[]_m4_defun_epi([_AC_EVAL])
6534 AC_AIX_m4_defun_pro([AC_AIX])AH_VERBATIM([_ALL_SOURCE],
6535 [/* Define if on AIX 3.
6536 System headers sometimes define this.
6537 We just want to avoid a redefinition error message. */
6538 @%:@ifndef _ALL_SOURCE
6539 @%:@ undef _ALL_SOURCE
6541 AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl
6542 AC_BEFORE([$0], [AC_RUN_IFELSE])dnl
6543 AC_MSG_CHECKING([for AIX])
6549 [AC_MSG_RESULT([yes])
6550 AC_DEFINE(_ALL_SOURCE)],
6551 [AC_MSG_RESULT([no])])
6552 []AC_PROVIDE([AC_AIX])[]_m4_defun_epi([AC_AIX])
6554 m4_location(AC_ALLOCA)acfunctions.m4:250
6556 AC_EGREP_HEADER_m4_defun_pro([AC_EGREP_HEADER])AC_EGREP_CPP([$1],
6558 ], [$3], [$4])[]AC_PROVIDE([AC_EGREP_HEADER])[]_m4_defun_epi([AC_EGREP_HEADER])
6560 AC_CONFIG_AUX_DIRS_m4_defun_pro([AC_CONFIG_AUX_DIRS])ac_aux_dir=
6561 for ac_dir in $1; do
6562 if test -f $ac_dir/install-sh; then
6564 ac_install_sh="$ac_aux_dir/install-sh -c"
6566 elif test -f $ac_dir/install.sh; then
6568 ac_install_sh="$ac_aux_dir/install.sh -c"
6570 elif test -f $ac_dir/shtool; then
6572 ac_install_sh="$ac_aux_dir/shtool install -c"
6576 if test -z "$ac_aux_dir"; then
6577 AC_MSG_ERROR([cannot find install-sh or install.sh in $1])
6579 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
6580 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
6581 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
6582 AC_PROVIDE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
6583 []AC_PROVIDE([AC_CONFIG_AUX_DIRS])[]_m4_defun_epi([AC_CONFIG_AUX_DIRS])
6585 m4_location(AC_HEADER_CHECK)acoldnames.m4:30
6587 AC_TYPE_UID_T_m4_defun_pro([AC_TYPE_UID_T])AC_CACHE_CHECK(for uid_t in sys/types.h, ac_cv_type_uid_t,
6588 [AC_EGREP_HEADER(uid_t, sys/types.h,
6589 ac_cv_type_uid_t=yes, ac_cv_type_uid_t=no)])
6590 if test $ac_cv_type_uid_t = no; then
6591 AC_DEFINE(uid_t, int, [Define to `int' if <sys/types.h> doesn't define.])
6592 AC_DEFINE(gid_t, int, [Define to `int' if <sys/types.h> doesn't define.])
6594 []AC_PROVIDE([AC_TYPE_UID_T])[]_m4_defun_epi([AC_TYPE_UID_T])
6596 AC_SIZEOF_TYPE_m4_defun_pro([AC_SIZEOF_TYPE])AC_DIAGNOSE([obsolete], [The macro `AC_SIZEOF_TYPE' is obsolete.
6597 You should run autoupdate.])dnl
6598 AC_CHECK_SIZEOF($@)[]AC_PROVIDE([AC_SIZEOF_TYPE])[]_m4_defun_epi([AC_SIZEOF_TYPE])
6600 AC_FUNC_MEMCMP_m4_defun_pro([AC_FUNC_MEMCMP])AC_CACHE_CHECK([for working memcmp], ac_cv_func_memcmp_working,
6601 [AC_RUN_IFELSE([AC_LANG_PROGRAM([], [[
6602 /* Some versions of memcmp are not 8-bit clean. */
6603 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
6604 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
6607 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
6608 or more and with at least one buffer not starting on a 4-byte boundary.
6609 William Lewis provided this test program. */
6614 for (i = 0; i < 4; i++)
6618 strcpy (a, "--------01111111");
6619 strcpy (b, "--------10000000");
6620 if (memcmp (a, b, 16) >= 0)
6626 [ac_cv_func_memcmp_working=yes],
6627 [ac_cv_func_memcmp_working=no],
6628 [ac_cv_func_memcmp_working=no])])
6629 test $ac_cv_func_memcmp_working = no && AC_LIBOBJ([memcmp])
6630 []AC_PROVIDE([AC_FUNC_MEMCMP])[]_m4_defun_epi([AC_FUNC_MEMCMP])
6632 m4_location(AC_TYPE_UID_T)actypes.m4:303
6634 m4_location(AC_SEARCH_LIBS)acgeneral.m4:2537
6636 m4_location(AC_LANG_COMPILER(C))aclang.m4:917
6638 AC_LANG_BOOL_COMPILE_TRY_m4_defun_pro([AC_LANG_BOOL_COMPILE_TRY])_AC_LANG_DISPATCH([$0], _AC_LANG, $@)[]AC_PROVIDE([AC_LANG_BOOL_COMPILE_TRY])[]_m4_defun_epi([AC_LANG_BOOL_COMPILE_TRY])
6640 AC_DEFINE_TRACE_LITERAL
6642 m4_location(AC_LINKER_OPTION)acgeneral.m4:4486
6644 AC_CANONICAL_HOSTm4_provide_ifelse([AC_CANONICAL_HOST],
6645 [m4_warn([syntax], [AC_CANONICAL_HOST invoked multiple times])],
6646 [_m4_defun_pro([AC_CANONICAL_HOST])AC_REQUIRE([AC_CANONICAL_BUILD])dnl
6647 m4_divert_text([HELP_CANON],
6648 [[ --host=HOST build programs to run on HOST [BUILD]]])dnl
6649 AC_CACHE_CHECK([host system type], [ac_cv_host],
6650 [ac_cv_host_alias=$host_alias
6651 test -z "$ac_cv_host_alias" &&
6652 ac_cv_host_alias=$ac_cv_build_alias
6653 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
6654 AC_MSG_ERROR([$ac_config_sub $ac_cv_host_alias failed])
6656 _AC_CANONICAL_SPLIT([host])
6657 []AC_PROVIDE([AC_CANONICAL_HOST])[]_m4_defun_epi([AC_CANONICAL_HOST])])
6659 m4_warningm4_errprintn(m4_location[: warning: $1])
6661 m4_location(AC_HAVE_POUNDBANG)acspecific.m4:346
6663 AS_DIRNAME_EXPR_m4_defun_pro([AS_DIRNAME_EXPR])m4_require([_AS_EXPR_PREPARE])dnl
6664 $as_expr X[]$1 : 'X\(.*[[^/]]\)//*[[^/][^/]]*/*$' \| \
6665 X[]$1 : 'X\(//\)[[^/]]' \| \
6666 X[]$1 : 'X\(//\)$' \| \
6667 X[]$1 : 'X\(/\)' \| \
6668 . : '\(.\)'[]_m4_defun_epi([AS_DIRNAME_EXPR])
6670 AC_LANG_COMPILER(Fortran 77)_m4_defun_pro([AC_LANG_COMPILER(Fortran 77)])AC_REQUIRE([AC_PROG_F77])[]AC_PROVIDE([AC_LANG_COMPILER(Fortran 77)])[]_m4_defun_epi([AC_LANG_COMPILER(Fortran 77)])
6672 m4_location(_AC_RUN_LOG)acgeneral.m4:2126
6674 m4_divert_popm4_ifval([$1],
6675 [m4_if(_m4_divert([$1]), m4_divnum, [],
6676 [m4_fatal([$0($1): unexpected current diversion: ]m4_divnum)])])dnl
6677 m4_popdef([_m4_divert_diversion])dnl
6678 dnl m4_ifndef([_m4_divert_diversion],
6679 dnl [m4_fatal([too many m4_divert_pop])])dnl
6680 m4_builtin([divert],
6681 m4_ifdef([_m4_divert_diversion],
6682 [_m4_divert(_m4_divert_diversion)], -1))dnl
6683 m4_popdef([m4_divert_stack])dnl
6686 m4_location(AC_CHECK_TYPES)actypes.m4:172
6688 _AC_INCLUDES_DEFAULT_REQUIREMENTS_m4_defun_pro([_AC_INCLUDES_DEFAULT_REQUIREMENTS])m4_divert_text([DEFAULTS],
6689 [# Factoring default headers for most tests.
6690 dnl If ever you change this variable, please keep autoconf.texi in sync.
6691 ac_includes_default="\
6693 #if HAVE_SYS_TYPES_H
6694 # include <sys/types.h>
6697 # include <sys/stat.h>
6700 # include <stdlib.h>
6701 # include <stddef.h>
6704 # include <stdlib.h>
6708 # if !STDC_HEADERS && HAVE_MEMORY_H
6709 # include <memory.h>
6711 # include <string.h>
6714 # include <strings.h>
6717 # include <inttypes.h>
6720 # include <stdint.h>
6724 # include <unistd.h>
6727 AC_REQUIRE([AC_HEADER_STDC])dnl
6728 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6729 AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6730 inttypes.h stdint.h unistd.h],
6731 [], [], $ac_includes_default)
6732 []AC_PROVIDE([_AC_INCLUDES_DEFAULT_REQUIREMENTS])[]_m4_defun_epi([_AC_INCLUDES_DEFAULT_REQUIREMENTS])
6734 m4_expansion_stack_dumpm4_ifdef([m4_expansion_stack],
6735 [m4_errprintn(m4_defn([m4_expansion_stack]))])dnl
6736 m4_errprintn(m4_location[: the top level])
6738 m4_location(AC_LONG_64_BITS)actypes.m4:398
6740 AC_TRY_EVAL_m4_defun_pro([AC_TRY_EVAL])_AC_EVAL([$$1])[]AC_PROVIDE([AC_TRY_EVAL])[]_m4_defun_epi([AC_TRY_EVAL])
6742 AC_FUNC_CHOWN_m4_defun_pro([AC_FUNC_CHOWN])AC_REQUIRE([AC_TYPE_UID_T])dnl
6743 AC_CHECK_HEADERS(unistd.h)
6744 AC_CACHE_CHECK([for working chown], ac_cv_func_chown_works,
6745 [AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT
6748 [[ char *f = "conftest.chown";
6749 struct stat before, after;
6751 if (creat (f, 0600) < 0)
6753 if (stat (f, &before) < 0)
6755 if (chown (f, (uid_t) -1, (gid_t) -1) == -1)
6757 if (stat (f, &after) < 0)
6759 exit ((before.st_uid == after.st_uid
6760 && before.st_gid == after.st_gid) ? 0 : 1);
6762 [ac_cv_func_chown_works=yes],
6763 [ac_cv_func_chown_works=no],
6764 [ac_cv_func_chown_works=no])
6765 rm -f conftest.chown
6767 if test $ac_cv_func_chown_works = yes; then
6768 AC_DEFINE(HAVE_CHOWN, 1,
6769 [Define if your system has a working `chown' function.])
6771 []AC_PROVIDE([AC_FUNC_CHOWN])[]_m4_defun_epi([AC_FUNC_CHOWN])
6773 m4_undefinem4_ifndef([$1],
6774 [m4_fatal([$0: undefined macro: $1])])dnl
6775 m4_builtin([undefine], $@)
6777 AC_PATH_TOOL_m4_defun_pro([AC_PATH_TOOL])if test -n "$ac_tool_prefix"; then
6778 AC_PATH_PROG([$1], [${ac_tool_prefix}$2], , [$4])
6780 if test -z "$ac_cv_path_$1"; then
6782 AC_PATH_PROG([ac_pt_$1], [$2], [$3], [$4])
6787 []AC_PROVIDE([AC_PATH_TOOL])[]_m4_defun_epi([AC_PATH_TOOL])
6789 AC_TEST_CPP_m4_defun_pro([AC_TEST_CPP])AC_DIAGNOSE([obsolete], [The macro `AC_TEST_CPP' is obsolete.
6790 You should run autoupdate.])dnl
6791 AC_TRY_CPP($@)[]AC_PROVIDE([AC_TEST_CPP])[]_m4_defun_epi([AC_TEST_CPP])
6793 AC_PROG_YACC_m4_defun_pro([AC_PROG_YACC])AC_CHECK_PROGS(YACC, 'bison -y' byacc, yacc)[]AC_PROVIDE([AC_PROG_YACC])[]_m4_defun_epi([AC_PROG_YACC])
6795 m4_location(AC_FUNC_CHOWN)acfunctions.m4:286
6797 AC_FUNC_VPRINTF_m4_defun_pro([AC_FUNC_VPRINTF])AC_CHECK_FUNCS(vprintf, []
6798 [AC_CHECK_FUNC(_doprnt,
6799 [AC_DEFINE(HAVE_DOPRNT, 1,
6800 [Define if you don't have `vprintf' but do have
6802 []AC_PROVIDE([AC_FUNC_VPRINTF])[]_m4_defun_epi([AC_FUNC_VPRINTF])
6806 m4_location(_AS_BROKEN_TEST_PREPARE)m4sh.m4:414
6808 m4_location(AM_CYGWIN32)acoldnames.m4:79
6810 AC_REVISIONm4_divert_text([REVISION],
6811 [@%:@ From __file__ m4_translit([$1], [$""]).])dnl
6814 m4_location(AC_PROG_CC_STDC)aclang.m4:1479
6816 AS_SHELL_SANITIZE_m4_defun_pro([AS_SHELL_SANITIZE])# Be Bourne compatible
6817 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6820 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6824 # Name of the executable.
6825 dnl Moved here because the tests below can use AC_MSG_ERROR, which uses $as_me
6826 as_me=`AS_BASENAME($[0])`
6835 AS_UNSET([LANG], [C])
6836 AS_UNSET([LC_ALL], [C])
6837 AS_UNSET([LC_TIME], [C])
6838 AS_UNSET([LC_CTYPE], [C])
6839 AS_UNSET([LANGUAGE], [C])
6840 AS_UNSET([LC_COLLATE], [C])
6841 AS_UNSET([LC_NUMERIC], [C])
6842 AS_UNSET([LC_MESSAGES], [C])
6845 # We need space, tab and new line, in precisely that order.
6851 AS_UNSET([CDPATH], [:])
6852 []_m4_defun_epi([AS_SHELL_SANITIZE])
6854 AC_LANG_SOURCE(C++)#line __oline__ "configure"
6855 #include "confdefs.h"
6858 AC_GETLOADAVG_m4_defun_pro([AC_GETLOADAVG])AC_DIAGNOSE([obsolete], [The macro `AC_GETLOADAVG' is obsolete.
6859 You should run autoupdate.])dnl
6860 AC_FUNC_GETLOADAVG($@)[]AC_PROVIDE([AC_GETLOADAVG])[]_m4_defun_epi([AC_GETLOADAVG])
6864 [m4_define([$1], m4_eval($1+[$3]))_m4_for([$1], [$2], [$3], [$4])])
6866 _m4_divert(VERSION_BEGIN)20
6868 m4_location(AC_TEST_PROGRAM)acoldnames.m4:40
6872 m4_location(AS_LN_S)m4sh.m4:363
6874 m4_location(AS_EXECUTABLE_P)m4sh.m4:312
6876 _m4_divert(HELP_VAR)14
6878 _m4_divert(HELP_CANON)11
6880 AC_FUNC_MMAP_m4_defun_pro([AC_FUNC_MMAP])AC_CHECK_HEADERS(stdlib.h unistd.h)
6881 AC_CHECK_FUNCS(getpagesize)
6882 AC_CACHE_CHECK(for working mmap, ac_cv_func_mmap_fixed_mapped,
6883 [AC_RUN_IFELSE([AC_LANG_SOURCE([AC_INCLUDES_DEFAULT]
6884 [[/* Thanks to Mike Haertel and Jim Avera for this test.
6885 Here is a matrix of mmap possibilities:
6886 mmap private not fixed
6887 mmap private fixed at somewhere currently unmapped
6888 mmap private fixed at somewhere already mapped
6889 mmap shared not fixed
6890 mmap shared fixed at somewhere currently unmapped
6891 mmap shared fixed at somewhere already mapped
6892 For private mappings, we should verify that changes cannot be read()
6893 back from the file, nor mmap's back from the file at a different
6894 address. (There have been systems where private was not correctly
6895 implemented like the infamous i386 svr4.0, and systems where the
6896 VM page cache was not coherent with the file system buffer cache
6897 like early versions of FreeBSD and possibly contemporary NetBSD.)
6898 For shared mappings, we should conversely verify that changes get
6899 propogated back to all the places they're supposed to be.
6901 Grep wants private fixed already mapped.
6902 The main things grep needs to know about mmap are:
6903 * does it exist and is it safe to write into the mmap'd area
6904 * how to use it (BSD variants) */
6907 #include <sys/mman.h>
6909 #if !STDC_HEADERS && !HAVE_STDLIB_H
6913 /* This mess was copied from the GNU getpagesize.h. */
6914 #if !HAVE_GETPAGESIZE
6915 /* Assume that all systems that can run configure have sys/param.h. */
6916 # if !HAVE_SYS_PARAM_H
6917 # define HAVE_SYS_PARAM_H 1
6920 # ifdef _SC_PAGESIZE
6921 # define getpagesize() sysconf(_SC_PAGESIZE)
6922 # else /* no _SC_PAGESIZE */
6923 # if HAVE_SYS_PARAM_H
6924 # include <sys/param.h>
6925 # ifdef EXEC_PAGESIZE
6926 # define getpagesize() EXEC_PAGESIZE
6927 # else /* no EXEC_PAGESIZE */
6929 # define getpagesize() NBPG * CLSIZE
6932 # endif /* no CLSIZE */
6933 # else /* no NBPG */
6935 # define getpagesize() NBPC
6936 # else /* no NBPC */
6938 # define getpagesize() PAGESIZE
6939 # endif /* PAGESIZE */
6940 # endif /* no NBPC */
6941 # endif /* no NBPG */
6942 # endif /* no EXEC_PAGESIZE */
6943 # else /* no HAVE_SYS_PARAM_H */
6944 # define getpagesize() 8192 /* punt totally */
6945 # endif /* no HAVE_SYS_PARAM_H */
6946 # endif /* no _SC_PAGESIZE */
6948 #endif /* no HAVE_GETPAGESIZE */
6953 char *data, *data2, *data3;
6957 pagesize = getpagesize ();
6959 /* First, make a file with some known garbage in it. */
6960 data = (char *) malloc (pagesize);
6963 for (i = 0; i < pagesize; ++i)
6964 *(data + i) = rand ();
6966 fd = creat ("conftest.mmap", 0600);
6969 if (write (fd, data, pagesize) != pagesize)
6973 /* Next, try to mmap the file at a fixed address which already has
6974 something else allocated at it. If we can, also make sure that
6975 we see the same garbage. */
6976 fd = open ("conftest.mmap", O_RDWR);
6979 data2 = (char *) malloc (2 * pagesize);
6982 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
6983 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6984 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6986 for (i = 0; i < pagesize; ++i)
6987 if (*(data + i) != *(data2 + i))
6990 /* Finally, make sure that changes to the mapped area do not
6991 percolate back to the file as seen by read(). (This is a bug on
6992 some variants of i386 svr4.0.) */
6993 for (i = 0; i < pagesize; ++i)
6994 *(data2 + i) = *(data2 + i) + 1;
6995 data3 = (char *) malloc (pagesize);
6998 if (read (fd, data3, pagesize) != pagesize)
7000 for (i = 0; i < pagesize; ++i)
7001 if (*(data + i) != *(data3 + i))
7006 [ac_cv_func_mmap_fixed_mapped=yes],
7007 [ac_cv_func_mmap_fixed_mapped=no],
7008 [ac_cv_func_mmap_fixed_mapped=no])])
7009 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7010 AC_DEFINE(HAVE_MMAP, 1,
7011 [Define if you have a working `mmap' system call.])
7014 []AC_PROVIDE([AC_FUNC_MMAP])[]_m4_defun_epi([AC_FUNC_MMAP])
7016 m4_ifvalm4_if([$1], [], [$3], [$2])
7018 AC_LANG(Fortran 77)ac_ext=f
7019 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&AS_MESSAGE_LOG_FD'
7020 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&AS_MESSAGE_LOG_FD'
7021 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
7024 m4_dumpdefs_m4_dumpdefs_up([$1])dnl
7025 _m4_dumpdefs_down([$1])
7027 m4_changecomchangecom
7029 AS_IFm4_ifval([$2$3],
7031 m4_ifval([$2], [$2], :)
7039 m4_providem4_define([m4_provide($1)])
7041 m4_location(_AC_PROG_PREPROC_WORKS_IFELSE)aclang.m4:873
7043 m4_location(AC_TYPE_SIGNAL)actypes.m4:335
7045 m4_location(AC_FUNC_STAT)acfunctions.m4:1210
7047 m4_defaultm4_ifval([$1], [$1], [$2])
7049 AC_TYPE_OFF_T_m4_defun_pro([AC_TYPE_OFF_T])AC_CHECK_TYPE(off_t, long)[]AC_PROVIDE([AC_TYPE_OFF_T])[]_m4_defun_epi([AC_TYPE_OFF_T])
7051 AC_MSG_WARNAS_MESSAGE([WARNING: $1], [2])
7053 m4_location(ac_cv_prog_gcc)aclang.m4:924
7055 m4_join_m4_defun_pro([m4_join])m4_case([$#],
7058 [[$2][$1]m4_join([$1], m4_shift(m4_shift($@)))])[]_m4_defun_epi([m4_join])
7060 _AC_COMPILER_EXEEXT_WORKS# Check the compiler produces executables we can run. If not, either
7061 # the compiler is broken, or we cross compile.
7062 AC_MSG_CHECKING([whether the _AC_LANG compiler works])
7063 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
7064 # If not cross compiling, check that we can run a simple program.
7065 if test "$cross_compiling" != yes; then
7066 if AC_TRY_COMMAND([./$ac_file]); then
7069 if test "$cross_compiling" = maybe; then
7072 AC_MSG_ERROR([cannot run _AC_LANG compiled programs.
7073 If you meant to cross compile, use `--host'.])
7077 AC_MSG_RESULT([yes])
7080 m4_location(AC_FUNC_MKTIME)acfunctions.m4:935
7082 _AH_TEMPLATE_OLD_AH_VERBATIM_OLD([$1],
7083 m4_text_wrap([$2 */], [ ], [/* ])[
7086 m4_location(AC_FD_MSG)acgeneral.m4:576
7088 m4_location(AC_AIX)acspecific.m4:971
7090 _m4_divert(HELP_BEGIN)10
7092 AC_PROG_LN_S_m4_defun_pro([AC_PROG_LN_S])AC_MSG_CHECKING([whether ln -s works])
7093 AC_SUBST([LN_S], [$as_ln_s])dnl
7094 if test "$LN_S" = "ln -s"; then
7095 AC_MSG_RESULT([yes])
7097 AC_MSG_RESULT([no, using $LN_S])
7099 []AC_PROVIDE([AC_PROG_LN_S])[]_m4_defun_epi([AC_PROG_LN_S])
7101 AC_FUNC_MALLOC_m4_defun_pro([AC_FUNC_MALLOC])AC_REQUIRE([AC_HEADER_STDC])dnl
7102 AC_CHECK_HEADERS(stdlib.h)
7103 AC_CACHE_CHECK([for working malloc], ac_cv_func_malloc_works,
7106 [[#if STDC_HEADERS || HAVE_STDLIB_H
7107 # include <stdlib.h>
7112 [exit (malloc (0) ? 0 : 1);])],
7113 [ac_cv_func_malloc_works=yes],
7114 [ac_cv_func_malloc_works=no],
7115 [ac_cv_func_malloc_works=no])])
7116 if test $ac_cv_func_malloc_works = yes; then
7117 AC_DEFINE(HAVE_MALLOC, 1,
7118 [Define if your system has a working `malloc' function.])
7120 []AC_PROVIDE([AC_FUNC_MALLOC])[]_m4_defun_epi([AC_FUNC_MALLOC])
7122 AC_CHECK_DECL_m4_defun_pro([AC_CHECK_DECL])AS_VAR_PUSHDEF([ac_Symbol], [ac_cv_have_decl_$1])dnl
7123 AC_CACHE_CHECK([whether $1 is declared], ac_Symbol,
7124 [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT([$4])],
7126 char *p = (char *) $1;
7129 [AS_VAR_SET(ac_Symbol, yes)],
7130 [AS_VAR_SET(ac_Symbol, no)])])
7131 AS_IF([test AS_VAR_GET(ac_Symbol) = yes], [$2], [$3])[]dnl
7132 AS_VAR_POPDEF([ac_Symbol])dnl
7133 []AC_PROVIDE([AC_CHECK_DECL])[]_m4_defun_epi([AC_CHECK_DECL])
7135 m4_location(AC_CONST)acoldnames.m4:49
7137 AC_OUTPUT_COMMANDS_m4_defun_pro([AC_OUTPUT_COMMANDS])AC_DIAGNOSE([obsolete], [The macro `AC_OUTPUT_COMMANDS' is obsolete.
7138 You should run autoupdate.])dnl
7139 m4_define([_AC_OUTPUT_COMMANDS_CNT], m4_incr(_AC_OUTPUT_COMMANDS_CNT))dnl
7140 dnl Double quoted since that was the case in the original macro.
7141 AC_CONFIG_COMMANDS([default-]_AC_OUTPUT_COMMANDS_CNT, [[$1]], [[$2]])dnl
7142 []AC_PROVIDE([AC_OUTPUT_COMMANDS])[]_m4_defun_epi([AC_OUTPUT_COMMANDS])
7144 AC_LANG_COMPILER_REQUIRE_m4_defun_pro([AC_LANG_COMPILER_REQUIRE])m4_require([AC_LANG_COMPILER(]_AC_LANG[)],
7145 [AC_LANG_COMPILER])[]AC_PROVIDE([AC_LANG_COMPILER_REQUIRE])[]_m4_defun_epi([AC_LANG_COMPILER_REQUIRE])
7147 AC_LONG_FILE_NAMES_m4_defun_pro([AC_LONG_FILE_NAMES])AC_DIAGNOSE([obsolete], [The macro `AC_LONG_FILE_NAMES' is obsolete.
7148 You should run autoupdate.])dnl
7149 AC_SYS_LONG_FILE_NAMES($@)[]AC_PROVIDE([AC_LONG_FILE_NAMES])[]_m4_defun_epi([AC_LONG_FILE_NAMES])
7151 AC_SYS_INTERPRETER_m4_defun_pro([AC_SYS_INTERPRETER])AC_CACHE_CHECK(whether @%:@! works in shell scripts, ac_cv_sys_interpreter,
7156 (SHELL=/bin/sh; export SHELL; ./conftest >/dev/null)
7157 if test $? -ne 69; then
7158 ac_cv_sys_interpreter=yes
7160 ac_cv_sys_interpreter=no
7163 interpval=$ac_cv_sys_interpreter
7164 []AC_PROVIDE([AC_SYS_INTERPRETER])[]_m4_defun_epi([AC_SYS_INTERPRETER])
7166 AC_LANG_SOURCE_m4_defun_pro([AC_LANG_SOURCE])_AC_LANG_DISPATCH([$0], _AC_LANG, $@)[]AC_PROVIDE([AC_LANG_SOURCE])[]_m4_defun_epi([AC_LANG_SOURCE])
7168 AC_CONFIG_COMMANDS_POST_m4_defun_pro([AC_CONFIG_COMMANDS_POST])m4_append([AC_OUTPUT_COMMANDS_POST], [$1
7169 ])[]AC_PROVIDE([AC_CONFIG_COMMANDS_POST])[]_m4_defun_epi([AC_CONFIG_COMMANDS_POST])
7175 m4_location(AC_CONFIG_COMMANDS)acgeneral.m4:3213
7177 AC_FUNC_WAIT3_m4_defun_pro([AC_FUNC_WAIT3])AC_DIAGNOSE([obsolete],
7178 [$0: `wait3' is being removed from the Open Group standards.
7179 Remove this `AC_FUNC_WAIT3' and adjust your code to use `waitpid' instead.])dnl
7180 AC_CACHE_CHECK([for wait3 that fills in rusage],
7181 [ac_cv_func_wait3_rusage],
7182 [AC_RUN_IFELSE([AC_LANG_SOURCE(
7183 [[#include <sys/types.h>
7184 #include <sys/time.h>
7185 #include <sys/resource.h>
7187 /* HP-UX has wait3 but does not fill in rusage at all. */
7193 /* Use a field that we can force nonzero --
7194 voluntary context switches.
7195 For systems like NeXT and OSF/1 that don't set it,
7196 also use the system CPU time. And page faults (I/O) for Linux. */
7198 r.ru_stime.tv_sec = 0;
7199 r.ru_stime.tv_usec = 0;
7200 r.ru_majflt = r.ru_minflt = 0;
7203 case 0: /* Child. */
7204 sleep(1); /* Give up the CPU. */
7207 case -1: /* What can we do? */
7210 default: /* Parent. */
7212 /* Avoid "text file busy" from rm on fast HP-UX machines. */
7214 exit (r.ru_nvcsw == 0 && r.ru_majflt == 0 && r.ru_minflt == 0
7215 && r.ru_stime.tv_sec == 0 && r.ru_stime.tv_usec == 0);
7218 [ac_cv_func_wait3_rusage=yes],
7219 [ac_cv_func_wait3_rusage=no],
7220 [ac_cv_func_wait3_rusage=no])])
7221 if test $ac_cv_func_wait3_rusage = yes; then
7222 AC_DEFINE(HAVE_WAIT3, 1,
7223 [Define if you have the `wait3' system call.
7224 Deprecated, you should no longer depend upon `wait3'.])
7226 []AC_PROVIDE([AC_FUNC_WAIT3])[]_m4_defun_epi([AC_FUNC_WAIT3])
7228 _AC_FUNC_GETPGRP_TESTAC_LANG_SOURCE([AC_INCLUDES_DEFAULT]
7231 * If this system has a BSD-style getpgrp(),
7232 * which takes a pid argument, exit unsuccessfully.
7234 * Snarfed from Chet Ramey's bash pgrp.c test program
7238 int pg1, pg2, pg3, pg4;
7239 int ng, np, s, child;
7247 pg3 = getpgrp (pid);
7250 /* If all of these values are the same, it's pretty sure that we're
7251 on a system that ignores getpgrp's first argument. */
7252 if (pg2 == pg4 && pg1 == pg3 && pg2 == pg3)
7258 else if (child == 0)
7261 /* If this is Sys V, this will not work; pgrp will be set to np
7262 because setpgrp just changes a pgrp to be the same as the
7265 ng = getpgrp (0); /* Same result for Sys V and BSD */
7279 AC_OFF_T_m4_defun_pro([AC_OFF_T])AC_DIAGNOSE([obsolete], [The macro `AC_OFF_T' is obsolete.
7280 You should run autoupdate.])dnl
7281 AC_TYPE_OFF_T($@)[]AC_PROVIDE([AC_OFF_T])[]_m4_defun_epi([AC_OFF_T])
7283 AC_LANG_PREPROC(C++)_m4_defun_pro([AC_LANG_PREPROC(C++)])AC_REQUIRE([AC_PROG_CXXCPP])[]AC_PROVIDE([AC_LANG_PREPROC(C++)])[]_m4_defun_epi([AC_LANG_PREPROC(C++)])
7285 AC_FUNC_SETPGRP_m4_defun_pro([AC_FUNC_SETPGRP])AC_CACHE_CHECK(whether setpgrp takes no argument, ac_cv_func_setpgrp_void,
7289 # include <unistd.h>
7292 [/* If this system has a BSD-style setpgrp, which takes arguments, exit
7294 exit (setpgrp (1,1) == -1);])],
7295 [ac_cv_func_setpgrp_void=no],
7296 [ac_cv_func_setpgrp_void=yes],
7297 [AC_MSG_ERROR([cannot check setpgrp if cross compiling])])])
7298 if test $ac_cv_func_setpgrp_void = yes; then
7299 AC_DEFINE(SETPGRP_VOID, 1,
7300 [Define if the `setpgrp' function takes no argument.])
7302 []AC_PROVIDE([AC_FUNC_SETPGRP])[]_m4_defun_epi([AC_FUNC_SETPGRP])
7304 m4_location(AC_HEADER_TIME)acheaders.m4:331
7306 AC_LN_S_m4_defun_pro([AC_LN_S])AC_DIAGNOSE([obsolete], [The macro `AC_LN_S' is obsolete.
7307 You should run autoupdate.])dnl
7308 AC_PROG_LN_S($@)[]AC_PROVIDE([AC_LN_S])[]_m4_defun_epi([AC_LN_S])
7310 AC_HEADER_TIME_m4_defun_pro([AC_HEADER_TIME])AC_CACHE_CHECK([whether time.h and sys/time.h may both be included],
7312 [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <sys/types.h>
7313 #include <sys/time.h>
7316 [if ((struct tm *) 0)
7318 [ac_cv_header_time=yes],
7319 [ac_cv_header_time=no])])
7320 if test $ac_cv_header_time = yes; then
7321 AC_DEFINE(TIME_WITH_SYS_TIME, 1,
7322 [Define if you can safely include both <sys/time.h> and <time.h>.])
7324 []AC_PROVIDE([AC_HEADER_TIME])[]_m4_defun_epi([AC_HEADER_TIME])
7326 AC_CHECK_HEADERS_m4_defun_pro([AC_CHECK_HEADERS])AH_CHECK_HEADERS([$1])dnl
7329 AC_CHECK_HEADER($ac_header,
7330 [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_$ac_header)) $2],
7334 []AC_PROVIDE([AC_CHECK_HEADERS])[]_m4_defun_epi([AC_CHECK_HEADERS])
7336 m4_normalizem4_strip(m4_flatten([$1]))
7338 m4_location(AC_CONFIG_COMMANDS_PRE)acgeneral.m4:3249
7340 m4_location(AC_CHECK_FILES)acgeneral.m4:2888
7342 _AC_INIT_PACKAGEm4_define([AC_PACKAGE_NAME], [$1])
7343 m4_define([AC_PACKAGE_TARNAME],
7344 m4_tolower(m4_patsubst([[[$1]]], [GNU ])))
7345 m4_define([AC_PACKAGE_VERSION], [$2])
7346 m4_define([AC_PACKAGE_STRING], [$1 $2])
7347 m4_define([AC_PACKAGE_BUGREPORT], [$3])
7350 m4_location(ac_cv_prog_gxx)aclang.m4:1139
7352 m4_location(_AC_RUN_LOG_STDERR)acgeneral.m4:2142
7354 m4_location(AC_YYTEXT_POINTER)acoldnames.m4:78
7356 AC_LANG_ASSERT_m4_defun_pro([AC_LANG_ASSERT])m4_if(_AC_LANG, $1, [],
7357 [m4_fatal([$0: current language is not $1: ] _AC_LANG)])[]_m4_defun_epi([AC_LANG_ASSERT])
7359 AC_FUNC_ERROR_AT_LINE_m4_defun_pro([AC_FUNC_ERROR_AT_LINE])AC_LIBSOURCES([error.h, error.c])dnl
7360 AC_CACHE_CHECK([for error_at_line], ac_cv_lib_error_at_line,
7361 [AC_TRY_LINK([],[error_at_line (0, 0, "", 0, "");],
7362 [ac_cv_lib_error_at_line=yes],
7363 [ac_cv_lib_error_at_line=no])])
7364 if test $ac_cv_lib_error_at_line = no; then
7367 []AC_PROVIDE([AC_FUNC_ERROR_AT_LINE])[]_m4_defun_epi([AC_FUNC_ERROR_AT_LINE])
7369 m4_location(AC_HEADER_MAJOR)acheaders.m4:191
7371 AC_TYPE_MODE_T_m4_defun_pro([AC_TYPE_MODE_T])AC_CHECK_TYPE(mode_t, int)[]AC_PROVIDE([AC_TYPE_MODE_T])[]_m4_defun_epi([AC_TYPE_MODE_T])
7373 AC_LIST_HEADERS_COMMANDS
7375 AC_CONFIG_LINKS_m4_defun_pro([AC_CONFIG_LINKS])m4_divert_push([KILL])
7376 _AC_CONFIG_UNIQUE([$1])
7377 _AC_CONFIG_DEPENDENCIES([$1])
7378 m4_if(m4_regexp([$1], [^\.:\| \.:]), -1,,
7379 [AC_FATAL([$0: invalid destination: `.'])])
7380 m4_append([AC_LIST_LINKS], [ $1])
7381 dnl Register the commands
7382 m4_ifval([$2], [AC_FOREACH([AC_File], [$1],
7383 [m4_append([AC_LIST_LINKS_COMMANDS],
7384 [ ]m4_patsubst(AC_File, [:.*])[ ) $2 ;;
7386 _AC_CONFIG_COMMANDS_INIT([$3])
7387 m4_divert_pop([KILL])dnl
7388 ac_config_links="$ac_config_links m4_normalize([$1])"
7389 []AC_PROVIDE([AC_CONFIG_LINKS])[]_m4_defun_epi([AC_CONFIG_LINKS])
7391 AC_GCC_TRADITIONAL_m4_defun_pro([AC_GCC_TRADITIONAL])AC_DIAGNOSE([obsolete], [The macro `AC_GCC_TRADITIONAL' is obsolete.
7392 You should run autoupdate.])dnl
7393 AC_PROG_GCC_TRADITIONAL($@)[]AC_PROVIDE([AC_GCC_TRADITIONAL])[]_m4_defun_epi([AC_GCC_TRADITIONAL])
7395 AC_LANG_PREPROCAC_LANG_COMPILER_REQUIRE()dnl
7396 _AC_LANG_DISPATCH([$0], _AC_LANG, $@)
7398 AC_CHECK_DECLS_m4_defun_pro([AC_CHECK_DECLS])m4_foreach([AC_Symbol], [$1],
7399 [AC_CHECK_DECL(AC_Symbol,
7400 [AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_DECL_]AC_Symbol), 1,
7401 [Define to 1 if you have the declaration
7402 of `]AC_Symbol[', and to 0 if you don't.])
7404 [AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_DECL_]AC_Symbol), 0)
7407 []AC_PROVIDE([AC_CHECK_DECLS])[]_m4_defun_epi([AC_CHECK_DECLS])
7411 AC_PROG_CC_C_O_m4_defun_pro([AC_PROG_CC_C_O])AC_REQUIRE([AC_PROG_CC])dnl
7412 if test "x$CC" != xcc; then
7413 AC_MSG_CHECKING([whether $CC and cc understand -c and -o together])
7415 AC_MSG_CHECKING([whether cc understands -c and -o together])
7417 set dummy $CC; ac_cc=`echo $[2] |
7418 sed 's/[[^a-zA-Z0-9_]]/_/g;s/^[[0-9]]/_/'`
7419 AC_CACHE_VAL(ac_cv_prog_cc_${ac_cc}_c_o,
7420 [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
7421 # Make sure it works both with $CC and with simple cc.
7422 # We do the test twice because some compilers refuse to overwrite an
7423 # existing .o file with -o, though they will create one.
7424 ac_try='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
7425 if AC_TRY_EVAL(ac_try) &&
7426 test -f conftest.$ac_objext && AC_TRY_EVAL(ac_try);
7428 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
7429 if test "x$CC" != xcc; then
7430 # Test first that cc exists at all.
7431 if AC_TRY_COMMAND(cc -c conftest.$ac_ext >&AS_MESSAGE_LOG_FD); then
7432 ac_try='cc -c conftest.$ac_ext -o conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
7433 if AC_TRY_EVAL(ac_try) &&
7434 test -f conftest.$ac_objext && AC_TRY_EVAL(ac_try);
7439 # cc exists but doesn't like -o.
7440 eval ac_cv_prog_cc_${ac_cc}_c_o=no
7445 eval ac_cv_prog_cc_${ac_cc}_c_o=no
7449 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
7450 AC_MSG_RESULT([yes])
7453 AC_DEFINE(NO_MINUS_C_MINUS_O, 1,
7454 [Define if your C compiler doesn't accept -c and -o together.])
7456 []AC_PROVIDE([AC_PROG_CC_C_O])[]_m4_defun_epi([AC_PROG_CC_C_O])
7458 m4_location(AC_UID_T)acoldnames.m4:76
7460 m4_location(AC_RUN_IFELSE)acgeneral.m4:2843
7462 AC_CYGWIN_m4_defun_pro([AC_CYGWIN])AC_DIAGNOSE([obsolete], [The macro `AC_CYGWIN' is obsolete.
7463 You should run autoupdate.])dnl
7464 AC_REQUIRE([AC_CANONICAL_HOST])[]dnl
7465 AC_DIAGNOSE([obsolete],
7466 [$0 is obsolete: use AC_CANONICAL_HOST and $host_os])dnl
7468 *cygwin* ) CYGWIN=yes;;
7471 []AC_PROVIDE([AC_CYGWIN])[]_m4_defun_epi([AC_CYGWIN])
7473 m4_location(AC_STRUCT_TIMEZONE)actypes.m4:564
7475 _AC_OUTPUT_FILEScat >>$CONFIG_STATUS <<EOF
7478 # CONFIG_FILES section.
7481 # No need to generate the scripts if there are no CONFIG_FILES.
7482 # This happens for instance when ./config.status config.h
7483 if test -n "\$CONFIG_FILES"; then
7484 # Protect against being on the right side of a sed subst in config.status.
7485 dnl Please, pay attention that this sed code depends a lot on the shape
7486 dnl of the sed commands issued by AC_SUBST. So if you change one, change
7488 [ sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7489 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF]
7490 dnl These here document variables are unquoted when configure runs
7491 dnl but quoted when config.status runs, so variables are expanded once.
7492 dnl Insert the sed substitutions of variables.
7493 _AC_SUBST_SED_PROGRAM()dnl
7498 cat >>$CONFIG_STATUS <<\EOF
7499 # Split the substitutions into bite-sized pieces for seds with
7500 # small command number limits, like on Digital OSF/1 and HP-UX.
7501 dnl One cannot portably go further than 100 commands because of HP-UX.
7502 dnl Here, there are 2 cmd per line, and two cmd are added later.
7504 ac_sed_frag=1 # Number of current file.
7505 ac_beg=1 # First line for current file.
7506 ac_end=$ac_max_sed_lines # Line after last line for current file.
7509 while $ac_more_lines; do
7510 if test $ac_beg -gt 1; then
7511 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7513 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7515 if test ! -s $tmp/subs.frag; then
7518 # The purpose of the label and of the branching condition is to
7519 # speed up the sed processing (if there are no `@' at all, there
7520 # is no need to browse any of the substitutions).
7521 # These are the two extra sed commands mentioned above.
7523 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b'] && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
7524 if test -z "$ac_sed_cmds"; then
7525 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
7527 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7529 ac_sed_frag=`expr $ac_sed_frag + 1`
7531 ac_end=`expr $ac_end + $ac_max_sed_lines`
7534 if test -z "$ac_sed_cmds"; then
7537 fi # test -n "$CONFIG_FILES"
7540 cat >>$CONFIG_STATUS <<\EOF
7541 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
7542 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7544 - | *:- | *:-:* ) # input from stdin
7546 ac_file_in=`echo "$ac_file" | sed 's,[[^:]]*:,,'`
7547 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7548 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[[^:]]*:,,'`
7549 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7550 * ) ac_file_in=$ac_file.in ;;
7553 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7554 ac_dir=`AS_DIRNAME(["$ac_file"])`
7555 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
7556 AS_MKDIR_P(["$ac_dir"])
7557 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
7558 # A "../" for each directory in $ac_dir_suffix.
7559 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[[^/]]*,../,g'`
7561 ac_dir_suffix= ac_dots=
7566 if test -z "$ac_dots"; then
7569 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
7571 [[\\/]]* | ?:[[\\/]]* )
7572 ac_srcdir=$srcdir$ac_dir_suffix;
7573 ac_top_srcdir=$srcdir ;;
7575 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
7576 ac_top_srcdir=$ac_dots$srcdir ;;
7579 AC_PROVIDE_IFELSE([AC_PROG_INSTALL],
7581 [[\\/$]]* | ?:[[\\/]]* ) ac_INSTALL=$INSTALL ;;
7582 *) ac_INSTALL=$ac_dots$INSTALL ;;
7586 if test x"$ac_file" != x-; then
7587 AC_MSG_NOTICE([creating $ac_file])
7590 # Let's still pretend it is `configure' which instantiates (i.e., don't
7591 # use $as_me), people would be surprised to read:
7592 # /* config.h. Generated automatically by config.status. */
7593 configure_input="Generated automatically from `echo $ac_file_in |
7594 sed 's,.*/,,'` by configure."
7596 # First look for the input files in the build tree, otherwise in the
7598 ac_file_inputs=`IFS=:
7599 for f in $ac_file_in; do
7601 -) echo $tmp/stdin ;;
7603 # Absolute (can't be DOS-style, as IFS=:)
7604 test -f "$f" || AC_MSG_ERROR([cannot find input file: $f])
7607 if test -f "$f"; then
7610 elif test -f "$srcdir/$f"; then
7615 AC_MSG_ERROR([cannot find input file: $f])
7618 done` || AS_EXIT([1])
7620 cat >>$CONFIG_STATUS <<EOF
7621 dnl Neutralize VPATH when `$srcdir' = `.'.
7623 dnl Shell code in configure.ac might set extrasub.
7624 dnl FIXME: do we really want to maintain this feature?
7627 cat >>$CONFIG_STATUS <<\EOF
7629 [/@[a-zA-Z_][a-zA-Z_0-9]*@/!b]
7630 s,@configure_input@,$configure_input,;t t
7631 s,@srcdir@,$ac_srcdir,;t t
7632 s,@top_srcdir@,$ac_top_srcdir,;t t
7633 AC_PROVIDE_IFELSE([AC_PROG_INSTALL], [s,@INSTALL@,$ac_INSTALL,;t t
7635 dnl The parens around the eval prevent an "illegal io" in Ultrix sh.
7636 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7638 dnl This would break Makefile dependencies.
7639 dnl if cmp -s $ac_file $tmp/out 2>/dev/null; then
7640 dnl echo "$ac_file is unchanged"
7643 dnl mv $tmp/out $ac_file
7645 if test x"$ac_file" != x-; then
7646 mv $tmp/out $ac_file
7652 m4_ifset([AC_LIST_FILES_COMMANDS],
7653 [ # Run the commands associated with the file.
7655 AC_LIST_FILES_COMMANDS()dnl
7662 m4_location(AC_FUNC_GETMNTENT)acfunctions.m4:582
7664 m4_defunm4_define([m4_location($1)], m4_location)dnl
7666 [_m4_defun_pro([$1])$2[]_m4_defun_epi([$1])])
7668 m4_debugfiledebugfile
7670 _AC_CHECK_TYPE_OLD_AC_CHECK_TYPE_NEW([$1],,
7671 [AC_DEFINE_UNQUOTED([$1], [$2],
7672 [Define to `$2' if <sys/types.h> does not define.])])dnl
7675 AC_LANG_CALL_m4_defun_pro([AC_LANG_CALL])_AC_LANG_DISPATCH([$0], _AC_LANG, $@)[]AC_PROVIDE([AC_LANG_CALL])[]_m4_defun_epi([AC_LANG_CALL])
7679 AS_LN_S_m4_defun_pro([AS_LN_S])m4_require([_AS_LN_S_PREPARE])dnl
7681 []_m4_defun_epi([AS_LN_S])
7683 AC_LANG_POP_m4_defun_pro([AC_LANG_POP])m4_ifval([$1],
7684 [m4_if([$1], m4_defn([_AC_LANG]), [],
7685 [m4_fatal([$0($1): unexpected current language: ]m4_defn([_AC_LANG]))])])dnl
7686 m4_pushdef([$0 OLD], m4_defn([_AC_LANG]))dnl
7687 m4_popdef([_AC_LANG])dnl
7688 _AC_LANG_SET(m4_defn([$0 OLD]), m4_defn([_AC_LANG]))dnl
7689 m4_popdef([$0 OLD])dnl
7690 []_m4_defun_epi([AC_LANG_POP])
7692 m4_location(_AC_PREPROC_IFELSE)acgeneral.m4:2649
7694 m4_location(AC_HEADER_EGREP)acoldnames.m4:31
7696 m4_location(AC_C_VOLATILE)aclang.m4:1689
7698 m4_location(AM_FUNC_OBSTACK)acfunctions.m4:1108
7700 m4_location(AC_TYPE_PID_T)actypes.m4:307
7702 AC_WORDS_BIGENDIAN_m4_defun_pro([AC_WORDS_BIGENDIAN])AC_DIAGNOSE([obsolete], [The macro `AC_WORDS_BIGENDIAN' is obsolete.
7703 You should run autoupdate.])dnl
7704 AC_C_BIGENDIAN($@)[]AC_PROVIDE([AC_WORDS_BIGENDIAN])[]_m4_defun_epi([AC_WORDS_BIGENDIAN])
7706 AC_STRUCT_ST_BLKSIZE_m4_defun_pro([AC_STRUCT_ST_BLKSIZE])AC_DIAGNOSE([obsolete], [The macro `AC_STRUCT_ST_BLKSIZE' is obsolete.
7707 You should run autoupdate.])dnl
7708 AC_DIAGNOSE([obsolete], [$0:
7709 your code should no longer depend upon `HAVE_ST_BLKSIZE', but
7710 `HAVE_STRUCT_STAT_ST_BLKSIZE'. Remove this warning and
7711 the `AC_DEFINE' when you adjust the code.])
7712 AC_CHECK_MEMBERS([struct stat.st_blksize],
7713 [AC_DEFINE(HAVE_ST_BLKSIZE, 1,
7714 [Define if your `struct stat' has
7715 `st_blksize'. Deprecated, use
7716 `HAVE_STRUCT_STAT_ST_BLKSIZE' instead.])])
7717 []AC_PROVIDE([AC_STRUCT_ST_BLKSIZE])[]_m4_defun_epi([AC_STRUCT_ST_BLKSIZE])
7721 AC_DIR_HEADER_m4_defun_pro([AC_DIR_HEADER])AC_DIAGNOSE([obsolete], [The macro `AC_DIR_HEADER' is obsolete.
7722 You should run autoupdate.])dnl
7724 AC_FUNC_CLOSEDIR_VOID
7725 AC_DIAGNOSE([obsolete],
7726 [$0: Remove this warning and the four `AC_DEFINE' when you
7727 ajust your code to use `AC_HEADER_DIRENT'.])
7728 test ac_cv_header_dirent_dirent_h &&
7729 AC_DEFINE([DIRENT], 1, [Same as `HAVE_DIRENT_H', don't depend on me.])
7730 test ac_cv_header_dirent_sys_ndir_h &&
7731 AC_DEFINE([SYSNDIR], 1, [Same as `HAVE_SYS_NDIR_H', don't depend on me.])
7732 test ac_cv_header_dirent_sys_dir_h &&
7733 AC_DEFINE([SYSDIR], 1, [Same as `HAVE_SYS_DIR_H', don't depend on me.])
7734 test ac_cv_header_dirent_ndir_h &&
7735 AC_DEFINE([NDIR], 1, [Same as `HAVE_NDIR_H', don't depend on me.])
7736 []AC_PROVIDE([AC_DIR_HEADER])[]_m4_defun_epi([AC_DIR_HEADER])
7738 m4_location(AC_SYS_POSIX_TERMIOS)acspecific.m4:568
7740 m4_location(AC_SYS_LONG_FILE_NAMES)acspecific.m4:489
7742 m4_location(AC_HAVE_HEADERS)acoldnames.m4:29
7744 m4_location(AC_FUNC_FSEEKO)acfunctions.m4:386
7746 AC_UID_T_m4_defun_pro([AC_UID_T])AC_DIAGNOSE([obsolete], [The macro `AC_UID_T' is obsolete.
7747 You should run autoupdate.])dnl
7748 AC_TYPE_UID_T($@)[]AC_PROVIDE([AC_UID_T])[]_m4_defun_epi([AC_UID_T])
7750 _AC_ECHO_Necho $ECHO_N "_AS_QUOTE([$1])$ECHO_C" >&m4_default([$2],
7753 m4_location(_AC_OUTPUT_COMMANDS_CNT)acgeneral.m4:3241
7755 m4_location(_AC_FUNC_VFORK)acfunctions.m4:1576
7757 _AC_HEADER_TIOCGWINSZ_IN_TERMIOS_HAC_CACHE_CHECK([whether termios.h defines TIOCGWINSZ],
7758 ac_cv_sys_tiocgwinsz_in_termios_h,
7759 [AC_EGREP_CPP([yes],
7760 [#include <sys/types.h>
7761 #include <termios.h>
7766 ac_cv_sys_tiocgwinsz_in_termios_h=yes,
7767 ac_cv_sys_tiocgwinsz_in_termios_h=no)])
7770 _AC_COMPUTE_INT_COMPILE# Depending upon the size, compute the lo and hi bounds.
7771 AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([$3], [($1) >= 0])],
7774 AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([$3], [($1) <= $ac_mid])],
7775 [ac_hi=$ac_mid; break],
7776 [ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`])
7780 AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([$3], [($1) >= $ac_mid])],
7781 [ac_lo=$ac_mid; break],
7782 [ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`])
7784 # Binary search between lo and hi bounds.
7785 while test "x$ac_lo" != "x$ac_hi"; do
7786 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7787 AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([$3], [($1) <= $ac_mid])],
7788 [ac_hi=$ac_mid], [ac_lo=`expr $ac_mid + 1`])
7793 AC_C_STRINGIZE_m4_defun_pro([AC_C_STRINGIZE])AC_CACHE_CHECK([for preprocessor stringizing operator],
7794 [ac_cv_c_stringize],
7795 [AC_EGREP_CPP([@%:@teststring],
7798 char *s = x(teststring);],
7799 [ac_cv_c_stringize=no],
7800 [ac_cv_c_stringize=yes])])
7801 if test $ac_cv_c_stringize = yes; then
7802 AC_DEFINE(HAVE_STRINGIZE, 1,
7803 [Define if cpp supports the ANSI @%:@ stringizing operator.])
7805 []AC_PROVIDE([AC_C_STRINGIZE])[]_m4_defun_epi([AC_C_STRINGIZE])
7807 m4_location(AC_TRY_CPP)acgeneral.m4:2669
7809 AC_CACHE_CHECKAC_MSG_CHECKING([$1])
7810 AC_CACHE_VAL([$2], [$3])dnl
7811 AC_MSG_RESULT_UNQUOTED([AS_VAR_GET([$2])])
7813 m4_location(AC_COMPILE_CHECK)acgeneral.m4:2796
7815 __m4_warning_error_ifelsem4_case([$3],
7819 [$0([$1], [$2], m4_shiftn(3, $@))])
7821 AC_VALIDATE_CACHED_SYSTEM_TUPLE_m4_defun_pro([AC_VALIDATE_CACHED_SYSTEM_TUPLE])AC_DIAGNOSE([obsolete], [The macro `AC_VALIDATE_CACHED_SYSTEM_TUPLE' is obsolete.
7822 You should run autoupdate.])dnl
7823 []AC_PROVIDE([AC_VALIDATE_CACHED_SYSTEM_TUPLE])[]_m4_defun_epi([AC_VALIDATE_CACHED_SYSTEM_TUPLE])
7825 AC_EGREP_CPP_m4_defun_pro([AC_EGREP_CPP])AC_LANG_PREPROC_REQUIRE()dnl
7826 AC_LANG_CONFTEST([AC_LANG_SOURCE([[$2]])])
7827 dnl eval is necessary to expand ac_cpp.
7828 dnl Ultrix and Pyramid sh refuse to redirect output of eval, so use subshell.
7829 if (eval "$ac_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD |
7830 dnl Quote $1 to prevent m4 from eating character classes
7831 egrep "[$1]" >/dev/null 2>&1; then
7833 m4_ifvaln([$4], [else
7837 []AC_PROVIDE([AC_EGREP_CPP])[]_m4_defun_epi([AC_EGREP_CPP])
7839 m4_location(AS_DIRNAME_EXPR)m4sh.m4:284
7841 m4_location(AC_TRY_LINK_FUNC)acgeneral.m4:2511
7843 m4_location(AC_ST_BLKSIZE)acoldnames.m4:70
7845 m4_location(AC_PREFIX_DEFAULT)acgeneral.m4:616
7847 m4_location(_AS_CR_PREPARE)m4sh.m4:558
7849 _AC_LANG_SET_m4_defun_pro([_AC_LANG_SET])_AC_LANG_DISPATCH([AC_LANG], [$2])[]_m4_defun_epi([_AC_LANG_SET])
7851 AC_LANG_CALL(Fortran 77)AC_LANG_PROGRAM([$1],
7854 m4_location(AC_LANG_PROGRAM)aclang.m4:308
7856 AC_SITE_LOAD# Prefer explicitly selected file to automatically selected ones.
7857 if test -z "$CONFIG_SITE"; then
7858 if test "x$prefix" != xNONE; then
7859 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
7861 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
7864 for ac_site_file in $CONFIG_SITE; do
7865 if test -r "$ac_site_file"; then
7866 AC_MSG_NOTICE([loading site script $ac_site_file])
7867 cat "$ac_site_file" >&AS_MESSAGE_LOG_FD
7873 m4_location(_AC_EVAL)acgeneral.m4:2150
7875 AS_ESCAPEm4_patsubst([$1],
7876 m4_ifval([$2], [[\([$2]\)]], [[\([\"$`]\)]]),
7879 AC_CHAR_UNSIGNED_m4_defun_pro([AC_CHAR_UNSIGNED])AC_DIAGNOSE([obsolete], [The macro `AC_CHAR_UNSIGNED' is obsolete.
7880 You should run autoupdate.])dnl
7881 AC_C_CHAR_UNSIGNED($@)[]AC_PROVIDE([AC_CHAR_UNSIGNED])[]_m4_defun_epi([AC_CHAR_UNSIGNED])
7883 m4_location(AC_FUNC_MALLOC)acfunctions.m4:737
7885 m4_copym4_define([$2], m4_defn([$1]))
7887 m4_location(AC_RETSIGTYPE)acoldnames.m4:65
7889 m4_location(AC_EXEEXT)aclang.m4:646
7891 _AC_LINK_FILES_CNT_m4_defun_pro([_AC_LINK_FILES_CNT])AC_DIAGNOSE([obsolete], [The macro `_AC_LINK_FILES_CNT' is obsolete.
7892 You should run autoupdate.])dnl
7893 0[]AC_PROVIDE([_AC_LINK_FILES_CNT])[]_m4_defun_epi([_AC_LINK_FILES_CNT])
7895 AC_LANG_CONFTESTcat >conftest.$ac_ext <<_ACEOF
7899 m4_location(AC_DYNIX_SEQ)acspecific.m4:1038
7901 AS_EXECUTABLE_P_m4_defun_pro([AS_EXECUTABLE_P])m4_require([_AS_TEST_PREPARE])dnl
7902 $as_executable_p $1[]dnl
7903 []_m4_defun_epi([AS_EXECUTABLE_P])
7905 AC_LANG_PROGRAM(Fortran 77)m4_ifval([$1],
7906 [m4_warn([syntax], [$0: ignoring PROLOGUE: $1])])dnl
7911 m4_location(AC_VPRINTF)acfunctions.m4:1603
7913 m4_location(AC_CHECK_DECL)acgeneral.m4:2913
7917 AC_LANG_m4_defun_pro([AC_LANG])_AC_LANG_SET(m4_ifdef([_AC_LANG], [m4_defn([_AC_LANG])]),
7919 m4_define([_AC_LANG], [$1])[]_m4_defun_epi([AC_LANG])
7921 m4_toupperm4_translit([$1],
7922 [abcdefghijklmnopqrstuvwxyz],
7923 [ABCDEFGHIJKLMNOPQRSTUVWXYZ])
7925 m4_include(acspecific.m4)
7927 _m4_shiftnm4_if([$1], 0,
7929 [_m4_shiftn(m4_eval([$1]-1), m4_shift(m4_shift($@)))])
7931 AC_LANG_FUNC_LINK_TRY(C)AC_LANG_PROGRAM(
7932 [/* System header to define __stub macros and hopefully few prototypes,
7933 which can conflict with char $1 (); below. */
7935 /* Override any gcc2 internal prototype to avoid an error. */
7939 /* We use char because int might match the return type of a gcc2
7940 builtin and then its argument prototype would still apply. */
7944 [/* The GNU C library defines this for functions which it implements
7945 to always fail with ENOSYS. Some functions are actually named
7946 something starting with __ and the normal name is an alias. */
7947 #if defined (__stub_$1) || defined (__stub___$1)
7954 m4_location(AM_TYPE_PTRDIFF_T)actypes.m4:289
7956 AC_LANG(C++)ac_ext=cc
7957 ac_cpp='$CXXCPP $CPPFLAGS'
7958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&AS_MESSAGE_LOG_FD'
7959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&AS_MESSAGE_LOG_FD'
7960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7963 m4_location(AC_LIST_MEMBER_OF)acgeneral.m4:4512
7965 _AS_TR_CPP_PREPARE_m4_defun_pro([_AS_TR_CPP_PREPARE])m4_require([_AS_CR_PREPARE])dnl
7966 # Sed expression to map a string onto a valid CPP name.
7967 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[[^_$as_cr_alnum]]%_%g"
7968 []_m4_defun_epi([_AS_TR_CPP_PREPARE])
7970 _AC_SUBSTm4_expand_once([m4_append([_AC_SUBST_SED_PROGRAM],
7977 m4_include_uniquem4_ifdef([m4_include($1)],
7978 [m4_warn([syntax], [file `$1' included several times])])dnl
7979 m4_define([m4_include($1)])
7985 m4_expansion_stack_pushm4_pushdef([m4_expansion_stack],
7986 [$1]m4_ifdef([m4_expansion_stack], [
7987 m4_defn([m4_expansion_stack])]))
7989 AC_SYS_POSIX_TERMIOS_m4_defun_pro([AC_SYS_POSIX_TERMIOS])AC_CACHE_CHECK([POSIX termios], ac_cv_sys_posix_termios,
7990 [AC_TRY_LINK([#include <sys/types.h>
7992 @%:@include <termios.h>],
7993 [/* SunOS 4.0.3 has termios.h but not the library calls. */
7995 ac_cv_sys_posix_termios=yes,
7996 ac_cv_sys_posix_termios=no)])
7997 []AC_PROVIDE([AC_SYS_POSIX_TERMIOS])[]_m4_defun_epi([AC_SYS_POSIX_TERMIOS])
7999 AC_LANG_COMPILER(C)_m4_defun_pro([AC_LANG_COMPILER(C)])AC_REQUIRE([AC_PROG_CC])[]AC_PROVIDE([AC_LANG_COMPILER(C)])[]_m4_defun_epi([AC_LANG_COMPILER(C)])
8001 AC_CHECK_PROGS_m4_defun_pro([AC_CHECK_PROGS])for ac_prog in $2
8003 AC_CHECK_PROG([$1], [$ac_prog], [$ac_prog], , [$4])
8004 test -n "$$1" && break
8006 m4_ifvaln([$3], [test -n "$$1" || $1="$3"])[]AC_PROVIDE([AC_CHECK_PROGS])[]_m4_defun_epi([AC_CHECK_PROGS])
8008 m4_location(AC_LANG_PUSH)aclang.m4:142
8010 _AC_ARG_VAR_LDFLAGS_m4_defun_pro([_AC_ARG_VAR_LDFLAGS])AC_ARG_VAR([LDFLAGS],
8011 [linker flags, e.g. -L<lib dir> if you have libraries in a
8012 nonstandard directory <lib dir>])[]AC_PROVIDE([_AC_ARG_VAR_LDFLAGS])[]_m4_defun_epi([_AC_ARG_VAR_LDFLAGS])
8014 AC_FUNC_UTIME_NULL_m4_defun_pro([AC_FUNC_UTIME_NULL])AC_CACHE_CHECK(whether utime accepts a null argument, ac_cv_func_utime_null,
8015 [rm -f conftest.data; >conftest.data
8016 # Sequent interprets utime(file, 0) to mean use start of epoch. Wrong.
8017 AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
8019 exit (!(stat ("conftest.data", &s) == 0
8020 && utime ("conftest.data", (long *)0) == 0
8021 && stat ("conftest.data", &t) == 0
8022 && t.st_mtime >= s.st_mtime
8023 && t.st_mtime - s.st_mtime < 120));]])],
8024 ac_cv_func_utime_null=yes,
8025 ac_cv_func_utime_null=no,
8026 ac_cv_func_utime_null=no)
8027 rm -f core core.* *.core])
8028 if test $ac_cv_func_utime_null = yes; then
8029 AC_DEFINE(HAVE_UTIME_NULL, 1,
8030 [Define if `utime(file, NULL)' sets file's timestamp to the
8034 []AC_PROVIDE([AC_FUNC_UTIME_NULL])[]_m4_defun_epi([AC_FUNC_UTIME_NULL])
8036 AC_NO_EXECUTABLESm4_provide_ifelse([AC_NO_EXECUTABLES],
8037 [m4_warn([syntax], [AC_NO_EXECUTABLES invoked multiple times])],
8038 [_m4_defun_pro([AC_NO_EXECUTABLES])m4_divert_push([KILL])
8040 AC_BEFORE([$0], [_AC_COMPILER_EXEEXT_WORKS])
8041 AC_BEFORE([$0], [_AC_COMPILER_EXEEXT])
8043 m4_define([_AC_COMPILER_EXEEXT_WORKS],
8044 [cross_compiling=maybe
8047 m4_define([_AC_COMPILER_EXEEXT],
8051 m4_define([AC_LINK_IFELSE],
8052 [AC_FATAL([All the tests involving linking were disabled by $0])])
8055 []AC_PROVIDE([AC_NO_EXECUTABLES])[]_m4_defun_epi([AC_NO_EXECUTABLES])])
8057 AC_CHECK_TOOL_PREFIX_m4_defun_pro([AC_CHECK_TOOL_PREFIX])AC_DIAGNOSE([obsolete], [The macro `AC_CHECK_TOOL_PREFIX' is obsolete.
8058 You should run autoupdate.])dnl
8059 []AC_PROVIDE([AC_CHECK_TOOL_PREFIX])[]_m4_defun_epi([AC_CHECK_TOOL_PREFIX])
8061 AC_INLINE_m4_defun_pro([AC_INLINE])AC_DIAGNOSE([obsolete], [The macro `AC_INLINE' is obsolete.
8062 You should run autoupdate.])dnl
8063 AC_C_INLINE($@)[]AC_PROVIDE([AC_INLINE])[]_m4_defun_epi([AC_INLINE])
8065 m4_location(_AC_ARG_VAR_CPPFLAGS)aclang.m4:820
8067 AC_LANG_PROGRAM(C)$1
8068 m4_ifdef([_AC_LANG_PROGRAM_C_F77_HOOKS], [_AC_LANG_PROGRAM_C_F77_HOOKS()])dnl
8072 dnl Do *not* indent the following line: there may be CPP directives.
8073 dnl Don't move the `;' right after for the same reason.
8079 _AC_OUTPUT_COMMANDS_INIT
8081 AC_XENIX_DIR_m4_defun_pro([AC_XENIX_DIR])AC_DIAGNOSE([obsolete], [The macro `AC_XENIX_DIR' is obsolete.
8082 You should run autoupdate.])dnl
8083 # You shouldn't need to depend upon XENIX. Remove this test if useless.
8084 AC_MSG_CHECKING([for Xenix])
8086 [#if defined(M_XENIX) && !defined(M_UNIX)
8089 [AC_MSG_RESULT([yes]); XENIX=yes],
8090 [AC_MSG_RESULT([no]); XENIX=])
8092 AC_HEADER_DIRENT[]dnl
8093 []AC_PROVIDE([AC_XENIX_DIR])[]_m4_defun_epi([AC_XENIX_DIR])
8095 _m4_foreach_quotedm4_if($2, [()], ,
8096 [m4_define([$1], [m4_car_quoted$2])$3[]_m4_foreach_quoted([$1],
8100 m4_location(AC_PROG_CXX)aclang.m4:1180
8102 AS_TR_CPP_m4_defun_pro([AS_TR_CPP])m4_require([_$0_PREPARE])dnl
8104 [m4_patsubst(m4_translit([[$1]],
8105 [*abcdefghijklmnopqrstuvwxyz],
8106 [PABCDEFGHIJKLMNOPQRSTUVWXYZ]),
8107 [[^A-Z0-9_]], [_])],
8108 [`echo "$1" | $as_tr_cpp`])[]_m4_defun_epi([AS_TR_CPP])
8110 AC_DIAGNOSEm4_warning_ifelse([$1], [_m4_warn([$2])])
8112 m4_location(AC_LANG_SOURCE)aclang.m4:298
8114 m4_location(AC_LANG_FORTRAN77)aclang.m4:264
8116 m4_location(AC_CHECK_DECLS)acgeneral.m4:2933
8118 AC_LANG_CALL(C++)AC_LANG_PROGRAM([$1
8119 m4_if([$2], [main], ,
8120 [/* Override any gcc2 internal prototype to avoid an error. */
8124 /* We use char because int might match the return type of a gcc2
8125 builtin and then its argument prototype would still apply. */
8126 char $2 ();])], [$2 ();])
8128 AM_EXEEXT_m4_defun_pro([AM_EXEEXT])AC_DIAGNOSE([obsolete], [The macro `AM_EXEEXT' is obsolete.
8129 You should run autoupdate.])dnl
8130 AC_EXEEXT($@)[]AC_PROVIDE([AM_EXEEXT])[]_m4_defun_epi([AM_EXEEXT])
8132 m4_shiftnm4_assert(($1 >= 0) && ($# > $1))dnl
8135 AC_TYPE_SIZE_T_m4_defun_pro([AC_TYPE_SIZE_T])AC_CHECK_TYPE(size_t, unsigned)[]AC_PROVIDE([AC_TYPE_SIZE_T])[]_m4_defun_epi([AC_TYPE_SIZE_T])
8137 AC_PROG_CC_m4_defun_pro([AC_PROG_CC])AC_LANG_PUSH(C)dnl
8138 AC_ARG_VAR([CC], [C compiler command])dnl
8139 AC_ARG_VAR([CFLAGS], [C compiler flags])dnl
8140 _AC_ARG_VAR_LDFLAGS()dnl
8141 _AC_ARG_VAR_CPPFLAGS()dnl
8143 [AC_CHECK_TOOLS(CC, [$1])],
8144 [AC_CHECK_TOOL(CC, gcc)
8145 if test -z "$CC"; then
8146 AC_CHECK_TOOL(CC, cc)
8148 if test -z "$CC"; then
8149 AC_CHECK_PROG(CC, cc, cc, , , /usr/ucb/cc)
8151 if test -z "$CC"; then
8152 AC_CHECK_TOOLS(CC, cl)
8156 test -z "$CC" && AC_MSG_ERROR([no acceptable cc found in \$PATH])
8158 # Provide some information about the compiler.
8159 echo "$as_me:__oline__:" \
8160 "checking for _AC_LANG compiler version" >&AS_MESSAGE_LOG_FD
8161 ac_compiler=`set X $ac_compile; echo $[2]`
8162 _AC_EVAL([$ac_compiler --version </dev/null >&AS_MESSAGE_LOG_FD])
8163 _AC_EVAL([$ac_compiler -v </dev/null >&AS_MESSAGE_LOG_FD])
8164 _AC_EVAL([$ac_compiler -V </dev/null >&AS_MESSAGE_LOG_FD])
8166 m4_expand_once([_AC_COMPILER_EXEEXT])[]dnl
8167 m4_expand_once([_AC_COMPILER_OBJEXT])[]dnl
8168 _AC_LANG_COMPILER_GNU
8169 GCC=`test $ac_compiler_gnu = yes && echo yes`
8171 # Some people use a C++ compiler to compile C. Since we use `exit',
8172 # in C++ we need to declare it. In case someone uses the same compiler
8173 # for both compiling C and C++ we need to have the C++ compiler decide
8174 # the declaration of exit, since it's the most demanding environment.
8175 _AC_COMPILE_IFELSE([@%:@ifndef __cplusplus
8178 [_AC_PROG_CXX_EXIT_DECLARATION])
8180 []AC_PROVIDE([AC_PROG_CC])[]_m4_defun_epi([AC_PROG_CC])
8182 AC_LANG_BOOL_COMPILE_TRY(C++)AC_LANG_PROGRAM([$1], [int _array_ @<:@1 - 2 * !($2)@:>@])
8184 AC_FUNC_FNMATCH_m4_defun_pro([AC_FUNC_FNMATCH])AC_CACHE_CHECK([for working GNU-style fnmatch],
8185 [ac_cv_func_fnmatch_works],
8186 # Some versions of Solaris, SCO, and the GNU C Library
8187 # have a broken or incompatible fnmatch.
8188 # So we run a test program. If we are cross-compiling, take no chance.
8189 # Thanks to John Oleynick, Franc,ois Pinard, and Paul Eggert for this test.
8190 [AC_RUN_IFELSE([AC_LANG_PROGRAM([@%:@include <fnmatch.h>],
8191 [exit (fnmatch ("a*", "abc", 0) != 0
8192 || fnmatch ("d*/*1", "d/s/1", FNM_FILE_NAME) != FNM_NOMATCH
8193 || fnmatch ("*", "x", FNM_FILE_NAME | FNM_LEADING_DIR) != 0
8194 || fnmatch ("x*", "x/y/z", FNM_FILE_NAME | FNM_LEADING_DIR) != 0
8195 || fnmatch ("*c*", "c/x", FNM_FILE_NAME | FNM_LEADING_DIR) != 0);])],
8196 [ac_cv_func_fnmatch_works=yes],
8197 [ac_cv_func_fnmatch_works=no],
8198 [ac_cv_func_fnmatch_works=no])])
8199 if test $ac_cv_func_fnmatch_works = yes; then
8200 AC_DEFINE(HAVE_FNMATCH, 1,
8201 [Define if your system has a working `fnmatch' function.])
8203 []AC_PROVIDE([AC_FUNC_FNMATCH])[]_m4_defun_epi([AC_FUNC_FNMATCH])
8205 AC_DYNIX_SEQ_m4_defun_pro([AC_DYNIX_SEQ])AC_DIAGNOSE([obsolete], [The macro `AC_DYNIX_SEQ' is obsolete.
8206 You should run autoupdate.])dnl
8207 AC_FUNC_GETMNTENT[]AC_PROVIDE([AC_DYNIX_SEQ])[]_m4_defun_epi([AC_DYNIX_SEQ])
8209 AC_SYS_RESTARTABLE_SYSCALLS_m4_defun_pro([AC_SYS_RESTARTABLE_SYSCALLS])AC_DIAGNOSE([obsolete],
8210 [$0: System call restartability is now typically set at runtime.
8211 Remove this `AC_SYS_RESTARTABLE_SYSCALLS'
8212 and adjust your code to use `sigaction' with `SA_RESTART' instead.])dnl
8213 AC_REQUIRE([AC_HEADER_SYS_WAIT])dnl
8214 AC_CHECK_HEADERS(unistd.h)
8215 AC_CACHE_CHECK(for restartable system calls, ac_cv_sys_restartable_syscalls,
8216 [AC_RUN_IFELSE([AC_LANG_SOURCE(
8217 [/* Exit 0 (true) if wait returns something other than -1,
8218 i.e. the pid of the child, which means that wait was restarted
8219 after getting the signal. */
8221 #include <sys/types.h>
8224 # include <unistd.h>
8227 # include <sys/wait.h>
8230 /* Some platforms explicitly require an extern "C" signal handler
8233 extern "C" void ucatch (int dummy) { }
8235 void ucatch (dummy) int dummy; { }
8241 int i = fork (), status;
8246 kill (getppid (), SIGINT);
8251 signal (SIGINT, ucatch);
8257 exit (status == -1);
8259 [ac_cv_sys_restartable_syscalls=yes],
8260 [ac_cv_sys_restartable_syscalls=no])])
8261 if test $ac_cv_sys_restartable_syscalls = yes; then
8262 AC_DEFINE(HAVE_RESTARTABLE_SYSCALLS, 1,
8263 [Define if system calls automatically restart after interruption
8266 []AC_PROVIDE([AC_SYS_RESTARTABLE_SYSCALLS])[]_m4_defun_epi([AC_SYS_RESTARTABLE_SYSCALLS])
8270 AC_LANG_CASEm4_case(_AC_LANG, $@)
8272 m4_location(AC_CONFIG_COMMANDS_POST)acgeneral.m4:3260
8274 AC_LANG_BOOL_COMPILE_TRY(C)AC_LANG_PROGRAM([$1], [int _array_ @<:@1 - 2 * !($2)@:>@])
8276 m4_location(AC_ST_BLOCKS)acoldnames.m4:71
8278 m4_location(AC_PROG_F77_C_O)aclang.m4:1389
8280 AS_ERROR{ AS_MESSAGE([error: $1], [2])
8281 AS_EXIT([$2]); }[]dnl
8284 AC_FUNC_CLOSEDIR_VOID_m4_defun_pro([AC_FUNC_CLOSEDIR_VOID])AC_REQUIRE([AC_HEADER_DIRENT])dnl
8285 AC_CACHE_CHECK([whether closedir returns void],
8286 [ac_cv_func_closedir_void],
8287 [AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT
8288 #include <$ac_header_dirent>
8293 [[exit (closedir (opendir (".")) != 0);]])],
8294 [ac_cv_func_closedir_void=no],
8295 [ac_cv_func_closedir_void=yes],
8296 [ac_cv_func_closedir_void=yes])])
8297 if test $ac_cv_func_closedir_void = yes; then
8298 AC_DEFINE(CLOSEDIR_VOID, 1,
8299 [Define if the `closedir' function returns void instead of `int'.])
8301 []AC_PROVIDE([AC_FUNC_CLOSEDIR_VOID])[]_m4_defun_epi([AC_FUNC_CLOSEDIR_VOID])
8303 AH_CHECK_LIBAH_TEMPLATE(AS_TR_CPP(HAVE_LIB$1),
8304 [Define if you have the `]$1[' library (-l]$1[).])
8306 AH_CHECK_HEADERS_DIRENTAC_FOREACH([AC_Header], [$1],
8307 [AH_TEMPLATE(AS_TR_CPP(HAVE_[]AC_Header),
8308 [Define if you have the <]AC_Header[> header file, and
8309 it defines `DIR'.])])
8311 m4_location(AC_PROG_LN_S)acspecific.m4:277
8313 _AC_SYS_LARGEFILE_TEST_INCLUDES@%:@include <sys/types.h>
8314 /* Check that off_t can represent 2**63 - 1 correctly.
8315 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8316 since some C++ compilers masquerading as C compilers
8317 incorrectly reject 9223372036854775807. */
8318 @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
8319 int off_t_is_large[[(LARGE_OFF_T % 2147483629 == 721
8320 && LARGE_OFF_T % 2147483647 == 1)
8324 AC_TEST_PROGRAM_m4_defun_pro([AC_TEST_PROGRAM])AC_DIAGNOSE([obsolete], [The macro `AC_TEST_PROGRAM' is obsolete.
8325 You should run autoupdate.])dnl
8326 AC_TRY_RUN($@)[]AC_PROVIDE([AC_TEST_PROGRAM])[]_m4_defun_epi([AC_TEST_PROGRAM])
8328 m4_location(AC_HEADER_STDC)acheaders.m4:284
8330 AC_DEFINE_UNQUOTEDAC_DEFINE_TRACE([$1])dnl
8331 m4_ifval([$3], [_AH_TEMPLATE_OLD([$1], [$3])])dnl
8332 cat >>confdefs.h <<EOF
8333 [@%:@define] $1 m4_if($#, 2, [$2], $#, 3, [$2], 1)
8337 m4_location(AC_CHECK_PROG)acgeneral.m4:2343
8339 _AC_DECL_YYTEXTAC_CACHE_CHECK(lex output file root, ac_cv_prog_lex_root,
8340 [# The minimal lex program is just a single line: %%. But some broken lexes
8341 # (Solaris, I think it was) want two %% lines, so accommodate them.
8344 if test -f lex.yy.c; then
8345 ac_cv_prog_lex_root=lex.yy
8346 elif test -f lexyy.c; then
8347 ac_cv_prog_lex_root=lexyy
8349 AC_MSG_ERROR([cannot find output from $LEX; giving up])
8351 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
8352 AC_SUBST(LEX_OUTPUT_ROOT)dnl
8354 AC_CACHE_CHECK(whether yytext is a pointer, ac_cv_prog_lex_yytext_pointer,
8355 [# POSIX says lex can declare yytext either as a pointer or an array; the
8356 # default is implementation-dependent. Figure out which it is, since
8357 # not all implementations provide the %pointer and %array declarations.
8358 ac_cv_prog_lex_yytext_pointer=no
8359 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
8361 LIBS="$LIBS $LEXLIB"
8362 AC_LINK_IFELSE([`cat $LEX_OUTPUT_ROOT.c`], ac_cv_prog_lex_yytext_pointer=yes)
8364 rm -f "${LEX_OUTPUT_ROOT}.c"
8367 if test $ac_cv_prog_lex_yytext_pointer = yes; then
8368 AC_DEFINE(YYTEXT_POINTER, 1,
8369 [Define if `lex' declares `yytext' as a `char *' by default,
8374 AC_SHELL_PATH_WALKac_save_IFS=$IFS; IFS=$ac_path_separator
8375 ac_dummy="m4_default([$1], [$PATH])"
8376 for ac_dir in $ac_dummy; do
8378 test -z "$ac_dir" && ac_dir=.
8383 _AC_PATH_X_DIRECT# Standard set of common directories for X headers.
8384 # Check X11 before X11Rn because it is often a symlink to the current release.
8396 /usr/local/X11/include
8397 /usr/local/X11R6/include
8398 /usr/local/X11R5/include
8399 /usr/local/X11R4/include
8401 /usr/local/include/X11
8402 /usr/local/include/X11R6
8403 /usr/local/include/X11R5
8404 /usr/local/include/X11R4
8408 /usr/XFree86/include/X11
8412 /usr/unsupported/include
8414 /usr/local/x11r5/include
8415 /usr/lpp/Xamples/include
8417 /usr/openwin/include
8418 /usr/openwin/share/include'
8420 if test "$ac_x_includes" = no; then
8421 # Guess where to find include files, by looking for Intrinsic.h.
8422 # First, try using that file with no special directory specified.
8423 AC_PREPROC_IFELSE([AC_LANG_SOURCE([@%:@include <X11/Intrinsic.h>])],
8424 [# We can compile using X headers with no special include directory.
8426 [for ac_dir in $ac_x_header_dirs; do
8427 if test -r "$ac_dir/X11/Intrinsic.h"; then
8428 ac_x_includes=$ac_dir
8432 fi # $ac_x_includes = no
8434 if test "$ac_x_libraries" = no; then
8435 # Check for the libraries.
8436 # See if we find them without any special options.
8437 # Don't add to $LIBS permanently.
8440 AC_TRY_LINK([@%:@include <X11/Intrinsic.h>], [XtMalloc (0)],
8442 # We can link X programs with no special library path.
8445 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8447 # Don't even attempt the hair of trying to link an X program!
8448 for ac_extension in a so sl; do
8449 if test -r $ac_dir/libXt.$ac_extension; then
8450 ac_x_libraries=$ac_dir
8455 fi # $ac_x_libraries = no
8460 m4_stripm4_patsubst(m4_patsubst(m4_patsubst([[[[$1]]]],
8465 m4_location(AC_PREFIX_PROGRAM)acgeneral.m4:2495
8467 _AC_COMPILER_EXEEXT_CROSS# Check the compiler produces executables we can run. If not, either
8468 # the compiler is broken, or we cross compile.
8469 AC_MSG_CHECKING([whether we are cross compiling])
8470 AC_MSG_RESULT([$cross_compiling])
8473 AC_HEADER_CHECK_m4_defun_pro([AC_HEADER_CHECK])AC_DIAGNOSE([obsolete], [The macro `AC_HEADER_CHECK' is obsolete.
8474 You should run autoupdate.])dnl
8475 AC_CHECK_HEADER($@)[]AC_PROVIDE([AC_HEADER_CHECK])[]_m4_defun_epi([AC_HEADER_CHECK])
8477 AC_TYPE_PID_T_m4_defun_pro([AC_TYPE_PID_T])AC_CHECK_TYPE(pid_t, int)[]AC_PROVIDE([AC_TYPE_PID_T])[]_m4_defun_epi([AC_TYPE_PID_T])
8479 m4_location(AC_PROG_CC_C_O)aclang.m4:1080
8483 _AC_PROG_ECHOcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8484 *c*,-n*) ECHO_N= ECHO_C='
8486 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
8487 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
8494 AC_C_BIGENDIAN_m4_defun_pro([AC_C_BIGENDIAN])AC_CACHE_CHECK(whether byte ordering is bigendian, ac_cv_c_bigendian,
8495 [ac_cv_c_bigendian=unknown
8496 # See if sys/param.h defines the BYTE_ORDER macro.
8497 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <sys/types.h>
8498 #include <sys/param.h>
8500 [#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
8504 [# It does; now see whether it defined to BIG_ENDIAN or not.
8505 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <sys/types.h>
8506 #include <sys/param.h>
8507 ], [#if BYTE_ORDER != BIG_ENDIAN
8510 ])], [ac_cv_c_bigendian=yes],
8511 [ac_cv_c_bigendian=no])])
8512 if test $ac_cv_c_bigendian = unknown; then
8517 /* Are we little or big endian? From Harbison&Steele. */
8521 char c[sizeof (long)];
8524 exit (u.c[sizeof (long) - 1] == 1);
8525 }], ac_cv_c_bigendian=no, ac_cv_c_bigendian=yes)
8527 if test $ac_cv_c_bigendian = yes; then
8528 AC_DEFINE(WORDS_BIGENDIAN, 1,
8529 [Define if your processor stores words with the most significant
8530 byte first (like Motorola and SPARC, unlike Intel and VAX).])
8532 []AC_PROVIDE([AC_C_BIGENDIAN])[]_m4_defun_epi([AC_C_BIGENDIAN])
8534 AC_CHECK_FUNC_m4_defun_pro([AC_CHECK_FUNC])AS_VAR_PUSHDEF([ac_var], [ac_cv_func_$1])dnl
8535 AC_CACHE_CHECK([for $1], ac_var,
8536 [AC_LINK_IFELSE([AC_LANG_FUNC_LINK_TRY([$1])],
8537 [AS_VAR_SET(ac_var, yes)],
8538 [AS_VAR_SET(ac_var, no)])])
8539 AS_IF([test AS_VAR_GET(ac_var) = yes], [$2], [$3])dnl
8540 AS_VAR_POPDEF([ac_var])dnl
8541 []AC_PROVIDE([AC_CHECK_FUNC])[]_m4_defun_epi([AC_CHECK_FUNC])
8543 AC_CHECK_FILES_m4_defun_pro([AC_CHECK_FILES])AC_FOREACH([AC_FILE_NAME], [$1],
8544 [AC_CHECK_FILE(AC_FILE_NAME,
8545 [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_[]AC_FILE_NAME), 1,
8546 [Define if you have the file `]AC_File['.])
8548 [$3])])[]AC_PROVIDE([AC_CHECK_FILES])[]_m4_defun_epi([AC_CHECK_FILES])
8550 m4_location(AC_XENIX_DIR)acspecific.m4:1033
8552 m4_location(AC_CYGWIN32)acoldnames.m4:80
8554 m4_location(AC_EGREP_HEADER)acgeneral.m4:2699
8556 AC_LANG_CALL(C)AC_LANG_PROGRAM([$1
8557 m4_if([$2], [main], ,
8558 [/* Override any gcc2 internal prototype to avoid an error. */
8562 /* We use char because int might match the return type of a gcc2
8563 builtin and then its argument prototype would still apply. */
8564 char $2 ();])], [$2 ();])
8566 AC_F77_FUNC_m4_defun_pro([AC_F77_FUNC])AC_REQUIRE([_AC_F77_NAME_MANGLING])dnl
8567 case $ac_cv_f77_mangling in
8568 upper*) ac_val="m4_toupper([$1])" ;;
8569 lower*) ac_val="m4_tolower([$1])" ;;
8570 *) ac_val="unknown" ;;
8572 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
8573 m4_if(m4_index([$1],[_]),-1,[],
8574 [case $ac_cv_f77_mangling in *," extra underscore"*) ac_val="$ac_val"_ ;; esac
8576 m4_default([$2],[$1])="$ac_val"
8577 []AC_PROVIDE([AC_F77_FUNC])[]_m4_defun_epi([AC_F77_FUNC])
8579 m4_location(AC_IRIX_SUN)acspecific.m4:1045
8581 m4_location(AC_GETGROUPS_T)acoldnames.m4:54
8583 _m4_defun_epim4_divert_pop()dnl
8584 m4_if(_m4_divert_dump, _m4_divert_diversion,
8585 [m4_undivert([GROW])dnl
8586 m4_undefine([_m4_divert_dump])])dnl
8587 m4_expansion_stack_pop()dnl
8588 m4_popdef([_m4_expanding($1)])dnl
8592 AC_PROGRAMS_CHECK_m4_defun_pro([AC_PROGRAMS_CHECK])AC_DIAGNOSE([obsolete], [The macro `AC_PROGRAMS_CHECK' is obsolete.
8593 You should run autoupdate.])dnl
8594 AC_CHECK_PROGS($@)[]AC_PROVIDE([AC_PROGRAMS_CHECK])[]_m4_defun_epi([AC_PROGRAMS_CHECK])
8596 AC_F77_WRAPPERS_m4_defun_pro([AC_F77_WRAPPERS])AC_REQUIRE([_AC_F77_NAME_MANGLING])dnl
8597 AH_TEMPLATE([F77_FUNC],
8598 [Define to a macro mangling the given C identifier (in lower and upper
8599 case), which must not contain underscores, for linking with Fortran.])dnl
8600 AH_TEMPLATE([F77_FUNC_],
8601 [As F77_FUNC, but for C identifiers containing underscores.])dnl
8602 case $ac_cv_f77_mangling in
8603 "lower case, no underscore, no extra underscore")
8604 AC_DEFINE([F77_FUNC(name,NAME)], [name])
8605 AC_DEFINE([F77_FUNC_(name,NAME)], [name]) ;;
8606 "lower case, no underscore, extra underscore")
8607 AC_DEFINE([F77_FUNC(name,NAME)], [name])
8608 AC_DEFINE([F77_FUNC_(name,NAME)], [name ## _]) ;;
8609 "lower case, underscore, no extra underscore")
8610 AC_DEFINE([F77_FUNC(name,NAME)], [name ## _])
8611 AC_DEFINE([F77_FUNC_(name,NAME)], [name ## _]) ;;
8612 "lower case, underscore, extra underscore")
8613 AC_DEFINE([F77_FUNC(name,NAME)], [name ## _])
8614 AC_DEFINE([F77_FUNC_(name,NAME)], [name ## __]) ;;
8615 "upper case, no underscore, no extra underscore")
8616 AC_DEFINE([F77_FUNC(name,NAME)], [NAME])
8617 AC_DEFINE([F77_FUNC_(name,NAME)], [NAME]) ;;
8618 "upper case, no underscore, extra underscore")
8619 AC_DEFINE([F77_FUNC(name,NAME)], [NAME])
8620 AC_DEFINE([F77_FUNC_(name,NAME)], [NAME ## _]) ;;
8621 "upper case, underscore, no extra underscore")
8622 AC_DEFINE([F77_FUNC(name,NAME)], [NAME ## _])
8623 AC_DEFINE([F77_FUNC_(name,NAME)], [NAME ## _]) ;;
8624 "upper case, underscore, extra underscore")
8625 AC_DEFINE([F77_FUNC(name,NAME)], [NAME ## _])
8626 AC_DEFINE([F77_FUNC_(name,NAME)], [NAME ## __]) ;;
8628 AC_MSG_WARN([unknown Fortran 77 name-mangling scheme])
8631 []AC_PROVIDE([AC_F77_WRAPPERS])[]_m4_defun_epi([AC_F77_WRAPPERS])
8633 m4_location(AC_LANG_PREPROC_REQUIRE)aclang.m4:575
8635 m4_location(_AC_LANG_SET)aclang.m4:124
8637 _m4_divert(PARSE_ARGS)4
8639 _AC_CONFIG_UNIQUEm4_divert_push([KILL])
8640 AC_FOREACH([AC_File], [$1],
8641 [m4_pushdef([AC_Dest], m4_patsubst(AC_File, [:.*]))
8642 AC_CONFIG_IF_MEMBER(AC_Dest, [AC_LIST_HEADERS],
8643 [AC_FATAL(`AC_Dest' [is already registered with AC_CONFIG_HEADER or AC_CONFIG_HEADERS.])])
8644 AC_CONFIG_IF_MEMBER(AC_Dest, [AC_LIST_LINKS],
8645 [AC_FATAL(`AC_Dest' [is already registered with AC_CONFIG_LINKS.])])
8646 AC_CONFIG_IF_MEMBER(AC_Dest, [_AC_LIST_SUBDIRS],
8647 [AC_FATAL(`AC_Dest' [is already registered with AC_CONFIG_SUBDIRS.])])
8648 AC_CONFIG_IF_MEMBER(AC_Dest, [AC_LIST_COMMANDS],
8649 [AC_FATAL(`AC_Dest' [is already registered with AC_CONFIG_COMMANDS.])])
8650 AC_CONFIG_IF_MEMBER(AC_Dest, [AC_LIST_FILES],
8651 [AC_FATAL(`AC_Dest' [is already registered with AC_CONFIG_FILES or AC_OUTPUT.])])
8652 m4_popdef([AC_Dest])])
8653 m4_divert_pop([KILL])dnl
8656 AC_LANG_PREPROC(Fortran 77)_m4_defun_pro([AC_LANG_PREPROC(Fortran 77)])m4_warn([syntax],
8657 [$0: No preprocessor defined for ]_AC_LANG)[]AC_PROVIDE([AC_LANG_PREPROC(Fortran 77)])[]_m4_defun_epi([AC_LANG_PREPROC(Fortran 77)])
8659 AS_VAR_SET_IFAS_IF([AS_VAR_TEST_SET([$1])], [$2], [$3])
8661 AC_FUNC_SELECT_ARGTYPES_m4_defun_pro([AC_FUNC_SELECT_ARGTYPES])AC_CHECK_HEADERS(sys/select.h sys/socket.h)
8662 AC_CACHE_CHECK([types of arguments for select],
8663 [ac_cv_func_select_args],
8664 [for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
8665 for ac_arg1 in 'int' 'size_t' 'unsigned long' 'unsigned'; do
8666 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
8669 [AC_INCLUDES_DEFAULT
8670 #if HAVE_SYS_SELECT_H
8671 # include <sys/select.h>
8673 #if HAVE_SYS_SOCKET_H
8674 # include <sys/socket.h>
8677 [extern int select ($ac_arg1,
8678 $ac_arg234, $ac_arg234, $ac_arg234,
8680 [ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3])
8684 # Provide a safe default value.
8685 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
8687 ac_save_IFS=$IFS; IFS=','
8688 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
8691 AC_DEFINE_UNQUOTED(SELECT_TYPE_ARG1, $[1],
8692 [Define to the type of arg 1 for `select'.])
8693 AC_DEFINE_UNQUOTED(SELECT_TYPE_ARG234, ($[2]),
8694 [Define to the type of args 2, 3 and 4 for `select'.])
8695 AC_DEFINE_UNQUOTED(SELECT_TYPE_ARG5, ($[3]),
8696 [Define to the type of arg 5 for `select'.])
8698 []AC_PROVIDE([AC_FUNC_SELECT_ARGTYPES])[]_m4_defun_epi([AC_FUNC_SELECT_ARGTYPES])
8700 AC_RSH_m4_defun_pro([AC_RSH])AC_DIAGNOSE([obsolete], [The macro `AC_RSH' is obsolete.
8701 You should run autoupdate.])dnl
8702 AC_DIAGNOSE([obsolete], [$0: is no longer supported.
8703 Remove this warning when you adjust the code.])[]AC_PROVIDE([AC_RSH])[]_m4_defun_epi([AC_RSH])
8705 m4_location(AC_PREFIX)acoldnames.m4:32
8707 m4_location(AC_OBJEXT)aclang.m4:647
8709 _m4_dumpdefs_upm4_ifdef([$1],
8710 [m4_pushdef([_m4_dumpdefs], m4_defn([$1]))dnl
8713 _m4_dumpdefs_up([$1])])
8717 # CONFIG_SUBDIRS section.
8719 if test "$no_recursion" != yes; then
8721 # Remove --cache-file and --srcdir arguments so they do not pile up.
8722 ac_sub_configure_args=
8724 for ac_arg in $ac_configure_args; do
8725 if test -n "$ac_prev"; then
8730 -cache-file | --cache-file | --cache-fil | --cache-fi \
8731 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
8732 ac_prev=cache_file ;;
8733 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
8734 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
8737 --config-cache | -C)
8739 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
8741 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
8743 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
8747 for ac_subdir in : $subdirs; do test "x$ac_subdir" = x: && continue
8749 # Do not complain, so a configure script can configure whichever
8750 # parts of a large source tree are present.
8751 test -d $srcdir/$ac_subdir || continue
8753 AC_MSG_NOTICE([configuring in $ac_subdir])
8756 *) AS_MKDIR_P(["./$ac_subdir"])
8757 if test -d ./$ac_subdir; then :;
8759 AC_MSG_ERROR([cannot create `pwd`/$ac_subdir])
8767 # A "../" for each directory in /$ac_subdir.
8768 ac_dots=`echo $ac_subdir |
8769 sed 's,^\./,,;s,[[^/]]$,&/,;s,[[^/]]*/,../,g'`
8772 .) # No --srcdir option. We are building in place.
8773 ac_sub_srcdir=$srcdir ;;
8774 [[\\/]]* | ?:[[\\/]]* ) # Absolute path.
8775 ac_sub_srcdir=$srcdir/$ac_subdir ;;
8777 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
8780 # Check for guested configure; otherwise get Cygnus style configure.
8781 if test -f $ac_sub_srcdir/configure.gnu; then
8782 ac_sub_configure="$SHELL '$ac_sub_srcdir/configure.gnu'"
8783 elif test -f $ac_sub_srcdir/configure; then
8784 ac_sub_configure="$SHELL '$ac_sub_srcdir/configure'"
8785 elif test -f $ac_sub_srcdir/configure.in; then
8786 ac_sub_configure=$ac_configure
8788 AC_MSG_WARN([no configuration information is in $ac_subdir])
8792 # The recursion is here.
8793 if test -n "$ac_sub_configure"; then
8794 # Make the cache file name correct relative to the subdirectory.
8796 [[\\/]]* | ?:[[\\/]]* ) ac_sub_cache_file=$cache_file ;;
8798 ac_sub_cache_file=$ac_dots$cache_file ;;
8801 AC_MSG_NOTICE([running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir])
8802 # The eval makes quoting arguments work.
8803 eval $ac_sub_configure $ac_sub_configure_args \
8804 --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir ||
8805 AC_MSG_ERROR([$ac_sub_configure failed for $ac_subdir])
8813 AC_FOREACHm4_foreach([$1], m4_split(m4_normalize([$2])), [$3])
8815 AS_DIRNAME_SED_m4_defun_pro([AS_DIRNAME_SED])echo X[]$1 |
8816 sed ['/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8817 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8818 /^X\(\/\/\)$/{ s//\1/; q; }
8819 /^X\(\/\).*/{ s//\1/; q; }
8820 s/.*/./; q'][]_m4_defun_epi([AS_DIRNAME_SED])
8823 # End of frozen state file