From 785225c5a039183e4a0d1d8423f1ed868b4bf328 Mon Sep 17 00:00:00 2001 From: Alexander Traud Date: Thu, 9 Apr 2020 14:05:54 +0200 Subject: [PATCH] BuildSystem: Allow space in path. ASTERISK-28818 Change-Id: Ib7f246896457d9e3b14d7f5199136d6545ce0b6f --- configure | 6 +++--- configure.ac | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/configure b/configure index f914a22ac2..b060897da3 100755 --- a/configure +++ b/configure @@ -21544,7 +21544,7 @@ if test "${USE_IMAP_TK}" != "no"; then saved_libs="${LIBS}" switch_to_system_on_failure="no" if test "${IMAP_TK_DIR}" = ""; then - IMAP_TK_DIR=`pwd`"/../imap-2004g" + IMAP_TK_DIR="`pwd`/../imap-2004g" switch_to_system_on_failure="yes" fi if test "${IMAP_TK_DIR}" != "system"; then @@ -35277,9 +35277,9 @@ fi ${ac_cv_path_EGREP} 'CURSES|GTK2|OSARCH|NEWT' makeopts > makeopts.acbak2 if test "x${ac_cv_path_CMP}" = "x:"; then - ( cd `pwd`/menuselect && ./configure ) + ( cd "`pwd`/menuselect" && ./configure ) elif ${ac_cv_path_CMP} -s makeopts.acbak makeopts.acbak2; then : ; else - ( cd `pwd`/menuselect && ./configure ) + ( cd "`pwd`/menuselect" && ./configure ) fi rm makeopts.acbak makeopts.acbak2 diff --git a/configure.ac b/configure.ac index 47687fc497..4ff99c0893 100644 --- a/configure.ac +++ b/configure.ac @@ -1664,7 +1664,7 @@ if test "${USE_IMAP_TK}" != "no"; then saved_libs="${LIBS}" switch_to_system_on_failure="no" if test "${IMAP_TK_DIR}" = ""; then - IMAP_TK_DIR=`pwd`"/../imap-2004g" + IMAP_TK_DIR="`pwd`/../imap-2004g" switch_to_system_on_failure="yes" fi if test "${IMAP_TK_DIR}" != "system"; then @@ -2848,9 +2848,9 @@ AC_OUTPUT ${ac_cv_path_EGREP} 'CURSES|GTK2|OSARCH|NEWT' makeopts > makeopts.acbak2 if test "x${ac_cv_path_CMP}" = "x:"; then - ( cd `pwd`/menuselect && ./configure ) + ( cd "`pwd`/menuselect" && ./configure ) elif ${ac_cv_path_CMP} -s makeopts.acbak makeopts.acbak2; then : ; else - ( cd `pwd`/menuselect && ./configure ) + ( cd "`pwd`/menuselect" && ./configure ) fi rm makeopts.acbak makeopts.acbak2