Lines 1552-1557
AC_ARG_WITH(system-jpeg,
Link Here
|
1552 |
[Use jpeg already on system.]),, |
1552 |
[Use jpeg already on system.]),, |
1553 |
[with_system_jpeg=auto]) |
1553 |
[with_system_jpeg=auto]) |
1554 |
|
1554 |
|
|
|
1555 |
AC_ARG_WITH(system-libgltf, |
1556 |
AS_HELP_STRING([--with-system-libgltf], |
1557 |
[Use libgltf already on system.]),, |
1558 |
[with_system_libgltf=auto]) |
1559 |
|
1555 |
AC_ARG_WITH(system-clucene, |
1560 |
AC_ARG_WITH(system-clucene, |
1556 |
AS_HELP_STRING([--with-system-clucene], |
1561 |
AS_HELP_STRING([--with-system-clucene], |
1557 |
[Use clucene already on system.]),, |
1562 |
[Use clucene already on system.]),, |
Lines 10561-10567
if test "x$enable_gltf" != "xno" -a $_os != Darwin -a $_os != iOS -a $_os != And
Link Here
|
10561 |
ENABLE_GLTF=TRUE |
10566 |
ENABLE_GLTF=TRUE |
10562 |
AC_MSG_RESULT([yes]) |
10567 |
AC_MSG_RESULT([yes]) |
10563 |
AC_DEFINE(HAVE_FEATURE_GLTF,1) |
10568 |
AC_DEFINE(HAVE_FEATURE_GLTF,1) |
10564 |
BUILD_TYPE="$BUILD_TYPE LIBGLTF" |
10569 |
if test "$with_system_libgltf" = "yes"; then |
|
|
10570 |
SYSTEM_LIBGLTF=TRUE |
10571 |
PKG_CHECK_MODULES( LIBGLTF, libgltf-0.0 ) |
10572 |
else |
10573 |
BUILD_TYPE="$BUILD_TYPE LIBGLTF" |
10574 |
fi |
10565 |
# otherwise build fails in collada2gltf external because of std::shared_ptr |
10575 |
# otherwise build fails in collada2gltf external because of std::shared_ptr |
10566 |
if test "$have_std_shared_ptr" = "yes"; then |
10576 |
if test "$have_std_shared_ptr" = "yes"; then |
10567 |
BUILD_TYPE="$BUILD_TYPE COLLADA2GLTF" |
10577 |
BUILD_TYPE="$BUILD_TYPE COLLADA2GLTF" |
Lines 10570-10575
else
Link Here
|
10570 |
AC_MSG_RESULT([no]) |
10580 |
AC_MSG_RESULT([no]) |
10571 |
fi |
10581 |
fi |
10572 |
AC_SUBST(ENABLE_GLTF) |
10582 |
AC_SUBST(ENABLE_GLTF) |
|
|
10583 |
AC_SUBST(SYSTEM_LIBGLTF) |
10584 |
AC_SUBST(LIBGLTF_CFLAGS) |
10585 |
AC_SUBST(LIBGLTF_LIBS) |
10573 |
|
10586 |
|
10574 |
# pdf import? |
10587 |
# pdf import? |
10575 |
AC_MSG_CHECKING([whether to build the PDF import feature]) |
10588 |
AC_MSG_CHECKING([whether to build the PDF import feature]) |
10576 |
- |
|
|