summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim Woelders <kim@woelders.dk>2022-01-04 09:34:12 +0100
committerKim Woelders <kim@woelders.dk>2022-01-04 09:36:03 +0100
commitc109324bbf85407d4b01f3e37dffe0118f370bc3 (patch)
treea318d78078f0165ada00acec6e50ed8e44ae7303
parent564334d708b8a9c6d359ef9fd7dbd490d9740af1 (diff)
downloadimlib2-c109324bbf85407d4b01f3e37dffe0118f370bc3.tar.gz
configure.ac: Correct simplification changes
-rw-r--r--configure.ac5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index a9e5c7e..24dfca9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -34,9 +34,8 @@ AC_DEFUN([EC_LOADER_CHECK], [
m4_pushdef([NMUP], m4_toupper([$1]))
AC_MSG_CHECKING([whether to enable NMUP support])
AC_ARG_WITH([NMDN],
- [AS_HELP_STRING([--without-NMDN], [Disable NMUP loader])],
- [ ifelse([$withval], [no], [ NMDN[]_loader="no" ], [ NMDN[]_loader="yes" ]) ],
- [ NMDN[]_loader=$2 ]
+ AS_HELP_STRING([--without-NMDN], [Disable NMUP loader]),
+ [ NMDN[]_loader="$withval" ], [ NMDN[]_loader="$2" ]
)
AC_MSG_RESULT($NMDN[]_loader)