Mercurial > octave-antonio
diff m4/acinclude.m4 @ 17661:1978a6c76aa9
Use user-specified SED during build process (bug #40273).
* changed configure.ac: Use $SED and $GREP to pick up user-specified tools.
* m4/acinclude.m4: Use $SED to pick up user-specified tools.
* src/octave-config.in.sh: Use $SED to pick up user-specified tools.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 15 Oct 2013 11:09:07 -0700 |
parents | 3a7d5d655749 |
children | d63878346099 |
line wrap: on
line diff
--- a/m4/acinclude.m4 Mon Oct 14 14:57:54 2013 -0400 +++ b/m4/acinclude.m4 Tue Oct 15 11:09:07 2013 -0700 @@ -70,7 +70,7 @@ dnl Otherwise, add FLAG to CFLAGS if the compiler accepts the flag. dnl 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) @@ -151,7 +151,7 @@ dnl argument and returning bool/int/real. dnl AC_DEFUN([OCTAVE_CHECK_FUNC_CMATH], [ - ac_safe=`echo "$1" | sed 'y% ./+-:=%___p___%'` + ac_safe=`echo "$1" | $SED 'y% ./+-:=%___p___%'` AC_CACHE_CHECK([for std::$1 in <cmath>], [octave_cv_func_cmath_$ac_safe], @@ -1109,7 +1109,7 @@ dnl Otherwise, add FLAG to CXXFLAGS if the compiler accepts the flag. dnl AC_DEFUN([OCTAVE_CXX_FLAG], [ - ac_safe=`echo "$1" | sed 'y%./+-:=%__p___%'` + ac_safe=`echo "$1" | $SED 'y%./+-:=%__p___%'` AC_MSG_CHECKING([whether ${CXX-g++} accepts $1]) AC_CACHE_VAL([octave_cv_cxx_flag_$ac_safe], [AC_LANG_PUSH(C++) @@ -1266,7 +1266,7 @@ dnl the flag. dnl AC_DEFUN([OCTAVE_F77_FLAG], [ - ac_safe=`echo "$1" | sed 'y%./+-:=%__p___%'` + ac_safe=`echo "$1" | $SED 'y%./+-:=%__p___%'` AC_MSG_CHECKING([whether ${F77-g77} accepts $1]) AC_CACHE_VAL([octave_cv_f77_flag_$ac_safe], [ AC_LANG_PUSH(Fortran 77)