mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-26 08:41:47 -07:00
Need -pthread on linux too.
Copied from Perforce Change: 182551 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
4ab7baf69e
commit
172586a44a
1 changed files with 4 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# configure.ac -- autoconf configuration for the MPS -*- Autoconf -*-
|
||||
#
|
||||
# $Id$
|
||||
# Copyright (C) 2012 Ravenbrook Limited. See end of file for license.
|
||||
# Copyright (C) 2012-2013 Ravenbrook Limited. See end of file for license.
|
||||
#
|
||||
# YOU DON'T NEED AUTOCONF TO BUILD THE MPS
|
||||
# This is just here for people who want or expect a configure script.
|
||||
|
|
@ -32,7 +32,7 @@ AC_PROG_INSTALL
|
|||
CFLAGS_GC="-ansi -pedantic -Wall -Werror -Wpointer-arith \
|
||||
-Wstrict-prototypes -Wmissing-prototypes \
|
||||
-Winline -Waggregate-return -Wnested-externs \
|
||||
-Wcast-qual -Wstrict-aliasing=2 -O -g3"
|
||||
-Wcast-qual -Wstrict-aliasing=2 -O -g3 -pthread"
|
||||
CFLAGS_LL="$CFLAGS_GC -Wno-extended-offsetof"
|
||||
|
||||
AC_CANONICAL_HOST
|
||||
|
|
@ -76,7 +76,7 @@ case $host in
|
|||
# Need /usr/local/include in order to find sqlite3.h
|
||||
CFLAGS="-I/usr/local/include"
|
||||
CPP="$CC -I/usr/local/include -E"
|
||||
PFMCFLAGS="$CFLAGS_GC -pthread"
|
||||
PFMCFLAGS="$CFLAGS_GC"
|
||||
;;
|
||||
amd64-*-freebsd* | x86_64-*-freebsd*)
|
||||
AC_MSG_RESULT([FreeBSD x86_64])
|
||||
|
|
@ -84,7 +84,7 @@ case $host in
|
|||
# Need /usr/local/include in order to find sqlite3.h
|
||||
CFLAGS="-I/usr/local/include"
|
||||
CPP="$CC -I/usr/local/include -E"
|
||||
PFMCFLAGS="$CFLAGS_GC -pthread"
|
||||
PFMCFLAGS="$CFLAGS_GC"
|
||||
;;
|
||||
*)
|
||||
AC_MSG_ERROR([MPS does not support this platform out of the box. See manual/build.txt])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue