get autogen.sh to detect the autotools correctly on FreeBSD.
[monky] / autogen.sh
index 78e42b4..18808bb 100755 (executable)
@@ -1,8 +1,16 @@
 #!/bin/sh
 # $Id$
 
-aclocal-1.9
-libtoolize --force
-autoheader-2.59
-automake-1.9 -a
-autoconf-2.59
+if [ `uname -s` = FreeBSD ]; then
+       aclocal19
+       libtoolize15 --force
+       autoheader259
+       automake19 -a
+       autoconf259
+else
+       aclocal-1.9
+       libtoolize --force
+       autoheader-2.59
+       automake-1.9 -a
+       autoconf-2.59
+fi