diff options
Diffstat (limited to 'recipes-extended/openhpi/files/configure_fix.patch')
-rw-r--r-- | recipes-extended/openhpi/files/configure_fix.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes-extended/openhpi/files/configure_fix.patch b/recipes-extended/openhpi/files/configure_fix.patch new file mode 100644 index 0000000..d6c9818 --- /dev/null +++ b/recipes-extended/openhpi/files/configure_fix.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | --- a/configure.ac 2012-08-27 15:08:58.000000000 -0300 | ||
2 | +++ b/configure.ac 2013-07-31 08:55:00.017653886 -0300 | ||
3 | @@ -277,6 +277,7 @@ | ||
4 | if test "x$have_sysfs" = "xyes"; then | ||
5 | AC_SUBST(SYSFS,sysfs) | ||
6 | AC_SUBST(WITH_SYSFS,1) | ||
7 | + AC_CHECK_HEADERS([sysfs/libsysfs.h]) | ||
8 | else | ||
9 | OH_CHECK_FAIL(libsysfs,,http://linux-diag.sf.net, | ||
10 | Can not build sysfs support without libsysfs) | ||
11 | @@ -287,6 +288,7 @@ | ||
12 | [if test "x$have_sysfs" = "xyes"; then | ||
13 | AC_SUBST(SYSFS,sysfs) | ||
14 | AC_SUBST(WITH_SYSFS,1) | ||
15 | + AC_SUBST(SYSFS_INCLUDE) | ||
16 | else | ||
17 | AC_SUBST(WITH_SYSFS,0) | ||
18 | fi | ||