mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-29 00:26:21 +00:00
Tidy up autotools scripts, removed CFLAGS
This commit is contained in:
20
configure.ac
20
configure.ac
@@ -40,11 +40,23 @@ PKG_CHECK_MODULES([DEPS], [openssl glib-2.0 libcurl])
|
||||
PKG_CHECK_MODULES([NOTIFY], [libnotify], [],
|
||||
[AC_MSG_NOTICE([libnotify module not found])])
|
||||
|
||||
CFLAGS="$CFLAGS $DEPS_CFLAGS $DEPS_LIBS $NOTIFY_CFLAGS $NOTIFY_LIBS"
|
||||
CPPFLAGS="$CPPFLAGS $DEPS_CFLAGS $DEPS_LIBS $NOTIFY_CFLAGS $NOTIFY_LIBS"
|
||||
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="$AM_CFLAGS -lstrophe -lxml2 -lexpat -lncurses -lcurl -lresolv "
|
||||
AM_CFLAGS="$AM_CFLAGS $DEPS_CFLAGS $NOFTITY_CFLAGS $DEPS_LIBS $NOTIFY_LIBS"
|
||||
|
||||
AC_CHECK_HEADERS([libnotify/notify.h], [],
|
||||
[AC_MSG_NOTICE([libnotify not found, desktop notification option not included])])
|
||||
AM_CPPFLAGS="-lstrophe -lxml2 -lexpat -lncurses -lcurl -lresolv "
|
||||
AM_CPPFLAGS="$AM_CPPFLAGS $DEPS_CFLAGS $NOFTITY_CFLAGS $DEPS_LIBS $NOTIFY_LIBS"
|
||||
|
||||
AC_SUBST(AM_CFLAGS)
|
||||
AC_SUBST(AM_CPPFLAGS)
|
||||
|
||||
#CFLAGS="$CFLAGS $DEPS_CFLAGS $DEPS_LIBS $NOTIFY_CFLAGS $NOTIFY_LIBS"
|
||||
#CPPFLAGS="$CPPFLAGS $DEPS_CFLAGS $DEPS_LIBS $NOTIFY_CFLAGS $NOTIFY_LIBS"
|
||||
|
||||
#AC_CHECK_HEADERS([libnotify/notify.h], [],
|
||||
# [AC_MSG_NOTICE([libnotify not found, desktop notification option not included])])
|
||||
|
||||
# Checks for typedefs, structures, and compiler characteristics.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user