-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
37 lines (29 loc) · 852 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
dnl Copyright (C) 2011 Trevor Woerner
AC_INIT([xannounce], 2.0.1, [email protected], xannounce)
AC_CONFIG_SRCDIR(src/xannounce.c)
AC_CONFIG_AUX_DIR(cfg)
AM_INIT_AUTOMAKE([foreign no-dist-gzip dist-bzip2 1.9])
AM_CONFIG_HEADER(cfg/config.h)
SUBDIRS="src"
dnl **********************************
dnl checks for programs
dnl **********************************
AC_PROG_CC
AC_PROG_CPP
AC_PROG_MAKE_SET
AC_PROG_INSTALL
AC_PROG_LN_S
dnl **********************************
dnl checks for libraries
dnl **********************************
AC_CHECK_LIB(X11, XOpenDisplay,,AC_MSG_ERROR([Can not find X11]),)
dnl **********************************
dnl other stuff
dnl **********************************
AC_SUBST(SUBDIRS)
dnl **********************************
dnl output
dnl **********************************
AC_OUTPUT(Makefile
cfg/Makefile
src/Makefile)