Commit cf6d6f27 authored by Andreas Marek's avatar Andreas Marek

Shift xxd test _AFTER_ check of save_compile_config

parent 907b0333
...@@ -1711,9 +1711,6 @@ else ...@@ -1711,9 +1711,6 @@ else
fi fi
dnl store-build-config dnl store-build-config
echo "checking whether build config should be compiled into the library..."
AC_CHECK_PROG(xxd_CHECK,xxd,yes)
AS_IF([test x"$xxd_CHECK" != x"yes"], [AC_MSG_ERROR([Please install xxd before configuring.])])
AC_ARG_ENABLE([store-build-config], AC_ARG_ENABLE([store-build-config],
AS_HELP_STRING([--enable-store-build-config], AS_HELP_STRING([--enable-store-build-config],
[compile build config into the library object, default no]), [compile build config into the library object, default no]),
...@@ -1729,6 +1726,9 @@ AM_CONDITIONAL([STORE_BUILD_CONFIG],[test x"$store_build_config" = x"yes"]) ...@@ -1729,6 +1726,9 @@ AM_CONDITIONAL([STORE_BUILD_CONFIG],[test x"$store_build_config" = x"yes"])
if test x"${store_build_config}" = x"yes"; then if test x"${store_build_config}" = x"yes"; then
echo "build config should be compiled into the library: yes" echo "build config should be compiled into the library: yes"
AC_DEFINE([STORE_BUILD_CONFIG], [1], [compile build config into the library object]) AC_DEFINE([STORE_BUILD_CONFIG], [1], [compile build config into the library object])
echo "checking whether build config should be compiled into the library..."
AC_CHECK_PROG(xxd_CHECK,xxd,yes)
AS_IF([test x"$xxd_CHECK" != x"yes"], [AC_MSG_ERROR([Please install xxd before configuring.])])
else else
echo "build config should be compiled into the library: no" echo "build config should be compiled into the library: no"
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment