gprofng-cross-build
authorMatthias Klose <doko@debian.org>
Mon, 3 Mar 2025 21:01:22 +0000 (22:01 +0100)
committerMatthias Klose <doko@debian.org>
Mon, 3 Mar 2025 21:01:22 +0000 (22:01 +0100)
Gbp-Pq: Name gprofng-cross-build.diff

gprofng/configure
gprofng/configure.ac

index d54f42029470c2fa20bcdd3a29168a0705e5a777..65ea6a8873bb89f451b541b67d4520e36e0aa8c4 100755 (executable)
@@ -16787,7 +16787,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.
index d7a2c386d103e7bc1cac4451f8f370671a586938..baeadd0adcb59e37c985b36fd4d92095bb94b583 100644 (file)
@@ -211,24 +211,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])