httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe Jr." <wr...@rowe-clan.net>
Subject Re: apxs "DEFS"
Date Mon, 14 Mar 2011 01:00:44 GMT
On 3/13/2011 6:44 PM, MK wrote:
> I hope it is okay to be asking questions about apxs here.
> 
> In the makefile created by apxs, there is the following:
> 
> #   additional defines, includes and libraries
> #DEFS=-Dmy_define=my_value
> 
> AFAICT, uncommenting this and using "DEFS" to add a define does not do
> anything -- it does not even appear in the call to libtool, etc. Has
> anyone else noticed this?
> 
> So I have been using the command line instead:
> 
> apxs -D myvar=myvalue
> 
> which does work.  However, I need to keep the shell away from certain
> characters (such as '/') in the value by single quoting the assignment,
> which with gcc would look like this:
> 
> gcc -D'myvar="/some/path"'
> 
> However, it can't be done with apxs :(

gcc '-Dmyvar="/some/path"'

> Anyone know of a work around?
> 
> 


Mime
View raw message