'make check' fails if there is a space in the filename

Marc Glisse marc.glisse at inria.fr
Fri Nov 13 15:41:21 UTC 2015


On Fri, 13 Nov 2015, Christopher Jefferson wrote:

> How about adding something similar to the following to GMP's configure
> script (warning, not checked, not a configure expert), which would at
> least produce a better error message to users?
>
> case `pwd` in
>  *\ *)
>    AC_ERROR("can't build in a directory containing spaces")
>  ;;
> esac

You would need several tests, for source, build and install directories 
(and possibly DESTDIR). But again, those should go to autoconf, automake, 
libtool, whereever the bug comes from. Adding it specifically to gmp does 
not seem very useful to me.

-- 
Marc Glisse


More information about the gmp-bugs mailing list