Revision: 42305
http://brlcad.svn.sourceforge.net/brlcad/?rev=42305&view=rev
Author: starseeker
Date: 2011-01-15 19:06:33 +0000 (Sat, 15 Jan 2011)
Log Message:
-----------
That's not the way to handle libtermlib.
Modified Paths:
--------------
brlcad/branches/cmake/src/other/CMakeLists.txt
Modified: brlcad/branches/cmake/src/other/CMakeLists.txt
===================================================================
--- brlcad/branches/cmake/src/other/CMakeLists.txt 2011-01-15 15:50:43 UTC
(rev 42304)
+++ brlcad/branches/cmake/src/other/CMakeLists.txt 2011-01-15 19:06:33 UTC
(rev 42305)
@@ -34,45 +34,6 @@
ENDIF(BRLCAD_BUILD_LOCAL_ZLIB)
# libtermlib Library
-# We need to do a functionality test here, if we're not on Windows
-IF(NOT WIN32)
- SET(LIBTERM_SRC "
-#ifdef HAVE_TERMLIB_H
-# include <termlib.h>
-#else
-# ifdef HAVE_NCURSES_H
-# include <ncurses.h>
-# else
-# ifdef HAVE_CURSES_H
-# include <curses.h>
-# else
-# ifdef HAVE_TERMCAP_H
-# include <termcap.h>
-# else
-# ifdef HAVE_TERMINFO_H
-# include <terminfo.h>
-# else
-# ifdef HAVE_TINFO_H
-# include <tinfo.h>
-# endif
-# endif
-# endif
-# endif
-# endif
-# ifdef HAVE_TERM_H
-# include <term.h>
-# endif
-#endif
-int main () {
- char buffer[2048] = {0};
- int result = tgetent(buffer, "vt100");
- return 0;
-}")
- CHECK_C_SOURCE_RUNS("${LIBTERM_SRC}" LIBTERM_WORKS)
- IF(NOT LIBTERM_WORKS)
- SET(BRLCAD_BUILD_LOCAL_TERMLIB ON)
- ENDIF(NOT LIBTERM_WORKS)
-ENDIF(NOT WIN32)
THIRD_PARTY_OPTION(TERMLIB termlib)
THIRD_PARTY_SUBDIR(TERMLIB libtermlib)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits