File: gprofng-cross-build.diff

package info (click to toggle)
binutils 2.45-7
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 408,956 kB
  • sloc: ansic: 1,465,081; asm: 816,463; cpp: 87,135; exp: 79,234; makefile: 67,950; sh: 20,839; yacc: 14,149; lisp: 13,640; perl: 13,404; lex: 1,714; ada: 1,681; pascal: 1,446; cs: 879; python: 630; java: 478; sed: 191; xml: 95; awk: 25
file content (54 lines) | stat: -rw-r--r-- 1,744 bytes parent folder | download | duplicates (5)
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
45
46
47
48
49
50
51
52
53
54
--- a/gprofng/configure.ac
+++ b/gprofng/configure.ac
@@ -212,24 +212,22 @@ AM_ZLIB
 # Generate manpages, if possible.
 build_man=false
 build_doc=false
-if test $cross_compiling = no; then
-  AC_CHECK_PROGS([MAKEINFO], makeinfo, [$MISSING makeinfo])
-  case "x$MAKEINFO" in
-    x | */missing\ makeinfo*)
-      AC_MSG_WARN([gprofng: makeinfo is missing. Info documentation will not be built.])
-      ;;
-    *)
-      case x"`$MAKEINFO --version | grep 'GNU texinfo'`" in
-	x*\ [[1-5]].*|x*\ 6.[[0-4]].* )
-	  AC_MSG_WARN([gprofng: $MAKEINFO is too old. Info documentation will not be built.])
-	  MAKEINFO="@echo $MAKEINFO is too old, 6.5 or newer required; true"
-	  ;;
-	x* ) build_doc=true ;;
-	esac
-      ;;
-    esac
-  AC_SUBST(MAKEINFO)
-fi
+AC_CHECK_PROGS([MAKEINFO], makeinfo, [$MISSING makeinfo])
+case "x$MAKEINFO" in
+  x | */missing\ makeinfo*)
+    AC_MSG_WARN([gprofng: makeinfo is missing. Info documentation will not be built.])
+    ;;
+  *)
+    case x"`$MAKEINFO --version | grep 'GNU texinfo'`" in
+      x*\ [[1-5]].*|x*\ 6.[[0-4]].* )
+        AC_MSG_WARN([gprofng: $MAKEINFO is too old. Info documentation will not be built.])
+        MAKEINFO="@echo $MAKEINFO is too old, 6.5 or newer required; true"
+        ;;
+      x* ) build_doc=true ;;
+      esac
+    ;;
+  esac
+AC_SUBST(MAKEINFO)
 AM_CONDITIONAL([BUILD_MAN], [test x$build_man = xtrue])
 AM_CONDITIONAL([BUILD_DOC], [test x$build_doc = xtrue])
 
--- a/gprofng/configure
+++ b/gprofng/configure
@@ -17011,7 +17011,7 @@ fi
 # Generate manpages, if possible.
 build_man=false
 build_doc=false
-if test $cross_compiling = no; then
+if :; then
   for ac_prog in makeinfo
 do
   # Extract the first word of "$ac_prog", so it can be a program name with args.