summaryrefslogtreecommitdiff
path: root/m4/ax_prog_masm.m4
diff options
context:
space:
mode:
authorBogdan Drozdowski <>2022-06-06 20:58:44 +0200
committerBogdan Drozdowski <>2022-06-06 20:58:44 +0200
commit7f67ff5af4560ea7e74dcee81779b5211f11ca7b (patch)
tree69df11e07299ce07575db9b9bca3d813d18a0b87 /m4/ax_prog_masm.m4
parenta2d291eee36723e99235e837562b1047edd41977 (diff)
downloadautoconf-archive-7f67ff5af4560ea7e74dcee81779b5211f11ca7b.tar.gz
Make assembler-finding macros more portable
Diffstat (limited to 'm4/ax_prog_masm.m4')
-rw-r--r--m4/ax_prog_masm.m415
1 files changed, 7 insertions, 8 deletions
diff --git a/m4/ax_prog_masm.m4 b/m4/ax_prog_masm.m4
index 1d98979..be1b676 100644
--- a/m4/ax_prog_masm.m4
+++ b/m4/ax_prog_masm.m4
@@ -20,7 +20,7 @@
#
# LICENSE
#
-# Copyright (c) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
+# Copyright (c) 2007,2009,2022 Bogdan Drozdowski <bogdro /AT/ users . sourceforge . net>
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
@@ -48,13 +48,12 @@
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.
-#serial 10
+#serial 11
AC_DEFUN([AX_PROG_MASM],[
-AC_CHECK_PROGS(masm,[ml masm ml32 ml64 masm32],no)
-if test "x$masm" = "xno" ;
-then
- ifelse($#,0,[AC_MSG_ERROR([MASM assembler not found])],
- $1)
-fi
+ AC_CHECK_PROGS(masm,[ml masm ml32 ml64 masm32],no)
+ AS_IF([test "x$masm" = "xno"],
+ ifelse($#,0,[AC_MSG_ERROR([MASM assembler not found])],
+ $1)
+ )
])