Skip to content
Snippets Groups Projects
Commit ada2a6a7 authored by Virgile Prevosto's avatar Virgile Prevosto
Browse files

Merge branch 'fix/andre/configure-no-quotes-prefix' into 'master'

[configure] detect build directory name issues

See merge request frama-c/frama-c!3021
parents e7d194b9 0a3a34b8
No related branches found
No related tags found
No related merge requests found
...@@ -82,14 +82,21 @@ if test "$VERBOSEMAKE" = yes ; then ...@@ -82,14 +82,21 @@ if test "$VERBOSEMAKE" = yes ; then
AC_MSG_RESULT(Make will be verbose.) AC_MSG_RESULT(Make will be verbose.)
fi fi
########################################## ##############################################################
# Check for invalid command-line options # # Check for invalid command-line options and build directory #
########################################## ##############################################################
case $prefix in case $prefix in
*\ * ) AC_MSG_ERROR(spaces not allowed in --prefix argument "$prefix");; *\ * ) AC_MSG_ERROR(spaces not allowed in --prefix argument "$prefix");;
* ) ;; * ) ;;
esac esac
case $(pwd) in
*\ * ) AC_MSG_ERROR(spaces not allowed in build directory "$(pwd)");;
*\'* ) AC_MSG_ERROR(single quotes not allowed in build directory "$(pwd)");;
*\"* ) AC_MSG_ERROR(double quotes not allowed in build directory "$(pwd)");;
* ) ;;
esac
############################# #############################
# Check for Ocaml compilers # # Check for Ocaml compilers #
############################# #############################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment