* configure.in: Invoke AC_FUNC_OBSTACK and AC_FUNC_ERROR_AT_LINE.

* lib/Makefile.am (libbison_a_SOURCES): Adjust.
This commit is contained in:
Akim Demaille
2001-11-26 09:35:38 +00:00
parent a034c8b849
commit 5e147124b5
4 changed files with 9 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
2001-11-26 Akim Demaille <akim@epita.fr>
* configure.in: Invoke AC_FUNC_OBSTACK and AC_FUNC_ERROR_AT_LINE.
* lib/Makefile.am (libbison_a_SOURCES): Adjust.
2001-11-26 Akim Demaille <akim@epita.fr>
* src/conflicts.c (conflicts_print): Don't complain at all when

View File

@@ -85,6 +85,8 @@ AM_C_PROTOTYPES
# Checks for library functions.
AC_FUNC_ALLOCA
AC_FUNC_OBSTACK
AC_FUNC_ERROR_AT_LINE
AC_CHECK_FUNCS(mkstemp setlocale)
AC_CHECK_DECLS([stpcpy, strndup, strnlen, memchr])
AC_REPLACE_FUNCS(stpcpy strndup strnlen strspn memchr)

View File

@@ -12,10 +12,8 @@ INCLUDES = -I.. -I$(srcdir) -I$(top_srcdir)/src -I../intl
EXTRA_DIST = malloc.c realloc.c
libbison_a_SOURCES = \
error.c error.h \
getopt.h getopt.c getopt1.c \
hash.h hash.c \
obstack.h obstack.c \
quote.h quote.c quotearg.h quotearg.c \
xalloc.h xmalloc.c xstrdup.c

View File

@@ -211,9 +211,9 @@ skeleton_find (const char *envvar, const char *skeleton_name)
if (!res)
{
/* Skeleton file name without path */
const char *skel_name = strrchr(skeleton_name, '/');
const char *skel_name = strrchr (skeleton_name, '/');
if (!skel_name)
skel_name = strrchr(skeleton_name, '\\');
skel_name = strrchr (skeleton_name, '\\');
if (!skel_name)
skel_name = skeleton_name;
else