Introduction
Introduction Statistics Contact Development Disclaimer Help
Disallow --without-samba. Fix dist target. - susmb - mounting of SMB/CIFS share…
git clone git://git.codemadness.org/susmb
Log
Files
Refs
README
LICENSE
---
commit d57f583ca3b4b6d5f2280a9f81a9da584b320bac
parent 46b09904dbb90107762e9a74dae533e82f0f896d
Author: Geoff Johnstone <[email protected]>
Date: Fri, 10 Apr 2009 18:21:44 +0100
Disallow --without-samba. Fix dist target.
Diffstat:
M Makefile.in | 6 ++++--
M configure.ac | 8 ++++++--
2 files changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/Makefile.in b/Makefile.in
@@ -84,8 +84,10 @@ tar:
git log > $(STAGING)/Changelog
cp -a $(PWD)/* $(STAGING)/
rm -rf $(STAGING)/.hg
- (cd $(STAGING)/..; \
- tar jcf $(PWD)/usmb-$(VERSION).tar.bz2 usmb-$(VERSION) ; \
+ (cd $(STAGING)/.. && \
+ autoreconf && \
+ rm -rf autom4te.cache && \
+ tar jcf $(PWD)/usmb-$(VERSION).tar.bz2 usmb-$(VERSION) && \
tar zcf $(PWD)/usmb-$(VERSION).tar.gz usmb-$(VERSION))
rm -rf $(STAGING)
diff --git a/configure.ac b/configure.ac
@@ -11,8 +11,12 @@ AC_ARG_ENABLE([debug],
AC_ARG_WITH([samba],
[AS_HELP_STRING([--with-samba=prefix],
[Location of Samba (i.e. libsmbclient)])],
- [CFLAGS="$CFLAGS -I$withval/include"
- LDFLAGS="$LDFLAGS -L$withval/lib"])
+ [if test no = $withval ; then
+ AC_MSG_ERROR(Samba is required for building AC_PACKAGE_NAME)
+ else
+ CFLAGS="$CFLAGS -I$withval/include"
+ LDFLAGS="$LDFLAGS -L$withval/lib"
+ fi])
# Checks for programs.
AC_PROG_CC_C99([gcc])
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.