Files correlati : Commento : Spostamento in libraries delle librerie esterne di Campo per una maggiore pulizia e organizzazione git-svn-id: svn://10.65.10.50/branches/R_10_00@24150 c028cbd2-c16b-5b4b-a496-9718f37d4682
10080 lines
325 KiB
Plaintext
10080 lines
325 KiB
Plaintext
# This is a frozen state file generated by GNU m4 1.4.2
|
|
V1
|
|
Q1,1
|
|
[]
|
|
T29,39
|
|
m4_location(AS_BASENAME_EXPR)/usr/share/autoconf/m4sugar/m4sh.m4:467
|
|
T31,17
|
|
m4_location(AC_PROG_CPP_WERROR)autoconf/c.m4:427
|
|
T11,178
|
|
AC_UNISTD_H_m4_defun_pro([AC_UNISTD_H])AC_DIAGNOSE([obsolete], [The macro `AC_UNISTD_H' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_CHECK_HEADERS(unistd.h)[]_m4_defun_epi([AC_UNISTD_H])
|
|
T29,21
|
|
m4_location(AC_CHECK_MEMBERS)autoconf/types.m4:501
|
|
T10,121
|
|
AC_RUN_LOG_m4_defun_pro([AC_RUN_LOG])_AC_RUN_LOG([$1],
|
|
[echo "$as_me:$LINENO: AS_ESCAPE([$1])"])[]_m4_defun_epi([AC_RUN_LOG])
|
|
T13,0
|
|
AC_LIST_FILES
|
|
T17,1336
|
|
_AC_INIT_DEFAULTSm4_divert_push([DEFAULTS])dnl
|
|
|
|
# Name of the host.
|
|
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
|
# so uname gets run too.
|
|
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
|
|
|
exec AS_MESSAGE_FD>&1
|
|
|
|
#
|
|
# Initializations.
|
|
#
|
|
ac_default_prefix=/usr/local
|
|
ac_config_libobj_dir=.
|
|
cross_compiling=no
|
|
subdirs=
|
|
MFLAGS=
|
|
MAKEFLAGS=
|
|
AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}])dnl
|
|
AC_SUBST([PATH_SEPARATOR])dnl
|
|
|
|
# Maximum number of lines to put in a shell here document.
|
|
# This variable seems obsolete. It should probably be removed, and
|
|
# only ac_max_sed_lines should be used.
|
|
: ${ac_max_here_lines=38}
|
|
|
|
# Identity of this package.
|
|
AC_SUBST([PACKAGE_NAME],
|
|
[m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])dnl
|
|
AC_SUBST([PACKAGE_TARNAME],
|
|
[m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])dnl
|
|
AC_SUBST([PACKAGE_VERSION],
|
|
[m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])dnl
|
|
AC_SUBST([PACKAGE_STRING],
|
|
[m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])dnl
|
|
AC_SUBST([PACKAGE_BUGREPORT],
|
|
[m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])dnl
|
|
|
|
m4_divert_pop([DEFAULTS])dnl
|
|
m4_wrap([m4_divert_text([DEFAULTS],
|
|
[ac_subst_vars='m4_ifdef([_AC_SUBST_VARS], [m4_defn([_AC_SUBST_VARS])])'
|
|
ac_subst_files='m4_ifdef([_AC_SUBST_FILES], [m4_defn([_AC_SUBST_FILES])])'])])dnl
|
|
|
|
T10,141
|
|
AS_DIRNAME_m4_defun_pro([AS_DIRNAME])(dirname $1) 2>/dev/null ||
|
|
AS_DIRNAME_EXPR([$1]) 2>/dev/null ||
|
|
AS_DIRNAME_SED([$1])[]_m4_defun_epi([AS_DIRNAME])
|
|
T28,25
|
|
m4_location(AM_FUNC_FNMATCH)autoconf/functions.m4:551
|
|
T23,17
|
|
m4_location(AC_PROG_CC)autoconf/c.m4:496
|
|
F9,6
|
|
m4_formatformat
|
|
T10,168
|
|
AC_STRCOLL_m4_defun_pro([AC_STRCOLL])AC_DIAGNOSE([obsolete], [The macro `AC_STRCOLL' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_FUNC_STRCOLL($@)[]_m4_defun_epi([AC_STRCOLL])
|
|
T9,163
|
|
AC_FD_MSG_m4_defun_pro([AC_FD_MSG])AC_DIAGNOSE([obsolete], [The macro `AC_FD_MSG' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AS_MESSAGE_FD($@)[]_m4_defun_epi([AC_FD_MSG])
|
|
F14,11
|
|
m4_changequotechangequote
|
|
T15,183
|
|
AM_FUNC_FNMATCH_m4_defun_pro([AM_FUNC_FNMATCH])AC_DIAGNOSE([obsolete], [The macro `AM_FUNC_FNMATCH' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_FUNC_FNMATCH($@)[]_m4_defun_epi([AM_FUNC_FNMATCH])
|
|
T28,24
|
|
m4_location(AM_PROG_INSTALL)autoconf/oldnames.m4:113
|
|
T17,189
|
|
AC_LANG_FORTRAN77_m4_defun_pro([AC_LANG_FORTRAN77])AC_DIAGNOSE([obsolete], [The macro `AC_LANG_FORTRAN77' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_LANG(Fortran 77)[]_m4_defun_epi([AC_LANG_FORTRAN77])
|
|
T25,110
|
|
AC_LANG_COMPILER(Fortran)_m4_defun_pro([AC_LANG_COMPILER(Fortran)])AC_REQUIRE([AC_PROG_FC])[]_m4_defun_epi([AC_LANG_COMPILER(Fortran)])
|
|
T32,23
|
|
m4_location(_AC_FC_DIALECT_YEAR)autoconf/fortran.m4:319
|
|
T26,24
|
|
m4_location(AC_PATH_PROGS)autoconf/programs.m4:176
|
|
T28,26
|
|
m4_location(AC_FUNC_VPRINTF)autoconf/functions.m4:1891
|
|
T29,39
|
|
m4_location(_AS_TEST_PREPARE)/usr/share/autoconf/m4sugar/m4sh.m4:748
|
|
T26,25
|
|
m4_location(AC_GETLOADAVG)autoconf/functions.m4:766
|
|
F8,8
|
|
translittranslit
|
|
T24,23
|
|
m4_location(AC_SET_MAKE)autoconf/oldnames.m4:93
|
|
T16,0
|
|
AC_LIST_COMMANDS
|
|
T10,117
|
|
m4_re_wordabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789*
|
|
T26,24
|
|
m4_location(AC_CHECK_FILE)autoconf/general.m4:2313
|
|
T7,155
|
|
AC_WARN_m4_defun_pro([AC_WARN])AC_DIAGNOSE([obsolete], [The macro `AC_WARN' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_MSG_WARN($@)[]_m4_defun_epi([AC_WARN])
|
|
T40,24
|
|
m4_location(AC_SYS_RESTARTABLE_SYSCALLS)autoconf/specific.m4:312
|
|
T16,64
|
|
_AS_QUOTE_IFELSEm4_bmatch([$1],
|
|
[\\[\\$]], [$2],
|
|
[\\[`""]], [$3],
|
|
[$2])
|
|
T17,45
|
|
_AS_ECHO_UNQUOTEDecho "$1" >&m4_default([$2], [AS_MESSAGE_FD])
|
|
T24,8157
|
|
_AC_OUTPUT_CONFIG_STATUSAC_MSG_NOTICE([creating $CONFIG_STATUS])
|
|
cat >$CONFIG_STATUS <<_ACEOF
|
|
#! $SHELL
|
|
# Generated by $as_me.
|
|
# Run this file to recreate the current configuration.
|
|
# Compiler output produced by configure, useful for debugging
|
|
# configure, is in config.log if it exists.
|
|
|
|
debug=false
|
|
ac_cs_recheck=false
|
|
ac_cs_silent=false
|
|
SHELL=\${CONFIG_SHELL-$SHELL}
|
|
_ACEOF
|
|
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
AS_SHELL_SANITIZE
|
|
dnl Watch out, this is directly the initializations, do not use
|
|
dnl AS_PREPARE, otherwise you'd get it output in the initialization
|
|
dnl of configure, not config.status.
|
|
_AS_PREPARE
|
|
exec AS_MESSAGE_FD>&1
|
|
|
|
# Open the log real soon, to keep \$[0] and so on meaningful, and to
|
|
# report actual input values of CONFIG_FILES etc. instead of their
|
|
# values after options handling. Logging --version etc. is OK.
|
|
exec AS_MESSAGE_LOG_FD>>config.log
|
|
{
|
|
echo
|
|
AS_BOX([Running $as_me.])
|
|
} >&AS_MESSAGE_LOG_FD
|
|
cat >&AS_MESSAGE_LOG_FD <<_CSEOF
|
|
|
|
This file was extended by m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])dnl
|
|
$as_me[]m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]), which was
|
|
generated by m4_PACKAGE_STRING. Invocation command line was
|
|
|
|
CONFIG_FILES = $CONFIG_FILES
|
|
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
CONFIG_LINKS = $CONFIG_LINKS
|
|
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
|
$ $[0] $[@]
|
|
|
|
_CSEOF
|
|
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&AS_MESSAGE_LOG_FD
|
|
echo >&AS_MESSAGE_LOG_FD
|
|
_ACEOF
|
|
|
|
# Files that config.status was made for.
|
|
if test -n "$ac_config_files"; then
|
|
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
|
|
fi
|
|
|
|
if test -n "$ac_config_headers"; then
|
|
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
|
|
fi
|
|
|
|
if test -n "$ac_config_links"; then
|
|
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
|
|
fi
|
|
|
|
if test -n "$ac_config_commands"; then
|
|
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
|
|
fi
|
|
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
|
|
ac_cs_usage="\
|
|
\`$as_me' instantiates files from templates according to the
|
|
current configuration.
|
|
|
|
Usage: $[0] [[OPTIONS]] [[FILE]]...
|
|
|
|
-h, --help print this help, then exit
|
|
-V, --version print version number, then exit
|
|
-q, --quiet do not print progress messages
|
|
-d, --debug don't remove temporary files
|
|
--recheck update $as_me by reconfiguring in the same conditions
|
|
m4_ifset([AC_LIST_FILES],
|
|
[[ --file=FILE[:TEMPLATE]
|
|
instantiate the configuration file FILE
|
|
]])dnl
|
|
m4_ifset([AC_LIST_HEADERS],
|
|
[[ --header=FILE[:TEMPLATE]
|
|
instantiate the configuration header FILE
|
|
]])dnl
|
|
|
|
m4_ifset([AC_LIST_FILES],
|
|
[Configuration files:
|
|
$config_files
|
|
|
|
])dnl
|
|
m4_ifset([AC_LIST_HEADERS],
|
|
[Configuration headers:
|
|
$config_headers
|
|
|
|
])dnl
|
|
m4_ifset([AC_LIST_LINKS],
|
|
[Configuration links:
|
|
$config_links
|
|
|
|
])dnl
|
|
m4_ifset([AC_LIST_COMMANDS],
|
|
[Configuration commands:
|
|
$config_commands
|
|
|
|
])dnl
|
|
Report bugs to <bug-autoconf@gnu.org>."
|
|
_ACEOF
|
|
|
|
cat >>$CONFIG_STATUS <<_ACEOF
|
|
ac_cs_version="\\
|
|
m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.status[]dnl
|
|
m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
|
|
configured by $[0], generated by m4_PACKAGE_STRING,
|
|
with options \\"`echo "$ac_configure_args" | sed 's/[[\\""\`\$]]/\\\\&/g'`\\"
|
|
|
|
Copyright (C) 2003 Free Software Foundation, Inc.
|
|
This config.status script is free software; the Free Software Foundation
|
|
gives unlimited permission to copy, distribute and modify it."
|
|
srcdir=$srcdir
|
|
AC_PROVIDE_IFELSE([AC_PROG_INSTALL],
|
|
[dnl Leave those double quotes here: this $INSTALL is evaluated in a
|
|
dnl here document, which might result in `INSTALL=/bin/install -c'.
|
|
INSTALL="$INSTALL"
|
|
])dnl
|
|
_ACEOF
|
|
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
# If no file are specified by the user, then we need to provide default
|
|
# value. By we need to know if files were specified by the user.
|
|
ac_need_defaults=:
|
|
while test $[#] != 0
|
|
do
|
|
case $[1] in
|
|
--*=*)
|
|
ac_option=`expr "x$[1]" : 'x\([[^=]]*\)='`
|
|
ac_optarg=`expr "x$[1]" : 'x[[^=]]*=\(.*\)'`
|
|
ac_shift=:
|
|
;;
|
|
-*)
|
|
ac_option=$[1]
|
|
ac_optarg=$[2]
|
|
ac_shift=shift
|
|
;;
|
|
*) # This is not an option, so the user has probably given explicit
|
|
# arguments.
|
|
ac_option=$[1]
|
|
ac_need_defaults=false;;
|
|
esac
|
|
|
|
case $ac_option in
|
|
# Handling of the options.
|
|
_ACEOF
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
|
ac_cs_recheck=: ;;
|
|
--version | --vers* | -V )
|
|
echo "$ac_cs_version"; exit 0 ;;
|
|
--he | --h)
|
|
# Conflict between --help and --header
|
|
AC_MSG_ERROR([ambiguous option: $[1]
|
|
Try `$[0] --help' for more information.]);;
|
|
--help | --hel | -h )
|
|
echo "$ac_cs_usage"; exit 0 ;;
|
|
--debug | --d* | -d )
|
|
debug=: ;;
|
|
--file | --fil | --fi | --f )
|
|
$ac_shift
|
|
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
|
|
ac_need_defaults=false;;
|
|
--header | --heade | --head | --hea )
|
|
$ac_shift
|
|
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
|
|
ac_need_defaults=false;;
|
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
|
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
|
ac_cs_silent=: ;;
|
|
|
|
# This is an error.
|
|
-*) AC_MSG_ERROR([unrecognized option: $[1]
|
|
Try `$[0] --help' for more information.]) ;;
|
|
|
|
*) ac_config_targets="$ac_config_targets $[1]" ;;
|
|
|
|
esac
|
|
shift
|
|
done
|
|
|
|
ac_configure_extra_args=
|
|
|
|
if $ac_cs_silent; then
|
|
exec AS_MESSAGE_FD>/dev/null
|
|
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
|
fi
|
|
|
|
_ACEOF
|
|
cat >>$CONFIG_STATUS <<_ACEOF
|
|
if \$ac_cs_recheck; then
|
|
echo "running $SHELL $[0] " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&AS_MESSAGE_FD
|
|
exec $SHELL $[0] $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
|
fi
|
|
|
|
_ACEOF
|
|
|
|
dnl We output the INIT-CMDS first for obvious reasons :)
|
|
m4_ifset([_AC_OUTPUT_COMMANDS_INIT],
|
|
[cat >>$CONFIG_STATUS <<_ACEOF
|
|
#
|
|
# INIT-COMMANDS section.
|
|
#
|
|
|
|
_AC_OUTPUT_COMMANDS_INIT()
|
|
_ACEOF])
|
|
|
|
|
|
dnl Issue this section only if there were actually config files.
|
|
dnl This checks if one of AC_LIST_HEADERS, AC_LIST_FILES, AC_LIST_COMMANDS,
|
|
dnl or AC_LIST_LINKS is set.
|
|
m4_ifval(AC_LIST_HEADERS()AC_LIST_LINKS()AC_LIST_FILES()AC_LIST_COMMANDS(),
|
|
[
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
for ac_config_target in $ac_config_targets
|
|
do
|
|
case "$ac_config_target" in
|
|
# Handling of arguments.
|
|
AC_FOREACH([AC_File], AC_LIST_FILES,
|
|
[ "m4_bpatsubst(AC_File, [:.*])" )dnl
|
|
CONFIG_FILES="$CONFIG_FILES AC_File" ;;
|
|
])dnl
|
|
AC_FOREACH([AC_File], AC_LIST_LINKS,
|
|
[ "m4_bpatsubst(AC_File, [:.*])" )dnl
|
|
CONFIG_LINKS="$CONFIG_LINKS AC_File" ;;
|
|
])dnl
|
|
AC_FOREACH([AC_File], AC_LIST_COMMANDS,
|
|
[ "m4_bpatsubst(AC_File, [:.*])" )dnl
|
|
CONFIG_COMMANDS="$CONFIG_COMMANDS AC_File" ;;
|
|
])dnl
|
|
AC_FOREACH([AC_File], AC_LIST_HEADERS,
|
|
[ "m4_bpatsubst(AC_File, [:.*])" )dnl
|
|
CONFIG_HEADERS="$CONFIG_HEADERS AC_File" ;;
|
|
])dnl
|
|
*) AC_MSG_ERROR([invalid argument: $ac_config_target]);;
|
|
esac
|
|
done
|
|
|
|
# If the user did not use the arguments to specify the items to instantiate,
|
|
# then the envvar interface is used. Set only those that are not.
|
|
# We use the long form for the default assignment because of an extremely
|
|
# bizarre bug on SunOS 4.1.3.
|
|
if $ac_need_defaults; then
|
|
m4_ifset([AC_LIST_FILES],
|
|
[ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
|
])dnl
|
|
m4_ifset([AC_LIST_HEADERS],
|
|
[ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
|
])dnl
|
|
m4_ifset([AC_LIST_LINKS],
|
|
[ test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
|
|
])dnl
|
|
m4_ifset([AC_LIST_COMMANDS],
|
|
[ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
|
])dnl
|
|
fi
|
|
|
|
# Have a temporary directory for convenience. Make it in the build tree
|
|
# simply because there is no reason to put it here, and in addition,
|
|
# creating and moving files from /tmp can sometimes cause problems.
|
|
AS_TMPDIR([confstat], [.])
|
|
|
|
_ACEOF
|
|
])[]dnl m4_ifval
|
|
|
|
dnl The following four sections are in charge of their own here
|
|
dnl documenting into $CONFIG_STATUS.
|
|
m4_ifset([AC_LIST_FILES], [_AC_OUTPUT_FILES()])dnl
|
|
m4_ifset([AC_LIST_HEADERS], [_AC_OUTPUT_HEADERS()])dnl
|
|
m4_ifset([AC_LIST_LINKS], [_AC_OUTPUT_LINKS()])dnl
|
|
m4_ifset([AC_LIST_COMMANDS], [_AC_OUTPUT_COMMANDS()])dnl
|
|
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
|
|
AS_EXIT(0)
|
|
_ACEOF
|
|
chmod +x $CONFIG_STATUS
|
|
|
|
T14,817
|
|
AC_HEADER_STAT_m4_defun_pro([AC_HEADER_STAT])AC_CACHE_CHECK(whether stat file-mode macros are broken,
|
|
ac_cv_header_stat_broken,
|
|
[AC_EGREP_CPP([You lose], [#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
|
|
#if defined(S_ISBLK) && defined(S_IFDIR)
|
|
# if S_ISBLK (S_IFDIR)
|
|
You lose.
|
|
# endif
|
|
#endif
|
|
|
|
#if defined(S_ISBLK) && defined(S_IFCHR)
|
|
# if S_ISBLK (S_IFCHR)
|
|
You lose.
|
|
# endif
|
|
#endif
|
|
|
|
#if defined(S_ISLNK) && defined(S_IFREG)
|
|
# if S_ISLNK (S_IFREG)
|
|
You lose.
|
|
# endif
|
|
#endif
|
|
|
|
#if defined(S_ISSOCK) && defined(S_IFREG)
|
|
# if S_ISSOCK (S_IFREG)
|
|
You lose.
|
|
# endif
|
|
#endif
|
|
], ac_cv_header_stat_broken=yes, ac_cv_header_stat_broken=no)])
|
|
if test $ac_cv_header_stat_broken = yes; then
|
|
AC_DEFINE(STAT_MACROS_BROKEN, 1,
|
|
[Define to 1 if the `S_IS*' macros in <sys/stat.h> do not
|
|
work properly.])
|
|
fi
|
|
[]_m4_defun_epi([AC_HEADER_STAT])
|
|
T24,23
|
|
m4_location(AC_MEMORY_H)autoconf/headers.m4:771
|
|
T16,570
|
|
_AS_LN_S_PREPARE_m4_defun_pro([_AS_LN_S_PREPARE])rm -f conf$$ conf$$.exe conf$$.file
|
|
echo >conf$$.file
|
|
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
|
# We could just check for DJGPP; but this test a) works b) is more generic
|
|
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
|
if test -f conf$$.exe; then
|
|
# Don't use ln at all; we don't have any links
|
|
as_ln_s='cp -p'
|
|
else
|
|
as_ln_s='ln -s'
|
|
fi
|
|
elif ln conf$$.file conf$$ 2>/dev/null; then
|
|
as_ln_s=ln
|
|
else
|
|
as_ln_s='cp -p'
|
|
fi
|
|
rm -f conf$$ conf$$.exe conf$$.file
|
|
[]_m4_defun_epi([_AS_LN_S_PREPARE])
|
|
T22,187
|
|
AC_F77_LIBRARY_LDFLAGS_m4_defun_pro([AC_F77_LIBRARY_LDFLAGS])AC_REQUIRE([AC_PROG_F77])dnl
|
|
AC_LANG_PUSH(Fortran 77)dnl
|
|
_AC_FC_LIBRARY_LDFLAGS
|
|
AC_LANG_POP(Fortran 77)dnl
|
|
[]_m4_defun_epi([AC_F77_LIBRARY_LDFLAGS])
|
|
T29,23
|
|
m4_location(AC_HEADER_DIRENT)autoconf/headers.m4:410
|
|
T33,24
|
|
m4_location(AC_CHECK_TOOL_PREFIX)autoconf/programs.m4:188
|
|
T27,24
|
|
m4_location(AC_ARG_PROGRAM)autoconf/general.m4:1478
|
|
T15,923
|
|
_AC_INIT_SRCDIRm4_divert_push([PARSE_ARGS])dnl
|
|
|
|
# Find the source files, if location was not specified.
|
|
if test -z "$srcdir"; then
|
|
ac_srcdir_defaulted=yes
|
|
# Try the directory containing this script, then its parent.
|
|
ac_confdir=`AS_DIRNAME(["$[0]"])`
|
|
srcdir=$ac_confdir
|
|
if test ! -r $srcdir/$ac_unique_file; then
|
|
srcdir=..
|
|
fi
|
|
else
|
|
ac_srcdir_defaulted=no
|
|
fi
|
|
if test ! -r $srcdir/$ac_unique_file; then
|
|
if test "$ac_srcdir_defaulted" = yes; then
|
|
AC_MSG_ERROR([cannot find sources ($ac_unique_file) in $ac_confdir or ..])
|
|
else
|
|
AC_MSG_ERROR([cannot find sources ($ac_unique_file) in $srcdir])
|
|
fi
|
|
fi
|
|
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
|
|
AC_MSG_ERROR([sources are in $srcdir, but `cd $srcdir' does not work])
|
|
dnl Double slashes in pathnames in object file debugging info
|
|
dnl mess up M-x gdb in Emacs.
|
|
srcdir=`echo "$srcdir" | sed 's%\([[^\\/]]\)[[\\/]]*$%\1%'`
|
|
m4_divert_pop([PARSE_ARGS])dnl
|
|
|
|
T10,54
|
|
m4_includem4_include_unique([$1])dnl
|
|
m4_builtin([include], [$1])
|
|
T14,170
|
|
AC_LANG_WERROR_m4_defun_pro([AC_LANG_WERROR])m4_divert_text([DEFAULTS], [ac_[]_AC_LANG_ABBREV[]_werror_flag=no])
|
|
ac_[]_AC_LANG_ABBREV[]_werror_flag=yes[]_m4_defun_epi([AC_LANG_WERROR])
|
|
T22,23
|
|
m4_location(AC_INLINE)autoconf/oldnames.m4:82
|
|
T37,1329
|
|
AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK_m4_defun_pro([AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK])AC_CACHE_CHECK(
|
|
[whether lstat dereferences a symlink specified with a trailing slash],
|
|
[ac_cv_func_lstat_dereferences_slashed_symlink],
|
|
[rm -f conftest.sym conftest.file
|
|
echo >conftest.file
|
|
if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
|
|
AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
|
|
[struct stat sbuf;
|
|
/* Linux will dereference the symlink and fail.
|
|
That is better in the sense that it means we will not
|
|
have to compile and use the lstat wrapper. */
|
|
exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1);])],
|
|
[ac_cv_func_lstat_dereferences_slashed_symlink=yes],
|
|
[ac_cv_func_lstat_dereferences_slashed_symlink=no],
|
|
[ac_cv_func_lstat_dereferences_slashed_symlink=no])
|
|
else
|
|
# If the `ln -s' command failed, then we probably don't even
|
|
# have an lstat function.
|
|
ac_cv_func_lstat_dereferences_slashed_symlink=no
|
|
fi
|
|
rm -f conftest.sym conftest.file
|
|
])
|
|
|
|
test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
|
|
AC_DEFINE_UNQUOTED(LSTAT_FOLLOWS_SLASHED_SYMLINK, 1,
|
|
[Define to 1 if `lstat' dereferences a symlink specified
|
|
with a trailing slash.])
|
|
|
|
if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
|
|
AC_LIBOBJ(lstat)
|
|
fi
|
|
[]_m4_defun_epi([AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK])
|
|
T21,1
|
|
_m4_divert(M4SH-INIT)4
|
|
T18,357
|
|
_AC_CHECK_TYPE_NEWAS_VAR_PUSHDEF([ac_Type], [ac_cv_type_$1])dnl
|
|
AC_CACHE_CHECK([for $1], ac_Type,
|
|
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT([$4])],
|
|
[if (($1 *) 0)
|
|
return 0;
|
|
if (sizeof ($1))
|
|
return 0;])],
|
|
[AS_VAR_SET(ac_Type, yes)],
|
|
[AS_VAR_SET(ac_Type, no)])])
|
|
AS_IF([test AS_VAR_GET(ac_Type) = yes], [$2], [$3])[]dnl
|
|
AS_VAR_POPDEF([ac_Type])dnl
|
|
|
|
T17,121
|
|
AC_PREPROC_IFELSE_m4_defun_pro([AC_PREPROC_IFELSE])AC_LANG_PREPROC_REQUIRE()dnl
|
|
_AC_PREPROC_IFELSE($@)[]_m4_defun_epi([AC_PREPROC_IFELSE])
|
|
T14,1510
|
|
AC_HEADER_STDC_m4_defun_pro([AC_HEADER_STDC])AC_CACHE_CHECK(for ANSI C header files, ac_cv_header_stdc,
|
|
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdlib.h>
|
|
#include <stdarg.h>
|
|
#include <string.h>
|
|
#include <float.h>
|
|
]])],
|
|
[ac_cv_header_stdc=yes],
|
|
[ac_cv_header_stdc=no])
|
|
|
|
if test $ac_cv_header_stdc = yes; then
|
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
|
AC_EGREP_HEADER(memchr, string.h, , ac_cv_header_stdc=no)
|
|
fi
|
|
|
|
if test $ac_cv_header_stdc = yes; then
|
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
|
AC_EGREP_HEADER(free, stdlib.h, , ac_cv_header_stdc=no)
|
|
fi
|
|
|
|
if test $ac_cv_header_stdc = yes; then
|
|
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
|
AC_RUN_IFELSE([AC_LANG_SOURCE(
|
|
[[#include <ctype.h>
|
|
#if ((' ' & 0x0FF) == 0x020)
|
|
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
|
#else
|
|
# define ISLOWER(c) \
|
|
(('a' <= (c) && (c) <= 'i') \
|
|
|| ('j' <= (c) && (c) <= 'r') \
|
|
|| ('s' <= (c) && (c) <= 'z'))
|
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
|
#endif
|
|
|
|
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
|
int
|
|
main ()
|
|
{
|
|
int i;
|
|
for (i = 0; i < 256; i++)
|
|
if (XOR (islower (i), ISLOWER (i))
|
|
|| toupper (i) != TOUPPER (i))
|
|
exit(2);
|
|
exit (0);
|
|
}]])], , ac_cv_header_stdc=no, :)
|
|
fi])
|
|
if test $ac_cv_header_stdc = yes; then
|
|
AC_DEFINE(STDC_HEADERS, 1,
|
|
[Define to 1 if you have the ANSI C header files.])
|
|
fi
|
|
[]_m4_defun_epi([AC_HEADER_STDC])
|
|
T8,164
|
|
AC_FD_CC_m4_defun_pro([AC_FD_CC])AC_DIAGNOSE([obsolete], [The macro `AC_FD_CC' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AS_MESSAGE_LOG_FD($@)[]_m4_defun_epi([AC_FD_CC])
|
|
T30,23
|
|
m4_location(_AC_LINKER_OPTION)autoconf/fortran.m4:125
|
|
T28,39
|
|
m4_location(AS_BASENAME_SED)/usr/share/autoconf/m4sugar/m4sh.m4:474
|
|
T12,10
|
|
m4_cr_digits0123456789
|
|
T8,159
|
|
AC_VFORK_m4_defun_pro([AC_VFORK])AC_DIAGNOSE([obsolete], [The macro `AC_VFORK' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_FUNC_FORK($@)[]_m4_defun_epi([AC_VFORK])
|
|
T33,23
|
|
m4_location(AC_HEADER_TIOCGWINSZ)autoconf/headers.m4:721
|
|
T29,17
|
|
m4_location(AC_C_BACKSLASH_A)autoconf/c.m4:893
|
|
T14,181
|
|
ac_cv_prog_gcc_m4_defun_pro([ac_cv_prog_gcc])AC_DIAGNOSE([obsolete], [The macro `ac_cv_prog_gcc' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
ac_cv_c_compiler_gnu[]_m4_defun_epi([ac_cv_prog_gcc])
|
|
T15,121
|
|
AC_LANG_PROGRAM_m4_defun_pro([AC_LANG_PROGRAM])AC_LANG_SOURCE([_AC_LANG_DISPATCH([$0], _AC_LANG, $@)])[]_m4_defun_epi([AC_LANG_PROGRAM])
|
|
T28,22
|
|
m4_location(AC_CONFIG_LINKS)autoconf/status.m4:715
|
|
F5,5
|
|
ifdefifdef
|
|
T7,184
|
|
AC_WITH_m4_defun_pro([AC_WITH])AC_DIAGNOSE([obsolete], [The macro `AC_WITH' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_ARG_WITH([$1], [ --with-$1], [$2], [$3])[]_m4_defun_epi([AC_WITH])
|
|
T7,50
|
|
m4_signm4_bmatch([$1],
|
|
[^-], -1,
|
|
[^0+], 0,
|
|
1)
|
|
T24,20
|
|
m4_location(AC_LANG_POP)autoconf/lang.m4:156
|
|
T24,17
|
|
m4_location(AC_PROG_CPP)autoconf/c.m4:420
|
|
T11,17
|
|
m4_location__file__:__line__
|
|
T18,1
|
|
_AC_LANG_PREFIX(C)C
|
|
T19,947
|
|
AC_CANONICAL_TARGETm4_provide_if([AC_CANONICAL_TARGET],
|
|
[m4_warn([syntax], [AC_CANONICAL_TARGET invoked multiple times])],
|
|
[_m4_defun_pro([AC_CANONICAL_TARGET])AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
|
AC_BEFORE([$0], [AC_ARG_PROGRAM])dnl
|
|
m4_divert_text([HELP_CANON],
|
|
[[ --target=TARGET configure for building compilers for TARGET [HOST]]])dnl
|
|
AC_CACHE_CHECK([target system type], [ac_cv_target],
|
|
[dnl Set target_alias.
|
|
ac_cv_target_alias=$target_alias
|
|
test "x$ac_cv_target_alias" = "x" &&
|
|
ac_cv_target_alias=$ac_cv_host_alias
|
|
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
|
|
AC_MSG_ERROR([$ac_config_sub $ac_cv_target_alias failed])
|
|
])
|
|
_AC_CANONICAL_SPLIT([target])
|
|
|
|
# The aliases save the names the user supplied, while $host etc.
|
|
# will get canonicalized.
|
|
test -n "$target_alias" &&
|
|
test "$program_prefix$program_suffix$program_transform_name" = \
|
|
NONENONEs,x,x, &&
|
|
program_prefix=${target_alias}-[]dnl
|
|
[]_m4_defun_epi([AC_CANONICAL_TARGET])])
|
|
T16,184
|
|
AC_PROGRAMS_PATH_m4_defun_pro([AC_PROGRAMS_PATH])AC_DIAGNOSE([obsolete], [The macro `AC_PROGRAMS_PATH' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_PATH_PROGS($@)[]_m4_defun_epi([AC_PROGRAMS_PATH])
|
|
T23,3
|
|
_m4_divert(HELP_ENABLE)102
|
|
T23,91
|
|
_AC_CONFIG_DEPENDENCIESAC_FOREACH([AC_File], [$1],
|
|
[_AC_CONFIG_DEPENDENCY(m4_bpatsubst(AC_File, [:], [,]))])dnl
|
|
|
|
T7,30
|
|
AS_WARNAS_MESSAGE([WARNING: $1], [2])
|
|
T29,23
|
|
m4_location(AC_CONFIG_SRCDIR)autoconf/general.m4:464
|
|
T10,98
|
|
AS_VAR_GETAS_LITERAL_IF([$1],
|
|
[$$1],
|
|
[`eval echo '${'m4_bpatsubst($1, [[\\`]], [\\\&])'}'`])
|
|
T21,39
|
|
m4_location(AS_TR_SH)/usr/share/autoconf/m4sugar/m4sh.m4:970
|
|
T22,20
|
|
m4_location(AC_PATH_X)autoconf/libs.m4:371
|
|
T27,23
|
|
m4_location(AC_HEADER_STAT)autoconf/headers.m4:489
|
|
T11,167
|
|
AM_CYGWIN32_m4_defun_pro([AM_CYGWIN32])AC_DIAGNOSE([obsolete], [The macro `AM_CYGWIN32' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_CYGWIN32($@)[]_m4_defun_epi([AM_CYGWIN32])
|
|
T32,26
|
|
m4_location(_AC_FUNC_REALLOC_IF)autoconf/functions.m4:1317
|
|
T27,20
|
|
m4_location(AC_LANG_ASSERT)autoconf/lang.m4:196
|
|
T31,39
|
|
m4_location(_AS_ECHO_N_PREPARE)/usr/share/autoconf/m4sugar/m4sh.m4:380
|
|
T36,23
|
|
m4_location(AC_RESTARTABLE_SYSCALLS)autoconf/oldnames.m4:91
|
|
T32,0
|
|
m4_include(autoconf/programs.m4)
|
|
T21,103
|
|
AC_LANG_COMPILER(C++)_m4_defun_pro([AC_LANG_COMPILER(C++)])AC_REQUIRE([AC_PROG_CXX])[]_m4_defun_epi([AC_LANG_COMPILER(C++)])
|
|
T19,230
|
|
AC_FUNC_FNMATCH_GNU_m4_defun_pro([AC_FUNC_FNMATCH_GNU])AC_REQUIRE([AC_GNU_SOURCE])
|
|
_AC_FUNC_FNMATCH_IF([GNU], [ac_cv_func_fnmatch_gnu],
|
|
[rm -f $ac_config_libobj_dir/fnmatch.h],
|
|
[_AC_LIBOBJ_FNMATCH])
|
|
[]_m4_defun_epi([AC_FUNC_FNMATCH_GNU])
|
|
T19,83
|
|
AC_CONFIG_IF_MEMBERm4_bmatch(m4_defn([$2]), [\(^\| \)]m4_re_escape([$1])[\([: ]\|$\)],
|
|
[$3], [$4])
|
|
T11,174
|
|
m4_text_box@%:@@%:@ m4_bpatsubst([$1], [.], m4_if([$2], [], [[-]], [[$2]])) @%:@@%:@
|
|
@%:@@%:@ $1 @%:@@%:@
|
|
@%:@@%:@ m4_bpatsubst([$1], [.], m4_if([$2], [], [[-]], [[$2]])) @%:@@%:@[]dnl
|
|
|
|
T37,26
|
|
m4_location(AC_FUNC_SETVBUF_REVERSED)autoconf/functions.m4:1631
|
|
T11,941
|
|
AC_PROG_CXX_m4_defun_pro([AC_PROG_CXX])AC_LANG_PUSH(C++)dnl
|
|
AC_ARG_VAR([CXX], [C++ compiler command])dnl
|
|
AC_ARG_VAR([CXXFLAGS], [C++ compiler flags])dnl
|
|
_AC_ARG_VAR_LDFLAGS()dnl
|
|
_AC_ARG_VAR_CPPFLAGS()dnl
|
|
AC_CHECK_TOOLS(CXX,
|
|
[$CCC m4_default([$1],
|
|
[g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC])],
|
|
g++)
|
|
|
|
# Provide some information about the compiler.
|
|
echo "$as_me:$LINENO:" \
|
|
"checking for _AC_LANG compiler version" >&AS_MESSAGE_LOG_FD
|
|
ac_compiler=`set X $ac_compile; echo $[2]`
|
|
_AC_EVAL([$ac_compiler --version </dev/null >&AS_MESSAGE_LOG_FD])
|
|
_AC_EVAL([$ac_compiler -v </dev/null >&AS_MESSAGE_LOG_FD])
|
|
_AC_EVAL([$ac_compiler -V </dev/null >&AS_MESSAGE_LOG_FD])
|
|
|
|
m4_expand_once([_AC_COMPILER_EXEEXT])[]dnl
|
|
m4_expand_once([_AC_COMPILER_OBJEXT])[]dnl
|
|
_AC_LANG_COMPILER_GNU
|
|
GXX=`test $ac_compiler_gnu = yes && echo yes`
|
|
_AC_PROG_CXX_G
|
|
_AC_PROG_CXX_EXIT_DECLARATION
|
|
AC_LANG_POP(C++)dnl
|
|
[]_m4_defun_epi([AC_PROG_CXX])
|
|
T28,22
|
|
m4_location(AC_CONFIG_FILES)autoconf/status.m4:848
|
|
T14,179
|
|
AM_FUNC_STRTOD_m4_defun_pro([AM_FUNC_STRTOD])AC_DIAGNOSE([obsolete], [The macro `AM_FUNC_STRTOD' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_FUNC_STRTOD($@)[]_m4_defun_epi([AM_FUNC_STRTOD])
|
|
T12,336
|
|
AC_LANG_SAVE_m4_defun_pro([AC_LANG_SAVE])AC_DIAGNOSE([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_DIAGNOSE([obsolete],
|
|
[instead of using `AC_LANG', `AC_LANG_SAVE',
|
|
and `AC_LANG_RESTORE', you should use `AC_LANG_PUSH' and `AC_LANG_POP'.])
|
|
m4_pushdef([_AC_LANG], _AC_LANG)[]_m4_defun_epi([AC_LANG_SAVE])
|
|
T24,24
|
|
m4_location(AC_ARG_WITH)autoconf/general.m4:1331
|
|
T23,24
|
|
m4_location(AC_ARG_VAR)autoconf/general.m4:1442
|
|
T8,55
|
|
sincludem4_include_unique([$1])dnl
|
|
m4_builtin([sinclude], [$1])
|
|
T31,24
|
|
m4_location(AC_CANONICAL_BUILD)autoconf/general.m4:1614
|
|
T10,52
|
|
m4_flattenm4_translit(m4_bpatsubst([[[$1]]], [\\
|
|
]), [
|
|
], [ ])
|
|
T17,1460
|
|
AC_TYPE_GETGROUPS_m4_defun_pro([AC_TYPE_GETGROUPS])AC_REQUIRE([AC_TYPE_UID_T])dnl
|
|
AC_CACHE_CHECK(type of array argument to getgroups, ac_cv_type_getgroups,
|
|
[AC_RUN_IFELSE([AC_LANG_SOURCE(
|
|
[[/* Thanks to Mike Rendell for this test. */
|
|
#include <sys/types.h>
|
|
#define NGID 256
|
|
#undef MAX
|
|
#define MAX(x, y) ((x) > (y) ? (x) : (y))
|
|
|
|
int
|
|
main ()
|
|
{
|
|
gid_t gidset[NGID];
|
|
int i, n;
|
|
union { gid_t gval; long lval; } val;
|
|
|
|
val.lval = -1;
|
|
for (i = 0; i < NGID; i++)
|
|
gidset[i] = val.gval;
|
|
n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
|
|
gidset);
|
|
/* Exit non-zero if getgroups seems to require an array of ints. This
|
|
happens when gid_t is short but getgroups modifies an array of ints. */
|
|
exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
|
|
}]])],
|
|
[ac_cv_type_getgroups=gid_t],
|
|
[ac_cv_type_getgroups=int],
|
|
[ac_cv_type_getgroups=cross])
|
|
if test $ac_cv_type_getgroups = cross; then
|
|
dnl When we can't run the test program (we are cross compiling), presume
|
|
dnl that <unistd.h> has either an accurate prototype for getgroups or none.
|
|
dnl Old systems without prototypes probably use int.
|
|
AC_EGREP_HEADER([getgroups.*int.*gid_t], unistd.h,
|
|
ac_cv_type_getgroups=gid_t, ac_cv_type_getgroups=int)
|
|
fi])
|
|
AC_DEFINE_UNQUOTED(GETGROUPS_T, $ac_cv_type_getgroups,
|
|
[Define to the type of elements in the array set by
|
|
`getgroups'. Usually this is either `int' or `gid_t'.])
|
|
[]_m4_defun_epi([AC_TYPE_GETGROUPS])
|
|
F11,8
|
|
m4_traceofftraceoff
|
|
T10,98
|
|
AS_PREPARE_m4_defun_pro([AS_PREPARE])m4_divert_text([M4SH-INIT], [_AS_PREPARE])[]_m4_defun_epi([AS_PREPARE])
|
|
T20,20
|
|
m4_location(AC_LANG)autoconf/lang.m4:132
|
|
T24,24
|
|
m4_location(AC_F77_FUNC)autoconf/fortran.m4:1093
|
|
T24,3
|
|
_m4_divert(VERSION_USER)202
|
|
T20,3
|
|
_m4_divert(HELP_END)106
|
|
T18,1
|
|
_AC_LANG_ABBREV(C)c
|
|
T6,328
|
|
m4_form4_case(m4_sign(m4_eval($3 - $2)),
|
|
1, [m4_assert(m4_sign(m4_default($4, 1)) == 1)],
|
|
-1, [m4_assert(m4_sign(m4_default($4, -1)) == -1)])dnl
|
|
m4_pushdef([$1], [$2])dnl
|
|
m4_if(m4_eval([$3 > $2]), 1,
|
|
[_m4_for([$1], [$3], m4_default([$4], 1), [$5])],
|
|
[_m4_for([$1], [$3], m4_default([$4], -1), [$5])])dnl
|
|
m4_popdef([$1])
|
|
F4,4
|
|
decrdecr
|
|
T27,77
|
|
_AC_CHECK_TYPE_MAYBE_TYPE_Pm4_bmatch([$1], [^[_a-zA-Z0-9 ]+\([_a-zA-Z0-9() *]\|\[\|\]\)*$],
|
|
1, 0)dnl
|
|
|
|
T15,94
|
|
AC_MSG_CHECKING_AS_ECHO([$as_me:$LINENO: checking $1], AS_MESSAGE_LOG_FD)
|
|
_AS_ECHO_N([checking $1... ])[]dnl
|
|
|
|
T30,23
|
|
m4_location(AC_F77_DUMMY_MAIN)autoconf/fortran.m4:816
|
|
T18,559
|
|
_AC_FUNC_MALLOC_IF_m4_defun_pro([_AC_FUNC_MALLOC_IF])AC_REQUIRE([AC_HEADER_STDC])dnl
|
|
AC_CHECK_HEADERS(stdlib.h)
|
|
AC_CACHE_CHECK([for GNU libc compatible malloc], ac_cv_func_malloc_0_nonnull,
|
|
[AC_RUN_IFELSE(
|
|
[AC_LANG_PROGRAM(
|
|
[[#if STDC_HEADERS || HAVE_STDLIB_H
|
|
# include <stdlib.h>
|
|
#else
|
|
char *malloc ();
|
|
#endif
|
|
]],
|
|
[exit (malloc (0) ? 0 : 1);])],
|
|
[ac_cv_func_malloc_0_nonnull=yes],
|
|
[ac_cv_func_malloc_0_nonnull=no],
|
|
[ac_cv_func_malloc_0_nonnull=no])])
|
|
AS_IF([test $ac_cv_func_malloc_0_nonnull = yes], [$1], [$2])
|
|
[]_m4_defun_epi([_AC_FUNC_MALLOC_IF])
|
|
T15,2846
|
|
AC_PROG_INSTALL_m4_defun_pro([AC_PROG_INSTALL])AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
|
|
# Find a good install program. We prefer a C program (faster),
|
|
# so one script is as good as another. But avoid the broken or
|
|
# incompatible versions:
|
|
# SysV /etc/install, /usr/sbin/install
|
|
# SunOS /usr/etc/install
|
|
# IRIX /sbin/install
|
|
# AIX /bin/install
|
|
# AmigaOS /C/install, which installs bootblocks on floppy discs
|
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
|
# OS/2's system install, which has a completely different semantic
|
|
# ./install, which can be erroneously created by make from ./install.sh.
|
|
AC_MSG_CHECKING([for a BSD-compatible install])
|
|
if test -z "$INSTALL"; then
|
|
AC_CACHE_VAL(ac_cv_path_install,
|
|
[_AS_PATH_WALK([$PATH],
|
|
[# Account for people who put trailing slashes in PATH elements.
|
|
case $as_dir/ in
|
|
./ | .// | /[cC]/* | \
|
|
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
|
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
|
/usr/ucb/* ) ;;
|
|
*)
|
|
# OSF1 and SCO ODT 3.0 have their own names for install.
|
|
# Don't use installbsd from OSF since it installs stuff as root
|
|
# by default.
|
|
for ac_prog in ginstall scoinst install; do
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
if AS_EXECUTABLE_P(["$as_dir/$ac_prog$ac_exec_ext"]); then
|
|
if test $ac_prog = install &&
|
|
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
|
# AIX install. It has an incompatible calling convention.
|
|
:
|
|
elif test $ac_prog = install &&
|
|
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
|
# program-specific install script used by HP pwplus--don't use.
|
|
:
|
|
else
|
|
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
|
break 3
|
|
fi
|
|
fi
|
|
done
|
|
done
|
|
;;
|
|
esac])
|
|
])dnl
|
|
if test "${ac_cv_path_install+set}" = set; then
|
|
INSTALL=$ac_cv_path_install
|
|
else
|
|
# As a last resort, use the slow shell script. We don't cache a
|
|
# path for INSTALL within a source directory, because that will
|
|
# break other packages using the cache if that directory is
|
|
# removed, or if the path is relative.
|
|
INSTALL=$ac_install_sh
|
|
fi
|
|
fi
|
|
dnl We do special magic for INSTALL instead of AC_SUBST, to get
|
|
dnl relative paths right.
|
|
AC_MSG_RESULT([$INSTALL])
|
|
|
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
|
# It thinks the first close brace ends the variable substitution.
|
|
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
|
AC_SUBST(INSTALL_PROGRAM)dnl
|
|
|
|
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
|
AC_SUBST(INSTALL_SCRIPT)dnl
|
|
|
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
|
AC_SUBST(INSTALL_DATA)dnl
|
|
[]_m4_defun_epi([AC_PROG_INSTALL])
|
|
T29,23
|
|
m4_location(AC_PROGRAM_EGREP)autoconf/oldnames.m4:63
|
|
F8,8
|
|
errprinterrprint
|
|
T11,25
|
|
AN_FUNCTIONAN_OUTPUT([function], $@)
|
|
T15,184
|
|
AC_HAVE_HEADERS_m4_defun_pro([AC_HAVE_HEADERS])AC_DIAGNOSE([obsolete], [The macro `AC_HAVE_HEADERS' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_CHECK_HEADERS($@)[]_m4_defun_epi([AC_HAVE_HEADERS])
|
|
T22,1521
|
|
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,
|
|
[ac_cv_sys_long_file_names=yes
|
|
# Test for long file names in all the places we know might matter:
|
|
# . the current directory, where building will happen
|
|
# $prefix/lib where we will be installing things
|
|
# $exec_prefix/lib likewise
|
|
# eval it to expand exec_prefix.
|
|
# $TMPDIR if set, where it might want to write temporary files
|
|
# if $TMPDIR is not set:
|
|
# /tmp where it might want to write temporary files
|
|
# /var/tmp likewise
|
|
# /usr/tmp likewise
|
|
if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
|
|
ac_tmpdirs=$TMPDIR
|
|
else
|
|
ac_tmpdirs='/tmp /var/tmp /usr/tmp'
|
|
fi
|
|
for ac_dir in . $ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
|
|
test -d $ac_dir || continue
|
|
test -w $ac_dir || continue # It is less confusing to not echo anything here.
|
|
ac_xdir=$ac_dir/cf$$
|
|
(umask 077 && mkdir $ac_xdir 2>/dev/null) || continue
|
|
ac_tf1=$ac_xdir/conftest9012345
|
|
ac_tf2=$ac_xdir/conftest9012346
|
|
(echo 1 >$ac_tf1) 2>/dev/null
|
|
(echo 2 >$ac_tf2) 2>/dev/null
|
|
ac_val=`cat $ac_tf1 2>/dev/null`
|
|
if test ! -f $ac_tf1 || test "$ac_val" != 1; then
|
|
ac_cv_sys_long_file_names=no
|
|
rm -rf $ac_xdir 2>/dev/null
|
|
break
|
|
fi
|
|
rm -rf $ac_xdir 2>/dev/null
|
|
done])
|
|
if test $ac_cv_sys_long_file_names = yes; then
|
|
AC_DEFINE(HAVE_LONG_FILE_NAMES, 1,
|
|
[Define to 1 if you support file names longer than 14 characters.])
|
|
fi
|
|
[]_m4_defun_epi([AC_SYS_LONG_FILE_NAMES])
|
|
T36,17
|
|
m4_location(AC_PROG_GCC_TRADITIONAL)autoconf/c.m4:550
|
|
T12,924
|
|
AC_PATH_PROG_m4_defun_pro([AC_PATH_PROG])# Extract the first word of "$2", so it can be a program name with args.
|
|
set dummy $2; ac_word=$[2]
|
|
AC_MSG_CHECKING([for $ac_word])
|
|
AC_CACHE_VAL([ac_cv_path_$1],
|
|
[case $$1 in
|
|
[[\\/]]* | ?:[[\\/]]*)
|
|
ac_cv_path_$1="$$1" # Let the user override the test with a path.
|
|
;;
|
|
*)
|
|
_AS_PATH_WALK([$4],
|
|
[for ac_exec_ext in '' $ac_executable_extensions; do
|
|
if AS_EXECUTABLE_P(["$as_dir/$ac_word$ac_exec_ext"]); then
|
|
ac_cv_path_$1="$as_dir/$ac_word$ac_exec_ext"
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&AS_MESSAGE_LOG_FD
|
|
break 2
|
|
fi
|
|
done])
|
|
dnl If no 3rd arg is given, leave the cache variable unset,
|
|
dnl so AC_PATH_PROGS will keep looking.
|
|
m4_ifvaln([$3],
|
|
[ test -z "$ac_cv_path_$1" && ac_cv_path_$1="$3"])dnl
|
|
;;
|
|
esac])dnl
|
|
AC_SUBST([$1], [$ac_cv_path_$1])
|
|
if test -n "$$1"; then
|
|
AC_MSG_RESULT([$$1])
|
|
else
|
|
AC_MSG_RESULT([no])
|
|
fi
|
|
[]_m4_defun_epi([AC_PATH_PROG])
|
|
T12,55
|
|
m4_copy_unm4m4_copy([$1], m4_bpatsubst([$1], [^m4_\(.*\)], [[\1]]))
|
|
T21,486
|
|
AC_LANG_INT_SAVE(C++)AC_LANG_PROGRAM([$1
|
|
long longval () { return $2; }
|
|
unsigned long ulongval () { return $2; }
|
|
@%:@include <stdio.h>
|
|
@%:@include <stdlib.h>],
|
|
[
|
|
FILE *f = fopen ("conftest.val", "w");
|
|
if (! f)
|
|
exit (1);
|
|
if (($2) < 0)
|
|
{
|
|
long i = longval ();
|
|
if (i != ($2))
|
|
exit (1);
|
|
fprintf (f, "%ld\n", i);
|
|
}
|
|
else
|
|
{
|
|
unsigned long i = ulongval ();
|
|
if (i != ($2))
|
|
exit (1);
|
|
fprintf (f, "%lu\n", i);
|
|
}
|
|
exit (ferror (f) || fclose (f) != 0);
|
|
])
|
|
T27,24
|
|
m4_location(AC_LINK_IFELSE)autoconf/general.m4:2213
|
|
T13,116
|
|
_AS_BOX_INDIRsed 'h;s/./m4_default([$2], [-])/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
|
|
@%:@@%:@ $1 @%:@@%:@
|
|
_ASBOX
|
|
T17,112
|
|
_AC_LANG_DISPATCHm4_ifdef([$1($2)],
|
|
[m4_indir([$1($2)], m4_shiftn(2, $@))],
|
|
[AC_FATAL([$1: unknown language: $2])])
|
|
T28,20
|
|
m4_location(AC_HAVE_LIBRARY)autoconf/libs.m4:162
|
|
T9,20
|
|
AU_DEFINEAC_DEFUN([$1], [$2])
|
|
T8,157
|
|
AC_CONST_m4_defun_pro([AC_CONST])AC_DIAGNOSE([obsolete], [The macro `AC_CONST' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_C_CONST($@)[]_m4_defun_epi([AC_CONST])
|
|
T28,23
|
|
m4_location(_AC_PROG_FC_C_O)autoconf/fortran.m4:476
|
|
T8,109
|
|
AC_DEFUNm4_define([m4_location($1)], m4_location)dnl
|
|
m4_define([$1],
|
|
[_m4_defun_pro([$1])$2[]_m4_defun_epi([$1])])
|
|
T30,21
|
|
m4_location(AC_STRUCT_ST_RDEV)autoconf/types.m4:567
|
|
T15,182
|
|
AC_STDC_HEADERS_m4_defun_pro([AC_STDC_HEADERS])AC_DIAGNOSE([obsolete], [The macro `AC_STDC_HEADERS' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_HEADER_STDC($@)[]_m4_defun_epi([AC_STDC_HEADERS])
|
|
T25,138
|
|
AC_CONFIG_AUX_DIR_DEFAULT_m4_defun_pro([AC_CONFIG_AUX_DIR_DEFAULT])AC_CONFIG_AUX_DIRS($srcdir $srcdir/.. $srcdir/../..)[]_m4_defun_epi([AC_CONFIG_AUX_DIR_DEFAULT])
|
|
F7,6
|
|
m4_wrapm4wrap
|
|
T19,173
|
|
AC_INCLUDES_DEFAULT_m4_defun_pro([AC_INCLUDES_DEFAULT])m4_ifval([$1], [$1
|
|
],
|
|
[AC_REQUIRE([_AC_INCLUDES_DEFAULT_REQUIREMENTS])dnl
|
|
$ac_includes_default])[]_m4_defun_epi([AC_INCLUDES_DEFAULT])
|
|
T16,706
|
|
AC_C_LONG_DOUBLE_m4_defun_pro([AC_C_LONG_DOUBLE])AC_CACHE_CHECK(
|
|
[for working long double with more range or precision than double],
|
|
[ac_cv_c_long_double],
|
|
[AC_COMPILE_IFELSE(
|
|
[AC_LANG_BOOL_COMPILE_TRY(
|
|
[#include <float.h>
|
|
long double foo = 0.0;],
|
|
[/* Using '|' rather than '||' catches a GCC 2.95.2 x86 bug. */
|
|
(DBL_MAX < LDBL_MAX) | (LDBL_EPSILON < DBL_EPSILON)
|
|
| (DBL_MAX_EXP < LDBL_MAX_EXP) | (DBL_MANT_DIG < LDBL_MANT_DIG)])],
|
|
ac_cv_c_long_double=yes,
|
|
ac_cv_c_long_double=no)])
|
|
if test $ac_cv_c_long_double = yes; then
|
|
AC_DEFINE(HAVE_LONG_DOUBLE, 1,
|
|
[Define to 1 if long double works and has more range or precision than double.])
|
|
fi
|
|
[]_m4_defun_epi([AC_C_LONG_DOUBLE])
|
|
T14,183
|
|
ac_cv_prog_g77_m4_defun_pro([ac_cv_prog_g77])AC_DIAGNOSE([obsolete], [The macro `ac_cv_prog_g77' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
ac_cv_f77_compiler_gnu[]_m4_defun_epi([ac_cv_prog_g77])
|
|
T14,732
|
|
AC_PROG_CXXCPP_m4_defun_pro([AC_PROG_CXXCPP])AC_REQUIRE([AC_PROG_CXX])dnl
|
|
AC_ARG_VAR([CXXCPP], [C++ preprocessor])dnl
|
|
_AC_ARG_VAR_CPPFLAGS()dnl
|
|
AC_LANG_PUSH(C++)dnl
|
|
AC_MSG_CHECKING([how to run the C++ preprocessor])
|
|
if test -z "$CXXCPP"; then
|
|
AC_CACHE_VAL(ac_cv_prog_CXXCPP,
|
|
[dnl
|
|
# Double quotes because CXXCPP needs to be expanded
|
|
for CXXCPP in "$CXX -E" "/lib/cpp"
|
|
do
|
|
_AC_PROG_PREPROC_WORKS_IFELSE([break])
|
|
done
|
|
ac_cv_prog_CXXCPP=$CXXCPP
|
|
])dnl
|
|
CXXCPP=$ac_cv_prog_CXXCPP
|
|
else
|
|
ac_cv_prog_CXXCPP=$CXXCPP
|
|
fi
|
|
AC_MSG_RESULT([$CXXCPP])
|
|
_AC_PROG_PREPROC_WORKS_IFELSE([],
|
|
[AC_MSG_FAILURE([C++ preprocessor "$CXXCPP" fails sanity check])])
|
|
AC_SUBST(CXXCPP)dnl
|
|
AC_LANG_POP(C++)dnl
|
|
[]_m4_defun_epi([AC_PROG_CXXCPP])
|
|
T25,20
|
|
m4_location(AC_PATH_XTRA)autoconf/libs.m4:498
|
|
T27,24
|
|
m4_location(AC_FC_FREEFORM)autoconf/fortran.m4:1211
|
|
T10,119
|
|
_AS_ECHO_NAS_REQUIRE([_AS_ECHO_N_PREPARE])dnl
|
|
echo $ECHO_N "_AS_QUOTE([$1])$ECHO_C" >&m4_default([$2],
|
|
[AS_MESSAGE_FD])
|
|
T16,1260
|
|
_AC_PATH_X_XMKMFrm -fr conftest.dir
|
|
if mkdir conftest.dir; then
|
|
cd conftest.dir
|
|
# Make sure to not put "make" in the Imakefile rules, since we grep it out.
|
|
cat >Imakefile <<'_ACEOF'
|
|
acfindx:
|
|
@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
|
|
_ACEOF
|
|
if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
|
|
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
|
eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
|
|
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
|
|
for ac_extension in a so sl; do
|
|
if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
|
|
test -f $ac_im_libdir/libX11.$ac_extension; then
|
|
ac_im_usrlibdir=$ac_im_libdir; break
|
|
fi
|
|
done
|
|
# Screen out bogus values from the imake configuration. They are
|
|
# bogus both because they are the default anyway, and because
|
|
# using them would break gcc on systems where it needs fixed includes.
|
|
case $ac_im_incroot in
|
|
/usr/include) ;;
|
|
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
|
|
esac
|
|
case $ac_im_usrlibdir in
|
|
/usr/lib | /lib) ;;
|
|
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
|
|
esac
|
|
fi
|
|
cd ..
|
|
rm -fr conftest.dir
|
|
fi
|
|
|
|
T16,173
|
|
AC_REPLACE_FUNCS_m4_defun_pro([AC_REPLACE_FUNCS])AC_FOREACH([AC_Func], [$1], [AC_LIBSOURCE(AC_Func.c)])dnl
|
|
AC_CHECK_FUNCS([$1], , [_AC_LIBOBJ($ac_func)])
|
|
[]_m4_defun_epi([AC_REPLACE_FUNCS])
|
|
T7,122
|
|
m4_casem4_if([$#], 0, [],
|
|
[$#], 1, [],
|
|
[$#], 2, [$2],
|
|
[$1], [$2], [$3],
|
|
[$0([$1], m4_shiftn(3, $@))])
|
|
T10,524
|
|
_AC_PATH_X_m4_defun_pro([_AC_PATH_X])AC_CACHE_VAL(ac_cv_have_x,
|
|
[# One or both of the vars are not set, and there is no cached value.
|
|
ac_x_includes=no ac_x_libraries=no
|
|
_AC_PATH_X_XMKMF
|
|
_AC_PATH_X_DIRECT
|
|
if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
|
|
# Didn't find X anywhere. Cache the known absence of X.
|
|
ac_cv_have_x="have_x=no"
|
|
else
|
|
# Record where we found X for the cache.
|
|
ac_cv_have_x="have_x=yes \
|
|
ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
|
|
fi])dnl
|
|
[]_m4_defun_epi([_AC_PATH_X])
|
|
T19,318
|
|
AC_STRUCT_ST_BLOCKS_m4_defun_pro([AC_STRUCT_ST_BLOCKS])AC_CHECK_MEMBERS([struct stat.st_blocks],
|
|
[AC_DEFINE(HAVE_ST_BLOCKS, 1,
|
|
[Define to 1 if your `struct stat' has
|
|
`st_blocks'. Deprecated, use
|
|
`HAVE_STRUCT_STAT_ST_BLOCKS' instead.])],
|
|
[AC_LIBOBJ([fileblocks])])
|
|
[]_m4_defun_epi([AC_STRUCT_ST_BLOCKS])
|
|
T13,485
|
|
AC_C_VOLATILE_m4_defun_pro([AC_C_VOLATILE])AC_CACHE_CHECK([for working volatile], ac_cv_c_volatile,
|
|
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [
|
|
volatile int x;
|
|
int * volatile y;])],
|
|
[ac_cv_c_volatile=yes],
|
|
[ac_cv_c_volatile=no])])
|
|
if test $ac_cv_c_volatile = no; then
|
|
AC_DEFINE(volatile,,
|
|
[Define to empty if the keyword `volatile' does not work.
|
|
Warning: valid code using `volatile' can become incorrect
|
|
without. Disable with care.])
|
|
fi
|
|
[]_m4_defun_epi([AC_C_VOLATILE])
|
|
T17,128
|
|
_m4_dumpdefs_downm4_ifdef([_m4_dumpdefs],
|
|
[m4_pushdef([$1], m4_defn([_m4_dumpdefs]))dnl
|
|
m4_popdef([_m4_dumpdefs])dnl
|
|
_m4_dumpdefs_down([$1])])
|
|
T30,23
|
|
m4_location(AC_CONFIG_SUBDIRS)autoconf/status.m4:1078
|
|
T13,15
|
|
AS_VAR_POPDEFm4_popdef([$1])
|
|
T9,0
|
|
AN_OUTPUT
|
|
T27,23
|
|
m4_location(AC_LONG_DOUBLE)autoconf/oldnames.m4:84
|
|
T18,272
|
|
_AS_ECHO_N_PREPARE_m4_defun_pro([_AS_ECHO_N_PREPARE])case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
|
*c*,-n*) ECHO_N= ECHO_C='
|
|
' ECHO_T=' ' ;;
|
|
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
|
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
|
esac
|
|
[]_m4_defun_epi([_AS_ECHO_N_PREPARE])
|
|
T4,84
|
|
defnm4_ifndef([$1],
|
|
[m4_fatal([$0: undefined macro: $1])])dnl
|
|
m4_builtin([defn], $@)
|
|
T18,858
|
|
AC_STRUCT_TIMEZONE_m4_defun_pro([AC_STRUCT_TIMEZONE])AC_REQUIRE([AC_STRUCT_TM])dnl
|
|
AC_CHECK_MEMBERS([struct tm.tm_zone],,,[#include <sys/types.h>
|
|
#include <$ac_cv_struct_tm>
|
|
])
|
|
if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
|
|
AC_DEFINE(HAVE_TM_ZONE, 1,
|
|
[Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
|
|
`HAVE_STRUCT_TM_TM_ZONE' instead.])
|
|
else
|
|
AC_CACHE_CHECK(for tzname, ac_cv_var_tzname,
|
|
[AC_LINK_IFELSE([AC_LANG_PROGRAM(
|
|
[[#include <time.h>
|
|
#ifndef tzname /* For SGI. */
|
|
extern char *tzname[]; /* RS6000 and others reject char **tzname. */
|
|
#endif
|
|
]],
|
|
[atoi(*tzname);])],
|
|
[ac_cv_var_tzname=yes],
|
|
[ac_cv_var_tzname=no])])
|
|
if test $ac_cv_var_tzname = yes; then
|
|
AC_DEFINE(HAVE_TZNAME, 1,
|
|
[Define to 1 if you don't have `tm_zone' but do have the external
|
|
array `tzname'.])
|
|
fi
|
|
fi
|
|
[]_m4_defun_epi([AC_STRUCT_TIMEZONE])
|
|
T26,24
|
|
m4_location(AC_PROG_EGREP)autoconf/programs.m4:277
|
|
T26,24
|
|
m4_location(AC_ARG_ENABLE)autoconf/general.m4:1303
|
|
F5,5
|
|
indexindex
|
|
T23,147
|
|
AC_LANG_PREPROC_REQUIRE_m4_defun_pro([AC_LANG_PREPROC_REQUIRE])m4_require([AC_LANG_PREPROC(]_AC_LANG[)],
|
|
[AC_LANG_PREPROC])[]_m4_defun_epi([AC_LANG_PREPROC_REQUIRE])
|
|
T6,159
|
|
divertm4_define([m4_divert_stack],
|
|
m4_location[: $0: $1]m4_ifdef([m4_divert_stack], [
|
|
m4_defn([m4_divert_stack])]))dnl
|
|
m4_builtin([divert], _m4_divert([$1]))dnl
|
|
|
|
T13,630
|
|
AC_LINK_FILES_m4_defun_pro([AC_LINK_FILES])AC_DIAGNOSE([obsolete], [The macro `AC_LINK_FILES' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
m4_if($#, 2, ,
|
|
[m4_fatal([$0: incorrect number of arguments])])dnl
|
|
m4_define([_AC_LINK_FILES_CNT], m4_incr(_AC_LINK_FILES_CNT))dnl
|
|
ac_sources="$1"
|
|
ac_dests="$2"
|
|
while test -n "$ac_sources"; do
|
|
set $ac_dests; ac_dest=$[1]; shift; ac_dests=$[*]
|
|
set $ac_sources; ac_source=$[1]; shift; ac_sources=$[*]
|
|
[ac_config_links_]_AC_LINK_FILES_CNT="$[ac_config_links_]_AC_LINK_FILES_CNT $ac_dest:$ac_source"
|
|
done
|
|
AC_CONFIG_LINKS($[ac_config_links_]_AC_LINK_FILES_CNT)dnl
|
|
[]_m4_defun_epi([AC_LINK_FILES])
|
|
T34,25
|
|
m4_location(AM_FUNC_ERROR_AT_LINE)autoconf/functions.m4:458
|
|
T16,149
|
|
_AS_EXPR_PREPARE_m4_defun_pro([_AS_EXPR_PREPARE])if expr a : '\(a\)' >/dev/null 2>&1; then
|
|
as_expr=expr
|
|
else
|
|
as_expr=false
|
|
fi
|
|
[]_m4_defun_epi([_AS_EXPR_PREPARE])
|
|
T20,147
|
|
_AC_ARG_VAR_PRECIOUSAC_SUBST([$1])dnl
|
|
m4_divert_once([PARSE_ARGS],
|
|
[ac_env_$1_set=${$1+set}
|
|
ac_env_$1_value=$$1
|
|
ac_cv_env_$1_set=${$1+set}
|
|
ac_cv_env_$1_value=$$1])dnl
|
|
|
|
T29,23
|
|
m4_location(AC_CHECK_HEADERS)autoconf/headers.m4:206
|
|
T33,21
|
|
m4_location(AC_STRUCT_ST_BLKSIZE)autoconf/types.m4:527
|
|
F9,6
|
|
m4_substrsubstr
|
|
T10,323
|
|
AC_MINGW32_m4_defun_pro([AC_MINGW32])AC_DIAGNOSE([obsolete], [The macro `AC_MINGW32' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_CANONICAL_HOST
|
|
AC_DIAGNOSE([obsolete],
|
|
[$0 is obsolete: use AC_CANONICAL_HOST and $host_os])dnl
|
|
case $host_os in
|
|
*mingw32* ) MINGW32=yes;;
|
|
* ) MINGW32=no;;
|
|
esac
|
|
[]_m4_defun_epi([AC_MINGW32])
|
|
T11,213
|
|
AC_TRY_LINK_m4_defun_pro([AC_TRY_LINK])AC_DIAGNOSE([obsolete], [The macro `AC_TRY_LINK' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_LINK_IFELSE([AC_LANG_PROGRAM([[$1]], [[$2]])], [$3], [$4])[]_m4_defun_epi([AC_TRY_LINK])
|
|
T16,787
|
|
AC_PROG_MAKE_SET_m4_defun_pro([AC_PROG_MAKE_SET])AC_MSG_CHECKING([whether ${MAKE-make} sets \$(MAKE)])
|
|
set dummy ${MAKE-make}; ac_make=`echo "$[2]" | sed 'y,:./+-,___p_,'`
|
|
AC_CACHE_VAL(ac_cv_prog_make_${ac_make}_set,
|
|
[cat >conftest.make <<\_ACEOF
|
|
all:
|
|
@echo 'ac_maketemp="$(MAKE)"'
|
|
_ACEOF
|
|
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
|
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
|
|
if test -n "$ac_maketemp"; then
|
|
eval ac_cv_prog_make_${ac_make}_set=yes
|
|
else
|
|
eval ac_cv_prog_make_${ac_make}_set=no
|
|
fi
|
|
rm -f conftest.make])dnl
|
|
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
|
|
AC_MSG_RESULT([yes])
|
|
SET_MAKE=
|
|
else
|
|
AC_MSG_RESULT([no])
|
|
SET_MAKE="MAKE=${MAKE-make}"
|
|
fi
|
|
AC_SUBST([SET_MAKE])dnl
|
|
[]_m4_defun_epi([AC_PROG_MAKE_SET])
|
|
T14,357
|
|
AC_CHECK_TOOLS_m4_defun_pro([AC_CHECK_TOOLS])if test -n "$ac_tool_prefix"; then
|
|
for ac_prog in $2
|
|
do
|
|
AC_CHECK_PROG([$1],
|
|
[$ac_tool_prefix$ac_prog], [$ac_tool_prefix$ac_prog],,
|
|
[$4])
|
|
test -n "$$1" && break
|
|
done
|
|
fi
|
|
if test -z "$$1"; then
|
|
ac_ct_$1=$$1
|
|
AC_CHECK_PROGS([ac_ct_$1], [$2], [$3], [$4])
|
|
$1=$ac_ct_$1
|
|
fi
|
|
[]_m4_defun_epi([AC_CHECK_TOOLS])
|
|
T14,1020
|
|
AC_ARG_PROGRAMm4_provide_if([AC_ARG_PROGRAM],
|
|
[m4_warn([syntax], [AC_ARG_PROGRAM invoked multiple times])],
|
|
[_m4_defun_pro([AC_ARG_PROGRAM])dnl Document the options.
|
|
m4_divert_push([HELP_BEGIN])dnl
|
|
|
|
Program names:
|
|
--program-prefix=PREFIX prepend PREFIX to installed program names
|
|
--program-suffix=SUFFIX append SUFFIX to installed program names
|
|
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
|
m4_divert_pop([HELP_BEGIN])dnl
|
|
test "$program_prefix" != NONE &&
|
|
program_transform_name="s,^,$program_prefix,;$program_transform_name"
|
|
# Use a double $ so make ignores it.
|
|
test "$program_suffix" != NONE &&
|
|
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
|
|
# Double any \ or $. echo might interpret backslashes.
|
|
# By default was `s,x,x', remove it if useless.
|
|
cat <<\_ACEOF >conftest.sed
|
|
[s/[\\$]/&&/g;s/;s,x,x,$//]
|
|
_ACEOF
|
|
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
|
|
rm conftest.sed
|
|
[]_m4_defun_epi([AC_ARG_PROGRAM])])
|
|
T27,23
|
|
m4_location(AC_SIZEOF_TYPE)autoconf/oldnames.m4:65
|
|
T22,24
|
|
m4_location(AC_ENABLE)autoconf/general.m4:1307
|
|
T19,367
|
|
_AC_CANONICAL_SPLITAC_SUBST([$1], [$ac_cv_$1])dnl
|
|
dnl FIXME: AC_SUBST([$1_alias], [$ac_cv_$1_alias])dnl
|
|
AC_SUBST([$1_cpu],
|
|
[`echo $ac_cv_$1 | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])dnl
|
|
AC_SUBST([$1_vendor],
|
|
[`echo $ac_cv_$1 | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])dnl
|
|
AC_SUBST([$1_os],
|
|
[`echo $ac_cv_$1 | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])dnl
|
|
|
|
T35,23
|
|
m4_location(AC_F77_LIBRARY_LDFLAGS)autoconf/fortran.m4:710
|
|
T18,2167
|
|
_AS_LINENO_PREPAREAS_REQUIRE([_AS_CR_PREPARE])dnl
|
|
_AS_LINENO_WORKS || {
|
|
# Find who we are. Look in the path if we contain no path at all
|
|
# relative or not.
|
|
case $[0] in
|
|
*[[\\/]]* ) as_myself=$[0] ;;
|
|
*) _AS_PATH_WALK([],
|
|
[test -r "$as_dir/$[0]" && as_myself=$as_dir/$[0] && break])
|
|
;;
|
|
esac
|
|
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
|
# in which case we are not to be found in the path.
|
|
if test "x$as_myself" = x; then
|
|
as_myself=$[0]
|
|
fi
|
|
if test ! -f "$as_myself"; then
|
|
AS_ERROR([cannot find myself; rerun with an absolute path])
|
|
fi
|
|
case $CONFIG_SHELL in
|
|
'')
|
|
_AS_PATH_WALK([/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH],
|
|
[for as_base in sh bash ksh sh5; do
|
|
case $as_dir in
|
|
/*)
|
|
if ("$as_dir/$as_base" -c '_AS_LINENO_WORKS') 2>/dev/null; then
|
|
AS_UNSET(BASH_ENV)
|
|
AS_UNSET(ENV)
|
|
CONFIG_SHELL=$as_dir/$as_base
|
|
export CONFIG_SHELL
|
|
exec "$CONFIG_SHELL" "$[0]" ${1+"$[@]"}
|
|
fi;;
|
|
esac
|
|
done]);;
|
|
esac
|
|
|
|
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
|
# uniformly replaced by the line number. The first 'sed' inserts a
|
|
# line-number line before each line; the second 'sed' does the real
|
|
# work. The second script uses 'N' to pair each line-number line
|
|
# with the numbered line, and appends trailing '-' during
|
|
# substitution so that $LINENO is not a special case at line end.
|
|
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
|
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
|
sed '=' <$as_myself |
|
|
sed '
|
|
N
|
|
s,$,-,
|
|
: loop
|
|
s,^\([['$as_cr_digits']]*\)\(.*\)[[$]]LINENO\([[^'$as_cr_alnum'_]]\),\1\2\1\3,
|
|
t loop
|
|
s,-$,,
|
|
s,^[['$as_cr_digits']]*\n,,
|
|
' >$as_me.lineno &&
|
|
chmod +x $as_me.lineno ||
|
|
AS_ERROR([cannot create $as_me.lineno; rerun with a POSIX shell])
|
|
|
|
# Don't try to exec as it changes $[0], causing all sort of problems
|
|
# (the dirname of $[0] is not the place where we might find the
|
|
# original and so on. Autoconf is especially sensible to this).
|
|
. ./$as_me.lineno
|
|
# Exit status is that of the last command.
|
|
exit
|
|
}
|
|
|
|
T32,26
|
|
m4_location(AC_SETVBUF_REVERSED)autoconf/functions.m4:1636
|
|
T6,2
|
|
m4_fst$1
|
|
T22,105
|
|
AC_MSG_RESULT_UNQUOTED_AS_ECHO_UNQUOTED([$as_me:$LINENO: result: $1], AS_MESSAGE_LOG_FD)
|
|
_AS_ECHO_UNQUOTED([${ECHO_T}$1])[]dnl
|
|
|
|
T18,229
|
|
AC_CONFIG_COMMANDS_m4_defun_pro([AC_CONFIG_COMMANDS])AC_FOREACH([AC_Name], [$1], [_AC_CONFIG_COMMAND(m4_defn([AC_Name]), [$2])])dnl
|
|
_AC_CONFIG_COMMANDS_INIT([$3])dnl
|
|
ac_config_commands="$ac_config_commands $1"
|
|
[]_m4_defun_epi([AC_CONFIG_COMMANDS])
|
|
T28,21
|
|
m4_location(AC_CHECK_MEMBER)autoconf/types.m4:484
|
|
T9,1523
|
|
AC_PATH_X_m4_defun_pro([AC_PATH_X])dnl Document the X abnormal options inherited from history.
|
|
m4_divert_once([HELP_BEGIN], [
|
|
X features:
|
|
--x-includes=DIR X include files are in DIR
|
|
--x-libraries=DIR X library files are in DIR])dnl
|
|
|
|
if test "x$ac_path_x_has_been_run" != xyes; then
|
|
AC_MSG_CHECKING([for X])
|
|
|
|
ac_path_x_has_been_run=yes
|
|
AC_ARG_WITH(x, [ --with-x use the X Window System])
|
|
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
|
|
if test "x$with_x" = xno; then
|
|
# The user explicitly disabled X.
|
|
have_x=disabled
|
|
else
|
|
if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
|
|
# Both variables are already set.
|
|
have_x=yes
|
|
else
|
|
_AC_PATH_X
|
|
fi
|
|
eval "$ac_cv_have_x"
|
|
fi # $with_x != no
|
|
|
|
if test "$have_x" != yes; then
|
|
AC_MSG_RESULT([$have_x])
|
|
no_x=yes
|
|
else
|
|
# If each of the values was on the command line, it overrides each guess.
|
|
test "x$x_includes" = xNONE && x_includes=$ac_x_includes
|
|
test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
|
|
# Update the cache value to reflect the command line values.
|
|
ac_cv_have_x="have_x=yes \
|
|
ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
|
|
# It might be that x_includes is empty (headers are found in the
|
|
# standard search path. Then output the corresponding message
|
|
ac_out_x_includes=$x_includes
|
|
test "x$x_includes" = x && ac_out_x_includes="in standard search path"
|
|
AC_MSG_RESULT([libraries $x_libraries, headers $ac_out_x_includes])
|
|
fi
|
|
|
|
fi[]_m4_defun_epi([AC_PATH_X])
|
|
T24,24
|
|
m4_location(AC_CHECKING)autoconf/general.m4:1966
|
|
T10,38
|
|
_AC_F77_FCg77 f77 xlf frt pgf77 fort77 fl32 af77
|
|
T16,340
|
|
AC_CHECK_MEMBERS_m4_defun_pro([AC_CHECK_MEMBERS])m4_foreach([AC_Member], [$1],
|
|
[AC_CHECK_MEMBER(AC_Member,
|
|
[AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_[]AC_Member), 1,
|
|
[Define to 1 if `]m4_bpatsubst(AC_Member,
|
|
[^[^.]*\.])[' is
|
|
member of `]m4_bpatsubst(AC_Member, [\..*])['.])
|
|
$2],
|
|
[$3],
|
|
[$4])])[]_m4_defun_epi([AC_CHECK_MEMBERS])
|
|
F6,6
|
|
syscmdsyscmd
|
|
T25,26
|
|
m4_location(AC_FUNC_MMAP)autoconf/functions.m4:1262
|
|
T11,116
|
|
_m4_foreachm4_if([$2], [[]], [],
|
|
[m4_define([$1], m4_car($2))$3[]_m4_foreach([$1],
|
|
m4_cdr($2),
|
|
[$3])])
|
|
T15,183
|
|
AM_PROG_INSTALL_m4_defun_pro([AM_PROG_INSTALL])AC_DIAGNOSE([obsolete], [The macro `AM_PROG_INSTALL' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_PROG_INSTALL($@)[]_m4_defun_epi([AM_PROG_INSTALL])
|
|
T14,179
|
|
AM_FUNC_MKTIME_m4_defun_pro([AM_FUNC_MKTIME])AC_DIAGNOSE([obsolete], [The macro `AM_FUNC_MKTIME' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_FUNC_MKTIME($@)[]_m4_defun_epi([AM_FUNC_MKTIME])
|
|
T10,0
|
|
m4_symbols
|
|
T31,25
|
|
m4_location(_AC_FUNC_MALLOC_IF)autoconf/functions.m4:861
|
|
T16,256
|
|
AC_LANG(Fortran)ac_ext=${FC_SRCEXT-f}
|
|
ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&AS_MESSAGE_LOG_FD'
|
|
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&AS_MESSAGE_LOG_FD'
|
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu
|
|
|
|
T13,67
|
|
AC_LIBSOURCESm4_foreach([_AC_FILENAME], [$1],
|
|
[AC_LIBSOURCE(_AC_FILENAME)])
|
|
T11,831
|
|
AC_C_INLINE_m4_defun_pro([AC_C_INLINE])AC_CACHE_CHECK([for inline], ac_cv_c_inline,
|
|
[ac_cv_c_inline=no
|
|
for ac_kw in inline __inline__ __inline; do
|
|
AC_COMPILE_IFELSE([AC_LANG_SOURCE(
|
|
[#ifndef __cplusplus
|
|
typedef int foo_t;
|
|
static $ac_kw foo_t static_foo () {return 0; }
|
|
$ac_kw foo_t foo () {return 0; }
|
|
#endif
|
|
])],
|
|
[ac_cv_c_inline=$ac_kw; break])
|
|
done
|
|
])
|
|
AH_VERBATIM([inline],
|
|
[/* Define to `__inline__' or `__inline' if that's what the C compiler
|
|
calls it, or to nothing if 'inline' is not supported under any name. */
|
|
#ifndef __cplusplus
|
|
#undef inline
|
|
#endif])
|
|
case $ac_cv_c_inline in
|
|
inline | yes) ;;
|
|
*)
|
|
case $ac_cv_c_inline in
|
|
no) ac_val=;;
|
|
*) ac_val=$ac_cv_c_inline;;
|
|
esac
|
|
cat >>confdefs.h <<_ACEOF
|
|
#ifndef __cplusplus
|
|
#define inline $ac_val
|
|
#endif
|
|
_ACEOF
|
|
;;
|
|
esac
|
|
[]_m4_defun_epi([AC_C_INLINE])
|
|
T23,24
|
|
m4_location(AC_TRY_RUN)autoconf/general.m4:2287
|
|
T13,176
|
|
AC_RETSIGTYPE_m4_defun_pro([AC_RETSIGTYPE])AC_DIAGNOSE([obsolete], [The macro `AC_RETSIGTYPE' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_TYPE_SIGNAL($@)[]_m4_defun_epi([AC_RETSIGTYPE])
|
|
T27,24
|
|
m4_location(AC_PROG_RANLIB)autoconf/programs.m4:493
|
|
T17,558
|
|
AC_STRUCT_ST_RDEV_m4_defun_pro([AC_STRUCT_ST_RDEV])AC_DIAGNOSE([obsolete], [The macro `AC_STRUCT_ST_RDEV' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_DIAGNOSE([obsolete], [$0:
|
|
your code should no longer depend upon `HAVE_ST_RDEV', but
|
|
`HAVE_STRUCT_STAT_ST_RDEV'. Remove this warning and
|
|
the `AC_DEFINE' when you adjust the code.])
|
|
AC_CHECK_MEMBERS([struct stat.st_rdev],
|
|
[AC_DEFINE(HAVE_ST_RDEV, 1,
|
|
[Define to 1 if your `struct stat' has `st_rdev'.
|
|
Deprecated, use `HAVE_STRUCT_STAT_ST_RDEV'
|
|
instead.])])
|
|
[]_m4_defun_epi([AC_STRUCT_ST_RDEV])
|
|
T13,161
|
|
AC_MSG_NOTICEm4_ifset([AS_MESSAGE_LOG_FD],
|
|
[{ _AS_ECHO([$as_me:$LINENO: $1], [AS_MESSAGE_LOG_FD])
|
|
_AS_ECHO([$as_me: $1], [$2]);}],
|
|
[_AS_ECHO([$as_me: $1], [$2])])[]dnl
|
|
|
|
T19,290
|
|
AC_CONFIG_MACRO_DIR_m4_defun_pro([AC_CONFIG_MACRO_DIR])case $1 in
|
|
[[\\/]]* | ?:[[\\/]]* ) ac_macro_dir=$1 ;;
|
|
*) ac_macro_dir=$srcdir/$1 ;;
|
|
esac
|
|
if test -d "$ac_macro_dir"; then :
|
|
else
|
|
AC_MSG_ERROR([cannot find macro directory `$1'])
|
|
fi
|
|
[]_m4_defun_epi([AC_CONFIG_MACRO_DIR])
|
|
T30,23
|
|
m4_location(_AC_FC_DUMMY_MAIN)autoconf/fortran.m4:806
|
|
T24,24
|
|
m4_location(AC_TIMEZONE)autoconf/oldnames.m4:101
|
|
T13,175
|
|
AC_FUNC_CHECK_m4_defun_pro([AC_FUNC_CHECK])AC_DIAGNOSE([obsolete], [The macro `AC_FUNC_CHECK' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_CHECK_FUNC($@)[]_m4_defun_epi([AC_FUNC_CHECK])
|
|
T14,167
|
|
AC_FC_WRAPPERS_m4_defun_pro([AC_FC_WRAPPERS])AC_REQUIRE([_AC_FC_NAME_MANGLING])dnl
|
|
AC_LANG_PUSH(Fortran)dnl
|
|
_AC_FC_WRAPPERS
|
|
AC_LANG_POP(Fortran)dnl
|
|
[]_m4_defun_epi([AC_FC_WRAPPERS])
|
|
T21,200
|
|
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.
|
|
You should run autoupdate.])dnl
|
|
AC_HEADER_TIME($@)[]_m4_defun_epi([AC_TIME_WITH_SYS_TIME])
|
|
T30,0
|
|
m4_include(m4sugar/version.m4)
|
|
F5,5
|
|
indirindir
|
|
T27,39
|
|
m4_location(AS_DIRNAME_SED)/usr/share/autoconf/m4sugar/m4sh.m4:449
|
|
T20,20
|
|
m4_PACKAGE_BUGREPORTbug-autoconf@gnu.org
|
|
T13,176
|
|
AC_HAVE_FUNCS_m4_defun_pro([AC_HAVE_FUNCS])AC_DIAGNOSE([obsolete], [The macro `AC_HAVE_FUNCS' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_CHECK_FUNCS($@)[]_m4_defun_epi([AC_HAVE_FUNCS])
|
|
T28,23
|
|
m4_location(AC_PROGRAM_PATH)autoconf/oldnames.m4:64
|
|
T9,147
|
|
m4_bmatchm4_if([$#], 0, [],
|
|
[$#], 1, [],
|
|
[$#], 2, [$2],
|
|
[m4_if(m4_bregexp([$1], [$2]), -1, [$0([$1], m4_shiftn(3, $@))],
|
|
[$3])])
|
|
T8,228
|
|
m4_splitm4_changequote(``, '')dnl
|
|
[dnl Can't use m4_default here instead of m4_if, because m4_default uses
|
|
dnl [ and ] as quotes.
|
|
m4_bpatsubst(````$1'''',
|
|
m4_if(``$2'',, ``[ ]+'', ``$2''),
|
|
``], ['')]dnl
|
|
m4_changequote([, ])
|
|
T17,1153
|
|
AC_HEADER_STDBOOL_m4_defun_pro([AC_HEADER_STDBOOL])AC_CACHE_CHECK([for stdbool.h that conforms to C99],
|
|
[ac_cv_header_stdbool_h],
|
|
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
|
|
[[
|
|
#include <stdbool.h>
|
|
#ifndef bool
|
|
# error bool is not defined
|
|
#endif
|
|
#ifndef false
|
|
# error false is not defined
|
|
#endif
|
|
#if false
|
|
# error false is not 0
|
|
#endif
|
|
#ifndef true
|
|
# error true is not defined
|
|
#endif
|
|
#if true != 1
|
|
# error true is not 1
|
|
#endif
|
|
#ifndef __bool_true_false_are_defined
|
|
# error __bool_true_false_are_defined is not defined
|
|
#endif
|
|
|
|
struct s { _Bool s: 1; _Bool t; } s;
|
|
|
|
char a[true == 1 ? 1 : -1];
|
|
char b[false == 0 ? 1 : -1];
|
|
char c[__bool_true_false_are_defined == 1 ? 1 : -1];
|
|
char d[(bool) -0.5 == true ? 1 : -1];
|
|
bool e = &s;
|
|
char f[(_Bool) -0.0 == false ? 1 : -1];
|
|
char g[true];
|
|
char h[sizeof (_Bool)];
|
|
char i[sizeof s.t];
|
|
]],
|
|
[[ return !a + !b + !c + !d + !e + !f + !g + !h + !i; ]])],
|
|
[ac_cv_header_stdbool_h=yes],
|
|
[ac_cv_header_stdbool_h=no])])
|
|
AC_CHECK_TYPES([_Bool])
|
|
if test $ac_cv_header_stdbool_h = yes; then
|
|
AC_DEFINE(HAVE_STDBOOL_H, 1, [Define to 1 if stdbool.h conforms to C99.])
|
|
fi
|
|
[]_m4_defun_epi([AC_HEADER_STDBOOL])
|
|
T14,221
|
|
AC_DIVERT_PUSHm4_pushdef([m4_divert_stack],
|
|
m4_location[: $0: $1]m4_ifdef([m4_divert_stack], [
|
|
m4_defn([m4_divert_stack])]))dnl
|
|
m4_pushdef([_m4_divert_diversion], [$1])dnl
|
|
m4_builtin([divert], _m4_divert(_m4_divert_diversion))dnl
|
|
|
|
T21,183
|
|
AC_LANG_FUNC_LINK_TRY_m4_defun_pro([AC_LANG_FUNC_LINK_TRY])m4_ifval([$1], [], [m4_warn([syntax], [$0: no function given])])dnl
|
|
_AC_LANG_DISPATCH([$0], _AC_LANG, $@)[]_m4_defun_epi([AC_LANG_FUNC_LINK_TRY])
|
|
T37,20
|
|
m4_location(AC_LANG_BOOL_COMPILE_TRY)autoconf/lang.m4:258
|
|
T15,183
|
|
AC_HEADER_EGREP_m4_defun_pro([AC_HEADER_EGREP])AC_DIAGNOSE([obsolete], [The macro `AC_HEADER_EGREP' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_EGREP_HEADER($@)[]_m4_defun_epi([AC_HEADER_EGREP])
|
|
T15,574
|
|
AC_FUNC_STRCOLL_m4_defun_pro([AC_FUNC_STRCOLL])AC_CACHE_CHECK(for working strcoll, ac_cv_func_strcoll_works,
|
|
[AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
|
|
[[exit (strcoll ("abc", "def") >= 0 ||
|
|
strcoll ("ABC", "DEF") >= 0 ||
|
|
strcoll ("123", "456") >= 0)]])],
|
|
ac_cv_func_strcoll_works=yes,
|
|
ac_cv_func_strcoll_works=no,
|
|
ac_cv_func_strcoll_works=no)])
|
|
if test $ac_cv_func_strcoll_works = yes; then
|
|
AC_DEFINE(HAVE_STRCOLL, 1,
|
|
[Define to 1 if you have the `strcoll' function and it is properly
|
|
defined.])
|
|
fi
|
|
[]_m4_defun_epi([AC_FUNC_STRCOLL])
|
|
T27,26
|
|
m4_location(AM_FUNC_STRTOD)autoconf/functions.m4:1502
|
|
T14,125
|
|
m4_append_uniqm4_ifdef([$1],
|
|
[m4_bmatch([$3]m4_defn([$1])[$3], m4_re_escape([$3$2$3]), [],
|
|
[m4_append($@)])],
|
|
[m4_append($@)])
|
|
T29,24
|
|
m4_location(AC_PROG_MAKE_SET)autoconf/programs.m4:485
|
|
T18,8
|
|
m4_PACKAGE_TARNAMEautoconf
|
|
T33,23
|
|
m4_location(_AC_FC_NAME_MANGLING)autoconf/fortran.m4:998
|
|
T34,20
|
|
m4_location(AC_LANG_FUNC_LINK_TRY)autoconf/lang.m4:250
|
|
T23,20
|
|
m4_location(_AC_PATH_X)autoconf/libs.m4:318
|
|
T34,17
|
|
m4_location(AC_LANG_COMPILER(C++))autoconf/c.m4:653
|
|
T26,18
|
|
m4_location(AC_C_RESTRICT)autoconf/c.m4:1155
|
|
T26,24
|
|
m4_location(AC_CHECK_TOOL)autoconf/programs.m4:222
|
|
T29,346
|
|
_AC_SYS_LARGEFILE_MACRO_VALUEAC_CACHE_CHECK([for $1 value needed for large files], [$3],
|
|
[while :; do
|
|
$3=no
|
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([$5], [$6])],
|
|
[break])
|
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([@%:@define $1 $2
|
|
$5], [$6])],
|
|
[$3=$2; break])
|
|
break
|
|
done])
|
|
if test "$$3" != no; then
|
|
AC_DEFINE_UNQUOTED([$1], [$$3], [$4])
|
|
fi
|
|
rm -f conftest*[]dnl
|
|
|
|
T33,23
|
|
m4_location(AC_F77_NAME_MANGLING)autoconf/fortran.m4:976
|
|
T11,201
|
|
m4_list_cmpm4_if([$1$2], [()()], 0,
|
|
[$1], [()], [$0((0), [$2])],
|
|
[$2], [()], [$0([$1], (0))],
|
|
[m4_case(m4_cmp(m4_car$1, m4_car$2),
|
|
-1, -1,
|
|
1, 1,
|
|
0, [$0((m4_shift$1), (m4_shift$2))])])
|
|
T22,31
|
|
m4_expansion_stack_popm4_popdef([m4_expansion_stack])
|
|
T17,183
|
|
AC_F77_DUMMY_MAIN_m4_defun_pro([AC_F77_DUMMY_MAIN])AC_REQUIRE([AC_F77_LIBRARY_LDFLAGS])dnl
|
|
AC_LANG_PUSH(Fortran 77)dnl
|
|
_AC_FC_DUMMY_MAIN
|
|
AC_LANG_POP(Fortran 77)dnl
|
|
[]_m4_defun_epi([AC_F77_DUMMY_MAIN])
|
|
F7,7
|
|
traceontraceon
|
|
T10,68
|
|
_m4_divertm4_ifdef([_m4_divert($1)],
|
|
[m4_indir([_m4_divert($1)])],
|
|
[$1])
|
|
T18,6864
|
|
_AC_OUTPUT_HEADERScat >>$CONFIG_STATUS <<\_ACEOF
|
|
|
|
#
|
|
# CONFIG_HEADER section.
|
|
#
|
|
|
|
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
|
|
# NAME is the cpp macro being defined and VALUE is the value it is being given.
|
|
#
|
|
# ac_d sets the value in "#define NAME VALUE" lines.
|
|
dnl Double quote for the `[ ]' and `define'.
|
|
[ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
|
|
ac_dB='[ ].*$,\1#\2'
|
|
ac_dC=' '
|
|
ac_dD=',;t'
|
|
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
|
|
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
|
|
ac_uB='$,\1#\2define\3'
|
|
ac_uC=' '
|
|
ac_uD=',;t']
|
|
|
|
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
|
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
|
case $ac_file in
|
|
- | *:- | *:-:* ) # input from stdin
|
|
cat >$tmp/stdin
|
|
ac_file_in=`echo "$ac_file" | sed 's,[[^:]]*:,,'`
|
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[[^:]]*:,,'`
|
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
|
* ) ac_file_in=$ac_file.in ;;
|
|
esac
|
|
|
|
test x"$ac_file" != x- && AC_MSG_NOTICE([creating $ac_file])
|
|
|
|
# First look for the input files in the build tree, otherwise in the
|
|
# src tree.
|
|
ac_file_inputs=`IFS=:
|
|
for f in $ac_file_in; do
|
|
case $f in
|
|
-) echo $tmp/stdin ;;
|
|
[[\\/$]]*)
|
|
# Absolute (can't be DOS-style, as IFS=:)
|
|
test -f "$f" || AC_MSG_ERROR([cannot find input file: $f])
|
|
# Do quote $f, to prevent DOS paths from being IFS'd.
|
|
echo "$f";;
|
|
*) # Relative
|
|
if test -f "$f"; then
|
|
# Build tree
|
|
echo "$f"
|
|
elif test -f "$srcdir/$f"; then
|
|
# Source tree
|
|
echo "$srcdir/$f"
|
|
else
|
|
# /dev/null tree
|
|
AC_MSG_ERROR([cannot find input file: $f])
|
|
fi;;
|
|
esac
|
|
done` || AS_EXIT([1])
|
|
# Remove the trailing spaces.
|
|
sed 's/[[ ]]*$//' $ac_file_inputs >$tmp/in
|
|
|
|
_ACEOF
|
|
|
|
# Transform confdefs.h into two sed scripts, `conftest.defines' and
|
|
# `conftest.undefs', that substitutes the proper values into
|
|
# config.h.in to produce config.h. The first handles `#define'
|
|
# templates, and the second `#undef' templates.
|
|
# And first: Protect against being on the right side of a sed subst in
|
|
# config.status. Protect against being in an unquoted here document
|
|
# in config.status.
|
|
rm -f conftest.defines conftest.undefs
|
|
# Using a here document instead of a string reduces the quoting nightmare.
|
|
# Putting comments in sed scripts is not portable.
|
|
#
|
|
# `end' is used to avoid that the second main sed command (meant for
|
|
# 0-ary CPP macros) applies to n-ary macro definitions.
|
|
# See the Autoconf documentation for `clear'.
|
|
cat >confdef2sed.sed <<\_ACEOF
|
|
dnl Double quote for `[ ]' and `define'.
|
|
[s/[\\&,]/\\&/g
|
|
s,[\\$`],\\&,g
|
|
t clear
|
|
: clear
|
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
|
|
t end
|
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
|
|
: end]
|
|
_ACEOF
|
|
# If some macros were called several times there might be several times
|
|
# the same #defines, which is useless. Nevertheless, we may not want to
|
|
# sort them, since we want the *last* AC-DEFINE to be honored.
|
|
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
|
|
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
|
|
rm -f confdef2sed.sed
|
|
|
|
# This sed command replaces #undef with comments. This is necessary, for
|
|
# example, in the case of _POSIX_SOURCE, which is predefined and required
|
|
# on some systems where configure will not decide to define it.
|
|
cat >>conftest.undefs <<\_ACEOF
|
|
[s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,]
|
|
_ACEOF
|
|
|
|
# Break up conftest.defines because some shells have a limit on the size
|
|
# of here documents, and old seds have small limits too (100 cmds).
|
|
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
|
|
echo ' if grep ["^[ ]*#[ ]*define"] $tmp/in >/dev/null; then' >>$CONFIG_STATUS
|
|
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
|
|
echo ' :' >>$CONFIG_STATUS
|
|
rm -f conftest.tail
|
|
while grep . conftest.defines >/dev/null
|
|
do
|
|
# Write a limited-size here document to $tmp/defines.sed.
|
|
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
|
|
# Speed up: don't consider the non `#define' lines.
|
|
echo ['/^[ ]*#[ ]*define/!b'] >>$CONFIG_STATUS
|
|
# Work around the forget-to-reset-the-flag bug.
|
|
echo 't clr' >>$CONFIG_STATUS
|
|
echo ': clr' >>$CONFIG_STATUS
|
|
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
|
|
echo 'CEOF
|
|
sed -f $tmp/defines.sed $tmp/in >$tmp/out
|
|
rm -f $tmp/in
|
|
mv $tmp/out $tmp/in
|
|
' >>$CONFIG_STATUS
|
|
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
|
|
rm -f conftest.defines
|
|
mv conftest.tail conftest.defines
|
|
done
|
|
rm -f conftest.defines
|
|
echo ' fi # grep' >>$CONFIG_STATUS
|
|
echo >>$CONFIG_STATUS
|
|
|
|
# Break up conftest.undefs because some shells have a limit on the size
|
|
# of here documents, and old seds have small limits too (100 cmds).
|
|
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
|
|
rm -f conftest.tail
|
|
while grep . conftest.undefs >/dev/null
|
|
do
|
|
# Write a limited-size here document to $tmp/undefs.sed.
|
|
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
|
|
# Speed up: don't consider the non `#undef'
|
|
echo ['/^[ ]*#[ ]*undef/!b'] >>$CONFIG_STATUS
|
|
# Work around the forget-to-reset-the-flag bug.
|
|
echo 't clr' >>$CONFIG_STATUS
|
|
echo ': clr' >>$CONFIG_STATUS
|
|
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
|
|
echo 'CEOF
|
|
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
|
|
rm -f $tmp/in
|
|
mv $tmp/out $tmp/in
|
|
' >>$CONFIG_STATUS
|
|
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
|
|
rm -f conftest.undefs
|
|
mv conftest.tail conftest.undefs
|
|
done
|
|
rm -f conftest.undefs
|
|
|
|
dnl Now back to your regularly scheduled config.status.
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
|
# use $as_me), people would be surprised to read:
|
|
# /* config.h. Generated by config.status. */
|
|
if test x"$ac_file" = x-; then
|
|
echo "/* Generated by configure. */" >$tmp/config.h
|
|
else
|
|
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
|
|
fi
|
|
cat $tmp/in >>$tmp/config.h
|
|
rm -f $tmp/in
|
|
if test x"$ac_file" != x-; then
|
|
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
|
|
AC_MSG_NOTICE([$ac_file is unchanged])
|
|
else
|
|
ac_dir=`AS_DIRNAME(["$ac_file"])`
|
|
AS_MKDIR_P(["$ac_dir"])
|
|
rm -f $ac_file
|
|
mv $tmp/config.h $ac_file
|
|
fi
|
|
else
|
|
cat $tmp/config.h
|
|
rm -f $tmp/config.h
|
|
fi
|
|
dnl If running for Automake, be ready to perform additional
|
|
dnl commands to set up the timestamp files.
|
|
m4_ifdef([_AC_AM_CONFIG_HEADER_HOOK],
|
|
[_AC_AM_CONFIG_HEADER_HOOK([$ac_file])
|
|
])dnl
|
|
m4_ifset([AC_LIST_HEADERS_COMMANDS],
|
|
[ # Run the commands associated with the file.
|
|
case $ac_file in
|
|
AC_LIST_HEADERS_COMMANDS()dnl
|
|
esac
|
|
])dnl
|
|
done
|
|
_ACEOF
|
|
|
|
T7,156
|
|
AC_MMAP_m4_defun_pro([AC_MMAP])AC_DIAGNOSE([obsolete], [The macro `AC_MMAP' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_FUNC_MMAP($@)[]_m4_defun_epi([AC_MMAP])
|
|
T23,39
|
|
m4_location(AS_PREPARE)/usr/share/autoconf/m4sugar/m4sh.m4:230
|
|
T29,23
|
|
m4_location(AC_PROGRAM_CHECK)autoconf/oldnames.m4:62
|
|
T9,164
|
|
AC_MODE_T_m4_defun_pro([AC_MODE_T])AC_DIAGNOSE([obsolete], [The macro `AC_MODE_T' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_TYPE_MODE_T($@)[]_m4_defun_epi([AC_MODE_T])
|
|
T23,24
|
|
m4_location(AM_MINGW32)autoconf/oldnames.m4:112
|
|
T13,497
|
|
_AC_FUNC_FORK_m4_defun_pro([_AC_FUNC_FORK])AC_CACHE_CHECK(for working fork, ac_cv_func_fork_works,
|
|
[AC_RUN_IFELSE([/* By Ruediger Kuhlmann. */
|
|
#include <sys/types.h>
|
|
#if HAVE_UNISTD_H
|
|
# include <unistd.h>
|
|
#endif
|
|
/* Some systems only have a dummy stub for fork() */
|
|
int main ()
|
|
{
|
|
if (fork() < 0)
|
|
exit (1);
|
|
exit (0);
|
|
}],
|
|
[ac_cv_func_fork_works=yes],
|
|
[ac_cv_func_fork_works=no],
|
|
[ac_cv_func_fork_works=cross])])
|
|
[]_m4_defun_epi([_AC_FUNC_FORK])
|
|
T10,22
|
|
_AC_F90_FCf90 xlf90 pgf90 epcf90
|
|
T11,799
|
|
AC_PROG_CPP_m4_defun_pro([AC_PROG_CPP])AC_REQUIRE([AC_PROG_CC])dnl
|
|
AC_ARG_VAR([CPP], [C preprocessor])dnl
|
|
_AC_ARG_VAR_CPPFLAGS()dnl
|
|
AC_LANG_PUSH(C)dnl
|
|
AC_MSG_CHECKING([how to run the C preprocessor])
|
|
# On Suns, sometimes $CPP names a directory.
|
|
if test -n "$CPP" && test -d "$CPP"; then
|
|
CPP=
|
|
fi
|
|
if test -z "$CPP"; then
|
|
AC_CACHE_VAL([ac_cv_prog_CPP],
|
|
[dnl
|
|
# Double quotes because CPP needs to be expanded
|
|
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
|
do
|
|
_AC_PROG_PREPROC_WORKS_IFELSE([break])
|
|
done
|
|
ac_cv_prog_CPP=$CPP
|
|
])dnl
|
|
CPP=$ac_cv_prog_CPP
|
|
else
|
|
ac_cv_prog_CPP=$CPP
|
|
fi
|
|
AC_MSG_RESULT([$CPP])
|
|
_AC_PROG_PREPROC_WORKS_IFELSE([],
|
|
[AC_MSG_FAILURE([C preprocessor "$CPP" fails sanity check])])
|
|
AC_SUBST(CPP)dnl
|
|
AC_LANG_POP(C)dnl
|
|
[]_m4_defun_epi([AC_PROG_CPP])
|
|
T10,627
|
|
m4_requirem4_expansion_stack_push(m4_location[: $1 is required by...])dnl
|
|
m4_ifdef([_m4_expanding($1)],
|
|
[m4_fatal([$0: circular dependency of $1])])dnl
|
|
m4_ifndef([_m4_divert_dump],
|
|
[m4_fatal([$0: cannot be used outside of an m4_defun'd macro])])dnl
|
|
m4_provide_if([$1],
|
|
[],
|
|
[m4_divert_push(m4_eval(m4_divnum - 1))dnl
|
|
m4_default([$2], [$1])
|
|
m4_divert(m4_defn([_m4_divert_dump]))dnl
|
|
m4_undivert(m4_defn([_m4_divert_diversion]))dnl
|
|
m4_divert_pop(m4_defn([_m4_divert_dump]))])dnl
|
|
m4_provide_if([$1],
|
|
[],
|
|
[m4_warn([syntax],
|
|
[$1 is m4_require'd but is not m4_defun'd])])dnl
|
|
m4_expansion_stack_pop()dnl
|
|
|
|
T20,23
|
|
m4_location(AC_WARN)autoconf/oldnames.m4:54
|
|
T16,183
|
|
AC_PROGRAM_EGREP_m4_defun_pro([AC_PROGRAM_EGREP])AC_DIAGNOSE([obsolete], [The macro `AC_PROGRAM_EGREP' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_EGREP_CPP($@)[]_m4_defun_epi([AC_PROGRAM_EGREP])
|
|
T9,317
|
|
AC_EMXOS2_m4_defun_pro([AC_EMXOS2])AC_DIAGNOSE([obsolete], [The macro `AC_EMXOS2' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_CANONICAL_HOST
|
|
AC_DIAGNOSE([obsolete],
|
|
[$0 is obsolete: use AC_CANONICAL_HOST and $host_os])dnl
|
|
case $host_os in
|
|
*emx* ) EMXOS2=yes;;
|
|
* ) EMXOS2=no;;
|
|
esac
|
|
[]_m4_defun_epi([AC_EMXOS2])
|
|
T26,26
|
|
m4_location(_AC_FUNC_FORK)autoconf/functions.m4:1760
|
|
T30,20
|
|
m4_location(AC_NO_EXECUTABLES)autoconf/lang.m4:400
|
|
T21,2039
|
|
__AC_FC_NAME_MANGLING_m4_defun_pro([__AC_FC_NAME_MANGLING])_AC_FORTRAN_ASSERT()dnl
|
|
AC_CACHE_CHECK([for Fortran name-mangling scheme],
|
|
ac_cv_[]_AC_LANG_ABBREV[]_mangling,
|
|
[AC_COMPILE_IFELSE(
|
|
[ subroutine foobar()
|
|
return
|
|
end
|
|
subroutine foo_bar()
|
|
return
|
|
end],
|
|
[mv conftest.$ac_objext cfortran_test.$ac_objext
|
|
|
|
ac_save_LIBS=$LIBS
|
|
LIBS="cfortran_test.$ac_objext $LIBS $[]_AC_LANG_PREFIX[]LIBS"
|
|
|
|
AC_LANG_PUSH(C)dnl
|
|
ac_success=no
|
|
for ac_foobar in foobar FOOBAR; do
|
|
for ac_underscore in "" "_"; do
|
|
ac_func="$ac_foobar$ac_underscore"
|
|
AC_LINK_IFELSE([AC_LANG_CALL([], [$ac_func])],
|
|
[ac_success=yes; break 2])
|
|
done
|
|
done
|
|
AC_LANG_POP(C)dnl
|
|
|
|
if test "$ac_success" = "yes"; then
|
|
case $ac_foobar in
|
|
foobar)
|
|
ac_case=lower
|
|
ac_foo_bar=foo_bar
|
|
;;
|
|
FOOBAR)
|
|
ac_case=upper
|
|
ac_foo_bar=FOO_BAR
|
|
;;
|
|
esac
|
|
|
|
AC_LANG_PUSH(C)dnl
|
|
ac_success_extra=no
|
|
for ac_extra in "" "_"; do
|
|
ac_func="$ac_foo_bar$ac_underscore$ac_extra"
|
|
AC_LINK_IFELSE([AC_LANG_CALL([], [$ac_func])],
|
|
[ac_success_extra=yes; break])
|
|
done
|
|
AC_LANG_POP(C)dnl
|
|
|
|
if test "$ac_success_extra" = "yes"; then
|
|
ac_cv_[]_AC_LANG_ABBREV[]_mangling="$ac_case case"
|
|
if test -z "$ac_underscore"; then
|
|
ac_cv_[]_AC_LANG_ABBREV[]_mangling="$ac_cv_[]_AC_LANG_ABBREV[]_mangling, no underscore"
|
|
else
|
|
ac_cv_[]_AC_LANG_ABBREV[]_mangling="$ac_cv_[]_AC_LANG_ABBREV[]_mangling, underscore"
|
|
fi
|
|
if test -z "$ac_extra"; then
|
|
ac_cv_[]_AC_LANG_ABBREV[]_mangling="$ac_cv_[]_AC_LANG_ABBREV[]_mangling, no extra underscore"
|
|
else
|
|
ac_cv_[]_AC_LANG_ABBREV[]_mangling="$ac_cv_[]_AC_LANG_ABBREV[]_mangling, extra underscore"
|
|
fi
|
|
else
|
|
ac_cv_[]_AC_LANG_ABBREV[]_mangling="unknown"
|
|
fi
|
|
else
|
|
ac_cv_[]_AC_LANG_ABBREV[]_mangling="unknown"
|
|
fi
|
|
|
|
LIBS=$ac_save_LIBS
|
|
rm -f cfortran_test* conftest*],
|
|
[AC_MSG_FAILURE([cannot compile a simple Fortran program])])
|
|
])
|
|
[]_m4_defun_epi([__AC_FC_NAME_MANGLING])
|
|
T13,190
|
|
AC_DEFUN_ONCEm4_define([m4_location($1)], m4_location)dnl
|
|
m4_define([$1],
|
|
[m4_provide_if([$1],
|
|
[m4_warn([syntax], [$1 invoked multiple times])],
|
|
[_m4_defun_pro([$1])$2[]_m4_defun_epi([$1])])])
|
|
F6,6
|
|
regexpregexp
|
|
T18,489
|
|
_AC_LIBOBJ_FNMATCH_m4_defun_pro([_AC_LIBOBJ_FNMATCH])AC_REQUIRE([AC_C_CONST])dnl
|
|
AC_REQUIRE([AC_FUNC_ALLOCA])dnl
|
|
AC_REQUIRE([AC_TYPE_MBSTATE_T])dnl
|
|
AC_CHECK_DECLS([getenv])
|
|
AC_CHECK_FUNCS([btowc mbsrtowcs mempcpy wmempcpy])
|
|
AC_CHECK_HEADERS([wchar.h wctype.h])
|
|
AC_LIBOBJ([fnmatch])
|
|
AC_CONFIG_LINKS([$ac_config_libobj_dir/fnmatch.h:$ac_config_libobj_dir/fnmatch_.h])
|
|
AC_DEFINE(fnmatch, rpl_fnmatch,
|
|
[Define to rpl_fnmatch if the replacement function should be used.])
|
|
[]_m4_defun_epi([_AC_LIBOBJ_FNMATCH])
|
|
T17,41
|
|
AC_PROVIDE_IFELSEm4_ifdef([m4_provide($1)],
|
|
[$2], [$3])
|
|
T25,20
|
|
m4_location(AC_CHECK_LIB)autoconf/libs.m4:134
|
|
T14,285
|
|
AC_CHECK_TYPES_m4_defun_pro([AC_CHECK_TYPES])m4_foreach([AC_Type], [$1],
|
|
[_AC_CHECK_TYPE_NEW(AC_Type,
|
|
[AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_[]AC_Type), 1,
|
|
[Define to 1 if the system has the
|
|
type `]AC_Type['.])
|
|
$2],
|
|
[$3],
|
|
[$4])])[]_m4_defun_epi([AC_CHECK_TYPES])
|
|
T21,23
|
|
m4_location(AC_OFF_T)autoconf/oldnames.m4:89
|
|
T21,207
|
|
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.
|
|
You should run autoupdate.])dnl
|
|
AC_FUNC_ERROR_AT_LINE($@)[]_m4_defun_epi([AM_FUNC_ERROR_AT_LINE])
|
|
T21,3
|
|
_m4_divert(HELP_WITH)103
|
|
T9,159
|
|
AC_FIND_X_m4_defun_pro([AC_FIND_X])AC_DIAGNOSE([obsolete], [The macro `AC_FIND_X' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_PATH_X($@)[]_m4_defun_epi([AC_FIND_X])
|
|
T10,156
|
|
AC_FC_MAIN_m4_defun_pro([AC_FC_MAIN])AC_REQUIRE([AC_FC_LIBRARY_LDFLAGS])dnl
|
|
AC_LANG_PUSH(Fortran)dnl
|
|
_AC_FC_MAIN
|
|
AC_LANG_POP(Fortran)dnl
|
|
[]_m4_defun_epi([AC_FC_MAIN])
|
|
T30,24
|
|
m4_location(AC_PREPROC_IFELSE)autoconf/general.m4:2097
|
|
T32,24
|
|
m4_location(AC_CANONICAL_SYSTEM)autoconf/general.m4:1660
|
|
T25,24
|
|
m4_location(AC_ARG_ARRAY)autoconf/specific.m4:109
|
|
T10,170
|
|
AC_ST_RDEV_m4_defun_pro([AC_ST_RDEV])AC_DIAGNOSE([obsolete], [The macro `AC_ST_RDEV' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_STRUCT_ST_RDEV($@)[]_m4_defun_epi([AC_ST_RDEV])
|
|
T11,174
|
|
AC_TIMEZONE_m4_defun_pro([AC_TIMEZONE])AC_DIAGNOSE([obsolete], [The macro `AC_TIMEZONE' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_STRUCT_TIMEZONE($@)[]_m4_defun_epi([AC_TIMEZONE])
|
|
T23,618
|
|
AC_PROG_GCC_TRADITIONAL_m4_defun_pro([AC_PROG_GCC_TRADITIONAL])if test $ac_cv_c_compiler_gnu = yes; then
|
|
AC_CACHE_CHECK(whether $CC needs -traditional,
|
|
ac_cv_prog_gcc_traditional,
|
|
[ ac_pattern="Autoconf.*'x'"
|
|
AC_EGREP_CPP($ac_pattern, [#include <sgtty.h>
|
|
Autoconf TIOCGETP],
|
|
ac_cv_prog_gcc_traditional=yes, ac_cv_prog_gcc_traditional=no)
|
|
|
|
if test $ac_cv_prog_gcc_traditional = no; then
|
|
AC_EGREP_CPP($ac_pattern, [#include <termio.h>
|
|
Autoconf TCGETA],
|
|
ac_cv_prog_gcc_traditional=yes)
|
|
fi])
|
|
if test $ac_cv_prog_gcc_traditional = yes; then
|
|
CC="$CC -traditional"
|
|
fi
|
|
fi
|
|
[]_m4_defun_epi([AC_PROG_GCC_TRADITIONAL])
|
|
T10,1709
|
|
AC_C_CONST_m4_defun_pro([AC_C_CONST])AC_CACHE_CHECK([for an ANSI C-conforming const], ac_cv_c_const,
|
|
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],
|
|
[[/* FIXME: Include the comments suggested by Paul. */
|
|
#ifndef __cplusplus
|
|
/* Ultrix mips cc rejects this. */
|
|
typedef int charset[2];
|
|
const charset x;
|
|
/* SunOS 4.1.1 cc rejects this. */
|
|
char const *const *ccp;
|
|
char **p;
|
|
/* NEC SVR4.0.2 mips cc rejects this. */
|
|
struct point {int x, y;};
|
|
static struct point const zero = {0,0};
|
|
/* AIX XL C 1.02.0.0 rejects this.
|
|
It does not let you subtract one const X* pointer from another in
|
|
an arm of an if-expression whose if-part is not a constant
|
|
expression */
|
|
const char *g = "string";
|
|
ccp = &g + (g ? g-g : 0);
|
|
/* HPUX 7.0 cc rejects these. */
|
|
++ccp;
|
|
p = (char**) ccp;
|
|
ccp = (char const *const *) p;
|
|
{ /* SCO 3.2v4 cc rejects this. */
|
|
char *t;
|
|
char const *s = 0 ? (char *) 0 : (char const *) 0;
|
|
|
|
*t++ = 0;
|
|
}
|
|
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
|
|
int x[] = {25, 17};
|
|
const int *foo = &x[0];
|
|
++foo;
|
|
}
|
|
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
|
|
typedef const int *iptr;
|
|
iptr p = 0;
|
|
++p;
|
|
}
|
|
{ /* AIX XL C 1.02.0.0 rejects this saying
|
|
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
|
|
struct s { int j; const int *ap[3]; };
|
|
struct s *b; b->j = 5;
|
|
}
|
|
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
|
|
const int foo = 10;
|
|
}
|
|
#endif
|
|
]])],
|
|
[ac_cv_c_const=yes],
|
|
[ac_cv_c_const=no])])
|
|
if test $ac_cv_c_const = no; then
|
|
AC_DEFINE(const,,
|
|
[Define to empty if `const' does not conform to ANSI C.])
|
|
fi
|
|
[]_m4_defun_epi([AC_C_CONST])
|
|
T19,309
|
|
m4_version_unletterm4_translit(m4_bpatsubsts([$1],
|
|
[\([0-9]+\)\([abcdefghi]\)],
|
|
[m4_eval(\1 + 1).-1.\2],
|
|
[\([0-9]+\)\([jklmnopqrs]\)],
|
|
[m4_eval(\1 + 1).-1.1\2],
|
|
[\([0-9]+\)\([tuvwxyz]\)],
|
|
[m4_eval(\1 + 1).-1.2\2]),
|
|
[abcdefghijklmnopqrstuvwxyz],
|
|
[12345678901234567890123456])
|
|
T26,26
|
|
m4_location(AC_UTIME_NULL)autoconf/functions.m4:1693
|
|
T14,122
|
|
AS_VAR_PUSHDEFAS_LITERAL_IF([$2],
|
|
[m4_pushdef([$1], [AS_TR_SH($2)])],
|
|
[as_$1=AS_TR_SH($2)
|
|
m4_pushdef([$1], [$as_[$1]])])
|
|
T23,219
|
|
AC_RESTARTABLE_SYSCALLS_m4_defun_pro([AC_RESTARTABLE_SYSCALLS])AC_DIAGNOSE([obsolete], [The macro `AC_RESTARTABLE_SYSCALLS' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_SYS_RESTARTABLE_SYSCALLS($@)[]_m4_defun_epi([AC_RESTARTABLE_SYSCALLS])
|
|
T17,391
|
|
AC_CONFIG_SUBDIRS_m4_defun_pro([AC_CONFIG_SUBDIRS])_AC_CONFIG_UNIQUE([$1])dnl
|
|
AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
|
|
m4_append([_AC_LIST_SUBDIRS], [ $1])dnl
|
|
AS_LITERAL_IF([$1], [],
|
|
[AC_DIAGNOSE(syntax, [$0: you should use literals])])
|
|
m4_divert_text([DEFAULTS],
|
|
[ac_subdirs_all="$ac_subdirs_all m4_normalize([$1])"])
|
|
AC_SUBST(subdirs, "$subdirs $1")dnl
|
|
[]_m4_defun_epi([AC_CONFIG_SUBDIRS])
|
|
T10,27
|
|
AC_WARNINGAC_DIAGNOSE([syntax], [$1])
|
|
T7,127
|
|
m4_warn_m4_warn([$1], [$2],
|
|
m4_ifdef([m4_expansion_stack],
|
|
[m4_defn([m4_expansion_stack])
|
|
m4_location[: the top level]]))dnl
|
|
|
|
T12,1203
|
|
AC_FUNC_FORK_m4_defun_pro([AC_FUNC_FORK])AC_REQUIRE([AC_TYPE_PID_T])dnl
|
|
AC_CHECK_HEADERS(unistd.h vfork.h)
|
|
AC_CHECK_FUNCS(fork vfork)
|
|
if test "x$ac_cv_func_fork" = xyes; then
|
|
_AC_FUNC_FORK
|
|
else
|
|
ac_cv_func_fork_works=$ac_cv_func_fork
|
|
fi
|
|
if test "x$ac_cv_func_fork_works" = xcross; then
|
|
case $host in
|
|
*-*-amigaos* | *-*-msdosdjgpp*)
|
|
# Override, as these systems have only a dummy fork() stub
|
|
ac_cv_func_fork_works=no
|
|
;;
|
|
*)
|
|
ac_cv_func_fork_works=yes
|
|
;;
|
|
esac
|
|
AC_MSG_WARN([result $ac_cv_func_fork_works guessed because of cross compilation])
|
|
fi
|
|
ac_cv_func_vfork_works=$ac_cv_func_vfork
|
|
if test "x$ac_cv_func_vfork" = xyes; then
|
|
_AC_FUNC_VFORK
|
|
fi;
|
|
if test "x$ac_cv_func_fork_works" = xcross; then
|
|
ac_cv_func_vfork_works=$ac_cv_func_vfork
|
|
AC_MSG_WARN([result $ac_cv_func_vfork_works guessed because of cross compilation])
|
|
fi
|
|
|
|
if test "x$ac_cv_func_vfork_works" = xyes; then
|
|
AC_DEFINE(HAVE_WORKING_VFORK, 1, [Define to 1 if `vfork' works.])
|
|
else
|
|
AC_DEFINE(vfork, fork, [Define as `fork' if `vfork' does not work.])
|
|
fi
|
|
if test "x$ac_cv_func_fork_works" = xyes; then
|
|
AC_DEFINE(HAVE_WORKING_FORK, 1, [Define to 1 if `fork' works.])
|
|
fi
|
|
[]_m4_defun_epi([AC_FUNC_FORK])
|
|
T24,39
|
|
m4_location(_AS_PREPARE)/usr/share/autoconf/m4sugar/m4sh.m4:222
|
|
T16,1273
|
|
AC_SYS_LARGEFILE_m4_defun_pro([AC_SYS_LARGEFILE])AC_ARG_ENABLE(largefile,
|
|
[ --disable-largefile omit support for large files])
|
|
if test "$enable_largefile" != no; then
|
|
|
|
AC_CACHE_CHECK([for special C compiler options needed for large files],
|
|
ac_cv_sys_largefile_CC,
|
|
[ac_cv_sys_largefile_CC=no
|
|
if test "$GCC" != yes; then
|
|
ac_save_CC=$CC
|
|
while :; do
|
|
# IRIX 6.2 and later do not support large files by default,
|
|
# so use the C compiler's -n32 option if that helps.
|
|
AC_LANG_CONFTEST([AC_LANG_PROGRAM([_AC_SYS_LARGEFILE_TEST_INCLUDES])])
|
|
AC_COMPILE_IFELSE([], [break])
|
|
CC="$CC -n32"
|
|
AC_COMPILE_IFELSE([], [ac_cv_sys_largefile_CC=' -n32'; break])
|
|
break
|
|
done
|
|
CC=$ac_save_CC
|
|
rm -f conftest.$ac_ext
|
|
fi])
|
|
if test "$ac_cv_sys_largefile_CC" != no; then
|
|
CC=$CC$ac_cv_sys_largefile_CC
|
|
fi
|
|
|
|
_AC_SYS_LARGEFILE_MACRO_VALUE(_FILE_OFFSET_BITS, 64,
|
|
ac_cv_sys_file_offset_bits,
|
|
[Number of bits in a file offset, on hosts where this is settable.],
|
|
[_AC_SYS_LARGEFILE_TEST_INCLUDES])
|
|
_AC_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES, 1,
|
|
ac_cv_sys_large_files,
|
|
[Define for large files, on AIX-style hosts.],
|
|
[_AC_SYS_LARGEFILE_TEST_INCLUDES])
|
|
fi
|
|
[]_m4_defun_epi([AC_SYS_LARGEFILE])
|
|
T11,382
|
|
AC_PROG_LEXm4_provide_if([AC_PROG_LEX],
|
|
[m4_warn([syntax], [AC_PROG_LEX invoked multiple times])],
|
|
[_m4_defun_pro([AC_PROG_LEX])AC_CHECK_PROGS(LEX, flex lex, :)
|
|
if test -z "$LEXLIB"
|
|
then
|
|
AC_CHECK_LIB(fl, yywrap, LEXLIB="-lfl",
|
|
[AC_CHECK_LIB(l, yywrap, LEXLIB="-ll")])
|
|
fi
|
|
AC_SUBST(LEXLIB)
|
|
if test "x$LEX" != "x:"; then
|
|
_AC_PROG_LEX_YYTEXT_DECL
|
|
fi[]_m4_defun_epi([AC_PROG_LEX])])
|
|
T16,117
|
|
AC_CONFIG_SRCDIR_m4_defun_pro([AC_CONFIG_SRCDIR])m4_divert_text([DEFAULTS], [ac_unique_file="$1"])[]_m4_defun_epi([AC_CONFIG_SRCDIR])
|
|
T50,25
|
|
m4_location(AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)autoconf/functions.m4:838
|
|
T31,24
|
|
m4_location(AC_CONFIG_AUX_DIRS)autoconf/general.m4:1536
|
|
F7,7
|
|
esyscmdesyscmd
|
|
F7,7
|
|
builtinbuiltin
|
|
T22,0
|
|
AC_LIST_LINKS_COMMANDS
|
|
T12,300
|
|
AC_CACHE_VAL_m4_defun_pro([AC_CACHE_VAL])m4_bmatch([$2], [AC_DEFINE],
|
|
[AC_DIAGNOSE(syntax,
|
|
[$0($1, ...): suspicious presence of an AC_DEFINE in the second argument, ]dnl
|
|
[where no actions should be taken])])dnl
|
|
AS_VAR_SET_IF([$1],
|
|
[_AS_ECHO_N([(cached) ])],
|
|
[$2])[]_m4_defun_epi([AC_CACHE_VAL])
|
|
T27,17
|
|
m4_location(AC_PROG_CXXCPP)autoconf/c.m4:646
|
|
T10,42
|
|
_AC_F95_FCf95 fort xlf95 ifc efc pgf95 lf95 gfortran
|
|
T32,23
|
|
m4_location(AC_INCLUDES_DEFAULT)autoconf/headers.m4:283
|
|
T14,300
|
|
_AS_CR_PREPARE_m4_defun_pro([_AS_CR_PREPARE])# Avoid depending upon Character Ranges.
|
|
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
as_cr_digits='0123456789'
|
|
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
[]_m4_defun_epi([_AS_CR_PREPARE])
|
|
T17,0
|
|
m4_pattern_forbid
|
|
T9,159
|
|
m4_divertm4_define([m4_divert_stack],
|
|
m4_location[: $0: $1]m4_ifdef([m4_divert_stack], [
|
|
m4_defn([m4_divert_stack])]))dnl
|
|
m4_builtin([divert], _m4_divert([$1]))dnl
|
|
|
|
F4,4
|
|
incrincr
|
|
T18,405
|
|
_AC_LIST_MEMBER_IF_m4_defun_pro([_AC_LIST_MEMBER_IF])dnl Do some sanity checking of the arguments.
|
|
m4_if([$1], , [AC_FATAL([$0: missing argument 1])])dnl
|
|
m4_if([$2], , [AC_FATAL([$0: missing argument 2])])dnl
|
|
ac_exists=false
|
|
for ac_i in $2; do
|
|
if test x"$1" = x"$ac_i"; then
|
|
ac_exists=true
|
|
break
|
|
fi
|
|
done
|
|
|
|
AS_IF([test x"$ac_exists" = xtrue], [$3], [$4])[]dnl
|
|
[]_m4_defun_epi([_AC_LIST_MEMBER_IF])
|
|
T18,107
|
|
m4_version_comparem4_list_cmp((m4_split(m4_version_unletter([$1]), [\.])),
|
|
(m4_split(m4_version_unletter([$2]), [\.])))
|
|
T7,0
|
|
__gnu__
|
|
T12,912
|
|
AC_FC_SRCEXT_m4_defun_pro([AC_FC_SRCEXT])AC_LANG_ASSERT(Fortran)dnl
|
|
AC_CACHE_CHECK([for Fortran flag to compile .$1 files],
|
|
ac_cv_fc_srcext_$1,
|
|
[ac_ext=$1
|
|
ac_fc_srcext_FCFLAGS_SRCEXT_save=$FCFLAGS_SRCEXT
|
|
FCFLAGS_SRCEXT=""
|
|
ac_cv_fc_srcext_$1=unknown
|
|
for ac_flag in none -qsuffix=f=$1 -Tf; do
|
|
test "x$ac_flag" != xnone && FCFLAGS_SRCEXT="$ac_flag"
|
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM()], [ac_cv_fc_srcext_$1=$ac_flag; break])
|
|
done
|
|
rm -f conftest.$ac_objext conftest.$1
|
|
FCFLAGS_SRCEXT=$ac_fc_srcext_FCFLAGS_SRCEXT_save
|
|
])
|
|
if test "x$ac_cv_fc_srcext_$1" = xunknown; then
|
|
m4_default([$3],[AC_MSG_ERROR([Fortran could not compile .$1 files])])
|
|
else
|
|
FC_SRCEXT=$1
|
|
if test "x$ac_cv_fc_srcext_$1" = xnone; then
|
|
FCFLAGS_SRCEXT=""
|
|
FCFLAGS_[]$1[]=""
|
|
else
|
|
FCFLAGS_SRCEXT=$ac_cv_fc_srcext_$1
|
|
FCFLAGS_[]$1[]=$ac_cv_fc_srcext_$1
|
|
fi
|
|
AC_SUBST(FCFLAGS_[]$1)
|
|
$2
|
|
fi
|
|
[]_m4_defun_epi([AC_FC_SRCEXT])
|
|
T24,24
|
|
m4_location(AC_PROG_LEX)autoconf/programs.m4:391
|
|
T37,23
|
|
m4_location(AC_LANG_PREPROC(Fortran))autoconf/fortran.m4:281
|
|
T24,24
|
|
m4_location(AC_SCO_INTL)autoconf/specific.m4:484
|
|
T25,20
|
|
m4_location(AC_LANG_SAVE)autoconf/lang.m4:166
|
|
T14,328
|
|
AC_CHECK_FUNCS_m4_defun_pro([AC_CHECK_FUNCS])AC_FOREACH([AC_Func], [$1],
|
|
[AH_TEMPLATE(AS_TR_CPP(HAVE_[]AC_Func),
|
|
[Define to 1 if you have the `]AC_Func[' function.])])dnl
|
|
for ac_func in $1
|
|
do
|
|
AC_CHECK_FUNC($ac_func,
|
|
[AC_DEFINE_UNQUOTED([AS_TR_CPP([HAVE_$ac_func])]) $2],
|
|
[$3])dnl
|
|
done
|
|
[]_m4_defun_epi([AC_CHECK_FUNCS])
|
|
T25,24
|
|
m4_location(AC_ISC_POSIX)autoconf/specific.m4:451
|
|
T27,18
|
|
m4_location(AC_C_BIGENDIAN)autoconf/c.m4:1011
|
|
F6,6
|
|
definedefine
|
|
T14,102
|
|
AC_TRY_COMMAND_m4_defun_pro([AC_TRY_COMMAND]){ ac_try='$1'
|
|
_AC_EVAL([$ac_try]); }[]_m4_defun_epi([AC_TRY_COMMAND])
|
|
T8,40
|
|
undivertm4_builtin([undivert], _m4_divert([$1]))
|
|
T24,24
|
|
m4_location(AC_PROG_AWK)autoconf/programs.m4:264
|
|
T31,23
|
|
m4_location(AC_MINUS_C_MINUS_O)autoconf/oldnames.m4:87
|
|
T16,120
|
|
AC_TRY_LINK_FUNC_m4_defun_pro([AC_TRY_LINK_FUNC])AC_LINK_IFELSE([AC_LANG_CALL([], [$1])], [$2], [$3])[]_m4_defun_epi([AC_TRY_LINK_FUNC])
|
|
T25,23
|
|
m4_location(AC_FIND_XTRA)autoconf/oldnames.m4:79
|
|
T14,225
|
|
AC_TRY_COMPILE_m4_defun_pro([AC_TRY_COMPILE])AC_DIAGNOSE([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[$1]], [[$2]])], [$3], [$4])[]_m4_defun_epi([AC_TRY_COMPILE])
|
|
T18,851
|
|
AC_CANONICAL_BUILDm4_provide_if([AC_CANONICAL_BUILD],
|
|
[m4_warn([syntax], [AC_CANONICAL_BUILD invoked multiple times])],
|
|
[_m4_defun_pro([AC_CANONICAL_BUILD])AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
|
|
m4_divert_text([HELP_CANON],
|
|
[[
|
|
System types:
|
|
--build=BUILD configure for building on BUILD [guessed]]])dnl
|
|
# Make sure we can run config.sub.
|
|
$ac_config_sub sun4 >/dev/null 2>&1 ||
|
|
AC_MSG_ERROR([cannot run $ac_config_sub])
|
|
|
|
AC_CACHE_CHECK([build system type], [ac_cv_build],
|
|
[ac_cv_build_alias=$build_alias
|
|
test -z "$ac_cv_build_alias" &&
|
|
ac_cv_build_alias=`$ac_config_guess`
|
|
test -z "$ac_cv_build_alias" &&
|
|
AC_MSG_ERROR([cannot guess build type; you must specify one])
|
|
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
|
|
AC_MSG_ERROR([$ac_config_sub $ac_cv_build_alias failed])
|
|
])
|
|
_AC_CANONICAL_SPLIT(build)
|
|
[]_m4_defun_epi([AC_CANONICAL_BUILD])])
|
|
T11,72
|
|
AH_TEMPLATEAH_VERBATIM([$1],
|
|
m4_text_wrap([$2 */], [ ], [/* ])[
|
|
#undef $1])
|
|
T10,27
|
|
AC_PROVIDEm4_define([m4_provide($1)])
|
|
T13,411
|
|
AC_DIVERT_POPm4_ifval([$1],
|
|
[m4_if(_m4_divert([$1]), m4_divnum, [],
|
|
[m4_fatal([$0($1): diversion mismatch: ]
|
|
m4_defn([m4_divert_stack]))])])dnl
|
|
m4_popdef([_m4_divert_diversion])dnl
|
|
dnl m4_ifndef([_m4_divert_diversion],
|
|
dnl [m4_fatal([too many m4_divert_pop])])dnl
|
|
m4_builtin([divert],
|
|
m4_ifdef([_m4_divert_diversion],
|
|
[_m4_divert(_m4_divert_diversion)], -1))dnl
|
|
m4_popdef([m4_divert_stack])dnl
|
|
|
|
T30,23
|
|
m4_location(AC_CONFIG_TESTDIR)autoconf/autotest.m4:86
|
|
T30,24
|
|
m4_location(AC_CONFIG_AUX_DIR)autoconf/general.m4:1495
|
|
T9,0
|
|
AH_OUTPUT
|
|
T26,21
|
|
m4_location(AC_CHECK_TYPE)autoconf/types.m4:234
|
|
T9,167
|
|
AC_PREFIX_m4_defun_pro([AC_PREFIX])AC_DIAGNOSE([obsolete], [The macro `AC_PREFIX' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_PREFIX_PROGRAM($@)[]_m4_defun_epi([AC_PREFIX])
|
|
T9,54
|
|
AC_OBJEXT_m4_defun_pro([AC_OBJEXT])[]_m4_defun_epi([AC_OBJEXT])
|
|
T14,179
|
|
AC_HELP_STRING_m4_defun_pro([AC_HELP_STRING])AC_DIAGNOSE([obsolete], [The macro `AC_HELP_STRING' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AS_HELP_STRING($@)[]_m4_defun_epi([AC_HELP_STRING])
|
|
T27,20
|
|
m4_location(AC_REQUIRE_CPP)autoconf/lang.m4:346
|
|
T32,24
|
|
m4_location(AC_CANONICAL_TARGET)autoconf/general.m4:1657
|
|
T10,276
|
|
_AC_LIBOBJAS_LITERAL_IF([$1],
|
|
[AC_LIBSOURCE([$1.c])],
|
|
[$2])dnl
|
|
AC_SUBST([LIB@&t@OBJS])dnl
|
|
case $LIB@&t@OBJS in
|
|
"$1.$ac_objext" | \
|
|
*" $1.$ac_objext" | \
|
|
"$1.$ac_objext "* | \
|
|
*" $1.$ac_objext "* ) ;;
|
|
*) LIB@&t@OBJS="$LIB@&t@OBJS $1.$ac_objext" ;;
|
|
esac
|
|
|
|
T13,1113
|
|
AC_CACHE_SAVEcat >confcache <<\_ACEOF
|
|
# This file is a shell script that caches the results of configure
|
|
# tests run on this system so they can be shared between configure
|
|
# scripts and configure runs, see configure's option --config-cache.
|
|
# It is not useful on other systems. If it contains results you don't
|
|
# want to keep, you may remove or edit it.
|
|
#
|
|
# config.status only pays attention to the cache file if you give it
|
|
# the --recheck option to rerun configure.
|
|
#
|
|
# `ac_cv_env_foo' variables (set or unset) will be overridden when
|
|
# loading this file, other *unset* `ac_cv_foo' will be assigned the
|
|
# following values.
|
|
|
|
_ACEOF
|
|
|
|
_AC_CACHE_DUMP() |
|
|
sed ['
|
|
t clear
|
|
: clear
|
|
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
|
t end
|
|
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
|
: end'] >>confcache
|
|
if diff $cache_file confcache >/dev/null 2>&1; then :; else
|
|
if test -w $cache_file; then
|
|
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
|
|
cat confcache >$cache_file
|
|
else
|
|
echo "not updating unwritable cache $cache_file"
|
|
fi
|
|
fi
|
|
rm -f confcache[]dnl
|
|
|
|
T18,1
|
|
_m4_divert(NOTICE)4
|
|
T20,220
|
|
_AC_FC_NAME_MANGLING_m4_defun_pro([_AC_FC_NAME_MANGLING])AC_REQUIRE([AC_FC_LIBRARY_LDFLAGS])dnl
|
|
AC_REQUIRE([AC_FC_DUMMY_MAIN])dnl
|
|
AC_LANG_PUSH(Fortran)dnl
|
|
__AC_FC_NAME_MANGLING
|
|
AC_LANG_POP(Fortran)dnl
|
|
[]_m4_defun_epi([_AC_FC_NAME_MANGLING])
|
|
T11,324
|
|
AC_PROG_F77_m4_defun_pro([AC_PROG_F77])AC_LANG_PUSH(Fortran 77)dnl
|
|
AC_ARG_VAR([F77], [Fortran 77 compiler command])dnl
|
|
AC_ARG_VAR([FFLAGS], [Fortran 77 compiler flags])dnl
|
|
_AC_ARG_VAR_LDFLAGS()dnl
|
|
_AC_PROG_FC([Fortran 77], [$1])
|
|
G77=`test $ac_compiler_gnu = yes && echo yes`
|
|
AC_LANG_POP(Fortran 77)dnl
|
|
[]_m4_defun_epi([AC_PROG_F77])
|
|
F9,6
|
|
m4_syscmdsyscmd
|
|
T10,206
|
|
AC_TRY_RUN_m4_defun_pro([AC_TRY_RUN])AC_DIAGNOSE([obsolete], [The macro `AC_TRY_RUN' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_RUN_IFELSE([AC_LANG_SOURCE([[$1]])], [$2], [$3], [$4])[]_m4_defun_epi([AC_TRY_RUN])
|
|
T22,24
|
|
AC_OUTPUT_COMMANDS_PRE_AC_LIBOBJS_NORMALIZE()
|
|
|
|
T31,24
|
|
m4_location(AC_WORDS_BIGENDIAN)autoconf/oldnames.m4:104
|
|
T27,24
|
|
m4_location(AC_CACHE_CHECK)autoconf/general.m4:1808
|
|
T21,1466
|
|
_AC_LIBOBJ_GETLOADAVGAC_LIBOBJ(getloadavg)
|
|
AC_DEFINE(C_GETLOADAVG, 1, [Define to 1 if using `getloadavg.c'.])
|
|
# Figure out what our getloadavg.c needs.
|
|
ac_have_func=no
|
|
AC_CHECK_HEADER(sys/dg_sys_info.h,
|
|
[ac_have_func=yes
|
|
AC_DEFINE(DGUX, 1, [Define to 1 for DGUX with <sys/dg_sys_info.h>.])
|
|
AC_CHECK_LIB(dgc, dg_sys_info)])
|
|
|
|
AC_CHECK_HEADER(locale.h)
|
|
AC_CHECK_FUNCS(setlocale)
|
|
|
|
# We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
|
|
# uses stabs), but it is still SVR4. We cannot check for <elf.h> because
|
|
# Irix 4.0.5F has the header but not the library.
|
|
if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then
|
|
ac_have_func=yes
|
|
AC_DEFINE(SVR4, 1, [Define to 1 on System V Release 4.])
|
|
fi
|
|
|
|
if test $ac_have_func = no; then
|
|
AC_CHECK_HEADER(inq_stats/cpustats.h,
|
|
[ac_have_func=yes
|
|
AC_DEFINE(UMAX, 1, [Define to 1 for Encore UMAX.])
|
|
AC_DEFINE(UMAX4_3, 1,
|
|
[Define to 1 for Encore UMAX 4.3 that has <inq_status/cpustats.h>
|
|
instead of <sys/cpustats.h>.])])
|
|
fi
|
|
|
|
if test $ac_have_func = no; then
|
|
AC_CHECK_HEADER(sys/cpustats.h,
|
|
[ac_have_func=yes; AC_DEFINE(UMAX)])
|
|
fi
|
|
|
|
if test $ac_have_func = no; then
|
|
AC_CHECK_HEADERS(mach/mach.h)
|
|
fi
|
|
|
|
AC_CHECK_HEADERS(nlist.h,
|
|
[AC_CHECK_MEMBERS([struct nlist.n_un.n_name],
|
|
[AC_DEFINE(NLIST_NAME_UNION, 1,
|
|
[Define to 1 if your `struct nlist' has an
|
|
`n_un' member. Obsolete, depend on
|
|
`HAVE_STRUCT_NLIST_N_UN_N_NAME])], [],
|
|
[@%:@include <nlist.h>])
|
|
])dnl
|
|
|
|
T27,25
|
|
m4_location(AC_FUNC_ALLOCA)autoconf/functions.m4:367
|
|
T21,95
|
|
_AC_CONFIG_DEPENDENCYm4_ifval([$2],
|
|
[AC_FILE_DEPENDENCY_TRACE($@)],
|
|
[AC_FILE_DEPENDENCY_TRACE([$1], [$1.in])])
|
|
T12,178
|
|
AC_ST_BLOCKS_m4_defun_pro([AC_ST_BLOCKS])AC_DIAGNOSE([obsolete], [The macro `AC_ST_BLOCKS' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_STRUCT_ST_BLOCKS($@)[]_m4_defun_epi([AC_ST_BLOCKS])
|
|
T23,24
|
|
m4_location(AC_MINGW32)autoconf/specific.m4:393
|
|
T14,293
|
|
AS_HELP_STRINGm4_pushdef([AS_Prefix], m4_default([$3], [ ]))dnl
|
|
m4_pushdef([AS_Prefix_Format],
|
|
[ %-]m4_eval(m4_len(AS_Prefix) - 3)[s ])dnl [ %-23s ]
|
|
m4_text_wrap([$2], AS_Prefix, m4_format(AS_Prefix_Format, [$1]))dnl
|
|
m4_popdef([AS_Prefix_Format])dnl
|
|
m4_popdef([AS_Prefix])dnl
|
|
|
|
T24,23
|
|
m4_location(AC_UNISTD_H)autoconf/headers.m4:727
|
|
T13,52
|
|
m4_cr_LettersabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
|
|
T24,1245
|
|
_AC_PROG_LEX_YYTEXT_DECLAC_CACHE_CHECK(lex output file root, ac_cv_prog_lex_root,
|
|
[# The minimal lex program is just a single line: %%. But some broken lexes
|
|
# (Solaris, I think it was) want two %% lines, so accommodate them.
|
|
cat >conftest.l <<_ACEOF
|
|
%%
|
|
%%
|
|
_ACEOF
|
|
AC_TRY_EVAL(LEX conftest.l)
|
|
if test -f lex.yy.c; then
|
|
ac_cv_prog_lex_root=lex.yy
|
|
elif test -f lexyy.c; then
|
|
ac_cv_prog_lex_root=lexyy
|
|
else
|
|
AC_MSG_ERROR([cannot find output from $LEX; giving up])
|
|
fi])
|
|
rm -f conftest.l
|
|
AC_SUBST([LEX_OUTPUT_ROOT], [$ac_cv_prog_lex_root])dnl
|
|
|
|
AC_CACHE_CHECK(whether yytext is a pointer, ac_cv_prog_lex_yytext_pointer,
|
|
[# POSIX says lex can declare yytext either as a pointer or an array; the
|
|
# default is implementation-dependent. Figure out which it is, since
|
|
# not all implementations provide the %pointer and %array declarations.
|
|
ac_cv_prog_lex_yytext_pointer=no
|
|
echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
|
|
ac_save_LIBS=$LIBS
|
|
LIBS="$LIBS $LEXLIB"
|
|
AC_LINK_IFELSE([`cat $LEX_OUTPUT_ROOT.c`], ac_cv_prog_lex_yytext_pointer=yes)
|
|
LIBS=$ac_save_LIBS
|
|
rm -f "${LEX_OUTPUT_ROOT}.c"
|
|
])
|
|
dnl
|
|
if test $ac_cv_prog_lex_yytext_pointer = yes; then
|
|
AC_DEFINE(YYTEXT_POINTER, 1,
|
|
[Define to 1 if `lex' declares `yytext' as a `char *' by default,
|
|
not a `char[]'.])
|
|
fi
|
|
|
|
T8,160
|
|
AC_WAIT3_m4_defun_pro([AC_WAIT3])AC_DIAGNOSE([obsolete], [The macro `AC_WAIT3' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_FUNC_WAIT3($@)[]_m4_defun_epi([AC_WAIT3])
|
|
T16,5
|
|
_m4_divert(GROW)10000
|
|
T10,469
|
|
AC_ARG_VAR_m4_defun_pro([AC_ARG_VAR])m4_divert_once([HELP_VAR], [[
|
|
Some influential environment variables:]])dnl
|
|
m4_divert_once([HELP_VAR_END], [[
|
|
Use these variables to override the choices made by `configure' or to help
|
|
it to find libraries and programs with nonstandard names/locations.]])dnl
|
|
m4_expand_once([m4_divert_once([HELP_VAR],
|
|
[AS_HELP_STRING([$1], [$2], [ ])])],
|
|
[$0($1)])dnl
|
|
_AC_ARG_VAR_PRECIOUS([$1])dnl
|
|
[]_m4_defun_epi([AC_ARG_VAR])
|
|
F6,6
|
|
divnumdivnum
|
|
T29,17
|
|
m4_location(AC_C_LONG_DOUBLE)autoconf/c.m4:939
|
|
T19,591
|
|
_AC_INIT_CONFIG_LOGm4_divert_text([INIT_PREPARE],
|
|
[m4_define([AS_MESSAGE_LOG_FD], 5)dnl
|
|
exec AS_MESSAGE_LOG_FD>config.log
|
|
cat >&AS_MESSAGE_LOG_FD <<_ACEOF
|
|
This file contains any messages produced by compilers while
|
|
running configure, to aid debugging if configure makes a mistake.
|
|
|
|
It was created by m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])dnl
|
|
$as_me[]m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]), which was
|
|
generated by m4_PACKAGE_STRING. Invocation command line was
|
|
|
|
$ $[0] $[@]
|
|
|
|
_ACEOF
|
|
AS_UNAME >&AS_MESSAGE_LOG_FD
|
|
|
|
cat >&AS_MESSAGE_LOG_FD <<_ACEOF
|
|
|
|
|
|
m4_text_box([Core tests.])
|
|
|
|
_ACEOF
|
|
])
|
|
T12,64
|
|
m4_re_stringabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789*
|
|
T20,43
|
|
m4_location(m4_join)/usr/share/autoconf/m4sugar/m4sugar.m4:1492
|
|
T27,18
|
|
m4_location(AC_C_STRINGIZE)autoconf/c.m4:1200
|
|
F11,11
|
|
changequotechangequote
|
|
T13,493
|
|
_AC_PROG_CC_Gac_test_CFLAGS=${CFLAGS+set}
|
|
ac_save_CFLAGS=$CFLAGS
|
|
CFLAGS="$CFLAGS -g"
|
|
AC_CACHE_CHECK(whether $CC accepts -g, ac_cv_prog_cc_g,
|
|
[_AC_COMPILE_IFELSE([AC_LANG_PROGRAM()], [ac_cv_prog_cc_g=yes],
|
|
[ac_cv_prog_cc_g=no])])
|
|
if test "$ac_test_CFLAGS" = set; then
|
|
CFLAGS=$ac_save_CFLAGS
|
|
elif test $ac_cv_prog_cc_g = yes; then
|
|
if test "$GCC" = yes; then
|
|
CFLAGS="-g -O2"
|
|
else
|
|
CFLAGS="-g"
|
|
fi
|
|
else
|
|
if test "$GCC" = yes; then
|
|
CFLAGS="-O2"
|
|
else
|
|
CFLAGS=
|
|
fi
|
|
fi[]dnl
|
|
|
|
T19,583
|
|
_AC_COMPILER_OBJEXTAC_CACHE_CHECK([for suffix of object files], ac_cv_objext,
|
|
[AC_LANG_CONFTEST([AC_LANG_PROGRAM()])
|
|
rm -f conftest.o conftest.obj
|
|
AS_IF([AC_TRY_EVAL(ac_compile)],
|
|
[for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
|
|
case $ac_file in
|
|
_AC_COMPILER_OBJEXT_REJECT ) ;;
|
|
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
|
break;;
|
|
esac
|
|
done],
|
|
[_AC_MSG_LOG_CONFTEST
|
|
AC_MSG_FAILURE([cannot compute suffix of object files: cannot compile])])
|
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext])
|
|
AC_SUBST([OBJEXT], [$ac_cv_objext])dnl
|
|
ac_objext=$OBJEXT
|
|
|
|
T17,219
|
|
_AS_TR_SH_PREPARE_m4_defun_pro([_AS_TR_SH_PREPARE])AS_REQUIRE([_AS_CR_PREPARE])dnl
|
|
# Sed expression to map a string onto a valid variable name.
|
|
as_tr_sh="eval sed 'y%*+%pp%;s%[[^_$as_cr_alnum]]%_%g'"
|
|
[]_m4_defun_epi([_AS_TR_SH_PREPARE])
|
|
T17,1932
|
|
_AC_LIBOBJ_ALLOCA# The SVR3 libPW and SVR4 libucb both contain incompatible functions
|
|
# that cause trouble. Some versions do not even contain alloca or
|
|
# contain a buggy version. If you still want to use their alloca,
|
|
# use ar to extract alloca.o from them instead of compiling alloca.c.
|
|
AC_LIBSOURCES(alloca.c)
|
|
AC_SUBST(ALLOCA, alloca.$ac_objext)dnl
|
|
AC_DEFINE(C_ALLOCA, 1, [Define to 1 if using `alloca.c'.])
|
|
|
|
AC_CACHE_CHECK(whether `alloca.c' needs Cray hooks, ac_cv_os_cray,
|
|
[AC_EGREP_CPP(webecray,
|
|
[#if defined(CRAY) && ! defined(CRAY2)
|
|
webecray
|
|
#else
|
|
wenotbecray
|
|
#endif
|
|
], ac_cv_os_cray=yes, ac_cv_os_cray=no)])
|
|
if test $ac_cv_os_cray = yes; then
|
|
for ac_func in _getb67 GETB67 getb67; do
|
|
AC_CHECK_FUNC($ac_func,
|
|
[AC_DEFINE_UNQUOTED(CRAY_STACKSEG_END, $ac_func,
|
|
[Define to one of `_getb67', `GETB67',
|
|
`getb67' for Cray-2 and Cray-YMP
|
|
systems. This function is required for
|
|
`alloca.c' support on those systems.])
|
|
break])
|
|
done
|
|
fi
|
|
|
|
AC_CACHE_CHECK([stack direction for C alloca],
|
|
[ac_cv_c_stack_direction],
|
|
[AC_RUN_IFELSE([AC_LANG_SOURCE(
|
|
[int
|
|
find_stack_direction ()
|
|
{
|
|
static char *addr = 0;
|
|
auto char dummy;
|
|
if (addr == 0)
|
|
{
|
|
addr = &dummy;
|
|
return find_stack_direction ();
|
|
}
|
|
else
|
|
return (&dummy > addr) ? 1 : -1;
|
|
}
|
|
|
|
int
|
|
main ()
|
|
{
|
|
exit (find_stack_direction () < 0);
|
|
}])],
|
|
[ac_cv_c_stack_direction=1],
|
|
[ac_cv_c_stack_direction=-1],
|
|
[ac_cv_c_stack_direction=0])])
|
|
AH_VERBATIM([STACK_DIRECTION],
|
|
[/* If using the C implementation of alloca, define if you know the
|
|
direction of stack growth for your system; otherwise it will be
|
|
automatically deduced at run-time.
|
|
STACK_DIRECTION > 0 => grows toward higher addresses
|
|
STACK_DIRECTION < 0 => grows toward lower addresses
|
|
STACK_DIRECTION = 0 => direction of growth unknown */
|
|
@%:@undef STACK_DIRECTION])dnl
|
|
AC_DEFINE_UNQUOTED(STACK_DIRECTION, $ac_cv_c_stack_direction)
|
|
|
|
T30,21
|
|
m4_location(AC_TYPE_MBSTATE_T)autoconf/types.m4:316
|
|
T12,1126
|
|
_AC_SRCPATHSac_builddir=.
|
|
|
|
if test $1 != .; then
|
|
ac_dir_suffix=/`echo $1 | sed 's,^\.[[\\/]],,'`
|
|
# A "../" for each directory in $ac_dir_suffix.
|
|
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[[^\\/]]*,../,g'`
|
|
else
|
|
ac_dir_suffix= ac_top_builddir=
|
|
fi
|
|
|
|
case $srcdir in
|
|
.) # No --srcdir option. We are building in place.
|
|
ac_srcdir=.
|
|
if test -z "$ac_top_builddir"; then
|
|
ac_top_srcdir=.
|
|
else
|
|
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
|
fi ;;
|
|
[[\\/]]* | ?:[[\\/]]* ) # Absolute path.
|
|
ac_srcdir=$srcdir$ac_dir_suffix;
|
|
ac_top_srcdir=$srcdir ;;
|
|
*) # Relative path.
|
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
|
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
|
esac
|
|
|
|
# Do not use `cd foo && pwd` to compute absolute paths, because
|
|
# the directories may not exist.
|
|
AS_SET_CATFILE([ac_abs_builddir], [`pwd`], [$1])
|
|
AS_SET_CATFILE([ac_abs_top_builddir],
|
|
[$ac_abs_builddir], [${ac_top_builddir}.])
|
|
AS_SET_CATFILE([ac_abs_srcdir], [$ac_abs_builddir], [$ac_srcdir])
|
|
AS_SET_CATFILE([ac_abs_top_srcdir], [$ac_abs_builddir], [$ac_top_srcdir])
|
|
|
|
T26,65
|
|
_AC_COMPILER_OBJEXT_REJECT*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg
|
|
T21,26
|
|
m4_location(AC_VFORK)autoconf/functions.m4:1874
|
|
T26,383
|
|
_AS_PATH_SEPARATOR_PREPARE_m4_defun_pro([_AS_PATH_SEPARATOR_PREPARE])# The user is always right.
|
|
if test "${PATH_SEPARATOR+set}" != set; then
|
|
echo "#! /bin/sh" >conf$$.sh
|
|
echo "exit 0" >>conf$$.sh
|
|
chmod +x conf$$.sh
|
|
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
|
PATH_SEPARATOR=';'
|
|
else
|
|
PATH_SEPARATOR=:
|
|
fi
|
|
rm -f conf$$.sh
|
|
fi
|
|
[]_m4_defun_epi([_AS_PATH_SEPARATOR_PREPARE])
|
|
T26,24
|
|
m4_location(AC_CHECK_FUNC)autoconf/functions.m4:74
|
|
T26,23
|
|
m4_location(AC_DIR_HEADER)autoconf/headers.m4:793
|
|
F8,8
|
|
__file____file__
|
|
T22,23
|
|
m4_location(AC_OUTPUT)autoconf/status.m4:1193
|
|
T25,24
|
|
m4_location(AC_FC_SRCEXT)autoconf/fortran.m4:1159
|
|
T15,419
|
|
AC_HAVE_LIBRARY_m4_defun_pro([AC_HAVE_LIBRARY])AC_DIAGNOSE([obsolete], [The macro `AC_HAVE_LIBRARY' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
m4_pushdef([AC_Lib_Name],
|
|
m4_bpatsubst(m4_bpatsubst([[$1]],
|
|
[lib\([^\.]*\)\.a], [\1]),
|
|
[-l], []))dnl
|
|
AC_CHECK_LIB(AC_Lib_Name, main, [$2], [$3], [$4])dnl
|
|
ac_cv_lib_[]AC_Lib_Name()=ac_cv_lib_[]AC_Lib_Name()_main
|
|
m4_popdef([AC_Lib_Name])dnl
|
|
[]_m4_defun_epi([AC_HAVE_LIBRARY])
|
|
T31,25
|
|
m4_location(AC_FUNC_GETLOADAVG)autoconf/functions.m4:761
|
|
T30,24
|
|
m4_location(AC_COMPILE_IFELSE)autoconf/general.m4:2172
|
|
T18,127
|
|
AC_PROG_CPP_WERROR_m4_defun_pro([AC_PROG_CPP_WERROR])AC_REQUIRE([AC_PROG_CPP])dnl
|
|
ac_c_preproc_warn_flag=yes[]_m4_defun_epi([AC_PROG_CPP_WERROR])
|
|
T15,179
|
|
AC_LANG_RESTORE_m4_defun_pro([AC_LANG_RESTORE])AC_DIAGNOSE([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_LANG_POP($@)[]_m4_defun_epi([AC_LANG_RESTORE])
|
|
T9,58
|
|
m4_appendm4_define([$1],
|
|
m4_ifdef([$1], [m4_defn([$1])$3])[$2])
|
|
T13,799
|
|
_AC_PROG_FC_G_AC_FORTRAN_ASSERT()dnl
|
|
ac_test_FFLAGS=${[]_AC_LANG_PREFIX[]FLAGS+set}
|
|
ac_save_FFLAGS=$[]_AC_LANG_PREFIX[]FLAGS
|
|
_AC_LANG_PREFIX[]FLAGS=
|
|
AC_CACHE_CHECK(whether $[]_AC_FC[] accepts -g, ac_cv_prog_[]_AC_LANG_ABBREV[]_g,
|
|
[_AC_LANG_PREFIX[]FLAGS=-g
|
|
_AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
|
|
[ac_cv_prog_[]_AC_LANG_ABBREV[]_g=yes],
|
|
[ac_cv_prog_[]_AC_LANG_ABBREV[]_g=no])
|
|
])
|
|
if test "$ac_test_FFLAGS" = set; then
|
|
_AC_LANG_PREFIX[]FLAGS=$ac_save_FFLAGS
|
|
elif test $ac_cv_prog_[]_AC_LANG_ABBREV[]_g = yes; then
|
|
if test "x$ac_cv_[]_AC_LANG_ABBREV[]_compiler_gnu" = xyes; then
|
|
_AC_LANG_PREFIX[]FLAGS="-g -O2"
|
|
else
|
|
_AC_LANG_PREFIX[]FLAGS="-g"
|
|
fi
|
|
else
|
|
if test "x$ac_cv_[]_AC_LANG_ABBREV[]_compiler_gnu" = xyes; then
|
|
_AC_LANG_PREFIX[]FLAGS="-O2"
|
|
else
|
|
_AC_LANG_PREFIX[]FLAGS=
|
|
fi
|
|
fi[]dnl
|
|
|
|
T18,533
|
|
_AC_PREPROC_IFELSE_m4_defun_pro([_AC_PREPROC_IFELSE])m4_ifvaln([$1], [AC_LANG_CONFTEST([$1])])dnl
|
|
if _AC_EVAL_STDERR([$ac_cpp conftest.$ac_ext]) >/dev/null; then
|
|
if test -s conftest.err; then
|
|
ac_cpp_err=$ac_[]_AC_LANG_ABBREV[]_preproc_warn_flag
|
|
ac_cpp_err=$ac_cpp_err$ac_[]_AC_LANG_ABBREV[]_werror_flag
|
|
else
|
|
ac_cpp_err=
|
|
fi
|
|
else
|
|
ac_cpp_err=yes
|
|
fi
|
|
if test -z "$ac_cpp_err"; then
|
|
m4_default([$2], :)
|
|
else
|
|
_AC_MSG_LOG_CONFTEST
|
|
$3
|
|
fi
|
|
rm -f conftest.err m4_ifval([$1], [conftest.$ac_ext])[]dnl
|
|
[]_m4_defun_epi([_AC_PREPROC_IFELSE])
|
|
T27,1
|
|
_AC_LANG_PREFIX(Fortran 77)F
|
|
T9,164
|
|
AC_SIZE_T_m4_defun_pro([AC_SIZE_T])AC_DIAGNOSE([obsolete], [The macro `AC_SIZE_T' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_TYPE_SIZE_T($@)[]_m4_defun_epi([AC_SIZE_T])
|
|
T9,87
|
|
AC_LIBOBJ_AC_LIBOBJ([$1],
|
|
[AC_DIAGNOSE(syntax,
|
|
[$0($1): you should use literals])])dnl
|
|
|
|
T30,21
|
|
m4_location(AC_TYPE_GETGROUPS)autoconf/types.m4:290
|
|
T10,204
|
|
AC_TRY_CPP_m4_defun_pro([AC_TRY_CPP])AC_DIAGNOSE([obsolete], [The macro `AC_TRY_CPP' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_PREPROC_IFELSE([AC_LANG_SOURCE([[$1]])], [$2], [$3])[]_m4_defun_epi([AC_TRY_CPP])
|
|
T8,219
|
|
AS_TR_SH_m4_defun_pro([AS_TR_SH])AS_REQUIRE([_$0_PREPARE])dnl
|
|
AS_LITERAL_IF([$1],
|
|
[m4_bpatsubst(m4_translit([[$1]], [*+], [pp]),
|
|
[[^a-zA-Z0-9_]], [_])],
|
|
[`echo "$1" | $as_tr_sh`])[]_m4_defun_epi([AS_TR_SH])
|
|
T16,360
|
|
_AC_INIT_VERSIONm4_divert_text([VERSION_BEGIN],
|
|
[if $ac_init_version; then
|
|
cat <<\_ACEOF])dnl
|
|
m4_ifset([AC_PACKAGE_STRING],
|
|
[m4_divert_text([VERSION_BEGIN],
|
|
[dnl
|
|
m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])configure[]dnl
|
|
m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
|
|
generated by m4_PACKAGE_STRING])])
|
|
m4_divert_text([VERSION_END],
|
|
[_ACEOF
|
|
exit 0
|
|
fi])dnl
|
|
|
|
T21,26
|
|
m4_location(AC_WAIT3)autoconf/functions.m4:1960
|
|
T27,25
|
|
m4_location(AC_FUNC_MEMCMP)autoconf/functions.m4:935
|
|
T13,322
|
|
AC_CHECK_TOOL_m4_defun_pro([AC_CHECK_TOOL])if test -n "$ac_tool_prefix"; then
|
|
AC_CHECK_PROG([$1], [${ac_tool_prefix}$2], [${ac_tool_prefix}$2], , [$4])
|
|
fi
|
|
if test -z "$ac_cv_prog_$1"; then
|
|
ac_ct_$1=$$1
|
|
AC_CHECK_PROG([ac_ct_$1], [$2], [$2], [$3], [$4])
|
|
$1=$ac_ct_$1
|
|
else
|
|
$1="$ac_cv_prog_$1"
|
|
fi
|
|
[]_m4_defun_epi([AC_CHECK_TOOL])
|
|
T24,23
|
|
m4_location(AC_F77_MAIN)autoconf/fortran.m4:874
|
|
T17,196
|
|
_AC_LIBOBJ_STRTODAC_LIBOBJ(strtod)
|
|
AC_CHECK_FUNC(pow)
|
|
if test $ac_cv_func_pow = no; then
|
|
AC_CHECK_LIB(m, pow,
|
|
[POW_LIB=-lm],
|
|
[AC_MSG_WARN([cannot find library containing definition of pow])])
|
|
fi
|
|
|
|
T15,215
|
|
AS_BASENAME_SED_m4_defun_pro([AS_BASENAME_SED])echo X/[]$1 |
|
|
sed ['/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
|
/^X\/\(\/\/\)$/{ s//\1/; q; }
|
|
/^X\/\(\/\).*/{ s//\1/; q; }
|
|
s/.*/./; q'][]_m4_defun_epi([AS_BASENAME_SED])
|
|
T11,165
|
|
AS_BASENAME_m4_defun_pro([AS_BASENAME])AS_REQUIRE([_$0_PREPARE])dnl
|
|
$as_basename $1 ||
|
|
AS_BASENAME_EXPR([$1]) 2>/dev/null ||
|
|
AS_BASENAME_SED([$1])[]_m4_defun_epi([AS_BASENAME])
|
|
T22,23
|
|
m4_location(AC_SIZE_T)autoconf/oldnames.m4:94
|
|
T26,25
|
|
m4_location(AC_HAVE_FUNCS)autoconf/functions.m4:116
|
|
T14,3009
|
|
_AC_FUNC_VFORK_m4_defun_pro([_AC_FUNC_VFORK])AC_CACHE_CHECK(for working vfork, ac_cv_func_vfork_works,
|
|
[AC_RUN_IFELSE([AC_LANG_SOURCE([[/* Thanks to Paul Eggert for this test. */
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
#include <sys/wait.h>
|
|
#if HAVE_UNISTD_H
|
|
# include <unistd.h>
|
|
#endif
|
|
#if HAVE_VFORK_H
|
|
# include <vfork.h>
|
|
#endif
|
|
/* On some sparc systems, changes by the child to local and incoming
|
|
argument registers are propagated back to the parent. The compiler
|
|
is told about this with #include <vfork.h>, but some compilers
|
|
(e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
|
|
static variable whose address is put into a register that is
|
|
clobbered by the vfork. */
|
|
static void
|
|
#ifdef __cplusplus
|
|
sparc_address_test (int arg)
|
|
# else
|
|
sparc_address_test (arg) int arg;
|
|
#endif
|
|
{
|
|
static pid_t child;
|
|
if (!child) {
|
|
child = vfork ();
|
|
if (child < 0) {
|
|
perror ("vfork");
|
|
_exit(2);
|
|
}
|
|
if (!child) {
|
|
arg = getpid();
|
|
write(-1, "", 0);
|
|
_exit (arg);
|
|
}
|
|
}
|
|
}
|
|
|
|
int
|
|
main ()
|
|
{
|
|
pid_t parent = getpid ();
|
|
pid_t child;
|
|
|
|
sparc_address_test (0);
|
|
|
|
child = vfork ();
|
|
|
|
if (child == 0) {
|
|
/* Here is another test for sparc vfork register problems. This
|
|
test uses lots of local variables, at least as many local
|
|
variables as main has allocated so far including compiler
|
|
temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
|
|
4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
|
|
reuse the register of parent for one of the local variables,
|
|
since it will think that parent can't possibly be used any more
|
|
in this routine. Assigning to the local variable will thus
|
|
munge parent in the parent process. */
|
|
pid_t
|
|
p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
|
|
p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
|
|
/* Convince the compiler that p..p7 are live; otherwise, it might
|
|
use the same hardware register for all 8 local variables. */
|
|
if (p != p1 || p != p2 || p != p3 || p != p4
|
|
|| p != p5 || p != p6 || p != p7)
|
|
_exit(1);
|
|
|
|
/* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
|
|
from child file descriptors. If the child closes a descriptor
|
|
before it execs or exits, this munges the parent's descriptor
|
|
as well. Test for this by closing stdout in the child. */
|
|
_exit(close(fileno(stdout)) != 0);
|
|
} else {
|
|
int status;
|
|
struct stat st;
|
|
|
|
while (wait(&status) != child)
|
|
;
|
|
exit(
|
|
/* Was there some problem with vforking? */
|
|
child < 0
|
|
|
|
/* Did the child fail? (This shouldn't happen.) */
|
|
|| status
|
|
|
|
/* Did the vfork/compiler bug occur? */
|
|
|| parent != getpid()
|
|
|
|
/* Did the file descriptor bug occur? */
|
|
|| fstat(fileno(stdout), &st) != 0
|
|
);
|
|
}
|
|
}]])],
|
|
[ac_cv_func_vfork_works=yes],
|
|
[ac_cv_func_vfork_works=no],
|
|
[ac_cv_func_vfork_works=cross])])
|
|
[]_m4_defun_epi([_AC_FUNC_VFORK])
|
|
T15,167
|
|
_AC_COMPUTE_INTif test "$cross_compiling" = yes; then
|
|
_AC_COMPUTE_INT_COMPILE([$1], [$2], [$3], [$4])
|
|
else
|
|
_AC_COMPUTE_INT_RUN([$1], [$2], [$3], [$4])
|
|
fi
|
|
rm -f conftest.val[]dnl
|
|
|
|
T21,178
|
|
AC_FC_LIBRARY_LDFLAGS_m4_defun_pro([AC_FC_LIBRARY_LDFLAGS])AC_REQUIRE([AC_PROG_FC])dnl
|
|
AC_LANG_PUSH(Fortran)dnl
|
|
_AC_FC_LIBRARY_LDFLAGS
|
|
AC_LANG_POP(Fortran)dnl
|
|
[]_m4_defun_epi([AC_FC_LIBRARY_LDFLAGS])
|
|
T10,69
|
|
m4_tolowerm4_translit([$1], m4_defn([m4_cr_LETTERS]), m4_defn([m4_cr_letters]))
|
|
T34,25
|
|
m4_location(AC_FUNC_CLOSEDIR_VOID)autoconf/functions.m4:436
|
|
T11,494
|
|
AC_MEMORY_H_m4_defun_pro([AC_MEMORY_H])AC_DIAGNOSE([obsolete], [The macro `AC_MEMORY_H' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_DIAGNOSE([obsolete], [$0: Remove this warning and
|
|
`AC_CHECK_HEADER(memory.h, AC_DEFINE(...))' when you adjust your code to
|
|
use and HAVE_STRING_H and HAVE_MEMORY_H, not NEED_MEMORY_H.])dnl
|
|
AC_CHECK_HEADER(memory.h,
|
|
[AC_DEFINE([NEED_MEMORY_H], 1,
|
|
[Same as `HAVE_MEMORY_H', don't depend on me.])])
|
|
AC_CHECK_HEADERS(string.h memory.h)
|
|
[]_m4_defun_epi([AC_MEMORY_H])
|
|
T9,102
|
|
m4_regexpm4_expand_once([m4_warn([syntax],
|
|
[do not use m4_regexp: use regexp or m4_bregexp])])dnl
|
|
regexp($@)
|
|
T26,21
|
|
m4_location(AC_TYPE_OFF_T)autoconf/types.m4:342
|
|
T30,25
|
|
m4_location(AC_FUNC_GETGROUPS)autoconf/functions.m4:614
|
|
T27,24
|
|
m4_location(AC_CHECK_PROGS)autoconf/programs.m4:128
|
|
T17,671
|
|
AC_CONFIG_TESTDIR_m4_defun_pro([AC_CONFIG_TESTDIR])AC_CONFIG_COMMANDS([$1/atconfig],
|
|
[cat >$1/atconfig <<ATEOF
|
|
@%:@ Configurable variable values for building test suites.
|
|
@%:@ Generated by $[0].
|
|
@%:@ Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
|
|
|
|
# The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
|
|
at_testdir='$1'
|
|
abs_builddir='$ac_abs_builddir'
|
|
at_srcdir='$ac_srcdir'
|
|
abs_srcdir='$ac_abs_srcdir'
|
|
at_top_srcdir='$ac_top_srcdir'
|
|
abs_top_srcdir='$ac_abs_top_srcdir'
|
|
at_top_builddir='$ac_top_builddir'
|
|
abs_top_builddir='$ac_abs_top_builddir'
|
|
|
|
AUTOTEST_PATH='m4_default([$2], [$1])'
|
|
|
|
SHELL=\${CONFIG_SHELL-'$SHELL'}
|
|
ATEOF
|
|
])
|
|
[]_m4_defun_epi([AC_CONFIG_TESTDIR])
|
|
T17,103
|
|
AC_CONFIG_AUX_DIR_m4_defun_pro([AC_CONFIG_AUX_DIR])AC_CONFIG_AUX_DIRS($1 $srcdir/$1)[]_m4_defun_epi([AC_CONFIG_AUX_DIR])
|
|
T13,287
|
|
AC_PROG_FGREP_m4_defun_pro([AC_PROG_FGREP])AC_CACHE_CHECK([for fgrep], [ac_cv_prog_fgrep],
|
|
[if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
|
|
then ac_cv_prog_fgrep='grep -F'
|
|
else ac_cv_prog_fgrep='fgrep'
|
|
fi])
|
|
FGREP=$ac_cv_prog_fgrep
|
|
AC_SUBST([FGREP])
|
|
[]_m4_defun_epi([AC_PROG_FGREP])
|
|
T29,39
|
|
m4_location(_AS_LN_S_PREPARE)/usr/share/autoconf/m4sugar/m4sh.m4:631
|
|
T27,24
|
|
m4_location(AC_CHECK_TOOLS)autoconf/programs.m4:246
|
|
T27,23
|
|
m4_location(ac_cv_prog_g77)autoconf/fortran.m4:303
|
|
T13,885
|
|
_AC_PROG_FC_V_m4_defun_pro([_AC_PROG_FC_V])_AC_FORTRAN_ASSERT()dnl
|
|
AC_CACHE_CHECK([how to get verbose linking output from $[]_AC_FC[]],
|
|
[ac_cv_prog_[]_AC_LANG_ABBREV[]_v],
|
|
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
|
|
[ac_cv_prog_[]_AC_LANG_ABBREV[]_v=
|
|
# Try some options frequently used verbose output
|
|
for ac_verb in -v -verbose --verbose -V -\#\#\#; do
|
|
_AC_PROG_FC_V_OUTPUT($ac_verb)
|
|
# look for -l* and *.a constructs in the output
|
|
for ac_arg in $ac_[]_AC_LANG_ABBREV[]_v_output; do
|
|
case $ac_arg in
|
|
[[\\/]]*.a | ?:[[\\/]]*.a | -[[lLRu]]*)
|
|
ac_cv_prog_[]_AC_LANG_ABBREV[]_v=$ac_verb
|
|
break 2 ;;
|
|
esac
|
|
done
|
|
done
|
|
if test -z "$ac_cv_prog_[]_AC_LANG_ABBREV[]_v"; then
|
|
AC_MSG_WARN([cannot determine how to obtain linking information from $[]_AC_FC[]])
|
|
fi],
|
|
[AC_MSG_WARN([compilation failed])])
|
|
])[]_m4_defun_epi([_AC_PROG_FC_V])
|
|
T8,101
|
|
m4_fatalm4_errprintn(m4_location[: error: $1])dnl
|
|
m4_expansion_stack_dump()dnl
|
|
m4_exit(m4_if([$2],, 1, [$2]))
|
|
T20,370
|
|
AC_HEADER_TIOCGWINSZ_m4_defun_pro([AC_HEADER_TIOCGWINSZ])_AC_HEADER_TIOCGWINSZ_IN_TERMIOS_H
|
|
if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then
|
|
_AC_HEADER_TIOCGWINSZ_IN_SYS_IOCTL
|
|
if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then
|
|
AC_DEFINE(GWINSZ_IN_SYS_IOCTL,1,
|
|
[Define to 1 if `TIOCGWINSZ' requires <sys/ioctl.h>.])
|
|
fi
|
|
fi
|
|
[]_m4_defun_epi([AC_HEADER_TIOCGWINSZ])
|
|
T31,23
|
|
m4_location(_AC_FORTRAN_ASSERT)autoconf/fortran.m4:169
|
|
T21,710
|
|
_AC_COMPILER_EXEEXT_OAC_MSG_CHECKING([for suffix of executables])
|
|
AS_IF([AC_TRY_EVAL(ac_link)],
|
|
[# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
|
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
|
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
|
# `rm'.
|
|
for ac_file in conftest.exe conftest conftest.*; do
|
|
test -f "$ac_file" || continue
|
|
case $ac_file in
|
|
_AC_COMPILER_EXEEXT_REJECT ) ;;
|
|
*.* ) ac_cv_exeext=`expr "$ac_file" : ['[^.]*\(\..*\)']`
|
|
export ac_cv_exeext
|
|
break;;
|
|
* ) break;;
|
|
esac
|
|
done],
|
|
[AC_MSG_FAILURE([cannot compute suffix of executables: cannot compile and link])])
|
|
rm -f conftest$ac_cv_exeext
|
|
AC_MSG_RESULT([$ac_cv_exeext])
|
|
|
|
T17,120
|
|
AC_PREFIX_DEFAULT_m4_defun_pro([AC_PREFIX_DEFAULT])m4_divert_text([DEFAULTS], [ac_default_prefix=$1])[]_m4_defun_epi([AC_PREFIX_DEFAULT])
|
|
T25,20
|
|
m4_location(AC_LANG_CALL)autoconf/lang.m4:242
|
|
T21,23
|
|
m4_location(AC_FD_CC)autoconf/general.m4:376
|
|
T20,2
|
|
_m4_divert(DEFAULTS)10
|
|
T28,24
|
|
m4_location(_AC_EVAL_STDERR)autoconf/general.m4:2026
|
|
T24,24
|
|
m4_location(AC_TRY_EVAL)autoconf/general.m4:2034
|
|
T29,676
|
|
_AC_PROG_CXX_EXIT_DECLARATIONfor ac_declaration in \
|
|
'' \
|
|
'extern "C" void std::exit (int) throw (); using std::exit;' \
|
|
'extern "C" void std::exit (int); using std::exit;' \
|
|
'extern "C" void exit (int) throw ();' \
|
|
'extern "C" void exit (int);' \
|
|
'void exit (int);'
|
|
do
|
|
_AC_COMPILE_IFELSE([AC_LANG_PROGRAM([$ac_declaration
|
|
@%:@include <stdlib.h>],
|
|
[exit (42);])],
|
|
[],
|
|
[continue])
|
|
_AC_COMPILE_IFELSE([AC_LANG_PROGRAM([$ac_declaration],
|
|
[exit (42);])],
|
|
[break])
|
|
done
|
|
rm -f conftest*
|
|
if test -n "$ac_declaration"; then
|
|
echo '#ifdef __cplusplus' >>confdefs.h
|
|
echo $ac_declaration >>confdefs.h
|
|
echo '#endif' >>confdefs.h
|
|
fi
|
|
|
|
T14,642
|
|
AC_SEARCH_LIBS_m4_defun_pro([AC_SEARCH_LIBS])AC_CACHE_CHECK([for library containing $1], [ac_cv_search_$1],
|
|
[ac_func_search_save_LIBS=$LIBS
|
|
ac_cv_search_$1=no
|
|
AC_LINK_IFELSE([AC_LANG_CALL([], [$1])],
|
|
[ac_cv_search_$1="none required"])
|
|
if test "$ac_cv_search_$1" = no; then
|
|
for ac_lib in $2; do
|
|
LIBS="-l$ac_lib $5 $ac_func_search_save_LIBS"
|
|
AC_LINK_IFELSE([AC_LANG_CALL([], [$1])],
|
|
[ac_cv_search_$1="-l$ac_lib"
|
|
break])
|
|
done
|
|
fi
|
|
LIBS=$ac_func_search_save_LIBS])
|
|
AS_IF([test "$ac_cv_search_$1" != no],
|
|
[test "$ac_cv_search_$1" = "none required" || LIBS="$ac_cv_search_$1 $LIBS"
|
|
$3],
|
|
[$4])dnl
|
|
[]_m4_defun_epi([AC_SEARCH_LIBS])
|
|
T6,685
|
|
AC_USG_m4_defun_pro([AC_USG])AC_DIAGNOSE([obsolete], [The macro `AC_USG' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_DIAGNOSE([obsolete],
|
|
[$0: Remove `AC_MSG_CHECKING', `AC_LINK_IFELSE' and this `AC_WARNING'
|
|
when you adjust your code to use HAVE_STRING_H.])dnl
|
|
AC_MSG_CHECKING([for BSD string and memory functions])
|
|
AC_LINK_IFELSE([AC_LANG_PROGRAM([[@%:@include <strings.h>]],
|
|
[[rindex(0, 0); bzero(0, 0);]])],
|
|
[AC_MSG_RESULT(yes)],
|
|
[AC_MSG_RESULT(no)
|
|
AC_DEFINE(USG, 1,
|
|
[Define to 1 if you do not have <strings.h>, index,
|
|
bzero, etc... This symbol is obsolete, you should
|
|
not depend upon it.])])
|
|
AC_CHECK_HEADERS(string.h)
|
|
[]_m4_defun_epi([AC_USG])
|
|
T26,26
|
|
m4_location(AC_FUNC_VFORK)autoconf/functions.m4:1870
|
|
T30,22
|
|
m4_location(AC_CONFIG_HEADERS)autoconf/status.m4:424
|
|
T29,22
|
|
m4_location(AC_CONFIG_HEADER)autoconf/status.m4:437
|
|
T28,24
|
|
m4_location(AC_PROG_INSTALL)autoconf/programs.m4:371
|
|
T14,867
|
|
_AC_CACHE_DUMP# The following way of writing the cache mishandles newlines in values,
|
|
# but we know of no workaround that is simple, portable, and efficient.
|
|
# So, don't put newlines in cache variables' values.
|
|
# Ultrix sh set writes to stderr and can't be redirected directly,
|
|
# and sets the high bit in the cache file unless we assign to the vars.
|
|
{
|
|
(set) 2>&1 |
|
|
case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
|
*ac_space=\ *)
|
|
# `set' does not quote correctly, so add quotes (double-quote
|
|
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
|
sed -n \
|
|
["s/'/'\\\\''/g;
|
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"]
|
|
;;
|
|
*)
|
|
# `set' quotes correctly as required by POSIX, so do not add quotes.
|
|
sed -n \
|
|
["s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"]
|
|
;;
|
|
esac;
|
|
}dnl
|
|
|
|
T17,392
|
|
AC_PREFIX_PROGRAM_m4_defun_pro([AC_PREFIX_PROGRAM])if test "x$prefix" = xNONE; then
|
|
dnl We reimplement AC_MSG_CHECKING (mostly) to avoid the ... in the middle.
|
|
_AS_ECHO_N([checking for prefix by ])
|
|
AC_PATH_PROG(ac_prefix_program, [$1])
|
|
if test -n "$ac_prefix_program"; then
|
|
prefix=`AS_DIRNAME(["$ac_prefix_program"])`
|
|
prefix=`AS_DIRNAME(["$prefix"])`
|
|
fi
|
|
fi
|
|
[]_m4_defun_epi([AC_PREFIX_PROGRAM])
|
|
T32,23
|
|
m4_location(AC_DECL_SYS_SIGLIST)autoconf/specific.m4:70
|
|
T11,99
|
|
AC_PROG_AWK_m4_defun_pro([AC_PROG_AWK])AC_CHECK_PROGS(AWK, gawk mawk nawk awk, )[]_m4_defun_epi([AC_PROG_AWK])
|
|
T31,39
|
|
m4_location(_AS_TR_CPP_PREPARE)/usr/share/autoconf/m4sugar/m4sh.m4:979
|
|
T23,24
|
|
m4_location(AC_FC_FUNC)autoconf/fortran.m4:1103
|
|
T23,553
|
|
_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,
|
|
# as systems may use methods other than mode bits to determine executability.
|
|
cat >conf$$.file <<_ASEOF
|
|
@%:@! /bin/sh
|
|
exit 0
|
|
_ASEOF
|
|
chmod +x conf$$.file
|
|
if test -x conf$$.file >/dev/null 2>&1; then
|
|
as_executable_p="test -x"
|
|
elif test -f conf$$.file >/dev/null 2>&1; then
|
|
as_executable_p="test -f"
|
|
else
|
|
AS_ERROR([cannot check whether a file is executable on this system])
|
|
fi
|
|
rm -f conf$$.file
|
|
[]_m4_defun_epi([_AS_BROKEN_TEST_PREPARE])
|
|
T17,122
|
|
AC_COMPILE_IFELSE_m4_defun_pro([AC_COMPILE_IFELSE])AC_LANG_COMPILER_REQUIRE()dnl
|
|
_AC_COMPILE_IFELSE($@)[]_m4_defun_epi([AC_COMPILE_IFELSE])
|
|
T9,164
|
|
AC_ALLOCA_m4_defun_pro([AC_ALLOCA])AC_DIAGNOSE([obsolete], [The macro `AC_ALLOCA' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_FUNC_ALLOCA($@)[]_m4_defun_epi([AC_ALLOCA])
|
|
T30,23
|
|
m4_location(AC_PROGRAMS_CHECK)autoconf/oldnames.m4:60
|
|
T22,16
|
|
m4_location(AC_LANG_C)autoconf/c.m4:71
|
|
T17,201
|
|
_AS_UNSET_PREPARE_m4_defun_pro([_AS_UNSET_PREPARE])# Support unset when possible.
|
|
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
|
as_unset=unset
|
|
else
|
|
as_unset=false
|
|
fi
|
|
[]_m4_defun_epi([_AS_UNSET_PREPARE])
|
|
T10,149
|
|
AC_C_CROSS_m4_defun_pro([AC_C_CROSS])AC_DIAGNOSE([obsolete], [The macro `AC_C_CROSS' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
[]_m4_defun_epi([AC_C_CROSS])
|
|
T26,23
|
|
m4_location(_AC_PROG_FC_V)autoconf/fortran.m4:590
|
|
T31,22
|
|
m4_location(_AC_LINK_FILES_CNT)autoconf/status.m4:757
|
|
T19,84
|
|
_AC_COMPUTE_INT_RUNAC_RUN_IFELSE([AC_LANG_INT_SAVE([$3], [$1])],
|
|
[$2=`cat conftest.val`], [$4])
|
|
F9,6
|
|
m4_definedefine
|
|
T17,188
|
|
AC_YYTEXT_POINTER_m4_defun_pro([AC_YYTEXT_POINTER])AC_DIAGNOSE([obsolete], [The macro `AC_YYTEXT_POINTER' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_DECL_YYTEXT($@)[]_m4_defun_epi([AC_YYTEXT_POINTER])
|
|
T17,558
|
|
AC_TYPE_MBSTATE_T_m4_defun_pro([AC_TYPE_MBSTATE_T])AC_CACHE_CHECK([for mbstate_t], ac_cv_type_mbstate_t,
|
|
[AC_COMPILE_IFELSE(
|
|
[AC_LANG_PROGRAM(
|
|
[AC_INCLUDES_DEFAULT
|
|
# include <wchar.h>],
|
|
[mbstate_t x; return sizeof x;])],
|
|
[ac_cv_type_mbstate_t=yes],
|
|
[ac_cv_type_mbstate_t=no])])
|
|
if test $ac_cv_type_mbstate_t = yes; then
|
|
AC_DEFINE([HAVE_MBSTATE_T], 1,
|
|
[Define to 1 if <wchar.h> declares mbstate_t.])
|
|
else
|
|
AC_DEFINE([mbstate_t], int,
|
|
[Define to a type if <wchar.h> does not define.])
|
|
fi[]_m4_defun_epi([AC_TYPE_MBSTATE_T])
|
|
T28,25
|
|
m4_location(AC_FUNC_GETPGRP)autoconf/functions.m4:797
|
|
T18,223
|
|
_AC_INIT_COPYRIGHTAC_COPYRIGHT(
|
|
[Copyright (C) 2003 Free Software Foundation, Inc.
|
|
This configure script is free software; the Free Software Foundation
|
|
gives unlimited permission to copy, distribute and modify it.],
|
|
[VERSION_FSF])dnl
|
|
|
|
F6,6
|
|
sysvalsysval
|
|
T26,25
|
|
m4_location(AC_FUNC_CHECK)autoconf/functions.m4:111
|
|
F11,8
|
|
m4_translittranslit
|
|
T26,26
|
|
m4_location(AC_FUNC_WAIT3)autoconf/functions.m4:1955
|
|
T9,58
|
|
m4_ifvalnm4_if([$1],
|
|
[], [m4_n([$3])],
|
|
[m4_n([$2])])
|
|
T29,1173
|
|
_AC_PROG_PREPROC_WORKS_IFELSE_m4_defun_pro([_AC_PROG_PREPROC_WORKS_IFELSE])ac_preproc_ok=false
|
|
for ac_[]_AC_LANG_ABBREV[]_preproc_warn_flag in '' yes
|
|
do
|
|
# Use a header file that comes with gcc, so configuring glibc
|
|
# with a fresh cross-compiler works.
|
|
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
# <limits.h> exists even on freestanding compilers.
|
|
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
# not just through cpp. "Syntax error" is here to catch this case.
|
|
_AC_PREPROC_IFELSE([AC_LANG_SOURCE([[@%:@ifdef __STDC__
|
|
@%:@ include <limits.h>
|
|
@%:@else
|
|
@%:@ include <assert.h>
|
|
@%:@endif
|
|
Syntax error]])],
|
|
[],
|
|
[# Broken: fails on valid input.
|
|
continue])
|
|
|
|
# OK, works on sane cases. Now check whether non-existent headers
|
|
# can be detected and how.
|
|
_AC_PREPROC_IFELSE([AC_LANG_SOURCE([[@%:@include <ac_nonexistent.h>]])],
|
|
[# Broken: success on invalid input.
|
|
continue],
|
|
[# Passes both tests.
|
|
ac_preproc_ok=:
|
|
break])
|
|
|
|
done
|
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
|
rm -f conftest.err conftest.$ac_ext
|
|
AS_IF([$ac_preproc_ok], [$1], [$2])[]_m4_defun_epi([_AC_PROG_PREPROC_WORKS_IFELSE])
|
|
T8,88
|
|
undefinem4_ifndef([$1],
|
|
[m4_fatal([$0: undefined macro: $1])])dnl
|
|
m4_builtin([undefine], $@)
|
|
T24,23
|
|
m4_location(AC_TEST_CPP)autoconf/oldnames.m4:66
|
|
T23,3
|
|
_m4_divert(VERSION_FSF)201
|
|
T8,77
|
|
AC_SUBSTm4_ifvaln([$2], [$1=$2])[]dnl
|
|
m4_append_uniq([_AC_SUBST_VARS], [$1], [ ])dnl
|
|
|
|
T12,298
|
|
AC_ARG_ARRAY_m4_defun_pro([AC_ARG_ARRAY])AC_DIAGNOSE([obsolete], [The macro `AC_ARG_ARRAY' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_DIAGNOSE([obsolete],
|
|
[$0: no longer implemented: don't do unportable things
|
|
with arguments. Remove this warning when you adjust your code.])[]_m4_defun_epi([AC_ARG_ARRAY])
|
|
T13,283
|
|
AC_PROG_EGREP_m4_defun_pro([AC_PROG_EGREP])AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
|
|
[if echo a | (grep -E '(a|b)') >/dev/null 2>&1
|
|
then ac_cv_prog_egrep='grep -E'
|
|
else ac_cv_prog_egrep='egrep'
|
|
fi])
|
|
EGREP=$ac_cv_prog_egrep
|
|
AC_SUBST([EGREP])
|
|
[]_m4_defun_epi([AC_PROG_EGREP])
|
|
T27,24
|
|
m4_location(AC_TRY_COMMAND)autoconf/general.m4:2041
|
|
T31,17
|
|
m4_location(AC_C_CHAR_UNSIGNED)autoconf/c.m4:917
|
|
T25,24
|
|
m4_location(AC_CACHE_VAL)autoconf/general.m4:1799
|
|
T20,201
|
|
_AS_BASENAME_PREPARE_m4_defun_pro([_AS_BASENAME_PREPARE])if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
|
as_basename=basename
|
|
else
|
|
as_basename=false
|
|
fi
|
|
[]_m4_defun_epi([_AS_BASENAME_PREPARE])
|
|
T8,516
|
|
AC_MINIX_m4_defun_pro([AC_MINIX])AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl
|
|
AC_BEFORE([$0], [AC_RUN_IFELSE])dnl
|
|
AC_CHECK_HEADER(minix/config.h, MINIX=yes, MINIX=)
|
|
if test "$MINIX" = yes; then
|
|
AC_DEFINE(_POSIX_SOURCE, 1,
|
|
[Define to 1 if you need to in order for `stat' and other things to
|
|
work.])
|
|
AC_DEFINE(_POSIX_1_SOURCE, 2,
|
|
[Define to 2 if the system does not provide POSIX.1 features except
|
|
with this defined.])
|
|
AC_DEFINE(_MINIX, 1,
|
|
[Define to 1 if on MINIX.])
|
|
fi
|
|
[]_m4_defun_epi([AC_MINIX])
|
|
T12,24
|
|
m4_rename_m4m4_rename([$1], [m4_$1])
|
|
T15,180
|
|
AC_PROGRAM_PATH_m4_defun_pro([AC_PROGRAM_PATH])AC_DIAGNOSE([obsolete], [The macro `AC_PROGRAM_PATH' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_PATH_PROG($@)[]_m4_defun_epi([AC_PROGRAM_PATH])
|
|
T13,282
|
|
_m4_defun_prom4_expansion_stack_push(m4_defn([m4_location($1)])[: $1 is expanded from...])dnl
|
|
m4_pushdef([_m4_expanding($1)])dnl
|
|
m4_ifdef([_m4_divert_dump],
|
|
[m4_divert_push(m4_defn([_m4_divert_diversion]))],
|
|
[m4_copy([_m4_divert_diversion], [_m4_divert_dump])dnl
|
|
m4_divert_push([GROW])])dnl
|
|
|
|
T8,26
|
|
AU_ALIASAU_DEFUN([$1], [$2($][@)])
|
|
F7,4
|
|
m4_decrdecr
|
|
F10,7
|
|
m4_pushdefpushdef
|
|
T31,26
|
|
m4_location(AC_FUNC_STRERROR_R)autoconf/functions.m4:1542
|
|
T21,23
|
|
m4_location(AC_ERROR)autoconf/oldnames.m4:55
|
|
T16,91
|
|
AC_CONFIG_HEADER_m4_defun_pro([AC_CONFIG_HEADER])AC_CONFIG_HEADERS([$1])[]_m4_defun_epi([AC_CONFIG_HEADER])
|
|
F9,6
|
|
m4_divnumdivnum
|
|
T19,572
|
|
_AC_FUNC_REALLOC_IF_m4_defun_pro([_AC_FUNC_REALLOC_IF])AC_REQUIRE([AC_HEADER_STDC])dnl
|
|
AC_CHECK_HEADERS(stdlib.h)
|
|
AC_CACHE_CHECK([for GNU libc compatible realloc], ac_cv_func_realloc_0_nonnull,
|
|
[AC_RUN_IFELSE(
|
|
[AC_LANG_PROGRAM(
|
|
[[#if STDC_HEADERS || HAVE_STDLIB_H
|
|
# include <stdlib.h>
|
|
#else
|
|
char *realloc ();
|
|
#endif
|
|
]],
|
|
[exit (realloc (0, 0) ? 0 : 1);])],
|
|
[ac_cv_func_realloc_0_nonnull=yes],
|
|
[ac_cv_func_realloc_0_nonnull=no],
|
|
[ac_cv_func_realloc_0_nonnull=no])])
|
|
AS_IF([test $ac_cv_func_realloc_0_nonnull = yes], [$1], [$2])
|
|
[]_m4_defun_epi([_AC_FUNC_REALLOC_IF])
|
|
T29,24
|
|
m4_location(AC_REPLACE_FUNCS)autoconf/functions.m4:97
|
|
T29,23
|
|
m4_location(AC_PROGRAMS_PATH)autoconf/oldnames.m4:61
|
|
T15,1850
|
|
_AC_FC_WRAPPERS_m4_defun_pro([_AC_FC_WRAPPERS])_AC_FORTRAN_ASSERT()dnl
|
|
AH_TEMPLATE(_AC_FC[_FUNC],
|
|
[Define to a macro mangling the given C identifier (in lower and upper
|
|
case), which must not contain underscores, for linking with Fortran.])dnl
|
|
AH_TEMPLATE(_AC_FC[_FUNC_],
|
|
[As ]_AC_FC[_FUNC, but for C identifiers containing underscores.])dnl
|
|
case $ac_cv_[]_AC_LANG_ABBREV[]_mangling in
|
|
"lower case, no underscore, no extra underscore")
|
|
AC_DEFINE(_AC_FC[_FUNC(name,NAME)], [name])
|
|
AC_DEFINE(_AC_FC[_FUNC_(name,NAME)], [name]) ;;
|
|
"lower case, no underscore, extra underscore")
|
|
AC_DEFINE(_AC_FC[_FUNC(name,NAME)], [name])
|
|
AC_DEFINE(_AC_FC[_FUNC_(name,NAME)], [name ## _]) ;;
|
|
"lower case, underscore, no extra underscore")
|
|
AC_DEFINE(_AC_FC[_FUNC(name,NAME)], [name ## _])
|
|
AC_DEFINE(_AC_FC[_FUNC_(name,NAME)], [name ## _]) ;;
|
|
"lower case, underscore, extra underscore")
|
|
AC_DEFINE(_AC_FC[_FUNC(name,NAME)], [name ## _])
|
|
AC_DEFINE(_AC_FC[_FUNC_(name,NAME)], [name ## __]) ;;
|
|
"upper case, no underscore, no extra underscore")
|
|
AC_DEFINE(_AC_FC[_FUNC(name,NAME)], [NAME])
|
|
AC_DEFINE(_AC_FC[_FUNC_(name,NAME)], [NAME]) ;;
|
|
"upper case, no underscore, extra underscore")
|
|
AC_DEFINE(_AC_FC[_FUNC(name,NAME)], [NAME])
|
|
AC_DEFINE(_AC_FC[_FUNC_(name,NAME)], [NAME ## _]) ;;
|
|
"upper case, underscore, no extra underscore")
|
|
AC_DEFINE(_AC_FC[_FUNC(name,NAME)], [NAME ## _])
|
|
AC_DEFINE(_AC_FC[_FUNC_(name,NAME)], [NAME ## _]) ;;
|
|
"upper case, underscore, extra underscore")
|
|
AC_DEFINE(_AC_FC[_FUNC(name,NAME)], [NAME ## _])
|
|
AC_DEFINE(_AC_FC[_FUNC_(name,NAME)], [NAME ## __]) ;;
|
|
*)
|
|
AC_MSG_WARN([unknown Fortran name-mangling scheme])
|
|
;;
|
|
esac
|
|
[]_m4_defun_epi([_AC_FC_WRAPPERS])
|
|
T32,25
|
|
m4_location(_AC_FUNC_FNMATCH_IF)autoconf/functions.m4:498
|
|
T32,0
|
|
m4_include(autoconf/specific.m4)
|
|
T23,26
|
|
m4_location(AC_STRCOLL)autoconf/functions.m4:1661
|
|
T26,22
|
|
m4_location(AC_LINK_FILES)autoconf/status.m4:753
|
|
T14,53
|
|
m4_cr_symbols1abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_
|
|
T20,24
|
|
m4_location(AC_WITH)autoconf/general.m4:1334
|
|
T33,17
|
|
m4_location(AC_LANG_PREPROC(C++))autoconf/c.m4:613
|
|
T14,63
|
|
m4_cr_symbols2abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789
|
|
T18,191
|
|
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.
|
|
You should run autoupdate.])dnl
|
|
AC_PROG_CC_C_O($@)[]_m4_defun_epi([AC_MINUS_C_MINUS_O])
|
|
T15,402
|
|
AC_FUNC_REALLOC_m4_defun_pro([AC_FUNC_REALLOC])_AC_FUNC_REALLOC_IF(
|
|
[AC_DEFINE([HAVE_REALLOC], 1,
|
|
[Define to 1 if your system has a GNU libc compatible `realloc'
|
|
function, and to 0 otherwise.])],
|
|
[AC_DEFINE([HAVE_REALLOC], 0)
|
|
AC_LIBOBJ([realloc])
|
|
AC_DEFINE([realloc], [rpl_realloc],
|
|
[Define to rpl_realloc if the replacement function should be used.])])
|
|
[]_m4_defun_epi([AC_FUNC_REALLOC])
|
|
T9,194
|
|
AC_ENABLE_m4_defun_pro([AC_ENABLE])AC_DIAGNOSE([obsolete], [The macro `AC_ENABLE' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_ARG_ENABLE([$1], [ --enable-$1], [$2], [$3])[]_m4_defun_epi([AC_ENABLE])
|
|
T15,981
|
|
AC_CHECK_MEMBER_m4_defun_pro([AC_CHECK_MEMBER])AS_LITERAL_IF([$1], [],
|
|
[AC_FATAL([$0: requires literal arguments])])dnl
|
|
m4_bmatch([$1], [\.], ,
|
|
[m4_fatal([$0: Did not see any dot in `$1'])])dnl
|
|
AS_VAR_PUSHDEF([ac_Member], [ac_cv_member_$1])dnl
|
|
dnl Extract the aggregate name, and the member name
|
|
AC_CACHE_CHECK([for $1], ac_Member,
|
|
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT([$4])],
|
|
[dnl AGGREGATE ac_aggr;
|
|
static m4_bpatsubst([$1], [\..*]) ac_aggr;
|
|
dnl ac_aggr.MEMBER;
|
|
if (ac_aggr.m4_bpatsubst([$1], [^[^.]*\.]))
|
|
return 0;])],
|
|
[AS_VAR_SET(ac_Member, yes)],
|
|
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT([$4])],
|
|
[dnl AGGREGATE ac_aggr;
|
|
static m4_bpatsubst([$1], [\..*]) ac_aggr;
|
|
dnl sizeof ac_aggr.MEMBER;
|
|
if (sizeof ac_aggr.m4_bpatsubst([$1], [^[^.]*\.]))
|
|
return 0;])],
|
|
[AS_VAR_SET(ac_Member, yes)],
|
|
[AS_VAR_SET(ac_Member, no)])])])
|
|
AS_IF([test AS_VAR_GET(ac_Member) = yes], [$2], [$3])dnl
|
|
AS_VAR_POPDEF([ac_Member])dnl
|
|
[]_m4_defun_epi([AC_CHECK_MEMBER])
|
|
T25,26
|
|
m4_location(AC_FUNC_FORK)autoconf/functions.m4:1738
|
|
T15,183
|
|
fp_FUNC_FNMATCH_m4_defun_pro([fp_FUNC_FNMATCH])AC_DIAGNOSE([obsolete], [The macro `fp_FUNC_FNMATCH' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_FUNC_FNMATCH($@)[]_m4_defun_epi([fp_FUNC_FNMATCH])
|
|
T31,17
|
|
m4_location(AC_LANG_PREPROC(C))autoconf/c.m4:340
|
|
T6,86
|
|
AH_TOPm4_define([_AH_COUNTER], m4_incr(_AH_COUNTER))dnl
|
|
AH_VERBATIM([0000]_AH_COUNTER, [$1])
|
|
T13,355
|
|
AC_RUN_IFELSE_m4_defun_pro([AC_RUN_IFELSE])AC_LANG_COMPILER_REQUIRE()dnl
|
|
m4_ifval([$4], [],
|
|
[AC_DIAGNOSE([cross],
|
|
[$0 called without default to allow cross compiling])])dnl
|
|
if test "$cross_compiling" = yes; then
|
|
m4_default([$4],
|
|
[AC_MSG_ERROR([internal error: not reached in cross-compile])])
|
|
else
|
|
_AC_RUN_IFELSE($@)
|
|
fi[]_m4_defun_epi([AC_RUN_IFELSE])
|
|
T27,21
|
|
m4_location(AC_INT_16_BITS)autoconf/types.m4:425
|
|
T11,489
|
|
_AC_FC_FUNC_m4_defun_pro([_AC_FC_FUNC])_AC_FORTRAN_ASSERT()dnl
|
|
case $ac_cv_[]_AC_LANG_ABBREV[]_mangling in
|
|
upper*) ac_val="m4_toupper([$1])" ;;
|
|
lower*) ac_val="m4_tolower([$1])" ;;
|
|
*) ac_val="unknown" ;;
|
|
esac
|
|
case $ac_cv_[]_AC_LANG_ABBREV[]_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
|
|
m4_if(m4_index([$1],[_]),-1,[],
|
|
[case $ac_cv_[]_AC_LANG_ABBREV[]_mangling in *," extra underscore"*) ac_val="$ac_val"_ ;; esac
|
|
])
|
|
m4_default([$2],[$1])="$ac_val"
|
|
[]_m4_defun_epi([_AC_FC_FUNC])
|
|
T8,124
|
|
AU_DEFUNAU_DEFINE([$1],
|
|
[AC_DIAGNOSE([obsolete], [The macro `$1' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
$2],
|
|
[$3])dnl
|
|
|
|
T13,39
|
|
AS_LITERAL_IFm4_bmatch([$1], [[`$]],
|
|
[$3], [$2])
|
|
T13,182
|
|
AC_ST_BLKSIZE_m4_defun_pro([AC_ST_BLKSIZE])AC_DIAGNOSE([obsolete], [The macro `AC_ST_BLKSIZE' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_STRUCT_ST_BLKSIZE($@)[]_m4_defun_epi([AC_ST_BLKSIZE])
|
|
T13,503
|
|
AC_CHECK_FILE_m4_defun_pro([AC_CHECK_FILE])AC_DIAGNOSE([cross],
|
|
[cannot check for file existence when cross compiling])dnl
|
|
AS_VAR_PUSHDEF([ac_File], [ac_cv_file_$1])dnl
|
|
AC_CACHE_CHECK([for $1], ac_File,
|
|
[test "$cross_compiling" = yes &&
|
|
AC_MSG_ERROR([cannot check for file existence when cross compiling])
|
|
if test -r "$1"; then
|
|
AS_VAR_SET(ac_File, yes)
|
|
else
|
|
AS_VAR_SET(ac_File, no)
|
|
fi])
|
|
AS_IF([test AS_VAR_GET(ac_File) = yes], [$2], [$3])[]dnl
|
|
AS_VAR_POPDEF([ac_File])dnl
|
|
[]_m4_defun_epi([AC_CHECK_FILE])
|
|
T29,0
|
|
m4_include(autoconf/types.m4)
|
|
T13,26
|
|
m4_cr_lettersabcdefghijklmnopqrstuvwxyz
|
|
T23,211
|
|
AC_SYS_SIGLIST_DECLARED_m4_defun_pro([AC_SYS_SIGLIST_DECLARED])AC_DIAGNOSE([obsolete], [The macro `AC_SYS_SIGLIST_DECLARED' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_DECL_SYS_SIGLIST($@)[]_m4_defun_epi([AC_SYS_SIGLIST_DECLARED])
|
|
T10,252
|
|
AC_LANG(C)ac_ext=c
|
|
ac_cpp='$CPP $CPPFLAGS'
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&AS_MESSAGE_LOG_FD'
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&AS_MESSAGE_LOG_FD'
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
T19,326
|
|
AC_DECL_SYS_SIGLIST_m4_defun_pro([AC_DECL_SYS_SIGLIST])AC_DIAGNOSE([obsolete], [The macro `AC_DECL_SYS_SIGLIST' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_CHECK_DECLS([sys_siglist],,,
|
|
[#include <signal.h>
|
|
/* NetBSD declares sys_siglist in unistd.h. */
|
|
#if HAVE_UNISTD_H
|
|
# include <unistd.h>
|
|
#endif
|
|
])
|
|
[]_m4_defun_epi([AC_DECL_SYS_SIGLIST])
|
|
T14,44
|
|
m4_divert_oncem4_expand_once([m4_divert_text([$1], [$2])])
|
|
T12,4761
|
|
AC_PATH_XTRA_m4_defun_pro([AC_PATH_XTRA])AC_REQUIRE([AC_PATH_X])dnl
|
|
if test "$no_x" = yes; then
|
|
# Not all programs may use this symbol, but it does not hurt to define it.
|
|
AC_DEFINE([X_DISPLAY_MISSING], 1,
|
|
[Define to 1 if the X Window System is missing or not being used.])
|
|
X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
|
|
else
|
|
if test -n "$x_includes"; then
|
|
X_CFLAGS="$X_CFLAGS -I$x_includes"
|
|
fi
|
|
|
|
# It would also be nice to do this for all -L options, not just this one.
|
|
if test -n "$x_libraries"; then
|
|
X_LIBS="$X_LIBS -L$x_libraries"
|
|
dnl FIXME: banish uname from this macro!
|
|
# For Solaris; some versions of Sun CC require a space after -R and
|
|
# others require no space. Words are not sufficient . . . .
|
|
case `(uname -sr) 2>/dev/null` in
|
|
"SunOS 5"*)
|
|
AC_MSG_CHECKING([whether -R must be followed by a space])
|
|
ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
|
|
AC_LINK_IFELSE([AC_LANG_PROGRAM()], ac_R_nospace=yes, ac_R_nospace=no)
|
|
if test $ac_R_nospace = yes; then
|
|
AC_MSG_RESULT([no])
|
|
X_LIBS="$X_LIBS -R$x_libraries"
|
|
else
|
|
LIBS="$ac_xsave_LIBS -R $x_libraries"
|
|
AC_LINK_IFELSE([AC_LANG_PROGRAM()], ac_R_space=yes, ac_R_space=no)
|
|
if test $ac_R_space = yes; then
|
|
AC_MSG_RESULT([yes])
|
|
X_LIBS="$X_LIBS -R $x_libraries"
|
|
else
|
|
AC_MSG_RESULT([neither works])
|
|
fi
|
|
fi
|
|
LIBS=$ac_xsave_LIBS
|
|
esac
|
|
fi
|
|
|
|
# Check for system-dependent libraries X programs must link with.
|
|
# Do this before checking for the system-independent R6 libraries
|
|
# (-lICE), since we may need -lsocket or whatever for X linking.
|
|
|
|
if test "$ISC" = yes; then
|
|
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
|
|
else
|
|
# Martyn Johnson says this is needed for Ultrix, if the X
|
|
# libraries were built with DECnet support. And Karl Berry says
|
|
# the Alpha needs dnet_stub (dnet does not exist).
|
|
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
|
|
AC_LINK_IFELSE([AC_LANG_CALL([], [XOpenDisplay])],
|
|
[],
|
|
[AC_CHECK_LIB(dnet, dnet_ntoa, [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"])
|
|
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
|
|
AC_CHECK_LIB(dnet_stub, dnet_ntoa,
|
|
[X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"])
|
|
fi])
|
|
LIBS="$ac_xsave_LIBS"
|
|
|
|
# msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
|
|
# to get the SysV transport functions.
|
|
# Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
|
|
# needs -lnsl.
|
|
# The nsl library prevents programs from opening the X display
|
|
# on Irix 5.2, according to T.E. Dickey.
|
|
# The functions gethostbyname, getservbyname, and inet_addr are
|
|
# in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
|
|
AC_CHECK_FUNC(gethostbyname)
|
|
if test $ac_cv_func_gethostbyname = no; then
|
|
AC_CHECK_LIB(nsl, gethostbyname, X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl")
|
|
if test $ac_cv_lib_nsl_gethostbyname = no; then
|
|
AC_CHECK_LIB(bsd, gethostbyname, X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd")
|
|
fi
|
|
fi
|
|
|
|
# lieder@skyler.mavd.honeywell.com says without -lsocket,
|
|
# socket/setsockopt and other routines are undefined under SCO ODT
|
|
# 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
|
|
# on later versions), says Simon Leinen: it contains gethostby*
|
|
# variants that don't use the name server (or something). -lsocket
|
|
# must be given before -lnsl if both are needed. We assume that
|
|
# if connect needs -lnsl, so does gethostbyname.
|
|
AC_CHECK_FUNC(connect)
|
|
if test $ac_cv_func_connect = no; then
|
|
AC_CHECK_LIB(socket, connect, X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS", ,
|
|
$X_EXTRA_LIBS)
|
|
fi
|
|
|
|
# Guillermo Gomez says -lposix is necessary on A/UX.
|
|
AC_CHECK_FUNC(remove)
|
|
if test $ac_cv_func_remove = no; then
|
|
AC_CHECK_LIB(posix, remove, X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix")
|
|
fi
|
|
|
|
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
|
|
AC_CHECK_FUNC(shmat)
|
|
if test $ac_cv_func_shmat = no; then
|
|
AC_CHECK_LIB(ipc, shmat, X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc")
|
|
fi
|
|
fi
|
|
|
|
# Check for libraries that X11R6 Xt/Xaw programs need.
|
|
ac_save_LDFLAGS=$LDFLAGS
|
|
test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
|
|
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
|
|
# check for ICE first), but we must link in the order -lSM -lICE or
|
|
# we get undefined symbols. So assume we have SM if we have ICE.
|
|
# These have to be linked with before -lX11, unlike the other
|
|
# libraries we check for below, so use a different variable.
|
|
# John Interrante, Karl Berry
|
|
AC_CHECK_LIB(ICE, IceConnectionNumber,
|
|
[X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"], , $X_EXTRA_LIBS)
|
|
LDFLAGS=$ac_save_LDFLAGS
|
|
|
|
fi
|
|
AC_SUBST(X_CFLAGS)dnl
|
|
AC_SUBST(X_PRE_LIBS)dnl
|
|
AC_SUBST(X_LIBS)dnl
|
|
AC_SUBST(X_EXTRA_LIBS)dnl
|
|
[]_m4_defun_epi([AC_PATH_XTRA])
|
|
T23,0
|
|
AC_OUTPUT_COMMANDS_POST
|
|
T15,424
|
|
AC_C_PROTOTYPES_m4_defun_pro([AC_C_PROTOTYPES])AC_REQUIRE([AC_PROG_CC])dnl
|
|
AC_MSG_CHECKING([for function prototypes])
|
|
if test "$ac_cv_prog_cc_stdc" != no; then
|
|
AC_MSG_RESULT([yes])
|
|
AC_DEFINE(PROTOTYPES, 1,
|
|
[Define to 1 if the C compiler supports function prototypes.])
|
|
AC_DEFINE(__PROTOTYPES, 1,
|
|
[Define like PROTOTYPES; this can be used by system headers.])
|
|
else
|
|
AC_MSG_RESULT([no])
|
|
fi
|
|
[]_m4_defun_epi([AC_C_PROTOTYPES])
|
|
T22,24
|
|
m4_location(AC_CYGWIN)autoconf/specific.m4:363
|
|
T13,44
|
|
AC_SUBST_FILEm4_append_uniq([_AC_SUBST_FILES], [$1], [ ])
|
|
T17,182
|
|
AC_LANG_CPLUSPLUS_m4_defun_pro([AC_LANG_CPLUSPLUS])AC_DIAGNOSE([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_LANG(C++)[]_m4_defun_epi([AC_LANG_CPLUSPLUS])
|
|
T24,39
|
|
m4_location(AS_BASENAME)/usr/share/autoconf/m4sugar/m4sh.m4:480
|
|
T27,24
|
|
m4_location(AC_TRY_COMPILE)autoconf/general.m4:2179
|
|
T31,23
|
|
m4_location(AC_LONG_FILE_NAMES)autoconf/oldnames.m4:85
|
|
T9,75
|
|
m4_beforem4_provide_if([$2],
|
|
[m4_warn([syntax], [$2 was called before $1])])
|
|
T30,39
|
|
m4_location(AS_SHELL_SANITIZE)/usr/share/autoconf/m4sugar/m4sh.m4:185
|
|
T25,24
|
|
m4_location(AC_EGREP_CPP)autoconf/general.m4:2129
|
|
T7,84
|
|
m4_defnm4_ifndef([$1],
|
|
[m4_fatal([$0: undefined macro: $1])])dnl
|
|
m4_builtin([defn], $@)
|
|
T21,311
|
|
_AC_LANG_COMPILER_GNUAC_CACHE_CHECK([whether we are using the GNU _AC_LANG compiler],
|
|
[ac_cv_[]_AC_LANG_ABBREV[]_compiler_gnu],
|
|
[_AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [[#ifndef __GNUC__
|
|
choke me
|
|
#endif
|
|
]])],
|
|
[ac_compiler_gnu=yes],
|
|
[ac_compiler_gnu=no])
|
|
ac_cv_[]_AC_LANG_ABBREV[]_compiler_gnu=$ac_compiler_gnu
|
|
])
|
|
T7,550
|
|
AC_INIT# Forbidden tokens and exceptions.
|
|
m4_pattern_forbid([^_?A[CHUM]_])
|
|
m4_pattern_forbid([_AC_])
|
|
m4_pattern_forbid([^LIBOBJS$],
|
|
[do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
|
|
# Actually reserved by M4sh.
|
|
m4_pattern_allow([^AS_FLAGS$])
|
|
AS_INIT
|
|
AS_PREPARE
|
|
m4_ifval([$2], [_AC_INIT_PACKAGE($@)])
|
|
_AC_INIT_DEFAULTS
|
|
_AC_INIT_PARSE_ARGS
|
|
_AC_INIT_SRCDIR
|
|
_AC_INIT_HELP
|
|
_AC_INIT_VERSION
|
|
_AC_INIT_CONFIG_LOG
|
|
_AC_INIT_PREPARE
|
|
_AC_INIT_NOTICE
|
|
_AC_INIT_COPYRIGHT
|
|
m4_ifval([$2], , [m4_ifval([$1], [AC_CONFIG_SRCDIR([$1])])])dnl
|
|
|
|
T13,502
|
|
AC_ARG_ENABLE_m4_defun_pro([AC_ARG_ENABLE])m4_divert_once([HELP_ENABLE], [[
|
|
Optional Features:
|
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]]])dnl
|
|
m4_divert_once([HELP_ENABLE], [$2])dnl
|
|
# Check whether --enable-$1 or --disable-$1 was given.
|
|
if test "[${enable_]m4_bpatsubst([$1], -, _)+set}" = set; then
|
|
enableval="[$enable_]m4_bpatsubst([$1], -, _)"
|
|
$3
|
|
m4_ifvaln([$4], [else
|
|
$4])dnl
|
|
fi; dnl
|
|
[]_m4_defun_epi([AC_ARG_ENABLE])
|
|
T30,39
|
|
m4_location(_AS_TR_SH_PREPARE)/usr/share/autoconf/m4sugar/m4sh.m4:957
|
|
T22,23
|
|
m4_location(AC_PREREQ)autoconf/general.m4:313
|
|
T25,24
|
|
m4_location(AC_PATH_PROG)autoconf/programs.m4:163
|
|
T31,22
|
|
m4_location(AC_OUTPUT_COMMANDS)autoconf/status.m4:318
|
|
T15,451
|
|
_AC_LINK_IFELSEm4_ifvaln([$1], [AC_LANG_CONFTEST([$1])])dnl
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
AS_IF([_AC_EVAL_STDERR($ac_link) &&
|
|
AC_TRY_COMMAND([test -z "$ac_[]_AC_LANG_ABBREV[]_werror_flag" || test ! -s conftest.err]) &&
|
|
AC_TRY_COMMAND([test -s conftest$ac_exeext])],
|
|
[$2],
|
|
[_AC_MSG_LOG_CONFTEST
|
|
m4_ifvaln([$3], [$3])dnl])[]dnl
|
|
rm -f conftest.err conftest.$ac_objext \
|
|
conftest$ac_exeext m4_ifval([$1], [conftest.$ac_ext])[]dnl
|
|
|
|
T11,55
|
|
m4_sincludem4_include_unique([$1])dnl
|
|
m4_builtin([sinclude], [$1])
|
|
T34,23
|
|
m4_location(_AC_F77_NAME_MANGLING)autoconf/fortran.m4:987
|
|
T23,17
|
|
m4_location(AC_C_CROSS)autoconf/c.m4:899
|
|
T26,1090
|
|
AC_LANG_FUNC_LINK_TRY(C++)AC_LANG_PROGRAM(
|
|
[/* Define $1 to an innocuous variant, in case <limits.h> declares $1.
|
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
#define $1 innocuous_$1
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
which can conflict with char $1 (); below.
|
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
<limits.h> exists even on freestanding compilers. */
|
|
|
|
#ifdef __STDC__
|
|
# include <limits.h>
|
|
#else
|
|
# include <assert.h>
|
|
#endif
|
|
|
|
#undef $1
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
/* We use char because int might match the return type of a gcc2
|
|
builtin and then its argument prototype would still apply. */
|
|
char $1 ();
|
|
/* The GNU C library defines this for functions which it implements
|
|
to always fail with ENOSYS. Some functions are actually named
|
|
something starting with __ and the normal name is an alias. */
|
|
#if defined (__stub_$1) || defined (__stub___$1)
|
|
choke me
|
|
#else
|
|
char (*f) () = $1;
|
|
#endif
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
], [return f != $1;])
|
|
T9,156
|
|
AC_LANG_C_m4_defun_pro([AC_LANG_C])AC_DIAGNOSE([obsolete], [The macro `AC_LANG_C' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_LANG(C)[]_m4_defun_epi([AC_LANG_C])
|
|
T14,495
|
|
AC_INT_16_BITS_m4_defun_pro([AC_INT_16_BITS])AC_DIAGNOSE([obsolete], [The macro `AC_INT_16_BITS' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_CHECK_SIZEOF([int])
|
|
AC_DIAGNOSE([obsolete], [$0:
|
|
your code should no longer depend upon `INT_16_BITS', but upon
|
|
`SIZEOF_INT'. Remove this warning and the `AC_DEFINE' when you
|
|
adjust the code.])dnl
|
|
test $ac_cv_sizeof_int = 2 &&
|
|
AC_DEFINE(INT_16_BITS, 1,
|
|
[Define to 1 if `sizeof (int)' = 2. Obsolete, use `SIZEOF_INT'.])
|
|
[]_m4_defun_epi([AC_INT_16_BITS])
|
|
T23,24
|
|
m4_location(AC_RUN_LOG)autoconf/general.m4:2048
|
|
T12,92
|
|
AC_ISC_POSIX_m4_defun_pro([AC_ISC_POSIX])AC_SEARCH_LIBS(strerror, cposix)[]_m4_defun_epi([AC_ISC_POSIX])
|
|
T15,230
|
|
AC_CONFIG_FILES_m4_defun_pro([AC_CONFIG_FILES])AC_FOREACH([AC_File], [$1], [_AC_CONFIG_FILE(m4_defn([AC_File]), [$2])])dnl
|
|
_AC_CONFIG_COMMANDS_INIT([$3])dnl
|
|
ac_config_files="$ac_config_files m4_normalize([$1])"
|
|
[]_m4_defun_epi([AC_CONFIG_FILES])
|
|
T22,23
|
|
m4_location(AC_MODE_T)autoconf/oldnames.m4:88
|
|
T16,184
|
|
AC_PROGRAM_CHECK_m4_defun_pro([AC_PROGRAM_CHECK])AC_DIAGNOSE([obsolete], [The macro `AC_PROGRAM_CHECK' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_CHECK_PROG($@)[]_m4_defun_epi([AC_PROGRAM_CHECK])
|
|
T18,569
|
|
AC_C_CHAR_UNSIGNED_m4_defun_pro([AC_C_CHAR_UNSIGNED])AH_VERBATIM([__CHAR_UNSIGNED__],
|
|
[/* Define to 1 if type `char' is unsigned and you are not using gcc. */
|
|
#ifndef __CHAR_UNSIGNED__
|
|
# undef __CHAR_UNSIGNED__
|
|
#endif])dnl
|
|
AC_CACHE_CHECK(whether char is unsigned, ac_cv_c_char_unsigned,
|
|
[AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([AC_INCLUDES_DEFAULT([])],
|
|
[((char) -1) < 0])],
|
|
ac_cv_c_char_unsigned=no, ac_cv_c_char_unsigned=yes)])
|
|
if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
|
|
AC_DEFINE(__CHAR_UNSIGNED__)
|
|
fi
|
|
[]_m4_defun_epi([AC_C_CHAR_UNSIGNED])
|
|
T11,165
|
|
AC_CYGWIN32_m4_defun_pro([AC_CYGWIN32])AC_DIAGNOSE([obsolete], [The macro `AC_CYGWIN32' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_CYGWIN($@)[]_m4_defun_epi([AC_CYGWIN32])
|
|
T17,240
|
|
AC_CONFIG_HEADERS_m4_defun_pro([AC_CONFIG_HEADERS])AC_FOREACH([AC_File], [$1], [_AC_CONFIG_HEADER(m4_defn([AC_File]), [$2])])dnl
|
|
_AC_CONFIG_COMMANDS_INIT([$3])dnl
|
|
ac_config_headers="$ac_config_headers m4_normalize([$1])"
|
|
[]_m4_defun_epi([AC_CONFIG_HEADERS])
|
|
T20,356
|
|
AC_CONFIG_LIBOBJ_DIRm4_provide_if([AC_CONFIG_LIBOBJ_DIR],
|
|
[m4_warn([syntax], [AC_CONFIG_LIBOBJ_DIR invoked multiple times])],
|
|
[_m4_defun_pro([AC_CONFIG_LIBOBJ_DIR])m4_bmatch([$1], [^]m4_defn([m4_cr_symbols2]),
|
|
[AC_WARNING([invalid replacement directory: $1])])dnl
|
|
m4_divert_text([DEFAULTS], [ac_config_libobj_dir=$1])[]dnl
|
|
[]_m4_defun_epi([AC_CONFIG_LIBOBJ_DIR])])
|
|
T15,892
|
|
_AC_PROG_FC_C_O_m4_defun_pro([_AC_PROG_FC_C_O])_AC_FORTRAN_ASSERT()dnl
|
|
AC_CACHE_CHECK([whether $[]_AC_FC[] understands -c and -o together],
|
|
[ac_cv_prog_[]_AC_LANG_ABBREV[]_c_o],
|
|
[AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
|
|
# We test twice because some compilers refuse to overwrite an existing
|
|
# `.o' file with `-o', although they will create one.
|
|
ac_try='$[]_AC_FC[] $[]_AC_LANG_PREFIX[]FLAGS -c conftest.$ac_ext -o conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
|
|
if AC_TRY_EVAL(ac_try) &&
|
|
test -f conftest.$ac_objext &&
|
|
AC_TRY_EVAL(ac_try); then
|
|
ac_cv_prog_[]_AC_LANG_ABBREV[]_c_o=yes
|
|
else
|
|
ac_cv_prog_[]_AC_LANG_ABBREV[]_c_o=no
|
|
fi
|
|
rm -f conftest*])
|
|
if test $ac_cv_prog_[]_AC_LANG_ABBREV[]_c_o = no; then
|
|
AC_DEFINE([]_AC_FC[]_NO_MINUS_C_MINUS_O, 1,
|
|
[Define to 1 if your Fortran compiler doesn't accept
|
|
-c and -o together.])
|
|
fi
|
|
[]_m4_defun_epi([_AC_PROG_FC_C_O])
|
|
T14,541
|
|
_AC_PROG_CXX_Gac_test_CXXFLAGS=${CXXFLAGS+set}
|
|
ac_save_CXXFLAGS=$CXXFLAGS
|
|
CXXFLAGS="-g"
|
|
AC_CACHE_CHECK(whether $CXX accepts -g, ac_cv_prog_cxx_g,
|
|
[_AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
|
|
[ac_cv_prog_cxx_g=yes],
|
|
[ac_cv_prog_cxx_g=no])])
|
|
if test "$ac_test_CXXFLAGS" = set; then
|
|
CXXFLAGS=$ac_save_CXXFLAGS
|
|
elif test $ac_cv_prog_cxx_g = yes; then
|
|
if test "$GXX" = yes; then
|
|
CXXFLAGS="$CXXFLAGS -g -O2"
|
|
else
|
|
CXXFLAGS="$CXXFLAGS -g"
|
|
fi
|
|
else
|
|
if test "$GXX" = yes; then
|
|
CXXFLAGS="-O2"
|
|
else
|
|
CXXFLAGS=
|
|
fi
|
|
fi[]dnl
|
|
|
|
T10,163
|
|
AM_MINGW32_m4_defun_pro([AM_MINGW32])AC_DIAGNOSE([obsolete], [The macro `AM_MINGW32' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_MINGW32($@)[]_m4_defun_epi([AM_MINGW32])
|
|
T26,1
|
|
_m4_divert(HEADER-COMMENT)2
|
|
T14,566
|
|
AC_TYPE_SIGNAL_m4_defun_pro([AC_TYPE_SIGNAL])AC_CACHE_CHECK([return type of signal handlers], ac_cv_type_signal,
|
|
[AC_COMPILE_IFELSE(
|
|
[AC_LANG_PROGRAM([#include <sys/types.h>
|
|
#include <signal.h>
|
|
#ifdef signal
|
|
# undef signal
|
|
#endif
|
|
#ifdef __cplusplus
|
|
extern "C" void (*signal (int, void (*)(int)))(int);
|
|
#else
|
|
void (*signal ()) ();
|
|
#endif
|
|
],
|
|
[int i;])],
|
|
[ac_cv_type_signal=void],
|
|
[ac_cv_type_signal=int])])
|
|
AC_DEFINE_UNQUOTED(RETSIGTYPE, $ac_cv_type_signal,
|
|
[Define as the return type of signal handlers
|
|
(`int' or `void').])
|
|
[]_m4_defun_epi([AC_TYPE_SIGNAL])
|
|
T11,172
|
|
AC_SET_MAKE_m4_defun_pro([AC_SET_MAKE])AC_DIAGNOSE([obsolete], [The macro `AC_SET_MAKE' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_PROG_MAKE_SET($@)[]_m4_defun_epi([AC_SET_MAKE])
|
|
T16,273
|
|
AC_COMPILE_CHECK_m4_defun_pro([AC_COMPILE_CHECK])AC_DIAGNOSE([obsolete], [The macro `AC_COMPILE_CHECK' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
m4_ifvaln([$1], [AC_CHECKING([for $1])])dnl
|
|
AC_LINK_IFELSE([AC_LANG_PROGRAM([[$2]], [[$3]])], [$4], [$5])
|
|
[]_m4_defun_epi([AC_COMPILE_CHECK])
|
|
T15,866
|
|
AC_CHECK_SIZEOF_m4_defun_pro([AC_CHECK_SIZEOF])AS_LITERAL_IF([$1], [],
|
|
[AC_FATAL([$0: requires literal arguments])])dnl
|
|
AC_CHECK_TYPE([$1], [], [], [$3])
|
|
AC_CACHE_CHECK([size of $1], AS_TR_SH([ac_cv_sizeof_$1]),
|
|
[if test "$AS_TR_SH([ac_cv_type_$1])" = yes; then
|
|
# The cast to unsigned long works around a bug in the HP C Compiler
|
|
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
|
|
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
|
|
# This bug is HP SR number 8606223364.
|
|
_AC_COMPUTE_INT([(long) (sizeof ($1))],
|
|
[AS_TR_SH([ac_cv_sizeof_$1])],
|
|
[AC_INCLUDES_DEFAULT([$3])],
|
|
[AC_MSG_FAILURE([cannot compute sizeof ($1), 77])])
|
|
else
|
|
AS_TR_SH([ac_cv_sizeof_$1])=0
|
|
fi])dnl
|
|
AC_DEFINE_UNQUOTED(AS_TR_CPP(sizeof_$1), $AS_TR_SH([ac_cv_sizeof_$1]),
|
|
[The size of a `$1', as computed by sizeof.])
|
|
[]_m4_defun_epi([AC_CHECK_SIZEOF])
|
|
F8,8
|
|
patsubstpatsubst
|
|
T46,23
|
|
m4_location(_AC_INCLUDES_DEFAULT_REQUIREMENTS)autoconf/headers.m4:267
|
|
T28,24
|
|
m4_location(AC_F77_WRAPPERS)autoconf/fortran.m4:1053
|
|
F11,8
|
|
m4_errprinterrprint
|
|
T16,1305
|
|
_AC_OUTPUT_LINKScat >>$CONFIG_STATUS <<\_ACEOF
|
|
|
|
#
|
|
# CONFIG_LINKS section.
|
|
#
|
|
|
|
dnl Here we use : instead of .. because if AC_LINK_FILES was used
|
|
dnl with empty parameters (as in gettext.m4), then we obtain here
|
|
dnl `:', which we want to skip. So let's keep a single exception: `:'.
|
|
for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue
|
|
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
|
|
ac_source=`echo "$ac_file" | sed 's,[[^:]]*:,,'`
|
|
|
|
AC_MSG_NOTICE([linking $srcdir/$ac_source to $ac_dest])
|
|
|
|
if test ! -r $srcdir/$ac_source; then
|
|
AC_MSG_ERROR([$srcdir/$ac_source: file not found])
|
|
fi
|
|
rm -f $ac_dest
|
|
|
|
# Make relative symlinks.
|
|
ac_dest_dir=`AS_DIRNAME(["$ac_dest"])`
|
|
AS_MKDIR_P(["$ac_dest_dir"])
|
|
_AC_SRCPATHS(["$ac_dest_dir"])
|
|
|
|
case $srcdir in
|
|
[[\\/$]]* | ?:[[\\/]]* ) ac_rel_source=$srcdir/$ac_source ;;
|
|
*) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;
|
|
esac
|
|
|
|
# Try a symlink, then a hard link, then a copy.
|
|
ln -s $ac_rel_source $ac_dest 2>/dev/null ||
|
|
ln $srcdir/$ac_source $ac_dest 2>/dev/null ||
|
|
cp -p $srcdir/$ac_source $ac_dest ||
|
|
AC_MSG_ERROR([cannot link or copy $srcdir/$ac_source to $ac_dest])
|
|
m4_ifset([AC_LIST_LINKS_COMMANDS],
|
|
[ # Run the commands associated with the file.
|
|
case $ac_file in
|
|
AC_LIST_LINKS_COMMANDS()dnl
|
|
esac
|
|
])dnl
|
|
done
|
|
_ACEOF
|
|
|
|
T6,138
|
|
_AC_FC_m4_defun_pro([_AC_FC])_AC_FORTRAN_ASSERT()dnl
|
|
AC_LANG_CASE([Fortran 77], [F77],
|
|
[Fortran], [FC])[]_m4_defun_epi([_AC_FC])
|
|
T13,87
|
|
AC_MSG_RESULT_AS_ECHO([$as_me:$LINENO: result: $1], AS_MESSAGE_LOG_FD)
|
|
_AS_ECHO([${ECHO_T}$1])[]dnl
|
|
|
|
T20,1938
|
|
_AC_PROG_FC_V_OUTPUT_m4_defun_pro([_AC_PROG_FC_V_OUTPUT])_AC_FORTRAN_ASSERT()dnl
|
|
AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
|
|
|
|
# Compile and link our simple test program by passing a flag (argument
|
|
# 1 to this macro) to the Fortran compiler in order to get
|
|
# "verbose" output that we can then parse for the Fortran linker
|
|
# flags.
|
|
ac_save_FFLAGS=$[]_AC_LANG_PREFIX[]FLAGS
|
|
_AC_LANG_PREFIX[]FLAGS="$[]_AC_LANG_PREFIX[]FLAGS m4_default([$1], [$ac_cv_prog_[]_AC_LANG_ABBREV[]_v])"
|
|
(eval echo $as_me:__oline__: \"$ac_link\") >&AS_MESSAGE_LOG_FD
|
|
ac_[]_AC_LANG_ABBREV[]_v_output=`eval $ac_link AS_MESSAGE_LOG_FD>&1 2>&1 | grep -v 'Driving:'`
|
|
echo "$ac_[]_AC_LANG_ABBREV[]_v_output" >&AS_MESSAGE_LOG_FD
|
|
_AC_LANG_PREFIX[]FLAGS=$ac_save_FFLAGS
|
|
|
|
rm -f conftest*
|
|
|
|
# On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where
|
|
# /foo, /bar, and /baz are search directories for the Fortran linker.
|
|
# Here, we change these into -L/foo -L/bar -L/baz (and put it first):
|
|
ac_[]_AC_LANG_ABBREV[]_v_output="`echo $ac_[]_AC_LANG_ABBREV[]_v_output |
|
|
grep 'LPATH is:' |
|
|
sed 's,.*LPATH is\(: *[[^ ]]*\).*,\1,;s,: */, -L/,g'` $ac_[]_AC_LANG_ABBREV[]_v_output"
|
|
|
|
case $ac_[]_AC_LANG_ABBREV[]_v_output in
|
|
# If we are using xlf then replace all the commas with spaces.
|
|
*xlfentry*)
|
|
ac_[]_AC_LANG_ABBREV[]_v_output=`echo $ac_[]_AC_LANG_ABBREV[]_v_output | sed 's/,/ /g'` ;;
|
|
|
|
# With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted
|
|
# $LIBS confuse us, and the libraries appear later in the output anyway).
|
|
*mGLOB_options_string*)
|
|
ac_[]_AC_LANG_ABBREV[]_v_output=`echo $ac_[]_AC_LANG_ABBREV[]_v_output | sed 's/\"-mGLOB[[^\"]]*\"/ /g'` ;;
|
|
|
|
# If we are using Cray Fortran then delete quotes.
|
|
# Use "\"" instead of '"' for font-lock-mode.
|
|
# FIXME: a more general fix for quoted arguments with spaces?
|
|
*cft90*)
|
|
ac_[]_AC_LANG_ABBREV[]_v_output=`echo $ac_[]_AC_LANG_ABBREV[]_v_output | sed "s/\"//g"` ;;
|
|
esac
|
|
|
|
[]_m4_defun_epi([_AC_PROG_FC_V_OUTPUT])
|
|
T13,190
|
|
m4_defun_oncem4_define([m4_location($1)], m4_location)dnl
|
|
m4_define([$1],
|
|
[m4_provide_if([$1],
|
|
[m4_warn([syntax], [$1 invoked multiple times])],
|
|
[_m4_defun_pro([$1])$2[]_m4_defun_epi([$1])])])
|
|
T11,473
|
|
AC_ARG_WITH_m4_defun_pro([AC_ARG_WITH])m4_divert_once([HELP_WITH], [[
|
|
Optional Packages:
|
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)]])
|
|
m4_divert_once([HELP_WITH], [$2])dnl
|
|
# Check whether --with-$1 or --without-$1 was given.
|
|
if test "[${with_]m4_bpatsubst([$1], -, _)+set}" = set; then
|
|
withval="[$with_]m4_bpatsubst([$1], -, _)"
|
|
$3
|
|
m4_ifvaln([$4], [else
|
|
$4])dnl
|
|
fi; dnl
|
|
[]_m4_defun_epi([AC_ARG_WITH])
|
|
T34,23
|
|
m4_location(AC_STAT_MACROS_BROKEN)autoconf/oldnames.m4:95
|
|
T16,174
|
|
AC_FC_DUMMY_MAIN_m4_defun_pro([AC_FC_DUMMY_MAIN])AC_REQUIRE([AC_FC_LIBRARY_LDFLAGS])dnl
|
|
AC_LANG_PUSH(Fortran)dnl
|
|
_AC_FC_DUMMY_MAIN
|
|
AC_LANG_POP(Fortran)dnl
|
|
[]_m4_defun_epi([AC_FC_DUMMY_MAIN])
|
|
T28,21
|
|
m4_location(AC_CHECK_SIZEOF)autoconf/types.m4:405
|
|
T31,25
|
|
m4_location(_AC_LIBOBJ_FNMATCH)autoconf/functions.m4:525
|
|
T8,66
|
|
m4_ifsetm4_ifdef([$1],
|
|
[m4_if(m4_defn([$1]), [], [$3], [$2])],
|
|
[$3])
|
|
T8,1069
|
|
AS_UNAME{
|
|
cat <<_ASUNAME
|
|
m4_text_box([Platform.])
|
|
|
|
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
|
uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
|
uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
|
uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
|
uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
|
|
|
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
|
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
|
|
|
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
|
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
|
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
|
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
|
|
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
|
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
|
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
|
|
|
_ASUNAME
|
|
|
|
_AS_PATH_WALK([$PATH], [echo "PATH: $as_dir"])
|
|
}
|
|
T25,21
|
|
m4_location(AC_STRUCT_TM)autoconf/types.m4:588
|
|
T7,277
|
|
AS_INITm4_init
|
|
|
|
# Forbidden tokens and exceptions.
|
|
m4_pattern_forbid([^_?AS_])
|
|
|
|
# Bangshe and minimal initialization.
|
|
m4_divert_text([BINSH], [@%:@! /bin/sh])
|
|
m4_divert_text([M4SH-INIT], [AS_SHELL_SANITIZE])
|
|
|
|
# Let's go!
|
|
m4_wrap([m4_divert_pop([BODY])[]])
|
|
m4_divert_push([BODY])[]dnl
|
|
|
|
T12,472
|
|
AC_STRUCT_TM_m4_defun_pro([AC_STRUCT_TM])AC_CACHE_CHECK([whether struct tm is in sys/time.h or time.h],
|
|
ac_cv_struct_tm,
|
|
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <sys/types.h>
|
|
#include <time.h>
|
|
],
|
|
[struct tm *tp; tp->tm_sec;])],
|
|
[ac_cv_struct_tm=time.h],
|
|
[ac_cv_struct_tm=sys/time.h])])
|
|
if test $ac_cv_struct_tm = sys/time.h; then
|
|
AC_DEFINE(TM_IN_SYS_TIME, 1,
|
|
[Define to 1 if your <sys/time.h> declares `struct tm'.])
|
|
fi
|
|
[]_m4_defun_epi([AC_STRUCT_TM])
|
|
T14,182
|
|
AC_GETGROUPS_T_m4_defun_pro([AC_GETGROUPS_T])AC_DIAGNOSE([obsolete], [The macro `AC_GETGROUPS_T' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_TYPE_GETGROUPS($@)[]_m4_defun_epi([AC_GETGROUPS_T])
|
|
T27,24
|
|
m4_location(AC_CHECK_FUNCS)autoconf/functions.m4:89
|
|
T9,86
|
|
AH_BOTTOMm4_define([_AH_COUNTER], m4_incr(_AH_COUNTER))dnl
|
|
AH_VERBATIM([zzzz]_AH_COUNTER, [$1])
|
|
T24,24
|
|
m4_location(AC_TRY_LINK)autoconf/general.m4:2221
|
|
T8,42
|
|
_AS_ECHO_AS_ECHO_UNQUOTED([_AS_QUOTE([$1])], [$2])
|
|
T26,2
|
|
AC_LANG_SOURCE(Fortran 77)$1
|
|
T10,166
|
|
AC_VERBOSE_m4_defun_pro([AC_VERBOSE])AC_DIAGNOSE([obsolete], [The macro `AC_VERBOSE' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_MSG_RESULT($@)[]_m4_defun_epi([AC_VERBOSE])
|
|
T27,26
|
|
m4_location(AM_FUNC_MKTIME)autoconf/functions.m4:1118
|
|
T22,24
|
|
m4_location(AM_EXEEXT)autoconf/oldnames.m4:108
|
|
T20,23
|
|
m4_location(AC_LN_S)autoconf/oldnames.m4:83
|
|
T28,26
|
|
m4_location(AC_FUNC_OBSTACK)autoconf/functions.m4:1288
|
|
T26,26
|
|
m4_location(AC_FUNC_LSTAT)autoconf/functions.m4:1442
|
|
T27,23
|
|
m4_location(AC_CROSS_CHECK)autoconf/oldnames.m4:77
|
|
T22,122
|
|
AC_CONFIG_COMMANDS_PRE_m4_defun_pro([AC_CONFIG_COMMANDS_PRE])m4_append([AC_OUTPUT_COMMANDS_PRE], [$1
|
|
])[]_m4_defun_epi([AC_CONFIG_COMMANDS_PRE])
|
|
T33,39
|
|
m4_location(_AS_BASENAME_PREPARE)/usr/share/autoconf/m4sugar/m4sh.m4:501
|
|
T27,26
|
|
m4_location(AC_FUNC_STRTOD)autoconf/functions.m4:1497
|
|
T6,4
|
|
m4_car[$1]
|
|
T23,385
|
|
_AC_CHECK_HEADER_DIRENTAS_VAR_PUSHDEF([ac_Header], [ac_cv_header_dirent_$1])dnl
|
|
AC_CACHE_CHECK([for $1 that defines DIR], ac_Header,
|
|
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <sys/types.h>
|
|
#include <$1>
|
|
],
|
|
[if ((DIR *) 0)
|
|
return 0;])],
|
|
[AS_VAR_SET(ac_Header, yes)],
|
|
[AS_VAR_SET(ac_Header, no)])])
|
|
AS_IF([test AS_VAR_GET(ac_Header) = yes], [$2], [$3])[]dnl
|
|
AS_VAR_POPDEF([ac_Header])dnl
|
|
|
|
T21,24
|
|
m4_location(AC_MINIX)autoconf/specific.m4:446
|
|
T10,46
|
|
m4_foreachm4_pushdef([$1])_m4_foreach($@)m4_popdef([$1])
|
|
T30,17
|
|
m4_location(AC_LANG_CPLUSPLUS)autoconf/c.m4:103
|
|
T20,1725
|
|
_AC_ARG_VAR_VALIDATE# Check that the precious variables saved in the cache have kept the same
|
|
# value.
|
|
ac_cache_corrupted=false
|
|
for ac_var in `(set) 2>&1 |
|
|
sed -n 's/^ac_env_\([[a-zA-Z_0-9]]*\)_set=.*/\1/p'`; do
|
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
|
eval ac_new_set=\$ac_env_${ac_var}_set
|
|
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
|
|
eval ac_new_val="\$ac_env_${ac_var}_value"
|
|
case $ac_old_set,$ac_new_set in
|
|
set,)
|
|
AS_MESSAGE([error: `$ac_var' was set to `$ac_old_val' in the previous run], 2)
|
|
ac_cache_corrupted=: ;;
|
|
,set)
|
|
AS_MESSAGE([error: `$ac_var' was not set in the previous run], 2)
|
|
ac_cache_corrupted=: ;;
|
|
,);;
|
|
*)
|
|
if test "x$ac_old_val" != "x$ac_new_val"; then
|
|
AS_MESSAGE([error: `$ac_var' has changed since the previous run:], 2)
|
|
AS_MESSAGE([ former value: $ac_old_val], 2)
|
|
AS_MESSAGE([ current value: $ac_new_val], 2)
|
|
ac_cache_corrupted=:
|
|
fi;;
|
|
esac
|
|
# Pass precious variables to config.status.
|
|
if test "$ac_new_set" = set; then
|
|
case $ac_new_val in
|
|
dnl If you change this globbing pattern, test it on an old shell --
|
|
dnl it's sensitive. Putting any kind of quote in it causes syntax errors.
|
|
[ *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)]
|
|
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
*) ac_arg=$ac_var=$ac_new_val ;;
|
|
esac
|
|
case " $ac_configure_args " in
|
|
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
|
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
|
esac
|
|
fi
|
|
done
|
|
if $ac_cache_corrupted; then
|
|
AS_MESSAGE([error: changes in the environment can compromise the build], 2)
|
|
AS_ERROR([run `make distclean' and/or `rm $cache_file' and start over])
|
|
fi
|
|
|
|
T17,1114
|
|
AC_FUNC_GETGROUPS_m4_defun_pro([AC_FUNC_GETGROUPS])AC_REQUIRE([AC_TYPE_GETGROUPS])dnl
|
|
AC_REQUIRE([AC_TYPE_SIZE_T])dnl
|
|
AC_CHECK_FUNC(getgroups)
|
|
|
|
# If we don't yet have getgroups, see if it's in -lbsd.
|
|
# This is reported to be necessary on an ITOS 3000WS running SEIUX 3.1.
|
|
ac_save_LIBS=$LIBS
|
|
if test $ac_cv_func_getgroups = no; then
|
|
AC_CHECK_LIB(bsd, getgroups, [GETGROUPS_LIB=-lbsd])
|
|
fi
|
|
|
|
# Run the program to test the functionality of the system-supplied
|
|
# getgroups function only if there is such a function.
|
|
if test $ac_cv_func_getgroups = yes; then
|
|
AC_CACHE_CHECK([for working getgroups], ac_cv_func_getgroups_works,
|
|
[AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
|
|
[[/* On Ultrix 4.3, getgroups (0, 0) always fails. */
|
|
exit (getgroups (0, 0) == -1 ? 1 : 0);]])],
|
|
[ac_cv_func_getgroups_works=yes],
|
|
[ac_cv_func_getgroups_works=no],
|
|
[ac_cv_func_getgroups_works=no])
|
|
])
|
|
if test $ac_cv_func_getgroups_works = yes; then
|
|
AC_DEFINE(HAVE_GETGROUPS, 1,
|
|
[Define to 1 if your system has a working `getgroups' function.])
|
|
fi
|
|
fi
|
|
LIBS=$ac_save_LIBS
|
|
[]_m4_defun_epi([AC_FUNC_GETGROUPS])
|
|
F9,6
|
|
m4_sysvalsysval
|
|
T29,39
|
|
m4_location(_AS_EXPR_PREPARE)/usr/share/autoconf/m4sugar/m4sh.m4:514
|
|
T11,165
|
|
AC_F77_MAIN_m4_defun_pro([AC_F77_MAIN])AC_REQUIRE([AC_F77_LIBRARY_LDFLAGS])dnl
|
|
AC_LANG_PUSH(Fortran 77)dnl
|
|
_AC_FC_MAIN
|
|
AC_LANG_POP(Fortran 77)dnl
|
|
[]_m4_defun_epi([AC_F77_MAIN])
|
|
F7,4
|
|
m4_evaleval
|
|
T12,56
|
|
AC_MSG_ERROR{ AS_MESSAGE([error: $1], [2])
|
|
AS_EXIT([$2]); }[]dnl
|
|
|
|
T26,24
|
|
m4_location(AC_PROG_FGREP)autoconf/programs.m4:290
|
|
F12,9
|
|
m4_debugmodedebugmode
|
|
T16,0
|
|
m4_pattern_allow
|
|
T29,23
|
|
m4_location(AC_FC_DUMMY_MAIN)autoconf/fortran.m4:826
|
|
T32,39
|
|
m4_location(_AS_MKDIR_P_PREPARE)/usr/share/autoconf/m4sugar/m4sh.m4:698
|
|
T31,23
|
|
m4_location(AC_GCC_TRADITIONAL)autoconf/oldnames.m4:80
|
|
T9,54
|
|
AC_EXEEXT_m4_defun_pro([AC_EXEEXT])[]_m4_defun_epi([AC_EXEEXT])
|
|
T21,39
|
|
m4_location(AS_UNSET)/usr/share/autoconf/m4sugar/m4sh.m4:299
|
|
T14,115
|
|
m4_expand_oncem4_provide_if(m4_ifval([$2], [[$2]], [[$1]]),
|
|
[],
|
|
[m4_provide(m4_ifval([$2], [[$2]], [[$1]]))[]$1])
|
|
T12,18
|
|
m4_errprintnm4_errprint([$1
|
|
])
|
|
T12,641
|
|
AC_CHECK_LIB_m4_defun_pro([AC_CHECK_LIB])m4_ifval([$3], , [AH_CHECK_LIB([$1])])dnl
|
|
AS_LITERAL_IF([$1],
|
|
[AS_VAR_PUSHDEF([ac_Lib], [ac_cv_lib_$1_$2])],
|
|
[AS_VAR_PUSHDEF([ac_Lib], [ac_cv_lib_$1''_$2])])dnl
|
|
AC_CACHE_CHECK([for $2 in -l$1], ac_Lib,
|
|
[ac_check_lib_save_LIBS=$LIBS
|
|
LIBS="-l$1 $5 $LIBS"
|
|
AC_LINK_IFELSE([AC_LANG_CALL([], [$2])],
|
|
[AS_VAR_SET(ac_Lib, yes)],
|
|
[AS_VAR_SET(ac_Lib, no)])
|
|
LIBS=$ac_check_lib_save_LIBS])
|
|
AS_IF([test AS_VAR_GET(ac_Lib) = yes],
|
|
[m4_default([$3], [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_LIB$1))
|
|
LIBS="-l$1 $LIBS"
|
|
])],
|
|
[$4])dnl
|
|
AS_VAR_POPDEF([ac_Lib])dnl
|
|
[]_m4_defun_epi([AC_CHECK_LIB])
|
|
T44,24
|
|
m4_location(AC_VALIDATE_CACHED_SYSTEM_TUPLE)autoconf/general.m4:1668
|
|
T22,24
|
|
m4_location(AC_EMXOS2)autoconf/specific.m4:378
|
|
T28,22
|
|
m4_location(AC_CHECK_HEADER)autoconf/headers.m4:91
|
|
T16,4880
|
|
_AC_INIT_PREPAREm4_divert_push([INIT_PREPARE])dnl
|
|
|
|
# Keep a trace of the command line.
|
|
# Strip out --no-create and --no-recursion so they do not pile up.
|
|
# Strip out --silent because we don't want to record it for future runs.
|
|
# Also quote any args containing shell meta-characters.
|
|
# Make two passes to allow for proper duplicate-argument suppression.
|
|
ac_configure_args=
|
|
ac_configure_args0=
|
|
ac_configure_args1=
|
|
ac_sep=
|
|
ac_must_keep_next=false
|
|
for ac_pass in 1 2
|
|
do
|
|
for ac_arg
|
|
do
|
|
case $ac_arg in
|
|
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
|
| -silent | --silent | --silen | --sile | --sil)
|
|
continue ;;
|
|
dnl If you change this globbing pattern, test it on an old shell --
|
|
dnl it's sensitive. Putting any kind of quote in it causes syntax errors.
|
|
[ *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)]
|
|
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
esac
|
|
case $ac_pass in
|
|
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
|
2)
|
|
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
|
dnl If trying to remove duplicates, be sure to (i) keep the *last*
|
|
dnl value (e.g. --prefix=1 --prefix=2 --prefix=1 might keep 2 only),
|
|
dnl and (ii) not to strip long options (--prefix foo --prefix bar might
|
|
dnl give --prefix foo bar).
|
|
if test $ac_must_keep_next = true; then
|
|
ac_must_keep_next=false # Got value, back to normal.
|
|
else
|
|
case $ac_arg in
|
|
dnl Use broad patterns, as arguments that would have already made configure
|
|
dnl exit don't matter.
|
|
*=* | --config-cache | -C | -disable-* | --disable-* \
|
|
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
|
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
|
| -with-* | --with-* | -without-* | --without-* | --x)
|
|
case "$ac_configure_args0 " in
|
|
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
|
esac
|
|
;;
|
|
-* ) ac_must_keep_next=true ;;
|
|
esac
|
|
fi
|
|
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
|
|
# Get rid of the leading space.
|
|
ac_sep=" "
|
|
;;
|
|
esac
|
|
done
|
|
done
|
|
AS_UNSET(ac_configure_args0)
|
|
AS_UNSET(ac_configure_args1)
|
|
|
|
# When interrupted or exit'd, cleanup temporary files, and complete
|
|
# config.log. We remove comments because anyway the quotes in there
|
|
# would cause problems or look ugly.
|
|
# WARNING: Be sure not to use single quotes in there, as some shells,
|
|
# such as our DU 5.0 friend, will then `close' the trap.
|
|
trap 'exit_status=$?
|
|
# Save into config.log some information that might help in debugging.
|
|
{
|
|
echo
|
|
|
|
AS_BOX([Cache variables.])
|
|
echo
|
|
m4_bpatsubsts(m4_defn([_AC_CACHE_DUMP]),
|
|
[^ *\(#.*\)?
|
|
], [],
|
|
['], ['"'"'])
|
|
echo
|
|
|
|
AS_BOX([Output variables.])
|
|
echo
|
|
for ac_var in $ac_subst_vars
|
|
do
|
|
eval ac_val=$`echo $ac_var`
|
|
echo "$ac_var='"'"'$ac_val'"'"'"
|
|
done | sort
|
|
echo
|
|
|
|
if test -n "$ac_subst_files"; then
|
|
AS_BOX([Output files.])
|
|
echo
|
|
for ac_var in $ac_subst_files
|
|
do
|
|
eval ac_val=$`echo $ac_var`
|
|
echo "$ac_var='"'"'$ac_val'"'"'"
|
|
done | sort
|
|
echo
|
|
fi
|
|
|
|
if test -s confdefs.h; then
|
|
AS_BOX([confdefs.h.])
|
|
echo
|
|
sed "/^$/d" confdefs.h | sort
|
|
echo
|
|
fi
|
|
test "$ac_signal" != 0 &&
|
|
echo "$as_me: caught signal $ac_signal"
|
|
echo "$as_me: exit $exit_status"
|
|
} >&AS_MESSAGE_LOG_FD
|
|
rm -f core *.core &&
|
|
rm -rf conftest* confdefs* conf$[$]* $ac_clean_files &&
|
|
exit $exit_status
|
|
' 0
|
|
for ac_signal in 1 2 13 15; do
|
|
trap 'ac_signal='$ac_signal'; AS_EXIT([1])' $ac_signal
|
|
done
|
|
ac_signal=0
|
|
|
|
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
|
rm -rf conftest* confdefs.h
|
|
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
|
echo >confdefs.h
|
|
|
|
# Predefined preprocessor variables.
|
|
AC_DEFINE_UNQUOTED([PACKAGE_NAME], ["$PACKAGE_NAME"],
|
|
[Define to the full name of this package.])
|
|
AC_DEFINE_UNQUOTED([PACKAGE_TARNAME], ["$PACKAGE_TARNAME"],
|
|
[Define to the one symbol short name of this package.])
|
|
AC_DEFINE_UNQUOTED([PACKAGE_VERSION], ["$PACKAGE_VERSION"],
|
|
[Define to the version of this package.])
|
|
AC_DEFINE_UNQUOTED([PACKAGE_STRING], ["$PACKAGE_STRING"],
|
|
[Define to the full name and version of this package.])
|
|
AC_DEFINE_UNQUOTED([PACKAGE_BUGREPORT], ["$PACKAGE_BUGREPORT"],
|
|
[Define to the address where bug reports for this package
|
|
should be sent.])
|
|
|
|
# Let the site file select an alternate cache file if it wants to.
|
|
AC_SITE_LOAD
|
|
AC_CACHE_LOAD
|
|
_AC_ARG_VAR_VALIDATE
|
|
_AC_ARG_VAR_PRECIOUS([build_alias])dnl
|
|
_AC_ARG_VAR_PRECIOUS([host_alias])dnl
|
|
_AC_ARG_VAR_PRECIOUS([target_alias])dnl
|
|
AC_LANG_PUSH(C)
|
|
|
|
dnl Substitute for predefined variables.
|
|
AC_SUBST([DEFS])dnl
|
|
AC_SUBST([ECHO_C])dnl
|
|
AC_SUBST([ECHO_N])dnl
|
|
AC_SUBST([ECHO_T])dnl
|
|
AC_SUBST([LIBS])dnl
|
|
m4_divert_pop([INIT_PREPARE])dnl
|
|
|
|
T27,21
|
|
m4_location(AC_TYPE_SIZE_T)autoconf/types.m4:336
|
|
T29,24
|
|
m4_location(AC_SYS_LARGEFILE)autoconf/specific.m4:191
|
|
T20,179
|
|
AC_F77_NAME_MANGLING_m4_defun_pro([AC_F77_NAME_MANGLING])AC_DIAGNOSE([obsolete], [The macro `AC_F77_NAME_MANGLING' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
[]_m4_defun_epi([AC_F77_NAME_MANGLING])
|
|
T28,0
|
|
m4_include(autoconf/lang.m4)
|
|
T31,0
|
|
m4_include(autoconf/headers.m4)
|
|
T34,292
|
|
_AC_HEADER_TIOCGWINSZ_IN_SYS_IOCTLAC_CACHE_CHECK([whether sys/ioctl.h defines TIOCGWINSZ],
|
|
ac_cv_sys_tiocgwinsz_in_sys_ioctl_h,
|
|
[AC_EGREP_CPP([yes],
|
|
[#include <sys/types.h>
|
|
#include <sys/ioctl.h>
|
|
#ifdef TIOCGWINSZ
|
|
yes
|
|
#endif
|
|
],
|
|
ac_cv_sys_tiocgwinsz_in_sys_ioctl_h=yes,
|
|
ac_cv_sys_tiocgwinsz_in_sys_ioctl_h=no)])
|
|
|
|
T18,3237
|
|
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.
|
|
|
|
# Make sure getloadavg.c is where it belongs, at configure-time.
|
|
test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" ||
|
|
AC_MSG_ERROR([$srcdir/$ac_config_libobj_dir/getloadavg.c is missing])
|
|
|
|
ac_save_LIBS=$LIBS
|
|
|
|
# Check for getloadavg, but be sure not to touch the cache variable.
|
|
(AC_CHECK_FUNC(getloadavg, exit 0, exit 1)) && ac_have_func=yes
|
|
|
|
# On HPUX9, an unprivileged user can get load averages through this function.
|
|
AC_CHECK_FUNCS(pstat_getdynamic)
|
|
|
|
# Solaris has libkstat which does not require root.
|
|
AC_CHECK_LIB(kstat, kstat_open)
|
|
test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func=yes
|
|
|
|
# Some systems with -lutil have (and need) -lkvm as well, some do not.
|
|
# On Solaris, -lkvm requires nlist from -lelf, so check that first
|
|
# to get the right answer into the cache.
|
|
# For kstat on solaris, we need libelf to force the definition of SVR4 below.
|
|
if test $ac_have_func = no; then
|
|
AC_CHECK_LIB(elf, elf_begin, LIBS="-lelf $LIBS")
|
|
fi
|
|
if test $ac_have_func = no; then
|
|
AC_CHECK_LIB(kvm, kvm_open, LIBS="-lkvm $LIBS")
|
|
# Check for the 4.4BSD definition of getloadavg.
|
|
AC_CHECK_LIB(util, getloadavg,
|
|
[LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes])
|
|
fi
|
|
|
|
if test $ac_have_func = no; then
|
|
# There is a commonly available library for RS/6000 AIX.
|
|
# Since it is not a standard part of AIX, it might be installed locally.
|
|
ac_getloadavg_LIBS=$LIBS
|
|
LIBS="-L/usr/local/lib $LIBS"
|
|
AC_CHECK_LIB(getloadavg, getloadavg,
|
|
[LIBS="-lgetloadavg $LIBS"], [LIBS=$ac_getloadavg_LIBS])
|
|
fi
|
|
|
|
# Make sure it is really in the library, if we think we found it,
|
|
# otherwise set up the replacement function.
|
|
AC_CHECK_FUNCS(getloadavg, [],
|
|
[_AC_LIBOBJ_GETLOADAVG])
|
|
|
|
# Some definitions of getloadavg require that the program be installed setgid.
|
|
AC_CACHE_CHECK(whether getloadavg requires setgid,
|
|
ac_cv_func_getloadavg_setgid,
|
|
[AC_EGREP_CPP([Yowza Am I SETGID yet],
|
|
[#include "$srcdir/$ac_config_libobj_dir/getloadavg.c"
|
|
#ifdef LDAV_PRIVILEGED
|
|
Yowza Am I SETGID yet
|
|
@%:@endif],
|
|
ac_cv_func_getloadavg_setgid=yes,
|
|
ac_cv_func_getloadavg_setgid=no)])
|
|
if test $ac_cv_func_getloadavg_setgid = yes; then
|
|
NEED_SETGID=true
|
|
AC_DEFINE(GETLOADAVG_PRIVILEGED, 1,
|
|
[Define to 1 if the `getloadavg' function needs to be run setuid
|
|
or setgid.])
|
|
else
|
|
NEED_SETGID=false
|
|
fi
|
|
AC_SUBST(NEED_SETGID)dnl
|
|
|
|
if test $ac_cv_func_getloadavg_setgid = yes; then
|
|
AC_CACHE_CHECK(group of /dev/kmem, ac_cv_group_kmem,
|
|
[ # On Solaris, /dev/kmem is a symlink. Get info on the real file.
|
|
ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null`
|
|
# If we got an error (system does not support symlinks), try without -L.
|
|
test -z "$ac_ls_output" && ac_ls_output=`ls -lg /dev/kmem`
|
|
ac_cv_group_kmem=`echo $ac_ls_output \
|
|
| sed -ne ['s/[ ][ ]*/ /g;
|
|
s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
|
|
/ /s/.* //;p;']`
|
|
])
|
|
AC_SUBST(KMEM_GROUP, $ac_cv_group_kmem)dnl
|
|
fi
|
|
if test "x$ac_save_LIBS" = x; then
|
|
GETLOADAVG_LIBS=$LIBS
|
|
else
|
|
GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
|
|
fi
|
|
LIBS=$ac_save_LIBS
|
|
|
|
AC_SUBST(GETLOADAVG_LIBS)dnl
|
|
[]_m4_defun_epi([AC_FUNC_GETLOADAVG])
|
|
T31,25
|
|
m4_location(AC_REPLACE_FNMATCH)autoconf/functions.m4:535
|
|
T14,135
|
|
_AS_TR_PREPARE_m4_defun_pro([_AS_TR_PREPARE])AS_REQUIRE([_AS_TR_SH_PREPARE])dnl
|
|
AS_REQUIRE([_AS_TR_CPP_PREPARE])dnl
|
|
[]_m4_defun_epi([_AS_TR_PREPARE])
|
|
T12,162
|
|
AC_LANG_PUSH_m4_defun_pro([AC_LANG_PUSH])_AC_LANG_SET(m4_ifdef([_AC_LANG], [m4_defn([_AC_LANG])]),
|
|
[$1])dnl
|
|
m4_pushdef([_AC_LANG], [$1])[]_m4_defun_epi([AC_LANG_PUSH])
|
|
T13,299
|
|
AC_GNU_SOURCE_m4_defun_pro([AC_GNU_SOURCE])AH_VERBATIM([_GNU_SOURCE],
|
|
[/* Enable GNU extensions on systems that have them. */
|
|
#ifndef _GNU_SOURCE
|
|
# undef _GNU_SOURCE
|
|
#endif])dnl
|
|
AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl
|
|
AC_BEFORE([$0], [AC_RUN_IFELSE])dnl
|
|
AC_DEFINE([_GNU_SOURCE])
|
|
[]_m4_defun_epi([AC_GNU_SOURCE])
|
|
T23,39
|
|
m4_location(AS_DIRNAME)/usr/share/autoconf/m4sugar/m4sh.m4:454
|
|
T19,177
|
|
_AS_MKDIR_P_PREPARE_m4_defun_pro([_AS_MKDIR_P_PREPARE])if mkdir -p . 2>/dev/null; then
|
|
as_mkdir_p=:
|
|
else
|
|
test -d ./-p && rmdir ./-p
|
|
as_mkdir_p=false
|
|
fi
|
|
[]_m4_defun_epi([_AS_MKDIR_P_PREPARE])
|
|
T26,24
|
|
m4_location(AC_GNU_SOURCE)autoconf/specific.m4:348
|
|
T14,175
|
|
AC_CROSS_CHECK_m4_defun_pro([AC_CROSS_CHECK])AC_DIAGNOSE([obsolete], [The macro `AC_CROSS_CHECK' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_C_CROSS($@)[]_m4_defun_epi([AC_CROSS_CHECK])
|
|
T23,24
|
|
m4_location(AC_VERBOSE)autoconf/general.m4:1971
|
|
T31,26
|
|
m4_location(AC_FUNC_UTIME_NULL)autoconf/functions.m4:1688
|
|
T34,25
|
|
m4_location(AC_FUNC_ERROR_AT_LINE)autoconf/functions.m4:453
|
|
T6,23
|
|
m4_cdrm4_dquote(m4_shift($@))
|
|
T19,389
|
|
_AC_COMPILER_EXEEXTAC_LANG_CONFTEST([AC_LANG_PROGRAM()])
|
|
ac_clean_files_save=$ac_clean_files
|
|
ac_clean_files="$ac_clean_files a.out a.exe b.out"
|
|
_AC_COMPILER_EXEEXT_DEFAULT
|
|
_AC_COMPILER_EXEEXT_WORKS
|
|
rm -f a.out a.exe conftest$ac_cv_exeext b.out
|
|
ac_clean_files=$ac_clean_files_save
|
|
_AC_COMPILER_EXEEXT_CROSS
|
|
_AC_COMPILER_EXEEXT_O
|
|
rm -f conftest.$ac_ext
|
|
AC_SUBST([EXEEXT], [$ac_cv_exeext])dnl
|
|
ac_exeext=$EXEEXT
|
|
|
|
T13,82
|
|
AC_FUNC_LSTAT_m4_defun_pro([AC_FUNC_LSTAT])_AC_FUNC_STAT(lstat)[]_m4_defun_epi([AC_FUNC_LSTAT])
|
|
T22,0
|
|
AC_LIST_FILES_COMMANDS
|
|
T14,828
|
|
AC_FUNC_FSEEKO_m4_defun_pro([AC_FUNC_FSEEKO])_AC_SYS_LARGEFILE_MACRO_VALUE(_LARGEFILE_SOURCE, 1,
|
|
[ac_cv_sys_largefile_source],
|
|
[Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2).],
|
|
[@%:@include <stdio.h>], [return !fseeko;])
|
|
|
|
# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
|
|
# in glibc 2.1.3, but that breaks too many other things.
|
|
# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
|
|
AC_CACHE_CHECK([for fseeko], [ac_cv_func_fseeko],
|
|
[AC_LINK_IFELSE([AC_LANG_PROGRAM([@%:@include <stdio.h>],
|
|
[[return fseeko && fseeko (stdin, 0, 0);]])],
|
|
[ac_cv_func_fseeko=yes],
|
|
[ac_cv_func_fseeko=no])])
|
|
if test $ac_cv_func_fseeko = yes; then
|
|
AC_DEFINE(HAVE_FSEEKO, 1,
|
|
[Define to 1 if fseeko (and presumably ftello) exists and is declared.])
|
|
fi
|
|
[]_m4_defun_epi([AC_FUNC_FSEEKO])
|
|
T19,525
|
|
_AC_OUTPUT_COMMANDScat >>$CONFIG_STATUS <<\_ACEOF
|
|
|
|
#
|
|
# CONFIG_COMMANDS section.
|
|
#
|
|
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
|
|
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
|
|
ac_source=`echo "$ac_file" | sed 's,[[^:]]*:,,'`
|
|
ac_dir=`AS_DIRNAME(["$ac_dest"])`
|
|
AS_MKDIR_P(["$ac_dir"])
|
|
_AC_SRCPATHS(["$ac_dir"])
|
|
|
|
AC_MSG_NOTICE([executing $ac_dest commands])
|
|
dnl Some shells don't like empty case/esac
|
|
m4_ifset([AC_LIST_COMMANDS_COMMANDS],
|
|
[ case $ac_dest in
|
|
AC_LIST_COMMANDS_COMMANDS()dnl
|
|
esac
|
|
])dnl
|
|
done
|
|
_ACEOF
|
|
|
|
T17,195
|
|
AM_TYPE_PTRDIFF_T_m4_defun_pro([AM_TYPE_PTRDIFF_T])AC_DIAGNOSE([obsolete], [The macro `AM_TYPE_PTRDIFF_T' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_CHECK_TYPES(ptrdiff_t)[]_m4_defun_epi([AM_TYPE_PTRDIFF_T])
|
|
T24,106
|
|
AC_LANG_PROGRAM(Fortran)m4_ifval([$1],
|
|
[m4_warn([syntax], [$0: ignoring PROLOGUE: $1])])dnl
|
|
program main
|
|
$2
|
|
end
|
|
T27,40
|
|
m4_location(_AS_TR_PREPARE)/usr/share/autoconf/m4sugar/m4sh.m4:1002
|
|
T27,24
|
|
m4_location(AC_DECL_YYTEXT)autoconf/programs.m4:438
|
|
T34,0
|
|
m4_include(autoconf/autoheader.m4)
|
|
T12,967
|
|
m4_text_wrapm4_pushdef([m4_Prefix], m4_default([$2], []))dnl
|
|
m4_pushdef([m4_Prefix1], m4_default([$3], [m4_Prefix]))dnl
|
|
m4_pushdef([m4_Width], m4_default([$4], 79))dnl
|
|
m4_pushdef([m4_Cursor], m4_len(m4_Prefix1))dnl
|
|
m4_pushdef([m4_Separator], [])dnl
|
|
m4_Prefix1[]dnl
|
|
m4_if(m4_eval(m4_Cursor > m4_len(m4_Prefix)),
|
|
1, [m4_define([m4_Cursor], m4_len(m4_Prefix))
|
|
m4_Prefix])[]dnl
|
|
m4_foreach([m4_Word], m4_quote(m4_split(m4_normalize([$1]))),
|
|
[m4_define([m4_Cursor], m4_eval(m4_Cursor + m4_len(m4_defn([m4_Word])) + 1))dnl
|
|
dnl New line if too long, else insert a space unless it is the first
|
|
dnl of the words.
|
|
m4_if(m4_eval(m4_Cursor > m4_Width),
|
|
1, [m4_define([m4_Cursor],
|
|
m4_eval(m4_len(m4_Prefix) + m4_len(m4_defn([m4_Word])) + 1))]
|
|
m4_Prefix,
|
|
[m4_Separator])[]dnl
|
|
m4_defn([m4_Word])[]dnl
|
|
m4_define([m4_Separator], [ ])])dnl
|
|
m4_popdef([m4_Separator])dnl
|
|
m4_popdef([m4_Cursor])dnl
|
|
m4_popdef([m4_Width])dnl
|
|
m4_popdef([m4_Prefix1])dnl
|
|
m4_popdef([m4_Prefix])dnl
|
|
|
|
T6,86
|
|
popdefm4_ifndef([$1],
|
|
[m4_fatal([$0: undefined macro: $1])])dnl
|
|
m4_builtin([popdef], $@)
|
|
T14,109
|
|
m4_file_appendm4_syscmd([cat >>$1 <<_m4eof
|
|
$2
|
|
_m4eof
|
|
])
|
|
m4_if(m4_sysval, [0], [],
|
|
[m4_fatal([$0: cannot write: $1])])
|
|
T22,39
|
|
m4_location(AS_TR_CPP)/usr/share/autoconf/m4sugar/m4sh.m4:994
|
|
T28,20
|
|
m4_location(_AC_LANG_ABBREV)autoconf/lang.m4:180
|
|
T28,26
|
|
m4_location(AC_FUNC_STRCOLL)autoconf/functions.m4:1656
|
|
T13,174
|
|
AC_FUNC_VFORK_m4_defun_pro([AC_FUNC_VFORK])AC_DIAGNOSE([obsolete], [The macro `AC_FUNC_VFORK' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_FUNC_FORK($@)[]_m4_defun_epi([AC_FUNC_VFORK])
|
|
T15,518
|
|
AC_FUNC_MBRTOWC_m4_defun_pro([AC_FUNC_MBRTOWC])
|
|
AC_CACHE_CHECK([whether mbrtowc and mbstate_t are properly declared],
|
|
ac_cv_func_mbrtowc,
|
|
[AC_LINK_IFELSE(
|
|
[AC_LANG_PROGRAM(
|
|
[[@%:@include <wchar.h>]],
|
|
[[mbstate_t state; return ! (sizeof state && mbrtowc);]])],
|
|
ac_cv_func_mbrtowc=yes,
|
|
ac_cv_func_mbrtowc=no)])
|
|
if test $ac_cv_func_mbrtowc = yes; then
|
|
AC_DEFINE([HAVE_MBRTOWC], 1,
|
|
[Define to 1 if mbrtowc and mbstate_t are properly declared.])
|
|
fi
|
|
[]_m4_defun_epi([AC_FUNC_MBRTOWC])
|
|
T16,223
|
|
AC_FUNC_STRFTIME_m4_defun_pro([AC_FUNC_STRFTIME])AC_CHECK_FUNCS(strftime, [],
|
|
[# strftime is in -lintl on SCO UNIX.
|
|
AC_CHECK_LIB(intl, strftime,
|
|
[AC_DEFINE(HAVE_STRFTIME)
|
|
LIBS="-lintl $LIBS"])])dnl
|
|
[]_m4_defun_epi([AC_FUNC_STRFTIME])
|
|
T26,40
|
|
_AC_COMPILER_EXEEXT_REJECT_AC_COMPILER_OBJEXT_REJECT | *.o | *.obj
|
|
T36,26
|
|
m4_location(AC_FUNC_SELECT_ARGTYPES)autoconf/functions.m4:1381
|
|
T16,117
|
|
AC_LANG_COMPILERAC_BEFORE([AC_LANG_COMPILER(]_AC_LANG[)],
|
|
[AC_LANG_PREPROC(]_AC_LANG[)])dnl
|
|
_AC_LANG_DISPATCH([$0], _AC_LANG, $@)
|
|
T17,329
|
|
AC_FUNC_GETMNTENT_m4_defun_pro([AC_FUNC_GETMNTENT])# getmntent is in -lsun on Irix 4, -lseq on Dynix/PTX, -lgen on Unixware.
|
|
AC_CHECK_LIB(sun, getmntent, LIBS="-lsun $LIBS",
|
|
[AC_CHECK_LIB(seq, getmntent, LIBS="-lseq $LIBS",
|
|
[AC_CHECK_LIB(gen, getmntent, LIBS="-lgen $LIBS")])])
|
|
AC_CHECK_FUNCS(getmntent)
|
|
[]_m4_defun_epi([AC_FUNC_GETMNTENT])
|
|
F8,5
|
|
m4_ifdefifdef
|
|
T16,2145
|
|
_AC_PROG_CC_STDC_m4_defun_pro([_AC_PROG_CC_STDC])AC_MSG_CHECKING([for $CC option to accept ANSI C])
|
|
AC_CACHE_VAL(ac_cv_prog_cc_stdc,
|
|
[ac_cv_prog_cc_stdc=no
|
|
ac_save_CC=$CC
|
|
AC_LANG_CONFTEST([AC_LANG_PROGRAM(
|
|
[[#include <stdarg.h>
|
|
#include <stdio.h>
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
|
struct buf { int x; };
|
|
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
|
static char *e (p, i)
|
|
char **p;
|
|
int i;
|
|
{
|
|
return p[i];
|
|
}
|
|
static char *f (char * (*g) (char **, int), char **p, ...)
|
|
{
|
|
char *s;
|
|
va_list v;
|
|
va_start (v,p);
|
|
s = g (p, va_arg (v,int));
|
|
va_end (v);
|
|
return s;
|
|
}
|
|
|
|
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
|
function prototypes and stuff, but not '\xHH' hex character constants.
|
|
These don't provoke an error unfortunately, instead are silently treated
|
|
as 'x'. The following induces an error, until -std1 is added to get
|
|
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
|
array size at least. It's necessary to write '\x00'==0 to get something
|
|
that's true only with -std1. */
|
|
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
|
|
|
int test (int i, double x);
|
|
struct s1 {int (*f) (int a);};
|
|
struct s2 {int (*f) (double a);};
|
|
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
|
int argc;
|
|
char **argv;]],
|
|
[[return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];]])])
|
|
# Don't try gcc -ansi; that turns off useful extensions and
|
|
# breaks some systems' header files.
|
|
# AIX -qlanglvl=ansi
|
|
# Ultrix and OSF/1 -std1
|
|
# HP-UX 10.20 and later -Ae
|
|
# HP-UX older versions -Aa -D_HPUX_SOURCE
|
|
# SVR4 -Xc -D__EXTENSIONS__
|
|
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
|
do
|
|
CC="$ac_save_CC $ac_arg"
|
|
_AC_COMPILE_IFELSE([],
|
|
[ac_cv_prog_cc_stdc=$ac_arg
|
|
break])
|
|
done
|
|
rm -f conftest.$ac_ext conftest.$ac_objext
|
|
CC=$ac_save_CC
|
|
])
|
|
case "x$ac_cv_prog_cc_stdc" in
|
|
x|xno)
|
|
AC_MSG_RESULT([none needed]) ;;
|
|
*)
|
|
AC_MSG_RESULT([$ac_cv_prog_cc_stdc])
|
|
CC="$CC $ac_cv_prog_cc_stdc" ;;
|
|
esac
|
|
[]_m4_defun_epi([_AC_PROG_CC_STDC])
|
|
T24,0
|
|
AC_FILE_DEPENDENCY_TRACE
|
|
T9,155
|
|
AC_DEFINEAC_DEFINE_TRACE([$1])dnl
|
|
m4_ifval([$3], [AH_TEMPLATE([$1], [$3])])dnl
|
|
cat >>confdefs.h <<\_ACEOF
|
|
[@%:@define] $1 m4_if($#, 2, [$2], $#, 3, [$2], 1)
|
|
_ACEOF
|
|
|
|
F7,4
|
|
m4_incrincr
|
|
T29,17
|
|
m4_location(_AC_PROG_CC_STDC)autoconf/c.m4:864
|
|
T17,300
|
|
AC_HAVE_POUNDBANG_m4_defun_pro([AC_HAVE_POUNDBANG])AC_DIAGNOSE([obsolete], [The macro `AC_HAVE_POUNDBANG' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_SYS_INTERPRETER
|
|
AC_DIAGNOSE([obsolete],
|
|
[$0: Remove this warning when you adjust your code to use
|
|
`AC_SYS_INTERPRETER'.])[]_m4_defun_epi([AC_HAVE_POUNDBANG])
|
|
T4,37
|
|
m4_nm4_if([$1],
|
|
[], [],
|
|
[$1
|
|
])
|
|
T31,23
|
|
m4_location(AC_SYS_INTERPRETER)autoconf/specific.m4:96
|
|
T10,73
|
|
AS_VAR_SETAS_LITERAL_IF([$1],
|
|
[$1=$2],
|
|
[eval "$1=AS_ESCAPE([$2])"])
|
|
T9,2426
|
|
AC_OUTPUTdnl Dispatch the extra arguments to their native macros.
|
|
m4_ifval([$1],
|
|
[AC_CONFIG_FILES([$1])])dnl
|
|
m4_ifval([$2$3],
|
|
[AC_CONFIG_COMMANDS(default, [$2], [$3])])dnl
|
|
m4_ifval([$1$2$3],
|
|
[AC_DIAGNOSE([obsolete],
|
|
[$0 should be used without arguments.
|
|
You should run autoupdate.])])dnl
|
|
AC_CACHE_SAVE
|
|
|
|
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
|
# Let make expand exec_prefix.
|
|
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
|
|
|
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
|
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
|
# trailing colons and then remove the whole line if VPATH becomes empty
|
|
# (actually we leave an empty line to preserve line numbers).
|
|
if test "x$srcdir" = x.; then
|
|
ac_vpsub=['/^[ ]*VPATH[ ]*=/{
|
|
s/:*\$(srcdir):*/:/;
|
|
s/:*\${srcdir}:*/:/;
|
|
s/:*@srcdir@:*/:/;
|
|
s/^\([^=]*=[ ]*\):*/\1/;
|
|
s/:*$//;
|
|
s/^[^=]*=[ ]*$//;
|
|
}']
|
|
fi
|
|
|
|
m4_ifset([AC_LIST_HEADERS], [DEFS=-DHAVE_CONFIG_H], [AC_OUTPUT_MAKE_DEFS()])
|
|
|
|
dnl Commands to run before creating config.status.
|
|
AC_OUTPUT_COMMANDS_PRE()dnl
|
|
|
|
: ${CONFIG_STATUS=./config.status}
|
|
ac_clean_files_save=$ac_clean_files
|
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
|
_AC_OUTPUT_CONFIG_STATUS()dnl
|
|
ac_clean_files=$ac_clean_files_save
|
|
|
|
dnl Commands to run after config.status was created
|
|
AC_OUTPUT_COMMANDS_POST()dnl
|
|
|
|
# configure is writing to config.log, and then calls config.status.
|
|
# config.status does its own redirection, appending to config.log.
|
|
# Unfortunately, on DOS this fails, as config.log is still kept open
|
|
# by configure, so config.status won't be able to write to it; its
|
|
# output is simply discarded. So we exec the FD to /dev/null,
|
|
# effectively closing config.log, so it can be properly (re)opened and
|
|
# appended to by config.status. When coming back to configure, we
|
|
# need to make the FD available again.
|
|
if test "$no_create" != yes; then
|
|
ac_cs_success=:
|
|
ac_config_status_args=
|
|
test "$silent" = yes &&
|
|
ac_config_status_args="$ac_config_status_args --quiet"
|
|
exec AS_MESSAGE_LOG_FD>/dev/null
|
|
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
|
exec AS_MESSAGE_LOG_FD>>config.log
|
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
|
# would make configure fail if this is the last instruction.
|
|
$ac_cs_success || AS_EXIT([1])
|
|
fi
|
|
dnl config.status should not do recursion.
|
|
AC_PROVIDE_IFELSE([AC_CONFIG_SUBDIRS], [_AC_OUTPUT_SUBDIRS()])dnl
|
|
|
|
T18,97
|
|
AC_LANG_PREPROC(C)_m4_defun_pro([AC_LANG_PREPROC(C)])AC_REQUIRE([AC_PROG_CPP])[]_m4_defun_epi([AC_LANG_PREPROC(C)])
|
|
T24,23
|
|
m4_location(AC_PROG_F77)autoconf/fortran.m4:394
|
|
T18,4
|
|
m4_PACKAGE_VERSION2.59
|
|
T10,168
|
|
AC_VPRINTF_m4_defun_pro([AC_VPRINTF])AC_DIAGNOSE([obsolete], [The macro `AC_VPRINTF' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_FUNC_VPRINTF($@)[]_m4_defun_epi([AC_VPRINTF])
|
|
T9,69
|
|
m4_assertm4_if(m4_eval([$1]), 0,
|
|
[m4_fatal([assert failed: $1], [$2])])
|
|
T24,23
|
|
m4_location(_AC_PROG_FC)autoconf/fortran.m4:379
|
|
T29,26
|
|
m4_location(AC_FUNC_STRFTIME)autoconf/functions.m4:1554
|
|
T15,103
|
|
_AC_LANG_PREFIX_m4_defun_pro([_AC_LANG_PREFIX])_AC_LANG_DISPATCH([$0], _AC_LANG, $@)[]_m4_defun_epi([_AC_LANG_PREFIX])
|
|
T11,43
|
|
AC_OBSOLETEAC_DIAGNOSE([obsolete], [$1 is obsolete$2])
|
|
T29,23
|
|
m4_location(AC_CHAR_UNSIGNED)autoconf/oldnames.m4:75
|
|
T14,221
|
|
m4_divert_pushm4_pushdef([m4_divert_stack],
|
|
m4_location[: $0: $1]m4_ifdef([m4_divert_stack], [
|
|
m4_defn([m4_divert_stack])]))dnl
|
|
m4_pushdef([_m4_divert_diversion], [$1])dnl
|
|
m4_builtin([divert], _m4_divert(_m4_divert_diversion))dnl
|
|
|
|
T8,0
|
|
__unix__
|
|
T19,308
|
|
_AC_FC_DIALECT_YEAR_m4_defun_pro([_AC_FC_DIALECT_YEAR])m4_case(m4_bpatsubsts(m4_tolower([$1]), [fortran],[], [ *],[]),
|
|
[77],[1977], [1977],[1977],
|
|
[90],[1990], [1990],[1990],
|
|
[95],[1995], [1995],[1995],
|
|
[2000],[2000],
|
|
[],[],
|
|
[m4_fatal([unknown Fortran dialect])])[]_m4_defun_epi([_AC_FC_DIALECT_YEAR])
|
|
T10,24
|
|
AN_MAKEVARAN_OUTPUT([makevar], $@)
|
|
T15,486
|
|
AC_FUNC_OBSTACK_m4_defun_pro([AC_FUNC_OBSTACK])AC_LIBSOURCES([obstack.h, obstack.c])dnl
|
|
AC_CACHE_CHECK([for obstacks], ac_cv_func_obstack,
|
|
[AC_LINK_IFELSE(
|
|
[AC_LANG_PROGRAM([[@%:@include "obstack.h"]],
|
|
[[struct obstack *mem; obstack_free(mem,(char *) 0)]])],
|
|
[ac_cv_func_obstack=yes],
|
|
[ac_cv_func_obstack=no])])
|
|
if test $ac_cv_func_obstack = yes; then
|
|
AC_DEFINE(HAVE_OBSTACK, 1, [Define to 1 if libc includes obstacks.])
|
|
else
|
|
AC_LIBOBJ(obstack)
|
|
fi
|
|
[]_m4_defun_epi([AC_FUNC_OBSTACK])
|
|
T5,70
|
|
m4_dom4_if($#, 0, [],
|
|
$#, 1, [$1],
|
|
[$1[]m4_do(m4_shift($@))])
|
|
T23,18
|
|
m4_location(AC_C_CONST)autoconf/c.m4:1120
|
|
T21,230
|
|
_AC_F77_NAME_MANGLING_m4_defun_pro([_AC_F77_NAME_MANGLING])AC_REQUIRE([AC_F77_LIBRARY_LDFLAGS])dnl
|
|
AC_REQUIRE([AC_F77_DUMMY_MAIN])dnl
|
|
AC_LANG_PUSH(Fortran 77)dnl
|
|
__AC_FC_NAME_MANGLING
|
|
AC_LANG_POP(Fortran 77)dnl
|
|
[]_m4_defun_epi([_AC_F77_NAME_MANGLING])
|
|
T11,197
|
|
AC_IRIX_SUN_m4_defun_pro([AC_IRIX_SUN])AC_DIAGNOSE([obsolete], [The macro `AC_IRIX_SUN' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_FUNC_GETMNTENT
|
|
AC_CHECK_LIB(sun, getpwnam)[]_m4_defun_epi([AC_IRIX_SUN])
|
|
T17,32
|
|
m4_define_defaultm4_ifndef([$1], [m4_define($@)])
|
|
T23,2
|
|
AC_LANG_SOURCE(Fortran)$1
|
|
T24,23
|
|
m4_location(_AC_FC_MAIN)autoconf/fortran.m4:864
|
|
T15,103
|
|
_AC_LANG_ABBREV_m4_defun_pro([_AC_LANG_ABBREV])_AC_LANG_DISPATCH([$0], _AC_LANG, $@)[]_m4_defun_epi([_AC_LANG_ABBREV])
|
|
T14,881
|
|
AC_FUNC_STRTOD_m4_defun_pro([AC_FUNC_STRTOD])AC_SUBST(POW_LIB)dnl
|
|
AC_CACHE_CHECK(for working strtod, ac_cv_func_strtod,
|
|
[AC_RUN_IFELSE([AC_LANG_SOURCE([[
|
|
double strtod ();
|
|
int
|
|
main()
|
|
{
|
|
{
|
|
/* Some versions of Linux strtod mis-parse strings with leading '+'. */
|
|
char *string = " +69";
|
|
char *term;
|
|
double value;
|
|
value = strtod (string, &term);
|
|
if (value != 69 || term != (string + 4))
|
|
exit (1);
|
|
}
|
|
|
|
{
|
|
/* Under Solaris 2.4, strtod returns the wrong value for the
|
|
terminating character under some conditions. */
|
|
char *string = "NaN";
|
|
char *term;
|
|
strtod (string, &term);
|
|
if (term != string && *(term - 1) == 0)
|
|
exit (1);
|
|
}
|
|
exit (0);
|
|
}
|
|
]])],
|
|
ac_cv_func_strtod=yes,
|
|
ac_cv_func_strtod=no,
|
|
ac_cv_func_strtod=no)])
|
|
if test $ac_cv_func_strtod = no; then
|
|
_AC_LIBOBJ_STRTOD
|
|
fi
|
|
[]_m4_defun_epi([AC_FUNC_STRTOD])
|
|
T33,0
|
|
m4_include(autoconf/functions.m4)
|
|
F8,8
|
|
__line____line__
|
|
T13,397
|
|
AC_CHECK_TYPE_m4_defun_pro([AC_CHECK_TYPE])m4_if($#, 3,
|
|
[_AC_CHECK_TYPE_NEW($@)],
|
|
$#, 4,
|
|
[_AC_CHECK_TYPE_NEW($@)],
|
|
_AC_CHECK_TYPE_REPLACEMENT_TYPE_P([$2]), 1,
|
|
[_AC_CHECK_TYPE_OLD($@)],
|
|
_AC_CHECK_TYPE_MAYBE_TYPE_P([$2]), 1,
|
|
[AC_DIAGNOSE([syntax],
|
|
[$0: assuming `$2' is not a type])_AC_CHECK_TYPE_NEW($@)],
|
|
[_AC_CHECK_TYPE_NEW($@)])[]dnl
|
|
[]_m4_defun_epi([AC_CHECK_TYPE])
|
|
T9,26
|
|
m4_ifndefm4_ifdef([$1], [$3], [$2])
|
|
T12,134
|
|
AC_COPYRIGHTm4_divert_text([HEADER-COPYRIGHT],
|
|
[m4_bpatsubst([
|
|
$1], [^], [@%:@ ])])dnl
|
|
m4_divert_text(m4_default([$2], [VERSION_USER]),
|
|
[
|
|
$1])dnl
|
|
|
|
T30,39
|
|
m4_location(_AS_UNSET_PREPARE)/usr/share/autoconf/m4sugar/m4sh.m4:290
|
|
T11,74
|
|
AH_VERBATIMAS_LITERAL_IF([$1],
|
|
[AH_OUTPUT([$1], AS_ESCAPE([[$2]], [\\'']))])
|
|
|
|
T15,473
|
|
AC_FUNC_GETPGRP_m4_defun_pro([AC_FUNC_GETPGRP])AC_CACHE_CHECK(whether getpgrp requires zero arguments,
|
|
ac_cv_func_getpgrp_void,
|
|
[# Use it with a single arg.
|
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT], [getpgrp (0);])],
|
|
[ac_cv_func_getpgrp_void=no],
|
|
[ac_cv_func_getpgrp_void=yes])
|
|
])
|
|
if test $ac_cv_func_getpgrp_void = yes; then
|
|
AC_DEFINE(GETPGRP_VOID, 1,
|
|
[Define to 1 if the `getpgrp' function requires zero arguments.])
|
|
fi
|
|
[]_m4_defun_epi([AC_FUNC_GETPGRP])
|
|
T22,23
|
|
m4_location(AC_FIND_X)autoconf/oldnames.m4:78
|
|
T23,189
|
|
_AC_OUTPUT_COMMANDS_CNT_m4_defun_pro([_AC_OUTPUT_COMMANDS_CNT])AC_DIAGNOSE([obsolete], [The macro `_AC_OUTPUT_COMMANDS_CNT' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
0[]_m4_defun_epi([_AC_OUTPUT_COMMANDS_CNT])
|
|
T20,3
|
|
_AC_LANG_PREFIX(C++)CXX
|
|
T23,23
|
|
m4_location(AC_ST_RDEV)autoconf/oldnames.m4:99
|
|
T20,24
|
|
m4_location(AC_INIT)autoconf/general.m4:1248
|
|
T32,17
|
|
m4_location(_AC_ARG_VAR_LDFLAGS)autoconf/c.m4:332
|
|
T38,24
|
|
m4_location(AC_CONFIG_AUX_DIR_DEFAULT)autoconf/general.m4:1503
|
|
T11,180
|
|
AC_CHECKING_m4_defun_pro([AC_CHECKING])AC_DIAGNOSE([obsolete], [The macro `AC_CHECKING' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AS_MESSAGE([checking $1...])[]_m4_defun_epi([AC_CHECKING])
|
|
T14,96
|
|
AC_PROG_RANLIB_m4_defun_pro([AC_PROG_RANLIB])AC_CHECK_TOOL(RANLIB, ranlib, :)[]_m4_defun_epi([AC_PROG_RANLIB])
|
|
T30,24
|
|
m4_location(AC_CANONICAL_HOST)autoconf/general.m4:1631
|
|
T15,333
|
|
_AC_INIT_NOTICEm4_divert_text([HEADER-COMMENT],
|
|
[@%:@ Guess values for system-dependent variables and create Makefiles.
|
|
@%:@ Generated by m4_PACKAGE_STRING[]dnl
|
|
m4_ifset([AC_PACKAGE_STRING], [ for AC_PACKAGE_STRING]).])
|
|
|
|
m4_ifset([AC_PACKAGE_BUGREPORT],
|
|
[m4_divert_text([HEADER-COMMENT],
|
|
[@%:@
|
|
@%:@ Report bugs to <AC_PACKAGE_BUGREPORT>.])])
|
|
|
|
T13,4517
|
|
_AC_INIT_HELPm4_divert_push([HELP_BEGIN])dnl
|
|
|
|
#
|
|
# Report the --help message.
|
|
#
|
|
if test "$ac_init_help" = "long"; then
|
|
# Omit some internal or obsolete options to make the list less imposing.
|
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
|
cat <<_ACEOF
|
|
\`configure' configures m4_ifset([AC_PACKAGE_STRING],
|
|
[AC_PACKAGE_STRING],
|
|
[this package]) to adapt to many kinds of systems.
|
|
|
|
Usage: $[0] [[OPTION]]... [[VAR=VALUE]]...
|
|
|
|
[To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
|
VAR=VALUE. See below for descriptions of some of the useful variables.
|
|
|
|
Defaults for the options are specified in brackets.
|
|
|
|
Configuration:
|
|
-h, --help display this help and exit
|
|
--help=short display options specific to this package
|
|
--help=recursive display the short help of all the included packages
|
|
-V, --version display version information and exit
|
|
-q, --quiet, --silent do not print \`checking...' messages
|
|
--cache-file=FILE cache test results in FILE [disabled]
|
|
-C, --config-cache alias for \`--cache-file=config.cache'
|
|
-n, --no-create do not create output files
|
|
--srcdir=DIR find the sources in DIR [configure dir or \`..']
|
|
|
|
_ACEOF
|
|
|
|
cat <<_ACEOF
|
|
Installation directories:
|
|
--prefix=PREFIX install architecture-independent files in PREFIX
|
|
[$ac_default_prefix]
|
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
|
[PREFIX]
|
|
|
|
By default, \`make install' will install all the files in
|
|
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
|
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
|
for instance \`--prefix=\$HOME'.
|
|
|
|
For better control, use the options below.
|
|
|
|
Fine tuning of the installation directories:
|
|
--bindir=DIR user executables [EPREFIX/bin]
|
|
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
|
--libexecdir=DIR program executables [EPREFIX/libexec]
|
|
--datadir=DIR read-only architecture-independent data [PREFIX/share]
|
|
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
|
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
|
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
|
--libdir=DIR object code libraries [EPREFIX/lib]
|
|
--includedir=DIR C header files [PREFIX/include]
|
|
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
|
--infodir=DIR info documentation [PREFIX/info]
|
|
--mandir=DIR man documentation [PREFIX/man]
|
|
_ACEOF
|
|
|
|
cat <<\_ACEOF]
|
|
m4_divert_pop([HELP_BEGIN])dnl
|
|
dnl The order of the diversions here is
|
|
dnl - HELP_BEGIN
|
|
dnl which may be extended by extra generic options such as with X or
|
|
dnl AC_ARG_PROGRAM. Displayed only in long --help.
|
|
dnl
|
|
dnl - HELP_CANON
|
|
dnl Support for cross compilation (--build, --host and --target).
|
|
dnl Display only in long --help.
|
|
dnl
|
|
dnl - HELP_ENABLE
|
|
dnl which starts with the trailer of the HELP_BEGIN, HELP_CANON section,
|
|
dnl then implements the header of the non generic options.
|
|
dnl
|
|
dnl - HELP_WITH
|
|
dnl
|
|
dnl - HELP_VAR
|
|
dnl
|
|
dnl - HELP_VAR_END
|
|
dnl
|
|
dnl - HELP_END
|
|
dnl initialized below, in which we dump the trailer (handling of the
|
|
dnl recursion for instance).
|
|
m4_divert_push([HELP_ENABLE])dnl
|
|
_ACEOF
|
|
fi
|
|
|
|
if test -n "$ac_init_help"; then
|
|
m4_ifset([AC_PACKAGE_STRING],
|
|
[ case $ac_init_help in
|
|
short | recursive ) echo "Configuration of AC_PACKAGE_STRING:";;
|
|
esac])
|
|
cat <<\_ACEOF
|
|
m4_divert_pop([HELP_ENABLE])dnl
|
|
m4_divert_push([HELP_END])dnl
|
|
m4_ifset([AC_PACKAGE_BUGREPORT], [
|
|
Report bugs to <AC_PACKAGE_BUGREPORT>.])
|
|
_ACEOF
|
|
fi
|
|
|
|
if test "$ac_init_help" = "recursive"; then
|
|
# If there are subdirs, report their specific --help.
|
|
ac_popdir=`pwd`
|
|
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
|
test -d $ac_dir || continue
|
|
_AC_SRCPATHS(["$ac_dir"])
|
|
cd $ac_dir
|
|
# Check for guested configure; otherwise get Cygnus style configure.
|
|
if test -f $ac_srcdir/configure.gnu; then
|
|
echo
|
|
$SHELL $ac_srcdir/configure.gnu --help=recursive
|
|
elif test -f $ac_srcdir/configure; then
|
|
echo
|
|
$SHELL $ac_srcdir/configure --help=recursive
|
|
elif test -f $ac_srcdir/configure.ac ||
|
|
test -f $ac_srcdir/configure.in; then
|
|
echo
|
|
$ac_configure --help
|
|
else
|
|
AC_MSG_WARN([no configuration information is in $ac_dir])
|
|
fi
|
|
cd "$ac_popdir"
|
|
done
|
|
fi
|
|
|
|
test -n "$ac_init_help" && exit 0
|
|
m4_divert_pop([HELP_END])dnl
|
|
|
|
T14,1320
|
|
AC_FUNC_ALLOCA_m4_defun_pro([AC_FUNC_ALLOCA])# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
|
|
# for constant arguments. Useless!
|
|
AC_CACHE_CHECK([for working alloca.h], ac_cv_working_alloca_h,
|
|
[AC_LINK_IFELSE(
|
|
[AC_LANG_PROGRAM([[@%:@include <alloca.h>]],
|
|
[[char *p = (char *) alloca (2 * sizeof (int));]])],
|
|
[ac_cv_working_alloca_h=yes],
|
|
[ac_cv_working_alloca_h=no])])
|
|
if test $ac_cv_working_alloca_h = yes; then
|
|
AC_DEFINE(HAVE_ALLOCA_H, 1,
|
|
[Define to 1 if you have <alloca.h> and it should be used
|
|
(not on Ultrix).])
|
|
fi
|
|
|
|
AC_CACHE_CHECK([for alloca], ac_cv_func_alloca_works,
|
|
[AC_LINK_IFELSE([AC_LANG_PROGRAM(
|
|
[[#ifdef __GNUC__
|
|
# define alloca __builtin_alloca
|
|
#else
|
|
# ifdef _MSC_VER
|
|
# include <malloc.h>
|
|
# define alloca _alloca
|
|
# else
|
|
# if HAVE_ALLOCA_H
|
|
# include <alloca.h>
|
|
# else
|
|
# ifdef _AIX
|
|
#pragma alloca
|
|
# else
|
|
# ifndef alloca /* predefined by HP cc +Olibcalls */
|
|
char *alloca ();
|
|
# endif
|
|
# endif
|
|
# endif
|
|
# endif
|
|
#endif
|
|
]], [[char *p = (char *) alloca (1);]])],
|
|
[ac_cv_func_alloca_works=yes],
|
|
[ac_cv_func_alloca_works=no])])
|
|
|
|
if test $ac_cv_func_alloca_works = yes; then
|
|
AC_DEFINE(HAVE_ALLOCA, 1,
|
|
[Define to 1 if you have `alloca', as a function or macro.])
|
|
else
|
|
_AC_LIBOBJ_ALLOCA
|
|
fi
|
|
[]_m4_defun_epi([AC_FUNC_ALLOCA])
|
|
T23,23
|
|
m4_location(AC_FC_MAIN)autoconf/fortran.m4:884
|
|
T31,0
|
|
m4_include(autoconf/general.m4)
|
|
T32,0
|
|
m4_include(autoconf/autotest.m4)
|
|
T9,586
|
|
AS_TMPDIR# Create a temporary directory, and hook for its removal unless debugging.
|
|
$debug ||
|
|
{
|
|
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
|
|
trap 'AS_EXIT([1])' 1 2 13 15
|
|
}
|
|
|
|
# Create a (secure) tmp directory for tmp files.
|
|
m4_if([$2], [], [: ${TMPDIR=/tmp}])
|
|
{
|
|
tmp=`(umask 077 && mktemp -d -q "m4_default([$2], [$TMPDIR])/$1XXXXXX") 2>/dev/null` &&
|
|
test -n "$tmp" && test -d "$tmp"
|
|
} ||
|
|
{
|
|
tmp=m4_default([$2], [$TMPDIR])/$1$$-$RANDOM
|
|
(umask 077 && mkdir $tmp)
|
|
} ||
|
|
{
|
|
echo "$me: cannot create a temporary directory in m4_default([$2], [$TMPDIR])" >&2
|
|
AS_EXIT
|
|
}dnl
|
|
|
|
T34,23
|
|
m4_location(__AC_FC_NAME_MANGLING)autoconf/fortran.m4:973
|
|
T11,168
|
|
AC_SCO_INTL_m4_defun_pro([AC_SCO_INTL])AC_DIAGNOSE([obsolete], [The macro `AC_SCO_INTL' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_FUNC_STRFTIME[]_m4_defun_epi([AC_SCO_INTL])
|
|
T8,160
|
|
AC_PID_T_m4_defun_pro([AC_PID_T])AC_DIAGNOSE([obsolete], [The macro `AC_PID_T' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_TYPE_PID_T($@)[]_m4_defun_epi([AC_PID_T])
|
|
T17,17
|
|
m4_PACKAGE_STRINGGNU Autoconf 2.59
|
|
T24,3
|
|
_m4_divert(HELP_VAR_END)105
|
|
T12,0
|
|
AC_LIBSOURCE
|
|
F11,8
|
|
m4_maketempmaketemp
|
|
T17,210
|
|
_AC_LINKER_OPTION_m4_defun_pro([_AC_LINKER_OPTION])if test "$ac_compiler_gnu" = yes; then
|
|
for ac_link_opt in $1; do
|
|
$2="[$]$2 -Xlinker $ac_link_opt"
|
|
done
|
|
else
|
|
$2="[$]$2 $1"
|
|
fi[]dnl
|
|
[]_m4_defun_epi([_AC_LINKER_OPTION])
|
|
T24,1631
|
|
AC_FUNC_SETVBUF_REVERSED_m4_defun_pro([AC_FUNC_SETVBUF_REVERSED])AC_REQUIRE([AC_C_PROTOTYPES])dnl
|
|
AC_CACHE_CHECK(whether setvbuf arguments are reversed,
|
|
ac_cv_func_setvbuf_reversed,
|
|
[ac_cv_func_setvbuf_reversed=no
|
|
AC_LINK_IFELSE(
|
|
[AC_LANG_PROGRAM(
|
|
[[#include <stdio.h>
|
|
# if PROTOTYPES
|
|
int (setvbuf) (FILE *, int, char *, size_t);
|
|
# endif]],
|
|
[[char buf; return setvbuf (stdout, _IOLBF, &buf, 1);]])],
|
|
[AC_LINK_IFELSE(
|
|
[AC_LANG_PROGRAM(
|
|
[[#include <stdio.h>
|
|
# if PROTOTYPES
|
|
int (setvbuf) (FILE *, int, char *, size_t);
|
|
# endif]],
|
|
[[char buf; return setvbuf (stdout, &buf, _IOLBF, 1);]])],
|
|
[# It compiles and links either way, so it must not be declared
|
|
# with a prototype and most likely this is a K&R C compiler.
|
|
# Try running it.
|
|
AC_RUN_IFELSE(
|
|
[AC_LANG_PROGRAM(
|
|
[[#include <stdio.h>]],
|
|
[[/* This call has the arguments reversed.
|
|
A reversed system may check and see that the address of buf
|
|
is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
|
|
char buf;
|
|
if (setvbuf (stdout, _IOLBF, &buf, 1) != 0)
|
|
exit (1);
|
|
putchar ('\r');
|
|
exit (0); /* Non-reversed systems SEGV here. */]])],
|
|
[ac_cv_func_setvbuf_reversed=yes],
|
|
[rm -f core *.core],
|
|
[[: # Assume setvbuf is not reversed when cross-compiling.]])]
|
|
ac_cv_func_setvbuf_reversed=yes)])])
|
|
if test $ac_cv_func_setvbuf_reversed = yes; then
|
|
AC_DEFINE(SETVBUF_REVERSED, 1,
|
|
[Define to 1 if the `setvbuf' function takes the buffering type as
|
|
its second argument and the buffer pointer as the third, as on
|
|
System V before release 3.])
|
|
fi
|
|
[]_m4_defun_epi([AC_FUNC_SETVBUF_REVERSED])
|
|
T8,12
|
|
AC_FATALm4_fatal($@)
|
|
T23,23
|
|
m4_location(AC_PROG_FC)autoconf/fortran.m4:408
|
|
T9,75
|
|
AC_BEFOREm4_provide_if([$2],
|
|
[m4_warn([syntax], [$2 was called before $1])])
|
|
T13,0
|
|
AC_LIST_LINKS
|
|
T11,40
|
|
m4_undivertm4_builtin([undivert], _m4_divert([$1]))
|
|
T28,18
|
|
m4_location(AC_C_PROTOTYPES)autoconf/c.m4:1219
|
|
T15,139
|
|
_AC_EVAL_STDERR_m4_defun_pro([_AC_EVAL_STDERR])_AC_RUN_LOG_STDERR([eval $1],
|
|
[eval echo "$as_me:$LINENO: \"$1\""])[]_m4_defun_epi([_AC_EVAL_STDERR])
|
|
T16,0
|
|
_AC_LIST_SUBDIRS
|
|
T20,313
|
|
_AC_CHECK_HEADER_OLDAS_VAR_PUSHDEF([ac_Header], [ac_cv_header_$1])dnl
|
|
AC_CACHE_CHECK([for $1], ac_Header,
|
|
[AC_PREPROC_IFELSE([AC_LANG_SOURCE([@%:@include <$1>])],
|
|
[AS_VAR_SET(ac_Header, yes)],
|
|
[AS_VAR_SET(ac_Header, no)])])
|
|
AS_IF([test AS_VAR_GET(ac_Header) = yes], [$2], [$3])[]dnl
|
|
AS_VAR_POPDEF([ac_Header])dnl
|
|
|
|
T10,161
|
|
AS_MESSAGEm4_ifset([AS_MESSAGE_LOG_FD],
|
|
[{ _AS_ECHO([$as_me:$LINENO: $1], [AS_MESSAGE_LOG_FD])
|
|
_AS_ECHO([$as_me: $1], [$2]);}],
|
|
[_AS_ECHO([$as_me: $1], [$2])])[]dnl
|
|
|
|
T12,171
|
|
AC_FIND_XTRA_m4_defun_pro([AC_FIND_XTRA])AC_DIAGNOSE([obsolete], [The macro `AC_FIND_XTRA' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_PATH_XTRA($@)[]_m4_defun_epi([AC_FIND_XTRA])
|
|
T15,301
|
|
_AC_CONFIG_LINK_AC_CONFIG_UNIQUE([$1])dnl
|
|
m4_append([AC_LIST_LINKS], [ $1])dnl
|
|
_AC_CONFIG_DEPENDENCIES([$1])dnl
|
|
m4_bmatch([$1], [^\.:\| \.:], [m4_fatal([$0: invalid destination: `.'])])dnl
|
|
dnl Register the commands
|
|
m4_ifval([$2],
|
|
[m4_append([AC_LIST_LINKS_COMMANDS],
|
|
[ ]m4_bpatsubst([$1], [:.*])[ ) $2 ;;
|
|
])])dnl
|
|
|
|
T27,21
|
|
m4_location(AC_TYPE_MODE_T)autoconf/types.m4:345
|
|
F3,3
|
|
lenlen
|
|
F5,6
|
|
m4_ififelse
|
|
T19,13769
|
|
_AC_INIT_PARSE_ARGSm4_divert_push([PARSE_ARGS])dnl
|
|
|
|
# Initialize some variables set by options.
|
|
ac_init_help=
|
|
ac_init_version=false
|
|
# The variables have the same names as the options, with
|
|
# dashes changed to underlines.
|
|
cache_file=/dev/null
|
|
AC_SUBST(exec_prefix, NONE)dnl
|
|
no_create=
|
|
no_recursion=
|
|
AC_SUBST(prefix, NONE)dnl
|
|
program_prefix=NONE
|
|
program_suffix=NONE
|
|
AC_SUBST(program_transform_name, [s,x,x,])dnl
|
|
silent=
|
|
site=
|
|
srcdir=
|
|
verbose=
|
|
x_includes=NONE
|
|
x_libraries=NONE
|
|
|
|
# Installation directory options.
|
|
# These are left unexpanded so users can "make install exec_prefix=/foo"
|
|
# and all the variables that are supposed to be based on exec_prefix
|
|
# by default will actually change.
|
|
# Use braces instead of parens because sh, perl, etc. also accept them.
|
|
AC_SUBST([bindir], ['${exec_prefix}/bin'])dnl
|
|
AC_SUBST([sbindir], ['${exec_prefix}/sbin'])dnl
|
|
AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])dnl
|
|
AC_SUBST([datadir], ['${prefix}/share'])dnl
|
|
AC_SUBST([sysconfdir], ['${prefix}/etc'])dnl
|
|
AC_SUBST([sharedstatedir], ['${prefix}/com'])dnl
|
|
AC_SUBST([localstatedir], ['${prefix}/var'])dnl
|
|
AC_SUBST([libdir], ['${exec_prefix}/lib'])dnl
|
|
AC_SUBST([includedir], ['${prefix}/include'])dnl
|
|
AC_SUBST([oldincludedir], ['/usr/include'])dnl
|
|
AC_SUBST([infodir], ['${prefix}/info'])dnl
|
|
AC_SUBST([mandir], ['${prefix}/man'])dnl
|
|
|
|
ac_prev=
|
|
for ac_option
|
|
do
|
|
# If the previous option needs an argument, assign it.
|
|
if test -n "$ac_prev"; then
|
|
eval "$ac_prev=\$ac_option"
|
|
ac_prev=
|
|
continue
|
|
fi
|
|
|
|
ac_optarg=`expr "x$ac_option" : 'x[[^=]]*=\(.*\)'`
|
|
|
|
# Accept the important Cygnus configure options, so we can diagnose typos.
|
|
|
|
case $ac_option in
|
|
|
|
-bindir | --bindir | --bindi | --bind | --bin | --bi)
|
|
ac_prev=bindir ;;
|
|
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
|
bindir=$ac_optarg ;;
|
|
|
|
-build | --build | --buil | --bui | --bu)
|
|
ac_prev=build_alias ;;
|
|
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
|
build_alias=$ac_optarg ;;
|
|
|
|
-cache-file | --cache-file | --cache-fil | --cache-fi \
|
|
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
|
ac_prev=cache_file ;;
|
|
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
|
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
|
cache_file=$ac_optarg ;;
|
|
|
|
--config-cache | -C)
|
|
cache_file=config.cache ;;
|
|
|
|
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
|
|
ac_prev=datadir ;;
|
|
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
|
|
| --da=*)
|
|
datadir=$ac_optarg ;;
|
|
|
|
-disable-* | --disable-*)
|
|
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
|
# Reject names that are not valid shell variable names.
|
|
expr "x$ac_feature" : "[.*[^-_$as_cr_alnum]]" >/dev/null &&
|
|
AC_MSG_ERROR([invalid feature name: $ac_feature])
|
|
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
|
eval "enable_$ac_feature=no" ;;
|
|
|
|
-enable-* | --enable-*)
|
|
ac_feature=`expr "x$ac_option" : 'x-*enable-\([[^=]]*\)'`
|
|
# Reject names that are not valid shell variable names.
|
|
expr "x$ac_feature" : "[.*[^-_$as_cr_alnum]]" >/dev/null &&
|
|
AC_MSG_ERROR([invalid feature name: $ac_feature])
|
|
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
|
case $ac_option in
|
|
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
|
*) ac_optarg=yes ;;
|
|
esac
|
|
eval "enable_$ac_feature='$ac_optarg'" ;;
|
|
|
|
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
|
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
|
| --exec | --exe | --ex)
|
|
ac_prev=exec_prefix ;;
|
|
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
|
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
|
| --exec=* | --exe=* | --ex=*)
|
|
exec_prefix=$ac_optarg ;;
|
|
|
|
-gas | --gas | --ga | --g)
|
|
# Obsolete; use --with-gas.
|
|
with_gas=yes ;;
|
|
|
|
-help | --help | --hel | --he | -h)
|
|
ac_init_help=long ;;
|
|
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
|
ac_init_help=recursive ;;
|
|
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
|
ac_init_help=short ;;
|
|
|
|
-host | --host | --hos | --ho)
|
|
ac_prev=host_alias ;;
|
|
-host=* | --host=* | --hos=* | --ho=*)
|
|
host_alias=$ac_optarg ;;
|
|
|
|
-includedir | --includedir | --includedi | --included | --include \
|
|
| --includ | --inclu | --incl | --inc)
|
|
ac_prev=includedir ;;
|
|
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
|
| --includ=* | --inclu=* | --incl=* | --inc=*)
|
|
includedir=$ac_optarg ;;
|
|
|
|
-infodir | --infodir | --infodi | --infod | --info | --inf)
|
|
ac_prev=infodir ;;
|
|
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
|
infodir=$ac_optarg ;;
|
|
|
|
-libdir | --libdir | --libdi | --libd)
|
|
ac_prev=libdir ;;
|
|
-libdir=* | --libdir=* | --libdi=* | --libd=*)
|
|
libdir=$ac_optarg ;;
|
|
|
|
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
|
| --libexe | --libex | --libe)
|
|
ac_prev=libexecdir ;;
|
|
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
|
| --libexe=* | --libex=* | --libe=*)
|
|
libexecdir=$ac_optarg ;;
|
|
|
|
-localstatedir | --localstatedir | --localstatedi | --localstated \
|
|
| --localstate | --localstat | --localsta | --localst \
|
|
| --locals | --local | --loca | --loc | --lo)
|
|
ac_prev=localstatedir ;;
|
|
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
|
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
|
|
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
|
|
localstatedir=$ac_optarg ;;
|
|
|
|
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
|
ac_prev=mandir ;;
|
|
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
|
mandir=$ac_optarg ;;
|
|
|
|
-nfp | --nfp | --nf)
|
|
# Obsolete; use --without-fp.
|
|
with_fp=no ;;
|
|
|
|
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
|
| --no-cr | --no-c | -n)
|
|
no_create=yes ;;
|
|
|
|
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
|
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
|
no_recursion=yes ;;
|
|
|
|
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
|
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
|
| --oldin | --oldi | --old | --ol | --o)
|
|
ac_prev=oldincludedir ;;
|
|
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
|
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
|
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
|
oldincludedir=$ac_optarg ;;
|
|
|
|
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
|
ac_prev=prefix ;;
|
|
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
|
prefix=$ac_optarg ;;
|
|
|
|
-program-prefix | --program-prefix | --program-prefi | --program-pref \
|
|
| --program-pre | --program-pr | --program-p)
|
|
ac_prev=program_prefix ;;
|
|
-program-prefix=* | --program-prefix=* | --program-prefi=* \
|
|
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
|
program_prefix=$ac_optarg ;;
|
|
|
|
-program-suffix | --program-suffix | --program-suffi | --program-suff \
|
|
| --program-suf | --program-su | --program-s)
|
|
ac_prev=program_suffix ;;
|
|
-program-suffix=* | --program-suffix=* | --program-suffi=* \
|
|
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
|
program_suffix=$ac_optarg ;;
|
|
|
|
-program-transform-name | --program-transform-name \
|
|
| --program-transform-nam | --program-transform-na \
|
|
| --program-transform-n | --program-transform- \
|
|
| --program-transform | --program-transfor \
|
|
| --program-transfo | --program-transf \
|
|
| --program-trans | --program-tran \
|
|
| --progr-tra | --program-tr | --program-t)
|
|
ac_prev=program_transform_name ;;
|
|
-program-transform-name=* | --program-transform-name=* \
|
|
| --program-transform-nam=* | --program-transform-na=* \
|
|
| --program-transform-n=* | --program-transform-=* \
|
|
| --program-transform=* | --program-transfor=* \
|
|
| --program-transfo=* | --program-transf=* \
|
|
| --program-trans=* | --program-tran=* \
|
|
| --progr-tra=* | --program-tr=* | --program-t=*)
|
|
program_transform_name=$ac_optarg ;;
|
|
|
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
|
| -silent | --silent | --silen | --sile | --sil)
|
|
silent=yes ;;
|
|
|
|
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
|
ac_prev=sbindir ;;
|
|
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
|
| --sbi=* | --sb=*)
|
|
sbindir=$ac_optarg ;;
|
|
|
|
-sharedstatedir | --sharedstatedir | --sharedstatedi \
|
|
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
|
| --sharedst | --shareds | --shared | --share | --shar \
|
|
| --sha | --sh)
|
|
ac_prev=sharedstatedir ;;
|
|
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
|
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
|
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
|
| --sha=* | --sh=*)
|
|
sharedstatedir=$ac_optarg ;;
|
|
|
|
-site | --site | --sit)
|
|
ac_prev=site ;;
|
|
-site=* | --site=* | --sit=*)
|
|
site=$ac_optarg ;;
|
|
|
|
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
|
ac_prev=srcdir ;;
|
|
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
|
srcdir=$ac_optarg ;;
|
|
|
|
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
|
| --syscon | --sysco | --sysc | --sys | --sy)
|
|
ac_prev=sysconfdir ;;
|
|
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
|
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
|
sysconfdir=$ac_optarg ;;
|
|
|
|
-target | --target | --targe | --targ | --tar | --ta | --t)
|
|
ac_prev=target_alias ;;
|
|
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
|
target_alias=$ac_optarg ;;
|
|
|
|
-v | -verbose | --verbose | --verbos | --verbo | --verb)
|
|
verbose=yes ;;
|
|
|
|
-version | --version | --versio | --versi | --vers | -V)
|
|
ac_init_version=: ;;
|
|
|
|
-with-* | --with-*)
|
|
ac_package=`expr "x$ac_option" : 'x-*with-\([[^=]]*\)'`
|
|
# Reject names that are not valid shell variable names.
|
|
expr "x$ac_package" : "[.*[^-_$as_cr_alnum]]" >/dev/null &&
|
|
AC_MSG_ERROR([invalid package name: $ac_package])
|
|
ac_package=`echo $ac_package| sed 's/-/_/g'`
|
|
case $ac_option in
|
|
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
|
*) ac_optarg=yes ;;
|
|
esac
|
|
eval "with_$ac_package='$ac_optarg'" ;;
|
|
|
|
-without-* | --without-*)
|
|
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
|
# Reject names that are not valid shell variable names.
|
|
expr "x$ac_package" : "[.*[^-_$as_cr_alnum]]" >/dev/null &&
|
|
AC_MSG_ERROR([invalid package name: $ac_package])
|
|
ac_package=`echo $ac_package | sed 's/-/_/g'`
|
|
eval "with_$ac_package=no" ;;
|
|
|
|
--x)
|
|
# Obsolete; use --with-x.
|
|
with_x=yes ;;
|
|
|
|
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
|
| --x-incl | --x-inc | --x-in | --x-i)
|
|
ac_prev=x_includes ;;
|
|
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
|
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
|
x_includes=$ac_optarg ;;
|
|
|
|
-x-libraries | --x-libraries | --x-librarie | --x-librari \
|
|
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
|
ac_prev=x_libraries ;;
|
|
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
|
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
|
x_libraries=$ac_optarg ;;
|
|
|
|
-*) AC_MSG_ERROR([unrecognized option: $ac_option
|
|
Try `$[0] --help' for more information.])
|
|
;;
|
|
|
|
*=*)
|
|
ac_envvar=`expr "x$ac_option" : 'x\([[^=]]*\)='`
|
|
# Reject names that are not valid shell variable names.
|
|
expr "x$ac_envvar" : "[.*[^_$as_cr_alnum]]" >/dev/null &&
|
|
AC_MSG_ERROR([invalid variable name: $ac_envvar])
|
|
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
|
|
eval "$ac_envvar='$ac_optarg'"
|
|
export $ac_envvar ;;
|
|
|
|
*)
|
|
# FIXME: should be removed in autoconf 3.0.
|
|
AC_MSG_WARN([you should use --build, --host, --target])
|
|
expr "x$ac_option" : "[.*[^-._$as_cr_alnum]]" >/dev/null &&
|
|
AC_MSG_WARN([invalid host type: $ac_option])
|
|
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
|
;;
|
|
|
|
esac
|
|
done
|
|
|
|
if test -n "$ac_prev"; then
|
|
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
|
AC_MSG_ERROR([missing argument to $ac_option])
|
|
fi
|
|
|
|
# Be sure to have absolute paths.
|
|
for ac_var in exec_prefix prefix
|
|
do
|
|
eval ac_val=$`echo $ac_var`
|
|
case $ac_val in
|
|
[[\\/$]]* | ?:[[\\/]]* | NONE | '' ) ;;
|
|
*) AC_MSG_ERROR([expected an absolute directory name for --$ac_var: $ac_val]);;
|
|
esac
|
|
done
|
|
|
|
# Be sure to have absolute paths.
|
|
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
|
|
localstatedir libdir includedir oldincludedir infodir mandir
|
|
do
|
|
eval ac_val=$`echo $ac_var`
|
|
case $ac_val in
|
|
[[\\/$]]* | ?:[[\\/]]* ) ;;
|
|
*) AC_MSG_ERROR([expected an absolute directory name for --$ac_var: $ac_val]);;
|
|
esac
|
|
done
|
|
|
|
# There might be people who depend on the old broken behavior: `$host'
|
|
# used to hold the argument of --host etc.
|
|
# FIXME: To remove some day.
|
|
build=$build_alias
|
|
host=$host_alias
|
|
target=$target_alias
|
|
|
|
# FIXME: To remove some day.
|
|
if test "x$host_alias" != x; then
|
|
if test "x$build_alias" = x; then
|
|
cross_compiling=maybe
|
|
AC_MSG_WARN([If you wanted to set the --build type, don't use --host.
|
|
If a cross compiler is detected then cross compile mode will be used.])
|
|
elif test "x$build_alias" != "x$host_alias"; then
|
|
cross_compiling=yes
|
|
fi
|
|
fi
|
|
|
|
ac_tool_prefix=
|
|
test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
|
|
|
test "$silent" = yes && exec AS_MESSAGE_FD>/dev/null
|
|
|
|
m4_divert_pop([PARSE_ARGS])dnl
|
|
|
|
F6,6
|
|
ifelseifelse
|
|
T24,3
|
|
_m4_divert(INIT_PREPARE)300
|
|
T8,151
|
|
AS_UNSET_m4_defun_pro([AS_UNSET])AS_REQUIRE([_AS_UNSET_PREPARE])dnl
|
|
$as_unset $1 || test "${$1+set}" != set || { $1=$2; export $1; }[]_m4_defun_epi([AS_UNSET])
|
|
T21,200
|
|
AC_STAT_MACROS_BROKEN_m4_defun_pro([AC_STAT_MACROS_BROKEN])AC_DIAGNOSE([obsolete], [The macro `AC_STAT_MACROS_BROKEN' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_HEADER_STAT($@)[]_m4_defun_epi([AC_STAT_MACROS_BROKEN])
|
|
T8,4
|
|
m4_quote[$*]
|
|
T28,25
|
|
m4_location(AC_FUNC_FNMATCH)autoconf/functions.m4:508
|
|
F8,5
|
|
m4_indexindex
|
|
T14,120
|
|
AS_SET_CATFILEcase $2 in
|
|
.) $1=$3;;
|
|
*)
|
|
case $3 in
|
|
.) $1=$2;;
|
|
[[\\/]]* | ?:[[\\/]]* ) $1=$3;;
|
|
*) $1=$2/$3;;
|
|
esac;;
|
|
esac[]dnl
|
|
|
|
T15,164
|
|
AC_PROG_CC_STDC_m4_defun_pro([AC_PROG_CC_STDC])AC_DIAGNOSE([obsolete], [The macro `AC_PROG_CC_STDC' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
[]_m4_defun_epi([AC_PROG_CC_STDC])
|
|
T32,25
|
|
m4_location(AC_FUNC_FNMATCH_GNU)autoconf/functions.m4:545
|
|
T14,432
|
|
_AC_RUN_IFELSEm4_ifvaln([$1], [AC_LANG_CONFTEST([$1])])dnl
|
|
rm -f conftest$ac_exeext
|
|
AS_IF([AC_TRY_EVAL(ac_link) && AC_TRY_COMMAND(./conftest$ac_exeext)],
|
|
[$2],
|
|
[echo "$as_me: program exited with status $ac_status" >&AS_MESSAGE_LOG_FD
|
|
_AC_MSG_LOG_CONFTEST
|
|
m4_ifvaln([$3],
|
|
[( exit $ac_status )
|
|
$3])dnl])[]dnl
|
|
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext m4_ifval([$1],
|
|
[conftest.$ac_ext])[]dnl
|
|
|
|
T11,1007
|
|
_AC_PROG_FC_m4_defun_pro([_AC_PROG_FC])_AC_FORTRAN_ASSERT()dnl
|
|
AC_CHECK_TOOLS([]_AC_FC[],
|
|
m4_default([$2],
|
|
m4_case(_AC_FC_DIALECT_YEAR([$1]),
|
|
[1995], [_AC_F95_FC],
|
|
[1990], [_AC_F90_FC _AC_F95_FC],
|
|
[1977], [_AC_F77_FC _AC_F90_FC _AC_F95_FC],
|
|
[_AC_F95_FC _AC_F90_FC _AC_F77_FC])))
|
|
|
|
# Provide some information about the compiler.
|
|
echo "$as_me:__oline__:" \
|
|
"checking for _AC_LANG compiler version" >&AS_MESSAGE_LOG_FD
|
|
ac_compiler=`set X $ac_compile; echo $[2]`
|
|
_AC_EVAL([$ac_compiler --version </dev/null >&AS_MESSAGE_LOG_FD])
|
|
_AC_EVAL([$ac_compiler -v </dev/null >&AS_MESSAGE_LOG_FD])
|
|
_AC_EVAL([$ac_compiler -V </dev/null >&AS_MESSAGE_LOG_FD])
|
|
rm -f a.out
|
|
|
|
m4_expand_once([_AC_COMPILER_EXEEXT])[]dnl
|
|
m4_expand_once([_AC_COMPILER_OBJEXT])[]dnl
|
|
# If we don't use `.F' as extension, the preprocessor is not run on the
|
|
# input file. (Note that this only needs to work for GNU compilers.)
|
|
ac_save_ext=$ac_ext
|
|
ac_ext=F
|
|
_AC_LANG_COMPILER_GNU
|
|
ac_ext=$ac_save_ext
|
|
_AC_PROG_FC_G
|
|
[]_m4_defun_epi([_AC_PROG_FC])
|
|
T28,20
|
|
m4_location(_AC_LANG_PREFIX)autoconf/lang.m4:188
|
|
T20,3
|
|
_AC_LANG_ABBREV(C++)cxx
|
|
T15,183
|
|
AM_FUNC_OBSTACK_m4_defun_pro([AM_FUNC_OBSTACK])AC_DIAGNOSE([obsolete], [The macro `AM_FUNC_OBSTACK' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_FUNC_OBSTACK($@)[]_m4_defun_epi([AM_FUNC_OBSTACK])
|
|
T15,183
|
|
AC_MAJOR_HEADER_m4_defun_pro([AC_MAJOR_HEADER])AC_DIAGNOSE([obsolete], [The macro `AC_MAJOR_HEADER' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_HEADER_MAJOR($@)[]_m4_defun_epi([AC_MAJOR_HEADER])
|
|
T18,1284
|
|
AC_FUNC_STRERROR_R_m4_defun_pro([AC_FUNC_STRERROR_R])AC_CHECK_DECLS([strerror_r])
|
|
AC_CHECK_FUNCS([strerror_r])
|
|
AC_CACHE_CHECK([whether strerror_r returns char *],
|
|
ac_cv_func_strerror_r_char_p,
|
|
[
|
|
ac_cv_func_strerror_r_char_p=no
|
|
if test $ac_cv_have_decl_strerror_r = yes; then
|
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
|
|
[[
|
|
char buf[100];
|
|
char x = *strerror_r (0, buf, sizeof buf);
|
|
char *p = strerror_r (0, buf, sizeof buf);
|
|
]])],
|
|
ac_cv_func_strerror_r_char_p=yes)
|
|
else
|
|
# strerror_r is not declared. Choose between
|
|
# systems that have relatively inaccessible declarations for the
|
|
# function. BeOS and DEC UNIX 4.0 fall in this category, but the
|
|
# former has a strerror_r that returns char*, while the latter
|
|
# has a strerror_r that returns `int'.
|
|
# This test should segfault on the DEC system.
|
|
AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT
|
|
extern char *strerror_r ();],
|
|
[[char buf[100];
|
|
char x = *strerror_r (0, buf, sizeof buf);
|
|
exit (!isalpha (x));]])],
|
|
ac_cv_func_strerror_r_char_p=yes, , :)
|
|
fi
|
|
])
|
|
if test $ac_cv_func_strerror_r_char_p = yes; then
|
|
AC_DEFINE([STRERROR_R_CHAR_P], 1,
|
|
[Define to 1 if strerror_r returns char *.])
|
|
fi
|
|
[]_m4_defun_epi([AC_FUNC_STRERROR_R])
|
|
F12,8
|
|
m4_bpatsubstpatsubst
|
|
T17,1
|
|
_m4_divert(BINSH)0
|
|
T18,406
|
|
_AC_COMPILE_IFELSEm4_ifvaln([$1], [AC_LANG_CONFTEST([$1])])dnl
|
|
rm -f conftest.$ac_objext
|
|
AS_IF([_AC_EVAL_STDERR($ac_compile) &&
|
|
AC_TRY_COMMAND([test -z "$ac_[]_AC_LANG_ABBREV[]_werror_flag" || test ! -s conftest.err]) &&
|
|
AC_TRY_COMMAND([test -s conftest.$ac_objext])],
|
|
[$2],
|
|
[_AC_MSG_LOG_CONFTEST
|
|
m4_ifvaln([$3],[$3])dnl])dnl
|
|
rm -f conftest.err conftest.$ac_objext m4_ifval([$1], [conftest.$ac_ext])[]dnl
|
|
|
|
T16,94
|
|
_AS_TEST_PREPARE_m4_defun_pro([_AS_TEST_PREPARE])as_executable_p="test -f"
|
|
[]_m4_defun_epi([_AS_TEST_PREPARE])
|
|
T15,97
|
|
AS_VAR_TEST_SETAS_LITERAL_IF([$1],
|
|
[test "${$1+set}" = set],
|
|
[eval "test \"\${$1+set}\" = set"])
|
|
T33,151
|
|
_AC_CHECK_TYPE_REPLACEMENT_TYPE_Pm4_bmatch([$1],
|
|
[^\(_Bool\|bool\|char\|double\|float\|int\|long\|short\|\(un\)?signed\|[_a-zA-Z][_a-zA-Z0-9]*_t\)[][_a-zA-Z0-9() *]*$],
|
|
1, 0)dnl
|
|
|
|
T16,105
|
|
AC_LANG_INT_SAVE_m4_defun_pro([AC_LANG_INT_SAVE])_AC_LANG_DISPATCH([$0], _AC_LANG, $@)[]_m4_defun_epi([AC_LANG_INT_SAVE])
|
|
T8,159
|
|
AC_ERROR_m4_defun_pro([AC_ERROR])AC_DIAGNOSE([obsolete], [The macro `AC_ERROR' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_MSG_ERROR($@)[]_m4_defun_epi([AC_ERROR])
|
|
T37,20
|
|
m4_location(AC_LANG_COMPILER_REQUIRE)autoconf/lang.m4:295
|
|
T15,36
|
|
_AS_BOX_LITERALcat <<\_ASBOX
|
|
m4_text_box($@)
|
|
_ASBOX
|
|
T13,201
|
|
AC_PATH_PROGS_m4_defun_pro([AC_PATH_PROGS])for ac_prog in $2
|
|
do
|
|
AC_PATH_PROG([$1], [$ac_prog], , [$4])
|
|
test -n "$$1" && break
|
|
done
|
|
m4_ifvaln([$3], [test -n "$$1" || $1="$3"])dnl
|
|
[]_m4_defun_epi([AC_PATH_PROGS])
|
|
T41,23
|
|
m4_location(AC_LANG_COMPILER(Fortran 77))autoconf/fortran.m4:289
|
|
T7,376
|
|
m4_init# All the M4sugar macros start with `m4_', except `dnl' kept as is
|
|
# for sake of simplicity.
|
|
m4_pattern_forbid([^_?m4_])
|
|
m4_pattern_forbid([^dnl$])
|
|
|
|
# Check the divert push/pop perfect balance.
|
|
m4_wrap([m4_ifdef([_m4_divert_diversion],
|
|
[m4_fatal([$0: unbalanced m4_divert_push:]
|
|
m4_defn([m4_divert_stack]))])[]])
|
|
|
|
m4_divert_push([KILL])
|
|
m4_wrap([m4_divert_pop([KILL])[]])
|
|
|
|
T15,531
|
|
AC_LONG_64_BITS_m4_defun_pro([AC_LONG_64_BITS])AC_DIAGNOSE([obsolete], [The macro `AC_LONG_64_BITS' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_CHECK_SIZEOF([long int])
|
|
AC_DIAGNOSE([obsolete], [$0:
|
|
your code should no longer depend upon `LONG_64_BITS', but upon
|
|
`SIZEOF_LONG_INT'. Remove this warning and the `AC_DEFINE' when
|
|
you adjust the code.])dnl
|
|
test $ac_cv_sizeof_long_int = 8 &&
|
|
AC_DEFINE(LONG_64_BITS, 1,
|
|
[Define to 1 if `sizeof (long int)' = 8. Obsolete, use
|
|
`SIZEOF_LONG_INT'.])
|
|
[]_m4_defun_epi([AC_LONG_64_BITS])
|
|
T9,86
|
|
m4_popdefm4_ifndef([$1],
|
|
[m4_fatal([$0: undefined macro: $1])])dnl
|
|
m4_builtin([popdef], $@)
|
|
T10,308
|
|
AS_MKDIR_PAS_REQUIRE([_$0_PREPARE])dnl
|
|
{ if $as_mkdir_p; then
|
|
mkdir -p $1
|
|
else
|
|
as_dir=$1
|
|
as_dirs=
|
|
while test ! -d "$as_dir"; do
|
|
as_dirs="$as_dir $as_dirs"
|
|
as_dir=`AS_DIRNAME("$as_dir")`
|
|
done
|
|
test ! -n "$as_dirs" || mkdir $as_dirs
|
|
fi || AS_ERROR([cannot create directory $1]); }
|
|
|
|
T13,180
|
|
AC_UTIME_NULL_m4_defun_pro([AC_UTIME_NULL])AC_DIAGNOSE([obsolete], [The macro `AC_UTIME_NULL' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_FUNC_UTIME_NULL($@)[]_m4_defun_epi([AC_UTIME_NULL])
|
|
T15,166
|
|
AC_PROG_F77_C_O_m4_defun_pro([AC_PROG_F77_C_O])AC_REQUIRE([AC_PROG_F77])dnl
|
|
AC_LANG_PUSH(Fortran 77)dnl
|
|
_AC_PROG_FC_C_O
|
|
AC_LANG_POP(Fortran 77)dnl
|
|
[]_m4_defun_epi([AC_PROG_F77_C_O])
|
|
T13,422
|
|
AC_CACHE_LOADif test -r "$cache_file"; then
|
|
# Some versions of bash will fail to source /dev/null (special
|
|
# files actually), so we avoid doing that.
|
|
if test -f "$cache_file"; then
|
|
AC_MSG_NOTICE([loading cache $cache_file])
|
|
case $cache_file in
|
|
[[\\/]]* | ?:[[\\/]]* ) . $cache_file;;
|
|
*) . ./$cache_file;;
|
|
esac
|
|
fi
|
|
else
|
|
AC_MSG_NOTICE([creating cache $cache_file])
|
|
>$cache_file
|
|
fi
|
|
|
|
T11,212
|
|
_AC_RUN_LOG_m4_defun_pro([_AC_RUN_LOG]){ ($2) >&AS_MESSAGE_LOG_FD
|
|
($1) 2>&AS_MESSAGE_LOG_FD
|
|
ac_status=$?
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
|
|
(exit $ac_status); }[]_m4_defun_epi([_AC_RUN_LOG])
|
|
T13,643
|
|
_AC_FUNC_STATAC_REQUIRE([AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK])dnl
|
|
AC_CACHE_CHECK([whether $1 accepts an empty string],
|
|
[ac_cv_func_$1_empty_string_bug],
|
|
[AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
|
|
[[struct stat sbuf;
|
|
exit ($1 ("", &sbuf) ? 1 : 0);]])],
|
|
[ac_cv_func_$1_empty_string_bug=yes],
|
|
[ac_cv_func_$1_empty_string_bug=no],
|
|
[ac_cv_func_$1_empty_string_bug=yes])])
|
|
if test $ac_cv_func_$1_empty_string_bug = yes; then
|
|
AC_LIBOBJ([$1])
|
|
AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_$1_EMPTY_STRING_BUG]), 1,
|
|
[Define to 1 if `$1' has the bug that it succeeds when
|
|
given the zero-length file name argument.])
|
|
fi
|
|
|
|
T19,204
|
|
AC_SETVBUF_REVERSED_m4_defun_pro([AC_SETVBUF_REVERSED])AC_DIAGNOSE([obsolete], [The macro `AC_SETVBUF_REVERSED' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_FUNC_SETVBUF_REVERSED($@)[]_m4_defun_epi([AC_SETVBUF_REVERSED])
|
|
T14,181
|
|
AC_LONG_DOUBLE_m4_defun_pro([AC_LONG_DOUBLE])AC_DIAGNOSE([obsolete], [The macro `AC_LONG_DOUBLE' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_C_LONG_DOUBLE($@)[]_m4_defun_epi([AC_LONG_DOUBLE])
|
|
T19,199
|
|
AC_CANONICAL_SYSTEM_m4_defun_pro([AC_CANONICAL_SYSTEM])AC_DIAGNOSE([obsolete], [The macro `AC_CANONICAL_SYSTEM' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_CANONICAL_TARGET($@)[]_m4_defun_epi([AC_CANONICAL_SYSTEM])
|
|
T13,1639
|
|
AC_CHECK_PROG_m4_defun_pro([AC_CHECK_PROG])# Extract the first word of "$2", so it can be a program name with args.
|
|
set dummy $2; ac_word=$[2]
|
|
AC_MSG_CHECKING([for $ac_word])
|
|
AC_CACHE_VAL(ac_cv_prog_$1,
|
|
[if test -n "$$1"; then
|
|
ac_cv_prog_$1="$$1" # Let the user override the test.
|
|
else
|
|
m4_ifvaln([$6],
|
|
[ ac_prog_rejected=no])dnl
|
|
_AS_PATH_WALK([$5],
|
|
[for ac_exec_ext in '' $ac_executable_extensions; do
|
|
if AS_EXECUTABLE_P(["$as_dir/$ac_word$ac_exec_ext"]); then
|
|
m4_ifvaln([$6],
|
|
[ if test "$as_dir/$ac_word$ac_exec_ext" = "$6"; then
|
|
ac_prog_rejected=yes
|
|
continue
|
|
fi])dnl
|
|
ac_cv_prog_$1="$3"
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&AS_MESSAGE_LOG_FD
|
|
break 2
|
|
fi
|
|
done])
|
|
m4_ifvaln([$6],
|
|
[if test $ac_prog_rejected = yes; then
|
|
# We found a bogon in the path, so make sure we never use it.
|
|
set dummy $ac_cv_prog_$1
|
|
shift
|
|
if test $[@%:@] != 0; then
|
|
# We chose a different compiler from the bogus one.
|
|
# However, it has the same basename, so the bogon will be chosen
|
|
# first if we set $1 to just the basename; use the full file name.
|
|
shift
|
|
ac_cv_prog_$1="$as_dir/$ac_word${1+' '}$[@]"
|
|
m4_if([$2], [$4],
|
|
[ else
|
|
# Default is a loser.
|
|
AC_MSG_ERROR([$1=$6 unacceptable, but no other $4 found in dnl
|
|
m4_default([$5], [\$PATH])])
|
|
])dnl
|
|
fi
|
|
fi])dnl
|
|
dnl If no 4th arg is given, leave the cache variable unset,
|
|
dnl so AC_CHECK_PROGS will keep looking.
|
|
m4_ifvaln([$4],
|
|
[ test -z "$ac_cv_prog_$1" && ac_cv_prog_$1="$4"])dnl
|
|
fi])dnl
|
|
$1=$ac_cv_prog_$1
|
|
if test -n "$$1"; then
|
|
AC_MSG_RESULT([$$1])
|
|
else
|
|
AC_MSG_RESULT([no])
|
|
fi
|
|
AC_SUBST($1)dnl
|
|
[]_m4_defun_epi([AC_CHECK_PROG])
|
|
T24,18
|
|
m4_location(AC_C_INLINE)autoconf/c.m4:1058
|
|
T14,183
|
|
ac_cv_prog_gxx_m4_defun_pro([ac_cv_prog_gxx])AC_DIAGNOSE([obsolete], [The macro `ac_cv_prog_gxx' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
ac_cv_cxx_compiler_gnu[]_m4_defun_epi([ac_cv_prog_gxx])
|
|
T18,324
|
|
_AC_RUN_LOG_STDERR_m4_defun_pro([_AC_RUN_LOG_STDERR]){ ($2) >&AS_MESSAGE_LOG_FD
|
|
($1) 2>conftest.er1
|
|
ac_status=$?
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
rm -f conftest.er1
|
|
cat conftest.err >&AS_MESSAGE_LOG_FD
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
|
|
(exit $ac_status); }[]_m4_defun_epi([_AC_RUN_LOG_STDERR])
|
|
T16,217
|
|
AS_BASENAME_EXPR_m4_defun_pro([AS_BASENAME_EXPR])AS_REQUIRE([_AS_EXPR_PREPARE])dnl
|
|
$as_expr X/[]$1 : '.*/\([[^/][^/]*]\)/*$' \| \
|
|
X[]$1 : 'X\(//\)$' \| \
|
|
X[]$1 : 'X\(/\)$' \| \
|
|
. : '\(.\)'[]_m4_defun_epi([AS_BASENAME_EXPR])
|
|
T20,316
|
|
AC_LANG_PROGRAM(C++)$1
|
|
m4_ifdef([_AC_LANG_PROGRAM_C_F77_HOOKS], [_AC_LANG_PROGRAM_C_F77_HOOKS])[]dnl
|
|
m4_ifdef([_AC_LANG_PROGRAM_C_FC_HOOKS], [_AC_LANG_PROGRAM_C_FC_HOOKS])[]dnl
|
|
int
|
|
main ()
|
|
{
|
|
dnl Do *not* indent the following line: there may be CPP directives.
|
|
dnl Don't move the `;' right after for the same reason.
|
|
$2
|
|
;
|
|
return 0;
|
|
}
|
|
T14,4066
|
|
AC_FUNC_MKTIME_m4_defun_pro([AC_FUNC_MKTIME])AC_REQUIRE([AC_HEADER_TIME])dnl
|
|
AC_CHECK_HEADERS(stdlib.h sys/time.h unistd.h)
|
|
AC_CHECK_FUNCS(alarm)
|
|
AC_CACHE_CHECK([for working mktime], ac_cv_func_working_mktime,
|
|
[AC_RUN_IFELSE([AC_LANG_SOURCE(
|
|
[[/* Test program from Paul Eggert and Tony Leneis. */
|
|
#if TIME_WITH_SYS_TIME
|
|
# include <sys/time.h>
|
|
# include <time.h>
|
|
#else
|
|
# if HAVE_SYS_TIME_H
|
|
# include <sys/time.h>
|
|
# else
|
|
# include <time.h>
|
|
# endif
|
|
#endif
|
|
|
|
#if HAVE_STDLIB_H
|
|
# include <stdlib.h>
|
|
#endif
|
|
|
|
#if HAVE_UNISTD_H
|
|
# include <unistd.h>
|
|
#endif
|
|
|
|
#if !HAVE_ALARM
|
|
# define alarm(X) /* empty */
|
|
#endif
|
|
|
|
/* Work around redefinition to rpl_putenv by other config tests. */
|
|
#undef putenv
|
|
|
|
static time_t time_t_max;
|
|
static time_t time_t_min;
|
|
|
|
/* Values we'll use to set the TZ environment variable. */
|
|
static char *tz_strings[] = {
|
|
(char *) 0, "TZ=GMT0", "TZ=JST-9",
|
|
"TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
|
|
};
|
|
#define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
|
|
|
|
/* Fail if mktime fails to convert a date in the spring-forward gap.
|
|
Based on a problem report from Andreas Jaeger. */
|
|
static void
|
|
spring_forward_gap ()
|
|
{
|
|
/* glibc (up to about 1998-10-07) failed this test. */
|
|
struct tm tm;
|
|
|
|
/* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
|
|
instead of "TZ=America/Vancouver" in order to detect the bug even
|
|
on systems that don't support the Olson extension, or don't have the
|
|
full zoneinfo tables installed. */
|
|
putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
|
|
|
|
tm.tm_year = 98;
|
|
tm.tm_mon = 3;
|
|
tm.tm_mday = 5;
|
|
tm.tm_hour = 2;
|
|
tm.tm_min = 0;
|
|
tm.tm_sec = 0;
|
|
tm.tm_isdst = -1;
|
|
if (mktime (&tm) == (time_t)-1)
|
|
exit (1);
|
|
}
|
|
|
|
static void
|
|
mktime_test1 (now)
|
|
time_t now;
|
|
{
|
|
struct tm *lt;
|
|
if ((lt = localtime (&now)) && mktime (lt) != now)
|
|
exit (1);
|
|
}
|
|
|
|
static void
|
|
mktime_test (now)
|
|
time_t now;
|
|
{
|
|
mktime_test1 (now);
|
|
mktime_test1 ((time_t) (time_t_max - now));
|
|
mktime_test1 ((time_t) (time_t_min + now));
|
|
}
|
|
|
|
static void
|
|
irix_6_4_bug ()
|
|
{
|
|
/* Based on code from Ariel Faigon. */
|
|
struct tm tm;
|
|
tm.tm_year = 96;
|
|
tm.tm_mon = 3;
|
|
tm.tm_mday = 0;
|
|
tm.tm_hour = 0;
|
|
tm.tm_min = 0;
|
|
tm.tm_sec = 0;
|
|
tm.tm_isdst = -1;
|
|
mktime (&tm);
|
|
if (tm.tm_mon != 2 || tm.tm_mday != 31)
|
|
exit (1);
|
|
}
|
|
|
|
static void
|
|
bigtime_test (j)
|
|
int j;
|
|
{
|
|
struct tm tm;
|
|
time_t now;
|
|
tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
|
|
now = mktime (&tm);
|
|
if (now != (time_t) -1)
|
|
{
|
|
struct tm *lt = localtime (&now);
|
|
if (! (lt
|
|
&& lt->tm_year == tm.tm_year
|
|
&& lt->tm_mon == tm.tm_mon
|
|
&& lt->tm_mday == tm.tm_mday
|
|
&& lt->tm_hour == tm.tm_hour
|
|
&& lt->tm_min == tm.tm_min
|
|
&& lt->tm_sec == tm.tm_sec
|
|
&& lt->tm_yday == tm.tm_yday
|
|
&& lt->tm_wday == tm.tm_wday
|
|
&& ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
|
|
== (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
|
|
exit (1);
|
|
}
|
|
}
|
|
|
|
int
|
|
main ()
|
|
{
|
|
time_t t, delta;
|
|
int i, j;
|
|
|
|
/* This test makes some buggy mktime implementations loop.
|
|
Give up after 60 seconds; a mktime slower than that
|
|
isn't worth using anyway. */
|
|
alarm (60);
|
|
|
|
for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
|
|
continue;
|
|
time_t_max--;
|
|
if ((time_t) -1 < 0)
|
|
for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2)
|
|
continue;
|
|
delta = time_t_max / 997; /* a suitable prime number */
|
|
for (i = 0; i < N_STRINGS; i++)
|
|
{
|
|
if (tz_strings[i])
|
|
putenv (tz_strings[i]);
|
|
|
|
for (t = 0; t <= time_t_max - delta; t += delta)
|
|
mktime_test (t);
|
|
mktime_test ((time_t) 1);
|
|
mktime_test ((time_t) (60 * 60));
|
|
mktime_test ((time_t) (60 * 60 * 24));
|
|
|
|
for (j = 1; 0 < j; j *= 2)
|
|
bigtime_test (j);
|
|
bigtime_test (j - 1);
|
|
}
|
|
irix_6_4_bug ();
|
|
spring_forward_gap ();
|
|
exit (0);
|
|
}]])],
|
|
[ac_cv_func_working_mktime=yes],
|
|
[ac_cv_func_working_mktime=no],
|
|
[ac_cv_func_working_mktime=no])])
|
|
if test $ac_cv_func_working_mktime = no; then
|
|
AC_LIBOBJ([mktime])
|
|
fi
|
|
[]_m4_defun_epi([AC_FUNC_MKTIME])
|
|
T36,24
|
|
m4_location(AC_SYS_SIGLIST_DECLARED)autoconf/oldnames.m4:100
|
|
T6,27
|
|
m4_cmpm4_sign(m4_eval([$1 - $2]))
|
|
T24,154
|
|
AC_LANG_PREPROC(Fortran)_m4_defun_pro([AC_LANG_PREPROC(Fortran)])m4_warn([syntax],
|
|
[$0: No preprocessor defined for ]_AC_LANG)[]_m4_defun_epi([AC_LANG_PREPROC(Fortran)])
|
|
T34,24
|
|
m4_location(AC_TIME_WITH_SYS_TIME)autoconf/oldnames.m4:102
|
|
T28,25
|
|
m4_location(AC_FUNC_MBRTOWC)autoconf/functions.m4:898
|
|
F6,3
|
|
m4_lenlen
|
|
T8,0
|
|
_m4_warn
|
|
T15,52
|
|
AC_DEFINE_TRACEAS_LITERAL_IF([$1], [AC_DEFINE_TRACE_LITERAL([$1])])
|
|
T19,23
|
|
m4_location(AC_USG)autoconf/headers.m4:747
|
|
T19,24
|
|
m4_location(AC_RSH)autoconf/programs.m4:501
|
|
T28,26
|
|
m4_location(AC_FUNC_SETPGRP)autoconf/functions.m4:1406
|
|
T20,220
|
|
_AC_ARG_VAR_CPPFLAGS_m4_defun_pro([_AC_ARG_VAR_CPPFLAGS])AC_ARG_VAR([CPPFLAGS],
|
|
[C/C++ preprocessor flags, e.g. -I<include dir> if you have
|
|
headers in a nonstandard directory <include dir>])[]_m4_defun_epi([_AC_ARG_VAR_CPPFLAGS])
|
|
T19,486
|
|
AC_LANG_INT_SAVE(C)AC_LANG_PROGRAM([$1
|
|
long longval () { return $2; }
|
|
unsigned long ulongval () { return $2; }
|
|
@%:@include <stdio.h>
|
|
@%:@include <stdlib.h>],
|
|
[
|
|
FILE *f = fopen ("conftest.val", "w");
|
|
if (! f)
|
|
exit (1);
|
|
if (($2) < 0)
|
|
{
|
|
long i = longval ();
|
|
if (i != ($2))
|
|
exit (1);
|
|
fprintf (f, "%ld\n", i);
|
|
}
|
|
else
|
|
{
|
|
unsigned long i = ulongval ();
|
|
if (i != ($2))
|
|
exit (1);
|
|
fprintf (f, "%lu\n", i);
|
|
}
|
|
exit (ferror (f) || fclose (f) != 0);
|
|
])
|
|
T16,511
|
|
AC_HEADER_DIRENT_m4_defun_pro([AC_HEADER_DIRENT])AH_CHECK_HEADERS_DIRENT(dirent.h sys/ndir.h sys/dir.h ndir.h)
|
|
ac_header_dirent=no
|
|
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
|
|
_AC_CHECK_HEADER_DIRENT($ac_hdr,
|
|
[AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_$ac_hdr), 1)
|
|
ac_header_dirent=$ac_hdr; break])
|
|
done
|
|
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
|
|
if test $ac_header_dirent = dirent.h; then
|
|
AC_SEARCH_LIBS(opendir, dir)
|
|
else
|
|
AC_SEARCH_LIBS(opendir, x)
|
|
fi
|
|
[]_m4_defun_epi([AC_HEADER_DIRENT])
|
|
T9,36
|
|
m4_renamem4_copy([$1], [$2])m4_undefine([$1])
|
|
T28,24
|
|
m4_location(_AC_FC_WRAPPERS)autoconf/fortran.m4:1043
|
|
T40,23
|
|
m4_location(AC_LANG_PREPROC(Fortran 77))autoconf/fortran.m4:274
|
|
T31,23
|
|
m4_location(AC_HEADER_SYS_WAIT)autoconf/headers.m4:648
|
|
T32,24
|
|
m4_location(AC_CONFIG_MACRO_DIR)autoconf/general.m4:1559
|
|
T25,0
|
|
AC_LIST_COMMANDS_COMMANDS
|
|
T28,23
|
|
m4_location(AC_STDC_HEADERS)autoconf/oldnames.m4:96
|
|
T24,2
|
|
_AC_LANG_ABBREV(Fortran)fc
|
|
T16,141
|
|
AH_CHECK_HEADERSAC_FOREACH([AC_Header], [$1],
|
|
[AH_TEMPLATE(AS_TR_CPP(HAVE_[]AC_Header),
|
|
[Define to 1 if you have the <]AC_Header[> header file.])])
|
|
T14,87
|
|
AC_REQUIRE_CPP_m4_defun_pro([AC_REQUIRE_CPP])AC_LANG_PREPROC_REQUIRE[]_m4_defun_epi([AC_REQUIRE_CPP])
|
|
T14,113
|
|
AC_LINK_IFELSE_m4_defun_pro([AC_LINK_IFELSE])AC_LANG_COMPILER_REQUIRE()dnl
|
|
_AC_LINK_IFELSE($@)[]_m4_defun_epi([AC_LINK_IFELSE])
|
|
T31,22
|
|
m4_location(_AC_LIST_MEMBER_IF)autoconf/fortran.m4:86
|
|
T32,21
|
|
m4_location(AC_STRUCT_ST_BLOCKS)autoconf/types.m4:552
|
|
T14,50
|
|
m4_divert_textm4_divert_push([$1])dnl
|
|
$2
|
|
m4_divert_pop([$1])dnl
|
|
|
|
T22,2897
|
|
_AC_FC_LIBRARY_LDFLAGS_m4_defun_pro([_AC_FC_LIBRARY_LDFLAGS])_AC_FORTRAN_ASSERT()dnl
|
|
_AC_PROG_FC_V
|
|
AC_CACHE_CHECK([for Fortran libraries of $[]_AC_FC[]], ac_cv_[]_AC_LANG_ABBREV[]_libs,
|
|
[if test "x$[]_AC_LANG_PREFIX[]LIBS" != "x"; then
|
|
ac_cv_[]_AC_LANG_ABBREV[]_libs="$[]_AC_LANG_PREFIX[]LIBS" # Let the user override the test.
|
|
else
|
|
|
|
_AC_PROG_FC_V_OUTPUT
|
|
|
|
ac_cv_[]_AC_LANG_ABBREV[]_libs=
|
|
|
|
# Save positional arguments (if any)
|
|
ac_save_positional="$[@]"
|
|
|
|
set X $ac_[]_AC_LANG_ABBREV[]_v_output
|
|
while test $[@%:@] != 1; do
|
|
shift
|
|
ac_arg=$[1]
|
|
case $ac_arg in
|
|
[[\\/]]*.a | ?:[[\\/]]*.a)
|
|
_AC_LIST_MEMBER_IF($ac_arg, $ac_cv_[]_AC_LANG_ABBREV[]_libs, ,
|
|
ac_cv_[]_AC_LANG_ABBREV[]_libs="$ac_cv_[]_AC_LANG_ABBREV[]_libs $ac_arg")
|
|
;;
|
|
-bI:*)
|
|
_AC_LIST_MEMBER_IF($ac_arg, $ac_cv_[]_AC_LANG_ABBREV[]_libs, ,
|
|
[_AC_LINKER_OPTION([$ac_arg], ac_cv_[]_AC_LANG_ABBREV[]_libs)])
|
|
;;
|
|
# Ignore these flags.
|
|
-lang* | -lcrt[[01]].o | -lcrtbegin.o | -lc | -lgcc | -libmil | -LANG:=*)
|
|
;;
|
|
-lkernel32)
|
|
test x"$CYGWIN" != xyes && ac_cv_[]_AC_LANG_ABBREV[]_libs="$ac_cv_[]_AC_LANG_ABBREV[]_libs $ac_arg"
|
|
;;
|
|
-[[LRuY]])
|
|
# These flags, when seen by themselves, take an argument.
|
|
# We remove the space between option and argument and re-iterate
|
|
# unless we find an empty arg or a new option (starting with -)
|
|
case $[2] in
|
|
"" | -*);;
|
|
*)
|
|
ac_arg="$ac_arg$[2]"
|
|
shift; shift
|
|
set X $ac_arg "$[@]"
|
|
;;
|
|
esac
|
|
;;
|
|
-YP,*)
|
|
for ac_j in `echo $ac_arg | sed -e 's/-YP,/-L/;s/:/ -L/g'`; do
|
|
_AC_LIST_MEMBER_IF($ac_j, $ac_cv_[]_AC_LANG_ABBREV[]_libs, ,
|
|
[ac_arg="$ac_arg $ac_j"
|
|
ac_cv_[]_AC_LANG_ABBREV[]_libs="$ac_cv_[]_AC_LANG_ABBREV[]_libs $ac_j"])
|
|
done
|
|
;;
|
|
-[[lLR]]*)
|
|
_AC_LIST_MEMBER_IF($ac_arg, $ac_cv_[]_AC_LANG_ABBREV[]_libs, ,
|
|
ac_cv_[]_AC_LANG_ABBREV[]_libs="$ac_cv_[]_AC_LANG_ABBREV[]_libs $ac_arg")
|
|
;;
|
|
# Ignore everything else.
|
|
esac
|
|
done
|
|
# restore positional arguments
|
|
set X $ac_save_positional; shift
|
|
|
|
# We only consider "LD_RUN_PATH" on Solaris systems. If this is seen,
|
|
# then we insist that the "run path" must be an absolute path (i.e. it
|
|
# must begin with a "/").
|
|
case `(uname -sr) 2>/dev/null` in
|
|
"SunOS 5"*)
|
|
ac_ld_run_path=`echo $ac_[]_AC_LANG_ABBREV[]_v_output |
|
|
sed -n 's,^.*LD_RUN_PATH *= *\(/[[^ ]]*\).*$,-R\1,p'`
|
|
test "x$ac_ld_run_path" != x &&
|
|
_AC_LINKER_OPTION([$ac_ld_run_path], ac_cv_[]_AC_LANG_ABBREV[]_libs)
|
|
;;
|
|
esac
|
|
fi # test "x$[]_AC_LANG_PREFIX[]LIBS" = "x"
|
|
])
|
|
[]_AC_LANG_PREFIX[]LIBS="$ac_cv_[]_AC_LANG_ABBREV[]_libs"
|
|
AC_SUBST([]_AC_LANG_PREFIX[]LIBS)
|
|
[]_m4_defun_epi([_AC_FC_LIBRARY_LDFLAGS])
|
|
T24,72
|
|
_AC_CONFIG_COMMANDS_INITm4_ifval([$1],
|
|
[m4_append([_AC_OUTPUT_COMMANDS_INIT],
|
|
[$1
|
|
])])
|
|
T33,23
|
|
m4_location(_AC_PROG_FC_V_OUTPUT)autoconf/fortran.m4:558
|
|
T25,24
|
|
m4_location(AC_PATH_TOOL)autoconf/programs.m4:205
|
|
F8,5
|
|
m4_indirindir
|
|
T27,1419
|
|
_AC_COMPILER_EXEEXT_DEFAULT# Try to create an executable without -o first, disregard a.out.
|
|
# It will help us diagnose broken compilers, and finding out an intuition
|
|
# of exeext.
|
|
AC_MSG_CHECKING([for _AC_LANG compiler default output file name])
|
|
ac_link_default=`echo "$ac_link" | sed ['s/ -o *conftest[^ ]*//']`
|
|
AS_IF([AC_TRY_EVAL(ac_link_default)],
|
|
[# Find the output, starting from the most likely. This scheme is
|
|
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
|
|
# resort.
|
|
|
|
# Be careful to initialize this variable, since it used to be cached.
|
|
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
|
|
ac_cv_exeext=
|
|
# b.out is created by i960 compilers.
|
|
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
|
|
do
|
|
test -f "$ac_file" || continue
|
|
case $ac_file in
|
|
_AC_COMPILER_EXEEXT_REJECT )
|
|
;;
|
|
conftest.$ac_ext )
|
|
# This is the source file.
|
|
;;
|
|
[[ab]].out )
|
|
# We found the default executable, but exeext='' is most
|
|
# certainly right.
|
|
break;;
|
|
*.* )
|
|
ac_cv_exeext=`expr "$ac_file" : ['[^.]*\(\..*\)']`
|
|
# FIXME: I believe we export ac_cv_exeext for Libtool,
|
|
# but it would be cool to find out if it's true. Does anybody
|
|
# maintain Libtool? --akim.
|
|
export ac_cv_exeext
|
|
break;;
|
|
* )
|
|
break;;
|
|
esac
|
|
done],
|
|
[_AC_MSG_LOG_CONFTEST
|
|
AC_MSG_FAILURE([_AC_LANG compiler cannot create executables], 77)])
|
|
ac_exeext=$ac_cv_exeext
|
|
AC_MSG_RESULT([$ac_file])
|
|
|
|
T12,79
|
|
AC_FUNC_STAT_m4_defun_pro([AC_FUNC_STAT])_AC_FUNC_STAT(stat)[]_m4_defun_epi([AC_FUNC_STAT])
|
|
T6,79
|
|
AS_BOXAS_LITERAL_IF([$1],
|
|
[_AS_BOX_LITERAL($@)],
|
|
[_AS_BOX_INDIR($@)])
|
|
T18,703
|
|
AC_HEADER_SYS_WAIT_m4_defun_pro([AC_HEADER_SYS_WAIT])AC_CACHE_CHECK([for sys/wait.h that is POSIX.1 compatible],
|
|
ac_cv_header_sys_wait_h,
|
|
[AC_COMPILE_IFELSE(
|
|
[AC_LANG_PROGRAM([#include <sys/types.h>
|
|
#include <sys/wait.h>
|
|
#ifndef WEXITSTATUS
|
|
# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
|
|
#endif
|
|
#ifndef WIFEXITED
|
|
# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
|
|
#endif
|
|
],
|
|
[ int s;
|
|
wait (&s);
|
|
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;])],
|
|
[ac_cv_header_sys_wait_h=yes],
|
|
[ac_cv_header_sys_wait_h=no])])
|
|
if test $ac_cv_header_sys_wait_h = yes; then
|
|
AC_DEFINE(HAVE_SYS_WAIT_H, 1,
|
|
[Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible.])
|
|
fi
|
|
[]_m4_defun_epi([AC_HEADER_SYS_WAIT])
|
|
T15,775
|
|
AC_HEADER_MAJOR_m4_defun_pro([AC_HEADER_MAJOR])AC_CACHE_CHECK(whether sys/types.h defines makedev,
|
|
ac_cv_header_sys_types_h_makedev,
|
|
[AC_LINK_IFELSE([AC_LANG_PROGRAM([[@%:@include <sys/types.h>]],
|
|
[[return makedev(0, 0);]])],
|
|
[ac_cv_header_sys_types_h_makedev=yes],
|
|
[ac_cv_header_sys_types_h_makedev=no])
|
|
])
|
|
|
|
if test $ac_cv_header_sys_types_h_makedev = no; then
|
|
AC_CHECK_HEADER(sys/mkdev.h,
|
|
[AC_DEFINE(MAJOR_IN_MKDEV, 1,
|
|
[Define to 1 if `major', `minor', and `makedev' are
|
|
declared in <mkdev.h>.])])
|
|
|
|
if test $ac_cv_header_sys_mkdev_h = no; then
|
|
AC_CHECK_HEADER(sys/sysmacros.h,
|
|
[AC_DEFINE(MAJOR_IN_SYSMACROS, 1,
|
|
[Define to 1 if `major', `minor', and `makedev'
|
|
are declared in <sysmacros.h>.])])
|
|
fi
|
|
fi
|
|
[]_m4_defun_epi([AC_HEADER_MAJOR])
|
|
T28,20
|
|
m4_location(AC_LANG_RESTORE)autoconf/lang.m4:172
|
|
T14,157
|
|
AC_PROG_FC_C_O_m4_defun_pro([AC_PROG_FC_C_O])AC_REQUIRE([AC_PROG_FC])dnl
|
|
AC_LANG_PUSH(Fortran)dnl
|
|
_AC_PROG_FC_C_O
|
|
AC_LANG_POP(Fortran)dnl
|
|
[]_m4_defun_epi([AC_PROG_FC_C_O])
|
|
T13,26
|
|
m4_cr_LETTERSABCDEFGHIJKLMNOPQRSTUVWXYZ
|
|
T27,3
|
|
_AC_LANG_ABBREV(Fortran 77)f77
|
|
T9,167
|
|
_AS_QUOTE_AS_QUOTE_IFELSE([$1],
|
|
[AS_ESCAPE([$1], m4_default([$2], [`""]))],
|
|
[m4_warn([obsolete],
|
|
[back quotes and double quotes must not be escaped in: $1])dnl
|
|
$1])
|
|
T10,54
|
|
m4_noquotem4_changequote(-=<{,}>=-)$1-=<{}>=-m4_changequote([,])
|
|
T28,23
|
|
m4_location(AC_MAJOR_HEADER)autoconf/oldnames.m4:86
|
|
T16,2
|
|
_m4_divert(KILL)-1
|
|
T28,0
|
|
m4_include(autoconf/libs.m4)
|
|
T9,186
|
|
AC_PREREQm4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]), [$1]), -1,
|
|
[m4_default([$3],
|
|
[m4_fatal([Autoconf version $1 or higher is required],
|
|
63)])],
|
|
[$2])[]dnl
|
|
|
|
T19,1097
|
|
AC_OUTPUT_MAKE_DEFS[# Transform confdefs.h into DEFS.
|
|
# Protect against shell expansion while executing Makefile rules.
|
|
# Protect against Makefile macro expansion.
|
|
#
|
|
# If the first sed substitution is executed (which looks for macros that
|
|
# take arguments), then we branch to the quote section. Otherwise,
|
|
# look for a macro that doesn't take arguments.
|
|
cat >confdef2opt.sed <<\_ACEOF
|
|
t clear
|
|
: clear
|
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
|
|
t quote
|
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
|
|
t quote
|
|
d
|
|
: quote
|
|
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
|
|
s,\[,\\&,g
|
|
s,\],\\&,g
|
|
s,\$,$$,g
|
|
p
|
|
_ACEOF
|
|
# We use echo to avoid assuming a particular line-breaking character.
|
|
# The extra dot is to prevent the shell from consuming trailing
|
|
# line-breaks from the sub-command output. A line-break within
|
|
# single-quotes doesn't work because, if this script is created in a
|
|
# platform that uses two characters for line-breaks (e.g., DOS), tr
|
|
# would break.
|
|
ac_LF_and_DOT=`echo; echo .`
|
|
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
|
|
rm -f confdef2opt.sed
|
|
]
|
|
T25,24
|
|
m4_location(AC_PROG_YACC)autoconf/programs.m4:512
|
|
T20,26
|
|
m4_location(AC_MMAP)autoconf/functions.m4:1267
|
|
T10,627
|
|
AC_REQUIREm4_expansion_stack_push(m4_location[: $1 is required by...])dnl
|
|
m4_ifdef([_m4_expanding($1)],
|
|
[m4_fatal([$0: circular dependency of $1])])dnl
|
|
m4_ifndef([_m4_divert_dump],
|
|
[m4_fatal([$0: cannot be used outside of an m4_defun'd macro])])dnl
|
|
m4_provide_if([$1],
|
|
[],
|
|
[m4_divert_push(m4_eval(m4_divnum - 1))dnl
|
|
m4_default([$2], [$1])
|
|
m4_divert(m4_defn([_m4_divert_dump]))dnl
|
|
m4_undivert(m4_defn([_m4_divert_diversion]))dnl
|
|
m4_divert_pop(m4_defn([_m4_divert_dump]))])dnl
|
|
m4_provide_if([$1],
|
|
[],
|
|
[m4_warn([syntax],
|
|
[$1 is m4_require'd but is not m4_defun'd])])dnl
|
|
m4_expansion_stack_pop()dnl
|
|
|
|
T7,57
|
|
AS_EXIT{ (exit m4_default([$1], 1)); exit m4_default([$1], 1); }
|
|
T14,172
|
|
AC_DECL_YYTEXT_m4_defun_pro([AC_DECL_YYTEXT])AC_DIAGNOSE([obsolete], [The macro `AC_DECL_YYTEXT' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_PROG_LEX[]_m4_defun_epi([AC_DECL_YYTEXT])
|
|
T28,25
|
|
m4_location(fp_FUNC_FNMATCH)autoconf/functions.m4:552
|
|
T15,225
|
|
_AC_CONFIG_FILE_AC_CONFIG_UNIQUE([$1])dnl
|
|
m4_append([AC_LIST_FILES], [ $1])dnl
|
|
_AC_CONFIG_DEPENDENCIES([$1])dnl
|
|
dnl Register the commands.
|
|
m4_ifval([$2],
|
|
[m4_append([AC_LIST_FILES_COMMANDS],
|
|
[ ]m4_bpatsubst([$1], [:.*])[ ) $2 ;;
|
|
])])dnl
|
|
|
|
F8,8
|
|
traceofftraceoff
|
|
T17,186
|
|
m4_version_prereqm4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]), [$1]), -1,
|
|
[m4_default([$3],
|
|
[m4_fatal([Autoconf version $1 or higher is required],
|
|
63)])],
|
|
[$2])[]dnl
|
|
|
|
F8,5
|
|
m4_shiftshift
|
|
T17,117
|
|
AC_LANG_SOURCE(C)/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
$1
|
|
T15,189
|
|
AC_CHECK_HEADER_m4_defun_pro([AC_CHECK_HEADER])m4_case([$4],
|
|
[], [_AC_CHECK_HEADER_MONGREL($@)],
|
|
[-], [_AC_CHECK_HEADER_OLD($@)],
|
|
[_AC_CHECK_HEADER_NEW($@)])
|
|
[]_m4_defun_epi([AC_CHECK_HEADER])
|
|
T21,23
|
|
m4_location(AC_PID_T)autoconf/oldnames.m4:90
|
|
T29,20
|
|
m4_location(AC_LANG_INT_SAVE)autoconf/lang.m4:266
|
|
T23,3
|
|
_m4_divert(VERSION_END)203
|
|
T8,118
|
|
_AC_EVAL_m4_defun_pro([_AC_EVAL])_AC_RUN_LOG([eval $1],
|
|
[eval echo "$as_me:$LINENO: \"$1\""])[]_m4_defun_epi([_AC_EVAL])
|
|
T16,544
|
|
AC_C_BACKSLASH_A_m4_defun_pro([AC_C_BACKSLASH_A])
|
|
AC_CACHE_CHECK([whether backslash-a works in strings], ac_cv_c_backslash_a,
|
|
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],
|
|
[[
|
|
#if '\a' == 'a'
|
|
syntax error;
|
|
#endif
|
|
char buf['\a' == 'a' ? -1 : 1];
|
|
buf[0] = '\a';
|
|
return buf[0] != "\a"[0];
|
|
]])],
|
|
[ac_cv_c_backslash_a=yes],
|
|
[ac_cv_c_backslash_a=no])])
|
|
if test $ac_cv_c_backslash_a = yes; then
|
|
AC_DEFINE(HAVE_C_BACKSLASH_A, 1,
|
|
[Define if backslash-a works in C strings.])
|
|
fi
|
|
[]_m4_defun_epi([AC_C_BACKSLASH_A])
|
|
T6,485
|
|
AC_AIX_m4_defun_pro([AC_AIX])AH_VERBATIM([_ALL_SOURCE],
|
|
[/* Define to 1 if on AIX 3.
|
|
System headers sometimes define this.
|
|
We just want to avoid a redefinition error message. */
|
|
@%:@ifndef _ALL_SOURCE
|
|
@%:@ undef _ALL_SOURCE
|
|
@%:@endif])dnl
|
|
AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl
|
|
AC_BEFORE([$0], [AC_RUN_IFELSE])dnl
|
|
AC_MSG_CHECKING([for AIX])
|
|
AC_EGREP_CPP(yes,
|
|
[#ifdef _AIX
|
|
yes
|
|
#endif
|
|
],
|
|
[AC_MSG_RESULT([yes])
|
|
AC_DEFINE(_ALL_SOURCE)],
|
|
[AC_MSG_RESULT([no])])
|
|
[]_m4_defun_epi([AC_AIX])
|
|
T22,25
|
|
m4_location(AC_ALLOCA)autoconf/functions.m4:372
|
|
T15,114
|
|
AC_EGREP_HEADER_m4_defun_pro([AC_EGREP_HEADER])AC_EGREP_CPP([$1],
|
|
[#include <$2>
|
|
], [$3], [$4])[]_m4_defun_epi([AC_EGREP_HEADER])
|
|
T18,783
|
|
AC_CONFIG_AUX_DIRS_m4_defun_pro([AC_CONFIG_AUX_DIRS])ac_aux_dir=
|
|
for ac_dir in $1; do
|
|
if test -f $ac_dir/install-sh; then
|
|
ac_aux_dir=$ac_dir
|
|
ac_install_sh="$ac_aux_dir/install-sh -c"
|
|
break
|
|
elif test -f $ac_dir/install.sh; then
|
|
ac_aux_dir=$ac_dir
|
|
ac_install_sh="$ac_aux_dir/install.sh -c"
|
|
break
|
|
elif test -f $ac_dir/shtool; then
|
|
ac_aux_dir=$ac_dir
|
|
ac_install_sh="$ac_aux_dir/shtool install -c"
|
|
break
|
|
fi
|
|
done
|
|
if test -z "$ac_aux_dir"; then
|
|
AC_MSG_ERROR([cannot find install-sh or install.sh in $1])
|
|
fi
|
|
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
|
|
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
|
|
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
|
|
AC_PROVIDE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
|
|
[]_m4_defun_epi([AC_CONFIG_AUX_DIRS])
|
|
T28,23
|
|
m4_location(AC_HEADER_CHECK)autoconf/oldnames.m4:57
|
|
T13,397
|
|
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,
|
|
[AC_EGREP_HEADER(uid_t, sys/types.h,
|
|
ac_cv_type_uid_t=yes, ac_cv_type_uid_t=no)])
|
|
if test $ac_cv_type_uid_t = no; then
|
|
AC_DEFINE(uid_t, int, [Define to `int' if <sys/types.h> doesn't define.])
|
|
AC_DEFINE(gid_t, int, [Define to `int' if <sys/types.h> doesn't define.])
|
|
fi
|
|
[]_m4_defun_epi([AC_TYPE_UID_T])
|
|
T28,26
|
|
m4_location(AC_FUNC_REALLOC)autoconf/functions.m4:1334
|
|
T10,24
|
|
AN_PROGRAMAN_OUTPUT([program], $@)
|
|
T14,180
|
|
AC_SIZEOF_TYPE_m4_defun_pro([AC_SIZEOF_TYPE])AC_DIAGNOSE([obsolete], [The macro `AC_SIZEOF_TYPE' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_CHECK_SIZEOF($@)[]_m4_defun_epi([AC_SIZEOF_TYPE])
|
|
T14,1003
|
|
AC_FUNC_MEMCMP_m4_defun_pro([AC_FUNC_MEMCMP])AC_CACHE_CHECK([for working memcmp], ac_cv_func_memcmp_working,
|
|
[AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT], [[
|
|
/* Some versions of memcmp are not 8-bit clean. */
|
|
char c0 = 0x40, c1 = 0x80, c2 = 0x81;
|
|
if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
|
|
exit (1);
|
|
|
|
/* The Next x86 OpenStep bug shows up only when comparing 16 bytes
|
|
or more and with at least one buffer not starting on a 4-byte boundary.
|
|
William Lewis provided this test program. */
|
|
{
|
|
char foo[21];
|
|
char bar[21];
|
|
int i;
|
|
for (i = 0; i < 4; i++)
|
|
{
|
|
char *a = foo + i;
|
|
char *b = bar + i;
|
|
strcpy (a, "--------01111111");
|
|
strcpy (b, "--------10000000");
|
|
if (memcmp (a, b, 16) >= 0)
|
|
exit (1);
|
|
}
|
|
exit (0);
|
|
}
|
|
]])],
|
|
[ac_cv_func_memcmp_working=yes],
|
|
[ac_cv_func_memcmp_working=no],
|
|
[ac_cv_func_memcmp_working=no])])
|
|
test $ac_cv_func_memcmp_working = no && AC_LIBOBJ([memcmp])
|
|
[]_m4_defun_epi([AC_FUNC_MEMCMP])
|
|
T26,21
|
|
m4_location(AC_TYPE_UID_T)autoconf/types.m4:332
|
|
T27,19
|
|
m4_location(AC_SEARCH_LIBS)autoconf/libs.m4:88
|
|
T32,17
|
|
m4_location(AC_LANG_COMPILER(C))autoconf/c.m4:433
|
|
T20,106
|
|
_AC_MSG_LOG_CONFTESTecho "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD
|
|
sed 's/^/| /' conftest.$ac_ext >&AS_MESSAGE_LOG_FD
|
|
|
|
T24,121
|
|
AC_LANG_BOOL_COMPILE_TRY_m4_defun_pro([AC_LANG_BOOL_COMPILE_TRY])_AC_LANG_DISPATCH([$0], _AC_LANG, $@)[]_m4_defun_epi([AC_LANG_BOOL_COMPILE_TRY])
|
|
T23,0
|
|
AC_DEFINE_TRACE_LITERAL
|
|
T17,615
|
|
AC_CANONICAL_HOSTm4_provide_if([AC_CANONICAL_HOST],
|
|
[m4_warn([syntax], [AC_CANONICAL_HOST invoked multiple times])],
|
|
[_m4_defun_pro([AC_CANONICAL_HOST])AC_REQUIRE([AC_CANONICAL_BUILD])dnl
|
|
m4_divert_text([HELP_CANON],
|
|
[[ --host=HOST cross-compile to build programs to run on HOST [BUILD]]])dnl
|
|
AC_CACHE_CHECK([host system type], [ac_cv_host],
|
|
[ac_cv_host_alias=$host_alias
|
|
test -z "$ac_cv_host_alias" &&
|
|
ac_cv_host_alias=$ac_cv_build_alias
|
|
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
|
|
AC_MSG_ERROR([$ac_config_sub $ac_cv_host_alias failed])
|
|
])
|
|
_AC_CANONICAL_SPLIT([host])
|
|
[]_m4_defun_epi([AC_CANONICAL_HOST])])
|
|
T10,40
|
|
m4_warningm4_errprintn(m4_location[: warning: $1])
|
|
T6,76
|
|
m4_mapm4_if([$2], [[]], [],
|
|
[$1(m4_fst($2))[]dnl
|
|
m4_map([$1], m4_cdr($2))])
|
|
T30,24
|
|
m4_location(AC_HAVE_POUNDBANG)autoconf/specific.m4:103
|
|
T17,228
|
|
_AC_CONFIG_HEADER_AC_CONFIG_UNIQUE([$1])dnl
|
|
m4_append([AC_LIST_HEADERS], [ $1])dnl
|
|
_AC_CONFIG_DEPENDENCIES([$1])dnl
|
|
dnl Register the commands
|
|
m4_ifval([$2],
|
|
[m4_append([AC_LIST_HEADERS_COMMANDS],
|
|
[ ]m4_bpatsubst([$1], [:.*])[ ) $2 ;;
|
|
])])dnl
|
|
|
|
T15,253
|
|
AS_DIRNAME_EXPR_m4_defun_pro([AS_DIRNAME_EXPR])AS_REQUIRE([_AS_EXPR_PREPARE])dnl
|
|
$as_expr X[]$1 : 'X\(.*[[^/]]\)//*[[^/][^/]]*/*$' \| \
|
|
X[]$1 : 'X\(//\)[[^/]]' \| \
|
|
X[]$1 : 'X\(//\)$' \| \
|
|
X[]$1 : 'X\(/\)' \| \
|
|
. : '\(.\)'[]_m4_defun_epi([AS_DIRNAME_EXPR])
|
|
T28,117
|
|
AC_LANG_COMPILER(Fortran 77)_m4_defun_pro([AC_LANG_COMPILER(Fortran 77)])AC_REQUIRE([AC_PROG_F77])[]_m4_defun_epi([AC_LANG_COMPILER(Fortran 77)])
|
|
T24,24
|
|
m4_location(_AC_RUN_LOG)autoconf/general.m4:1991
|
|
T13,411
|
|
m4_divert_popm4_ifval([$1],
|
|
[m4_if(_m4_divert([$1]), m4_divnum, [],
|
|
[m4_fatal([$0($1): diversion mismatch: ]
|
|
m4_defn([m4_divert_stack]))])])dnl
|
|
m4_popdef([_m4_divert_diversion])dnl
|
|
dnl m4_ifndef([_m4_divert_diversion],
|
|
dnl [m4_fatal([too many m4_divert_pop])])dnl
|
|
m4_builtin([divert],
|
|
m4_ifdef([_m4_divert_diversion],
|
|
[_m4_divert(_m4_divert_diversion)], -1))dnl
|
|
m4_popdef([m4_divert_stack])dnl
|
|
|
|
T27,21
|
|
m4_location(AC_CHECK_TYPES)autoconf/types.m4:171
|
|
T33,1067
|
|
_AC_INCLUDES_DEFAULT_REQUIREMENTS_m4_defun_pro([_AC_INCLUDES_DEFAULT_REQUIREMENTS])m4_divert_text([DEFAULTS],
|
|
[# Factoring default headers for most tests.
|
|
dnl If ever you change this variable, please keep autoconf.texi in sync.
|
|
ac_includes_default="\
|
|
#include <stdio.h>
|
|
#if HAVE_SYS_TYPES_H
|
|
# include <sys/types.h>
|
|
#endif
|
|
#if HAVE_SYS_STAT_H
|
|
# include <sys/stat.h>
|
|
#endif
|
|
#if STDC_HEADERS
|
|
# include <stdlib.h>
|
|
# include <stddef.h>
|
|
#else
|
|
# if HAVE_STDLIB_H
|
|
# include <stdlib.h>
|
|
# endif
|
|
#endif
|
|
#if HAVE_STRING_H
|
|
# if !STDC_HEADERS && HAVE_MEMORY_H
|
|
# include <memory.h>
|
|
# endif
|
|
# include <string.h>
|
|
#endif
|
|
#if HAVE_STRINGS_H
|
|
# include <strings.h>
|
|
#endif
|
|
#if HAVE_INTTYPES_H
|
|
# include <inttypes.h>
|
|
#else
|
|
# if HAVE_STDINT_H
|
|
# include <stdint.h>
|
|
# endif
|
|
#endif
|
|
#if HAVE_UNISTD_H
|
|
# include <unistd.h>
|
|
#endif"
|
|
])dnl
|
|
AC_REQUIRE([AC_HEADER_STDC])dnl
|
|
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
|
AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
|
inttypes.h stdint.h unistd.h],
|
|
[], [], $ac_includes_default)
|
|
[]_m4_defun_epi([_AC_INCLUDES_DEFAULT_REQUIREMENTS])
|
|
T23,126
|
|
m4_expansion_stack_dumpm4_ifdef([m4_expansion_stack],
|
|
[m4_errprintn(m4_defn([m4_expansion_stack]))])dnl
|
|
m4_errprintn(m4_location[: the top level])
|
|
T27,1
|
|
_m4_divert(HEADER-REVISION)1
|
|
T28,21
|
|
m4_location(AC_LONG_64_BITS)autoconf/types.m4:440
|
|
T10,137
|
|
m4_map_sepm4_if([$3], [[]], [],
|
|
[$1(m4_fst($3))[]dnl
|
|
m4_if(m4_cdr($3),
|
|
[[]], [],
|
|
[$2])[]dnl
|
|
m4_map_sep([$1], [$2], m4_cdr($3))])
|
|
T11,414
|
|
_AS_PREPARE_m4_defun_pro([_AS_PREPARE])# PATH needs CR, and LINENO needs CR and PATH.
|
|
_AS_CR_PREPARE
|
|
_AS_PATH_SEPARATOR_PREPARE
|
|
_AS_LINENO_PREPARE
|
|
|
|
_AS_ECHO_N_PREPARE
|
|
_AS_EXPR_PREPARE
|
|
_AS_LN_S_PREPARE
|
|
_AS_MKDIR_P_PREPARE
|
|
_AS_TEST_PREPARE
|
|
_AS_TR_CPP_PREPARE
|
|
_AS_TR_SH_PREPARE
|
|
|
|
# IFS
|
|
# We need space, tab and new line, in precisely that order.
|
|
as_nl='
|
|
'
|
|
IFS=" $as_nl"
|
|
|
|
# CDPATH.
|
|
$as_unset CDPATH
|
|
[]_m4_defun_epi([_AS_PREPARE])
|
|
T11,73
|
|
AC_TRY_EVAL_m4_defun_pro([AC_TRY_EVAL])_AC_EVAL([$$1])[]_m4_defun_epi([AC_TRY_EVAL])
|
|
T13,872
|
|
AC_FUNC_CHOWN_m4_defun_pro([AC_FUNC_CHOWN])AC_REQUIRE([AC_TYPE_UID_T])dnl
|
|
AC_CHECK_HEADERS(unistd.h)
|
|
AC_CACHE_CHECK([for working chown], ac_cv_func_chown_works,
|
|
[AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT
|
|
#include <fcntl.h>
|
|
],
|
|
[[ char *f = "conftest.chown";
|
|
struct stat before, after;
|
|
|
|
if (creat (f, 0600) < 0)
|
|
exit (1);
|
|
if (stat (f, &before) < 0)
|
|
exit (1);
|
|
if (chown (f, (uid_t) -1, (gid_t) -1) == -1)
|
|
exit (1);
|
|
if (stat (f, &after) < 0)
|
|
exit (1);
|
|
exit ((before.st_uid == after.st_uid
|
|
&& before.st_gid == after.st_gid) ? 0 : 1);
|
|
]])],
|
|
[ac_cv_func_chown_works=yes],
|
|
[ac_cv_func_chown_works=no],
|
|
[ac_cv_func_chown_works=no])
|
|
rm -f conftest.chown
|
|
])
|
|
if test $ac_cv_func_chown_works = yes; then
|
|
AC_DEFINE(HAVE_CHOWN, 1,
|
|
[Define to 1 if your system has a working `chown' function.])
|
|
fi
|
|
[]_m4_defun_epi([AC_FUNC_CHOWN])
|
|
T11,88
|
|
m4_undefinem4_ifndef([$1],
|
|
[m4_fatal([$0: undefined macro: $1])])dnl
|
|
m4_builtin([undefine], $@)
|
|
T12,289
|
|
AC_PATH_TOOL_m4_defun_pro([AC_PATH_TOOL])if test -n "$ac_tool_prefix"; then
|
|
AC_PATH_PROG([$1], [${ac_tool_prefix}$2], , [$4])
|
|
fi
|
|
if test -z "$ac_cv_path_$1"; then
|
|
ac_pt_$1=$$1
|
|
AC_PATH_PROG([ac_pt_$1], [$2], [$3], [$4])
|
|
$1=$ac_pt_$1
|
|
else
|
|
$1="$ac_cv_path_$1"
|
|
fi
|
|
[]_m4_defun_epi([AC_PATH_TOOL])
|
|
T11,166
|
|
AC_TEST_CPP_m4_defun_pro([AC_TEST_CPP])AC_DIAGNOSE([obsolete], [The macro `AC_TEST_CPP' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_TRY_CPP($@)[]_m4_defun_epi([AC_TEST_CPP])
|
|
T12,104
|
|
AC_PROG_YACC_m4_defun_pro([AC_PROG_YACC])AC_CHECK_PROGS(YACC, 'bison -y' byacc, yacc)[]_m4_defun_epi([AC_PROG_YACC])
|
|
T10,166
|
|
AC_FC_FUNC_m4_defun_pro([AC_FC_FUNC])AC_REQUIRE([_AC_FC_NAME_MANGLING])dnl
|
|
AC_LANG_PUSH(Fortran)dnl
|
|
_AC_FC_FUNC([$1],[$2])
|
|
AC_LANG_POP(Fortran)dnl
|
|
[]_m4_defun_epi([AC_FC_FUNC])
|
|
T26,25
|
|
m4_location(AC_FUNC_CHOWN)autoconf/functions.m4:409
|
|
T15,232
|
|
AC_FUNC_VPRINTF_m4_defun_pro([AC_FUNC_VPRINTF])AC_CHECK_FUNCS(vprintf, []
|
|
[AC_CHECK_FUNC(_doprnt,
|
|
[AC_DEFINE(HAVE_DOPRNT, 1,
|
|
[Define to 1 if you don't have `vprintf' but do have
|
|
`_doprnt.'])])])
|
|
[]_m4_defun_epi([AC_FUNC_VPRINTF])
|
|
F10,7
|
|
m4_traceontraceon
|
|
T36,39
|
|
m4_location(_AS_BROKEN_TEST_PREPARE)/usr/share/autoconf/m4sugar/m4sh.m4:741
|
|
T24,24
|
|
m4_location(AM_CYGWIN32)autoconf/oldnames.m4:106
|
|
T31,0
|
|
m4_include(autoconf/fortran.m4)
|
|
T25,0
|
|
m4_include(autoconf/c.m4)
|
|
T11,87
|
|
AC_REVISIONm4_divert_text([HEADER-REVISION],
|
|
[@%:@ From __file__ m4_translit([$1], [$""]).])dnl
|
|
|
|
T28,17
|
|
m4_location(AC_PROG_CC_STDC)autoconf/c.m4:870
|
|
T17,1150
|
|
AS_SHELL_SANITIZE_m4_defun_pro([AS_SHELL_SANITIZE])## --------------------- ##
|
|
## M4sh Initialization. ##
|
|
## --------------------- ##
|
|
|
|
# Be Bourne compatible
|
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
emulate sh
|
|
NULLCMD=:
|
|
[#] Zsh 3.x and 4.x performs word splitting on ${1+"$[@]"}, which
|
|
# is contrary to our usage. Disable this feature.
|
|
alias -g '${1+"$[@]"}'='"$[@]"'
|
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
|
set -o posix
|
|
fi
|
|
DUALCASE=1; export DUALCASE # for MKS sh
|
|
|
|
_AS_UNSET_PREPARE
|
|
|
|
# Work around bugs in pre-3.0 UWIN ksh.
|
|
$as_unset ENV MAIL MAILPATH
|
|
PS1='$ '
|
|
PS2='> '
|
|
PS4='+ '
|
|
|
|
# NLS nuisances.
|
|
for as_var in \
|
|
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
|
LC_TELEPHONE LC_TIME
|
|
do
|
|
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
|
eval $as_var=C; export $as_var
|
|
else
|
|
$as_unset $as_var
|
|
fi
|
|
done
|
|
|
|
# Required to use basename.
|
|
_AS_EXPR_PREPARE
|
|
_AS_BASENAME_PREPARE
|
|
|
|
# Name of the executable.
|
|
as_me=`AS_BASENAME("$[0]")`
|
|
|
|
[]_m4_defun_epi([AS_SHELL_SANITIZE])
|
|
T19,117
|
|
AC_LANG_SOURCE(C++)/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
$1
|
|
T13,180
|
|
AC_GETLOADAVG_m4_defun_pro([AC_GETLOADAVG])AC_DIAGNOSE([obsolete], [The macro `AC_GETLOADAVG' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_FUNC_GETLOADAVG($@)[]_m4_defun_epi([AC_GETLOADAVG])
|
|
T7,101
|
|
_m4_for$4[]dnl
|
|
m4_if($1, [$2], [],
|
|
[m4_define([$1], m4_eval($1+[$3]))_m4_for([$1], [$2], [$3], [$4])])
|
|
T25,3
|
|
_m4_divert(VERSION_BEGIN)200
|
|
T28,23
|
|
m4_location(AC_TEST_PROGRAM)autoconf/oldnames.m4:67
|
|
F3,3
|
|
dnldnl
|
|
T20,39
|
|
m4_location(AS_LN_S)/usr/share/autoconf/m4sugar/m4sh.m4:686
|
|
T28,39
|
|
m4_location(AS_EXECUTABLE_P)/usr/share/autoconf/m4sugar/m4sh.m4:489
|
|
T20,3
|
|
_m4_divert(HELP_VAR)104
|
|
T22,3
|
|
_m4_divert(HELP_CANON)101
|
|
T21,38
|
|
AC_LANG_CALL(Fortran)AC_LANG_PROGRAM([$1],
|
|
[ call $2])
|
|
T12,4344
|
|
AC_FUNC_MMAP_m4_defun_pro([AC_FUNC_MMAP])AC_CHECK_HEADERS(stdlib.h unistd.h)
|
|
AC_CHECK_FUNCS(getpagesize)
|
|
AC_CACHE_CHECK(for working mmap, ac_cv_func_mmap_fixed_mapped,
|
|
[AC_RUN_IFELSE([AC_LANG_SOURCE([AC_INCLUDES_DEFAULT]
|
|
[[/* malloc might have been renamed as rpl_malloc. */
|
|
#undef malloc
|
|
|
|
/* Thanks to Mike Haertel and Jim Avera for this test.
|
|
Here is a matrix of mmap possibilities:
|
|
mmap private not fixed
|
|
mmap private fixed at somewhere currently unmapped
|
|
mmap private fixed at somewhere already mapped
|
|
mmap shared not fixed
|
|
mmap shared fixed at somewhere currently unmapped
|
|
mmap shared fixed at somewhere already mapped
|
|
For private mappings, we should verify that changes cannot be read()
|
|
back from the file, nor mmap's back from the file at a different
|
|
address. (There have been systems where private was not correctly
|
|
implemented like the infamous i386 svr4.0, and systems where the
|
|
VM page cache was not coherent with the file system buffer cache
|
|
like early versions of FreeBSD and possibly contemporary NetBSD.)
|
|
For shared mappings, we should conversely verify that changes get
|
|
propagated back to all the places they're supposed to be.
|
|
|
|
Grep wants private fixed already mapped.
|
|
The main things grep needs to know about mmap are:
|
|
* does it exist and is it safe to write into the mmap'd area
|
|
* how to use it (BSD variants) */
|
|
|
|
#include <fcntl.h>
|
|
#include <sys/mman.h>
|
|
|
|
#if !STDC_HEADERS && !HAVE_STDLIB_H
|
|
char *malloc ();
|
|
#endif
|
|
|
|
/* This mess was copied from the GNU getpagesize.h. */
|
|
#if !HAVE_GETPAGESIZE
|
|
/* Assume that all systems that can run configure have sys/param.h. */
|
|
# if !HAVE_SYS_PARAM_H
|
|
# define HAVE_SYS_PARAM_H 1
|
|
# endif
|
|
|
|
# ifdef _SC_PAGESIZE
|
|
# define getpagesize() sysconf(_SC_PAGESIZE)
|
|
# else /* no _SC_PAGESIZE */
|
|
# if HAVE_SYS_PARAM_H
|
|
# include <sys/param.h>
|
|
# ifdef EXEC_PAGESIZE
|
|
# define getpagesize() EXEC_PAGESIZE
|
|
# else /* no EXEC_PAGESIZE */
|
|
# ifdef NBPG
|
|
# define getpagesize() NBPG * CLSIZE
|
|
# ifndef CLSIZE
|
|
# define CLSIZE 1
|
|
# endif /* no CLSIZE */
|
|
# else /* no NBPG */
|
|
# ifdef NBPC
|
|
# define getpagesize() NBPC
|
|
# else /* no NBPC */
|
|
# ifdef PAGESIZE
|
|
# define getpagesize() PAGESIZE
|
|
# endif /* PAGESIZE */
|
|
# endif /* no NBPC */
|
|
# endif /* no NBPG */
|
|
# endif /* no EXEC_PAGESIZE */
|
|
# else /* no HAVE_SYS_PARAM_H */
|
|
# define getpagesize() 8192 /* punt totally */
|
|
# endif /* no HAVE_SYS_PARAM_H */
|
|
# endif /* no _SC_PAGESIZE */
|
|
|
|
#endif /* no HAVE_GETPAGESIZE */
|
|
|
|
int
|
|
main ()
|
|
{
|
|
char *data, *data2, *data3;
|
|
int i, pagesize;
|
|
int fd;
|
|
|
|
pagesize = getpagesize ();
|
|
|
|
/* First, make a file with some known garbage in it. */
|
|
data = (char *) malloc (pagesize);
|
|
if (!data)
|
|
exit (1);
|
|
for (i = 0; i < pagesize; ++i)
|
|
*(data + i) = rand ();
|
|
umask (0);
|
|
fd = creat ("conftest.mmap", 0600);
|
|
if (fd < 0)
|
|
exit (1);
|
|
if (write (fd, data, pagesize) != pagesize)
|
|
exit (1);
|
|
close (fd);
|
|
|
|
/* Next, try to mmap the file at a fixed address which already has
|
|
something else allocated at it. If we can, also make sure that
|
|
we see the same garbage. */
|
|
fd = open ("conftest.mmap", O_RDWR);
|
|
if (fd < 0)
|
|
exit (1);
|
|
data2 = (char *) malloc (2 * pagesize);
|
|
if (!data2)
|
|
exit (1);
|
|
data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
|
|
if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
|
|
MAP_PRIVATE | MAP_FIXED, fd, 0L))
|
|
exit (1);
|
|
for (i = 0; i < pagesize; ++i)
|
|
if (*(data + i) != *(data2 + i))
|
|
exit (1);
|
|
|
|
/* Finally, make sure that changes to the mapped area do not
|
|
percolate back to the file as seen by read(). (This is a bug on
|
|
some variants of i386 svr4.0.) */
|
|
for (i = 0; i < pagesize; ++i)
|
|
*(data2 + i) = *(data2 + i) + 1;
|
|
data3 = (char *) malloc (pagesize);
|
|
if (!data3)
|
|
exit (1);
|
|
if (read (fd, data3, pagesize) != pagesize)
|
|
exit (1);
|
|
for (i = 0; i < pagesize; ++i)
|
|
if (*(data + i) != *(data3 + i))
|
|
exit (1);
|
|
close (fd);
|
|
exit (0);
|
|
}]])],
|
|
[ac_cv_func_mmap_fixed_mapped=yes],
|
|
[ac_cv_func_mmap_fixed_mapped=no],
|
|
[ac_cv_func_mmap_fixed_mapped=no])])
|
|
if test $ac_cv_func_mmap_fixed_mapped = yes; then
|
|
AC_DEFINE(HAVE_MMAP, 1,
|
|
[Define to 1 if you have a working `mmap' system call.])
|
|
fi
|
|
rm -f conftest.mmap
|
|
[]_m4_defun_epi([AC_FUNC_MMAP])
|
|
T8,27
|
|
m4_ifvalm4_if([$1], [], [$3], [$2])
|
|
T19,212
|
|
AC_LANG(Fortran 77)ac_ext=f
|
|
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&AS_MESSAGE_LOG_FD'
|
|
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&AS_MESSAGE_LOG_FD'
|
|
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
|
|
|
|
T11,48
|
|
m4_dumpdefs_m4_dumpdefs_up([$1])dnl
|
|
_m4_dumpdefs_down([$1])
|
|
F12,9
|
|
m4_changecomchangecom
|
|
T5,97
|
|
AS_IFm4_ifval([$2$3],
|
|
[if $1; then
|
|
m4_ifval([$2], [$2], :)
|
|
m4_ifvaln([$3],
|
|
[else
|
|
$3])dnl
|
|
fi
|
|
])dnl
|
|
|
|
T15,695
|
|
AC_FUNC_STRNLEN_m4_defun_pro([AC_FUNC_STRNLEN])AC_CACHE_CHECK([for working strnlen], ac_cv_func_strnlen_working,
|
|
[AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT], [[
|
|
#define S "foobar"
|
|
#define S_LEN (sizeof S - 1)
|
|
|
|
/* At least one implementation is buggy: that of AIX 4.3 would
|
|
give strnlen (S, 1) == 3. */
|
|
|
|
int i;
|
|
for (i = 0; i < S_LEN + 1; ++i)
|
|
{
|
|
int expected = i <= S_LEN ? i : S_LEN;
|
|
if (strnlen (S, i) != expected)
|
|
exit (1);
|
|
}
|
|
exit (0);
|
|
]])],
|
|
[ac_cv_func_strnlen_working=yes],
|
|
[ac_cv_func_strnlen_working=no],
|
|
[ac_cv_func_strnlen_working=no])])
|
|
test $ac_cv_func_strnlen_working = no && AC_LIBOBJ([strnlen])
|
|
[]_m4_defun_epi([AC_FUNC_STRNLEN])
|
|
T10,27
|
|
m4_providem4_define([m4_provide($1)])
|
|
T42,17
|
|
m4_location(_AC_PROG_PREPROC_WORKS_IFELSE)autoconf/c.m4:381
|
|
T27,21
|
|
m4_location(AC_TYPE_SIGNAL)autoconf/types.m4:372
|
|
T25,26
|
|
m4_location(AC_FUNC_STAT)autoconf/functions.m4:1440
|
|
T10,26
|
|
m4_defaultm4_ifval([$1], [$1], [$2])
|
|
T13,89
|
|
AC_TYPE_OFF_T_m4_defun_pro([AC_TYPE_OFF_T])AC_CHECK_TYPE(off_t, long)[]_m4_defun_epi([AC_TYPE_OFF_T])
|
|
T11,30
|
|
AC_MSG_WARNAS_MESSAGE([WARNING: $1], [2])
|
|
T27,17
|
|
m4_location(ac_cv_prog_gcc)autoconf/c.m4:440
|
|
T7,129
|
|
m4_join_m4_defun_pro([m4_join])m4_case([$#],
|
|
[1], [],
|
|
[2], [[$2]],
|
|
[[$2][$1]$0([$1], m4_shiftn(2, $@))])[]_m4_defun_epi([m4_join])
|
|
T25,633
|
|
_AC_COMPILER_EXEEXT_WORKS# Check the compiler produces executables we can run. If not, either
|
|
# the compiler is broken, or we cross compile.
|
|
AC_MSG_CHECKING([whether the _AC_LANG compiler works])
|
|
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
|
# If not cross compiling, check that we can run a simple program.
|
|
if test "$cross_compiling" != yes; then
|
|
if AC_TRY_COMMAND([./$ac_file]); then
|
|
cross_compiling=no
|
|
else
|
|
if test "$cross_compiling" = maybe; then
|
|
cross_compiling=yes
|
|
else
|
|
AC_MSG_FAILURE([cannot run _AC_LANG compiled programs.
|
|
If you meant to cross compile, use `--host'.])
|
|
fi
|
|
fi
|
|
fi
|
|
AC_MSG_RESULT([yes])
|
|
|
|
T27,26
|
|
m4_location(AC_FUNC_MKTIME)autoconf/functions.m4:1113
|
|
T22,23
|
|
m4_location(AC_FD_MSG)autoconf/general.m4:377
|
|
T19,24
|
|
m4_location(AC_AIX)autoconf/specific.m4:427
|
|
T22,3
|
|
_m4_divert(HELP_BEGIN)100
|
|
T12,229
|
|
AC_PROG_LN_S_m4_defun_pro([AC_PROG_LN_S])AC_MSG_CHECKING([whether ln -s works])
|
|
AC_SUBST([LN_S], [$as_ln_s])dnl
|
|
if test "$LN_S" = "ln -s"; then
|
|
AC_MSG_RESULT([yes])
|
|
else
|
|
AC_MSG_RESULT([no, using $LN_S])
|
|
fi
|
|
[]_m4_defun_epi([AC_PROG_LN_S])
|
|
T14,390
|
|
AC_FUNC_MALLOC_m4_defun_pro([AC_FUNC_MALLOC])_AC_FUNC_MALLOC_IF(
|
|
[AC_DEFINE([HAVE_MALLOC], 1,
|
|
[Define to 1 if your system has a GNU libc compatible `malloc'
|
|
function, and to 0 otherwise.])],
|
|
[AC_DEFINE([HAVE_MALLOC], 0)
|
|
AC_LIBOBJ(malloc)
|
|
AC_DEFINE([malloc], [rpl_malloc],
|
|
[Define to rpl_malloc if the replacement function should be used.])])
|
|
[]_m4_defun_epi([AC_FUNC_MALLOC])
|
|
T13,441
|
|
AC_CHECK_DECL_m4_defun_pro([AC_CHECK_DECL])AS_VAR_PUSHDEF([ac_Symbol], [ac_cv_have_decl_$1])dnl
|
|
AC_CACHE_CHECK([whether $1 is declared], ac_Symbol,
|
|
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT([$4])],
|
|
[#ifndef $1
|
|
char *p = (char *) $1;
|
|
#endif
|
|
])],
|
|
[AS_VAR_SET(ac_Symbol, yes)],
|
|
[AS_VAR_SET(ac_Symbol, no)])])
|
|
AS_IF([test AS_VAR_GET(ac_Symbol) = yes], [$2], [$3])[]dnl
|
|
AS_VAR_POPDEF([ac_Symbol])dnl
|
|
[]_m4_defun_epi([AC_CHECK_DECL])
|
|
T21,23
|
|
m4_location(AC_CONST)autoconf/oldnames.m4:76
|
|
T18,385
|
|
AC_OUTPUT_COMMANDS_m4_defun_pro([AC_OUTPUT_COMMANDS])AC_DIAGNOSE([obsolete], [The macro `AC_OUTPUT_COMMANDS' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
m4_define([_AC_OUTPUT_COMMANDS_CNT], m4_incr(_AC_OUTPUT_COMMANDS_CNT))dnl
|
|
dnl Double quoted since that was the case in the original macro.
|
|
AC_CONFIG_COMMANDS([default-]_AC_OUTPUT_COMMANDS_CNT, [[$1]], [[$2]])dnl
|
|
[]_m4_defun_epi([AC_OUTPUT_COMMANDS])
|
|
T24,151
|
|
AC_LANG_COMPILER_REQUIRE_m4_defun_pro([AC_LANG_COMPILER_REQUIRE])m4_require([AC_LANG_COMPILER(]_AC_LANG[)],
|
|
[AC_LANG_COMPILER])[]_m4_defun_epi([AC_LANG_COMPILER_REQUIRE])
|
|
T13,710
|
|
AC_C_RESTRICT_m4_defun_pro([AC_C_RESTRICT])AC_CACHE_CHECK([for C/C++ restrict keyword], ac_cv_c_restrict,
|
|
[ac_cv_c_restrict=no
|
|
# Try the official restrict keyword, then gcc's __restrict, and
|
|
# the less common variants.
|
|
for ac_kw in restrict __restrict __restrict__ _Restrict; do
|
|
AC_COMPILE_IFELSE([AC_LANG_SOURCE(
|
|
[float * $ac_kw x;])],
|
|
[ac_cv_c_restrict=$ac_kw; break])
|
|
done
|
|
])
|
|
case $ac_cv_c_restrict in
|
|
restrict) ;;
|
|
no) AC_DEFINE(restrict,,
|
|
[Define to equivalent of C99 restrict keyword, or to nothing if this
|
|
is not supported. Do not define if restrict is supported directly.]) ;;
|
|
*) AC_DEFINE_UNQUOTED(restrict, $ac_cv_c_restrict) ;;
|
|
esac
|
|
[]_m4_defun_epi([AC_C_RESTRICT])
|
|
T27,20
|
|
m4_location(AC_LANG_WERROR)autoconf/lang.m4:643
|
|
T18,199
|
|
AC_LONG_FILE_NAMES_m4_defun_pro([AC_LONG_FILE_NAMES])AC_DIAGNOSE([obsolete], [The macro `AC_LONG_FILE_NAMES' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_SYS_LONG_FILE_NAMES($@)[]_m4_defun_epi([AC_LONG_FILE_NAMES])
|
|
T21,478
|
|
_AC_LIBOBJS_NORMALIZE_m4_defun_pro([_AC_LIBOBJS_NORMALIZE])ac_libobjs=
|
|
ac_ltlibobjs=
|
|
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
|
|
# 1. Remove the extension, and $U if already installed.
|
|
ac_i=`echo "$ac_i" |
|
|
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
|
|
# 2. Add them.
|
|
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
|
|
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
|
|
done
|
|
AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
|
|
AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
|
|
[]_m4_defun_epi([_AC_LIBOBJS_NORMALIZE])
|
|
T18,398
|
|
AC_SYS_INTERPRETER_m4_defun_pro([AC_SYS_INTERPRETER])AC_CACHE_CHECK(whether @%:@! works in shell scripts, ac_cv_sys_interpreter,
|
|
[echo '#! /bin/cat
|
|
exit 69
|
|
' >conftest
|
|
chmod u+x conftest
|
|
(SHELL=/bin/sh; export SHELL; ./conftest >/dev/null)
|
|
if test $? -ne 69; then
|
|
ac_cv_sys_interpreter=yes
|
|
else
|
|
ac_cv_sys_interpreter=no
|
|
fi
|
|
rm -f conftest])
|
|
interpval=$ac_cv_sys_interpreter
|
|
[]_m4_defun_epi([AC_SYS_INTERPRETER])
|
|
T14,101
|
|
AC_LANG_SOURCE_m4_defun_pro([AC_LANG_SOURCE])_AC_LANG_DISPATCH([$0], _AC_LANG, $@)[]_m4_defun_epi([AC_LANG_SOURCE])
|
|
T19,1228
|
|
_AC_FUNC_FNMATCH_IF_m4_defun_pro([_AC_FUNC_FNMATCH_IF])AC_CACHE_CHECK(
|
|
[for working $1 fnmatch],
|
|
[$2],
|
|
[# Some versions of Solaris, SCO, and the GNU C Library
|
|
# have a broken or incompatible fnmatch.
|
|
# So we run a test program. If we are cross-compiling, take no chance.
|
|
# Thanks to John Oleynick, Franc,ois Pinard, and Paul Eggert for this test.
|
|
AC_RUN_IFELSE(
|
|
[AC_LANG_PROGRAM(
|
|
[#include <fnmatch.h>
|
|
# define y(a, b, c) (fnmatch (a, b, c) == 0)
|
|
# define n(a, b, c) (fnmatch (a, b, c) == FNM_NOMATCH)
|
|
],
|
|
[exit
|
|
(!(y ("a*", "abc", 0)
|
|
&& n ("d*/*1", "d/s/1", FNM_PATHNAME)
|
|
&& y ("a\\\\bc", "abc", 0)
|
|
&& n ("a\\\\bc", "abc", FNM_NOESCAPE)
|
|
&& y ("*x", ".x", 0)
|
|
&& n ("*x", ".x", FNM_PERIOD)
|
|
&& m4_if([$1], [GNU],
|
|
[y ("xxXX", "xXxX", FNM_CASEFOLD)
|
|
&& y ("a++(x|yy)b", "a+xyyyyxb", FNM_EXTMATCH)
|
|
&& n ("d*/*1", "d/s/1", FNM_FILE_NAME)
|
|
&& y ("*", "x", FNM_FILE_NAME | FNM_LEADING_DIR)
|
|
&& y ("x*", "x/y/z", FNM_FILE_NAME | FNM_LEADING_DIR)
|
|
&& y ("*c*", "c/x", FNM_FILE_NAME | FNM_LEADING_DIR)],
|
|
1)));])],
|
|
[$2=yes],
|
|
[$2=no],
|
|
[$2=cross])])
|
|
AS_IF([test $$2 = yes], [$3], [$4])
|
|
[]_m4_defun_epi([_AC_FUNC_FNMATCH_IF])
|
|
T23,125
|
|
AC_CONFIG_COMMANDS_POST_m4_defun_pro([AC_CONFIG_COMMANDS_POST])m4_append([AC_OUTPUT_COMMANDS_POST], [$1
|
|
])[]_m4_defun_epi([AC_CONFIG_COMMANDS_POST])
|
|
T13,41
|
|
m4_provide_ifm4_ifdef([m4_provide($1)],
|
|
[$2], [$3])
|
|
F10,7
|
|
m4_esyscmdesyscmd
|
|
F10,7
|
|
m4_builtinbuiltin
|
|
T31,22
|
|
m4_location(AC_CONFIG_COMMANDS)autoconf/status.m4:293
|
|
T13,1617
|
|
AC_FUNC_WAIT3_m4_defun_pro([AC_FUNC_WAIT3])AC_DIAGNOSE([obsolete],
|
|
[$0: `wait3' is being removed from the Open Group standards.
|
|
Remove this `AC_FUNC_WAIT3' and adjust your code to use `waitpid' instead.])dnl
|
|
AC_CACHE_CHECK([for wait3 that fills in rusage],
|
|
[ac_cv_func_wait3_rusage],
|
|
[AC_RUN_IFELSE([AC_LANG_SOURCE(
|
|
[[#include <sys/types.h>
|
|
#include <sys/time.h>
|
|
#include <sys/resource.h>
|
|
#include <stdio.h>
|
|
/* HP-UX has wait3 but does not fill in rusage at all. */
|
|
int
|
|
main ()
|
|
{
|
|
struct rusage r;
|
|
int i;
|
|
/* Use a field that we can force nonzero --
|
|
voluntary context switches.
|
|
For systems like NeXT and OSF/1 that don't set it,
|
|
also use the system CPU time. And page faults (I/O) for Linux. */
|
|
r.ru_nvcsw = 0;
|
|
r.ru_stime.tv_sec = 0;
|
|
r.ru_stime.tv_usec = 0;
|
|
r.ru_majflt = r.ru_minflt = 0;
|
|
switch (fork ())
|
|
{
|
|
case 0: /* Child. */
|
|
sleep(1); /* Give up the CPU. */
|
|
_exit(0);
|
|
break;
|
|
case -1: /* What can we do? */
|
|
_exit(0);
|
|
break;
|
|
default: /* Parent. */
|
|
wait3(&i, 0, &r);
|
|
/* Avoid "text file busy" from rm on fast HP-UX machines. */
|
|
sleep(2);
|
|
exit (r.ru_nvcsw == 0 && r.ru_majflt == 0 && r.ru_minflt == 0
|
|
&& r.ru_stime.tv_sec == 0 && r.ru_stime.tv_usec == 0);
|
|
}
|
|
}]])],
|
|
[ac_cv_func_wait3_rusage=yes],
|
|
[ac_cv_func_wait3_rusage=no],
|
|
[ac_cv_func_wait3_rusage=no])])
|
|
if test $ac_cv_func_wait3_rusage = yes; then
|
|
AC_DEFINE(HAVE_WAIT3, 1,
|
|
[Define to 1 if you have the `wait3' system call.
|
|
Deprecated, you should no longer depend upon `wait3'.])
|
|
fi
|
|
[]_m4_defun_epi([AC_FUNC_WAIT3])
|
|
F10,6
|
|
m4_bregexpregexp
|
|
T8,160
|
|
AC_OFF_T_m4_defun_pro([AC_OFF_T])AC_DIAGNOSE([obsolete], [The macro `AC_OFF_T' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_TYPE_OFF_T($@)[]_m4_defun_epi([AC_OFF_T])
|
|
T20,104
|
|
AC_LANG_PREPROC(C++)_m4_defun_pro([AC_LANG_PREPROC(C++)])AC_REQUIRE([AC_PROG_CXXCPP])[]_m4_defun_epi([AC_LANG_PREPROC(C++)])
|
|
T15,712
|
|
AC_FUNC_SETPGRP_m4_defun_pro([AC_FUNC_SETPGRP])AC_CACHE_CHECK(whether setpgrp takes no argument, ac_cv_func_setpgrp_void,
|
|
[AC_RUN_IFELSE(
|
|
[AC_LANG_PROGRAM(
|
|
[#if HAVE_UNISTD_H
|
|
# include <unistd.h>
|
|
#endif
|
|
],
|
|
[/* If this system has a BSD-style setpgrp which takes arguments,
|
|
setpgrp(1, 1) will fail with ESRCH and return -1, in that case
|
|
exit successfully. */
|
|
exit (setpgrp (1,1) == -1 ? 0 : 1);])],
|
|
[ac_cv_func_setpgrp_void=no],
|
|
[ac_cv_func_setpgrp_void=yes],
|
|
[AC_MSG_ERROR([cannot check setpgrp when cross compiling])])])
|
|
if test $ac_cv_func_setpgrp_void = yes; then
|
|
AC_DEFINE(SETPGRP_VOID, 1,
|
|
[Define to 1 if the `setpgrp' function takes no argument.])
|
|
fi
|
|
[]_m4_defun_epi([AC_FUNC_SETPGRP])
|
|
T27,23
|
|
m4_location(AC_HEADER_TIME)autoconf/headers.m4:670
|
|
T7,156
|
|
AC_LN_S_m4_defun_pro([AC_LN_S])AC_DIAGNOSE([obsolete], [The macro `AC_LN_S' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_PROG_LN_S($@)[]_m4_defun_epi([AC_LN_S])
|
|
T14,515
|
|
AC_HEADER_TIME_m4_defun_pro([AC_HEADER_TIME])AC_CACHE_CHECK([whether time.h and sys/time.h may both be included],
|
|
ac_cv_header_time,
|
|
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <sys/types.h>
|
|
#include <sys/time.h>
|
|
#include <time.h>
|
|
],
|
|
[if ((struct tm *) 0)
|
|
return 0;])],
|
|
[ac_cv_header_time=yes],
|
|
[ac_cv_header_time=no])])
|
|
if test $ac_cv_header_time = yes; then
|
|
AC_DEFINE(TIME_WITH_SYS_TIME, 1,
|
|
[Define to 1 if you can safely include both <sys/time.h>
|
|
and <time.h>.])
|
|
fi
|
|
[]_m4_defun_epi([AC_HEADER_TIME])
|
|
T16,224
|
|
AC_CHECK_HEADERS_m4_defun_pro([AC_CHECK_HEADERS])AH_CHECK_HEADERS([$1])dnl
|
|
for ac_header in $1
|
|
do
|
|
AC_CHECK_HEADER($ac_header,
|
|
[AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_$ac_header)) $2],
|
|
[$3],
|
|
[$4])dnl
|
|
done
|
|
[]_m4_defun_epi([AC_CHECK_HEADERS])
|
|
T12,26
|
|
m4_normalizem4_strip(m4_flatten([$1]))
|
|
T35,22
|
|
m4_location(AC_CONFIG_COMMANDS_PRE)autoconf/status.m4:329
|
|
T27,24
|
|
m4_location(AC_CHECK_FILES)autoconf/general.m4:2325
|
|
T16,770
|
|
_AC_INIT_PACKAGEAS_LITERAL_IF([$1], [], [m4_warn([syntax], [AC_INIT: not a literal: $1])])
|
|
AS_LITERAL_IF([$2], [], [m4_warn([syntax], [AC_INIT: not a literal: $2])])
|
|
AS_LITERAL_IF([$3], [], [m4_warn([syntax], [AC_INIT: not a literal: $3])])
|
|
m4_ifndef([AC_PACKAGE_NAME],
|
|
[m4_define([AC_PACKAGE_NAME], [$1])])
|
|
m4_ifndef([AC_PACKAGE_TARNAME],
|
|
[m4_define([AC_PACKAGE_TARNAME],
|
|
m4_default([$4],
|
|
[m4_bpatsubst(m4_tolower(m4_bpatsubst([[[$1]]],
|
|
[GNU ])),
|
|
[[^_abcdefghijklmnopqrstuvwxyz0123456789]],
|
|
[-])]))])
|
|
m4_ifndef([AC_PACKAGE_VERSION],
|
|
[m4_define([AC_PACKAGE_VERSION], [$2])])
|
|
m4_ifndef([AC_PACKAGE_STRING],
|
|
[m4_define([AC_PACKAGE_STRING], [$1 $2])])
|
|
m4_ifndef([AC_PACKAGE_BUGREPORT],
|
|
[m4_define([AC_PACKAGE_BUGREPORT], [$3])])
|
|
|
|
T27,17
|
|
m4_location(ac_cv_prog_gxx)autoconf/c.m4:660
|
|
T17,1923
|
|
_AC_FC_DUMMY_MAIN_m4_defun_pro([_AC_FC_DUMMY_MAIN])_AC_FORTRAN_ASSERT()dnl
|
|
m4_define(_AC_LANG_PROGRAM_C_[]_AC_FC[]_HOOKS,
|
|
[#ifdef ]_AC_FC[_DUMMY_MAIN
|
|
]AC_LANG_CASE([Fortran], [#ifndef FC_DUMMY_MAIN_EQ_F77])
|
|
[# ifdef __cplusplus
|
|
extern "C"
|
|
# endif
|
|
int ]_AC_FC[_DUMMY_MAIN() { return 1; }
|
|
]AC_LANG_CASE([Fortran], [#endif])
|
|
[#endif
|
|
])
|
|
AC_CACHE_CHECK([for dummy main to link with Fortran libraries],
|
|
ac_cv_[]_AC_LANG_ABBREV[]_dummy_main,
|
|
[ac_[]_AC_LANG_ABBREV[]_dm_save_LIBS=$LIBS
|
|
LIBS="$LIBS $[]_AC_LANG_PREFIX[]LIBS"
|
|
ac_fortran_dm_var=[]_AC_FC[]_DUMMY_MAIN
|
|
AC_LANG_PUSH(C)dnl
|
|
|
|
# First, try linking without a dummy main:
|
|
AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])],
|
|
[ac_cv_fortran_dummy_main=none],
|
|
[ac_cv_fortran_dummy_main=unknown])
|
|
|
|
if test $ac_cv_fortran_dummy_main = unknown; then
|
|
for ac_func in MAIN__ MAIN_ __main MAIN _MAIN __MAIN main_ main__ _main; do
|
|
AC_LINK_IFELSE([AC_LANG_PROGRAM([[@%:@define $ac_fortran_dm_var $ac_func]])],
|
|
[ac_cv_fortran_dummy_main=$ac_func; break])
|
|
done
|
|
fi
|
|
AC_LANG_POP(C)dnl
|
|
ac_cv_[]_AC_LANG_ABBREV[]_dummy_main=$ac_cv_fortran_dummy_main
|
|
rm -f conftest*
|
|
LIBS=$ac_[]_AC_LANG_ABBREV[]_dm_save_LIBS
|
|
])
|
|
[]_AC_FC[]_DUMMY_MAIN=$ac_cv_[]_AC_LANG_ABBREV[]_dummy_main
|
|
AS_IF([test "$[]_AC_FC[]_DUMMY_MAIN" != unknown],
|
|
[m4_default([$1],
|
|
[if test $[]_AC_FC[]_DUMMY_MAIN != none; then
|
|
AC_DEFINE_UNQUOTED([]_AC_FC[]_DUMMY_MAIN, $[]_AC_FC[]_DUMMY_MAIN,
|
|
[Define to dummy `main' function (if any) required to
|
|
link to the Fortran libraries.])
|
|
if test "x$ac_cv_fc_dummy_main" = "x$ac_cv_f77_dummy_main"; then
|
|
AC_DEFINE([FC_DUMMY_MAIN_EQ_F77], 1,
|
|
[Define if F77 and FC dummy `main' functions are identical.])
|
|
fi
|
|
fi])],
|
|
[m4_default([$2],
|
|
[AC_MSG_FAILURE([linking to Fortran libraries from C fails])])])
|
|
[]_m4_defun_epi([_AC_FC_DUMMY_MAIN])
|
|
T31,24
|
|
m4_location(_AC_RUN_LOG_STDERR)autoconf/general.m4:2009
|
|
T30,24
|
|
m4_location(AC_YYTEXT_POINTER)autoconf/oldnames.m4:105
|
|
T14,151
|
|
AC_LANG_ASSERT_m4_defun_pro([AC_LANG_ASSERT])m4_if(_AC_LANG, $1, [],
|
|
[m4_fatal([$0: current language is not $1: ] _AC_LANG)])[]_m4_defun_epi([AC_LANG_ASSERT])
|
|
T10,88
|
|
AS_REQUIREm4_provide_if([$1], [],
|
|
[m4_divert_text([M4SH-INIT], [m4_default([$2], [$1])])])
|
|
T21,408
|
|
AC_FUNC_ERROR_AT_LINE_m4_defun_pro([AC_FUNC_ERROR_AT_LINE])AC_LIBSOURCES([error.h, error.c])dnl
|
|
AC_CACHE_CHECK([for error_at_line], ac_cv_lib_error_at_line,
|
|
[AC_LINK_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
|
|
[error_at_line (0, 0, "", 0, "");])],
|
|
[ac_cv_lib_error_at_line=yes],
|
|
[ac_cv_lib_error_at_line=no])])
|
|
if test $ac_cv_lib_error_at_line = no; then
|
|
AC_LIBOBJ(error)
|
|
fi
|
|
[]_m4_defun_epi([AC_FUNC_ERROR_AT_LINE])
|
|
T28,23
|
|
m4_location(AC_HEADER_MAJOR)autoconf/headers.m4:441
|
|
T14,90
|
|
AC_TYPE_MODE_T_m4_defun_pro([AC_TYPE_MODE_T])AC_CHECK_TYPE(mode_t, int)[]_m4_defun_epi([AC_TYPE_MODE_T])
|
|
T24,0
|
|
AC_LIST_HEADERS_COMMANDS
|
|
T15,230
|
|
AC_CONFIG_LINKS_m4_defun_pro([AC_CONFIG_LINKS])AC_FOREACH([AC_File], [$1], [_AC_CONFIG_LINK(m4_defn([AC_File]), [$2])])dnl
|
|
_AC_CONFIG_COMMANDS_INIT([$3])dnl
|
|
ac_config_links="$ac_config_links m4_normalize([$1])"
|
|
[]_m4_defun_epi([AC_CONFIG_LINKS])
|
|
T18,200
|
|
AC_GCC_TRADITIONAL_m4_defun_pro([AC_GCC_TRADITIONAL])AC_DIAGNOSE([obsolete], [The macro `AC_GCC_TRADITIONAL' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_PROG_GCC_TRADITIONAL($@)[]_m4_defun_epi([AC_GCC_TRADITIONAL])
|
|
T15,67
|
|
AC_LANG_PREPROCAC_LANG_COMPILER_REQUIRE()dnl
|
|
_AC_LANG_DISPATCH([$0], _AC_LANG, $@)
|
|
T14,365
|
|
AC_CHECK_DECLS_m4_defun_pro([AC_CHECK_DECLS])m4_foreach([AC_Symbol], [$1],
|
|
[AC_CHECK_DECL(AC_Symbol,
|
|
[AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_DECL_]AC_Symbol), 1,
|
|
[Define to 1 if you have the declaration
|
|
of `]AC_Symbol[', and to 0 if you don't.])
|
|
$2],
|
|
[AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_DECL_]AC_Symbol), 0)
|
|
$3],
|
|
[$4])])
|
|
[]_m4_defun_epi([AC_CHECK_DECLS])
|
|
T24,24
|
|
m4_location(_AC_FC_FUNC)autoconf/fortran.m4:1083
|
|
T11,110
|
|
m4_patsubstm4_expand_once([m4_warn([syntax],
|
|
[do not use m4_patsubst: use patsubst or m4_bpatsubst])])dnl
|
|
patsubst($@)
|
|
T20,339
|
|
_AC_CHECK_HEADER_NEWAS_VAR_PUSHDEF([ac_Header], [ac_cv_header_$1])dnl
|
|
AC_CACHE_CHECK([for $1], ac_Header,
|
|
[AC_COMPILE_IFELSE([AC_LANG_SOURCE([AC_INCLUDES_DEFAULT([$4])
|
|
@%:@include <$1>])],
|
|
[AS_VAR_SET(ac_Header, yes)],
|
|
[AS_VAR_SET(ac_Header, no)])])
|
|
AS_IF([test AS_VAR_GET(ac_Header) = yes], [$2], [$3])[]dnl
|
|
AS_VAR_POPDEF([ac_Header])dnl
|
|
|
|
T14,1547
|
|
AC_PROG_CC_C_O_m4_defun_pro([AC_PROG_CC_C_O])AC_REQUIRE([AC_PROG_CC])dnl
|
|
if test "x$CC" != xcc; then
|
|
AC_MSG_CHECKING([whether $CC and cc understand -c and -o together])
|
|
else
|
|
AC_MSG_CHECKING([whether cc understands -c and -o together])
|
|
fi
|
|
set dummy $CC; ac_cc=`echo $[2] |
|
|
sed 's/[[^a-zA-Z0-9_]]/_/g;s/^[[0-9]]/_/'`
|
|
AC_CACHE_VAL(ac_cv_prog_cc_${ac_cc}_c_o,
|
|
[AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
|
|
# Make sure it works both with $CC and with simple cc.
|
|
# We do the test twice because some compilers refuse to overwrite an
|
|
# existing .o file with -o, though they will create one.
|
|
ac_try='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
|
|
if AC_TRY_EVAL(ac_try) &&
|
|
test -f conftest.$ac_objext && AC_TRY_EVAL(ac_try);
|
|
then
|
|
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
|
|
if test "x$CC" != xcc; then
|
|
# Test first that cc exists at all.
|
|
if AC_TRY_COMMAND(cc -c conftest.$ac_ext >&AS_MESSAGE_LOG_FD); then
|
|
ac_try='cc -c conftest.$ac_ext -o conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
|
|
if AC_TRY_EVAL(ac_try) &&
|
|
test -f conftest.$ac_objext && AC_TRY_EVAL(ac_try);
|
|
then
|
|
# cc works too.
|
|
:
|
|
else
|
|
# cc exists but doesn't like -o.
|
|
eval ac_cv_prog_cc_${ac_cc}_c_o=no
|
|
fi
|
|
fi
|
|
fi
|
|
else
|
|
eval ac_cv_prog_cc_${ac_cc}_c_o=no
|
|
fi
|
|
rm -f conftest*
|
|
])dnl
|
|
if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
|
|
AC_MSG_RESULT([yes])
|
|
else
|
|
AC_MSG_RESULT([no])
|
|
AC_DEFINE(NO_MINUS_C_MINUS_O, 1,
|
|
[Define to 1 if your C compiler doesn't accept -c and -o together.])
|
|
fi
|
|
[]_m4_defun_epi([AC_PROG_CC_C_O])
|
|
T21,24
|
|
m4_location(AC_UID_T)autoconf/oldnames.m4:103
|
|
T26,24
|
|
m4_location(AC_RUN_IFELSE)autoconf/general.m4:2279
|
|
T9,316
|
|
AC_CYGWIN_m4_defun_pro([AC_CYGWIN])AC_DIAGNOSE([obsolete], [The macro `AC_CYGWIN' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_CANONICAL_HOST
|
|
AC_DIAGNOSE([obsolete],
|
|
[$0 is obsolete: use AC_CANONICAL_HOST and $host_os])dnl
|
|
case $host_os in
|
|
*cygwin* ) CYGWIN=yes;;
|
|
* ) CYGWIN=no;;
|
|
esac
|
|
[]_m4_defun_epi([AC_CYGWIN])
|
|
T31,21
|
|
m4_location(AC_STRUCT_TIMEZONE)autoconf/types.m4:623
|
|
T16,5762
|
|
_AC_OUTPUT_FILEScat >>$CONFIG_STATUS <<_ACEOF
|
|
|
|
#
|
|
# CONFIG_FILES section.
|
|
#
|
|
|
|
# No need to generate the scripts if there are no CONFIG_FILES.
|
|
# This happens for instance when ./config.status config.h
|
|
if test -n "\$CONFIG_FILES"; then
|
|
# Protect against being on the right side of a sed subst in config.status.
|
|
dnl Please, pay attention that this sed code depends a lot on the shape
|
|
dnl of the sed commands issued by AC_SUBST. So if you change one, change
|
|
dnl the other too.
|
|
[ sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
|
|
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF]
|
|
dnl These here document variables are unquoted when configure runs
|
|
dnl but quoted when config.status runs, so variables are expanded once.
|
|
dnl Insert the sed substitutions of variables.
|
|
m4_ifdef([_AC_SUBST_VARS],
|
|
[AC_FOREACH([AC_Var], m4_defn([_AC_SUBST_VARS]),
|
|
[s,@AC_Var@,$AC_Var,;t t
|
|
])])dnl
|
|
m4_ifdef([_AC_SUBST_FILES],
|
|
[AC_FOREACH([AC_Var], m4_defn([_AC_SUBST_FILES]),
|
|
[/@AC_Var@/r $AC_Var
|
|
s,@AC_Var@,,;t t
|
|
])])dnl
|
|
CEOF
|
|
|
|
_ACEOF
|
|
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
# Split the substitutions into bite-sized pieces for seds with
|
|
# small command number limits, like on Digital OSF/1 and HP-UX.
|
|
dnl One cannot portably go further than 100 commands because of HP-UX.
|
|
dnl Here, there are 2 cmd per line, and two cmd are added later.
|
|
ac_max_sed_lines=48
|
|
ac_sed_frag=1 # Number of current file.
|
|
ac_beg=1 # First line for current file.
|
|
ac_end=$ac_max_sed_lines # Line after last line for current file.
|
|
ac_more_lines=:
|
|
ac_sed_cmds=
|
|
while $ac_more_lines; do
|
|
if test $ac_beg -gt 1; then
|
|
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
|
else
|
|
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
|
fi
|
|
if test ! -s $tmp/subs.frag; then
|
|
ac_more_lines=false
|
|
else
|
|
# The purpose of the label and of the branching condition is to
|
|
# speed up the sed processing (if there are no `@' at all, there
|
|
# is no need to browse any of the substitutions).
|
|
# These are the two extra sed commands mentioned above.
|
|
(echo [':t
|
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b'] && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
|
|
if test -z "$ac_sed_cmds"; then
|
|
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
|
|
else
|
|
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
|
|
fi
|
|
ac_sed_frag=`expr $ac_sed_frag + 1`
|
|
ac_beg=$ac_end
|
|
ac_end=`expr $ac_end + $ac_max_sed_lines`
|
|
fi
|
|
done
|
|
if test -z "$ac_sed_cmds"; then
|
|
ac_sed_cmds=cat
|
|
fi
|
|
fi # test -n "$CONFIG_FILES"
|
|
|
|
_ACEOF
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
|
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
|
case $ac_file in
|
|
- | *:- | *:-:* ) # input from stdin
|
|
cat >$tmp/stdin
|
|
ac_file_in=`echo "$ac_file" | sed 's,[[^:]]*:,,'`
|
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[[^:]]*:,,'`
|
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
|
* ) ac_file_in=$ac_file.in ;;
|
|
esac
|
|
|
|
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
|
|
ac_dir=`AS_DIRNAME(["$ac_file"])`
|
|
AS_MKDIR_P(["$ac_dir"])
|
|
_AC_SRCPATHS(["$ac_dir"])
|
|
|
|
AC_PROVIDE_IFELSE([AC_PROG_INSTALL],
|
|
[ case $INSTALL in
|
|
[[\\/$]]* | ?:[[\\/]]* ) ac_INSTALL=$INSTALL ;;
|
|
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
|
|
esac
|
|
])dnl
|
|
|
|
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
|
# use $as_me), people would be surprised to read:
|
|
# /* config.h. Generated by config.status. */
|
|
if test x"$ac_file" = x-; then
|
|
configure_input=
|
|
else
|
|
configure_input="$ac_file. "
|
|
fi
|
|
configure_input=$configure_input"Generated from `echo $ac_file_in |
|
|
sed 's,.*/,,'` by configure."
|
|
|
|
# First look for the input files in the build tree, otherwise in the
|
|
# src tree.
|
|
ac_file_inputs=`IFS=:
|
|
for f in $ac_file_in; do
|
|
case $f in
|
|
-) echo $tmp/stdin ;;
|
|
[[\\/$]]*)
|
|
# Absolute (can't be DOS-style, as IFS=:)
|
|
test -f "$f" || AC_MSG_ERROR([cannot find input file: $f])
|
|
echo "$f";;
|
|
*) # Relative
|
|
if test -f "$f"; then
|
|
# Build tree
|
|
echo "$f"
|
|
elif test -f "$srcdir/$f"; then
|
|
# Source tree
|
|
echo "$srcdir/$f"
|
|
else
|
|
# /dev/null tree
|
|
AC_MSG_ERROR([cannot find input file: $f])
|
|
fi;;
|
|
esac
|
|
done` || AS_EXIT([1])
|
|
|
|
if test x"$ac_file" != x-; then
|
|
AC_MSG_NOTICE([creating $ac_file])
|
|
rm -f "$ac_file"
|
|
fi
|
|
_ACEOF
|
|
cat >>$CONFIG_STATUS <<_ACEOF
|
|
dnl Neutralize VPATH when `$srcdir' = `.'.
|
|
sed "$ac_vpsub
|
|
dnl Shell code in configure.ac might set extrasub.
|
|
dnl FIXME: do we really want to maintain this feature?
|
|
$extrasub
|
|
_ACEOF
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
:t
|
|
[/@[a-zA-Z_][a-zA-Z_0-9]*@/!b]
|
|
s,@configure_input@,$configure_input,;t t
|
|
s,@srcdir@,$ac_srcdir,;t t
|
|
s,@abs_srcdir@,$ac_abs_srcdir,;t t
|
|
s,@top_srcdir@,$ac_top_srcdir,;t t
|
|
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
|
|
s,@builddir@,$ac_builddir,;t t
|
|
s,@abs_builddir@,$ac_abs_builddir,;t t
|
|
s,@top_builddir@,$ac_top_builddir,;t t
|
|
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
|
|
AC_PROVIDE_IFELSE([AC_PROG_INSTALL], [s,@INSTALL@,$ac_INSTALL,;t t
|
|
])dnl
|
|
dnl The parens around the eval prevent an "illegal io" in Ultrix sh.
|
|
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
|
|
rm -f $tmp/stdin
|
|
dnl This would break Makefile dependencies.
|
|
dnl if diff $ac_file $tmp/out >/dev/null 2>&1; then
|
|
dnl echo "$ac_file is unchanged"
|
|
dnl else
|
|
dnl rm -f $ac_file
|
|
dnl mv $tmp/out $ac_file
|
|
dnl fi
|
|
if test x"$ac_file" != x-; then
|
|
mv $tmp/out $ac_file
|
|
else
|
|
cat $tmp/out
|
|
rm -f $tmp/out
|
|
fi
|
|
|
|
m4_ifset([AC_LIST_FILES_COMMANDS],
|
|
[ # Run the commands associated with the file.
|
|
case $ac_file in
|
|
AC_LIST_FILES_COMMANDS()dnl
|
|
esac
|
|
])dnl
|
|
done
|
|
_ACEOF
|
|
|
|
T30,25
|
|
m4_location(AC_FUNC_GETMNTENT)autoconf/functions.m4:778
|
|
T8,109
|
|
m4_defunm4_define([m4_location($1)], m4_location)dnl
|
|
m4_define([$1],
|
|
[_m4_defun_pro([$1])$2[]_m4_defun_epi([$1])])
|
|
F12,9
|
|
m4_debugfiledebugfile
|
|
T18,127
|
|
_AC_CHECK_TYPE_OLD_AC_CHECK_TYPE_NEW([$1],,
|
|
[AC_DEFINE_UNQUOTED([$1], [$2],
|
|
[Define to `$2' if <sys/types.h> does not define.])])dnl
|
|
|
|
T12,165
|
|
AC_LANG_CALL_m4_defun_pro([AC_LANG_CALL])m4_ifval([$2], [], [m4_warn([syntax], [$0: no function given])])dnl
|
|
_AC_LANG_DISPATCH([$0], _AC_LANG, $@)[]_m4_defun_epi([AC_LANG_CALL])
|
|
T34,24
|
|
m4_location(_AC_LIBOBJS_NORMALIZE)autoconf/general.m4:2452
|
|
T13,1
|
|
AS_MESSAGE_FD6
|
|
T7,99
|
|
AS_LN_S_m4_defun_pro([AS_LN_S])AS_REQUIRE([_AS_LN_S_PREPARE])dnl
|
|
$as_ln_s $1 $2
|
|
[]_m4_defun_epi([AS_LN_S])
|
|
T11,340
|
|
AC_LANG_POP_m4_defun_pro([AC_LANG_POP])m4_ifval([$1],
|
|
[m4_if([$1], m4_defn([_AC_LANG]), [],
|
|
[m4_fatal([$0($1): unexpected current language: ]m4_defn([_AC_LANG]))])])dnl
|
|
m4_pushdef([$0 OLD], m4_defn([_AC_LANG]))dnl
|
|
m4_popdef([_AC_LANG])dnl
|
|
_AC_LANG_SET(m4_defn([$0 OLD]), m4_defn([_AC_LANG]))dnl
|
|
m4_popdef([$0 OLD])dnl
|
|
[]_m4_defun_epi([AC_LANG_POP])
|
|
T31,24
|
|
m4_location(_AC_PREPROC_IFELSE)autoconf/general.m4:2087
|
|
T28,23
|
|
m4_location(AC_HEADER_EGREP)autoconf/oldnames.m4:58
|
|
T26,18
|
|
m4_location(AC_C_VOLATILE)autoconf/c.m4:1180
|
|
T34,23
|
|
m4_location(AC_FC_LIBRARY_LDFLAGS)autoconf/fortran.m4:720
|
|
T28,1
|
|
_m4_divert(HEADER-COPYRIGHT)3
|
|
T28,26
|
|
m4_location(AM_FUNC_OBSTACK)autoconf/functions.m4:1293
|
|
T26,21
|
|
m4_location(AC_TYPE_PID_T)autoconf/types.m4:339
|
|
T18,191
|
|
AC_WORDS_BIGENDIAN_m4_defun_pro([AC_WORDS_BIGENDIAN])AC_DIAGNOSE([obsolete], [The macro `AC_WORDS_BIGENDIAN' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_C_BIGENDIAN($@)[]_m4_defun_epi([AC_WORDS_BIGENDIAN])
|
|
T20,586
|
|
AC_STRUCT_ST_BLKSIZE_m4_defun_pro([AC_STRUCT_ST_BLKSIZE])AC_DIAGNOSE([obsolete], [The macro `AC_STRUCT_ST_BLKSIZE' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_DIAGNOSE([obsolete], [$0:
|
|
your code should no longer depend upon `HAVE_ST_BLKSIZE', but
|
|
`HAVE_STRUCT_STAT_ST_BLKSIZE'. Remove this warning and
|
|
the `AC_DEFINE' when you adjust the code.])
|
|
AC_CHECK_MEMBERS([struct stat.st_blksize],
|
|
[AC_DEFINE(HAVE_ST_BLKSIZE, 1,
|
|
[Define to 1 if your `struct stat' has
|
|
`st_blksize'. Deprecated, use
|
|
`HAVE_STRUCT_STAT_ST_BLKSIZE' instead.])])
|
|
[]_m4_defun_epi([AC_STRUCT_ST_BLKSIZE])
|
|
F7,7
|
|
pushdefpushdef
|
|
T13,767
|
|
AC_DIR_HEADER_m4_defun_pro([AC_DIR_HEADER])AC_DIAGNOSE([obsolete], [The macro `AC_DIR_HEADER' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_HEADER_DIRENT
|
|
AC_FUNC_CLOSEDIR_VOID
|
|
AC_DIAGNOSE([obsolete],
|
|
[$0: Remove this warning and the four `AC_DEFINE' when you
|
|
adjust your code to use `AC_HEADER_DIRENT'.])
|
|
test ac_cv_header_dirent_dirent_h &&
|
|
AC_DEFINE([DIRENT], 1, [Same as `HAVE_DIRENT_H', don't depend on me.])
|
|
test ac_cv_header_dirent_sys_ndir_h &&
|
|
AC_DEFINE([SYSNDIR], 1, [Same as `HAVE_SYS_NDIR_H', don't depend on me.])
|
|
test ac_cv_header_dirent_sys_dir_h &&
|
|
AC_DEFINE([SYSDIR], 1, [Same as `HAVE_SYS_DIR_H', don't depend on me.])
|
|
test ac_cv_header_dirent_ndir_h &&
|
|
AC_DEFINE([NDIR], 1, [Same as `HAVE_NDIR_H', don't depend on me.])
|
|
[]_m4_defun_epi([AC_DIR_HEADER])
|
|
T33,24
|
|
m4_location(AC_SYS_POSIX_TERMIOS)autoconf/specific.m4:327
|
|
T35,24
|
|
m4_location(AC_SYS_LONG_FILE_NAMES)autoconf/specific.m4:246
|
|
T28,23
|
|
m4_location(AC_HAVE_HEADERS)autoconf/oldnames.m4:56
|
|
T27,25
|
|
m4_location(AC_FUNC_FSEEKO)autoconf/functions.m4:577
|
|
T9,23
|
|
AN_HEADERAN_OUTPUT([header], $@)
|
|
T8,160
|
|
AC_UID_T_m4_defun_pro([AC_UID_T])AC_DIAGNOSE([obsolete], [The macro `AC_UID_T' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_TYPE_UID_T($@)[]_m4_defun_epi([AC_UID_T])
|
|
T36,22
|
|
m4_location(_AC_OUTPUT_COMMANDS_CNT)autoconf/status.m4:321
|
|
T27,26
|
|
m4_location(_AC_FUNC_VFORK)autoconf/functions.m4:1865
|
|
T34,282
|
|
_AC_HEADER_TIOCGWINSZ_IN_TERMIOS_HAC_CACHE_CHECK([whether termios.h defines TIOCGWINSZ],
|
|
ac_cv_sys_tiocgwinsz_in_termios_h,
|
|
[AC_EGREP_CPP([yes],
|
|
[#include <sys/types.h>
|
|
#include <termios.h>
|
|
#ifdef TIOCGWINSZ
|
|
yes
|
|
#endif
|
|
],
|
|
ac_cv_sys_tiocgwinsz_in_termios_h=yes,
|
|
ac_cv_sys_tiocgwinsz_in_termios_h=no)])
|
|
|
|
T23,1144
|
|
_AC_COMPUTE_INT_COMPILE# Depending upon the size, compute the lo and hi bounds.
|
|
AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([$3], [($1) >= 0])],
|
|
[ac_lo=0 ac_mid=0
|
|
while :; do
|
|
AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([$3], [($1) <= $ac_mid])],
|
|
[ac_hi=$ac_mid; break],
|
|
[ac_lo=`expr $ac_mid + 1`
|
|
if test $ac_lo -le $ac_mid; then
|
|
ac_lo= ac_hi=
|
|
break
|
|
fi
|
|
ac_mid=`expr 2 '*' $ac_mid + 1`])
|
|
done],
|
|
[AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([$3], [($1) < 0])],
|
|
[ac_hi=-1 ac_mid=-1
|
|
while :; do
|
|
AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([$3], [($1) >= $ac_mid])],
|
|
[ac_lo=$ac_mid; break],
|
|
[ac_hi=`expr '(' $ac_mid ')' - 1`
|
|
if test $ac_mid -le $ac_hi; then
|
|
ac_lo= ac_hi=
|
|
break
|
|
fi
|
|
ac_mid=`expr 2 '*' $ac_mid`])
|
|
done],
|
|
[ac_lo= ac_hi=])])
|
|
# Binary search between lo and hi bounds.
|
|
while test "x$ac_lo" != "x$ac_hi"; do
|
|
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
|
|
AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([$3], [($1) <= $ac_mid])],
|
|
[ac_hi=$ac_mid], [ac_lo=`expr '(' $ac_mid ')' + 1`])
|
|
done
|
|
case $ac_lo in
|
|
?*) $2=$ac_lo;;
|
|
'') $4 ;;
|
|
esac[]dnl
|
|
|
|
T18,206
|
|
AC_REPLACE_FNMATCH_m4_defun_pro([AC_REPLACE_FNMATCH])_AC_FUNC_FNMATCH_IF([POSIX], [ac_cv_func_fnmatch_works],
|
|
[rm -f $ac_config_libobj_dir/fnmatch.h],
|
|
[_AC_LIBOBJ_FNMATCH])
|
|
[]_m4_defun_epi([AC_REPLACE_FNMATCH])
|
|
T14,440
|
|
AC_C_STRINGIZE_m4_defun_pro([AC_C_STRINGIZE])AC_CACHE_CHECK([for preprocessor stringizing operator],
|
|
[ac_cv_c_stringize],
|
|
[AC_EGREP_CPP([@%:@teststring],
|
|
[@%:@define x(y) #y
|
|
|
|
char *s = x(teststring);],
|
|
[ac_cv_c_stringize=no],
|
|
[ac_cv_c_stringize=yes])])
|
|
if test $ac_cv_c_stringize = yes; then
|
|
AC_DEFINE(HAVE_STRINGIZE, 1,
|
|
[Define to 1 if cpp supports the ANSI @%:@ stringizing operator.])
|
|
fi
|
|
[]_m4_defun_epi([AC_C_STRINGIZE])
|
|
T23,24
|
|
m4_location(AC_TRY_CPP)autoconf/general.m4:2107
|
|
T14,156
|
|
AC_CACHE_CHECK_m4_defun_pro([AC_CACHE_CHECK])AC_MSG_CHECKING([$1])
|
|
AC_CACHE_VAL([$2], [$3])dnl
|
|
AC_MSG_RESULT_UNQUOTED([AS_VAR_GET([$2])])[]_m4_defun_epi([AC_CACHE_CHECK])
|
|
T29,24
|
|
m4_location(AC_COMPILE_CHECK)autoconf/general.m4:2230
|
|
T16,188
|
|
_AS_LINENO_WORKS
|
|
as_lineno_1=$LINENO
|
|
as_lineno_2=$LINENO
|
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
|
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
|
test "x$as_lineno_3" = "x$as_lineno_2" dnl
|
|
|
|
T31,212
|
|
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.
|
|
You should run autoupdate.])dnl
|
|
[]_m4_defun_epi([AC_VALIDATE_CACHED_SYSTEM_TUPLE])
|
|
T19,23
|
|
m4_location(_AC_FC)autoconf/fortran.m4:196
|
|
T32,0
|
|
m4_include(autoconf/autoscan.m4)
|
|
T12,509
|
|
AC_EGREP_CPP_m4_defun_pro([AC_EGREP_CPP])AC_LANG_PREPROC_REQUIRE()dnl
|
|
AC_REQUIRE([AC_PROG_EGREP])dnl
|
|
AC_LANG_CONFTEST([AC_LANG_SOURCE([[$2]])])
|
|
dnl eval is necessary to expand ac_cpp.
|
|
dnl Ultrix and Pyramid sh refuse to redirect output of eval, so use subshell.
|
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD |
|
|
dnl Quote $1 to prevent m4 from eating character classes
|
|
$EGREP "[$1]" >/dev/null 2>&1; then
|
|
m4_default([$3], :)
|
|
m4_ifvaln([$4], [else
|
|
$4])dnl
|
|
fi
|
|
rm -f conftest*
|
|
[]_m4_defun_epi([AC_EGREP_CPP])
|
|
T28,39
|
|
m4_location(AS_DIRNAME_EXPR)/usr/share/autoconf/m4sugar/m4sh.m4:441
|
|
T29,25
|
|
m4_location(AC_TRY_LINK_FUNC)autoconf/functions.m4:106
|
|
T26,23
|
|
m4_location(AC_ST_BLKSIZE)autoconf/oldnames.m4:97
|
|
T30,23
|
|
m4_location(AC_PREFIX_DEFAULT)autoconf/general.m4:433
|
|
T27,39
|
|
m4_location(_AS_CR_PREPARE)/usr/share/autoconf/m4sugar/m4sh.m4:948
|
|
T12,94
|
|
_AC_LANG_SET_m4_defun_pro([_AC_LANG_SET])_AC_LANG_DISPATCH([AC_LANG], [$2])[]_m4_defun_epi([_AC_LANG_SET])
|
|
T24,38
|
|
AC_LANG_CALL(Fortran 77)AC_LANG_PROGRAM([$1],
|
|
[ call $2])
|
|
T28,20
|
|
m4_location(AC_LANG_PROGRAM)autoconf/lang.m4:234
|
|
T12,520
|
|
AC_SITE_LOAD# Prefer explicitly selected file to automatically selected ones.
|
|
if test -z "$CONFIG_SITE"; then
|
|
if test "x$prefix" != xNONE; then
|
|
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
|
|
else
|
|
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
|
|
fi
|
|
fi
|
|
for ac_site_file in $CONFIG_SITE; do
|
|
if test -r "$ac_site_file"; then
|
|
AC_MSG_NOTICE([loading site script $ac_site_file])
|
|
sed 's/^/| /' "$ac_site_file" >&AS_MESSAGE_LOG_FD
|
|
. "$ac_site_file"
|
|
fi
|
|
done
|
|
|
|
T21,24
|
|
m4_location(_AC_EVAL)autoconf/general.m4:2017
|
|
T9,84
|
|
AS_ESCAPEm4_bpatsubst([$1],
|
|
m4_ifval([$2], [[\([$2]\)]], [[\([\"$`]\)]]),
|
|
[\\\1])
|
|
T10,24
|
|
AN_LIBRARYAN_OUTPUT([library], $@)
|
|
T16,189
|
|
AC_CHAR_UNSIGNED_m4_defun_pro([AC_CHAR_UNSIGNED])AC_DIAGNOSE([obsolete], [The macro `AC_CHAR_UNSIGNED' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_C_CHAR_UNSIGNED($@)[]_m4_defun_epi([AC_CHAR_UNSIGNED])
|
|
T27,25
|
|
m4_location(AC_FUNC_MALLOC)autoconf/functions.m4:878
|
|
T7,30
|
|
m4_copym4_define([$2], m4_defn([$1]))
|
|
T26,23
|
|
m4_location(AC_RETSIGTYPE)autoconf/oldnames.m4:92
|
|
T22,20
|
|
m4_location(AC_EXEEXT)autoconf/lang.m4:447
|
|
T18,174
|
|
_AC_LINK_FILES_CNT_m4_defun_pro([_AC_LINK_FILES_CNT])AC_DIAGNOSE([obsolete], [The macro `_AC_LINK_FILES_CNT' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
0[]_m4_defun_epi([_AC_LINK_FILES_CNT])
|
|
T16,40
|
|
AC_LANG_CONFTESTcat >conftest.$ac_ext <<_ACEOF
|
|
$1
|
|
_ACEOF
|
|
T25,24
|
|
m4_location(AC_DYNIX_SEQ)autoconf/specific.m4:472
|
|
T15,125
|
|
AS_EXECUTABLE_P_m4_defun_pro([AS_EXECUTABLE_P])AS_REQUIRE([_AS_TEST_PREPARE])dnl
|
|
$as_executable_p $1[]dnl
|
|
[]_m4_defun_epi([AS_EXECUTABLE_P])
|
|
T27,106
|
|
AC_LANG_PROGRAM(Fortran 77)m4_ifval([$1],
|
|
[m4_warn([syntax], [$0: ignoring PROLOGUE: $1])])dnl
|
|
program main
|
|
$2
|
|
end
|
|
T23,26
|
|
m4_location(AC_VPRINTF)autoconf/functions.m4:1896
|
|
T26,24
|
|
m4_location(AC_CHECK_DECL)autoconf/general.m4:2350
|
|
T9,4
|
|
m4_dquote[$@]
|
|
T7,151
|
|
AC_LANG_m4_defun_pro([AC_LANG])_AC_LANG_SET(m4_ifdef([_AC_LANG], [m4_defn([_AC_LANG])]),
|
|
[$1])dnl
|
|
m4_define([_AC_LANG], [$1])[]_m4_defun_epi([AC_LANG])
|
|
T18,171
|
|
_AC_CONFIG_COMMAND_AC_CONFIG_UNIQUE([$1])dnl
|
|
m4_append([AC_LIST_COMMANDS], [ $1])dnl
|
|
m4_ifval([$2],
|
|
[m4_append([AC_LIST_COMMANDS_COMMANDS],
|
|
[ ]m4_bpatsubst([$1], [:.*])[ ) $2 ;;
|
|
])])dnl
|
|
|
|
T10,69
|
|
m4_toupperm4_translit([$1], m4_defn([m4_cr_letters]), m4_defn([m4_cr_LETTERS]))
|
|
T13,27
|
|
AN_IDENTIFIERAN_OUTPUT([identifier], $@)
|
|
T10,99
|
|
_m4_shiftnm4_if([$1], 0,
|
|
[m4_shift($@)],
|
|
[_m4_shiftn(m4_eval([$1]-1), m4_shift(m4_shift($@)))])
|
|
T24,1090
|
|
AC_LANG_FUNC_LINK_TRY(C)AC_LANG_PROGRAM(
|
|
[/* Define $1 to an innocuous variant, in case <limits.h> declares $1.
|
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
#define $1 innocuous_$1
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
which can conflict with char $1 (); below.
|
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
<limits.h> exists even on freestanding compilers. */
|
|
|
|
#ifdef __STDC__
|
|
# include <limits.h>
|
|
#else
|
|
# include <assert.h>
|
|
#endif
|
|
|
|
#undef $1
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
/* We use char because int might match the return type of a gcc2
|
|
builtin and then its argument prototype would still apply. */
|
|
char $1 ();
|
|
/* The GNU C library defines this for functions which it implements
|
|
to always fail with ENOSYS. Some functions are actually named
|
|
something starting with __ and the normal name is an alias. */
|
|
#if defined (__stub_$1) || defined (__stub___$1)
|
|
choke me
|
|
#else
|
|
char (*f) () = $1;
|
|
#endif
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
], [return f != $1;])
|
|
T30,21
|
|
m4_location(AM_TYPE_PTRDIFF_T)autoconf/types.m4:296
|
|
T32,0
|
|
m4_include(autoconf/oldnames.m4)
|
|
T12,264
|
|
AC_LANG(C++)ac_ext=cc
|
|
ac_cpp='$CXXCPP $CPPFLAGS'
|
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&AS_MESSAGE_LOG_FD'
|
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&AS_MESSAGE_LOG_FD'
|
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
|
|
T18,243
|
|
_AS_TR_CPP_PREPARE_m4_defun_pro([_AS_TR_CPP_PREPARE])AS_REQUIRE([_AS_CR_PREPARE])dnl
|
|
# Sed expression to map a string onto a valid CPP name.
|
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[[^_$as_cr_alnum]]%_%g'"
|
|
[]_m4_defun_epi([_AS_TR_CPP_PREPARE])
|
|
F7,6
|
|
m4_exitm4exit
|
|
T17,117
|
|
m4_include_uniquem4_ifdef([m4_include($1)],
|
|
[m4_warn([syntax], [file `$1' included several times])])dnl
|
|
m4_define([m4_include($1)])
|
|
T16,4
|
|
_m4_divert(BODY)1000
|
|
T11,1
|
|
_AH_COUNTER0
|
|
T11,1074
|
|
_AC_FC_MAIN_m4_defun_pro([_AC_FC_MAIN])_AC_FORTRAN_ASSERT()dnl
|
|
AC_CACHE_CHECK([for alternate main to link with Fortran libraries],
|
|
ac_cv_[]_AC_LANG_ABBREV[]_main,
|
|
[ac_[]_AC_LANG_ABBREV[]_m_save_LIBS=$LIBS
|
|
LIBS="$LIBS $[]_AC_LANG_PREFIX[]LIBS"
|
|
ac_fortran_dm_var=[]_AC_FC[]_DUMMY_MAIN
|
|
AC_LANG_PUSH(C)dnl
|
|
ac_cv_fortran_main="main" # default entry point name
|
|
for ac_func in MAIN__ MAIN_ __main MAIN _MAIN __MAIN main_ main__ _main; do
|
|
AC_LINK_IFELSE([AC_LANG_PROGRAM([@%:@ifdef FC_DUMMY_MAIN_EQ_F77
|
|
@%:@ undef F77_DUMMY_MAIN
|
|
@%:@ undef FC_DUMMY_MAIN
|
|
@%:@else
|
|
@%:@ undef $ac_fortran_dm_var
|
|
@%:@endif
|
|
@%:@define main $ac_func])],
|
|
[ac_cv_fortran_main=$ac_func; break])
|
|
done
|
|
AC_LANG_POP(C)dnl
|
|
ac_cv_[]_AC_LANG_ABBREV[]_main=$ac_cv_fortran_main
|
|
rm -f conftest*
|
|
LIBS=$ac_[]_AC_LANG_ABBREV[]_m_save_LIBS
|
|
])
|
|
AC_DEFINE_UNQUOTED([]_AC_FC[]_MAIN, $ac_cv_[]_AC_LANG_ABBREV[]_main,
|
|
[Define to alternate name for `main' routine that is
|
|
called from a `main' in the Fortran libraries.])
|
|
[]_m4_defun_epi([_AC_FC_MAIN])
|
|
T23,107
|
|
m4_expansion_stack_pushm4_pushdef([m4_expansion_stack],
|
|
[$1]m4_ifdef([m4_expansion_stack], [
|
|
m4_defn([m4_expansion_stack])]))
|
|
T20,398
|
|
AC_SYS_POSIX_TERMIOS_m4_defun_pro([AC_SYS_POSIX_TERMIOS])AC_CACHE_CHECK([POSIX termios], ac_cv_sys_posix_termios,
|
|
[AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>
|
|
#include <unistd.h>
|
|
#include <termios.h>
|
|
]],
|
|
[/* SunOS 4.0.3 has termios.h but not the library calls. */
|
|
tcgetattr(0, 0);])],
|
|
ac_cv_sys_posix_termios=yes,
|
|
ac_cv_sys_posix_termios=no)])
|
|
[]_m4_defun_epi([AC_SYS_POSIX_TERMIOS])
|
|
T19,98
|
|
AC_LANG_COMPILER(C)_m4_defun_pro([AC_LANG_COMPILER(C)])AC_REQUIRE([AC_PROG_CC])[]_m4_defun_epi([AC_LANG_COMPILER(C)])
|
|
T14,212
|
|
AC_CHECK_PROGS_m4_defun_pro([AC_CHECK_PROGS])for ac_prog in $2
|
|
do
|
|
AC_CHECK_PROG([$1], [$ac_prog], [$ac_prog], , [$4])
|
|
test -n "$$1" && break
|
|
done
|
|
m4_ifvaln([$3], [test -n "$$1" || $1="$3"])[]_m4_defun_epi([AC_CHECK_PROGS])
|
|
T28,26
|
|
m4_location(AC_FUNC_STRNLEN)autoconf/functions.m4:1582
|
|
T25,20
|
|
m4_location(AC_LANG_PUSH)autoconf/lang.m4:141
|
|
T19,199
|
|
_AC_ARG_VAR_LDFLAGS_m4_defun_pro([_AC_ARG_VAR_LDFLAGS])AC_ARG_VAR([LDFLAGS],
|
|
[linker flags, e.g. -L<lib dir> if you have libraries in a
|
|
nonstandard directory <lib dir>])[]_m4_defun_epi([_AC_ARG_VAR_LDFLAGS])
|
|
T18,838
|
|
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,
|
|
[rm -f conftest.data; >conftest.data
|
|
# Sequent interprets utime(file, 0) to mean use start of epoch. Wrong.
|
|
AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
|
|
[[struct stat s, t;
|
|
exit (!(stat ("conftest.data", &s) == 0
|
|
&& utime ("conftest.data", (long *)0) == 0
|
|
&& stat ("conftest.data", &t) == 0
|
|
&& t.st_mtime >= s.st_mtime
|
|
&& t.st_mtime - s.st_mtime < 120));]])],
|
|
ac_cv_func_utime_null=yes,
|
|
ac_cv_func_utime_null=no,
|
|
ac_cv_func_utime_null=no)
|
|
rm -f core *.core])
|
|
if test $ac_cv_func_utime_null = yes; then
|
|
AC_DEFINE(HAVE_UTIME_NULL, 1,
|
|
[Define to 1 if `utime(file, NULL)' sets file's timestamp to the
|
|
present.])
|
|
fi
|
|
rm -f conftest.data
|
|
[]_m4_defun_epi([AC_FUNC_UTIME_NULL])
|
|
T12,44
|
|
m4_re_escapem4_bpatsubst([$1],
|
|
[[][+*.]], [\\\&])
|
|
T17,893
|
|
AC_NO_EXECUTABLESm4_provide_if([AC_NO_EXECUTABLES],
|
|
[m4_warn([syntax], [AC_NO_EXECUTABLES invoked multiple times])],
|
|
[_m4_defun_pro([AC_NO_EXECUTABLES])m4_divert_push([KILL])
|
|
m4_divert_text([DEFAULTS], [ac_no_link=no])
|
|
|
|
AC_BEFORE([$0], [_AC_COMPILER_EXEEXT])
|
|
AC_BEFORE([$0], [AC_LINK_IFELSE])
|
|
|
|
m4_define([_AC_COMPILER_EXEEXT],
|
|
[AC_LANG_CONFTEST([AC_LANG_PROGRAM()])
|
|
if AC_TRY_EVAL(ac_link); then
|
|
ac_no_link=no
|
|
]m4_defn([_AC_COMPILER_EXEEXT])[
|
|
else
|
|
ac_no_link=yes
|
|
# Setting cross_compile will disable run tests; it will
|
|
# also disable AC_CHECK_FILE but that's generally
|
|
# correct if we can't link.
|
|
cross_compiling=yes
|
|
EXEEXT=
|
|
_AC_COMPILER_EXEEXT_CROSS
|
|
fi
|
|
])
|
|
|
|
m4_define([AC_LINK_IFELSE],
|
|
[if test x$ac_no_link = xyes; then
|
|
AC_MSG_ERROR([Link tests are not allowed after AC@&t@_NO_EXECUTABLES.])
|
|
fi
|
|
]m4_defn([AC_LINK_IFELSE]))
|
|
|
|
m4_divert_pop()dnl
|
|
[]_m4_defun_epi([AC_NO_EXECUTABLES])])
|
|
T20,179
|
|
AC_CHECK_TOOL_PREFIX_m4_defun_pro([AC_CHECK_TOOL_PREFIX])AC_DIAGNOSE([obsolete], [The macro `AC_CHECK_TOOL_PREFIX' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
[]_m4_defun_epi([AC_CHECK_TOOL_PREFIX])
|
|
T9,161
|
|
AC_INLINE_m4_defun_pro([AC_INLINE])AC_DIAGNOSE([obsolete], [The macro `AC_INLINE' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_C_INLINE($@)[]_m4_defun_epi([AC_INLINE])
|
|
T33,17
|
|
m4_location(_AC_ARG_VAR_CPPFLAGS)autoconf/c.m4:322
|
|
T27,23
|
|
m4_location(AC_PROG_FC_C_O)autoconf/fortran.m4:496
|
|
T18,316
|
|
AC_LANG_PROGRAM(C)$1
|
|
m4_ifdef([_AC_LANG_PROGRAM_C_F77_HOOKS], [_AC_LANG_PROGRAM_C_F77_HOOKS])[]dnl
|
|
m4_ifdef([_AC_LANG_PROGRAM_C_FC_HOOKS], [_AC_LANG_PROGRAM_C_FC_HOOKS])[]dnl
|
|
int
|
|
main ()
|
|
{
|
|
dnl Do *not* indent the following line: there may be CPP directives.
|
|
dnl Don't move the `;' right after for the same reason.
|
|
$2
|
|
;
|
|
return 0;
|
|
}
|
|
T24,0
|
|
_AC_OUTPUT_COMMANDS_INIT
|
|
T24,2
|
|
_AC_LANG_PREFIX(Fortran)FC
|
|
T12,436
|
|
AC_XENIX_DIR_m4_defun_pro([AC_XENIX_DIR])AC_DIAGNOSE([obsolete], [The macro `AC_XENIX_DIR' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
# You shouldn't need to depend upon XENIX. Remove this test if useless.
|
|
AC_MSG_CHECKING([for Xenix])
|
|
AC_EGREP_CPP(yes,
|
|
[#if defined(M_XENIX) && !defined(M_UNIX)
|
|
yes
|
|
@%:@endif],
|
|
[AC_MSG_RESULT([yes]); XENIX=yes],
|
|
[AC_MSG_RESULT([no]); XENIX=])
|
|
|
|
AC_HEADER_DIRENT[]dnl
|
|
[]_m4_defun_epi([AC_XENIX_DIR])
|
|
T24,17
|
|
m4_location(AC_PROG_CXX)autoconf/c.m4:705
|
|
T9,278
|
|
AS_TR_CPP_m4_defun_pro([AS_TR_CPP])AS_REQUIRE([_$0_PREPARE])dnl
|
|
AS_LITERAL_IF([$1],
|
|
[m4_bpatsubst(m4_translit([[$1]],
|
|
[*abcdefghijklmnopqrstuvwxyz],
|
|
[PABCDEFGHIJKLMNOPQRSTUVWXYZ]),
|
|
[[^A-Z0-9_]], [_])],
|
|
[`echo "$1" | $as_tr_cpp`])[]_m4_defun_epi([AS_TR_CPP])
|
|
T11,11
|
|
AC_DIAGNOSEm4_warn($@)
|
|
T27,20
|
|
m4_location(AC_LANG_SOURCE)autoconf/lang.m4:224
|
|
T30,23
|
|
m4_location(AC_LANG_FORTRAN77)autoconf/fortran.m4:160
|
|
T27,24
|
|
m4_location(AC_CHECK_DECLS)autoconf/general.m4:2370
|
|
T17,299
|
|
AC_LANG_CALL(C++)AC_LANG_PROGRAM([$1
|
|
m4_if([$2], [main], ,
|
|
[/* Override any gcc2 internal prototype to avoid an error. */
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
#endif
|
|
/* We use char because int might match the return type of a gcc2
|
|
builtin and then its argument prototype would still apply. */
|
|
char $2 ();])], [$2 ();])
|
|
T9,159
|
|
AM_EXEEXT_m4_defun_pro([AM_EXEEXT])AC_DIAGNOSE([obsolete], [The macro `AM_EXEEXT' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_EXEEXT($@)[]_m4_defun_epi([AM_EXEEXT])
|
|
T9,51
|
|
m4_shiftnm4_assert(($1 >= 0) && ($# > $1))dnl
|
|
_m4_shiftn($@)
|
|
T14,95
|
|
AC_TYPE_SIZE_T_m4_defun_pro([AC_TYPE_SIZE_T])AC_CHECK_TYPE(size_t, unsigned)[]_m4_defun_epi([AC_TYPE_SIZE_T])
|
|
T10,1497
|
|
AC_PROG_CC_m4_defun_pro([AC_PROG_CC])AC_LANG_PUSH(C)dnl
|
|
AC_ARG_VAR([CC], [C compiler command])dnl
|
|
AC_ARG_VAR([CFLAGS], [C compiler flags])dnl
|
|
_AC_ARG_VAR_LDFLAGS()dnl
|
|
_AC_ARG_VAR_CPPFLAGS()dnl
|
|
m4_ifval([$1],
|
|
[AC_CHECK_TOOLS(CC, [$1])],
|
|
[AC_CHECK_TOOL(CC, gcc)
|
|
if test -z "$CC"; then
|
|
AC_CHECK_TOOL(CC, cc)
|
|
fi
|
|
if test -z "$CC"; then
|
|
AC_CHECK_PROG(CC, cc, cc, , , /usr/ucb/cc)
|
|
fi
|
|
if test -z "$CC"; then
|
|
AC_CHECK_TOOLS(CC, cl)
|
|
fi
|
|
])
|
|
|
|
test -z "$CC" && AC_MSG_FAILURE([no acceptable C compiler found in \$PATH])
|
|
|
|
# Provide some information about the compiler.
|
|
echo "$as_me:$LINENO:" \
|
|
"checking for _AC_LANG compiler version" >&AS_MESSAGE_LOG_FD
|
|
ac_compiler=`set X $ac_compile; echo $[2]`
|
|
_AC_EVAL([$ac_compiler --version </dev/null >&AS_MESSAGE_LOG_FD])
|
|
_AC_EVAL([$ac_compiler -v </dev/null >&AS_MESSAGE_LOG_FD])
|
|
_AC_EVAL([$ac_compiler -V </dev/null >&AS_MESSAGE_LOG_FD])
|
|
|
|
m4_expand_once([_AC_COMPILER_EXEEXT])[]dnl
|
|
m4_expand_once([_AC_COMPILER_OBJEXT])[]dnl
|
|
_AC_LANG_COMPILER_GNU
|
|
GCC=`test $ac_compiler_gnu = yes && echo yes`
|
|
_AC_PROG_CC_G
|
|
_AC_PROG_CC_STDC
|
|
# Some people use a C++ compiler to compile C. Since we use `exit',
|
|
# in C++ we need to declare it. In case someone uses the same compiler
|
|
# for both compiling C and C++ we need to have the C++ compiler decide
|
|
# the declaration of exit, since it's the most demanding environment.
|
|
_AC_COMPILE_IFELSE([@%:@ifndef __cplusplus
|
|
choke me
|
|
@%:@endif],
|
|
[_AC_PROG_CXX_EXIT_DECLARATION])
|
|
AC_LANG_POP(C)dnl
|
|
[]_m4_defun_epi([AC_PROG_CC])
|
|
T29,95
|
|
AC_LANG_BOOL_COMPILE_TRY(C++)AC_LANG_PROGRAM([$1], [static int test_array @<:@1 - 2 * !($2)@:>@;
|
|
test_array @<:@0@:>@ = 0
|
|
])
|
|
T15,247
|
|
AC_FUNC_FNMATCH_m4_defun_pro([AC_FUNC_FNMATCH])_AC_FUNC_FNMATCH_IF([POSIX], [ac_cv_func_fnmatch_works],
|
|
[AC_DEFINE([HAVE_FNMATCH], 1,
|
|
[Define to 1 if your system has a working POSIX `fnmatch'
|
|
function.])])
|
|
[]_m4_defun_epi([AC_FUNC_FNMATCH])
|
|
T12,172
|
|
AC_DYNIX_SEQ_m4_defun_pro([AC_DYNIX_SEQ])AC_DIAGNOSE([obsolete], [The macro `AC_DYNIX_SEQ' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_FUNC_GETMNTENT[]_m4_defun_epi([AC_DYNIX_SEQ])
|
|
T27,1555
|
|
AC_SYS_RESTARTABLE_SYSCALLS_m4_defun_pro([AC_SYS_RESTARTABLE_SYSCALLS])AC_DIAGNOSE([obsolete],
|
|
[$0: AC_SYS_RESTARTABLE_SYSCALLS is useful only when supporting very
|
|
old systems that lack `sigaction' and `SA_RESTART'. Don't bother with
|
|
this macro unless you need to support very old systems like 4.2BSD and
|
|
SVR3.])dnl
|
|
AC_REQUIRE([AC_HEADER_SYS_WAIT])dnl
|
|
AC_CHECK_HEADERS(unistd.h)
|
|
AC_CACHE_CHECK(for restartable system calls, ac_cv_sys_restartable_syscalls,
|
|
[AC_RUN_IFELSE([AC_LANG_SOURCE(
|
|
[/* Exit 0 (true) if wait returns something other than -1,
|
|
i.e. the pid of the child, which means that wait was restarted
|
|
after getting the signal. */
|
|
|
|
#include <sys/types.h>
|
|
#include <signal.h>
|
|
#if HAVE_UNISTD_H
|
|
# include <unistd.h>
|
|
#endif
|
|
#if HAVE_SYS_WAIT_H
|
|
# include <sys/wait.h>
|
|
#endif
|
|
|
|
/* Some platforms explicitly require an extern "C" signal handler
|
|
when using C++. */
|
|
#ifdef __cplusplus
|
|
extern "C" void ucatch (int dummy) { }
|
|
#else
|
|
void ucatch (dummy) int dummy; { }
|
|
#endif
|
|
|
|
int
|
|
main ()
|
|
{
|
|
int i = fork (), status;
|
|
|
|
if (i == 0)
|
|
{
|
|
sleep (3);
|
|
kill (getppid (), SIGINT);
|
|
sleep (3);
|
|
exit (0);
|
|
}
|
|
|
|
signal (SIGINT, ucatch);
|
|
|
|
status = wait (&i);
|
|
if (status == -1)
|
|
wait (&i);
|
|
|
|
exit (status == -1);
|
|
}])],
|
|
[ac_cv_sys_restartable_syscalls=yes],
|
|
[ac_cv_sys_restartable_syscalls=no])])
|
|
if test $ac_cv_sys_restartable_syscalls = yes; then
|
|
AC_DEFINE(HAVE_RESTARTABLE_SYSCALLS, 1,
|
|
[Define to 1 if system calls automatically restart after
|
|
interruption by a signal.])
|
|
fi
|
|
[]_m4_defun_epi([AC_SYS_RESTARTABLE_SYSCALLS])
|
|
T15,0
|
|
AC_LIST_HEADERS
|
|
T12,21
|
|
AC_LANG_CASEm4_case(_AC_LANG, $@)
|
|
T36,22
|
|
m4_location(AC_CONFIG_COMMANDS_POST)autoconf/status.m4:347
|
|
T27,95
|
|
AC_LANG_BOOL_COMPILE_TRY(C)AC_LANG_PROGRAM([$1], [static int test_array @<:@1 - 2 * !($2)@:>@;
|
|
test_array @<:@0@:>@ = 0
|
|
])
|
|
T25,23
|
|
m4_location(AC_ST_BLOCKS)autoconf/oldnames.m4:98
|
|
T28,23
|
|
m4_location(AC_PROG_F77_C_O)autoconf/fortran.m4:486
|
|
T8,56
|
|
AS_ERROR{ AS_MESSAGE([error: $1], [2])
|
|
AS_EXIT([$2]); }[]dnl
|
|
|
|
T21,658
|
|
AC_FUNC_CLOSEDIR_VOID_m4_defun_pro([AC_FUNC_CLOSEDIR_VOID])AC_REQUIRE([AC_HEADER_DIRENT])dnl
|
|
AC_CACHE_CHECK([whether closedir returns void],
|
|
[ac_cv_func_closedir_void],
|
|
[AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT
|
|
#include <$ac_header_dirent>
|
|
#ifndef __cplusplus
|
|
int closedir ();
|
|
#endif
|
|
],
|
|
[[exit (closedir (opendir (".")) != 0);]])],
|
|
[ac_cv_func_closedir_void=no],
|
|
[ac_cv_func_closedir_void=yes],
|
|
[ac_cv_func_closedir_void=yes])])
|
|
if test $ac_cv_func_closedir_void = yes; then
|
|
AC_DEFINE(CLOSEDIR_VOID, 1,
|
|
[Define to 1 if the `closedir' function returns void instead
|
|
of `int'.])
|
|
fi
|
|
[]_m4_defun_epi([AC_FUNC_CLOSEDIR_VOID])
|
|
T27,24
|
|
m4_location(AC_FC_WRAPPERS)autoconf/fortran.m4:1063
|
|
T12,96
|
|
AH_CHECK_LIBAH_TEMPLATE(AS_TR_CPP(HAVE_LIB$1),
|
|
[Define to 1 if you have the `]$1[' library (-l]$1[).])
|
|
T23,165
|
|
AH_CHECK_HEADERS_DIRENTAC_FOREACH([AC_Header], [$1],
|
|
[AH_TEMPLATE(AS_TR_CPP(HAVE_[]AC_Header),
|
|
[Define to 1 if you have the <]AC_Header[> header file, and
|
|
it defines `DIR'.])])
|
|
T25,24
|
|
m4_location(AC_PROG_LN_S)autoconf/programs.m4:453
|
|
T31,443
|
|
_AC_SYS_LARGEFILE_TEST_INCLUDES@%:@include <sys/types.h>
|
|
/* Check that off_t can represent 2**63 - 1 correctly.
|
|
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
|
since some C++ compilers masquerading as C compilers
|
|
incorrectly reject 9223372036854775807. */
|
|
@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
|
int off_t_is_large[[(LARGE_OFF_T % 2147483629 == 721
|
|
&& LARGE_OFF_T % 2147483647 == 1)
|
|
? 1 : -1]];[]dnl
|
|
|
|
T15,178
|
|
AC_TEST_PROGRAM_m4_defun_pro([AC_TEST_PROGRAM])AC_DIAGNOSE([obsolete], [The macro `AC_TEST_PROGRAM' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_TRY_RUN($@)[]_m4_defun_epi([AC_TEST_PROGRAM])
|
|
T14,1121
|
|
AC_FC_FREEFORMm4_provide_if([AC_FC_FREEFORM],
|
|
[m4_warn([syntax], [AC_FC_FREEFORM invoked multiple times])],
|
|
[_m4_defun_pro([AC_FC_FREEFORM])AC_LANG_ASSERT([Fortran])dnl
|
|
AC_CACHE_CHECK([for Fortran flag needed to allow free-form source],
|
|
ac_cv_fc_freeform,
|
|
[ac_cv_fc_freeform=unknown
|
|
ac_fc_freeform_FCFLAGS_save=$FCFLAGS
|
|
for ac_flag in none -ffree-form -FR -free -qfree -Mfree -Mfreeform \
|
|
-freeform "-f free"
|
|
do
|
|
test "x$ac_flag" != xnone && FCFLAGS="$ac_fc_freeform_FCFLAGS_save $ac_flag"
|
|
AC_COMPILE_IFELSE([
|
|
program freeform
|
|
! FIXME: how to best confuse non-freeform compilers?
|
|
print *, 'Hello ', &
|
|
'world.'
|
|
end],
|
|
[ac_cv_fc_freeform=$ac_flag; break])
|
|
done
|
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
FCFLAGS=$ac_fc_freeform_FCFLAGS_save
|
|
])
|
|
if test "x$ac_cv_fc_freeform" = xunknown; then
|
|
m4_default([$2],
|
|
[AC_MSG_ERROR([Fortran does not accept free-form source], 77)])
|
|
else
|
|
if test "x$ac_cv_fc_freeform" != xnone; then
|
|
FCFLAGS="$FCFLAGS $ac_cv_fc_freeform"
|
|
fi
|
|
$1
|
|
fi
|
|
[]_m4_defun_epi([AC_FC_FREEFORM])])
|
|
T27,23
|
|
m4_location(AC_HEADER_STDC)autoconf/headers.m4:620
|
|
T18,154
|
|
AC_DEFINE_UNQUOTEDAC_DEFINE_TRACE([$1])dnl
|
|
m4_ifval([$3], [AH_TEMPLATE([$1], [$3])])dnl
|
|
cat >>confdefs.h <<_ACEOF
|
|
[@%:@define] $1 m4_if($#, 2, [$2], $#, 3, [$2], 1)
|
|
_ACEOF
|
|
|
|
T27,23
|
|
m4_location(AC_HELP_STRING)autoconf/general.m4:219
|
|
T26,24
|
|
m4_location(AC_CHECK_PROG)autoconf/programs.m4:116
|
|
T24,1686
|
|
_AC_CHECK_HEADER_MONGRELAS_VAR_PUSHDEF([ac_Header], [ac_cv_header_$1])dnl
|
|
AS_VAR_SET_IF(ac_Header,
|
|
[AC_CACHE_CHECK([for $1], ac_Header, [])],
|
|
[# Is the header compilable?
|
|
AC_MSG_CHECKING([$1 usability])
|
|
AC_COMPILE_IFELSE([AC_LANG_SOURCE([AC_INCLUDES_DEFAULT([$4])
|
|
@%:@include <$1>])],
|
|
[ac_header_compiler=yes],
|
|
[ac_header_compiler=no])
|
|
AC_MSG_RESULT([$ac_header_compiler])
|
|
|
|
# Is the header present?
|
|
AC_MSG_CHECKING([$1 presence])
|
|
AC_PREPROC_IFELSE([AC_LANG_SOURCE([@%:@include <$1>])],
|
|
[ac_header_preproc=yes],
|
|
[ac_header_preproc=no])
|
|
AC_MSG_RESULT([$ac_header_preproc])
|
|
|
|
# So? What about this header?
|
|
case $ac_header_compiler:$ac_header_preproc:$ac_[]_AC_LANG_ABBREV[]_preproc_warn_flag in
|
|
yes:no: )
|
|
AC_MSG_WARN([$1: accepted by the compiler, rejected by the preprocessor!])
|
|
AC_MSG_WARN([$1: proceeding with the compiler's result])
|
|
ac_header_preproc=yes
|
|
;;
|
|
no:yes:* )
|
|
AC_MSG_WARN([$1: present but cannot be compiled])
|
|
AC_MSG_WARN([$1: check for missing prerequisite headers?])
|
|
AC_MSG_WARN([$1: see the Autoconf documentation])
|
|
AC_MSG_WARN([$1: section "Present But Cannot Be Compiled"])
|
|
AC_MSG_WARN([$1: proceeding with the preprocessor's result])
|
|
AC_MSG_WARN([$1: in the future, the compiler will take precedence])
|
|
(
|
|
AS_BOX([Report this to ]m4_ifset([AC_PACKAGE_BUGREPORT],
|
|
[AC_PACKAGE_BUGREPORT],
|
|
[the AC_PACKAGE_NAME lists. ]))
|
|
) |
|
|
sed "s/^/$as_me: WARNING: /" >&2
|
|
;;
|
|
esac
|
|
AC_CACHE_CHECK([for $1], ac_Header,
|
|
[AS_VAR_SET(ac_Header, $ac_header_preproc)])
|
|
])dnl ! set ac_HEADER
|
|
AS_IF([test AS_VAR_GET(ac_Header) = yes], [$2], [$3])[]dnl
|
|
AS_VAR_POPDEF([ac_Header])dnl
|
|
|
|
T35,23
|
|
m4_location(_AC_FC_LIBRARY_LDFLAGS)autoconf/fortran.m4:700
|
|
T17,1949
|
|
_AC_PATH_X_DIRECT# Standard set of common directories for X headers.
|
|
# Check X11 before X11Rn because it is often a symlink to the current release.
|
|
ac_x_header_dirs='
|
|
/usr/X11/include
|
|
/usr/X11R6/include
|
|
/usr/X11R5/include
|
|
/usr/X11R4/include
|
|
|
|
/usr/include/X11
|
|
/usr/include/X11R6
|
|
/usr/include/X11R5
|
|
/usr/include/X11R4
|
|
|
|
/usr/local/X11/include
|
|
/usr/local/X11R6/include
|
|
/usr/local/X11R5/include
|
|
/usr/local/X11R4/include
|
|
|
|
/usr/local/include/X11
|
|
/usr/local/include/X11R6
|
|
/usr/local/include/X11R5
|
|
/usr/local/include/X11R4
|
|
|
|
/usr/X386/include
|
|
/usr/x386/include
|
|
/usr/XFree86/include/X11
|
|
|
|
/usr/include
|
|
/usr/local/include
|
|
/usr/unsupported/include
|
|
/usr/athena/include
|
|
/usr/local/x11r5/include
|
|
/usr/lpp/Xamples/include
|
|
|
|
/usr/openwin/include
|
|
/usr/openwin/share/include'
|
|
|
|
if test "$ac_x_includes" = no; then
|
|
# Guess where to find include files, by looking for a specified header file.
|
|
# First, try using that file with no special directory specified.
|
|
AC_PREPROC_IFELSE([AC_LANG_SOURCE([@%:@include <X11/Xlib.h>])],
|
|
[# We can compile using X headers with no special include directory.
|
|
ac_x_includes=],
|
|
[for ac_dir in $ac_x_header_dirs; do
|
|
if test -r "$ac_dir/X11/Xlib.h"; then
|
|
ac_x_includes=$ac_dir
|
|
break
|
|
fi
|
|
done])
|
|
fi # $ac_x_includes = no
|
|
|
|
if test "$ac_x_libraries" = no; then
|
|
# Check for the libraries.
|
|
# See if we find them without any special options.
|
|
# Don't add to $LIBS permanently.
|
|
ac_save_LIBS=$LIBS
|
|
LIBS="-lX11 $LIBS"
|
|
AC_LINK_IFELSE([AC_LANG_PROGRAM([@%:@include <X11/Xlib.h>],
|
|
[XrmInitialize ()])],
|
|
[LIBS=$ac_save_LIBS
|
|
# We can link X programs with no special library path.
|
|
ac_x_libraries=],
|
|
[LIBS=$ac_save_LIBS
|
|
for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
|
|
do
|
|
# Don't even attempt the hair of trying to link an X program!
|
|
for ac_extension in a so sl; do
|
|
if test -r $ac_dir/libX11.$ac_extension; then
|
|
ac_x_libraries=$ac_dir
|
|
break 2
|
|
fi
|
|
done
|
|
done])
|
|
fi # $ac_x_libraries = no
|
|
|
|
F10,7
|
|
m4_dumpdefdumpdef
|
|
T8,101
|
|
m4_stripm4_bpatsubsts([[$1]],
|
|
[[ ]+], [ ],
|
|
[^\(..\) ], [\1],
|
|
[ \(..\)$], [\1])
|
|
T30,23
|
|
m4_location(AC_PREFIX_PROGRAM)autoconf/general.m4:455
|
|
T25,201
|
|
_AC_COMPILER_EXEEXT_CROSS# Check the compiler produces executables we can run. If not, either
|
|
# the compiler is broken, or we cross compile.
|
|
AC_MSG_CHECKING([whether we are cross compiling])
|
|
AC_MSG_RESULT([$cross_compiling])
|
|
|
|
T15,183
|
|
AC_HEADER_CHECK_m4_defun_pro([AC_HEADER_CHECK])AC_DIAGNOSE([obsolete], [The macro `AC_HEADER_CHECK' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_CHECK_HEADER($@)[]_m4_defun_epi([AC_HEADER_CHECK])
|
|
T13,88
|
|
AC_TYPE_PID_T_m4_defun_pro([AC_TYPE_PID_T])AC_CHECK_TYPE(pid_t, int)[]_m4_defun_epi([AC_TYPE_PID_T])
|
|
T27,17
|
|
m4_location(AC_PROG_CC_C_O)autoconf/c.m4:601
|
|
T14,2265
|
|
AC_C_BIGENDIAN_m4_defun_pro([AC_C_BIGENDIAN])AC_CACHE_CHECK(whether byte ordering is bigendian, ac_cv_c_bigendian,
|
|
[# See if sys/param.h defines the BYTE_ORDER macro.
|
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <sys/types.h>
|
|
#include <sys/param.h>
|
|
],
|
|
[#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
|
|
bogus endian macros
|
|
#endif
|
|
])],
|
|
[# It does; now see whether it defined to BIG_ENDIAN or not.
|
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <sys/types.h>
|
|
#include <sys/param.h>
|
|
], [#if BYTE_ORDER != BIG_ENDIAN
|
|
not big endian
|
|
#endif
|
|
])], [ac_cv_c_bigendian=yes], [ac_cv_c_bigendian=no])],
|
|
[# It does not; compile a test program.
|
|
AC_RUN_IFELSE(
|
|
[AC_LANG_SOURCE([[int
|
|
main ()
|
|
{
|
|
/* Are we little or big endian? From Harbison&Steele. */
|
|
union
|
|
{
|
|
long l;
|
|
char c[sizeof (long)];
|
|
} u;
|
|
u.l = 1;
|
|
exit (u.c[sizeof (long) - 1] == 1);
|
|
}]])],
|
|
[ac_cv_c_bigendian=no],
|
|
[ac_cv_c_bigendian=yes],
|
|
[# try to guess the endianness by grepping values into an object file
|
|
ac_cv_c_bigendian=unknown
|
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
|
|
[[short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
|
|
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
|
|
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
|
|
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
|
|
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
|
|
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }]],
|
|
[[ _ascii (); _ebcdic (); ]])],
|
|
[if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
|
|
ac_cv_c_bigendian=yes
|
|
fi
|
|
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
|
|
if test "$ac_cv_c_bigendian" = unknown; then
|
|
ac_cv_c_bigendian=no
|
|
else
|
|
# finding both strings is unlikely to happen, but who knows?
|
|
ac_cv_c_bigendian=unknown
|
|
fi
|
|
fi])])])])
|
|
case $ac_cv_c_bigendian in
|
|
yes)
|
|
m4_default([$1],
|
|
[AC_DEFINE([WORDS_BIGENDIAN], 1,
|
|
[Define to 1 if your processor stores words with the most significant
|
|
byte first (like Motorola and SPARC, unlike Intel and VAX).])]) ;;
|
|
no)
|
|
$2 ;;
|
|
*)
|
|
m4_default([$3],
|
|
[AC_MSG_ERROR([unknown endianness
|
|
presetting ac_cv_c_bigendian=no (or yes) will help])]) ;;
|
|
esac
|
|
[]_m4_defun_epi([AC_C_BIGENDIAN])
|
|
T13,327
|
|
AC_CHECK_FUNC_m4_defun_pro([AC_CHECK_FUNC])AS_VAR_PUSHDEF([ac_var], [ac_cv_func_$1])dnl
|
|
AC_CACHE_CHECK([for $1], ac_var,
|
|
[AC_LINK_IFELSE([AC_LANG_FUNC_LINK_TRY([$1])],
|
|
[AS_VAR_SET(ac_var, yes)],
|
|
[AS_VAR_SET(ac_var, no)])])
|
|
AS_IF([test AS_VAR_GET(ac_var) = yes], [$2], [$3])dnl
|
|
AS_VAR_POPDEF([ac_var])dnl
|
|
[]_m4_defun_epi([AC_CHECK_FUNC])
|
|
T14,267
|
|
AC_CHECK_FILES_m4_defun_pro([AC_CHECK_FILES])AC_FOREACH([AC_FILE_NAME], [$1],
|
|
[AC_CHECK_FILE(AC_FILE_NAME,
|
|
[AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_[]AC_FILE_NAME), 1,
|
|
[Define to 1 if you have the
|
|
file `]AC_File['.])
|
|
$2],
|
|
[$3])])[]_m4_defun_epi([AC_CHECK_FILES])
|
|
T25,24
|
|
m4_location(AC_XENIX_DIR)autoconf/specific.m4:467
|
|
T24,24
|
|
m4_location(AC_CYGWIN32)autoconf/oldnames.m4:107
|
|
T13,241
|
|
m4_bpatsubstsm4_if([$#], 0, [m4_fatal([$0: too few arguments: $#])],
|
|
[$#], 1, [m4_fatal([$0: too few arguments: $#: $1])],
|
|
[$#], 2, [m4_builtin([patsubst], $@)],
|
|
[$0(m4_builtin([patsubst], [[$1]], [$2], [$3]),
|
|
m4_shiftn(3, $@))])
|
|
T13,254
|
|
_AS_PATH_WALKAS_REQUIRE([_AS_PATH_SEPARATOR_PREPARE])dnl
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
m4_bmatch([$1], [[:;]],
|
|
[as_dummy="$1"
|
|
for as_dir in $as_dummy],
|
|
[for as_dir in m4_default([$1], [$PATH])])
|
|
do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
$2
|
|
done
|
|
|
|
T28,24
|
|
m4_location(AC_EGREP_HEADER)autoconf/general.m4:2138
|
|
T15,12
|
|
m4_PACKAGE_NAMEGNU Autoconf
|
|
T15,299
|
|
AC_LANG_CALL(C)AC_LANG_PROGRAM([$1
|
|
m4_if([$2], [main], ,
|
|
[/* Override any gcc2 internal prototype to avoid an error. */
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
#endif
|
|
/* We use char because int might match the return type of a gcc2
|
|
builtin and then its argument prototype would still apply. */
|
|
char $2 ();])], [$2 ();])
|
|
T11,175
|
|
AC_F77_FUNC_m4_defun_pro([AC_F77_FUNC])AC_REQUIRE([_AC_F77_NAME_MANGLING])dnl
|
|
AC_LANG_PUSH(Fortran 77)dnl
|
|
_AC_FC_FUNC([$1],[$2])
|
|
AC_LANG_POP(Fortran 77)dnl
|
|
[]_m4_defun_epi([AC_F77_FUNC])
|
|
T24,24
|
|
m4_location(AC_IRIX_SUN)autoconf/specific.m4:479
|
|
T27,23
|
|
m4_location(AC_GETGROUPS_T)autoconf/oldnames.m4:81
|
|
T30,0
|
|
m4_include(autoconf/status.m4)
|
|
T13,212
|
|
_m4_defun_epim4_divert_pop()dnl
|
|
m4_if(_m4_divert_dump, _m4_divert_diversion,
|
|
[m4_undivert([GROW])dnl
|
|
m4_undefine([_m4_divert_dump])])dnl
|
|
m4_expansion_stack_pop()dnl
|
|
m4_popdef([_m4_expanding($1)])dnl
|
|
m4_provide([$1])dnl
|
|
|
|
T33,24
|
|
m4_location(AC_CONFIG_LIBOBJ_DIR)autoconf/general.m4:2386
|
|
T10,256
|
|
AC_PROG_FC_m4_defun_pro([AC_PROG_FC])AC_LANG_PUSH(Fortran)dnl
|
|
AC_ARG_VAR([FC], [Fortran compiler command])dnl
|
|
AC_ARG_VAR([FCFLAGS], [Fortran compiler flags])dnl
|
|
_AC_ARG_VAR_LDFLAGS()dnl
|
|
_AC_PROG_FC([$2], [$1])
|
|
AC_LANG_POP(Fortran)dnl
|
|
[]_m4_defun_epi([AC_PROG_FC])
|
|
T17,188
|
|
AC_PROGRAMS_CHECK_m4_defun_pro([AC_PROGRAMS_CHECK])AC_DIAGNOSE([obsolete], [The macro `AC_PROGRAMS_CHECK' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_CHECK_PROGS($@)[]_m4_defun_epi([AC_PROGRAMS_CHECK])
|
|
T15,176
|
|
AC_F77_WRAPPERS_m4_defun_pro([AC_F77_WRAPPERS])AC_REQUIRE([_AC_F77_NAME_MANGLING])dnl
|
|
AC_LANG_PUSH(Fortran 77)dnl
|
|
_AC_FC_WRAPPERS
|
|
AC_LANG_POP(Fortran 77)dnl
|
|
[]_m4_defun_epi([AC_F77_WRAPPERS])
|
|
T36,20
|
|
m4_location(AC_LANG_PREPROC_REQUIRE)autoconf/lang.m4:338
|
|
T18,222
|
|
_AC_FORTRAN_ASSERT_m4_defun_pro([_AC_FORTRAN_ASSERT])m4_if(_AC_LANG, [Fortran], [],
|
|
[m4_if(_AC_LANG, [Fortran 77], [],
|
|
[m4_fatal([$0: current language is not Fortran: ] _AC_LANG)])])[]_m4_defun_epi([_AC_FORTRAN_ASSERT])
|
|
T25,20
|
|
m4_location(_AC_LANG_SET)autoconf/lang.m4:123
|
|
T22,2
|
|
_m4_divert(PARSE_ARGS)20
|
|
T17,750
|
|
_AC_CONFIG_UNIQUEAC_FOREACH([AC_File], [$1],
|
|
[m4_pushdef([AC_Dest], m4_bpatsubst(AC_File, [:.*]))dnl
|
|
AC_CONFIG_IF_MEMBER(AC_Dest, [AC_LIST_HEADERS],
|
|
[AC_FATAL(`AC_Dest' [is already registered with AC_CONFIG_HEADERS.])])dnl
|
|
AC_CONFIG_IF_MEMBER(AC_Dest, [AC_LIST_LINKS],
|
|
[AC_FATAL(`AC_Dest' [is already registered with AC_CONFIG_LINKS.])])dnl
|
|
AC_CONFIG_IF_MEMBER(AC_Dest, [_AC_LIST_SUBDIRS],
|
|
[AC_FATAL(`AC_Dest' [is already registered with AC_CONFIG_SUBDIRS.])])dnl
|
|
AC_CONFIG_IF_MEMBER(AC_Dest, [AC_LIST_COMMANDS],
|
|
[AC_FATAL(`AC_Dest' [is already registered with AC_CONFIG_COMMANDS.])])dnl
|
|
AC_CONFIG_IF_MEMBER(AC_Dest, [AC_LIST_FILES],
|
|
[AC_FATAL(`AC_Dest' [is already registered with AC_CONFIG_FILES.])])dnl
|
|
m4_popdef([AC_Dest])])dnl
|
|
|
|
T27,153
|
|
AC_LANG_PREPROC(Fortran 77)_m4_defun_pro([AC_LANG_PREPROC(Fortran 77)])m4_warn([syntax],
|
|
[$0: No preprocessor defined for ]_AC_LANG)[]_m4_defun_epi([AC_LANG_PREPROC(Fortran 77)])
|
|
T13,42
|
|
AS_VAR_SET_IFAS_IF([AS_VAR_TEST_SET([$1])], [$2], [$3])
|
|
T23,1262
|
|
AC_FUNC_SELECT_ARGTYPES_m4_defun_pro([AC_FUNC_SELECT_ARGTYPES])AC_CHECK_HEADERS(sys/select.h sys/socket.h)
|
|
AC_CACHE_CHECK([types of arguments for select],
|
|
[ac_cv_func_select_args],
|
|
[for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
|
|
for ac_arg1 in 'int' 'size_t' 'unsigned long' 'unsigned'; do
|
|
for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
|
|
AC_COMPILE_IFELSE(
|
|
[AC_LANG_PROGRAM(
|
|
[AC_INCLUDES_DEFAULT
|
|
#if HAVE_SYS_SELECT_H
|
|
# include <sys/select.h>
|
|
#endif
|
|
#if HAVE_SYS_SOCKET_H
|
|
# include <sys/socket.h>
|
|
#endif
|
|
],
|
|
[extern int select ($ac_arg1,
|
|
$ac_arg234, $ac_arg234, $ac_arg234,
|
|
$ac_arg5);])],
|
|
[ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3])
|
|
done
|
|
done
|
|
done
|
|
# Provide a safe default value.
|
|
: ${ac_cv_func_select_args='int,int *,struct timeval *'}
|
|
])
|
|
ac_save_IFS=$IFS; IFS=','
|
|
set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
|
|
IFS=$ac_save_IFS
|
|
shift
|
|
AC_DEFINE_UNQUOTED(SELECT_TYPE_ARG1, $[1],
|
|
[Define to the type of arg 1 for `select'.])
|
|
AC_DEFINE_UNQUOTED(SELECT_TYPE_ARG234, ($[2]),
|
|
[Define to the type of args 2, 3 and 4 for `select'.])
|
|
AC_DEFINE_UNQUOTED(SELECT_TYPE_ARG5, ($[3]),
|
|
[Define to the type of arg 5 for `select'.])
|
|
rm -f conftest*
|
|
[]_m4_defun_epi([AC_FUNC_SELECT_ARGTYPES])
|
|
T14,59
|
|
AC_MSG_FAILUREAC_MSG_ERROR([$1
|
|
See `config.log' for more details.], [$2])
|
|
T38,23
|
|
m4_location(AC_LANG_COMPILER(Fortran))autoconf/fortran.m4:296
|
|
T6,237
|
|
AC_RSH_m4_defun_pro([AC_RSH])AC_DIAGNOSE([obsolete], [The macro `AC_RSH' is obsolete.
|
|
You should run autoupdate.])dnl
|
|
AC_DIAGNOSE([obsolete], [$0: is no longer supported.
|
|
Remove this warning when you adjust the code.])[]_m4_defun_epi([AC_RSH])
|
|
T22,23
|
|
m4_location(AC_PREFIX)autoconf/oldnames.m4:59
|
|
T22,20
|
|
m4_location(AC_OBJEXT)autoconf/lang.m4:448
|
|
T30,23
|
|
m4_location(AC_HEADER_STDBOOL)autoconf/headers.m4:542
|
|
T15,126
|
|
_m4_dumpdefs_upm4_ifdef([$1],
|
|
[m4_pushdef([_m4_dumpdefs], m4_defn([$1]))dnl
|
|
m4_dumpdef([$1])dnl
|
|
m4_popdef([$1])dnl
|
|
_m4_dumpdefs_up([$1])])
|
|
T18,2754
|
|
_AC_OUTPUT_SUBDIRS
|
|
#
|
|
# CONFIG_SUBDIRS section.
|
|
#
|
|
if test "$no_recursion" != yes; then
|
|
|
|
# Remove --cache-file and --srcdir arguments so they do not pile up.
|
|
ac_sub_configure_args=
|
|
ac_prev=
|
|
for ac_arg in $ac_configure_args; do
|
|
if test -n "$ac_prev"; then
|
|
ac_prev=
|
|
continue
|
|
fi
|
|
case $ac_arg in
|
|
-cache-file | --cache-file | --cache-fil | --cache-fi \
|
|
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
|
ac_prev=cache_file ;;
|
|
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
|
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
|
|
| --c=*)
|
|
;;
|
|
--config-cache | -C)
|
|
;;
|
|
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
|
ac_prev=srcdir ;;
|
|
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
|
;;
|
|
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
|
ac_prev=prefix ;;
|
|
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
|
;;
|
|
*) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
|
|
esac
|
|
done
|
|
|
|
# Always prepend --prefix to ensure using the same prefix
|
|
# in subdir configurations.
|
|
ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
|
|
|
|
ac_popdir=`pwd`
|
|
for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
|
|
|
|
# Do not complain, so a configure script can configure whichever
|
|
# parts of a large source tree are present.
|
|
test -d $srcdir/$ac_dir || continue
|
|
|
|
AC_MSG_NOTICE([configuring in $ac_dir])
|
|
AS_MKDIR_P(["$ac_dir"])
|
|
_AC_SRCPATHS(["$ac_dir"])
|
|
|
|
cd $ac_dir
|
|
|
|
# Check for guested configure; otherwise get Cygnus style configure.
|
|
if test -f $ac_srcdir/configure.gnu; then
|
|
ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
|
|
elif test -f $ac_srcdir/configure; then
|
|
ac_sub_configure="$SHELL '$ac_srcdir/configure'"
|
|
elif test -f $ac_srcdir/configure.in; then
|
|
ac_sub_configure=$ac_configure
|
|
else
|
|
AC_MSG_WARN([no configuration information is in $ac_dir])
|
|
ac_sub_configure=
|
|
fi
|
|
|
|
# The recursion is here.
|
|
if test -n "$ac_sub_configure"; then
|
|
# Make the cache file name correct relative to the subdirectory.
|
|
case $cache_file in
|
|
[[\\/]]* | ?:[[\\/]]* ) ac_sub_cache_file=$cache_file ;;
|
|
*) # Relative path.
|
|
ac_sub_cache_file=$ac_top_builddir$cache_file ;;
|
|
esac
|
|
|
|
AC_MSG_NOTICE([running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir])
|
|
# The eval makes quoting arguments work.
|
|
eval $ac_sub_configure $ac_sub_configure_args \
|
|
--cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
|
|
AC_MSG_ERROR([$ac_sub_configure failed for $ac_dir])
|
|
fi
|
|
|
|
cd "$ac_popdir"
|
|
done
|
|
fi
|
|
|
|
T10,52
|
|
AC_FOREACHm4_foreach([$1], m4_split(m4_normalize([$2])), [$3])
|
|
T39,39
|
|
m4_location(_AS_PATH_SEPARATOR_PREPARE)/usr/share/autoconf/m4sugar/m4sh.m4:650
|
|
T34,0
|
|
m4_include(autoconf/autoupdate.m4)
|
|
T14,254
|
|
AS_DIRNAME_SED_m4_defun_pro([AS_DIRNAME_SED])echo X[]$1 |
|
|
sed ['/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
|
/^X\(\/\).*/{ s//\1/; q; }
|
|
s/.*/./; q'][]_m4_defun_epi([AS_DIRNAME_SED])
|
|
D-1,0
|
|
|
|
# End of frozen state file
|