configure: better libagg detection
user heftig says that he can't find Agg_init() at link time when he uses --enable-hud. Fix AM_CONDITIONAL to check for the proper variable and to set in true only if --enable-hud was set. Relayed by zeromus in a comment in #3250391
This commit is contained in:
parent
93304143f9
commit
8032d4dee4
|
@ -202,8 +202,7 @@ if test "x$HAVE_ALSA" = "xno"; then
|
|||
fi
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL([HAVE_LIBAGG], [test "${HAVE_LIBAGG}" = "yes"])
|
||||
|
||||
AM_CONDITIONAL([HAVE_LIBAGG], [test "x$libagg" = "xyes" -a "${FOUND_LIBAGG}" = "yes"])
|
||||
if test "x$libagg" = "xyes" ; then
|
||||
if test "x$FOUND_LIBAGG" = "xyes" ; then
|
||||
AC_SUBST(LIBAGG_CFLAGS)
|
||||
|
|
Loading…
Reference in New Issue