[project @ 2004-04-12 12:22:45 by panne]
[ghc-hetmet.git] / Makefile.config
1 # partain: probably not the right thing yet
2
3 all: configure
4
5 configure: configure.ac aclocal.m4
6         rm -f configure.new
7         autoconf configure.ac > configure.new \
8                 || ( rm -f configure.new; exit 1 )
9         rm -f configure
10         mv configure.new configure
11         chmod +x configure
12         if test -f config.status; then ./config.status --recheck; fi
13         rm -f configure.new
14
15 CONFIG_H_IN = ghc/includes/config.h.in
16
17 config.h.in: configure.ac
18         rm -f $(CONFIG_H_IN)
19         autoheader configure.ac > $(CONFIG_H_IN) \
20                 || ( rm -f $(CONFIG_H_IN); exit 1 )
21
22 # do something about autoheader
23 # do something about ghc-vs-nofib configure scripts