diff options
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 |