]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/d/config-lang.in
Update copyright years.
[thirdparty/gcc.git] / gcc / d / config-lang.in
1 # config-lang.in -- Top level configure fragment for gcc D frontend.
2 # Copyright (C) 2006-2020 Free Software Foundation, Inc.
3
4 # GCC is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 3, or (at your option)
7 # any later version.
8
9 # GCC is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
13
14 # You should have received a copy of the GNU General Public License
15 # along with GCC; see the file COPYING3. If not see
16 # <http://www.gnu.org/licenses/>.
17
18 # Configure looks for the existence of this file to auto-config each language.
19 # We define several parameters used by configure:
20 #
21 # language - name of language as it would appear in $(LANGUAGES)
22 # compilers - value to add to $(COMPILERS)
23
24 language="d"
25
26 compilers="d21\$(exeext)"
27
28 phobos_target_deps="target-zlib target-libbacktrace"
29 phobos_target_libs="target-libphobos $phobos_target_deps"
30
31 case "${noconfigdirs}" in
32 # Check if phobos was disabled as unsupported
33 *target-libphobos*)
34 disabled_target_libs="$disabled_target_libs $phobos_target_deps"
35 ;;
36 *)
37 # The --disable-<component> handler in configure.ac is called after
38 # config-lang.in. So when using --disable-libphobos, it has not been
39 # added to noconfigdirs here yet
40 if test x${enable_libphobos} != xno; then
41 target_libs="$phobos_target_libs"
42 else
43 disabled_target_libs="$disabled_target_libs $phobos_target_libs"
44 fi
45 ;;
46 esac
47
48 gtfiles="\$(srcdir)/d/d-tree.h \$(srcdir)/d/d-builtins.cc \$(srcdir)/d/d-lang.cc \$(srcdir)/d/modules.cc \$(srcdir)/d/typeinfo.cc"
49
50 # Do not build by default.
51 build_by_default="no"