From dc5ff491de96aa5a1aeff9de540ff224f804050a Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 1 Sep 2025 09:06:29 +0200 Subject: [PATCH] GAP packages with configure support must support --with-gaproot=PATH ... at least nowadays. --- action.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/action.yml b/action.yml index dd9982a..b5643e8 100644 --- a/action.yml +++ b/action.yml @@ -42,12 +42,8 @@ runs: if [[ -x autogen.sh ]]; then ./autogen.sh fi - if grep Autoconf ./configure > /dev/null - then + if [[ -x configure ]]; then ./configure --with-gaproot=$GAPROOT ${{ inputs.CONFIGFLAGS }} - make -j4 V=1 - elif [[ -x configure ]]; then - ./configure ${{ inputs.CONFIGFLAGS }} $GAPROOT - make -j4 CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS" + make -j4 V=1 CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS" fi shell: bash