summaryrefslogtreecommitdiffstats
path: root/m4/ax_zmq.m4
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2020-04-20 08:57:45 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2020-04-20 08:57:45 +0200
commit4b791ee1029ea99cc06df8256cf99c2c0b640242 (patch)
treeedb153a04004ed90a488a03bbc882a9bee589fdf /m4/ax_zmq.m4
parent1d9063532cec5d6389782c31f609df53fb621d71 (diff)
downloaddabmux-4b791ee1029ea99cc06df8256cf99c2c0b640242.tar.gz
dabmux-4b791ee1029ea99cc06df8256cf99c2c0b640242.tar.bz2
dabmux-4b791ee1029ea99cc06df8256cf99c2c0b640242.zip
Update m4 macros
Diffstat (limited to 'm4/ax_zmq.m4')
-rw-r--r--m4/ax_zmq.m47
1 files changed, 3 insertions, 4 deletions
diff --git a/m4/ax_zmq.m4 b/m4/ax_zmq.m4
index 752dc54..15c2414 100644
--- a/m4/ax_zmq.m4
+++ b/m4/ax_zmq.m4
@@ -31,7 +31,7 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.
-#serial 2
+#serial 3
AC_DEFUN([AX_ZMQ], [
AC_ARG_WITH([zmq], [AS_HELP_STRING([--with-zmq=<prefix>],[ZMQ prefix directory])], [
@@ -45,10 +45,9 @@ AC_DEFUN([AX_ZMQ], [
LD_FLAGS="$LDFLAGS $ZMQ_LDFLAGS"
CPPFLAGS="$CPPFLAGS $ZMQ_CPPFLAGS"
- AC_LANG_SAVE
- AC_LANG_C
+ AC_LANG_PUSH([C])
AC_CHECK_HEADER(zmq.h, [zmq_h=yes], [zmq_h=no])
- AC_LANG_RESTORE
+ AC_LANG_POP([C])
if test "$zmq_h" = "yes"; then
version=ifelse([$1], ,4.0.0,$1)