I guess, dynamic should be default on Linux, and static only default on Mac and Windows, but this way it compiles at least out-of-the-box.
Andre'
Index: configure.ac =================================================================== --- configure.ac (revision 19626) +++ configure.ac (working copy) @@ -153,8 +153,9 @@ dnl Note that this will reportedly not be needed with libtool 2.0 m4_undefine([AC_PROG_F77]) m4_defun([AC_PROG_F77],[]) -#AC_DISABLE_SHARED -AC_DISABLE_STATIC + +AC_DISABLE_SHARED +#AC_DISABLE_STATIC AC_LIBTOOL_WIN32_DLL #AM_PROG_LIBTOOL LYX_PROG_LIBTOOL