1335640Shselasky#
2335640Shselasky# Auto-regenerate configure script or Makefile when things change.
3335640Shselasky# From autoconf.info .  Works best with GNU Make.
4335640Shselasky#
5335640Shselasky${srcdir}/configure: configure.ac aclocal.m4
6335640Shselasky	cd ${srcdir} && autoconf
7335640Shselasky
8335640Shselasky# autoheader might not change config.h.in, so touch a stamp file.
9335640Shselasky${srcdir}/config.h.in: ${srcdir}/stamp-h.in
10335640Shselasky${srcdir}/stamp-h.in: configure.ac aclocal.m4
11335640Shselasky	cd ${srcdir} && autoheader
12335640Shselasky	echo timestamp > ${srcdir}/stamp-h.in
13335640Shselasky
14335640Shselaskyconfig.h: stamp-h
15335640Shselaskystamp-h: ${srcdir}/config.h.in config.status
16335640Shselasky	./config.status
17335640Shselasky
18335640ShselaskyMakefile: Makefile.in config.status
19335640Shselasky	./config.status
20335640Shselasky
21335640Shselaskyconfig.status: ${srcdir}/configure
22335640Shselasky	./config.status --recheck
23