about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-09-08 14:27:50 +0100
committerJames Booth <boothj5@gmail.com>2012-09-08 14:27:50 +0100
commitc1a2443bb12e86b080eb567fdde8164dc6035318 (patch)
tree05a5e34e0bfe7d259f78e409876ce83c92d7ffee
parentc343ff410cc1d4e6cda7ddd85aca492f30964780 (diff)
downloadprofani-tty-c1a2443bb12e86b080eb567fdde8164dc6035318.tar.gz
Removed compiler warnings from configure.ac
Fixed some error messages
-rw-r--r--configure.ac8
1 files 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"