comparison configure.ac @ 386:1f278b7d6f58 trunk

[svn] Correct binio detection logic.
author chainsaw
date Tue, 03 Jan 2006 13:22:40 -0800
parents d7415a106fb6
children 7f0e78f42032
comparison
equal deleted inserted replaced
385:0a19db762240 386:1f278b7d6f58
306 AC_MSG_RESULT([*** LIRC plugin disabled per user request ***]) 306 AC_MSG_RESULT([*** LIRC plugin disabled per user request ***])
307 have_lirc="no" 307 have_lirc="no"
308 fi 308 fi
309 AM_CONDITIONAL([HAVE_LIRC], test "$have_lirc" = "yes") 309 AM_CONDITIONAL([HAVE_LIRC], test "$have_lirc" = "yes")
310 310
311 dnl *** AdPlug requirement (libbinio) _ZN8binfbase3posEv 311 dnl *** AdPlug requirement (libbinio)
312 312
313 AC_ARG_ENABLE(adplug, 313 AC_ARG_ENABLE(adplug,
314 [ --disable-adplug disable AdPlug plugin (default=enabled)], 314 [ --disable-adplug disable AdPlug plugin (default=enabled)],
315 [enable_adplug=$enableval], 315 [enable_adplug=$enableval],
316 [enable_adplug="yes"] 316 [enable_adplug="yes"]
317 ) 317 )
318 318
319 if test "$enable_lirc" = "yes"; then 319 if test "$enable_adplug" = "yes"; then
320 AC_CHECK_LIB([binio],[_ZN8binfbase3posEv],[have_adplug=yes],[have_adplug=no]) 320 AC_CHECK_LIB([binio],[main],[have_adplug=yes],[have_adplug=no])
321 else 321 else
322 AC_MSG_RESULT([*** AdPlug plugin disabled per user request ***]) 322 AC_MSG_RESULT([*** AdPlug plugin disabled per user request ***])
323 have_adplug="no" 323 have_adplug="no"
324 fi 324 fi
325 AM_CONDITIONAL([HAVE_ADPLUG], test "$have_lirc" = "yes") 325 AM_CONDITIONAL([HAVE_ADPLUG], test "$have_lirc" = "yes")