From c1a2443bb12e86b080eb567fdde8164dc6035318 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sat, 8 Sep 2012 14:27:50 +0100 Subject: [PATCH] Removed compiler warnings from configure.ac Fixed some error messages --- configure.ac | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 832c7209..2b83f249 100644 --- a/configure.ac +++ b/configure.ac @@ -21,7 +21,7 @@ AC_CHECK_LIB([ssl], [main], [], AC_CHECK_LIB([expat], [main], [], [AC_MSG_ERROR([expat is required for profanity])]) AC_CHECK_LIB([xml2], [main], [], - [AC_MSG_ERROR([xml2 is required for profanity])]) + [AC_MSG_ERROR([libxml2 is required for profanity])]) AC_CHECK_LIB([strophe], [main], [], [AC_MSG_ERROR([libstrophe is required for profanity])]) AC_CHECK_LIB([glib-2.0], [main], [], @@ -29,7 +29,7 @@ AC_CHECK_LIB([glib-2.0], [main], [], AC_CHECK_LIB([curl], [main], [], [AC_MSG_ERROR([libcurl is required for profanity])]) AC_CHECK_LIB([notify], [main], [], - [AC_MSG_NOTICE([libnotify not found])]) + [AC_MSG_NOTICE([libnotify not found, desktop notifications no supported])]) AC_CHECK_LIB([headunit], [main], [], [AC_MSG_NOTICE([headunit not found, will not be able to run tests])]) @@ -40,9 +40,7 @@ PKG_CHECK_MODULES([DEPS], [openssl glib-2.0 libcurl]) PKG_CHECK_MODULES([NOTIFY], [libnotify], [], [AC_MSG_NOTICE([libnotify module not found])]) -AM_CFLAGS="-O3 -Werror -Wall -Wextra -Wno-unused-parameter " -AM_CFLAGS="$AM_CFLAGS -Wno-unused-but-set-variable -Wno-unused-result " -AM_CFLAGS="$AM_CFLAGS -Wno-missing-field-initializers " +AM_CFLAGS="-O3 " AM_CFLAGS="$AM_CFLAGS -lstrophe -lxml2 -lexpat -lncurses -lcurl -lresolv " AM_CFLAGS="$AM_CFLAGS $DEPS_LIBS $NOTIFY_LIBS"