summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/cp/mpw-config.in
blob: 88dd85f72e9fe63e5dc424a8ca7f6eeea8f574f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
# Configuration fragment for G++.
# Most of the real configuration work happens in the main GCC configure.

# We need to join some lines in the Makefile.in before the sed
# process will work properly.  The funky little sed script works by
# recognizing lines with a trailing '$@ \', adding the next line to
# its "pattern space", editing out the backslash and line, then
# putting the result out.

sed -e '/$@ \\/{N;s/$@ \\./$@ /;P;D;}' \Option-d
    "{srcdir}"Makefile.in >"{o}"hacked_Makefile.in
OpenPOWER on IntegriCloud