diff --git a/src/modules/rlm_python/configure b/src/modules/rlm_python/configure index 91820d6960b5..142f5433e384 100755 --- a/src/modules/rlm_python/configure +++ b/src/modules/rlm_python/configure @@ -2783,7 +2783,7 @@ $as_echo "$as_me: ${PYTHON_CONFIG_BIN}'s cflags were \"${python_cflags}\"" >&6;} s/-isysroot[ =]\{0,1\}[^-]*//g;\ s/-O[[:digit:]][[:blank:]]*//g;\ s/-g[[:digit:]]*[[:blank:]]*//g;\ - s/-Werror\([ =]\{0,1\}[^-]*\)\{0,1\}//g;\ + s/-Werror\([ =]\{0,1\}[^ ]*\)\{0,1\}//g;\ s/-DNDEBUG[[:blank:]]*//g'` { $as_echo "$as_me:${as_lineno-$LINENO}: Sanitized cflags were \"${mod_cflags}\"" >&5 $as_echo "$as_me: Sanitized cflags were \"${mod_cflags}\"" >&6;} @@ -2819,6 +2819,10 @@ fi + +unset ac_cv_env_LIBS_set +unset ac_cv_env_LIBS_value + ac_config_files="$ac_config_files all.mk" cat >confcache <<\_ACEOF @@ -3976,3 +3980,4 @@ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi + diff --git a/src/modules/rlm_python/configure.ac b/src/modules/rlm_python/configure.ac index 59ec6ceaf50a..1cfd8bd04d36 100644 --- a/src/modules/rlm_python/configure.ac +++ b/src/modules/rlm_python/configure.ac @@ -46,7 +46,7 @@ if test x$with_[]modname != xno; then s/-isysroot[[ =]]\{0,1\}[[^-]]*//g;\ s/-O[[[:digit:]]][[[:blank:]]]*//g;\ s/-g[[[:digit:]]]*[[[:blank:]]]*//g;\ - s/-Werror\([[ =]]\{0,1\}[[^-]]*\)\{0,1\}//g;\ + s/-Werror\([[ =]]\{0,1\}[[^ ]]*\)\{0,1\}//g;\ s/-DNDEBUG[[[:blank:]]]*//g'` AC_MSG_NOTICE([Sanitized cflags were \"${mod_cflags}\"])