Skip to content

Commit 5920c50

Browse files
committed
only add sdl makefile if building sdl
1 parent bb55824 commit 5920c50

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

configure.ac

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ AS_IF([test "x$enable_sdl" = "xyes"], [
2020
SDL_VERSION=2.0.5
2121
AS_IF([test "$TRAVIS"], [SDL_VERSION=2.0.2]) # travis has old SDL, we don't care
2222
AM_PATH_SDL2($SDL_VERSION, :, AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]))
23+
AC_CONFIG_FILES([src/projectM-sdl/Makefile])
2324
])
2425

2526
AC_CONFIG_HEADERS([config.h])
@@ -30,10 +31,10 @@ AC_CONFIG_FILES([
3031
src/libprojectM/Renderer/Makefile
3132
src/libprojectM/NativePresetFactory/Makefile
3233
src/libprojectM/MilkdropPresetFactory/Makefile
33-
src/projectM-sdl/Makefile
3434
])
3535
dnl FIXME
36-
AC_CONFIG_FILES([src/libprojectM/config.inp], [sed -i -e"s/\${prefix}/$prefix/" src/libprojectM/config.inp])
36+
dnl AC_CONFIG_FILES([src/libprojectM/config.inp],
37+
dnl [cat src/libprojectM/config.inp | sed -e"s,\${prefix},$prefix," > src/libprojectM/config.inp.b])
3738

3839
AC_PREFIX_DEFAULT([/usr/local])
3940

0 commit comments

Comments
 (0)