mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
* configure.in: Invoke AC_FUNC_OBSTACK and AC_FUNC_ERROR_AT_LINE.
* lib/Makefile.am (libbison_a_SOURCES): Adjust.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user