mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05:00
Removed compiler warnings from configure.ac
Fixed some error messages
This commit is contained in:
parent
c343ff410c
commit
c1a2443bb1
@ -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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user