mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
configure: move SHAVE_INIT behind all checks
Move SHAVE_INIT behind all other checks, in particular AG_GST_CHECK_CHECKS. This should fix problems with header checking and checking for localtime_r, which causes compilation errors with clean checkouts where common/shave has not been created yet when those checks are run. It seems like SHAVE_INIT changes the environment so that checks depending on a compiler need shave to exist at that point, which will fail if AC_OUTPUT hasn't created it yet. Fixes #605930.
This commit is contained in:
parent
9f99d056a2
commit
9a4f0d8ca3
1 changed files with 2 additions and 2 deletions
|
@ -657,12 +657,12 @@ AS_AC_EXPAND(GST_PLUGIN_SCANNER_INSTALLED,${libexecdir}/gstreamer-$GST_MAJORMINO
|
||||||
AC_DEFINE_UNQUOTED(GST_PLUGIN_SCANNER_INSTALLED,
|
AC_DEFINE_UNQUOTED(GST_PLUGIN_SCANNER_INSTALLED,
|
||||||
"$GST_PLUGIN_SCANNER_INSTALLED", [location of the installed gst-plugin-scanner])
|
"$GST_PLUGIN_SCANNER_INSTALLED", [location of the installed gst-plugin-scanner])
|
||||||
|
|
||||||
SHAVE_INIT([common],[enable])
|
|
||||||
|
|
||||||
dnl things for our internal libcheck (must be called even if building
|
dnl things for our internal libcheck (must be called even if building
|
||||||
dnl libcheck is disabled because it defines conditionals)
|
dnl libcheck is disabled because it defines conditionals)
|
||||||
AG_GST_CHECK_CHECKS()
|
AG_GST_CHECK_CHECKS()
|
||||||
|
|
||||||
|
SHAVE_INIT([common],[enable])
|
||||||
|
|
||||||
AC_CONFIG_FILES(
|
AC_CONFIG_FILES(
|
||||||
Makefile
|
Makefile
|
||||||
common/shave
|
common/shave
|
||||||
|
|
Loading…
Reference in a new issue