File: autotools-pkg-config-macro-not-cross-compilation-safe.patch

package info (click to toggle)
osmo-iuh 1.7.0%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 11,444 kB
  • sloc: ansic: 7,319; makefile: 2,719; python: 501; sh: 143; perl: 43
file content (15 lines) | stat: -rw-r--r-- 559 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
From: Nathan Doris <nate.doris@gmail.com>
Date: Thursday, 13 June 2024
Description: In configure.ac, replaced AC_PATH_PROG to AC_PATH_TOOL

--- a/configure.ac
+++ b/configure.ac
@@ -36,7 +36,7 @@
 AC_CHECK_HEADERS(netinet/sctp.h,,AC_MSG_ERROR(netinet/sctp.h not found))
 
 dnl check for pkg-config (explained in detail in libosmocore/configure.ac)
-AC_PATH_PROG(PKG_CONFIG_INSTALLED, pkg-config, no)
+AC_PATH_TOOL(PKG_CONFIG_INSTALLED, pkg-config, no)
 if test "x$PKG_CONFIG_INSTALLED" = "xno"; then
         AC_MSG_WARN([You need to install pkg-config])
 fi