[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UPDATE: net/irssi-0.8.10



On Sun, Mar 12, 2006 at 10:46:07PM +0100, viq wrote:
> Ok, here's another patch, before I start playing with what Antti Harri posted. 
> I should start making a changelog ;) So: included MODGNU_CONFIG_GUESS_DIRS 
> instead of copying config.* files, added installation of sample irssi.conf. 
> Still getting those grep errors on configure though.
> 
> -- 
> viq
>

It seems to work fine on 3.9 GENERIC#617 i386, but i didn't try to do
anything fancy.

Attached is a patch that makes the grep/sed errors go away.

Tobias
--- configure.orig	Mon Mar 13 02:34:15 2006
+++ configure	Mon Mar 13 02:36:04 2006
@@ -25364,14 +25364,14 @@
 int modfunc(){return (int)floor(1.2);}
 EOF
 
-./libtool --mode=compile $CC $CFLAGS -c conftest.c 2> /dev/null > /dev/null
+/usr/local/bin/libtool --tag=CXX --mode=compile $CC $CFLAGS -c conftest.c >/dev/null
 if test ! -s conftest.lo; then
   { { echo "$as_me:$LINENO: error: error compiling test module" >&5
 echo "$as_me: error: error compiling test module" >&2;}
    { (exit 1); exit 1; }; }
 fi
 
-./libtool --mode=link $CC $CFLAGS $LDFLAGS -rpath /usr/lib conftest.lo -lm -o libconftest.la > /dev/null
+/usr/local/bin/libtool --tag=CXX --mode=link $CC $CFLAGS $LDFLAGS -rpath /usr/lib conftest.lo -lm -o libconftest.la >/dev/null
 if test ! -s .libs/libconftest.a; then
   { { echo "$as_me:$LINENO: error: error, can't even find .a library" >&5
 echo "$as_me: error: error, can't even find .a library" >&2;}