summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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