[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [dev-serveez] serveez needs flag for -pthread on Fedora 15
From: |
Thien-Thi Nguyen |
Subject: |
Re: [dev-serveez] serveez needs flag for -pthread on Fedora 15 |
Date: |
Tue, 31 May 2011 12:18:37 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
() Mike Gran <address@hidden>
() Mon, 30 May 2011 21:11:36 -0700 (PDT)
src/Makefile:224:CODECLIBS = -lz -lbz2
src/Makefile:241:GUILE_LDFLAGS = -L/usr/local/lib -lguile
src/Makefile:250:LIBS = -lpthread
src/Makefile:251:LIBSERVEEZLIBS = -ldl
src/Makefile:279:SERVEEZ_CONFIG_LDFLAGS = -LNONE/lib -lserveez
src/libserveez/Makefile:205:CODECLIBS = -lz -lbz2
src/libserveez/Makefile:222:GUILE_LDFLAGS = -L/usr/local/lib -lguile
src/libserveez/Makefile:231:LIBS = -lpthread
src/libserveez/Makefile:232:LIBSERVEEZLIBS = -ldl
src/libserveez/Makefile:260:SERVEEZ_CONFIG_LDFLAGS = -LNONE/lib -lserveez
Obviously the "LIBS = -lpthread" here is from what I added to the
configure command. Rerunning a raw configure would return the same
without the "LIBS = -lpthread"
OK.
FWIW, 'guile-config link' gives '-pthread -lguile'
Yes, sounds like the best approach is to use guile-config.
I've just pushed this (commit d6439a03e12):
[build] Drop ‘--with-guile’; use only guile-config(1).
* m4/inc.m4 (SVZ_GUILE_FLAGS): New AC_DEFUN.
(SVZ_GUILE, SVZ_GUILE_CHECK): Delete AC_DEFUNs.
* configure.ac (SVZ_GUILE_FLAGS): Add macro call.
(SVZ_GUILE, SVZ_GUILE_CHECK): Delete macro calls.
(guile/gh.h): New AC_CHECK_HEADERS.
* doc/serveez.texi (Build and install): Suggest options for
building Guile under "Requirements"; remove ‘--with-guile’
from table of configure options; update example.
Please try it out.