--- autogen.sh.orig	2007-09-12 08:31:50.000000000 -0700
+++ autogen.sh	2015-08-08 18:38:55.000000000 -0700
@@ -15,12 +15,14 @@
 	chmod 755 ${i}
 done
 
-libtoolize --force --copy
-aclocal
-autoheader
+touch config.rpath
+
+glibtoolize --force --copy
+aclocal --force
+autoheader --force
 automake --verbose --copy --force --add-missing
 intltoolize --force --copy
-autoconf
+autoconf --force
 
 # For the Debian build
 test -d debian && {
