Changeset 37f27bc


Ignore:
Timestamp:
Jul 17, 2009, 9:44:39 PM (15 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
0ce0535
Parents:
4f0a2ee
git-author:
Nelson Elhage <nelhage@mit.edu> (06/01/09 15:28:35)
git-committer:
Nelson Elhage <nelhage@mit.edu> (07/17/09 21:44:39)
Message:
Switch the build system to using automake.

Use automake for the build system, which lets us clean a bunch of
cruft out of Makefile.in.
Files:
3 added
5 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • .gitignore

    rd5ef539 r37f27bc  
    44*~
    55.#*
     6.deps
    67META.yml
    78Makefile
     9/Makefile.in
     10/libfaim/Makefile.in
    811Makefile.old
    912TAGS
     
    2023configure
    2124core
     25depcomp
     26install-sh
    2227jabber.log
     28missing
    2329owl_prototypes.h
    2430owl_prototypes.h.new
     
    2632perlwrap.c
    2733pm_to_blib
     34stamp-h1
    2835tester
    2936varstubs.c
  • autogen.sh

    r130479b r37f27bc  
    11#!/bin/sh
    2 autoreconf
     2autoreconf -fvi
     3
  • configure.ac

    rc50f589 r37f27bc  
    11dnl $Id$
    22dnl Process this file with autoconf to produce a configure script.
    3 AC_INIT(owl.c)
     3AC_INIT([BarnOwl],[1.1.2],[bug-barnowl@mit.edu])
     4AM_INIT_AUTOMAKE([-Wall foreign])
    45
    5 AC_CONFIG_HEADER(config.h)
     6AC_CONFIG_HEADER([config.h])
    67
    78AC_PROG_CC
    8 
    9 dnl If we're using GCC, enable all warnings
    10 if test "$GCC" = yes; then
    11      CFLAGS="$CFLAGS -Wall -g";
    12 fi
    139
    1410dnl Check for Athena
     
    125121LDFLAGS="${GLIB_LIBS} ${LDFLAGS}"
    126122
     123if test "x${prefix}" = "xNONE"; then
     124   prefix="${ac_default_prefix}"
     125fi
     126
     127AC_DEFINE_UNQUOTED([DATADIR],["${prefix}/share/${PACKAGE}"],
     128                   [Package data directory])
     129
    127130dnl Checks for typedefs, structures, and compiler characteristics.
    128 
    129 dnl Support --program-{prefix,suffix,transform}
    130 AC_ARG_PROGRAM
    131131
    132132AC_SUBST(XSUBPPDIR)
     
    135135
    136136AC_PROG_INSTALL
     137AC_PROG_RANLIB
    137138
    138 AC_CONFIG_SUBDIRS(libfaim)
    139 
    140 AC_OUTPUT(Makefile)
     139AC_CONFIG_FILES([Makefile libfaim/Makefile])
     140AC_OUTPUT([perl/modules/Makefile])
  • owl.h

    rbd783db r37f27bc  
    4848static const char owl_h_fileIdent[] = "$Id$";
    4949
    50 #define BARNOWL_STRINGIFY(x) _STRINGIFY(x)
    51 #define _STRINGIFY(x) #x
    52 
    53 #ifndef OWL_VERSION_STRING
    54 #define OWL_VERSION_STRING "1.1.2"
    55 #endif
     50#define OWL_VERSION_STRING PACKAGE_VERSION
    5651
    5752/* Feature that is being tested to redirect stderr through a pipe.
Note: See TracChangeset for help on using the changeset viewer.