- acinclude: move HAVE_UCLIBC handling to configure.ac; fix handling

This commit is contained in:
vanhofen
2023-01-29 17:38:04 +01:00
committed by Thilo Graf
parent 49342bbee0
commit 405f45d304
2 changed files with 3 additions and 3 deletions

View File

@@ -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])

View File

@@ -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...])