configure.ac: Correct simplification changes some more

This commit is contained in:
Kim Woelders 2022-01-07 21:10:37 +01:00
parent c109324bbf
commit b123cb7674
1 changed files with 4 additions and 3 deletions

View File

@ -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)