mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
maint: Actually set the default prefix.
Followup to 77771036f0.
* configure.ac: Use AC_DEFAULT_PREFIX to set default prefix.
Change-Id: I213347a3976fa5cd305a5d26110b7aac24b9dbe1
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Fixes: guix/guix#1451
This commit is contained in:
parent
dc9046061c
commit
29c85286ea
1 changed files with 2 additions and 1 deletions
|
|
@ -94,7 +94,8 @@ dnl Prepare a version of $localstatedir & co. that does not contain references
|
||||||
dnl to shell variables. Also set some sane default directory variables for
|
dnl to shell variables. Also set some sane default directory variables for
|
||||||
dnl use with the Guix. This also causes localstatedir to be /var and
|
dnl use with the Guix. This also causes localstatedir to be /var and
|
||||||
dnl sysconfdir to be /etc.
|
dnl sysconfdir to be /etc.
|
||||||
test "$prefix" = NONE && prefix=
|
AC_PREFIX_DEFAULT()
|
||||||
|
guix_prefix="`eval echo $prefix | sed -e"s|NONE|$ac_default_prefix|g"`"
|
||||||
guix_localstatedir="`eval echo $localstatedir | sed -e "s|NONE|$guix_prefix|g"`"
|
guix_localstatedir="`eval echo $localstatedir | sed -e "s|NONE|$guix_prefix|g"`"
|
||||||
guix_sysconfdir="`eval echo $sysconfdir | sed -e "s|NONE|$guix_prefix|g"`"
|
guix_sysconfdir="`eval echo $sysconfdir | sed -e "s|NONE|$guix_prefix|g"`"
|
||||||
guix_sbindir="`eval echo $sbindir | sed -e "s|NONE|$guix_prefix|g"`"
|
guix_sbindir="`eval echo $sbindir | sed -e "s|NONE|$guix_prefix|g"`"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue