1
1

* Makefile.am (AM_CFLAGS): Add -DCONFIGDIR=\""@configdir@"\"

if smbfs support is enabled.

* smbfs.c (smbfs_init): Use CONFIGDIR for smb.conf.
Этот коммит содержится в:
Andrew V. Samoilov 2002-01-11 08:24:17 +00:00
родитель 1fd13c4732
Коммит d8bec56efe
3 изменённых файлов: 13 добавлений и 2 удалений

Просмотреть файл

@ -1,4 +1,11 @@
2001-01-02 Pavel Roskin <proski@gnu.org>
2002-01-11 Andrew V. Samoilov <kai@cmail.ru>
* Makefile.am (AM_CFLAGS): Add -DCONFIGDIR=\""@configdir@"\"
if smbfs support is enabled.
* smbfs.c (smbfs_init): Use CONFIGDIR for smb.conf.
2002-01-02 Pavel Roskin <proski@gnu.org>
* Makefile.am: Add *clean-local targets to take care of the
samba directory.

Просмотреть файл

@ -1,6 +1,10 @@
SUBDIRS = extfs
if USE_SAMBA_FS
AM_CFLAGS = $(GLIB_CFLAGS) -DCONFIGDIR=\""@configdir@"\"
else
AM_CFLAGS = $(GLIB_CFLAGS)
endif
BASICFILES = \
cpio.c \

Просмотреть файл

@ -250,7 +250,7 @@ smbfs_set_debug(int arg)
static int
smbfs_init(vfs *me)
{
char *servicesf = "/etc/smb.conf";
char *servicesf = CONFIGDIR "/smb.conf";
/* DEBUGLEVEL = 4; */