Permalink
Browse files

Clean up the autotools scripts a bit

  • Loading branch information...
juhovh committed Apr 10, 2013
1 parent 668e175 commit b1df60b553e2f6f944216d5d94b39a25109d17f4
Showing with 3 additions and 3 deletions.
  1. +2 −2 configure.ac
  2. +1 −1 src/Makefile.am
View
@@ -67,8 +67,8 @@ AM_CONDITIONAL([OS_GNU],[test "$os_gnu" = "yes"])
AM_CONDITIONAL([OS_FREEBSD],[test "$os_freebsd" = "yes"])
# Custom check for libao
-PKG_CHECK_MODULES([libao], [ao >= 1.1.0], [HAVE_LIBAO=1], [HAVE_LIBAO=0])
-AM_CONDITIONAL([USE_LIBAO], [test "$HAVE_LIBAO" -eq 1])
+PKG_CHECK_MODULES([libao], [ao >= 1.1.0], [have_libao=1], [have_libao=0])
+AM_CONDITIONAL([HAVE_LIBAO], [test "$have_libao" -eq 1])
View
@@ -2,7 +2,7 @@ SUBDIRS = lib
AM_CPPFLAGS = -I$(top_srcdir)/include
-if USE_LIBAO
+if HAVE_LIBAO
bin_PROGRAMS = shairplay
shairplay_SOURCES = shairplay.c
shairplay_LDADD = lib/libshairplay.la

0 comments on commit b1df60b

Please sign in to comment.