Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

- name: bootstrap
run: |
./build_aux/bootstrap install
./autogen.sh install

- name: Build environment setup
run: |
Expand All @@ -55,7 +55,7 @@ jobs:
../configure --enable-cobc-internal-checks \
--enable-hardening \
--with-curses=ncurses \
--prefix /opt/cobol/gnucobol-gcos \
--prefix /opt/cobol/gnucobol-gcos

- name: make
run: |
Expand Down
18 changes: 17 additions & 1 deletion build_aux/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Bootstrap gnucobol package from checked-out sources
# Note: call as ./bootstrap if you don't have readlink -f
#
# Copyright (C) 2017-2023 Free Software Foundation, Inc.
# Copyright (C) 2017-2023, 2025 Free Software Foundation, Inc.
# Written by Simon Sobisch
#
# This file is part of GnuCOBOL.
Expand Down Expand Up @@ -59,6 +59,22 @@ for file in $scripts ; do
fi
done

if test "$1" = "install"; then

echo; echo "running gettext to force updated gettext components..."
ret=0

# note: autopoint -f is already included as part of autoreconf -f
#(cd $MAINPATH; autopoint -f); ret=$?
#(cd $MAINPATH; rm -f m4/gettext.m4 m4/po.m4; autopoint -f); ret=$?
gettextize --no-changelog -f $MAINPATH; ret=$?

if test $ret -ne 0; then
echo; echo "ERROR, gettext returned $ret - aborting bootstrap" && exit $ret
fi

fi

echo; echo "running autoreconf..."
ret=0

Expand Down
Loading