16 lines
467 B
Plaintext
16 lines
467 B
Plaintext
$OpenBSD: patch-configure_ac,v 1.1 2017/12/20 17:22:37 jca Exp $
|
|
|
|
Index: configure.ac
|
|
--- configure.ac.orig
|
|
+++ configure.ac
|
|
@@ -31,6 +31,9 @@ CXXFLAGS="$CXXFLAGS $INCICONV"
|
|
dnl Check for iconvctl
|
|
AC_CHECK_FUNC(iconvctl, [AC_DEFINE(HAVE_ICONVCTL, [1], [Define to 1 if you the iconvctl call])], )
|
|
|
|
+dnl Check for pledge
|
|
+AC_CHECK_FUNC(pledge, [AC_DEFINE(HAVE_PLEDGE, [1], [Define to 1 if you the pledge call])], )
|
|
+
|
|
dnl add x11 to the env
|
|
AC_PATH_X
|
|
AC_PATH_XTRA
|