Skip to content

Commit

Permalink
build: Fix configure.ac indentation
Browse files Browse the repository at this point in the history
Use the same style as the newly added code, which should make the code
more readable.
  • Loading branch information
guillemj committed Mar 21, 2023
1 parent 4620a04 commit 39cbc7b
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,18 @@ AC_CONFIG_SRCDIR([src/sha2.c])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])

AM_INIT_AUTOMAKE([1.8 -Wall foreign nostdinc no-dist-gzip dist-xz])

m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])],
[AC_SUBST([AM_DEFAULT_VERBOSITY], [1])])
AM_INIT_AUTOMAKE(
[1.8]
[-Wall]
[foreign]
[nostdinc]
[no-dist-gzip dist-xz]
)

m4_ifdef([AM_SILENT_RULES],
[AM_SILENT_RULES([yes])],
[AC_SUBST([AM_DEFAULT_VERBOSITY], [1])]
)

LIBMD_ABI_MAJOR=0
LIBMD_ABI_MINOR=0
Expand Down Expand Up @@ -100,12 +108,12 @@ AC_TYPE_SSIZE_T
# Checks for library functions.

AC_CONFIG_FILES([
Makefile
include/Makefile
man/Makefile
src/Makefile
src/libmd.pc
test/Makefile
Makefile
include/Makefile
man/Makefile
src/Makefile
src/libmd.pc
test/Makefile
])
AC_CONFIG_HEADERS([config.h])
AC_OUTPUT

0 comments on commit 39cbc7b

Please sign in to comment.