diff mbox series

[1/5] Update configure.ac with suggestions from autoupdate

Message ID 20181016164220.29413-2-ao2@ao2.it (mailing list archive)
State Accepted
Delegated to: Herbert Xu
Headers show
Series Build system updates and gcc warnings fixes | expand

Commit Message

Antonio Ospite Oct. 16, 2018, 4:42 p.m. UTC
Apply the changes suggested by running autoupdate on the source
repository:

1. Properly quote AC_INIT arguments.

2. Use AC_USE_SYSTEM_EXTENSIONS instead of AC_GNU_SOURCE. The former is
   a superset of the latter, and enables more options, see
   https://www.gnu.org/software/autoconf/manual/autoconf-2.60/html_node/Posix-Variants.html

Signed-off-by: Antonio Ospite <ao2@ao2.it>
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/configure.ac b/configure.ac
index 4829288..594fb42 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@ 
-AC_INIT(dash, 0.5.10.2)
+AC_INIT([dash],[0.5.10.2])
 AM_INIT_AUTOMAKE([foreign subdir-objects])
 AC_CONFIG_SRCDIR([src/main.c])
 
@@ -6,7 +6,7 @@  AC_CONFIG_HEADERS(config.h)
 
 dnl Checks for programs.
 AC_PROG_CC
-AC_GNU_SOURCE
+AC_USE_SYSTEM_EXTENSIONS
 AC_PROG_YACC
 
 AC_MSG_CHECKING([for build system compiler])