[vlc-commits] configure: show a message about the stdole2.tlb detection

Steve Lhomme git at videolan.org
Thu Oct 20 09:00:01 UTC 2022


npapi-vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Oct 20 09:55:52 2022 +0200| [5fa334828b43d24b61ce6244b0f6983a30600d99] | committer: Steve Lhomme

configure: show a message about the stdole2.tlb detection

> https://code.videolan.org/videolan/npapi-vlc/commit/5fa334828b43d24b61ce6244b0f6983a30600d99
---

 configure.ac | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 19ed80c..52db4d6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -133,6 +133,8 @@ AS_IF([test "${SYS}" = "mingw32"],[
     AC_CHECK_HEADER(ole2.h,,[AC_MSG_ERROR([required OLE header ole2.h is missing from your system])])
     AC_CHECK_HEADER(olectl.h,,[AC_MSG_ERROR([required OLE header olectl.h is missing from your system])])
     AC_CHECK_HEADERS(objsafe.h,,,[#include <ole2.h>])
+
+    AC_MSG_CHECKING([for stdole2.tld presence])
     AS_IF([test "${WIDL}" != "no"],[
       ac_ext=idl
       ac_objext=tlb
@@ -147,8 +149,18 @@ library AXVLC
   importlib("stdole2.tlb");
 }
 _ACEOF
-AS_IF([ac_fn_cxx_try_compile "$LINENO"],[has_stdole2_tlb=yes],[has_stdole2_tlb=no])
-    ],[has_stdole2_tlb=no])
+        AS_IF([ac_fn_cxx_try_compile "$LINENO"],[
+            AC_MSG_RESULT([yes])
+            has_stdole2_tlb=yes
+        ],[
+            AC_MSG_RESULT([no])
+            has_stdole2_tlb=no
+        ])
+    ],[
+        AC_MSG_RESULT([no])
+        has_stdole2_tlb=no
+    ])
+
     AC_LANG_POP(C++)
 ],[
     MIDL="no"



More information about the vlc-commits mailing list