blob: 1be749322b9605d27ae37014316a43d2429faa39 [file] [log] [blame]
Patrick Williams5e0b6812016-11-04 16:45:33 -05001#!/bin/sh
William A. Kennington IIIa4446c72018-06-23 13:32:29 -07002set -e
3set -x
Patrick Williams5e0b6812016-11-04 16:45:33 -05004
5AUTOCONF_FILES="Makefile.in aclocal.m4 ar-lib autom4te.cache compile \
6 config.guess config.h.in config.sub configure depcomp install-sh \
7 ltmain.sh missing *libtool test-driver"
8
9case $1 in
10 clean)
11 test -f Makefile && make maintainer-clean
12 for file in ${AUTOCONF_FILES}; do
13 find -name "$file" | xargs -r rm -rf
14 done
15 exit 0
16 ;;
17esac
18
William A. Kennington IIIc65d74e2018-06-19 18:32:09 -070019autoreconf -vfi
Patrick Williams5e0b6812016-11-04 16:45:33 -050020echo 'Run "./configure ${CONFIGURE_FLAGS} && make"'