summaryrefslogtreecommitdiff
path: root/debian/patches/autoconf-select.diff
blob: 1d650eb3cf2650f38dea2d6830147b33ae8cc38c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/common/autoconf/autogen.sh
+++ b/common/autoconf/autogen.sh
@@ -43,7 +43,9 @@ fi
 
 custom_hook=$custom_script_dir/custom-hook.m4
 
+if test "x${AUTOCONF}" = x; then
 AUTOCONF="`which autoconf 2> /dev/null | grep -v '^no autoconf in'`"
+fi
 
 echo "Autoconf found: ${AUTOCONF}"