Mercurial > audlegacy
comparison configure.ac @ 2359:75598f596c92 trunk
[svn] - support for libmcs (pass --enable-mcs to configure)
- clean up some idieosyncracies in configure
author | nenolod |
---|---|
date | Wed, 17 Jan 2007 21:46:23 -0800 |
parents | 63c9a2724e73 |
children | 10692383c103 |
comparison
equal
deleted
inserted
replaced
2358:9c84ab3eb2c6 | 2359:75598f596c92 |
---|---|
237 AC_SUBST(REGEX_CFLAGS) | 237 AC_SUBST(REGEX_CFLAGS) |
238 | 238 |
239 | 239 |
240 dnl GConf support | 240 dnl GConf support |
241 | 241 |
242 AC_ARG_ENABLE( gconf, | 242 CONFIGDB_BACKEND="rcfile" |
243 | |
244 AC_ARG_ENABLE(gconf, | |
243 [ --enable-gconf enable GConf support (default=disabled)], | 245 [ --enable-gconf enable GConf support (default=disabled)], |
244 [enable_gconf=$enableval], | 246 [enable_gconf=$enableval], |
245 [enable_gconf="no"] | 247 [enable_gconf="no"] |
246 ) | 248 ) |
247 | 249 |
255 ) | 257 ) |
256 fi | 258 fi |
257 | 259 |
258 if test "$enable_gconf" = "yes"; then | 260 if test "$enable_gconf" = "yes"; then |
259 CONFIGDB_BACKEND="gconf" | 261 CONFIGDB_BACKEND="gconf" |
260 else | 262 fi |
261 CONFIGDB_BACKEND="rcfile" | 263 |
264 dnl libmcs support | |
265 | |
266 AC_ARG_ENABLE(mcs, | |
267 [ --enable-mcs enable mcs support (default=disabled)], | |
268 [enable_mcs=$enableval], | |
269 [enable_mcs="no"] | |
270 ) | |
271 | |
272 if test "$enable_mcs" = "yes"; then | |
273 PKG_CHECK_MODULES(LIBMCS, [libmcs >= 0.1], | |
274 [ | |
275 AC_DEFINE(HAVE_MCS, , [Define if building with libmcs support]) | |
276 ADD_PC_REQUIRES([libmcs >= 0.1]) | |
277 ], | |
278 [AC_MSG_ERROR([Cannot find libmcs])] | |
279 ) | |
280 fi | |
281 | |
282 if test "$enable_mcs" = "yes"; then | |
283 CONFIGDB_BACKEND="libmcs" | |
262 fi | 284 fi |
263 | 285 |
264 AC_SUBST(CONFIGDB_BACKEND) | 286 AC_SUBST(CONFIGDB_BACKEND) |
265 | 287 |
266 AC_CHECK_HEADERS(unistd.h) | 288 AC_CHECK_HEADERS(unistd.h) |
415 | 437 |
416 if test "$BEEP_PATH" != "no"; then | 438 if test "$BEEP_PATH" != "no"; then |
417 echo " Current Audacious executable: $BEEP_PATH" | 439 echo " Current Audacious executable: $BEEP_PATH" |
418 fi | 440 fi |
419 | 441 |
420 echo " Configuration path: \$HOME/$rc_path" | 442 echo " Legacy configuration path: \$HOME/$rc_path" |
421 echo | 443 echo |
422 echo " Use one plugin dir: $enable_one_plugin_dir" | 444 echo " Use one plugin dir: $enable_one_plugin_dir" |
423 echo " Allow user plugin dir: $enable_user_plugin_dir" | 445 echo " Allow user plugin dir: $enable_user_plugin_dir" |
424 echo | 446 echo |
425 echo " GNOME support" | 447 echo " GConf support: $enable_gconf" |
426 echo " -------------" | 448 echo |
427 echo " GConf support $enable_gconf" | 449 echo " mcs support: $enable_mcs" |
428 echo | 450 echo |
429 | 451 |
430 if test "$beep_cv_lib_xlibs_threadsafe" = "no"; then | 452 if test "$beep_cv_lib_xlibs_threadsafe" = "no"; then |
431 echo "Note: You need to have thread-safe xlibs to use Audacious." | 453 echo "Note: You need to have thread-safe xlibs to use Audacious." |
432 echo "If you are using libc5 thread aware Xlibs just skip this." | 454 echo "If you are using libc5 thread aware Xlibs just skip this." |