Fix references to source tree in VPATH builds
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
This commit is contained in:
parent
cb3126f001
commit
46c29c8a22
|
@ -32,7 +32,7 @@ EXTRA_DIST = m4
|
|||
|
||||
if GIT_REPO
|
||||
|
||||
ChangeLog: .git/objects
|
||||
ChangeLog: $(srcdir)/.git/objects
|
||||
git log > $@
|
||||
|
||||
endif
|
||||
|
|
10
configure.ac
10
configure.ac
|
@ -154,11 +154,13 @@ AC_CHECK_FUNCS([gethostbyname gettimeofday inet_ntoa memset select socket strcas
|
|||
MISDN_CHECK_AF_ISDN
|
||||
|
||||
|
||||
if test -d .git/objects
|
||||
then
|
||||
git_repo=true
|
||||
AC_MSG_CHECKING([whether building from git])
|
||||
if test -d ${srcdir}/.git/objects; then
|
||||
AC_MSG_RESULT([yes])
|
||||
git_repo=true
|
||||
else
|
||||
git_repo=false
|
||||
AC_MSG_RESULT([no])
|
||||
git_repo=false
|
||||
fi
|
||||
|
||||
AC_MISDN_GROUP
|
||||
|
|
|
@ -20,6 +20,6 @@ lib_LTLIBRARIES = libmisdn.la
|
|||
libmisdn_la_SOURCES = $(MISC_SRC) $(LAYER3_SRC) $(INCLUDE_SRC) $(ASN1_SRC) $(SUPPSERV_SRC)
|
||||
libmisdn_la_LDFLAGS = -version-info 1:0:0
|
||||
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/include -Iinclude $(_MEMLEAKDEBUG)
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(srcdir)/include $(_MEMLEAKDEBUG)
|
||||
|
||||
CLEANFILES = *~ */*~
|
||||
|
|
Loading…
Reference in New Issue