diff options
| author | ruki <[email protected]> | 2022-09-17 00:36:24 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-09-17 00:36:24 +0800 |
| commit | 674120e3c7a66796b4c3ffc3d9afb06ed76e3497 (patch) | |
| tree | b96709922408ba43f39a3e35d2c22038ade4fdb0 | |
| parent | 831ff7f0334ad4d4ef12a6e122acb9b934c6e986 (diff) | |
improve detect
| -rw-r--r-- | xmake/modules/private/action/trybuild/autotools.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xmake/modules/private/action/trybuild/autotools.lua b/xmake/modules/private/action/trybuild/autotools.lua index 6847a84f2..2a0f25ad1 100644 --- a/xmake/modules/private/action/trybuild/autotools.lua +++ b/xmake/modules/private/action/trybuild/autotools.lua @@ -254,7 +254,9 @@ end -- detect build-system and configuration file function detect() if not is_subhost("windows") then - return find_file("configure", os.curdir()) or find_file("configure.ac", os.curdir()) + return find_file("configure", os.curdir()) or + find_file("configure.ac", os.curdir()) or + find_file("autogen.sh", os.curir()) end end |
