mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 02:20:11 +01:00
autoconf: Replace the configs/current symlink from config.status
Minor tweak so that running config.status will entirely recreate the configure settings by replacing the configs/current symlink.
This commit is contained in:
parent
17adf04e5c
commit
e14ebbce41
1 changed files with 4 additions and 1 deletions
|
|
@ -901,13 +901,16 @@ CPPFLAGS="$_SAVE_CPPFLAGS"
|
|||
|
||||
dnl Substitute the config
|
||||
AC_CONFIG_FILES([configs/autoconf])
|
||||
AC_OUTPUT
|
||||
|
||||
dnl Replace the configs/current symlink
|
||||
AC_CONFIG_COMMANDS([configs],[
|
||||
if test -f configs/current || test -L configs/current; then
|
||||
rm -f configs/current
|
||||
fi
|
||||
ln -s autoconf configs/current
|
||||
])
|
||||
|
||||
AC_OUTPUT
|
||||
|
||||
dnl
|
||||
dnl Output some configuration info for the user
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue