made autogen somewhat sane
authorBrenden Matthews <brenden1@rty.ca>
Thu, 4 Aug 2005 03:01:22 +0000 (03:01 +0000)
committerBrenden Matthews <brenden1@rty.ca>
Thu, 4 Aug 2005 03:01:22 +0000 (03:01 +0000)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@52 7f574dfc-610e-0410-a909-a81674777703

autogen.sh

index 3061df7..2d52bd5 100755 (executable)
@@ -1,6 +1,29 @@
 #!/bin/sh
 
-aclocal-1.9
-autoheader-2.59
-automake-1.9 -a
-autoconf-2.59
+if [ -x aclocal-1.9 ]
+then
+       aclocal-1.9
+else
+       aclocal
+fi
+
+if [ -x autoheader-2.59 ]
+then
+       autoheader-2.59
+else
+       autoheader
+fi
+
+if [ -x automake-1.9 ]
+then
+       automake-1.9 -a
+else
+       automake
+fi
+
+if [ -x autoconf-2.59 ]
+then
+       autoconf-2.59
+else
+       autoconf
+fi