summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikko Koppanen <mkoppanen@php.net>2010-11-17 15:07:59 +0100
committerMartin Sustrik <sustrik@250bpm.com>2010-11-17 15:07:59 +0100
commitb83d0a1bc077fdcc481fee40dcf4780669c3f3d2 (patch)
treeb1614ae3a73332c715cd1e73228819382cfc2e91
parent925595259b51dd84711b620afdf02245e537a38f (diff)
Remove unnecessary conditional
This conditional is unnecessary as BUILD_PGM can be negated in the test. Signed-off-by: Mikko Koppanen <mkoppanen@php.net>
-rw-r--r--configure.in1
-rw-r--r--src/Makefile.am2
2 files changed, 1 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 5de0922..dd594ce 100644
--- a/configure.in
+++ b/configure.in
@@ -359,7 +359,6 @@ if test "x$gnu_compilers" = "xyes" -a "x$pgm_ext" = "xno"; then
fi
AM_CONDITIONAL(BUILD_PGM, test "x$pgm_ext" = "xyes")
-AM_CONDITIONAL(BUILD_NO_PGM, test "x$pgm_ext" = "xno")
AM_CONDITIONAL(ON_MINGW, test "x$on_mingw32" = "xyes")
AC_SUBST(stdint)
diff --git a/src/Makefile.am b/src/Makefile.am
index db63c69..761d8e8 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -243,7 +243,7 @@ libzmq_la_CXXFLAGS = -I$(top_srcdir)/foreign/openpgm/@pgm_basename@/openpgm/pgm/
@LIBZMQ_EXTRA_CXXFLAGS@
endif
-if BUILD_NO_PGM
+if !BUILD_PGM
libzmq_la_CXXFLAGS = @LIBZMQ_EXTRA_CXXFLAGS@
endif