X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=configure;h=b2f191922ed0f6184225e6ba4e3d180fc55e4f26;hp=6770ce5e09db2053291a40841c23e37d0eaa4f23;hb=53ea71aa108570a4a070e004484642a75f3492df;hpb=bf66beed16926edb72b65b5ac3e7610fb8f04523 diff --git a/configure b/configure index 6770ce5e..b2f19192 100755 --- a/configure +++ b/configure @@ -2189,7 +2189,7 @@ echo "${ECHO_T}broken" >&6 echo "$as_me: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&2;} # humor him... cf_flags=`echo "$CC" | sed -e 's/^[^ ]*[ ][ ]*//'` - CC=`echo "$CC" | sed -e 's/[ ].*//'` + CC=`echo "$CC " | sed -e 's/[ ]-[IUD][^ ][^ ]*//g' -e 's/[ ]*$//'` cf_fix_cppflags=no cf_new_cflags=