diff --git a/aclocal.m4 b/aclocal.m4 index c65ebc48463..9364188e334 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -346,7 +346,7 @@ wine_fn_config_dll () AS_VAR_IF([enable_tools],[no],,[ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"]) case $ac_name in - *16) ac_implibflags=" -m16" ;; + *.*16) ac_implibflags=" -m16" ;; *.*) ;; *) ac_dll=$ac_dll.dll ;; esac diff --git a/configure b/configure index 54329a69905..f0081fbdc79 100755 --- a/configure +++ b/configure @@ -7722,7 +7722,7 @@ else ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps" fi case $ac_name in - *16) ac_implibflags=" -m16" ;; + *.*16) ac_implibflags=" -m16" ;; *.*) ;; *) ac_dll=$ac_dll.dll ;; esac