Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ centrallix/test_obj
centrallix/test_prt
centrallix-os/apps/kardia
centrallix-lib/include/cxlib
/centrallix-lib/autom4te.cache
*/nbproject/
centrallix-lib/tests/test_*.bin
centrallix/tests/*.out
Expand Down
14 changes: 14 additions & 0 deletions centrallix-lib/aclocal.m4
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,20 @@ AC_DEFUN(CHECK_MAKEDEPEND,
]
)

dnl check if gcc allows __builtin_expect()
AC_DEFUN(CHECK_BUILTIN_EXPECT,
[
AC_MSG_CHECKING(if __builtin_expect is available)
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([], [__builtin_expect(0, 0)])],
[
AC_DEFINE([HAVE_BUILTIN_EXPECT], [1], [Define if __builtin_expect is available])
AC_MSG_RESULT([yes])
],
[AC_MSG_RESULT([no])],
)
]
)

dnl check if gcc allows -fPIC and -pg at the same time
AC_DEFUN(CHECK_PROFILE,
Expand Down
Loading