mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
- acinclude: move HAVE_UCLIBC handling to configure.ac; fix handling
This commit is contained in:
@@ -488,9 +488,6 @@ elif test "$BOXTYPE" = "mipsbox"; then
|
||||
AC_DEFINE(HAVE_MIPS_HARDWARE, 1, [building for an mipsbox])
|
||||
fi
|
||||
|
||||
# uclibc
|
||||
AM_CONDITIONAL(HAVE_UCLIBC, test "$targetlibdir/ld-uClibc.so.0")
|
||||
|
||||
# generic
|
||||
if test "$BOXMODEL" = "generic"; then
|
||||
AC_DEFINE(BOXMODEL_GENERIC, 1, [generic pc])
|
||||
|
@@ -524,6 +524,9 @@ else
|
||||
HWLIB_CFLAGS="$HWLIB_CFLAGS "'-I$(top_srcdir)/lib/hardware/coolstream'
|
||||
fi
|
||||
|
||||
# uclibc
|
||||
AM_CONDITIONAL(HAVE_UCLIBC, $CC --version | grep -q "uclibc")
|
||||
|
||||
# hack, so that framebuffer.h does not need to be included everywhere...
|
||||
AC_DEFINE(fb_pixel_t, uint32_t, [hack, so that framebuffer.h does not need to be included everywhere...])
|
||||
|
||||
|
Reference in New Issue
Block a user