Auto-commit of generated files.
This commit is contained in:
parent
be9bc55efd
commit
52d4169a69
1 changed files with 11 additions and 0 deletions
11
autogen/configure
vendored
11
autogen/configure
vendored
|
@ -4623,6 +4623,17 @@ case "${srcdir}" in
|
|||
* ) srcdir=`(cd "$srcdir"; pwd)` ;;
|
||||
esac
|
||||
|
||||
#### When building with MinGW inside the MSYS tree, 'pwd' produces
|
||||
#### directories relative to the root of the MSYS tree,
|
||||
#### e.g. '/home/user/foo' instead of '/d/MSYS/home/user/foo'. When
|
||||
#### such a value of srcdir is written to the top-level Makefile, it
|
||||
#### gets propagated to src/epaths.h, and that causes temacs to fail,
|
||||
#### because, being a MinGW program that knows nothing of MSYS root
|
||||
#### substitution, it cannot find the data directory. "pwd -W"
|
||||
#### produces Windows-style 'd:/foo/bar' absolute directory names, so
|
||||
#### we use it here to countermand that lossage.
|
||||
test "$MSYSTEM" = "MINGW32" && srcdir=`(cd "$srcdir"; pwd -W | sed -e 's,^\([A-Za-z]\):,/\1,')`
|
||||
|
||||
### Canonicalize the configuration name.
|
||||
|
||||
# Make sure we can run config.sub.
|
||||
|
|
Loading…
Add table
Reference in a new issue