blob: 23c3a96d43e3f79f46bbd552f4fb02bbd01b95c8 [file] [log] [blame]
Brad Bishop0f291cc2019-09-01 15:16:57 -04001From 20bd8946a5c73290d961df151e82033171639c0d Mon Sep 17 00:00:00 2001
Brad Bishop316dfdd2018-06-25 12:45:53 -04002From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
3Date: Tue, 19 Dec 2017 16:55:13 +0100
Brad Bishop0f291cc2019-09-01 15:16:57 -04004Subject: [PATCH 2/7] CMakeLists.txt: remove CHECK_C_SOURCE_RUNS check
Brad Bishop316dfdd2018-06-25 12:45:53 -04005MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9* TRY_RUN: does not work for OE
10* HAVE_LKSTRFTIME is set by recipe as configure option
11
12Signed-off-by: Andreas MΓΌller <schnitzeltony@gmail.com>
13---
14 CMakeLists.txt | 23 -----------------------
15 1 file changed, 23 deletions(-)
16
17diff --git a/CMakeLists.txt b/CMakeLists.txt
Brad Bishop0f291cc2019-09-01 15:16:57 -040018index ed99904..9a2e99f 100644
Brad Bishop316dfdd2018-06-25 12:45:53 -040019--- a/CMakeLists.txt
20+++ b/CMakeLists.txt
Brad Bishop0f291cc2019-09-01 15:16:57 -040021@@ -579,29 +579,6 @@ CHECK_C_SOURCE_COMPILES("#include <langinfo.h>
Brad Bishop316dfdd2018-06-25 12:45:53 -040022 CHECK_C_SOURCE_COMPILES("#include <langinfo.h>
23 int main(void) { char *detail = nl_langinfo (_NL_ADDRESS_COUNTRY_AB2); return 0; }" HAVE__NL_ADDRESS_COUNTRY_AB2)
24
25-# *******************************************************
26-# Check to see if strftime supports the use of %l and %k
27-# *******************************************************
28-
29-CHECK_C_SOURCE_RUNS("
30- #include <stdlib.h>
31- #include <string.h>
32- #include <time.h>
33- int main(int argc, char **argv) {
34- char buf[10];
35- time_t rawtime;
36- struct tm *timeinfo;
37-
38- time(&rawtime);
39- timeinfo=localtime(&rawtime);
40- buf[0] = 0;
41- strftime(buf, 10, \"%lx%k\", timeinfo);
42-
43- if (!buf[0] || buf[0] == 'x' || strstr(buf, \"l\") || strstr(buf, \"k\"))
44- return 1;
45- return 0;
46- }" HAVE_LKSTRFTIME)
47-
48 # ******************************
49 # system mail stuff
50 # ******************************
51--
Brad Bishop0f291cc2019-09-01 15:16:57 -0400522.21.0
Brad Bishop316dfdd2018-06-25 12:45:53 -040053