configure: check for socat and its escape feature
authorGuido Trotter <ultrotter@google.com>
Sat, 31 Oct 2009 21:38:08 +0000 (17:38 -0400)
committerGuido Trotter <ultrotter@google.com>
Thu, 5 Nov 2009 13:22:34 +0000 (13:22 +0000)
commit87c1d0c72eab83505d0b9cdf4b6d1da8cc48e154
tree2479b21861eefaf0fedfaf117b8840b54b691070
parent52b699ecaa688a2aaac00fa64558e249d0bc9a26
configure: check for socat and its escape feature

Currently we use a static value for the socat path, or we trust the
user-provided one. With this patch we still trust any user provided
value, but if none is passed we check for socat on the machine we're
being configured on. This allows us also to check if we can or cannot
use the escape= feature in socat.

If the user has forced the path in, he can also pass --with-socat-escape
in order to force the escape functionality to be used, even if a check
is not done.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Makefile.am
configure.ac