[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Opening a can of worms: a readline gnulib module?
From: |
Sam Steingold |
Subject: |
Re: Opening a can of worms: a readline gnulib module? |
Date: |
Thu, 11 Aug 2005 13:49:38 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) |
> * Bruno Haible <address@hidden> [2005-08-11 16:46:35 +0200]:
>
>> > + AC_CHECK_LIB(readline, readline)
>
> Can you please use AC_LIB_LINKFLAGS (from lib-link.m4) instead? So
> that the library is recognized (and the -rpath linker option is used)
> when it is installed in the $PREFIX directory but not in /usr/lib ?
DIUC that the correct order is this:
AC_LIB_LINKFLAGS
AC_CHECK_HEADERS
AC_SEARCH_LIBS
e.g.
AC_LIB_LINKFLAGS([z])
AC_CHECK_HEADERS(zlib.h)
if test "$ac_cv_header_zlib_h" = "no" ;
then AC_MSG_ERROR([cannot find ZLIB headers])
fi
AC_SEARCH_LIBS(compress2, z)
if test "$ac_cv_search_compress2" = "no"; then
AC_MSG_ERROR([cannot find ZLIB library])
fi
(one can have AC_CHECK_HEADERS and AC_SEARCH_LIBS in any order)
--
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://ffii.org/> <http://www.dhimmi.com/>
<http://pmw.org.il/> <http://www.iris.org.il> <http://www.camera.org>
Good programmers treat Microsoft products as damage and route around it.
- Re: Opening a can of worms: a readline gnulib module?, (continued)
- Re: Opening a can of worms: a readline gnulib module?, Oskar Liljeblad, 2005/08/11
- Re: Opening a can of worms: a readline gnulib module?, Simon Josefsson, 2005/08/11
- Re: Opening a can of worms: a readline gnulib module?, Simon Josefsson, 2005/08/12
- Re: Opening a can of worms: a readline gnulib module?, Bruno Haible, 2005/08/12
- Re: Opening a can of worms: a readline gnulib module?, Simon Josefsson, 2005/08/12
- Re: [bug-gnulib] Re: Opening a can of worms: a readline gnulib module?, Bruno Haible, 2005/08/12
- Re: [bug-gnulib] Re: Opening a can of worms: a readline gnulib module?, Oskar Liljeblad, 2005/08/12
- Re: [bug-gnulib] Re: Opening a can of worms: a readline gnulib module?, Bruno Haible, 2005/08/12
- Re: Opening a can of worms: a readline gnulib module?, Bruno Haible, 2005/08/11
- Re: Opening a can of worms: a readline gnulib module?, Simon Josefsson, 2005/08/11
Re: Opening a can of worms: a readline gnulib module?,
Sam Steingold <=
Re: Opening a can of worms: a readline gnulib module?, Sam Steingold, 2005/08/11