Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions build/common.m4
Original file line number Diff line number Diff line change
Expand Up @@ -196,17 +196,17 @@ AC_DEFUN([TS_TRY_COMPILE_NO_WARNING],
])

dnl
dnl TS_LINK_WITH_FLAGS_IFELSE(LDFLAGS, FUNCTION-BODY,
dnl TS_LINK_WITH_FLAGS_IFELSE(LIBS, FUNCTION-BODY,
dnl [ACTIONS-IF-LINKS], [ACTIONS-IF-LINK-FAILS])
dnl
dnl Tries a link test with the provided flags.
dnl

AC_DEFUN([TS_LINK_WITH_FLAGS_IFELSE],
[ats_save_LDFLAGS=$LDFLAGS
LDFLAGS="$LDFLAGS $1"
[ats_save_LIBS=$LIBS
LIBS="$LIBS $1"
AC_LINK_IFELSE([$2],[$3],[$4])
LDFLAGS=$ats_save_LDFLAGS
LIBS=$ats_save_LIBS
])


Expand Down