acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__ from test.
authorDanny Smith <dannysmith@gcc.gnu.org>
Fri, 6 Oct 2006 08:21:22 +0000 (08:21 +0000)
committerDanny Smith <dannysmith@gcc.gnu.org>
Fri, 6 Oct 2006 08:21:22 +0000 (08:21 +0000)
* acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__ from test.
* configure: Regenerate.

From-SVN: r117488

libgfortran/acinclude.m4
libgfortran/configure

index 3fe4e73a4f6cc1851cd00074ea69b7afe05752bf..73d67e18784971e0ac3ed251230cc0b5fb40cc2e 100644 (file)
@@ -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,
index 75872aa861db76510c86f7b2cb7f93915de27044..6544f66bed12292c0405dceed45f8610d08fb461 100755 (executable)
@@ -23161,11 +23161,8 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
-#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")));
 int
 main ()
 {