Skip to content

Commit

Permalink
No longer use C, nor, hence, libgnu.
Browse files Browse the repository at this point in the history
  • Loading branch information
rrthomas committed Feb 26, 2011
1 parent b85e42e commit c65b41d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 20 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Expand Up @@ -19,7 +19,7 @@
# Free Software Foundation, Fifth Floor, 51 Franklin Street, Boston,
# MA 02111-1301, USA.

SUBDIRS = lib src
SUBDIRS = src

ACLOCAL_AMFLAGS = -I m4

Expand Down
21 changes: 2 additions & 19 deletions configure.ac
Expand Up @@ -25,22 +25,14 @@ AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([-Wall -Werror std-options check-news])
AM_SILENT_RULES([yes])

dnl Set up C compiler
AC_GNU_SOURCE
AC_PROG_CC
AX_CFLAGS_WARN_ALL
if test "$GCC" = "yes"; then
CFLAGS="$CFLAGS -W -Wmissing-prototypes -Wstrict-prototypes -D_FORTIFY_SOURCE=2"
fi
dnl Set up gnulib
gl_EARLY
AM_PROG_CC_C_O

dnl help2man
AX_WITH_PROG(HELP2MAN, help2man)

dnl Checks for functions and headers
gl_INIT
AC_HEADER_STDC

dnl Emacs
AX_WITH_PROG(EMACS, emacs)
Expand All @@ -60,22 +52,13 @@ if test -z "$LUA"; then
AC_MSG_FAILURE([Lua not found])
fi
AX_LUA_VERSION(501, 502)
AX_LUA_HEADERS
AX_LUA_HEADERS_VERSION(501, 502)
AX_LUA_LIBS
if test -z "$LUA_LIB"; then
AC_MSG_FAILURE([liblua not found])
fi
AC_SUBST(LUA)
AC_SUBST(LUA_INCLUDE)
AC_SUBST(LUA_LIB)
AX_LUA_READLINE

dnl Extra definitions for config.h
AC_SUBST(CONFIGURE_DATE, ["`date '+%a %b %d %Y'`"])
AC_SUBST(CONFIGURE_HOST, ["${ac_hostname}"])

dnl Generate output
AC_CONFIG_HEADER(config.h)
AC_CONFIG_FILES(Makefile lib/Makefile src/Makefile src/zile.lua)
AC_CONFIG_FILES(Makefile src/Makefile src/zile.lua)
AC_OUTPUT

0 comments on commit c65b41d

Please sign in to comment.