Skip to content
Snippets Groups Projects
Commit d6165466 authored by Mark Grondona's avatar Mark Grondona
Browse files

o remove "Checking whether to include Elan" message

 o add -fno-strict-aliasing option to gcc to suppress warning noise
parent d306c936
No related branches found
No related tags found
No related merge requests found
...@@ -117,10 +117,10 @@ AC_ARG_ENABLE(debug, ...@@ -117,10 +117,10 @@ AC_ARG_ENABLE(debug,
AC_MSG_RESULT(${with_slurm_debug=no}) AC_MSG_RESULT(${with_slurm_debug=no})
if test "x$with_slurm_debug" = "xtrue"; then if test "x$with_slurm_debug" = "xtrue"; then
CFLAGS="-g -Wall -Wpointer-arith $CFLAGS" CFLAGS="-g -Wall -Wpointer-arith -fno-strict-aliasing $CFLAGS"
AC_DEFINE(DEBUG_SYSTEM, 1, [Define for extra debug messages.]) AC_DEFINE(DEBUG_SYSTEM, 1, [Define for extra debug messages.])
else else
CFLAGS="-O2 -Wall -Wpointer-arith $CFLAGS" CFLAGS="-O2 -Wall -Wpointer-arith -fno-strict-aliasing $CFLAGS"
AC_DEFINE(NDEBUG, 1, [Define for production compile of code]) AC_DEFINE(NDEBUG, 1, [Define for production compile of code])
fi fi
AM_CONDITIONAL(DEBUG_MODULES, test "x$with_slurm_debug" = "xtrue") AM_CONDITIONAL(DEBUG_MODULES, test "x$with_slurm_debug" = "xtrue")
...@@ -159,7 +159,6 @@ AC_SUBST(SLURMD_PORT) ...@@ -159,7 +159,6 @@ AC_SUBST(SLURMD_PORT)
dnl check for whether to include Elan support dnl check for whether to include Elan support
dnl dnl
AC_MSG_CHECKING(whether to include Elan support)
savedLIBS="$LIBS" savedLIBS="$LIBS"
AC_CHECK_LIB([elanctrl], [elanctrl_open], AC_CHECK_LIB([elanctrl], [elanctrl_open],
[ have_elanctrl=yes [ have_elanctrl=yes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment