From d8102a419d1573aa6a916621d336d1bf8ba53ee2 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 22 Jul 2010 10:10:35 -0700 Subject: [PATCH] error out if liboauth is not present Signed-off-by: Greg Kroah-Hartman --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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"]) -- 2.39.5