diy: use configure as the heuristic for autotools
diy: use configure as the heuristic for autotools

Closes Homebrew/homebrew#30912.

sjackman/homebrew,bfontaine/brew,Linuxbrew/brew,MikeMcQuaid/brew,vitorgalvao/brew,nandub/brew,mahori/brew,DomT4/brew,amar-laksh/brew_sudo,DomT4/brew,zmwangx/brew,muellermartin/dist,konqui/brew,tonyg/homebrew,JCount/brew,EricFromCanada/brew,ilovezfs/brew,bfontaine/brew,toonetown/homebrew,jmsundar/brew,aw1621107/brew,rwhogg/brew,AnastasiaSulyagina/brew,staticfloat/brew,nandub/brew,pseudocody/brew,Homebrew/brew,reitermarkus/brew,mgrimes/brew,hanxue/linuxbrew,palxex/brew,rwhogg/brew,MikeMcQuaid/brew,muellermartin/dist,toonetown/homebrew,amar-laksh/brew_sudo,gregory-nisbet/brew,reitermarkus/brew,konqui/brew,aw1621107/brew,MikeMcQuaid/brew,ilovezfs/brew,gordonmcshane/homebrew,alyssais/brew,MikeMcQuaid/brew,mahori/brew,vitorgalvao/brew,reelsense/brew,mistydemeo/homebrew,mahori/brew,pseudocody/brew,mahori/brew,reitermarkus/brew,Linuxbrew/brew,alyssais/brew,Linuxbrew/brew,amar-laksh/brew_sudo,tonyg/homebrew,ilovezfs/brew,aw1621107/brew,maxim-belkin/brew,bfontaine/brew,JCount/brew,palxex/brew,JCount/brew,sjackman/homebrew,claui/brew,claui/brew,EricFromCanada/brew,reelsense/brew,JCount/brew,nandub/brew,DomT4/brew,maxim-belkin/brew,vitorgalvao/brew,konqui/brew,mgrimes/brew,claui/brew,nandub/brew,mistydemeo/homebrew,rwhogg/brew,AnastasiaSulyagina/brew,claui/brew,maxim-belkin/brew,staticfloat/brew,jmsundar/brew,palxex/brew,gregory-nisbet/brew,EricFromCanada/brew,gregory-nisbet/brew,jmsundar/brew,mgrimes/brew,hanxue/linuxbrew,alyssais/brew,reelsense/brew,sjackman/homebrew,staticfloat/brew,Linuxbrew/brew,tonyg/homebrew,reitermarkus/brew,hanxue/linuxbrew,DomT4/brew,Homebrew/brew,zmwangx/brew,toonetown/homebrew,vitorgalvao/brew,EricFromCanada/brew,pseudocody/brew,gordonmcshane/homebrew,muellermartin/dist,konqui/brew,AnastasiaSulyagina/brew,sjackman/homebrew,Homebrew/brew,Homebrew/brew,zmwangx/brew,mistydemeo/homebrew,gordonmcshane/homebrew