Autotoolized:
authorPhil Blundell <pb@reciva.com>
Thu, 25 Mar 2004 23:57:55 +0000 (23:57 +0000)
committerPhil Blundell <pb@reciva.com>
Thu, 25 Mar 2004 23:57:55 +0000 (23:57 +0000)
New files.
Likewise.
Deleted.

AUTHORS [new file with mode: 0644]
ChangeLog
Makefile [deleted file]
Makefile.am [new file with mode: 0644]
NEWS [new file with mode: 0644]
README [new file with mode: 0644]
configure.ac [new file with mode: 0644]

diff --git a/AUTHORS b/AUTHORS
new file mode 100644 (file)
index 0000000..e69de29
index 440fa8f..825771a 100644 (file)
--- 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),
 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 (file)
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 (file)
index 0000000..497ce06
--- /dev/null
@@ -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 (file)
index 0000000..e69de29
diff --git a/README b/README
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/configure.ac b/configure.ac
new file mode 100644 (file)
index 0000000..171ccf6
--- /dev/null
@@ -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