mirror of
https://github.com/curl/curl.git
synced 2026-08-15 12:03:48 +03:00
Ensure that buildconf runs from the subdirectory where configure.ac lives
This commit is contained in:
parent
1692384636
commit
57d13c770a
1 changed files with 12 additions and 0 deletions
12
buildconf
12
buildconf
|
|
@ -43,6 +43,18 @@ findtool(){
|
|||
done
|
||||
}
|
||||
|
||||
#--------------------------------------------------------------------------
|
||||
# Ensure that buildconf runs from the subdirectory where configure.ac lives
|
||||
#
|
||||
if test ! -f configure.ac ||
|
||||
test ! -f src/main.c ||
|
||||
test ! -f lib/urldata.h ||
|
||||
test ! -f include/curl/curl.h; then
|
||||
echo "Can not run buildconf from outside of curl's source subdirectory!"
|
||||
echo "Change to the subdirectory where buildconf is found, and try again."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#--------------------------------------------------------------------------
|
||||
# autoconf 2.57 or newer
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue