Recursively delete conftest files

On OS X, one of the conftest files might be a directory named `conftest.dSYM`.
This commit is contained in:
Vittorio Giovara
2017-01-30 22:14:59 +01:00
committed by Henrik Gramner
parent 988ce45943
commit a2d2621cc5
2 changed files with 5 additions and 3 deletions
Vendored
+3 -2
View File
@@ -305,7 +305,8 @@ configure_system_override() {
return $res
}
rm -f x264_config.h config.h config.mak config.log x264.pc x264.def conftest*
rm -f x264_config.h config.h config.mak config.log x264.pc x264.def
rm -rf conftest*
# Construct a path to the specified directory relative to the working directory
relative_path() {
@@ -540,7 +541,7 @@ host="${host#*-}"
host_vendor="${host%%-*}"
host_os="${host#*-}"
trap 'rm -f conftest*' EXIT
trap 'rm -rf conftest*' EXIT
# test for use of compilers that require specific handling
cc_base=`basename "$CC"`