mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
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>
This commit is contained in:
parent
dcad785074
commit
81439a116c
5
sysdeps/unix/sysv/linux/configure
vendored
Normal file → Executable file
5
sysdeps/unix/sysv/linux/configure
vendored
Normal file → Executable file
@ -1,3 +1,4 @@
|
|||||||
|
ac_default_prefix=/usr
|
||||||
# This file is generated from configure.ac by Autoconf. DO NOT EDIT!
|
# This file is generated from configure.ac by Autoconf. DO NOT EDIT!
|
||||||
# Local configure fragment for sysdeps/unix/sysv/linux.
|
# Local configure fragment for sysdeps/unix/sysv/linux.
|
||||||
|
|
||||||
@ -116,7 +117,9 @@ if test -n "$sysheaders"; then
|
|||||||
CPPFLAGS=$OLD_CPPFLAGS
|
CPPFLAGS=$OLD_CPPFLAGS
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$prefix" = "/usr/local" -o "$prefix" = "/usr/local/" -o "$prefix" = "NONE"; then
|
|
||||||
|
|
||||||
|
if test "$prefix" = "/usr/local" -o "$prefix" = "/usr/local/"; then
|
||||||
if test $enable_sanity = yes; then
|
if test $enable_sanity = yes; then
|
||||||
echo "\
|
echo "\
|
||||||
*** On GNU/Linux systems the GNU C Library should not be installed into
|
*** On GNU/Linux systems the GNU C Library should not be installed into
|
||||||
|
@ -71,7 +71,9 @@ if test -n "$sysheaders"; then
|
|||||||
CPPFLAGS=$OLD_CPPFLAGS
|
CPPFLAGS=$OLD_CPPFLAGS
|
||||||
fi
|
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
|
if test $enable_sanity = yes; then
|
||||||
echo "\
|
echo "\
|
||||||
*** On GNU/Linux systems the GNU C Library should not be installed into
|
*** On GNU/Linux systems the GNU C Library should not be installed into
|
||||||
|
Loading…
Reference in New Issue
Block a user