HAYASHI Kentaro
null+****@clear*****
Mon Feb 8 23:44:03 JST 2016
HAYASHI Kentaro 2016-02-08 23:44:03 +0900 (Mon, 08 Feb 2016) New Revision: 99515f41d179525e2db970705003ac3acf6ea858 https://github.com/groonga/groonga/commit/99515f41d179525e2db970705003ac3acf6ea858 Message: Support mips/mipsel architecture Reported by Nobuhiro Iwamatsu, Thorsten Glaser, YunQiang Su, Dejan Latinovic and Steve Langasek. Debian bugs #770243 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770243 Modified files: configure.ac lib/Makefile.am Modified: configure.ac (+13 -0) =================================================================== --- configure.ac 2016-02-08 18:08:34 +0900 (d4bd3e5) +++ configure.ac 2016-02-08 23:44:03 +0900 (bd0b6dc) @@ -74,6 +74,19 @@ case "$host_os" in esac AC_MSG_RESULT([$solaris]) +AC_MSG_CHECKING([for platform which requires libatomic]) +case "$host" in + mips-*|mipsel-*) + platform_use_libatomic=yes + ATOMIC_LIBS="-latomic" + ;; + *) + platform_use_libatomic=no + ;; +esac +AC_MSG_RESULT([$platform_use_libatomic]) +AC_SUBST(ATOMIC_LIBS) + AC_C_BIGENDIAN AC_PROG_CXX AC_PROG_CC Modified: lib/Makefile.am (+2 -1) =================================================================== --- lib/Makefile.am 2016-02-08 18:08:34 +0900 (93c9f2d) +++ lib/Makefile.am 2016-02-08 23:44:03 +0900 (195b329) @@ -46,7 +46,8 @@ endif libgroonga_la_LIBADD += \ $(ONIGMO_LIBS) \ - $(LIBLZ4_LIBS) + $(LIBLZ4_LIBS) \ + $(ATOMIC_LIBS) if WITH_LEMON BUILT_SOURCES = \ -------------- next part -------------- HTML����������������������������... Descargar