X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/ddd86f12cb98d24f640d961c57aa8af165ccd6ab..1be9101e4d2cfd1aed5249b0cdf126d747095ce8:/configure.ac?ds=sidebyside diff --git a/configure.ac b/configure.ac index 6b894b9..e47aca2 100644 --- a/configure.ac +++ b/configure.ac @@ -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] )