Skip to content

Commit

Permalink
Use gcc/libiberty implementation of obstack
Browse files Browse the repository at this point in the history
  • Loading branch information
pullmoll committed Sep 10, 2015
1 parent a8c5843 commit 64f9e57
Show file tree
Hide file tree
Showing 7 changed files with 399 additions and 285 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ Makefile
aclocal.m4
autom4te.cache/
compile
config.guess
config.log
config.status
config.sub
configure
depcomp
ltmain.sh
install-sh
missing
m4/
32 changes: 18 additions & 14 deletions COPYING
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
Copyright (C) 1988-1994,1996-1999,2003,2004,2005,2009,2011
Free Software Foundation, Inc.
This file is part of the GNU C Library.
Copyright 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1996, 1997, 1998,
1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
Free Software Foundation, Inc.

The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

The GNU C Library is distributed in the hope that it will be useful,
NOTE: The canonical source of this file is maintained with the GNU C Library.
Bugs can be reported to [email protected].

This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your option) any
later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301,
USA.
9 changes: 5 additions & 4 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## Makefile.am - procress this file with automake to produce Makefile.in
lib_LIBRARIES = libobstack.a
libobstack_a_SOURCES = obstack.c
libobstack_a_HEADERS = obstack.h
libobstack_adir = $(includedir)
lib_LTLIBRARIES = libobstack.la
libobstack_la_SOURCES = obstack.c
libobstack_la_HEADERS = obstack.h
libobstack_ladir = $(includedir)
ACLOCAL_AMFLAGS = -Im4
1 change: 1 addition & 0 deletions bootstrap.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
libtoolize
aclocal
autoconf
automake --add-missing
5 changes: 3 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ dnl Process this file with autoconf to produce a configure script

AC_PREREQ(2.69)

AC_INIT([obstack], [1.0], [Jürgen Buchmüller <[email protected]>])
AC_INIT([obstack], [1.0], [[email protected]])

AM_INIT_AUTOMAKE([1.15])
AC_CONFIG_MACRO_DIR([m4])

AC_PROG_CC
AC_PROG_RANLIB
AC_PROG_LIBTOOL

AC_CHECK_HEADERS(stddef.h stdio.h stdint.h inttypes.h)

Expand Down
Loading

0 comments on commit 64f9e57

Please sign in to comment.