diff options
| author | Glenn Morris | 2013-10-23 19:27:19 -0400 |
|---|---|---|
| committer | Glenn Morris | 2013-10-23 19:27:19 -0400 |
| commit | 9843415589b51e6360e5428636b0f2fcc88e9c5b (patch) | |
| tree | 5ae28e2069c90d5d24cbc62bff744e2f4dd226a8 | |
| parent | 4b56b9d7038bbb446697ecd6f2d4c2fe66f173e2 (diff) | |
| download | emacs-9843415589b51e6360e5428636b0f2fcc88e9c5b.tar.gz emacs-9843415589b51e6360e5428636b0f2fcc88e9c5b.zip | |
* configure.ac (src/.gdbinit): Use ac_abs_top_srcdir.
| -rw-r--r-- | ChangeLog | 1 | ||||
| -rw-r--r-- | configure.ac | 5 |
2 files changed, 5 insertions, 1 deletions
| @@ -12,6 +12,7 @@ | |||
| 12 | 12 | ||
| 13 | Make building in directories with whitespace possible. (Bug#15675) | 13 | Make building in directories with whitespace possible. (Bug#15675) |
| 14 | * configure.ac (srcdir): Don't make it absolute - abs_srcdir exists. | 14 | * configure.ac (srcdir): Don't make it absolute - abs_srcdir exists. |
| 15 | (src/.gdbinit): Use ac_abs_top_srcdir. | ||
| 15 | * Makefile.in (abs_srcdir): New, set by configure. | 16 | * Makefile.in (abs_srcdir): New, set by configure. |
| 16 | (buildlisppath, epaths-force-w32): Use abs_srcdir. | 17 | (buildlisppath, epaths-force-w32): Use abs_srcdir. |
| 17 | (install-arch-indep, install-etcdoc, install-info, install-man) | 18 | (install-arch-indep, install-etcdoc, install-info, install-man) |
diff --git a/configure.ac b/configure.ac index 6a2beb70703..145db6a85c4 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -5042,9 +5042,12 @@ else | |||
| 5042 | fi | 5042 | fi |
| 5043 | ], [GCC="$GCC" CPPFLAGS="$CPPFLAGS" opsys="$opsys"]) | 5043 | ], [GCC="$GCC" CPPFLAGS="$CPPFLAGS" opsys="$opsys"]) |
| 5044 | 5044 | ||
| 5045 | dnl NB we have to cheat and use the ac_... version because abs_top_srcdir | ||
| 5046 | dnl is not yet set, sigh. Or we could use ../$srcdir/src/.gdbinit, | ||
| 5047 | dnl or a symlink? | ||
| 5045 | AC_CONFIG_COMMANDS([src/.gdbinit], [ | 5048 | AC_CONFIG_COMMANDS([src/.gdbinit], [ |
| 5046 | if test ! -f src/.gdbinit && test -f "$srcdir/src/.gdbinit"; then | 5049 | if test ! -f src/.gdbinit && test -f "$srcdir/src/.gdbinit"; then |
| 5047 | echo "source $srcdir/src/.gdbinit" > src/.gdbinit | 5050 | echo "source $ac_abs_top_srcdir/src/.gdbinit" > src/.gdbinit |
| 5048 | fi | 5051 | fi |
| 5049 | ]) | 5052 | ]) |
| 5050 | 5053 | ||