1 dnl Get type kind from filename.
2 define(kind,regexp(file, `_.\([0-9]+\).c$', `\1'))dnl
3 define(complex_type, `GFC_COMPLEX_'kind)dnl
4 define(real_type, `GFC_REAL_'kind)dnl
5 define(q,ifelse(kind,4,f,ifelse(kind,8,`',ifelse(kind,10,l,ifelse(kind,16,l,`_'kind)))))dnl
6 define(Q,translit(q,`a-z',`A-Z'))dnl