summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2013-09-11 12:22:45 +0200
committerNicholas Clark <nick@ccl4.org>2013-09-16 11:58:45 +0200
commit7cc43d2f57e9404b3e34fdeca08033de4becf0f3 (patch)
treebe39bcebe3a443bfd03bbbd09aefd46bca089cf6 /Configure
parent1400a53b58cffb93a158ce6193542245eaa39b7d (diff)
downloadperl-7cc43d2f57e9404b3e34fdeca08033de4becf0f3.tar.gz
Eliminate the use of voidflags from Configure's pointer size determination.
This should permit metaconfig to drop the entire voidflags logic from Configure and the config.sh related files.
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure7
1 files changed, 1 insertions, 6 deletions
diff --git a/Configure b/Configure
index 74806efe55..8006a47813 100755
--- a/Configure
+++ b/Configure
@@ -6768,11 +6768,6 @@ echo " "
case "$ptrsize" in
'')
echo "Checking to see how big your pointers are..." >&4
- if test "$voidflags" -gt 7; then
- echo '#define VOID_PTR char *' > try.c
- else
- echo '#define VOID_PTR void *' > try.c
- fi
$cat >>try.c <<EOCP
#include <stdio.h>
#$i_stdlib I_STDLIB
@@ -6781,7 +6776,7 @@ case "$ptrsize" in
#endif
int main()
{
- printf("%d\n", (int)sizeof(VOID_PTR));
+ printf("%d\n", (int)sizeof(void *));
exit(0);
}
EOCP