All the cool kids are doing it, er I mean make way for removing the m4 directory, just like all the other modules.

SVN revision: 30140
enlightenment-0.17
David Walter Seikel 16 years ago
parent 019cb2d5c3
commit 28a95883a5
  1. 16
      configure.in
  2. 4
      src/module/Makefile.am

@ -89,7 +89,21 @@ AC_PATH_PROG(EDJE_CC, "edje_cc", "", $PATH)
#
# Check Enlightenment
#
AC_PATH_GENERIC([enlightenment], [0.16.999.037], [], [AC_MSG_ERROR(Enlightenment is not installed)],)
AC_ARG_WITH(enlightenment-config,
[ --with-enlightenment-config=E_CONFIG use enlightenment-config specified ],
[
E_CONFIG=$withval;
echo "using "$E_CONFIG" for enlightenment-config";
],[
PROG="enlightenment-config";
AC_PATH_PROG(E_CONFIG, $PROG, "", $PATH)
])
e_cflags=`$E_CONFIG --cflags`
e_libs=`$E_CONFIG --libs`
e_modules=`$E_CONFIG --module-dir`
AC_SUBST(e_cflags)
AC_SUBST(e_libs)
AC_SUBST(e_modules)
AC_OUTPUT([
e_modules-news.spec

@ -4,7 +4,7 @@ MAINTAINERCLEANFILES = Makefile.in
INCLUDES = -I. \
-I$(top_srcdir) \
-I$(includedir) \
@ENLIGHTENMENT_CFLAGS@
@e_cflags@
pkgdir = $(datadir)/$(MODULE_ARCH)
pkg_LTLIBRARIES = module.la
@ -44,6 +44,6 @@ module_la_SOURCES = e_mod_main.c \
news_viewer.h \
News.h \
News_includes.h
module_la_LIBADD = @ENLIGHTENMENT_LIBS@
module_la_LIBADD = @e_libs@
module_la_LDFLAGS = -module -avoid-version -s
module_la_DEPENDENCIES = $(top_builddir)/config.h

Loading…
Cancel
Save