@@ -22,14 +22,14 @@ AC_SUBST([GSED], [$ac_cv_path_GSED])
2222
2323need_gcc_external_libraries="no"
2424AC_CHECK_LIB ( gmp , __gmpz_init , ,
25- [ need_gcc_external_libraries="yes"] )
25+ [ need_gcc_external_libraries="yes"] )
2626AC_CHECK_LIB ( mpfr , mpfr_init , ,
27- [ need_gcc_external_libraries="yes"] )
27+ [ need_gcc_external_libraries="yes"] )
2828AC_CHECK_LIB ( mpc , mpc_init2 , ,
29- [ need_gcc_external_libraries="yes"] )
29+ [ need_gcc_external_libraries="yes"] )
3030AS_IF ( [ test x"$need_gcc_external_libraries" != xno] ,
31- [ AC_SUBST ( NEED_GCC_EXTERNAL_LIBRARIES ,true ) ] ,
32- [ AC_SUBST ( NEED_GCC_EXTERNAL_LIBRARIES ,false ) ] )
31+ [ AC_SUBST ( NEED_GCC_EXTERNAL_LIBRARIES ,true ) ] ,
32+ [ AC_SUBST ( NEED_GCC_EXTERNAL_LIBRARIES ,false ) ] )
3333
3434AC_PATH_PROG ( [ CURL] , [ curl] , [ no] )
3535AC_PATH_PROG ( [ WGET] , [ wget] , [ no] )
@@ -41,38 +41,38 @@ AS_IF([test x"$CURL" != xno], [FETCHER="$CURL -L -o - --ftp-pasv --retry 10"],
4141AC_SUBST ( FETCHER )
4242
4343AC_ARG_ENABLE ( linux ,
44- [ AS_HELP_STRING ( [ --enable-linux] ,
44+ [ AS_HELP_STRING ( [ --enable-linux] ,
4545 [ set linux as the default make target @<:@ --disable-linux@:>@ ] ) ] ,
46- [ ] ,
47- [ enable_linux=no]
48- )
46+ [ ] ,
47+ [ enable_linux=no]
48+ )
4949
5050AS_IF ( [ test "x$enable_linux" != xno] ,
5151 [ AC_SUBST ( default_target , linux ) ] ,
5252 [ AC_SUBST ( default_target , newlib ) ] )
5353
5454AC_ARG_ENABLE ( debug_info ,
55- [ AS_HELP_STRING ( [ --enable-debug-info] ,
55+ [ AS_HELP_STRING ( [ --enable-debug-info] ,
5656 [ build glibc/musl/newlibc/libgcc with debug information] ) ] ,
57- [ enable_debug_info=yes] ,
58- [ enable_debug_info=no]
59- )
57+ [ enable_debug_info=yes] ,
58+ [ enable_debug_info=no]
59+ )
6060
6161AS_IF ( [ test "x$enable_debug_info" != xyes] ,
62- [ disable_debug_info=yes] ,
63- [ disable_debug_info=no]
64- )
62+ [ disable_debug_info=yes] ,
63+ [ disable_debug_info=no]
64+ )
6565
6666AS_IF ( [ test "x$enable_debug_info" != xyes] ,
6767 [ AC_SUBST ( debug_info , "" ) ] ,
6868 [ AC_SUBST ( debug_info , "-g" ) ] )
6969
7070AC_ARG_ENABLE ( default-pie ,
71- [ AS_HELP_STRING ( [ --enable-default-pie] ,
71+ [ AS_HELP_STRING ( [ --enable-default-pie] ,
7272 [ build linux toolchain with default PIE @<:@ --enable-default-pie@:>@ ] ) ] ,
73- [ ] ,
74- [ enable_default_pie=no]
75- )
73+ [ ] ,
74+ [ enable_default_pie=no]
75+ )
7676
7777AS_IF ( [ test "x$enable_default_pie" != xyes] ,
7878 [ AC_SUBST ( enable_default_pie , "--disable-default-pie" ) ] ,
@@ -121,10 +121,10 @@ AC_ARG_WITH(sim,
121121 )
122122
123123AC_ARG_WITH ( languages ,
124- [ AS_HELP_STRING ( [ --with-languages=] ,
125- [ Sets the enabled languages for GNU toolchain, defaults to c,c++,fortran for Linux/native and Linux/glibc or c,c++ for Bare-metal, Linux/musl and Linux/uClibc] ) ] ,
126- [ ]
127- )
124+ [ AS_HELP_STRING ( [ --with-languages=] ,
125+ [ Sets the enabled languages for GNU toolchain, defaults to c,c++,fortran for Linux/native and Linux/glibc or c,c++ for Bare-metal, Linux/musl and Linux/uClibc] ) ] ,
126+ [ ]
127+ )
128128
129129AS_IF ( [ test "x$with_abi" = xdefault] ,
130130 [ AS_CASE ( [ $with_arch] ,
@@ -167,35 +167,35 @@ AC_ARG_WITH(extra-multilib-test,
167167 )
168168
169169AS_IF ( [ test "x$with_multilib_generator" != xno] ,
170- [ AC_SUBST ( multilib_gen ,"$with_multilib_generator" ) ] ,
171- [ AC_SUBST ( multilib_gen ,"" ) ] )
170+ [ AC_SUBST ( multilib_gen ,"$with_multilib_generator" ) ] ,
171+ [ AC_SUBST ( multilib_gen ,"" ) ] )
172172
173173AS_IF ( [ test "x$with_extra_multilib_test" != xno] ,
174- [ AC_SUBST ( extra_multilib_test ,"$with_extra_multilib_test" ) ] ,
175- [ AC_SUBST ( extra_multilib_test ,"" ) ] )
174+ [ AC_SUBST ( extra_multilib_test ,"$with_extra_multilib_test" ) ] ,
175+ [ AC_SUBST ( extra_multilib_test ,"" ) ] )
176176
177177AS_IF ( [ test "x$enable_multilib" != xno || test "x$with_multilib_generator" != xno] ,
178- [ AC_SUBST ( multilib_flags ,-- enable-multilib ) ] ,
178+ [ AC_SUBST ( multilib_flags ,-- enable-multilib ) ] ,
179179 [ AC_SUBST ( multilib_flags ,-- disable-multilib ) ] )
180180
181181AS_IF ( [ test "x$enable_multilib" != xno] ,
182- [ AC_SUBST ( glibc_multilib_names ,"rv32imac-ilp32 rv32gc-ilp32d rv64imac-lp64 rv64gc-lp64d rv64gcv-lp64d" ) ] ,
183- [ AC_SUBST ( glibc_multilib_names ,"$with_arch-$with_abi" ) ] )
182+ [ AC_SUBST ( glibc_multilib_names ,"rv32imac-ilp32 rv32gc-ilp32d rv64imac-lp64 rv64gc-lp64d rv64gcv-lp64d" ) ] ,
183+ [ AC_SUBST ( glibc_multilib_names ,"$with_arch-$with_abi" ) ] )
184184
185185AS_IF ( [ test "x$enable_multilib" != xno] ,
186- [ AC_SUBST ( newlib_multilib_names ,"rv32i-ilp32 rv32iac-ilp32 rv32im-ilp32 rv32imac-ilp32 rv32imafc-ilp32f rv64imac-lp64 rv64gc-lp64d" ) ] ,
187- [ AC_SUBST ( newlib_multilib_names ,"$with_arch-$with_abi" ) ] )
186+ [ AC_SUBST ( newlib_multilib_names ,"rv32i-ilp32 rv32iac-ilp32 rv32im-ilp32 rv32imac-ilp32 rv32imafc-ilp32f rv64imac-lp64 rv64gc-lp64d" ) ] ,
187+ [ AC_SUBST ( newlib_multilib_names ,"$with_arch-$with_abi" ) ] )
188188
189189AS_IF ( [ test "x$enable_multilib" != xno] ,
190- [ AC_SUBST ( musl_multilib_names ,"rv32imac-ilp32 rv32gc-ilp32d rv64imac-lp64 rv64gc-lp64d" ) ] ,
191- [ AC_SUBST ( musl_multilib_names ,"$with_arch-$with_abi" ) ] )
190+ [ AC_SUBST ( musl_multilib_names ,"rv32imac-ilp32 rv32gc-ilp32d rv64imac-lp64 rv64gc-lp64d" ) ] ,
191+ [ AC_SUBST ( musl_multilib_names ,"$with_arch-$with_abi" ) ] )
192192
193193AC_ARG_ENABLE ( gcc-checking ,
194- [ AS_HELP_STRING ( [ --enable-gcc-checking] ,
194+ [ AS_HELP_STRING ( [ --enable-gcc-checking] ,
195195 [ Enable gcc internal checking, it will make gcc very slow, only enable it when developing gcc @<:@ --disable-gcc-checking@:>@ ] ) ] ,
196- [ ] ,
197- [ ]
198- )
196+ [ ] ,
197+ [ ]
198+ )
199199AS_IF ( [ test "x$enable_gcc_checking" != x] ,
200200 [ AC_SUBST ( gcc_checking , -- enable-checking=$enable_gcc_checking ) ] ,
201201 [ AC_SUBST ( gcc_checking , "" ) ] )
@@ -231,7 +231,7 @@ AC_CONFIG_FILES([scripts/wrapper/sed/sed], [chmod +x scripts/wrapper/sed/sed])
231231
232232AC_ARG_WITH ( host ,
233233 [ AS_HELP_STRING ( [ --with-host=x86_64-w64-mingw32] ,
234- [ Sets the host for the tools, you probably want nothing] ) ] ,
234+ [ Sets the host for the tools, you probably want nothing] ) ] ,
235235 [ ] ,
236236 [ with_host=default]
237237 )
0 commit comments