Closed athoik closed 6 years ago
Hi @windytan,
When cross compiling it is not possible to check the for MACPORTS LD and CF.
checking for /opt/local/lib... configure: error: cannot check for file existence when cross compiling
Currently in order to build redsea for ARM or MIPS I have to disable the check.
redsea
--- a/configure.ac +++ b/configure.ac @@ -36,12 +36,7 @@ AS_IF([test "x$with_liquid" != xno], [Could not find liquid-dsp (use --without-liquid to disable)])])]) MACPORTS_LD= -AC_CHECK_FILE(/opt/local/lib, - [AC_SUBST([MACPORTS_LD], ["-L/opt/local/lib"])]) - MACPORTS_CF= -AC_CHECK_FILE(`, - [AC_SUBST([MACPORTS_CF], ["-I/opt/local/include"])]) SNDFILE= AS_IF([test "x$with_sndfile" != xno],
Could you please add an option to search for MACPORTS (eg --with-macports ) and check only when enabled?
Thanks, Athanasios
Hi, you can now use the configure option --without-macports to disable this directory check.
--without-macports
Works great! Thanks!
Hi @windytan,
When cross compiling it is not possible to check the for MACPORTS LD and CF.
Currently in order to build
redsea
for ARM or MIPS I have to disable the check.Could you please add an option to search for MACPORTS (eg --with-macports ) and check only when enabled?
Thanks, Athanasios