aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/acinclude.m4
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@gcc.gnu.org>2006-10-06 08:21:22 +0000
committerDanny Smith <dannysmith@gcc.gnu.org>2006-10-06 08:21:22 +0000
commit16a314a996a3220e2bedd78b7cadb1ad27a4e832 (patch)
tree59696f984898b364d581f6a67d3729c9946c74a5 /libgfortran/acinclude.m4
parent9731a71c571699e497274dc343cbbfb43ea5b213 (diff)
acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__ from test.
* acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__ from test. * configure: Regenerate. From-SVN: r117488
Diffstat (limited to 'libgfortran/acinclude.m4')
-rw-r--r--libgfortran/acinclude.m45
1 files changed, 1 insertions, 4 deletions
diff --git a/libgfortran/acinclude.m4 b/libgfortran/acinclude.m4
index 3fe4e73a4f6..73d67e18784 100644
--- a/libgfortran/acinclude.m4
+++ b/libgfortran/acinclude.m4
@@ -141,11 +141,8 @@ AC_DEFUN([LIBGFOR_CHECK_ATTRIBUTE_ALIAS], [
AC_CACHE_CHECK([whether the target supports symbol aliases],
have_attribute_alias, [
AC_TRY_LINK([
-#define ULP STR1(__USER_LABEL_PREFIX__)
-#define STR1(x) STR2(x)
-#define STR2(x) #x
void foo(void) { }
-extern void bar(void) __attribute__((alias(ULP "foo")));],
+extern void bar(void) __attribute__((alias("foo")));],
[bar();], have_attribute_alias=yes, have_attribute_alias=no)])
if test $have_attribute_alias = yes; then
AC_DEFINE(HAVE_ATTRIBUTE_ALIAS, 1,