OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [gold/] [configure.ac] - Diff between revs 27 and 159

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 27 Rev 159
Line 259... Line 259...
AM_CONDITIONAL(GCC, test "$GCC" = yes)
AM_CONDITIONAL(GCC, test "$GCC" = yes)
 
 
AM_CONDITIONAL(NATIVE_OR_CROSS_LINKER,
AM_CONDITIONAL(NATIVE_OR_CROSS_LINKER,
  test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias" -o "x$host_alias" = "x$build_alias")
  test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias" -o "x$host_alias" = "x$build_alias")
 
 
 
dnl Test for whether static linking is supported.  Some systems do not
 
dnl install static libraries.  This only affects the set of tests that
 
dnl we run.
 
AC_CACHE_CHECK([whether static linking works], [gold_cv_lib_static],
 
[LDFLAGS_hold=$LDFLAGS
 
LDFLAGS="$LDFLAGS -static"
 
AC_LINK_IFELSE([
 
AC_LANG_PROGRAM([[void f() { }]])],
 
[gold_cv_lib_static=yes], [gold_cv_lib_static=no])
 
LDFLAGS=$LDFLAGS_hold])
 
AM_CONDITIONAL(HAVE_STATIC, test "$gold_cv_lib_static" = "yes")
 
 
dnl Some architectures do not support taking pointers of functions
dnl Some architectures do not support taking pointers of functions
dnl defined in shared libraries except in -fPIC mode.  We need to
dnl defined in shared libraries except in -fPIC mode.  We need to
dnl tell the unittest framework if we're compiling for one of those
dnl tell the unittest framework if we're compiling for one of those
dnl targets, so it doesn't try to run the tests that do that.
dnl targets, so it doesn't try to run the tests that do that.
AM_CONDITIONAL(FN_PTRS_IN_SO_WITHOUT_PIC, [
AM_CONDITIONAL(FN_PTRS_IN_SO_WITHOUT_PIC, [
Line 344... Line 356...
#endif
#endif
], [gold_cv_lib_glibc29=yes], [gold_cv_lib_glibc29=no])])
], [gold_cv_lib_glibc29=yes], [gold_cv_lib_glibc29=no])])
 
 
AM_CONDITIONAL(TLS_DESCRIPTORS, test "$gold_cv_lib_glibc29" = "yes")
AM_CONDITIONAL(TLS_DESCRIPTORS, test "$gold_cv_lib_glibc29" = "yes")
 
 
dnl Check whether the compiler supports constructor priorities in
 
dnl attributes, which were added in gcc 4.3.
 
AC_CACHE_CHECK([for constructor priorities], [gold_cv_c_conprio],
 
[AC_COMPILE_IFELSE([void f() __attribute__ ((constructor (1)));],
 
[gold_cv_c_conprio=yes], [gold_cv_c_conprio=no])])
 
 
 
AM_CONDITIONAL(CONSTRUCTOR_PRIORITY, test "$gold_cv_c_conprio" = "yes")
 
 
 
dnl Test for the -frandom-seed option.
dnl Test for the -frandom-seed option.
AC_CACHE_CHECK([for -frandom-seed support], [gold_cv_c_random_seed],
AC_CACHE_CHECK([for -frandom-seed support], [gold_cv_c_random_seed],
[save_CFLAGS="$CFLAGS"
[save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -frandom-seed=foo"
CFLAGS="$CFLAGS -frandom-seed=foo"
AC_COMPILE_IFELSE([int i;], [gold_cv_c_random_seed=yes],
AC_COMPILE_IFELSE([int i;], [gold_cv_c_random_seed=yes],

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.