automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

let's trace?


From: Alexandre Duret-Lutz
Subject: let's trace?
Date: 12 Apr 2002 23:11:53 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

[I've just learnt that nuking code can be very delighting.]

The test suite ran without error (not a surprise nor a proof of
anything).

I know of at least one diagnostic that the trace code doesn't
make: it doesn't warn that AC_CONFIG_HEADER must be rewriten as
AM_CONFIG_HEADER.  I think we could build two hashes using the
arguments for each macros as keys, and finally make sure both
sets of keys are equals at the end of the scan.  Or can you think
of something simplier to do? (like tricks at the m4 level, I don't
know.)

2002-04-12  Alexandre Duret-Lutz  <address@hidden>

        Enable traces; wipe out the old configure.in parser.

        * automake.in (scan_autoconf_traces): Use '$ENF{AUTOCONF}' of
        'autoconf'.  Honnor the $filename argument.
        (scan_autoconf_files): Don't call scan_one_autoconf_file.
        Always call scan_autoconf_traces.
        (scan_one_autoconf_file): Remove.
        (obsolete, obsolete_rx): Remove.
        (register_language, handle_languages): Remove the 'define_flag'
        support.  Remove it from the struct and language definitions too.
        * lib/am/header-vars.am, lib/am/compile.am, lib/am/lisp.am: Remove
        the `FOO = @FOO@' definitions for all AC_SUBST'ed variables.  They
        are now generated automatically.
        * aclocal.in (obsolete_macros): Don't mention obsolete_macros in
        automake.in.
        * automake.texi (Invoking Automake): Mention the AUTOCONF envvar.

Index: aclocal.in
===================================================================
RCS file: /home/adl/CVSROOT/HEAD-20020412-2044/aclocal.in,v
retrieving revision 1.1
diff -u -r1.1 aclocal.in
--- aclocal.in  12 Apr 2002 18:45:06 -0000      1.1
+++ aclocal.in  12 Apr 2002 20:39:13 -0000
@@ -77,8 +77,6 @@
 $verbose = 0;
 
 # Map from obsolete macros to hints for new macros.
-# If you change this, change the corresponding list in automake.in.
-# FIXME: should just put this into a single file.
 my %obsolete_macros =
     (
      'AC_FEATURE_CTYPE'                => "use `AC_HEADER_STDC'",
@@ -87,8 +85,7 @@
      'AC_SYSTEM_HEADER'                => '',
 
      # Note that we do not handle this one, because it is still run
-     # from AM_CONFIG_HEADER.  So we deal with it specially in
-     # &scan_autoconf_files.
+     # from AM_CONFIG_HEADER.
      # 'AC_CONFIG_HEADER'      => "use `AM_CONFIG_HEADER'",
 
      'fp_C_PROTOTYPES'         => "use `AM_C_PROTOTYPES'",
Index: automake.in
===================================================================
RCS file: /home/adl/CVSROOT/HEAD-20020412-2044/automake.in,v
retrieving revision 1.1
diff -u -r1.1 automake.in
--- automake.in 12 Apr 2002 18:45:06 -0000      1.1
+++ automake.in 12 Apr 2002 19:40:33 -0000
@@ -61,10 +61,6 @@
         'compile_flag' => "\$",
         'extensions'      => '@',
         'flags' => "\$",
-       # Should the flag be defined as a configure variable.
-       # Defaults to true.  FIXME: this should go away once
-       # we move to autoconf tracing.
-       'define_flag' => "\$",
 
        # The file to use when generating rules for this language.
        # The default is 'depend2'.
@@ -250,45 +246,6 @@
 # by two different paths.
 my $COMPILE_LIBTOOL = 1;
 my $COMPILE_ORDINARY = 2;
-
-# Map from obsolete macros to hints for new macros.
-# If you change this, change the corresponding list in aclocal.in.
-# FIXME: should just put this into a single file.
-my %obsolete_macros =
-    (
-     'AC_FEATURE_CTYPE'                => "use `AC_HEADER_STDC'",
-     'AC_FEATURE_ERRNO'                => "add `strerror' to 
`AC_REPLACE_FUNCS(...)'",
-     'AC_FEATURE_EXIT'         => '',
-     'AC_SYSTEM_HEADER'                => '',
-
-     # Note that we do not handle this one, because it is still run
-     # from AM_CONFIG_HEADER.  So we deal with it specially in
-     # &scan_autoconf_files.
-     # 'AC_CONFIG_HEADER'      => "use `AM_CONFIG_HEADER'",
-
-     'fp_C_PROTOTYPES'         => "use `AM_C_PROTOTYPES'",
-     'fp_PROG_CC_STDC'         => "use `AM_PROG_CC_STDC'",
-     'fp_PROG_INSTALL'         => "use `AC_PROG_INSTALL'",
-     'fp_WITH_DMALLOC'         => "use `AM_WITH_DMALLOC'",
-     'fp_WITH_REGEX'           => "use `AM_WITH_REGEX'",
-     'gm_PROG_LIBTOOL'         => "use `AM_PROG_LIBTOOL'",
-     'jm_MAINTAINER_MODE'      => "use `AM_MAINTAINER_MODE'",
-     'md_TYPE_PTRDIFF_T'       => "add `ptrdiff_t' to `AC_CHECK_TYPES(...)'",
-     'ud_PATH_LISPDIR'         => "use `AM_PATH_LISPDIR'",
-     'ud_GNU_GETTEXT'          => "use `AM_GNU_GETTEXT'",
-
-     # Now part of autoconf proper, under a different name.
-     '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'               => "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'",
-     );
-
-# Regexp to match the above macros.
-my $obsolete_rx = '\b(' . join ('|', keys %obsolete_macros) . ')\b';
 
 
 
@@ -864,7 +821,6 @@
                   'Name' => 'Yacc',
                   'config_vars' => ['YACC'],
                   'flags' => 'YFLAGS',
-                  'define_flag' => 0,
                   'compile' => '$(YACC) $(YFLAGS) $(AM_YFLAGS)',
                   'compiler' => 'YACCCOMPILE',
                   'extensions' => ['.y'],
@@ -876,7 +832,6 @@
                   'config_vars' => ['YACC'],
                   'rule_file' => 'yacc',
                   'flags' => 'YFLAGS',
-                  'define_flag' => 0,
                   'compiler' => 'YACCCOMPILE',
                   'compile' => '$(YACC) $(YFLAGS) $(AM_YFLAGS)',
                   'extensions' => ['.y++', '.yy', '.yxx', '.ypp'],
@@ -889,7 +844,6 @@
                   'config_vars' => ['LEX'],
                   'rule_file' => 'lex',
                   'flags' => 'LFLAGS',
-                  'define_flag' => 0,
                   'compile' => '$(LEX) $(LFLAGS) $(AM_LFLAGS)',
                   'compiler' => 'LEXCOMPILE',
                   'extensions' => ['.l'],
@@ -899,7 +853,6 @@
                   'config_vars' => ['LEX'],
                   'rule_file' => 'lex',
                   'flags' => 'LFLAGS',
-                  'define_flag' => 0,
                   'compile' => '$(LEX) $(LFLAGS) $(AM_LFLAGS)',
                   'compiler' => 'LEXCOMPILE',
                   'extensions' => ['.l++', '.ll', '.lxx', '.lpp'],
@@ -1812,10 +1765,6 @@
              if !exists $configure_vars{$var};
          }
 
-       # The compiler's flag must be a configure variable.
-       define_configure_variable ($lang->flags)
-           if defined $lang->flags && $lang->define_flag;
-
        # Call the finisher.
        $lang->finish;
     }
@@ -4611,7 +4560,6 @@
 
 # &scan_autoconf_traces ($FILENAME)
 # ---------------------------------
-# FIXME: For the time being, we don't care about the FILENAME.
 sub scan_autoconf_traces ($)
 {
   my ($filename) = @_;
@@ -4636,14 +4584,14 @@
                  AM_PATH_PYTHON
                  AM_PROG_CC_C_O);
 
-  my $traces = "$ENV{amtraces} ";
+  my $traces = ($ENV{AUTOCONF} || 'autoconf') . " ";
 
   # Use a separator unlikely to be used, not `:', the default, which
   # has a precise meaning for AC_CONFIG_FILES and so on.
   $traces .= join (' ',
                   map { "--trace=$_" . ':\$f:\$l::\$n::\${::}%' } @traced);
 
-  my $tracefh = new Automake::XFile ("$traces |");
+  my $tracefh = new Automake::XFile ("$traces $filename |");
   verbose "reading $traces";
 
   while ($_ = $tracefh->getline)
@@ -4772,353 +4720,6 @@
 }
 
 
-# &scan_one_autoconf_file ($FILENAME)
-# -----------------------------------
-# Scan one file for interesting things.  Subroutine of
-# &scan_autoconf_files.
-sub scan_one_autoconf_file
-{
-    my ($filename) = @_;
-
-    # Some macros already provide the right traces to enable generic
-    # code and specific arguments, instead of dedicated code.  But
-    # currently we don't handle traces.  Rewrite these dedicated
-    # macros handling into the generic macro invocation, and let our
-    # generic case handle them.
-
-    my %generalize =
-      (
-       'AC_FUNC_ALLOCA'           => 'AC_LIBSOURCES([alloca.c])',
-       'AC_FUNC_GETLOADAVG'       => 'AC_LIBSOURCES([getloadavg.c])',
-       'AC_FUNC_MEMCMP'           => 'AC_LIBSOURCES([memcmp.c])',
-       'AC_STRUCT_ST_BLOCKS'      => 'AC_LIBSOURCES([fileblocks.c])',
-       'A[CM]_REPLACE_GNU_GETOPT' => 'AC_LIBSOURCES([getopt.c, getopt1.c])',
-       'A[CM]_FUNC_STRTOD'        => 'AC_LIBSOURCES([strtod.c])',
-       'AM_WITH_REGEX'      => 'AC_LIBSOURCES([rx.c, rx.h, regex.c, regex.h])',
-       'AC_FUNC_MKTIME'           => 'AC_LIBSOURCES([mktime.c])',
-       'A[CM]_FUNC_ERROR_AT_LINE' => 'AC_LIBSOURCES([error.c, error.h])',
-       'A[CM]_FUNC_OBSTACK'       => 'AC_LIBSOURCES([obstack.c, obstack.h])',
-      );
-
-    my $configfh = new Automake::XFile ("< $filename");
-    verbose "reading $filename";
-
-    my ($in_ac_output, $in_ac_replace) = (0, 0);
-    while ($_ = $configfh->getline)
-    {
-       # Remove comments from current line.
-       s/\bdnl\b.*$//;
-       s/\#.*$//;
-
-       # Skip macro definitions.  Otherwise we might be confused into
-       # thinking that a macro that was only defined was actually
-       # used.
-       next if /AC_DEFUN/;
-
-       # Follow includes.  This is a weirdness commonly in use at
-       # Cygnus and hopefully nowhere else.
-       if (/sinclude\((.*)\)/ && -f $1)
-       {
-           # $_ being local, if we don't preserve it, when coming
-           # back we will have $_ undefined, which is bad for the
-           # the rest of this routine.
-           my $underscore = $_;
-           &scan_one_autoconf_file ($1);
-           $_ = $underscore;
-       }
-
-       for my $generalize (keys %generalize)
-         {
-           s/\b$generalize\b/$generalize{$generalize}/g;
-         }
-
-
-       my $here = "$filename:$.";
-
-       # Populate libobjs array.
-       if (/LIBOBJS="(.*)\s+\$LIBOBJS"/
-              || /LIBOBJS="\$LIBOBJS\s+(.*)"/)
-       {
-           foreach my $libobj_iter (split (' ', $1))
-           {
-               if ($libobj_iter =~ /^(.*)\.o(bj)?$/
-                   || $libobj_iter =~ /^(.*)\.\$ac_objext$/
-                   || $libobj_iter =~ /^(.*)\.\$\{ac_objext\}$/)
-               {
-                   $libsources{$1 . '.c'} = $here;
-               }
-           }
-       }
-       elsif (/AC_LIBOBJ\(([^)]+)\)/)
-       {
-           $libsources{unquote_m4_arg ($1) . ".c"} = $here;
-       }
-        elsif (/AC_LIBSOURCE\(([^)]+)\)/)
-       {
-           $libsources{&unquote_m4_arg ($1)} = $here;
-       }
-        elsif (/AC_LIBSOURCES\(([^)]+)\)/)
-       {
-           foreach my $lc_iter (split (/[, ]+/, &unquote_m4_arg ($1)))
-           {
-               $libsources{$lc_iter} = $here;
-           }
-       }
-
-       if (! $in_ac_replace && s/AC_REPLACE_FUNCS\s*\(\[?//)
-       {
-           $in_ac_replace = 1;
-       }
-       if ($in_ac_replace)
-       {
-           $in_ac_replace = 0 if s/[\]\)].*$//;
-           # Remove trailing backslash.
-           s/\\$//;
-           foreach (split)
-           {
-               # Need to skip empty elements for Perl 4.
-               next if $_ eq '';
-               $libsources{$_ . '.c'} = $here;
-           }
-       }
-
-       if (/$obsolete_rx/o)
-       {
-           my $hint = '';
-           if ($obsolete_macros{$1} ne '')
-           {
-               $hint = '; ' . $obsolete_macros{$1};
-           }
-           file_error ($here, "`$1' is obsolete$hint");
-       }
-
-       # Process the AC_OUTPUT and AC_CONFIG_FILES macros.
-       if (! $in_ac_output && s/(AC_(OUTPUT|CONFIG_FILES))\s*\(\[?//)
-       {
-           $in_ac_output = $1;
-           $ac_config_files_location = $here;
-       }
-       if ($in_ac_output)
-       {
-           my $closing = 0;
-           if (s/[\]\),].*$//)
-           {
-               $in_ac_output = 0;
-               $closing = 1;
-           }
-
-           # Look at potential Makefile.am's.
-           &scan_autoconf_config_files ($_);
-
-           if ($closing
-               && scalar keys %make_list == 0
-               && @other_input_files == 0)
-           {
-               file_error ($ac_config_files_location,
-                           "no files mentioned in `$in_ac_output'");
-               exit 1;
-           }
-       }
-
-       if (/$AC_CONFIG_AUX_DIR_PATTERN/o)
-       {
-           @config_aux_path = &unquote_m4_arg ($1);
-           $config_aux_dir_set_in_configure_in = $here;
-       }
-
-       # Check for ansi2knr.
-       $am_c_prototypes = $here if /AM_C_PROTOTYPES/;
-
-       # Check for `-c -o' code.
-       $seen_cc_c_o = $here if /AM_PROG_CC_C_O/;
-
-       # Check for NLS support.
-       if (/AM_GNU_GETTEXT/)
-       {
-           $seen_gettext = $here;
-           $ac_gettext_location = $here;
-       }
-
-       # Handle configuration headers.  A config header of `[$1]'
-       # means we are actually scanning AM_CONFIG_HEADER from
-       # aclocal.m4.  Same thing with a leading underscore.
-       if (/(?<!_)A([CM])_CONFIG_HEADERS?\s*\((.*)\)/
-           && $2 ne '[$1]')
-       {
-           file_error ($here,
-              "`automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'")
-             if $1 eq 'C';
-
-           $config_header_location = $here;
-           push @config_headers, split (' ', unquote_m4_arg ($2));
-       }
-
-        # Handle AC_CANONICAL_*.  Always allow upgrading to
-        # AC_CANONICAL_SYSTEM, but never downgrading.
-       if (/AC_CANONICAL_HOST/ || /AC_CYGWIN/ || /AC_EMXOS2/ || /AC_MINGW32/)
-         {
-           if (! $seen_canonical)
-             {
-               $seen_canonical = AC_CANONICAL_HOST;
-               $canonical_location = $here;
-             }
-         }
-       if (/AC_CANONICAL_SYSTEM/)
-         {
-           $seen_canonical = AC_CANONICAL_SYSTEM;
-           $canonical_location = $here;
-         }
-
-        # If using X, include some extra variable definitions.  NOTE
-        # we don't want to force these into CFLAGS or anything,
-        # because not all programs will necessarily use X.
-       if (/AC_PATH_XTRA/)
-         {
-           foreach my $var (qw(X_CFLAGS X_LIBS X_EXTRA_LIBS X_PRE_LIBS))
-             {
-               $configure_vars{$var} = $here;
-             }
-         }
-
-       # AM_INIT_AUTOMAKE with any number of argument
-       if (/AM_INIT_AUTOMAKE/)
-       {
-           $seen_init_automake = $here;
-        }
-
-       # AC_INIT or AM_INIT_AUTOMAKE with two arguments
-        if (/$AC_INIT_PATTERN/o || /$AM_INIT_AUTOMAKE_PATTERN/o)
-       {
-            if ($1 =~ /$AM_PACKAGE_VERSION_PATTERN/o)
-            {
-               $package_version = $1;
-               $package_version_location = $here;
-           }
-       }
-
-       # AM_INIT_AUTOMAKE with one argument.
-       if (/AM_INIT_AUTOMAKE\(([^),]+)\)/)
-       {
-            $global_options = &unquote_m4_arg ($1);
-       }
-
-       if (/AM_AUTOMAKE_VERSION\(([^)]+)\)/)
-       {
-           my $vers = &unquote_m4_arg ($1);
-           file_error ($here,
-                       "version mismatch.  This is Automake $VERSION, " .
-                       "but $filename\nwas generated for Automake $vers.  " .
-                       "You should recreate\n$filename with aclocal and " .
-                       "run automake again.\n")
-                   if ($VERSION ne $vers);
-
-           $seen_automake_version = 1;
-       }
-
-       if (/AM_PROG_LEX/)
-       {
-           $configure_vars{'LEX'} = $here;
-           $configure_vars{'LEX_OUTPUT_ROOT'} = $here;
-           $configure_vars{'LEXLIB'} = $here;
-           $seen_prog_lex = $here;
-       }
-       if (/AC_PROG_LEX/ && $filename =~ /configure\.(ac|in)$/)
-       {
-           $configure_vars{'LEX'} = $here;
-           $configure_vars{'LEX_OUTPUT_ROOT'} = $here;
-           $configure_vars{'LEXLIB'} = $here;
-           $seen_prog_lex = $here;
-           file_warning ($here,
-                  "automake requires `AM_PROG_LEX', not `AC_PROG_LEX'");
-       }
-
-       if (/AC_PROG_(F77|YACC|RANLIB|CC|CXXCPP|CXX|LEX|AWK|CPP|LN_S)/)
-       {
-           $configure_vars{$1} = $here;
-       }
-       if (/$AC_CHECK_PATTERN/o)
-       {
-           $configure_vars{$3} = $here;
-       }
-       if (/$AM_MISSING_PATTERN/o
-           && $1 ne 'ACLOCAL'
-           && $1 ne 'AUTOCONF'
-           && $1 ne 'AUTOMAKE'
-           && $1 ne 'AUTOHEADER'
-           # AM_INIT_AUTOMAKE is AM_MISSING_PROG'ing MAKEINFO.  But
-           # we handle it elsewhere.
-           && $1 ne 'MAKEINFO')
-       {
-           $configure_vars{$1} = $here;
-       }
-
-       # Explicitly avoid ANSI2KNR -- we AC_SUBST that in protos.m4,
-       # but later define it elsewhere.  This is pretty hacky.  We
-       # also explicitly avoid INSTALL_SCRIPT and some other
-       # variables because they are defined in header-vars.am.
-       # AMDEPBACKSLASH might be subst'd by `\', which certainly would
-       # not be appreciated by Make.
-       if (/$AC_SUBST_PATTERN/o
-           && $1 ne 'ANSI2KNR'
-           && $1 ne 'INSTALL_SCRIPT'
-           && $1 ne 'INSTALL_DATA'
-           && $1 ne 'AMDEPBACKSLASH')
-       {
-           $configure_vars{$1} = $here;
-       }
-
-       if (/AM_MAINTAINER_MODE/)
-       {
-           $seen_maint_mode = $here;
-           $configure_cond{'MAINTAINER_MODE'} = $here;
-       }
-
-        $am_lispdir_location = $here if /AM_PATH_LISPDIR/;
-
-        if (/AM_PATH_PYTHON/)
-         {
-           $pythondir_location = $here;
-           $configure_vars{'pythondir'} = $here;
-           $configure_vars{'PYTHON'} = $here;
-         }
-
-        if (/A(C|M)_PROG_LIBTOOL/)
-       {
-           # We're not ready for this yet.  People still use a
-           # libtool with no AC_PROG_LIBTOOL.  Once that is the
-           # dominant version we can reenable this code -- but next
-           # time by mentioning the macro in %obsolete_macros, both
-           # here and in aclocal.in.
-
-           # if (/AM_PROG_LIBTOOL/)
-           # {
-           #   file_warning ($here, "`AM_PROG_LIBTOOL' is obsolete, use 
`AC_PROG_LIBTOOL' instead");
-           # }
-           $seen_libtool = $here;
-           $configure_vars{'LIBTOOL'} = $here;
-           $configure_vars{'RANLIB'} = $here;
-           $configure_vars{'CC'} = $here;
-           # AC_PROG_LIBTOOL runs AC_CANONICAL_HOST.  Make sure we
-           # never downgrade (if we've seen AC_CANONICAL_SYSTEM).
-           $seen_canonical = AC_CANONICAL_HOST if ! $seen_canonical;
-       }
-
-       $seen_multilib = $here if (/AM_ENABLE_MULTILIB/);
-
-       if (/$AM_CONDITIONAL_PATTERN/o)
-       {
-           $configure_cond{$1} = $here;
-       }
-
-       # Check for Fortran 77 intrinsic and run-time libraries.
-       if (/AC_F77_LIBRARY_LDFLAGS/)
-       {
-           $configure_vars{'FLIBS'} = $here;
-       }
-    }
-}
-
-
 # &scan_autoconf_files ()
 # -----------------------
 # Check whether we use `configure.ac' or `configure.in'.
@@ -5135,19 +4736,7 @@
     die "$me: `configure.ac' or `configure.in' is required\n"
         if !$configure_ac;
 
-    if (defined $ENV{'amtraces'})
-    {
-        print STDERR "$me: Autoconf traces is an experimental feature\n";
-        print STDERR "$me: use at your own risks\n";
-
-        scan_autoconf_traces ($configure_ac);
-    }
-    else
-      {
-       scan_one_autoconf_file ($configure_ac);
-       scan_one_autoconf_file ('aclocal.m4')
-         if -f 'aclocal.m4';
-      }
+    scan_autoconf_traces ($configure_ac);
 
     # Set input and output files if not specified by user.
     if (! @input_files)
@@ -5644,8 +5233,6 @@
       unless defined $option{'autodep'};
     $option{'linker'} = ''
       unless defined $option{'linker'};
-    $option{'define_flag'} = 1
-      unless defined $option{'define_flag'};
 
     my $lang = new Language (%option);
 
Index: automake.texi
===================================================================
RCS file: /home/adl/CVSROOT/HEAD-20020412-2044/automake.texi,v
retrieving revision 1.1
diff -u -r1.1 automake.texi
--- automake.texi       12 Apr 2002 18:45:06 -0000      1.1
+++ automake.texi       12 Apr 2002 20:51:00 -0000
@@ -915,6 +915,17 @@
 because @code{automake} uses the knowledge that a @file{Makefile.in} is
 in a subdirectory to change its behavior in some cases.
 
address@hidden AUTOCONF
+Automake will run @code{autoconf} to scan @file{configure.in} and its
+dependencies (@file{aclocal.m4}), therefore @code{autoconf} must be in
+your @code{PATH}.  If there is an @code{AUTOCONF} variable in your
+environment it will be used instead of @code{autoconf}, this allows you
+to select a particular version of Autoconf.  By the way, don't
+misunderstand this paragraph: Automake runs @code{autoconf} to
address@hidden your @file{configure.in}, this won't build
address@hidden and you still have to run @code{autoconf} yourself for
+this purpose.
+
 @cindex Automake options
 @cindex Options, Automake
 @cindex Strictness, command line
Index: lib/am/compile.am
===================================================================
RCS file: /home/adl/CVSROOT/HEAD-20020412-2044/lib/am/compile.am,v
retrieving revision 1.1
diff -u -r1.1 compile.am
--- lib/am/compile.am   12 Apr 2002 18:45:09 -0000      1.1
+++ lib/am/compile.am   12 Apr 2002 19:17:08 -0000
@@ -17,11 +17,7 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
-DEFS = @DEFS@
 DEFAULT_INCLUDES = %DEFAULT_INCLUDES%
-CPPFLAGS = @CPPFLAGS@
-LDFLAGS = @LDFLAGS@
-LIBS = @LIBS@
 
 mostlyclean-am: mostlyclean-compile
 mostlyclean-compile:
Index: lib/am/header-vars.am
===================================================================
RCS file: /home/adl/CVSROOT/HEAD-20020412-2044/lib/am/header-vars.am,v
retrieving revision 1.1
diff -u -r1.1 header-vars.am
--- lib/am/header-vars.am       12 Apr 2002 18:45:09 -0000      1.1
+++ lib/am/header-vars.am       12 Apr 2002 19:10:47 -0000
@@ -16,26 +16,10 @@
 ## along with this program; if not, write to the Free Software
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
-SHELL = @SHELL@
 
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
 VPATH = @srcdir@
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-bindir = @bindir@
-sbindir = @sbindir@
-libexecdir = @libexecdir@
-datadir = @datadir@
-sysconfdir = @sysconfdir@
-sharedstatedir = @sharedstatedir@
-localstatedir = @localstatedir@
-libdir = @libdir@
-infodir = @infodir@
-mandir = @mandir@
-includedir = @includedir@
-oldincludedir = /usr/include
 
 @SET_MAKE@
 
@@ -55,20 +39,11 @@
 ## Location of top build directory relative to this one.
 top_builddir = %TOPDIR%
 
-ACLOCAL = @ACLOCAL@
-AUTOCONF = @AUTOCONF@
-AUTOMAKE = @AUTOMAKE@
-AUTOHEADER = @AUTOHEADER@
-
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
 install_sh_DATA = $(install_sh) -c -m 644
 install_sh_PROGRAM = $(install_sh) -c
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
 INSTALL_HEADER = $(INSTALL_DATA)
-transform = @program_transform_name@
 
 ## These are defined because otherwise make on NetBSD V1.1 will print
 ## (eg): $(NORMAL_INSTALL) expands to empty string.
@@ -78,18 +53,3 @@
 NORMAL_UNINSTALL = :
 PRE_UNINSTALL = :
 POST_UNINSTALL = :
-
-## FIXME: Why the heck are _triplet variables not defined from the
-## _triplet values?
-## FIXME: this should probably use generic %configure_vars method.
-## Let's wait until we rely upon traces.
-?BUILD?build_alias = @build_alias@
-?BUILD?build_triplet = @build@
-?HOST?host_alias = @host_alias@
-?HOST?host_triplet = @host@
-?TARGET?target_alias = @target_alias@
-?TARGET?target_triplet = @target@
-
-EXEEXT = @EXEEXT@
-OBJEXT = @OBJEXT@
-PATH_SEPARATOR = @PATH_SEPARATOR@
Index: lib/am/lisp.am
===================================================================
RCS file: /home/adl/CVSROOT/HEAD-20020412-2044/lib/am/lisp.am,v
retrieving revision 1.1
diff -u -r1.1 lisp.am
--- lib/am/lisp.am      12 Apr 2002 18:45:09 -0000      1.1
+++ lib/am/lisp.am      12 Apr 2002 19:21:27 -0000
@@ -21,9 +21,6 @@
 ## Building.  ##
 ## ---------- ##
 
-EMACS = @EMACS@
-lispdir = @lispdir@
-
 .el.elc:
        @echo 'WARNING: Warnings can be ignored. :-)'
        if test $(EMACS) != no; then \

-- 
Alexandre Duret-Lutz




reply via email to

[Prev in Thread] Current Thread [Next in Thread]