configure25: #i93116# Allow to use the prebuilt stax
This commit is contained in:
parent
826a90d68a
commit
6f8ac23454
3 changed files with 28 additions and 0 deletions
14
configure
vendored
14
configure
vendored
|
@ -834,6 +834,7 @@ SYSTEM_STDLIBS
|
|||
BUILD_UNOWINREG
|
||||
MINGWSTRIP
|
||||
MINGWCXX
|
||||
BUILD_STAX
|
||||
GPERF
|
||||
RPM
|
||||
PKGFORMAT
|
||||
|
@ -11574,6 +11575,19 @@ else
|
|||
as_fn_error "too old, you need at least 3.0.0" "$LINENO" 5
|
||||
fi
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the stax" >&5
|
||||
$as_echo_n "checking whether to build the stax... " >&6; }
|
||||
if test -f "../external/StAX/jsr173_1.0_api.jar"; then
|
||||
BUILD_STAX=NO
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, will use the prebuilt external/StAX/jsr173_1.0_api.jar" >&5
|
||||
$as_echo "no, will use the prebuilt external/StAX/jsr173_1.0_api.jar" >&6; }
|
||||
else
|
||||
BUILD_STAX=YES
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
fi
|
||||
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the ODK" >&5
|
||||
$as_echo_n "checking whether to build the ODK... " >&6; }
|
||||
if test "z$enable_odk" = "z" -o "$enable_odk" != "no"; then
|
||||
|
|
13
configure.in
13
configure.in
|
@ -3421,6 +3421,19 @@ else
|
|||
AC_MSG_ERROR([too old, you need at least 3.0.0])
|
||||
fi
|
||||
|
||||
dnl ===================================================================
|
||||
dnl Check for building stax
|
||||
dnl ===================================================================
|
||||
AC_MSG_CHECKING([whether to build the stax])
|
||||
if test -f "../external/StAX/jsr173_1.0_api.jar"; then
|
||||
BUILD_STAX=NO
|
||||
AC_MSG_RESULT([no, will use the prebuilt external/StAX/jsr173_1.0_api.jar])
|
||||
else
|
||||
BUILD_STAX=YES
|
||||
AC_MSG_RESULT([yes])
|
||||
fi
|
||||
AC_SUBST(BUILD_STAX)
|
||||
|
||||
dnl ===================================================================
|
||||
dnl Check for building ODK
|
||||
dnl ===================================================================
|
||||
|
|
|
@ -1907,6 +1907,7 @@ ToFile( "ENABLE_AGG", "@ENABLE_AGG@", "e" );
|
|||
ToFile( "SYSTEM_AGG", "@SYSTEM_AGG@", "e" );
|
||||
ToFile( "AGG_VERSION", "@AGG_VERSION@", "e" );
|
||||
ToFile( "BUILD_DMAKE", "@BUILD_DMAKE@", "e" );
|
||||
ToFile( "BUILD_STAX", "@BUILD_STAX@", "e" );
|
||||
ToFile( "BUILD_UNOWINREG", "@BUILD_UNOWINREG@", "e" );
|
||||
ToFile( "USE_XINERAMA", "@USE_XINERAMA@", "e" );
|
||||
ToFile( "XINERAMA_LINK", "@XINERAMA_LINK@", "e" );
|
||||
|
|
Loading…
Reference in a new issue