mirror of
git://git.sv.gnu.org/autoconf
synced 2025-03-07 14:26:52 +08:00
* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
singly- or doubly-quoted arguments to `-cmdline', `-ignore', `-def', for the benefit of Portland `pgf90 -Mipa'. Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
This commit is contained in:
parent
8bf83c29b9
commit
f4dd19c75b
@ -1,3 +1,10 @@
|
||||
2006-01-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
|
||||
singly- or doubly-quoted arguments to `-cmdline', `-ignore',
|
||||
`-def', for the benefit of Portland `pgf90 -Mipa'.
|
||||
Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
|
||||
|
||||
2006-01-04 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* doc/autoconf.texi: Update copyright (and other) dates to 2006.
|
||||
|
@ -1,6 +1,6 @@
|
||||
# This file is part of Autoconf. -*- Autoconf -*-
|
||||
# Fortran languages support.
|
||||
# Copyright (C) 2001, 2003, 2004, 2005
|
||||
# Copyright (C) 2001, 2003, 2004, 2005, 2006
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
@ -558,10 +558,11 @@ case $ac_[]_AC_LANG_ABBREV[]_v_output in
|
||||
# Portland Group compiler has singly- or doubly-quoted -cmdline argument
|
||||
# Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4.
|
||||
# Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2".
|
||||
*-cmdline\ \'*)
|
||||
ac_[]_AC_LANG_ABBREV[]_v_output=`echo $ac_[]_AC_LANG_ABBREV[]_v_output | sed "s/-cmdline *'[[^']]*'/ /g"` ;;
|
||||
*-cmdline*)
|
||||
ac_[]_AC_LANG_ABBREV[]_v_output=`echo $ac_[]_AC_LANG_ABBREV[]_v_output | sed 's/-cmdline *"[[^"]]*"/ /g'` ;;
|
||||
*-cmdline\ * | *-ignore\ * | *-def\ *)
|
||||
ac_[]_AC_LANG_ABBREV[]_v_output=`echo $ac_[]_AC_LANG_ABBREV[]_v_output | sed "\
|
||||
s/-cmdline *'[[^']]*'/ /g; s/-cmdline *\"[[^\"]]*\"/ /g
|
||||
s/-ignore *'[[^']]*'/ /g; s/-ignore *\"[[^\"]]*\"/ /g
|
||||
s/-def *'[[^']]*'/ /g; s/-def *\"[[^\"]]*\"/ /g"` ;;
|
||||
|
||||
# If we are using Cray Fortran then delete quotes.
|
||||
*cft90*)
|
||||
|
Loading…
Reference in New Issue
Block a user