[Emulate __NR_sched_setaffinity and __NR_sched_getaffinity, to allow building on non-Linux systems (for testing)]))
[Emulate __NR_sched_setaffinity and __NR_sched_getaffinity, to allow building on non-Linux systems (for testing)]))
if test "$enable_emulate" = "yes"; then
if test "$enable_plpa_emulate" = "yes"; then
plpa_emulate=yes
plpa_emulate=yes
else
else
plpa_emulate=no
plpa_emulate=no
fi
fi
# Included mode, or standalone?
dnl Hisham Muhammad: don't expose flags to htop's configure
AC_ARG_ENABLE([included-mode],
dnl
AC_HELP_STRING([--enable-included-mode],
dnl # Included mode, or standalone?
[Using --enable-included-mode puts the PLPA into "included" mode. The default is --disable-included-mode, meaning that the PLPA is in "standalone" mode.]))
dnl AC_ARG_ENABLE([included-mode],
if test "$enable_included_mode" = "yes"; then
dnl AC_HELP_STRING([--enable-included-mode],
dnl [Using --enable-included-mode puts the PLPA into "included" mode. The default is --disable-included-mode, meaning that the PLPA is in "standalone" mode.]))
dnl if test "$enable_included_mode" = "yes"; then
plpa_mode=included
plpa_mode=included
else
dnl else
plpa_mode=standalone
dnl plpa_mode=standalone
fi
dnl fi
dnl JMS: No fortran bindings yet
dnl JMS: No fortran bindings yet
dnl # Fortran bindings, or no?
dnl # Fortran bindings, or no?
...
@@ -178,25 +180,30 @@ dnl else
...
@@ -178,25 +180,30 @@ dnl else
dnl plpa_fortran=no
dnl plpa_fortran=no
dnl fi
dnl fi
# Build and install the executables or no?
dnl Hisham Muhammad: don't expose flags to htop's configure
AC_ARG_ENABLE([executables],
dnl
AC_HELP_STRING([--disable-executables],
dnl # Build and install the executables or no?
[Using --disable-executables disables building and installing the PLPA executables]))
dnl AC_ARG_ENABLE([executables],
if test "$enable_executables" = "yes" -o "$enable_executables" = ""; then
dnl AC_HELP_STRING([--disable-executables],
plpa_executables=yes
dnl [Using --disable-executables disables building and installing the PLPA executables]))
else
dnl if test "$enable_executables" = "yes" -o "$enable_executables" = ""; then
dnl plpa_executables=yes
dnl else
plpa_executables=no
plpa_executables=no
fi
dnl fi
# Change the symbol prefix?
dnl Hisham Muhammad: don't expose flags to htop's configure