summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-09-03 01:34:14 +0000
committerStef Walter <stef@memberwebs.com>2004-09-03 01:34:14 +0000
commit1c4ed8a00cd6c5804055bc72d453591854d8ecf7 (patch)
tree0d81245e43bbae6cac10b74ffc5bf4f461adec43 /configure.in
parent70de43d528dc44d2f1cc5e0e375b0927458019eb (diff)
Configuration file for clamsmtp
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 18be253..de40fb5 100644
--- a/configure.in
+++ b/configure.in
@@ -87,5 +87,12 @@ AC_CHECK_FUNCS([memset strerror malloc realloc getopt strchr tolower getaddrinfo
[echo "ERROR: Required function missing"; exit 1])
AC_CHECK_FUNCS([strlwr strlcat strlcpy strncat strncpy])
-AC_CONFIG_FILES([Makefile src/Makefile])
+# Have to resolve this for the path below
+if test "${prefix}" = "NONE"; then
+ prefix=$ac_default_prefix
+fi
+
+AC_DEFINE_UNQUOTED(CONF_PREFIX, "`eval echo ${sysconfdir}`", [Installation Prefix] )
+
+AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile])
AC_OUTPUT