speed up gmp search

master
Don Bright 2015-03-05 02:21:51 -06:00
parent 4b45893575
commit a40d9c9150
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ mpfr_sysver()
gmp_sysver()
{
gmppaths="`find $1 -name 'gmp.h' -o -name 'gmp-*.h' 2>/dev/null`"
gmppaths="`find $1/include -name 'gmp.h' -o -name 'gmp-*.h' 2>/dev/null`"
if [ ! "$gmppaths" ]; then
debug "gmp_sysver no gmp.h beneath $1"
return