make lcdproc compile under Darwin/Mac OS X based on patch by Eric Pooch

This commit is contained in:
marschap
2006-02-04 19:38:09 +00:00
parent 226f053549
commit fe248c7476
4 changed files with 19 additions and 3 deletions
+8 -1
View File
@@ -29,8 +29,15 @@ case "$host" in
AC_DEFINE([FREEBSD],[1],[Define if you're using FreeBSD.])
ac_system_host=FreeBSD
;;
*-*-*darwin*)
AC_DEFINE([DARWIN],[1],[Define if you're using Darwin/Mac OS X.])
ac_system_host=Darwin
;;
esac
AC_DEFINE_UNQUOTED([SYSTEM_HOST], [$ac_system_host], [Set this to your system host (Linux, Solaris, OpenBSD, NetBSD or FreeBSD)])
AC_DEFINE_UNQUOTED([SYSTEM_HOST], [$ac_system_host], [Set this to your system host (Linux, Solaris, OpenBSD, NetBSD, FreeBSD or Darwin)])
dnl treat Darwin special in Makefiles
AM_CONDITIONAL(DARWIN, test x$ac_system_host = Darwin)
AC_MSG_CHECKING(whether to enable debugging)
AC_ARG_ENABLE(debug,