aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeiko Becker2018-02-19 09:13:15 -0600
committerEric Engestrom2018-02-23 11:53:08 -0600
commit4f08bfe96da1542f336589edf310d06ebce3cf20 (patch)
tree189d03ab810f7fba8993fcbab638cddae5f2bf3b /configure.ac
parent009634e493097afae95d190fc26cb04a1664648a (diff)
downloadexternal-libdrm-4f08bfe96da1542f336589edf310d06ebce3cf20.tar.gz
external-libdrm-4f08bfe96da1542f336589edf310d06ebce3cf20.tar.xz
external-libdrm-4f08bfe96da1542f336589edf310d06ebce3cf20.zip
*-symbol-check: Don't hard-code nm executable
Helpful if your nm executable has a prefix based on the architecture, for example. Signed-off-by: Heiko Becker <heirecka@exherbo.org> Cc: Timo Gurr <timo.gurr@gmail.com> [Eric: v2: rebase and add Meson support] Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 68270004..02644a66 100644
--- a/configure.ac
+++ b/configure.ac
@@ -45,6 +45,7 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
45# Check for programs 45# Check for programs
46AC_PROG_CC 46AC_PROG_CC
47AC_PROG_CC_C99 47AC_PROG_CC_C99
48AC_PROG_NM
48 49
49if test "x$ac_cv_prog_cc_c99" = xno; then 50if test "x$ac_cv_prog_cc_c99" = xno; then
50 AC_MSG_ERROR([Building libdrm requires C99 enabled compiler]) 51 AC_MSG_ERROR([Building libdrm requires C99 enabled compiler])