if test "@cross_compiling@" = "yes"; then cross_compiling=yes host=@use_host@ host_alias=@use_host@ fi LD="@LD@" CC="@CCACHE@ @CC@" CXX="@CCACHE@ @CXX@" CPP="@CCACHE@ @CPP@" AR="@AR@" AS="@AS@" NM="@NM@" STRIP="@STRIP@" RANLIB="@RANLIB@" OBJDUMP="@OBJDUMP@" if test "@platform_os@" = "darwin_embedded" ; then export AS="@prefix@/@tool_dir@/bin/gas-preprocessor.pl @CC@ -arch @use_cpu@" export CCAS="--tag CC @prefix@/@tool_dir@/bin/gas-preprocessor.pl @CC@ -arch @use_cpu@" fi CFLAGS="@platform_cflags@ @platform_includes@ $CFLAGS" LDFLAGS="@platform_ldflags@ $LDFLAGS" CXXFLAGS="@platform_cxxflags@ @platform_includes@ $CXXFLAGS" CPPFLAGS="@platform_cflags@ @platform_includes@ $CPPFLAGS" export PKG_CONFIG=@prefix@/@tool_dir@/bin/pkg-config export NASM=@prefix@/@tool_dir@/bin/nasm PATH=@prefix@/@tool_dir@/bin:@use_toolchain@/usr/bin:@use_toolchain@/bin:$PATH LD_LIBRARY_PATH=@prefix@/@tool_dir@/lib:$LD_LIBRARY_PATH NATIVE_ROOT=@prefix@/@tool_dir@ #curl ac_cv_file__dev_urandom=yes ac_cv_lib_ssl_SSL_connect=yes #gettext and libiconv gl_cv_header_working_stdint_h=yes #libcec ac_cv_search_dlopen=-ldl #libgcrypt if test "${PACKAGE_NAME}" = "libgcrypt"; then ac_cv_path_GPG_ERROR_CONFIG=@prefix@/@deps_dir@/bin/gpg-error-config ac_cv_sys_symbol_underscore=no CFLAGS="$CFLAGS -std=gnu99" fi #python ac_cv_func_gethostbyname_r=no ac_cv_header_sys_un_h=yes #gnutls gl_cv_func_gettimeofday_clobber=no if test "@platform_os@" = "android"; then ac_cv_func_srand=yes ac_cv_func_rand=yes #python: android doesn't have libutil PYTHON_LDFLAGS="-L@prefix@/@deps_dir@/lib -lpython${PYTHON_VERSION} -lc -ldl -lm -lexpat -lffi -lintl -lssl -lcrypto" fi if test "@platform_os@" = "darwin_embedded"; then # tweaks for flac if test "${ac_unique_file}" = "src/flac/main.c" ; then # compiler barfs if we use -O3/O2 for flac export CFLAGS=`echo ${CFLAGS} | sed 's/-O3/-Os/'` export CPPFLAGS=`echo ${CPPFLAGS} | sed 's/-O3/-Os/'` fi if test "@target_platform@" = "appletvos"; then ac_cv_func_vfork_works=no ac_cv_func_fork=no fi fi #Fix for older, broken android toolchains if test "${PACKAGE_NAME}" = "FreeType" -a "@platform_os@" = "android"; then CFLAGS="$CFLAGS -std=gnu99" fi # These libs do not correctly export their symbols. Force them in case # -fvisibility=hidden is set. if test "${ac_unique_file}" = "src/flac/main.c" || \ test "${ac_unique_file}" = "src/framing.c" || \ test "${ac_unique_file}" = "src/libdvdcss.c" || \ test "${PACKAGE_NAME}" = "libssh2" ; then CFLAGS="$CFLAGS -fvisibility=default" fi