configure.sh.cmake 803 Bytes
Newer Older
1 2
#!/bin/sh

3 4 5 6 7 8 9 10
export CC="@AUTOTOOLS_C_COMPILER@"
export CXX="@AUTOTOOLS_CXX_COMPILER@"
export OBJC="@AUTOTOOLS_OBJC_COMPILER@"
export LD="@AUTOTOOLS_LINKER@"
export AR="@AUTOTOOLS_AR@"
export RANLIB="@AUTOTOOLS_RANLIB@"
export STRIP="@AUTOTOOLS_STRIP@"
export NM="@AUTOTOOLS_NM@"
11

12 13 14 15 16 17
export ASFLAGS="@ep_asflags@"
export CPPFLAGS="@ep_cppflags@"
export CFLAGS="@ep_cflags@"
export CXXFLAGS="@ep_cxxflags@"
export OBJCFLAGS="@ep_objcflags@"
export LDFLAGS="@ep_ldflags@"
18

19
export PKG_CONFIG="@LINPHONE_BUILDER_PKG_CONFIG@"
20
export PKG_CONFIG_PATH="@LINPHONE_BUILDER_PKG_CONFIG_PATH@"
21 22
export PKG_CONFIG_LIBDIR="@LINPHONE_BUILDER_PKG_CONFIG_LIBDIR@"

23 24
cd @ep_build@

25
if [ ! -f @ep_config_h_file@ ]
26
then
27
	@ep_autogen_command@ @ep_redirect_to_file@
28
	@ep_configure_env@ @ep_configure_command@ @ep_redirect_to_file@
29
fi