From 5dba7d0a6945ee746837ba27d4f06f9492fe8c91 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Mon, 23 Mar 2009 21:47:19 +0100 Subject: [PATCH] Use --tag=FC with libtool also for .f90 files. * automake.in: Set 'libtool_tag' for language `fc'. * tests/fort5.test: Grep for the tag. * THANKS: Update. Report by John R. Cary. Signed-off-by: Ralf Wildenhues --- ChangeLog | 8 ++++++++ THANKS | 1 + automake.in | 1 + tests/fort5.test | 5 ++++- 4 files changed, 14 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2d85e13b8..2ae89ef95 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-03-23 Ralf Wildenhues + + Use --tag=FC with libtool also for .f90 files. + * automake.in: Set 'libtool_tag' for language `fc'. + * tests/fort5.test: Grep for the tag. + * THANKS: Update. + Report by John R. Cary. + 2009-03-22 Peter Breitenlohner Ralf Wildenhues diff --git a/THANKS b/THANKS index c99d63486..9f91c9c4c 100644 --- a/THANKS +++ b/THANKS @@ -155,6 +155,7 @@ Johannes Nicolai johannes.nicolai@student.hpi.uni-potsdam.de John F Trudeau JohnTrudeau@firsthealth.com John Pierce hawkfan@pyrotechnics.com John Ratliff autoconf@technoplaza.net +John R. Cary cary@txcorp.com John W. Coomes jcoomes@eng.Sun.COM Josh MacDonald jmacd@cs.berkeley.edu Joshua Cowan jcowan@jcowan.reslife.okstate.edu diff --git a/automake.in b/automake.in index 9367a089b..c1321f019 100755 --- a/automake.in +++ b/automake.in @@ -920,6 +920,7 @@ register_language ('name' => 'fc', 'compiler' => 'FCCOMPILE', 'compile_flag' => '-c', 'output_flag' => '-o', + 'libtool_tag' => 'FC', 'lder' => 'FCLD', 'ld' => '$(FC)', 'pure' => 1, diff --git a/tests/fort5.test b/tests/fort5.test index d39bb215d..439071176 100755 --- a/tests/fort5.test +++ b/tests/fort5.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2006 Free Software Foundation, Inc. +# Copyright (C) 2006, 2009 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -84,6 +84,9 @@ $AUTOCONF # skip in this case: grep LT_PREREQ configure && Exit 77 +# Ensure we use --tag for f90, too. +grep " --tag=FC" Makefile.in + # configure may Exit 77 if no compiler is found, # or if the compiler cannot compile Fortran 90 files). ./configure -- 2.47.2