diff options
| author | Dariqq <dariqq@posteo.net> | 2025-07-21 17:28:02 +0000 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2025-10-13 14:48:27 +0200 |
| commit | 29c85286eabb7ee64c3100a57ba2c077311a72b9 (patch) | |
| tree | be9cdad890936cf893794270a01574a9464f2881 /configure.ac | |
| parent | dc9046061c9e09fc0e0f3fd594d2429d2d76309f (diff) | |
maint: Actually set the default prefix.
Followup to 77771036f0970083c146b709d792d128f4235125.
* 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
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 0b0e7876fc1..7f11eead027 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -94,7 +94,8 @@ dnl Prepare a version of $localstatedir & co. that does not contain references | |||
| 94 | dnl to shell variables. Also set some sane default directory variables for | 94 | dnl to shell variables. Also set some sane default directory variables for |
| 95 | dnl use with the Guix. This also causes localstatedir to be /var and | 95 | dnl use with the Guix. This also causes localstatedir to be /var and |
| 96 | dnl sysconfdir to be /etc. | 96 | dnl sysconfdir to be /etc. |
| 97 | test "$prefix" = NONE && prefix= | 97 | AC_PREFIX_DEFAULT() |
| 98 | guix_prefix="`eval echo $prefix | sed -e"s|NONE|$ac_default_prefix|g"`" | ||
| 98 | guix_localstatedir="`eval echo $localstatedir | sed -e "s|NONE|$guix_prefix|g"`" | 99 | guix_localstatedir="`eval echo $localstatedir | sed -e "s|NONE|$guix_prefix|g"`" |
| 99 | guix_sysconfdir="`eval echo $sysconfdir | sed -e "s|NONE|$guix_prefix|g"`" | 100 | guix_sysconfdir="`eval echo $sysconfdir | sed -e "s|NONE|$guix_prefix|g"`" |
| 100 | guix_sbindir="`eval echo $sbindir | sed -e "s|NONE|$guix_prefix|g"`" | 101 | guix_sbindir="`eval echo $sbindir | sed -e "s|NONE|$guix_prefix|g"`" |
