diff options
author | martin <martin@13f79535-47bb-0310-9956-ffa450edef68> | 2004-06-29 13:44:29 +0000 |
---|---|---|
committer | martin <martin@13f79535-47bb-0310-9956-ffa450edef68> | 2004-06-29 13:44:29 +0000 |
commit | b423c50c1a161e1a79153a0784b3907c1e8ce3c7 (patch) | |
tree | 2fd3c20fa82517532015528c16a3c3e00f0abeb9 /build/jlibtool.c | |
parent | 9f273c1c6844d3276a0e1cff6790ccea7db2fe9f (diff) | |
download | libapr-b423c50c1a161e1a79153a0784b3907c1e8ce3c7.tar.gz |
Add FreeBSD platform, and catch unsupported platforms by #error exit
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65232 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/jlibtool.c')
-rw-r--r-- | build/jlibtool.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/build/jlibtool.c b/build/jlibtool.c index 3f20024e5..a3fd9138b 100644 --- a/build/jlibtool.c +++ b/build/jlibtool.c @@ -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 @@ -131,6 +135,7 @@ #define PATH_MAX 1024 #endif + /* We want to say we are libtool 1.4 for shlibtool compatibility. */ #define VERSION "1.4" |