diff options
author | Yang Tse <yangsita@gmail.com> | 2008-07-28 16:17:51 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-07-28 16:17:51 +0000 |
commit | 57d13c770ae32f5f760a7d060003b6d8a58f96bc (patch) | |
tree | 881b6890968ea53567aeee0c337252892fbbb3b2 /buildconf | |
parent | 169238463610a7adf0bc42b52d2cdd1f31b5368d (diff) | |
download | curl-57d13c770ae32f5f760a7d060003b6d8a58f96bc.tar.gz |
Ensure that buildconf runs from the subdirectory where configure.ac lives
Diffstat (limited to 'buildconf')
-rwxr-xr-x | buildconf | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -44,6 +44,18 @@ findtool(){ } #-------------------------------------------------------------------------- +# 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 # need_autoconf="2.57" |