Hello all,

Iam trying to cross compile strongswan-4.6.1.

I get follwoing error with auto tool.

m4/config/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.in:212: the top level
configure.in:204: error: possibly undefined macro: AC_LIB_PREFIX
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /opt/toolchains/puma6_toolchain_atom_4_0_0_119/bin/../bin/autoconf failed with exit status: 1
My autotool version is 2.63 , where as in the strongswan it is made up of 2.67.

Will this be an issue?

How can i over come this issue?

Before i initiate the automate compilation process, if i do the autoconfigure for couple of times manually in the folder of strogswan , it does regenerate the configure script compatible for the build machine.

There after automate compliation process is going fine. The issue here is in couple of times first time it does fail showing the error as said above and in second time it update the file.

When i keep the tow autoreconf statements in my Makefile , as it fails in the first attempt my compilation process is getting failed with out going to next autoreconf statement.

Can we ignore the autoreconf error for the first and move to next one?

Your help will be immensely appreciated.

If i go into the specific directory and manually i do the autoconf for two time i