X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/b8ca4525ea8d849e72c537f2eef7be2160748243..3697ed99d3aef46cb8de4c573657123459c22abb:/configure.ac diff --git a/configure.ac b/configure.ac index 2abd327..e47aca2 100644 --- a/configure.ac +++ b/configure.ac @@ -18,9 +18,9 @@ # along with this program. If not, see . # -AC_INIT([disorder], [5.0], [richard+disorder@sfere.greenend.org.uk]) +AC_INIT([disorder], [5.0.DEV], [richard+disorder@sfere.greenend.org.uk]) AC_CONFIG_AUX_DIR([config.aux]) -AM_INIT_AUTOMAKE(disorder, [5.0]) +AM_INIT_AUTOMAKE(disorder, [5.0.DEV]) AC_CONFIG_SRCDIR([server/disorderd.c]) AM_CONFIG_HEADER([config.h]) AC_CONFIG_MACRO_DIR([m4]) @@ -108,6 +108,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]) @@ -728,13 +729,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] )