Re: Mangled argument vector choking on spaces?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





>While paths with spaces in them may be a fact of reality, they are
>non-portable according to POSIX.  It is going to be an uphill battle if
>you want to submit patches to make autoconf automatically handle file
>names with spaces, as there is nothing portable about them.

I just thought of an alternative. What if program searching did NOT insert the directory path in front? At least if the path includes a space and the directory is part of the PATH?  Seems to me that AC_CHECK_PROG could be modified to allow something like this as this as an option.

E.g. when using AC_CHECK_PROG to search for "sbcl", the generated makefile would say:
SBCL = sbcl

If this was done, then the fact that the directory path includes a space is no longer mentioned.

--- David A.Wheeler

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf



[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux