2009-06-03 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / libgfortran / m4 / mtype.m4
blob8e7e889bf0e720dbeb85c4cce3a71a8ebdc775de
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