win32-vd_agent/m4/pushvars.m4
Frediano Ziglio 0858cfd211 build: Check we can link libpng statically
Catch the problem during configure instead of having to wait the
build to fail.
On Fedora try for instance to remove mingw64-zlib-static package,
the missing dependency won't be detected during configure.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Christophe Fergeau <cfergeau@redhat.com>
2019-03-06 18:29:40 +00:00

16 lines
246 B
Plaintext

AC_DEFUN([ACX_PUSH_VAR],
[m4_pushdef([SAVE$1],save_$1[_]__line__)dnl
SAVE$1="$$1"
$1=[$2]])
AC_DEFUN([ACX_POP_VAR],
[$1="$SAVE$1"
unset SAVE$1 dnl
m4_popdef([SAVE$1])dnl
])
AC_DEFUN([ACX_SET_VAR],
[ACX_PUSH_VAR($1, [$2])
[$3]
ACX_POP_VAR($1)])