1*05598a80Schristos# This file is part of GCC. 2*05598a80Schristos# 3*05598a80Schristos# GCC is free software; you can redistribute it and/or modify it under 4*05598a80Schristos# the terms of the GNU General Public License as published by the Free 5*05598a80Schristos# Software Foundation; either version 3, or (at your option) any later 6*05598a80Schristos# version. 7*05598a80Schristos# 8*05598a80Schristos# GCC is distributed in the hope that it will be useful, but WITHOUT 9*05598a80Schristos# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 10*05598a80Schristos# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 11*05598a80Schristos# for more details. 12*05598a80Schristos# 13*05598a80Schristos# You should have received a copy of the GNU General Public License 14*05598a80Schristos# along with GCC; see the file COPYING3. If not see 15*05598a80Schristos# <http://www.gnu.org/licenses/>. 16*05598a80Schristos 17*05598a80Schristos# Define flags, LIBSTDCXX_RAW_CXX_CXXFLAGS and # LIBSTDCXX_RAW_CXX_LDFLAGS, 18*05598a80Schristos# for libstdc++-v3 header files to compile and link libraries in C++ with 19*05598a80Schristos# raw_cxx=true. 20*05598a80SchristosAC_DEFUN([GCC_LIBSTDCXX_RAW_CXX_FLAGS], [ 21*05598a80Schristos AC_REQUIRE([ACX_NONCANONICAL_TARGET]) 22*05598a80Schristos LIBSTDCXX_RAW_CXX_CXXFLAGS="\ 23*05598a80Schristos -I\$(top_builddir)/../libstdc++-v3/include \ 24*05598a80Schristos -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \ 25*05598a80Schristos -I\$(top_srcdir)/../libstdc++-v3/libsupc++" 26*05598a80Schristos LIBSTDCXX_RAW_CXX_LDFLAGS="\ 27*05598a80Schristos \$(top_builddir)/../libstdc++-v3/src/libstdc++.la" 28*05598a80Schristos AC_SUBST(LIBSTDCXX_RAW_CXX_CXXFLAGS) 29*05598a80Schristos AC_SUBST(LIBSTDCXX_RAW_CXX_LDFLAGS) 30*05598a80Schristos]) 31