From: Bruno Haible Date: Tue, 5 Oct 2010 01:24:14 +0000 (+0200) Subject: Make option --with-libpth-prefix work. X-Git-Tag: v0.18.2~127 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8784ef1f53f0c617b074b1bae727338ad3a29e1d;p=thirdparty%2Fgettext.git Make option --with-libpth-prefix work. --- diff --git a/gettext-runtime/m4/ChangeLog b/gettext-runtime/m4/ChangeLog index 1c957bf8c..a3136283d 100644 --- a/gettext-runtime/m4/ChangeLog +++ b/gettext-runtime/m4/ChangeLog @@ -1,3 +1,9 @@ +2010-10-04 Bruno Haible + + Make option --with-libpth-prefix work. + * threadlib.m4 (gl_THREADLIB_BODY): When testing whether pth works, use + $LIBPTH, not just -lpth. + 2010-09-22 Bruno Haible * threadlib.m4 (gl_THREADLIB_EARLY_BODY): When gl_THREADLIB_DEFAULT_NO diff --git a/gettext-runtime/m4/threadlib.m4 b/gettext-runtime/m4/threadlib.m4 index 2459930bc..423c17c76 100644 --- a/gettext-runtime/m4/threadlib.m4 +++ b/gettext-runtime/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])