summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-09-08 16:15:54 (GMT)
committerBenjamin Peterson <benjamin@python.org>2016-09-08 16:15:54 (GMT)
commit47ff0734b817d293ae84603efad2f3f508d85f78 (patch)
tree4be3f7fa6164e1a3ca0e3a1b9fdd3a7b12f334c3 /configure
parentc71ec8aef37f8a72d1dc3237b127f15a32ba0997 (diff)
downloadcpython-47ff0734b817d293ae84603efad2f3f508d85f78.zip
cpython-47ff0734b817d293ae84603efad2f3f508d85f78.tar.gz
cpython-47ff0734b817d293ae84603efad2f3f508d85f78.tar.bz2
more PY_LONG_LONG to long long
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure93
1 files changed, 0 insertions, 93 deletions
diff --git a/configure b/configure
index 4590423..04b1968 100755
--- a/configure
+++ b/configure
@@ -15729,99 +15729,6 @@ $as_echo "#define HAVE_DEV_PTC 1" >>confdefs.h
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for %lld and %llu printf() format support" >&5
-$as_echo_n "checking for %lld and %llu printf() format support... " >&6; }
-if ${ac_cv_have_long_long_format+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test "$cross_compiling" = yes; then :
- ac_cv_have_long_long_format="cross -- assuming no"
-if test x$GCC = xyes; then
-save_CFLAGS=$CFLAGS
-CFLAGS="$CFLAGS -Werror -Wformat"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-#include <stdio.h>
-#include <stddef.h>
-
-int
-main ()
-{
-
-char *buffer;
-sprintf(buffer, "%lld", (long long)123);
-sprintf(buffer, "%lld", (long long)-123);
-sprintf(buffer, "%llu", (unsigned long long)123);
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_have_long_long_format=yes
-
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-CFLAGS=$save_CFLAGS
-fi
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-#include <stdio.h>
-#include <stddef.h>
-#include <string.h>
-
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
-
-int main()
-{
-char buffer[256];
-
-if (sprintf(buffer, "%lld", (long long)123) < 0)
-return 1;
-if (strcmp(buffer, "123"))
-return 1;
-
-if (sprintf(buffer, "%lld", (long long)-123) < 0)
-return 1;
-if (strcmp(buffer, "-123"))
-return 1;
-
-if (sprintf(buffer, "%llu", (unsigned long long)123) < 0)
-return 1;
-if (strcmp(buffer, "123"))
-return 1;
-
-return 0;
-}
-
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
- ac_cv_have_long_long_format=yes
-else
- ac_cv_have_long_long_format=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-
-
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_long_long_format" >&5
-$as_echo "$ac_cv_have_long_long_format" >&6; }
-
-if test "$ac_cv_have_long_long_format" = yes
-then
-
-$as_echo "#define PY_FORMAT_LONG_LONG \"ll\"" >>confdefs.h
-
-fi
-
if test $ac_sys_system = Darwin
then
LIBS="$LIBS -framework CoreFoundation"