summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.builds/openbsd.yml27
-rw-r--r--configure.ac4
2 files changed, 30 insertions, 1 deletions
diff --git a/.builds/openbsd.yml b/.builds/openbsd.yml
new file mode 100644
index 0000000..0856a6e
--- /dev/null
+++ b/.builds/openbsd.yml
@@ -0,0 +1,27 @@
+image: openbsd/latest
+packages:
+- autoconf
+- automake
+- libtool
+- gettext
+- help2man
+- texinfo
+- texlive_texmf-full
+tasks:
+- build: |
+ cd aplwc
+ alias makeinfo=gmakeinfo
+ alias texi2dvi=gtexi2dvi
+ export AUTOCONF_VERSION=2.71
+ export AUTOMAKE_VERSION=1.16
+ ./bootstrap --skip-po --copy
+ ./configure
+ make
+- test: |
+ cd aplwc
+ make check
+ make distcheck
+triggers:
+ - action: email
+ condition: always
+ to: petermikkelsen10@gmail.com
diff --git a/configure.ac b/configure.ac
index eeb6163..2ddb6a5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,7 +22,9 @@ PKG_INSTALLDIR
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION(0.20)
-PKG_CHECK_MODULES([READLINE], [readline])
+PKG_CHECK_MODULES([READLINE], [readline],,[
+ PKG_CHECK_MODULES([READLINE], [ereadline])
+])
AC_CONFIG_FILES([
Makefile