mirror of
https://github.com/ckolivas/lrzip.git
synced 2025-12-06 07:12:00 +01:00
Updates to configure.ac to include:
* tests for multiple assemblers (nasm and yasm) * update to configure output to identify assembler used * space/tab cleanups for consistency in lib checks * small correction to test = "no " removing the trailing space * remove unused variable ASM_CMD
This commit is contained in:
parent
4f1adeaec4
commit
6bb6fee628
12
configure.ac
12
configure.ac
|
|
@ -69,8 +69,8 @@ AC_ARG_ENABLE(
|
||||||
)
|
)
|
||||||
|
|
||||||
if test x"$ASM" = x"yes"; then
|
if test x"$ASM" = x"yes"; then
|
||||||
AC_CHECK_PROG( ASM_PROG, nasm, nasm, no ) # fix to set ASM_PROG to nasm, not yes.
|
AC_CHECK_PROGS( ASM_PROG, nasm yasm, no ) # Allow test for multiple Assemblers.
|
||||||
if test x"$ASM_PROG" = x"no "; then
|
if test x"$ASM_PROG" = x"no"; then
|
||||||
ASM=no
|
ASM=no
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
@ -143,7 +143,6 @@ else
|
||||||
fi
|
fi
|
||||||
AM_CONDITIONAL([USE_ASM], [test x"$ASM" = x"yes"])
|
AM_CONDITIONAL([USE_ASM], [test x"$ASM" = x"yes"])
|
||||||
AC_SUBST([ASM_OPT])
|
AC_SUBST([ASM_OPT])
|
||||||
AC_SUBST([ASM_CMD])
|
|
||||||
EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])
|
EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])
|
||||||
|
|
||||||
AC_CONFIG_FILES([
|
AC_CONFIG_FILES([
|
||||||
|
|
@ -166,7 +165,12 @@ echo
|
||||||
echo
|
echo
|
||||||
echo "Configuration Options Summary:"
|
echo "Configuration Options Summary:"
|
||||||
echo
|
echo
|
||||||
echo " ASM................: $ASM"
|
echo -n " ASM................:"
|
||||||
|
if test x"$ASM_PROG" = x"no"; then
|
||||||
|
echo " $ASM"
|
||||||
|
else
|
||||||
|
echo " $ASM, using $ASM_PROG Assembler"
|
||||||
|
fi
|
||||||
echo " Static binary......: $static"
|
echo " Static binary......: $static"
|
||||||
echo
|
echo
|
||||||
echo "Documentation..........: ${build_doc}"
|
echo "Documentation..........: ${build_doc}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue