Commit 40fc592d authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Run autotools everytime by default.

parent 7b1325cf
......@@ -15,7 +15,8 @@ export LDFLAGS="@LINPHONE_BUILDER_TOOLCHAIN_LDFLAGS@ @EP_linphone_EXTRA_LDFLAGS@
export PKG_CONFIG_LIBDIR="@LINPHONE_BUILDER_PKG_CONFIG_LIBDIR@"
if [ ! -f config.h ]; then
if [ "x@LINPHONE_BUILDER_AUTOTOOLS_ONCE@" = "xno" ] || [ ! -f config.h ]
then
./autogen.sh
./configure "--prefix=@CMAKE_INSTALL_PREFIX@" "--host=@LINPHONE_BUILDER_TOOLCHAIN_HOST@" @EP_linphone_CONFIGURE_OPTIONS@
fi
......@@ -15,7 +15,8 @@ export LDFLAGS="@LINPHONE_BUILDER_TOOLCHAIN_LDFLAGS@ @EP_opus_EXTRA_LDFLAGS@"
export PKG_CONFIG_LIBDIR="@LINPHONE_BUILDER_PKG_CONFIG_LIBDIR@"
if [ ! -f config.h ]; then
if [ "x@LINPHONE_BUILDER_AUTOTOOLS_ONCE@" = "xno" ] || [ ! -f config.h ]
then
./autogen.sh
./configure "--prefix=@CMAKE_INSTALL_PREFIX@" "--host=@LINPHONE_BUILDER_TOOLCHAIN_HOST@" @EP_opus_CONFIGURE_OPTIONS@
fi
......@@ -15,6 +15,7 @@ export LDFLAGS="@LINPHONE_BUILDER_TOOLCHAIN_LDFLAGS@ @EP_xml2_EXTRA_LDFLAGS@"
export PKG_CONFIG_LIBDIR="@LINPHONE_BUILDER_PKG_CONFIG_LIBDIR@"
if [ ! -f config.h ]; then
if [ "x@LINPHONE_BUILDER_AUTOTOOLS_ONCE@" = "xno" ] || [ ! -f config.h ]
then
./autogen.sh "--prefix=@CMAKE_INSTALL_PREFIX@" "--host=@LINPHONE_BUILDER_TOOLCHAIN_HOST@" @EP_xml2_CONFIGURE_OPTIONS@
fi
......@@ -25,6 +25,16 @@ include(ExternalProject)
set(LINPHONE_BUILDER_PKG_CONFIG_LIBDIR ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig)
if(NOT "${LINPHONE_BUILDER_AUTOTOOLS_ONCE}" STREQUAL "")
if(${LINPHONE_BUILDER_AUTOTOOLS_ONCE})
set(LINPHONE_BUILDER_AUTOTOOLS_ONCE "yes")
else()
set(LINPHONE_BUILDER_AUTOTOOLS_ONCE "no")
endif()
else()
set(LINPHONE_BUILDER_AUTOTOOLS_ONCE "no")
endif()
set(LINPHONE_BUILDER_EP_VARS)
macro(linphone_builder_expand_external_project_vars)
......
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