Add variables for library prefix, and static library, object and executable suffixes

This makes hacking on Makefile easier.
This commit is contained in:
Mike Hommey
2012-04-16 16:30:24 +02:00
committed by Jason Evans
parent 72ca7220f2
commit 5bee66d3ed
2 changed files with 40 additions and 26 deletions

View File

@@ -195,6 +195,10 @@ AC_DEFINE_UNQUOTED([CPU_SPINWAIT], [$CPU_SPINWAIT])
LD_PRELOAD_VAR="LD_PRELOAD"
so="so"
o="o"
a="a"
exe=
lib="lib"
dnl Heap profiling uses the log(3) function.
LIBS="$LIBS -lm"
@@ -277,6 +281,10 @@ AC_SUBST([abi])
AC_SUBST([RPATH])
AC_SUBST([LD_PRELOAD_VAR])
AC_SUBST([so])
AC_SUBST([o])
AC_SUBST([a])
AC_SUBST([exe])
AC_SUBST([lib])
JE_COMPILABLE([__attribute__ syntax],
[static __attribute__((unused)) void foo(void){}],