Mercurial > hg > octave-lyh
diff m4/acinclude.m4 @ 14994:bbc825cb2ea0
Use -I instead of -isystem if -isystem is not avaiable
* configure.ac: Do check for -isystem before using it with llvm
* m4/acinclude.m4 (OCTAVE_CC_FLAG): Allow spaces in flag
author | Max Brister <max@2bass.com> |
---|---|
date | Fri, 20 Jul 2012 14:30:07 -0500 |
parents | 0eb1b1eb2c76 |
children | c753ee228708 |
line wrap: on
line diff
--- a/m4/acinclude.m4 +++ b/m4/acinclude.m4 @@ -286,7 +286,7 @@ dnl dnl OCTAVE_CC_FLAG AC_DEFUN([OCTAVE_CC_FLAG], [ - ac_safe=`echo "$1" | sed 'y%./+-:=%__p___%'` + ac_safe=`echo "$1" | sed 'y% ./+-:=%___p___%'` AC_MSG_CHECKING([whether ${CC-cc} accepts $1]) AC_CACHE_VAL(octave_cv_cc_flag_$ac_safe, [ AC_LANG_PUSH(C)