mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
ID: 3611253 - configure.in - fixed build for the newer autotool releases
Commit for Dmitry Bazhenov
This commit is contained in:
parent
3818c0d296
commit
cee211da31
@ -209,11 +209,18 @@ AC_ARG_WITH([kerneldir],
|
|||||||
|
|
||||||
AH_TEMPLATE([HAVE_LINUX_COMPILER_H], [])
|
AH_TEMPLATE([HAVE_LINUX_COMPILER_H], [])
|
||||||
AC_MSG_CHECKING([for linux/compiler.h])
|
AC_MSG_CHECKING([for linux/compiler.h])
|
||||||
AC_PREPROC_IFELSE([#include <linux/compiler.h>],
|
|
||||||
[AC_DEFINE(HAVE_LINUX_COMPILER_H, [1],
|
m4_version_prereq([2.68],
|
||||||
|
[AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include <linux/compiler.h>]])],
|
||||||
|
[AC_DEFINE(HAVE_LINUX_COMPILER_H, [1],
|
||||||
|
[Define to 1 if you have the <linux/compiler.h> header file.])
|
||||||
|
AC_MSG_RESULT([yes])],
|
||||||
|
[AC_MSG_RESULT([no])])],
|
||||||
|
[AC_PREPROC_IFELSE([#include <linux/compiler.h>],
|
||||||
|
[AC_DEFINE(HAVE_LINUX_COMPILER_H, [1],
|
||||||
[Define to 1 if you have the <linux/compiler.h> header file.])
|
[Define to 1 if you have the <linux/compiler.h> header file.])
|
||||||
AC_MSG_RESULT([yes])],
|
AC_MSG_RESULT([yes])],
|
||||||
[AC_MSG_RESULT([no])])
|
[AC_MSG_RESULT([no])])])
|
||||||
|
|
||||||
CPPFLAGS=$ORIG_CPPFLAGS
|
CPPFLAGS=$ORIG_CPPFLAGS
|
||||||
AC_SUBST(CPPFLAGS)
|
AC_SUBST(CPPFLAGS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user