summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5e2927a)
raw | patch | inline | side by side (parent: 5e2927a)
author | Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net> | |
Fri, 21 Jan 2005 09:24:03 +0000 (09:24 +0000) | ||
committer | Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net> | |
Fri, 21 Jan 2005 09:24:03 +0000 (09:24 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1093 f882894a-f735-0410-b71e-b25c423dba1c
configure.in | patch | blob | history |
diff --git a/configure.in b/configure.in
index d6ea4d3b716a4c665984b4433b0d429c05f9ea62..0002d61b90ab8e821ffdbf7a4d857d0774d072af 100644 (file)
--- a/configure.in
+++ b/configure.in
[AC_MSG_RESULT(yes)],
[NEED_VA_LIST=-DNEED_VA_LIST AC_SUBST(NEED_VA_LIST) AC_MSG_RESULT(no)])
+case $host in
+ *bsd*)
+ AC_DEFINE(__bsd__,1,[bsd specific code in check_dhcp.c])
+ ;;
+ *linux*)
+ AC_DEFINE(__linux__,1,[sun specific code in check_dhcp.c])
+ ;;
+ *sun* | solaris*)
+ AC_DEFINE(__sun__,1,[sun specific code in check_dhcp.c])
+ ;;
+ *hpux*)
+ AC_DEFINE(__hpux__,1,[hpux specific code in check_dhcp.c])
+ ;;
+esac
+
AC_SUBST(EXTRAS)
AC_SUBST(EXTRA_NETOBJS)
AC_SUBST(DEPLIBS)