diff options
-rw-r--r-- | autoconf/configure.ac | 2 | ||||
-rwxr-xr-x | configure | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index f6bb7a5445..954dd38b8f 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -320,7 +320,7 @@ AC_ARG_WITH(llvmgccdir, withval=default) case "$withval" in default) WITH_LLVMGCCDIR=default ;; - /*) WITH_LLVMGCCDIR=$withval ;; + /* | [[A-Za-z]]:[[\\/]]*) WITH_LLVMGCCDIR=$withval ;; *) AC_MSG_ERROR([Invalid path for --with-llvmgccdir. Provide full path]) ;; esac @@ -3150,7 +3150,7 @@ else fi; case "$withval" in default) WITH_LLVMGCCDIR=default ;; - /*) WITH_LLVMGCCDIR=$withval ;; + /* | [A-Za-z]:[\\/]*) WITH_LLVMGCCDIR=$withval ;; *) { { echo "$as_me:$LINENO: error: Invalid path for --with-llvmgccdir. Provide full path" >&5 echo "$as_me: error: Invalid path for --with-llvmgccdir. Provide full path" >&2;} { (exit 1); exit 1; }; } ;; |