]> arthur.barton.de Git - netatalk.git/blobdiff - autogen.sh
fix LFS test for cross compilation, from Bolke de Bruin
[netatalk.git] / autogen.sh
index af36167d7d17660e8209d276534a247082078c47..3dafa34a5beea30f2969f2d071ad23936aa1ed15 100755 (executable)
@@ -1,17 +1,13 @@
 #!/bin/sh
 
-# quick fix to remove old INSTALL/ directory
-rm -R -f INSTALL
-
-# another fix to hack move of README
-touch README
-
 # build it all.
-libtoolize --force --copy && \
-       aclocal $ACLOCAL_FLAGS && \
+libtoolize --copy --force && \
+       aclocal -I macros $ACLOCAL_FLAGS && \
        autoheader && \
-       automake --include-deps --add-missing && \
+       automake --include-deps --add-missing --foreign && \
        autoconf
 
 # just in case automake generated errors...
 autoconf
+
+./configure --enable-maintainer-mode "$@"