Commit graph

23 commits

Author SHA1 Message Date
Bill Currie
9871b44d68 [build] Fix a warning in attribute const check
The warning flag check worked too well: it enabled the warning and
autoconf's default main wanted the const attribute. The bug has been
floating around for a while, it seems.
2023-06-13 13:08:38 +09:00
Bill Currie
577959ec6b [build] Use AS_HELP_STRING on all the help strings
Cleans up the inconsistently wrapped lines.
2021-12-24 06:45:13 +09:00
Bill Currie
ba8da88f56 [build] Update for autoconf 2.71
Only because I didn't appreciate the warnings about things being
obsolete.
2021-11-20 12:54:05 +09:00
Bill Currie
7dc7bf138f [build] Rename QF_PROCESS_NEED_DIRS
QF_PROCESS_NEED_LIST is a better name as for one, building no longer
depends on directories, and the directories were lists anyway, so the
name is more generally applicable.
2021-03-26 15:26:13 +09:00
Bill Currie
6d5ffa9f8e [build] Move to non-recursive make
There's still some cleanup to do, but everything seems to be working
nicely: `make -j` works, `make distcheck` passes. There is probably
plenty of bitrot in the package directories (RPM, debian), though.

The vc project files have been removed since those versions are way out
of date and quakeforge is pretty much dependent on gcc now anyway.

Most of the old Makefile.am files  are now Makemodule.am.  This should
allow for new Makefile.am files that allow local building (to be added
on an as-needed bases).  The current remaining Makefile.am files are for
standalone sub-projects.a

The installable bins are currently built in the top-level build
directory. This may change if the clutter gets to be too much.

While this does make a noticeable difference in build times, the main
reason for the switch was to take care of the growing dependency issues:
now it's possible to build tools for code generation (eg, using qfcc and
ruamoko programs for code-gen).
2020-06-25 11:35:37 +09:00
Bill Currie
07c618492f Break out the default plugin code into its own macro. 2012-04-22 10:03:52 +09:00
Bill Currie
5e330890fc Fix the missing terminator for non-static plugins.
Thanks to iku for pointing it out.
2012-03-03 20:57:45 +09:00
Bill Currie
4cbe78babb Correct the calculation of the static plugin names.
Static plugins not working due to incorrect registered names wasn't nice :P
2012-02-16 17:06:45 +09:00
Bill Currie
df47dd31f1 Clean up the excessive makefile vars generated by AC_SUBST.
While it further breaks RPM building, all AC_SUBST(HAVE_*) have been nuked.
When AM_SUBST_NOTMAKE, tell automake to not generate var = @var@ in
Makefile.in for qf specific vars (QF_SUBST is a wrapper for AC_SUBST that
also calls AM_SUBST_NOTMAKE).
2012-02-13 15:49:55 +09:00
Bill Currie
dd6ff1fde2 Fix default plugin selection for static plugins too.
Ugh, I made a lot of mistakes last night.
2012-02-13 08:59:40 +09:00
Bill Currie
7642b6f812 And fix the fix.
*sigh* inadequate testing.
2012-02-12 21:40:12 +09:00
Bill Currie
a16daac352 Fix the broken defaults for sound and cd plugins.
This has the side effect of defining defaults for all plugins, but as only
sound and cd actually use the defaults, no harm done.
2012-02-12 21:16:28 +09:00
Bill Currie
e416c3e172 Clear up some annying whitespace issues.
Now that I know more about how autoconf actually works (ie, m4 stuff), I'm
finally able to fix the inability to format lists the way I want.
2012-02-12 20:14:26 +09:00
Bill Currie
546a7e7aac Avoid recusing into tools and ruamoko when not needed. 2012-02-12 19:29:31 +09:00
Bill Currie
2a472a2c44 Add the second half of the fix.
Ugh, I thought I'd added that. *sigh*
2012-02-12 18:48:47 +09:00
Bill Currie
02d24189ef Use QF_NEED for plugins.
At the moment, the selection of the default sound driver etc is broken.
2012-02-12 11:37:25 +09:00
Bill Currie
e513e29905 Move the prefix setup out of QF_PROCESS_NEED_subroutine.
And fix the macro's spelling, too :)

QF_PROCESS_NEED_subroutine needs too much knowledge to get the prefix
riight every time. Much easier to set it at invocation.
2012-02-10 18:16:32 +09:00
Bill Currie
4d6ed605a9 Create and use QF_PROCESS_NEED_DIRS.
Not that I imagine many people use --with[out]-tools, but now unwanted
tools don't get visited by make.
2012-02-10 01:49:45 +09:00
Bill Currie
717d5368de Rework QF_PROCESS_NEED to be more general.
QF_PROCESS_NEED has been renamed to QF_PROCESS_NEED_LIBS and its guts have
been moved to QF_PROCESS_NEED_subroutine, with additional modifications to
allow QF_NEED to be used for other targets as well (eg, directories,
executables, etc).
2012-02-10 01:30:41 +09:00
Bill Currie
8202eb6002 Update our copy of libcurl.m4. 2011-05-10 11:41:38 +09:00
Bill Currie
32f7cd8b22 Get HTTP support (libcurl) working with mingw. 2010-12-23 13:18:43 +09:00
Jeff Teunissen
20422ddf04 remove ao.m4 :) 2007-03-27 07:20:26 +00:00
Jeff Teunissen
39c5bd0d9e Clean up aclocal stuff. 2007-03-27 07:08:22 +00:00