aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
blob: b772f12ae7b3b3186f3acceb7dd89976cb91f624 (plain)
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
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.53)
AC_INIT([mbpanelmgr], 0.1, [mallum@handhelds.org])
AC_CONFIG_SRCDIR([mbpanelmgr.c])

AM_INIT_AUTOMAKE()
AM_MAINTAINER_MODE
AM_CONFIG_HEADER(config.h)

# Checks for programs.
AC_PROG_CC

PKG_CHECK_MODULES(MBPANELMGR, gtk+-2.0)

if test "x$GCC" = "xyes"; then
        GCC_WARNINGS="-Wall -fno-strict-aliasing"
        XLIBS_CFLAGS="$GCC_WARNINGS"
fi

AC_SUBST(MBPANELMGR_CFLAGS)
AC_SUBST(MBPANELMGR_LIBS)

# Checks for header files.

AC_HEADER_STDC

# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_TYPE_PID_T

# Checks for library functions.
 
AC_OUTPUT([Makefile])