blob: d0289880128d02ad83cd65c68745836366b78016 (
plain) (
tree)
|
|
diff --git a/configure.ac b/configure.ac
index 9022ee9c..f0b40947 100644
--- a/configure.ac
+++ b/configure.ac
@@ -904,6 +904,13 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
else
AC_MSG_RESULT([architecture not supported])
fi
+ case "$host" in
+ *-*-linux-musl*)
+ AC_DEFINE([DISABLE_UTMP], [1], [Define if you don't want to use utmp])
+ AC_DEFINE([DISABLE_WTMP], [1], [Define if you don't want to use wtmp])
+ ;;
+ esac
+
;;
mips-sony-bsd|mips-sony-newsos4)
AC_DEFINE([NEED_SETPGRP], [1], [Need setpgrp to acquire controlling tty])
|