mirror of
https://gitlab.winehq.org/wine/wine.git
synced 2024-11-19 17:06:04 -07:00
configure: Remove no longer used WINE_TRY_SHLIB_FLAGS macro.
This commit is contained in:
parent
a426b6b4a9
commit
3e49808094
1 changed files with 0 additions and 14 deletions
14
aclocal.m4
vendored
14
aclocal.m4
vendored
|
@ -261,20 +261,6 @@ LIBS=$ac_wine_check_headers_saved_libs])
|
|||
AS_VAR_IF([ac_var],[yes],[$3],[$4])dnl
|
||||
AS_VAR_POPDEF([ac_var])])
|
||||
|
||||
dnl **** Check if we can link an empty shared lib (no main) with special CFLAGS ****
|
||||
dnl
|
||||
dnl Usage: WINE_TRY_SHLIB_FLAGS(flags,[action-if-yes,[action-if-no]])
|
||||
dnl
|
||||
AC_DEFUN([WINE_TRY_SHLIB_FLAGS],
|
||||
[AS_VAR_PUSHDEF([ac_var], ac_cv_cflags_[[$1]])dnl
|
||||
ac_wine_try_cflags_saved=$CFLAGS
|
||||
CFLAGS="$CFLAGS $1"
|
||||
AC_LINK_IFELSE([AC_LANG_SOURCE([[void myfunc() {}]])],
|
||||
[AS_VAR_SET(ac_var,yes)], [AS_VAR_SET(ac_var,no)])
|
||||
CFLAGS=$ac_wine_try_cflags_saved
|
||||
AS_VAR_IF([ac_var],[yes], [$2], [$3])dnl
|
||||
AS_VAR_POPDEF([ac_var])])
|
||||
|
||||
dnl **** Check whether we need to define a symbol on the compiler command line ****
|
||||
dnl
|
||||
dnl Usage: WINE_CHECK_DEFINE(name),[action-if-yes,[action-if-no]])
|
||||
|
|
Loading…
Reference in a new issue