Skip to content

Commit 87aa066

Browse files
committed
autotools: support building sdl2-api-on-sdl3
1 parent d6d58c9 commit 87aa066

File tree

5 files changed

+50
-345
lines changed

5 files changed

+50
-345
lines changed

Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ showinterfaces_CPPFLAGS = -I$(srcdir)/include
5555
showinterfaces_LDADD = libSDL2_net.la
5656
chat_SOURCES = examples/chat.c examples/chat.h
5757
chat_CPPFLAGS = -I$(srcdir)/include
58-
chat_LDADD = libSDL2_net.la -lSDL2_test
58+
chat_LDADD = libSDL2_net.la -lSDL3_test
5959
chatd_SOURCES = examples/chatd.c
6060
chatd_CPPFLAGS = -I$(srcdir)/include
6161
chatd_LDADD = libSDL2_net.la

Makefile.in

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,7 @@ am__aclocal_m4_deps = \
104104
$(top_srcdir)/acinclude/ltsugar.m4 \
105105
$(top_srcdir)/acinclude/ltversion.m4 \
106106
$(top_srcdir)/acinclude/lt~obsolete.m4 \
107-
$(top_srcdir)/acinclude/pkg.m4 $(top_srcdir)/acinclude/sdl2.m4 \
108-
$(top_srcdir)/configure.ac
107+
$(top_srcdir)/acinclude/pkg.m4 $(top_srcdir)/configure.ac
109108
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
110109
$(ACLOCAL_M4)
111110
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
@@ -346,7 +345,6 @@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
346345
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
347346
RANLIB = @RANLIB@
348347
RC = @RC@
349-
SDL2_CONFIG = @SDL2_CONFIG@
350348
SDL_CFLAGS = @SDL_CFLAGS@
351349
SDL_LIBS = @SDL_LIBS@
352350
SDL_VERSION = @SDL_VERSION@
@@ -456,7 +454,7 @@ showinterfaces_CPPFLAGS = -I$(srcdir)/include
456454
showinterfaces_LDADD = libSDL2_net.la
457455
chat_SOURCES = examples/chat.c examples/chat.h
458456
chat_CPPFLAGS = -I$(srcdir)/include
459-
chat_LDADD = libSDL2_net.la -lSDL2_test
457+
chat_LDADD = libSDL2_net.la -lSDL3_test
460458
chatd_SOURCES = examples/chatd.c
461459
chatd_CPPFLAGS = -I$(srcdir)/include
462460
chatd_LDADD = libSDL2_net.la

aclocal.m4

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1157,4 +1157,3 @@ m4_include([acinclude/ltsugar.m4])
11571157
m4_include([acinclude/ltversion.m4])
11581158
m4_include([acinclude/lt~obsolete.m4])
11591159
m4_include([acinclude/pkg.m4])
1160-
m4_include([acinclude/sdl2.m4])

0 commit comments

Comments
 (0)