tts/configure.ac
Felicity Tarnell 66c12e8e73 Calculate version string from configure.ac at compile time.
Also bump version from T.1.0-80 to T.81.0, as the leading 1.0 was useless.
2014-03-05 15:28:24 +00:00

22 lines
516 B
Text

AC_PREREQ([2.69])
AC_INIT([RT/TTS], [T.81.0], [felicity@loreley.flyingparchment.org.uk])
AC_CONFIG_SRCDIR([tts.c])
AC_CONFIG_HEADERS([config.h])
AC_PROG_CC
AC_PROG_INSTALL
AX_WITH_CURSES
oLIBS="$LIBS"
LIBS="$LIBS $CURSES_LIB"
AC_CHECK_FUNCS([use_default_colors])
LIBS="$oLIBS"
AC_CHECK_HEADERS([IOKit/pwr_mgt/IOPMLib.h])
oLDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -framework CoreFoundation -framework IOKit"
AC_CHECK_FUNCS([IORegisterForSystemPower], [], [LDFLAGS="$oLDFLAGS"])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT