make lcdproc compile under Darwin/Mac OS X based on patch by Eric Pooch
This commit is contained in:
+8
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user