Skip to content

Commit

Permalink
buildsys: add some comments (#5602)
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin authored Jan 23, 2024
1 parent 604f33f commit c2b535e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aclocal.m4
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Make sure to include any M4 files needed by configure.ac here
#
# This file is manually maintained and *not* generated by aclocal.
# See configure.ac for further information.
m4_include([cnf/m4/ax_append_compile_flags.m4])
m4_include([cnf/m4/ax_append_flag.m4])
m4_include([cnf/m4/ax_check_compile_flag.m4])
Expand Down
2 changes: 2 additions & 0 deletions autogen.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/sh
#
# Regenerate configure from configure.ac. Requires GNU autoconf.
# We do not use autoreconf because it is only part of GNU automake,
# and also because it had various other issues in the past.
set -ex
autoconf -Wall -f
autoheader -Wall -f
4 changes: 4 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ AC_INIT([GAP],
AC_CONFIG_SRCDIR([src/gap.c])
AC_CONFIG_AUX_DIR([cnf])

dnl we do not use AC_CONFIG_MACRO_DIR but rather a manually created aclocal.m4;
dnl this is in parts because autoreconf and aclocal are only available via GNU automake,
dnl which we do not use; but also because there is no obvious benefit to using it.

AC_CONFIG_HEADERS([build/config.h:src/config.h.in])
AC_CONFIG_COMMANDS([build/stamp-h], [echo timestamp > build/stamp-h])

Expand Down

0 comments on commit c2b535e

Please sign in to comment.