]> git.ipfire.org Git - thirdparty/gcc.git/commit - libgfortran/configure
re PR fortran/47571 (undefined reference to clock_gettime in Linux build of 02/01...
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Mon, 31 Aug 2015 10:37:30 +0000 (10:37 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Mon, 31 Aug 2015 10:37:30 +0000 (10:37 +0000)
commite78549932d92690dd277938fac358c039a5d210d
tree8abc0ef2b196b276af26f60460040f32e81575d8
parent4ba00e9dba4d8e2113d3347532fe9aff2a293625
re PR fortran/47571 (undefined reference to clock_gettime in Linux build of 02/01/2011)

PR libfortran/47571
* acinclude.m4 (LIBGFOR_GTHREAD_WEAK): Remove.
(LIBGFOR_CHECK_WEAKREF): New test.
* configure.ac: Call LIBGFOR_CHECK_WEAKREF instead of
LIBGFOR_GTHREAD_WEAK.
* config.h.in: Regenerate.
* configure: Regenerate.
* intrinsics/system_clock.c: Use SUPPORTS_WEAKREF instead of
SUPPORTS_WEAK and GTHREAD_USE_WEAK.

From-SVN: r227335
libgfortran/ChangeLog
libgfortran/acinclude.m4
libgfortran/config.h.in
libgfortran/configure
libgfortran/configure.ac
libgfortran/intrinsics/system_clock.c