bug-autoconf
[Top][All Lists]
Advanced

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

autoreconf 2.54 does not pass -I command line argument to aclocal


From: ezra peisach
Subject: autoreconf 2.54 does not pass -I command line argument to aclocal
Date: Tue, 17 Sep 2002 18:58:50 -0400 (EDT)

If the Makefile.am contains a line of the flavor ACLOCAL_AMFLAGS - one
can specify the location of the m4 subdir with -I m4, etc.

Autoreconf allows one to specify the -I option - but it is not passed to 
aclocal. The following patch does just that...

Index: autoreconf.in
===================================================================
RCS file: /cvsroot/autoconf/autoconf/bin/autoreconf.in,v
retrieving revision 1.103
diff -c -r1.103 autoreconf.in
*** autoreconf.in       13 Sep 2002 06:59:56 -0000      1.103
--- autoreconf.in       17 Sep 2002 22:56:59 -0000
***************
*** 152,157 ****
--- 152,158 ----
    $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)




reply via email to

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