summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-07-04 23:12:45 -0500
committerPaul Eggert <eggert@cs.ucla.edu>2022-07-05 00:06:09 -0500
commit59206529a17a8ae976072d8306882c4ff37a2fbd (patch)
tree1542972dad5b5df5fe3788edb8511fdd2db8d095 /autogen.sh
parente93d9e0f5da6e04aaa263dee8501e0ebe16f0a3e (diff)
downloademacs-59206529a17a8ae976072d8306882c4ff37a2fbd.tar.gz
Quote configure.ac arguments more consistently
This should help avoid further Autoconf portability gotchas such as the one recently fixed in 2022-06-27T04:26:01Z!meyering@fb.com. * autogen.sh (autoconf_min): Adjust pattern to match updated configure.ac. * configure.ac: Quote arguments more consistently, as per the Autoconf manual.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 03f647e576c..041468edcd9 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -35,7 +35,7 @@
progs="autoconf"
## Minimum versions we need:
-autoconf_min=`sed -n 's/^ *AC_PREREQ(\([0-9\.]*\)).*/\1/p' configure.ac`
+autoconf_min=`sed -n 's/^ *AC_PREREQ(\[\([0-9\.]*\)]).*/\1/p' configure.ac`
## $1 = program, eg "autoconf".