From 5edceeffe728a9bb0f2a6655a9327ae1d49d69a3 Mon Sep 17 00:00:00 2001
From: Mikko Koppanen <mkoppanen@php.net>
Date: Tue, 16 Nov 2010 13:55:39 +0000
Subject: [PATCH 3/5] Remove unnecessary conditional

Signed-off-by: Mikko Koppanen <mkoppanen@php.net>
---
 configure.in    |    1 -
 src/Makefile.am |    2 +-
 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
 
-- 
1.7.1

