Changes in / [a52d13a:130633c]


Ignore:
Files:
3 added
6 deleted
6 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

    r4097723 rc08a725  
    11dnl $Id$
    22dnl Process this file with autoconf to produce a configure script.
    3 AC_INIT(owl.c)
     3AC_INIT([BarnOwl],[1.3],[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
     
    9793   ])])
    9894
    99 AC_ARG_ENABLE([athstatic], AS_HELP_STRING([--enable-athstatic],
    100                                           [Statically link libraries in /usr/athena/lib]),
    101                                           [ATHSTATIC=./athstatic],
    102                                           [ATHSTATIC=])
    103 
    10495AC_CHECK_FUNCS(use_default_colors resizeterm des_string_to_key des_key_sched des_ecb_encrypt)
    10596AC_CHECK_FUNCS(                            DES_string_to_key  DES_ecb_encrypt DES_key_sched)
     
    143134dnl Add LDFLAGS for embedded perl
    144135FOO=`perl -MExtUtils::Embed -e ldopts`
    145 AC_MSG_NOTICE([Adding perl LDFLAGS ${FOO}])
    146 LDFLAGS=${LDFLAGS}\ ${FOO}
     136AC_MSG_NOTICE([Adding perl LIBS ${FOO}])
     137LIBS=${LIBS}\ ${FOO}
    147138
    148139dnl Add CFLAGS and LDFLAGS for glib-2.0
     
    154145LDFLAGS="${GLIB_LIBS} ${LDFLAGS}"
    155146
     147if test "x${prefix}" = "xNONE"; then
     148   prefix="${ac_default_prefix}"
     149fi
     150
     151AC_DEFINE_UNQUOTED([DATADIR],["${prefix}/share/${PACKAGE}"],
     152                   [Package data directory])
     153
    156154dnl Checks for typedefs, structures, and compiler characteristics.
    157 
    158 dnl Support --program-{prefix,suffix,transform}
    159 AC_ARG_PROGRAM
    160155
    161156AC_SUBST(XSUBPPDIR)
    162157AC_SUBST(XSUBPPFLAGS)
    163 AC_SUBST(ATHSTATIC)
    164158
    165159AC_PROG_INSTALL
     160AC_PROG_RANLIB
    166161
    167 AC_CONFIG_SUBDIRS(libfaim)
    168 
    169 AC_OUTPUT(Makefile)
     162AC_CONFIG_FILES([Makefile libfaim/Makefile])
     163AC_OUTPUT([perl/modules/Makefile])
  • owl.h

    ra88f35a 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.3"
    55 #endif
     50#define OWL_VERSION_STRING PACKAGE_VERSION
    5651
    5752/* Feature that is being tested to redirect stderr through a pipe.
  • scripts/do-release

    r11b9017 rdb98968  
    66}
    77
    8 VERS=$(perl -lne 'print $1 if m{^#define\s+OWL_VERSION_STRING\s+"([^"]+)"\s*$}' owl.h) \
     8VERS=$(perl -ne 'print $1 if m{^AC_INIT\(\[[^\]]+\],\s*\[([^\]]+)\]}' configure.ac) \
    99    || die "Unable to parse barnowl version"
    1010TAG=barnowl-$VERS
     
    2929CODIR=$(pwd)
    3030cd "$TMPDIR/$TGZ"
    31 autoreconf
     31autoreconf -fvi
    3232cd "$TMPDIR"
    3333tar czvf "$TGZ.tgz" "$TGZ"
  • scripts/locker-build

    re477a53 rdb98968  
    7575(
    7676    cd "$TMPDIR"/* || die "Unable to cd to $TMPDIR"
    77     VERS=$(perl -ne 'print $1 if m{^#define\s*OWL_VERSION_STRING\s*"([^"]+)"}' owl.h)
     77    VERS=$(perl -ne 'print $1 if m{^AC_INIT\(\[[^\]]+\],\s*\[([^\]]+)\]}' configure.ac)
    7878    test -z "$VERS" && die "Unable to detect barnowl version."
    7979
Note: See TracChangeset for help on using the changeset viewer.