libsexpr/configure.ac

39 lines
875 B
Plaintext
Raw Normal View History

2014-11-24 12:25:18 +02:00
dnl Process this file with autoconf to produce a configure script.
2025-03-10 23:54:00 +02:00
AC_INIT([libsexpr],[m4_esyscmd(tr -d '\n' < VERSION)])
2014-11-24 12:25:18 +02:00
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([1.11])
AM_SILENT_RULES([yes])
AC_PROG_CC
LT_INIT
dnl *****************
dnl ***** options *****
dnl *****************
AC_ARG_ENABLE([build_examples],
AS_HELP_STRING([--enable-build-examples], [Enable examples build]))
AS_IF([test "x$enable_build_examples" = "xyes"], [
AC_DEFINE([BUILD_EXAMPLES], 1, [build of examples enabled])
])
AC_ARG_ENABLE([faststack_alloc],
AS_HELP_STRING([--enable-faststack-alloc], [Use faststack thread-safe alloc within parser]))
AS_IF([test "x$enable_faststack_alloc" = "xyes"], [
AC_DEFINE([USE_FASTSTACK_ALLOC], 1, [using faststack allocation within parser])
])
2025-03-10 23:54:00 +02:00
AC_CONFIG_FILES([
2014-11-24 12:25:18 +02:00
Makefile
2014-11-24 17:31:38 +02:00
lib/libsexpr.pc
2014-11-24 12:25:18 +02:00
lib/Makefile
2015-02-10 17:38:49 +02:00
include/Makefile])
2025-03-10 23:54:00 +02:00
AC_OUTPUT