Changes in / [130633c:a52d13a]


Ignore:
Files:
6 added
3 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • .gitignore

    r37f27bc rd5ef539  
    44*~
    55.#*
    6 .deps
    76META.yml
    87Makefile
    9 /Makefile.in
    10 /libfaim/Makefile.in
    118Makefile.old
    129TAGS
     
    2320configure
    2421core
    25 depcomp
    26 install-sh
    2722jabber.log
    28 missing
    2923owl_prototypes.h
    3024owl_prototypes.h.new
     
    3226perlwrap.c
    3327pm_to_blib
    34 stamp-h1
    3528tester
    3629varstubs.c
  • autogen.sh

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

    rc08a725 r4097723  
    11dnl $Id$
    22dnl Process this file with autoconf to produce a configure script.
    3 AC_INIT([BarnOwl],[1.3],[bug-barnowl@mit.edu])
    4 AM_INIT_AUTOMAKE([-Wall foreign])
     3AC_INIT(owl.c)
    54
    6 AC_CONFIG_HEADER([config.h])
     5AC_CONFIG_HEADER(config.h)
    76
    87AC_PROG_CC
     8
     9dnl If we're using GCC, enable all warnings
     10if test "$GCC" = yes; then
     11     CFLAGS="$CFLAGS -Wall -g";
     12fi
    913
    1014dnl Check for Athena
     
    9397   ])])
    9498
     99AC_ARG_ENABLE([athstatic], AS_HELP_STRING([--enable-athstatic],
     100                                          [Statically link libraries in /usr/athena/lib]),
     101                                          [ATHSTATIC=./athstatic],
     102                                          [ATHSTATIC=])
     103
    95104AC_CHECK_FUNCS(use_default_colors resizeterm des_string_to_key des_key_sched des_ecb_encrypt)
    96105AC_CHECK_FUNCS(                            DES_string_to_key  DES_ecb_encrypt DES_key_sched)
     
    134143dnl Add LDFLAGS for embedded perl
    135144FOO=`perl -MExtUtils::Embed -e ldopts`
    136 AC_MSG_NOTICE([Adding perl LIBS ${FOO}])
    137 LIBS=${LIBS}\ ${FOO}
     145AC_MSG_NOTICE([Adding perl LDFLAGS ${FOO}])
     146LDFLAGS=${LDFLAGS}\ ${FOO}
    138147
    139148dnl Add CFLAGS and LDFLAGS for glib-2.0
     
    145154LDFLAGS="${GLIB_LIBS} ${LDFLAGS}"
    146155
    147 if test "x${prefix}" = "xNONE"; then
    148    prefix="${ac_default_prefix}"
    149 fi
     156dnl Checks for typedefs, structures, and compiler characteristics.
    150157
    151 AC_DEFINE_UNQUOTED([DATADIR],["${prefix}/share/${PACKAGE}"],
    152                    [Package data directory])
    153 
    154 dnl Checks for typedefs, structures, and compiler characteristics.
     158dnl Support --program-{prefix,suffix,transform}
     159AC_ARG_PROGRAM
    155160
    156161AC_SUBST(XSUBPPDIR)
    157162AC_SUBST(XSUBPPFLAGS)
     163AC_SUBST(ATHSTATIC)
    158164
    159165AC_PROG_INSTALL
    160 AC_PROG_RANLIB
    161166
    162 AC_CONFIG_FILES([Makefile libfaim/Makefile])
    163 AC_OUTPUT([perl/modules/Makefile])
     167AC_CONFIG_SUBDIRS(libfaim)
     168
     169AC_OUTPUT(Makefile)
  • owl.h

    r37f27bc ra88f35a  
    4848static const char owl_h_fileIdent[] = "$Id$";
    4949
    50 #define OWL_VERSION_STRING PACKAGE_VERSION
     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
    5156
    5257/* Feature that is being tested to redirect stderr through a pipe.
  • scripts/do-release

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

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