aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/configure.ac
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2024-10-11 18:13:41 -0400
committerDJ Delorie <dj@redhat.com>2024-10-22 18:11:49 -0400
commit81439a116cf48583127ddf1f09809440aa40969a (patch)
treef7f8b78a9201d202630a3f9a459c0c19ddb8d21f /sysdeps/unix/sysv/linux/configure.ac
parentdcad78507433a9a64b8b548b19e110933f8d939a (diff)
downloadglibc-81439a116cf48583127ddf1f09809440aa40969a.zip
glibc-81439a116cf48583127ddf1f09809440aa40969a.tar.gz
glibc-81439a116cf48583127ddf1f09809440aa40969a.tar.bz2
configure: default to --prefix=/usr on GNU/Linux
I'm getting tired of always typing --prefix=/usr so making it the default. Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/configure.ac')
-rw-r--r--sysdeps/unix/sysv/linux/configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/configure.ac b/sysdeps/unix/sysv/linux/configure.ac
index c177e08..4c43cda 100644
--- a/sysdeps/unix/sysv/linux/configure.ac
+++ b/sysdeps/unix/sysv/linux/configure.ac
@@ -71,7 +71,9 @@ if test -n "$sysheaders"; then
CPPFLAGS=$OLD_CPPFLAGS
fi
-if test "$prefix" = "/usr/local" -o "$prefix" = "/usr/local/" -o "$prefix" = "NONE"; then
+AC_PREFIX_DEFAULT([/usr])
+
+if test "$prefix" = "/usr/local" -o "$prefix" = "/usr/local/"; then
if test $enable_sanity = yes; then
echo "\
*** On GNU/Linux systems the GNU C Library should not be installed into