mcatan      2004/05/08 13:48:31

  Modified:    include/log4cxx/helpers tchar.h
               .        configure.in
  Log:
  adding checking alloca.h presence
  
  Revision  Changes    Path
  1.33      +2 -0      logging-log4cxx/include/log4cxx/helpers/tchar.h
  
  Index: tchar.h
  ===================================================================
  RCS file: /home/cvs/logging-log4cxx/include/log4cxx/helpers/tchar.h,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- tchar.h   30 Apr 2004 17:36:08 -0000      1.32
  +++ tchar.h   8 May 2004 20:48:30 -0000       1.33
  @@ -84,7 +84,9 @@
        #define USES_CONVERSION void * _dst = _alloca(1024);
   #endif
   #else
  +#ifdef HAVE_ALLOCA_H
        #include <alloca.h>
  +#endif
        #define USES_CONVERSION void * _dst = alloca(1024);
   #endif
   
  
  
  
  1.36      +1 -1      logging-log4cxx/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/logging-log4cxx/configure.in,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- configure.in      8 May 2004 12:35:45 -0000       1.35
  +++ configure.in      8 May 2004 20:48:31 -0000       1.36
  @@ -136,7 +136,7 @@
   
   # Checks header files
   # 
----------------------------------------------------------------------------
  -AC_CHECK_HEADERS(unistd.h io.h )
  +AC_CHECK_HEADERS(unistd.h io.h alloca.h)
   
   # Checks local idioms
   # 
----------------------------------------------------------------------------
  
  
  

Reply via email to