diff options
author | Martijn Kaijser <martijn@xbmc.org> | 2016-05-01 12:48:16 +0200 |
---|---|---|
committer | Martijn Kaijser <martijn@xbmc.org> | 2016-05-01 12:48:16 +0200 |
commit | 0e3665008819a8ec92ffbc31ce86f5fd6d1fbabd (patch) | |
tree | 17f7fa93886f80db61b3e5812d15d4cb9b74b7d8 /configure.ac | |
parent | 477ded3fe2721c672b7399bf087cd9a6aded1610 (diff) | |
parent | 6c3417f9746964a73b8702811ad7a39aa3385c56 (diff) |
Merge pull request #9675 from MartijnKaijser/cdrip
Avoid compiling cdrip when build with --disable-optical-drive
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index fc25fc8fd5..4ffbaaaea4 100644 --- a/configure.ac +++ b/configure.ac @@ -1165,6 +1165,9 @@ fi # Optical if test "$use_optical_drive" = "yes"; then AC_DEFINE([HAS_DVD_DRIVE], [1], [Define to 1 to have optical drive support]) + USE_OPTICAL_DRIVE=1 +else + USE_OPTICAL_DRIVE=0 fi # Alsa @@ -2293,6 +2296,7 @@ AC_SUBST(UPNP_DEFINES) AC_SUBST(USE_SSE4) AC_SUBST(USE_MMAL) AC_SUBST(USE_X11) +AC_SUBST(USE_OPTICAL_DRIVE) AC_SUBST(USE_BREAKPAD) AC_SUBST(CROSS_COMPILING) |