diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-09-15 17:38:49 +1000 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2009-10-07 16:35:29 -0700 |
commit | f356e9b8ffa98141d86c0b65bd3679efbec1ac27 (patch) | |
tree | d2fcdbb8dd403877e37383406daef0bcaae6683d /configure.ac | |
parent | d8cdeb341f1b62c307c408f20d3b335b8246b25c (diff) |
Purge XT_DISPLAY config variable, use DISPLAY environment var instead.
Let's use DISPLAY like every other sane X application does, not through a
variable set at configure time.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/configure.ac b/configure.ac index e6730c5f..337e648a 100644 --- a/configure.ac +++ b/configure.ac @@ -100,19 +100,6 @@ if test "x$PERL" = x || test "x$XSET" = x || test "x$XDPYINFO" = x; then AC_MSG_ERROR([perl, xset and xdpyinfo are required to run xts-config]) fi -dnl See what display the user wants to use for testing -AC_ARG_WITH([display], - [AS_HELP_STRING([--with-display=DPY], - [X display to connect to @<:@default=DISPLAY variable@:>@])], - [XT_DISPLAY=$withval], - [XT_DISPLAY=$DISPLAY]) -if test "x$XT_DISPLAY" = x; then - AC_MSG_ERROR([no display specified; set DISPLAY variable or use --with-display]) -fi -AC_MSG_CHECKING([display to test]) -AC_MSG_RESULT([$XT_DISPLAY]) -AC_SUBST([XT_DISPLAY]) - m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) AC_CONFIG_FILES([ |