Hello Alex,
* Alex Farber wrote on Wed, May 26, 2010 at 07:24:14AM CEST:
> I want to add --enable-debug switch to my configure script, which replaces
> default "-g O3" compiler options with "-g3 -O0". My attempt is obviously
> incorrect:
>
> AC_ARG_ENABLE( debug,
> [ --enable-debug, Enable
I want to add --enable-debug switch to my configure script, which replaces
default "-g O3" compiler options with "-g3 -O0". My attempt is obviously
incorrect:
AC_ARG_ENABLE( debug,
[ --enable-debug, Enable debug build],
[ CXXFLAGS="${CXXFLAGS} -g3 -O0"] )
This gives compiler command lin
Hello Sam,
please don't top-post, thank you.
* Sam Shin wrote on Wed, May 26, 2010 at 03:32:09AM CEST:
> On Tue, May 25, 2010 at 2:49 PM, Eric Blake wrote:
> > On 05/25/2010 03:44 PM, Sam Shin wrote:
> > > I'm debating over what the most appropriate location for installing
> > > example programs
On 05/25/2010 03:44 PM, Sam Shin wrote:
> Hello,
>
> I'm debating over what the most appropriate location for installing example
> programs for a library would be. Would it be acceptable to install example
> programs into datadir? Or should I create a non-standard directory in PREFIX
> called "exa
Hi Sam,
Op 25 mei 2010, om 23:44 heeft Sam Shin het volgende geschreven:
> I'm debating over what the most appropriate location for installing example
> programs for a library would be. Would it be acceptable to install example
> programs into datadir? Or should I create a non-standard directory
These would be actually compiled binaries used to test the library. Thanks.
Sam
On Tue, May 25, 2010 at 2:49 PM, Eric Blake wrote:
> On 05/25/2010 03:44 PM, Sam Shin wrote:
> > Hello,
> >
> > I'm debating over what the most appropriate location for installing
> example
> > programs for a librar
On Thu, May 20, 2010 at 08:33:20PM +0200, Ralf Wildenhues wrote:
| * Luke Mewburn wrote on Thu, May 20, 2010 at 03:47:04AM CEST:
| > We then build the software on other systems which often have
| > an older version of autoconf (e.g, the vendor provided 2.59
| > on CentOS 5). This has cause
Hello,
I'm debating over what the most appropriate location for installing example
programs for a library would be. Would it be acceptable to install example
programs into datadir? Or should I create a non-standard directory in PREFIX
called "examples"?
Thanks,
Sam
__
On Tue, May 25, 2010 at 2:30 PM, Stefano Lattarini <
stefano.lattar...@gmail.com> wrote:
> At Tuesday 25 May 2010, Alex Farber wrote:
> > ./configure WX_CPP="compiler flags..." WX_LIBS="linker flags..."
> >
> > This doesn't work, because AC_SUBST is done when configure script
> > is generated, a
At Tuesday 25 May 2010, Stefano Lattarini wrote:
> At Tuesday 25 May 2010, Václav Haisman wrote:
> > Hi.
> >
> > Is it possible to reuse whatever AC_LANG_PROGRAM() produces?
>
> I'm not an expert about this macro. but I'd do something like this:
>
> m4_define([MY_PROLOGUE], [whatever])
> m4
At Tuesday 25 May 2010, Václav Haisman wrote:
> Hi.
>
> Is it possible to reuse whatever AC_LANG_PROGRAM() produces?
I'm not an expert about this macro. but I'd do something like this:
m4_define([MY_PROLOGUE], [whatever])
m4_define([MY_BODY], [whatever2])
m4_define([MY_PROGRAM], [AC_LANG_P
Hi.
Is it possible to reuse whatever AC_LANG_PROGRAM() produces?
I would like to define a test-case for __thread/__declspec(thread) but I
want to be able to use the same test-case for both AC_LINK_IFELSE() and
AC_RUN_IFELSE(), and I do not want to repeat the source code of the
test-case twice. T
At Tuesday 25 May 2010, Alex Farber wrote:
> ./configure WX_CPP="compiler flags..." WX_LIBS="linker flags..."
>
> This doesn't work, because AC_SUBST is done when configure script
> is generated, and not when it is executed.
No, this doesn't work because you are setting the WX_CPP and WX_LIBS
s
Currently I have the following code to build wxWidgets program with
autotools:
configure.ac:
WX_CPP="`wx-config --cppflags`"
AC_SUBST(WX_CPP)
WX_LIBS="`wx-config --libs`"
AC_SUBST(WX_LIBS)
Makefile.am:
AM_CXXFLAGS = $(WX_CPP)
program_LDADD = $(WX_LIBS)
This works fine. Now I want to use WX_CPP
14 matches
Mail list logo