• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Auto-regenerate configure script or Makefile when things change.
3# From autoconf.info .  Works best with GNU Make.
4#
5${srcdir}/configure: configure.in
6	cd ${srcdir} && autoconf
7
8# autoheader might not change config.h.in, so touch a stamp file.
9${srcdir}/config.h.in: ${srcdir}/stamp-h.in
10${srcdir}/stamp-h.in: configure.in acconfig.h
11	cd ${srcdir} && autoheader
12	echo timestamp > ${srcdir}/stamp-h.in
13
14config.h: stamp-h
15stamp-h: ${srcdir}/config.h.in config.status
16	./config.status
17
18Makefile: Makefile.in config.status
19	./config.status
20
21config.status: ${srcdir}/configure
22	./config.status --recheck
23