From e994f97750ccbaf9852b16344a3d005936f18d80 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 5 Oct 2010 03:19:16 +0200 Subject: [PATCH] threadlib: Make option --with-libpth-prefix work. * m4/threadlib.m4 (gl_THREADLIB_BODY): When testing whether pth works, use $LIBPTH, not just -lpth. --- ChangeLog | 6 ++++++ m4/threadlib.m4 | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b466ae874..8479498e3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2010-10-04 Bruno Haible + 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 + Avoid line length limitation from HP NonStop system header files. * m4/include_next.m4 (gl_INCLUDE_NEXT): Define also PRAGMA_COLUMNS. * lib/arpa_inet.in.h: Use PRAGMA_COLUMNS. diff --git a/m4/threadlib.m4 b/m4/threadlib.m4 index 2459930bc..423c17c76 100644 --- 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 @@ int main () 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_self();]])], [gl_have_pth=yes]) -- 2.11.0