5 possible_kinds
="1 2 4 8 16"
8 for k
in $possible_kinds; do
9 echo " integer (kind=$k) :: x" > tmp$$.f90
10 echo " end" >> tmp$$.f90
11 if $compile -c tmp$$.f90
> /dev
/null
2>&1; then
18 echo " integer, parameter :: c = $c"
19 echo " type (int_info), parameter :: int_infos(c) = (/ &"
23 # echo -n is not portable
24 str
=" int_info ($k, range(0_$k))"
26 if [ $i -lt $c ]; then