mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-24 08:09:22 +00:00
Reimport mbchk.
* util/Makefile.am: New file. * util/mbchk.c: Likewise. * Makefile.am (SUBDIRS): Add util. * configure.ac: New options --enable-mbchk. Check for HELP2MAN. (CFLAGS): Don't alter. (COND_MAN_PAGES): New conditional. (AC_CONFIG_FILES): Add util/Makefile. * doc/Makefile.am (kernel_CFLAGS): Add -m32 and -nostdlib. * doc/multiboot.texi (Invoking mbchk): New chapter.
This commit is contained in:
1 parent
432c7554bf
commit
2ee333d020
7 files changed
+297
-6
No files matched your search
+11
-2
@@ -42,8 +42,17 @@ dnl Because recent automake complains about CCASFLAGS, set it here.
|
||||
CCASFLAGS='$(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)'
|
||||
AC_SUBST(CCASFLAGS)
|
||||
|
||||
CFLAGS="-m32 -nostdlib $CFLAGS"
|
||||
AC_ARG_ENABLE(mbchk,
|
||||
[ --enable-mbchk
|
||||
build the mbchk (multiboot checker)])
|
||||
AM_CONDITIONAL(BUILD_MBCHK, test "x$enable_mbchk" = xyes)
|
||||
|
||||
if test "x$enable_mbchk" = xyes; then
|
||||
AC_PATH_PROG(HELP2MAN, help2man)
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL([COND_MAN_PAGES], [test x$enable_mbchk = xyes -a x$HELP2MAN != x])
|
||||
|
||||
dnl Output.
|
||||
AC_CONFIG_FILES([Makefile doc/Makefile])
|
||||
AC_CONFIG_FILES([Makefile doc/Makefile util/Makefile])
|
||||
AC_OUTPUT
|
||||
Reference in new issue
Block a user