-
Notifications
You must be signed in to change notification settings - Fork 190
/
Copy pathgdb-disable-makeinfo.patch
44 lines (39 loc) · 1.22 KB
/
gdb-disable-makeinfo.patch
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
39
40
41
42
43
44
diff --git a/configure b/configure
index 64d287d..ae1d2b8 100755
--- a/configure
+++ b/configure
@@ -8038,21 +8038,26 @@ fi
done
test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo"
-case " $build_configdirs " in
- *" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
- *)
+if test "${MAKEINFO}" = "true"; then
+ # Disable makeinfo if requested
+ MAKEINFO=true
+else
+ case " $build_configdirs " in
+ *" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
+ *)
- # For an installed makeinfo, we require it to be from texinfo 4.7 or
- # higher, else we use the "missing" dummy.
- if ${MAKEINFO} --version \
- | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
- :
- else
- MAKEINFO="$MISSING makeinfo"
- fi
- ;;
+ # For an installed makeinfo, we require it to be from texinfo 4.7 or
+ # higher, else we use the "missing" dummy.
+ if ${MAKEINFO} --version \
+ | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
+ :
+ else
+ MAKEINFO="$MISSING makeinfo"
+ fi
+ ;;
-esac
+ esac
+fi
# FIXME: expect and dejagnu may become build tools?