34 |
|
|
35 |
if test -d /usr/include/netcdf-3 ; then |
if test -d /usr/include/netcdf-3 ; then |
36 |
INCLUDES='-I/usr/include/netcdf-3' |
INCLUDES='-I/usr/include/netcdf-3' |
37 |
if test -f /usr/lib/libnetcdf_g77.so ; then |
if test -d /usr/lib/netcdf-3 ; then |
38 |
LIBS='-lnetcdf_g77' |
if test -f /usr/lib/netcdf-3/libnetcdf_g77.a ; then |
39 |
else |
LIBS='-L/usr/lib/netcdf-3 -lnetcdf_g77' |
40 |
if test -d /usr/lib/netcdf-3 ; then |
else |
41 |
if test -f /usr/lib/netcdf-3/libnetcdf_g77.a ; then |
LIBS='-L/usr/lib/netcdf-3' |
|
LIBS='-L/usr/lib/netcdf-3 -lnetcdf_g77' |
|
|
else |
|
|
LIBS='-L/usr/lib/netcdf-3' |
|
|
fi |
|
42 |
fi |
fi |
43 |
fi |
fi |
44 |
elif test -d /usr/include/netcdf ; then |
elif test -d /usr/include/netcdf ; then |
51 |
GSLLIB='-lgsl -lgslcblas' |
GSLLIB='-lgsl -lgslcblas' |
52 |
PAPIINC='-I/usr/local/pkg/papi/papi-3.0.8.1/p4/include' |
PAPIINC='-I/usr/local/pkg/papi/papi-3.0.8.1/p4/include' |
53 |
PAPILIB='-L/usr/local/pkg/papi/papi-3.0.8.1/p4/lib -lpapi' |
PAPILIB='-L/usr/local/pkg/papi/papi-3.0.8.1/p4/lib -lpapi' |
54 |
|
|