diff --git a/config/opal_functions.m4 b/config/opal_functions.m4 index 373ae2f330d..323c1590cda 100644 --- a/config/opal_functions.m4 +++ b/config/opal_functions.m4 @@ -391,9 +391,13 @@ AC_DEFUN([OPAL_FLAGS_UNIQ],[ opal_found=0 opal_i=`expr $opal_count + 1` ;; + -framework) + opal_found=0 + opal_i=`expr $opal_count + 1` + ;; --param) - ompi_found=0 - ompi_i=`expr $ompi_count + 1` + opal_found=0 + opal_i=`expr $opal_count + 1` ;; esac diff --git a/opal/mca/event/libevent2022/libevent/configure.ac b/opal/mca/event/libevent2022/libevent/configure.ac index a33c1b29aaf..0ed4e4b3dc1 100644 --- a/opal/mca/event/libevent2022/libevent/configure.ac +++ b/opal/mca/event/libevent2022/libevent/configure.ac @@ -64,12 +64,14 @@ fi # OS X Lion started deprecating the system openssl. Let's just disable # all deprecation warnings on OS X. +if test "$GCC" = "yes" ; then case "$host_os" in darwin*) CFLAGS="$CFLAGS -Wno-deprecated-declarations" ;; esac +fi AC_ARG_ENABLE(gcc-warnings, AS_HELP_STRING(--enable-gcc-warnings, enable verbose warnings with GCC))