From 559607ea173a0003efda7f884bec73b242f923fb Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Fri, 27 Feb 2015 16:19:33 +0000 Subject: io: add QIOChannelSocket class Implement a QIOChannel subclass that supports sockets I/O. The implementation is able to manage a single socket file descriptor, whether a TCP/UNIX listener, TCP/UNIX connection, or a UDP datagram. It provides APIs which can listen and connect either asynchronously or synchronously. Since there is no asynchronous DNS lookup API available, it uses the QIOTask helper for spawning a background thread to ensure non-blocking operation. Signed-off-by: Daniel P. Berrange --- scripts/create_config | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'scripts/create_config') diff --git a/scripts/create_config b/scripts/create_config index 546f889144..9cb176f1ba 100755 --- a/scripts/create_config +++ b/scripts/create_config @@ -61,6 +61,15 @@ case $line in value=${line#*=} echo "#define $name $value" ;; + HAVE_*=y) # configuration + name=${line%=*} + echo "#define $name 1" + ;; + HAVE_*=*) # configuration + name=${line%=*} + value=${line#*=} + echo "#define $name $value" + ;; ARCH=*) # configuration arch=${line#*=} arch_name=`echo $arch | LC_ALL=C tr '[a-z]' '[A-Z]'` -- cgit v1.2.3