Patchwork [3/4] build: remove unused -DLIBNETFILTER_CONNTRACK_DIR

login
register
mail settings
Submitter Jan Engelhardt
Date May 19, 2012, 10:08 p.m.
Message ID <1337465292-28924-4-git-send-email-jengelh@inai.de>
Download mbox | patch
Permalink /patch/160206/
State Accepted
Headers show

Comments

Jan Engelhardt - May 19, 2012, 10:08 p.m.
From: Jan Engelhardt <jengelh@medozas.de>

CFLAGS must not be overriden if not set (it belongs to the user).
Since -DLIBNETFILTER_CONNTRACK_DIR is unused however, remove it
altogether.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
---
 configure.ac |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

Patch

diff --git a/configure.ac b/configure.ac
index 4a78294..ba7a6f3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,11 +59,6 @@  int main()
      ],[AC_MSG_RESULT(no)],[AC_MSG_RESULT(no)])
 fi
 
-if test ! -z "$libdir"; then
-	MODULE_DIR="\\\"$libdir/libnetfilter_conntrack/\\\""
-	CFLAGS="$CFLAGS -DLIBNETFILTER_CONNTRACK_DIR=$MODULE_DIR"
-fi
-
 dnl Output the makefile
 AC_CONFIG_FILES([Makefile src/Makefile include/Makefile utils/Makefile
 	qa/Makefile include/libnetfilter_conntrack/Makefile