-
Notifications
You must be signed in to change notification settings - Fork 2
/
configure.ac
38 lines (28 loc) · 910 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
32
33
34
35
36
37
38
dnl required version of autoconf
AC_PREREQ([2.53])
dnl fill in your package name and package version here
AC_INIT([vcu-video-lib],[1.0.0])
AC_CONFIG_SRCDIR([/src])
AC_CONFIG_HEADERS([config.h])
dnl required version of automake
AM_INIT_AUTOMAKE([1.10 subdir-objects foreign no-dependencies])
dnl enable mainainer mode by default
AM_MAINTAINER_MODE([enable])
dnl check for tools (compiler etc.)
AM_PROG_CC_C_O
dnl required version of libtool
LT_PREREQ([2.2.6])
LT_INIT
dnl error out if we can't find pkg-config
AC_CHECK_PROG(HAVE_PKGCONFIG, pkg-config, [ ], [
AC_MSG_ERROR([You need to have pkg-config installed or set the PATH.])
])
AC_MSG_CHECKING([to see if compiler understands -Wall])
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wall"
dnl Finally, create Makefiles in all directories
dnl =======================================================================
AC_CONFIG_FILES([
Makefile
])
AC_OUTPUT