Revision: 41130
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41130&view=rev
Author:   starseeker
Date:     2010-10-23 03:13:07 +0000 (Sat, 23 Oct 2010)

Log Message:
-----------
Hmm - looks like the getaddrinfo test is compile only - run doesn't work on 
gentoo, even when I copy the generated source out of configure and try it 
direct.

Modified Paths:
--------------
    brlcad/branches/cmake/src/other/tcl/CMake/CheckSystemFunctionality.cmake
    brlcad/branches/cmake/src/other/tcl/CMakeLists.txt

Modified: 
brlcad/branches/cmake/src/other/tcl/CMake/CheckSystemFunctionality.cmake
===================================================================
--- brlcad/branches/cmake/src/other/tcl/CMake/CheckSystemFunctionality.cmake    
2010-10-22 22:07:46 UTC (rev 41129)
+++ brlcad/branches/cmake/src/other/tcl/CMake/CheckSystemFunctionality.cmake    
2010-10-23 03:13:07 UTC (rev 41130)
@@ -199,7 +199,7 @@
        (void)freeaddrinfo(aiPtr);
        return 0;
        }")
-       CHECK_C_SOURCE_RUNS("${GETADDERINFO_SRC}" WORKING_GETADDERINFO)
+       CHECK_C_SOURCE_COMPILES("${GETADDERINFO_SRC}" WORKING_GETADDERINFO)
        IF(WORKING_GETADDERINFO)
                FILE(APPEND ${CONFIG_H_FILE} "#define HAVE_GETADDERINFO 1\n")
        ENDIF(WORKING_GETADDERINFO)

Modified: brlcad/branches/cmake/src/other/tcl/CMakeLists.txt
===================================================================
--- brlcad/branches/cmake/src/other/tcl/CMakeLists.txt  2010-10-22 22:07:46 UTC 
(rev 41129)
+++ brlcad/branches/cmake/src/other/tcl/CMakeLists.txt  2010-10-23 03:13:07 UTC 
(rev 41130)
@@ -168,6 +168,10 @@
 # Run tests for system headers and functionality
 CHECK_INCLUDE_FILE_H(sys/types.h HAVE_SYS_TYPES_H)
 CHECK_INCLUDE_FILE_H(sys/stat.h HAVE_SYS_STAT_H)
+CHECK_INCLUDE_FILE_H(sys/fstatfs.h HAVE_SYS_FSTATFS_H)
+IF(NOT HAVE_SYS_FSTATFS_H)
+   FILE(APPEND ${CONFIG_H_FILE} "#define NO_FSTATFS 1\n")
+ENDIF(NOT HAVE_SYS_FSTATFS_H)
 CHECK_INCLUDE_FILE_H(stdlib.h HAVE_STDLIB_H)
 CHECK_INCLUDE_FILE_H(string.h HAVE_STRING_H)
 CHECK_INCLUDE_FILE_H(memory.h HAVE_MEMORY_H)


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to