Skip to content

Commit

Permalink
autoconf: Add workaround for runstatedir for old autoconf versions
Browse files Browse the repository at this point in the history
  • Loading branch information
nikias committed Sep 18, 2023
1 parent 2707534 commit b9d5e3c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,11 @@ AC_SUBST(GLOBAL_CFLAGS)

m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])

# workaround for older autoconf versions
if test "x$runstatedir" == "x"; then
runstatedir=$localstatedir/run
fi

AC_CONFIG_FILES([
Makefile
src/Makefile
Expand Down

0 comments on commit b9d5e3c

Please sign in to comment.