forked from naxingyu/opensmile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
49 lines (38 loc) · 1.14 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
AC_INIT(openSMILE,2.3.0)
AC_CONFIG_SRCDIR([.])
AM_INIT_AUTOMAKE
AC_CONFIG_MACRO_DIR([m4])
AC_PROG_CC
AC_PROG_CXX
LT_INIT
AM_PROG_CC_C_O
CHECK_HAVE_PORTAUDIO
CHECK_HAVE_ANDROID
CHECK_HAVE_OPENCV
ACX_PTHREAD
CONFIGURE_TARGETS
DLIB="-ldl"
if test x`uname | grep mingw` != x ; then
# AC_DEFINE([WIN32],[1], [Compile on MinGW32-Msys])
AC_DEFINE([__WINDOWS],[1], [Compile on MinGW32-Msys])
AC_DEFINE([__MINGW32],[1], [Compile on MinGW32-Msys])
AC_DEFINE([__MINGW],[1], [Compile on MinGW32-Msys])
DLIB=""
fi
if test x`uname | grep MINGW` != x ; then
# AC_DEFINE([WIN32],[1], [Compile on MinGW32-Msys])
AC_DEFINE([__WINDOWS],[1], [Compile on MinGW32-Msys])
AC_DEFINE([__MINGW32],[1], [Compile on MinGW32-Msys])
AC_DEFINE([__MINGW],[1], [Compile on MinGW32-Msys])
AC_DEFINE([__HAVENT_GNULIBS],[1], [No getline implementation on Win])
DLIB=""
fi
if test x`uname | grep Darwin` != x ; then
AC_DEFINE([__MACOS],[1], [Compile on Macs])
AC_DEFINE([__HAVENT_GNULIBS],[1], [No getline implementation on Mac])
fi
AC_SUBST(DLIB)
AC_DEFINE([HAVE_AUTOCONF],[1],[Build with autoconf])
AC_CONFIG_HEADERS(config.h)
AC_CONFIG_FILES([Makefile])
AC_OUTPUT