Kaydet (Commit) cbb7f35d authored tarafından Herbert Dürr's avatar Herbert Dürr

up-to-date check for configure script should precede all other checks+infos

üst e352f057
...@@ -923,6 +923,16 @@ BUILD_TYPE="OOo" ...@@ -923,6 +923,16 @@ BUILD_TYPE="OOo"
ADDITIONAL_REPOSITORIES="../ext_libraries" ADDITIONAL_REPOSITORIES="../ext_libraries"
SCPDEFS="" SCPDEFS=""
dnl ===================================================================
dnl Check configure script vs. configure.in
dnl ===================================================================
AC_MSG_CHECKING([whether configure is up-to-date])
if test "configure" -ot "configure.in"; then
AC_MSG_RESULT([no])
AC_MSG_ERROR([configure is not up-to-date, run autoconf first!])
else
AC_MSG_RESULT([yes])
fi
dnl =================================================================== dnl ===================================================================
dnl Message. dnl Message.
dnl =================================================================== dnl ===================================================================
...@@ -953,14 +963,6 @@ dnl Configure pre-requisites. ...@@ -953,14 +963,6 @@ dnl Configure pre-requisites.
dnl =================================================================== dnl ===================================================================
cat /dev/null > warn cat /dev/null > warn
AC_MSG_CHECKING([whether configure is up-to-date])
if test "configure" -ot "configure.in"; then
AC_MSG_RESULT([no])
AC_MSG_ERROR([configure is not up-to-date, run autoconf first!])
else
AC_MSG_RESULT([yes])
fi
AC_PROG_EGREP AC_PROG_EGREP
AC_PROG_AWK AC_PROG_AWK
AC_PATH_PROG( AWK, $AWK) AC_PATH_PROG( AWK, $AWK)
......
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