]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - test/configure
ncurses 6.0 - patch 20160625
[ncurses.git] / test / configure
index 1383c2f7cacef59d2d09f498291f7b82e61278c7..f12396bd386fc538111c031491f58d0ac3c40f0c 100755 (executable)
@@ -1943,7 +1943,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=