mirror of https://github.com/Cisco-Talos/clamav
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
486 B
18 lines
486 B
AC_ARG_WITH([dbdir],
|
|
[AS_HELP_STRING([--with-dbdir@<:@=path@:>@], [path to virus database directory])],
|
|
db_dir="$withval", db_dir="_default_")
|
|
|
|
dnl I had problems with $pkgdatadir thus these funny checks
|
|
if test "$db_dir" = "_default_"
|
|
then
|
|
if test "$prefix" = "NONE"
|
|
then
|
|
db_dir="$ac_default_prefix/share/clamav"
|
|
else
|
|
db_dir="$prefix/share/clamav"
|
|
fi
|
|
fi
|
|
|
|
AC_DEFINE_UNQUOTED([DATADIR],"$db_dir", [Path to virus database directory.])
|
|
DBDIR="$db_dir"
|
|
AC_SUBST([DBDIR])
|
|
|