Merge pull request #85 from bska/use-standard-sh-in-ac

Don't use '==' when '=' is equally good
This commit is contained in:
Atgeirr Flø Rasmussen 2012-10-25 01:07:47 -07:00
commit cc6c9311a0
3 changed files with 4 additions and 4 deletions

View File

@ -104,7 +104,7 @@ fi
# don't probe if explicitly defined; by bailing out here if the # don't probe if explicitly defined; by bailing out here if the
# argument is set, we guard against typo, incompatible libs. etc. # argument is set, we guard against typo, incompatible libs. etc.
# being inadvertedly overrided by another (random) implementation # being inadvertedly overrided by another (random) implementation
if test "x$with_lapack" == x; then if test "x$with_lapack" = x; then
# LAPACK linked to by default? (is sometimes included in BLAS lib) # LAPACK linked to by default? (is sometimes included in BLAS lib)
if test $ax_lapack_ok = no; then if test $ax_lapack_ok = no; then

View File

@ -33,7 +33,7 @@ AC_DEFUN([GXX0X],[
dune_cv_gplusplus_accepts_cplusplus11=disabled dune_cv_gplusplus_accepts_cplusplus11=disabled
fi fi
]) ])
if test "x$dune_cv_gplusplus_accepts_cplusplus11" == "xyes" ; then if test "x$dune_cv_gplusplus_accepts_cplusplus11" = "xyes" ; then
CXX="$save_CXX -std=c++11" CXX="$save_CXX -std=c++11"
CXXCPP="$CXXCPP -std=c++11" CXXCPP="$CXXCPP -std=c++11"
else else
@ -56,7 +56,7 @@ AC_DEFUN([GXX0X],[
dune_cv_gplusplus_accepts_cplusplus0x=disabled dune_cv_gplusplus_accepts_cplusplus0x=disabled
fi fi
]) ])
if test "x$dune_cv_gplusplus_accepts_cplusplus0x" == "xyes" ; then if test "x$dune_cv_gplusplus_accepts_cplusplus0x" = "xyes" ; then
CXX="$save_CXX -std=c++0x" CXX="$save_CXX -std=c++0x"
CXXCPP="$CXXCPP -std=c++0x" CXXCPP="$CXXCPP -std=c++0x"
else else

View File

@ -48,7 +48,7 @@ AS_IF([test x"${with_ert}" != x"no"],
LDFLAGS="${_ert_LDFLAGS_SAVE}" LDFLAGS="${_ert_LDFLAGS_SAVE}"
CFLAGS="${_ert_CFLAGS_SAVE}" CFLAGS="${_ert_CFLAGS_SAVE}"
AS_IF([test x"${use_ert}" == x"yes"], AS_IF([test x"${use_ert}" = x"yes"],
[AC_SUBST([ERT_CPPFLAGS]) [AC_SUBST([ERT_CPPFLAGS])
AC_SUBST([ERT_LDFLAGS]) AC_SUBST([ERT_LDFLAGS])
AC_SUBST([ERT_LIBS]) AC_SUBST([ERT_LIBS])