From 14a2d495a58821cae42d73135ef82afc1a0e4501 Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Thu, 4 Jun 2009 15:01:31 +0000 Subject: [PATCH] Check for fcntl is maybe more more portable, than searching in header files. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29931 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/cmake/ConfigureChecks.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/development/cmake/ConfigureChecks.cmake b/development/cmake/ConfigureChecks.cmake index 17bd980724..4bafbe1c8d 100644 --- a/development/cmake/ConfigureChecks.cmake +++ b/development/cmake/ConfigureChecks.cmake @@ -61,6 +61,7 @@ check_function_exists(_mkdir HAVE__MKDIR) check_function_exists(putenv HAVE_PUTENV) check_function_exists(mktemp HAVE_MKTEMP) check_function_exists(mkstemp HAVE_MKSTEMP) +check_function_exists(fcntl HAVE_FCNTL) check_function_exists(strerror HAVE_STRERROR) check_function_exists(getcwd HAVE_GETCWD) check_function_exists(stpcpy HAVE_STPCPY) @@ -86,7 +87,6 @@ check_symbol_exists(asprintf "stdio.h" HAVE_ASPRINTF) check_symbol_exists(wprintf "stdio.h" HAVE_WPRINTF) check_symbol_exists(snprintf "stdio.h" HAVE_SNPRINTF) check_symbol_exists(printf "stdio.h" HAVE_POSIX_PRINTF) -check_symbol_exists(fcntl "stdio.h" "fcntl.h" HAVE_FCNTL) check_symbol_exists(pid_t "sys/types.h" HAVE_PID_T) check_symbol_exists(intmax_t "inttypes.h" HAVE_INTTYPES_H_WITH_UINTMAX) check_symbol_exists(uintmax_t "stdint.h" HAVE_STDINT_H_WITH_UINTMAX)