xref: /netbsd-src/external/gpl3/gcc.old/dist/gcc/jit/config-lang.in (revision 8feb0f0b7eaff0608f8350bbfa3098827b4bb91b)
136ac495dSmrg# Top level configure fragment for libgccjit.so.
2*8feb0f0bSmrg#   Copyright (C) 2013-2020 Free Software Foundation, Inc.
336ac495dSmrg
436ac495dSmrg#This file is part of GCC.
536ac495dSmrg
636ac495dSmrg#GCC is free software; you can redistribute it and/or modify
736ac495dSmrg#it under the terms of the GNU General Public License as published by
836ac495dSmrg#the Free Software Foundation; either version 3, or (at your option)
936ac495dSmrg#any later version.
1036ac495dSmrg
1136ac495dSmrg#GCC is distributed in the hope that it will be useful,
1236ac495dSmrg#but WITHOUT ANY WARRANTY; without even the implied warranty of
1336ac495dSmrg#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1436ac495dSmrg#GNU General Public License for more details.
1536ac495dSmrg
1636ac495dSmrg# You should have received a copy of the GNU General Public License
1736ac495dSmrg# along with GCC; see the file COPYING3.  If not see
1836ac495dSmrg# <http://www.gnu.org/licenses/>.
1936ac495dSmrg
2036ac495dSmrg# Configure looks for the existence of this file to auto-config each language.
2136ac495dSmrg# We define several parameters used by configure:
2236ac495dSmrg#
2336ac495dSmrg# language	- name of language as it would appear in $(LANGUAGES)
2436ac495dSmrg# compilers	- value to add to $(COMPILERS)
2536ac495dSmrg
2636ac495dSmrglanguage="jit"
2736ac495dSmrg
2836ac495dSmrgcompilers=""
2936ac495dSmrg
3036ac495dSmrgtarget_libs=""
3136ac495dSmrg
3236ac495dSmrggtfiles="\$(srcdir)/jit/dummy-frontend.c"
3336ac495dSmrg
3436ac495dSmrg# The configuration requires --enable-host-shared
3536ac495dSmrg# for jit to be supported.
3636ac495dSmrg# Hence to get the jit, one must configure with:
3736ac495dSmrg#   --enable-host-shared --enable-languages=jit
3836ac495dSmrgbuild_by_default="no"
39