From 81fb480bae00c20993ef06ebf6d2c38fdb550cd4 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Fri, 29 Jul 2022 03:05:41 +0300 Subject: [PATCH 58/58] winbuild.sh: Set ac_cv_working_gettimeofday See osdn #45260 Signed-off-by: Marko Lindqvist --- windows/installer_cross/winbuild.sh | 30 ++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/windows/installer_cross/winbuild.sh b/windows/installer_cross/winbuild.sh index 4b5d8224b3..e1a77d7aea 100755 --- a/windows/installer_cross/winbuild.sh +++ b/windows/installer_cross/winbuild.sh @@ -180,7 +180,35 @@ if test "x$MOCCMD" = "x" && test "x$MOC_CROSSER" != "x" ; then MOCPARAM="MOCCMD=${MOC_CROSSER}" fi -if ! ../../../configure $MOCPARAM FREECIV_LABEL_FORCE="-crs" CPPFLAGS="-I${DLLSPATH}/include -D_WIN32_WINNT=${MIN_WINVER}" CFLAGS="-Wno-error" PKG_CONFIG_LIBDIR="${DLLSPATH}/lib/pkgconfig" --enable-sys-tolua-cmd --with-magickwand="${DLLSPATH}/bin" --prefix="/" $GITREVP --enable-client=$CLIENTS --enable-fcmp=$FCMP --enable-debug --host=$TARGET --build=$(../../../bootstrap/config.guess) --with-libiconv-prefix=${DLLSPATH} --with-sqlite3-prefix=${DLLSPATH} --with-followtag="crosser" --enable-crosser ${AIS} --disable-freeciv-manual --enable-sdl-mixer=sdl2 ${QTPARAMS} --with-tinycthread --without-readline --enable-server=$SERVER --enable-ruledit=$RULEDIT $EXTRA_CONFIG +if ! ../../../configure \ + ac_cv_working_gettimeofday=yes \ + $MOCPARAM \ + FREECIV_LABEL_FORCE="-crs" \ + CPPFLAGS="-I${DLLSPATH}/include -D_WIN32_WINNT=${MIN_WINVER}" \ + CFLAGS="-Wno-error" \ + PKG_CONFIG_LIBDIR="${DLLSPATH}/lib/pkgconfig" \ + --enable-sys-tolua-cmd \ + --with-magickwand="${DLLSPATH}/bin" \ + --prefix="/" \ + $GITREVP \ + --enable-client=$CLIENTS \ + --enable-fcmp=$FCMP \ + --enable-debug \ + --host=$TARGET \ + --build=$(../../../bootstrap/config.guess) \ + --with-libiconv-prefix=${DLLSPATH} \ + --with-sqlite3-prefix=${DLLSPATH} \ + --with-followtag="crosser" \ + --enable-crosser \ + ${AIS} \ + --disable-freeciv-manual \ + --enable-sdl-mixer=sdl2 \ + ${QTPARAMS} \ + --with-tinycthread \ + --without-readline \ + --enable-server=$SERVER \ + --enable-ruledit=$RULEDIT \ + $EXTRA_CONFIG then echo "Configure failed" >&2 exit 1 -- 2.35.1