Skip to content

Commit

Permalink
Merge pull request #102 from jamesyoungman/jy/detect-allegro5
Browse files Browse the repository at this point in the history
Fail in configure if Allegro 5 is not installed.
  • Loading branch information
SteveFosdick authored Apr 26, 2020
2 parents 8979e9c + 115986d commit 57b09cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ AC_CHECK_LIB([z], [gzopen])

# Checks for header files.
AC_CHECK_HEADERS([inttypes.h limits.h malloc.h stddef.h stdint.h stdlib.h string.h unistd.h])
AC_CHECK_HEADER([allegro5/allegro.h],[],
[AC_MSG_FAILURE([The Allegro version 5 library is needed but not installed], 1)],[])

AM_CONDITIONAL(OS_WIN, test "$host_os" = "win")

Expand Down

0 comments on commit 57b09cb

Please sign in to comment.