Skip to content

Commit

Permalink
Apply CMake equivalent patch to Autotools.
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoklee committed Mar 11, 2024
1 parent df5afb1 commit 8f7198e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1519,6 +1519,10 @@ case "$host_cpu-$host_vendor-$host_os" in
AC_DEFINE([HAVE_MINGW], [1], [Define if using MinGW])
H5_CPPFLAGS="-D_GNU_SOURCE -D__USE_MINGW_ANSI_STDIO $H5_CPPFLAGS"
;;
*cygwin*)
AC_DEFINE([HAVE_CYGWIN], [1], [Define if using MinGW])
H5_CPPFLAGS="-D_GNU_SOURCE"
;;
esac

## Need to add the AM_ and H5_ into CFLAGS/CPPFLAGS to make them visible
Expand Down

0 comments on commit 8f7198e

Please sign in to comment.