mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Build: forbid builds in working directories containing white spaces
Spaces are causing problems in libtool, makefiles, autoconf itself, gettextize framework etc. so this issue cannot be easily fixed. Return on investment is too small to invest into this. Let's detect the whitespace early and error out with descriptive error message. https://fedorahosted.org/freeipa/ticket/6537 Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
This commit is contained in:
committed by
Martin Babinsky
parent
74b8cf2c4a
commit
19aba7c555
@@ -5,6 +5,14 @@ AC_INIT([freeipa],
|
||||
IPA_VERSION,
|
||||
[https://hosted.fedoraproject.org/projects/freeipa/newticket])
|
||||
|
||||
dnl Make sure the build directory name does not contain spaces!
|
||||
dnl Spaces are causing problems in libtool, makefiles, autoconf itself,
|
||||
dnl gettextize framework etc.
|
||||
case "$PWD" in
|
||||
*\ * | *\ *)
|
||||
AC_MSG_ERROR([whitespace in working directory path is not supported]) ;;
|
||||
esac
|
||||
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
|
||||
AM_INIT_AUTOMAKE([foreign 1.9 tar-ustar])
|
||||
|
||||
Reference in New Issue
Block a user