diff options
author | vimene <vincent.menegaux@gmail.com> | 2023-11-21 21:34:35 +0100 |
---|---|---|
committer | vimene <vincent.menegaux@gmail.com> | 2023-11-21 21:34:35 +0100 |
commit | a8237fc43ee1d0cd3ca10fe964c0db21313eca35 (patch) | |
tree | 380026cb6f4a8301b1dd3eb3e2e2858c114178d7 | |
parent | 3b39fef2914bd0094d1f0ff578e0a9e022355399 (diff) | |
download | engine-a8237fc43ee1d0cd3ca10fe964c0db21313eca35.tar.gz |
fixed macro in the wrong place
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | configure.ac | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -5303,8 +5303,6 @@ case "$host_os" in #( printf "%s\n" "#define __WINDOWS__ /**/" >>confdefs.h - - ;; #( *) : @@ -5314,6 +5312,8 @@ printf "%s\n" "#define __WINDOWS__ /**/" >>confdefs.h *) : ;; esac + + # AC_DEFINE([ENABLE_NCURSES], [], [Enable ncurses]) # AC_CHECK_LIB([ncurses], [initscr]) diff --git a/configure.ac b/configure.ac index b5d3b52..f74eefb 100644 --- a/configure.ac +++ b/configure.ac @@ -22,13 +22,13 @@ AS_CASE(["$host_os"], 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_MSG_ERROR([Unsupported OS.]) ] ) +AC_SUBST([DEPS_CFLAGS]) +AC_SUBST([DEPS_LIBS]) # AC_DEFINE([ENABLE_NCURSES], [], [Enable ncurses]) # AC_CHECK_LIB([ncurses], [initscr]) |