Skip to contentSkip to conversation

Add AC_PREREQ to configure.in

PATCH In review Theodore Ts'o 2 participants 2 messages Mar 25, 2013 – Mar 26, 2013 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add AC_PREREQ to configure.in

Debian will automatically switch between autoconf version 2.13 and modern autoconf based on the version number in the AC_PREREQ statement. Without the AC_PREREQ, debian's autoconf driver script will try to use autoconf 2.13, and the configure.in file uses autoconf macros which were introduced in the autoconf 2.50. So add an AC_PREREQ statement to make the right thing happen automatically.

---
 configure.in | 1 +
 1 file changed, 1 insertion(+)
configure.in +1 -0
index 00f1285..88723f6 100644
@@ -1,5 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 AC_INIT(quota.c)
+AC_PREREQ(2.50)
 AC_CONFIG_HEADERS([config.h])
 
 dnl Checks for programs.
Signature · 1 line
1.7.12.rc0.22.gcdd159b
reviewer
#1 lore raw
Quoted 6 lines · Ted Tso

Debian will automatically switch between autoconf version 2.13 and modern autoconf based on the version number in the AC_PREREQ statement. Without the AC_PREREQ, debian's autoconf driver script will try to use autoconf 2.13, and the configure.in file uses autoconf macros which were introduced in the autoconf 2.50. So add an AC_PREREQ statement to make the right thing happen automatically.

Thanks. Merged into quota-tools repository.

Honza

Quoted 20 lines
---
 configure.in | 1 +
 1 file changed, 1 insertion(+)
configure.in +1 -0
index 00f1285..88723f6 100644
@@ -1,5 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 AC_INIT(quota.c)
+AC_PREREQ(2.50)
 AC_CONFIG_HEADERS([config.h])
 
 dnl Checks for programs.
Signature · 1 line
1.7.12.rc0.22.gcdd159b
Signature · 2 lines
Jan Kara <[email protected]>
SUSE Labs, CR