diff options
author | vimene <vincent.menegaux@gmail.com> | 2023-11-21 06:27:30 +0100 |
---|---|---|
committer | vimene <vincent.menegaux@gmail.com> | 2023-11-21 06:27:30 +0100 |
commit | 3b39fef2914bd0094d1f0ff578e0a9e022355399 (patch) | |
tree | 8bb945da113f5ba3393eddb1b430ffb1d7c55fc6 /configure.ac | |
parent | 7b2bb469c13702498a49d6a8a9cf1bd2a4efcfff (diff) | |
download | engine-3b39fef2914bd0094d1f0ff578e0a9e022355399.tar.gz |
cleanups
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/configure.ac b/configure.ac index 177f614..b5d3b52 100644 --- a/configure.ac +++ b/configure.ac @@ -19,25 +19,18 @@ AS_CASE(["$host_os"], DEPS_LIBS="$SDL_LIBS" ], [mingw32], [ - AC_PROG_CC([x86_64-w64-mingw32-g++-win32]) DEPS_CFLAGS="-Ix86_64-w64-mingw32/include/SDL2" DEPS_LIBS="-Lx86_64-w64-mingw32/lib -lSDL2 -municode" + AC_DEFINE([__WINDOWS__], [], [Compile for Windows]) AC_SUBST([DEPS_CFLAGS]) AC_SUBST([DEPS_LIBS]) - AC_DEFINE(WINVER, 0x0400, [test]) - AC_DEFINE(__WIN95__, "", [test]) - AC_DEFINE(__GNUWIN32__, "", [test]) - AC_DEFINE(STRICT, "", [test]) - AC_DEFINE(HAVE_W32API_H, "", [test]) - AC_DEFINE(__WXMSW__, "", [test]) - AC_DEFINE(__WINDOWS__, "", [test]) ], [*], [ AC_MSG_ERROR([Unsupported OS.]) ] ) -# AC_DEFINE(ENABLE_NCURSES, [], [Enable ncurses]) -# AC_CHECK_LIB(ncurses, [initscr]) +# AC_DEFINE([ENABLE_NCURSES], [], [Enable ncurses]) +# AC_CHECK_LIB([ncurses], [initscr]) AC_PROG_CXX AC_TYPE_UINT32_T |