-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
51 lines (37 loc) · 1.17 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
49
50
51
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.61)
AC_INIT([csmile],[0.0.1],[[email protected]])
AM_INIT_AUTOMAKE([dist-bzip2 foreign])
AC_CONFIG_SRCDIR([src/csmile-gtk-ui.h])
AC_CONFIG_HEADER([config.h])
AC_CANONICAL_HOST
# Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
#AC_PROG_LIBTOOL
# Checks for libraries.
AC_CHECK_LIB(gthread-2.0, g_thread_init, gstreamer-0.10)
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([string.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AM_MAINTAINER_MODE
if test "x$GCC" = "xyes"; then CFLAGS="$CFLAGS -Wall -pedantic"; fi
# Checks for library functions.
dnl #####################################
dnl ### Basic dependencies - Required ###
dnl #####################################
gobject_modules="gobject-2.0 >= 2.6.0
glib-2.0 >= 2.6.0
gtk+-2.0 >= 2.6.0
gdk-2.0 >= 2.6.0
gstreamer-0.10 >= 0.10
gstreamer-interfaces-0.10 >= 0.10"
PKG_CHECK_MODULES([GOBJECT], [$gobject_modules])
#GTK_DOC_CHECK([1.4])
AC_CONFIG_FILES([
Makefile
src/Makefile
])
AC_OUTPUT