Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
f6db393e
Commit
f6db393e
authored
Oct 14, 2003
by
Nathanael Nerode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* aclocal.m4: Properly quote names of macros being defined.
From-SVN: r72499
parent
296da001
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
17 deletions
+19
-17
gcc/ChangeLog
+2
-0
gcc/aclocal.m4
+17
-17
No files found.
gcc/ChangeLog
View file @
f6db393e
2003-10-14 Nathanael Nerode <neroden@gcc.gnu.org>
2003-10-14 Nathanael Nerode <neroden@gcc.gnu.org>
* aclocal.m4: Properly quote names of macros being defined.
* config.gcc (am33_2.0-*-linux*): Use t-slibgcc-elf-ver.
* config.gcc (am33_2.0-*-linux*): Use t-slibgcc-elf-ver.
2003-10-14 Steve Ellcey <sje@cup.hp.com>
2003-10-14 Steve Ellcey <sje@cup.hp.com>
...
...
gcc/aclocal.m4
View file @
f6db393e
...
@@ -4,7 +4,7 @@ sinclude(../config/gettext.m4)
...
@@ -4,7 +4,7 @@ sinclude(../config/gettext.m4)
sinclude(../config/progtest.m4)
sinclude(../config/progtest.m4)
dnl See if stdbool.h properly defines bool and true/false.
dnl See if stdbool.h properly defines bool and true/false.
AC_DEFUN(
gcc_AC_HEADER_STDBOOL
,
AC_DEFUN(
[gcc_AC_HEADER_STDBOOL]
,
[AC_CACHE_CHECK([for working stdbool.h],
[AC_CACHE_CHECK([for working stdbool.h],
ac_cv_header_stdbool_h,
ac_cv_header_stdbool_h,
[AC_TRY_COMPILE([#include <stdbool.h>],
[AC_TRY_COMPILE([#include <stdbool.h>],
...
@@ -18,7 +18,7 @@ fi
...
@@ -18,7 +18,7 @@ fi
dnl Fixed AC_CHECK_TYPE that doesn't need anything in acconfig.h.
dnl Fixed AC_CHECK_TYPE that doesn't need anything in acconfig.h.
dnl Remove after migrating to 2.5x.
dnl Remove after migrating to 2.5x.
AC_DEFUN(
gcc_AC_CHECK_TYPE
,
AC_DEFUN(
[gcc_AC_CHECK_TYPE]
,
[AC_REQUIRE([AC_HEADER_STDC])dnl
[AC_REQUIRE([AC_HEADER_STDC])dnl
AC_MSG_CHECKING(for $1)
AC_MSG_CHECKING(for $1)
AC_CACHE_VAL(ac_cv_type_$1,
AC_CACHE_VAL(ac_cv_type_$1,
...
@@ -38,7 +38,7 @@ fi
...
@@ -38,7 +38,7 @@ fi
dnl See whether we can include both string.h and strings.h.
dnl See whether we can include both string.h and strings.h.
AC_DEFUN(
gcc_AC_HEADER_STRING
,
AC_DEFUN(
[gcc_AC_HEADER_STRING]
,
[AC_CACHE_CHECK([whether string.h and strings.h may both be included],
[AC_CACHE_CHECK([whether string.h and strings.h may both be included],
gcc_cv_header_string,
gcc_cv_header_string,
[AC_TRY_COMPILE([#include <string.h>
[AC_TRY_COMPILE([#include <string.h>
...
@@ -54,7 +54,7 @@ dnl to use a different cache variable name in this macro if it is invoked
...
@@ -54,7 +54,7 @@ dnl to use a different cache variable name in this macro if it is invoked
dnl in a different context somewhere else.
dnl in a different context somewhere else.
dnl gcc_AC_CHECK_DECL(SYMBOL,
dnl gcc_AC_CHECK_DECL(SYMBOL,
dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, INCLUDES]]])
dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, INCLUDES]]])
AC_DEFUN(
gcc_AC_CHECK_DECL
,
AC_DEFUN(
[gcc_AC_CHECK_DECL]
,
[AC_MSG_CHECKING([whether $1 is declared])
[AC_MSG_CHECKING([whether $1 is declared])
AC_CACHE_VAL(gcc_cv_have_decl_$1,
AC_CACHE_VAL(gcc_cv_have_decl_$1,
[AC_TRY_COMPILE([$4],
[AC_TRY_COMPILE([$4],
...
@@ -72,7 +72,7 @@ dnl Check multiple functions to see whether each needs a declaration.
...
@@ -72,7 +72,7 @@ dnl Check multiple functions to see whether each needs a declaration.
dnl Arrange to define HAVE_DECL_<FUNCTION> to 0 or 1 as appropriate.
dnl Arrange to define HAVE_DECL_<FUNCTION> to 0 or 1 as appropriate.
dnl gcc_AC_CHECK_DECLS(SYMBOLS,
dnl gcc_AC_CHECK_DECLS(SYMBOLS,
dnl [ACTION-IF-NEEDED [, ACTION-IF-NOT-NEEDED [, INCLUDES]]])
dnl [ACTION-IF-NEEDED [, ACTION-IF-NOT-NEEDED [, INCLUDES]]])
AC_DEFUN(
gcc_AC_CHECK_DECLS
,
AC_DEFUN(
[gcc_AC_CHECK_DECLS]
,
[for ac_func in $1
[for ac_func in $1
do
do
changequote(, )dnl
changequote(, )dnl
...
@@ -107,7 +107,7 @@ dnl "if cmp --ignore-initial=2 t1 t2 && ! cmp --ignore-initial=1 t1 t2"
...
@@ -107,7 +107,7 @@ dnl "if cmp --ignore-initial=2 t1 t2 && ! cmp --ignore-initial=1 t1 t2"
dnl but we need to sink errors and handle broken shells. We also test
dnl but we need to sink errors and handle broken shells. We also test
dnl for the parameter format "cmp file1 file2 skip1 skip2" which is
dnl for the parameter format "cmp file1 file2 skip1 skip2" which is
dnl accepted by cmp on some systems.
dnl accepted by cmp on some systems.
AC_DEFUN(
gcc_AC_PROG_CMP_IGNORE_INITIAL
,
AC_DEFUN(
[gcc_AC_PROG_CMP_IGNORE_INITIAL]
,
[AC_CACHE_CHECK([for cmp's capabilities], gcc_cv_prog_cmp_skip,
[AC_CACHE_CHECK([for cmp's capabilities], gcc_cv_prog_cmp_skip,
[ echo abfoo >t1
[ echo abfoo >t1
echo cdfoo >t2
echo cdfoo >t2
...
@@ -135,7 +135,7 @@ AC_SUBST(make_compare_target)
...
@@ -135,7 +135,7 @@ AC_SUBST(make_compare_target)
])
])
dnl See if the printf functions in libc support %p in format strings.
dnl See if the printf functions in libc support %p in format strings.
AC_DEFUN(
gcc_AC_FUNC_PRINTF_PTR
,
AC_DEFUN(
[gcc_AC_FUNC_PRINTF_PTR]
,
[AC_CACHE_CHECK(whether the printf functions support %p,
[AC_CACHE_CHECK(whether the printf functions support %p,
gcc_cv_func_printf_ptr,
gcc_cv_func_printf_ptr,
[AC_TRY_RUN([#include <stdio.h>
[AC_TRY_RUN([#include <stdio.h>
...
@@ -156,7 +156,7 @@ fi
...
@@ -156,7 +156,7 @@ fi
])
])
dnl See if symbolic links work and if not, try to substitute either hard links or simple copy.
dnl See if symbolic links work and if not, try to substitute either hard links or simple copy.
AC_DEFUN(
gcc_AC_PROG_LN_S
,
AC_DEFUN(
[gcc_AC_PROG_LN_S]
,
[AC_MSG_CHECKING(whether ln -s works)
[AC_MSG_CHECKING(whether ln -s works)
AC_CACHE_VAL(gcc_cv_prog_LN_S,
AC_CACHE_VAL(gcc_cv_prog_LN_S,
[rm -f conftestdata_t
[rm -f conftestdata_t
...
@@ -188,7 +188,7 @@ AC_SUBST(LN_S)dnl
...
@@ -188,7 +188,7 @@ AC_SUBST(LN_S)dnl
])
])
dnl See if hard links work and if not, try to substitute either symbolic links or simple copy.
dnl See if hard links work and if not, try to substitute either symbolic links or simple copy.
AC_DEFUN(
gcc_AC_PROG_LN
,
AC_DEFUN(
[gcc_AC_PROG_LN]
,
[AC_MSG_CHECKING(whether ln works)
[AC_MSG_CHECKING(whether ln works)
AC_CACHE_VAL(gcc_cv_prog_LN,
AC_CACHE_VAL(gcc_cv_prog_LN,
[rm -f conftestdata_t
[rm -f conftestdata_t
...
@@ -220,7 +220,7 @@ AC_SUBST(LN)dnl
...
@@ -220,7 +220,7 @@ AC_SUBST(LN)dnl
])
])
dnl Check whether _Bool is built-in.
dnl Check whether _Bool is built-in.
AC_DEFUN(
gcc_AC_C__BOOL
,
AC_DEFUN(
[gcc_AC_C__BOOL]
,
[AC_CACHE_CHECK(for built-in _Bool, gcc_cv_c__bool,
[AC_CACHE_CHECK(for built-in _Bool, gcc_cv_c__bool,
[AC_TRY_COMPILE(,
[AC_TRY_COMPILE(,
[_Bool foo;],
[_Bool foo;],
...
@@ -233,7 +233,7 @@ fi
...
@@ -233,7 +233,7 @@ fi
dnl Define MKDIR_TAKES_ONE_ARG if mkdir accepts only one argument instead
dnl Define MKDIR_TAKES_ONE_ARG if mkdir accepts only one argument instead
dnl of the usual 2.
dnl of the usual 2.
AC_DEFUN(
gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG
,
AC_DEFUN(
[gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG]
,
[AC_CACHE_CHECK([if mkdir takes one argument], gcc_cv_mkdir_takes_one_arg,
[AC_CACHE_CHECK([if mkdir takes one argument], gcc_cv_mkdir_takes_one_arg,
[AC_TRY_COMPILE([
[AC_TRY_COMPILE([
#include <sys/types.h>
#include <sys/types.h>
...
@@ -252,7 +252,7 @@ if test $gcc_cv_mkdir_takes_one_arg = yes ; then
...
@@ -252,7 +252,7 @@ if test $gcc_cv_mkdir_takes_one_arg = yes ; then
fi
fi
])
])
AC_DEFUN(
gcc_AC_PROG_INSTALL
,
AC_DEFUN(
[gcc_AC_PROG_INSTALL]
,
[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
# Find a good install program. We prefer a C program (faster),
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
# so one script is as good as another. But avoid the broken or
...
@@ -366,7 +366,7 @@ fi
...
@@ -366,7 +366,7 @@ fi
dnl GCC_PATH_PROG(VARIABLE, PROG-TO-CHECK-FOR [, VALUE-IF-NOT-FOUND [, PATH]])
dnl GCC_PATH_PROG(VARIABLE, PROG-TO-CHECK-FOR [, VALUE-IF-NOT-FOUND [, PATH]])
dnl like AC_PATH_PROG but use other cache variables
dnl like AC_PATH_PROG but use other cache variables
AC_DEFUN(
GCC_PATH_PROG
,
AC_DEFUN(
[GCC_PATH_PROG]
,
[# Extract the first word of "$2", so it can be a program name with args.
[# Extract the first word of "$2", so it can be a program name with args.
set dummy $2; ac_word=[$]2
set dummy $2; ac_word=[$]2
AC_MSG_CHECKING([for $ac_word])
AC_MSG_CHECKING([for $ac_word])
...
@@ -499,7 +499,7 @@ fi
...
@@ -499,7 +499,7 @@ fi
dnl Locate a program and check that its version is acceptable.
dnl Locate a program and check that its version is acceptable.
dnl AC_PROG_CHECK_VER(var, name, version-switch,
dnl AC_PROG_CHECK_VER(var, name, version-switch,
dnl version-extract-regexp, version-glob)
dnl version-extract-regexp, version-glob)
AC_DEFUN(
gcc_AC_CHECK_PROG_VER
,
AC_DEFUN(
[gcc_AC_CHECK_PROG_VER]
,
[AC_CHECK_PROG([$1], [$2], [$2])
[AC_CHECK_PROG([$1], [$2], [$2])
if test -n "[$]$1"; then
if test -n "[$]$1"; then
# Found it, now check the version.
# Found it, now check the version.
...
@@ -526,7 +526,7 @@ fi
...
@@ -526,7 +526,7 @@ fi
dnl Determine if enumerated bitfields are unsigned. ISO C says they can
dnl Determine if enumerated bitfields are unsigned. ISO C says they can
dnl be either signed or unsigned.
dnl be either signed or unsigned.
dnl
dnl
AC_DEFUN(
gcc_AC_C_ENUM_BF_UNSIGNED
,
AC_DEFUN(
[gcc_AC_C_ENUM_BF_UNSIGNED]
,
[AC_CACHE_CHECK(for unsigned enumerated bitfields, gcc_cv_enum_bf_unsigned,
[AC_CACHE_CHECK(for unsigned enumerated bitfields, gcc_cv_enum_bf_unsigned,
[AC_TRY_RUN(#include <stdlib.h>
[AC_TRY_RUN(#include <stdlib.h>
enum t { BLAH = 128 } ;
enum t { BLAH = 128 } ;
...
@@ -546,7 +546,7 @@ fi])
...
@@ -546,7 +546,7 @@ fi])
dnl Probe number of bits in a byte.
dnl Probe number of bits in a byte.
dnl Note C89 requires CHAR_BIT >= 8.
dnl Note C89 requires CHAR_BIT >= 8.
dnl
dnl
AC_DEFUN(
gcc_AC_C_CHAR_BIT
,
AC_DEFUN(
[gcc_AC_C_CHAR_BIT]
,
[AC_CACHE_CHECK(for CHAR_BIT, gcc_cv_decl_char_bit,
[AC_CACHE_CHECK(for CHAR_BIT, gcc_cv_decl_char_bit,
[AC_EGREP_CPP(found,
[AC_EGREP_CPP(found,
[#ifdef HAVE_LIMITS_H
[#ifdef HAVE_LIMITS_H
...
@@ -673,7 +673,7 @@ size_t iconv();
...
@@ -673,7 +673,7 @@ size_t iconv();
AC_SUBST(LIBICONV)
AC_SUBST(LIBICONV)
])
])
AC_DEFUN(
gcc_AC_INITFINI_ARRAY
,
AC_DEFUN(
[gcc_AC_INITFINI_ARRAY]
,
[AC_ARG_ENABLE(initfini-array,
[AC_ARG_ENABLE(initfini-array,
[ --enable-initfini-array use .init_array/.fini_array sections],
[ --enable-initfini-array use .init_array/.fini_array sections],
[], [
[], [
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment