On Thu, Sep 27, 2007 at 12:41:01PM +0200, attila.bruncsak@... wrote: > In the LDFLAG generation of configure the changes > of the rpath variable value > has broken the configure script on Tru64 UNIX. > It does not even create Makefile any more. > > 3033c3032 > < rpath="-R"; ldrpath=no > --- > > rpath="-L"; ldrpath=no cvs log says that: revision 1.217 date: 2007/08/23 10:54:13; author: manu; state: Exp; lines: +2 -2 Fix configure LDFLAG generation, -R was missing (Mattheu Herrb) Documentation typo fix What about this fix? Index: configure.ac =================================================================== RCS file: /cvsroot/milter-greylist/configure.ac,v retrieving revision 1.217 diff -U2 -r1.217 configure.ac --- configure.ac 23 Aug 2007 10:54:13 -0000 1.217 +++ configure.ac 27 Sep 2007 23:43:22 -0000 @@ -4,5 +4,5 @@ AC_PREREQ(2.57) -AC_INIT(milter-greylist, 4.0b1, manu@...) +AC_INIT(milter-greylist, 4.0b2, manu@...) AC_CONFIG_SRCDIR([milter-greylist.c]) AC_CONFIG_HEADER([config.h]) @@ -32,4 +32,13 @@ NORPSAVEDLDFLAGS=$LDFLAGS +# Check if the linker accepts -R +AC_MSG_CHECKING([if ld accepts -R]) +SAVEDLDFLAGS=$LDFLAGS +LDFLAGS=$LDFLAGS" -Wl,-R=/" +AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], + [rpath="-R"; ldrpath=yes], [rpath="-L"; ldrpath=no]) +LDFLAGS=$SAVEDLDFLAGS +AC_MSG_RESULT([$ldrpath]) + # Check if the linker accepts --rpath (for Darwin) AC_MSG_CHECKING([if ld accepts --rpath]) @@ -37,5 +46,5 @@ LDFLAGS=$LDFLAGS" -Wl,--rpath=/" AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], - [rpath="--rpath="; ldrpath=yes], [rpath="-R"; ldrpath=no]) + [rpath="--rpath="; ldrpath=yes], [ldrpath=no]) LDFLAGS=$SAVEDLDFLAGS AC_MSG_RESULT([$ldrpath]) -- Emmanuel Dreyfus manu@...
Message
Re: [milter-greylist] 4.0beta2 is available
2007-09-27 by Emmanuel Dreyfus
Attachments
- No local attachments were found for this message.