mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 672980 - M4 macro name should be quoted in AC_DEFUN. r=ted
fixes for js/src f+=Callek
This commit is contained in:
parent
523ebb7851
commit
b25c6f7a91
@ -1,6 +1,6 @@
|
||||
dnl check if the build is using lto. This is really primitive and only detects llvm based
|
||||
dnl compilers right now.
|
||||
AC_DEFUN(MOZ_DOING_LTO,
|
||||
AC_DEFUN([MOZ_DOING_LTO],
|
||||
[
|
||||
cat > conftest.c <<EOF
|
||||
int foo = 1;
|
||||
|
@ -37,7 +37,7 @@ dnl
|
||||
dnl ***** END LICENSE BLOCK *****
|
||||
|
||||
dnl MOZ_CHECK_HEADER(HEADER-FILE, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
|
||||
AC_DEFUN(MOZ_CHECK_HEADER,
|
||||
AC_DEFUN([MOZ_CHECK_HEADER],
|
||||
[ dnl Do the transliteration at runtime so arg 1 can be a shell variable.
|
||||
ac_safe=`echo "$1" | sed 'y%./+-%__p_%'`
|
||||
AC_MSG_CHECKING([for $1])
|
||||
@ -55,7 +55,7 @@ AC_DEFUN(MOZ_CHECK_HEADER,
|
||||
])
|
||||
|
||||
dnl MOZ_CHECK_HEADERS(HEADER-FILE... [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
|
||||
AC_DEFUN(MOZ_CHECK_HEADERS,
|
||||
AC_DEFUN([MOZ_CHECK_HEADERS],
|
||||
[ for ac_hdr in $1
|
||||
do
|
||||
MOZ_CHECK_HEADER($ac_hdr,
|
||||
|
@ -49,7 +49,7 @@ dnl
|
||||
dnl for example:
|
||||
dnl MOZ_N_BYTE_TYPE([JS_INT32_T], [4], [int long 'long long' short])
|
||||
dnl
|
||||
AC_DEFUN(MOZ_N_BYTE_TYPE,
|
||||
AC_DEFUN([MOZ_N_BYTE_TYPE],
|
||||
[
|
||||
dnl The simplest approach would simply be to run a program that says
|
||||
dnl printf ("%d\n", sizeof ($type));
|
||||
@ -83,7 +83,7 @@ dnl found.
|
||||
dnl
|
||||
dnl for example:
|
||||
dnl MOZ_SIZE_OF_TYPE([JS_BYTES_PER_WORD], [void*], [4 8])
|
||||
AC_DEFUN(MOZ_SIZE_OF_TYPE,
|
||||
AC_DEFUN([MOZ_SIZE_OF_TYPE],
|
||||
[
|
||||
AC_CACHE_CHECK([for the size of $2], moz_cv_size_of_$1, [
|
||||
moz_cv_size_of_$1=
|
||||
@ -113,7 +113,7 @@ dnl found.
|
||||
dnl
|
||||
dnl for example:
|
||||
dnl MOZ_ALIGN_OF_TYPE(JS_ALIGN_OF_POINTER, void*, 2 4 8 16)
|
||||
AC_DEFUN(MOZ_ALIGN_OF_TYPE,
|
||||
AC_DEFUN([MOZ_ALIGN_OF_TYPE],
|
||||
[
|
||||
AC_CACHE_CHECK([for the alignment of $2], moz_cv_align_of_$1, [
|
||||
moz_cv_align_of_$1=
|
||||
|
@ -36,14 +36,14 @@ dnl the terms of any one of the MPL, the GPL or the LGPL.
|
||||
dnl
|
||||
dnl ***** END LICENSE BLOCK *****
|
||||
|
||||
AC_DEFUN(MOZ_PROG_CHECKMSYS,
|
||||
AC_DEFUN([MOZ_PROG_CHECKMSYS],
|
||||
[AC_REQUIRE([AC_INIT_BINSH])dnl
|
||||
if test `uname -s | grep -c MINGW 2>/dev/null` != "0"; then
|
||||
msyshost=1
|
||||
fi
|
||||
])
|
||||
|
||||
AC_DEFUN(MOZ_PATH_PROG,
|
||||
AC_DEFUN([MOZ_PATH_PROG],
|
||||
[ AC_PATH_PROG($1,$2,$3,$4)
|
||||
if test "$msyshost"; then
|
||||
case "[$]$1" in
|
||||
@ -59,7 +59,7 @@ AC_DEFUN(MOZ_PATH_PROG,
|
||||
fi
|
||||
])
|
||||
|
||||
AC_DEFUN(MOZ_PATH_PROGS,
|
||||
AC_DEFUN([MOZ_PATH_PROGS],
|
||||
[ AC_PATH_PROGS($1,$2,$3,$4)
|
||||
if test "$msyshost"; then
|
||||
case "[$]$1" in
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
dnl AM_PATH_NSS([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
|
||||
dnl Test for NSS, and define NSS_CFLAGS and NSS_LIBS
|
||||
AC_DEFUN(AM_PATH_NSS,
|
||||
AC_DEFUN([AM_PATH_NSS],
|
||||
[dnl
|
||||
|
||||
AC_ARG_WITH(nss-prefix,
|
||||
|
@ -1,6 +1,6 @@
|
||||
dnl check if the build is using lto. This is really primitive and only detects llvm based
|
||||
dnl compilers right now.
|
||||
AC_DEFUN(MOZ_DOING_LTO,
|
||||
AC_DEFUN([MOZ_DOING_LTO],
|
||||
[
|
||||
cat > conftest.c <<EOF
|
||||
int foo = 1;
|
||||
|
@ -49,7 +49,7 @@ dnl
|
||||
dnl for example:
|
||||
dnl MOZ_N_BYTE_TYPE([JS_INT32_T], [4], [int long 'long long' short])
|
||||
dnl
|
||||
AC_DEFUN(MOZ_N_BYTE_TYPE,
|
||||
AC_DEFUN([MOZ_N_BYTE_TYPE],
|
||||
[
|
||||
dnl The simplest approach would simply be to run a program that says
|
||||
dnl printf ("%d\n", sizeof ($type));
|
||||
@ -83,7 +83,7 @@ dnl found.
|
||||
dnl
|
||||
dnl for example:
|
||||
dnl MOZ_SIZE_OF_TYPE([JS_BYTES_PER_WORD], [void*], [4 8])
|
||||
AC_DEFUN(MOZ_SIZE_OF_TYPE,
|
||||
AC_DEFUN([MOZ_SIZE_OF_TYPE],
|
||||
[
|
||||
AC_CACHE_CHECK([for the size of $2], moz_cv_size_of_$1, [
|
||||
moz_cv_size_of_$1=
|
||||
@ -113,7 +113,7 @@ dnl found.
|
||||
dnl
|
||||
dnl for example:
|
||||
dnl MOZ_ALIGN_OF_TYPE(JS_ALIGN_OF_POINTER, void*, 2 4 8 16)
|
||||
AC_DEFUN(MOZ_ALIGN_OF_TYPE,
|
||||
AC_DEFUN([MOZ_ALIGN_OF_TYPE],
|
||||
[
|
||||
AC_CACHE_CHECK([for the alignment of $2], moz_cv_align_of_$1, [
|
||||
moz_cv_align_of_$1=
|
||||
|
@ -36,14 +36,14 @@ dnl the terms of any one of the MPL, the GPL or the LGPL.
|
||||
dnl
|
||||
dnl ***** END LICENSE BLOCK *****
|
||||
|
||||
AC_DEFUN(MOZ_PROG_CHECKMSYS,
|
||||
AC_DEFUN([MOZ_PROG_CHECKMSYS],
|
||||
[AC_REQUIRE([AC_INIT_BINSH])dnl
|
||||
if test `uname -s | grep -c MINGW 2>/dev/null` != "0"; then
|
||||
msyshost=1
|
||||
fi
|
||||
])
|
||||
|
||||
AC_DEFUN(MOZ_PATH_PROG,
|
||||
AC_DEFUN([MOZ_PATH_PROG],
|
||||
[ AC_PATH_PROG($1,$2,$3,$4)
|
||||
if test "$msyshost"; then
|
||||
case "[$]$1" in
|
||||
@ -59,7 +59,7 @@ AC_DEFUN(MOZ_PATH_PROG,
|
||||
fi
|
||||
])
|
||||
|
||||
AC_DEFUN(MOZ_PATH_PROGS,
|
||||
AC_DEFUN([MOZ_PATH_PROGS],
|
||||
[ AC_PATH_PROGS($1,$2,$3,$4)
|
||||
if test "$msyshost"; then
|
||||
case "[$]$1" in
|
||||
|
Loading…
Reference in New Issue
Block a user