summaryrefslogtreecommitdiff
path: root/package/grub/patches/110-remove_configure_errors.patch
blob: f090aa975653574e0944039716c3ff5108a8adb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- a/configure.ac
+++ b/configure.ac
@@ -177,26 +177,22 @@ grub_ASM_ABSOLUTE_WITHOUT_ASTERISK
 
 grub_CHECK_START_SYMBOL
 grub_CHECK_USCORE_START_SYMBOL
-if test "x$grub_cv_check_start_symbol" != "xyes" \
-	-a "x$grub_cv_check_uscore_start_symbol" != "xyes"; then
-  AC_MSG_ERROR([Neither start nor _start is defined])
-fi
 
 grub_CHECK_USCORE_USCORE_BSS_START_SYMBOL
 grub_CHECK_USCORE_EDATA_SYMBOL
 grub_CHECK_EDATA_SYMBOL
-if test "x$grub_cv_check_uscore_uscore_bss_start_symbol" != "xyes" \
-	-a "x$grub_cv_check_uscore_edata_symbol" != "xyes" \
-	-a "x$grub_cv_check_edata_symbol" != "xyes"; then
-  AC_MSG_ERROR([None of __bss_start, _edata, edata defined])
-fi
+# if test "x$grub_cv_check_uscore_uscore_bss_start_symbol" != "xyes" \
+#	-a "x$grub_cv_check_uscore_edata_symbol" != "xyes" \
+#	-a "x$grub_cv_check_edata_symbol" != "xyes"; then
+#  AC_MSG_ERROR([None of __bss_start, _edata, edata defined])
+# fi
 
 grub_CHECK_END_SYMBOL
 grub_CHECK_USCORE_END_SYMBOL
-if test "x$grub_cv_check_end_symbol" != "xyes" \
-	-a "x$grub_cv_check_uscore_end_symbol" != "xyes"; then
-  AC_MSG_ERROR([Neither end nor _end is defined])
-fi
+#if test "x$grub_cv_check_end_symbol" != "xyes" \
+#	-a "x$grub_cv_check_uscore_end_symbol" != "xyes"; then
+#  AC_MSG_ERROR([Neither end nor _end is defined])
+#fi
 
 # Check for curses libraries.
 AC_ARG_WITH(curses,