diff options
author | Roland McGrath <roland@hack.frob.com> | 2012-06-22 10:11:07 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2012-06-22 10:11:07 -0700 |
commit | 4248b1b1cf8c641fb51d92c3d2cfac81b02a903e (patch) | |
tree | 7be1c86dab37ceca90a5427e71d4735b713d7886 /sysdeps/gnu/configure | |
parent | 116a106aaf21065d3a9c62b38ad84fc60133a135 (diff) | |
download | glibc-4248b1b1cf8c641fb51d92c3d2cfac81b02a903e.tar.gz glibc-4248b1b1cf8c641fb51d92c3d2cfac81b02a903e.tar.xz glibc-4248b1b1cf8c641fb51d92c3d2cfac81b02a903e.zip |
Respect --localstatedir for /var/db parent directory.
Diffstat (limited to 'sysdeps/gnu/configure')
-rw-r--r-- | sysdeps/gnu/configure | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sysdeps/gnu/configure b/sysdeps/gnu/configure index 634e1d0cc6..26327ca3b4 100644 --- a/sysdeps/gnu/configure +++ b/sysdeps/gnu/configure @@ -25,12 +25,18 @@ case "$prefix" in libc_cv_slibdir=/lib ;; esac - # Allow the user to override the path with --sysconfdir + # Allow the user to override the path with --sysconfdir. if test "$sysconfdir" = '${prefix}/etc'; then libc_cv_sysconfdir=/etc else libc_cv_sysconfdir=$sysconfdir fi + # Allow the user to override the path with --localstatedir. + if test "$localstatedir" = '${prefix}/var'; then + libc_cv_localstatedir=/var + else + libc_cv_localstatedir=$localstatedir + fi libc_cv_rootsbindir=/sbin ;; esac |