From: Greg Kroah-Hartman Date: Thu, 22 Jul 2010 17:10:35 +0000 (-0700) Subject: error out if liboauth is not present X-Git-Url: https://git.toastfreeware.priv.at/gregoa/bti.git/commitdiff_plain/d8102a419d1573aa6a916621d336d1bf8ba53ee2?ds=sidebyside error out if liboauth is not present Signed-off-by: Greg Kroah-Hartman --- diff --git a/configure.ac b/configure.ac index 7f6f1b1..afeba02 100644 --- a/configure.ac +++ b/configure.ac @@ -18,7 +18,10 @@ AC_CHECK_LIB([nsl], [main]) AC_CHECK_LIB([pcre], [main]) -AC_CHECK_LIB([oauth], [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"])