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
4a299bf4
Commit
4a299bf4
authored
Feb 10, 2011
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libgo/configure.ac: Use AC_COMPILE_IFELSE, not AC_PREPROC_IFELSE.
From-SVN: r170030
parent
d5f3d14a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
libgo/configure
+8
-8
libgo/configure.ac
+4
-4
No files found.
libgo/configure
View file @
4a299bf4
...
...
@@ -13302,12 +13302,12 @@ case ${host} in
#error 64-bit
#endif
_ACEOF
if
ac_fn_c_try_c
pp
"
$LINENO
"
;
then
:
if
ac_fn_c_try_c
ompile
"
$LINENO
"
;
then
:
is_386
=
yes
else
is_x86_64
=
yes
fi
rm
-f
co
nftest.err
conftest.
$ac_ext
rm
-f
co
re conftest.err conftest.
$ac_objext
conftest.
$ac_ext
if
test
"
$is_386
"
=
"yes"
;
then
GOARCH
=
386
else
...
...
@@ -13326,12 +13326,12 @@ rm -f conftest.err conftest.$ac_ext
#error 64-bit
#endif
_ACEOF
if
ac_fn_c_try_c
pp
"
$LINENO
"
;
then
:
if
ac_fn_c_try_c
ompile
"
$LINENO
"
;
then
:
is_mips
=
yes
else
is_mips64
=
yes
fi
rm
-f
co
nftest.err
conftest.
$ac_ext
rm
-f
co
re conftest.err conftest.
$ac_objext
conftest.
$ac_ext
if
test
"
$is_mips
"
=
"yes"
;
then
GOARCH
=
mips
else
...
...
@@ -13346,12 +13346,12 @@ rm -f conftest.err conftest.$ac_ext
#error 64-bit
#endif
_ACEOF
if
ac_fn_c_try_c
pp
"
$LINENO
"
;
then
:
if
ac_fn_c_try_c
ompile
"
$LINENO
"
;
then
:
is_ppc
=
yes
else
is_ppc64
=
yes
fi
rm
-f
co
nftest.err
conftest.
$ac_ext
rm
-f
co
re conftest.err conftest.
$ac_objext
conftest.
$ac_ext
if
test
"
$is_ppc
"
=
"yes"
;
then
GOARCH
=
ppc
else
...
...
@@ -13366,12 +13366,12 @@ rm -f conftest.err conftest.$ac_ext
#error 64-bit
#endif
_ACEOF
if
ac_fn_c_try_c
pp
"
$LINENO
"
;
then
:
if
ac_fn_c_try_c
ompile
"
$LINENO
"
;
then
:
is_sparc
=
yes
else
is_sparc64
=
yes
fi
rm
-f
co
nftest.err
conftest.
$ac_ext
rm
-f
co
re conftest.err conftest.
$ac_objext
conftest.
$ac_ext
if
test
"
$is_sparc
"
=
"yes"
;
then
GOARCH
=
sparc
else
...
...
libgo/configure.ac
View file @
4a299bf4
...
...
@@ -152,7 +152,7 @@ case ${host} in
changequote(,)dnl
i[34567]86-*-* | x86_64-*-*)
changequote([,])dnl
AC_
PREPROC
_IFELSE([
AC_
COMPILE
_IFELSE([
#ifdef __x86_64__
#error 64-bit
#endif],
...
...
@@ -168,7 +168,7 @@ changequote([,])dnl
GOARCH=m68k
;;
mips*-*-*)
AC_
PREPROC
_IFELSE([
AC_
COMPILE
_IFELSE([
#ifdef __mips64
#error 64-bit
#endif],
...
...
@@ -180,7 +180,7 @@ changequote([,])dnl
fi
;;
rs6000*-*-* | powerpc*-*-*)
AC_
PREPROC
_IFELSE([
AC_
COMPILE
_IFELSE([
#ifdef _ARCH_PPC64
#error 64-bit
#endif],
...
...
@@ -192,7 +192,7 @@ changequote([,])dnl
fi
;;
sparc*-*-*)
AC_
PREPROC
_IFELSE([
AC_
COMPILE
_IFELSE([
#if defined(__sparcv9) || defined(__arch64__)
#error 64-bit
#endif],
...
...
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