diff options
author | Kay Sievers <kay@vrfy.org> | 2013-04-09 17:37:29 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2013-04-09 17:47:19 -0400 |
commit | faed3b5ff10ac02a38d706861fc87e9ffc6142b7 (patch) | |
tree | 9798e9069659d3569ee906476cabfd53d4a34b4f /configure.ac | |
parent | ab0a37ddcf9c9a68a5340a657b11531a02925c46 (diff) |
build-sys: fix HAVE/ENABLE_FIRMWARE
This fixes:
https://github.com/gentoo/eudev/issues/55
https://bugs.freedesktop.org/show_bug.cgi?id=62864
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 68dd9df50c..7aa0f8ac04 100644 --- a/configure.ac +++ b/configure.ac @@ -211,6 +211,7 @@ for i in $with_firmware_path; do done IFS=$OLD_IFS AC_SUBST(FIRMWARE_PATH) +AS_IF([test "x${FIRMWARE_PATH}" != "x"], [ AC_DEFINE(HAVE_FIRMWARE, 1, [Define if FIRMWARE is available]) ]) AM_CONDITIONAL(ENABLE_FIRMWARE, [test "x${FIRMWARE_PATH}" != "x"]) # ------------------------------------------------------------------------------ |