summaryrefslogtreecommitdiff
path: root/lisp/cedet
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-07-08 21:52:49 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2012-07-08 21:52:49 -0700
commitc4444d16dcc6b1cf2ac9e2c0bb20e3f5a54bdea1 (patch)
tree712790cc90ed29dda310c6b461ff3b6a7b04947d /lisp/cedet
parentf1f924b61976585c693f1f18445889ae891e2211 (diff)
downloademacs-c4444d16dcc6b1cf2ac9e2c0bb20e3f5a54bdea1.tar.gz
Rename configure.in to configure.ac.
Fixes: debbugs:11603
Diffstat (limited to 'lisp/cedet')
-rw-r--r--lisp/cedet/ChangeLog10
-rw-r--r--lisp/cedet/ede/autoconf-edit.el4
-rw-r--r--lisp/cedet/ede/emacs.el7
-rw-r--r--lisp/cedet/ede/proj.el2
-rw-r--r--lisp/cedet/ede/project-am.el6
5 files changed, 21 insertions, 8 deletions
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"))