[vlc-devel] commit: Disable glibc runtime check if configure passed due to disable-{nls , mozilla} (David Flynn )

git version control git at videolan.org
Thu May 7 17:42:05 CEST 2009


vlc | branch: master | David Flynn <davidf at rd.bbc.co.uk> | Thu May  7 12:47:35 2009 +0000| [999e1c3655662ab9285d3f1fbd49086905d473c2] | committer: Rémi Denis-Courmont 

Disable glibc runtime check if configure passed due to disable-{nls, mozilla}

Signed-off-by: David Flynn <davidf at rd.bbc.co.uk>
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=999e1c3655662ab9285d3f1fbd49086905d473c2
---

 configure.ac              |    2 ++
 src/misc/linux_specific.c |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 7328ccf..36e9840 100644
--- a/configure.ac
+++ b/configure.ac
@@ -559,6 +559,8 @@ AC_PREPROC_IFELSE([
 work-around for this. Check with your distribution vendor on how to update the
 glibc run-time. Alternatively, build with --disable-nls --disable-mozilla and
 be sure to not use LibVLC from other applications/wrappers.])
+  ], [
+    AC_DEFINE(DISABLE_BUGGY_GLIBC_CHECK, 1, [Disables runtime check for buggy glibc.])
   ])
 ])
 
diff --git a/src/misc/linux_specific.c b/src/misc/linux_specific.c
index a9165c1..79c8807 100644
--- a/src/misc/linux_specific.c
+++ b/src/misc/linux_specific.c
@@ -90,7 +90,9 @@ void system_Init (libvlc_int_t *libvlc, int *argc, const char *argv[])
         fputs ("LibVLC has detected an unusable buggy GNU/libc version.\n"
                "Please update to version 2.8 or newer.\n", stderr);
         fflush (stderr);
+#ifndef DISABLE_BUGGY_GLIBC_CHECK
         abort ();
+#endif
     }
 #endif
 




More information about the vlc-devel mailing list