[Ace-users] [ace-users] Building SVN ACE on Mac OS 10.5

Doug McCorkle mccdo at iastate.edu
Tue Nov 6 20:58:23 CST 2007


On Nov 6, 2007, at 8:22 PM, J.T. Conklin wrote:

> Doug McCorkle <mccdo at iastate.edu> writes:
>
>>> I will clean up my changes for the m4 and configure.ac file and  
>>> submit
>>> a patch for the first problem.
>>
>> When I tried to move things to the m4 file as you suggested I
>> encountered problems. I get these compile errors when I run the
>> bootstrap command:
>>
>> Putting files in AC_CONFIG_AUX_DIR, `../aux_config'.
>> Putting files in AC_CONFIG_AUX_DIR, `aux_config'.
>> configure.ac:286: error: possibly undefined macro: AC_DEFINE
>>       If this token and others are legitimate, please use
>>       m4_pattern_allow.
>>       See the Autoconf documentation.
>> autoreconf: /usr/bin/autoconf failed with exit status: 1
>
> Hi Doug,
>
> The AH_TEMPLATE() definition in config_h.m4 is not necessary.  It's
> only needed if a description isn't provided with AC_DEFINE(), which
> your new macro does.  It's much better this way.  All the macros in
> config_h.m4 get copied into the config.h.in template, even for those
> macros that aren't otherwise used.  This is ok for ACE's config.h.in,
> but TAO's config.h.in is bloated unnecessarily.
>
> But that's really a side issue.  Your problem is just a subtle problem
> with quoting, which is causing the autoconf macro to be emitted in the
> configure script. Fortunately the autotools catch this (by matching
> AC_ in the output).  I've attached a cleaned up patch for platform.m4.
> Can you try it out?


I now know much more than I ever thought I would about the autoconf  
tools.... Anyway, attached is a patch that works but does not check  
for the darwin or bsd platforms. I am not sure if that is important or  
not. The only remaining issue is the MPC change.

Doug
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FD_ISSET.patch
Type: application/octet-stream
Size: 1097 bytes
Desc: not available
Url : http://list.isis.vanderbilt.edu/pipermail/ace-users/attachments/20071106/1fea37fd/attachment.obj 
-------------- next part --------------








More information about the Ace-users mailing list