Skip to content

Commit

Permalink
configure.ac: modernize final odds and ends
Browse files Browse the repository at this point in the history
Signed-off-by: Marty E. Plummer <[email protected]>
  • Loading branch information
hanetzer committed Jan 8, 2018
1 parent 4179679 commit f03f74d
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -273,25 +273,22 @@ AC_TYPE_SIZE_T

# Checks for library functions.

# This is only in the bleeding edge autoconf distro...
#AC_FUNC_MALLOC


AC_FUNC_MEMCMP
AC_CHECK_FUNCS([memset strrchr setbuf])
AC_CHECK_FUNCS([malloc memset strrchr setbuf])

CFLAGS="$CFLAGS -D_REENTRANT -D_THREAD_SAFE"
AX_APPEND_COMPILE_FLAGS([-D_REENTRANT -D_THREAD_SAFE],[CFLAGS])

dnl Add Makefile conditionals
AM_CONDITIONAL(USE_TIMIDITY, test x$enable_midi = xyes)
AM_CONDITIONAL(USE_LIBMPG123, test x$enable_mpg123 = xyes)
AM_CONDITIONAL(USE_PHYSICSFS, test x$enable_physfs = xyes)

AC_OUTPUT([
Makefile
decoders/Makefile
decoders/timidity/Makefile
decoders/libmpg123/Makefile
playsound/Makefile
SDL_sound.pc
AC_CONFIG_FILES([
Makefile
decoders/Makefile
decoders/timidity/Makefile
decoders/libmpg123/Makefile
playsound/Makefile
SDL_sound.pc
])
AC_OUTPUT

0 comments on commit f03f74d

Please sign in to comment.