PR libfortran/24991
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Dec 2005 08:31:41 +0000 (08:31 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Dec 2005 08:31:41 +0000 (08:31 +0000)
commited18b3deac737a0886baf8d335ad6ec3c34bbac9
treed03935a03d256c8dfc008b48734e9748d5f36881
parent6462fa7bb428be29f9a18871a194954c9f9cf871
PR libfortran/24991
* acinclude.m4 (LIBGFOR_CHECK_PRAGMA_WEAK): Rename to...
(LIBGFOR_GTHREAD_WEAK): ... this.  Define SUPPORTS_WEAK rather
than HAVE_PRAGMA_WEAK.  Define GTHREAD_USE_WEAK to 0 on hosts
that shouldn't use weak in gthr.h.
* configure.ac: Use LIBGFOR_GTHREAD_WEAK instead of
LIBGFOR_CHECK_PRAGMA_WEAK.
* config.h.in: Regenerated.
* configure: Regenerated.
* io/io.h (SUPPORTS_WEAK): Don't define here.

* intrinsics/ftell.c (ftell, FTELL_SUB): Add unlock_unit call.
* intrinsics/fget.c (fgetc, fputs): Likewise.
* intrinsics/tty.c (ttynam): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108471 138bc75d-0d04-0410-961f-82ee72b054a4
libgfortran/ChangeLog