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