-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfigure.ac
More file actions
34 lines (26 loc) · 933 Bytes
/
configure.ac
File metadata and controls
34 lines (26 loc) · 933 Bytes
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
29
30
31
32
33
34
AC_INIT(
[libstring_util],
m4_esyscmd_s([cat project.properties | grep VERSION | cut -d'=' -f2 | xargs printf "%s"]),
m4_esyscmd_s([cat project.properties | grep MAINTAINER | cut -d'=' -f2 | xargs printf "%s"]))
AM_INIT_AUTOMAKE([-Wall -Werror foreign silent-rules])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
m4_ifdef([RMPM_ENV], [RMPM_ENV], [AC_SUBST([ARCH_CFLAGS], [''])])
m4_ifdef([RMPM_ARCH], [RMPM_ARCH libdir='${exec_prefix}/lib'])
AC_PROG_CXX
AM_PROG_AR
AC_PROG_LIBTOOL
m4_ifdef([PKG_PROG_PKG_CONFIG], [PKG_PROG_PKG_CONFIG])
m4_ifdef([PKG_INSTALLDIR], [PKG_INSTALLDIR], [pkgconfigdir='${libdir}/pkgconfig' AC_SUBST([pkgconfigdir])])
AC_CHECK_HEADERS([windows.h])
AC_CHECK_FUNCS([snprintf])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([
Makefile
libstring_util.pc
libstring_util.pt
src/Makefile
include/Makefile
test/example/Makefile
])
INSTALL_DATA='${INSTALL} -C -m 644'
AC_OUTPUT