Author: bdonlan
Date: 2004-12-15 16:35:24 -0500 (Wed, 15 Dec 2004)
New Revision: 414

Added:
   trunk/clients/ncurses/Makefile.am
   trunk/clients/ncurses/autogen.sh
   trunk/clients/ncurses/configure.in
Modified:
   trunk/clients/ncurses/
   trunk/clients/ncurses/display.c
   trunk/clients/ncurses/display.h
   trunk/clients/ncurses/entry.c
   trunk/clients/ncurses/entry.h
   trunk/clients/ncurses/event.c
   trunk/clients/ncurses/event.h
   trunk/clients/ncurses/main.c
   trunk/clients/ncurses/mymalloc.c
   trunk/clients/ncurses/mymalloc.h
Log:
Added autoconf/automake support for clients/ncurses.


Property changes on: trunk/clients/ncurses
___________________________________________________________________
Name: svn:ignore
   - ?      configure
?      Makefile.in
?      config.log
?      depcomp
?      config.guess
?      config.h
?      config.sub
?      ltmain.sh
?      .libs
?      .deps
?      Makefile
?      mkinstalldirs
?      config.status
?      stamp-h1
?      config.h.in
?      havercurs
?      autom4te.cache
?      libtool
?      missing
?      aclocal.m4
?      install-sh

   + configure
Makefile.in
config.log
depcomp
config.guess
config.h
config.sub
ltmain.sh
.libs
.deps
Makefile
mkinstalldirs
config.status
stamp-h1
config.h.in
havercurs
autom4te.cache
libtool
missing
aclocal.m4
install-sh


Added: trunk/clients/ncurses/Makefile.am
===================================================================
--- trunk/clients/ncurses/Makefile.am   2004-12-15 20:08:55 UTC (rev 413)
+++ trunk/clients/ncurses/Makefile.am   2004-12-15 21:35:24 UTC (rev 414)
@@ -0,0 +1,6 @@
+bin_PROGRAMS = havercurs
+havercurs_SOURCES = main.c main.h \
+                                       display.c display.h \
+                                       event.c event.h \
+                                       entry.c entry.h \
+                                       mymalloc.c mymalloc.h


Property changes on: trunk/clients/ncurses/Makefile.am
___________________________________________________________________
Name: svn:eol-style
   + native

Added: trunk/clients/ncurses/autogen.sh
===================================================================
--- trunk/clients/ncurses/autogen.sh    2004-12-15 20:08:55 UTC (rev 413)
+++ trunk/clients/ncurses/autogen.sh    2004-12-15 21:35:24 UTC (rev 414)
@@ -0,0 +1,7 @@
+#!/bin/bash
+export WANT_AUTOMAKE=1.7
+set -x
+aclocal &&
+autoheader &&
+automake --foreign --add-missing &&
+autoconf


Property changes on: trunk/clients/ncurses/autogen.sh
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:eol-style
   + native

Added: trunk/clients/ncurses/configure.in
===================================================================
--- trunk/clients/ncurses/configure.in  2004-12-15 20:08:55 UTC (rev 413)
+++ trunk/clients/ncurses/configure.in  2004-12-15 21:35:24 UTC (rev 414)
@@ -0,0 +1,25 @@
+dnl Process this file with autoconf to produce a configure script.
+AC_INIT(havercurs, 0.0.1)
+AM_INIT_AUTOMAKE
+AM_CONFIG_HEADER(config.h)
+
+dnl Checks for programs.
+AC_PROG_CC
+
+dnl Checks for libraries.
+
+dnl Checks for header files.
+AC_HEADER_STDC
+AC_CHECK_HEADERS(sys/time.h assert.h ncurses.h)
+
+dnl Checks for typedefs, structures, and compiler characteristics.
+AC_C_CONST
+AC_TYPE_SIZE_T
+AC_HEADER_TIME
+
+dnl Checks for library functions.
+AC_TYPE_SIGNAL
+AC_CHECK_FUNCS(gettimeofday select)
+AC_CHECK_LIB(ncurses, initscr)
+
+AC_OUTPUT(Makefile)


Property changes on: trunk/clients/ncurses/configure.in
___________________________________________________________________
Name: svn:eol-style
   + native


Reply via email to