Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents da84e38 + 1fe1cd9 commit 8bfd2c4Copy full SHA for 8bfd2c4
setupext.py
@@ -617,6 +617,14 @@ def do_custom_build(self, env):
617
},
618
**env,
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)
628
env["CFLAGS"] = env.get("CFLAGS", "") + " -fPIC"
629
configure = [
630
"./configure", "--with-zlib=no", "--with-bzip2=no",
0 commit comments