aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2015-01-24 18:05:33 -0800
committerPaul Eggert2015-01-24 18:20:29 -0800
commitf6ef836521dfd07a0a33d5f1f384427f0c4023ce (patch)
tree8e589f353774ac95d8fb9f1dfa4179c702e78759 /src
parentbce27d884521832a62837b113f4e681974cdaccb (diff)
downloademacs-f6ef836521dfd07a0a33d5f1f384427f0c4023ce.tar.gz
emacs-f6ef836521dfd07a0a33d5f1f384427f0c4023ce.zip
Use gnustep-config if available
* configure.ac (--with-gnustep): Document this. (NS_GNUSTEP_CONFIG): New variable, set if gnustep-config works. If gnustep-config works, use 'gnustep-config --objc-flags' and 'gnustep-config --gui-libs' to compute GNUstep configuration variables, instead of attempting to infer them individually. * etc/NEWS: Document this. * src/emacs.c [NS_IMPL_GNUSTEP]: Don't include <GNUstepBase/GSConfig.h>. It doesn't appear to be needed, and the inclusion breaks on Ubuntu 14.10 when 'configure' uses 'gnustep-config'. Fixes: bug#19507
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog7
-rw-r--r--src/emacs.c5
2 files changed, 7 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index a8b9c3bf1c6..96e31468a3d 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,10 @@
12015-01-25 Paul Eggert <eggert@cs.ucla.edu>
2
3 Use gnustep-config if available
4 * emacs.c [NS_IMPL_GNUSTEP]: Don't include <GNUstepBase/GSConfig.h>.
5 It doesn't appear to be needed, and the inclusion breaks on
6 Ubuntu 14.10 when 'configure' uses 'gnustep-config'.
7
12015-01-22 Eli Zaretskii <eliz@gnu.org> 82015-01-22 Eli Zaretskii <eliz@gnu.org>
2 9
3 * xdisp.c (init_iterator): Restore a comment lost in transition. 10 * xdisp.c (init_iterator): Restore a comment lost in transition.
diff --git a/src/emacs.c b/src/emacs.c
index ca1a8b26d81..345fe3e75b8 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -59,11 +59,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
59#include TERM_HEADER 59#include TERM_HEADER
60#endif /* HAVE_WINDOW_SYSTEM */ 60#endif /* HAVE_WINDOW_SYSTEM */
61 61
62#ifdef NS_IMPL_GNUSTEP
63/* At least under Debian, GSConfig is in a subdirectory. --Stef */
64#include <GNUstepBase/GSConfig.h>
65#endif
66
67#include "commands.h" 62#include "commands.h"
68#include "intervals.h" 63#include "intervals.h"
69#include "character.h" 64#include "character.h"