On 1/29/06, Axel Liljencrantz <[EMAIL PROTECTED]> wrote:
> 2006/1/29, Hiroshi SAKURAI <[EMAIL PROTECTED]>:
> > HAVE_TERM_H, HAVE_TERMIO_H and HAVE_NCURSES_H are
> > not defiend in config.h even though I have /usr/pkg/include/term.h.
>
> The fish build process seems somewhat incompetent when it comes to
> finding additional include and library directories. I'm afraid my
> machines all have terribly boring include paths, so I can't verify if
> this works, but hopefully the below code should find any include and
> library directories in /usr/pkg and /sw (used by fink on OS X). Could
> you verify that by adding this near the top of configure.ac27, and then
> running autoconf and configure fixes things?
>
> for i in /usr/pkg /sw; do
>     AC_MSG_CHECKING([for $i/include include directory])
>     if test -d $i/include; then
>         AC_MSG_RESULT(yes)
>         CPPFLAGS="$LDFLAGS -I$i/include/"
>     else
>         AC_MSG_RESULT(no)
>     fi
>
>     AC_MSG_CHECKING([for $i/lib library directory])
>     if test -d $i/lib; then
>         AC_MSG_RESULT(yes)
>         LDFLAGS="$LDFLAGS -L$i/include/"
>     else
>         AC_MSG_RESULT(no)
>     fi
> done

I've verified it.
Modified 'configure' successfully found term.h in /usr/pkg/include.
Thanks.

--
Hiroshi SAKURAI
http://vimrc.hp.infoseek.co.jp/


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to