[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r116898: Add system-configuration-features, summaris
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] trunk r116898: Add system-configuration-features, summarising some configure results |
Date: |
Fri, 28 Mar 2014 22:03:48 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 116898
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Fri 2014-03-28 18:03:42 -0400
message:
Add system-configuration-features, summarising some configure results
* configure.ac (ACL_SUMMARY): Rename from acl_summary, for consistency.
(EMACS_CONFIG_FEATURES): New define.
* src/emacs.c (syms_of_emacs) <system-configuration-features>: New var.
* lisp/mail/emacsbug.el (report-emacs-bug):
Include system-configuration-features.
* etc/NEWS: Mention this.
modified:
ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1538
configure.ac
configure.in-20091113204419-o5vbwnq5f7feedwu-783
etc/NEWS news-20100311060928-aoit31wvzf25yr1z-1
lisp/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1432
lisp/mail/emacsbug.el emacsbug.el-20091113204419-o5vbwnq5f7feedwu-73
src/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1438
src/emacs.c emacs.c-20091113204419-o5vbwnq5f7feedwu-241
=== modified file 'ChangeLog'
--- a/ChangeLog 2014-03-27 21:29:32 +0000
+++ b/ChangeLog 2014-03-28 22:03:42 +0000
@@ -1,3 +1,8 @@
+2014-03-28 Glenn Morris <address@hidden>
+
+ * configure.ac (ACL_SUMMARY): Rename from acl_summary, for consistency.
+ (EMACS_CONFIG_FEATURES): New define.
+
2014-03-27 Paul Eggert <address@hidden>
* configure.ac: Suggest './configure MAKE=gmake' in diagnostic.
=== modified file 'configure.ac'
--- a/configure.ac 2014-03-27 21:29:32 +0000
+++ b/configure.ac 2014-03-28 22:03:42 +0000
@@ -4925,9 +4925,9 @@
fi
if test $USE_ACL -ne 0; then
- acl_summary="yes $LIB_ACL"
+ ACL_SUMMARY="yes $LIB_ACL"
else
- acl_summary=no
+ ACL_SUMMARY=no
fi
echo "
@@ -4952,6 +4952,23 @@
echo " Where do we find X Windows libraries? Standard dirs"
fi
+optsep=
+emacs_config_features=
+for opt in XAW3D XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS \
+ GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT \
+ LIBOTF XFT ZLIB; do
+
+ case $opt in
+ NOTIFY|ACL) eval val=\${${opt}_SUMMARY} ;;
+ *) eval val=\${HAVE_$opt} ;;
+ esac
+ test x"$val" = xno && continue
+ AS_VAR_APPEND([emacs_config_features], ["$optsep$opt"])
+ optsep=' '
+done
+AC_DEFINE_UNQUOTED(EMACS_CONFIG_FEATURES, "${emacs_config_features}",
+ [Summary of some of the main features enabled by configure.])
+
echo " Does Emacs use -lXaw3d? ${HAVE_XAW3D}"
echo " Does Emacs use -lXpm? ${HAVE_XPM}"
echo " Does Emacs use -ljpeg? ${HAVE_JPEG}"
@@ -4968,7 +4985,7 @@
echo " Does Emacs use -lgconf? ${HAVE_GCONF}"
echo " Does Emacs use GSettings?
${HAVE_GSETTINGS}"
echo " Does Emacs use a file notification library?
${NOTIFY_SUMMARY}"
-echo " Does Emacs use access control lists? ${acl_summary}"
+echo " Does Emacs use access control lists? ${ACL_SUMMARY}"
echo " Does Emacs use -lselinux?
${HAVE_LIBSELINUX}"
echo " Does Emacs use -lgnutls? ${HAVE_GNUTLS}"
echo " Does Emacs use -lxml2?
${HAVE_LIBXML2}"
=== modified file 'etc/NEWS'
--- a/etc/NEWS 2014-03-28 01:29:54 +0000
+++ b/etc/NEWS 2014-03-28 22:03:42 +0000
@@ -41,6 +41,11 @@
The function `tty-run-terminal-initialization' consults this variable
when deciding what terminal-specific initialization code to run.
+---
+** New variable `system-configuration-features', listing some of the
+main features that Emacs was compiled with. This is mainly intended
+for use in Emacs bug reports.
+
* Editing Changes in Emacs 24.5
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2014-03-28 16:26:15 +0000
+++ b/lisp/ChangeLog 2014-03-28 22:03:42 +0000
@@ -1,12 +1,15 @@
+2014-03-28 Glenn Morris <address@hidden>
+
+ * mail/emacsbug.el (report-emacs-bug):
+ Include system-configuration-features.
+
2014-03-28 Michal Nazarewicz <address@hidden>
* simple.el (cycle-spacing): Never delete spaces on first run by
default, but do so in a new 'fast mode and if there are already
N spaces (the previous behaviour).
-
Compare N with its value in previous invocation so that changing
prefix argument restarts `cycle-spacing' sequence.
-
The idea is that with this change, binding M-SPC to
`cycle-spacing' should not introduce any changes in behaviour of
the binding so long as users do not type M-SPC twice in a raw with
=== modified file 'lisp/mail/emacsbug.el'
--- a/lisp/mail/emacsbug.el 2014-03-26 15:57:13 +0000
+++ b/lisp/mail/emacsbug.el 2014-03-28 22:03:42 +0000
@@ -1,7 +1,7 @@
;;; emacsbug.el --- command to report Emacs bugs to appropriate mailing list
-;; Copyright (C) 1985, 1994, 1997-1998, 2000-2014 Free Software
-;; Foundation, Inc.
+;; Copyright (C) 1985, 1994, 1997-1998, 2000-2014
+;; Free Software Foundation, Inc.
;; Author: K. Shane Hartman
;; Maintainer: address@hidden
@@ -251,6 +251,8 @@
(insert "Configured using:\n `configure "
system-configuration-options "'\n\n")
(fill-region (line-beginning-position -1) (point)))
+ (insert "Configured features:\n" system-configuration-features "\n\n")
+ (fill-region (line-beginning-position -1) (point))
(insert "Important settings:\n")
(mapc
(lambda (var)
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2014-03-27 22:52:14 +0000
+++ b/src/ChangeLog 2014-03-28 22:03:42 +0000
@@ -1,3 +1,7 @@
+2014-03-28 Glenn Morris <address@hidden>
+
+ * emacs.c (syms_of_emacs) <system-configuration-features>: New var.
+
2014-03-27 Paul Eggert <address@hidden>
Port recent signal-related changes to FreeBSD.
=== modified file 'src/emacs.c'
--- a/src/emacs.c 2014-03-26 01:14:44 +0000
+++ b/src/emacs.c 2014-03-28 22:03:42 +0000
@@ -2460,6 +2460,12 @@
doc: /* String containing the configuration options Emacs was
built with. */);
Vsystem_configuration_options = build_string (EMACS_CONFIG_OPTIONS);
+ DEFVAR_LISP ("system-configuration-features", Vsystem_configuration_features,
+ doc: /* String listing some of the main features this Emacs was
compiled with.
+An element of the form \"FOO\" generally means that HAVE_FOO was
+defined during the build. */);
+ Vsystem_configuration_features = build_string (EMACS_CONFIG_FEATURES);
+
DEFVAR_BOOL ("noninteractive", noninteractive1,
doc: /* Non-nil means Emacs is running without interactive
terminal. */);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r116898: Add system-configuration-features, summarising some configure results,
Glenn Morris <=