Use AS_VAR_SET with widl git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@5182 4407c894-4637-0410-b4f5-ada5f102cad1
diff --git a/mingw-w64-headers/configure b/mingw-w64-headers/configure index 459acb2..2acbc7e 100755 --- a/mingw-w64-headers/configure +++ b/mingw-w64-headers/configure
@@ -2452,7 +2452,7 @@ case $with_widl in #( no) : - with_widl="" ;; #( + with_widl= ;; #( yes) : with_widl="mingw-w64-widl widl" ;; #( *) :
diff --git a/mingw-w64-headers/configure.ac b/mingw-w64-headers/configure.ac index bce1ac0..7c08346 100644 --- a/mingw-w64-headers/configure.ac +++ b/mingw-w64-headers/configure.ac
@@ -23,8 +23,8 @@ [with_widl=no]) AS_CASE([$with_widl], - [no],[with_widl=""], - [yes],[with_widl="mingw-w64-widl widl"], + [no],[AS_VAR_SET([with_widl])], + [yes],[AS_VAR_SET([with_widl],["mingw-w64-widl widl"])], []) AC_PATH_PROGS([WIDL], [$with_widl], []) AM_CONDITIONAL([HAVE_WIDL],[AS_VAR_TEST_SET([WIDL])])