summaryrefslogtreecommitdiffstats
path: root/graphics/libdrm/files/extra-configure
blob: 3d9d5718483d2c2dd6bc1e17d191589d1890466c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
--- configure.orig  2013-02-22 00:30:16.861698520 +0100
+++ configure   2013-02-22 00:30:26.189704713 +0100
@@ -671,6 +671,8 @@
 HAVE_VMWGFX_TRUE
 HAVE_LIBKMS_FALSE
 HAVE_LIBKMS_TRUE
+HAVE_STRCHRNUL_FALSE
+HAVE_STRCHRNUL_TRUE
 CLOCK_LIB
 pkgconfigdir
 PTHREADSTUBS_LIBS
@@ -12341,6 +12345,27 @@
 done
 
 
+for ac_func in strchrnul
+do :
+  ac_fn_c_check_func "$LINENO" "strchrnul" "ac_cv_func_strchrnul"
+if test "x$ac_cv_func_strchrnul" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_STRCHRNUL 1
+_ACEOF
+ HAVE_STRCHRNUL=yes
+fi
+done
+
+
+ if test "x$ac_cv_func_strchrnul" = xyes; then
+  HAVE_STRCHRNUL_TRUE=
+  HAVE_STRCHRNUL_FALSE='#'
+else
+  HAVE_STRCHRNUL_TRUE='#'
+  HAVE_STRCHRNUL_FALSE=
+fi
+
+
 
 
 MAYBE_WARN="-Wall -Wextra \