freetalk-dev
[Top][All Lists]
Advanced

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

Re: [Freetalk-dev] PATCH:configure.ac Add a few error messages


From: Anand Avati
Subject: Re: [Freetalk-dev] PATCH:configure.ac Add a few error messages
Date: Wed, 30 Nov 2005 03:03:40 +0530
User-agent: Mutt/1.4.2.1i

Ghose,
Your patch has been applied to the repository.
Thanks!
regards,
avati

On Tue, Nov 29, 2005 at 03:28:31PM +0530, Baishampayan Ghose wrote:
> Hello!
> There was a bug in the configure.ac due to which even a failure in
> finding the required libs won't flag an error.
> I have added a few error messages to the configure.ac ... it's
> basically a trivial yet important patch.
> I am including it here
> Regards,
> BG
> 
> 
> Index: configure.ac
> ===================================================================
> RCS file: /cvsroot/freetalk/freetalk/configure.ac,v
> retrieving revision 1.8
> diff -a -u -r1.8 configure.ac
> --- configure.ac        1 Nov 2005 16:15:19 -0000       1.8
> +++ configure.ac        29 Nov 2005 09:19:14 -0000
> @@ -15,9 +15,18 @@
>  AC_PROG_CC
> 
>  AC_SEARCH_LIBS([tgetent],[ncurses termcap curses])
> -AC_CHECK_LIB([readline], [readline])
> -AC_CHECK_LIB([guile],[gh_enter],,exit)
> -AC_CHECK_LIB([glib-2.0],[g_slist_free],,exit)
> +AC_CHECK_LIB([readline], [readline],,[
> +       echo "ERROR! readline not found."
> +       exit -1
> +       ])
> +AC_CHECK_LIB([guile],[gh_enter],,[
> +       echo "ERROR! guile not found."
> +       exit -1
> +       ])
> +AC_CHECK_LIB([glib-2.0],[g_slist_free],,[
> +       echo "ERROR! glib-2.0 not found."
> +       exit -1
> +       ])
> 
>  AC_CHECK_PROG([PKGCONFIG], [pkg-config], [yes], [no])
>  if test "x$PKGCONFIG" = "xno"; then
> 
> 
> --
> Baishampayan Ghose
> Free Software Foundation of India
> b.ghose at gnu.org.in

> _______________________________________________
> Freetalk-dev mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/freetalk-dev

---end quoted text---

-- 
Anand V. Avati
http://hardcodecafe.com/~avati
finger address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]