summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim Woelders <kim@woelders.dk>2022-01-07 21:10:37 +0100
committerKim Woelders <kim@woelders.dk>2022-01-07 21:11:26 +0100
commitb123cb76745068ba0c882468b34c4dbae8c359b8 (patch)
tree4df7ce61164a868e192d9dbd21d441df8df81daa
parentc109324bbf85407d4b01f3e37dffe0118f370bc3 (diff)
downloadimlib2-b123cb76745068ba0c882468b34c4dbae8c359b8.tar.gz
configure.ac: Correct simplification changes some more
-rw-r--r--configure.ac7
1 files changed, 4 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 24dfca9..90d0cfa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -30,12 +30,13 @@ AC_SUBST(lt_version)
PKG_PROG_PKG_CONFIG
AC_DEFUN([EC_LOADER_CHECK], [
- m4_pushdef([NMDN], m4_tolower([$1]))
- m4_pushdef([NMUP], m4_toupper([$1]))
+ m4_pushdef([NMDN], m4_tolower($1))
+ m4_pushdef([NMUP], m4_toupper($1))
+ m4_pushdef([DFLT], m4_strip($2))
AC_MSG_CHECKING([whether to enable NMUP support])
AC_ARG_WITH([NMDN],
AS_HELP_STRING([--without-NMDN], [Disable NMUP loader]),
- [ NMDN[]_loader="$withval" ], [ NMDN[]_loader="$2" ]
+ [ NMDN[]_loader="$withval" ], [ NMDN[]_loader="DFLT" ]
)
AC_MSG_RESULT($NMDN[]_loader)