[Commit] waterfall .cvsignore,NONE,1.1 ChangeLog,NONE,1.1 Makefile.am,NONE,1.1 autogen.sh,NONE,1.1 configure.in,NONE,1.1

commit@keithp.com commit@keithp.com
Mon, 21 Apr 2003 11:25:19 -0700


Update of /local/src/CVS/waterfall
In directory home.keithp.com:/tmp/cvs-serv24084

Added Files:
	.cvsignore ChangeLog Makefile.am autogen.sh configure.in 
Log Message:
Added first cut at autotools support

--- NEW FILE: .cvsignore ---
Makefile
Makefile.in
aclocal.m4
config.h.in
stamp-h1.in
stamp-h2.in
waterfall

--- NEW FILE: ChangeLog ---
2003-04-21  Carl Worth  <cworth@east.isi.edu>

	* configure.in: Added autotools support


--- NEW FILE: Makefile.am ---
bin_PROGRAMS = waterfall

waterfall_SOURCES = \
	main.c \
	Waterfall.c \
	Waterfall.h \
	WaterfallP.h

INCLUDES = $(WATERFALL_CFLAGS)
LDFLAGS = $(WATERFALL_LIBS) -lXt -lXaw


--- NEW FILE: autogen.sh ---
#!/bin/sh
# Run this to generate all the initial makefiles, etc.

set -e

ARGV0=$0

if test -z "$*"; then
  echo "$ARGV0:	Note: \`./configure' will be run with no arguments."
  echo "		If you wish to pass any to it, please specify them on the"
  echo "		\`$0' command line."
  echo
fi

do_cmd() {
    echo "$ARGV0: running \`$@'"
    $@
}

do_cmd aclocal

do_cmd autoheader

do_cmd automake --add-missing

do_cmd autoconf

do_cmd ./configure ${1+"$@"} && echo "Now type \`make' to compile" || exit 1

--- NEW FILE: configure.in ---
# Process this file with autoconf to produce a configure script.

AC_INIT(Waterfall.c)

dnl ===========================================================================

WATERFALL_VERSION=1.0

# It may be that a much older Xft would work fine -- I have no idea really.
# This just happens to be the version of Xft I had when I added configure.in
XFT_REQUIRED=2.1.1

dnl ===========================================================================

AC_CONFIG_AUX_DIR(config)

AM_INIT_AUTOMAKE(waterfall, $WATERFALL_VERSION)
AM_CONFIG_HEADER(config.h)

AM_CONFIG_HEADER(config.h)

AC_PROG_CC

dnl ===========================================================================

AC_PATH_XTRA

dnl ===========================================================================

PKG_CHECK_MODULES(WATERFALL, \
	xft >= $XFT_REQUIRED
	)
AC_SUBST(WATERFALL_CFLAGS)
AC_SUBST(WATERFALL_LIBS)

dnl ===========================================================================

AC_OUTPUT([
Makefile
])