Lines 1395-1400
AC_ARG_ENABLE(gltf,
Link Here
|
1395 |
AS_HELP_STRING([--disable-gltf], |
1395 |
AS_HELP_STRING([--disable-gltf], |
1396 |
[Determines whether to build libraries related to glTF 3D model rendering.])) |
1396 |
[Determines whether to build libraries related to glTF 3D model rendering.])) |
1397 |
|
1397 |
|
|
|
1398 |
AC_ARG_ENABLE(collada, |
1399 |
AS_HELP_STRING([--disable-collada], |
1400 |
[Disable collada support (Rendering 3D models stored in *.dae and *.kmz format).])) |
1401 |
|
1398 |
dnl =================================================================== |
1402 |
dnl =================================================================== |
1399 |
dnl Optional Packages (--with/without-) |
1403 |
dnl Optional Packages (--with/without-) |
1400 |
dnl =================================================================== |
1404 |
dnl =================================================================== |
Lines 10572-10581
if test "x$enable_gltf" != "xno" -a $_os != Darwin -a $_os != iOS -a $_os != And
Link Here
|
10572 |
else |
10576 |
else |
10573 |
BUILD_TYPE="$BUILD_TYPE LIBGLTF" |
10577 |
BUILD_TYPE="$BUILD_TYPE LIBGLTF" |
10574 |
fi |
10578 |
fi |
10575 |
# otherwise build fails in collada2gltf external because of std::shared_ptr |
|
|
10576 |
if test "$have_std_shared_ptr" = "yes"; then |
10577 |
BUILD_TYPE="$BUILD_TYPE COLLADA2GLTF" |
10578 |
fi |
10579 |
else |
10579 |
else |
10580 |
AC_MSG_RESULT([no]) |
10580 |
AC_MSG_RESULT([no]) |
10581 |
fi |
10581 |
fi |
Lines 10584-10589
AC_SUBST(SYSTEM_LIBGLTF)
Link Here
|
10584 |
AC_SUBST(LIBGLTF_CFLAGS) |
10584 |
AC_SUBST(LIBGLTF_CFLAGS) |
10585 |
AC_SUBST(LIBGLTF_LIBS) |
10585 |
AC_SUBST(LIBGLTF_LIBS) |
10586 |
|
10586 |
|
|
|
10587 |
dnl =================================================================== |
10588 |
dnl Check whether to enable COLLADA support |
10589 |
dnl =================================================================== |
10590 |
AC_MSG_CHECKING([whether to enable COLLADA support]) |
10591 |
ENABLE_COLLADA= |
10592 |
if test "$enable_collada" != "no" -a "$ENABLE_GLTF" = "TRUE" -a "$have_std_shared_ptr" = "yes"; then |
10593 |
AC_MSG_RESULT([yes]) |
10594 |
ENABLE_COLLADA=TRUE |
10595 |
AC_DEFINE(HAVE_FEATURE_COLLADA,1) |
10596 |
BUILD_TYPE="$BUILD_TYPE COLLADA2GLTF" |
10597 |
else |
10598 |
AC_MSG_RESULT([no]) |
10599 |
fi |
10600 |
AC_SUBST(ENABLE_COLLADA) |
10601 |
|
10587 |
# pdf import? |
10602 |
# pdf import? |
10588 |
AC_MSG_CHECKING([whether to build the PDF import feature]) |
10603 |
AC_MSG_CHECKING([whether to build the PDF import feature]) |
10589 |
ENABLE_PDFIMPORT= |
10604 |
ENABLE_PDFIMPORT= |