diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index c497145e..cbafd7d9 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -876,6 +876,16 @@ int main(void) | |||
876 | AC_SUBST([W32CRT], [MSVCRT]) | 876 | AC_SUBST([W32CRT], [MSVCRT]) |
877 | ], [AC_SUBST([W32CRT], [UCRT])] | 877 | ], [AC_SUBST([W32CRT], [UCRT])] |
878 | ) | 878 | ) |
879 | |||
880 | CFLAGS="${CFLAGS_ac} ${user_CFLAGS}" | ||
881 | LDFLAGS="${user_LDFLAGS}" | ||
882 | AS_CASE([$mhd_w32_ver], | ||
883 | [WinXP], | ||
884 | [MHD_CHECK_ADD_CC_LDFLAG([-Wl,--major-subsystem-version,5,--minor-subsystem-version,1],[LDFLAGS_ac])], | ||
885 | [Vista], | ||
886 | [MHD_CHECK_ADD_CC_LDFLAG([-Wl,--major-subsystem-version,6,--minor-subsystem-version,0],[LDFLAGS_ac])] | ||
887 | ) | ||
888 | LDFLAGS="${LDFLAGS_ac} ${user_LDFLAGS}" | ||
879 | ] | 889 | ] |
880 | ) | 890 | ) |
881 | CFLAGS="${CFLAGS_ac} ${user_CFLAGS}" | 891 | CFLAGS="${CFLAGS_ac} ${user_CFLAGS}" |