summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-12-04 22:26:41 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-12-04 22:26:41 (GMT)
commit3a32cec96923cf057aad00274b4a8ab7ad82a82f (patch)
tree304527c04dbad8b51ce2bccda1a434f424bf1a9a /bootstrap
parentde8ffcaef492e23af57ed5489dd8a21fdd7ad5d8 (diff)
downloadCMake-3a32cec96923cf057aad00274b4a8ab7ad82a82f.zip
CMake-3a32cec96923cf057aad00274b4a8ab7ad82a82f.tar.gz
CMake-3a32cec96923cf057aad00274b4a8ab7ad82a82f.tar.bz2
ENH: merge in changes for beos support
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap14
1 files changed, 14 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index ea601dd..c4df8a9 100755
--- a/bootstrap
+++ b/bootstrap
@@ -52,6 +52,13 @@ else
cmake_system_darwin=false
fi
+# Determine whether this is BeOS
+if echo "${cmake_system}" | grep BeOS >/dev/null 2>&1; then
+ cmake_system_beos=true
+else
+ cmake_system_beos=false
+fi
+
# Choose the generator to use for bootstrapping.
if ${cmake_system_mingw}; then
# Bootstrapping from an MSYS prompt.
@@ -549,6 +556,13 @@ else
cmake_ld_flags=${LDFLAGS}
fi
+# Add BeOS toolkits...
+if ${cmake_system_beos}; then
+ cmake_ld_flags="${LDFLAGS} -lroot -lbe"
+else
+ cmake_ld_flags=${LDFLAGS}
+fi
+
# Test C compiler
cmake_c_compiler=