Re: [gnome-network]patch to configure.in



On Fri, 2003-11-28 at 10:53, Álvaro Peña González wrote:
> Hi all,
> 
> 	I have found an error launching autogen.sh
> 
> $ ./autogen.sh
> ....
> configure: error: conditional "RFB" was never defined.
> Usually this means the macro was only invoked conditionally.
> 
> 	I attach a patch with the correction, moving the AM_CONDITIONAL out
> from a if statement.
> 
+AM_CONDITIONAL(RFB, test "x$LIBVNC" != "xno")
 if test "x$LIBVNC" != "xno"; then
-       AM_CONDITIONAL(RFB, test "x$LIBVNC" != "xno")
        VNC_CFLAGS=`libvncserver-config --cflags`
        VNC_LIBS=`libvncserver-config --libs`
 fi

please put the AM_CONDITIONAL after the if/fi statement, then commit.

thanks




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