From 5025a4ed4ca1d47449d7b8164f985d48766be29d Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Thu, 25 Mar 2004 23:57:55 +0000 Subject: Autotoolized: New files. Likewise. Deleted. --- AUTHORS | 0 ChangeLog | 7 +++++++ Makefile | 11 ----------- Makefile.am | 4 ++++ NEWS | 0 README | 0 configure.ac | 29 +++++++++++++++++++++++++++++ 7 files changed, 40 insertions(+), 11 deletions(-) create mode 100644 AUTHORS delete mode 100644 Makefile create mode 100644 Makefile.am create mode 100644 NEWS create mode 100644 README create mode 100644 configure.ac diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..e69de29 diff --git a/ChangeLog b/ChangeLog index 440fa8f..825771a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-03-25 Philip Blundell + + Autotoolized: + * Makefile.am, configure.ac: New files. + * NEWS, README, AUTHORS: Likewise. + * Makefile: Deleted. + 2003-12-02 Keith Packard * 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 diff --git a/README b/README new file mode 100644 index 0000000..e69de29 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 -- cgit v1.2.3-70-g09d2