kwo pushed a commit to branch master.

http://git.enlightenment.org/legacy/imlib2.git/commit/?id=b123cb76745068ba0c882468b34c4dbae8c359b8

commit b123cb76745068ba0c882468b34c4dbae8c359b8
Author: Kim Woelders <[email protected]>
Date:   Fri Jan 7 21:10:37 2022 +0100

    configure.ac: Correct simplification changes some more
---
 configure.ac | 7 ++++---
 1 file 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)
 

-- 


Reply via email to