summaryrefslogtreecommitdiffstats
path: root/Templates/configure.in
diff options
context:
space:
mode:
authorYves Starreveld <ystarrev@uwo.ca>2001-08-28 17:49:43 (GMT)
committerYves Starreveld <ystarrev@uwo.ca>2001-08-28 17:49:43 (GMT)
commit1df66821a38faf1849bbeaf95297ace71ff4f401 (patch)
tree4412f9257422ebba0171888fdd85c2c5350a67d9 /Templates/configure.in
parent8db8e7bb22b23e174f0239cedc9e6868494672f1 (diff)
downloadCMake-1df66821a38faf1849bbeaf95297ace71ff4f401.zip
CMake-1df66821a38faf1849bbeaf95297ace71ff4f401.tar.gz
CMake-1df66821a38faf1849bbeaf95297ace71ff4f401.tar.bz2
Added support for Darwin (OSX)
Diffstat (limited to 'Templates/configure.in')
-rw-r--r--Templates/configure.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/Templates/configure.in b/Templates/configure.in
index 898f105..fa046fb 100644
--- a/Templates/configure.in
+++ b/Templates/configure.in
@@ -127,6 +127,19 @@ case $system in
CMAKE_SHLIB_RUNTIME_FLAG=""
CMAKE_SHLIB_RUNTIME_SEP=""
;;
+ Darwin-*)
+ CMAKE_SHLIB_CFLAGS=""
+ CMAKE_SHLIB_LD_LIBS=""
+ CMAKE_SHLIB_SUFFIX=".dylib"
+ CMAKE_MODULE_SUFFIX=".so"
+ CMAKE_DL_LIBS=""
+ CMAKE_SHLIB_BUILD_FLAGS="-dynamiclib -undefined warning" #undefined warning must go away post 10.1
+ CMAKE_SHLIB_LINK_FLAGS=""
+ CMAKE_MODULE_BUILD_FLAGS="-bundle -undefined warning" #undefined warning must go away post 10.1
+ CMAKE_MODULE_LINK_FLAGS=""
+ CMAKE_SHLIB_RUNTIME_FLAG=""
+ CMAKE_SHLIB_RUNTIME_SEP=":"
+ ;;
HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*)
CMAKE_SHLIB_CFLAGS="+z"
CMAKE_SHLIB_LD_LIBS=""