mirror of
git://git.sv.gnu.org/autoconf
synced 2025-03-31 15:00:26 +08:00
* aclang.m4: Use m4_copy to duplicate macros.
(AC_LANG_PUSH): In order to have AC_LANG's simplifications effective, be sure to let _AC_LANG be the old language before calling AC_LANG.
This commit is contained in:
parent
86ac9c829a
commit
616dba6d84
@ -1,3 +1,10 @@
|
||||
2001-01-11 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* aclang.m4: Use m4_copy to duplicate macros.
|
||||
(AC_LANG_PUSH): In order to have AC_LANG's simplifications
|
||||
effective, be sure to let _AC_LANG be the old language before
|
||||
calling AC_LANG.
|
||||
|
||||
2000-12-25 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* autoreconf.sh: s/localddir/localdir/.
|
||||
|
12
aclang.m4
12
aclang.m4
@ -126,7 +126,7 @@ _AC_LANG_DISPATCH([$0], _AC_LANG, $@)])])
|
||||
# ------------------
|
||||
# Save the current language, and use LANG.
|
||||
m4_define([AC_LANG_PUSH],
|
||||
[m4_pushdef([_AC_LANG])dnl
|
||||
[m4_pushdef([_AC_LANG], m4_defn([_AC_LANG]))dnl
|
||||
AC_LANG([$1])])
|
||||
|
||||
|
||||
@ -431,31 +431,31 @@ $1])
|
||||
# AC_LANG_PROGRAM(C++)([PROLOGUE], [BODY])
|
||||
# ----------------------------------------
|
||||
# Same as C.
|
||||
m4_define([AC_LANG_PROGRAM(C++)], m4_defn([AC_LANG_PROGRAM(C)]))
|
||||
m4_copy([AC_LANG_PROGRAM(C)], [AC_LANG_PROGRAM(C++)])
|
||||
|
||||
|
||||
# AC_LANG_CALL(C++)(PROLOGUE, FUNCTION)
|
||||
# -------------------------------------
|
||||
# Same as C.
|
||||
m4_define([AC_LANG_CALL(C++)], m4_defn([AC_LANG_CALL(C)]))
|
||||
m4_copy([AC_LANG_CALL(C)], [AC_LANG_CALL(C++)])
|
||||
|
||||
|
||||
# AC_LANG_FUNC_LINK_TRY(C++)(FUNCTION)
|
||||
# ------------------------------------
|
||||
# Same as C.
|
||||
m4_define([AC_LANG_FUNC_LINK_TRY(C++)], m4_defn([AC_LANG_FUNC_LINK_TRY(C)]))
|
||||
m4_copy([AC_LANG_FUNC_LINK_TRY(C)], [AC_LANG_FUNC_LINK_TRY(C++)])
|
||||
|
||||
|
||||
# AC_LANG_BOOL_COMPILE_TRY(C++)(PROLOGUE, EXPRESSION)
|
||||
# ---------------------------------------------------
|
||||
# Same as C.
|
||||
m4_define([AC_LANG_BOOL_COMPILE_TRY(C++)], m4_defn([AC_LANG_BOOL_COMPILE_TRY(C)]))
|
||||
m4_copy([AC_LANG_BOOL_COMPILE_TRY(C)], [AC_LANG_BOOL_COMPILE_TRY(C++)])
|
||||
|
||||
|
||||
# AC_LANG_INT_SAVE(C++)(PROLOGUE, EXPRESSION)
|
||||
# -------------------------------------------
|
||||
# Same as C.
|
||||
m4_define([AC_LANG_INT_SAVE(C++)], m4_defn([AC_LANG_INT_SAVE(C)]))
|
||||
m4_copy([AC_LANG_INT_SAVE(C)], [AC_LANG_INT_SAVE(C++)])
|
||||
|
||||
|
||||
|
||||
|
@ -126,7 +126,7 @@ _AC_LANG_DISPATCH([$0], _AC_LANG, $@)])])
|
||||
# ------------------
|
||||
# Save the current language, and use LANG.
|
||||
m4_define([AC_LANG_PUSH],
|
||||
[m4_pushdef([_AC_LANG])dnl
|
||||
[m4_pushdef([_AC_LANG], m4_defn([_AC_LANG]))dnl
|
||||
AC_LANG([$1])])
|
||||
|
||||
|
||||
@ -431,31 +431,31 @@ $1])
|
||||
# AC_LANG_PROGRAM(C++)([PROLOGUE], [BODY])
|
||||
# ----------------------------------------
|
||||
# Same as C.
|
||||
m4_define([AC_LANG_PROGRAM(C++)], m4_defn([AC_LANG_PROGRAM(C)]))
|
||||
m4_copy([AC_LANG_PROGRAM(C)], [AC_LANG_PROGRAM(C++)])
|
||||
|
||||
|
||||
# AC_LANG_CALL(C++)(PROLOGUE, FUNCTION)
|
||||
# -------------------------------------
|
||||
# Same as C.
|
||||
m4_define([AC_LANG_CALL(C++)], m4_defn([AC_LANG_CALL(C)]))
|
||||
m4_copy([AC_LANG_CALL(C)], [AC_LANG_CALL(C++)])
|
||||
|
||||
|
||||
# AC_LANG_FUNC_LINK_TRY(C++)(FUNCTION)
|
||||
# ------------------------------------
|
||||
# Same as C.
|
||||
m4_define([AC_LANG_FUNC_LINK_TRY(C++)], m4_defn([AC_LANG_FUNC_LINK_TRY(C)]))
|
||||
m4_copy([AC_LANG_FUNC_LINK_TRY(C)], [AC_LANG_FUNC_LINK_TRY(C++)])
|
||||
|
||||
|
||||
# AC_LANG_BOOL_COMPILE_TRY(C++)(PROLOGUE, EXPRESSION)
|
||||
# ---------------------------------------------------
|
||||
# Same as C.
|
||||
m4_define([AC_LANG_BOOL_COMPILE_TRY(C++)], m4_defn([AC_LANG_BOOL_COMPILE_TRY(C)]))
|
||||
m4_copy([AC_LANG_BOOL_COMPILE_TRY(C)], [AC_LANG_BOOL_COMPILE_TRY(C++)])
|
||||
|
||||
|
||||
# AC_LANG_INT_SAVE(C++)(PROLOGUE, EXPRESSION)
|
||||
# -------------------------------------------
|
||||
# Same as C.
|
||||
m4_define([AC_LANG_INT_SAVE(C++)], m4_defn([AC_LANG_INT_SAVE(C)]))
|
||||
m4_copy([AC_LANG_INT_SAVE(C)], [AC_LANG_INT_SAVE(C++)])
|
||||
|
||||
|
||||
|
||||
|
@ -126,7 +126,7 @@ _AC_LANG_DISPATCH([$0], _AC_LANG, $@)])])
|
||||
# ------------------
|
||||
# Save the current language, and use LANG.
|
||||
m4_define([AC_LANG_PUSH],
|
||||
[m4_pushdef([_AC_LANG])dnl
|
||||
[m4_pushdef([_AC_LANG], m4_defn([_AC_LANG]))dnl
|
||||
AC_LANG([$1])])
|
||||
|
||||
|
||||
@ -431,31 +431,31 @@ $1])
|
||||
# AC_LANG_PROGRAM(C++)([PROLOGUE], [BODY])
|
||||
# ----------------------------------------
|
||||
# Same as C.
|
||||
m4_define([AC_LANG_PROGRAM(C++)], m4_defn([AC_LANG_PROGRAM(C)]))
|
||||
m4_copy([AC_LANG_PROGRAM(C)], [AC_LANG_PROGRAM(C++)])
|
||||
|
||||
|
||||
# AC_LANG_CALL(C++)(PROLOGUE, FUNCTION)
|
||||
# -------------------------------------
|
||||
# Same as C.
|
||||
m4_define([AC_LANG_CALL(C++)], m4_defn([AC_LANG_CALL(C)]))
|
||||
m4_copy([AC_LANG_CALL(C)], [AC_LANG_CALL(C++)])
|
||||
|
||||
|
||||
# AC_LANG_FUNC_LINK_TRY(C++)(FUNCTION)
|
||||
# ------------------------------------
|
||||
# Same as C.
|
||||
m4_define([AC_LANG_FUNC_LINK_TRY(C++)], m4_defn([AC_LANG_FUNC_LINK_TRY(C)]))
|
||||
m4_copy([AC_LANG_FUNC_LINK_TRY(C)], [AC_LANG_FUNC_LINK_TRY(C++)])
|
||||
|
||||
|
||||
# AC_LANG_BOOL_COMPILE_TRY(C++)(PROLOGUE, EXPRESSION)
|
||||
# ---------------------------------------------------
|
||||
# Same as C.
|
||||
m4_define([AC_LANG_BOOL_COMPILE_TRY(C++)], m4_defn([AC_LANG_BOOL_COMPILE_TRY(C)]))
|
||||
m4_copy([AC_LANG_BOOL_COMPILE_TRY(C)], [AC_LANG_BOOL_COMPILE_TRY(C++)])
|
||||
|
||||
|
||||
# AC_LANG_INT_SAVE(C++)(PROLOGUE, EXPRESSION)
|
||||
# -------------------------------------------
|
||||
# Same as C.
|
||||
m4_define([AC_LANG_INT_SAVE(C++)], m4_defn([AC_LANG_INT_SAVE(C)]))
|
||||
m4_copy([AC_LANG_INT_SAVE(C)], [AC_LANG_INT_SAVE(C++)])
|
||||
|
||||
|
||||
|
||||
|
@ -126,7 +126,7 @@ _AC_LANG_DISPATCH([$0], _AC_LANG, $@)])])
|
||||
# ------------------
|
||||
# Save the current language, and use LANG.
|
||||
m4_define([AC_LANG_PUSH],
|
||||
[m4_pushdef([_AC_LANG])dnl
|
||||
[m4_pushdef([_AC_LANG], m4_defn([_AC_LANG]))dnl
|
||||
AC_LANG([$1])])
|
||||
|
||||
|
||||
@ -431,31 +431,31 @@ $1])
|
||||
# AC_LANG_PROGRAM(C++)([PROLOGUE], [BODY])
|
||||
# ----------------------------------------
|
||||
# Same as C.
|
||||
m4_define([AC_LANG_PROGRAM(C++)], m4_defn([AC_LANG_PROGRAM(C)]))
|
||||
m4_copy([AC_LANG_PROGRAM(C)], [AC_LANG_PROGRAM(C++)])
|
||||
|
||||
|
||||
# AC_LANG_CALL(C++)(PROLOGUE, FUNCTION)
|
||||
# -------------------------------------
|
||||
# Same as C.
|
||||
m4_define([AC_LANG_CALL(C++)], m4_defn([AC_LANG_CALL(C)]))
|
||||
m4_copy([AC_LANG_CALL(C)], [AC_LANG_CALL(C++)])
|
||||
|
||||
|
||||
# AC_LANG_FUNC_LINK_TRY(C++)(FUNCTION)
|
||||
# ------------------------------------
|
||||
# Same as C.
|
||||
m4_define([AC_LANG_FUNC_LINK_TRY(C++)], m4_defn([AC_LANG_FUNC_LINK_TRY(C)]))
|
||||
m4_copy([AC_LANG_FUNC_LINK_TRY(C)], [AC_LANG_FUNC_LINK_TRY(C++)])
|
||||
|
||||
|
||||
# AC_LANG_BOOL_COMPILE_TRY(C++)(PROLOGUE, EXPRESSION)
|
||||
# ---------------------------------------------------
|
||||
# Same as C.
|
||||
m4_define([AC_LANG_BOOL_COMPILE_TRY(C++)], m4_defn([AC_LANG_BOOL_COMPILE_TRY(C)]))
|
||||
m4_copy([AC_LANG_BOOL_COMPILE_TRY(C)], [AC_LANG_BOOL_COMPILE_TRY(C++)])
|
||||
|
||||
|
||||
# AC_LANG_INT_SAVE(C++)(PROLOGUE, EXPRESSION)
|
||||
# -------------------------------------------
|
||||
# Same as C.
|
||||
m4_define([AC_LANG_INT_SAVE(C++)], m4_defn([AC_LANG_INT_SAVE(C)]))
|
||||
m4_copy([AC_LANG_INT_SAVE(C)], [AC_LANG_INT_SAVE(C++)])
|
||||
|
||||
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
|
||||
.TH AUTORECONF "1" "December 2000" "GNU autoconf 2.49c" FSF
|
||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24.
|
||||
.TH AUTORECONF "1" "January 2001" "GNU autoconf 2.49c" FSF
|
||||
.SH NAME
|
||||
autoreconf \- Update generated configuration files
|
||||
.SH SYNOPSIS
|
||||
|
Loading…
x
Reference in New Issue
Block a user