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