2000-01-15 08:43:16 +08:00
|
|
|
#
|
|
|
|
# Auto-regenerate configure script or Makefile when things change.
|
2003-10-28 11:18:00 +08:00
|
|
|
# From autoconf.info . Works best with GNU Make.
|
2000-01-15 08:43:16 +08:00
|
|
|
#
|
|
|
|
${srcdir}/configure: configure.in
|
2003-10-28 11:18:00 +08:00
|
|
|
cd ${srcdir} && autoconf
|
2000-01-15 08:43:16 +08:00
|
|
|
|
2003-10-28 11:18:00 +08:00
|
|
|
# autoheader might not change config.h.in, so touch a stamp file.
|
2000-01-15 08:43:16 +08:00
|
|
|
${srcdir}/config.h.in: ${srcdir}/stamp-h.in
|
|
|
|
${srcdir}/stamp-h.in: configure.in acconfig.h
|
2003-10-28 11:18:00 +08:00
|
|
|
cd ${srcdir} && autoheader
|
2000-01-15 08:43:16 +08:00
|
|
|
echo timestamp > ${srcdir}/stamp-h.in
|
|
|
|
|
|
|
|
config.h: stamp-h
|
|
|
|
stamp-h: ${srcdir}/config.h.in config.status
|
|
|
|
./config.status
|
|
|
|
|
|
|
|
Makefile: Makefile.in config.status
|
|
|
|
./config.status
|
|
|
|
|
|
|
|
config.status: ${srcdir}/configure
|
|
|
|
./config.status --recheck
|