rename grub-fuse to grub-mount throughout configuration
This commit is contained in:
parent
9aa6fcc17e
commit
897e62079e
2 changed files with 18 additions and 18 deletions
|
@ -224,7 +224,7 @@ program = {
|
||||||
ldadd = libgrubkern.a;
|
ldadd = libgrubkern.a;
|
||||||
ldadd = grub-core/gnulib/libgnu.a;
|
ldadd = grub-core/gnulib/libgnu.a;
|
||||||
ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR)' '-lfuse';
|
ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR)' '-lfuse';
|
||||||
condition = COND_GRUB_FUSE;
|
condition = COND_GRUB_MOUNT;
|
||||||
};
|
};
|
||||||
|
|
||||||
program = {
|
program = {
|
||||||
|
|
34
configure.ac
34
configure.ac
|
@ -856,36 +856,36 @@ AC_SUBST([enable_grub_mkfont])
|
||||||
AC_SUBST([freetype_cflags])
|
AC_SUBST([freetype_cflags])
|
||||||
AC_SUBST([freetype_libs])
|
AC_SUBST([freetype_libs])
|
||||||
|
|
||||||
AC_ARG_ENABLE([grub-fuse],
|
AC_ARG_ENABLE([grub-mount],
|
||||||
[AS_HELP_STRING([--enable-grub-fuse],
|
[AS_HELP_STRING([--enable-grub-mount],
|
||||||
[build and install the `grub-fuse' utility (default=guessed)])])
|
[build and install the `grub-mount' utility (default=guessed)])])
|
||||||
if test x"$enable_grub_fuse" = xno ; then
|
if test x"$enable_grub_mount" = xno ; then
|
||||||
grub_fuse_excuse="explicitly disabled"
|
grub_mount_excuse="explicitly disabled"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test x"$grub_fuse_excuse" = x ; then
|
if test x"$grub_mount_excuse" = x ; then
|
||||||
AC_CHECK_LIB([fuse], [fuse_main_real], [],
|
AC_CHECK_LIB([fuse], [fuse_main_real], [],
|
||||||
[grub_fuse_excuse="need FUSE library"])
|
[grub_mount_excuse="need FUSE library"])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test x"$grub_fuse_excuse" = x ; then
|
if test x"$grub_mount_excuse" = x ; then
|
||||||
# Check for fuse headers.
|
# Check for fuse headers.
|
||||||
SAVED_CPPFLAGS="$CPPFLAGS"
|
SAVED_CPPFLAGS="$CPPFLAGS"
|
||||||
CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64"
|
CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64"
|
||||||
AC_CHECK_HEADERS([fuse/fuse.h], [],
|
AC_CHECK_HEADERS([fuse/fuse.h], [],
|
||||||
[grub_fuse_excuse=["need FUSE headers"]])
|
[grub_mount_excuse=["need FUSE headers"]])
|
||||||
CPPFLAGS="$SAVED_CPPFLAGS"
|
CPPFLAGS="$SAVED_CPPFLAGS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test x"$enable_grub_fuse" = xyes && test x"$grub_fuse_excuse" != x ; then
|
if test x"$enable_grub_mount" = xyes && test x"$grub_mount_excuse" != x ; then
|
||||||
AC_MSG_ERROR([grub-mount was explicitly requested but can't be compiled])
|
AC_MSG_ERROR([grub-mount was explicitly requested but can't be compiled])
|
||||||
fi
|
fi
|
||||||
if test x"$grub_fuse_excuse" = x ; then
|
if test x"$grub_mount_excuse" = x ; then
|
||||||
enable_grub_fuse=yes
|
enable_grub_mount=yes
|
||||||
else
|
else
|
||||||
enable_grub_fuse=no
|
enable_grub_mount=no
|
||||||
fi
|
fi
|
||||||
AC_SUBST([enable_grub_fuse])
|
AC_SUBST([enable_grub_mount])
|
||||||
|
|
||||||
AC_ARG_ENABLE([device-mapper],
|
AC_ARG_ENABLE([device-mapper],
|
||||||
[AS_HELP_STRING([--enable-device-mapper],
|
[AS_HELP_STRING([--enable-device-mapper],
|
||||||
|
@ -983,7 +983,7 @@ AM_CONDITIONAL([COND_GRUB_EMU_USB], [test x$enable_grub_emu_usb = xyes])
|
||||||
AM_CONDITIONAL([COND_GRUB_EMU_SDL], [test x$enable_grub_emu_sdl = xyes])
|
AM_CONDITIONAL([COND_GRUB_EMU_SDL], [test x$enable_grub_emu_sdl = xyes])
|
||||||
AM_CONDITIONAL([COND_GRUB_EMU_PCI], [test x$enable_grub_emu_pci = xyes])
|
AM_CONDITIONAL([COND_GRUB_EMU_PCI], [test x$enable_grub_emu_pci = xyes])
|
||||||
AM_CONDITIONAL([COND_GRUB_MKFONT], [test x$enable_grub_mkfont = xyes])
|
AM_CONDITIONAL([COND_GRUB_MKFONT], [test x$enable_grub_mkfont = xyes])
|
||||||
AM_CONDITIONAL([COND_GRUB_FUSE], [test x$enable_grub_fuse = xyes])
|
AM_CONDITIONAL([COND_GRUB_MOUNT], [test x$enable_grub_mount = xyes])
|
||||||
AM_CONDITIONAL([COND_HAVE_FONT_SOURCE], [test x$FONT_SOURCE != x])
|
AM_CONDITIONAL([COND_HAVE_FONT_SOURCE], [test x$FONT_SOURCE != x])
|
||||||
AM_CONDITIONAL([COND_GRUB_PE2ELF], [test x$TARGET_OBJ2ELF != x])
|
AM_CONDITIONAL([COND_GRUB_PE2ELF], [test x$TARGET_OBJ2ELF != x])
|
||||||
AM_CONDITIONAL([COND_APPLE_CC], [test x$TARGET_APPLE_CC = x1])
|
AM_CONDITIONAL([COND_APPLE_CC], [test x$TARGET_APPLE_CC = x1])
|
||||||
|
@ -1059,10 +1059,10 @@ echo grub-mkfont: Yes
|
||||||
else
|
else
|
||||||
echo grub-mkfont: No "($grub_mkfont_excuse)"
|
echo grub-mkfont: No "($grub_mkfont_excuse)"
|
||||||
fi
|
fi
|
||||||
if [ x"$grub_fuse_excuse" = x ]; then
|
if [ x"$grub_mount_excuse" = x ]; then
|
||||||
echo grub-mount: Yes
|
echo grub-mount: Yes
|
||||||
else
|
else
|
||||||
echo grub-mount: No "($grub_fuse_excuse)"
|
echo grub-mount: No "($grub_mount_excuse)"
|
||||||
fi
|
fi
|
||||||
echo "*******************************************************"
|
echo "*******************************************************"
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue