This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
FYI: dead var.
- To: automake at gnu dot org
- Subject: FYI: dead var.
- From: Akim Demaille <akim at epita dot fr>
- Date: 28 Feb 2001 10:55:31 +0100
- List-Id: Discussion list for automake <automake.gnu.org>
Index: ChangeLog
from Akim Demaille <akim@epita.fr>
* automake.in (&handle_configure): Fortunately, $top_reldir,
which definition was highly suspicious, was useless.
Index: automake.in
--- automake.in Tue, 27 Feb 2001 21:22:26 +0100 akim (am/f/39_automake.i 1.88 755)
+++ automake.in Tue, 27 Feb 2001 21:57:50 +0100 akim (am/f/39_automake.i 1.88 755)
@@ -3079,13 +3079,7 @@ sub handle_configure
. ' CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status'
. "\n\n");
- my $top_reldir;
- if ($relative_dir ne '.')
- {
- # In subdirectory.
- $top_reldir = '../';
- }
- else
+ if ($relative_dir eq '.')
{
&handle_aclocal_m4;
$output_rules .=
@@ -3093,7 +3087,6 @@ sub handle_configure
&transform ('CONFIGURE_AC' => $configure_ac));
&examine_variable ('CONFIG_STATUS_DEPENDENCIES');
&examine_variable ('CONFIGURE_DEPENDENCIES');
- $top_reldir = '';
&push_dist_common ('acconfig.h')
if -f 'acconfig.h';