Lines 55-62
Link Here
|
55 |
_AM_DEPENDENCIES(CC) |
55 |
_AM_DEPENDENCIES(CC) |
56 |
|
56 |
|
57 |
dnl Because recent automake complains about AS, set it here. |
57 |
dnl Because recent automake complains about AS, set it here. |
58 |
AS="$CC" |
58 |
CCAS="$CC" |
59 |
AC_SUBST(AS) |
59 |
AC_SUBST(CCAS) |
60 |
|
60 |
|
61 |
AC_ARG_WITH(binutils, |
61 |
AC_ARG_WITH(binutils, |
62 |
[ --with-binutils=DIR search the directory DIR to find binutils]) |
62 |
[ --with-binutils=DIR search the directory DIR to find binutils]) |
Lines 110-116
Link Here
|
110 |
]) |
110 |
]) |
111 |
|
111 |
|
112 |
# Force no alignment to save space. |
112 |
# Force no alignment to save space. |
113 |
CPPFLAGS="$CPPFLAGS -malign-jumps=1 -malign-loops=1 -malign-functions=1" |
113 |
CPPFLAGS="$CPPFLAGS -falign-jumps=1 -falign-loops=1 -falign-functions=1" |
114 |
|
114 |
|
115 |
if test "x$undef_flag" = xyes; then |
115 |
if test "x$undef_flag" = xyes; then |
116 |
CPPFLAGS="$CPPFLAGS -Wundef" |
116 |
CPPFLAGS="$CPPFLAGS -Wundef" |
Lines 173-181
Link Here
|
173 |
|
173 |
|
174 |
# Unless the user specify --without-curses, check for curses. |
174 |
# Unless the user specify --without-curses, check for curses. |
175 |
if test "x$with_curses" != "xno"; then |
175 |
if test "x$with_curses" != "xno"; then |
176 |
AC_CHECK_LIB(ncurses, wgetch, [GRUB_LIBS="$GRUB_LIBS -lncurses" |
176 |
AC_CHECK_LIB(ncurses, wgetch, [GRUB_LIBS="$GRUB_LIBS /usr/lib/libncurses.a" |
177 |
AC_DEFINE(HAVE_LIBCURSES)], |
177 |
AC_DEFINE(HAVE_LIBCURSES)], |
178 |
[AC_CHECK_LIB(curses, wgetch, [GRUB_LIBS="$GRUB_LIBS -lcurses" |
178 |
[AC_CHECK_LIB(curses, wgetch, [GRUB_LIBS="$GRUB_LIBS /usr/lib/libncurses.a" |
179 |
AC_DEFINE(HAVE_LIBCURSES)])]) |
179 |
AC_DEFINE(HAVE_LIBCURSES)])]) |
180 |
fi |
180 |
fi |
181 |
|
181 |
|
Lines 607-615
Link Here
|
607 |
AC_SUBST(NET_EXTRAFLAGS) |
607 |
AC_SUBST(NET_EXTRAFLAGS) |
608 |
AC_SUBST(NETBOOT_DRIVERS) |
608 |
AC_SUBST(NETBOOT_DRIVERS) |
609 |
|
609 |
|
610 |
dnl Because recent automake complains about ASFLAGS, set it here. |
610 |
dnl Because recent automake complains about CCASFLAGS, set it here. |
611 |
ASFLAGS='$(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)' |
611 |
CCASFLAGS='$(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)' |
612 |
AC_SUBST(ASFLAGS) |
612 |
AC_SUBST(CCASFLAGS) |
613 |
|
613 |
|
614 |
AC_ARG_ENABLE(vga16, |
614 |
AC_ARG_ENABLE(vga16, |
615 |
[ --disable-vga16 disable VGA graphics interface]) |
615 |
[ --disable-vga16 disable VGA graphics interface]) |