Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2015-03-18 23:44:41 +0300
committerCorinna Vinschen <corinna@vinschen.de>2015-04-23 22:57:06 +0300
commit380c00f1756b457db87e703cf05240e4e67c1438 (patch)
treeadde8b9cd99f6623fe5004abd04e513885a7d161 /newlib/configure
parentdd3d3b10e224947832cd2c9d3997935136c79fdc (diff)
Change from configure time to compile time probe for intptr_t definition.
2015-03-23 Joel Sherrill <joel.sherrill@oarcorp.com * configure.in: Delete logic to determine _UINTPTR_EQ_ULONGLONG and _UINTPTR_EQ_ULONG at configuration time. *libc/include/sys/config.h: Add logic to determine _UINTPTR_EQ_ULONGLONG and _UINTPTR_EQ_ULONG at compilation time. * libc/include/inttypes.h: Add include of <sys/config.h>. * configure: Regenerated.
Diffstat (limited to 'newlib/configure')
-rwxr-xr-xnewlib/configure69
1 files changed, 0 insertions, 69 deletions
diff --git a/newlib/configure b/newlib/configure
index 8000b87e1..19cf1d9a0 100755
--- a/newlib/configure
+++ b/newlib/configure
@@ -12646,75 +12646,6 @@ _ACEOF
fi
-#### Determine if uintptr_t is unsigned long long
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether uintptr_t equals unsigned long long" >&5
-$as_echo_n "checking whether uintptr_t equals unsigned long long... " >&6; }
-if ${newlib_cv_uintptr_eq_ulonglong+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<EOF
-#include <inttypes.h>
-extern int foo(uintptr_t);
-extern int foo(unsigned long long);
-EOF
-if { ac_try='${CC} $CFLAGS $CPPFLAGS -c -o conftest.o conftest.c
- 1>&5'
- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; }
-then
- newlib_cv_uintptr_eq_ulonglong=yes;
-else
- newlib_cv_uintptr_eq_ulonglong=no;
-fi
-rm -f conftest*
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $newlib_cv_uintptr_eq_ulonglong" >&5
-$as_echo "$newlib_cv_uintptr_eq_ulonglong" >&6; }
-if test $newlib_cv_uintptr_eq_ulonglong = yes; then
- cat >>confdefs.h <<_ACEOF
-#define _UINTPTR_EQ_ULONGLONG 1
-_ACEOF
-
-else
-#### Determine if uintptr_t is unsigned long
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether uintptr_t equals unsigned long" >&5
-$as_echo_n "checking whether uintptr_t equals unsigned long... " >&6; }
-if ${newlib_cv_uintptr_eq_ulong+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<EOF
-#include <inttypes.h>
-extern int foo(uintptr_t);
-extern int foo(unsigned long);
-EOF
-if { ac_try='${CC} $CFLAGS $CPPFLAGS -c -o conftest.o conftest.c
- 1>&5'
- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; }
-then
- newlib_cv_uintptr_eq_ulong=yes;
-else
- newlib_cv_uintptr_eq_ulong=no;
-fi
-rm -f conftest*
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $newlib_cv_uintptr_eq_ulong" >&5
-$as_echo "$newlib_cv_uintptr_eq_ulong" >&6; }
-if test $newlib_cv_uintptr_eq_ulong = yes; then
- cat >>confdefs.h <<_ACEOF
-#define _UINTPTR_EQ_ULONG 1
-_ACEOF
-
-fi
-fi
-
-
ac_config_files="$ac_config_files Makefile"