From 7cc43d2f57e9404b3e34fdeca08033de4becf0f3 Mon Sep 17 00:00:00 2001 From: Brian Fraser Date: Wed, 11 Sep 2013 12:22:45 +0200 Subject: 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. --- Configure | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'Configure') 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 < #$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 -- cgit v1.2.1