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>
This commit is contained in:
Diego E. 'Flameeyes' Pettenò 2008-11-21 01:16:37 +01:00
parent ca133ff6a2
commit 0b92e53cf9
3 changed files with 7 additions and 5 deletions

View file

@ -44,6 +44,8 @@ AC_DISABLE_STATIC
AC_LIBTOOL_DLOPEN
AM_PROG_LIBTOOL
CC_NOUNDEFINED
dnl Checks for header files.
AC_HEADER_STDC
AM_CONFIG_HEADER(include/config.h)