enable usage of a separately built replacement of libtriple

In order to improve portability, libtriple will be split off and
built separately as "libneutrino-hal" (for hardware abstraction layer)
Enable the makefiles to deal with that.
This commit is contained in:
Stefan Seyfried
2012-02-03 23:56:16 +01:00
parent 8e7fc69a0b
commit c8a561244e
15 changed files with 85 additions and 2 deletions

View File

@@ -114,6 +114,16 @@ if test "$enable_upnp" = "yes"; then
AC_DEFINE(ENABLE_UPNP,1,[include UPNP support - currently broken])
fi
AC_ARG_WITH(neutrino-hal-includes,
[ --with-neutrinohal-includes=PATH path for libneutrino-hal includes [[NONE]]],
[NEUTRINO_HAL_INC="$withval"],[NEUTRINO_HAL_INC=""])
AC_ARG_WITH(neutrino-hal-build,
[ --with-neutrinohal-build=PATH path where libneutrino-hal is built [[NONE]]],
[NEUTRINO_HAL_LIB="$withval"],[NEUTRINO_HAL_LIB=""])
AM_CONDITIONAL(USE_NEUTRINO_HAL, test "$NEUTRINO_HAL_INC")
AC_CHECK_HEADERS(coolstream/nevis_ir.h)
#
@@ -137,6 +147,8 @@ AC_SUBST(FREETYPE_CFLAGS)
AC_SUBST(FREETYPE_LIBS)
AC_SUBST(VORBISIDEC_CFLAGS)
AC_SUBST(VORBISIDEC_LIBS)
AC_SUBST(NEUTRINO_HAL_INC)
AC_SUBST(NEUTRINO_HAL_LIB)
AC_OUTPUT([
Makefile