andreww / fox

A Fortran XML library
https://andreww.github.io/fox/
Other
59 stars 50 forks source link

Configure bashism #29

Closed andreww closed 11 years ago

andreww commented 11 years ago

We have a bashism in the configure script. The following is from Patrick Welche, with a patch: "Just stumbled across a trivial bashism in FoX (test(1) uses = for string comparison) - patch attached. "

andreww commented 11 years ago

--- FoX-4.1.2/configure.orig 2012-04-20 09:23:02.000000000 +0000 +++ FoX-4.1.2/configure @@ -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; }; }