diff options
Diffstat (limited to 'x11vnc/ssltools.h')
-rw-r--r-- | x11vnc/ssltools.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/x11vnc/ssltools.h b/x11vnc/ssltools.h index c402ded..89849a5 100644 --- a/x11vnc/ssltools.h +++ b/x11vnc/ssltools.h @@ -1801,6 +1801,13 @@ char create_display[] = " echo \"$tf\"\n" "}\n" "\n" +"missing_mesg() {\n" +" echo \"\" 1>&2\n" +" echo \"The program \\\"$1\\\" could not be found in PATH and standard locations.\" 1>&2\n" +" echo \"You probably need to install a package that provides the \\\"$1\\\" program.\" 1>&2\n" +" echo \"\" 1>&2\n" +"}\n" +"\n" "server() {\n" " authfile=`auth`\n" " sess=`findsession`\n" @@ -2010,6 +2017,7 @@ char create_display[] = "\n" "try_Xvnc() {\n" " if [ \"X$have_Xvnc\" = \"X\" ]; then\n" +" missing_mesg Xvnc\n" " return\n" " fi\n" "\n" @@ -2078,6 +2086,7 @@ char create_display[] = "\n" "try_Xvfb() {\n" " if [ \"X$have_Xvfb\" = \"X\" ]; then\n" +" missing_mesg Xvfb\n" " return\n" " fi\n" "\n" @@ -2110,6 +2119,7 @@ char create_display[] = "\n" "try_Xdummy() {\n" " if [ \"X$have_Xdummy\" = \"X\" ]; then\n" +" missing_mesg Xdummy\n" " return\n" " fi\n" " if [ \"X$FD_XDUMMY_RUN_AS_ROOT\" != \"X\" -a \"X$have_root\" = \"X\" ]; then\n" |