Skip to content

Commit

Permalink
configure: Add the m4 macros directories correctly.
Browse files Browse the repository at this point in the history
Signed-off-by: Thanh Tung Nguyen <thngtong@gmail.com>
[rebased, reworded the commit message]
Signed-off-by: Andrew Shadura <andrew.shadura@collabora.co.uk>
  • Loading branch information
Thanh Tung Nguyen authored and andrewshadura committed Aug 16, 2016
1 parent 1a82042 commit 48d5e25
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
ACLOCAL_AMFLAGS = -I build/m4/sparkleshare -I build/m4/shamrock -I build/m4/shave

basedirs = build Sparkles Sparkles/Git

SUBDIRS = $(basedirs) $(GUISUBDIRS)
Expand Down
5 changes: 3 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ AC_PREREQ([2.54])
AC_INIT([SparkleShare], sparkleshare_version)
AM_INIT_AUTOMAKE([1.11 dist-bzip2 dist-zip foreign tar-pax])
AM_MAINTAINER_MODE
LT_INIT

AC_CONFIG_MACRO_DIRS([build/m4/sparkleshare build/m4/shamrock build/m4/shave])

dnl Export Version Info
AC_SUBST([ASM_VERSION], [sparkleshare_version])
Expand All @@ -15,8 +18,6 @@ if test "x$PKG_CONFIG" = "xno"; then
AC_MSG_ERROR([pkg-config is not installed])
fi

AC_SUBST([ACLOCAL_AMFLAGS], ["-I build/m4/sparkleshare -I build/m4/shamrock -I build/m4/shave \${ACLOCAL_FLAGS}"])

SHAMROCK_EXPAND_LIBDIR
SHAMROCK_EXPAND_BINDIR
SHAMROCK_EXPAND_DATADIR
Expand Down

0 comments on commit 48d5e25

Please sign in to comment.