mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-04 06:54:27 -05:00 
			
		
		
		
	The rework of the host tools discovery caused automake to embed absolute paths to staging_dir/host/bin/perl into the shebang of the generated automake executables. Switch to the portable "/usr/bin/env perl" and enable global warnings through "$^W" instead of the "-w" interpreter argument. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44972
		
			
				
	
	
		
			16 lines
		
	
	
		
			376 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			376 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
--- a/bin/aclocal.in
 | 
						|
+++ b/bin/aclocal.in
 | 
						|
@@ -356,6 +356,12 @@ sub scan_m4_dirs ($$@)
 | 
						|
 
 | 
						|
   foreach my $m4dir (@dirlist)
 | 
						|
     {
 | 
						|
+      if (! -d $m4dir)
 | 
						|
+        {
 | 
						|
+          msg ('override', "warning: skipping not existing directory `$m4dir'");
 | 
						|
+          next;
 | 
						|
+        }
 | 
						|
+
 | 
						|
       if (! opendir (DIR, $m4dir))
 | 
						|
 	{
 | 
						|
 	  # TODO: maybe avoid complaining only if errno == ENONENT?
 |