apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject cvs commit: apr/build jlibtool.c
Date Tue, 29 Jun 2004 13:44:29 GMT
martin      2004/06/29 06:44:29

  Modified:    build    jlibtool.c
  Log:
  Add FreeBSD platform, and catch unsupported platforms by #error exit
  
  Revision  Changes    Path
  1.2       +6 -1      apr/build/jlibtool.c
  
  Index: jlibtool.c
  ===================================================================
  RCS file: /home/cvs/apr/build/jlibtool.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -u -r1.1 -r1.2
  --- jlibtool.c	29 Jun 2004 12:41:11 -0000	1.1
  +++ jlibtool.c	29 Jun 2004 13:44:29 -0000	1.2
  @@ -108,7 +108,7 @@
   //-install_name  /Users/jerenk/apache-2.0-cvs/lib/libapr.0.dylib -compatibility_version
1 -current_version 1.0
   #endif
   
  -#if defined(__linux__)
  +#if defined(__linux__) || defined(__FreeBSD__)
   #  define SHELL_CMD  "/bin/sh"
   #  define DYNAMIC_LIB_EXT "so"
   #  define MODULE_LIB_EXT  "so"
  @@ -123,6 +123,10 @@
   #  define LINKER_FLAG_PREFIX "-Wl,"
   #endif
   
  +#ifndef SHELL_CMD
  +#error Unsupported platform: Please add defines for SHELL_CMD etc. for your platform.
  +#endif
  +
   #ifdef __EMX__
   #include <process.h>
   #endif
  @@ -130,6 +134,7 @@
   #ifndef PATH_MAX
   #define PATH_MAX 1024
   #endif
  +
   
   /* We want to say we are libtool 1.4 for shlibtool compatibility. */
   #define VERSION "1.4"
  
  
  

Mime
View raw message