b=19615
i=shadow, johann
Disable server build for rhel4 & sles9.
LB_LINUX_TRY_COMPILE([
#include <linux/version.h>
],[
- #ifndef RHEL_MAJOR
+ #ifndef RHEL_RELEASE_CODE
#error "not redhat kernel"
#endif
],[
AC_MSG_RESULT([no])
])
-AC_MSG_CHECKING([that SuSe kernel])
-LB_LINUX_TRY_COMPILE([
- #include <linux/version.h>
- ],[
- #ifndef SLE_VERSION_CODE
- #error "not sles kernel"
- #endif
- ],[
- SUSE_KERNEL="yes"
- AC_MSG_RESULT([yes])
- ],[
- AC_MSG_RESULT([no])
-])
+LB_LINUX_CONFIG([SUSE_KERNEL],[SUSE_KERNEL="yes"],[])
])