configure.in i autoconf

Artur Frysiak wiget at pld.org.pl
Thu Oct 31 10:51:23 CET 2002


On Thu, Oct 31, 2002 at 12:17:12AM +0100, Artur Flinta wrote:
> Witam!
> 
> AC_ARG_ENABLE(debug,
> AC_HELP_STRING([--enable-debug], [Enable debug info and some debugging \
> code to be compiled]),
> [if test "x$enable_debug" ="xyes"; then
> CXXFLAGS="$CXXFLAGS -ggdb"
> AC_DEFINE(DEBUG_ALL, , [Activate debug code])
> fi])            

AC_ARG_ENABLE(debug,[
AC_HELP_STRING([--enable-debug], [Enable debug info and some debugging \
code to be compiled])])
if test "x$enable_debug" ="xyes"; then
	CXXFLAGS="$CXXFLAGS -ggdb"
	AC_DEFINE(DEBUG_ALL,1 ,[Activate debug code])
fi

I powinno działać.
-- 
Artur Frysiak
http://www.pld-linux.org/



More information about the pld-devel-pl mailing list