1 # This is a frozen state file generated by GNU m4 1.4o
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 syncoutputsyncoutput
1918 AC_PROG_CPP_m4_defun_pro([AC_PROG_CPP])AC_REQUIRE([AC_PROG_CC])dnl
1919 AC_ARG_VAR([CPP], [C preprocessor])dnl
1920 _AC_ARG_VAR_CPPFLAGS()dnl
1922 AC_MSG_CHECKING([how to run the C preprocessor])
1923 # On Suns, sometimes $CPP names a directory.
1924 if test -n "$CPP" && test -d "$CPP"; then
1927 if test -z "$CPP"; then
1928 AC_CACHE_VAL([ac_cv_prog_CPP],
1930 # Double quotes because CPP needs to be expanded
1931 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
1933 _AC_PROG_PREPROC_WORKS_IFELSE([break])
1941 AC_MSG_RESULT([$CPP])
1942 _AC_PROG_PREPROC_WORKS_IFELSE([],
1943 [AC_MSG_ERROR([C preprocessor "$CPP" fails sanity check])])
1946 []AC_PROVIDE([AC_PROG_CPP])[]_m4_defun_epi([AC_PROG_CPP])
1948 m4_requirem4_expansion_stack_push(m4_location[: $1 is required by...])dnl
1949 m4_ifdef([_m4_expanding($1)],
1950 [m4_fatal([$0: circular dependency of $1])])dnl
1951 m4_ifndef([_m4_divert_dump],
1952 [m4_fatal([$0: cannot be used outside of an m4_defun'd macro])])dnl
1953 m4_provide_ifelse([$1],
1955 [m4_divert_push(m4_eval(m4_divnum - 1))dnl
1956 m4_default([$2], [$1])
1957 m4_divert(m4_defn([_m4_divert_dump]))dnl
1958 m4_undivert(m4_defn([_m4_divert_diversion]))dnl
1959 m4_divert_pop(m4_defn([_m4_divert_dump]))])dnl
1960 m4_provide_ifelse([$1],
1963 [$1 is m4_require'd but is not m4_defun'd])])dnl
1964 m4_expansion_stack_pop()dnl
1967 m4_location(AC_WARN)acoldnames.m4:27
1969 AC_PROGRAM_EGREP_m4_defun_pro([AC_PROGRAM_EGREP])AC_DIAGNOSE([obsolete], [The macro `AC_PROGRAM_EGREP' is obsolete.
1970 You should run autoupdate.])dnl
1971 AC_EGREP_CPP($@)[]AC_PROVIDE([AC_PROGRAM_EGREP])[]_m4_defun_epi([AC_PROGRAM_EGREP])
1973 AC_EMXOS2_m4_defun_pro([AC_EMXOS2])AC_DIAGNOSE([obsolete], [The macro `AC_EMXOS2' is obsolete.
1974 You should run autoupdate.])dnl
1975 AC_REQUIRE([AC_CANONICAL_HOST])[]dnl
1976 AC_DIAGNOSE([obsolete],
1977 [$0 is obsolete: use AC_CANONICAL_HOST and $host_os])dnl
1979 *emx* ) EMXOS2=yes;;
1982 []AC_PROVIDE([AC_EMXOS2])[]_m4_defun_epi([AC_EMXOS2])
1984 m4_location(_AC_FUNC_FORK)acfunctions.m4:1473
1986 m4_location(AC_NO_EXECUTABLES)aclang.m4:621
1988 AC_DEFUN_ONCEm4_defun_once([$1], [$2[]AC_PROVIDE([$1])])
1992 AC_PROVIDE_IFELSEm4_ifdef([AC_PROVIDE_$1],
1995 m4_location(AC_CHECK_LIB)acgeneral.m4:2583
1997 AC_CHECK_TYPES_m4_defun_pro([AC_CHECK_TYPES])m4_foreach([AC_Type], [$1],
1998 [_AC_CHECK_TYPE_NEW(AC_Type,
1999 [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_[]AC_Type), 1,
2000 [Define if the system has the type
2004 [$4])])[]AC_PROVIDE([AC_CHECK_TYPES])[]_m4_defun_epi([AC_CHECK_TYPES])
2006 m4_location(AC_OFF_T)acoldnames.m4:62
2008 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.
2009 You should run autoupdate.])dnl
2010 AC_FUNC_ERROR_AT_LINE($@)[]AC_PROVIDE([AM_FUNC_ERROR_AT_LINE])[]_m4_defun_epi([AM_FUNC_ERROR_AT_LINE])
2012 m4_include(acversion.m4)
2014 _m4_divert(HELP_WITH)13
2016 AC_FIND_X_m4_defun_pro([AC_FIND_X])AC_DIAGNOSE([obsolete], [The macro `AC_FIND_X' is obsolete.
2017 You should run autoupdate.])dnl
2018 AC_PATH_X($@)[]AC_PROVIDE([AC_FIND_X])[]_m4_defun_epi([AC_FIND_X])
2020 m4_location(AC_PREPROC_IFELSE)acgeneral.m4:2659
2022 m4_location(AC_CANONICAL_SYSTEM)acgeneral.m4:1784
2024 m4_location(AC_ARG_ARRAY)acspecific.m4:352
2026 AC_ST_RDEV_m4_defun_pro([AC_ST_RDEV])AC_DIAGNOSE([obsolete], [The macro `AC_ST_RDEV' is obsolete.
2027 You should run autoupdate.])dnl
2028 AC_STRUCT_ST_RDEV($@)[]AC_PROVIDE([AC_ST_RDEV])[]_m4_defun_epi([AC_ST_RDEV])
2030 AC_TIMEZONE_m4_defun_pro([AC_TIMEZONE])AC_DIAGNOSE([obsolete], [The macro `AC_TIMEZONE' is obsolete.
2031 You should run autoupdate.])dnl
2032 AC_STRUCT_TIMEZONE($@)[]AC_PROVIDE([AC_TIMEZONE])[]_m4_defun_epi([AC_TIMEZONE])
2034 AC_PROG_GCC_TRADITIONAL_m4_defun_pro([AC_PROG_GCC_TRADITIONAL])if test $ac_cv_c_compiler_gnu = yes; then
2035 AC_CACHE_CHECK(whether $CC needs -traditional,
2036 ac_cv_prog_gcc_traditional,
2037 [ ac_pattern="Autoconf.*'x'"
2038 AC_EGREP_CPP($ac_pattern, [#include <sgtty.h>
2040 ac_cv_prog_gcc_traditional=yes, ac_cv_prog_gcc_traditional=no)
2042 if test $ac_cv_prog_gcc_traditional = no; then
2043 AC_EGREP_CPP($ac_pattern, [#include <termio.h>
2045 ac_cv_prog_gcc_traditional=yes)
2047 if test $ac_cv_prog_gcc_traditional = yes; then
2048 CC="$CC -traditional"
2051 []AC_PROVIDE([AC_PROG_GCC_TRADITIONAL])[]_m4_defun_epi([AC_PROG_GCC_TRADITIONAL])
2053 AC_C_CONST_m4_defun_pro([AC_C_CONST])AC_REQUIRE([AC_PROG_CC_STDC])dnl
2054 AC_CACHE_CHECK([for an ANSI C-conforming const], ac_cv_c_const,
2055 [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],
2056 [[/* FIXME: Include the comments suggested by Paul. */
2058 /* Ultrix mips cc rejects this. */
2059 typedef int charset[2];
2061 /* SunOS 4.1.1 cc rejects this. */
2062 char const *const *ccp;
2064 /* NEC SVR4.0.2 mips cc rejects this. */
2065 struct point {int x, y;};
2066 static struct point const zero = {0,0};
2067 /* AIX XL C 1.02.0.0 rejects this.
2068 It does not let you subtract one const X* pointer from another in
2069 an arm of an if-expression whose if-part is not a constant
2071 const char *g = "string";
2072 ccp = &g + (g ? g-g : 0);
2073 /* HPUX 7.0 cc rejects these. */
2076 ccp = (char const *const *) p;
2077 { /* SCO 3.2v4 cc rejects this. */
2079 char const *s = 0 ? (char *) 0 : (char const *) 0;
2083 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
2085 const int *foo = &x[0];
2088 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
2089 typedef const int *iptr;
2093 { /* AIX XL C 1.02.0.0 rejects this saying
2094 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
2095 struct s { int j; const int *ap[3]; };
2096 struct s *b; b->j = 5;
2098 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
2103 [ac_cv_c_const=yes],
2104 [ac_cv_c_const=no])])
2105 if test $ac_cv_c_const = no; then
2107 [Define to empty if `const' does not conform to ANSI C.])
2109 []AC_PROVIDE([AC_C_CONST])[]_m4_defun_epi([AC_C_CONST])
2111 m4_version_unletterm4_translit(m4_patsubst(m4_patsubst(m4_patsubst([$1],
2112 [\([0-9]+\)\([abcdefghi]\)],
2113 [m4_eval(\1 + 1).-1.\2]),
2114 [\([0-9]+\)\([jklmnopqrs]\)],
2115 [m4_eval(\1 + 1).-1.1\2]),
2116 [\([0-9]+\)\([tuvwxyz]\)],
2117 [m4_eval(\1 + 1).-1.2\2]),
2118 [abcdefghijklmnopqrstuvwxyz],
2119 [12345678901234567890123456])
2121 m4_location(AC_UTIME_NULL)acfunctions.m4:1409
2123 AS_VAR_PUSHDEFAS_LITERAL_IF([$2],
2124 [m4_pushdef([$1], [AS_TR_SH($2)])],
2126 m4_pushdef([$1], [$as_[$1]])])
2128 AC_RESTARTABLE_SYSCALLS_m4_defun_pro([AC_RESTARTABLE_SYSCALLS])AC_DIAGNOSE([obsolete], [The macro `AC_RESTARTABLE_SYSCALLS' is obsolete.
2129 You should run autoupdate.])dnl
2130 AC_SYS_RESTARTABLE_SYSCALLS($@)[]AC_PROVIDE([AC_RESTARTABLE_SYSCALLS])[]_m4_defun_epi([AC_RESTARTABLE_SYSCALLS])
2132 AC_CONFIG_SUBDIRS_m4_defun_pro([AC_CONFIG_SUBDIRS])_AC_CONFIG_UNIQUE([$1])dnl
2133 AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
2134 m4_append([_AC_LIST_SUBDIRS], [ $1])dnl
2135 AS_LITERAL_IF([$1], [],
2136 [AC_DIAGNOSE(syntax, [$0: you should use literals])])
2137 m4_divert_text([DEFAULTS],
2138 [ac_subdirs_all="$ac_subdirs_all m4_normalize([$1])"])
2139 AC_SUBST(subdirs, "$subdirs $1")dnl
2140 []AC_PROVIDE([AC_CONFIG_SUBDIRS])[]_m4_defun_epi([AC_CONFIG_SUBDIRS])
2142 AC_WARNINGAC_DIAGNOSE([syntax], [$1])
2144 m4_warnm4_warning_ifelse([$1], [_m4_warn([$2])])
2146 AC_FUNC_FORK_m4_defun_pro([AC_FUNC_FORK])AC_REQUIRE([AC_TYPE_PID_T])dnl
2147 AC_CHECK_HEADERS(unistd.h vfork.h)
2148 AC_CHECK_FUNCS(fork vfork)
2149 ac_cv_func_fork_works=$ac_cv_func_fork
2150 if test "x$ac_cv_func_fork" = xyes; then
2153 if test "x$ac_cv_func_fork_works" = xcross; then
2155 *-*-amigaos* | *-*-msdosdjgpp*)
2156 # Override, as these systems have only a dummy fork() stub
2157 ac_cv_func_fork_works=no
2160 ac_cv_func_fork_works=yes
2163 AC_MSG_WARN(CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling.)
2165 ac_cv_func_vfork_works=$ac_cv_func_vfork
2166 if test "x$ac_cv_func_vfork" = xyes; then
2169 if test "x$ac_cv_func_fork_works" = xcross; then
2170 ac_cv_func_vfork_works=ac_cv_func_vfork
2171 AC_MSG_WARN(CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling.)
2174 if test "x$ac_cv_func_vfork_works" = xyes; then
2175 AC_DEFINE(HAVE_WORKING_VFORK, 1, [Define if `vfork' works.])
2177 AC_DEFINE(vfork, fork, [Define as `fork' if `vfork' does not work.])
2179 if test "x$ac_cv_func_fork_works" = xyes; then
2180 AC_DEFINE(HAVE_WORKING_FORK, 1, [Define if `fork' works.])
2182 []AC_PROVIDE([AC_FUNC_FORK])[]_m4_defun_epi([AC_FUNC_FORK])
2184 AC_SYS_LARGEFILE_m4_defun_pro([AC_SYS_LARGEFILE])AC_ARG_ENABLE(largefile,
2185 [ --disable-largefile omit support for large files])
2186 if test "$enable_largefile" != no; then
2188 AC_CACHE_CHECK([for special C compiler options needed for large files],
2189 ac_cv_sys_largefile_CC,
2190 [ac_cv_sys_largefile_CC=no
2191 if test "$GCC" != yes; then
2194 # IRIX 6.2 and later do not support large files by default,
2195 # so use the C compiler's -n32 option if that helps.
2196 AC_LANG_CONFTEST([AC_LANG_PROGRAM([_AC_SYS_LARGEFILE_TEST_INCLUDES])])
2197 AC_COMPILE_IFELSE([], [break])
2199 AC_COMPILE_IFELSE([], [ac_cv_sys_largefile_CC=' -n32'; break])
2203 rm -f conftest.$ac_ext
2205 if test "$ac_cv_sys_largefile_CC" != no; then
2206 CC=$CC$ac_cv_sys_largefile_CC
2209 _AC_SYS_LARGEFILE_MACRO_VALUE(_FILE_OFFSET_BITS, 64,
2210 ac_cv_sys_file_offset_bits,
2211 [Number of bits in a file offset, on hosts where this is settable.],
2212 [_AC_SYS_LARGEFILE_TEST_INCLUDES])
2213 _AC_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES, 1,
2214 ac_cv_sys_large_files,
2215 [Define for large files, on AIX-style hosts.],
2216 [_AC_SYS_LARGEFILE_TEST_INCLUDES])
2218 []AC_PROVIDE([AC_SYS_LARGEFILE])[]_m4_defun_epi([AC_SYS_LARGEFILE])
2220 AC_PROG_LEXm4_provide_ifelse([AC_PROG_LEX],
2221 [m4_warn([syntax], [AC_PROG_LEX invoked multiple times])],
2222 [_m4_defun_pro([AC_PROG_LEX])AC_CHECK_PROGS(LEX, flex lex, :)
2223 if test -z "$LEXLIB"
2225 AC_CHECK_LIB(fl, yywrap, LEXLIB="-lfl",
2226 [AC_CHECK_LIB(l, yywrap, LEXLIB="-ll")])
2229 if test "x$LEX" != "x:"; then
2231 fi[]AC_PROVIDE([AC_PROG_LEX])[]_m4_defun_epi([AC_PROG_LEX])])
2233 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])
2235 m4_location(AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)acfunctions.m4:711
2237 m4_location(AC_CONFIG_AUX_DIRS)acgeneral.m4:1683
2243 AC_LIST_LINKS_COMMANDS
2245 AC_CACHE_VALm4_if(m4_regexp([$2], [AC_DEFINE]), [-1], [],
2246 [AC_DIAGNOSE(syntax,
2247 [$0($1, ...): suspicious presence of an AC_DEFINE in the second argument, ]dnl
2248 [where no actions should be taken])])dnl
2250 [echo $ECHO_N "(cached) $ECHO_C" >&AS_MESSAGE_FD],
2253 m4_location(AC_PROG_CXXCPP)aclang.m4:1125
2255 _AH_VERBATIM_OLDAS_LITERAL_IF([$1],
2256 [AH_OUTPUT([$1], _AS_QUOTE([[$2]]))])
2259 m4_location(AC_INCLUDES_DEFAULT)acgeneral.m4:2257
2261 _AS_CR_PREPARE_m4_defun_pro([_AS_CR_PREPARE])# Avoid depending upon Character Ranges.
2262 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2263 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2264 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2265 as_cr_digits='0123456789'
2266 as_cr_alnum=$as_cr_Letters$as_cr_digits
2267 []_m4_defun_epi([_AS_CR_PREPARE])
2269 m4_pattern_forbidm4_file_append(m4_defn([m4_tmpdir])/forbidden.rx, [$1])
2271 m4_divertm4_define([m4_divert_stack],
2272 m4_location[: $0: $1]m4_ifdef([m4_divert_stack], [
2273 m4_defn([m4_divert_stack])]))dnl
2274 m4_builtin([divert], _m4_divert([$1]))dnl
2279 m4_version_comparem4_list_cmp((m4_split(m4_version_unletter([$1]), [\.])),
2280 (m4_split(m4_version_unletter([$2]), [\.])))
2284 m4_location(AC_PROG_LEX)acspecific.m4:141
2286 m4_location(AC_SCO_INTL)acspecific.m4:1050
2288 m4_location(AC_LANG_SAVE)aclang.m4:167
2290 AC_CHECK_FUNCS_m4_defun_pro([AC_CHECK_FUNCS])AC_FOREACH([AC_Func], [$1],
2291 [AH_TEMPLATE(AS_TR_CPP(HAVE_[]AC_Func),
2292 [Define if you have the `]AC_Func[' function.])])dnl
2295 AC_CHECK_FUNC($ac_func,
2296 [AC_DEFINE_UNQUOTED([AS_TR_CPP([HAVE_$ac_func])]) $2],
2299 []AC_PROVIDE([AC_CHECK_FUNCS])[]_m4_defun_epi([AC_CHECK_FUNCS])
2301 m4_location(AC_ISC_POSIX)acspecific.m4:1017
2303 m4_location(AC_C_BIGENDIAN)aclang.m4:1573
2307 AC_TRY_COMMAND_m4_defun_pro([AC_TRY_COMMAND]){ ac_try='$1'
2308 _AC_EVAL([$ac_try]); }[]AC_PROVIDE([AC_TRY_COMMAND])[]_m4_defun_epi([AC_TRY_COMMAND])
2310 undivertm4_builtin([undivert], _m4_divert([$1]))
2312 m4_location(AC_PROG_AWK)acspecific.m4:118
2314 m4_location(AC_MINUS_C_MINUS_O)acoldnames.m4:60
2316 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])
2318 m4_location(AC_FIND_XTRA)acoldnames.m4:52
2320 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])
2322 AC_CANONICAL_BUILDm4_provide_ifelse([AC_CANONICAL_BUILD],
2323 [m4_warn([syntax], [AC_CANONICAL_BUILD invoked multiple times])],
2324 [_m4_defun_pro([AC_CANONICAL_BUILD])AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
2325 m4_divert_text([HELP_CANON],
2328 --build=BUILD configure for building on BUILD [guessed]]])dnl
2329 # Make sure we can run config.sub.
2330 $ac_config_sub sun4 >/dev/null 2>&1 ||
2331 AC_MSG_ERROR([cannot run $ac_config_sub])
2333 AC_CACHE_CHECK([build system type], [ac_cv_build],
2334 [ac_cv_build_alias=$build_alias
2335 test -z "$ac_cv_build_alias" &&
2336 ac_cv_build_alias=`$ac_config_guess`
2337 test -z "$ac_cv_build_alias" &&
2338 AC_MSG_ERROR([cannot guess build type; you must specify one])
2339 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2340 AC_MSG_ERROR([$ac_config_sub $ac_cv_build_alias failed.])
2342 _AC_CANONICAL_SPLIT(build)
2343 []AC_PROVIDE([AC_CANONICAL_BUILD])[]_m4_defun_epi([AC_CANONICAL_BUILD])])
2345 AH_TEMPLATEAH_VERBATIM([$1],
2346 m4_text_wrap([$2 */], [ ], [/* ])[
2349 AC_PROVIDEm4_define([AC_PROVIDE_$1])m4_provide([$1])
2351 m4_provide_ifelsem4_ifdef([m4_provide($1)],
2354 AC_DIVERT_POPm4_ifval([$1],
2355 [m4_if(_m4_divert([$1]), m4_divnum, [],
2356 [m4_fatal([$0($1): unexpected current diversion: ]m4_divnum)])])dnl
2357 m4_popdef([_m4_divert_diversion])dnl
2358 dnl m4_ifndef([_m4_divert_diversion],
2359 dnl [m4_fatal([too many m4_divert_pop])])dnl
2360 m4_builtin([divert],
2361 m4_ifdef([_m4_divert_diversion],
2362 [_m4_divert(_m4_divert_diversion)], -1))dnl
2363 m4_popdef([m4_divert_stack])dnl
2366 m4_location(AC_CONFIG_AUX_DIR)acgeneral.m4:1642
2370 m4_location(AC_CHECK_TYPE)actypes.m4:235
2372 AC_PREFIX_m4_defun_pro([AC_PREFIX])AC_DIAGNOSE([obsolete], [The macro `AC_PREFIX' is obsolete.
2373 You should run autoupdate.])dnl
2374 AC_PREFIX_PROGRAM($@)[]AC_PROVIDE([AC_PREFIX])[]_m4_defun_epi([AC_PREFIX])
2376 AC_OBJEXT_m4_defun_pro([AC_OBJEXT])[]AC_PROVIDE([AC_OBJEXT])[]_m4_defun_epi([AC_OBJEXT])
2378 AC_HELP_STRINGm4_pushdef([AC_Prefix], m4_default([$3], [ ]))dnl
2379 m4_pushdef([AC_Prefix_Format],
2380 [ %-]m4_eval(m4_len(AC_Prefix) - 3)[s ])dnl [ %-23s ]
2381 m4_text_wrap([$2], AC_Prefix, m4_format(AC_Prefix_Format, [$1]))dnl
2382 m4_popdef([AC_Prefix_Format])dnl
2383 m4_popdef([AC_Prefix])dnl
2386 m4_location(AC_REQUIRE_CPP)aclang.m4:583
2388 m4_location(AC_CANONICAL_TARGET)acgeneral.m4:1781
2390 _AC_LIBOBJAS_LITERAL_IF([$1],
2391 [AC_LIBSOURCE([$1.c])],
2393 AC_SUBST([LIBOBJS])dnl
2394 LIBOBJS="$LIBOBJS $1.$ac_objext"
2396 AC_CACHE_SAVEcat >confcache <<\_ACEOF
2397 # This file is a shell script that caches the results of configure
2398 # tests run on this system so they can be shared between configure
2399 # scripts and configure runs, see configure's option --config-cache.
2400 # It is not useful on other systems. If it contains results you don't
2401 # want to keep, you may remove or edit it.
2403 # config.status only pays attention to the cache file if you give it
2404 # the --recheck option to rerun configure.
2406 # `ac_cv_env_foo' variables (set or unset) will be overriden when
2407 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2416 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2418 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2420 if cmp -s $cache_file confcache; then :; else
2421 if test -w $cache_file; then
2422 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2423 cat confcache >$cache_file
2425 echo "not updating unwritable cache $cache_file"
2428 rm -f confcache[]dnl
2433 AC_PROG_F77_m4_defun_pro([AC_PROG_F77])AC_LANG_PUSH(Fortran 77)dnl
2434 AC_ARG_VAR([F77], [Fortran 77 compiler command])dnl
2435 AC_ARG_VAR([FFLAGS], [Fortran 77 compiler flags])dnl
2436 _AC_ARG_VAR_LDFLAGS()dnl
2439 [g77 f77 xlf cf77 cft77 frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 fc])])
2441 # Provide some information about the compiler.
2442 echo "$as_me:__oline__:" \
2443 "checking for _AC_LANG compiler version" >&AS_MESSAGE_LOG_FD
2444 ac_compiler=`set X $ac_compile; echo $[2]`
2445 _AC_EVAL([$ac_compiler --version </dev/null >&AS_MESSAGE_LOG_FD])
2446 _AC_EVAL([$ac_compiler -v </dev/null >&AS_MESSAGE_LOG_FD])
2447 _AC_EVAL([$ac_compiler -V </dev/null >&AS_MESSAGE_LOG_FD])
2449 m4_expand_once([_AC_COMPILER_EXEEXT])[]dnl
2450 m4_expand_once([_AC_COMPILER_OBJEXT])[]dnl
2451 # If we don't use `.F' as extension, the preprocessor is not run on the
2455 _AC_LANG_COMPILER_GNU
2457 G77=`test $ac_compiler_gnu = yes && echo yes`
2459 AC_LANG_POP(Fortran 77)dnl
2460 []AC_PROVIDE([AC_PROG_F77])[]_m4_defun_epi([AC_PROG_F77])
2464 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])
2466 AC_OUTPUT_COMMANDS_PRE
2468 AC_LINKER_OPTION_m4_defun_pro([AC_LINKER_OPTION])if test "$ac_compiler_gnu" = yes; then
2469 for ac_link_opt in $1; do
2470 $2="[$]$2 -Xlinker $ac_link_opt"
2474 fi[]AC_PROVIDE([AC_LINKER_OPTION])[]_m4_defun_epi([AC_LINKER_OPTION])
2476 m4_location(AC_WORDS_BIGENDIAN)acoldnames.m4:77
2478 _AC_LIBOBJ_GETLOADAVGAC_LIBOBJ(getloadavg)
2479 AC_DEFINE(C_GETLOADAVG, 1, [Define if using `getloadavg.c'.])
2480 # Figure out what our getloadavg.c needs.
2482 AC_CHECK_HEADER(sys/dg_sys_info.h,
2484 AC_DEFINE(DGUX, 1, [Define for DGUX with <sys/dg_sys_info.h>.])
2485 AC_CHECK_LIB(dgc, dg_sys_info)])
2487 AC_CHECK_HEADER(locale.h)
2488 AC_CHECK_FUNCS(setlocale)
2490 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
2491 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because
2492 # Irix 4.0.5F has the header but not the library.
2493 if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then
2495 AC_DEFINE(SVR4, 1, [Define on System V Release 4.])
2498 if test $ac_have_func = no; then
2499 AC_CHECK_HEADER(inq_stats/cpustats.h,
2501 AC_DEFINE(UMAX, 1, [Define for Encore UMAX.])
2502 AC_DEFINE(UMAX4_3, 1,
2503 [Define for Encore UMAX 4.3 that has <inq_status/cpustats.h>
2504 instead of <sys/cpustats.h>.])])
2507 if test $ac_have_func = no; then
2508 AC_CHECK_HEADER(sys/cpustats.h,
2509 [ac_have_func=yes; AC_DEFINE(UMAX)])
2512 if test $ac_have_func = no; then
2513 AC_CHECK_HEADERS(mach/mach.h)
2516 AC_CHECK_HEADERS(nlist.h,
2517 [AC_CHECK_MEMBERS([struct nlist.n_un.n_name],
2518 [AC_DEFINE(NLIST_NAME_UNION, 1,
2519 [Define if your `struct nlist' has an
2520 `n_un' member. Obsolete, depend on
2521 `HAVE_STRUCT_NLIST_N_UN_N_NAME])], [],
2522 [@%:@include <nlist.h>])
2526 m4_location(AC_FUNC_ALLOCA)acfunctions.m4:245
2528 _AC_CONFIG_DEPENDENCYm4_ifval([$2],
2529 [AC_FILE_DEPENDENCY_TRACE($@)],
2530 [AC_FILE_DEPENDENCY_TRACE([$1], [$1.in])])
2532 AC_ST_BLOCKS_m4_defun_pro([AC_ST_BLOCKS])AC_DIAGNOSE([obsolete], [The macro `AC_ST_BLOCKS' is obsolete.
2533 You should run autoupdate.])dnl
2534 AC_STRUCT_ST_BLOCKS($@)[]AC_PROVIDE([AC_ST_BLOCKS])[]_m4_defun_epi([AC_ST_BLOCKS])
2536 m4_location(AC_MINGW32)acspecific.m4:937
2538 m4_include(acoldnames.m4)
2540 m4_location(AC_UNISTD_H)acheaders.m4:391
2542 m4_cr_LettersabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
2544 AC_WAIT3_m4_defun_pro([AC_WAIT3])AC_DIAGNOSE([obsolete], [The macro `AC_WAIT3' is obsolete.
2545 You should run autoupdate.])dnl
2546 AC_FUNC_WAIT3($@)[]AC_PROVIDE([AC_WAIT3])[]_m4_defun_epi([AC_WAIT3])
2548 _m4_divert(GROW)10000
2550 AC_ARG_VAR_m4_defun_pro([AC_ARG_VAR])m4_divert_once([HELP_VAR], [[
2551 Some influential environment variables:]])dnl
2552 m4_divert_once([HELP_VAR_END], [[
2553 Use these variables to override the choices made by `configure' or to help
2554 it to find libraries and programs with nonstandard names/locations.]])dnl
2555 m4_expand_once([m4_divert_once([HELP_VAR],
2556 [AC_HELP_STRING([$1], [$2], [ ])])],
2558 _AC_ARG_VAR_PRECIOUS([$1])dnl
2559 []AC_PROVIDE([AC_ARG_VAR])[]_m4_defun_epi([AC_ARG_VAR])
2563 m4_location(AC_C_LONG_DOUBLE)aclang.m4:1529
2565 _AC_INIT_CONFIG_LOGm4_divert_text([INIT_PREPARE],
2566 [m4_define([AS_MESSAGE_LOG_FD], 5)dnl
2567 exec AS_MESSAGE_LOG_FD>config.log
2568 cat >&AS_MESSAGE_LOG_FD <<EOF
2569 This file contains any messages produced by compilers while
2570 running configure, to aid debugging if configure makes a mistake.
2572 It was created by m4_ifset([AC_PACKAGE_NAME],
2573 [AC_PACKAGE_NAME ])dnl
2574 $as_me[]m4_ifset([AC_PACKAGE_VERSION],
2575 [ AC_PACKAGE_VERSION]), which was
2576 generated by GNU Autoconf AC_ACVERSION. Invocation command line was
2581 AS_UNAME >&AS_MESSAGE_LOG_FD
2583 cat >&AS_MESSAGE_LOG_FD <<EOF
2591 m4_re_string[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789]*
2593 m4_location(m4_join)m4sugar.m4:1478
2595 m4_location(AC_C_STRINGIZE)aclang.m4:1709
2597 changequotechangequote
2599 _AC_PROG_CC_Gac_test_CFLAGS=${CFLAGS+set}
2600 ac_save_CFLAGS=$CFLAGS
2602 AC_CACHE_CHECK(whether $CC accepts -g, ac_cv_prog_cc_g,
2603 [_AC_COMPILE_IFELSE([AC_LANG_PROGRAM()], [ac_cv_prog_cc_g=yes],
2604 [ac_cv_prog_cc_g=no])])
2605 if test "$ac_test_CFLAGS" = set; then
2606 CFLAGS=$ac_save_CFLAGS
2607 elif test $ac_cv_prog_cc_g = yes; then
2608 if test "$GCC" = yes; then
2614 if test "$GCC" = yes; then
2622 _AC_COMPILER_OBJEXTAC_CACHE_CHECK([for object suffix], ac_cv_objext,
2623 [AC_LANG_CONFTEST([AC_LANG_PROGRAM()])
2624 rm -f conftest.o conftest.obj
2625 AS_IF([AC_TRY_EVAL(ac_compile)],
2626 [for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2628 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2629 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2633 [echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD
2634 cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD
2635 AC_MSG_ERROR([cannot compute OBJEXT: cannot compile])])
2636 rm -f conftest.$ac_cv_objext conftest.$ac_ext])
2637 AC_SUBST([OBJEXT], [$ac_cv_objext])dnl
2641 _AS_TR_SH_PREPARE_m4_defun_pro([_AS_TR_SH_PREPARE])m4_require([_AS_CR_PREPARE])dnl
2642 # Sed expression to map a string onto a valid variable name.
2643 as_tr_sh="sed y%*+%pp%;s%[[^_$as_cr_alnum]]%_%g"
2644 []_m4_defun_epi([_AS_TR_SH_PREPARE])
2646 _AC_LIBOBJ_ALLOCA# The SVR3 libPW and SVR4 libucb both contain incompatible functions
2647 # that cause trouble. Some versions do not even contain alloca or
2648 # contain a buggy version. If you still want to use their alloca,
2649 # use ar to extract alloca.o from them instead of compiling alloca.c.
2650 AC_LIBSOURCES(alloca.c)
2651 AC_SUBST(ALLOCA, alloca.$ac_objext)dnl
2652 AC_DEFINE(C_ALLOCA, 1, [Define if using `alloca.c'.])
2654 AC_CACHE_CHECK(whether `alloca.c' needs Cray hooks, ac_cv_os_cray,
2655 [AC_EGREP_CPP(webecray,
2656 [#if defined(CRAY) && ! defined(CRAY2)
2661 ], ac_cv_os_cray=yes, ac_cv_os_cray=no)])
2662 if test $ac_cv_os_cray = yes; then
2663 for ac_func in _getb67 GETB67 getb67; do
2664 AC_CHECK_FUNC($ac_func,
2665 [AC_DEFINE_UNQUOTED(CRAY_STACKSEG_END, $ac_func,
2666 [Define to one of `_getb67', `GETB67',
2667 `getb67' for Cray-2 and Cray-YMP
2668 systems. This function is required for
2669 `alloca.c' support on those systems.])
2674 AC_CACHE_CHECK([stack direction for C alloca],
2675 [ac_cv_c_stack_direction],
2676 [AC_RUN_IFELSE([AC_LANG_SOURCE(
2678 find_stack_direction ()
2680 static char *addr = 0;
2685 return find_stack_direction ();
2688 return (&dummy > addr) ? 1 : -1;
2694 exit (find_stack_direction () < 0);
2696 [ac_cv_c_stack_direction=1],
2697 [ac_cv_c_stack_direction=-1],
2698 [ac_cv_c_stack_direction=0])])
2699 AH_VERBATIM([STACK_DIRECTION],
2700 [/* If using the C implementation of alloca, define if you know the
2701 direction of stack growth for your system; otherwise it will be
2702 automatically deduced at run-time.
2703 STACK_DIRECTION > 0 => grows toward higher addresses
2704 STACK_DIRECTION < 0 => grows toward lower addresses
2705 STACK_DIRECTION = 0 => direction of growth unknown */
2706 @%:@undef STACK_DIRECTION])dnl
2707 AC_DEFINE_UNQUOTED(STACK_DIRECTION, $ac_cv_c_stack_direction)
2710 m4_location(AC_VFORK)acfunctions.m4:1585
2712 m4_location(AC_CHECK_FUNC)acfunctions.m4:74
2714 m4_location(AC_DIR_HEADER)acheaders.m4:454
2718 m4_location(AC_OUTPUT)acgeneral.m4:3443
2720 AC_HAVE_LIBRARY_m4_defun_pro([AC_HAVE_LIBRARY])AC_DIAGNOSE([obsolete], [The macro `AC_HAVE_LIBRARY' is obsolete.
2721 You should run autoupdate.])dnl
2722 m4_pushdef([AC_Lib_Name],
2723 m4_patsubst(m4_patsubst([[$1]],
2724 [lib\([^\.]*\)\.a], [\1]),
2726 AC_CHECK_LIB(AC_Lib_Name, main, [$2], [$3], [$4])dnl
2727 ac_cv_lib_[]AC_Lib_Name()=ac_cv_lib_[]AC_Lib_Name()_main
2728 m4_popdef([AC_Lib_Name])dnl
2729 []AC_PROVIDE([AC_HAVE_LIBRARY])[]_m4_defun_epi([AC_HAVE_LIBRARY])
2731 m4_location(AC_FUNC_GETLOADAVG)acfunctions.m4:565
2733 m4_location(AC_COMPILE_IFELSE)acgeneral.m4:2733
2735 AC_LANG_RESTORE_m4_defun_pro([AC_LANG_RESTORE])AC_DIAGNOSE([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
2736 You should run autoupdate.])dnl
2737 AC_LANG_POP($@)[]AC_PROVIDE([AC_LANG_RESTORE])[]_m4_defun_epi([AC_LANG_RESTORE])
2739 m4_appendm4_define([$1],
2740 m4_ifdef([$1], [m4_defn([$1])])[$2])
2742 _AC_PREPROC_IFELSE_m4_defun_pro([_AC_PREPROC_IFELSE])m4_ifvaln([$1], [AC_LANG_CONFTEST([$1])])dnl
2743 if _AC_EVAL_STDERR([$ac_cpp conftest.$ac_ext]) >/dev/null; then
2744 if test -s conftest.err; then
2745 ac_cpp_err=$ac_[]_AC_LANG_ABBREV[]_preproc_warn_flag
2752 if test -z "$ac_cpp_err"; then
2755 echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD
2756 cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD
2759 rm -f conftest.err m4_ifval([$1], [conftest.$ac_ext])[]dnl
2760 []AC_PROVIDE([_AC_PREPROC_IFELSE])[]_m4_defun_epi([_AC_PREPROC_IFELSE])
2762 AC_SIZE_T_m4_defun_pro([AC_SIZE_T])AC_DIAGNOSE([obsolete], [The macro `AC_SIZE_T' is obsolete.
2763 You should run autoupdate.])dnl
2764 AC_TYPE_SIZE_T($@)[]AC_PROVIDE([AC_SIZE_T])[]_m4_defun_epi([AC_SIZE_T])
2766 AC_LIBOBJ_AC_LIBOBJ([$1],
2767 [AC_DIAGNOSE(syntax,
2768 [$0($1): you should use literals])])dnl
2771 m4_location(AC_TYPE_GETGROUPS)actypes.m4:284
2773 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])
2775 AS_TR_SH_m4_defun_pro([AS_TR_SH])m4_require([_$0_PREPARE])dnl
2777 [m4_patsubst(m4_translit([[$1]], [*+], [pp]),
2778 [[^a-zA-Z0-9_]], [_])],
2779 [`echo "$1" | $as_tr_sh`])[]_m4_defun_epi([AS_TR_SH])
2781 _AC_INIT_VERSIONm4_divert_text([VERSION_BEGIN],
2782 [if $ac_init_version; then
2784 m4_ifset([AC_PACKAGE_STRING],
2785 [m4_divert_text([VERSION_BEGIN],
2787 m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])configure[]dnl
2788 m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
2789 generated by GNU Autoconf AC_ACVERSION])])
2790 m4_divert_text([VERSION_END],
2796 m4_location(AC_WAIT3)acfunctions.m4:1666
2798 m4_location(AC_FUNC_MEMCMP)acfunctions.m4:773
2800 AC_CHECK_TOOL_m4_defun_pro([AC_CHECK_TOOL])if test -n "$ac_tool_prefix"; then
2801 AC_CHECK_PROG([$1], [${ac_tool_prefix}$2], [${ac_tool_prefix}$2], , [$4])
2803 if test -z "$ac_cv_prog_$1"; then
2805 AC_CHECK_PROG([ac_ct_$1], [$2], [$2], [$3], [$4])
2810 []AC_PROVIDE([AC_CHECK_TOOL])[]_m4_defun_epi([AC_CHECK_TOOL])
2812 m4_location(AC_F77_MAIN)aclang.m4:2027
2814 _AC_LIBOBJ_STRTODAC_LIBOBJ(strtod)
2816 if test $ac_cv_func_pow = no; then
2817 AC_CHECK_LIB(m, pow,
2819 [AC_MSG_WARN([can't find library containing definition of pow])])
2823 AS_BASENAME_m4_defun_pro([AS_BASENAME])echo "$1" |sed 's,.*[[\\/]],,'[]_m4_defun_epi([AS_BASENAME])
2825 m4_location(AC_SIZE_T)acoldnames.m4:67
2827 m4_location(AC_HAVE_FUNCS)acfunctions.m4:107
2829 _AC_FUNC_VFORK_m4_defun_pro([_AC_FUNC_VFORK])AC_CACHE_CHECK(for working vfork, ac_cv_func_vfork_works,
2830 [AC_TRY_RUN([/* Thanks to Paul Eggert for this test. */
2832 #include <sys/types.h>
2833 #include <sys/stat.h>
2835 # include <unistd.h>
2840 /* On some sparc systems, changes by the child to local and incoming
2841 argument registers are propagated back to the parent. The compiler
2842 is told about this with #include <vfork.h>, but some compilers
2843 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
2844 static variable whose address is put into a register that is
2845 clobbered by the vfork. */
2848 sparc_address_test (int arg)
2850 sparc_address_test (arg) int arg;
2871 pid_t parent = getpid ();
2874 sparc_address_test ();
2879 /* Here is another test for sparc vfork register problems. This
2880 test uses lots of local variables, at least as many local
2881 variables as main has allocated so far including compiler
2882 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
2883 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
2884 reuse the register of parent for one of the local variables,
2885 since it will think that parent can't possibly be used any more
2886 in this routine. Assigning to the local variable will thus
2887 munge parent in the parent process. */
2889 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
2890 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
2891 /* Convince the compiler that p..p7 are live; otherwise, it might
2892 use the same hardware register for all 8 local variables. */
2893 if (p != p1 || p != p2 || p != p3 || p != p4
2894 || p != p5 || p != p6 || p != p7)
2897 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
2898 from child file descriptors. If the child closes a descriptor
2899 before it execs or exits, this munges the parent's descriptor
2900 as well. Test for this by closing stdout in the child. */
2901 _exit(close(fileno(stdout)) != 0);
2906 while (wait(&status) != child)
2909 /* Was there some problem with vforking? */
2912 /* Did the child fail? (This shouldn't happen.) */
2915 /* Did the vfork/compiler bug occur? */
2916 || parent != getpid()
2918 /* Did the file descriptor bug occur? */
2919 || fstat(fileno(stdout), &st) != 0
2923 [ac_cv_func_vfork_works=yes],
2924 [ac_cv_func_vfork_works=no],
2925 [ac_cv_func_vfork_works=cross])])
2926 []AC_PROVIDE([_AC_FUNC_VFORK])[]_m4_defun_epi([_AC_FUNC_VFORK])
2928 _AC_COMPUTE_INTif test "$cross_compiling" = yes; then
2929 _AC_COMPUTE_INT_COMPILE([$1], [$2], [$3])
2931 _AC_COMPUTE_INT_RUN([$1], [$2], [$3], [$4])
2933 rm -f conftest.val[]dnl
2936 m4_tolowerm4_translit([$1],
2937 [ABCDEFGHIJKLMNOPQRSTUVWXYZ],
2938 [abcdefghijklmnopqrstuvwxyz])
2940 m4_location(AC_FUNC_CLOSEDIR_VOID)acfunctions.m4:311
2942 AC_MEMORY_H_m4_defun_pro([AC_MEMORY_H])AC_DIAGNOSE([obsolete], [The macro `AC_MEMORY_H' is obsolete.
2943 You should run autoupdate.])dnl
2944 AC_DIAGNOSE([obsolete], [$0: Remove this warning and
2945 `AC_CHECK_HEADER(memory.h, AC_DEFINE(...))' when you ajust your code to
2946 use and HAVE_STRING_H and HAVE_MEMORY_H, not NEED_MEMORY_H.])dnl
2947 AC_CHECK_HEADER(memory.h,
2948 [AC_DEFINE([NEED_MEMORY_H], 1,
2949 [Same as `HAVE_MEMORY_H', don't depend on me.])])
2950 AC_CHECK_HEADERS(string.h memory.h)
2951 []AC_PROVIDE([AC_MEMORY_H])[]_m4_defun_epi([AC_MEMORY_H])
2955 m4_location(AC_TYPE_OFF_T)actypes.m4:308
2957 m4_location(AC_FUNC_GETGROUPS)acfunctions.m4:422
2959 m4_location(AC_CHECK_PROGS)acgeneral.m4:2355
2961 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])
2963 m4_location(_AS_LN_S_PREPARE)m4sh.m4:353
2965 m4_location(AC_CHECK_TOOLS)acgeneral.m4:2471
2967 m4_warning_ifelse_m4_warning_ifelse([$1], [$2], [$3], m4_warnings)
2969 m4_location(ac_cv_prog_g77)aclang.m4:1270
2971 m4_list_appendm4_define([$1],
2972 m4_ifdef([$1], [m4_defn([$1]), ])[$2])
2974 m4_fatalm4_errprintn(m4_location[: error: $1])dnl
2975 m4_expansion_stack_dump()dnl
2976 m4_exit(m4_if([$2],, 1, [$2]))
2978 AC_HEADER_TIOCGWINSZ_m4_defun_pro([AC_HEADER_TIOCGWINSZ])AC_REQUIRE([AC_SYS_POSIX_TERMIOS])dnl
2979 if test $ac_cv_sys_posix_termios = yes; then
2980 _AC_HEADER_TIOCGWINSZ_IN_TERMIOS_H
2982 if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then
2983 _AC_HEADER_TIOCGWINSZ_IN_SYS_IOCTL
2984 if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then
2985 AC_DEFINE(GWINSZ_IN_SYS_IOCTL,1,
2986 [Define if `TIOCGWINSZ' requires <sys/ioctl.h>])
2989 []AC_PROVIDE([AC_HEADER_TIOCGWINSZ])[]_m4_defun_epi([AC_HEADER_TIOCGWINSZ])
2991 _AC_COMPILER_EXEEXT_OAC_MSG_CHECKING([for executable suffix])
2992 AS_IF([AC_TRY_EVAL(ac_link)],
2993 [# If both `conftest.exe' and `conftest' are `present' (well, observable)
2994 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2995 # work properly (i.e., refer to `conftest.exe'), while it won't with
2997 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2999 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
3000 *.* ) ac_cv_exeext=`expr "$ac_file" : ['[^.]*\(\..*\)']`
3006 [AC_MSG_ERROR([cannot compute EXEEXT: cannot compile and link])])
3007 rm -f conftest$ac_cv_exeext
3008 AC_MSG_RESULT([$ac_cv_exeext])
3011 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])
3013 m4_location(AC_LANG_CALL)aclang.m4:315
3015 m4_location(AC_FD_CC)acgeneral.m4:575
3017 _m4_divert(DEFAULTS)3
3019 m4_location(_AC_EVAL_STDERR)acgeneral.m4:2160
3021 m4_location(AC_TRY_EVAL)acgeneral.m4:2168
3023 _AC_PROG_CXX_EXIT_DECLARATIONfor ac_declaration in \
3025 '#include <stdlib.h>' \
3026 'extern "C" void std::exit (int) throw (); using std::exit;' \
3027 'extern "C" void std::exit (int); using std::exit;' \
3028 'extern "C" void exit (int) throw ();' \
3029 'extern "C" void exit (int);' \
3032 _AC_COMPILE_IFELSE([AC_LANG_PROGRAM([@%:@include <stdlib.h>
3037 _AC_COMPILE_IFELSE([AC_LANG_PROGRAM([$ac_declaration],
3042 if test -n "$ac_declaration"; then
3043 echo '#ifdef __cplusplus' >>confdefs.h
3044 echo $ac_declaration >>confdefs.h
3045 echo '#endif' >>confdefs.h
3049 AC_SEARCH_LIBS_m4_defun_pro([AC_SEARCH_LIBS])AC_CACHE_CHECK([for library containing $1], [ac_cv_search_$1],
3050 [ac_func_search_save_LIBS=$LIBS
3052 AC_TRY_LINK_FUNC([$1], [ac_cv_search_$1="none required"])
3053 if test "$ac_cv_search_$1" = no; then
3054 for ac_lib in $2; do
3055 LIBS="-l$ac_lib $5 $ac_func_search_save_LIBS"
3056 AC_TRY_LINK_FUNC([$1],
3057 [ac_cv_search_$1="-l$ac_lib"
3061 LIBS=$ac_func_search_save_LIBS])
3062 AS_IF([test "$ac_cv_search_$1" != no],
3063 [test "$ac_cv_search_$1" = "none required" || LIBS="$ac_cv_search_$1 $LIBS"
3066 []AC_PROVIDE([AC_SEARCH_LIBS])[]_m4_defun_epi([AC_SEARCH_LIBS])
3068 AC_USG_m4_defun_pro([AC_USG])AC_DIAGNOSE([obsolete], [The macro `AC_USG' is obsolete.
3069 You should run autoupdate.])dnl
3070 AC_DIAGNOSE([obsolete],
3071 [$0: Remove `AC_MSG_CHECKING', `AC_TRY_LINK' and this `AC_WARNING'
3072 when you ajust your code to use HAVE_STRING_H.])dnl
3073 AC_MSG_CHECKING([for BSD string and memory functions])
3074 AC_TRY_LINK([@%:@include <strings.h>], [rindex(0, 0); bzero(0, 0);],
3075 [AC_MSG_RESULT(yes)],
3078 [Define if you do not have <strings.h>, index, bzero, etc...
3079 This symbol is obsolete, you should not depend upon it.])])
3080 AC_CHECK_HEADERS(string.h)[]AC_PROVIDE([AC_USG])[]_m4_defun_epi([AC_USG])
3082 m4_location(AC_FUNC_VFORK)acfunctions.m4:1581
3084 m4_location(AC_CONFIG_HEADERS)acgeneral.m4:3291
3086 m4_location(AC_CONFIG_HEADER)acgeneral.m4:3304
3088 m4_location(AC_PROG_INSTALL)acspecific.m4:264
3090 _AC_CACHE_DUMP# The following way of writing the cache mishandles newlines in values,
3091 # but we know of no workaround that is simple, portable, and efficient.
3092 # So, don't put newlines in cache variables' values.
3093 # Ultrix sh set writes to stderr and can't be redirected directly,
3094 # and sets the high bit in the cache file unless we assign to the vars.
3097 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3099 # `set' does not quote correctly, so add quotes (double-quote
3100 # substitution turns \\\\ into \\, and sed turns \\ into \).
3103 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"]
3106 # `set' quotes correctly as required by POSIX, so do not add quotes.
3108 ["s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"]
3114 AC_PREFIX_PROGRAM_m4_defun_pro([AC_PREFIX_PROGRAM])dnl Get an upper case version of $[1].
3115 m4_pushdef([AC_Prog], m4_toupper([$1]))dnl
3116 if test "x$prefix" = xNONE; then
3117 dnl We reimplement AC_MSG_CHECKING (mostly) to avoid the ... in the middle.
3118 echo $ECHO_N "checking for prefix by $ECHO_C" >&AS_MESSAGE_FD
3119 AC_PATH_PROG(m4_quote(AC_Prog), [$1])
3120 if test -n "$ac_cv_path_[]AC_Prog"; then
3121 prefix=`AS_DIRNAME(["$ac_cv_path_[]AC_Prog"])`
3124 m4_popdef([AC_Prog])dnl
3125 []AC_PROVIDE([AC_PREFIX_PROGRAM])[]_m4_defun_epi([AC_PREFIX_PROGRAM])
3127 m4_location(AC_DECL_SYS_SIGLIST)acspecific.m4:313
3129 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])
3131 m4_location(_AS_TR_CPP_PREPARE)m4sh.m4:589
3133 _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,
3134 # as systems may use methods other than mode bits to determine executability.
3135 cat >conf$$.file <<_ASEOF
3139 chmod +x conf$$.file
3140 if test -x conf$$.file >/dev/null 2>&1; then
3141 as_executable_p="test -x"
3142 elif test -f conf$$.file >/dev/null 2>&1; then
3143 as_executable_p="test -f"
3145 AS_ERROR([cannot check whether a file is executable on this system])
3148 []_m4_defun_epi([_AS_BROKEN_TEST_PREPARE])
3150 AC_COMPILE_IFELSE_m4_defun_pro([AC_COMPILE_IFELSE])AC_LANG_COMPILER_REQUIRE()dnl
3151 _AC_COMPILE_IFELSE($@)[]AC_PROVIDE([AC_COMPILE_IFELSE])[]_m4_defun_epi([AC_COMPILE_IFELSE])
3153 AC_ALLOCA_m4_defun_pro([AC_ALLOCA])AC_DIAGNOSE([obsolete], [The macro `AC_ALLOCA' is obsolete.
3154 You should run autoupdate.])dnl
3155 AC_FUNC_ALLOCA($@)[]AC_PROVIDE([AC_ALLOCA])[]_m4_defun_epi([AC_ALLOCA])
3157 m4_location(AC_PROGRAMS_CHECK)acoldnames.m4:33
3159 m4_location(AC_LANG_C)aclang.m4:212
3161 _AS_UNSET_PREPARE_m4_defun_pro([_AS_UNSET_PREPARE])# Support unset when possible.
3162 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3167 []_m4_defun_epi([_AS_UNSET_PREPARE])
3169 AC_C_CROSS_m4_defun_pro([AC_C_CROSS])AC_DIAGNOSE([obsolete], [The macro `AC_C_CROSS' is obsolete.
3170 You should run autoupdate.])dnl
3171 []AC_PROVIDE([AC_C_CROSS])[]_m4_defun_epi([AC_C_CROSS])
3173 m4_location(_AC_LINK_FILES_CNT)acgeneral.m4:3370
3175 _AC_COMPUTE_INT_RUNAC_RUN_IFELSE([AC_LANG_INT_SAVE([$3], [$1])],
3176 [$2=`cat conftest.val`], [$4])
3180 AC_YYTEXT_POINTER_m4_defun_pro([AC_YYTEXT_POINTER])AC_DIAGNOSE([obsolete], [The macro `AC_YYTEXT_POINTER' is obsolete.
3181 You should run autoupdate.])dnl
3182 AC_DECL_YYTEXT($@)[]AC_PROVIDE([AC_YYTEXT_POINTER])[]_m4_defun_epi([AC_YYTEXT_POINTER])
3184 m4_location(AC_FUNC_GETPGRP)acfunctions.m4:671
3186 _AC_INIT_COPYRIGHTAC_COPYRIGHT(
3187 [Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3188 Free Software Foundation, Inc.
3189 This configure script is free software; the Free Software Foundation
3190 gives unlimited permission to copy, distribute and modify it.],
3196 m4_location(AC_FUNC_CHECK)acfunctions.m4:102
3200 m4_location(AC_FUNC_WAIT3)acfunctions.m4:1661
3202 m4_ifvalnm4_if([$1],
3206 _AC_PROG_PREPROC_WORKS_IFELSE_m4_defun_pro([_AC_PROG_PREPROC_WORKS_IFELSE])ac_preproc_ok=false
3207 for ac_[]_AC_LANG_ABBREV[]_preproc_warn_flag in '' yes
3209 # Use a header file that comes with gcc, so configuring glibc
3210 # with a fresh cross-compiler works.
3211 # On the NeXT, cc -E runs the code through the compiler's parser,
3212 # not just through cpp. "Syntax error" is here to catch this case.
3213 _AC_PREPROC_IFELSE([AC_LANG_SOURCE([[@%:@include <assert.h>
3216 [# Broken: fails on valid input.
3219 # OK, works on sane cases. Now check whether non-existent headers
3220 # can be detected and how.
3221 _AC_PREPROC_IFELSE([AC_LANG_SOURCE([[@%:@include <ac_nonexistent.h>]])],
3222 [# Broken: success on invalid input.
3224 [# Passes both tests.
3229 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3230 rm -f conftest.err conftest.$ac_ext
3231 AS_IF([$ac_preproc_ok], [$1], [$2])[]AC_PROVIDE([_AC_PROG_PREPROC_WORKS_IFELSE])[]_m4_defun_epi([_AC_PROG_PREPROC_WORKS_IFELSE])
3233 undefinem4_ifndef([$1],
3234 [m4_fatal([$0: undefined macro: $1])])dnl
3235 m4_builtin([undefine], $@)
3237 m4_location(AC_TEST_CPP)acoldnames.m4:39
3239 _m4_divert(VERSION_FSF)21
3241 AC_SUBSTm4_ifvaln([$2], [$1=$2])[]dnl
3242 _AC_SUBST([$1], [s,@$1@,[$]$1,;t t])dnl
3245 AC_ARG_ARRAY_m4_defun_pro([AC_ARG_ARRAY])AC_DIAGNOSE([obsolete], [The macro `AC_ARG_ARRAY' is obsolete.
3246 You should run autoupdate.])dnl
3247 AC_DIAGNOSE([obsolete],
3248 [$0: no longer implemented: don't do unportable things
3249 with arguments. Remove this warning when you adjust your code.])[]AC_PROVIDE([AC_ARG_ARRAY])[]_m4_defun_epi([AC_ARG_ARRAY])
3251 m4_location(AC_TRY_COMMAND)acgeneral.m4:2175
3253 m4_location(AC_C_CHAR_UNSIGNED)aclang.m4:1503
3255 AC_MINIX_m4_defun_pro([AC_MINIX])AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl
3256 AC_BEFORE([$0], [AC_RUN_IFELSE])dnl
3257 AC_CHECK_HEADER(minix/config.h, MINIX=yes, MINIX=)
3258 if test "$MINIX" = yes; then
3259 AC_DEFINE(_POSIX_SOURCE, 1,
3260 [Define if you need to in order for `stat' and other things to
3262 AC_DEFINE(_POSIX_1_SOURCE, 2,
3263 [Define if the system does not provide POSIX.1 features except
3264 with this defined.])
3265 AC_DEFINE(_MINIX, 1,
3266 [Define if on MINIX.])
3268 []AC_PROVIDE([AC_MINIX])[]_m4_defun_epi([AC_MINIX])
3270 m4_rename_m4m4_rename([$1], [m4_$1])
3272 AC_PROGRAM_PATH_m4_defun_pro([AC_PROGRAM_PATH])AC_DIAGNOSE([obsolete], [The macro `AC_PROGRAM_PATH' is obsolete.
3273 You should run autoupdate.])dnl
3274 AC_PATH_PROG($@)[]AC_PROVIDE([AC_PROGRAM_PATH])[]_m4_defun_epi([AC_PROGRAM_PATH])
3276 _m4_defun_prom4_expansion_stack_push(m4_defn([m4_location($1)])[: $1 is expanded from...])dnl
3277 m4_pushdef([_m4_expanding($1)])dnl
3278 m4_ifdef([_m4_divert_dump],
3279 [m4_divert_push(m4_defn([_m4_divert_diversion]))],
3280 [m4_copy([_m4_divert_diversion], [_m4_divert_dump])dnl
3281 m4_divert_push([GROW])])dnl
3284 AU_ALIASAU_DEFUN([$1], [$2($][@)])
3290 m4_location(AC_FUNC_STRERROR_R)acfunctions.m4:1310
3292 m4_location(AC_ERROR)acoldnames.m4:28
3294 AC_CONFIG_HEADER_m4_defun_pro([AC_CONFIG_HEADER])AC_CONFIG_HEADERS([$1])[]AC_PROVIDE([AC_CONFIG_HEADER])[]_m4_defun_epi([AC_CONFIG_HEADER])
3298 m4_location(AC_REPLACE_FUNCS)acfunctions.m4:97
3300 m4_location(AC_PROGRAMS_PATH)acoldnames.m4:34
3302 m4_location(AC_STRCOLL)acfunctions.m4:1378
3304 m4_location(AC_LINK_FILES)acgeneral.m4:3366
3306 m4_cr_symbols1abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_
3308 m4_location(AC_WITH)acgeneral.m4:1481
3310 m4_location(AC_LANG_PREPROC(C++))aclang.m4:1092
3312 m4_cr_symbols2abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789
3314 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.
3315 You should run autoupdate.])dnl
3316 AC_PROG_CC_C_O($@)[]AC_PROVIDE([AC_MINUS_C_MINUS_O])[]_m4_defun_epi([AC_MINUS_C_MINUS_O])
3318 AC_ENABLE_m4_defun_pro([AC_ENABLE])AC_DIAGNOSE([obsolete], [The macro `AC_ENABLE' is obsolete.
3319 You should run autoupdate.])dnl
3320 AC_ARG_ENABLE([$1], [ --enable-$1], [$2], [$3])[]AC_PROVIDE([AC_ENABLE])[]_m4_defun_epi([AC_ENABLE])
3322 AC_CHECK_MEMBER_m4_defun_pro([AC_CHECK_MEMBER])AS_LITERAL_IF([$1], [],
3323 [AC_FATAL([$0: requires literal arguments])])dnl
3324 m4_if(m4_regexp([$1], [\.]), -1,
3325 [AC_FATAL([$0: Did not see any dot in `$1'])])dnl
3326 AS_VAR_PUSHDEF([ac_Member], [ac_cv_member_$1])dnl
3327 dnl Extract the aggregate name, and the member name
3328 AC_CACHE_CHECK([for $1], ac_Member,
3329 [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT([$4])],
3330 [dnl AGGREGATE ac_aggr;
3331 static m4_patsubst([$1], [\..*]) ac_aggr;
3333 if (ac_aggr.m4_patsubst([$1], [^[^.]*\.]))
3335 [AS_VAR_SET(ac_Member, yes)],
3336 [AS_VAR_SET(ac_Member, no)])])
3337 AS_IF([test AS_VAR_GET(ac_Member) = yes], [$2], [$3])dnl
3338 AS_VAR_POPDEF([ac_Member])dnl
3339 []AC_PROVIDE([AC_CHECK_MEMBER])[]_m4_defun_epi([AC_CHECK_MEMBER])
3341 m4_location(AC_FUNC_FORK)acfunctions.m4:1451
3343 fp_FUNC_FNMATCH_m4_defun_pro([fp_FUNC_FNMATCH])AC_DIAGNOSE([obsolete], [The macro `fp_FUNC_FNMATCH' is obsolete.
3344 You should run autoupdate.])dnl
3345 AC_FUNC_FNMATCH($@)[]AC_PROVIDE([fp_FUNC_FNMATCH])[]_m4_defun_epi([fp_FUNC_FNMATCH])
3347 m4_location(AC_LANG_PREPROC(C))aclang.m4:838
3349 AH_TOPm4_define([_AH_COUNTER], m4_incr(_AH_COUNTER))dnl
3350 AH_VERBATIM([0000]_AH_COUNTER, [$1])
3352 AC_RUN_IFELSE_m4_defun_pro([AC_RUN_IFELSE])AC_LANG_COMPILER_REQUIRE()dnl
3354 [AC_DIAGNOSE([cross],
3355 [$0 called without default to allow cross compiling])])dnl
3356 if test "$cross_compiling" = yes; then
3358 [AC_MSG_ERROR([cannot run test program while cross compiling])])
3361 fi[]AC_PROVIDE([AC_RUN_IFELSE])[]_m4_defun_epi([AC_RUN_IFELSE])
3363 m4_location(AC_INT_16_BITS)actypes.m4:383
3365 AU_DEFUNAU_DEFINE([$1],
3366 [AC_DIAGNOSE([obsolete], [The macro `$1' is obsolete.
3367 You should run autoupdate.])dnl
3372 AS_LITERAL_IFm4_if(m4_regexp([$1], [[`$]]),
3376 AC_ST_BLKSIZE_m4_defun_pro([AC_ST_BLKSIZE])AC_DIAGNOSE([obsolete], [The macro `AC_ST_BLKSIZE' is obsolete.
3377 You should run autoupdate.])dnl
3378 AC_STRUCT_ST_BLKSIZE($@)[]AC_PROVIDE([AC_ST_BLKSIZE])[]_m4_defun_epi([AC_ST_BLKSIZE])
3380 AC_CHECK_FILE_m4_defun_pro([AC_CHECK_FILE])AC_DIAGNOSE([cross],
3381 [cannot check for file existence when cross compiling])dnl
3382 AS_VAR_PUSHDEF([ac_File], [ac_cv_file_$1])dnl
3383 AC_CACHE_CHECK([for $1], ac_File,
3384 [test "$cross_compiling" = yes &&
3385 AC_MSG_ERROR([cannot check for file existence when cross compiling])
3386 if test -r "$1"; then
3387 AS_VAR_SET(ac_File, yes)
3389 AS_VAR_SET(ac_File, no)
3391 AS_IF([test AS_VAR_GET(ac_File) = yes], [$2], [$3])[]dnl
3392 AS_VAR_POPDEF([ac_File])dnl
3393 []AC_PROVIDE([AC_CHECK_FILE])[]_m4_defun_epi([AC_CHECK_FILE])
3395 m4_location(_AC_PROG_F77_V)aclang.m4:1807
3397 m4_cr_lettersabcdefghijklmnopqrstuvwxyz
3399 AC_SYS_SIGLIST_DECLARED_m4_defun_pro([AC_SYS_SIGLIST_DECLARED])AC_DIAGNOSE([obsolete], [The macro `AC_SYS_SIGLIST_DECLARED' is obsolete.
3400 You should run autoupdate.])dnl
3401 AC_DECL_SYS_SIGLIST($@)[]AC_PROVIDE([AC_SYS_SIGLIST_DECLARED])[]_m4_defun_epi([AC_SYS_SIGLIST_DECLARED])
3404 ac_cpp='$CPP $CPPFLAGS'
3405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&AS_MESSAGE_LOG_FD'
3406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&AS_MESSAGE_LOG_FD'
3407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3410 AC_DECL_SYS_SIGLIST_m4_defun_pro([AC_DECL_SYS_SIGLIST])AC_CACHE_CHECK([for sys_siglist declaration in signal.h or unistd.h],
3411 ac_cv_decl_sys_siglist,
3413 [AC_LANG_PROGRAM([#include <sys/types.h>
3415 /* NetBSD declares sys_siglist in unistd.h. */
3417 # include <unistd.h>
3419 ], [char *msg = *(sys_siglist + 1);])],
3420 [ac_cv_decl_sys_siglist=yes],
3421 [ac_cv_decl_sys_siglist=no])])
3422 if test $ac_cv_decl_sys_siglist = yes; then
3423 AC_DEFINE(SYS_SIGLIST_DECLARED, 1,
3424 [Define if `sys_siglist' is declared by <signal.h> or <unistd.h>.])
3426 []AC_PROVIDE([AC_DECL_SYS_SIGLIST])[]_m4_defun_epi([AC_DECL_SYS_SIGLIST])
3428 m4_divert_oncem4_expand_once([m4_divert_text([$1], [$2])])
3430 AC_PATH_XTRA_m4_defun_pro([AC_PATH_XTRA])AC_REQUIRE([AC_PATH_X])dnl
3431 if test "$no_x" = yes; then
3432 # Not all programs may use this symbol, but it does not hurt to define it.
3433 AC_DEFINE([X_DISPLAY_MISSING], 1,
3434 [Define if the X Window System is missing or not being used.])
3435 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3437 if test -n "$x_includes"; then
3438 X_CFLAGS="$X_CFLAGS -I$x_includes"
3441 # It would also be nice to do this for all -L options, not just this one.
3442 if test -n "$x_libraries"; then
3443 X_LIBS="$X_LIBS -L$x_libraries"
3444 dnl FIXME: banish uname from this macro!
3445 # For Solaris; some versions of Sun CC require a space after -R and
3446 # others require no space. Words are not sufficient . . . .
3447 case `(uname -sr) 2>/dev/null` in
3449 AC_MSG_CHECKING([whether -R must be followed by a space])
3450 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3451 AC_LINK_IFELSE([AC_LANG_PROGRAM()], ac_R_nospace=yes, ac_R_nospace=no)
3452 if test $ac_R_nospace = yes; then
3454 X_LIBS="$X_LIBS -R$x_libraries"
3456 LIBS="$ac_xsave_LIBS -R $x_libraries"
3457 AC_LINK_IFELSE([AC_LANG_PROGRAM()], ac_R_space=yes, ac_R_space=no)
3458 if test $ac_R_space = yes; then
3459 AC_MSG_RESULT([yes])
3460 X_LIBS="$X_LIBS -R $x_libraries"
3462 AC_MSG_RESULT([neither works])
3469 # Check for system-dependent libraries X programs must link with.
3470 # Do this before checking for the system-independent R6 libraries
3471 # (-lICE), since we may need -lsocket or whatever for X linking.
3473 if test "$ISC" = yes; then
3474 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
3476 # Martyn Johnson says this is needed for Ultrix, if the X
3477 # libraries were built with DECnet support. And Karl Berry says
3478 # the Alpha needs dnet_stub (dnet does not exist).
3479 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
3480 AC_TRY_LINK_FUNC(XOpenDisplay, ,
3481 [AC_CHECK_LIB(dnet, dnet_ntoa, [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"])
3482 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
3483 AC_CHECK_LIB(dnet_stub, dnet_ntoa,
3484 [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"])
3486 LIBS="$ac_xsave_LIBS"
3488 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3489 # to get the SysV transport functions.
3490 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3492 # The nsl library prevents programs from opening the X display
3493 # on Irix 5.2, according to T.E. Dickey.
3494 # The functions gethostbyname, getservbyname, and inet_addr are
3495 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3496 AC_CHECK_FUNC(gethostbyname)
3497 if test $ac_cv_func_gethostbyname = no; then
3498 AC_CHECK_LIB(nsl, gethostbyname, X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl")
3499 if test $ac_cv_lib_nsl_gethostbyname = no; then
3500 AC_CHECK_LIB(bsd, gethostbyname, X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd")
3504 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3505 # socket/setsockopt and other routines are undefined under SCO ODT
3506 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3507 # on later versions), says Simon Leinen: it contains gethostby*
3508 # variants that don't use the nameserver (or something). -lsocket
3509 # must be given before -lnsl if both are needed. We assume that
3510 # if connect needs -lnsl, so does gethostbyname.
3511 AC_CHECK_FUNC(connect)
3512 if test $ac_cv_func_connect = no; then
3513 AC_CHECK_LIB(socket, connect, X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS", ,
3517 # Guillermo Gomez says -lposix is necessary on A/UX.
3518 AC_CHECK_FUNC(remove)
3519 if test $ac_cv_func_remove = no; then
3520 AC_CHECK_LIB(posix, remove, X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix")
3523 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
3524 AC_CHECK_FUNC(shmat)
3525 if test $ac_cv_func_shmat = no; then
3526 AC_CHECK_LIB(ipc, shmat, X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc")
3530 # Check for libraries that X11R6 Xt/Xaw programs need.
3531 ac_save_LDFLAGS=$LDFLAGS
3532 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
3533 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
3534 # check for ICE first), but we must link in the order -lSM -lICE or
3535 # we get undefined symbols. So assume we have SM if we have ICE.
3536 # These have to be linked with before -lX11, unlike the other
3537 # libraries we check for below, so use a different variable.
3538 # John Interrante, Karl Berry
3539 AC_CHECK_LIB(ICE, IceConnectionNumber,
3540 [X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"], , $X_EXTRA_LIBS)
3541 LDFLAGS=$ac_save_LDFLAGS
3544 AC_SUBST(X_CFLAGS)dnl
3545 AC_SUBST(X_PRE_LIBS)dnl
3547 AC_SUBST(X_EXTRA_LIBS)dnl
3548 []AC_PROVIDE([AC_PATH_XTRA])[]_m4_defun_epi([AC_PATH_XTRA])
3550 AC_OUTPUT_COMMANDS_POST
3552 AC_C_PROTOTYPES_m4_defun_pro([AC_C_PROTOTYPES])AC_REQUIRE([AC_PROG_CC_STDC])dnl
3553 AC_MSG_CHECKING([for function prototypes])
3554 if test "$ac_cv_prog_cc_stdc" != no; then
3555 AC_MSG_RESULT([yes])
3556 AC_DEFINE(PROTOTYPES, 1,
3557 [Define if the C compiler supports function prototypes.])
3561 []AC_PROVIDE([AC_C_PROTOTYPES])[]_m4_defun_epi([AC_C_PROTOTYPES])
3563 m4_location(AC_CYGWIN)acspecific.m4:907
3565 AC_SUBST_FILE_AC_SUBST([$1], [/@$1@/r [$]$1
3568 AC_LANG_CPLUSPLUS_m4_defun_pro([AC_LANG_CPLUSPLUS])AC_DIAGNOSE([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete.
3569 You should run autoupdate.])dnl
3570 AC_LANG(C++)[]AC_PROVIDE([AC_LANG_CPLUSPLUS])[]_m4_defun_epi([AC_LANG_CPLUSPLUS])
3572 m4_location(AS_BASENAME)m4sh.m4:304
3574 m4_location(AC_TRY_COMPILE)acgeneral.m4:2740
3576 m4_location(AC_LONG_FILE_NAMES)acoldnames.m4:58
3578 m4_beforem4_provide_ifelse([$2],
3579 [m4_warn([syntax], [$2 was called before $1])])
3581 m4_location(AS_SHELL_SANITIZE)m4sh.m4:97
3583 m4_location(AC_EGREP_CPP)acgeneral.m4:2690
3585 m4_defnm4_ifndef([$1],
3586 [m4_fatal([$0: undefined macro: $1])])dnl
3587 m4_builtin([defn], $@)
3589 _AC_LANG_COMPILER_GNUAC_CACHE_CHECK([whether we are using the GNU _AC_LANG compiler],
3590 [ac_cv_[]_AC_LANG_ABBREV[]_compiler_gnu],
3591 [_AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [[#ifndef __GNUC__
3595 [ac_compiler_gnu=yes],
3596 [ac_compiler_gnu=no])
3597 ac_cv_[]_AC_LANG_ABBREV[]_compiler_gnu=$ac_compiler_gnu
3600 m4_include(acgeneral.m4)
3602 AC_INITAC_PLAIN_SCRIPT
3603 m4_ifval([$2], [_AC_INIT_PACKAGE($@)])
3604 m4_divert_text([BINSH], [@%:@! /bin/sh])
3614 m4_ifval([$2], , [m4_ifval([$1], [AC_CONFIG_SRCDIR([$1])])])dnl
3617 AC_ARG_ENABLE_m4_defun_pro([AC_ARG_ENABLE])m4_divert_once([HELP_ENABLE], [[
3619 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
3620 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]]])dnl
3621 m4_divert_once([HELP_ENABLE], [$2])dnl
3622 # Check whether --enable-$1 or --disable-$1 was given.
3623 if test "[${enable_]m4_patsubst([$1], -, _)+set}" = set; then
3624 enableval="[$enable_]m4_patsubst([$1], -, _)"
3626 m4_ifvaln([$4], [else
3629 []AC_PROVIDE([AC_ARG_ENABLE])[]_m4_defun_epi([AC_ARG_ENABLE])
3631 m4_location(_AS_TR_SH_PREPARE)m4sh.m4:567
3633 m4_location(AC_PREREQ)acgeneral.m4:509
3635 m4_location(AC_PATH_PROG)acgeneral.m4:2388
3637 m4_location(AC_OUTPUT_COMMANDS)acgeneral.m4:3238
3639 _AC_LINK_IFELSEm4_ifvaln([$1], [AC_LANG_CONFTEST([$1])])dnl
3640 rm -f conftest.$ac_objext conftest$ac_exeext
3641 AS_IF([AC_TRY_EVAL(ac_link) &&
3642 AC_TRY_COMMAND([test -s conftest$ac_exeext])],
3644 [echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD
3645 cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD
3646 m4_ifvaln([$3], [$3])dnl])[]dnl
3647 rm -f conftest.$ac_objext conftest$ac_exeext m4_ifval([$1], [conftest.$ac_ext])[]dnl
3650 m4_sincludem4_include_unique([$1])dnl
3651 m4_builtin([sinclude], [$1])
3653 m4_location(_AC_F77_NAME_MANGLING)aclang.m4:2117
3655 m4_location(AC_C_CROSS)aclang.m4:1485
3657 AC_LANG_FUNC_LINK_TRY(C++)AC_LANG_PROGRAM(
3658 [/* System header to define __stub macros and hopefully few prototypes,
3659 which can conflict with char $1 (); below. */
3661 /* Override any gcc2 internal prototype to avoid an error. */
3665 /* We use char because int might match the return type of a gcc2
3666 builtin and then its argument prototype would still apply. */
3670 [/* The GNU C library defines this for functions which it implements
3671 to always fail with ENOSYS. Some functions are actually named
3672 something starting with __ and the normal name is an alias. */
3673 #if defined (__stub_$1) || defined (__stub___$1)
3680 AC_LANG_C_m4_defun_pro([AC_LANG_C])AC_DIAGNOSE([obsolete], [The macro `AC_LANG_C' is obsolete.
3681 You should run autoupdate.])dnl
3682 AC_LANG(C)[]AC_PROVIDE([AC_LANG_C])[]_m4_defun_epi([AC_LANG_C])
3684 AC_INT_16_BITS_m4_defun_pro([AC_INT_16_BITS])AC_DIAGNOSE([obsolete], [The macro `AC_INT_16_BITS' is obsolete.
3685 You should run autoupdate.])dnl
3686 AC_CHECK_SIZEOF([int])
3687 AC_DIAGNOSE([obsolete], [$0:
3688 your code should no longer depend upon `INT_16_BITS', but upon
3689 `SIZEOF_INT'. Remove this warning and the `AC_DEFINE' when you
3690 adjust the code.])dnl
3691 test $ac_cv_sizeof_int = 2 &&
3692 AC_DEFINE(INT_16_BITS, 1,
3693 [Define if `sizeof (int)' = 2. Obsolete, use `SIZEOF_INT'.])
3694 []AC_PROVIDE([AC_INT_16_BITS])[]_m4_defun_epi([AC_INT_16_BITS])
3696 m4_location(AC_RUN_LOG)acgeneral.m4:2182
3698 AC_ISC_POSIX_m4_defun_pro([AC_ISC_POSIX])AC_REQUIRE([AC_PROG_CC])dnl
3699 AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl
3700 AC_BEFORE([$0], [AC_RUN_IFELSE])dnl
3701 AC_MSG_CHECKING([for POSIXized ISC])
3702 if test -d /etc/conf/kconfig.d &&
3703 grep _POSIX_VERSION [/usr/include/sys/unistd.h] >/dev/null 2>&1
3705 AC_MSG_RESULT([yes])
3706 ISC=yes # If later tests want to check for ISC.
3707 AC_DEFINE(_POSIX_SOURCE, 1,
3708 [Define if you need to in order for stat and other things to
3710 if test "$GCC" = yes; then
3719 []AC_PROVIDE([AC_ISC_POSIX])[]_m4_defun_epi([AC_ISC_POSIX])
3721 AC_CONFIG_FILES_m4_defun_pro([AC_CONFIG_FILES])m4_divert_push([KILL])
3722 _AC_CONFIG_UNIQUE([$1])
3723 _AC_CONFIG_DEPENDENCIES([$1])
3724 m4_append([AC_LIST_FILES], [ $1])
3725 dnl Register the commands.
3726 m4_ifval([$2], [AC_FOREACH([AC_File], [$1],
3727 [m4_append([AC_LIST_FILES_COMMANDS],
3728 [ ]m4_patsubst(AC_File, [:.*])[ ) $2 ;;
3730 _AC_CONFIG_COMMANDS_INIT([$3])
3731 m4_divert_pop([KILL])dnl
3732 ac_config_files="$ac_config_files m4_normalize([$1])"
3733 []AC_PROVIDE([AC_CONFIG_FILES])[]_m4_defun_epi([AC_CONFIG_FILES])
3735 m4_location(AC_MODE_T)acoldnames.m4:61
3737 AC_PROGRAM_CHECK_m4_defun_pro([AC_PROGRAM_CHECK])AC_DIAGNOSE([obsolete], [The macro `AC_PROGRAM_CHECK' is obsolete.
3738 You should run autoupdate.])dnl
3739 AC_CHECK_PROG($@)[]AC_PROVIDE([AC_PROGRAM_CHECK])[]_m4_defun_epi([AC_PROGRAM_CHECK])
3741 AC_C_CHAR_UNSIGNED_m4_defun_pro([AC_C_CHAR_UNSIGNED])AH_VERBATIM([__CHAR_UNSIGNED__],
3742 [/* Define if type `char' is unsigned and you are not using gcc. */
3743 #ifndef __CHAR_UNSIGNED__
3744 # undef __CHAR_UNSIGNED__
3746 AC_CACHE_CHECK(whether char is unsigned, ac_cv_c_char_unsigned,
3747 [AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([AC_INCLUDES_DEFAULT([])],
3748 [((char) -1) < 0])],
3749 ac_cv_c_char_unsigned=no, ac_cv_c_char_unsigned=yes)])
3750 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
3751 AC_DEFINE(__CHAR_UNSIGNED__)
3753 []AC_PROVIDE([AC_C_CHAR_UNSIGNED])[]_m4_defun_epi([AC_C_CHAR_UNSIGNED])
3755 AC_CYGWIN32_m4_defun_pro([AC_CYGWIN32])AC_DIAGNOSE([obsolete], [The macro `AC_CYGWIN32' is obsolete.
3756 You should run autoupdate.])dnl
3757 AC_CYGWIN($@)[]AC_PROVIDE([AC_CYGWIN32])[]_m4_defun_epi([AC_CYGWIN32])
3759 AC_CONFIG_HEADERS_m4_defun_pro([AC_CONFIG_HEADERS])m4_divert_push([KILL])
3760 _AC_CONFIG_UNIQUE([$1])
3761 _AC_CONFIG_DEPENDENCIES([$1])
3762 m4_append([AC_LIST_HEADERS], [ $1])
3763 dnl Register the commands
3764 m4_ifval([$2], [AC_FOREACH([AC_File], [$1],
3765 [m4_append([AC_LIST_HEADERS_COMMANDS],
3766 [ ]m4_patsubst(AC_File, [:.*])[ ) $2 ;;
3768 _AC_CONFIG_COMMANDS_INIT([$3])
3769 m4_divert_pop([KILL])dnl
3770 ac_config_headers="$ac_config_headers m4_normalize([$1])"
3771 []AC_PROVIDE([AC_CONFIG_HEADERS])[]_m4_defun_epi([AC_CONFIG_HEADERS])
3773 _AC_PROG_CXX_Gac_test_CXXFLAGS=${CXXFLAGS+set}
3774 ac_save_CXXFLAGS=$CXXFLAGS
3776 AC_CACHE_CHECK(whether $CXX accepts -g, ac_cv_prog_cxx_g,
3777 [_AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
3778 [ac_cv_prog_cxx_g=yes],
3779 [ac_cv_prog_cxx_g=no])])
3780 if test "$ac_test_CXXFLAGS" = set; then
3781 CXXFLAGS=$ac_save_CXXFLAGS
3782 elif test $ac_cv_prog_cxx_g = yes; then
3783 if test "$GXX" = yes; then
3789 if test "$GXX" = yes; then
3797 AM_MINGW32_m4_defun_pro([AM_MINGW32])AC_DIAGNOSE([obsolete], [The macro `AM_MINGW32' is obsolete.
3798 You should run autoupdate.])dnl
3799 AC_MINGW32($@)[]AC_PROVIDE([AM_MINGW32])[]_m4_defun_epi([AM_MINGW32])
3801 AC_TYPE_SIGNAL_m4_defun_pro([AC_TYPE_SIGNAL])AC_CACHE_CHECK([return type of signal handlers], ac_cv_type_signal,
3803 [AC_LANG_PROGRAM([#include <sys/types.h>
3809 extern "C" void (*signal (int, void (*)(int)))(int);
3811 void (*signal ()) ();
3815 [ac_cv_type_signal=void],
3816 [ac_cv_type_signal=int])])
3817 AC_DEFINE_UNQUOTED(RETSIGTYPE, $ac_cv_type_signal,
3818 [Define as the return type of signal handlers
3819 (`int' or `void').])
3820 []AC_PROVIDE([AC_TYPE_SIGNAL])[]_m4_defun_epi([AC_TYPE_SIGNAL])
3822 AC_SET_MAKE_m4_defun_pro([AC_SET_MAKE])AC_DIAGNOSE([obsolete], [The macro `AC_SET_MAKE' is obsolete.
3823 You should run autoupdate.])dnl
3824 AC_PROG_MAKE_SET($@)[]AC_PROVIDE([AC_SET_MAKE])[]_m4_defun_epi([AC_SET_MAKE])
3826 AC_COMPILE_CHECK_m4_defun_pro([AC_COMPILE_CHECK])AC_DIAGNOSE([obsolete], [The macro `AC_COMPILE_CHECK' is obsolete.
3827 You should run autoupdate.])dnl
3828 m4_ifvaln([$1], [AC_CHECKING([for $1])])dnl
3829 AC_LINK_IFELSE([AC_LANG_PROGRAM([[$2]], [[$3]])], [$4], [$5])
3830 []AC_PROVIDE([AC_COMPILE_CHECK])[]_m4_defun_epi([AC_COMPILE_CHECK])
3832 AC_CHECK_SIZEOF_m4_defun_pro([AC_CHECK_SIZEOF])AS_LITERAL_IF([$1], [],
3833 [AC_FATAL([$0: requires literal arguments])])dnl
3834 AC_CHECK_TYPE([$1], [], [], [$3])
3835 AC_CACHE_CHECK([size of $1], AS_TR_SH([ac_cv_sizeof_$1]),
3836 [if test "$AS_TR_SH([ac_cv_type_$1])" = yes; then
3837 _AC_COMPUTE_INT([sizeof ($1)],
3838 [AS_TR_SH([ac_cv_sizeof_$1])],
3839 [AC_INCLUDES_DEFAULT([$3])])
3841 AS_TR_SH([ac_cv_sizeof_$1])=0
3843 AC_DEFINE_UNQUOTED(AS_TR_CPP(sizeof_$1), $AS_TR_SH([ac_cv_sizeof_$1]),
3844 [The size of a `$1', as computed by sizeof.])
3845 []AC_PROVIDE([AC_CHECK_SIZEOF])[]_m4_defun_epi([AC_CHECK_SIZEOF])
3849 m4_location(_AC_INCLUDES_DEFAULT_REQUIREMENTS)acgeneral.m4:2241
3851 m4_location(AC_F77_WRAPPERS)aclang.m4:2165
3855 _AC_OUTPUT_LINKScat >>$CONFIG_STATUS <<\EOF
3858 # CONFIG_LINKS section.
3861 dnl Here we use : instead of .. because if AC_LINK_FILES was used
3862 dnl with empty parameters (as in gettext.m4), then we obtain here
3863 dnl `:', which we want to skip. So let's keep a single exception: `:'.
3864 for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue
3865 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
3866 ac_source=`echo "$ac_file" | sed 's,[[^:]]*:,,'`
3868 AC_MSG_NOTICE([linking $srcdir/$ac_source to $ac_dest])
3870 if test ! -r $srcdir/$ac_source; then
3871 AC_MSG_ERROR([$srcdir/$ac_source: File not found])
3875 # Make relative symlinks.
3876 ac_dest_dir=`AS_DIRNAME(["$ac_dest"])`
3877 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
3878 AS_MKDIR_P(["$ac_dest_dir"])
3879 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's,^\./,,'`"
3880 # A "../" for each directory in $ac_dest_dir_suffix.
3881 ac_dots=`echo $ac_dest_dir_suffix|sed 's,/[[^/]]*,../,g'`
3883 ac_dest_dir_suffix= ac_dots=
3887 [[\\/$]]* | ?:[[\\/]]* ) ac_rel_source=$srcdir/$ac_source ;;
3888 *) ac_rel_source=$ac_dots$srcdir/$ac_source ;;
3891 # Make a symlink if possible; otherwise try a hard link.
3892 ln -s $ac_rel_source $ac_dest 2>/dev/null ||
3893 ln $srcdir/$ac_source $ac_dest ||
3894 AC_MSG_ERROR([cannot link $ac_dest to $srcdir/$ac_source])
3895 m4_ifset([AC_LIST_LINKS_COMMANDS],
3896 [ # Run the commands associated with the file.
3898 AC_LIST_LINKS_COMMANDS()dnl
3905 AC_MSG_RESULT_AS_ECHO([$as_me:__oline__: result: $1], AS_MESSAGE_LOG_FD)
3906 _AS_ECHO([${ECHO_T}$1])[]dnl
3909 m4_defun_oncem4_define([m4_location($1)], m4_location)dnl
3911 [m4_provide_ifelse([$1],
3912 [m4_warn([syntax], [$1 invoked multiple times])],
3913 [_m4_defun_pro([$1])$2[]_m4_defun_epi([$1])])])
3915 AC_ARG_WITH_m4_defun_pro([AC_ARG_WITH])m4_divert_once([HELP_WITH], [[
3917 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
3918 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)]])
3919 m4_divert_once([HELP_WITH], [$2])dnl
3920 # Check whether --with-$1 or --without-$1 was given.
3921 if test "[${with_]m4_patsubst([$1], -, _)+set}" = set; then
3922 withval="[$with_]m4_patsubst([$1], -, _)"
3924 m4_ifvaln([$4], [else
3927 []AC_PROVIDE([AC_ARG_WITH])[]_m4_defun_epi([AC_ARG_WITH])
3929 m4_location(AC_STAT_MACROS_BROKEN)acoldnames.m4:68
3931 m4_location(AC_CHECK_SIZEOF)actypes.m4:363
3933 m4_ifsetm4_ifdef([$1],
3934 [m4_if(m4_defn([$1]), [], [$3], [$2])],
3943 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3944 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3945 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3946 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3947 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3949 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3950 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3952 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3953 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3954 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3955 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
3956 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3957 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3958 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3965 m4_location(AC_STRUCT_TM)actypes.m4:532
3969 # Forbidden tokens and exceptions.
3970 m4_pattern_forbid([^_?AS_])
3973 AC_STRUCT_TM_m4_defun_pro([AC_STRUCT_TM])AC_CACHE_CHECK([whether struct tm is in sys/time.h or time.h],
3975 [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <sys/types.h>
3978 [struct tm *tp; tp->tm_sec;])],
3979 [ac_cv_struct_tm=time.h],
3980 [ac_cv_struct_tm=sys/time.h])])
3981 if test $ac_cv_struct_tm = sys/time.h; then
3982 AC_DEFINE(TM_IN_SYS_TIME, 1,
3983 [Define if your <sys/time.h> declares `struct tm'.])
3985 []AC_PROVIDE([AC_STRUCT_TM])[]_m4_defun_epi([AC_STRUCT_TM])
3987 AC_GETGROUPS_T_m4_defun_pro([AC_GETGROUPS_T])AC_DIAGNOSE([obsolete], [The macro `AC_GETGROUPS_T' is obsolete.
3988 You should run autoupdate.])dnl
3989 AC_TYPE_GETGROUPS($@)[]AC_PROVIDE([AC_GETGROUPS_T])[]_m4_defun_epi([AC_GETGROUPS_T])
3991 m4_location(AC_CHECK_FUNCS)acfunctions.m4:89
3993 AH_BOTTOMm4_define([_AH_COUNTER], m4_incr(_AH_COUNTER))dnl
3994 AH_VERBATIM([zzzz]_AH_COUNTER, [$1])
3996 m4_location(AC_TRY_LINK)acgeneral.m4:2787
3998 _AS_ECHO_AS_ECHO_UNQUOTED([_AS_QUOTE([$1])], [$2])
4000 AC_LANG_SOURCE(Fortran 77)$1
4002 AC_VERBOSE_m4_defun_pro([AC_VERBOSE])AC_DIAGNOSE([obsolete], [The macro `AC_VERBOSE' is obsolete.
4003 You should run autoupdate.])dnl
4004 AC_MSG_RESULT($@)[]AC_PROVIDE([AC_VERBOSE])[]_m4_defun_epi([AC_VERBOSE])
4006 m4_location(AM_FUNC_MKTIME)acfunctions.m4:940
4008 m4_location(AM_EXEEXT)acoldnames.m4:81
4010 m4_location(AC_LN_S)acoldnames.m4:56
4012 m4_location(AC_FUNC_OBSTACK)acfunctions.m4:1103
4014 m4_location(AC_FUNC_LSTAT)acfunctions.m4:1211
4016 m4_location(AC_CROSS_CHECK)acoldnames.m4:50
4018 AC_CONFIG_COMMANDS_PRE_m4_defun_pro([AC_CONFIG_COMMANDS_PRE])m4_append([AC_OUTPUT_COMMANDS_PRE], [$1
4019 ])[]AC_PROVIDE([AC_CONFIG_COMMANDS_PRE])[]_m4_defun_epi([AC_CONFIG_COMMANDS_PRE])
4021 m4_location(AC_FUNC_STRTOD)acfunctions.m4:1264
4025 changesyntaxchangesyntax
4027 _AC_CHECK_HEADER_DIRENTAS_VAR_PUSHDEF([ac_Header], [ac_cv_header_dirent_$1])dnl
4028 AC_CACHE_CHECK([for $1 that defines DIR], ac_Header,
4029 [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <sys/types.h>
4034 [AS_VAR_SET(ac_Header, yes)],
4035 [AS_VAR_SET(ac_Header, no)])])
4036 AS_IF([test AS_VAR_GET(ac_Header) = yes], [$2], [$3])[]dnl
4037 AS_VAR_POPDEF([ac_Header])dnl
4040 m4_location(AC_MINIX)acspecific.m4:990
4042 m4_foreachm4_pushdef([$1])_m4_foreach($@)m4_popdef([$1])
4044 m4_location(AC_LANG_CPLUSPLUS)aclang.m4:239
4046 _AC_ARG_VAR_VALIDATE# Check that the precious variables saved in the cache have kept the same
4048 ac_cache_corrupted=false
4049 for ac_var in `(set) 2>&1 |
4050 sed -n 's/^ac_env_\([[a-zA-Z_0-9]]*\)_set=.*/\1/p'`; do
4051 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4052 eval ac_new_set=\$ac_env_${ac_var}_set
4053 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
4054 eval ac_new_val="\$ac_env_${ac_var}_value"
4055 case $ac_old_set,$ac_new_set in
4057 AS_MESSAGE([error: `$ac_var' was set to `$ac_old_val' in the previous run], 2)
4058 ac_cache_corrupted=: ;;
4060 AS_MESSAGE([error: `$ac_var' was not set in the previous run], 2)
4061 ac_cache_corrupted=: ;;
4064 if test "x$ac_old_val" != "x$ac_new_val"; then
4065 AS_MESSAGE([error: `$ac_var' has changed since the previous run:], 2)
4066 AS_MESSAGE([ former value: $ac_old_val], 2)
4067 AS_MESSAGE([ current value: $ac_new_val], 2)
4068 ac_cache_corrupted=:
4071 # Pass precious variables to config.status. It doesn't matter if
4072 # we pass some twice (in addition to the command line arguments).
4073 if test "$ac_new_set" = set; then
4075 dnl If you change this globbing pattern, test it on an old shell --
4076 dnl it's sensitive. Putting any kind of quote in it causes syntax errors.
4077 [ *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)]
4078 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
4079 ac_configure_args="$ac_configure_args '$ac_arg'"
4081 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
4086 if $ac_cache_corrupted; then
4087 AS_MESSAGE([error: changes in the environment can compromise the build], 2)
4088 AS_ERROR([run `make distclean' and/or `rm $cache_file' and start over])
4092 AC_FUNC_GETGROUPS_m4_defun_pro([AC_FUNC_GETGROUPS])AC_REQUIRE([AC_TYPE_GETGROUPS])dnl
4093 AC_REQUIRE([AC_TYPE_SIZE_T])dnl
4094 AC_CHECK_FUNC(getgroups)
4096 # If we don't yet have getgroups, see if it's in -lbsd.
4097 # This is reported to be necessary on an ITOS 3000WS running SEIUX 3.1.
4099 if test $ac_cv_func_getgroups = no; then
4100 AC_CHECK_LIB(bsd, getgroups, [GETGROUPS_LIB=-lbsd])
4103 # Run the program to test the functionality of the system-supplied
4104 # getgroups function only if there is such a function.
4105 if test $ac_cv_func_getgroups = yes; then
4106 AC_CACHE_CHECK([for working getgroups], ac_cv_func_getgroups_works,
4107 [AC_RUN_IFELSE([AC_LANG_PROGRAM([],
4108 [[/* On Ultrix 4.3, getgroups (0, 0) always fails. */
4109 exit (getgroups (0, 0) == -1 ? 1 : 0);]])],
4110 [ac_cv_func_getgroups_works=yes],
4111 [ac_cv_func_getgroups_works=no],
4112 [ac_cv_func_getgroups_works=no])
4114 if test $ac_cv_func_getgroups_works = yes; then
4115 AC_DEFINE(HAVE_GETGROUPS, 1,
4116 [Define if your system has a working `getgroups' function.])
4120 []AC_PROVIDE([AC_FUNC_GETGROUPS])[]_m4_defun_epi([AC_FUNC_GETGROUPS])
4124 m4_location(_AS_EXPR_PREPARE)m4sh.m4:326
4126 AC_F77_MAIN_m4_defun_pro([AC_F77_MAIN])AC_REQUIRE([AC_F77_LIBRARY_LDFLAGS])dnl
4127 AC_CACHE_CHECK([for alternate main to link with Fortran 77 libraries],
4130 ac_f77_m_save_LIBS=$LIBS
4132 ac_cv_f77_main="main" # default entry point name
4134 for ac_func in MAIN__ MAIN_ __main MAIN _MAIN __MAIN main_ main__ _main; do
4135 AC_TRY_LINK([#undef F77_DUMMY_MAIN
4136 @%:@define main $ac_func], [], [ac_cv_f77_main=$ac_func; break])
4139 LIBS=$ac_f77_m_save_LIBS
4142 AC_DEFINE_UNQUOTED([F77_MAIN], $ac_cv_f77_main,
4143 [Define to alternate name for `main' routine that is
4144 called from a `main' in the Fortran libraries.])
4145 []AC_PROVIDE([AC_F77_MAIN])[]_m4_defun_epi([AC_F77_MAIN])
4149 AC_MSG_ERROR{ AS_MESSAGE([error: $1], [2])
4150 AS_EXIT([$2]); }[]dnl
4153 m4_debugmodedebugmode
4155 m4_pattern_allowm4_file_append(m4_defn([m4_tmpdir])/allowed.rx, [$1])
4157 m4_location(AC_GCC_TRADITIONAL)acoldnames.m4:53
4159 AC_EXEEXT_m4_defun_pro([AC_EXEEXT])[]AC_PROVIDE([AC_EXEEXT])[]_m4_defun_epi([AC_EXEEXT])
4161 m4_location(AS_UNSET)m4sh.m4:161
4163 m4_expand_oncem4_provide_ifelse(m4_ifval([$2], [[$2]], [[$1]]),
4165 [m4_provide(m4_ifval([$2], [[$2]], [[$1]]))[]$1])
4167 m4_errprintnm4_errprint([$1
4170 AC_CHECK_LIB_m4_defun_pro([AC_CHECK_LIB])m4_ifval([$3], , [AH_CHECK_LIB([$1])])dnl
4172 [AS_VAR_PUSHDEF([ac_Lib], [ac_cv_lib_$1_$2])],
4173 [AS_VAR_PUSHDEF([ac_Lib], [ac_cv_lib_$1''_$2])])dnl
4174 AC_CACHE_CHECK([for $2 in -l$1], ac_Lib,
4175 [ac_check_lib_save_LIBS=$LIBS
4176 LIBS="-l$1 $5 $LIBS"
4177 AC_TRY_LINK_FUNC([$2],
4178 [AS_VAR_SET(ac_Lib, yes)],
4179 [AS_VAR_SET(ac_Lib, no)])
4180 LIBS=$ac_check_lib_save_LIBS])
4181 AS_IF([test AS_VAR_GET(ac_Lib) = yes],
4182 [m4_default([$3], [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_LIB$1))
4186 AS_VAR_POPDEF([ac_Lib])dnl
4187 []AC_PROVIDE([AC_CHECK_LIB])[]_m4_defun_epi([AC_CHECK_LIB])
4189 m4_location(AC_VALIDATE_CACHED_SYSTEM_TUPLE)acgeneral.m4:1792
4191 m4_location(AC_EMXOS2)acspecific.m4:922
4193 m4_location(AC_CHECK_HEADER)acheaders.m4:85
4195 _AC_INIT_PREPAREm4_divert_push([INIT_PREPARE])dnl
4197 # Keep a trace of the command line.
4198 # Strip out --no-create and --no-recursion so they do not pile up.
4199 # Also quote any args containing shell meta-characters.
4205 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
4206 | --no-cr | --no-c) ;;
4207 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
4208 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
4209 dnl If you change this globbing pattern, test it on an old shell --
4210 dnl it's sensitive. Putting any kind of quote in it causes syntax errors.
4211 [ *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)]
4212 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
4213 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
4215 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
4218 # Get rid of the leading space.
4221 # When interrupted or exit'd, cleanup temporary files, and complete
4222 # config.log. We remove comments because anyway the quotes in there
4223 # would cause problems or look ugly.
4224 trap 'exit_status=$?
4225 # Save into config.log some information that might help in debugging.
4226 echo >&AS_MESSAGE_LOG_FD
4227 echo ["## ----------------- ##"] >&AS_MESSAGE_LOG_FD
4228 echo ["## Cache variables. ##"] >&AS_MESSAGE_LOG_FD
4229 echo ["## ----------------- ##"] >&AS_MESSAGE_LOG_FD
4230 echo >&AS_MESSAGE_LOG_FD
4231 m4_patsubst(m4_patsubst(m4_dquote(m4_defn([_AC_CACHE_DUMP])),
4234 ['], ['"'"']) >&AS_MESSAGE_LOG_FD
4235 sed "/^$/d" confdefs.h >conftest.log
4236 if test -s conftest.log; then
4237 echo >&AS_MESSAGE_LOG_FD
4238 echo ["## ------------ ##"] >&AS_MESSAGE_LOG_FD
4239 echo ["## confdefs.h. ##"] >&AS_MESSAGE_LOG_FD
4240 echo ["## ------------ ##"] >&AS_MESSAGE_LOG_FD
4241 echo >&AS_MESSAGE_LOG_FD
4242 cat conftest.log >&AS_MESSAGE_LOG_FD
4244 (echo; echo) >&AS_MESSAGE_LOG_FD
4245 test "$ac_signal" != 0 &&
4246 echo "$as_me: caught signal $ac_signal" >&AS_MESSAGE_LOG_FD
4247 echo "$as_me: exit $exit_status" >&AS_MESSAGE_LOG_FD
4248 rm -rf conftest* confdefs* core core.* *.core conf$[$]* $ac_clean_files &&
4251 for ac_signal in 1 2 13 15; do
4252 trap 'ac_signal='$ac_signal'; AS_EXIT([1])' $ac_signal
4256 # confdefs.h avoids OS command line length limits that DEFS can exceed.
4257 rm -rf conftest* confdefs.h
4258 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
4261 # Let the site file select an alternate cache file if it wants to.
4264 _AC_ARG_VAR_VALIDATE
4265 _AC_ARG_VAR_PRECIOUS(build_alias)dnl
4266 _AC_ARG_VAR_PRECIOUS(host_alias)dnl
4267 _AC_ARG_VAR_PRECIOUS(target_alias)dnl
4271 _AC_INIT_PREPARE_FS_SEPARATORS
4273 dnl Substitute for predefined variables.
4276 m4_divert_pop([INIT_PREPARE])dnl
4279 m4_location(AC_TYPE_SIZE_T)actypes.m4:306
4281 m4_location(AC_SYS_LARGEFILE)acspecific.m4:434
4283 AC_F77_NAME_MANGLING_m4_defun_pro([AC_F77_NAME_MANGLING])AC_DIAGNOSE([obsolete], [The macro `AC_F77_NAME_MANGLING' is obsolete.
4284 You should run autoupdate.])dnl
4285 []AC_PROVIDE([AC_F77_NAME_MANGLING])[]_m4_defun_epi([AC_F77_NAME_MANGLING])
4287 _m4_divert(PREPARE)100
4289 m4_include(acheaders.m4)
4291 _AC_HEADER_TIOCGWINSZ_IN_SYS_IOCTLAC_CACHE_CHECK([whether sys/ioctl.h defines TIOCGWINSZ],
4292 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h,
4293 [AC_EGREP_CPP([yes],
4294 [#include <sys/types.h>
4295 #include <sys/ioctl.h>
4300 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h=yes,
4301 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h=no)])
4304 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.
4308 # Check for getloadavg, but be sure not to touch the cache variable.
4309 (AC_CHECK_FUNC(getloadavg, exit 0, exit 1)) && ac_have_func=yes
4311 # On HPUX9, an unprivileged user can get load averages through this function.
4312 AC_CHECK_FUNCS(pstat_getdynamic)
4314 # Solaris has libkstat which does not require root.
4315 AC_CHECK_LIB(kstat, kstat_open)
4316 test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func=yes
4318 # Some systems with -lutil have (and need) -lkvm as well, some do not.
4319 # On Solaris, -lkvm requires nlist from -lelf, so check that first
4320 # to get the right answer into the cache.
4321 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
4322 if test $ac_have_func = no; then
4323 AC_CHECK_LIB(elf, elf_begin, LIBS="-lelf $LIBS")
4325 if test $ac_have_func = no; then
4326 AC_CHECK_LIB(kvm, kvm_open, LIBS="-lkvm $LIBS")
4327 # Check for the 4.4BSD definition of getloadavg.
4328 AC_CHECK_LIB(util, getloadavg,
4329 [LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes])
4332 if test $ac_have_func = no; then
4333 # There is a commonly available library for RS/6000 AIX.
4334 # Since it is not a standard part of AIX, it might be installed locally.
4335 ac_getloadavg_LIBS=$LIBS
4336 LIBS="-L/usr/local/lib $LIBS"
4337 AC_CHECK_LIB(getloadavg, getloadavg,
4338 [LIBS="-lgetloadavg $LIBS"], [LIBS=$ac_getloadavg_LIBS])
4341 # Make sure it is really in the library, if we think we found it,
4342 # otherwise set up the replacement function.
4343 AC_CHECK_FUNCS(getloadavg, [],
4344 [_AC_LIBOBJ_GETLOADAVG])
4346 # Some definitions of getloadavg require that the program be installed setgid.
4347 dnl FIXME: Don't hardwire the path of getloadavg.c in the top-level directory.
4348 AC_CACHE_CHECK(whether getloadavg requires setgid,
4349 ac_cv_func_getloadavg_setgid,
4350 [AC_EGREP_CPP([Yowza Am I SETGID yet],
4351 [#include "$srcdir/getloadavg.c"
4352 #ifdef LDAV_PRIVILEGED
4353 Yowza Am I SETGID yet
4355 ac_cv_func_getloadavg_setgid=yes,
4356 ac_cv_func_getloadavg_setgid=no)])
4357 if test $ac_cv_func_getloadavg_setgid = yes; then
4359 AC_DEFINE(GETLOADAVG_PRIVILEGED, 1,
4360 [Define if the `getloadavg' function needs to be run setuid
4365 AC_SUBST(NEED_SETGID)dnl
4367 if test $ac_cv_func_getloadavg_setgid = yes; then
4368 AC_CACHE_CHECK(group of /dev/kmem, ac_cv_group_kmem,
4369 [ # On Solaris, /dev/kmem is a symlink. Get info on the real file.
4370 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null`
4371 # If we got an error (system does not support symlinks), try without -L.
4372 test -z "$ac_ls_output" && ac_ls_output=`ls -lg /dev/kmem`
4373 ac_cv_group_kmem=`echo $ac_ls_output \
4374 | sed -ne ['s/[ ][ ]*/ /g;
4375 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
4378 AC_SUBST(KMEM_GROUP, $ac_cv_group_kmem)dnl
4380 if test "x$ac_save_LIBS" = x; then
4381 GETLOADAVG_LIBS=$LIBS
4383 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
4387 AC_SUBST(GETLOADAVG_LIBS)dnl
4388 []AC_PROVIDE([AC_FUNC_GETLOADAVG])[]_m4_defun_epi([AC_FUNC_GETLOADAVG])
4390 _AS_TR_PREPARE_m4_defun_pro([_AS_TR_PREPARE])m4_require([_AS_TR_SH_PREPARE])dnl
4391 m4_require([_AS_TR_CPP_PREPARE])dnl
4392 []_m4_defun_epi([_AS_TR_PREPARE])
4394 AC_LANG_PUSH_m4_defun_pro([AC_LANG_PUSH])_AC_LANG_SET(m4_ifdef([_AC_LANG], [m4_defn([_AC_LANG])]),
4396 m4_pushdef([_AC_LANG], [$1])[]_m4_defun_epi([AC_LANG_PUSH])
4398 m4_location(AS_DIRNAME)m4sh.m4:296
4400 AC_CROSS_CHECK_m4_defun_pro([AC_CROSS_CHECK])AC_DIAGNOSE([obsolete], [The macro `AC_CROSS_CHECK' is obsolete.
4401 You should run autoupdate.])dnl
4402 AC_C_CROSS($@)[]AC_PROVIDE([AC_CROSS_CHECK])[]_m4_defun_epi([AC_CROSS_CHECK])
4404 m4_location(AC_VERBOSE)acgeneral.m4:2106
4406 m4_location(AC_FUNC_UTIME_NULL)acfunctions.m4:1404
4408 m4_location(AC_FUNC_ERROR_AT_LINE)acfunctions.m4:325
4410 _AC_COMPILER_EXEEXTAC_LANG_CONFTEST([AC_LANG_PROGRAM()])
4411 ac_clean_files_save=$ac_clean_files
4412 ac_clean_files="$ac_clean_files a.out a.exe"
4413 _AC_COMPILER_EXEEXT_DEFAULT
4414 _AC_COMPILER_EXEEXT_WORKS
4415 rm -f a.out a.exe conftest$ac_cv_exeext
4416 ac_clean_files=$ac_clean_files_save
4417 _AC_COMPILER_EXEEXT_CROSS
4418 _AC_COMPILER_EXEEXT_O
4419 rm -f conftest.$ac_ext
4420 AC_SUBST([EXEEXT], [$ac_cv_exeext])dnl
4424 AC_FUNC_LSTAT_m4_defun_pro([AC_FUNC_LSTAT])_AC_FUNC_STAT(lstat)[]AC_PROVIDE([AC_FUNC_LSTAT])[]_m4_defun_epi([AC_FUNC_LSTAT])
4426 AC_LIST_FILES_COMMANDS
4428 AC_FUNC_FSEEKO_m4_defun_pro([AC_FUNC_FSEEKO])_AC_SYS_LARGEFILE_MACRO_VALUE(_LARGEFILE_SOURCE, 1,
4429 [ac_cv_sys_largefile_source],
4430 [Define to make fseeko visible on some hosts (e.g. glibc 2.2).],
4431 [@%:@include <stdio.h>], [return !fseeko;])
4433 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
4434 # in glibc 2.1.3, but that breaks too many other things.
4435 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
4436 AC_CACHE_CHECK([for fseeko], [ac_cv_func_fseeko],
4437 [AC_TRY_LINK([@%:@include <stdio.h>],
4438 [return fseeko && fseeko (stdin, 0, 0);],
4439 [ac_cv_func_fseeko=yes],
4440 [ac_cv_func_fseeko=no])])
4441 if test $ac_cv_func_fseeko = yes; then
4442 AC_DEFINE(HAVE_FSEEKO, 1,
4443 [Define if fseeko (and presumably ftello) exists and is declared.])
4445 []AC_PROVIDE([AC_FUNC_FSEEKO])[]_m4_defun_epi([AC_FUNC_FSEEKO])
4447 _AC_OUTPUT_COMMANDScat >>$CONFIG_STATUS <<\EOF
4450 # CONFIG_COMMANDS section.
4452 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4453 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4454 ac_source=`echo "$ac_file" | sed 's,[[^:]]*:,,'`
4456 dnl FIXME: Until Automake uses the new features of config.status, we
4457 dnl should keep this silent. Otherwise, because Automake runs this in
4458 dnl each directory, it quickly becomes annoying.
4459 dnl echo "executing commands of $ac_dest"
4461 AC_LIST_COMMANDS_COMMANDS()dnl
4467 AM_TYPE_PTRDIFF_T_m4_defun_pro([AM_TYPE_PTRDIFF_T])AC_DIAGNOSE([obsolete], [The macro `AM_TYPE_PTRDIFF_T' is obsolete.
4468 You should run autoupdate.])dnl
4469 AC_CHECK_TYPES(ptrdiff_t)[]AC_PROVIDE([AM_TYPE_PTRDIFF_T])[]_m4_defun_epi([AM_TYPE_PTRDIFF_T])
4471 m4_location(_AS_TR_PREPARE)m4sh.m4:612
4473 m4_location(AC_DECL_YYTEXT)acspecific.m4:186
4475 m4_text_wrapm4_pushdef([m4_Prefix], m4_default([$2], []))dnl
4476 m4_pushdef([m4_Prefix1], m4_default([$3], [m4_Prefix]))dnl
4477 m4_pushdef([m4_Width], m4_default([$4], 79))dnl
4478 m4_pushdef([m4_Cursor], m4_len(m4_Prefix1))dnl
4479 m4_pushdef([m4_Separator], [])dnl
4481 m4_if(m4_eval(m4_Cursor > m4_len(m4_Prefix)),
4482 1, [m4_define([m4_Cursor], m4_len(m4_Prefix))
4484 m4_foreach_quoted([m4_Word], (m4_split(m4_normalize([$1]))),
4485 [m4_define([m4_Cursor], m4_eval(m4_Cursor + len(m4_Word) + 1))dnl
4486 dnl New line if too long, else insert a space unless it is the first
4488 m4_if(m4_eval(m4_Cursor > m4_Width),
4489 1, [m4_define([m4_Cursor],
4490 m4_eval(m4_len(m4_Prefix) + m4_len(m4_Word) + 1))]
4492 [m4_Separator])[]dnl
4494 m4_define([m4_Separator], [ ])])dnl
4495 m4_popdef([m4_Separator])dnl
4496 m4_popdef([m4_Cursor])dnl
4497 m4_popdef([m4_Width])dnl
4498 m4_popdef([m4_Prefix1])dnl
4499 m4_popdef([m4_Prefix])dnl
4502 popdefm4_ifndef([$1],
4503 [m4_fatal([$0: undefined macro: $1])])dnl
4504 m4_builtin([popdef], $@)
4506 m4_file_appendm4_syscmd([cat >>$1 <<_m4eof
4510 m4_if(m4_sysval, [0], [],
4511 [m4_fatal([$0: cannot write: $1])])
4513 m4_location(AS_TR_CPP)m4sh.m4:604
4515 m4_location(_AC_LANG_ABBREV)aclang.m4:181
4517 m4_location(AC_FUNC_STRCOLL)acfunctions.m4:1373
4519 AC_FUNC_VFORK_m4_defun_pro([AC_FUNC_VFORK])AC_DIAGNOSE([obsolete], [The macro `AC_FUNC_VFORK' is obsolete.
4520 You should run autoupdate.])dnl
4521 AC_FUNC_FORK($@)[]AC_PROVIDE([AC_FUNC_VFORK])[]_m4_defun_epi([AC_FUNC_VFORK])
4523 AC_FUNC_STRFTIME_m4_defun_pro([AC_FUNC_STRFTIME])AC_CHECK_FUNCS(strftime, [],
4524 [# strftime is in -lintl on SCO UNIX.
4525 AC_CHECK_LIB(intl, strftime,
4526 [AC_DEFINE(HAVE_STRFTIME)
4527 LIBS="-lintl $LIBS"])])dnl
4528 []AC_PROVIDE([AC_FUNC_STRFTIME])[]_m4_defun_epi([AC_FUNC_STRFTIME])
4530 m4_location(AC_FUNC_SELECT_ARGTYPES)acfunctions.m4:1154
4532 AC_LANG_COMPILERAC_BEFORE([AC_LANG_COMPILER(]_AC_LANG[)],
4533 [AC_LANG_PREPROC(]_AC_LANG[)])dnl
4534 _AC_LANG_DISPATCH([$0], _AC_LANG, $@)
4536 AC_FUNC_GETMNTENT_m4_defun_pro([AC_FUNC_GETMNTENT])# getmntent is in -lsun on Irix 4, -lseq on Dynix/PTX, -lgen on Unixware.
4537 AC_CHECK_LIB(sun, getmntent, LIBS="-lsun $LIBS",
4538 [AC_CHECK_LIB(seq, getmntent, LIBS="-lseq $LIBS",
4539 [AC_CHECK_LIB(gen, getmntent, LIBS="-lgen $LIBS")])])
4540 AC_CHECK_FUNC(getmntent,
4541 [AC_DEFINE(HAVE_GETMNTENT, 1,
4542 [Define if you have the `getmntent' function.])])[]AC_PROVIDE([AC_FUNC_GETMNTENT])[]_m4_defun_epi([AC_FUNC_GETMNTENT])
4546 AC_FILE_DEPENDENCY_TRACE
4548 AC_DEFINEAC_DEFINE_TRACE([$1])dnl
4549 m4_ifval([$3], [_AH_TEMPLATE_OLD([$1], [$3])])dnl
4550 cat >>confdefs.h <<\EOF
4551 [@%:@define] $1 m4_if($#, 2, [$2], $#, 3, [$2], 1)
4557 AC_HAVE_POUNDBANG_m4_defun_pro([AC_HAVE_POUNDBANG])AC_DIAGNOSE([obsolete], [The macro `AC_HAVE_POUNDBANG' is obsolete.
4558 You should run autoupdate.])dnl
4560 AC_DIAGNOSE([obsolete],
4561 [$0: Remove this warning when you adjust your code to use
4562 `AC_SYS_INTERPRETER'.])[]AC_PROVIDE([AC_HAVE_POUNDBANG])[]_m4_defun_epi([AC_HAVE_POUNDBANG])
4569 m4_location(AC_SYS_INTERPRETER)acspecific.m4:339
4571 AS_VAR_SETAS_LITERAL_IF([$1],
4575 AC_OUTPUTdnl Dispatch the extra arguments to their native macros.
4577 [AC_CONFIG_FILES([$1])])dnl
4579 [AC_CONFIG_COMMANDS(default, [$2], [$3])])dnl
4581 [AC_DIAGNOSE([obsolete],
4582 [$0 should be used without arguments.
4583 You should run autoupdate.])])dnl
4586 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4587 # Let make expand exec_prefix.
4588 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4590 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4591 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4592 # trailing colons and then remove the whole line if VPATH becomes empty
4593 # (actually we leave an empty line to preserve line numbers).
4594 if test "x$srcdir" = x.; then
4595 ac_vpsub=['/^[ ]*VPATH[ ]*=/{
4596 s/:*\$(srcdir):*/:/;
4597 s/:*\${srcdir}:*/:/;
4599 s/^\([^=]*=[ ]*\):*/\1/;
4605 m4_ifset([AC_LIST_HEADERS], [DEFS=-DHAVE_CONFIG_H], [AC_OUTPUT_MAKE_DEFS()])
4607 dnl Commands to run before creating config.status.
4608 AC_OUTPUT_COMMANDS_PRE()dnl
4610 : ${CONFIG_STATUS=./config.status}
4611 ac_clean_files_save=$ac_clean_files
4612 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4613 _AC_OUTPUT_CONFIG_STATUS()dnl
4614 ac_clean_files=$ac_clean_files_save
4616 dnl Commands to run after config.status was created
4617 AC_OUTPUT_COMMANDS_POST()dnl
4619 # configure is writing to config.log, and then calls config.status.
4620 # config.status does its own redirection, appending to config.log.
4621 # Unfortunately, on DOS this fails, as config.log is still kept open
4622 # by configure, so config.status won't be able to write to it; its
4623 # output is simply discarded. So we exec the FD to /dev/null,
4624 # effectively closing config.log, so it can be properly (re)opened and
4625 # appended to by config.status. When coming back to configure, we
4626 # need to make the FD available again.
4627 if test "$no_create" != yes; then
4629 exec AS_MESSAGE_LOG_FD>/dev/null
4630 $SHELL $CONFIG_STATUS || ac_cs_success=false
4631 exec AS_MESSAGE_LOG_FD>>config.log
4632 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4633 # would make configure fail if this is the last instruction.
4634 $ac_cs_success || AS_EXIT([1])
4636 dnl config.status should not do recursion.
4637 AC_PROVIDE_IFELSE([AC_CONFIG_SUBDIRS], [_AC_OUTPUT_SUBDIRS()])dnl
4640 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)])
4642 m4_location(AC_PROG_F77)aclang.m4:1325
4644 AC_VPRINTF_m4_defun_pro([AC_VPRINTF])AC_DIAGNOSE([obsolete], [The macro `AC_VPRINTF' is obsolete.
4645 You should run autoupdate.])dnl
4646 AC_FUNC_VPRINTF($@)[]AC_PROVIDE([AC_VPRINTF])[]_m4_defun_epi([AC_VPRINTF])
4648 m4_assertm4_if(m4_eval([$1]), 0,
4649 [m4_fatal([assert failed: $1], [$2])])
4651 _AC_PROG_F77_V_OUTPUT_m4_defun_pro([_AC_PROG_F77_V_OUTPUT])AC_REQUIRE([AC_PROG_F77])dnl
4652 AC_LANG_PUSH(Fortran 77)dnl
4654 AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
4656 # Compile and link our simple test program by passing a flag (argument
4657 # 1 to this macro) to the Fortran 77 compiler in order to get
4658 # "verbose" output that we can then parse for the Fortran 77 linker
4660 ac_save_FFLAGS=$FFLAGS
4661 FFLAGS="$FFLAGS m4_default([$1], [$ac_cv_prog_f77_v])"
4662 (eval echo $as_me:__oline__: \"$ac_link\") >&AS_MESSAGE_LOG_FD
4663 ac_f77_v_output=`eval $ac_link AS_MESSAGE_LOG_FD>&1 2>&1 | grep -v 'Driving:'`
4664 echo "$ac_f77_v_output" >&AS_MESSAGE_LOG_FD
4665 FFLAGS=$ac_save_FFLAGS
4668 AC_LANG_POP(Fortran 77)dnl
4670 # If we are using xlf then replace all the commas with spaces.
4671 if echo $ac_f77_v_output | grep xlfentry >/dev/null 2>&1; then
4672 ac_f77_v_output=`echo $ac_f77_v_output | sed 's/,/ /g'`
4675 # If we are using Cray Fortran then delete quotes.
4676 # Use "\"" instead of '"' for font-lock-mode.
4677 # FIXME: a more general fix for quoted arguments with spaces?
4678 if echo $ac_f77_v_output | grep cft90 >/dev/null 2>&1; then
4679 ac_f77_v_output=`echo $ac_f77_v_output | sed "s/\"//g"`
4681 []AC_PROVIDE([_AC_PROG_F77_V_OUTPUT])[]_m4_defun_epi([_AC_PROG_F77_V_OUTPUT])
4683 m4_location(AC_FUNC_STRFTIME)acfunctions.m4:1321
4685 AC_OBSOLETEAC_DIAGNOSE([obsolete], [$1 is obsolete$2])
4687 m4_location(AC_CHAR_UNSIGNED)acoldnames.m4:48
4689 m4_divert_pushm4_pushdef([m4_divert_stack],
4690 m4_location[: $0: $1]m4_ifdef([m4_divert_stack], [
4691 m4_defn([m4_divert_stack])]))dnl
4692 m4_pushdef([_m4_divert_diversion], [$1])dnl
4693 m4_builtin([divert], _m4_divert(_m4_divert_diversion))dnl
4698 AC_FUNC_OBSTACK_m4_defun_pro([AC_FUNC_OBSTACK])AC_LIBSOURCES([obstack.h, obstack.c])dnl
4699 AC_CACHE_CHECK([for obstacks], ac_cv_func_obstack,
4700 [AC_TRY_LINK([@%:@include "obstack.h"],
4701 [struct obstack *mem; obstack_free(mem,(char *) 0)],
4702 [ac_cv_func_obstack=yes],
4703 [ac_cv_func_obstack=no])])
4704 if test $ac_cv_func_obstack = yes; then
4705 AC_DEFINE(HAVE_OBSTACK, 1, [Define if libc includes obstacks.])
4709 []AC_PROVIDE([AC_FUNC_OBSTACK])[]_m4_defun_epi([AC_FUNC_OBSTACK])
4711 m4_dom4_if($#, 0, [],
4713 [$1[]m4_do(m4_shift($@))])
4715 m4_location(AC_C_CONST)aclang.m4:1664
4717 _AC_F77_NAME_MANGLING_m4_defun_pro([_AC_F77_NAME_MANGLING])AC_REQUIRE([AC_F77_LIBRARY_LDFLAGS])dnl
4718 AC_REQUIRE([AC_F77_DUMMY_MAIN])dnl
4719 AC_CACHE_CHECK([for Fortran 77 name-mangling scheme],
4721 [AC_LANG_PUSH(Fortran 77)dnl
4723 [ subroutine foobar()
4726 subroutine foo_bar()
4729 [mv conftest.$ac_objext cf77_test.$ac_objext
4734 LIBS="cf77_test.$ac_objext $LIBS $FLIBS"
4737 for ac_foobar in foobar FOOBAR; do
4738 for ac_underscore in "" "_"; do
4739 ac_func="$ac_foobar$ac_underscore"
4740 AC_TRY_LINK_FUNC($ac_func,
4741 [ac_success=yes; break 2])
4745 if test "$ac_success" = "yes"; then
4758 for ac_extra in "" "_"; do
4759 ac_func="$ac_foo_bar$ac_underscore$ac_extra"
4760 AC_TRY_LINK_FUNC($ac_func,
4761 [ac_success_extra=yes; break])
4764 if test "$ac_success_extra" = "yes"; then
4765 ac_cv_f77_mangling="$ac_case case"
4766 if test -z "$ac_underscore"; then
4767 ac_cv_f77_mangling="$ac_cv_f77_mangling, no underscore"
4769 ac_cv_f77_mangling="$ac_cv_f77_mangling, underscore"
4771 if test -z "$ac_extra"; then
4772 ac_cv_f77_mangling="$ac_cv_f77_mangling, no extra underscore"
4774 ac_cv_f77_mangling="$ac_cv_f77_mangling, extra underscore"
4777 ac_cv_f77_mangling="unknown"
4780 ac_cv_f77_mangling="unknown"
4785 rm -f cf77_test* conftest*])
4786 AC_LANG_POP(Fortran 77)dnl
4788 []AC_PROVIDE([_AC_F77_NAME_MANGLING])[]_m4_defun_epi([_AC_F77_NAME_MANGLING])
4790 AC_IRIX_SUN_m4_defun_pro([AC_IRIX_SUN])AC_DIAGNOSE([obsolete], [The macro `AC_IRIX_SUN' is obsolete.
4791 You should run autoupdate.])dnl
4793 AC_CHECK_LIB(sun, getpwnam)[]AC_PROVIDE([AC_IRIX_SUN])[]_m4_defun_epi([AC_IRIX_SUN])
4795 _AC_LANG_ABBREV_m4_defun_pro([_AC_LANG_ABBREV])_AC_LANG_DISPATCH([$0], _AC_LANG, $@)[]_m4_defun_epi([_AC_LANG_ABBREV])
4797 AC_FUNC_STRTOD_m4_defun_pro([AC_FUNC_STRTOD])AC_CACHE_CHECK(for working strtod, ac_cv_func_strtod,
4798 [AC_RUN_IFELSE([AC_LANG_SOURCE([[
4804 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
4805 char *string = " +69";
4808 value = strtod (string, &term);
4809 if (value != 69 || term != (string + 4))
4814 /* Under Solaris 2.4, strtod returns the wrong value for the
4815 terminating character under some conditions. */
4816 char *string = "NaN";
4818 strtod (string, &term);
4819 if (term != string && *(term - 1) == 0)
4825 ac_cv_func_strtod=yes,
4826 ac_cv_func_strtod=no,
4827 ac_cv_func_strtod=no)])
4828 if test $ac_cv_func_strtod = no; then
4831 []AC_PROVIDE([AC_FUNC_STRTOD])[]_m4_defun_epi([AC_FUNC_STRTOD])
4835 AC_CHECK_TYPE_m4_defun_pro([AC_CHECK_TYPE])m4_if($#, 3,
4836 [_AC_CHECK_TYPE_NEW($@)],
4838 [_AC_CHECK_TYPE_NEW($@)],
4839 _AC_CHECK_TYPE_REPLACEMENT_TYPE_P([$2]), 1,
4840 [_AC_CHECK_TYPE_OLD($@)],
4841 _AC_CHECK_TYPE_MAYBE_TYPE_P([$2]), 1,
4842 [AC_DIAGNOSE([syntax],
4843 [$0: assuming `$2' is not a type])_AC_CHECK_TYPE_NEW($@)],
4844 [_AC_CHECK_TYPE_NEW($@)])[]dnl
4845 []AC_PROVIDE([AC_CHECK_TYPE])[]_m4_defun_epi([AC_CHECK_TYPE])
4847 m4_ifndefm4_ifdef([$1], [$3], [$2])
4849 AC_COPYRIGHTm4_divert_text([NOTICE],
4851 $1], [^], [@%:@ ])])dnl
4852 m4_divert_text(m4_default([$2], [VERSION_USER]),
4857 m4_location(_AS_UNSET_PREPARE)m4sh.m4:152
4859 AH_VERBATIMAS_LITERAL_IF([$1],
4860 [AH_OUTPUT([$1], AS_ESCAPE([[$2]]))])
4863 AC_FUNC_GETPGRP_m4_defun_pro([AC_FUNC_GETPGRP])AC_CACHE_CHECK(whether getpgrp takes no argument, ac_cv_func_getpgrp_void,
4864 [# Use it with a single arg.
4865 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT], [getpgrp (0);])],
4866 [ac_func_getpgrp_1=yes],
4867 [ac_func_getpgrp_1=no])
4868 # Use it with no arg.
4869 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT], [getpgrp ();])],
4870 [ac_func_getpgrp_0=yes],
4871 [ac_func_getpgrp_0=no])
4872 # If both static checks agree, we are done.
4873 case $ac_func_getpgrp_0:$ac_func_getpgrp_1 in
4874 yes:no) ac_cv_func_getpgrp_void=yes;;
4875 no:yes) ac_cv_func_getpgrp_void=false;;
4876 *) AC_RUN_IFELSE([_AC_FUNC_GETPGRP_TEST],
4877 [ac_cv_func_getpgrp_void=yes],
4878 [ac_cv_func_getpgrp_void=no],
4879 [AC_MSG_ERROR([cannot check getpgrp if cross compiling])]);;
4880 esac # $ac_func_getpgrp_0:$ac_func_getpgrp_1
4882 if test $ac_cv_func_getpgrp_void = yes; then
4883 AC_DEFINE(GETPGRP_VOID, 1,
4884 [Define if the `getpgrp' function takes no argument.])
4886 []AC_PROVIDE([AC_FUNC_GETPGRP])[]_m4_defun_epi([AC_FUNC_GETPGRP])
4888 m4_location(AC_FIND_X)acoldnames.m4:51
4890 _AC_OUTPUT_COMMANDS_CNT_m4_defun_pro([_AC_OUTPUT_COMMANDS_CNT])AC_DIAGNOSE([obsolete], [The macro `_AC_OUTPUT_COMMANDS_CNT' is obsolete.
4891 You should run autoupdate.])dnl
4892 0[]AC_PROVIDE([_AC_OUTPUT_COMMANDS_CNT])[]_m4_defun_epi([_AC_OUTPUT_COMMANDS_CNT])
4894 m4_location(AC_ST_RDEV)acoldnames.m4:72
4896 m4_location(AC_INIT)acgeneral.m4:1382
4898 m4_location(_AC_ARG_VAR_LDFLAGS)aclang.m4:830
4902 m4_location(AC_CONFIG_AUX_DIR_DEFAULT)acgeneral.m4:1650
4904 AC_CHECKING_m4_defun_pro([AC_CHECKING])AC_DIAGNOSE([obsolete], [The macro `AC_CHECKING' is obsolete.
4905 You should run autoupdate.])dnl
4906 AS_MESSAGE([checking $1...])[]AC_PROVIDE([AC_CHECKING])[]_m4_defun_epi([AC_CHECKING])
4908 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])
4910 m4_location(_AC_PROG_F77_V_OUTPUT)aclang.m4:1775
4912 m4_location(AC_CANONICAL_HOST)acgeneral.m4:1755
4914 _AC_INIT_NOTICEm4_divert_text([NOTICE],
4915 [@%:@ Guess values for system-dependent variables and create Makefiles.
4916 @%:@ Generated by Autoconf AC_ACVERSION[]dnl
4917 m4_ifset([AC_PACKAGE_STRING], [ for AC_PACKAGE_STRING]).])
4919 m4_ifset([AC_PACKAGE_BUGREPORT],
4920 [m4_divert_text([NOTICE],
4922 @%:@ Report bugs to <AC_PACKAGE_BUGREPORT>.])])
4925 _AC_INIT_HELPm4_divert_push([HELP_BEGIN])dnl
4928 # Report the --help message.
4930 if test "$ac_init_help" = "long"; then
4931 # Omit some internal or obsolete options to make the list less imposing.
4932 # This message is too long to be a string in the A/UX 3.1 sh.
4934 \`configure' configures m4_ifset([AC_PACKAGE_STRING],
4935 [AC_PACKAGE_STRING],
4936 [this package]) to adapt to many kinds of systems.
4938 Usage: $[0] [[OPTION]]... [[VAR=VALUE]]...
4940 [To assign environment variables (e.g., CC, CFLAGS...), specify them as
4941 VAR=VALUE. See below for descriptions of some of the useful variables.
4943 Defaults for the options are specified in brackets.
4946 -h, --help display this help and exit
4947 --help=short display options specific to this package
4948 --help=recursive display the short help of all the included packages
4949 -V, --version display version information and exit
4950 -q, --quiet, --silent do not print \`checking...' messages
4951 --cache-file=FILE cache test results in FILE [disabled]
4952 -C, --config-cache alias for \`--cache-file=config.cache'
4953 -n, --no-create do not create output files
4954 --srcdir=DIR find the sources in DIR [configure dir or \`..']
4959 Installation directories:
4960 --prefix=PREFIX install architecture-independent files in PREFIX
4961 [$ac_default_prefix]
4962 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
4965 By default, \`make install' will install all the files in
4966 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
4967 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
4968 for instance \`--prefix=\$HOME'.
4970 For better control, use the options below.
4972 Fine tuning of the installation directories:
4973 --bindir=DIR user executables [EPREFIX/bin]
4974 --sbindir=DIR system admin executables [EPREFIX/sbin]
4975 --libexecdir=DIR program executables [EPREFIX/libexec]
4976 --datadir=DIR read-only architecture-independent data [PREFIX/share]
4977 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
4978 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
4979 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
4980 --libdir=DIR object code libraries [EPREFIX/lib]
4981 --includedir=DIR C header files [PREFIX/include]
4982 --oldincludedir=DIR C header files for non-gcc [/usr/include]
4983 --infodir=DIR info documentation [PREFIX/info]
4984 --mandir=DIR man documentation [PREFIX/man]
4988 m4_divert_pop([HELP_BEGIN])dnl
4989 dnl The order of the diversions here is
4991 dnl which may be prolongated by extra generic options such as with X or
4992 dnl AC_ARG_PROGRAM. Displayed only in long --help.
4995 dnl Support for cross compilation (--build, --host and --target).
4996 dnl Display only in long --help.
4999 dnl which starts with the trailer of the HELP_BEGIN, HELP_CANON section,
5000 dnl then implements the header of the non generic options.
5009 dnl initialized below, in which we dump the trailer (handling of the
5010 dnl recursion for instance).
5011 m4_divert_push([HELP_ENABLE])dnl
5015 if test -n "$ac_init_help"; then
5016 m4_ifset([AC_PACKAGE_STRING],
5017 [ case $ac_init_help in
5018 short | recursive ) echo "Configuration of AC_PACKAGE_STRING:";;
5021 m4_divert_pop([HELP_ENABLE])dnl
5022 m4_divert_push([HELP_END])dnl
5023 m4_ifset([AC_PACKAGE_BUGREPORT], [
5024 Report bugs to <AC_PACKAGE_BUGREPORT>.])
5028 if test "$ac_init_help" = "recursive"; then
5029 # If there are subdirs, report their specific --help.
5031 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
5033 # A "../" for each directory in /$ac_subdir.
5034 ac_dots=`echo $ac_subdir |
5035 sed 's,^\./,,;s,[[^/]]$,&/,;s,[[^/]]*/,../,g'`
5038 .) # No --srcdir option. We are building in place.
5039 ac_sub_srcdir=$srcdir ;;
5040 [[\\/]]* | ?:[[\\/]]* ) # Absolute path.
5041 ac_sub_srcdir=$srcdir/$ac_subdir ;;
5043 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
5046 # Check for guested configure; otherwise get Cygnus style configure.
5047 if test -f $ac_sub_srcdir/configure.gnu; then
5049 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
5050 elif test -f $ac_sub_srcdir/configure; then
5052 $SHELL $ac_sub_srcdir/configure --help=recursive
5053 elif test -f $ac_sub_srcdir/configure.ac ||
5054 test -f $ac_sub_srcdir/configure.in; then
5056 $ac_configure --help
5058 AC_MSG_WARN([no configuration information is in $ac_subdir])
5064 test -n "$ac_init_help" && exit 0
5065 m4_divert_pop([HELP_END])dnl
5068 AC_FUNC_ALLOCA_m4_defun_pro([AC_FUNC_ALLOCA])# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5069 # for constant arguments. Useless!
5070 AC_CACHE_CHECK([for working alloca.h], ac_cv_working_alloca_h,
5071 [AC_TRY_LINK([@%:@include <alloca.h>],
5072 [char *p = (char *) alloca (2 * sizeof (int));],
5073 ac_cv_working_alloca_h=yes, ac_cv_working_alloca_h=no)])
5074 if test $ac_cv_working_alloca_h = yes; then
5075 AC_DEFINE(HAVE_ALLOCA_H, 1,
5076 [Define if you have <alloca.h> and it should be used
5080 AC_CACHE_CHECK([for alloca], ac_cv_func_alloca_works,
5083 # define alloca __builtin_alloca
5086 # include <malloc.h>
5087 # define alloca _alloca
5090 # include <alloca.h>
5095 # ifndef alloca /* predefined by HP cc +Olibcalls */
5102 ], [char *p = (char *) alloca (1);],
5103 ac_cv_func_alloca_works=yes, ac_cv_func_alloca_works=no)])
5105 if test $ac_cv_func_alloca_works = yes; then
5106 AC_DEFINE(HAVE_ALLOCA, 1,
5107 [Define if you have `alloca', as a function or macro.])
5111 []AC_PROVIDE([AC_FUNC_ALLOCA])[]_m4_defun_epi([AC_FUNC_ALLOCA])
5113 AS_TMPDIR# Create a temporary directory, and hook for its removal unless debugging.
5116 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5117 trap 'AS_EXIT([1])' 1 2 13 15
5120 # Create a (secure) tmp directory for tmp files.
5123 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/$1XXXXXX") 2>/dev/null` &&
5124 test -n "$tmp" && test -d "$tmp"
5127 tmp=$TMPDIR/$1$$-$RANDOM
5128 (umask 077 && mkdir $tmp)
5131 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
5136 AC_SCO_INTL_m4_defun_pro([AC_SCO_INTL])AC_DIAGNOSE([obsolete], [The macro `AC_SCO_INTL' is obsolete.
5137 You should run autoupdate.])dnl
5138 AC_FUNC_STRFTIME[]AC_PROVIDE([AC_SCO_INTL])[]_m4_defun_epi([AC_SCO_INTL])
5140 AC_PID_T_m4_defun_pro([AC_PID_T])AC_DIAGNOSE([obsolete], [The macro `AC_PID_T' is obsolete.
5141 You should run autoupdate.])dnl
5142 AC_TYPE_PID_T($@)[]AC_PROVIDE([AC_PID_T])[]_m4_defun_epi([AC_PID_T])
5144 _m4_divert(HELP_VAR_END)15
5150 AC_FUNC_SETVBUF_REVERSED_m4_defun_pro([AC_FUNC_SETVBUF_REVERSED])AC_CACHE_CHECK(whether setvbuf arguments are reversed,
5151 ac_cv_func_setvbuf_reversed,
5152 [AC_TRY_RUN([#include <stdio.h>
5153 /* If setvbuf has the reversed format, exit 0. */
5157 /* This call has the arguments reversed.
5158 A reversed system may check and see that the address of main
5159 is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
5160 if (setvbuf(stdout, _IOLBF, (char *) main, BUFSIZ) != 0)
5163 exit(0); /* Non-reversed systems segv here. */
5164 }], ac_cv_func_setvbuf_reversed=yes, ac_cv_func_setvbuf_reversed=no)
5165 rm -f core core.* *.core])
5166 if test $ac_cv_func_setvbuf_reversed = yes; then
5167 AC_DEFINE(SETVBUF_REVERSED, 1,
5168 [Define if the `setvbuf' function takes the buffering type as
5169 its second argument and the buffer pointer as the third, as on
5170 System V before release 3.])
5172 []AC_PROVIDE([AC_FUNC_SETVBUF_REVERSED])[]_m4_defun_epi([AC_FUNC_SETVBUF_REVERSED])
5174 AC_FATALm4_errprintn(m4_location[: error: $1])dnl
5175 m4_expansion_stack_dump()dnl
5176 m4_exit(m4_if([$2],, 1, [$2]))
5178 AC_LIST_MEMBER_OF_m4_defun_pro([AC_LIST_MEMBER_OF])dnl Do some sanity checking of the arguments.
5179 m4_if([$1], , [AC_FATAL([$0]: missing argument 1)])dnl
5180 m4_if([$2], , [AC_FATAL([$0]: missing argument 2)])dnl
5184 if test x"$1" = x"$ac_i"; then
5190 AS_IF([test x"$ac_exists" = xtrue], [$3], [$4])[]dnl
5191 []AC_PROVIDE([AC_LIST_MEMBER_OF])[]_m4_defun_epi([AC_LIST_MEMBER_OF])
5193 AC_BEFOREAC_PROVIDE_IFELSE([$2], [AC_DIAGNOSE([syntax], [$2 was called before $1])])
5197 m4_undivertm4_builtin([undivert], _m4_divert([$1]))
5199 m4_location(AC_C_PROTOTYPES)aclang.m4:1726
5201 _m4_warning_ifelsem4_case([$4],
5207 [$0([$1], [$2], [$3], m4_shiftn(4, $@))])
5209 _AC_EVAL_STDERR_m4_defun_pro([_AC_EVAL_STDERR])_AC_RUN_LOG_STDERR([eval $1],
5210 [eval echo "$as_me:__oline__: \"$1\""])[]AC_PROVIDE([_AC_EVAL_STDERR])[]_m4_defun_epi([_AC_EVAL_STDERR])
5212 _AC_PROG_F77_V_m4_defun_pro([_AC_PROG_F77_V])AC_CACHE_CHECK([how to get verbose linking output from $F77],
5214 [AC_LANG_ASSERT(Fortran 77)
5215 AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
5217 # Try some options frequently used verbose output
5218 for ac_verb in -v -verbose --verbose -V -\#\#\#; do
5219 _AC_PROG_F77_V_OUTPUT($ac_verb)
5220 # look for -l* and *.a constructs in the output
5221 for ac_arg in $ac_f77_v_output; do
5223 [[\\/]]*.a | ?:[[\\/]]*.a | -[[lLRu]]*)
5224 ac_cv_prog_f77_v=$ac_verb
5229 if test -z "$ac_cv_prog_f77_v"; then
5230 AC_MSG_WARN([cannot determine how to obtain linking information from $F77])
5232 [AC_MSG_WARN([compilation failed])])
5233 ])[]AC_PROVIDE([_AC_PROG_F77_V])[]_m4_defun_epi([_AC_PROG_F77_V])
5237 AS_MESSAGEm4_ifset([AS_MESSAGE_LOG_FD],
5238 [{ _AS_ECHO([$as_me:__oline__: $1], [AS_MESSAGE_LOG_FD])
5239 _AS_ECHO([$as_me: $1], [$2]);}],
5240 [_AS_ECHO([$as_me: $1], [$2])])[]dnl
5243 AC_FIND_XTRA_m4_defun_pro([AC_FIND_XTRA])AC_DIAGNOSE([obsolete], [The macro `AC_FIND_XTRA' is obsolete.
5244 You should run autoupdate.])dnl
5245 AC_PATH_XTRA($@)[]AC_PROVIDE([AC_FIND_XTRA])[]_m4_defun_epi([AC_FIND_XTRA])
5247 m4_location(AC_TYPE_MODE_T)actypes.m4:309
5249 m4_include(actypes.m4)
5255 _AC_INIT_PARSE_ARGSm4_divert_push([PARSE_ARGS])dnl
5257 # Initialize some variables set by options.
5259 ac_init_version=false
5260 # The variables have the same names as the options, with
5261 # dashes changed to underlines.
5262 cache_file=/dev/null
5263 AC_SUBST(exec_prefix, NONE)dnl
5266 AC_SUBST(prefix, NONE)dnl
5269 AC_SUBST(program_transform_name, [s,x,x,])dnl
5277 # Installation directory options.
5278 # These are left unexpanded so users can "make install exec_prefix=/foo"
5279 # and all the variables that are supposed to be based on exec_prefix
5280 # by default will actually change.
5281 # Use braces instead of parens because sh, perl, etc. also accept them.
5282 AC_SUBST([bindir], ['${exec_prefix}/bin'])dnl
5283 AC_SUBST([sbindir], ['${exec_prefix}/sbin'])dnl
5284 AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])dnl
5285 AC_SUBST([datadir], ['${prefix}/share'])dnl
5286 AC_SUBST([sysconfdir], ['${prefix}/etc'])dnl
5287 AC_SUBST([sharedstatedir], ['${prefix}/com'])dnl
5288 AC_SUBST([localstatedir], ['${prefix}/var'])dnl
5289 AC_SUBST([libdir], ['${exec_prefix}/lib'])dnl
5290 AC_SUBST([includedir], ['${prefix}/include'])dnl
5291 AC_SUBST([oldincludedir], ['/usr/include'])dnl
5292 AC_SUBST([infodir], ['${prefix}/info'])dnl
5293 AC_SUBST([mandir], ['${prefix}/man'])dnl
5295 # Identity of this package.
5296 AC_SUBST([PACKAGE_NAME],
5297 [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])dnl
5298 AC_SUBST([PACKAGE_TARNAME],
5299 [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])dnl
5300 AC_SUBST([PACKAGE_VERSION],
5301 [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])dnl
5302 AC_SUBST([PACKAGE_STRING],
5303 [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])dnl
5304 AC_SUBST([PACKAGE_BUGREPORT],
5305 [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])dnl
5310 # If the previous option needs an argument, assign it.
5311 if test -n "$ac_prev"; then
5312 eval "$ac_prev=\$ac_option"
5317 ac_optarg=`expr "x$ac_option" : 'x[[^=]]*=\(.*\)'`
5319 # Accept the important Cygnus configure options, so we can diagnose typos.
5323 -bindir | --bindir | --bindi | --bind | --bin | --bi)
5325 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
5326 bindir=$ac_optarg ;;
5328 -build | --build | --buil | --bui | --bu)
5329 ac_prev=build_alias ;;
5330 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
5331 build_alias=$ac_optarg ;;
5333 -cache-file | --cache-file | --cache-fil | --cache-fi \
5334 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
5335 ac_prev=cache_file ;;
5336 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
5337 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
5338 cache_file=$ac_optarg ;;
5340 --config-cache | -C)
5341 cache_file=config.cache ;;
5343 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
5345 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
5347 datadir=$ac_optarg ;;
5349 -disable-* | --disable-*)
5350 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
5351 # Reject names that are not valid shell variable names.
5352 expr "x$ac_feature" : "[.*[^-_$as_cr_alnum]]" >/dev/null &&
5353 AC_MSG_ERROR([invalid feature name: $ac_feature])
5354 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
5355 eval "enable_$ac_feature=no" ;;
5357 -enable-* | --enable-*)
5358 ac_feature=`expr "x$ac_option" : 'x-*enable-\([[^=]]*\)'`
5359 # Reject names that are not valid shell variable names.
5360 expr "x$ac_feature" : "[.*[^-_$as_cr_alnum]]" >/dev/null &&
5361 AC_MSG_ERROR([invalid feature name: $ac_feature])
5362 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
5364 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
5367 eval "enable_$ac_feature='$ac_optarg'" ;;
5369 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
5370 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
5371 | --exec | --exe | --ex)
5372 ac_prev=exec_prefix ;;
5373 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
5374 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
5375 | --exec=* | --exe=* | --ex=*)
5376 exec_prefix=$ac_optarg ;;
5378 -gas | --gas | --ga | --g)
5379 # Obsolete; use --with-gas.
5382 -help | --help | --hel | --he | -h)
5383 ac_init_help=long ;;
5384 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
5385 ac_init_help=recursive ;;
5386 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
5387 ac_init_help=short ;;
5389 -host | --host | --hos | --ho)
5390 ac_prev=host_alias ;;
5391 -host=* | --host=* | --hos=* | --ho=*)
5392 host_alias=$ac_optarg ;;
5394 -includedir | --includedir | --includedi | --included | --include \
5395 | --includ | --inclu | --incl | --inc)
5396 ac_prev=includedir ;;
5397 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
5398 | --includ=* | --inclu=* | --incl=* | --inc=*)
5399 includedir=$ac_optarg ;;
5401 -infodir | --infodir | --infodi | --infod | --info | --inf)
5403 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
5404 infodir=$ac_optarg ;;
5406 -libdir | --libdir | --libdi | --libd)
5408 -libdir=* | --libdir=* | --libdi=* | --libd=*)
5409 libdir=$ac_optarg ;;
5411 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
5412 | --libexe | --libex | --libe)
5413 ac_prev=libexecdir ;;
5414 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
5415 | --libexe=* | --libex=* | --libe=*)
5416 libexecdir=$ac_optarg ;;
5418 -localstatedir | --localstatedir | --localstatedi | --localstated \
5419 | --localstate | --localstat | --localsta | --localst \
5420 | --locals | --local | --loca | --loc | --lo)
5421 ac_prev=localstatedir ;;
5422 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
5423 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
5424 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
5425 localstatedir=$ac_optarg ;;
5427 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
5429 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
5430 mandir=$ac_optarg ;;
5432 -nfp | --nfp | --nf)
5433 # Obsolete; use --without-fp.
5436 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
5440 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
5441 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
5444 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
5445 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
5446 | --oldin | --oldi | --old | --ol | --o)
5447 ac_prev=oldincludedir ;;
5448 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
5449 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
5450 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
5451 oldincludedir=$ac_optarg ;;
5453 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
5455 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
5456 prefix=$ac_optarg ;;
5458 -program-prefix | --program-prefix | --program-prefi | --program-pref \
5459 | --program-pre | --program-pr | --program-p)
5460 ac_prev=program_prefix ;;
5461 -program-prefix=* | --program-prefix=* | --program-prefi=* \
5462 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
5463 program_prefix=$ac_optarg ;;
5465 -program-suffix | --program-suffix | --program-suffi | --program-suff \
5466 | --program-suf | --program-su | --program-s)
5467 ac_prev=program_suffix ;;
5468 -program-suffix=* | --program-suffix=* | --program-suffi=* \
5469 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
5470 program_suffix=$ac_optarg ;;
5472 -program-transform-name | --program-transform-name \
5473 | --program-transform-nam | --program-transform-na \
5474 | --program-transform-n | --program-transform- \
5475 | --program-transform | --program-transfor \
5476 | --program-transfo | --program-transf \
5477 | --program-trans | --program-tran \
5478 | --progr-tra | --program-tr | --program-t)
5479 ac_prev=program_transform_name ;;
5480 -program-transform-name=* | --program-transform-name=* \
5481 | --program-transform-nam=* | --program-transform-na=* \
5482 | --program-transform-n=* | --program-transform-=* \
5483 | --program-transform=* | --program-transfor=* \
5484 | --program-transfo=* | --program-transf=* \
5485 | --program-trans=* | --program-tran=* \
5486 | --progr-tra=* | --program-tr=* | --program-t=*)
5487 program_transform_name=$ac_optarg ;;
5489 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5490 | -silent | --silent | --silen | --sile | --sil)
5493 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
5495 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
5497 sbindir=$ac_optarg ;;
5499 -sharedstatedir | --sharedstatedir | --sharedstatedi \
5500 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
5501 | --sharedst | --shareds | --shared | --share | --shar \
5503 ac_prev=sharedstatedir ;;
5504 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
5505 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
5506 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
5508 sharedstatedir=$ac_optarg ;;
5510 -site | --site | --sit)
5512 -site=* | --site=* | --sit=*)
5515 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
5517 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
5518 srcdir=$ac_optarg ;;
5520 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
5521 | --syscon | --sysco | --sysc | --sys | --sy)
5522 ac_prev=sysconfdir ;;
5523 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
5524 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
5525 sysconfdir=$ac_optarg ;;
5527 -target | --target | --targe | --targ | --tar | --ta | --t)
5528 ac_prev=target_alias ;;
5529 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
5530 target_alias=$ac_optarg ;;
5532 -v | -verbose | --verbose | --verbos | --verbo | --verb)
5535 -version | --version | --versio | --versi | --vers | -V)
5536 ac_init_version=: ;;
5539 ac_package=`expr "x$ac_option" : 'x-*with-\([[^=]]*\)'`
5540 # Reject names that are not valid shell variable names.
5541 expr "x$ac_package" : "[.*[^-_$as_cr_alnum]]" >/dev/null &&
5542 AC_MSG_ERROR([invalid package name: $ac_package])
5543 ac_package=`echo $ac_package| sed 's/-/_/g'`
5545 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
5548 eval "with_$ac_package='$ac_optarg'" ;;
5550 -without-* | --without-*)
5551 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
5552 # Reject names that are not valid shell variable names.
5553 expr "x$ac_package" : "[.*[^-_$as_cr_alnum]]" >/dev/null &&
5554 AC_MSG_ERROR([invalid package name: $ac_package])
5555 ac_package=`echo $ac_package | sed 's/-/_/g'`
5556 eval "with_$ac_package=no" ;;
5559 # Obsolete; use --with-x.
5562 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
5563 | --x-incl | --x-inc | --x-in | --x-i)
5564 ac_prev=x_includes ;;
5565 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
5566 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
5567 x_includes=$ac_optarg ;;
5569 -x-libraries | --x-libraries | --x-librarie | --x-librari \
5570 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
5571 ac_prev=x_libraries ;;
5572 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
5573 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
5574 x_libraries=$ac_optarg ;;
5576 -*) AC_MSG_ERROR([unrecognized option: $ac_option
5577 Try `$[0] --help' for more information.])
5581 ac_envvar=`expr "x$ac_option" : 'x\([[^=]]*\)='`
5582 # Reject names that are not valid shell variable names.
5583 expr "x$ac_envvar" : "[.*[^_$as_cr_alnum]]" >/dev/null &&
5584 AC_MSG_ERROR([invalid variable name: $ac_envvar])
5585 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
5586 eval "$ac_envvar='$ac_optarg'"
5587 export $ac_envvar ;;
5590 # FIXME: should be removed in autoconf 3.0.
5591 AC_MSG_WARN([you should use --build, --host, --target])
5592 expr "x$ac_option" : "[.*[^-._$as_cr_alnum]]" >/dev/null &&
5593 AC_MSG_WARN([invalid host type: $ac_option])
5594 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
5600 if test -n "$ac_prev"; then
5601 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
5602 AC_MSG_ERROR([missing argument to $ac_option])
5605 # Be sure to have absolute paths.
5606 for ac_var in exec_prefix prefix
5608 eval ac_val=$`echo $ac_var`
5610 [[\\/$]]* | ?:[[\\/]]* | NONE | '' ) ;;
5611 *) AC_MSG_ERROR([expected an absolute path for --$ac_var: $ac_val]);;
5615 # Be sure to have absolute paths.
5616 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
5617 localstatedir libdir includedir oldincludedir infodir mandir
5619 eval ac_val=$`echo $ac_var`
5621 [[\\/$]]* | ?:[[\\/]]* ) ;;
5622 *) AC_MSG_ERROR([expected an absolute path for --$ac_var: $ac_val]);;
5626 # There might be people who depend on the old broken behavior: `$host'
5627 # used to hold the argument of --host etc.
5630 target=$target_alias
5632 # FIXME: should be removed in autoconf 3.0.
5633 if test "x$host_alias" != x; then
5634 if test "x$build_alias" = x; then
5635 cross_compiling=maybe
5636 AC_MSG_WARN([If you wanted to set the --build type, don't use --host.
5637 If a cross compiler is detected then cross compile mode will be used.])
5638 elif test "x$build_alias" != "x$host_alias"; then
5644 test -n "$host_alias" && ac_tool_prefix=$host_alias-
5646 test "$silent" = yes && exec AS_MESSAGE_FD>/dev/null
5648 m4_divert_pop([PARSE_ARGS])dnl
5653 _m4_divert(INIT_PREPARE)30
5655 AS_UNSET_m4_defun_pro([AS_UNSET])m4_require([_AS_UNSET_PREPARE])dnl
5656 $as_unset $1 || test "${$1+set}" != set || { $1=$2; export $1; }[]_m4_defun_epi([AS_UNSET])
5658 AC_STAT_MACROS_BROKEN_m4_defun_pro([AC_STAT_MACROS_BROKEN])AC_DIAGNOSE([obsolete], [The macro `AC_STAT_MACROS_BROKEN' is obsolete.
5659 You should run autoupdate.])dnl
5660 AC_HEADER_STAT($@)[]AC_PROVIDE([AC_STAT_MACROS_BROKEN])[]_m4_defun_epi([AC_STAT_MACROS_BROKEN])
5664 m4_location(AC_FUNC_FNMATCH)acfunctions.m4:356
5668 AC_PROG_CC_STDC_m4_defun_pro([AC_PROG_CC_STDC])AC_REQUIRE([AC_PROG_CC])dnl
5669 AC_BEFORE([$0], [AC_C_INLINE])dnl
5670 AC_BEFORE([$0], [AC_C_CONST])dnl
5671 dnl Force this before AC_PROG_CPP. Some cpp's, eg on HPUX, require
5672 dnl a magic option to avoid problems with ANSI preprocessor commands
5674 dnl FIXME: can't do this because then AC_AIX won't work due to a
5675 dnl circular dependency.
5676 dnl AC_BEFORE([$0], [AC_PROG_CPP])
5677 AC_MSG_CHECKING([for $CC option to accept ANSI C])
5678 AC_CACHE_VAL(ac_cv_prog_cc_stdc,
5679 [ac_cv_prog_cc_stdc=no
5681 AC_LANG_CONFTEST([AC_LANG_PROGRAM(
5682 [[#include <stdarg.h>
5684 #include <sys/types.h>
5685 #include <sys/stat.h>
5686 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5687 struct buf { int x; };
5688 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5689 static char *e (p, i)
5695 static char *f (char * (*g) (char **, int), char **p, ...)
5700 s = g (p, va_arg (v,int));
5704 int test (int i, double x);
5705 struct s1 {int (*f) (int a);};
5706 struct s2 {int (*f) (double a);};
5707 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5710 [[return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];]])])
5711 # Don't try gcc -ansi; that turns off useful extensions and
5712 # breaks some systems' header files.
5713 # AIX -qlanglvl=ansi
5714 # Ultrix and OSF/1 -std1
5715 # HP-UX 10.20 and later -Ae
5716 # HP-UX older versions -Aa -D_HPUX_SOURCE
5717 # SVR4 -Xc -D__EXTENSIONS__
5718 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5720 CC="$ac_save_CC $ac_arg"
5721 AC_COMPILE_IFELSE([],
5722 [ac_cv_prog_cc_stdc=$ac_arg
5725 rm -f conftest.$ac_ext conftest.$ac_objext
5728 case "x$ac_cv_prog_cc_stdc" in
5730 AC_MSG_RESULT([none needed]) ;;
5732 AC_MSG_RESULT([$ac_cv_prog_cc_stdc])
5733 CC="$CC $ac_cv_prog_cc_stdc" ;;
5735 []AC_PROVIDE([AC_PROG_CC_STDC])[]_m4_defun_epi([AC_PROG_CC_STDC])
5737 AC_PLAIN_SCRIPTAS_INIT
5739 # Forbidden tokens and exceptions.
5740 m4_pattern_forbid([^_?A[CHUM]_])
5741 m4_pattern_forbid([_AC_])
5742 # Actually reserved by M4sh.
5743 m4_pattern_allow([^AS_FLAGS$])
5745 m4_divert_push([BODY])dnl
5746 m4_wrap([m4_divert_pop([BODY])[]])dnl
5749 _AC_RUN_IFELSEm4_ifvaln([$1], [AC_LANG_CONFTEST([$1])])dnl
5750 rm -f conftest$ac_exeext
5751 AS_IF([AC_TRY_EVAL(ac_link) && AC_TRY_COMMAND(./conftest$ac_exeext)],
5753 [echo "$as_me: program exited with status $ac_status" >&AS_MESSAGE_LOG_FD
5754 echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD
5755 cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD
5756 m4_ifvaln([$3], [$3])dnl])[]dnl
5757 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext m4_ifval([$1],
5758 [conftest.$ac_ext])[]dnl
5761 m4_include(acfunctions.m4)
5763 _AC_LANG_ABBREV(C++)cxx
5765 AM_FUNC_OBSTACK_m4_defun_pro([AM_FUNC_OBSTACK])AC_DIAGNOSE([obsolete], [The macro `AM_FUNC_OBSTACK' is obsolete.
5766 You should run autoupdate.])dnl
5767 AC_FUNC_OBSTACK($@)[]AC_PROVIDE([AM_FUNC_OBSTACK])[]_m4_defun_epi([AM_FUNC_OBSTACK])
5769 AC_MAJOR_HEADER_m4_defun_pro([AC_MAJOR_HEADER])AC_DIAGNOSE([obsolete], [The macro `AC_MAJOR_HEADER' is obsolete.
5770 You should run autoupdate.])dnl
5771 AC_HEADER_MAJOR($@)[]AC_PROVIDE([AC_MAJOR_HEADER])[]_m4_defun_epi([AC_MAJOR_HEADER])
5773 AC_FUNC_STRERROR_R_m4_defun_pro([AC_FUNC_STRERROR_R])AC_CHECK_DECLS([strerror_r])
5774 AC_CHECK_FUNCS([strerror_r])
5775 if test $ac_cv_func_strerror_r = yes; then
5776 AC_CACHE_CHECK([for working strerror_r],
5777 ac_cv_func_strerror_r_works,
5779 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
5782 char x = *strerror_r (0, buf, sizeof buf);
5784 ac_cv_func_strerror_r_works=yes,
5785 ac_cv_func_strerror_r_works=no)
5786 if test $ac_cv_func_strerror_r_works = no; then
5787 # strerror_r seems not to work, but now we have to choose between
5788 # systems that have relatively inaccessible declarations for the
5789 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
5790 # former has a strerror_r that returns char*, while the latter
5791 # has a strerror_r that returns `int'.
5792 # This test should segfault on the DEC system.
5793 AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT
5794 extern char *strerror_r ();],
5796 char x = *strerror_r (0, buf, sizeof buf);
5797 exit (!isalpha (x));]])],
5798 ac_cv_func_strerror_r_works=yes,
5799 ac_cv_func_strerror_r_works=no,
5800 ac_cv_func_strerror_r_works=no)
5803 if test $ac_cv_func_strerror_r_works = yes; then
5804 AC_DEFINE_UNQUOTED([HAVE_WORKING_STRERROR_R], 1,
5805 [Define to 1 if `strerror_r' returns a string.])
5808 []AC_PROVIDE([AC_FUNC_STRERROR_R])[]_m4_defun_epi([AC_FUNC_STRERROR_R])
5812 _AC_COMPILE_IFELSEm4_ifvaln([$1], [AC_LANG_CONFTEST([$1])])dnl
5813 rm -f conftest.$ac_objext
5814 AS_IF([AC_TRY_EVAL(ac_compile) &&
5815 AC_TRY_COMMAND([test -s conftest.$ac_objext])],
5817 [echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD
5818 cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD
5819 m4_ifvaln([$3],[$3])dnl])dnl
5820 rm -f conftest.$ac_objext m4_ifval([$1], [conftest.$ac_ext])[]dnl
5823 _AS_TEST_PREPARE_m4_defun_pro([_AS_TEST_PREPARE])as_executable_p="test -f"
5824 []_m4_defun_epi([_AS_TEST_PREPARE])
5826 AS_VAR_TEST_SETAS_LITERAL_IF([$1],
5827 [test "${$1+set}" = set],
5828 [eval "test \"\${$1+set}\" = set"])
5830 _AC_CHECK_TYPE_REPLACEMENT_TYPE_Pm4_if(m4_regexp([$1],
5831 [^\(_Bool\|bool\|char\|double\|float\|int\|long\|short\|\(un\)?signed\|[_a-zA-Z][_a-zA-Z0-9]*_t\)[][_a-zA-Z0-9() *]*$]),
5835 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])
5837 AC_ERROR_m4_defun_pro([AC_ERROR])AC_DIAGNOSE([obsolete], [The macro `AC_ERROR' is obsolete.
5838 You should run autoupdate.])dnl
5839 AC_MSG_ERROR($@)[]AC_PROVIDE([AC_ERROR])[]_m4_defun_epi([AC_ERROR])
5841 m4_location(AC_LANG_COMPILER_REQUIRE)aclang.m4:532
5843 _AS_BOX_LITERALcat <<\_ASBOX
5844 m4_patsubst([$1], [.], m4_if([$2], [], [[=]], [[$2]]))
5846 m4_patsubst([$1], [.], m4_if([$2], [], [[=]], [[$2]]))
5849 AC_PATH_PROGS_m4_defun_pro([AC_PATH_PROGS])for ac_prog in $2
5851 AC_PATH_PROG([$1], [$ac_prog], , [$4])
5852 test -n "$$1" && break
5854 m4_ifvaln([$3], [test -n "$$1" || $1="$3"])dnl
5855 []AC_PROVIDE([AC_PATH_PROGS])[]_m4_defun_epi([AC_PATH_PROGS])
5857 m4_location(AC_LANG_COMPILER(Fortran 77))aclang.m4:1263
5859 m4_init# We need a tmp directory.
5860 m4_ifndef([m4_tmpdir],
5861 [m4_define([m4_tmpdir], [/tmp])])
5863 # M4sugar reserves `m4_[A-Za-z0-9_]*'. We'd need \b and +,
5864 # but they are not portable.
5865 m4_pattern_forbid([^m4_])
5866 m4_pattern_forbid([^dnl$])
5868 # Check the divert push/pop perfect balance.
5869 m4_wrap([m4_ifdef([_m4_divert_diversion],
5870 [m4_fatal([$0: unbalanced m4_divert_push:]
5871 m4_defn([m4_divert_stack]))])[]])
5873 m4_divert_push([KILL])
5874 m4_wrap([m4_divert_pop([KILL])[]])
5877 _AC_PROG_F77_Gac_test_FFLAGS=${FFLAGS+set}
5878 ac_save_FFLAGS=$FFLAGS
5880 AC_CACHE_CHECK(whether $F77 accepts -g, ac_cv_prog_f77_g,
5882 _AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
5883 [ac_cv_prog_f77_g=yes],
5884 [ac_cv_prog_f77_g=no])
5886 if test "$ac_test_FFLAGS" = set; then
5887 FFLAGS=$ac_save_FFLAGS
5888 elif test $ac_cv_prog_f77_g = yes; then
5889 if test "$G77" = yes; then
5895 if test "$G77" = yes; then
5903 AC_LONG_64_BITS_m4_defun_pro([AC_LONG_64_BITS])AC_DIAGNOSE([obsolete], [The macro `AC_LONG_64_BITS' is obsolete.
5904 You should run autoupdate.])dnl
5905 AC_CHECK_SIZEOF([long int])
5906 AC_DIAGNOSE([obsolete], [$0:
5907 your code should no longer depend upon `LONG_64_BITS', but upon
5908 `SIZEOF_LONG_INT'. Remove this warning and the `AC_DEFINE' when
5909 you adjust the code.])dnl
5910 test $ac_cv_sizeof_long_int = 8 &&
5911 AC_DEFINE(LONG_64_BITS, 1,
5912 [Define if `sizeof (long int)' = 8. Obsolete, use
5913 `SIZEOF_LONG_INT'.])
5914 []AC_PROVIDE([AC_LONG_64_BITS])[]_m4_defun_epi([AC_LONG_64_BITS])
5916 m4_popdefm4_ifndef([$1],
5917 [m4_fatal([$0: undefined macro: $1])])dnl
5918 m4_builtin([popdef], $@)
5920 AS_MKDIR_P{ case $1 in
5921 [[\\/]]* | ?:[[\\/]]* ) as_incr_dir=;;
5925 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$[@]"`; do
5926 case $as_mkdir_dir in
5927 # Skip DOS drivespec
5928 ?:) as_incr_dir=$as_mkdir_dir ;;
5930 as_incr_dir=$as_incr_dir/$as_mkdir_dir
5931 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
5937 AC_UTIME_NULL_m4_defun_pro([AC_UTIME_NULL])AC_DIAGNOSE([obsolete], [The macro `AC_UTIME_NULL' is obsolete.
5938 You should run autoupdate.])dnl
5939 AC_FUNC_UTIME_NULL($@)[]AC_PROVIDE([AC_UTIME_NULL])[]_m4_defun_epi([AC_UTIME_NULL])
5941 AC_PROG_F77_C_O_m4_defun_pro([AC_PROG_F77_C_O])AC_REQUIRE([AC_PROG_F77])dnl
5942 AC_CACHE_CHECK([whether $F77 understand -c and -o together],
5943 [ac_cv_prog_f77_c_o],
5944 [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
5945 # We test twice because some compilers refuse to overwrite an existing
5946 # `.o' file with `-o', although they will create one.
5947 ac_try='$F77 $FFLAGS -c conftest.$ac_ext -o conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
5948 if AC_TRY_EVAL(ac_try) &&
5949 test -f conftest.$ac_objext &&
5950 AC_TRY_EVAL(ac_try); then
5951 ac_cv_prog_f77_c_o=yes
5953 ac_cv_prog_f77_c_o=no
5956 if test $ac_cv_prog_f77_c_o = no; then
5957 AC_DEFINE(F77_NO_MINUS_C_MINUS_O, 1,
5958 [Define if your Fortran 77 compiler doesn't accept -c and -o together.])
5960 []AC_PROVIDE([AC_PROG_F77_C_O])[]_m4_defun_epi([AC_PROG_F77_C_O])
5962 AC_CACHE_LOADif test -r "$cache_file"; then
5963 # Some versions of bash will fail to source /dev/null (special
5964 # files actually), so we avoid doing that.
5965 if test -f "$cache_file"; then
5966 AC_MSG_NOTICE([loading cache $cache_file])
5968 [[\\/]]* | ?:[[\\/]]* ) . $cache_file;;
5969 *) . ./$cache_file;;
5973 AC_MSG_NOTICE([creating cache $cache_file])
5978 _AC_RUN_LOG_m4_defun_pro([_AC_RUN_LOG]){ ($2) >&AS_MESSAGE_LOG_FD
5979 ($1) 2>&AS_MESSAGE_LOG_FD
5981 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
5982 (exit $ac_status); }[]AC_PROVIDE([_AC_RUN_LOG])[]_m4_defun_epi([_AC_RUN_LOG])
5984 _AC_FUNC_STATAC_REQUIRE([AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK])dnl
5985 AC_CACHE_CHECK([whether $1 accepts an empty string],
5986 [ac_cv_func_$1_empty_string_bug],
5987 [AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
5989 exit ($1 ("", &sbuf) ? 1 : 0);]])],
5990 [ac_cv_func_$1_empty_string_bug=yes],
5991 [ac_cv_func_$1_empty_string_bug=no],
5992 [ac_cv_func_$1_empty_string_bug=yes])])
5993 if test $ac_cv_func_$1_empty_string_bug = yes; then
5995 AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_$1_EMPTY_STRING_BUG]), 1,
5996 [Define if `$1' has the bug that it succeeds when
5997 given the zero-length file name argument.])
6001 AC_SETVBUF_REVERSED_m4_defun_pro([AC_SETVBUF_REVERSED])AC_DIAGNOSE([obsolete], [The macro `AC_SETVBUF_REVERSED' is obsolete.
6002 You should run autoupdate.])dnl
6003 AC_FUNC_SETVBUF_REVERSED($@)[]AC_PROVIDE([AC_SETVBUF_REVERSED])[]_m4_defun_epi([AC_SETVBUF_REVERSED])
6005 AC_LONG_DOUBLE_m4_defun_pro([AC_LONG_DOUBLE])AC_DIAGNOSE([obsolete], [The macro `AC_LONG_DOUBLE' is obsolete.
6006 You should run autoupdate.])dnl
6007 AC_C_LONG_DOUBLE($@)[]AC_PROVIDE([AC_LONG_DOUBLE])[]_m4_defun_epi([AC_LONG_DOUBLE])
6009 AC_CANONICAL_SYSTEM_m4_defun_pro([AC_CANONICAL_SYSTEM])AC_DIAGNOSE([obsolete], [The macro `AC_CANONICAL_SYSTEM' is obsolete.
6010 You should run autoupdate.])dnl
6011 AC_CANONICAL_TARGET($@)[]AC_PROVIDE([AC_CANONICAL_SYSTEM])[]_m4_defun_epi([AC_CANONICAL_SYSTEM])
6013 AC_CHECK_PROG_m4_defun_pro([AC_CHECK_PROG])# Extract the first word of "$2", so it can be a program name with args.
6014 set dummy $2; ac_word=$[2]
6015 AC_MSG_CHECKING([for $ac_word])
6016 AC_CACHE_VAL(ac_cv_prog_$1,
6017 [if test -n "$$1"; then
6018 ac_cv_prog_$1="$$1" # Let the user override the test.
6021 [ ac_prog_rejected=no])dnl
6022 AC_SHELL_PATH_WALK([$5],
6023 [AS_EXECUTABLE_P("$ac_dir/$ac_word") || continue
6025 [if test "$ac_dir/$ac_word" = "$6"; then
6026 ac_prog_rejected=yes
6030 echo "$as_me:__oline__: found $ac_dir/$ac_word" >&AS_MESSAGE_LOG_FD
6033 [if test $ac_prog_rejected = yes; then
6034 # We found a bogon in the path, so make sure we never use it.
6035 set dummy $ac_cv_prog_$1
6037 if test $[@%:@] != 0; then
6038 # We chose a different compiler from the bogus one.
6039 # However, it has the same basename, so the bogon will be chosen
6040 # first if we set $1 to just the basename; use the full file name.
6042 set dummy "$ac_dir/$ac_word" ${1+"$[@]"}
6044 ac_cv_prog_$1="$[@]"
6047 # Default is a loser.
6048 AC_MSG_ERROR([$1=$6 unacceptable, but no other $4 found in dnl
6049 m4_default([$5], [\$PATH])])
6053 dnl If no 4th arg is given, leave the cache variable unset,
6054 dnl so AC_CHECK_PROGS will keep looking.
6056 [ test -z "$ac_cv_prog_$1" && ac_cv_prog_$1="$4"])dnl
6059 if test -n "$$1"; then
6060 AC_MSG_RESULT([$$1])
6065 []AC_PROVIDE([AC_CHECK_PROG])[]_m4_defun_epi([AC_CHECK_PROG])
6067 m4_location(AC_C_INLINE)aclang.m4:1602
6069 ac_cv_prog_gxx_m4_defun_pro([ac_cv_prog_gxx])AC_DIAGNOSE([obsolete], [The macro `ac_cv_prog_gxx' is obsolete.
6070 You should run autoupdate.])dnl
6071 ac_cv_cxx_compiler_gnu[]AC_PROVIDE([ac_cv_prog_gxx])[]_m4_defun_epi([ac_cv_prog_gxx])
6073 _AC_RUN_LOG_STDERR_m4_defun_pro([_AC_RUN_LOG_STDERR]){ ($2) >&AS_MESSAGE_LOG_FD
6076 egrep -v '^ *\+' conftest.er1 >conftest.err
6078 cat conftest.err >&AS_MESSAGE_LOG_FD
6079 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
6080 (exit $ac_status); }[]AC_PROVIDE([_AC_RUN_LOG_STDERR])[]_m4_defun_epi([_AC_RUN_LOG_STDERR])
6082 AC_LANG_PROGRAM(C++)$1
6083 m4_ifdef([_AC_LANG_PROGRAM_C_F77_HOOKS], [_AC_LANG_PROGRAM_C_F77_HOOKS()])dnl
6087 dnl Do *not* indent the following line: there may be CPP directives.
6088 dnl Don't move the `;' right after for the same reason.
6094 AC_FUNC_MKTIME_m4_defun_pro([AC_FUNC_MKTIME])AC_REQUIRE([AC_HEADER_TIME])dnl
6095 AC_CHECK_HEADERS(sys/time.h unistd.h)
6096 AC_CHECK_FUNCS(alarm)
6097 AC_CACHE_CHECK([for working mktime], ac_cv_func_working_mktime,
6098 [AC_RUN_IFELSE([AC_LANG_SOURCE(
6099 [[/* Test program from Paul Eggert and Tony Leneis. */
6100 #if TIME_WITH_SYS_TIME
6101 # include <sys/time.h>
6104 # if HAVE_SYS_TIME_H
6105 # include <sys/time.h>
6112 # include <unistd.h>
6116 # define alarm(X) /* empty */
6119 /* Work around redefinition to rpl_putenv by other config tests. */
6122 static time_t time_t_max;
6124 /* Values we'll use to set the TZ environment variable. */
6125 static const char *const tz_strings[] = {
6126 (const char *) 0, "TZ=GMT0", "TZ=JST-9",
6127 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
6129 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
6131 /* Fail if mktime fails to convert a date in the spring-forward gap.
6132 Based on a problem report from Andreas Jaeger. */
6134 spring_forward_gap ()
6136 /* glibc (up to about 1998-10-07) failed this test. */
6139 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
6140 instead of "TZ=America/Vancouver" in order to detect the bug even
6141 on systems that don't support the Olson extension, or don't have the
6142 full zoneinfo tables installed. */
6143 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
6152 if (mktime (&tm) == (time_t)-1)
6161 if ((lt = localtime (&now)) && mktime (lt) != now)
6163 now = time_t_max - now;
6164 if ((lt = localtime (&now)) && mktime (lt) != now)
6171 /* Based on code from Ariel Faigon. */
6181 if (tm.tm_mon != 2 || tm.tm_mday != 31)
6191 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
6193 if (now != (time_t) -1)
6195 struct tm *lt = localtime (&now);
6197 && lt->tm_year == tm.tm_year
6198 && lt->tm_mon == tm.tm_mon
6199 && lt->tm_mday == tm.tm_mday
6200 && lt->tm_hour == tm.tm_hour
6201 && lt->tm_min == tm.tm_min
6202 && lt->tm_sec == tm.tm_sec
6203 && lt->tm_yday == tm.tm_yday
6204 && lt->tm_wday == tm.tm_wday
6205 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
6206 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
6217 /* This test makes some buggy mktime implementations loop.
6218 Give up after 60 seconds; a mktime slower than that
6219 isn't worth using anyway. */
6222 for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
6225 delta = time_t_max / 997; /* a suitable prime number */
6226 for (i = 0; i < N_STRINGS; i++)
6229 putenv (tz_strings[i]);
6231 for (t = 0; t <= time_t_max - delta; t += delta)
6233 mktime_test ((time_t) 60 * 60);
6234 mktime_test ((time_t) 60 * 60 * 24);
6236 for (j = 1; 0 < j; j *= 2)
6238 bigtime_test (j - 1);
6241 spring_forward_gap ();
6244 [ac_cv_func_working_mktime=yes],
6245 [ac_cv_func_working_mktime=no],
6246 [ac_cv_func_working_mktime=no])])
6247 if test $ac_cv_func_working_mktime = no; then
6250 []AC_PROVIDE([AC_FUNC_MKTIME])[]_m4_defun_epi([AC_FUNC_MKTIME])
6252 m4_location(AC_SYS_SIGLIST_DECLARED)acoldnames.m4:73
6254 m4_cmpm4_sign(m4_eval([$1 - $2]))
6256 m4_location(AC_TIME_WITH_SYS_TIME)acoldnames.m4:75
6260 _m4_warn_m4_warning_error_ifelse([m4_fatal([$1])],
6263 AC_DEFINE_TRACEAS_LITERAL_IF([$1], [AC_DEFINE_TRACE_LITERAL([$1])])
6265 m4_location(AC_USG)acheaders.m4:408
6267 _m4_divert(REVISION)1
6269 m4_location(AC_RSH)acspecific.m4:285
6271 m4_location(AC_FUNC_SETPGRP)acfunctions.m4:1177
6273 _AC_ARG_VAR_CPPFLAGS_m4_defun_pro([_AC_ARG_VAR_CPPFLAGS])AC_ARG_VAR([CPPFLAGS],
6274 [C/C++ preprocessor flags, e.g. -I<include dir> if you have
6275 headers in a nonstandard directory <include dir>])[]AC_PROVIDE([_AC_ARG_VAR_CPPFLAGS])[]_m4_defun_epi([_AC_ARG_VAR_CPPFLAGS])
6277 AC_LANG_INT_SAVE(C)AC_LANG_PROGRAM([m4_default([$1], [@%:@include <stdio.h>])],
6278 [FILE *f = fopen ("conftest.val", "w");
6281 fprintf (f, "%d", ($2));
6284 AC_HEADER_DIRENT_m4_defun_pro([AC_HEADER_DIRENT])AH_CHECK_HEADERS_DIRENT(dirent.h sys/ndir.h sys/dir.h ndir.h)
6286 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
6287 _AC_CHECK_HEADER_DIRENT($ac_hdr,
6288 [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_$ac_hdr), 1)
6289 ac_header_dirent=$ac_hdr; break])
6291 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6292 if test $ac_header_dirent = dirent.h; then
6293 AC_CHECK_LIB(dir, opendir, LIBS="$LIBS -ldir")
6295 AC_CHECK_LIB(x, opendir, LIBS="$LIBS -lx")
6297 []AC_PROVIDE([AC_HEADER_DIRENT])[]_m4_defun_epi([AC_HEADER_DIRENT])
6299 m4_renamem4_copy([$1], [$2])m4_undefine([$1])
6301 m4_location(AC_LANG_PREPROC(Fortran 77))aclang.m4:1255
6303 m4_location(AC_HEADER_SYS_WAIT)acheaders.m4:311
6305 AC_LIST_COMMANDS_COMMANDS
6307 m4_location(AC_STDC_HEADERS)acoldnames.m4:69
6309 AH_CHECK_HEADERSAC_FOREACH([AC_Header], [$1],
6310 [AH_TEMPLATE(AS_TR_CPP(HAVE_[]AC_Header),
6311 [Define if you have the <]AC_Header[> header file.])])
6313 AC_REQUIRE_CPP_m4_defun_pro([AC_REQUIRE_CPP])AC_LANG_PREPROC_REQUIRE[]AC_PROVIDE([AC_REQUIRE_CPP])[]_m4_defun_epi([AC_REQUIRE_CPP])
6315 AC_LINK_IFELSE_m4_defun_pro([AC_LINK_IFELSE])AC_LANG_COMPILER_REQUIRE()dnl
6316 _AC_LINK_IFELSE($@)[]AC_PROVIDE([AC_LINK_IFELSE])[]_m4_defun_epi([AC_LINK_IFELSE])
6318 m4_location(AC_STRUCT_ST_BLOCKS)actypes.m4:497
6320 m4_divert_textm4_divert_push([$1])dnl
6322 m4_divert_pop([$1])dnl
6325 _AC_CONFIG_COMMANDS_INITm4_ifval([$1],
6326 [m4_append([_AC_OUTPUT_COMMANDS_INIT],
6330 m4_location(AC_PATH_TOOL)acgeneral.m4:2430
6334 _AC_COMPILER_EXEEXT_DEFAULT# Try to create an executable without -o first, disregard a.out.
6335 # It will help us diagnose broken compilers, and finding out an intuition
6337 AC_MSG_CHECKING([for _AC_LANG compiler default output])
6338 ac_link_default=`echo "$ac_link" | sed ['s/ -o *conftest[^ ]*//']`
6339 AS_IF([AC_TRY_EVAL(ac_link_default)],
6340 [# Find the output, starting from the most likely. This scheme is
6341 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
6343 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
6344 ls a.out conftest 2>/dev/null;
6345 ls a.* conftest.* 2>/dev/null`; do
6347 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
6348 a.out ) # We found the default executable, but exeext='' is most
6351 *.* ) ac_cv_exeext=`expr "$ac_file" : ['[^.]*\(\..*\)']`
6352 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
6358 [echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD
6359 cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD
6360 AC_MSG_ERROR([_AC_LANG compiler cannot create executables], 77)])
6361 ac_exeext=$ac_cv_exeext
6362 AC_MSG_RESULT([$ac_file])
6365 AC_FUNC_STAT_m4_defun_pro([AC_FUNC_STAT])_AC_FUNC_STAT(stat)[]AC_PROVIDE([AC_FUNC_STAT])[]_m4_defun_epi([AC_FUNC_STAT])
6367 AS_BOXAS_LITERAL_IF([$1],
6368 [_AS_BOX_LITERAL($@)],
6369 [_AS_BOX_INDIR($@)])
6371 AC_HEADER_SYS_WAIT_m4_defun_pro([AC_HEADER_SYS_WAIT])AC_CACHE_CHECK([for sys/wait.h that is POSIX.1 compatible],
6372 ac_cv_header_sys_wait_h,
6374 [AC_LANG_PROGRAM([#include <sys/types.h>
6375 #include <sys/wait.h>
6377 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
6380 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6385 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;])],
6386 [ac_cv_header_sys_wait_h=yes],
6387 [ac_cv_header_sys_wait_h=no])])
6388 if test $ac_cv_header_sys_wait_h = yes; then
6389 AC_DEFINE(HAVE_SYS_WAIT_H, 1,
6390 [Define if you have <sys/wait.h> that is POSIX.1 compatible.])
6392 []AC_PROVIDE([AC_HEADER_SYS_WAIT])[]_m4_defun_epi([AC_HEADER_SYS_WAIT])
6394 AC_HEADER_MAJOR_m4_defun_pro([AC_HEADER_MAJOR])AC_CACHE_CHECK(whether sys/types.h defines makedev,
6395 ac_cv_header_sys_types_h_makedev,
6396 [AC_TRY_LINK([#include <sys/types.h>
6397 ], [return makedev(0, 0);],
6398 ac_cv_header_sys_types_h_makedev=yes, ac_cv_header_sys_types_h_makedev=no)
6401 if test $ac_cv_header_sys_types_h_makedev = no; then
6402 AC_CHECK_HEADER(sys/mkdev.h,
6403 [AC_DEFINE(MAJOR_IN_MKDEV, 1,
6404 [Define if `major', `minor', and `makedev' are
6405 declared in <mkdev.h>.])])
6407 if test $ac_cv_header_sys_mkdev_h = no; then
6408 AC_CHECK_HEADER(sys/sysmacros.h,
6409 [AC_DEFINE(MAJOR_IN_SYSMACROS, 1,
6410 [Define if `major', `minor', and `makedev' are
6411 declared in <sysmacros.h>.])])
6414 []AC_PROVIDE([AC_HEADER_MAJOR])[]_m4_defun_epi([AC_HEADER_MAJOR])
6416 m4_location(AC_LANG_RESTORE)aclang.m4:173
6418 m4_cr_LETTERSABCDEFGHIJKLMNOPQRSTUVWXYZ
6420 _AC_LANG_ABBREV(Fortran 77)f77
6422 _AS_QUOTE_AS_QUOTE_IFELSE([$1],
6423 [AS_ESCAPE([$1], [`""])],
6424 [m4_warn([obsolete],
6425 [back quotes and double quotes should not be escaped in: $1])dnl
6428 m4_noquotem4_changequote(-=<{,}>=-)$1-=<{}>=-m4_changequote([,])
6430 m4_matchm4_if([$#], 0, [],
6433 m4_regexp([$1], [$2]), -1, [m4_match([$1], m4_shiftn(3, $@))],
6436 m4_location(AC_MAJOR_HEADER)acoldnames.m4:59
6440 AC_PREREQm4_if(m4_version_compare(m4_defn([AC_ACVERSION]), [$1]), -1,
6441 [AC_FATAL([Autoconf version $1 or higher is required for this script])])
6443 AC_OUTPUT_MAKE_DEFS[# Transform confdefs.h into DEFS.
6444 # Protect against shell expansion while executing Makefile rules.
6445 # Protect against Makefile macro expansion.
6447 # If the first sed substitution is executed (which looks for macros that
6448 # take arguments), then we branch to the quote section. Otherwise,
6449 # look for a macro that doesn't take arguments.
6450 cat >confdef2opt.sed <<\EOF
6453 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
6455 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
6459 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
6465 # We use echo to avoid assuming a particular line-breaking character.
6466 # The extra dot is to prevent the shell from consuming trailing
6467 # line-breaks from the sub-command output. A line-break within
6468 # single-quotes doesn't work because, if this script is created in a
6469 # platform that uses two characters for line-breaks (e.g., DOS), tr
6471 ac_LF_and_DOT=`echo; echo .`
6472 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
6473 rm -f confdef2opt.sed
6476 m4_location(AC_PROG_YACC)acspecific.m4:124
6478 m4_location(AC_MMAP)acfunctions.m4:1085
6480 AC_REQUIREm4_expansion_stack_push(m4_location[: $1 is required by...])dnl
6481 m4_ifdef([_m4_expanding($1)],
6482 [m4_fatal([$0: circular dependency of $1])])dnl
6483 m4_ifndef([_m4_divert_dump],
6484 [m4_fatal([$0: cannot be used outside of an m4_defun'd macro])])dnl
6485 m4_provide_ifelse([$1],
6487 [m4_divert_push(m4_eval(m4_divnum - 1))dnl
6488 m4_default([$2], [$1])
6489 m4_divert(m4_defn([_m4_divert_dump]))dnl
6490 m4_undivert(m4_defn([_m4_divert_diversion]))dnl
6491 m4_divert_pop(m4_defn([_m4_divert_dump]))])dnl
6492 m4_provide_ifelse([$1],
6495 [$1 is m4_require'd but is not m4_defun'd])])dnl
6496 m4_expansion_stack_pop()dnl
6499 AS_EXIT{ (exit m4_default([$1], 1)); exit m4_default([$1], 1); }
6501 AC_DECL_YYTEXT_m4_defun_pro([AC_DECL_YYTEXT])AC_DIAGNOSE([obsolete], [The macro `AC_DECL_YYTEXT' is obsolete.
6502 You should run autoupdate.])dnl
6503 AC_PROG_LEX[]AC_PROVIDE([AC_DECL_YYTEXT])[]_m4_defun_epi([AC_DECL_YYTEXT])
6505 m4_location(fp_FUNC_FNMATCH)acfunctions.m4:363
6511 AC_LANG_SOURCE(C)#line __oline__ "configure"
6512 #include "confdefs.h"
6515 AC_CHECK_HEADER_m4_defun_pro([AC_CHECK_HEADER])AS_VAR_PUSHDEF([ac_Header], [ac_cv_header_$1])dnl
6516 AC_CACHE_CHECK([for $1], ac_Header,
6518 [AC_COMPILE_IFELSE([AC_LANG_SOURCE([$4
6519 @%:@include <$1>])],
6520 [AS_VAR_SET(ac_Header, yes)],
6521 [AS_VAR_SET(ac_Header, no)])],
6522 [AC_PREPROC_IFELSE([AC_LANG_SOURCE([@%:@include <$1>])],
6523 [AS_VAR_SET(ac_Header, yes)],
6524 [AS_VAR_SET(ac_Header, no)])])])
6525 AS_IF([test AS_VAR_GET(ac_Header) = yes], [$2], [$3])[]dnl
6526 AS_VAR_POPDEF([ac_Header])dnl
6527 []AC_PROVIDE([AC_CHECK_HEADER])[]_m4_defun_epi([AC_CHECK_HEADER])
6529 m4_location(AC_PID_T)acoldnames.m4:63
6531 m4_location(AC_LANG_INT_SAVE)aclang.m4:338
6533 _m4_divert(VERSION_END)23
6535 _AC_EVAL_m4_defun_pro([_AC_EVAL])_AC_RUN_LOG([eval $1],
6536 [eval echo "$as_me:__oline__: \"$1\""])[]AC_PROVIDE([_AC_EVAL])[]_m4_defun_epi([_AC_EVAL])
6538 AC_AIX_m4_defun_pro([AC_AIX])AH_VERBATIM([_ALL_SOURCE],
6539 [/* Define if on AIX 3.
6540 System headers sometimes define this.
6541 We just want to avoid a redefinition error message. */
6542 @%:@ifndef _ALL_SOURCE
6543 @%:@ undef _ALL_SOURCE
6545 AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl
6546 AC_BEFORE([$0], [AC_RUN_IFELSE])dnl
6547 AC_MSG_CHECKING([for AIX])
6553 [AC_MSG_RESULT([yes])
6554 AC_DEFINE(_ALL_SOURCE)],
6555 [AC_MSG_RESULT([no])])
6556 []AC_PROVIDE([AC_AIX])[]_m4_defun_epi([AC_AIX])
6558 m4_location(AC_ALLOCA)acfunctions.m4:250
6560 AC_EGREP_HEADER_m4_defun_pro([AC_EGREP_HEADER])AC_EGREP_CPP([$1],
6562 ], [$3], [$4])[]AC_PROVIDE([AC_EGREP_HEADER])[]_m4_defun_epi([AC_EGREP_HEADER])
6564 AC_CONFIG_AUX_DIRS_m4_defun_pro([AC_CONFIG_AUX_DIRS])ac_aux_dir=
6565 for ac_dir in $1; do
6566 if test -f $ac_dir/install-sh; then
6568 ac_install_sh="$ac_aux_dir/install-sh -c"
6570 elif test -f $ac_dir/install.sh; then
6572 ac_install_sh="$ac_aux_dir/install.sh -c"
6574 elif test -f $ac_dir/shtool; then
6576 ac_install_sh="$ac_aux_dir/shtool install -c"
6580 if test -z "$ac_aux_dir"; then
6581 AC_MSG_ERROR([cannot find install-sh or install.sh in $1])
6583 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
6584 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
6585 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
6586 AC_PROVIDE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
6587 []AC_PROVIDE([AC_CONFIG_AUX_DIRS])[]_m4_defun_epi([AC_CONFIG_AUX_DIRS])
6589 m4_location(AC_HEADER_CHECK)acoldnames.m4:30
6591 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,
6592 [AC_EGREP_HEADER(uid_t, sys/types.h,
6593 ac_cv_type_uid_t=yes, ac_cv_type_uid_t=no)])
6594 if test $ac_cv_type_uid_t = no; then
6595 AC_DEFINE(uid_t, int, [Define to `int' if <sys/types.h> doesn't define.])
6596 AC_DEFINE(gid_t, int, [Define to `int' if <sys/types.h> doesn't define.])
6598 []AC_PROVIDE([AC_TYPE_UID_T])[]_m4_defun_epi([AC_TYPE_UID_T])
6600 AC_SIZEOF_TYPE_m4_defun_pro([AC_SIZEOF_TYPE])AC_DIAGNOSE([obsolete], [The macro `AC_SIZEOF_TYPE' is obsolete.
6601 You should run autoupdate.])dnl
6602 AC_CHECK_SIZEOF($@)[]AC_PROVIDE([AC_SIZEOF_TYPE])[]_m4_defun_epi([AC_SIZEOF_TYPE])
6604 AC_FUNC_MEMCMP_m4_defun_pro([AC_FUNC_MEMCMP])AC_CACHE_CHECK([for working memcmp], ac_cv_func_memcmp_working,
6605 [AC_RUN_IFELSE([AC_LANG_PROGRAM([], [[
6606 /* Some versions of memcmp are not 8-bit clean. */
6607 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
6608 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
6611 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
6612 or more and with at least one buffer not starting on a 4-byte boundary.
6613 William Lewis provided this test program. */
6618 for (i = 0; i < 4; i++)
6622 strcpy (a, "--------01111111");
6623 strcpy (b, "--------10000000");
6624 if (memcmp (a, b, 16) >= 0)
6630 [ac_cv_func_memcmp_working=yes],
6631 [ac_cv_func_memcmp_working=no],
6632 [ac_cv_func_memcmp_working=no])])
6633 test $ac_cv_func_memcmp_working = no && AC_LIBOBJ([memcmp])
6634 []AC_PROVIDE([AC_FUNC_MEMCMP])[]_m4_defun_epi([AC_FUNC_MEMCMP])
6636 m4_location(AC_TYPE_UID_T)actypes.m4:303
6638 m4_location(AC_SEARCH_LIBS)acgeneral.m4:2537
6640 m4_location(AC_LANG_COMPILER(C))aclang.m4:917
6642 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])
6644 AC_DEFINE_TRACE_LITERAL
6646 m4_location(AC_LINKER_OPTION)acgeneral.m4:4486
6648 AC_CANONICAL_HOSTm4_provide_ifelse([AC_CANONICAL_HOST],
6649 [m4_warn([syntax], [AC_CANONICAL_HOST invoked multiple times])],
6650 [_m4_defun_pro([AC_CANONICAL_HOST])AC_REQUIRE([AC_CANONICAL_BUILD])dnl
6651 m4_divert_text([HELP_CANON],
6652 [[ --host=HOST build programs to run on HOST [BUILD]]])dnl
6653 AC_CACHE_CHECK([host system type], [ac_cv_host],
6654 [ac_cv_host_alias=$host_alias
6655 test -z "$ac_cv_host_alias" &&
6656 ac_cv_host_alias=$ac_cv_build_alias
6657 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
6658 AC_MSG_ERROR([$ac_config_sub $ac_cv_host_alias failed])
6660 _AC_CANONICAL_SPLIT([host])
6661 []AC_PROVIDE([AC_CANONICAL_HOST])[]_m4_defun_epi([AC_CANONICAL_HOST])])
6663 m4_warningm4_errprintn(m4_location[: warning: $1])
6665 m4_location(AC_HAVE_POUNDBANG)acspecific.m4:346
6667 AS_DIRNAME_EXPR_m4_defun_pro([AS_DIRNAME_EXPR])m4_require([_AS_EXPR_PREPARE])dnl
6668 $as_expr X[]$1 : 'X\(.*[[^/]]\)//*[[^/][^/]]*/*$' \| \
6669 X[]$1 : 'X\(//\)[[^/]]' \| \
6670 X[]$1 : 'X\(//\)$' \| \
6671 X[]$1 : 'X\(/\)' \| \
6672 . : '\(.\)'[]_m4_defun_epi([AS_DIRNAME_EXPR])
6674 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)])
6676 m4_location(_AC_RUN_LOG)acgeneral.m4:2126
6678 m4_divert_popm4_ifval([$1],
6679 [m4_if(_m4_divert([$1]), m4_divnum, [],
6680 [m4_fatal([$0($1): unexpected current diversion: ]m4_divnum)])])dnl
6681 m4_popdef([_m4_divert_diversion])dnl
6682 dnl m4_ifndef([_m4_divert_diversion],
6683 dnl [m4_fatal([too many m4_divert_pop])])dnl
6684 m4_builtin([divert],
6685 m4_ifdef([_m4_divert_diversion],
6686 [_m4_divert(_m4_divert_diversion)], -1))dnl
6687 m4_popdef([m4_divert_stack])dnl
6690 m4_location(AC_CHECK_TYPES)actypes.m4:172
6692 _AC_INCLUDES_DEFAULT_REQUIREMENTS_m4_defun_pro([_AC_INCLUDES_DEFAULT_REQUIREMENTS])m4_divert_text([DEFAULTS],
6693 [# Factoring default headers for most tests.
6694 dnl If ever you change this variable, please keep autoconf.texi in sync.
6695 ac_includes_default="\
6697 #if HAVE_SYS_TYPES_H
6698 # include <sys/types.h>
6701 # include <sys/stat.h>
6704 # include <stdlib.h>
6705 # include <stddef.h>
6708 # include <stdlib.h>
6712 # if !STDC_HEADERS && HAVE_MEMORY_H
6713 # include <memory.h>
6715 # include <string.h>
6718 # include <strings.h>
6721 # include <inttypes.h>
6724 # include <stdint.h>
6728 # include <unistd.h>
6731 AC_REQUIRE([AC_HEADER_STDC])dnl
6732 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6733 AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6734 inttypes.h stdint.h unistd.h],
6735 [], [], $ac_includes_default)
6736 []AC_PROVIDE([_AC_INCLUDES_DEFAULT_REQUIREMENTS])[]_m4_defun_epi([_AC_INCLUDES_DEFAULT_REQUIREMENTS])
6738 m4_expansion_stack_dumpm4_ifdef([m4_expansion_stack],
6739 [m4_errprintn(m4_defn([m4_expansion_stack]))])dnl
6740 m4_errprintn(m4_location[: the top level])
6742 m4_location(AC_LONG_64_BITS)actypes.m4:398
6744 AC_TRY_EVAL_m4_defun_pro([AC_TRY_EVAL])_AC_EVAL([$$1])[]AC_PROVIDE([AC_TRY_EVAL])[]_m4_defun_epi([AC_TRY_EVAL])
6746 AC_FUNC_CHOWN_m4_defun_pro([AC_FUNC_CHOWN])AC_REQUIRE([AC_TYPE_UID_T])dnl
6747 AC_CHECK_HEADERS(unistd.h)
6748 AC_CACHE_CHECK([for working chown], ac_cv_func_chown_works,
6749 [AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT
6752 [[ char *f = "conftest.chown";
6753 struct stat before, after;
6755 if (creat (f, 0600) < 0)
6757 if (stat (f, &before) < 0)
6759 if (chown (f, (uid_t) -1, (gid_t) -1) == -1)
6761 if (stat (f, &after) < 0)
6763 exit ((before.st_uid == after.st_uid
6764 && before.st_gid == after.st_gid) ? 0 : 1);
6766 [ac_cv_func_chown_works=yes],
6767 [ac_cv_func_chown_works=no],
6768 [ac_cv_func_chown_works=no])
6769 rm -f conftest.chown
6771 if test $ac_cv_func_chown_works = yes; then
6772 AC_DEFINE(HAVE_CHOWN, 1,
6773 [Define if your system has a working `chown' function.])
6775 []AC_PROVIDE([AC_FUNC_CHOWN])[]_m4_defun_epi([AC_FUNC_CHOWN])
6777 m4_undefinem4_ifndef([$1],
6778 [m4_fatal([$0: undefined macro: $1])])dnl
6779 m4_builtin([undefine], $@)
6783 AC_PATH_TOOL_m4_defun_pro([AC_PATH_TOOL])if test -n "$ac_tool_prefix"; then
6784 AC_PATH_PROG([$1], [${ac_tool_prefix}$2], , [$4])
6786 if test -z "$ac_cv_path_$1"; then
6788 AC_PATH_PROG([ac_pt_$1], [$2], [$3], [$4])
6793 []AC_PROVIDE([AC_PATH_TOOL])[]_m4_defun_epi([AC_PATH_TOOL])
6795 AC_TEST_CPP_m4_defun_pro([AC_TEST_CPP])AC_DIAGNOSE([obsolete], [The macro `AC_TEST_CPP' is obsolete.
6796 You should run autoupdate.])dnl
6797 AC_TRY_CPP($@)[]AC_PROVIDE([AC_TEST_CPP])[]_m4_defun_epi([AC_TEST_CPP])
6799 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])
6801 m4_location(AC_FUNC_CHOWN)acfunctions.m4:286
6803 AC_FUNC_VPRINTF_m4_defun_pro([AC_FUNC_VPRINTF])AC_CHECK_FUNCS(vprintf, []
6804 [AC_CHECK_FUNC(_doprnt,
6805 [AC_DEFINE(HAVE_DOPRNT, 1,
6806 [Define if you don't have `vprintf' but do have
6808 []AC_PROVIDE([AC_FUNC_VPRINTF])[]_m4_defun_epi([AC_FUNC_VPRINTF])
6812 m4_location(_AS_BROKEN_TEST_PREPARE)m4sh.m4:414
6814 m4_location(AM_CYGWIN32)acoldnames.m4:79
6816 AC_REVISIONm4_divert_text([REVISION],
6817 [@%:@ From __file__ m4_translit([$1], [$""]).])dnl
6820 m4_location(AC_PROG_CC_STDC)aclang.m4:1479
6822 AS_SHELL_SANITIZE_m4_defun_pro([AS_SHELL_SANITIZE])# Be Bourne compatible
6823 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6826 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6830 # Name of the executable.
6831 dnl Moved here because the tests below can use AC_MSG_ERROR, which uses $as_me
6832 as_me=`AS_BASENAME($[0])`
6841 AS_UNSET([LANG], [C])
6842 AS_UNSET([LC_ALL], [C])
6843 AS_UNSET([LC_TIME], [C])
6844 AS_UNSET([LC_CTYPE], [C])
6845 AS_UNSET([LANGUAGE], [C])
6846 AS_UNSET([LC_COLLATE], [C])
6847 AS_UNSET([LC_NUMERIC], [C])
6848 AS_UNSET([LC_MESSAGES], [C])
6851 # We need space, tab and new line, in precisely that order.
6857 AS_UNSET([CDPATH], [:])
6858 []_m4_defun_epi([AS_SHELL_SANITIZE])
6860 AC_LANG_SOURCE(C++)#line __oline__ "configure"
6861 #include "confdefs.h"
6864 AC_GETLOADAVG_m4_defun_pro([AC_GETLOADAVG])AC_DIAGNOSE([obsolete], [The macro `AC_GETLOADAVG' is obsolete.
6865 You should run autoupdate.])dnl
6866 AC_FUNC_GETLOADAVG($@)[]AC_PROVIDE([AC_GETLOADAVG])[]_m4_defun_epi([AC_GETLOADAVG])
6870 [m4_define([$1], m4_eval($1+[$3]))_m4_for([$1], [$2], [$3], [$4])])
6872 _m4_divert(VERSION_BEGIN)20
6874 m4_location(AC_TEST_PROGRAM)acoldnames.m4:40
6878 m4_location(AS_LN_S)m4sh.m4:363
6880 m4_location(AS_EXECUTABLE_P)m4sh.m4:312
6882 _m4_divert(HELP_VAR)14
6884 _m4_divert(HELP_CANON)11
6886 AC_FUNC_MMAP_m4_defun_pro([AC_FUNC_MMAP])AC_CHECK_HEADERS(stdlib.h unistd.h)
6887 AC_CHECK_FUNCS(getpagesize)
6888 AC_CACHE_CHECK(for working mmap, ac_cv_func_mmap_fixed_mapped,
6889 [AC_RUN_IFELSE([AC_LANG_SOURCE([AC_INCLUDES_DEFAULT]
6890 [[/* Thanks to Mike Haertel and Jim Avera for this test.
6891 Here is a matrix of mmap possibilities:
6892 mmap private not fixed
6893 mmap private fixed at somewhere currently unmapped
6894 mmap private fixed at somewhere already mapped
6895 mmap shared not fixed
6896 mmap shared fixed at somewhere currently unmapped
6897 mmap shared fixed at somewhere already mapped
6898 For private mappings, we should verify that changes cannot be read()
6899 back from the file, nor mmap's back from the file at a different
6900 address. (There have been systems where private was not correctly
6901 implemented like the infamous i386 svr4.0, and systems where the
6902 VM page cache was not coherent with the file system buffer cache
6903 like early versions of FreeBSD and possibly contemporary NetBSD.)
6904 For shared mappings, we should conversely verify that changes get
6905 propogated back to all the places they're supposed to be.
6907 Grep wants private fixed already mapped.
6908 The main things grep needs to know about mmap are:
6909 * does it exist and is it safe to write into the mmap'd area
6910 * how to use it (BSD variants) */
6913 #include <sys/mman.h>
6915 #if !STDC_HEADERS && !HAVE_STDLIB_H
6919 /* This mess was copied from the GNU getpagesize.h. */
6920 #if !HAVE_GETPAGESIZE
6921 /* Assume that all systems that can run configure have sys/param.h. */
6922 # if !HAVE_SYS_PARAM_H
6923 # define HAVE_SYS_PARAM_H 1
6926 # ifdef _SC_PAGESIZE
6927 # define getpagesize() sysconf(_SC_PAGESIZE)
6928 # else /* no _SC_PAGESIZE */
6929 # if HAVE_SYS_PARAM_H
6930 # include <sys/param.h>
6931 # ifdef EXEC_PAGESIZE
6932 # define getpagesize() EXEC_PAGESIZE
6933 # else /* no EXEC_PAGESIZE */
6935 # define getpagesize() NBPG * CLSIZE
6938 # endif /* no CLSIZE */
6939 # else /* no NBPG */
6941 # define getpagesize() NBPC
6942 # else /* no NBPC */
6944 # define getpagesize() PAGESIZE
6945 # endif /* PAGESIZE */
6946 # endif /* no NBPC */
6947 # endif /* no NBPG */
6948 # endif /* no EXEC_PAGESIZE */
6949 # else /* no HAVE_SYS_PARAM_H */
6950 # define getpagesize() 8192 /* punt totally */
6951 # endif /* no HAVE_SYS_PARAM_H */
6952 # endif /* no _SC_PAGESIZE */
6954 #endif /* no HAVE_GETPAGESIZE */
6959 char *data, *data2, *data3;
6963 pagesize = getpagesize ();
6965 /* First, make a file with some known garbage in it. */
6966 data = (char *) malloc (pagesize);
6969 for (i = 0; i < pagesize; ++i)
6970 *(data + i) = rand ();
6972 fd = creat ("conftest.mmap", 0600);
6975 if (write (fd, data, pagesize) != pagesize)
6979 /* Next, try to mmap the file at a fixed address which already has
6980 something else allocated at it. If we can, also make sure that
6981 we see the same garbage. */
6982 fd = open ("conftest.mmap", O_RDWR);
6985 data2 = (char *) malloc (2 * pagesize);
6988 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
6989 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6990 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6992 for (i = 0; i < pagesize; ++i)
6993 if (*(data + i) != *(data2 + i))
6996 /* Finally, make sure that changes to the mapped area do not
6997 percolate back to the file as seen by read(). (This is a bug on
6998 some variants of i386 svr4.0.) */
6999 for (i = 0; i < pagesize; ++i)
7000 *(data2 + i) = *(data2 + i) + 1;
7001 data3 = (char *) malloc (pagesize);
7004 if (read (fd, data3, pagesize) != pagesize)
7006 for (i = 0; i < pagesize; ++i)
7007 if (*(data + i) != *(data3 + i))
7012 [ac_cv_func_mmap_fixed_mapped=yes],
7013 [ac_cv_func_mmap_fixed_mapped=no],
7014 [ac_cv_func_mmap_fixed_mapped=no])])
7015 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7016 AC_DEFINE(HAVE_MMAP, 1,
7017 [Define if you have a working `mmap' system call.])
7020 []AC_PROVIDE([AC_FUNC_MMAP])[]_m4_defun_epi([AC_FUNC_MMAP])
7022 m4_ifvalm4_if([$1], [], [$3], [$2])
7024 AC_LANG(Fortran 77)ac_ext=f
7025 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&AS_MESSAGE_LOG_FD'
7026 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&AS_MESSAGE_LOG_FD'
7027 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
7030 m4_dumpdefs_m4_dumpdefs_up([$1])dnl
7031 _m4_dumpdefs_down([$1])
7033 m4_changecomchangecom
7035 AS_IFm4_ifval([$2$3],
7037 m4_ifval([$2], [$2], :)
7045 m4_providem4_define([m4_provide($1)])
7047 m4_location(_AC_PROG_PREPROC_WORKS_IFELSE)aclang.m4:873
7049 m4_location(AC_TYPE_SIGNAL)actypes.m4:335
7051 m4_location(AC_FUNC_STAT)acfunctions.m4:1210
7053 m4_defaultm4_ifval([$1], [$1], [$2])
7055 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])
7057 AC_MSG_WARNAS_MESSAGE([WARNING: $1], [2])
7059 m4_location(ac_cv_prog_gcc)aclang.m4:924
7061 m4_join_m4_defun_pro([m4_join])m4_case([$#],
7064 [[$2][$1]m4_join([$1], m4_shift(m4_shift($@)))])[]_m4_defun_epi([m4_join])
7066 _AC_COMPILER_EXEEXT_WORKS# Check the compiler produces executables we can run. If not, either
7067 # the compiler is broken, or we cross compile.
7068 AC_MSG_CHECKING([whether the _AC_LANG compiler works])
7069 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
7070 # If not cross compiling, check that we can run a simple program.
7071 if test "$cross_compiling" != yes; then
7072 if AC_TRY_COMMAND([./$ac_file]); then
7075 if test "$cross_compiling" = maybe; then
7078 AC_MSG_ERROR([cannot run _AC_LANG compiled programs.
7079 If you meant to cross compile, use `--host'.])
7083 AC_MSG_RESULT([yes])
7086 m4_location(AC_FUNC_MKTIME)acfunctions.m4:935
7088 _AH_TEMPLATE_OLD_AH_VERBATIM_OLD([$1],
7089 m4_text_wrap([$2 */], [ ], [/* ])[
7092 m4_location(AC_FD_MSG)acgeneral.m4:576
7094 m4_location(AC_AIX)acspecific.m4:971
7096 _m4_divert(HELP_BEGIN)10
7098 AC_PROG_LN_S_m4_defun_pro([AC_PROG_LN_S])AC_MSG_CHECKING([whether ln -s works])
7099 AC_SUBST([LN_S], [$as_ln_s])dnl
7100 if test "$LN_S" = "ln -s"; then
7101 AC_MSG_RESULT([yes])
7103 AC_MSG_RESULT([no, using $LN_S])
7105 []AC_PROVIDE([AC_PROG_LN_S])[]_m4_defun_epi([AC_PROG_LN_S])
7107 AC_FUNC_MALLOC_m4_defun_pro([AC_FUNC_MALLOC])AC_REQUIRE([AC_HEADER_STDC])dnl
7108 AC_CHECK_HEADERS(stdlib.h)
7109 AC_CACHE_CHECK([for working malloc], ac_cv_func_malloc_works,
7112 [[#if STDC_HEADERS || HAVE_STDLIB_H
7113 # include <stdlib.h>
7118 [exit (malloc (0) ? 0 : 1);])],
7119 [ac_cv_func_malloc_works=yes],
7120 [ac_cv_func_malloc_works=no],
7121 [ac_cv_func_malloc_works=no])])
7122 if test $ac_cv_func_malloc_works = yes; then
7123 AC_DEFINE(HAVE_MALLOC, 1,
7124 [Define if your system has a working `malloc' function.])
7126 []AC_PROVIDE([AC_FUNC_MALLOC])[]_m4_defun_epi([AC_FUNC_MALLOC])
7128 AC_CHECK_DECL_m4_defun_pro([AC_CHECK_DECL])AS_VAR_PUSHDEF([ac_Symbol], [ac_cv_have_decl_$1])dnl
7129 AC_CACHE_CHECK([whether $1 is declared], ac_Symbol,
7130 [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT([$4])],
7132 char *p = (char *) $1;
7135 [AS_VAR_SET(ac_Symbol, yes)],
7136 [AS_VAR_SET(ac_Symbol, no)])])
7137 AS_IF([test AS_VAR_GET(ac_Symbol) = yes], [$2], [$3])[]dnl
7138 AS_VAR_POPDEF([ac_Symbol])dnl
7139 []AC_PROVIDE([AC_CHECK_DECL])[]_m4_defun_epi([AC_CHECK_DECL])
7141 m4_location(AC_CONST)acoldnames.m4:49
7143 AC_OUTPUT_COMMANDS_m4_defun_pro([AC_OUTPUT_COMMANDS])AC_DIAGNOSE([obsolete], [The macro `AC_OUTPUT_COMMANDS' is obsolete.
7144 You should run autoupdate.])dnl
7145 m4_define([_AC_OUTPUT_COMMANDS_CNT], m4_incr(_AC_OUTPUT_COMMANDS_CNT))dnl
7146 dnl Double quoted since that was the case in the original macro.
7147 AC_CONFIG_COMMANDS([default-]_AC_OUTPUT_COMMANDS_CNT, [[$1]], [[$2]])dnl
7148 []AC_PROVIDE([AC_OUTPUT_COMMANDS])[]_m4_defun_epi([AC_OUTPUT_COMMANDS])
7150 AC_LANG_COMPILER_REQUIRE_m4_defun_pro([AC_LANG_COMPILER_REQUIRE])m4_require([AC_LANG_COMPILER(]_AC_LANG[)],
7151 [AC_LANG_COMPILER])[]AC_PROVIDE([AC_LANG_COMPILER_REQUIRE])[]_m4_defun_epi([AC_LANG_COMPILER_REQUIRE])
7153 AC_LONG_FILE_NAMES_m4_defun_pro([AC_LONG_FILE_NAMES])AC_DIAGNOSE([obsolete], [The macro `AC_LONG_FILE_NAMES' is obsolete.
7154 You should run autoupdate.])dnl
7155 AC_SYS_LONG_FILE_NAMES($@)[]AC_PROVIDE([AC_LONG_FILE_NAMES])[]_m4_defun_epi([AC_LONG_FILE_NAMES])
7157 AC_SYS_INTERPRETER_m4_defun_pro([AC_SYS_INTERPRETER])AC_CACHE_CHECK(whether @%:@! works in shell scripts, ac_cv_sys_interpreter,
7162 (SHELL=/bin/sh; export SHELL; ./conftest >/dev/null)
7163 if test $? -ne 69; then
7164 ac_cv_sys_interpreter=yes
7166 ac_cv_sys_interpreter=no
7169 interpval=$ac_cv_sys_interpreter
7170 []AC_PROVIDE([AC_SYS_INTERPRETER])[]_m4_defun_epi([AC_SYS_INTERPRETER])
7172 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])
7174 AC_CONFIG_COMMANDS_POST_m4_defun_pro([AC_CONFIG_COMMANDS_POST])m4_append([AC_OUTPUT_COMMANDS_POST], [$1
7175 ])[]AC_PROVIDE([AC_CONFIG_COMMANDS_POST])[]_m4_defun_epi([AC_CONFIG_COMMANDS_POST])
7181 m4_location(AC_CONFIG_COMMANDS)acgeneral.m4:3213
7183 AC_FUNC_WAIT3_m4_defun_pro([AC_FUNC_WAIT3])AC_DIAGNOSE([obsolete],
7184 [$0: `wait3' is being removed from the Open Group standards.
7185 Remove this `AC_FUNC_WAIT3' and adjust your code to use `waitpid' instead.])dnl
7186 AC_CACHE_CHECK([for wait3 that fills in rusage],
7187 [ac_cv_func_wait3_rusage],
7188 [AC_RUN_IFELSE([AC_LANG_SOURCE(
7189 [[#include <sys/types.h>
7190 #include <sys/time.h>
7191 #include <sys/resource.h>
7193 /* HP-UX has wait3 but does not fill in rusage at all. */
7199 /* Use a field that we can force nonzero --
7200 voluntary context switches.
7201 For systems like NeXT and OSF/1 that don't set it,
7202 also use the system CPU time. And page faults (I/O) for Linux. */
7204 r.ru_stime.tv_sec = 0;
7205 r.ru_stime.tv_usec = 0;
7206 r.ru_majflt = r.ru_minflt = 0;
7209 case 0: /* Child. */
7210 sleep(1); /* Give up the CPU. */
7213 case -1: /* What can we do? */
7216 default: /* Parent. */
7218 /* Avoid "text file busy" from rm on fast HP-UX machines. */
7220 exit (r.ru_nvcsw == 0 && r.ru_majflt == 0 && r.ru_minflt == 0
7221 && r.ru_stime.tv_sec == 0 && r.ru_stime.tv_usec == 0);
7224 [ac_cv_func_wait3_rusage=yes],
7225 [ac_cv_func_wait3_rusage=no],
7226 [ac_cv_func_wait3_rusage=no])])
7227 if test $ac_cv_func_wait3_rusage = yes; then
7228 AC_DEFINE(HAVE_WAIT3, 1,
7229 [Define if you have the `wait3' system call.
7230 Deprecated, you should no longer depend upon `wait3'.])
7232 []AC_PROVIDE([AC_FUNC_WAIT3])[]_m4_defun_epi([AC_FUNC_WAIT3])
7234 _AC_FUNC_GETPGRP_TESTAC_LANG_SOURCE([AC_INCLUDES_DEFAULT]
7237 * If this system has a BSD-style getpgrp(),
7238 * which takes a pid argument, exit unsuccessfully.
7240 * Snarfed from Chet Ramey's bash pgrp.c test program
7244 int pg1, pg2, pg3, pg4;
7245 int ng, np, s, child;
7253 pg3 = getpgrp (pid);
7256 /* If all of these values are the same, it's pretty sure that we're
7257 on a system that ignores getpgrp's first argument. */
7258 if (pg2 == pg4 && pg1 == pg3 && pg2 == pg3)
7264 else if (child == 0)
7267 /* If this is Sys V, this will not work; pgrp will be set to np
7268 because setpgrp just changes a pgrp to be the same as the
7271 ng = getpgrp (0); /* Same result for Sys V and BSD */
7285 AC_OFF_T_m4_defun_pro([AC_OFF_T])AC_DIAGNOSE([obsolete], [The macro `AC_OFF_T' is obsolete.
7286 You should run autoupdate.])dnl
7287 AC_TYPE_OFF_T($@)[]AC_PROVIDE([AC_OFF_T])[]_m4_defun_epi([AC_OFF_T])
7289 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++)])
7291 AC_FUNC_SETPGRP_m4_defun_pro([AC_FUNC_SETPGRP])AC_CACHE_CHECK(whether setpgrp takes no argument, ac_cv_func_setpgrp_void,
7295 # include <unistd.h>
7298 [/* If this system has a BSD-style setpgrp, which takes arguments, exit
7300 exit (setpgrp (1,1) == -1);])],
7301 [ac_cv_func_setpgrp_void=no],
7302 [ac_cv_func_setpgrp_void=yes],
7303 [AC_MSG_ERROR([cannot check setpgrp if cross compiling])])])
7304 if test $ac_cv_func_setpgrp_void = yes; then
7305 AC_DEFINE(SETPGRP_VOID, 1,
7306 [Define if the `setpgrp' function takes no argument.])
7308 []AC_PROVIDE([AC_FUNC_SETPGRP])[]_m4_defun_epi([AC_FUNC_SETPGRP])
7310 m4_location(AC_HEADER_TIME)acheaders.m4:331
7312 AC_LN_S_m4_defun_pro([AC_LN_S])AC_DIAGNOSE([obsolete], [The macro `AC_LN_S' is obsolete.
7313 You should run autoupdate.])dnl
7314 AC_PROG_LN_S($@)[]AC_PROVIDE([AC_LN_S])[]_m4_defun_epi([AC_LN_S])
7316 AC_HEADER_TIME_m4_defun_pro([AC_HEADER_TIME])AC_CACHE_CHECK([whether time.h and sys/time.h may both be included],
7318 [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <sys/types.h>
7319 #include <sys/time.h>
7322 [if ((struct tm *) 0)
7324 [ac_cv_header_time=yes],
7325 [ac_cv_header_time=no])])
7326 if test $ac_cv_header_time = yes; then
7327 AC_DEFINE(TIME_WITH_SYS_TIME, 1,
7328 [Define if you can safely include both <sys/time.h> and <time.h>.])
7330 []AC_PROVIDE([AC_HEADER_TIME])[]_m4_defun_epi([AC_HEADER_TIME])
7332 AC_CHECK_HEADERS_m4_defun_pro([AC_CHECK_HEADERS])AH_CHECK_HEADERS([$1])dnl
7335 AC_CHECK_HEADER($ac_header,
7336 [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_$ac_header)) $2],
7340 []AC_PROVIDE([AC_CHECK_HEADERS])[]_m4_defun_epi([AC_CHECK_HEADERS])
7342 m4_normalizem4_strip(m4_flatten([$1]))
7344 m4_location(AC_CONFIG_COMMANDS_PRE)acgeneral.m4:3249
7346 m4_location(AC_CHECK_FILES)acgeneral.m4:2888
7348 _AC_INIT_PACKAGEm4_define([AC_PACKAGE_NAME], [$1])
7349 m4_define([AC_PACKAGE_TARNAME],
7350 m4_tolower(m4_patsubst([[[$1]]], [GNU ])))
7351 m4_define([AC_PACKAGE_VERSION], [$2])
7352 m4_define([AC_PACKAGE_STRING], [$1 $2])
7353 m4_define([AC_PACKAGE_BUGREPORT], [$3])
7356 m4_location(ac_cv_prog_gxx)aclang.m4:1139
7358 m4_location(_AC_RUN_LOG_STDERR)acgeneral.m4:2142
7360 m4_location(AC_YYTEXT_POINTER)acoldnames.m4:78
7362 AC_LANG_ASSERT_m4_defun_pro([AC_LANG_ASSERT])m4_if(_AC_LANG, $1, [],
7363 [m4_fatal([$0: current language is not $1: ] _AC_LANG)])[]_m4_defun_epi([AC_LANG_ASSERT])
7365 AC_FUNC_ERROR_AT_LINE_m4_defun_pro([AC_FUNC_ERROR_AT_LINE])AC_LIBSOURCES([error.h, error.c])dnl
7366 AC_CACHE_CHECK([for error_at_line], ac_cv_lib_error_at_line,
7367 [AC_TRY_LINK([],[error_at_line (0, 0, "", 0, "");],
7368 [ac_cv_lib_error_at_line=yes],
7369 [ac_cv_lib_error_at_line=no])])
7370 if test $ac_cv_lib_error_at_line = no; then
7373 []AC_PROVIDE([AC_FUNC_ERROR_AT_LINE])[]_m4_defun_epi([AC_FUNC_ERROR_AT_LINE])
7375 m4_location(AC_HEADER_MAJOR)acheaders.m4:191
7377 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])
7379 AC_LIST_HEADERS_COMMANDS
7381 AC_CONFIG_LINKS_m4_defun_pro([AC_CONFIG_LINKS])m4_divert_push([KILL])
7382 _AC_CONFIG_UNIQUE([$1])
7383 _AC_CONFIG_DEPENDENCIES([$1])
7384 m4_if(m4_regexp([$1], [^\.:\| \.:]), -1,,
7385 [AC_FATAL([$0: invalid destination: `.'])])
7386 m4_append([AC_LIST_LINKS], [ $1])
7387 dnl Register the commands
7388 m4_ifval([$2], [AC_FOREACH([AC_File], [$1],
7389 [m4_append([AC_LIST_LINKS_COMMANDS],
7390 [ ]m4_patsubst(AC_File, [:.*])[ ) $2 ;;
7392 _AC_CONFIG_COMMANDS_INIT([$3])
7393 m4_divert_pop([KILL])dnl
7394 ac_config_links="$ac_config_links m4_normalize([$1])"
7395 []AC_PROVIDE([AC_CONFIG_LINKS])[]_m4_defun_epi([AC_CONFIG_LINKS])
7397 AC_GCC_TRADITIONAL_m4_defun_pro([AC_GCC_TRADITIONAL])AC_DIAGNOSE([obsolete], [The macro `AC_GCC_TRADITIONAL' is obsolete.
7398 You should run autoupdate.])dnl
7399 AC_PROG_GCC_TRADITIONAL($@)[]AC_PROVIDE([AC_GCC_TRADITIONAL])[]_m4_defun_epi([AC_GCC_TRADITIONAL])
7401 AC_LANG_PREPROCAC_LANG_COMPILER_REQUIRE()dnl
7402 _AC_LANG_DISPATCH([$0], _AC_LANG, $@)
7404 AC_CHECK_DECLS_m4_defun_pro([AC_CHECK_DECLS])m4_foreach([AC_Symbol], [$1],
7405 [AC_CHECK_DECL(AC_Symbol,
7406 [AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_DECL_]AC_Symbol), 1,
7407 [Define to 1 if you have the declaration
7408 of `]AC_Symbol[', and to 0 if you don't.])
7410 [AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_DECL_]AC_Symbol), 0)
7413 []AC_PROVIDE([AC_CHECK_DECLS])[]_m4_defun_epi([AC_CHECK_DECLS])
7417 AC_PROG_CC_C_O_m4_defun_pro([AC_PROG_CC_C_O])AC_REQUIRE([AC_PROG_CC])dnl
7418 if test "x$CC" != xcc; then
7419 AC_MSG_CHECKING([whether $CC and cc understand -c and -o together])
7421 AC_MSG_CHECKING([whether cc understands -c and -o together])
7423 set dummy $CC; ac_cc=`echo $[2] |
7424 sed 's/[[^a-zA-Z0-9_]]/_/g;s/^[[0-9]]/_/'`
7425 AC_CACHE_VAL(ac_cv_prog_cc_${ac_cc}_c_o,
7426 [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
7427 # Make sure it works both with $CC and with simple cc.
7428 # We do the test twice because some compilers refuse to overwrite an
7429 # existing .o file with -o, though they will create one.
7430 ac_try='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
7431 if AC_TRY_EVAL(ac_try) &&
7432 test -f conftest.$ac_objext && AC_TRY_EVAL(ac_try);
7434 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
7435 if test "x$CC" != xcc; then
7436 # Test first that cc exists at all.
7437 if AC_TRY_COMMAND(cc -c conftest.$ac_ext >&AS_MESSAGE_LOG_FD); then
7438 ac_try='cc -c conftest.$ac_ext -o conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
7439 if AC_TRY_EVAL(ac_try) &&
7440 test -f conftest.$ac_objext && AC_TRY_EVAL(ac_try);
7445 # cc exists but doesn't like -o.
7446 eval ac_cv_prog_cc_${ac_cc}_c_o=no
7451 eval ac_cv_prog_cc_${ac_cc}_c_o=no
7455 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
7456 AC_MSG_RESULT([yes])
7459 AC_DEFINE(NO_MINUS_C_MINUS_O, 1,
7460 [Define if your C compiler doesn't accept -c and -o together.])
7462 []AC_PROVIDE([AC_PROG_CC_C_O])[]_m4_defun_epi([AC_PROG_CC_C_O])
7464 m4_location(AC_UID_T)acoldnames.m4:76
7466 m4_location(AC_RUN_IFELSE)acgeneral.m4:2843
7468 AC_CYGWIN_m4_defun_pro([AC_CYGWIN])AC_DIAGNOSE([obsolete], [The macro `AC_CYGWIN' is obsolete.
7469 You should run autoupdate.])dnl
7470 AC_REQUIRE([AC_CANONICAL_HOST])[]dnl
7471 AC_DIAGNOSE([obsolete],
7472 [$0 is obsolete: use AC_CANONICAL_HOST and $host_os])dnl
7474 *cygwin* ) CYGWIN=yes;;
7477 []AC_PROVIDE([AC_CYGWIN])[]_m4_defun_epi([AC_CYGWIN])
7479 m4_location(AC_STRUCT_TIMEZONE)actypes.m4:564
7481 _AC_OUTPUT_FILEScat >>$CONFIG_STATUS <<EOF
7484 # CONFIG_FILES section.
7487 # No need to generate the scripts if there are no CONFIG_FILES.
7488 # This happens for instance when ./config.status config.h
7489 if test -n "\$CONFIG_FILES"; then
7490 # Protect against being on the right side of a sed subst in config.status.
7491 dnl Please, pay attention that this sed code depends a lot on the shape
7492 dnl of the sed commands issued by AC_SUBST. So if you change one, change
7494 [ sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7495 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF]
7496 dnl These here document variables are unquoted when configure runs
7497 dnl but quoted when config.status runs, so variables are expanded once.
7498 dnl Insert the sed substitutions of variables.
7499 _AC_SUBST_SED_PROGRAM()dnl
7504 cat >>$CONFIG_STATUS <<\EOF
7505 # Split the substitutions into bite-sized pieces for seds with
7506 # small command number limits, like on Digital OSF/1 and HP-UX.
7507 dnl One cannot portably go further than 100 commands because of HP-UX.
7508 dnl Here, there are 2 cmd per line, and two cmd are added later.
7510 ac_sed_frag=1 # Number of current file.
7511 ac_beg=1 # First line for current file.
7512 ac_end=$ac_max_sed_lines # Line after last line for current file.
7515 while $ac_more_lines; do
7516 if test $ac_beg -gt 1; then
7517 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7519 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7521 if test ! -s $tmp/subs.frag; then
7524 # The purpose of the label and of the branching condition is to
7525 # speed up the sed processing (if there are no `@' at all, there
7526 # is no need to browse any of the substitutions).
7527 # These are the two extra sed commands mentioned above.
7529 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b'] && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
7530 if test -z "$ac_sed_cmds"; then
7531 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
7533 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7535 ac_sed_frag=`expr $ac_sed_frag + 1`
7537 ac_end=`expr $ac_end + $ac_max_sed_lines`
7540 if test -z "$ac_sed_cmds"; then
7543 fi # test -n "$CONFIG_FILES"
7546 cat >>$CONFIG_STATUS <<\EOF
7547 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
7548 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7550 - | *:- | *:-:* ) # input from stdin
7552 ac_file_in=`echo "$ac_file" | sed 's,[[^:]]*:,,'`
7553 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7554 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[[^:]]*:,,'`
7555 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7556 * ) ac_file_in=$ac_file.in ;;
7559 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7560 ac_dir=`AS_DIRNAME(["$ac_file"])`
7561 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
7562 AS_MKDIR_P(["$ac_dir"])
7563 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
7564 # A "../" for each directory in $ac_dir_suffix.
7565 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[[^/]]*,../,g'`
7567 ac_dir_suffix= ac_dots=
7572 if test -z "$ac_dots"; then
7575 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
7577 [[\\/]]* | ?:[[\\/]]* )
7578 ac_srcdir=$srcdir$ac_dir_suffix;
7579 ac_top_srcdir=$srcdir ;;
7581 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
7582 ac_top_srcdir=$ac_dots$srcdir ;;
7585 AC_PROVIDE_IFELSE([AC_PROG_INSTALL],
7587 [[\\/$]]* | ?:[[\\/]]* ) ac_INSTALL=$INSTALL ;;
7588 *) ac_INSTALL=$ac_dots$INSTALL ;;
7592 if test x"$ac_file" != x-; then
7593 AC_MSG_NOTICE([creating $ac_file])
7596 # Let's still pretend it is `configure' which instantiates (i.e., don't
7597 # use $as_me), people would be surprised to read:
7598 # /* config.h. Generated automatically by config.status. */
7599 configure_input="Generated automatically from `echo $ac_file_in |
7600 sed 's,.*/,,'` by configure."
7602 # First look for the input files in the build tree, otherwise in the
7604 ac_file_inputs=`IFS=:
7605 for f in $ac_file_in; do
7607 -) echo $tmp/stdin ;;
7609 # Absolute (can't be DOS-style, as IFS=:)
7610 test -f "$f" || AC_MSG_ERROR([cannot find input file: $f])
7613 if test -f "$f"; then
7616 elif test -f "$srcdir/$f"; then
7621 AC_MSG_ERROR([cannot find input file: $f])
7624 done` || AS_EXIT([1])
7626 cat >>$CONFIG_STATUS <<EOF
7627 dnl Neutralize VPATH when `$srcdir' = `.'.
7629 dnl Shell code in configure.ac might set extrasub.
7630 dnl FIXME: do we really want to maintain this feature?
7633 cat >>$CONFIG_STATUS <<\EOF
7635 [/@[a-zA-Z_][a-zA-Z_0-9]*@/!b]
7636 s,@configure_input@,$configure_input,;t t
7637 s,@srcdir@,$ac_srcdir,;t t
7638 s,@top_srcdir@,$ac_top_srcdir,;t t
7639 AC_PROVIDE_IFELSE([AC_PROG_INSTALL], [s,@INSTALL@,$ac_INSTALL,;t t
7641 dnl The parens around the eval prevent an "illegal io" in Ultrix sh.
7642 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7644 dnl This would break Makefile dependencies.
7645 dnl if cmp -s $ac_file $tmp/out 2>/dev/null; then
7646 dnl echo "$ac_file is unchanged"
7649 dnl mv $tmp/out $ac_file
7651 if test x"$ac_file" != x-; then
7652 mv $tmp/out $ac_file
7658 m4_ifset([AC_LIST_FILES_COMMANDS],
7659 [ # Run the commands associated with the file.
7661 AC_LIST_FILES_COMMANDS()dnl
7668 m4_location(AC_FUNC_GETMNTENT)acfunctions.m4:582
7670 m4_defunm4_define([m4_location($1)], m4_location)dnl
7672 [_m4_defun_pro([$1])$2[]_m4_defun_epi([$1])])
7674 m4_debugfiledebugfile
7676 _AC_CHECK_TYPE_OLD_AC_CHECK_TYPE_NEW([$1],,
7677 [AC_DEFINE_UNQUOTED([$1], [$2],
7678 [Define to `$2' if <sys/types.h> does not define.])])dnl
7681 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])
7685 AS_LN_S_m4_defun_pro([AS_LN_S])m4_require([_AS_LN_S_PREPARE])dnl
7687 []_m4_defun_epi([AS_LN_S])
7689 AC_LANG_POP_m4_defun_pro([AC_LANG_POP])m4_ifval([$1],
7690 [m4_if([$1], m4_defn([_AC_LANG]), [],
7691 [m4_fatal([$0($1): unexpected current language: ]m4_defn([_AC_LANG]))])])dnl
7692 m4_pushdef([$0 OLD], m4_defn([_AC_LANG]))dnl
7693 m4_popdef([_AC_LANG])dnl
7694 _AC_LANG_SET(m4_defn([$0 OLD]), m4_defn([_AC_LANG]))dnl
7695 m4_popdef([$0 OLD])dnl
7696 []_m4_defun_epi([AC_LANG_POP])
7698 m4_location(_AC_PREPROC_IFELSE)acgeneral.m4:2649
7700 m4_location(AC_HEADER_EGREP)acoldnames.m4:31
7702 m4_location(AC_C_VOLATILE)aclang.m4:1689
7704 m4_location(AM_FUNC_OBSTACK)acfunctions.m4:1108
7706 m4_location(AC_TYPE_PID_T)actypes.m4:307
7708 AC_WORDS_BIGENDIAN_m4_defun_pro([AC_WORDS_BIGENDIAN])AC_DIAGNOSE([obsolete], [The macro `AC_WORDS_BIGENDIAN' is obsolete.
7709 You should run autoupdate.])dnl
7710 AC_C_BIGENDIAN($@)[]AC_PROVIDE([AC_WORDS_BIGENDIAN])[]_m4_defun_epi([AC_WORDS_BIGENDIAN])
7712 AC_STRUCT_ST_BLKSIZE_m4_defun_pro([AC_STRUCT_ST_BLKSIZE])AC_DIAGNOSE([obsolete], [The macro `AC_STRUCT_ST_BLKSIZE' is obsolete.
7713 You should run autoupdate.])dnl
7714 AC_DIAGNOSE([obsolete], [$0:
7715 your code should no longer depend upon `HAVE_ST_BLKSIZE', but
7716 `HAVE_STRUCT_STAT_ST_BLKSIZE'. Remove this warning and
7717 the `AC_DEFINE' when you adjust the code.])
7718 AC_CHECK_MEMBERS([struct stat.st_blksize],
7719 [AC_DEFINE(HAVE_ST_BLKSIZE, 1,
7720 [Define if your `struct stat' has
7721 `st_blksize'. Deprecated, use
7722 `HAVE_STRUCT_STAT_ST_BLKSIZE' instead.])])
7723 []AC_PROVIDE([AC_STRUCT_ST_BLKSIZE])[]_m4_defun_epi([AC_STRUCT_ST_BLKSIZE])
7727 AC_DIR_HEADER_m4_defun_pro([AC_DIR_HEADER])AC_DIAGNOSE([obsolete], [The macro `AC_DIR_HEADER' is obsolete.
7728 You should run autoupdate.])dnl
7730 AC_FUNC_CLOSEDIR_VOID
7731 AC_DIAGNOSE([obsolete],
7732 [$0: Remove this warning and the four `AC_DEFINE' when you
7733 ajust your code to use `AC_HEADER_DIRENT'.])
7734 test ac_cv_header_dirent_dirent_h &&
7735 AC_DEFINE([DIRENT], 1, [Same as `HAVE_DIRENT_H', don't depend on me.])
7736 test ac_cv_header_dirent_sys_ndir_h &&
7737 AC_DEFINE([SYSNDIR], 1, [Same as `HAVE_SYS_NDIR_H', don't depend on me.])
7738 test ac_cv_header_dirent_sys_dir_h &&
7739 AC_DEFINE([SYSDIR], 1, [Same as `HAVE_SYS_DIR_H', don't depend on me.])
7740 test ac_cv_header_dirent_ndir_h &&
7741 AC_DEFINE([NDIR], 1, [Same as `HAVE_NDIR_H', don't depend on me.])
7742 []AC_PROVIDE([AC_DIR_HEADER])[]_m4_defun_epi([AC_DIR_HEADER])
7744 m4_location(AC_SYS_POSIX_TERMIOS)acspecific.m4:568
7746 m4_location(AC_SYS_LONG_FILE_NAMES)acspecific.m4:489
7748 m4_location(AC_HAVE_HEADERS)acoldnames.m4:29
7750 m4_location(AC_FUNC_FSEEKO)acfunctions.m4:386
7752 AC_UID_T_m4_defun_pro([AC_UID_T])AC_DIAGNOSE([obsolete], [The macro `AC_UID_T' is obsolete.
7753 You should run autoupdate.])dnl
7754 AC_TYPE_UID_T($@)[]AC_PROVIDE([AC_UID_T])[]_m4_defun_epi([AC_UID_T])
7756 _AC_ECHO_Necho $ECHO_N "_AS_QUOTE([$1])$ECHO_C" >&m4_default([$2],
7759 m4_location(_AC_OUTPUT_COMMANDS_CNT)acgeneral.m4:3241
7761 m4_location(_AC_FUNC_VFORK)acfunctions.m4:1576
7763 _AC_HEADER_TIOCGWINSZ_IN_TERMIOS_HAC_CACHE_CHECK([whether termios.h defines TIOCGWINSZ],
7764 ac_cv_sys_tiocgwinsz_in_termios_h,
7765 [AC_EGREP_CPP([yes],
7766 [#include <sys/types.h>
7767 #include <termios.h>
7772 ac_cv_sys_tiocgwinsz_in_termios_h=yes,
7773 ac_cv_sys_tiocgwinsz_in_termios_h=no)])
7776 _AC_COMPUTE_INT_COMPILE# Depending upon the size, compute the lo and hi bounds.
7777 AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([$3], [($1) >= 0])],
7780 AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([$3], [($1) <= $ac_mid])],
7781 [ac_hi=$ac_mid; break],
7782 [ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`])
7786 AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([$3], [($1) >= $ac_mid])],
7787 [ac_lo=$ac_mid; break],
7788 [ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`])
7790 # Binary search between lo and hi bounds.
7791 while test "x$ac_lo" != "x$ac_hi"; do
7792 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7793 AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([$3], [($1) <= $ac_mid])],
7794 [ac_hi=$ac_mid], [ac_lo=`expr $ac_mid + 1`])
7799 AC_C_STRINGIZE_m4_defun_pro([AC_C_STRINGIZE])AC_CACHE_CHECK([for preprocessor stringizing operator],
7800 [ac_cv_c_stringize],
7801 [AC_EGREP_CPP([@%:@teststring],
7804 char *s = x(teststring);],
7805 [ac_cv_c_stringize=no],
7806 [ac_cv_c_stringize=yes])])
7807 if test $ac_cv_c_stringize = yes; then
7808 AC_DEFINE(HAVE_STRINGIZE, 1,
7809 [Define if cpp supports the ANSI @%:@ stringizing operator.])
7811 []AC_PROVIDE([AC_C_STRINGIZE])[]_m4_defun_epi([AC_C_STRINGIZE])
7813 m4_location(AC_TRY_CPP)acgeneral.m4:2669
7815 AC_CACHE_CHECKAC_MSG_CHECKING([$1])
7816 AC_CACHE_VAL([$2], [$3])dnl
7817 AC_MSG_RESULT_UNQUOTED([AS_VAR_GET([$2])])
7819 m4_location(AC_COMPILE_CHECK)acgeneral.m4:2796
7821 __m4_warning_error_ifelsem4_case([$3],
7825 [$0([$1], [$2], m4_shiftn(3, $@))])
7827 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.
7828 You should run autoupdate.])dnl
7829 []AC_PROVIDE([AC_VALIDATE_CACHED_SYSTEM_TUPLE])[]_m4_defun_epi([AC_VALIDATE_CACHED_SYSTEM_TUPLE])
7831 AC_EGREP_CPP_m4_defun_pro([AC_EGREP_CPP])AC_LANG_PREPROC_REQUIRE()dnl
7832 AC_LANG_CONFTEST([AC_LANG_SOURCE([[$2]])])
7833 dnl eval is necessary to expand ac_cpp.
7834 dnl Ultrix and Pyramid sh refuse to redirect output of eval, so use subshell.
7835 if (eval "$ac_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD |
7836 dnl Quote $1 to prevent m4 from eating character classes
7837 egrep "[$1]" >/dev/null 2>&1; then
7839 m4_ifvaln([$4], [else
7843 []AC_PROVIDE([AC_EGREP_CPP])[]_m4_defun_epi([AC_EGREP_CPP])
7845 m4_location(AS_DIRNAME_EXPR)m4sh.m4:284
7847 m4_location(AC_TRY_LINK_FUNC)acgeneral.m4:2511
7849 m4_location(AC_ST_BLKSIZE)acoldnames.m4:70
7851 m4_location(AC_PREFIX_DEFAULT)acgeneral.m4:616
7853 m4_location(_AS_CR_PREPARE)m4sh.m4:558
7855 _AC_LANG_SET_m4_defun_pro([_AC_LANG_SET])_AC_LANG_DISPATCH([AC_LANG], [$2])[]_m4_defun_epi([_AC_LANG_SET])
7857 AC_LANG_CALL(Fortran 77)AC_LANG_PROGRAM([$1],
7860 m4_location(AC_LANG_PROGRAM)aclang.m4:308
7862 AC_SITE_LOAD# Prefer explicitly selected file to automatically selected ones.
7863 if test -z "$CONFIG_SITE"; then
7864 if test "x$prefix" != xNONE; then
7865 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
7867 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
7870 for ac_site_file in $CONFIG_SITE; do
7871 if test -r "$ac_site_file"; then
7872 AC_MSG_NOTICE([loading site script $ac_site_file])
7873 cat "$ac_site_file" >&AS_MESSAGE_LOG_FD
7879 m4_location(_AC_EVAL)acgeneral.m4:2150
7881 AS_ESCAPEm4_patsubst([$1],
7882 m4_ifval([$2], [[\([$2]\)]], [[\([\"$`]\)]]),
7885 AC_CHAR_UNSIGNED_m4_defun_pro([AC_CHAR_UNSIGNED])AC_DIAGNOSE([obsolete], [The macro `AC_CHAR_UNSIGNED' is obsolete.
7886 You should run autoupdate.])dnl
7887 AC_C_CHAR_UNSIGNED($@)[]AC_PROVIDE([AC_CHAR_UNSIGNED])[]_m4_defun_epi([AC_CHAR_UNSIGNED])
7889 m4_location(AC_FUNC_MALLOC)acfunctions.m4:737
7891 m4_copym4_define([$2], m4_defn([$1]))
7893 m4_location(AC_RETSIGTYPE)acoldnames.m4:65
7895 m4_location(AC_EXEEXT)aclang.m4:646
7897 _AC_LINK_FILES_CNT_m4_defun_pro([_AC_LINK_FILES_CNT])AC_DIAGNOSE([obsolete], [The macro `_AC_LINK_FILES_CNT' is obsolete.
7898 You should run autoupdate.])dnl
7899 0[]AC_PROVIDE([_AC_LINK_FILES_CNT])[]_m4_defun_epi([_AC_LINK_FILES_CNT])
7901 AC_LANG_CONFTESTcat >conftest.$ac_ext <<_ACEOF
7905 m4_location(AC_DYNIX_SEQ)acspecific.m4:1038
7907 AS_EXECUTABLE_P_m4_defun_pro([AS_EXECUTABLE_P])m4_require([_AS_TEST_PREPARE])dnl
7908 $as_executable_p $1[]dnl
7909 []_m4_defun_epi([AS_EXECUTABLE_P])
7911 AC_LANG_PROGRAM(Fortran 77)m4_ifval([$1],
7912 [m4_warn([syntax], [$0: ignoring PROLOGUE: $1])])dnl
7917 m4_location(AC_VPRINTF)acfunctions.m4:1603
7919 m4_location(AC_CHECK_DECL)acgeneral.m4:2913
7923 AC_LANG_m4_defun_pro([AC_LANG])_AC_LANG_SET(m4_ifdef([_AC_LANG], [m4_defn([_AC_LANG])]),
7925 m4_define([_AC_LANG], [$1])[]_m4_defun_epi([AC_LANG])
7927 m4_toupperm4_translit([$1],
7928 [abcdefghijklmnopqrstuvwxyz],
7929 [ABCDEFGHIJKLMNOPQRSTUVWXYZ])
7931 m4_include(acspecific.m4)
7933 _m4_shiftnm4_if([$1], 0,
7935 [_m4_shiftn(m4_eval([$1]-1), m4_shift(m4_shift($@)))])
7937 AC_LANG_FUNC_LINK_TRY(C)AC_LANG_PROGRAM(
7938 [/* System header to define __stub macros and hopefully few prototypes,
7939 which can conflict with char $1 (); below. */
7941 /* Override any gcc2 internal prototype to avoid an error. */
7945 /* We use char because int might match the return type of a gcc2
7946 builtin and then its argument prototype would still apply. */
7950 [/* The GNU C library defines this for functions which it implements
7951 to always fail with ENOSYS. Some functions are actually named
7952 something starting with __ and the normal name is an alias. */
7953 #if defined (__stub_$1) || defined (__stub___$1)
7960 m4_location(AM_TYPE_PTRDIFF_T)actypes.m4:289
7962 AC_LANG(C++)ac_ext=cc
7963 ac_cpp='$CXXCPP $CPPFLAGS'
7964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&AS_MESSAGE_LOG_FD'
7965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&AS_MESSAGE_LOG_FD'
7966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7969 m4_location(AC_LIST_MEMBER_OF)acgeneral.m4:4512
7971 _AS_TR_CPP_PREPARE_m4_defun_pro([_AS_TR_CPP_PREPARE])m4_require([_AS_CR_PREPARE])dnl
7972 # Sed expression to map a string onto a valid CPP name.
7973 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[[^_$as_cr_alnum]]%_%g"
7974 []_m4_defun_epi([_AS_TR_CPP_PREPARE])
7976 _AC_SUBSTm4_expand_once([m4_append([_AC_SUBST_SED_PROGRAM],
7983 m4_include_uniquem4_ifdef([m4_include($1)],
7984 [m4_warn([syntax], [file `$1' included several times])])dnl
7985 m4_define([m4_include($1)])
7991 m4_expansion_stack_pushm4_pushdef([m4_expansion_stack],
7992 [$1]m4_ifdef([m4_expansion_stack], [
7993 m4_defn([m4_expansion_stack])]))
7995 AC_SYS_POSIX_TERMIOS_m4_defun_pro([AC_SYS_POSIX_TERMIOS])AC_CACHE_CHECK([POSIX termios], ac_cv_sys_posix_termios,
7996 [AC_TRY_LINK([#include <sys/types.h>
7998 @%:@include <termios.h>],
7999 [/* SunOS 4.0.3 has termios.h but not the library calls. */
8001 ac_cv_sys_posix_termios=yes,
8002 ac_cv_sys_posix_termios=no)])
8003 []AC_PROVIDE([AC_SYS_POSIX_TERMIOS])[]_m4_defun_epi([AC_SYS_POSIX_TERMIOS])
8005 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)])
8007 AC_CHECK_PROGS_m4_defun_pro([AC_CHECK_PROGS])for ac_prog in $2
8009 AC_CHECK_PROG([$1], [$ac_prog], [$ac_prog], , [$4])
8010 test -n "$$1" && break
8012 m4_ifvaln([$3], [test -n "$$1" || $1="$3"])[]AC_PROVIDE([AC_CHECK_PROGS])[]_m4_defun_epi([AC_CHECK_PROGS])
8014 m4_location(AC_LANG_PUSH)aclang.m4:142
8016 _AC_ARG_VAR_LDFLAGS_m4_defun_pro([_AC_ARG_VAR_LDFLAGS])AC_ARG_VAR([LDFLAGS],
8017 [linker flags, e.g. -L<lib dir> if you have libraries in a
8018 nonstandard directory <lib dir>])[]AC_PROVIDE([_AC_ARG_VAR_LDFLAGS])[]_m4_defun_epi([_AC_ARG_VAR_LDFLAGS])
8020 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,
8021 [rm -f conftest.data; >conftest.data
8022 # Sequent interprets utime(file, 0) to mean use start of epoch. Wrong.
8023 AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
8025 exit (!(stat ("conftest.data", &s) == 0
8026 && utime ("conftest.data", (long *)0) == 0
8027 && stat ("conftest.data", &t) == 0
8028 && t.st_mtime >= s.st_mtime
8029 && t.st_mtime - s.st_mtime < 120));]])],
8030 ac_cv_func_utime_null=yes,
8031 ac_cv_func_utime_null=no,
8032 ac_cv_func_utime_null=no)
8033 rm -f core core.* *.core])
8034 if test $ac_cv_func_utime_null = yes; then
8035 AC_DEFINE(HAVE_UTIME_NULL, 1,
8036 [Define if `utime(file, NULL)' sets file's timestamp to the
8040 []AC_PROVIDE([AC_FUNC_UTIME_NULL])[]_m4_defun_epi([AC_FUNC_UTIME_NULL])
8042 AC_NO_EXECUTABLESm4_provide_ifelse([AC_NO_EXECUTABLES],
8043 [m4_warn([syntax], [AC_NO_EXECUTABLES invoked multiple times])],
8044 [_m4_defun_pro([AC_NO_EXECUTABLES])m4_divert_push([KILL])
8046 AC_BEFORE([$0], [_AC_COMPILER_EXEEXT_WORKS])
8047 AC_BEFORE([$0], [_AC_COMPILER_EXEEXT])
8049 m4_define([_AC_COMPILER_EXEEXT_WORKS],
8050 [cross_compiling=maybe
8053 m4_define([_AC_COMPILER_EXEEXT],
8057 m4_define([AC_LINK_IFELSE],
8058 [AC_FATAL([All the tests involving linking were disabled by $0])])
8061 []AC_PROVIDE([AC_NO_EXECUTABLES])[]_m4_defun_epi([AC_NO_EXECUTABLES])])
8063 AC_CHECK_TOOL_PREFIX_m4_defun_pro([AC_CHECK_TOOL_PREFIX])AC_DIAGNOSE([obsolete], [The macro `AC_CHECK_TOOL_PREFIX' is obsolete.
8064 You should run autoupdate.])dnl
8065 []AC_PROVIDE([AC_CHECK_TOOL_PREFIX])[]_m4_defun_epi([AC_CHECK_TOOL_PREFIX])
8067 AC_INLINE_m4_defun_pro([AC_INLINE])AC_DIAGNOSE([obsolete], [The macro `AC_INLINE' is obsolete.
8068 You should run autoupdate.])dnl
8069 AC_C_INLINE($@)[]AC_PROVIDE([AC_INLINE])[]_m4_defun_epi([AC_INLINE])
8071 m4_location(_AC_ARG_VAR_CPPFLAGS)aclang.m4:820
8073 AC_LANG_PROGRAM(C)$1
8074 m4_ifdef([_AC_LANG_PROGRAM_C_F77_HOOKS], [_AC_LANG_PROGRAM_C_F77_HOOKS()])dnl
8078 dnl Do *not* indent the following line: there may be CPP directives.
8079 dnl Don't move the `;' right after for the same reason.
8085 _AC_OUTPUT_COMMANDS_INIT
8087 AC_XENIX_DIR_m4_defun_pro([AC_XENIX_DIR])AC_DIAGNOSE([obsolete], [The macro `AC_XENIX_DIR' is obsolete.
8088 You should run autoupdate.])dnl
8089 # You shouldn't need to depend upon XENIX. Remove this test if useless.
8090 AC_MSG_CHECKING([for Xenix])
8092 [#if defined(M_XENIX) && !defined(M_UNIX)
8095 [AC_MSG_RESULT([yes]); XENIX=yes],
8096 [AC_MSG_RESULT([no]); XENIX=])
8098 AC_HEADER_DIRENT[]dnl
8099 []AC_PROVIDE([AC_XENIX_DIR])[]_m4_defun_epi([AC_XENIX_DIR])
8101 _m4_foreach_quotedm4_if($2, [()], ,
8102 [m4_define([$1], [m4_car_quoted$2])$3[]_m4_foreach_quoted([$1],
8106 m4_location(AC_PROG_CXX)aclang.m4:1180
8108 AS_TR_CPP_m4_defun_pro([AS_TR_CPP])m4_require([_$0_PREPARE])dnl
8110 [m4_patsubst(m4_translit([[$1]],
8111 [*abcdefghijklmnopqrstuvwxyz],
8112 [PABCDEFGHIJKLMNOPQRSTUVWXYZ]),
8113 [[^A-Z0-9_]], [_])],
8114 [`echo "$1" | $as_tr_cpp`])[]_m4_defun_epi([AS_TR_CPP])
8116 AC_DIAGNOSEm4_warning_ifelse([$1], [_m4_warn([$2])])
8118 m4_location(AC_LANG_SOURCE)aclang.m4:298
8120 m4_location(AC_LANG_FORTRAN77)aclang.m4:264
8122 m4_location(AC_CHECK_DECLS)acgeneral.m4:2933
8124 AC_LANG_CALL(C++)AC_LANG_PROGRAM([$1
8125 m4_if([$2], [main], ,
8126 [/* Override any gcc2 internal prototype to avoid an error. */
8130 /* We use char because int might match the return type of a gcc2
8131 builtin and then its argument prototype would still apply. */
8132 char $2 ();])], [$2 ();])
8134 AM_EXEEXT_m4_defun_pro([AM_EXEEXT])AC_DIAGNOSE([obsolete], [The macro `AM_EXEEXT' is obsolete.
8135 You should run autoupdate.])dnl
8136 AC_EXEEXT($@)[]AC_PROVIDE([AM_EXEEXT])[]_m4_defun_epi([AM_EXEEXT])
8138 m4_shiftnm4_assert(($1 >= 0) && ($# > $1))dnl
8141 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])
8143 AC_PROG_CC_m4_defun_pro([AC_PROG_CC])AC_LANG_PUSH(C)dnl
8144 AC_ARG_VAR([CC], [C compiler command])dnl
8145 AC_ARG_VAR([CFLAGS], [C compiler flags])dnl
8146 _AC_ARG_VAR_LDFLAGS()dnl
8147 _AC_ARG_VAR_CPPFLAGS()dnl
8149 [AC_CHECK_TOOLS(CC, [$1])],
8150 [AC_CHECK_TOOL(CC, gcc)
8151 if test -z "$CC"; then
8152 AC_CHECK_TOOL(CC, cc)
8154 if test -z "$CC"; then
8155 AC_CHECK_PROG(CC, cc, cc, , , /usr/ucb/cc)
8157 if test -z "$CC"; then
8158 AC_CHECK_TOOLS(CC, cl)
8162 test -z "$CC" && AC_MSG_ERROR([no acceptable cc found in \$PATH])
8164 # Provide some information about the compiler.
8165 echo "$as_me:__oline__:" \
8166 "checking for _AC_LANG compiler version" >&AS_MESSAGE_LOG_FD
8167 ac_compiler=`set X $ac_compile; echo $[2]`
8168 _AC_EVAL([$ac_compiler --version </dev/null >&AS_MESSAGE_LOG_FD])
8169 _AC_EVAL([$ac_compiler -v </dev/null >&AS_MESSAGE_LOG_FD])
8170 _AC_EVAL([$ac_compiler -V </dev/null >&AS_MESSAGE_LOG_FD])
8172 m4_expand_once([_AC_COMPILER_EXEEXT])[]dnl
8173 m4_expand_once([_AC_COMPILER_OBJEXT])[]dnl
8174 _AC_LANG_COMPILER_GNU
8175 GCC=`test $ac_compiler_gnu = yes && echo yes`
8177 # Some people use a C++ compiler to compile C. Since we use `exit',
8178 # in C++ we need to declare it. In case someone uses the same compiler
8179 # for both compiling C and C++ we need to have the C++ compiler decide
8180 # the declaration of exit, since it's the most demanding environment.
8181 _AC_COMPILE_IFELSE([@%:@ifndef __cplusplus
8184 [_AC_PROG_CXX_EXIT_DECLARATION])
8186 []AC_PROVIDE([AC_PROG_CC])[]_m4_defun_epi([AC_PROG_CC])
8188 AC_LANG_BOOL_COMPILE_TRY(C++)AC_LANG_PROGRAM([$1], [int _array_ @<:@1 - 2 * !($2)@:>@])
8190 AC_FUNC_FNMATCH_m4_defun_pro([AC_FUNC_FNMATCH])AC_CACHE_CHECK([for working GNU-style fnmatch],
8191 [ac_cv_func_fnmatch_works],
8192 # Some versions of Solaris, SCO, and the GNU C Library
8193 # have a broken or incompatible fnmatch.
8194 # So we run a test program. If we are cross-compiling, take no chance.
8195 # Thanks to John Oleynick, Franc,ois Pinard, and Paul Eggert for this test.
8196 [AC_RUN_IFELSE([AC_LANG_PROGRAM([@%:@include <fnmatch.h>],
8197 [exit (fnmatch ("a*", "abc", 0) != 0
8198 || fnmatch ("d*/*1", "d/s/1", FNM_FILE_NAME) != FNM_NOMATCH
8199 || fnmatch ("*", "x", FNM_FILE_NAME | FNM_LEADING_DIR) != 0
8200 || fnmatch ("x*", "x/y/z", FNM_FILE_NAME | FNM_LEADING_DIR) != 0
8201 || fnmatch ("*c*", "c/x", FNM_FILE_NAME | FNM_LEADING_DIR) != 0);])],
8202 [ac_cv_func_fnmatch_works=yes],
8203 [ac_cv_func_fnmatch_works=no],
8204 [ac_cv_func_fnmatch_works=no])])
8205 if test $ac_cv_func_fnmatch_works = yes; then
8206 AC_DEFINE(HAVE_FNMATCH, 1,
8207 [Define if your system has a working `fnmatch' function.])
8209 []AC_PROVIDE([AC_FUNC_FNMATCH])[]_m4_defun_epi([AC_FUNC_FNMATCH])
8211 AC_DYNIX_SEQ_m4_defun_pro([AC_DYNIX_SEQ])AC_DIAGNOSE([obsolete], [The macro `AC_DYNIX_SEQ' is obsolete.
8212 You should run autoupdate.])dnl
8213 AC_FUNC_GETMNTENT[]AC_PROVIDE([AC_DYNIX_SEQ])[]_m4_defun_epi([AC_DYNIX_SEQ])
8215 AC_SYS_RESTARTABLE_SYSCALLS_m4_defun_pro([AC_SYS_RESTARTABLE_SYSCALLS])AC_DIAGNOSE([obsolete],
8216 [$0: System call restartability is now typically set at runtime.
8217 Remove this `AC_SYS_RESTARTABLE_SYSCALLS'
8218 and adjust your code to use `sigaction' with `SA_RESTART' instead.])dnl
8219 AC_REQUIRE([AC_HEADER_SYS_WAIT])dnl
8220 AC_CHECK_HEADERS(unistd.h)
8221 AC_CACHE_CHECK(for restartable system calls, ac_cv_sys_restartable_syscalls,
8222 [AC_RUN_IFELSE([AC_LANG_SOURCE(
8223 [/* Exit 0 (true) if wait returns something other than -1,
8224 i.e. the pid of the child, which means that wait was restarted
8225 after getting the signal. */
8227 #include <sys/types.h>
8230 # include <unistd.h>
8233 # include <sys/wait.h>
8236 /* Some platforms explicitly require an extern "C" signal handler
8239 extern "C" void ucatch (int dummy) { }
8241 void ucatch (dummy) int dummy; { }
8247 int i = fork (), status;
8252 kill (getppid (), SIGINT);
8257 signal (SIGINT, ucatch);
8263 exit (status == -1);
8265 [ac_cv_sys_restartable_syscalls=yes],
8266 [ac_cv_sys_restartable_syscalls=no])])
8267 if test $ac_cv_sys_restartable_syscalls = yes; then
8268 AC_DEFINE(HAVE_RESTARTABLE_SYSCALLS, 1,
8269 [Define if system calls automatically restart after interruption
8272 []AC_PROVIDE([AC_SYS_RESTARTABLE_SYSCALLS])[]_m4_defun_epi([AC_SYS_RESTARTABLE_SYSCALLS])
8276 AC_LANG_CASEm4_case(_AC_LANG, $@)
8278 m4_location(AC_CONFIG_COMMANDS_POST)acgeneral.m4:3260
8280 AC_LANG_BOOL_COMPILE_TRY(C)AC_LANG_PROGRAM([$1], [int _array_ @<:@1 - 2 * !($2)@:>@])
8282 m4_location(AC_ST_BLOCKS)acoldnames.m4:71
8284 m4_location(AC_PROG_F77_C_O)aclang.m4:1389
8286 AS_ERROR{ AS_MESSAGE([error: $1], [2])
8287 AS_EXIT([$2]); }[]dnl
8290 AC_FUNC_CLOSEDIR_VOID_m4_defun_pro([AC_FUNC_CLOSEDIR_VOID])AC_REQUIRE([AC_HEADER_DIRENT])dnl
8291 AC_CACHE_CHECK([whether closedir returns void],
8292 [ac_cv_func_closedir_void],
8293 [AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT
8294 #include <$ac_header_dirent>
8299 [[exit (closedir (opendir (".")) != 0);]])],
8300 [ac_cv_func_closedir_void=no],
8301 [ac_cv_func_closedir_void=yes],
8302 [ac_cv_func_closedir_void=yes])])
8303 if test $ac_cv_func_closedir_void = yes; then
8304 AC_DEFINE(CLOSEDIR_VOID, 1,
8305 [Define if the `closedir' function returns void instead of `int'.])
8307 []AC_PROVIDE([AC_FUNC_CLOSEDIR_VOID])[]_m4_defun_epi([AC_FUNC_CLOSEDIR_VOID])
8309 AH_CHECK_LIBAH_TEMPLATE(AS_TR_CPP(HAVE_LIB$1),
8310 [Define if you have the `]$1[' library (-l]$1[).])
8312 AH_CHECK_HEADERS_DIRENTAC_FOREACH([AC_Header], [$1],
8313 [AH_TEMPLATE(AS_TR_CPP(HAVE_[]AC_Header),
8314 [Define if you have the <]AC_Header[> header file, and
8315 it defines `DIR'.])])
8317 m4_location(AC_PROG_LN_S)acspecific.m4:277
8319 _AC_SYS_LARGEFILE_TEST_INCLUDES@%:@include <sys/types.h>
8320 /* Check that off_t can represent 2**63 - 1 correctly.
8321 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8322 since some C++ compilers masquerading as C compilers
8323 incorrectly reject 9223372036854775807. */
8324 @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
8325 int off_t_is_large[[(LARGE_OFF_T % 2147483629 == 721
8326 && LARGE_OFF_T % 2147483647 == 1)
8330 AC_TEST_PROGRAM_m4_defun_pro([AC_TEST_PROGRAM])AC_DIAGNOSE([obsolete], [The macro `AC_TEST_PROGRAM' is obsolete.
8331 You should run autoupdate.])dnl
8332 AC_TRY_RUN($@)[]AC_PROVIDE([AC_TEST_PROGRAM])[]_m4_defun_epi([AC_TEST_PROGRAM])
8334 m4_location(AC_HEADER_STDC)acheaders.m4:284
8336 AC_DEFINE_UNQUOTEDAC_DEFINE_TRACE([$1])dnl
8337 m4_ifval([$3], [_AH_TEMPLATE_OLD([$1], [$3])])dnl
8338 cat >>confdefs.h <<EOF
8339 [@%:@define] $1 m4_if($#, 2, [$2], $#, 3, [$2], 1)
8343 m4_location(AC_CHECK_PROG)acgeneral.m4:2343
8345 _AC_DECL_YYTEXTAC_CACHE_CHECK(lex output file root, ac_cv_prog_lex_root,
8346 [# The minimal lex program is just a single line: %%. But some broken lexes
8347 # (Solaris, I think it was) want two %% lines, so accommodate them.
8350 if test -f lex.yy.c; then
8351 ac_cv_prog_lex_root=lex.yy
8352 elif test -f lexyy.c; then
8353 ac_cv_prog_lex_root=lexyy
8355 AC_MSG_ERROR([cannot find output from $LEX; giving up])
8357 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
8358 AC_SUBST(LEX_OUTPUT_ROOT)dnl
8360 AC_CACHE_CHECK(whether yytext is a pointer, ac_cv_prog_lex_yytext_pointer,
8361 [# POSIX says lex can declare yytext either as a pointer or an array; the
8362 # default is implementation-dependent. Figure out which it is, since
8363 # not all implementations provide the %pointer and %array declarations.
8364 ac_cv_prog_lex_yytext_pointer=no
8365 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
8367 LIBS="$LIBS $LEXLIB"
8368 AC_LINK_IFELSE([`cat $LEX_OUTPUT_ROOT.c`], ac_cv_prog_lex_yytext_pointer=yes)
8370 rm -f "${LEX_OUTPUT_ROOT}.c"
8373 if test $ac_cv_prog_lex_yytext_pointer = yes; then
8374 AC_DEFINE(YYTEXT_POINTER, 1,
8375 [Define if `lex' declares `yytext' as a `char *' by default,
8380 AC_SHELL_PATH_WALKac_save_IFS=$IFS; IFS=$ac_path_separator
8381 ac_dummy="m4_default([$1], [$PATH])"
8382 for ac_dir in $ac_dummy; do
8384 test -z "$ac_dir" && ac_dir=.
8389 _AC_PATH_X_DIRECT# Standard set of common directories for X headers.
8390 # Check X11 before X11Rn because it is often a symlink to the current release.
8402 /usr/local/X11/include
8403 /usr/local/X11R6/include
8404 /usr/local/X11R5/include
8405 /usr/local/X11R4/include
8407 /usr/local/include/X11
8408 /usr/local/include/X11R6
8409 /usr/local/include/X11R5
8410 /usr/local/include/X11R4
8414 /usr/XFree86/include/X11
8418 /usr/unsupported/include
8420 /usr/local/x11r5/include
8421 /usr/lpp/Xamples/include
8423 /usr/openwin/include
8424 /usr/openwin/share/include'
8426 if test "$ac_x_includes" = no; then
8427 # Guess where to find include files, by looking for Intrinsic.h.
8428 # First, try using that file with no special directory specified.
8429 AC_PREPROC_IFELSE([AC_LANG_SOURCE([@%:@include <X11/Intrinsic.h>])],
8430 [# We can compile using X headers with no special include directory.
8432 [for ac_dir in $ac_x_header_dirs; do
8433 if test -r "$ac_dir/X11/Intrinsic.h"; then
8434 ac_x_includes=$ac_dir
8438 fi # $ac_x_includes = no
8440 if test "$ac_x_libraries" = no; then
8441 # Check for the libraries.
8442 # See if we find them without any special options.
8443 # Don't add to $LIBS permanently.
8446 AC_TRY_LINK([@%:@include <X11/Intrinsic.h>], [XtMalloc (0)],
8448 # We can link X programs with no special library path.
8451 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8453 # Don't even attempt the hair of trying to link an X program!
8454 for ac_extension in a so sl; do
8455 if test -r $ac_dir/libXt.$ac_extension; then
8456 ac_x_libraries=$ac_dir
8461 fi # $ac_x_libraries = no
8466 m4_stripm4_patsubst(m4_patsubst(m4_patsubst([[[[$1]]]],
8471 m4_location(AC_PREFIX_PROGRAM)acgeneral.m4:2495
8473 _AC_COMPILER_EXEEXT_CROSS# Check the compiler produces executables we can run. If not, either
8474 # the compiler is broken, or we cross compile.
8475 AC_MSG_CHECKING([whether we are cross compiling])
8476 AC_MSG_RESULT([$cross_compiling])
8479 AC_HEADER_CHECK_m4_defun_pro([AC_HEADER_CHECK])AC_DIAGNOSE([obsolete], [The macro `AC_HEADER_CHECK' is obsolete.
8480 You should run autoupdate.])dnl
8481 AC_CHECK_HEADER($@)[]AC_PROVIDE([AC_HEADER_CHECK])[]_m4_defun_epi([AC_HEADER_CHECK])
8483 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])
8485 m4_location(AC_PROG_CC_C_O)aclang.m4:1080
8489 _AC_PROG_ECHOcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8490 *c*,-n*) ECHO_N= ECHO_C='
8492 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
8493 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
8500 AC_C_BIGENDIAN_m4_defun_pro([AC_C_BIGENDIAN])AC_CACHE_CHECK(whether byte ordering is bigendian, ac_cv_c_bigendian,
8501 [ac_cv_c_bigendian=unknown
8502 # See if sys/param.h defines the BYTE_ORDER macro.
8503 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <sys/types.h>
8504 #include <sys/param.h>
8506 [#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
8510 [# It does; now see whether it defined to BIG_ENDIAN or not.
8511 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <sys/types.h>
8512 #include <sys/param.h>
8513 ], [#if BYTE_ORDER != BIG_ENDIAN
8516 ])], [ac_cv_c_bigendian=yes],
8517 [ac_cv_c_bigendian=no])])
8518 if test $ac_cv_c_bigendian = unknown; then
8523 /* Are we little or big endian? From Harbison&Steele. */
8527 char c[sizeof (long)];
8530 exit (u.c[sizeof (long) - 1] == 1);
8531 }], ac_cv_c_bigendian=no, ac_cv_c_bigendian=yes)
8533 if test $ac_cv_c_bigendian = yes; then
8534 AC_DEFINE(WORDS_BIGENDIAN, 1,
8535 [Define if your processor stores words with the most significant
8536 byte first (like Motorola and SPARC, unlike Intel and VAX).])
8538 []AC_PROVIDE([AC_C_BIGENDIAN])[]_m4_defun_epi([AC_C_BIGENDIAN])
8540 AC_CHECK_FUNC_m4_defun_pro([AC_CHECK_FUNC])AS_VAR_PUSHDEF([ac_var], [ac_cv_func_$1])dnl
8541 AC_CACHE_CHECK([for $1], ac_var,
8542 [AC_LINK_IFELSE([AC_LANG_FUNC_LINK_TRY([$1])],
8543 [AS_VAR_SET(ac_var, yes)],
8544 [AS_VAR_SET(ac_var, no)])])
8545 AS_IF([test AS_VAR_GET(ac_var) = yes], [$2], [$3])dnl
8546 AS_VAR_POPDEF([ac_var])dnl
8547 []AC_PROVIDE([AC_CHECK_FUNC])[]_m4_defun_epi([AC_CHECK_FUNC])
8549 AC_CHECK_FILES_m4_defun_pro([AC_CHECK_FILES])AC_FOREACH([AC_FILE_NAME], [$1],
8550 [AC_CHECK_FILE(AC_FILE_NAME,
8551 [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_[]AC_FILE_NAME), 1,
8552 [Define if you have the file `]AC_File['.])
8554 [$3])])[]AC_PROVIDE([AC_CHECK_FILES])[]_m4_defun_epi([AC_CHECK_FILES])
8556 m4_location(AC_XENIX_DIR)acspecific.m4:1033
8558 m4_location(AC_CYGWIN32)acoldnames.m4:80
8560 m4_location(AC_EGREP_HEADER)acgeneral.m4:2699
8562 AC_LANG_CALL(C)AC_LANG_PROGRAM([$1
8563 m4_if([$2], [main], ,
8564 [/* Override any gcc2 internal prototype to avoid an error. */
8568 /* We use char because int might match the return type of a gcc2
8569 builtin and then its argument prototype would still apply. */
8570 char $2 ();])], [$2 ();])
8572 AC_F77_FUNC_m4_defun_pro([AC_F77_FUNC])AC_REQUIRE([_AC_F77_NAME_MANGLING])dnl
8573 case $ac_cv_f77_mangling in
8574 upper*) ac_val="m4_toupper([$1])" ;;
8575 lower*) ac_val="m4_tolower([$1])" ;;
8576 *) ac_val="unknown" ;;
8578 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
8579 m4_if(m4_index([$1],[_]),-1,[],
8580 [case $ac_cv_f77_mangling in *," extra underscore"*) ac_val="$ac_val"_ ;; esac
8582 m4_default([$2],[$1])="$ac_val"
8583 []AC_PROVIDE([AC_F77_FUNC])[]_m4_defun_epi([AC_F77_FUNC])
8585 m4_location(AC_IRIX_SUN)acspecific.m4:1045
8587 m4_location(AC_GETGROUPS_T)acoldnames.m4:54
8589 _m4_defun_epim4_divert_pop()dnl
8590 m4_if(_m4_divert_dump, _m4_divert_diversion,
8591 [m4_undivert([GROW])dnl
8592 m4_undefine([_m4_divert_dump])])dnl
8593 m4_expansion_stack_pop()dnl
8594 m4_popdef([_m4_expanding($1)])dnl
8598 AC_PROGRAMS_CHECK_m4_defun_pro([AC_PROGRAMS_CHECK])AC_DIAGNOSE([obsolete], [The macro `AC_PROGRAMS_CHECK' is obsolete.
8599 You should run autoupdate.])dnl
8600 AC_CHECK_PROGS($@)[]AC_PROVIDE([AC_PROGRAMS_CHECK])[]_m4_defun_epi([AC_PROGRAMS_CHECK])
8602 AC_F77_WRAPPERS_m4_defun_pro([AC_F77_WRAPPERS])AC_REQUIRE([_AC_F77_NAME_MANGLING])dnl
8603 AH_TEMPLATE([F77_FUNC],
8604 [Define to a macro mangling the given C identifier (in lower and upper
8605 case), which must not contain underscores, for linking with Fortran.])dnl
8606 AH_TEMPLATE([F77_FUNC_],
8607 [As F77_FUNC, but for C identifiers containing underscores.])dnl
8608 case $ac_cv_f77_mangling in
8609 "lower case, no underscore, no extra underscore")
8610 AC_DEFINE([F77_FUNC(name,NAME)], [name])
8611 AC_DEFINE([F77_FUNC_(name,NAME)], [name]) ;;
8612 "lower case, no underscore, extra underscore")
8613 AC_DEFINE([F77_FUNC(name,NAME)], [name])
8614 AC_DEFINE([F77_FUNC_(name,NAME)], [name ## _]) ;;
8615 "lower case, underscore, no extra underscore")
8616 AC_DEFINE([F77_FUNC(name,NAME)], [name ## _])
8617 AC_DEFINE([F77_FUNC_(name,NAME)], [name ## _]) ;;
8618 "lower case, underscore, extra underscore")
8619 AC_DEFINE([F77_FUNC(name,NAME)], [name ## _])
8620 AC_DEFINE([F77_FUNC_(name,NAME)], [name ## __]) ;;
8621 "upper case, no underscore, no extra underscore")
8622 AC_DEFINE([F77_FUNC(name,NAME)], [NAME])
8623 AC_DEFINE([F77_FUNC_(name,NAME)], [NAME]) ;;
8624 "upper case, no underscore, extra underscore")
8625 AC_DEFINE([F77_FUNC(name,NAME)], [NAME])
8626 AC_DEFINE([F77_FUNC_(name,NAME)], [NAME ## _]) ;;
8627 "upper case, underscore, no extra underscore")
8628 AC_DEFINE([F77_FUNC(name,NAME)], [NAME ## _])
8629 AC_DEFINE([F77_FUNC_(name,NAME)], [NAME ## _]) ;;
8630 "upper case, underscore, extra underscore")
8631 AC_DEFINE([F77_FUNC(name,NAME)], [NAME ## _])
8632 AC_DEFINE([F77_FUNC_(name,NAME)], [NAME ## __]) ;;
8634 AC_MSG_WARN([unknown Fortran 77 name-mangling scheme])
8637 []AC_PROVIDE([AC_F77_WRAPPERS])[]_m4_defun_epi([AC_F77_WRAPPERS])
8639 m4_location(AC_LANG_PREPROC_REQUIRE)aclang.m4:575
8641 m4_location(_AC_LANG_SET)aclang.m4:124
8643 _m4_divert(PARSE_ARGS)4
8645 _AC_CONFIG_UNIQUEm4_divert_push([KILL])
8646 AC_FOREACH([AC_File], [$1],
8647 [m4_pushdef([AC_Dest], m4_patsubst(AC_File, [:.*]))
8648 AC_CONFIG_IF_MEMBER(AC_Dest, [AC_LIST_HEADERS],
8649 [AC_FATAL(`AC_Dest' [is already registered with AC_CONFIG_HEADER or AC_CONFIG_HEADERS.])])
8650 AC_CONFIG_IF_MEMBER(AC_Dest, [AC_LIST_LINKS],
8651 [AC_FATAL(`AC_Dest' [is already registered with AC_CONFIG_LINKS.])])
8652 AC_CONFIG_IF_MEMBER(AC_Dest, [_AC_LIST_SUBDIRS],
8653 [AC_FATAL(`AC_Dest' [is already registered with AC_CONFIG_SUBDIRS.])])
8654 AC_CONFIG_IF_MEMBER(AC_Dest, [AC_LIST_COMMANDS],
8655 [AC_FATAL(`AC_Dest' [is already registered with AC_CONFIG_COMMANDS.])])
8656 AC_CONFIG_IF_MEMBER(AC_Dest, [AC_LIST_FILES],
8657 [AC_FATAL(`AC_Dest' [is already registered with AC_CONFIG_FILES or AC_OUTPUT.])])
8658 m4_popdef([AC_Dest])])
8659 m4_divert_pop([KILL])dnl
8662 AC_LANG_PREPROC(Fortran 77)_m4_defun_pro([AC_LANG_PREPROC(Fortran 77)])m4_warn([syntax],
8663 [$0: No preprocessor defined for ]_AC_LANG)[]AC_PROVIDE([AC_LANG_PREPROC(Fortran 77)])[]_m4_defun_epi([AC_LANG_PREPROC(Fortran 77)])
8665 AS_VAR_SET_IFAS_IF([AS_VAR_TEST_SET([$1])], [$2], [$3])
8667 AC_FUNC_SELECT_ARGTYPES_m4_defun_pro([AC_FUNC_SELECT_ARGTYPES])AC_CHECK_HEADERS(sys/select.h sys/socket.h)
8668 AC_CACHE_CHECK([types of arguments for select],
8669 [ac_cv_func_select_args],
8670 [for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
8671 for ac_arg1 in 'int' 'size_t' 'unsigned long' 'unsigned'; do
8672 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
8675 [AC_INCLUDES_DEFAULT
8676 #if HAVE_SYS_SELECT_H
8677 # include <sys/select.h>
8679 #if HAVE_SYS_SOCKET_H
8680 # include <sys/socket.h>
8683 [extern int select ($ac_arg1,
8684 $ac_arg234, $ac_arg234, $ac_arg234,
8686 [ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3])
8690 # Provide a safe default value.
8691 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
8693 ac_save_IFS=$IFS; IFS=','
8694 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
8697 AC_DEFINE_UNQUOTED(SELECT_TYPE_ARG1, $[1],
8698 [Define to the type of arg 1 for `select'.])
8699 AC_DEFINE_UNQUOTED(SELECT_TYPE_ARG234, ($[2]),
8700 [Define to the type of args 2, 3 and 4 for `select'.])
8701 AC_DEFINE_UNQUOTED(SELECT_TYPE_ARG5, ($[3]),
8702 [Define to the type of arg 5 for `select'.])
8704 []AC_PROVIDE([AC_FUNC_SELECT_ARGTYPES])[]_m4_defun_epi([AC_FUNC_SELECT_ARGTYPES])
8706 AC_RSH_m4_defun_pro([AC_RSH])AC_DIAGNOSE([obsolete], [The macro `AC_RSH' is obsolete.
8707 You should run autoupdate.])dnl
8708 AC_DIAGNOSE([obsolete], [$0: is no longer supported.
8709 Remove this warning when you adjust the code.])[]AC_PROVIDE([AC_RSH])[]_m4_defun_epi([AC_RSH])
8711 m4_location(AC_PREFIX)acoldnames.m4:32
8713 m4_location(AC_OBJEXT)aclang.m4:647
8715 _m4_dumpdefs_upm4_ifdef([$1],
8716 [m4_pushdef([_m4_dumpdefs], m4_defn([$1]))dnl
8719 _m4_dumpdefs_up([$1])])
8723 # CONFIG_SUBDIRS section.
8725 if test "$no_recursion" != yes; then
8727 # Remove --cache-file and --srcdir arguments so they do not pile up.
8728 ac_sub_configure_args=
8730 for ac_arg in $ac_configure_args; do
8731 if test -n "$ac_prev"; then
8736 -cache-file | --cache-file | --cache-fil | --cache-fi \
8737 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
8738 ac_prev=cache_file ;;
8739 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
8740 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
8743 --config-cache | -C)
8745 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
8747 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
8749 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
8753 for ac_subdir in : $subdirs; do test "x$ac_subdir" = x: && continue
8755 # Do not complain, so a configure script can configure whichever
8756 # parts of a large source tree are present.
8757 test -d $srcdir/$ac_subdir || continue
8759 AC_MSG_NOTICE([configuring in $ac_subdir])
8762 *) AS_MKDIR_P(["./$ac_subdir"])
8763 if test -d ./$ac_subdir; then :;
8765 AC_MSG_ERROR([cannot create `pwd`/$ac_subdir])
8773 # A "../" for each directory in /$ac_subdir.
8774 ac_dots=`echo $ac_subdir |
8775 sed 's,^\./,,;s,[[^/]]$,&/,;s,[[^/]]*/,../,g'`
8778 .) # No --srcdir option. We are building in place.
8779 ac_sub_srcdir=$srcdir ;;
8780 [[\\/]]* | ?:[[\\/]]* ) # Absolute path.
8781 ac_sub_srcdir=$srcdir/$ac_subdir ;;
8783 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
8786 # Check for guested configure; otherwise get Cygnus style configure.
8787 if test -f $ac_sub_srcdir/configure.gnu; then
8788 ac_sub_configure="$SHELL '$ac_sub_srcdir/configure.gnu'"
8789 elif test -f $ac_sub_srcdir/configure; then
8790 ac_sub_configure="$SHELL '$ac_sub_srcdir/configure'"
8791 elif test -f $ac_sub_srcdir/configure.in; then
8792 ac_sub_configure=$ac_configure
8794 AC_MSG_WARN([no configuration information is in $ac_subdir])
8798 # The recursion is here.
8799 if test -n "$ac_sub_configure"; then
8800 # Make the cache file name correct relative to the subdirectory.
8802 [[\\/]]* | ?:[[\\/]]* ) ac_sub_cache_file=$cache_file ;;
8804 ac_sub_cache_file=$ac_dots$cache_file ;;
8807 AC_MSG_NOTICE([running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir])
8808 # The eval makes quoting arguments work.
8809 eval $ac_sub_configure $ac_sub_configure_args \
8810 --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir ||
8811 AC_MSG_ERROR([$ac_sub_configure failed for $ac_subdir])
8819 AC_FOREACHm4_foreach([$1], m4_split(m4_normalize([$2])), [$3])
8821 AS_DIRNAME_SED_m4_defun_pro([AS_DIRNAME_SED])echo X[]$1 |
8822 sed ['/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8823 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8824 /^X\(\/\/\)$/{ s//\1/; q; }
8825 /^X\(\/\).*/{ s//\1/; q; }
8826 s/.*/./; q'][]_m4_defun_epi([AS_DIRNAME_SED])
8829 # End of frozen state file