On 14-10-2007 17:34:01 +0200, Axel Liljencrantz wrote:
> On 10/2/07, Fabian Groffen <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > Please find attached a patch to make fish properly detect libiconv as a
> > iconv implementer.  I tested this patch on Mac OS X and Fedora Core
> > Linux.  Couldn't test on Solaris as I have a missing doxygen there.
> >
> 
> Thank you for the patch.
> 
> I'll test it on Solaris and see if it works there before applying it.
> I get a bit nervous around autoconf macros, so I always want to test a
> bit extra to be sure they work, and that they're really distributed
> with all modern autoconf versions, etc.

I had to apply another patch for Solaris.  Please find it attached.

> > Fabian Groffen
> > Gentoo on a different level
> 
> And what level is that? :)

something beyond "/usr", e.g. "/home/user/my/software"

:)


-- 
Fabian Groffen
Gentoo on a different level
* [EMAIL PROTECTED] -- also pick up libiconv correctly

--- configure.ac.orig   2007-10-01 19:22:19 +0200
+++ configure.ac        2007-10-01 19:24:58 +0200
@@ -458,8 +458,8 @@
 AC_SEARCH_LIBS( connect, socket, , [AC_MSG_ERROR([Cannot find the socket 
library, needed to build this package.] )] )
 AC_SEARCH_LIBS( nanosleep, rt, , [AC_MSG_ERROR([Cannot find the rt library, 
needed to build this package.] )] )
 AC_SEARCH_LIBS( setupterm, [ncurses curses], , [AC_MSG_ERROR([Could not find a 
curses implementation, needed to build fish])] )
-AC_SEARCH_LIBS( iconv_open, iconv, , [AC_MSG_ERROR([Could not find an iconv 
implementation, needed to build fish])] )
-
+AM_ICONV
+LIBS="$LIBS $LIBICONV"
 
 #
 # Check presense of various header files
--- configure.ac.orig   2007-10-02 20:43:22.949337380 +0200
+++ configure.ac        2007-10-02 20:43:28.819055940 +0200
@@ -210,6 +210,8 @@
 )
 
 if test x$local_gettext != xno; then 
+       AM_GNU_GETTEXT
+       LIBS="$LIBS $LIBINTL"
        AC_DEFINE([USE_GETTEXT],[1],[Perform string translations with gettext])
 fi
 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to