| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -617,6 +617,14 @@ def do_custom_build(self, env): | |||
| 617 | 617 | }, | |
| 618 | 618 | **env, | |
| 619 | 619 | } | |
| 620 | + configure_ac = os.path.join( | ||
| 621 | + src_path, "builds", "unix", "configure.ac") | ||
| 622 | + if os.path.exists(os.path.join(src_path, "autogen.sh")) \ | ||
| 623 | + and not os.path.exists(configure_ac): | ||
| 624 | + print(f"{configure_ac} does not exist. " | ||
| 625 | + f"Using sh autogen.sh to generate.") | ||
| 626 | + subprocess.check_call( | ||
| 627 | + ["sh", "./autogen.sh"], env=env, cwd=src_path) | ||
| 620 | 628 | env["CFLAGS"] = env.get("CFLAGS", "") + " -fPIC" | |
| 621 | 629 | configure = [ | |
| 622 | 630 | "./configure", "--with-zlib=no", "--with-bzip2=no", | |
| Back | FazBrowse Home | New Git URL |
0 commit comments