Commit 67ecda65 authored by Julian Kranz's avatar Julian Kranz

---

parent 248fb353
......@@ -77,12 +77,21 @@ case $with_frontend in
*) has_x86=no;;
esac
has_anon_members=yes
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
[[;]],
[[struct inge { union { int a; int b }; }; struct inge i; i.a = 42;]])],
has_anon_members=no)
AM_CONDITIONAL([X86_RREIL],[test x$with_frontend = xx86-rreil])
AM_CONDITIONAL([X86],[test x$with_frontend = xx86])
AM_CONDITIONAL([AVR_RREIL],[test x$with_frontend = xavr-rreil])
AM_CONDITIONAL([AVR],[test x$with_frontend = xavr])
AM_CONDITIONAL([HAVE_RREIL],[test x$has_rreil = xyes])
AM_CONDITIONAL([HAVE_X86], [test x$has_x86 = xyes])
#AM_CONDITIONAL([HAVE_GNU_C11], [echo "int main(void) { return 0; }" | gcc -std=gnu11 -xc - -o /dev/null])
#AM_CONDITIONAL([HAVE_POSIX200809], [test `getconf _POSIX_VERSION` -ge 200809 >/dev/null 2>&1])
AM_CONDITIONAL([HAVE_ANON_MEMBERS], [test x$has_anon_members = xyes])
dnl check if the helper executables should be build and/or installed
AC_ARG_ENABLE([install-auxbins],
......
......@@ -243,9 +243,9 @@ void print_results(struct context *context) {
static char *symbol_sz(size_t value) {
if(value < 10 * 1000)
return "k";
return "";
if(value < 10 * 1000 * 1000)
return "k";
return "";
return "M";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment