* acinclude.m4: New options for smbfs:

--with-configdir=DIR    Where the Samba configuration files are (/etc)
--with-codepagedir=DIR  Where the Samba codepage files are
This commit is contained in:
Andrew V. Samoilov 2002-01-11 07:45:11 +00:00
parent e97b30ad04
commit 1fd13c4732
2 changed files with 40 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2002-01-11 Andrew V. Samoilov <kai@cmail.ru>
* acinclude.m4: New options for smbfs:
--with-configdir=DIR Where the Samba configuration files are (/etc)
--with-codepagedir=DIR Where the Samba codepage files are
2002-01-11 Pavel Roskin <proski@gnu.org>
* syntax/xml.syntax: New file - hightlighting for XML.

View File

@ -113,7 +113,40 @@ AC_DEFUN([MC_WITH_VFS],[
])
AC_SUBST(smbfs)
AC_SUBST(SAMBAFILES)
if test "x$smbfs" != x ; then
#################################################
# set Samba configuration directory location
configdir="/etc"
AC_ARG_WITH(configdir,
[ --with-configdir=DIR Where the Samba configuration files are (/etc)],
[ case "$withval" in
yes|no)
#
# Just in case anybody does it
#
AC_MSG_WARN([--with-configdir called without argument - will use default])
;;
* )
configdir="$withval"
;;
esac]
)
AC_SUBST(configdir)
AC_ARG_WITH(codepagedir,
[ --with-codepagedir=DIR Where the Samba codepage files are],
[ case "$withval" in
yes|no)
#
# Just in case anybody does it
#
AC_MSG_WARN([--with-codepagedir called without argument - will use default])
;;
esac]
)
fi
dnl
dnl The termnet support
dnl