Changeset 12a6616


Ignore:
Timestamp:
Oct 3, 2010, 9:15:02 PM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
811644f
Parents:
8b2789c
git-author:
David Benjamin <davidben@mit.edu> (10/03/10 20:43:02)
git-committer:
David Benjamin <davidben@mit.edu> (10/03/10 21:15:02)
Message:
Add a compatibility implementation of memrchr

It's a GNU extension and not available on Solaris.
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • Makefile.am

    rc394de8 r12a6616  
    2222doc_DATA = doc/intro.txt doc/advanced.txt
    2323
    24 barnowl_bin_LDADD = libfaim/libfaim.a
     24barnowl_bin_LDADD = compat/libcompat.a libfaim/libfaim.a
    2525
    2626tester_bin_SOURCES = $(BASE_SRCS) \
     
    2929     tester.c
    3030
    31 tester_bin_LDADD = libfaim/libfaim.a
     31tester_bin_LDADD = compat/libcompat.a libfaim/libfaim.a
    3232
    3333TESTS=runtests.sh
     
    8888              $(DESTDIR)$(bindir)/$(call do_transform,barnowl)
    8989
    90 SUBDIRS = libfaim perl
     90SUBDIRS = compat libfaim perl
  • configure.ac

    r8b2789c r12a6616  
    155155fi
    156156
    157 AC_CONFIG_FILES([Makefile libfaim/Makefile perl/Makefile perl/modules/Makefile])
     157AC_CONFIG_LIBOBJ_DIR([compat])
     158AC_REPLACE_FUNCS([memrchr])
     159
     160AC_CONFIG_FILES([Makefile compat/Makefile libfaim/Makefile perl/Makefile perl/modules/Makefile])
    158161AC_OUTPUT
  • owl.h

    rc6adf17 r12a6616  
    1111
    1212#include "config.h"
     13
     14#include "compat/compat.h"
    1315
    1416#ifdef HAVE_STDBOOL_H
Note: See TracChangeset for help on using the changeset viewer.