Changeset: f2277dbeafd3 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f2277dbeafd3
Modified Files:
        cmake/monetdb-defines.cmake
Branch: default
Log Message:

Use check_symbol_exists to find stpcpy. check_function_exists was not finding 
on my machine


diffs (12 lines):

diff --git a/cmake/monetdb-defines.cmake b/cmake/monetdb-defines.cmake
--- a/cmake/monetdb-defines.cmake
+++ b/cmake/monetdb-defines.cmake
@@ -105,7 +105,7 @@ function(monetdb_configure_defines)
   check_function_exists("setsid" HAVE_SETSID)
   check_function_exists("shutdown" HAVE_SHUTDOWN)
   check_function_exists("sigaction" HAVE_SIGACTION)
-  check_function_exists("stpcpy" HAVE_STPCPY)
+  check_symbol_exists("stpcpy" "string.h" HAVE_STPCPY)
   check_function_exists("strcasestr" HAVE_STRCASESTR)
   check_symbol_exists("strncasecmp" "strings.h" HAVE_STRNCASECMP)
   check_function_exists("strptime" HAVE_STRPTIME)
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to