X-Git-Url: https://git.toastfreeware.priv.at/gregoa/bti.git/blobdiff_plain/00740afb93d7f6cb9817d1016a3906e6770bf405..b093827e79dfb914ebbd57a2b61d7795f5bfa316:/configure.ac diff --git a/configure.ac b/configure.ac index e3daf5f..afeba02 100644 --- a/configure.ac +++ b/configure.ac @@ -18,6 +18,11 @@ AC_CHECK_LIB([nsl], [main]) AC_CHECK_LIB([pcre], [main]) +AC_CHECK_LIB(oauth, main, [], [ + echo "Error, you need liboauth to build properly." + exit -1 + ]) + # CURL LIBCURL_CHECK_CONFIG([yes], [], [have_libcurl="yes"], [have_libcurl="no"]) if test "${have_libcurl}" != yes; then @@ -36,6 +41,8 @@ else LIBS="$LIBS $XML_LIBS" fi +# explicitly link DSOs +LIBS="$LIBS -ldl -loauth" dnl Checks for header files.