summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Mikkelsen <petermikkelsen10@gmail.com>2026-05-06 22:05:04 +0200
committerPeter Mikkelsen <petermikkelsen10@gmail.com>2026-05-06 22:05:04 +0200
commitc6b05f892dd2b025f2eda4d0257da1674d59d837 (patch)
tree69d08ebddf5fac28679c19ef4a2e3b7467416efa
parent3b0ed8d3296efd16e422e66168dab66399f60776 (diff)
First attempt at building on openbsd
-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