|
|
|
|
|
|
|
|
[where TYPE is OpenBSD, FreeBSD, RedHat, Suse, Ubuntu, or ArchLinux])], |
|
|
[where TYPE is OpenBSD, FreeBSD, RedHat, Suse, Ubuntu, or ArchLinux])], |
|
|
[SNF_OSTYPE="${enableval}" ]) |
|
|
[SNF_OSTYPE="${enableval}" ]) |
|
|
case "$SNF_OSTYPE" in |
|
|
case "$SNF_OSTYPE" in |
|
|
OpenBSD|OpenBSD|FreeBSD|RedHat|Suse|Ubuntu|ArchLinux) |
|
|
|
|
|
: |
|
|
|
|
|
|
|
|
OpenBSD|FreeBSD|Suse|Ubuntu) |
|
|
|
|
|
SNF_RPM_SENDMAIL_OTHER_REQUIRES="" |
|
|
|
|
|
;; |
|
|
|
|
|
RedHat) |
|
|
|
|
|
SNF_RPM_SENDMAIL_OTHER_REQUIRES="Requires: sendmail-cf" |
|
|
;; |
|
|
;; |
|
|
*) |
|
|
*) |
|
|
AC_MSG_ERROR([Invalid OS type: "$SNF_OSTYPE". |
|
|
AC_MSG_ERROR([Invalid OS type: "$SNF_OSTYPE". |
|
|
|
|
|
|
|
|
AC_SUBST(OTHER_CXXFLAGS) |
|
|
AC_SUBST(OTHER_CXXFLAGS) |
|
|
AC_SUBST(SNF_CXXFLAGS) |
|
|
AC_SUBST(SNF_CXXFLAGS) |
|
|
AC_SUBST(SNF_LIBS) |
|
|
AC_SUBST(SNF_LIBS) |
|
|
|
|
|
AC_SUBST(SNF_RPM_SENDMAIL_OTHER_REQUIRES) |
|
|
|
|
|
|
|
|
dnl |
|
|
dnl |
|
|
dnl Output the makefiles. |
|
|
dnl Output the makefiles. |