Mercurial > hg > CbC > CbC_gcc
annotate libgcc/configure.ac @ 83:6fb1a677d0b5
modify expand_call
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 11 Nov 2011 04:29:33 +0900 |
parents | f6334be47118 |
children | 04ced10e8804 |
rev | line source |
---|---|
0 | 1 dnl Process this file with autoconf to produce a configure script. |
2 | |
3 sinclude(../config/enable.m4) | |
4 sinclude(../config/tls.m4) | |
5 sinclude(../config/acx.m4) | |
6 sinclude(../config/no-executables.m4) | |
7 sinclude(../config/override.m4) | |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
8 sinclude(../config/dfp.m4) |
0 | 9 |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
10 AC_PREREQ(2.64) |
0 | 11 AC_INIT([GNU C Runtime Library], 1.0,,[libgcc]) |
12 AC_CONFIG_SRCDIR([static-object.mk]) | |
13 | |
14 AC_ARG_WITH(target-subdir, | |
15 [ --with-target-subdir=SUBDIR Configuring in a subdirectory for target]) | |
16 AC_ARG_WITH(cross-host, | |
17 [ --with-cross-host=HOST Configuring with a cross compiler]) | |
18 AC_ARG_WITH(ld, | |
19 [ --with-ld arrange to use the specified ld (full pathname)]) | |
20 | |
21 if test "${srcdir}" = "."; then | |
22 if test -n "${with_build_subdir}"; then | |
23 libgcc_topdir="${srcdir}/../.." | |
24 with_target_subdir= | |
25 elif test -z "${with_target_subdir}"; then | |
26 libgcc_topdir="${srcdir}/.." | |
27 else | |
28 if test "${with_target_subdir}" != "."; then | |
29 libgcc_topdir="${srcdir}/${with_multisrctop}../.." | |
30 else | |
31 libgcc_topdir="${srcdir}/${with_multisrctop}.." | |
32 fi | |
33 fi | |
34 else | |
35 libgcc_topdir="${srcdir}/.." | |
36 fi | |
37 AC_SUBST(libgcc_topdir) | |
38 AC_CONFIG_AUX_DIR($libgcc_topdir) | |
39 | |
40 AC_ARG_ENABLE(shared, | |
41 [ --disable-shared don't provide a shared libgcc], | |
42 [ | |
43 case $enable_shared in | |
44 yes | no) ;; | |
45 *) | |
46 enable_shared=no | |
47 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," | |
48 for pkg in $enableval; do | |
49 if test "X$pkg" = "Xgcc" || test "X$pkg" = "Xlibgcc"; then | |
50 enable_shared=yes | |
51 fi | |
52 done | |
53 IFS="$ac_save_ifs" | |
54 ;; | |
55 esac | |
56 ], [enable_shared=yes]) | |
57 AC_SUBST(enable_shared) | |
58 | |
59 AC_MSG_CHECKING([for --enable-version-specific-runtime-libs]) | |
60 AC_ARG_ENABLE(version-specific-runtime-libs, | |
61 [ --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory ], | |
62 [case "$enableval" in | |
63 yes) version_specific_libs=yes ;; | |
64 no) version_specific_libs=no ;; | |
65 *) AC_MSG_ERROR([Unknown argument to enable/disable version-specific libs]);; | |
66 esac], | |
67 [version_specific_libs=no]) | |
68 AC_MSG_RESULT($version_specific_libs) | |
69 | |
70 AC_ARG_WITH(slibdir, | |
71 [ --with-slibdir=DIR shared libraries in DIR [LIBDIR]], | |
72 slibdir="$with_slibdir", | |
73 if test "${version_specific_libs}" = yes; then | |
74 slibdir='$(libsubdir)' | |
75 elif test -n "$with_cross_host" && test x"$with_cross_host" != x"no"; then | |
76 slibdir='$(exec_prefix)/$(host_noncanonical)/lib' | |
77 else | |
78 slibdir='$(libdir)' | |
79 fi) | |
80 AC_SUBST(slibdir) | |
81 | |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
82 # Command-line options. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
83 # Very limited version of AC_MAINTAINER_MODE. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
84 AC_ARG_ENABLE([maintainer-mode], |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
85 [AC_HELP_STRING([--enable-maintainer-mode], |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
86 [enable make rules and dependencies not useful (and |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
87 sometimes confusing) to the casual installer])], |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
88 [case ${enable_maintainer_mode} in |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
89 yes) MAINT='' ;; |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
90 no) MAINT='#' ;; |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
91 *) AC_MSG_ERROR([--enable-maintainer-mode must be yes or no]) ;; |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
92 esac |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
93 maintainer_mode=${enableval}], |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
94 [MAINT='#']) |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
95 AC_SUBST([MAINT])dnl |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
96 |
0 | 97 AC_PROG_INSTALL |
98 | |
99 AC_PROG_AWK | |
100 # We need awk; bail out if it's missing. | |
101 case ${AWK} in | |
102 "") AC_MSG_ERROR([can't build without awk, bailing out]) ;; | |
103 esac | |
104 | |
105 AC_CANONICAL_HOST | |
106 ACX_NONCANONICAL_HOST | |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
107 ACX_NONCANONICAL_TARGET |
0 | 108 GCC_TOPLEV_SUBDIRS |
109 | |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
110 # Calculate toolexeclibdir |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
111 # Also toolexecdir, though it's only used in toolexeclibdir |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
112 case ${version_specific_libs} in |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
113 yes) |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
114 # Need the gcc compiler version to know where to install libraries |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
115 # and header files if --enable-version-specific-runtime-libs option |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
116 # is selected. |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
117 toolexecdir='$(libdir)/gcc/$(target_noncanonical)' |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
118 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)' |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
119 ;; |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
120 no) |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
121 if test -n "$with_cross_host" && |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
122 test x"$with_cross_host" != x"no"; then |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
123 # Install a library built with a cross compiler in tooldir, not libdir. |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
124 toolexecdir='$(exec_prefix)/$(target_noncanonical)' |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
125 toolexeclibdir='$(toolexecdir)/lib' |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
126 else |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
127 toolexecdir='$(libdir)/gcc-lib/$(target_noncanonical)' |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
128 toolexeclibdir='$(libdir)' |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
129 fi |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
130 multi_os_directory=`$CC -print-multi-os-directory` |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
131 case $multi_os_directory in |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
132 .) ;; # Avoid trailing /. |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
133 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;; |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
134 esac |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
135 ;; |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
136 esac |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
137 AC_SUBST(toolexecdir) |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
138 AC_SUBST(toolexeclibdir) |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
139 |
0 | 140 dnl These must be called before AM_PROG_LIBTOOL, because it may want |
141 dnl to call AC_CHECK_PROG. | |
142 AC_CHECK_TOOL(AR, ar) | |
143 AC_CHECK_TOOL(LIPO, lipo, :) | |
144 AC_CHECK_TOOL(NM, nm) | |
145 AC_CHECK_TOOL(RANLIB, ranlib, :) | |
146 AC_CHECK_TOOL(STRIP, strip, :) | |
147 AC_PROG_LN_S | |
148 | |
149 GCC_NO_EXECUTABLES | |
150 AC_PROG_CC | |
151 AC_PROG_CPP_WERROR | |
152 | |
153 # Check for decimal float support. | |
154 AC_CACHE_CHECK([whether decimal floating point is supported], [libgcc_cv_dfp], | |
155 [AC_COMPILE_IFELSE([_Decimal32 x;], [libgcc_cv_dfp=yes], | |
156 [libgcc_cv_dfp=no])]) | |
157 decimal_float=$libgcc_cv_dfp | |
158 AC_SUBST(decimal_float) | |
159 | |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
160 GCC_AC_ENABLE_DECIMAL_FLOAT([$host]) |
0 | 161 |
162 # Check for fixed-point support. | |
163 AC_CACHE_CHECK([whether fixed-point is supported], [libgcc_cv_fixed_point], | |
164 [AC_COMPILE_IFELSE([_Sat _Fract x;], [libgcc_cv_fixed_point=yes], | |
165 [libgcc_cv_fixed_point=no])]) | |
166 fixed_point=$libgcc_cv_fixed_point | |
167 AC_SUBST(fixed_point) | |
168 | |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
169 # Check for assembler CFI support. |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
170 AC_CACHE_CHECK([whether assembler supports CFI directives], [libgcc_cv_cfi], |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
171 [AC_COMPILE_IFELSE( |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
172 [asm("\n\ |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
173 .text\n\ |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
174 .cfi_startproc\n\ |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
175 .cfi_personality 0, symbol\n\ |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
176 .cfi_endproc");], |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
177 [libgcc_cv_cfi=yes], |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
178 [libgcc_cv_cfi=no])]) |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
179 |
0 | 180 # Check 32bit or 64bit for x86. |
181 case ${host} in | |
182 i?86*-*-* | x86_64*-*-*) | |
183 cat > conftest.c <<EOF | |
184 #ifdef __x86_64__ | |
185 host_address=64 | |
186 #else | |
187 host_address=32 | |
188 #endif | |
189 EOF | |
190 eval `${CC-cc} -E conftest.c | grep host_address=` | |
191 rm -f conftest.c | |
192 ;; | |
193 esac | |
194 | |
195 # Collect host-machine-specific information. | |
196 . ${srcdir}/config.host | |
197 | |
198 # Check if Solaris/x86 linker supports ZERO terminator unwind entries. | |
199 # This is after config.host so we can augment tmake_file. | |
200 # Link with -nostartfiles -nodefaultlibs since neither are present while | |
201 # building libgcc. | |
202 case ${host} in | |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
203 i?86-*-solaris2*) |
0 | 204 cat > conftest.s <<EOF |
205 .section .eh_frame,"a",@unwind | |
206 .zero 4 | |
207 .section .jcr,"aw",@progbits | |
208 .zero 8 | |
209 EOF | |
210 if AC_TRY_COMMAND(${CC-cc} -shared -nostartfiles -nodefaultlibs -o conftest.so conftest.s 1>&AS_MESSAGE_LOG_FD); then | |
211 # configure expects config files in libgcc/config, so need a relative | |
212 # path here. | |
213 tmake_file="${tmake_file} ../../gcc/config/i386/t-crtstuff" | |
214 fi | |
215 ;; | |
216 esac | |
217 | |
218 # Check for visibility support. This is after config.host so that | |
219 # we can check for asm_hidden_op. | |
220 AC_CACHE_CHECK([for __attribute__((visibility("hidden")))], | |
221 libgcc_cv_hidden_visibility_attribute, [ | |
222 echo 'int __attribute__ ((visibility ("hidden"))) foo (void) { return 1; }' > conftest.c | |
223 libgcc_cv_hidden_visibility_attribute=no | |
224 if AC_TRY_COMMAND(${CC-cc} -Werror -S conftest.c -o conftest.s 1>&AS_MESSAGE_LOG_FD); then | |
225 if grep "\\$asm_hidden_op.*foo" conftest.s >/dev/null; then | |
226 libgcc_cv_hidden_visibility_attribute=yes | |
227 fi | |
228 fi | |
229 rm -f conftest.* | |
230 ]) | |
231 | |
232 if test $libgcc_cv_hidden_visibility_attribute = yes; then | |
233 vis_hide='-fvisibility=hidden -DHIDE_EXPORTS' | |
234 else | |
235 vis_hide= | |
236 fi | |
237 AC_SUBST(vis_hide) | |
238 | |
239 # See if we have thread-local storage. We can only test assembler | |
240 # sicne link-time and run-time tests require the newly built | |
241 # gcc, which can't be used to build executable due to that libgcc | |
242 # is yet to be built here. | |
243 GCC_CHECK_CC_TLS | |
244 set_have_cc_tls= | |
245 if test "$enable_tls $gcc_cv_have_cc_tls" = "yes yes"; then | |
246 set_have_cc_tls="-DHAVE_CC_TLS" | |
247 fi | |
248 AC_SUBST(set_have_cc_tls) | |
249 | |
63
b7f97abdc517
update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
250 # See if we have emulated thread-local storage. |
b7f97abdc517
update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
251 GCC_CHECK_EMUTLS |
b7f97abdc517
update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
252 set_use_emutls= |
b7f97abdc517
update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
253 if test "$enable_tls $gcc_cv_use_emutls" = "yes yes"; then |
b7f97abdc517
update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
254 set_use_emutls="-DUSE_EMUTLS" |
b7f97abdc517
update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
255 fi |
b7f97abdc517
update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
256 AC_SUBST(set_use_emutls) |
b7f97abdc517
update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
257 |
0 | 258 # Conditionalize the makefile for this target machine. |
259 tmake_file_= | |
260 for f in ${tmake_file} | |
261 do | |
262 if test -f ${srcdir}/config/$f | |
263 then | |
264 tmake_file_="${tmake_file_} \$(srcdir)/config/$f" | |
265 fi | |
266 done | |
267 tmake_file="${tmake_file_}" | |
268 AC_SUBST(tmake_file) | |
269 | |
270 # Substitute configuration variables | |
271 AC_SUBST(extra_parts) | |
272 AC_SUBST(asm_hidden_op) | |
273 | |
274 # We need multilib support. | |
275 AC_CONFIG_FILES([Makefile]) | |
276 AC_CONFIG_COMMANDS([default], | |
277 [[test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h | |
278 if test -n "$CONFIG_FILES"; then | |
279 # FIXME: We shouldn't need to set ac_file | |
280 ac_file=Makefile | |
281 . ${libgcc_topdir}/config-ml.in | |
282 fi]], | |
283 [[srcdir=${srcdir} | |
284 host=${host} | |
285 with_target_subdir=${with_target_subdir} | |
286 with_multisubdir=${with_multisubdir} | |
287 ac_configure_args="--enable-multilib ${ac_configure_args}" | |
288 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} | |
289 libgcc_topdir=${libgcc_topdir} | |
290 CC="${CC}" | |
291 ]]) | |
292 AC_OUTPUT |