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

package info (click to toggle)
osmo-mgw 1.14.0%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,580 kB
  • sloc: ansic: 15,609; makefile: 431; python: 166; sh: 114; xml: 72
file content (15 lines) | stat: -rw-r--r-- 607 bytes parent folder | download | duplicates (6)
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
@@ -30,7 +30,7 @@
      [*linux*],[archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'])])
 
 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