This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

FYI: dead var.



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';


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]