summaryrefslogtreecommitdiffstats
path: root/ldap/admin/src/create_instance.c
diff options
context:
space:
mode:
authorNoriko Hosoi <nhosoi@redhat.com>2006-11-13 23:45:44 +0000
committerNoriko Hosoi <nhosoi@redhat.com>2006-11-13 23:45:44 +0000
commit3165f18902bc901d136755b27ed28c90ff462a12 (patch)
treed79e24b73d32064131cfe2696532c620324f7442 /ldap/admin/src/create_instance.c
parent79267d0b0b24aec2174d9910e1787da633f73882 (diff)
downloadds-3165f18902bc901d136755b27ed28c90ff462a12.tar.gz
ds-3165f18902bc901d136755b27ed28c90ff462a12.tar.xz
ds-3165f18902bc901d136755b27ed28c90ff462a12.zip
Resolves: #214533
Summary: configure needs to support --with-fhs (Comment #13) Changes: configure.ac: $prefix should have been @prefix@. $prefix is replaced with the value of --prefix, but not with AC_PREFIX_DEFAULT when --prefix is not given. create_instance.[ch]: depending upon the macro IS_FHS, change swich the LIBDIR, BINDIR, DATADIR, and DOCDIR. ds_newinst.pl.in: use @libdir@ to get the ds_newinst path.
Diffstat (limited to 'ldap/admin/src/create_instance.c')
-rw-r--r--ldap/admin/src/create_instance.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldap/admin/src/create_instance.c b/ldap/admin/src/create_instance.c
index 0bae15cc..10567cf7 100644
--- a/ldap/admin/src/create_instance.c
+++ b/ldap/admin/src/create_instance.c
@@ -4346,8 +4346,8 @@ int parse_form(server_config_s *cf)
prefix = cf->prefix = PL_strdup("/");
}
- cf->sroot = PR_smprintf("%s%cusr%clib%c%s",
- prefix, FILE_PATHSEP, FILE_PATHSEP, FILE_PATHSEP, cf->brand_ds);
+ cf->sroot = PR_smprintf("%s%s%c%s",
+ prefix, LIBDIR, FILE_PATHSEP, cf->brand_ds);
temp = ds_a_get_cgi_var("sasl_path", NULL, NULL);
if (NULL != temp) {
/* if sasl_path is given, we set it in the conf file regardless of