diff options
author | davilla <davilla@4pi.com> | 2011-09-30 00:29:22 -0400 |
---|---|---|
committer | davilla <davilla@4pi.com> | 2011-09-30 00:33:27 -0400 |
commit | d874d6805fcfeff8e4cddfe15d9e857b1d6cf12f (patch) | |
tree | d7e8148bc9237f2788983bfa1dc65913f4f6ee81 | |
parent | e9cc00e465031d9c1595b49a945952b544f2088f (diff) |
changed, these should be USE_xxx not HAVE_xxx
-rwxr-xr-x | configure.in | 21 | ||||
-rw-r--r-- | xbmc/peripherals/bus/Makefile.in | 4 | ||||
-rw-r--r-- | xbmc/peripherals/devices/Makefile.in | 2 |
3 files changed, 15 insertions, 12 deletions
diff --git a/configure.in b/configure.in index 5f43acbbf1..05bee5008b 100755 --- a/configure.in +++ b/configure.in @@ -1075,18 +1075,19 @@ if test "x$use_airtunes" != "xno"; then fi # libusb +USE_LIBUSB=0 if test "$host_vendor" = "apple" ; then use_libusb="no" AC_MSG_NOTICE($libusb_disabled) else if test "$use_libusb" = "auto"; then PKG_CHECK_MODULES([USB], [libusb], - use_libusb="yes"; HAVE_LIBUSB=1; [INCLUDES="$INCLUDES $USB_CFLAGS"; LIBS="$LIBS $USB_LIBS"; HAVE_LIBUSB=1]; \ + use_libusb="yes"; USE_LIBUSB=1; [INCLUDES="$INCLUDES $USB_CFLAGS"; LIBS="$LIBS $USB_LIBS"; USE_LIBUSB=1]; \ AC_DEFINE([HAVE_LIBUSB],[1],["Define to 1 if libusb is installed"]), use_libusb="no"; AC_MSG_RESULT($libusb_not_found)) elif test "$use_libusb" = "yes"; then PKG_CHECK_MODULES([USB], [libusb], - use_libusb="yes"; HAVE_LIBUSB=1; [INCLUDES="$INCLUDES $USB_CFLAGS"; LIBS="$LIBS $USB_LIBS"; HAVE_LIBUSB=1]; \ + use_libusb="yes"; USE_LIBUSB=1; [INCLUDES="$INCLUDES $USB_CFLAGS"; LIBS="$LIBS $USB_LIBS"; USE_LIBUSB=1]; \ AC_DEFINE([HAVE_LIBUSB],[1],["Define to 1 if libusb is installed"]), use_libusb="no"; AC_MSG_ERROR($libusb_not_found)) else @@ -1096,6 +1097,7 @@ else fi # udev +USE_LIBUDEV=0 if test "$use_libusb" = "yes"; then if test "$host_vendor" = "apple" ; then use_libudev="no" @@ -1103,12 +1105,12 @@ if test "$use_libusb" = "yes"; then else if test "$use_libudev" = "auto"; then PKG_CHECK_MODULES([UDEV], [libudev], - use_libudev="yes"; use_libusb="no"; HAVE_LIBUDEV=1; [INCLUDES="$INCLUDES $UDEV_CFLAGS"; LIBS="$LIBS $UDEV_LIBS"]; \ + use_libudev="yes"; use_libusb="no"; USE_LIBUDEV=1; [INCLUDES="$INCLUDES $UDEV_CFLAGS"; LIBS="$LIBS $UDEV_LIBS"]; \ AC_DEFINE([HAVE_LIBUDEV],[1],["Define to 1 if libudev is installed"]), AC_MSG_RESULT($libudev_not_found)) elif test "$use_libudev" = "yes" ; then PKG_CHECK_MODULES([UDEV], [libudev], - use_libudev="yes"; use_libusb="no"; HAVE_LIBUDEV=1; [INCLUDES="$INCLUDES $UDEV_CFLAGS"; LIBS="$LIBS $UDEV_LIBS"]; \ + use_libudev="yes"; use_libusb="no"; USE_LIBUDEV=1; [INCLUDES="$INCLUDES $UDEV_CFLAGS"; LIBS="$LIBS $UDEV_LIBS"]; \ AC_DEFINE([HAVE_LIBUDEV],[1],["Define to 1 if libudev is installed"]), AC_MSG_ERROR($libudev_not_found)) else @@ -1122,14 +1124,15 @@ else fi # libcec +USE_LIBCEC=0 if test "$use_libcec" = "auto"; then PKG_CHECK_MODULES([CEC], [libcec], - use_libcec="yes"; HAVE_LIBCEC=1; [INCLUDES="$INCLUDES $CEC_CFLAGS"; LIBS="$LIBS $CEC_LIBS";] \ + use_libcec="yes"; USE_LIBCEC=1; [INCLUDES="$INCLUDES $CEC_CFLAGS"; LIBS="$LIBS $CEC_LIBS";] \ AC_DEFINE([HAVE_LIBCEC],[1],["Define to 1 if libcec is installed"]), use_libcec="no"; AC_MSG_RESULT($libcec_not_found)) elif test "$use_libcec" = "yes"; then PKG_CHECK_MODULES([CEC], [libcec], - use_libcec="yes"; HAVE_LIBCEC=1; [INCLUDES="$INCLUDES $CEC_CFLAGS"; LIBS="$LIBS $CEC_LIBS";] \ + use_libcec="yes"; USE_LIBCEC=1; [INCLUDES="$INCLUDES $CEC_CFLAGS"; LIBS="$LIBS $CEC_LIBS";] \ AC_DEFINE([HAVE_LIBCEC],[1],["Define to 1 if libcec is installed"]), use_libcec="no"; AC_MSG_ERROR($libcec_not_found)) else @@ -1870,9 +1873,9 @@ AC_SUBST(USE_TEXTUREPACKER) AC_SUBST(USE_TEXTUREPACKER_NATIVE) AC_SUBST(USE_TEXTUREPACKER_NATIVE_ROOT) AC_SUBST(USE_AIRTUNES) -AC_SUBST(HAVE_LIBUDEV) -AC_SUBST(HAVE_LIBUSB) -AC_SUBST(HAVE_LIBCEC) +AC_SUBST(USE_LIBUDEV) +AC_SUBST(USE_LIBUSB) +AC_SUBST(USE_LIBCEC) # pushd and popd are not available in other shells besides bash, so implement # our own pushd/popd functions diff --git a/xbmc/peripherals/bus/Makefile.in b/xbmc/peripherals/bus/Makefile.in index b1370068e1..baba6f2a54 100644 --- a/xbmc/peripherals/bus/Makefile.in +++ b/xbmc/peripherals/bus/Makefile.in @@ -1,7 +1,7 @@ SRCS=PeripheralBus.cpp -ifeq (@HAVE_LIBUSB@,1) -ifeq (@HAVE_LIBUDEV@,1) +ifeq (@USE_LIBUSB@,1) +ifeq (@USE_LIBUDEV@,1) SRCS+=linux/PeripheralBusUSBLibUdev.cpp else SRCS+=linux/PeripheralBusUSBLibUSB.cpp diff --git a/xbmc/peripherals/devices/Makefile.in b/xbmc/peripherals/devices/Makefile.in index dd2daa9169..e871c84dad 100644 --- a/xbmc/peripherals/devices/Makefile.in +++ b/xbmc/peripherals/devices/Makefile.in @@ -6,7 +6,7 @@ SRCS=Peripheral.cpp \ PeripheralNyxboard.cpp \ PeripheralTuner.cpp -ifeq (@HAVE_LIBCEC@,1) +ifeq (@USE_LIBCEC@,1) SRCS+=PeripheralCecAdapter.cpp endif |