diff options
author | Stef Walter <stef@memberwebs.com> | 2004-08-25 00:10:51 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2004-08-25 00:10:51 +0000 |
commit | 97bad4918cb759689a72d8635004a7ee92dd8e51 (patch) | |
tree | 266a2f558453f27d51be1d1466f0dc28fcadd79f /configure.in | |
parent | 66bb0fb11442101a329e90a558b0d74ca1afe4fc (diff) |
Default configuration follows ./configure prefix
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 87b485c..9978332 100644 --- a/configure.in +++ b/configure.in @@ -170,5 +170,12 @@ if test -n "$enable_ntlm"; then AC_DEFINE_UNQUOTED(WITH_NTLM, 1, [With NTLM Support] ) fi +# 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 daemon/Makefile doc/Makefile tools/Makefile]) AC_OUTPUT |