Skip to content

Commit

Permalink
Make the mpdec link check more accurate, and use LIBS iso. LDFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
erlend-aasland committed May 6, 2024
1 parent 161d50b commit 1016f0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions configure

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions configure.ac
Expand Up @@ -3994,15 +3994,15 @@ AS_VAR_IF(
AS_VAR_IF([with_system_libmpdec], [yes],
[WITH_SAVE_ENV([
CPPFLAGS="$LIBMPDEC_CFLAGS $CPPFLAGS"
LDFLAGS="$LIBMPDEC_LIBS $LDFLAGS"
LIBS="$LIBMPDEC_LIBS $LIBS"
AC_LINK_IFELSE([
AC_LANG_PROGRAM([
#include <mpdecimal.h>
#if MPD_VERSION_HEX < 0x02050000
# error "mpdecimal 2.5.0 or higher required"
#endif
], [void *x = mpd_version;])],
], [const char *x = mpd_version();])],
[have_mpdec=yes],
[have_mpdec=no])
])],
Expand Down

0 comments on commit 1016f0d

Please sign in to comment.