Autotoolized:
New files. Likewise. Deleted.
This commit is contained in:
parent
10d93f24f0
commit
5025a4ed4c
@ -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),
|
||||
|
11
Makefile
11
Makefile
@ -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
|
4
Makefile.am
Normal file
4
Makefile.am
Normal file
@ -0,0 +1,4 @@
|
||||
bin_PROGRAMS = xcompmgr
|
||||
|
||||
xcompmgr_LDADD = @XCOMPMGR_LIBS@ -lm
|
||||
xcompmgr_INCLUDES = @XCOMPMGR_CFLAGS@
|
29
configure.ac
Normal file
29
configure.ac
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user