How can I escape paths with spaces inside AC_CONFIG_SRCDIR
I need to include some paths in AC_CONFIG_SRCDIR which contain spaces. How should I escape them? For example, if I have "some开发者_JAVA百科 file.in", how should I declare it in:
AC_CONFIG_SRCDIR[some file]
In autoconf 2.59 and earlier, you cannot have special characters in the path name of the unique file specified in AC_CONFIG_SRCDIR. In autoconf 2.60 and later, this should work:
AC_CONFIG_SRCDIR([some file])
AC_CONFIG_SRCDIR([some file])
works fine - make sure you really use the newer autotools, most distributions allow to install both autoconf-2.59 and autoconf-2.6x in parallel and have a wrapper around it.
精彩评论