[libsoup] libsoup: only do the libsoup-2.4.sym check on linux
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup] libsoup: only do the libsoup-2.4.sym check on linux
- Date: Mon, 6 Oct 2014 13:43:35 +0000 (UTC)
commit 79d499b3d633b2a30bba7a6b17d61942c0e2029c
Author: Dan Winship <danw gnome org>
Date: Mon Oct 6 09:43:29 2014 -0400
libsoup: only do the libsoup-2.4.sym check on linux
configure.ac | 7 +++++++
libsoup/Makefile.am | 4 ++++
2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 46cd3aa..29b00fa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -106,14 +106,21 @@ AC_MSG_CHECKING([for Win32])
case "$host" in
*-*-mingw*)
os_win32=yes
+ os_linux=yes
CFLAGS="$CFLAGS -D_REENTRANT"
;;
+ *-*-linux*)
+ os_win32=no
+ os_linux=yes
+ ;;
*)
os_win32=no
+ os_linux=no
;;
esac
AC_MSG_RESULT([$os_win32])
AM_CONDITIONAL(OS_WIN32, [test $os_win32 = yes])
+AM_CONDITIONAL(OS_LINUX, [test $os_linux = yes])
dnl ************************
dnl *** gettext/intltool ***
diff --git a/libsoup/Makefile.am b/libsoup/Makefile.am
index 3e34a09..403c1c2 100644
--- a/libsoup/Makefile.am
+++ b/libsoup/Makefile.am
@@ -296,6 +296,9 @@ CLEANFILES = $(gir_DATA) $(typelib_DATA) $(BUILT_SOURCES)
endif
+# We only do this check on Linux, so we don't have to worry about
+# different "nm" output on other platforms
+if OS_LINUX
check-local:
@echo Checking libsoup-2.4.so symbols
@nm $(builddir)/.libs/libsoup-2.4.so | \
@@ -303,3 +306,4 @@ check-local:
sed "s/^[[:xdigit:]]\+ [BTR] //" | \
env LANG=C sort -u | \
diff -U0 $(srcdir)/libsoup-2.4.sym - >&2
+endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]