diff options
author | James O'Gorman <james@netinertia.co.uk> | 2008-01-29 09:16:40 +0000 |
---|---|---|
committer | James O'Gorman <james@netinertia.co.uk> | 2008-01-29 09:16:40 +0000 |
commit | dc559421991c27ed5d9651cff71cdc258495c4b6 (patch) | |
tree | 8d0b5ed2557520c2d7e90be2ba44fefc258b4dc4 /configure.ac | |
parent | 2adf0edd7f72230353b4b5152439e167aaaaf0a4 (diff) |
Fix for sysconfdir and localstatedir options to configure
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 60caf9d5..85b8c968 100644 --- a/configure.ac +++ b/configure.ac @@ -7,8 +7,8 @@ AC_CONFIG_SRCDIR([lib/common/Box.h]) AC_CONFIG_HEADERS([lib/common/BoxConfig.h]) # override default sysconfdir, for backwards compatibility -AC_SUBST([sysconfdir], ['/etc'])dnl -AC_SUBST([localstatedir], ['/var/run'])dnl +test "$sysconfdir" = NONE && sysconfdir=/etc +test "$localstatedir" = NONE && localstatedir=/var/run touch install-sh AC_CANONICAL_SYSTEM |