From 2c68c3e9009d7c893f92b7023c2122c763e697ca Mon Sep 17 00:00:00 2001 From: Aina Niemetz Date: Tue, 11 Sep 2018 15:34:48 -0700 Subject: [PATCH] cmake: configure.sh wrapper: Fix handling of options with arguments. --- CMakeLists.txt | 4 +- configure.sh | 146 +++++++++++++++++-------------------------------- 2 files changed, 52 insertions(+), 98 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8e2a61c1f..7c7715ad3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -694,10 +694,10 @@ if(GMP_DIR) message("GMP dir : ${GMP_DIR}") endif() if(LFSC_DIR) - message("LFSC dir : ${LFSC_DIR}") + message("LFSC dir : ${LFSC_DIR}") endif() if(SYMFPU_DIR) - message("SYMFPU dir : ${SYMFPU_DIR}") + message("SYMFPU dir : ${SYMFPU_DIR}") endif() message("") message("CPPLAGS (-D...) : ${CVC4_DEFINITIONS}") diff --git a/configure.sh b/configure.sh index e71386c27..00b958f4c 100755 --- a/configure.sh +++ b/configure.sh @@ -14,7 +14,7 @@ Build types: General options; -h, --help display this help and exit - --build-dir-prefix prefix build directory with given prefix + --build-dir-prefix=STR prefix build directory with given prefix --best turn on dependences known to give best performance --gpl permit GPL dependences, if available @@ -39,7 +39,7 @@ The following flags enable optional features (disable with --no-