diff options
author | Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net> | 2005-01-21 09:24:03 +0000 |
---|---|---|
committer | Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net> | 2005-01-21 09:24:03 +0000 |
commit | fc39dadf98e51a767385ee95d7b63121e2ae5c88 (patch) | |
tree | 5ef56b5d4959bcbc90d0f86700d53c34867f39e7 /configure.in | |
parent | 5e2927a2b844eb33d2fafd3aa8802411d10560c1 (diff) | |
download | monitoring-plugins-fc39dadf98e51a767385ee95d7b63121e2ae5c88.tar.gz |
Set arch specifc preprocessor symbols in config.h. TEMPORARY hack for check_dhcp.c [on FreeBSD 4: /check_dhcp -i fxp0 -> DHCP ok: Received 1 DHCPOFFER(s), max lease time = 259200 sec.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1093 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.in b/configure.in index d6ea4d3b..0002d61b 100644 --- a/configure.in +++ b/configure.in | |||
@@ -1465,6 +1465,21 @@ AC_TRY_COMPILE([#ifdef __STDC__ | |||
1465 | [AC_MSG_RESULT(yes)], | 1465 | [AC_MSG_RESULT(yes)], |
1466 | [NEED_VA_LIST=-DNEED_VA_LIST AC_SUBST(NEED_VA_LIST) AC_MSG_RESULT(no)]) | 1466 | [NEED_VA_LIST=-DNEED_VA_LIST AC_SUBST(NEED_VA_LIST) AC_MSG_RESULT(no)]) |
1467 | 1467 | ||
1468 | case $host in | ||
1469 | *bsd*) | ||
1470 | AC_DEFINE(__bsd__,1,[bsd specific code in check_dhcp.c]) | ||
1471 | ;; | ||
1472 | *linux*) | ||
1473 | AC_DEFINE(__linux__,1,[sun specific code in check_dhcp.c]) | ||
1474 | ;; | ||
1475 | *sun* | solaris*) | ||
1476 | AC_DEFINE(__sun__,1,[sun specific code in check_dhcp.c]) | ||
1477 | ;; | ||
1478 | *hpux*) | ||
1479 | AC_DEFINE(__hpux__,1,[hpux specific code in check_dhcp.c]) | ||
1480 | ;; | ||
1481 | esac | ||
1482 | |||
1468 | AC_SUBST(EXTRAS) | 1483 | AC_SUBST(EXTRAS) |
1469 | AC_SUBST(EXTRA_NETOBJS) | 1484 | AC_SUBST(EXTRA_NETOBJS) |
1470 | AC_SUBST(DEPLIBS) | 1485 | AC_SUBST(DEPLIBS) |