Mac M1 & Alpine : configure syntax error

On my arch (M1 Pro), I had to use an image with alpine (varnish:7.0-alpine), I have this error trying to make:

#6 6.359 checking for shl_load in -ldld... no
#6 6.389 checking for dlopen... yes
#6 6.419 checking whether a program can dlopen itself... yes
#6 6.453 checking whether a statically linked program can dlopen itself... no
#6 6.496 checking whether stripping libraries is possible... yes
#6 6.498 checking if libtool supports shared libraries... yes
#6 6.498 checking whether to build shared libraries... yes
#6 6.498 checking whether to build static libraries... no
#6 6.498 ./configure: line 12825: syntax error: unexpected newline (expecting ")")

My DockerFile is:

RUN \
    set -x && \
    git clone -b ${LIBVMOD_CRYPTO_BRANCH} https://code.uplex.de/uplex-varnish/libvmod-crypto.git && \
    cd libvmod-crypto && \
    ./bootstrap && \
    ./configure && \
    make install && \
    cd .. && \
    rm -rf libvmod-crypto

I took a look to configure.ac file, can't see any error? Any clue .. ? Thanks