configure.ac 13.1 KB
Newer Older
aymeric's avatar
aymeric committed
1
dnl Process this file with autoconf to produce a configure script.
Simon Morlat's avatar
Simon Morlat committed
2
AC_INIT([ortp],[0.23.0])
aymeric's avatar
aymeric committed
3 4 5 6 7 8 9 10
AC_CANONICAL_SYSTEM

dnl Source packaging numbers
ORTP_MAJOR_VERSION=$(echo $PACKAGE_VERSION | cut -d. -f1)
ORTP_MINOR_VERSION=$(echo $PACKAGE_VERSION | cut -d. -f2)
ORTP_MICRO_VERSION=$(echo $PACKAGE_VERSION | cut -d. -f3)
ORTP_EXTRA_VERSION=$(echo $PACKAGE_VERSION | cut -d. -f4)

11
LIBORTP_SO_CURRENT=9 dnl increment this number when you add/change/remove an interface
aymeric's avatar
aymeric committed
12
LIBORTP_SO_REVISION=0 dnl increment this number when you change source code, without changing interfaces; set to 0 when incrementing CURRENT
13
LIBORTP_SO_AGE=0 dnl increment this number when you add an interface, set to 0 if you remove an interface
aymeric's avatar
aymeric committed
14 15 16 17 18 19 20 21 22 23

LIBORTP_SO_VERSION=$LIBORTP_SO_CURRENT:$LIBORTP_SO_REVISION:$LIBORTP_SO_AGE
ORTP_VERSION=${ORTP_MAJOR_VERSION}.${ORTP_MINOR_VERSION}.${ORTP_MICRO_VERSION}

if test -n "$ORTP_EXTRA_VERSION" ; then
	ORTP_VERSION="${ORTP_VERSION}.${ORTP_EXTRA_VERSION}"
fi

ORTP_PKGCONFIG_VERSION=${ORTP_VERSION}

24
AC_SUBST(LIBORTP_SO_CURRENT, $LIBORTP_SO_CURRENT)
aymeric's avatar
aymeric committed
25 26 27 28 29 30 31 32
AC_SUBST(LIBORTP_SO_VERSION)
AC_SUBST(ORTP_VERSION)
AC_SUBST(ORTP_PKGCONFIG_VERSION)


PACKAGE=ortp

AM_INIT_AUTOMAKE([tar-ustar])
33
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])],)
Yann Diorcet's avatar
Yann Diorcet committed
34
AC_SUBST([docdir], [${datadir}/doc])
aymeric's avatar
aymeric committed
35
AC_CONFIG_HEADERS(ortp-config.h)
36
AC_CONFIG_MACRO_DIR([m4])
aymeric's avatar
aymeric committed
37 38 39 40 41
AC_DEFINE_UNQUOTED(ORTP_MAJOR_VERSION,$ORTP_MAJOR_VERSION, [major version])
AC_DEFINE_UNQUOTED(ORTP_MINOR_VERSION,$ORTP_MINOR_VERSION, [minor version])
AC_DEFINE_UNQUOTED(ORTP_MICRO_VERSION,$ORTP_MICRO_VERSION, [micro version])
AC_DEFINE_UNQUOTED(ORTP_VERSION,"$ORTP_VERSION",[ortp version number])

42 43 44 45
dnl Checks for programs.
AC_PROG_CC
LT_INIT([win32-dll shared disable-static])

46 47
gl_LD_OUTPUT_DEF

aymeric's avatar
aymeric committed
48 49
AC_MSG_CHECKING([warning make an error on compilation])
AC_ARG_ENABLE(strict,
Yann Diorcet's avatar
Yann Diorcet committed
50 51 52
	[AS_HELP_STRING([--enable-strict], [Enable error on compilation warning (default=yes)])],
	[wall_werror=$enableval],
	[wall_werror=yes]
aymeric's avatar
aymeric committed
53 54 55
)

AC_ARG_ENABLE(perf,
Yann Diorcet's avatar
Yann Diorcet committed
56 57 58
	[AS_HELP_STRING([--enable-perf], [Disable costly features to reduce cpu consumtion (default=no)])],
	[perf=$enableval],
	[perf=no]
aymeric's avatar
aymeric committed
59 60 61 62
)

ORTP_DEFS=

63 64
AC_DEFINE(__APPLE_USE_RFC_2292, 1, [ Apple wants you to declare what behavior you want by defining either __APPLE_USE_RFC_2292])

aymeric's avatar
aymeric committed
65

Yann Diorcet's avatar
Yann Diorcet committed
66
dnl enable timestamp support
67
AC_ARG_ENABLE(ntp-timestamp,
Yann Diorcet's avatar
Yann Diorcet committed
68 69 70 71 72 73 74 75
	[AS_HELP_STRING([--enable-ntp-timestamp], [Turn on NTP timestamping on received packet (default=no)])],
	[case "${enableval}" in
		yes)	ntptimestamp=true;;
		no)	ntptimestamp=false;;
		*)	AC_MSG_ERROR(bad value ${enableval} for --enable-ntp-timestamp) ;;
	esac],
	[ntptimestamp=false]
)
76
if test x$ntptimestamp = xtrue ; then
Yann Diorcet's avatar
Yann Diorcet committed
77 78 79
	ORTP_DEFS="$ORTP_DEFS -DORTP_TIMESTAMP"
fi

aymeric's avatar
aymeric committed
80
AC_ARG_ENABLE(mode64bit,
Yann Diorcet's avatar
Yann Diorcet committed
81 82 83 84 85 86 87 88
	[AS_HELP_STRING([--enable-mode64bit], [Produce a 64-bit library (default=no)])],
	[case "${enableval}" in
		yes)	mode64bit_enabled=yes;;
		no)	mode64bit_enabled=no;;
		*)	AC_MSG_ERROR("Bad value for --enable-mode64bit");;
	esac],
	[mode64bit_enabled=no]
)
aymeric's avatar
aymeric committed
89 90

AC_ARG_ENABLE(debug,
Yann Diorcet's avatar
Yann Diorcet committed
91 92 93 94 95 96 97 98
	[AS_HELP_STRING([--enable-debug], [Enable the display of traces showing the execution of the library (default=yes)])],
	[case "${enableval}" in
		yes)	debug_enabled=yes;;
		no)	debug_enabled=no;;
		*)	AC_MSG_ERROR("Bad value for --enable-debug");;
	esac],
	[debug_enabled=no]
)
aymeric's avatar
aymeric committed
99

100 101 102 103 104 105 106 107 108 109 110 111

AC_ARG_ENABLE(broken_srtp,
	[AS_HELP_STRING([--enable-broken-srtp], [Skip some sanity test (default=no)])],
	[case "${enableval}" in
		yes)	test_for_broken_srtp=no;;
		no)	test_for_broken_srtp=yes;;
		*)	AC_MSG_ERROR("Bad value for --enable-broken-srtp");;
	esac],
	[test_for_broken_srtp=yes]
)


aymeric's avatar
aymeric committed
112 113 114 115
hpux_host=no
posixtimer_interval=10000
PTHREAD_LDFLAGS=

jehan's avatar
jehan committed
116 117 118 119 120 121 122 123 124
case "$target" in
        #macosx 64 bits
        x86_64-apple-darwin*)
                LIBS="$LIBS -mmacosx-version-min=10.6"
                CXXFLAGS="$CXXFLAGS -mmacosx-version-min=10.6"
                CFLAGS="$CFLAGS -mmacosx-version-min=10.6"
        ;;
esac

aymeric's avatar
aymeric committed
125 126 127 128 129 130
case "$target_os" in
	*hpux*) 
		hpux_host=yes
		AC_DEFINE(NOCONNECT,1,[Defined if we should not use connect() on udp sockets])
		CFLAGS="$CFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506L"
		LIBS="$LIBS -lxnet"
Yann Diorcet's avatar
Yann Diorcet committed
131
	;;
aymeric's avatar
aymeric committed
132 133 134
	*freebsd*)
		AC_DEFINE(NOCONNECT,1,[Defined if we should not use connect() on udp sockets])
		PTHREAD_LDFLAGS="-pthread"
Yann Diorcet's avatar
Yann Diorcet committed
135
	;;
jehan monnier's avatar
jehan monnier committed
136
	*mingw32ce)
137 138 139
		CFLAGS="$CFLAGS -D_WIN32_WCE -D_WIN32_WINNT=0x0501 -DORTP_STATIC"
		LIBS="$LIBS -lws2 -liphlpapi"
		mingw_found=yes
Yann Diorcet's avatar
Yann Diorcet committed
140
	;;
141 142 143
	*mingw*)
		CFLAGS="$CFLAGS -D_WIN32_WINNT=0x0501 -DORTP_STATIC"
		LIBS="$LIBS -lws2_32 -liphlpapi -lwinmm"
144
		mingw_found=yes
Yann Diorcet's avatar
Yann Diorcet committed
145
	;;
aymeric's avatar
aymeric committed
146 147
esac

148
AM_CONDITIONAL(BUILD_WIN32, test "$mingw_found" = "yes")
Yann Diorcet's avatar
Yann Diorcet committed
149 150 151 152 153 154 155 156 157
AC_CONFIG_COMMANDS([libtool-hacking],
	[if test "$mingw_found" = "yes" ; then
		echo "Hacking libtool to work with mingw..."
		sed -e 's/\*\" \$a_deplib \"\*/\*/' < ./libtool > libtool.tmp
		cp -f ./libtool.tmp ./libtool
		rm -f ./libtool.tmp
	fi],
	[mingw_found=$mingw_found]
)
158

aymeric's avatar
aymeric committed
159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175
if test "$GCC" != "yes" ; then
	if test "$hpux_host" = "yes" ; then
		dnl we are probably using HPUX cc compiler, so add a +O2 to CFLAGS
			CFLAGS="$CFLAGS +O2 -g "
		if test x$mode64bit_enabled = xyes ; then
			CFLAGS="$CFLAGS +DA2.0W +DS2.0"
		fi
	fi
else
	CFLAGS="$CFLAGS -Wall"	
fi

build_scheduler=yes

dnl Check if we have seteuid system call
AC_CHECK_FUNCS(seteuid)

176 177 178
dnl Check if we have arc4random family routines available
AC_CHECK_FUNCS(arc4random)

aymeric's avatar
aymeric committed
179 180 181 182 183 184 185 186 187 188 189 190 191 192

dnl check if we can use the pthread_library
AC_CHECK_LIB(pthread, pthread_mutex_init, [pthread_enabled=yes], [pthread_enabled=no])
if test $pthread_enabled = "no" ; then
	build_scheduler=no
else
	PTHREAD_LIBS="-lpthread"
	PTHREAD_CFLAGS="-D_REENTRANT"
	AC_SUBST(PTHREAD_CFLAGS)
	AC_SUBST(PTHREAD_LIBS)
	AC_SUBST(PTHREAD_LDFLAGS)
fi
AC_ARG_WITH(thread-stack-size,
	AC_HELP_STRING([--with-thread-stack-size=SIZE-IN-BYTES],[Set thread stack size [[default=os-default]]]),
Yann Diorcet's avatar
Yann Diorcet committed
193 194 195
	[thread_stack_size=$withval],
	[thread_stack_size=0]
)
Yann Diorcet's avatar
Yann Diorcet committed
196
AC_DEFINE_UNQUOTED(ORTP_DEFAULT_THREAD_STACK_SIZE, $thread_stack_size, [Default thread stack size (0 = let uperating system decide)])
aymeric's avatar
aymeric committed
197 198


199 200
dnl check if we can use the rt library
AC_CHECK_LIB(rt, clock_gettime, [rt_enabled=yes])
Simon Morlat's avatar
Simon Morlat committed
201
if test "$rt_enabled" = "yes" ; then
202 203 204 205 206
	RT_LIBS="-lrt"
	AC_SUBST(RT_LIBS)
fi


aymeric's avatar
aymeric committed
207
dnl check for libsrtp support (secure rtp)
Yann Diorcet's avatar
Yann Diorcet committed
208
AC_ARG_WITH(srtp,
Yann Diorcet's avatar
Yann Diorcet committed
209 210 211 212
	AC_HELP_STRING([--with-srtp], [Set prefix where libsrtp can be found or "none" to disable (ex:/usr or /usr/local) [[default=/usr]]]),
	[srtp_prefix=$withval],
	[srtp_prefix=/usr]
)
213 214
if test "${srtp_prefix}" != "none" ; then
	if test "${srtp_prefix}" != "/usr" || test "$mingw_found" = "yes" ; then
215
		SRTP_CFLAGS="-I${srtp_prefix}/include -I${srtp_prefix}/include/srtp"
216 217 218 219 220 221 222
		SRTP_LIBS="-L${srtp_prefix}/lib"
	fi
	SRTP_LIBS="$SRTP_LIBS -lsrtp"

	dnl check srtp headers
	have_srtp=no
	CPPFLAGS_save=$CPPFLAGS
223
	CPPFLAGS="$CPPFLAGS $SRTP_CFLAGS"
224 225 226 227 228
	AC_CHECK_HEADER([srtp/srtp.h],have_srtp_headers=yes)
	CPPFLAGS=$CPPFLAGS_save

	dnl check for srtp lib
	LDFLAGS_save=$LDFLAGS
229
	LDFLAGS="$LDFLAGS $SRTP_LIBS"
230 231
	LIBS_save=$LIBS
	AC_CHECK_LIB(srtp,srtp_init,have_srtp_lib=yes)
232
	AC_CHECK_LIB(srtp,srtp_shutdown,[AC_DEFINE([HAVE_SRTP_SHUTDOWN],1,[Defined when srtp_shutdown() exists.])])
233 234 235 236 237
	LDFLAGS=$LDFLAGS_save
	LIBS=$LIBS_save

	if test "$have_srtp_headers$have_srtp_lib" = "yesyes" ; then
		have_srtp=yes
238
		if test "$test_for_broken_srtp" = yes; then
Guillaume Beraudo's avatar
Guillaume Beraudo committed
239 240 241
			LDFLAGS_save=$LDFLAGS
			LDFLAGS="$LDFLAGS $SRTP_LIBS"
			LIBS_save=$LIBS
242 243 244 245 246 247
			AC_CHECK_LIB(srtp,sha1_update,[
			AC_MSG_ERROR([This libsrtp version exports symbols conflicting with polar ssl, resulting in a bad execution path.
			 Please use the one from git://git.linphone.org/srtp.git
			 You could also track resolution of defect on https://github.com/cisco/libsrtp/issues/28
			 If you are not linking against polar ssl, you may prefer to skip this test with --enable-broken-srtp
			])], have_srtp=yes)
Guillaume Beraudo's avatar
Guillaume Beraudo committed
248 249
			LDFLAGS=$LDFLAGS_save
			LIBS=$LIBS_save
250
		fi
251
		AC_DEFINE(HAVE_SRTP, 1, [Defined when srtp support is compiled])
252
		ORTP_DEFS="$ORTP_DEFS -DORTP_HAVE_SRTP"
253 254 255 256 257
	else
		AC_MSG_NOTICE([Could not find libsrtp headers or lib, cryto transport disabled.])
		SRTP_CFLAGS=
		SRTP_LIBS=
	fi
aymeric's avatar
aymeric committed
258

259 260 261
	AC_SUBST(SRTP_CFLAGS)
	AC_SUBST(SRTP_LIBS)
else
Yann Diorcet's avatar
Yann Diorcet committed
262 263 264
	have_srtp=no
	SRTP_CFLAGS=
	SRTP_LIBS=
aymeric's avatar
aymeric committed
265
fi
266 267 268 269 270



dnl check for libzrtp support (RFC 6189: Media Path Key Agreement for Unicast Secure RTP)
AC_ARG_ENABLE(zrtp,
271
	[AS_HELP_STRING([--enable-zrtp], [Turn on or off compilation of zrtp (default=no)])],
Yann Diorcet's avatar
Yann Diorcet committed
272 273 274 275 276 277 278
	[case "${enableval}" in
		yes)	zrtp=true ;;
		no)	zrtp=false ;;
		*)	AC_MSG_ERROR(bad value ${enableval} for --enable-zrtp) ;;
	esac],
	[zrtp=false]
)
279 280

if test "$zrtp" = "true" ; then
jehan's avatar
jehan committed
281
	PKG_CHECK_MODULES(LIBBZRTP, libbzrtp >= 0.0.0)
282 283 284
	if test "$have_srtp" = "no" ; then
		AC_MSG_ERROR("ZRTP requires SRTP")
	fi
Yann Diorcet's avatar
Yann Diorcet committed
285
	AC_DEFINE(HAVE_zrtp, 1, [Defined when zrtp support is compiled])
aymeric's avatar
aymeric committed
286
else
Yann Diorcet's avatar
Yann Diorcet committed
287
	echo "ZRTP compilation is disabled."
aymeric's avatar
aymeric committed
288
fi
jehan's avatar
jehan committed
289
AM_CONDITIONAL(LIBBZRTP,test x$zrtp != xfalse)
aymeric's avatar
aymeric committed
290 291 292


if test $debug_enabled = "yes"; then
293
	ORTP_DEFS="$ORTP_DEFS -DORTP_DEBUG_MODE"
aymeric's avatar
aymeric committed
294
	CFLAGS=`echo $CFLAGS | sed 's/-O.//'`
295
	CFLAGS="$CFLAGS -g"
aymeric's avatar
aymeric committed
296 297
fi

298

aymeric's avatar
aymeric committed
299
AC_ARG_ENABLE(memcheck,
Yann Diorcet's avatar
Yann Diorcet committed
300 301 302 303 304 305 306 307
	[AS_HELP_STRING([--enable-memcheck], [Enable memory leak detection (HPUX only)])],
	[case "${enableval}" in
		yes)	memcheck_enabled=yes;;
		no)	memcheck_enabled=no;;
		*)	AC_MSG_ERROR("Bad value for --enable-memcheck");;
	esac],
	[memcheck_enabled=no]
)
aymeric's avatar
aymeric committed
308 309 310 311 312 313 314 315 316
				
if test "$memcheck_enabled" = "yes" ; then
	if test "$hpux_host" = "yes" ; then
		AC_DEFINE(ENABLE_MEMCHECK,1,[Defined when memory leak checking if enabled])
	else
		echo "WARNING ************ : the memory check option is only available for HPUX."
	fi
fi

317

aymeric's avatar
aymeric committed
318 319
dnl Checks for header files.
AC_HEADER_STDC
Simon Morlat's avatar
Simon Morlat committed
320
AC_CHECK_HEADERS(poll.h sys/poll.h sys/uio.h fcntl.h sys/time.h unistd.h sys/audio.h linux/soundcard.h sys/shm.h)
aymeric's avatar
aymeric committed
321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348

dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_INLINE
AC_HEADER_TIME
AC_WORDS_BIGENDIAN
if test x$ac_cv_c_bigendian = xyes ; then
	ORTP_DEFS="$ORTP_DEFS -DORTP_BIGENDIAN"
fi

dnl Checks for library functions.
AC_CHECK_FUNCS(select socket strerror)

if test $hpux_host = "yes" ; then
dnl it seems 10 ms is too fast on hpux and it causes trouble 
		posixtimer_interval=20000
fi

AC_DEFINE_UNQUOTED(POSIXTIMER_INTERVAL,$posixtimer_interval,[Defines the periodicity of the rtp scheduler in microseconds])

if test "$perf" = "yes" ; then
	CFLAGS="$CFLAGS -DPERF"
fi

if test $GCC = yes && test $wall_werror = yes;  then
	CFLAGS="$CFLAGS -Werror "
fi

349
AC_ARG_ENABLE(ssl-hmac,
Yann Diorcet's avatar
Yann Diorcet committed
350 351 352 353 354 355 356 357
	[AS_HELP_STRING([--enable-ssl-hmac], [Enable use of ssl/hmac for stun (default=no)])],
	[case "${enableval}" in
		yes)	ssl_hmac_enabled=yes;;
		no)	ssl_hmac_enabled=no;;
		*)	AC_MSG_ERROR("Bad value for --enable-ssl-hmac");;
	esac],
	[ssl_hmac_enabled=no]
)
358 359 360 361 362 363 364 365 366
				
if test "$ssl_hmac_enabled" = "yes" ; then
	AC_CHECK_HEADERS(openssl/hmac.h openssl/md5.h)
	AC_CHECK_LIB(ssl,SSL_CTX_new,[SSL_LIBS="-lssl"])
	AC_CHECK_LIB(crypto,MD5,[SSL_LIBS="$SSL_LIBS -lcrypto"])
fi



367 368
AC_SUBST(SSL_LIBS)

jehan's avatar
jehan committed
369 370
ORTPDEPS_LIBS="$ORTPDEPS_LIBS $PTHREAD_LIBS $PTHREAD_LDFLAGS $RT_LIBS $SRTP_LIBS $SSL_LIBS $LIBBZRTP_LIBS"
ORTPDEPS_CFLAGS="$ORTPDEPS_CFLAGS $PTHREAD_CFLAGS $ORTP_DEFS $SRTP_CFLAGS $LIBBZRTP_CFLAGS"
aymeric's avatar
aymeric committed
371 372 373 374
CFLAGS="$CFLAGS $ORTP_DEFS"
echo "$ORTPDEPS_CFLAGS" > ortp.defs


375
AC_ARG_ENABLE(tests_enabled,
Yann Diorcet's avatar
Yann Diorcet committed
376 377 378 379 380 381 382 383
	[AS_HELP_STRING([--disable-tests], [Disable compilation of tests])],
	[case "${enableval}" in
		yes)	tests_enabled=true ;;
		no)	tests_enabled=false ;;
		*)	AC_MSG_ERROR(bad value ${enableval} for --disable-tests) ;;
	esac],
	[tests_enabled=false]
)
384 385
AM_CONDITIONAL(ENABLE_TESTS, test x$tests_enabled = xyes)

386 387 388 389 390 391 392
case "$target_os" in
	*linux*)
		# Eliminate -lstdc++ addition to postdeps for cross compiles.
		postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
	;;
esac

aymeric's avatar
aymeric committed
393
dnl ##################################################
smorlat's avatar
smorlat committed
394
dnl # Check for doxygen
aymeric's avatar
aymeric committed
395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411
dnl ##################################################

AC_PATH_PROG(DOXYGEN,doxygen,false)
AM_CONDITIONAL(HAVE_DOXYGEN, test $DOXYGEN != false)


dnl ##################################################
dnl # Check for ESP Packager
dnl ##################################################

AC_PATH_PROG(EPM,epm,false)
AC_PATH_PROG(MKEPMLIST,mkepmlist,false)
AC_PATH_PROG(EPMINSTALL,epminstall,false)
AM_CONDITIONAL(WITH_EPM,test $EPM != false && test $MKEPMLIST != false && test $EPMINSTALL != false)

# Preferred packaging system, as per EPM terminology
case $target in
Yann Diorcet's avatar
Yann Diorcet committed
412 413 414 415 416 417 418 419 420 421 422 423 424
	*-*-linux*)
		if test -f /etc/debian_version ; then
			EPM_PKG_EXT=deb
		else
			EPM_PKG_EXT=rpm
		fi
	;;
	*-hp-hpux*)
		EPM_PKG_EXT=depot.gz
	;;
	*-dec-osf*)
		EPM_PKG_EXT=setld
	;;
aymeric's avatar
aymeric committed
425 426 427 428 429
esac
AC_SUBST(EPM_PKG_EXT)

# System software User & Group names
case $target in
Yann Diorcet's avatar
Yann Diorcet committed
430 431 432
	*-*-linux*)
		SYS_USER=root
		SYS_GROUP=root
aymeric's avatar
aymeric committed
433
	;;
Yann Diorcet's avatar
Yann Diorcet committed
434 435 436
	*-*-hpux*|*-dec-osf*)
		SYS_USER=bin
		SYS_GROUP=bin
aymeric's avatar
aymeric committed
437 438 439 440 441 442 443
	;;
esac
AC_SUBST(SYS_USER)
AC_SUBST(SYS_GROUP)

# CPU Architecture
case $target_cpu in
Yann Diorcet's avatar
Yann Diorcet committed
444 445 446 447 448
	i?86)
		ARCH=i386
	;;
	*)	ARCH=$target_cpu
	;;
aymeric's avatar
aymeric committed
449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469
esac
AC_SUBST(ARCH)

# Various other packaging variables, that can be over-ridden ad `make
# package' time
SUMMARY="An LGPL implementation of RTP - RFC3550"
AC_SUBST(SUMMARY)
PACKAGER=anonymous
AC_SUBST(PACKAGER)
LICENSE=LGPL
AC_SUBST(LICENSE)
VENDOR=Linphone
AC_SUBST(VENDOR)
RELEASE=1
AC_SUBST(RELEASE)

AC_SUBST(ORTPDEPS_CFLAGS)
AC_SUBST(ORTPDEPS_LIBS)
AC_SUBST(ORTPDEPS_LDFLAGS)

AC_OUTPUT(
Yann Diorcet's avatar
Yann Diorcet committed
470 471 472 473 474 475 476 477 478 479 480 481 482 483 484
	Makefile
	include/Makefile
	include/ortp/Makefile
	m4/Makefile
	src/Makefile
	src/tests/Makefile
	src/tests/win_receiver/Makefile
	src/tests/win_sender/Makefile
	build/Makefile
	build/win32native/Makefile
	build/wince/Makefile
	build/winmob/Makefile
	ortp.pc
	ortp.spec
	ortp.doxygen
aymeric's avatar
aymeric committed
485 486
)