I was caught out by the fact that I should now only compile some of the source files for extdouble and quadruple (depending on whether I want those features or not). It's slightly inconvenient for simple build systems.
Is there anything wrong with using C preprocessing to obtain the same effect? For example, aot_extdouble_top_module.F90 instead of aot_extdouble_top_module.f90 and dummy_aot_extdouble_top_module.f90:
module aot_extdouble_top_module implicit none private integer, parameter :: xdble_k = selected_real_kind(18) #ifdef EXTDOUBLE ! main body of aot_extdouble_top_module.f90 #endif end module aot_extdouble_top_module