|
|
|
@ -45,10 +45,12 @@ AC_CHECK_HEADERS(jansson.h)
|
|
|
|
|
PTHREAD_LIBS="-lpthread" |
|
|
|
|
MATH_LIBS="-lm" |
|
|
|
|
RT_LIBS="-lrt" |
|
|
|
|
JANSSON_LIBS="-ljansson" |
|
|
|
|
|
|
|
|
|
AC_SUBST(PTHREAD_LIBS) |
|
|
|
|
AC_SUBST(MATH_LIBS) |
|
|
|
|
AC_SUBST(RT_LIBS) |
|
|
|
|
AC_SUBST(JANSSON_LIBS) |
|
|
|
|
|
|
|
|
|
AC_OUTPUT([Makefile] [src/Makefile]) |
|
|
|
|
|
|
|
|
@ -57,7 +59,7 @@ echo "Compilation............: make (or gmake)"
|
|
|
|
|
echo " CPPFLAGS.............: $CPPFLAGS" |
|
|
|
|
echo " CFLAGS...............: $CFLAGS" |
|
|
|
|
echo " LDFLAGS..............: $LDFLAGS" |
|
|
|
|
echo " LDADD................: $PTHREAD_LIBS $MATH_LIBS $RT_LIBS" |
|
|
|
|
echo " LDADD................: $PTHREAD_LIBS $MATH_LIBS $RT_LIBS $JANSSON_LIBS" |
|
|
|
|
echo |
|
|
|
|
echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')" |
|
|
|
|
echo " prefix...............: $prefix" |
|
|
|
|