| 1 | # Created: 2005/03/12 |
| 2 | # Author: David Elliott |
| 3 | |
| 4 | # For autoconf: Debian in their infinite wisdom decided to improve upon |
| 5 | # the standard autoconf 2.59 macros. Thus Debian's autoconf generates |
| 6 | # a totally different configure script. This fixes it to look |
| 7 | # mostly like Debian's. There are also some fixes pulled in from the OS/2 |
| 8 | # fork of autoconf. |
| 9 | |
| 10 | # Rule to freeze the m4 so autoconf will actually use it. |
| 11 | # NOTE: VERY important to cd to somewhere there are no .m4 files. |
| 12 | # or at least no aclocal.m4 or else autom4te helpfully picks it up. |
| 13 | .PHONY: all |
| 14 | all: autoconf/autoconf.m4f |
| 15 | |
| 16 | AUTOCONF_SOURCES = \ |
| 17 | autoconf/c.m4 \ |
| 18 | autoconf/general.m4 \ |
| 19 | autoconf/libs.m4 \ |
| 20 | autoconf/status.m4 |
| 21 | |
| 22 | AUTOM4TE=autom4te |
| 23 | |
| 24 | autoconf/autoconf.m4f: $(AUTOCONF_SOURCES) |
| 25 | $(AUTOM4TE) -B . --language=Autoconf --freeze --output=autoconf/autoconf.m4f |
| 26 | |