-
Notifications
You must be signed in to change notification settings - Fork 3
/
configure.ac
27 lines (25 loc) · 659 Bytes
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
AC_INIT([fluxcap], 3.1)
AM_INIT_AUTOMAKE([foreign subdir-objects])
m4_ifdef([AM_SILENT_RULES],
[AM_SILENT_RULES([yes])
])
AC_PROG_CC
AC_PROG_RANLIB
have_shr_header=n
have_shr_lib=n
AC_CHECK_HEADERS([shr.h],[have_shr_header=y])
AC_CHECK_LIB(shr,shr_ctl,[have_shr_lib=y])
if test "x${have_shr_header}${have_shr_lib}" != xyy
then
AC_MSG_ERROR([
-----------------------------------------------------
The libshr build prerequisite was not found. Please
see the build instructions, install libshr and retry.
-----------------------------------------------------
])
fi
AC_CONFIG_FILES([Makefile
util/Makefile
lib/Makefile
])
AC_OUTPUT