-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfigure.ac
More file actions
33 lines (26 loc) · 788 Bytes
/
configure.ac
File metadata and controls
33 lines (26 loc) · 788 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
AC_PREREQ([2.69])
AC_INIT(rxvm, 1.0, eknyquist@gmail.com)
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_SRCDIR([librxvm/stack.c])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE
AC_REQUIRE_AUX_FILE([tap-driver.sh])
CFLAGS="-march=native -O3 -fno-stack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables"
AC_PROG_CC
AC_PROG_AWK
AC_PROG_INSTALL
AC_ARG_ENABLE([extras],
[AS_HELP_STRING([--disable-extras], [exclude non-essential features
(rxvm_fsearch, rxvm_gen)])],
[extras=true],
[extras=false])
AM_CONDITIONAL([NOEXTRAS], [test x$extras = xtrue])
AC_CHECK_HEADERS([stdint.h stdlib.h string.h])
AC_C_INLINE
AC_TYPE_SIZE_T
AC_TYPE_UINT8_T
AC_PROG_RANLIB
AM_PROG_AR
AC_FUNC_MALLOC
AC_CHECK_FUNCS([memset])
AC_OUTPUT(Makefile librxvm/Makefile tests/src/Makefile examples/Makefile)