diff options
author | malosek <malosek@fastmq.com> | 2009-09-24 16:23:49 +0200 |
---|---|---|
committer | malosek <malosek@fastmq.com> | 2009-09-24 16:23:49 +0200 |
commit | 72c5c5fff42fc0b4c9d1eaaaebe9d6e1dd8824f2 (patch) | |
tree | 56683306449f1f4755df1eb6165a4a9c9def4ceb /configure.in | |
parent | 33afdcd1adccd19ebd9f4ec9cc6d23a37975d135 (diff) |
--with-pgm2 compilable
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.in b/configure.in index 03adbe1..d82db7b 100644 --- a/configure.in +++ b/configure.in @@ -129,11 +129,6 @@ case "${host_os}" in ;; esac -# If not on QNX nor OSX add -pedantic into LIBZMQ_EXTRA_CXXFLAGS. -if test "x$pedantic" = "xyes"; then - LIBZMQ_EXTRA_CXXFLAGS="${LIBZMQ_EXTRA_CXXFLAGS} -pedantic" -fi - # Check if we are running at sparc harware AC_MSG_CHECKING([wheter __sparc__ is defined]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM( @@ -522,6 +517,11 @@ fi AC_SUBST(pgm_basename) +# If not on QNX nor OSX nor PGM add -pedantic into LIBZMQ_EXTRA_CXXFLAGS. +if test "x$pedantic" = "xyes" -a "x$pgm1_ext" = "xno" -a "x$pgm2_ext" = "xno"; then + LIBZMQ_EXTRA_CXXFLAGS="${LIBZMQ_EXTRA_CXXFLAGS} -pedantic" +fi + # If not on QNX nor --with-pgm/2add -Werror into LIBZMQ_EXTRA_CXXFLAGS. if test "x$werror" = "xyes" -a "x$pgm1_ext" = "xno" -a "x$pgm2_ext" = "xno"; then LIBZMQ_EXTRA_CXXFLAGS="${LIBZMQ_EXTRA_CXXFLAGS} -Werror" |