summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek.chauhan@gmail.com>2008-11-04 15:56:33 +0530
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2008-11-04 15:56:33 +0530
commitd2868b75111b48280b9631a7fe43bb6bacae35b9 (patch)
tree75a7771a0d07e2dee3c873b3c1033f3823b56bb6
parent90c22b4c505a0378e2a37b2c0f2672aeff7def83 (diff)
I'm an idiot, check for the existence of ./m4
-rw-r--r--eclass/gnome2-live.eclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/gnome2-live.eclass b/eclass/gnome2-live.eclass
index 6e19c2c..6cff5a6 100644
--- a/eclass/gnome2-live.eclass
+++ b/eclass/gnome2-live.eclass
@@ -48,7 +48,11 @@ gnome2-live_src_prepare() {
gnome-doc-prepare --automake
intltoolize --force
# Add by default; it's ignored if DNE
- AT_M4DIR=m4 eautoreconf
+ if test -e m4; then
+ AT_M4DIR=m4 eautoreconf
+ else
+ eautoreconf
+ fi
# Disable pyc compiling. Doesn't harm if DNE
ln -sf $(type -P true) py-compile