plaisthos has uploaded this change for review. ( 
http://gerrit.openvpn.net/c/openvpn/+/1964?usp=email )


Change subject: Add check for termios.h to Cmake
......................................................................

Add check for termios.h to Cmake

Without this the client will not able to query username/password from the
console n Unix platforms.

Change-Id: I924a531c69921cebf563e7ecfd8177764ecc38cb
Signed-off-by: Arne Schwabe <[email protected]>
---
M CMakeLists.txt
M config.h.cmake.in
2 files changed, 4 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/64/1964/1

diff --git a/CMakeLists.txt b/CMakeLists.txt
index d553697..21528d5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -274,6 +274,7 @@
 check_include_files("${NETEXTRA};sys/uio.h" HAVE_SYS_UIO_H)
 check_include_files(sys/un.h HAVE_SYS_UN_H)
 check_include_files(sys/wait.h HAVE_SYS_WAIT_H)
+check_include_files(termios.h HAVE_TERMIOS_H)

 check_include_files("${NETEXTRA};netinet/ip.h" HAVE_NETINET_IP_H)
 if (HAVE_NETINET_IP_H)
diff --git a/config.h.cmake.in b/config.h.cmake.in
index c6c0a96..1414297 100644
--- a/config.h.cmake.in
+++ b/config.h.cmake.in
@@ -324,6 +324,9 @@
 /* Define to 1 if you have the <uapi.h> header file. */
 #undef HAVE_UAPI_H

+/* Define to 1 if you have the <termios.h> header file. */
+#cmakedefine HAVE_TERMIOS_H
+
 /* Define to 1 if you have the <unistd.h> header file. */
 #cmakedefine HAVE_UNISTD_H


--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1964?usp=email
To unsubscribe, or for help writing mail filters, visit 
http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I924a531c69921cebf563e7ecfd8177764ecc38cb
Gerrit-Change-Number: 1964
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to