std-autogen: avoid linking, instead copy autoconf files
authorMarko Kreen <markokr@gmail.com>
Fri, 16 Mar 2012 21:28:59 +0000 (23:28 +0200)
committerMarko Kreen <markokr@gmail.com>
Fri, 16 Mar 2012 21:28:59 +0000 (23:28 +0200)
This enables building source tarballs with build systems
that do not flatten the symlinks on tarball build,
eg: python distutils.

mk/std-autogen.sh

index c80e84ec1092e83af40e7c878ecd14f070535098..d823952c1bc7a7fd91fac0c2bbbedb6ffd5389a9 100755 (executable)
@@ -21,9 +21,9 @@ test -f "${USUAL_DIR}/m4/usual.m4" || {
 rm -f config.guess config.sub install-sh ltmain.sh libtool
 cp -p ${USUAL_DIR}/mk/install-sh .
 if libtoolize --help | grep "[-][-]install" > /dev/null; then
-  libtoolize -i -f -q
+  libtoolize -i -f -q -c
 else
-  libtoolize
+  libtoolize -c
 fi
 
 # drop ltmain.sh if libtool is not used