diff options
author | Ken Martin <ken.martin@kitware.com> | 2002-04-18 15:52:12 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2002-04-18 15:52:12 (GMT) |
commit | 71fb2a2386a8efface0f68ff912c1522b103b2fa (patch) | |
tree | 69fa945b9c8cb75f5ecfefd40a469d591aaff58f /configure.in | |
parent | da63a7574d6d01d637c6d9b4e8151bcd9a62fd42 (diff) | |
download | CMake-71fb2a2386a8efface0f68ff912c1522b103b2fa.zip CMake-71fb2a2386a8efface0f68ff912c1522b103b2fa.tar.gz CMake-71fb2a2386a8efface0f68ff912c1522b103b2fa.tar.bz2 |
ENH: handle spaces in paths for cygwin bootstrap
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/configure.in b/configure.in index d25269d..8478af2 100644 --- a/configure.in +++ b/configure.in @@ -3,8 +3,7 @@ AC_INIT() AC_CONFIG_HEADER(Source/cmConfigure.h) -CMAKE_CONFIG_DIR=`pwd` -AC_SUBST(CMAKE_CONFIG_DIR) + # # check for some programs we use @@ -51,6 +50,17 @@ else fi fi + +CMAKE_CONFIG_DIR=`pwd` +AC_SUBST(CMAKE_CONFIG_DIR) +case $system in + CYGWIN_NT*) + CMAKE_CONFIG_DIR=`pwd` + CMAKE_CONFIG_DIR="\"$CMAKE_CONFIG_DIR\"" + ;; +esac + + CMAKE_ANSI_CFLAGS="" CMAKE_ANSI_CXXFLAGS="" # on hp use -Aa for ansi |