forked from mheily/libpwq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
31 lines (27 loc) · 1008 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
28
29
30
31
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_INIT([libpthread_workqueue], [0.9.4])
AC_CONFIG_AUX_DIR([.])
LT_INIT
AM_INIT_AUTOMAKE([foreign subdir-objects])
AC_CONFIG_SRCDIR([configure.ac])
AC_CONFIG_HEADERS([config.h])
AC_PROG_CC
AC_CONFIG_MACRO_DIR([m4])
# When building as submodule allow selection of noinst targets
AC_ARG_ENABLE([libpwq-install],
[AS_HELP_STRING([--disable-libpwq-install],
[Disable install rules and build noinst libtool library])],,
[enable_libpwq_install=yes]
)
AM_CONDITIONAL([INSTALL],[test "x$enable_libpwq_install" != "xno"])
# Add option to provide Bionic Libc (Android) support
AC_ARG_ENABLE([bionic-libc],
[AS_HELP_STRING([--enable-bionic-libc],
[Build for Bionic Libc (Android)])],,
[enable_bionic_libc=yes]
)
AM_CONDITIONAL(BIONIC_LIBC, [test "x$enable_bionic_libc" == "xyes"])
AC_CONFIG_FILES([Makefile])
AM_CONDITIONAL([LINUX], [test `uname` = 'Linux'])
AC_OUTPUT