Mercurial > hg > octave-nkf > gnulib-hg
changeset 13762:14f73b4573a7
threadlib: Make option --with-libpth-prefix work.
* m4/threadlib.m4 (gl_THREADLIB_BODY): When testing whether pth works,
use $LIBPTH, not just -lpth.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Tue, 05 Oct 2010 03:19:16 +0200 |
parents | a19ace3ba849 |
children | 064af6542c0a |
files | ChangeLog m4/threadlib.m4 |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-10-04 Bruno Haible <bruno@clisp.org> + + threadlib: Make option --with-libpth-prefix work. + * m4/threadlib.m4 (gl_THREADLIB_BODY): When testing whether pth works, + use $LIBPTH, not just -lpth. + 2010-10-04 Bruno Haible <bruno@clisp.org> Avoid line length limitation from HP NonStop system header files.
--- a/m4/threadlib.m4 +++ b/m4/threadlib.m4 @@ -1,4 +1,4 @@ -# threadlib.m4 serial 7 (gettext-0.18.2) +# threadlib.m4 serial 8 (gettext-0.18.2) dnl Copyright (C) 2005-2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -250,7 +250,7 @@ AC_LIB_LINKFLAGS([pth]) gl_have_pth= gl_save_LIBS="$LIBS" - LIBS="$LIBS -lpth" + LIBS="$LIBS $LIBPTH" AC_LINK_IFELSE( [AC_LANG_PROGRAM([[#include <pth.h>]], [[pth_self();]])], [gl_have_pth=yes])