]> ToastFreeware Gitweb - gregoa/bti.git/blobdiff - configure.ac
Leftovers from last commit, accepting account and, password from options
[gregoa/bti.git] / configure.ac
index f669d70cbafd158e6c346711dfd90214f0448378..afeba02b6cbb21d1be05f491a07008b3731343be 100644 (file)
@@ -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
@@ -37,7 +42,7 @@ else
 fi
 
 # explicitly link DSOs
-LIBS="$LIBS -ldl"
+LIBS="$LIBS -ldl -loauth"
 
 
 dnl Checks for header files.