bug-autoconf
[Top][All Lists]
Advanced

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

autoreconf doesn't pass -I options to aclocal


From: Miles Bader
Subject: autoreconf doesn't pass -I options to aclocal
Date: 29 Jan 2003 17:39:10 +0900

... which causes aclocal to get errors, if it can't find required
macros.

Version is:  autoreconf (GNU Autoconf) 2.57

Here's how I fixed it locally, which seems to work, but I'm not sure
how to deal with -B options:


diff -u /usr/bin/autoreconf /usr/local/bin/autoreconf-fixed
--- /usr/bin/autoreconf 2003-01-21 14:56:41.000000000 +0900
+++ /usr/local/bin/autoreconf-fixed     2003-01-28 16:13:06.000000000 +0900
@@ -170,6 +170,7 @@
   $autoconf   .= join (' --prepend-include=', '', @prepend_include);
   $autoheader .= join (' --include=', '', @include);
   $autoheader .= join (' --prepend-include=', '', @prepend_include);
+  $aclocal    .= join (' -I ', '', @include);
 
   # --install and --symlink;
   if ($install)


[aclocal doesn't seem to support `--include', which is why I used `-I']

Thanks,

-Miles

-- 
`To alcohol!  The cause of, and solution to,
 all of life's problems' --Homer J. Simpson




reply via email to

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