llvm.org GIT mirror llvm / 0443765
Remove obsolete configure check for libole32 as we don't appear to use it anymore. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244012 91177308-0d34-0410-b5e6-96231b3b80d8 Eric Christopher 4 years ago
3 changed file(s) with 0 addition(s) and 85 deletion(s). Raw diff Collapse all Expand all
16271627
16281628 AC_CHECK_LIB(m,sin)
16291629 if test "$llvm_cv_os_type" = "MingW" ; then
1630 AC_CHECK_LIB(ole32, main)
16311630 AC_CHECK_LIB(psapi, main)
16321631 AC_CHECK_LIB(shell32, main)
16331632 fi
86428642
86438643 if test "$llvm_cv_os_type" = "MingW" ; then
86448644
8645 { echo "$as_me:$LINENO: checking for main in -lole32" >&5
8646 echo $ECHO_N "checking for main in -lole32... $ECHO_C" >&6; }
8647 if test "${ac_cv_lib_ole32_main+set}" = set; then
8648 echo $ECHO_N "(cached) $ECHO_C" >&6
8649 else
8650 ac_check_lib_save_LIBS=$LIBS
8651 LIBS="-lole32 $LIBS"
8652 cat >conftest.$ac_ext <<_ACEOF
8653 /* confdefs.h. */
8654 _ACEOF
8655 cat confdefs.h >>conftest.$ac_ext
8656 cat >>conftest.$ac_ext <<_ACEOF
8657 /* end confdefs.h. */
8658
8659
8660 int
8661 main ()
8662 {
8663 return main ();
8664 ;
8665 return 0;
8666 }
8667 _ACEOF
8668 rm -f conftest.$ac_objext conftest$ac_exeext
8669 if { (ac_try="$ac_link"
8670 case "(($ac_try" in
8671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8672 *) ac_try_echo=$ac_try;;
8673 esac
8674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8675 (eval "$ac_link") 2>conftest.er1
8676 ac_status=$?
8677 grep -v '^ *+' conftest.er1 >conftest.err
8678 rm -f conftest.er1
8679 cat conftest.err >&5
8680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8681 (exit $ac_status); } &&
8682 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8683 { (case "(($ac_try" in
8684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8685 *) ac_try_echo=$ac_try;;
8686 esac
8687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8688 (eval "$ac_try") 2>&5
8689 ac_status=$?
8690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8691 (exit $ac_status); }; } &&
8692 { ac_try='test -s conftest$ac_exeext'
8693 { (case "(($ac_try" in
8694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8695 *) ac_try_echo=$ac_try;;
8696 esac
8697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8698 (eval "$ac_try") 2>&5
8699 ac_status=$?
8700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8701 (exit $ac_status); }; }; then
8702 ac_cv_lib_ole32_main=yes
8703 else
8704 echo "$as_me: failed program was:" >&5
8705 sed 's/^/| /' conftest.$ac_ext >&5
8706
8707 ac_cv_lib_ole32_main=no
8708 fi
8709
8710 rm -f core conftest.err conftest.$ac_objext \
8711 conftest$ac_exeext conftest.$ac_ext
8712 LIBS=$ac_check_lib_save_LIBS
8713 fi
8714 { echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_main" >&5
8715 echo "${ECHO_T}$ac_cv_lib_ole32_main" >&6; }
8716 if test $ac_cv_lib_ole32_main = yes; then
8717 cat >>confdefs.h <<_ACEOF
8718 #define HAVE_LIBOLE32 1
8719 _ACEOF
8720
8721 LIBS="-lole32 $LIBS"
8722
8723 fi
8724
8725
87268645 { echo "$as_me:$LINENO: checking for main in -lpsapi" >&5
87278646 echo $ECHO_N "checking for main in -lpsapi... $ECHO_C" >&6; }
87288647 if test "${ac_cv_lib_psapi_main+set}" = set; then
139139 /* Define to 1 if you have the `m' library (-lm). */
140140 #undef HAVE_LIBM
141141
142 /* Define to 1 if you have the `ole32' library (-lole32). */
143 #undef HAVE_LIBOLE32
144
145142 /* Define to 1 if you have the `psapi' library (-lpsapi). */
146143 #undef HAVE_LIBPSAPI
147144