Commit 38eba4c2 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Fixed autotools

parent e143d565
......@@ -67,14 +67,14 @@ PKG_CHECK_MODULES(BCTOOLBOXTESTER, [bctoolbox-tester],[libbctoolbox_tester_found
if test "$libbctoolbox_tester_found" != "yes" ; then
dnl Check the lib presence in case the PKG-CONFIG version is not found
AC_LANG_CPLUSPLUS
AC_CHECK_LIB(bctoolbox-tester, main, [BCTOOLBOX_TESTER_LIBS+=" -lbctoolbox-tester"; libbctoolbox_tester_found=yes], [foo=bar])
AC_CHECK_LIB(bctoolbox-tester, main, [BCTOOLBOXTESTER_LIBS+=" -lbctoolbox-tester"; libbctoolbox_tester_found=yes], [foo=bar])
AC_LANG_C
fi
if test "$libbctoolbox_tester_found" != "yes" ; then
AC_MSG_ERROR([libbctoolbox tester not found. Install it and try again])
fi
AC_SUBST(BCTOOLBOX_TESTER_LIBS)
AC_SUBST(BCTOOLBOXTESTER_LIBS)
dnl ##################################################
dnl # Check for Belr
......
......@@ -16,7 +16,7 @@ belcard_tester_SOURCES=belcard-tester.cpp belcard-tester.hpp \
belcard-rfc6474-tester.cpp \
belcard-vcard-tester.cpp
belcard_tester_LDADD=$(top_builddir)/src/libbelcard.la $(BELR_LIBS) -lbcunit $(BCTOOLBOX_LIBS) $(BCTOOLBOX_TESTER_LIBS)
belcard_tester_LDADD=$(top_builddir)/src/libbelcard.la $(BELR_LIBS) -lbcunit $(BCTOOLBOX_LIBS) $(BCTOOLBOXTESTER_LIBS)
belcard_tester_CFLAGS=\
-DBC_CONFIG_FILE=\"config.h\" \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment