Lines 220-225
AC_MSG_RESULT($enable_conduits)
Link Here
|
220 |
dnl ****************************** |
220 |
dnl ****************************** |
221 |
dnl PNG Support |
221 |
dnl PNG Support |
222 |
dnl ****************************** |
222 |
dnl ****************************** |
|
|
223 |
msg_png=no |
223 |
if test "x$enable_conduits" != "xno"; then |
224 |
if test "x$enable_conduits" != "xno"; then |
224 |
have_png=no |
225 |
have_png=no |
225 |
|
226 |
|
Lines 254-259
if test "x$enable_conduits" != "xno"; then
Link Here
|
254 |
if test "$have_png" = yes; then |
255 |
if test "$have_png" = yes; then |
255 |
AC_DEFINE(HAVE_PNG, 1, [Define if we have PNG support]) |
256 |
AC_DEFINE(HAVE_PNG, 1, [Define if we have PNG support]) |
256 |
have_png=yes |
257 |
have_png=yes |
|
|
258 |
msg_png=yes |
257 |
fi |
259 |
fi |
258 |
fi |
260 |
fi |
259 |
fi |
261 |
fi |
Lines 351-362
PKG_CHECK_MODULES(BLUEZ, bluez, have_bluez=yes, AC_MSG_RESULT(no))
Link Here
|
351 |
AC_MSG_CHECKING([for BlueZ bluetooth support]) |
353 |
AC_MSG_CHECKING([for BlueZ bluetooth support]) |
352 |
AC_ARG_WITH(bluez, |
354 |
AC_ARG_WITH(bluez, |
353 |
AC_HELP_STRING([--with-bluez], |
355 |
AC_HELP_STRING([--with-bluez], |
354 |
[Enable usage of BlueZ]),, |
356 |
[Enable usage of BlueZ]),[use_bluez="$withval"], |
355 |
use_bluez=auto) |
357 |
use_bluez=auto) |
356 |
if test "x$use_bluez" != "xno"; then |
358 |
if test "x$use_bluez" != "xno"; then |
357 |
if test "x$have_bluez" = xno && test "x$use_bluez" = xyes; then |
359 |
if test "x$have_bluez" = xno && test "x$use_bluez" = xyes; then |
358 |
AC_MSG_ERROR([BlueZ explicitly requested but no support found]) |
360 |
AC_MSG_ERROR([BlueZ explicitly requested but no support found]) |
359 |
fi |
361 |
fi |
|
|
362 |
use_bluez="$have_bluez" |
360 |
if test "x$have_bluez" = xyes; then |
363 |
if test "x$have_bluez" = xyes; then |
361 |
AC_DEFINE(HAVE_BLUEZ, 1, [Define if we have BlueZ bluetooth support]) |
364 |
AC_DEFINE(HAVE_BLUEZ, 1, [Define if we have BlueZ bluetooth support]) |
362 |
AC_MSG_RESULT([enabled]) |
365 |
AC_MSG_RESULT([enabled]) |
Lines 366-372
if test "x$use_bluez" != "xno"; then
Link Here
|
366 |
fi |
369 |
fi |
367 |
fi |
370 |
fi |
368 |
|
371 |
|
369 |
AM_CONDITIONAL(WITH_BLUEZ, test x$have_bluez = "xyes") |
372 |
AM_CONDITIONAL(WITH_BLUEZ, test x$use_bluez != "xno") |
370 |
|
373 |
|
371 |
|
374 |
|
372 |
dnl ********************************* |
375 |
dnl ********************************* |