Added autoconf magic to detect SDL on mac for VoMP audio testing

when we get that far.
This commit is contained in:
gardners 2012-04-19 08:35:16 +09:30
parent e74e8056e0
commit d6c95a2b11

View File

@ -22,5 +22,6 @@ AC_CHECK_LIB(nsl,callrpc,[LDFLAGS="$LDFLAGS -lnsl"])
AC_CHECK_LIB(socket,socket,[LDFLAGS="$LDFLAGS -lsocket"])
AC_CHECK_LIB(dl,dlopen,[LDFLAGS="$LDFLAGS -ldl"])
AC_CHECK_LIB(pthread,pthread_create,[LDFLAGS="$LDFLAGS -lpthread"])
AC_CHECK_FILE(/Library/Frameworks/SDL.framework,[LDFLAGS="$LDFLAGS -F SDL -F SDL_main"; CFLAGS="$CFLAGS -DWITH_SDL";])
AC_OUTPUT(Makefile)