* lib/Makefile.am (libbison_a_SOURCES): Adjust.
+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
2001-11-26 Akim Demaille <akim@epita.fr>
* src/conflicts.c (conflicts_print): Don't complain at all when
# Checks for library functions.
AC_FUNC_ALLOCA
# 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)
AC_CHECK_FUNCS(mkstemp setlocale)
AC_CHECK_DECLS([stpcpy, strndup, strnlen, memchr])
AC_REPLACE_FUNCS(stpcpy strndup strnlen strspn memchr)
EXTRA_DIST = malloc.c realloc.c
libbison_a_SOURCES = \
EXTRA_DIST = malloc.c realloc.c
libbison_a_SOURCES = \
getopt.h getopt.c getopt1.c \
hash.h hash.c \
getopt.h getopt.c getopt1.c \
hash.h hash.c \
quote.h quote.c quotearg.h quotearg.c \
xalloc.h xmalloc.c xstrdup.c
quote.h quote.c quotearg.h quotearg.c \
xalloc.h xmalloc.c xstrdup.c
if (!res)
{
/* Skeleton file name without path */
if (!res)
{
/* Skeleton file name without path */
- const char *skel_name = strrchr(skeleton_name, '/');
+ const char *skel_name = strrchr (skeleton_name, '/');
- skel_name = strrchr(skeleton_name, '\\');
+ skel_name = strrchr (skeleton_name, '\\');
if (!skel_name)
skel_name = skeleton_name;
else
if (!skel_name)
skel_name = skeleton_name;
else