X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/ddd86f12cb98d24f640d961c57aa8af165ccd6ab..70d2939adaa6ee884690256fccba884f6cc606b0:/configure.ac diff --git a/configure.ac b/configure.ac index 6b894b9..37ef7cc 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ # Process this file with autoconf to produce a configure script. # # This file is part of DisOrder. -# Copyright (C) 2004-2010 Richard Kettlewell +# Copyright (C) 2004-2013 Richard Kettlewell # Portions copyright (C) 2007 Ross Younger # # This program is free software: you can redistribute it and/or modify @@ -18,9 +18,9 @@ # along with this program. If not, see . # -AC_INIT([disorder], [5.0.DEV], [richard+disorder@sfere.greenend.org.uk]) +AC_INIT([disorder], [5.1.1], [richard+disorder@sfere.greenend.org.uk]) AC_CONFIG_AUX_DIR([config.aux]) -AM_INIT_AUTOMAKE(disorder, [5.0.DEV]) +AM_INIT_AUTOMAKE([foreign]) AC_CONFIG_SRCDIR([server/disorderd.c]) AM_CONFIG_HEADER([config.h]) AC_CONFIG_MACRO_DIR([m4]) @@ -47,6 +47,7 @@ want_coreaudio=yes # - you will still need Fink (or something) for other libraries # - if you wanted an application bundle you are out of luck # - the menu bar is still in the main window (not at the top of the screen) +# - drag and drop doesn't work # # So it's still rather rough and ready. But it does work... # @@ -108,6 +109,7 @@ case "$host" in ;; *linux* | *Linux* ) AC_MSG_RESULT([Linux]) + AC_DEFINE_UNQUOTED([PATH_PROC_MOUNTS],["/proc/mounts"],[path to kernel mount list]) ;; *-apple-darwin* ) AC_MSG_RESULT([Mac OS X]) @@ -460,9 +462,6 @@ if test $want_server = yes; then AC_CHECK_LIB(mad, mad_stream_init, [AC_SUBST(LIBMAD,[-lmad])], [missing_libraries="$missing_libraries libmad"]) - AC_CHECK_LIB([ao], [ao_initialize], - [AC_SUBST(LIBAO,[-lao])], - [missing_libraries="$missing_libraries libao"]) AC_CHECK_LIB([FLAC], [FLAC__stream_decoder_new], [AC_SUBST(LIBFLAC,[-lFLAC])], [missing_libraries="$missing_libraries libFLAC"]) @@ -728,13 +727,13 @@ if test "x$GCC" = xyes; then if test $GCC = yes; then CC="$CC -Wall -Werror" fi - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[ + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ static int x(char *f) { return *f; } int z(const char *g) { return x((char *)g); - }])], + }],[])], [rjk_cv_pr29478=no], [rjk_cv_pr29478=yes] )