diff options
author | Kay Sievers <kay@vrfy.org> | 2013-03-28 15:28:10 +0100 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2013-03-28 15:28:10 +0100 |
commit | d8d4bee76cf3b40ea923bc57d44aa0815ca9b5ff (patch) | |
tree | 5037a91a5accbf21b418489221f8ddb56f01354c /configure.ac | |
parent | 0014c5221ec559e558968d9028cc6b7c07116252 (diff) |
build-sys: fix HAVE/ENABLE_FIRMWARE
https://bugs.freedesktop.org/show_bug.cgi?id=62864
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 5b88bcf005..e73cd5c76f 100644 --- a/configure.ac +++ b/configure.ac @@ -728,6 +728,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"]) # ------------------------------------------------------------------------------ @@ -736,7 +737,6 @@ AC_ARG_ENABLE([gudev], [], [enable_gudev=yes]) AS_IF([test "x$enable_gudev" = "xyes"], [ PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0 gio-2.0]) ]) AM_CONDITIONAL([ENABLE_GUDEV], [test "x$enable_gudev" = "xyes"]) - AS_IF([test "x$enable_gudev" = "xyes"], [ AC_DEFINE(HAVE_GLIB, 1, [Define if glib is available]) ]) # ------------------------------------------------------------------------------ |