Skip to contentSkip to conversation

autogen.sh for conntrack

PATCH New Eric Leblond 4 participants 5 messages Oct 24, 2005 – Oct 26, 2005 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 autogen.sh for conntrack

Hi,

Here's just a simple autogen.sh for conntrack. I've suppressed explicit linking with 1.6 version as this is really boring.

BR,

Signature · 1 line
Eric Leblond <[email protected]>
autogen.sh +18 -0
Index: autogen.sh
===================================================================
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+run ()
+{
+    echo "running: $*"
+    eval $*
+
+    if test $? != 0 ; then
+	echo "error: while running '$*'"
+	exit 1
+    fi
+}
+
+run aclocal
+run libtoolize -f
+run autoheader
+run automake -a
+run autoconf

Modification de propriétés sur autogen.sh
___________________________________________________________________
Nom : svn:executable
+ *

#1 lore raw

PATCH 1/1 autogen.sh for libnetfilter_conntrack

Hi,

I've just added a "libtoolize -f" call to autogen.sh. It was not compiling cleanly from svn without that.

Quoted 6 lines · Eric Leblond

Hi,

Here's just a simple autogen.sh for conntrack. I've suppressed explicit linking with 1.6 version as this is really boring.

BR,

Signature · 2 lines
Eric Leblond <[email protected]>
INL
autogen.sh +3 -2
Index: autogen.sh
===================================================================
@@ -11,7 +11,8 @@
     fi
 }
 
-run aclocal-1.6
+run aclocal
+run libtoolize -f
 #run autoheader
-run automake-1.6 -a
+run automake -a
 run autoconf
maintainer
#2 lore raw

Re: [PATCH] autogen.sh for libnetfilter_conntrack

bonjour Eric,

Quoted 2 lines · Eric Leblond

I've just added a "libtoolize -f" call to autogen.sh. It was not compiling cleanly from svn without that.

AFAIK, autoreconf is supposed to supersede autogen.sh-like scripts. That is what I've used so far. Is there any extra reason why someone could need autogen.sh?

Anyway I'll apply your patches, my guess is that other users will be complaining about the autogen.sh file missing sooner or later.

cheers,
Pablo

#3 lore raw

Re: [PATCH] autogen.sh for libnetfilter_conntrack

Quoted 3 lines

AFAIK, autoreconf is supposed to supersede autogen.sh-like scripts. That is what I've used so far. Is there any extra reason why someone could need autogen.sh?

No. I don't think so. But maybe adding a line about autoreconf to the INSTALL file would help.

Cheers.

Signature · 1 line
Christian Hentschel <[email protected]>
#4 lore raw

Re: [PATCH] autogen.sh for libnetfilter_conntrack

Hi;

Quoted 4 lines · Christian Hentschel
Quoted 3 lines

AFAIK, autoreconf is supposed to supersede autogen.sh-like scripts. That is what I've used so far. Is there any extra reason why someone could need autogen.sh?

No. I don't think so. But maybe adding a line about autoreconf to the INSTALL file would help.

Yes good idea, but things should be the same in other component where there is a autogen.sh script.
And send a bug report to autoreconf author because autoreconf do not use "libtoolize -f" and there is some problem with that...

BR,

Signature · 3 lines
Éric Leblond, [email protected]
Téléphone : 01 44 89 46 40, Fax : 01 44 89 45 01
INL, http://www.inl.fr