8sa1-gcc/gcc/f/config-lang.in

68 lines
2.2 KiB
Plaintext
Raw Normal View History

1997-08-12 03:47:32 -04:00
# Top level configure fragment for GNU FORTRAN.
# Copyright (C) 1995-1997 Free Software Foundation, Inc.
#This file is part of GNU Fortran.
#GNU Fortran is free software; you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Software Foundation; either version 2, or (at your option)
#any later version.
#GNU Fortran is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#GNU General Public License for more details.
#You should have received a copy of the GNU General Public License
#along with GNU Fortran; see the file COPYING. If not, write to
#the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#02111-1307, USA.
# Configure looks for the existence of this file to auto-config each language.
# We define several parameters used by configure:
#
# language - name of language as it would appear in $(LANGUAGES)
# compilers - value to add to $(COMPILERS)
# stagestuff - files to add to $(STAGESTUFF)
# diff_excludes - files to ignore when building diffs between two versions.
#if grep DECL_STATIC_CONSTRUCTOR $srcdir/tree.h >/dev/null; then
# if grep flag_move_all_movables $srcdir/toplev.c >/dev/null; then true
# else
# echo "You haven't applied the patches to the GCC 2.7.x distribution in"
# echo "$srcdir as described in g77/README.g77 and gcc/f/gbe/README."
# echo ""
# exit 1
# fi
#else
# if grep put_pending_sizes $srcdir/stor-layout.c >/dev/null; then true
# else
# echo "You haven't applied the patches to the GCC 2.6.x distribution in"
# echo "$srcdir as described in g77/README.g77 and gcc/f/gbe/README."
# echo ""
# exit 1
# fi
#fi
1997-08-12 03:47:32 -04:00
language="f77"
compilers="f771\$(exeext)"
stagestuff="g77\$(exeext) g77-cross\$(exeext) f771\$(exeext)"
1997-08-12 03:47:32 -04:00
diff_excludes="-x \"f/g77.info*\""
test -d f || mkdir f
for stageN in stage1 stage2 stage3 stage4
do
test -d $stageN || mkdir $stageN
test -d $stageN/f || mkdir $stageN/f
done
# Make links into top-level stageN from target trees.
for stageN in stage1 stage2 stage3 stage4 include
do
$remove -f f/$stageN
1997-08-12 03:47:32 -04:00
(cd f; $symbolic_link ../$stageN . 2>/dev/null)
done