mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
Improve usage of AC_INIT
* configure.ac (AC_INIT): Add "GNU" in package, add bug address. (PACKAGE_BUGREPORT): Use it. * src/emacs.c (emacs_version): Use PACKAGE_VERSION rather than VERSION. (emacs_bugreport): New variable. (usage_message): Use PACKAGE_BUGREPORT. (syms_of_emacs) <report-emacs-bug-address>: New variable. * lisp/cus-start.el (report-emacs-bug-address): Set custom properties. * lisp/mail/emacsbug.el (report-emacs-bug-address): Variable is now defined in emacs.c.
This commit is contained in:
parent
32544aa413
commit
7b207d6d4f
7 changed files with 23 additions and 9 deletions
|
|
@ -1,5 +1,8 @@
|
|||
2014-03-28 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* configure.ac (AC_INIT): Add "GNU" in package, add bug address.
|
||||
(PACKAGE_BUGREPORT): Use it.
|
||||
|
||||
* configure.ac (ACL_SUMMARY): Rename from acl_summary, for consistency.
|
||||
(EMACS_CONFIG_FEATURES): New define.
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ dnl You should have received a copy of the GNU General Public License
|
|||
dnl along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
AC_PREREQ(2.65)
|
||||
AC_INIT(emacs, 24.4.50)
|
||||
AC_INIT(GNU Emacs, 24.4.50, bug-gnu-emacs@gnu.org)
|
||||
|
||||
dnl We get MINGW64 with MSYS2
|
||||
if test "x$MSYSTEM" = "xMINGW32" -o "x$MSYSTEM" = "xMINGW64"
|
||||
|
|
@ -653,7 +653,7 @@ dnl quotation ends
|
|||
|
||||
if test $unported = yes; then
|
||||
AC_MSG_ERROR([Emacs does not support `${canonical}' systems.
|
||||
If you think it should, please send a report to bug-gnu-emacs@gnu.org.
|
||||
If you think it should, please send a report to ${PACKAGE_BUGREPORT}.
|
||||
Check `etc/MACHINES' for recognized configuration names.])
|
||||
fi
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,9 @@
|
|||
2014-03-28 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* cus-start.el (report-emacs-bug-address): Set custom properties.
|
||||
* mail/emacsbug.el (report-emacs-bug-address):
|
||||
Variable is now defined in emacs.c.
|
||||
|
||||
* mail/emacsbug.el (report-emacs-bug):
|
||||
Include system-configuration-features.
|
||||
|
||||
|
|
|
|||
|
|
@ -198,6 +198,8 @@ Leaving \"Default\" unchecked is equivalent with specifying a default of
|
|||
|
||||
;; editfns.c
|
||||
(user-full-name mail string)
|
||||
;; emacs.c
|
||||
(report-emacs-bug-address emacsbug string)
|
||||
;; eval.c
|
||||
(max-specpdl-size limits integer)
|
||||
(max-lisp-eval-depth limits integer)
|
||||
|
|
|
|||
|
|
@ -43,11 +43,6 @@
|
|||
(define-obsolete-variable-alias 'report-emacs-bug-pretest-address
|
||||
'report-emacs-bug-address "24.1")
|
||||
|
||||
(defcustom report-emacs-bug-address "bug-gnu-emacs@gnu.org"
|
||||
"Address of mailing list for GNU Emacs bugs."
|
||||
:group 'emacsbug
|
||||
:type 'string)
|
||||
|
||||
(defcustom report-emacs-bug-no-confirmation nil
|
||||
"If non-nil, suppress the confirmations asked for the sake of novice users."
|
||||
:group 'emacsbug
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
2014-03-28 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* emacs.c (emacs_version): Use PACKAGE_VERSION rather than VERSION.
|
||||
(emacs_bugreport): New variable.
|
||||
(usage_message): Use PACKAGE_BUGREPORT.
|
||||
(syms_of_emacs) <report-emacs-bug-address>: New variable.
|
||||
|
||||
* emacs.c (syms_of_emacs) <system-configuration-features>: New var.
|
||||
|
||||
2014-03-27 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
|
|
|||
|
|
@ -105,8 +105,9 @@ extern void moncontrol (int mode);
|
|||
#include <sys/personality.h>
|
||||
#endif
|
||||
|
||||
static const char emacs_version[] = VERSION;
|
||||
static const char emacs_version[] = PACKAGE_VERSION;
|
||||
static const char emacs_copyright[] = COPYRIGHT;
|
||||
static const char emacs_bugreport[] = PACKAGE_BUGREPORT;
|
||||
|
||||
/* Empty lisp strings. To avoid having to build any others. */
|
||||
Lisp_Object empty_unibyte_string, empty_multibyte_string;
|
||||
|
|
@ -324,7 +325,7 @@ abbreviation for a --option.\n\
|
|||
Various environment variables and window system resources also affect\n\
|
||||
the operation of Emacs. See the main documentation.\n\
|
||||
\n\
|
||||
Report bugs to bug-gnu-emacs@gnu.org. First, please see the Bugs\n\
|
||||
Report bugs to " PACKAGE_BUGREPORT ". First, please see the Bugs\n\
|
||||
section of the Emacs manual or the file BUGS.\n"
|
||||
};
|
||||
|
||||
|
|
@ -2543,6 +2544,10 @@ This is nil during initialization. */);
|
|||
doc: /* Version numbers of this version of Emacs. */);
|
||||
Vemacs_version = build_string (emacs_version);
|
||||
|
||||
DEFVAR_LISP ("report-emacs-bug-address", Vreport_emacs_bug_address,
|
||||
doc: /* Address of mailing list for GNU Emacs bugs. */);
|
||||
Vreport_emacs_bug_address = build_string (emacs_bugreport);
|
||||
|
||||
DEFVAR_LISP ("dynamic-library-alist", Vdynamic_library_alist,
|
||||
doc: /* Alist of dynamic libraries vs external files implementing them.
|
||||
Each element is a list (LIBRARY FILE...), where the car is a symbol
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue