summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorDiego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-11-21 01:54:21 +0100
committerDiego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-11-21 13:06:48 +0100
commitc7455879349af9e457836a574bddccdf1dbe4f9f (patch)
treecef0b30a4b9cf46b942071748a9c5bfd699afbb1 /configure.in
parent2928400a9dc81a89131c9269864be6b9c550de7d (diff)
Check for --no-undefined linker flag and use it.
This adds extra safety that the built libraries will have all the correct dependencies linked in. Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 249b837..fc6488b 100644
--- a/configure.in
+++ b/configure.in
@@ -12,6 +12,8 @@ AC_DISABLE_STATIC
AM_PROG_LIBTOOL
AC_HEADER_STDC
+CC_NOUNDEFINED
+
PKG_CHECK_MODULES(ALSA, alsa >= 1.0.11)
AC_CHECK_LIB(asound, snd_pcm_ioplug_create,,
AC_ERROR([*** libasound has no external plugin SDK]), -ldl)