File: autoconf-workaround.patch

package info (click to toggle)
cmor 3.14.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,976 kB
  • sloc: ansic: 28,053; f90: 13,893; python: 12,699; sh: 3,739; makefile: 111
file content (15 lines) | stat: -rw-r--r-- 399 bytes parent folder | download
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 \