SHELL = /bin/sh
A = autoconf
M4 = m4

all:	configure

# configuration stuff

configure:	$(A)/configure.ac $(M4)/host-cpu-c-abi.m4 $(M4)/lib-prefix.m4
	autoconf $(A)/configure.ac | sed -e 's/ *$$//' > configure
	chmod 755 configure
	autoheader $(A)/configure.ac > autoconf/config_h.in
	chmod 644 $(A)/config_h.in
	rm -rf $(A)/config_h.in~ autom4te.cache/

clean:	FORCE
	rm -f configure $(A)/config_h.in

distclean:	clean

FORCE:
