aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvimene <vincent.menegaux@gmail.com>2023-11-21 21:34:35 +0100
committervimene <vincent.menegaux@gmail.com>2023-11-21 21:34:35 +0100
commita8237fc43ee1d0cd3ca10fe964c0db21313eca35 (patch)
tree380026cb6f4a8301b1dd3eb3e2e2858c114178d7
parent3b39fef2914bd0094d1f0ff578e0a9e022355399 (diff)
downloadengine-a8237fc43ee1d0cd3ca10fe964c0db21313eca35.tar.gz
fixed macro in the wrong place
-rwxr-xr-xconfigure4
-rw-r--r--configure.ac4
2 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index 9302c5b..e378a96 100755
--- a/configure
+++ b/configure
@@ -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])