Wed 18 Dec 2002 10:51:09 PM UTC, comment #2:
Your error on configure.ac[26] is a problem with an old version not stripping away the M4 quotes properly. But it did enable me to find an unrelated bug in autoconf 2.57 :-)
http://csserver.evansville.edu/~sc87/toos-autotools-2.tar.gz
This is the new set. Please note that I have explicitly required autoconf 2.57 and automake 1.7.2; though some earlier versions will most likely work, I did not test these. You can tweak the setting in configure.ac.
I can't test the LaTeX build properly, as I don't have the Babel Dutch files; it seems to do ok though. I wrote some notes about it in doc/Makefile.am.
Finally, I abused the new (as of am 1.7) non-recursive make features, so your src directory rules are in the top-level. However, this seems to put .o files in the top-level instead of src (though I only got 1 .o file, thanks to compile errors in Persoon.h). I think this might be a bug in Automake (the .o location, not the Persoon.h stuff ! ;-), and they said non-recursive make was new and probably has problems. If this bothers you please ask whether this is a bug or not, or move the src rules back into their own src/Makefile.am.
Finally, autoscan recommended that you check for struct tm, and you can abuse the macro I inserted as follows:
- Macro: AC_STRUCT_TM
If `time.h' does not define `struct tm', define
`TM_IN_SYS_TIME', which means that including
`sys/time.h' had better define `struct tm'.
And finally, to take advantage of the configure defines, you should insert this at the top of every built source file (not header, as this will lead to multiple includes), before all other includes and source:
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
|