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	Fri Jul 20 10:50:16 2012 -0500
+++ b/m4/acinclude.m4	Fri Jul 20 14:30:07 2012 -0500
@@ -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)