automake: update bootstrap.sh and configure.ac with latest template
Change-Id: I000bc7fabce20e51fe7b31da7a654afc5eba9c9f
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/bootstrap.sh b/bootstrap.sh
index 412550f..50b75b7 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -1,13 +1,15 @@
#!/bin/sh
-AUTOCONF_FILES="Makefile.in aclocal.m4 ar-lib autom4te.cache compile config.* \
- configure depcomp install-sh ltmain.sh missing *libtool"
+AUTOCONF_FILES="Makefile.in aclocal.m4 ar-lib autom4te.cache compile \
+ config.guess config.h.in config.sub configure depcomp install-sh \
+ ltmain.sh missing *libtool test-driver"
case $1 in
clean)
test -f Makefile && make maintainer-clean
- rm -rf ${AUTOCONF_FILES}
-
+ for file in ${AUTOCONF_FILES}; do
+ find -name "$file" | xargs -r rm -rf
+ done
exit 0
;;
esac