T.83.2: Need -lm for round().

This commit is contained in:
Felicity Tarnell 2014-03-05 16:09:02 +00:00
parent 197adb654a
commit 81c1f680ae
2 changed files with 58 additions and 10 deletions

View file

@ -1,5 +1,5 @@
AC_PREREQ([2.69])
AC_INIT([RT/TTS], [T.83.1], [felicity@loreley.flyingparchment.org.uk])
AC_INIT([RT/TTS], [T.83.2], [felicity@loreley.flyingparchment.org.uk])
AC_CONFIG_SRCDIR([tts.c])
AC_CONFIG_HEADERS([config.h])
@ -14,6 +14,8 @@ LIBS="$oLIBS"
AC_CHECK_HEADERS([IOKit/pwr_mgt/IOPMLib.h])
AC_CHECK_LIB(m, round)
oLDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -framework CoreFoundation -framework IOKit"
AC_CHECK_FUNCS([IORegisterForSystemPower], [], [LDFLAGS="$oLDFLAGS"])