File: configure.ac

package info (click to toggle)
libfap 1.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 1,644 kB
  • ctags: 426
  • sloc: sh: 11,090; ansic: 5,281; makefile: 13
file content (28 lines) | stat: -rw-r--r-- 976 bytes parent folder | download
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
28
AC_INIT(APRS parser,1.5,OH2GVE,libfap)

dnl iface version[:implementation version[:iface backward compatibility count]]
FAP_LIBRARY_VERSION=6:0:0
AC_SUBST(FAP_LIBRARY_VERSION)

AC_CONFIG_MACRO_DIR([m4])
AC_LANG([C])
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE

AC_PROG_LIBTOOL
AC_PROG_CC
AC_PROG_INSTALL

AC_CHECK_HEADER([stdlib.h],,AC_MSG_ERROR([Required header not found.]))
AC_CHECK_HEADER([stdio.h],,AC_MSG_ERROR([Required header not found.]))
AC_CHECK_HEADER([string.h],,AC_MSG_ERROR([Required header not found.]))
AC_CHECK_HEADER([stdint.h],,AC_MSG_ERROR([Required header not found.]))
AC_CHECK_HEADER([ctype.h],,AC_MSG_ERROR([Required header not found.]))
AC_CHECK_HEADER([regex.h],,AC_MSG_ERROR([Required header not found.]))
AC_CHECK_HEADER([time.h],,AC_MSG_ERROR([Required header not found.]))
AC_CHECK_HEADER([math.h],,AC_MSG_ERROR([Required header not found.]))

AC_CHECK_LIB(m, pow)

AC_CONFIG_FILES([Makefile licenses/Makefile src/Makefile libfap.pc])
AC_OUTPUT