[asterisk-dev] autoconf issues for FreeBSD

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Oct 5 14:11:46 MST 2006


On Thu, Oct 05, 2006 at 06:53:51AM -0700, Luigi Rizzo wrote:
> On Thu, Oct 05, 2006 at 03:34:02PM +0200, Tzafrir Cohen wrote:

> > BTW: I believe ./configure --silent is what you're after.
> 
> that's a bit too silent, it doesn't report anything :(

Why should it if all's well? If you ask for something explicitly
(--with-soemthing) and it's not there, you'll get an error.

In what cases exactly do you want to get such prompts (but not failing 
of the scripts) in what cases, exactly?

Not at all:

$ cat configure.ac
AC_INIT(tester, 0.0.1, here)

AC_MSG_NOTICE(A word to the user)
AC_MSG_ERROR(Error Message)
$ autoconf
$ ./configure
configure: A word to the user
configure: error: Error Message
$ ./configure --silent
configure: error: Error Message

-- 
Tzafrir Cohen         sip:tzafrir at local.xorcom.com
icq#16849755          iax:tzafrir at local.xorcom.com
+972-50-7952406          jabber:tzafrir at jabber.org
tzafrir.cohen at xorcom.com     http://www.xorcom.com


More information about the asterisk-dev mailing list