mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
autoconf: Replace configs/current symlink from configure
Rather than having the user run `make autoconf' and have the Makefile setup the configs/current -> autoconf symlink, we can just do that in configure. This allows the user to just run `make' to build.
This commit is contained in:
parent
78175579c2
commit
aab38cfc43
1 changed files with 7 additions and 1 deletions
|
|
@ -730,6 +730,12 @@ CPPFLAGS="$_SAVE_CPPFLAGS"
|
|||
dnl Substitute the config
|
||||
AC_OUTPUT([configs/autoconf])
|
||||
|
||||
dnl Replace the configs/current symlink
|
||||
if test -f configs/current || test -L configs/current; then
|
||||
rm -f configs/current
|
||||
fi
|
||||
ln -s autoconf configs/current
|
||||
|
||||
dnl
|
||||
dnl Output some configuration info for the user
|
||||
dnl
|
||||
|
|
@ -775,5 +781,5 @@ else
|
|||
fi
|
||||
|
||||
echo ""
|
||||
echo " Run 'make autoconf' to build Mesa"
|
||||
echo " Run 'make' to build Mesa"
|
||||
echo ""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue