File: autoconf-workaround.patch

package info (click to toggle)
cmor 3.13.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 16,960 kB
  • sloc: ansic: 28,094; f90: 13,872; python: 12,423; sh: 3,738; makefile: 111
file content (15 lines) | stat: -rw-r--r-- 399 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/recipe/build.sh b/recipe/build.sh
index 5fe27be..8d92b95 100644
--- a/recipe/build.sh
+++ b/recipe/build.sh
@@ -7,6 +7,10 @@ fi
 # Get an updated config.sub and config.guess
 cp $BUILD_PREFIX/share/gnuconfig/config.* .
 
+# set path to M4 to work around autoconf bug
+# see https://github.com/conda-forge/autoconf-feedstock/issues/41
+export M4=$(which m4)
+
 autoconf
 
 ./configure \