Commit 2426310f8df816133136982e74e9f944ff185256
1 parent
11f22572
Exists in
master
Removendo mensagem de erro e falha na deteccao de arquitetura durante autoconf/c…
…onfigure em openSUSE 12.1 64 bits
Showing
1 changed file
with
5 additions
and
14 deletions
Show diff stats
latest/configure.ac
... | ... | @@ -42,6 +42,9 @@ AC_INIT([pw3270], [4.2], [perry.werneck@gmail.com]) |
42 | 42 | dnl Place auxilliary scripts here. |
43 | 43 | AC_CONFIG_AUX_DIR([scripts]) |
44 | 44 | |
45 | +dnl Compute the canonical host-system type | |
46 | +AC_CANONICAL_HOST | |
47 | + | |
45 | 48 | dnl Put macro definitions here (though they aren't used). |
46 | 49 | AC_CONFIG_HEADER([src/include/lib3270/config.h]) |
47 | 50 | |
... | ... | @@ -172,24 +175,12 @@ rm -f conftest.$ac_objext conftest.err m4_ifval([$1], [conftest.$ac_ext])[]dnl |
172 | 175 | ])# GLIB_CHECK_COMPILE_WARNINGS |
173 | 176 | |
174 | 177 | AC_MSG_CHECKING(for GNUC visibility attribute) |
175 | -GLIB_CHECK_COMPILE_WARNINGS([ | |
178 | +GLIB_CHECK_COMPILE_WARNINGS([AC_LANG_SOURCE([ | |
176 | 179 | void |
177 | 180 | __attribute__ ((visibility ("hidden"))) |
178 | 181 | f_hidden (void) |
179 | 182 | { |
180 | 183 | } |
181 | -/* | |
182 | -void | |
183 | -__attribute__ ((visibility ("internal"))) | |
184 | - f_internal (void) | |
185 | -{ | |
186 | -} | |
187 | -void | |
188 | -__attribute__ ((visibility ("protected"))) | |
189 | - f_protected (void) | |
190 | -{ | |
191 | -} | |
192 | -*/ | |
193 | 184 | void |
194 | 185 | __attribute__ ((visibility ("default"))) |
195 | 186 | f_default (void) |
... | ... | @@ -203,7 +194,7 @@ int main (int argc, char **argv) |
203 | 194 | f_default(); |
204 | 195 | return 0; |
205 | 196 | } |
206 | -],g_have_gnuc_visibility=yes,g_have_gnuc_visibility=no) | |
197 | +])],g_have_gnuc_visibility=yes,g_have_gnuc_visibility=no) | |
207 | 198 | AC_MSG_RESULT($g_have_gnuc_visibility) |
208 | 199 | if test x$g_have_gnuc_visibility = xyes; then |
209 | 200 | AC_DEFINE(HAVE_GNUC_VISIBILITY, 1, [supports GCC visibility attributes]) | ... | ... |