diff options
author | Brian Fraser <fraserbn@gmail.com> | 2014-07-25 19:46:41 +0200 |
---|---|---|
committer | Brian Fraser <fraserbn@gmail.com> | 2014-07-25 19:46:41 +0200 |
commit | ecd78e215c9b4ab3f3ab71b30e76bbead372a84e (patch) | |
tree | 9fcb88b977ed8f30f21b868c91bee36c3acb1e60 /Configure | |
parent | a872f748481d44baa8bc0f6eb29659782c96ba7f (diff) | |
download | perl-ecd78e215c9b4ab3f3ab71b30e76bbead372a84e.tar.gz |
Configure: Handle hyphens when searching cpp symbols
This is really just for Android, which in Configure is
known as linux-android; the hyphen is passes as-is to
the preprocessor, which handles it as a minus.
So don't do that.
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -22066,11 +22066,13 @@ EOSH cat <<EOSH >>Cppsym.know $osname EOSH +./tr '-' '_' < Cppsym.know > Cppsym.know.tmp +$cat Cppsym.know.tmp > Cppsym.know ./tr '[a-z]' '[A-Z]' < Cppsym.know > Cppsym.a ./tr '[A-Z]' '[a-z]' < Cppsym.know > Cppsym.b $cat Cppsym.know > Cppsym.c $cat Cppsym.a Cppsym.b Cppsym.c | $tr ' ' $trnl | $sort | $uniq > Cppsym.know -$rm -f Cppsym.a Cppsym.b Cppsym.c +$rm -f Cppsym.a Cppsym.b Cppsym.c Cppsym.know.tmp cat <<EOSH > Cppsym $startsh if $test \$# -gt 0; then |