This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0abd162
)
Add ability to include literal text in the prototype check.
author
Andy Dougherty
<doughera@lafayette.edu>
Thu, 24 Jan 2019 02:12:29 +0000
(21:12 -0500)
committer
Andy Dougherty
<doughera@lafayette.edu>
Thu, 24 Jan 2019 02:12:29 +0000
(21:12 -0500)
This is the same technique as in the metaconfig unit Protochk.U.
See that unit for more usage information. It is a bit clunky,
but does work.
Configure
patch
|
blob
|
blame
|
history
diff --git
a/Configure
b/Configure
index
a83cbdf
..
1795457
100755
(executable)
--- a/
Configure
+++ b/
Configure
@@
-10739,6
+10739,7
@@
hasproto='varname=$1; func=$2; shift; shift;
while $test $# -ge 2; do
case "$1" in
$define) echo "#include <$2>";;
+ literal) echo "$2" ;;
esac ;
shift 2;
done > try.c;