mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
add --disable-tutorials
This commit is contained in:
parent
094eea00e9
commit
88add42eb5
2 changed files with 14 additions and 0 deletions
11
configure.ac
11
configure.ac
|
|
@ -740,6 +740,17 @@ AC_SUBST(ORTP_LIBS)
|
|||
AC_SUBST([ORTP_VERSION])
|
||||
AC_SUBST([ORTP_DIR])
|
||||
|
||||
AC_ARG_ENABLE(tutorials,
|
||||
[AS_HELP_STRING([--disable-tutorials], [Disable compilation of tutorials])],
|
||||
[case "${enableval}" in
|
||||
yes) tutorials_enabled=true ;;
|
||||
no) tutorials_enabled=false ;;
|
||||
*) AC_MSG_ERROR(bad value ${enableval} for --disable-tutorials) ;;
|
||||
esac],
|
||||
[tutorials_enabled=yes]
|
||||
)
|
||||
AM_CONDITIONAL(ENABLE_TUTORIALS, test x$tutorials_enabled = xyes)
|
||||
|
||||
AC_ARG_ENABLE(tests,
|
||||
[AS_HELP_STRING([--disable-tests], [Disable compilation of tests])],
|
||||
[case "${enableval}" in
|
||||
|
|
|
|||
|
|
@ -33,6 +33,8 @@ clean-local:
|
|||
|
||||
#tutorials
|
||||
|
||||
if ENABLE_TUTORIALS
|
||||
|
||||
noinst_PROGRAMS=helloworld registration buddy_status chatroom notify
|
||||
|
||||
helloworld_SOURCES=helloworld.c
|
||||
|
|
@ -78,3 +80,4 @@ AM_CFLAGS=\
|
|||
tutodir=$(datadir)/tutorials/linphone
|
||||
|
||||
tuto_DATA=$(LINPHONE_TUTOS)
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue