Skip to content

Commit

Permalink
Build: Remove bashism from configure
Browse files Browse the repository at this point in the history
Patrick Welche reported that the FoX configure
script uses '==' for string comparison instead
of the portable '='. This comes from our local
copy of autoconf's fortran.m4. Fix this, and
regenerate the configure script.

This closes issue andreww#29.
  • Loading branch information
andreww committed Jun 2, 2013
1 parent 6a48cf7 commit b692610
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/aclocal.m4
Original file line number Diff line number Diff line change
Expand Up @@ -4799,7 +4799,7 @@ AC_CACHE_CHECK([whether $FPP fulfils requested features],
ac_cv_fpp_build_rule=indirect
if test ac_fpp_ok == no; then
if test ac_fpp_ok = no; then
AC_MSG_ERROR([Cannot find a Fortran preprocessor with the requested features])
fi
Expand Down
2 changes: 1 addition & 1 deletion config/m4/fortran.m4
Original file line number Diff line number Diff line change
Expand Up @@ -3107,7 +3107,7 @@ AC_CACHE_CHECK([whether $FPP fulfils requested features],
ac_cv_fpp_build_rule=indirect
if test ac_fpp_ok == no; then
if test ac_fpp_ok = no; then
AC_MSG_ERROR([Cannot find a Fortran preprocessor with the requested features])
fi
Expand Down
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -4781,7 +4781,7 @@ echo "${ECHO_T}$ac_cv_prog_fpp_ok" >&6; }

ac_cv_fpp_build_rule=indirect

if test ac_fpp_ok == no; then
if test ac_fpp_ok = no; then
{ { echo "$as_me:$LINENO: error: Cannot find a Fortran preprocessor with the requested features" >&5
echo "$as_me: error: Cannot find a Fortran preprocessor with the requested features" >&2;}
{ (exit 1); exit 1; }; }
Expand Down

0 comments on commit b692610

Please sign in to comment.