Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
02ef40d9
Commit
02ef40d9
authored
Jun 09, 2002
by
Tim Josling
Committed by
Tim Josling
Jun 09, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make configure.in check that languages specified were found.
From-SVN: r54418
parent
37a4aa31
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
5 deletions
+30
-5
gcc/ChangeLog
+7
-0
gcc/configure
+12
-3
gcc/configure.in
+11
-2
No files found.
gcc/ChangeLog
View file @
02ef40d9
...
...
@@ -8,6 +8,13 @@
update docs for -b option.
2002-06-10 Tim Josling <tej@melbpc.org.au>
* configure.in (remaining_languages_check):
Added check that all languages specified were found.
Exit if not found. Previous behaviour was silent failure.
* configure: Regenerated.
2002-06-10 Tim Josling <tej@melbpc.org.au>
First steps to making treelang documentation compliant, based on
instructions in sourcebuild.texi. Also add to gcc.c list of
...
...
gcc/configure
View file @
02ef40d9
...
...
@@ -7913,8 +7913,7 @@ if test x"${enable_languages+set}" != xset; then
enable_languages
=
all
fi
else
if
test
x
"
${
enable_languages
}
"
=
x
||
test
x
"
${
enable_languages
}
"
=
xyes
;
if
test
x
"
${
enable_languages
}
"
=
x
;
then
{
echo
"configure: error: --enable-languages needs at least one language argument"
1>&2
;
exit
1
;
}
fi
...
...
@@ -7952,6 +7951,7 @@ do
esac
done
remaining_languages
=
${
enable_languages
}
subdirs
=
for
lang
in
${
srcdir
}
/
*
/config-lang.in ..
do
...
...
@@ -7976,6 +7976,7 @@ do
*
)
add_this_lang
=
no
;;
esac
if
test
x
"
${
add_this_lang
}
"
=
xyes
;
then
remaining_languages
=
`
echo
$remaining_languages
| sed
-e
s/
${
lang_alias
}
//g
`
case
$lang
in
${
srcdir
}
/ada/config-lang.in
)
if
test
x
$have_gnat
=
xyes
;
then
...
...
@@ -7991,6 +7992,14 @@ do
esac
done
remaining_languages_check
=
`
echo
$remaining_languages
| sed
-e
's/,//g'
-e
's/^c$//'
g
`
if
test
"xxx
$remaining_languages_check
"
!=
"xxx"
-a
"xxx
$remaining_languages_check
"
!=
"xxxall"
;
then
remaining_languages_clean
=
`
echo
$remaining_languages
| sed
-e
's/^c,//'
-e
's/,c,/,/'
-e
's/,c$//'
-e
's/^c$//'
-e
's/,,*/,/g'
-e
's/^,//g'
-e
's/,$//g'
`
echo
"Language alias(es) not found:
$remaining_languages_clean
"
echo
"Refer to the configure instructions in the doc directory"
exit
1
fi
# Make gthr-default.h if we have a thread file.
gthread_flags
=
if
test
$thread_file
!=
single
;
then
...
...
@@ -8035,7 +8044,7 @@ fi
echo
$ac_n
"checking whether to enable maintainer-specific portions of Makefiles""...
$ac_c
"
1>&6
echo
"configure:80
39
: checking whether to enable maintainer-specific portions of Makefiles"
>
&5
echo
"configure:80
48
: checking whether to enable maintainer-specific portions of Makefiles"
>
&5
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
if
test
"
${
enable_maintainer_mode
+set
}
"
=
set
;
then
enableval
=
"
$enable_maintainer_mode
"
...
...
gcc/configure.in
View file @
02ef40d9
...
...
@@ -2169,8 +2169,7 @@ if test x"${enable_languages+set}" != xset; then
enable_languages=all
fi
else
if test x"${enable_languages}" = x ||
test x"${enable_languages}" = xyes;
if test x"${enable_languages}" = x;
then
AC_MSG_ERROR([--enable-languages needs at least one language argument])
fi
...
...
@@ -2210,6 +2209,7 @@ changequote([,])dnl
esac
done
remaining_languages=${enable_languages}
subdirs=
for lang in ${srcdir}/*/config-lang.in ..
do
...
...
@@ -2235,6 +2235,7 @@ changequote(,)dnl
*) add_this_lang=no ;;
esac
if test x"${add_this_lang}" = xyes; then
remaining_languages=`echo $remaining_languages | sed -e s/${lang_alias}//g`
case $lang in
${srcdir}/ada/config-lang.in)
if test x$have_gnat = xyes ; then
...
...
@@ -2251,6 +2252,14 @@ changequote([,])dnl
esac
done
remaining_languages_check=`echo $remaining_languages | sed -e 's/,//g' -e 's/^c$//'g`
if test "xxx$remaining_languages_check" != "xxx" -a "xxx$remaining_languages_check" != "xxxall" ; then
remaining_languages_clean=`echo $remaining_languages | sed -e 's/^c,//' -e 's/,c,/,/' -e 's/,c$//' -e 's/^c$//' -e 's/,,*/,/g' -e 's/^,//g' -e 's/,$//g' `
echo "Language alias(es) not found: $remaining_languages_clean"
echo "Refer to the configure instructions in the doc directory"
exit 1
fi
# Make gthr-default.h if we have a thread file.
gthread_flags=
if test $thread_file != single; then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment