changeset 386:1f278b7d6f58 trunk

[svn] Correct binio detection logic.
author chainsaw
date Tue, 03 Jan 2006 13:22:40 -0800
parents 0a19db762240
children 7f0e78f42032
files configure.ac
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Tue Jan 03 13:05:55 2006 -0800
+++ b/configure.ac	Tue Jan 03 13:22:40 2006 -0800
@@ -308,7 +308,7 @@
 fi
 AM_CONDITIONAL([HAVE_LIRC], test "$have_lirc" = "yes")
 
-dnl *** AdPlug requirement (libbinio) _ZN8binfbase3posEv
+dnl *** AdPlug requirement (libbinio)
 
 AC_ARG_ENABLE(adplug,
     [  --disable-adplug        disable AdPlug plugin (default=enabled)],
@@ -316,8 +316,8 @@
     [enable_adplug="yes"]
 )
 
-if test "$enable_lirc" = "yes"; then
-    AC_CHECK_LIB([binio],[_ZN8binfbase3posEv],[have_adplug=yes],[have_adplug=no])
+if test "$enable_adplug" = "yes"; then
+    AC_CHECK_LIB([binio],[main],[have_adplug=yes],[have_adplug=no])
 else
     AC_MSG_RESULT([*** AdPlug plugin disabled per user request ***])
     have_adplug="no"