oops I think I spoke a little too fast..... autoconf was not giving me errors anymore but configure is still not happy.... first of all even with my AC_CONFIG_MACRO_DIR([m4]) in configure.ac (before macro calls) and ACLOCAL_AMFLAGS= -I m4 in Makefile.am (top one) , I still need to run aclocal with the '-I m4' else it doesn't recognize AX_F90_MODULE_EXTENSION and AX_F90_MODULE_FLAG in my m4 folder... Then, I still get ./configure: line 3206: -I: command not found checking fortran 90 modules inclusion flag... -I checking fortran 90 modules extension... mod ./configure: line 4716: syntax error near unexpected token `(' ./configure: line 4716: ` $as_echo_n "(cached) " >&6' The lines in my configure.ac that I am guessing are raising the error are if test "x$ax_f90_modext" != xunknown; then FC_MODEXT=$ax_f90_modext else FC_MODEXT=$ax_f90_modext# isn't it the same?? fi AC_SUBST([FC_MODEXT]) I am confused because the if and else seem to do the same action.... If I get rid of the above section of the configure.ac file configure runs fine... in configure the snippet that crashes is: if ${ac_cv_prog_DUMPBIN+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DUMPBIN"; then ac_cv_prog_DUMPBIN="$DUMPBIN" # ..... Would anybody have an idea on what is going on? Thanks, Cheers, Eve-Marie _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf