diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-07-08 21:52:49 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-07-08 21:52:49 -0700 |
commit | c4444d16dcc6b1cf2ac9e2c0bb20e3f5a54bdea1 (patch) | |
tree | 712790cc90ed29dda310c6b461ff3b6a7b04947d /lisp | |
parent | f1f924b61976585c693f1f18445889ae891e2211 (diff) | |
download | emacs-c4444d16dcc6b1cf2ac9e2c0bb20e3f5a54bdea1.tar.gz |
Rename configure.in to configure.ac.
Fixes: debbugs:11603
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ChangeLog | 7 | ||||
-rw-r--r-- | lisp/cedet/ChangeLog | 10 | ||||
-rw-r--r-- | lisp/cedet/ede/autoconf-edit.el | 4 | ||||
-rw-r--r-- | lisp/cedet/ede/emacs.el | 7 | ||||
-rw-r--r-- | lisp/cedet/ede/proj.el | 2 | ||||
-rw-r--r-- | lisp/cedet/ede/project-am.el | 6 | ||||
-rw-r--r-- | lisp/emacs-lisp/authors.el | 2 | ||||
-rw-r--r-- | lisp/info-look.el | 2 | ||||
-rw-r--r-- | lisp/progmodes/autoconf.el | 12 |
9 files changed, 36 insertions, 16 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index dbe37763d7a..d5d676ec7d5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,10 @@ +2012-07-09 Paul Eggert <eggert@cs.ucla.edu> + + Rename configure.in to configure.ac (Bug#11603). + * emacs-lisp/authors.el (authors-canonical-file-name): + * progmodes/autoconf.el (autoconf-mode): + Prefer configure.ac to configure.in. + 2012-07-08 Chong Yidong <cyd@gnu.org> * mouse.el (mouse-drag-line): Rewrite the track-mouse loop. diff --git a/lisp/cedet/ChangeLog b/lisp/cedet/ChangeLog index f185c457ee2..bbf700311e1 100644 --- a/lisp/cedet/ChangeLog +++ b/lisp/cedet/ChangeLog @@ -1,3 +1,13 @@ +2012-07-09 Paul Eggert <eggert@cs.ucla.edu> + + Rename configure.in to configure.ac (Bug#11603). + * ede/autoconf-edit.el (autoconf-find-query-for-program) + (autoconf-new-program): + * ede/emacs.el (ede-emacs-version): + * ede/proj.el (ede-proj-setup-buildenvironment): + * ede/project-am.el (project-am-autoconf-file-options): + Prefer configure.ac to configure.in. + 2012-03-12 David Engster <deng@randomsample.de> * semantic/db-find.el diff --git a/lisp/cedet/ede/autoconf-edit.el b/lisp/cedet/ede/autoconf-edit.el index 666ba0b0a06..e3c9d2cb4f8 100644 --- a/lisp/cedet/ede/autoconf-edit.el +++ b/lisp/cedet/ede/autoconf-edit.el @@ -31,7 +31,7 @@ (declare-function ede-srecode-insert "ede/srecode") (defun autoconf-new-program (rootdir program testfile) - "Initialize a new configure.in in ROOTDIR for PROGRAM using TESTFILE. + "Initialize a new configure.ac in ROOTDIR for PROGRAM using TESTFILE. ROOTDIR is the root directory of a given autoconf controlled project. PROGRAM is the program to be configured. TESTFILE is the file used with AC_INIT. @@ -325,7 +325,7 @@ Optional argument PARAM is the parameter to pass to the macro as one string." "Position the cursor where PROG is queried. PROG is the VARIABLE to use in autoconf to identify the program. PROG excludes the _PROG suffix. Thus if PROG were EMACS, then the -variable in configure.in would be EMACS_PROG." +variable in configure.ac would be EMACS_PROG." (let ((op (point)) (found t) (builtin (assoc prog autoconf-program-builtin))) diff --git a/lisp/cedet/ede/emacs.el b/lisp/cedet/ede/emacs.el index d7c83749ffa..e3afe30063c 100644 --- a/lisp/cedet/ede/emacs.el +++ b/lisp/cedet/ede/emacs.el @@ -74,13 +74,16 @@ DIR is the directory to search from." "Find the Emacs version for the Emacs src in DIR. Return a tuple of ( EMACSNAME . VERSION )." (let ((buff (get-buffer-create " *emacs-query*")) + (configure_ac "configure.ac") (emacs "Emacs") (ver "")) (with-current-buffer buff (erase-buffer) (setq default-directory (file-name-as-directory dir)) + (or (file-exists-p configure_ac) + (setq configure_ac "configure.in")) ;(call-process "egrep" nil buff nil "-n" "-e" "^version=" "Makefile") - (call-process "egrep" nil buff nil "-n" "-e" "AC_INIT" "configure.in") + (call-process "egrep" nil buff nil "-n" "-e" "AC_INIT" configure_ac) (goto-char (point-min)) ;(re-search-forward "version=\\([0-9.]+\\)") (cond @@ -100,7 +103,7 @@ emacs_beta_version=\\([0-9]+\\)") ;; Vaguely recent version of GNU Emacs? (t - (insert-file-contents "configure.in") + (insert-file-contents configure_ac) (goto-char (point-min)) (re-search-forward "AC_INIT(emacs,\\s-*\\([0-9.]+\\)\\s-*)") (setq ver (match-string 1)) diff --git a/lisp/cedet/ede/proj.el b/lisp/cedet/ede/proj.el index d80d55bf916..a8afe9ec804 100644 --- a/lisp/cedet/ede/proj.el +++ b/lisp/cedet/ede/proj.el @@ -642,7 +642,7 @@ MFILENAME is the makefile to generate." (defmethod ede-proj-setup-buildenvironment ((this ede-proj-project) &optional force) "Setup the build environment for project THIS. -Handles the Makefile, or a Makefile.am configure.in combination. +Handles the Makefile, or a Makefile.am configure.ac combination. Optional argument FORCE will force items to be regenerated." (if (not force) (ede-proj-makefile-create-maybe this (ede-proj-dist-makefile this)) diff --git a/lisp/cedet/ede/project-am.el b/lisp/cedet/ede/project-am.el index b775cddbc0e..1caaee4b7d4 100644 --- a/lisp/cedet/ede/project-am.el +++ b/lisp/cedet/ede/project-am.el @@ -896,10 +896,10 @@ files in the project." out)) -;;; Configure.in queries. +;;; Configure.am queries. ;; (defvar project-am-autoconf-file-options - '("configure.in" "configure.ac") + '("configure.ac" "configure.in") "List of possible configure files to look in for project info.") (defun project-am-autoconf-file (dir) @@ -948,7 +948,7 @@ Kill the Configure buffer if it was not already in a buffer." (configfiles nil) ) (cond - ;; Try configure.in or configure.ac + ;; Try configure.ac or configure.in (conf-in (project-am-with-config-current conf-in (let ((aci (autoconf-parameters-for-macro "AC_INIT")) diff --git a/lisp/emacs-lisp/authors.el b/lisp/emacs-lisp/authors.el index babb5bf8fc9..aa1a7b52f4c 100644 --- a/lisp/emacs-lisp/authors.el +++ b/lisp/emacs-lisp/authors.el @@ -702,7 +702,7 @@ or is on the list of removed files. Returns the non-directory part of the file name. Only uses the LOG-FILE position POS and associated AUTHOR to print a message if FILE is not found." ;; FILE should be re-checked in every different directory associated - ;; with a LOG-FILE. Eg configure.in from src/ChangeLog is not the + ;; with a LOG-FILE. Eg configure.ac from src/ChangeLog is not the ;; same as that from top-level/ChangeLog. (let* ((fullname (expand-file-name file (file-name-directory log-file))) (entry (assoc fullname authors-checked-files-alist)) diff --git a/lisp/info-look.el b/lisp/info-look.el index 5eca62ed1bd..eb780fe5620 100644 --- a/lisp/info-look.el +++ b/lisp/info-look.el @@ -732,7 +732,7 @@ Return nil if there is nothing appropriate in the buffer near point." :parse-rule "\\$[^({]\\|\\.[_A-Z]*\\|[_a-zA-Z0-9-]+\\|##\\|\\+=" :doc-spec '( ;; "(automake)Macro Index" is autoconf macros used in - ;; configure.in, not Makefile.am, so don't have that here. + ;; configure.ac, not Makefile.am, so don't have that here. ("(automake)Variable Index" nil "^[ \t]*`" "'") ;; In automake 1.4 macros and variables were a combined node. ("(automake)Macro and Variable Index" nil "^[ \t]*`" "'") diff --git a/lisp/progmodes/autoconf.el b/lisp/progmodes/autoconf.el index a7242f6c232..3225fef2dfa 100644 --- a/lisp/progmodes/autoconf.el +++ b/lisp/progmodes/autoconf.el @@ -1,4 +1,4 @@ -;;; autoconf.el --- mode for editing Autoconf configure.in files +;;; autoconf.el --- mode for editing Autoconf configure.ac files ;; Copyright (C) 2000-2012 Free Software Foundation, Inc. @@ -23,15 +23,15 @@ ;;; Commentary: ;; Provides fairly minimal font-lock, imenu and indentation support -;; for editing configure.in files. Only Autoconf syntax is processed. +;; for editing configure.ac files. Only Autoconf syntax is processed. ;; There is no attempt to deal with shell text -- probably that will ;; always lose. -;; This is specialized for configure.in files. It doesn't inherit the +;; This is specialized for configure.ac files. It doesn't inherit the ;; general M4 stuff from M4 mode. ;; There is also an autoconf-mode.el in existence. That appears to be -;; for editing the Autoconf M4 source, rather than configure.in files. +;; for editing the Autoconf M4 source, rather than configure.ac files. ;;; Code: @@ -49,7 +49,7 @@ `(("\\_<A[CHMS]_\\sw+" . font-lock-keyword-face) (,autoconf-definition-regexp 3 font-lock-function-name-face) - ;; Are any other M4 keywords really appropriate for configure.in, + ;; Are any other M4 keywords really appropriate for configure.ac, ;; given that we do `dnl'? ("changequote" . font-lock-keyword-face))) @@ -78,7 +78,7 @@ searching backwards at another AC_... command." ;;;###autoload (define-derived-mode autoconf-mode prog-mode "Autoconf" - "Major mode for editing Autoconf configure.in files." + "Major mode for editing Autoconf configure.ac files." (set (make-local-variable 'parens-require-spaces) nil) ; for M4 arg lists (set (make-local-variable 'defun-prompt-regexp) "^[ \t]*A[CM]_\\(\\sw\\|\\s_\\)+") |