Hello,

On 17.09.2010 15:41, David Ashley wrote:
>   Ranier -
>
> Sorry, AC_PROG_YACC should not have been removed from the autoconf.ac file. 
> But 
> the Makefile.am is still messed up. It needs some cleanup to adjust for the 
> source files we just removed. I will work on that today.
>
OK,
then I will let you work on that problem :-))

Then only the following changes would be needed to get 4.1 compiled on AIX:

Is there a specific reason to use alloca() ?
The rest of ooRexx uses malloc().

rxunixsys

# svn diff
Index: rxunixsys.cpp
===================================================================
--- rxunixsys.cpp       (revision 6196)
+++ rxunixsys.cpp       (working copy)
@@ -38,7 +38,9 @@
 /*                                                                           
*/
 
/*----------------------------------------------------------------------------*/

-
+#if !defined (__GNUC__) && defined (_AIX)
+  #define __alloca alloca
+#endif
 #include "rxunixsys.h"


@@ -941,6 +943,7 @@
 }


+#if !defined (AIX)
 /**
  * Method:        SysEuidaccess
  *
@@ -960,8 +963,8 @@

     return euidaccess(file, option);
 }
+#endif

-
 /**
  * Method:        SysGetservbyname
  *
@@ -1708,7 +1711,9 @@
     REXX_TYPED_ROUTINE(SysGetgrgid, SysGetgrgid),
     REXX_TYPED_ROUTINE(SysStat, SysStat),
     REXX_TYPED_ROUTINE(SysAccess, SysAccess),
+#if !defined (AIX)
     REXX_TYPED_ROUTINE(SysEuidaccess, SysEuidaccess),
+#endif
     REXX_TYPED_ROUTINE(SysGetservbyname, SysGetservbyname),
     REXX_TYPED_ROUTINE(SysGetservbyport, SysGetservbyport),
     REXX_TYPED_ROUTINE(SysWordexp, SysWordexp),


Bye
  Rainer

> David Ashley
>
> On 09/17/2010 01:05 AM, Rainer Tammer wrote:
>>   Hello MArk,
>>
>> On 16.09.2010 16:21, Mark Miesfeld wrote:
>>> Rainer,
>>>
>>> I don't think you have a clean 4.1.0 source tree, or your compile is
>>> somehow picking up stuff from another source tree.
>>>
>> This was a complete new checkout.
>>>> +AC_PROG_YACC
>>> There is no AC_PROG_YACC line in configure.ac in the 4.1.0 branch.
>>> You can see that using svn browse on SourceForge.
>>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing.
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Oorexx-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Oorexx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
>


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to