Skip to content

Commit

Permalink
-Werror args probably don't contain spaces, but they do contain hyphens
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Sep 10, 2019
1 parent 2692a1d commit 8d506a5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/modules/rlm_python/configure
Expand Up @@ -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;}
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion src/modules/rlm_python/configure.ac
Expand Up @@ -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}\"])

Expand Down

0 comments on commit 8d506a5

Please sign in to comment.