aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Blundell <pb@reciva.com>2004-03-25 23:57:55 +0000
committerPhil Blundell <pb@reciva.com>2004-03-25 23:57:55 +0000
commit5025a4ed4ca1d47449d7b8164f985d48766be29d (patch)
tree68d2d55aec8ed1d5613720a0e4007d9f46b34d0a
parentTrack whether cliplists have changed and avoid computation when not. Shrink (diff)
downloadxcman-5025a4ed4ca1d47449d7b8164f985d48766be29d.tar.gz
xcman-5025a4ed4ca1d47449d7b8164f985d48766be29d.tar.bz2
xcman-5025a4ed4ca1d47449d7b8164f985d48766be29d.tar.xz
Autotoolized:
New files. Likewise. Deleted.
Diffstat (limited to '')
-rw-r--r--AUTHORS0
-rw-r--r--ChangeLog7
-rw-r--r--Makefile11
-rw-r--r--Makefile.am4
-rw-r--r--NEWS0
-rw-r--r--README0
-rw-r--r--configure.ac29
7 files changed, 40 insertions, 11 deletions
diff --git a/AUTHORS b/AUTHORS
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/AUTHORS
diff --git a/ChangeLog b/ChangeLog
index 440fa8f..825771a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2004-03-25 Philip Blundell <philb@gnu.org>
+
+ Autotoolized:
+ * Makefile.am, configure.ac: New files.
+ * NEWS, README, AUTHORS: Likewise.
+ * Makefile: Deleted.
+
2003-12-02 Keith Packard <keithp@keithp.com>
* xcompmgr.c: (sum_gaussian), (make_shadow), (root_tile),
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 8986ffa..0000000
--- a/Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
-LIBS=`pkg-config --cflags --libs xcomposite xfixes xdamage xrender` -lm
-
-CFLAGS=-O -g
-
-all: xcompmgr
-
-xcompmgr: xcompmgr.c
- $(CC) -o $@ $(CFLAGS) xcompmgr.c $(LIBS)
-
-clean:
- rm xcompmgr
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..497ce06
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,4 @@
+bin_PROGRAMS = xcompmgr
+
+xcompmgr_LDADD = @XCOMPMGR_LIBS@ -lm
+xcompmgr_INCLUDES = @XCOMPMGR_CFLAGS@
diff --git a/NEWS b/NEWS
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/NEWS
diff --git a/README b/README
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/README
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..171ccf6
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,29 @@
+# -*- Autoconf -*-
+# Process this file with autoconf to produce a configure script.
+
+AC_PREREQ(2.59)
+AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
+AC_CONFIG_SRCDIR([xcompmgr.c])
+AM_INIT_AUTOMAKE([dist-bzip2])
+AM_MAINTAINER_MODE
+AC_CONFIG_HEADER([config.h])
+
+# Checks for programs.
+AC_PROG_CC
+
+# Checks for header files.
+AC_HEADER_STDC
+AC_CHECK_HEADERS([stdlib.h sys/time.h unistd.h])
+
+# Checks for typedefs, structures, and compiler characteristics.
+AC_HEADER_TIME
+AC_STRUCT_TM
+
+# Checks for library functions.
+AC_FUNC_MALLOC
+AC_CHECK_FUNCS([gettimeofday localtime_r])
+
+PKG_CHECK_MODULES(XCOMPMGR, xcomposite xfixes xdamage xrender)
+
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT