+2001-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
+
+ * aclocal.in (obsolete_macros): Update AM_EXEEXT message.
+ * automake.in (obsolete_macros): Likewise.
+ (seen_objext): Remove (unused).
+ (scan_one_autoconf_file): Don't handle AC_OBJEXT.
+ * lib/am/header-vars.am (EXEEXT, OBJEXT,
+ PATH_SEPARATOR): New variables.
+ * tests/obsolete2.test: Use AM_FUNC_FNMATCH instead of AM_EXEEXT.
+
2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
* m4/auxdir.m4, m4/init.m4: Require autoconf 2.50 and rely on it to
neutralize CDPATH for us.
* m4/init.m4: Don't substitute EXEEXT or OBJEXT anymore.
- * lib/am/texibuild.am: Use @PATH_SEPARATOR@, not ':' to build
+ * lib/am/texibuild.am: Use $(PATH_SEPARATOR), not ':' to build
TEXINPUTS.
2001-09-22 Akim Demaille <akim@epita.fr>
'fp_FUNC_FNMATCH' => "use `AC_FUNC_FNMATCH'",
'AM_SANITY_CHECK_CC' => "automatically done by `AC_PROG_CC'",
'AM_PROG_INSTALL' => "use `AC_PROG_INSTALL'",
- 'AM_EXEEXT' => "use `AC_EXEEXT'",
+ 'AM_EXEEXT' => "automatically done by `AC_PROG_(CC|CXX|F77)'",
'AM_CYGWIN32' => "use `AC_CYGWIN'",
'AM_MINGW32' => "use `AC_MINGW32'",
'AM_FUNC_MKTIME' => "use `AC_FUNC_MKTIME'",
'fp_FUNC_FNMATCH' => "use `AC_FUNC_FNMATCH'",
'AM_SANITY_CHECK_CC' => "automatically done by `AC_PROG_CC'",
'AM_PROG_INSTALL' => "use `AC_PROG_INSTALL'",
- 'AM_EXEEXT' => "use `AC_EXEEXT'",
+ 'AM_EXEEXT' => "automatically done by `AC_PROG_(CC|CXX|F77)'",
'AM_CYGWIN32' => "use `AC_CYGWIN'",
'AM_MINGW32' => "use `AC_MINGW32'",
'AM_FUNC_MKTIME' => "use `AC_FUNC_MKTIME'",
# TRUE if we've seen AM_PATH_PYTHON.
my $seen_pythondir = 0;
-# TRUE if we've seen AC_OBJEXT.
-my $seen_objext = 0;
-
# TRUE if we've seen AC_ENABLE_MULTILIB.
my $seen_multilib = 0;
# $OBJ, $PARENT, $TOPPARENT)
# ---------------------------------------------------------------------
# Define an _OBJECTS variable for a _SOURCES variable (or subvariable)
-#
+#
# Arguments are:
# $VAR is the name of the _SOURCES variable
# $OBJVAR is the name of the _OBJECTS
my ($from, $to);
my @temp_list;
if ($subvar =~ /$SUBST_REF_PATTERN/o)
- {
+ {
$subvar = $1;
$to = $3;
($from = $2) =~ s/(\W)/\\$1/g;
$substnum -= 1;
}
- my (@transformed) =
+ my (@transformed) =
&handle_single_transform_list ($var, $topparent, $one_file, $obj, $val);
push (@result, @transformed);
$needlinker = "true" if @transformed;
# Check for ansi2knr.
$am_c_prototypes = 1 if /AM_C_PROTOTYPES/;
- if (/AC_OBJEXT/)
- {
- $seen_objext = 1;
- $configure_vars{'OBJEXT'} = $filename . ':' . $.;
- }
-
# Check for `-c -o' code.
$seen_cc_c_o = 1 if /AM_PROG_CC_C_O/;
{
$varname = $1;
}
-
+
# Here we compute all the conditions under which the
# subvariable is defined. Then we go through and add
# Invert a list of conditionals. Returns a set of conditionals which
# are never true for any of the input conditionals, and when taken
# together with the input conditionals cover all possible cases.
-#
+#
# For example: invert_conditions("A_TRUE B_TRUE", "A_FALSE B_FALSE") will
# return ("A_FALSE B_TRUE", "A_TRUE B_FALSE")
sub invert_conditions