Compile on apple m1 - configure issue

I am trying to compile libraw on apple m1 but ./configure hangs on line "checking whether we are cross compiling..." and never goes beyond that line. What could be the root cause for that ?

Forums: