1143031Sgrehan#
2143031Sgrehan# Auto-regenerate configure script or Makefile when things change.
3143031Sgrehan# From autoconf.info .  Works best with GNU Make.
4143031Sgrehan#
5143031Sgrehan${srcdir}/configure: configure.ac aclocal.m4
6143031Sgrehan	cd ${srcdir} && autoconf
7143031Sgrehan
8143031Sgrehan# autoheader might not change config.h.in, so touch a stamp file.
9143031Sgrehan${srcdir}/config.h.in: ${srcdir}/stamp-h.in
10143031Sgrehan${srcdir}/stamp-h.in: configure.ac aclocal.m4
11143031Sgrehan	cd ${srcdir} && autoheader
12143031Sgrehan	echo timestamp > ${srcdir}/stamp-h.in
13143031Sgrehan
14143031Sgrehanconfig.h: stamp-h
15143031Sgrehanstamp-h: ${srcdir}/config.h.in config.status
16143031Sgrehan	./config.status
17143031Sgrehan
18143031SgrehanMakefile: Makefile.in config.status
19143031Sgrehan	./config.status
20143031Sgrehan
21143031Sgrehanconfig.status: ${srcdir}/configure
22143031Sgrehan	./config.status --recheck
23143031Sgrehan