Skip to content

Commit ba3abbd

Browse files
committed
Remove unneeded MinGW test
1 parent 7f7d9a4 commit ba3abbd

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

configure.ac

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2575,31 +2575,6 @@ if true; then
25752575
LDFLAGS="$SAVED_LDFLAGS"
25762576
fi
25772577

2578-
#############################################################################
2579-
## MinGW libraries
2580-
## Automake does not follow Make conventions and use AM_LDLIBS. Instead
2581-
## it stuffs libraries in the flags which messes up pkg-config *.pc files.
2582-
2583-
if test "$IS_MINGW_OS" = "1"; then
2584-
2585-
SAVED_LDFLAGS="$LDFLAGS"
2586-
2587-
LDFLAGS="-lws2_32"
2588-
AC_MSG_CHECKING([if $LDNAME supports $LDFLAGS])
2589-
XXX_LINK_IFELSE(
2590-
[AC_LANG_SOURCE([[int main() { return 0; }]])],
2591-
[AC_MSG_RESULT([yes])],
2592-
[AC_MSG_RESULT([no])]
2593-
)
2594-
2595-
if test "$retval" = "0"; then
2596-
AM_LDFLAGS="$AM_LDFLAGS $LDFLAGS"
2597-
fi
2598-
2599-
## Restore LDFLAGS
2600-
LDFLAGS="$SAVED_LDFLAGS"
2601-
fi
2602-
26032578
#############################################################################
26042579
## OpenMP libraries
26052580
## Automake does not follow Make conventions and use AM_LDLIBS. Instead

0 commit comments

Comments
 (0)