Commit 82f20ceb authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Explode in the face of the user if (s)he has a broken glibc

I am fed up with all the blame we got for this for over a year.
parent da41047c
......@@ -503,6 +503,24 @@ AC_LANG_PUSH(C++)
dnl Buggy glibc prevention. Purposedly not cached.
dnl Ubuntu alone has 20 bug numbers for this...
AC_MSG_CHECKING(for buggy GNU/libc versions)
#include <limits.h>
#if defined (__GLIBC__) && (__GLIBC__ == 2) \
&& (__GLIBC_MINOR__ >= 5) && (__GLIBC_MINOR__ <= 7)
# error GNU/libc with dcgettext killer bug!
], [
AC_MSG_RESULT([not present])
], [
AC_MSG_ERROR([Buggy GNU/libc (version 2.5 - 2.7) present. VLC would crash; there is no viable work-around for this. Check with your distribution vendor on how to update the glibc run-time.])
dnl Plugin compilation stuff
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment