mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
61f6fcd5fc
PR: 190906 Submitted by: ports fury
40 lines
926 B
Plaintext
40 lines
926 B
Plaintext
--- configure.orig
|
|
+++ configure
|
|
@@ -19237,36 +19237,6 @@
|
|
enable_monitors="${enable_monitors}x11events"
|
|
fi
|
|
|
|
- loop=${enable_monitors},
|
|
-
|
|
- while echo $loop | grep \, &> /dev/null
|
|
- do
|
|
- monitor=${loop%%\,*}
|
|
- loop=${loop#*\,}
|
|
-
|
|
- case "$monitor" in
|
|
- record)
|
|
- if test "x$have_xrecord" != "xyes" ; then
|
|
- as_fn_error $? "record activity monitor not supported." "$LINENO" 5
|
|
- fi
|
|
- ;;
|
|
-
|
|
- x11events)
|
|
- ;;
|
|
-
|
|
- screensaver)
|
|
- if test "x$have_xscreensaver" != "xyes" ; then
|
|
- as_fn_error $? "screensaver activity monitor not supported." "$LINENO" 5
|
|
- fi
|
|
- ;;
|
|
-
|
|
- *)
|
|
- as_fn_error $? "unknown activity monitor: $monitor" "$LINENO" 5
|
|
- ;;
|
|
-
|
|
- esac
|
|
- done
|
|
-
|
|
|
|
cat >>confdefs.h <<_ACEOF
|
|
#define HAVE_MONITORS "$enable_monitors"
|