[Marble-commits] KDE/kdeedu/marble/src/plugins/render/aprs

Wes Hardaker wjhns25 at hardakers.net
Wed Jul 7 19:52:44 CEST 2010


SVN commit 1147240 by hardaker:

BUG: 242039 - Add a CMake test for checking existence and including of sys/filio.h

 M  +3 -0      CMakeLists.txt  
 M  +2 -1      aprsconfig.h.in  
 M  +3 -0      posix_qextserialport.cpp  


--- trunk/KDE/kdeedu/marble/src/plugins/render/aprs/CMakeLists.txt #1147239:1147240
@@ -3,6 +3,9 @@
 INCLUDE (CheckFunctionExists)
 CHECK_FUNCTION_EXISTS(cfmakeraw HAVE_CFMAKERAW)
 
+INCLUDE (CheckIncludeFiles)
+CHECK_INCLUDE_FILES(sys/filio.h HAVE_SYS_FILIO_H)
+
 INCLUDE_DIRECTORIES(
  ${CMAKE_CURRENT_SOURCE_DIR}/src/plugins/render/aprs
  ${CMAKE_BINARY_DIR}/src/plugins/render/aprs
--- trunk/KDE/kdeedu/marble/src/plugins/render/aprs/aprsconfig.h.in #1147239:1147240
@@ -1 +1,2 @@
-#cmakedefine HAVE_CFMAKERAW
+#cmakedefine HAVE_SYS_FILIO_H 1
+#cmakedefine HAVE_CFMAKERAW 1
--- trunk/KDE/kdeedu/marble/src/plugins/render/aprs/posix_qextserialport.cpp #1147239:1147240
@@ -11,6 +11,9 @@
 #include "qextserialport.h"
 #include <QMutexLocker>
 #include <QDebug>
+#ifdef HAVE_SYS_FILIO_H
+#include <sys/filio.h>
+#endif /* HAVE_SYS_FILIO_H */
 
 void QextSerialPort::platformSpecificInit()
 {


More information about the Marble-commits mailing list