forked from OPENDAP/bes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcheck_lib.ac
More file actions
19 lines (13 loc) · 765 Bytes
/
Copy pathcheck_lib.ac
File metadata and controls
19 lines (13 loc) · 765 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
dnl -*- automake -*-
dnl Process this file with autoconf to produce a configure script.
dnl This is a minimal autoconf/configure.ac script used to check
dnl search for libraries. Process it using
dnl autoconf -o check_lib.sh -W all check_lib.ac
dal and run it using sh ./check_lib.sh -L... -I...
AC_PREREQ(2.63)
AC_INIT(check_lib, 1.0, support@opendap.org)
AC_CONFIG_AUX_DIR([conf])
AC_CONFIG_MACRO_DIR([conf])
AC_CHECK_LIB([netcdf], [nc_open], [echo "*** Found netcdf"], [echo "*** did not find netcdf"],[-lcurl -lhdf5 -lhdf5_hl])
AC_CHECK_LIB([openjp2], [opj_version], [echo "*** openjpeg found"], [echo "*** openjeg not found"], [-lm])
AC_CHECK_LIB([gridfields], [GridFieldOperator], [echo "*** gridfields found"], [echo "*** gridfields not found"], [])