Detect vfprintf (used in fgError/fgWarning)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1087 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
d93aff53ec
commit
132ca5afcb
@ -123,6 +123,8 @@ CHECK_INCLUDE_FILES(fcntl.h HAVE_FCNTL_H)
|
|||||||
CHECK_INCLUDE_FILES(errno.h HAVE_ERRNO_H)
|
CHECK_INCLUDE_FILES(errno.h HAVE_ERRNO_H)
|
||||||
CHECK_INCLUDE_FILES(usbhid.h HAVE_USBHID_H)
|
CHECK_INCLUDE_FILES(usbhid.h HAVE_USBHID_H)
|
||||||
CHECK_FUNCTION_EXISTS(gettimeofday HAVE_GETTIMEOFDAY)
|
CHECK_FUNCTION_EXISTS(gettimeofday HAVE_GETTIMEOFDAY)
|
||||||
|
CHECK_FUNCTION_EXISTS(vfprintf HAVE_VFPRINTF)
|
||||||
|
CHECK_FUNCTION_EXISTS(_doprnt HAVE_DOPRNT)
|
||||||
|
|
||||||
# The generated config.h is placed in the project's build directory, just to
|
# The generated config.h is placed in the project's build directory, just to
|
||||||
# ensure that all CMake-generated files are kept away from the main source tree.
|
# ensure that all CMake-generated files are kept away from the main source tree.
|
||||||
|
@ -9,4 +9,6 @@
|
|||||||
#cmakedefine HAVE_FCNTL_H
|
#cmakedefine HAVE_FCNTL_H
|
||||||
#cmakedefine HAVE_ERRNO_H
|
#cmakedefine HAVE_ERRNO_H
|
||||||
#cmakedefine HAVE_USBHID_H
|
#cmakedefine HAVE_USBHID_H
|
||||||
#cmakedefine HAVE_GETTIMEOFDAY
|
#cmakedefine HAVE_GETTIMEOFDAY
|
||||||
|
#cmakedefine HAVE_VFPRINTF
|
||||||
|
#cmakedefine HAVE_DOPRNT
|
||||||
|
Reference in New Issue
Block a user