On Mon, Jul 08, 2002 at 01:34:11PM +0200, Jean-Marc Lasgouttes wrote:
> >>>>> "adrien" == adrien rebollo <[EMAIL PROTECTED]> writes:
> 
> adrien> Hello, I am having fun installing two different versions of
> adrien> autoconf at the same time, and I noticed a small incoherence
> adrien> in autogen.sh It should test if aclocal and autoheader are
> adrien> present using the variable, the same way we do with autoconf
> adrien> and automake.
> 
> adrien> I attach a patch.
> 
> You forgot the patch...
> 

Time to wake up... Here it is.

Adrien Rebollo
Index: ChangeLog
===================================================================
RCS file: /cvs/lyx/lyx-devel/ChangeLog,v
retrieving revision 1.870
diff -u -u -r1.870 ChangeLog
--- ChangeLog   2002/07/03 12:33:07     1.870
+++ ChangeLog   2002/07/07 19:20:11
@@ -1,3 +1,8 @@
+2002-07-06  Adrien Rebollo  <[EMAIL PROTECTED]>
+
+       * autogen.sh: use $ACLOCAL and $AUTOHEADER instead of aclocal
+       and autoheader to test if they are present.
+
 2002-07-03  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>
 
        * INSTALL: document --enable-debug
Index: autogen.sh
===================================================================
RCS file: /cvs/lyx/lyx-devel/autogen.sh,v
retrieving revision 1.30
diff -u -u -r1.30 autogen.sh
--- autogen.sh  2002/06/02 18:58:18     1.30
+++ autogen.sh  2002/07/07 19:20:11
@@ -30,7 +30,7 @@
 echo "done."
 
 # Generate the Makefiles and configure files
-if ( aclocal --version ) </dev/null > /dev/null 2>&1; then
+if ( $ACLOCAL --version ) </dev/null > /dev/null 2>&1; then
        echo "Building macros..."
        for dir in . lib/reLyX ; do
            echo "        $dir"
@@ -42,7 +42,7 @@
        exit
 fi
 
-if ( autoheader --version ) </dev/null > /dev/null 2>&1; then
+if ( $AUTOHEADER --version ) </dev/null > /dev/null 2>&1; then
        echo "Building config header template..."
        for dir in . ; do
            echo "        $dir"

Reply via email to