2016-07-09 08:37:46 +02:00
|
|
|
# $NetBSD: Makefile,v 1.92 2016/07/09 06:38:04 wiz Exp $
|
2013-10-02 09:25:56 +02:00
|
|
|
#
|
|
|
|
# When updating this package, please update mk/gnu-config/config.guess,
|
|
|
|
# mk/gnu-config/config.sub, and mk/gnu-config/missing as well.
|
1997-10-06 16:06:09 +02:00
|
|
|
|
2012-04-26 22:40:51 +02:00
|
|
|
DISTNAME= autoconf-2.69
|
2016-07-09 08:37:46 +02:00
|
|
|
PKGREVISION= 7
|
2002-10-03 21:30:58 +02:00
|
|
|
CATEGORIES= devel
|
2003-12-16 22:25:53 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=autoconf/}
|
1997-10-06 16:06:09 +02:00
|
|
|
|
2003-07-17 23:21:03 +02:00
|
|
|
MAINTAINER= wiz@NetBSD.org
|
2002-10-03 21:30:58 +02:00
|
|
|
HOMEPAGE= http://www.gnu.org/software/autoconf/autoconf.html
|
|
|
|
COMMENT= Generates automatic source code configuration scripts
|
2009-11-23 12:09:36 +01:00
|
|
|
LICENSE= gnu-gpl-v3 AND gnu-fdl-v1.3
|
1998-03-16 12:02:22 +01:00
|
|
|
|
2012-01-23 21:50:13 +01:00
|
|
|
BUILD_DEPENDS+= help2man-[0-9]*:../../converters/help2man
|
|
|
|
|
Update to 2.64.
XXX: Needs m4>=1.4.6, but we use USE_TOOLS+=gm4:run, and I don't see
a way to specify a version there. Please someone fix that :)
On the other hand, 1.4.6 was added to pkgsrc in 09/2006, so I hope
everyone has it by now.
* Major changes in Autoconf 2.64 (2009-07-26) [stable]
Released by Eric Blake, based on git versions 2.63b.*.
** Autoconf now requires GNU M4 1.4.6 or later. Earlier versions of M4
have a bug in regular expression handling that interferes with some
of the speedups provided since Autoconf 2.63. GNU M4 1.4.13 or
later is recommended.
** AS_IF and AS_CASE have been taught to avoid syntax errors even when
given arguments that expand to just whitespace.
** The following documented autoconf macros are new:
AC_ERLANG_SUBST_ERTS_VER
** The autoheader tool now understands m4 macro arguments passed to
AC_DEFINE and AC_DEFINE_UNQUOTED.
** Ensure AT_CHECK can support commands that include a # given with
proper m4 quoting. For shell comments, this is a new feature; for
non-shell comments, this fixes a regression introduced in 2.63b.
Additionally, AT_CHECK correctly supplies shell escapes for
metacharacters occurring in m4 macro expansions within the expected
stdout and stderr parameters.
** The macro AT_CHECK now understands the concept of hard failure. If
a test exits with an unexpected status 99, cleanup actions for the
test are inhibited and the test is treated as a failure regardless
of AT_XFAIL_IF. It also understands the new directives
ignore-nolog, stdout-nolog, and stderr-nolog.
** The following documented autotest macros are new:
AT_CHECK_UNQUOTED AT_FAIL_IF AT_SKIP_IF
** The following documented m4sugar macros are new:
m4_argn m4_copy_force m4_default_nblank m4_default_nblank_quoted
m4_ifblank m4_ifnblank m4_rename_force
** The autoconf testsuite now exercises all Erlang macros.
* Major changes in Autoconf 2.63b (2009-03-31) [beta]
Released by Eric Blake, based on git versions 2.63.*.
** The manual is now shipped under the terms of the GNU FDL 1.3.
** AC_REQUIRE now detects the case of an outer macro which first expands
then later indirectly requires the same inner macro. Previously,
this case led to silent out-of-order expansion (bug present since
2.50); it now issues a syntax warning, and duplicates the expansion
of the inner macro to guarantee dependencies have been met. See
the manual for advice on how to refactor macros in order to avoid
the bug in earlier autoconf versions and avoid increased script
size in the current version.
** AC_DEFUN_ONCE has improved semantics. Previously, a macro declared
with AC_DEFUN_ONCE warned on a second invocation; and out-of-order
expansion was still possible. Now, dependencies are guaranteed,
and subsequent invocations are a silent no-op. This makes
AC_DEFUN_ONCE an ideal macro for silencing AC_REQUIRE warnings.
** The following macros are now defined with AC_DEFUN_ONCE. This means
a subtle change in semantics; previously, an AC_DEFUN macro could
expand one of these macros multiple times or surround the macro
inside shell conditional text to bypass the effects of these
macros, but now the macro will expand exactly once, and prior to
the start of any enclosing AC_DEFUN macro:
AC_CANONICAL_BUILD AC_CANONICAL_HOST AC_CANONICAL_TARGET
AC_HEADER_ASSERT AC_PROG_INSTALL AC_PROG_MKDIR_P
AC_USE_SYSTEM_EXTENSIONS
** AC_LANG_ERLANG works once again (regression introduced in 2.61a).
** AC_HEADER_ASSERT is fixed so that './configure --enable-assert' no
longer mistakenly disables assertions.
** AC_INIT now takes an optional fifth parameter that can be used to
set AC_PACKAGE_URL, a URL for the package's home page; the URL is
used in `configure --help' and is also available via AC_DEFINE.
** Autotest testsuites accept an option --jobs[=N] for parallel testing.
This feature is still in testing, and may not work on every
platform, help in improving it would be appreciated.
** Autotest testsuites do not attempt to write startup error messages
to the log file before that is opened (regression introduced in 2.63).
** Configure scripts now use shell functions. This feature leads to
smaller configure files and faster execution.
** Present But Cannot Be Compiled: Autoconf will now proceed with
the compiler's result if a header is present but cannot be compiled.
The warning is still printed, and you should really fix it by
providing a fourth parameter to AC_CHECK_HEADER/AC_CHECK_HEADERS.
** Autoreconf added aclocal to the set of programs affected by the
`autoreconf -I dir' option.
** The following documented m4sugar macros are new:
m4_chomp m4_chomp_all m4_cleardivert m4_curry m4_default_quoted
m4_esyscmd_s m4_map_args m4_map_args_pair m4_map_args_sep
m4_map_args_w m4_set_map m4_set_map_sep m4_stack_foreach
m4_stack_foreach_lifo m4_stack_foreach_sep
m4_stack_foreach_sep_lifo
** The following m4sugar macros are documented now, but in some cases
with slightly different semantics than what the previous
undocumented version had:
m4_copy m4_dumpdefs m4_rename m4_version_prereq
** The m4sugar macro m4_expand has been taught to handle unterminated
comments and shell case statements. As a result, it is used
internally in more places, such as AC_DEFINE and AT_CHECK. Most
uses of AC_DEFINE and AT_CHECK should not behave any differently;
however, it may be necessary to add double-quoting around
unbalanced `(' where single-quoting used to be sufficient.
** The following documented m4sh macros are new:
AS_INIT_GENERATED AS_LINENO_PREPARE AS_ME_PREPARE AS_SET_STATUS
AS_VAR_APPEND AS_VAR_ARITH AS_VAR_COPY
** The following m4sh macros are documented now, but in some cases
with slightly different semantics than what the previous
undocumented version had:
AS_ECHO AS_ECHO_N AS_ESCAPE AS_EXIT AS_LITERAL_IF AS_UNSET
AS_VAR_IF AS_VAR_POPDEF AS_VAR_PUSHDEF AS_VAR_SET AS_VAR_SET_IF
AS_VAR_TEST_SET AS_VERSION_COMPARE
** The m4sh macros AS_IF and AS_CASE can now be used in shell lists.
The responsibility for supplying a trailing newline now belongs to
the call site, but since most users did not add dnl, this generally
results in fewer empty lines in configure.
2009-08-09 23:13:23 +02:00
|
|
|
# XXX: needs m4>1.4.6; wants m4>1.4.13
|
2005-07-16 21:10:37 +02:00
|
|
|
USE_TOOLS+= gm4:run perl:run
|
1998-03-16 12:02:22 +01:00
|
|
|
|
2002-10-03 21:30:58 +02:00
|
|
|
# The next line is for conflicts with old versions of this package,
|
|
|
|
# which had autoconf-devel as PKGNAME.
|
2002-02-01 18:09:35 +01:00
|
|
|
CONFLICTS= autoconf-devel-[0-9]*
|
2011-12-14 03:03:25 +01:00
|
|
|
# old versions of devel/gdb* installed standards.info as well.
|
|
|
|
CONFLICTS+= gdb<5.3
|
|
|
|
CONFLICTS+= gdb>6<6.2.1nb5
|
2002-02-01 18:09:35 +01:00
|
|
|
|
2004-02-11 01:39:05 +01:00
|
|
|
USE_LANGUAGES= # empty
|
2001-11-28 06:20:38 +01:00
|
|
|
GNU_CONFIGURE= YES
|
2002-10-03 21:30:58 +02:00
|
|
|
CONFIGURE_ARGS+= --without-lispdir
|
2009-11-23 15:53:27 +01:00
|
|
|
CONFIGURE_ENV+= ac_cv_prog_TEST_EMACS=no
|
2001-11-28 06:20:38 +01:00
|
|
|
|
2002-10-03 21:30:58 +02:00
|
|
|
TEXINFO_REQD= 4.0
|
Update to 2.60:
* Major changes in Autoconf 2.60
Released 2006-06-23, by Ralf Wildenhues.
** Autoconf no longer depends on whether m4wrap is FIFO (as Posix requires)
or LIFO (as in GNU M4 1.4.x). GNU M4 2.0 is expected to conform to Posix
here, so m4wrap/m4_wrap users should no longer depend on LIFO behavior.
** Provide a way to turn off warnings about the changed directory variables.
* Major changes in Autoconf 2.59d
Released 2006-06-05, by Ralf Wildenhues.
** GNU make now recommended for VPATH builds
INSTALL now suggests VPATH builds (e.g., "sh ../srcdir/configure")
only if you use GNU make. In practice, other 'make' implementations
have too many subtle incompatibilities in their support for VPATH.
Many packages (including Autoconf itself) are portable to other
'make' implementations, but some packages are not, and recommending
GNU make keeps the installation instructions simpler.
** Even more safety checks for the new Directory variables:
Warn about suspicious `${datarootdir}' found in config files output.
** AC_TRY_COMMAND, AC_TRY_EVAL, ac_config_guess, ac_config_sub, ac_configure
These never-documented macros and variables have been marked with
comments saying that they may be removed in a future release,
because their use can lead to unintended code being executed.
If you need functionality that only these macros or variables
currently supply, please write bug-autoconf@gnu.org.
** AC_SUBST, AC_DEFINE
Literal arguments to these are passed to m4_pattern_allow now.
** AC_PROG_CC_STDC
Passing 'ac_cv_prog_cc_stdc=no' to 'configure' now sets ac_cv_prog_cc_c99
and ac_cv_prog_cc_c89 to 'no' as well, for backward compatibility with
obsolete K&R tests in the Automake test suite.
** AC_PROG_CXX_C_O
New macro.
** AC_PROG_MKDIR_P
New macro.
** AS_MKDIR_P
Now more robust with special characters in file names, or when
multiple processes create the same directory at the same time.
** Obsolescent macros
The documentation now says that the following macros are obsolescent:
they test for problems that are so old that they are no longer of
practical importance on current systems.
AC_C_BACKSLASH_A AC_FUNC_MEMCMP AC_HEADER_DIRENT
AC_C_CONST AC_FUNC_SELECT_ARGTYPES AC_HEADER_STAT
AC_C_PROTOTYPES AC_FUNC_SETPGRP AC_HEADER_STDC
AC_C_STRINGIZE AC_FUNC_SETVBUF_REVERSED AC_HEADER_SYS_WAIT
AC_C_VOLATILE AC_FUNC_STAT AC_HEADER_TIME
AC_FUNC_CLOSEDIR_VOID AC_FUNC_STRFTIME AC_ISC_POSIX
AC_FUNC_GETPGRP AC_FUNC_UTIME_NULL AC_PROG_GCC_TRADITIONAL
AC_FUNC_LSTAT AC_FUNC_VPRINTF AC_STRUCT_TM
New programs need not use these macros. We have no current plans to
remove them.
** autoreconf
For compatibility with future Libtool 2.0, autoreconf will invoke
libtoolize with the option `--ltdl' now, if LT_CONFIG_LTDL_DIR is
used.
* Major changes in Autoconf 2.59c
Released 2006-04-12, by Ralf Wildenhues.
** The configure command now redirects standard input from /dev/null,
to help avoid problems with subsidiary commands that might mistakenly
read standard input. AS_ORIGINAL_STDIN_FD points to the original
standard input before this redirection, if you really want configure to
read from standard input.
** Directory variables adjusted to recent changes in the GNU Coding Standards.
The following directory variables are new:
datarootdir read-only architecture-independent data root [PREFIX/share]
localedir locale-specific message catalogs [DATAROOTDIR/locale]
docdir documentation root [DATAROOTDIR/doc/PACKAGE]
htmldir html documentation [DOCDIR]
dvidir dvi documentation [DOCDIR]
pdfdir pdf documentation [DOCDIR]
psdir ps documentation [DOCDIR]
The following variables have new default values:
datadir read-only architecture-independent data [DATAROOTDIR]
infodir info documentation [DATAROOTDIR/info]
mandir man documentation [DATAROOTDIR/man]
This means that if you use any of `@datadir@', `@infodir@', or
`@mandir@' in a file, you will have to ensure `${datarootdir}' is
defined in this file. As a temporary measure, if any of those are
found but no mention of `datarootdir', the substitutions will be
replaced with values that do not contain `${datarootdir}', and a
warning will be issued.
** @top_builddir@ is now a dir name: it is always nonempty and doesn't have
a trailing slash. Similar change will be made to ac_top_builddir in a
future release; the old style value, which matches (../)*, is (and will
continue to be) available as ac_top_build_prefix.
** AC_C_TYPEOF
New macro to check for support of 'typeof' syntax a la GNU C.
** AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_HEADERS_ONCE
New "once-only" variants of commonly-used macros, to make 'configure'
smaller and faster in common cases.
** AC_FUNC_STRTOLD
New macro to check for strtold with C99 semantics.
** AC_HEADER_ASSERT
New macro that lets builder disable assertions at 'configure'-time.
** AC_PATH_X
Now checks for X11/Xlib.h and XrmInitialize (X proper) rather than
X11/Intrinsic.h and XtMalloc (Xt).
** AC_PRESERVE_HELP_ORDER
New macro that causes `configure' to display help strings for AC_ARG_ENABLE
and AC_ARG_WITH arguments in one region, in the order defined. The default
behavior is to group options of each classes separately.
** AC_PROG_CC, AC_PROG_CXX
No longer automatically arrange to declare the 'exit' function of C,
when a C++ compiler is used. Standard Autoconf macros no longer use
'exit', so this is no longer an issue for them. If you use C++, and
want to call 'exit', you'll have to arrange for its declaration
yourself. But we now suggest you return from 'main' instead.
** AC_PROG_CC_C89, AC_PROG_CC_C99
New macros for ISO C99 support. AC_PROG_CC_C89 and AC_PROG_CC_C99
check for ANSI C89 and ISO C99 support respectively.
** AC_PROG_CC_STDC
Has been unobsoleted, and will check if the compiler supports ISO
C99, falling back to ANSI C89 if not. ac_cv_prog_cc_stdc is
retained for backwards compatibility, assuming the value of
ac_cv_prog_cc_c99 or ac_cv_prog_cc_c89 (whichever is valid, in
that order).
** AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE
New macros for checking commonly-used members of struct dirent.
** AC_SUBST
The substituted value can now contain newlines.
** AC_SUBST_FILE
The substitution now occurs only when @variable@ is on a line by itself,
optionally surrounded by spaces and tabs. The whole line is replaced.
** AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER
New macros to check for long double, and whether it is wider than double.
The old macro AC_C_TYPE_LONG_DOUBLE has been marked as obsolete;
applications should switch to the new macro.
** AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT, AC_TYPE_SSIZE_T,
AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT
New macros to check for C99 and POSIX types.
** AC_USE_SYSTEM_EXTENSIONS
New macro to enable extensions to Posix.
** AH_HEADER
New macro which is defined to the name of the first declared config header
or undefined if no config headers have been declared yet.
** AS_HELP_STRING
The macro correctly handles quadrigraphs now.
** AS_BOURNE_COMPATIBLE, AS_SHELL_SANITIZE, AS_CASE
These macros are new or published now.
** AT_COPYRIGHT
New macro for copyright notices in testsuite files.
** ALLOCA, LIBOBJS, LTLIBOBJS
Object names added to these variables are now prefixed with `${LIBOBJDIR}',
as in `${LIBOBJDIR}alloca.o'. LIBOBJDIR is meant to be defined from
`Makefile.in' in case the object files lie in a different directory.
The LIBOBJDIR feature is experimental.
** autoreconf
Supports --no-recursive now.
** New macros to support Erlang/OTP.
New macros for configuring paths to Erlang tools and libraries:
AC_ERLANG_PATH_ERLC, AC_ERLANG_NEED_ERLC, AC_ERLANG_PATH_ERL,
AC_ERLANG_NEED_ERL, AC_ERLANG_CHECK_LIB, AC_ERLANG_SUBST_ROOT_DIR,
AC_ERLANG_SUBST_LIB_DIR.
New macros for configuring installation of Erlang libraries:
AC_ERLANG_SUBST_INSTALL_LIB_DIR, AC_ERLANG_SUBST_INSTALL_LIB_SUBDIR.
** The manual now mentions Gnulib more prominently.
** New macros to support Objective C.
AC_PROG_OBJC, AC_PROG_OBJCPP.
* Major changes in Autoconf 2.59b
Released 2004-08-20, by Paul Eggert.
** AC_CHECK_ALIGNOF
New macro that computes the default alignment of a type.
** AC_CHECK_TOOL, AC_PATH_TOOL, AC_CHECK_TOOLS
When cross-compiling, these macros will give a warning if the tool
is not prefixed. In the future, unprefixed cross tools will not
be detected; please consult the info documentation for information
about the reason of this change.
** AC_CHECK_TARGET_TOOL, AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOLS
New macros that detect programs whose name is prefixed with the
target type, if the build type and target type are different.
** AC_REQUIRE_AUX_FILE
New trace macro that declares expected auxiliary files.
** AC_PROG_GREP
New macro that tests for a grep program that accepts as a long a line
as possible.
** AC_PROG_EGREP, AC_PROG_FGREP
These macros now require AC_PROG_GREP, and try EGREP="$GREP -E" and
FGREP="$GREP -F" respectively if possible, or else run a path search for
a program that accepts as long a line as possible.
** AC_PROG_SED
New macro that tests for a sed program that truncates as few characters
as possible.
2006-07-03 23:23:29 +02:00
|
|
|
INFO_FILES= YES
|
1997-10-06 16:06:09 +02:00
|
|
|
|
2003-01-19 01:23:27 +01:00
|
|
|
AUTOMAKE_OVERRIDE= NO
|
|
|
|
|
Update to 2.67:
* Major changes in Autoconf 2.67 (2010-07-21) [stable]
Released by Eric Blake, based on git versions 2.66.*.
** AC_CONFIG_SUBDIRS with more than one subdirectory at a time works again.
Regression introduced in 2.66.
** AC_CHECK_SIZEOF of a pointer type works again. Regression introduced in
2.66.
** New macro AC_FC_LINE_LENGTH to accept long Fortran source code lines.
** AC_PREPROC_IFELSE now keeps the preprocessed output in the conftest.i
file for inspection by the commands in the ACTION-IF-TRUE argument.
** AC_INIT again allows parentheses and other characters that are literal
in single- or double-quoted strings, and in quoted and unquoted
here-documents, for its PACKAGE and VERSION arguments. Regression
introduced in 2.66.
** autoreconf passes warning flags to new enough versions of aclocal.
** Running an Autotest testsuite in parallel mode no longer triggers a
race condition that could cause the testsuite run to end early,
fixing a sporadic failure in autoconf's own testsuite. Bug present
since introduction of parallel tests in 2.63b.
* Major changes in Autoconf 2.66 (2010-07-02) [stable]
Released by Eric Blake, based on git versions 2.65.*.
** AC_FUNC_MMAP works in C++ mode again. Regression introduced in 2.65.
** Use of m4_divert without a named diversion now issues a syntax warning,
since it is seldom right to change diversions behind autoconf's back.
** The macros AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, and
AC_TYPE_INT64_T work again. Regression introduced in 2.65.
** AC_PROG_INSTALL correctly uses `shtool' again. Regression introduced
in 2.64.
** Autoconf should work on EBCDIC hosts.
** AC_CHECK_DECL and AC_CHECK_DECLS accept optional function argument types
for overloaded C++ functions.
** AS_SET_CATFILE accepts nonliterals in its variable name argument now.
** Autotest testsuites accept an option --recheck to rerun tests that
failed or passed unexpectedly during the last non-debug testsuite run.
** AC_ARG_ENABLE and AC_ARG_WITH now also accept `+' signs in `--enable-*'
and `--with-*' arguments, converting them to underscores for the variable
names.
** In configure scripts, loading CONFIG_SITE no longer searches PATH,
and problems in loading the configuration site files are diagnosed.
** Autotest testsuites may optionally provide colored test results.
** The previously undocumented Autotest macros AT_ARG_OPTION and
AT_ARG_OPTION_ARG have seen bug fixes and are documented now.
AT_ARG_OPTION has been changed in that the negative of a long option
--OPTION is now --no-OPTION rather than --noOPTION.
** The macro AS_LITERAL_IF is slightly more conservative; text
containing shell quotes are no longer treated as literals.
Furthermore, a new macro, AS_LITERAL_WORD_IF, adds an additional
level of checking that no whitespace occurs in literals.
** The macros AS_TR_SH and AS_TR_CPP no longer expand their results.
** The following macros are now documented:
AS_BOX
** New macro AC_FC_FIXEDFORM to accept fixed-form Fortran.
2010-08-15 14:08:59 +02:00
|
|
|
# [GNU Autoconf 2.67] testsuite: 213 268 269 failed
|
|
|
|
# 213?; other two ok because of buildlink
|
2015-05-10 01:12:19 +02:00
|
|
|
# [GNU Autoconf 2.69] testsuite: 281 282 failed
|
|
|
|
# 281: AC_NO_EXECUTABLES (working linker) FAILED (c.at:221)
|
|
|
|
# 282: AC_NO_EXECUTABLES (broken linker) FAILED (c.at:231)
|
|
|
|
|
2003-10-19 03:34:13 +02:00
|
|
|
TEST_TARGET= check
|
|
|
|
|
2005-06-15 04:01:43 +02:00
|
|
|
CHECK_WRKREF_SKIP+= ${PREFIX}/share/autoconf/autoconf/autoconf.m4f
|
|
|
|
CHECK_WRKREF_SKIP+= ${PREFIX}/share/autoconf/autotest/autotest.m4f
|
|
|
|
CHECK_WRKREF_SKIP+= ${PREFIX}/share/autoconf/m4sugar/m4sugar.m4f
|
|
|
|
CHECK_WRKREF_SKIP+= ${PREFIX}/share/autoconf/m4sugar/m4sh.m4f
|
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|