jack1 codebase
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

591 lines
18KB

  1. dnl Process this file with autoconf to produce a configure script.
  2. AC_INIT(jackd/jackd.c)
  3. AC_CONFIG_AUX_DIR(config)
  4. AC_CANONICAL_TARGET
  5. dnl ---
  6. dnl HOWTO: updating the JACK version number
  7. dnl
  8. dnl major version = ask on jackit-devel :)
  9. dnl minor version = incremented when any of the public or internal
  10. dnl interfaces are changed
  11. dnl micro version = incremented when implementation-only
  12. dnl changes are made
  13. dnl ---
  14. JACK_MAJOR_VERSION=0
  15. JACK_MINOR_VERSION=99
  16. JACK_MICRO_VERSION=74
  17. dnl ---
  18. dnl HOWTO: updating the jack protocol version
  19. dnl
  20. dnl increment the protocol version whenever a change is
  21. dnl made to the way libjack communicates with jackd
  22. dnl that would break applications linked with an older
  23. dnl version of libjack.
  24. dnl ---
  25. JACK_PROTOCOL_VERSION=15
  26. dnl ---
  27. dnl HOWTO: updating the libjack interface version
  28. dnl
  29. dnl current = incremented whenever the public libjack API is changed
  30. dnl revision = incremented when the libjack implementation is changed
  31. dnl age = current libjack is both source and binary compatible with
  32. dnl libjack interfaces current,current-1,...,current-age
  33. dnl
  34. dnl Note! see libtool documentation for detailed documentation
  35. dnl
  36. dnl Note Also! until we reach CURRENT>=1, the rules are somewhat
  37. dnl slacker than this, and closer to those for the JACK version
  38. dnl number.
  39. dnl ---
  40. JACK_API_CURRENT=0
  41. JACK_API_REVISION=23
  42. JACK_API_AGE=0
  43. AC_SUBST(JACK_MAJOR_VERSION)
  44. AC_SUBST(JACK_MINOR_VERSION)
  45. AC_SUBST(JACK_MICRO_VERSION)
  46. AC_SUBST(JACK_PROTOCOL_VERSION)
  47. AC_DEFINE_UNQUOTED(PROTOCOL_VERSION, "$JACK_PROTOCOL_VERSION", [Protocol version])
  48. AC_SUBST(JACK_API_MAJOR_VERSION)
  49. AC_SUBST(JACK_API_MINOR_VERSION)
  50. AC_SUBST(JACK_API_MICRO_VERSION)
  51. JACK_SO_VERSION=${JACK_API_CURRENT}:${JACK_API_REVISION}:${JACK_API_AGE}
  52. JACK_VERSION=$JACK_MAJOR_VERSION.$JACK_MINOR_VERSION.${JACK_MICRO_VERSION}${BETA}
  53. JACK_RELEASE=$JACK_MAJOR_VERSION-$JACK_MINOR_VERSION-${JACK_MICRO_VERSION}${BETA}
  54. AC_SUBST(JACK_SO_VERSION)
  55. AC_SUBST(JACK_VERSION)
  56. AC_SUBST(JACK_RELEASE)
  57. AM_INIT_AUTOMAKE(jack-audio-connection-kit,${JACK_VERSION})
  58. AM_MAINTAINER_MODE
  59. AM_CONFIG_HEADER(config.h)
  60. AC_ENABLE_STATIC(no)
  61. AC_ENABLE_SHARED(yes)
  62. AC_PROG_CC
  63. AC_PROG_CXX
  64. AC_PROG_LD
  65. AM_PROG_LIBTOOL
  66. AC_PROG_LN_S
  67. AC_C_BIGENDIAN
  68. # configure CPU and OS dependencies for host platform
  69. AC_MSG_CHECKING([platform dependencies])
  70. source $srcdir/config/configure.host
  71. AC_MSG_RESULT([${os_include_dir}, ${cpu_include_dir}])
  72. AC_SUBST(OS_LDFLAGS)
  73. AC_SUBST(os_include_dir)
  74. AC_SUBST(cpu_include_dir)
  75. # system-dependent config.h values
  76. test "x$JACK_THREAD_STACK_TOUCH" = "x" && JACK_THREAD_STACK_TOUCH=1000000
  77. AC_DEFINE_UNQUOTED(JACK_THREAD_STACK_TOUCH,
  78. [$JACK_THREAD_STACK_TOUCH],
  79. [Guaranteed size of realtime stack])
  80. if test "x$JACK_CPP_VARARGS_BROKEN" != "x"; then
  81. AC_DEFINE_UNQUOTED(JACK_CPP_VARARGS_BROKEN,
  82. [$JACK_CPP_VARARGS_BROKEN],
  83. [CPP has a broken varargs implementation])
  84. fi
  85. if test "x$JACK_USE_MACH_THREADS" != "x"; then
  86. AC_DEFINE_UNQUOTED(JACK_USE_MACH_THREADS,
  87. [$JACK_USE_MACH_THREADS],
  88. [Use MACH threads where possible])
  89. fi
  90. # headers
  91. AC_CHECK_HEADERS(string.h strings.h)
  92. AC_CHECK_HEADERS(getopt.h, [], [
  93. for d in /Developer/SDKs/MacOSX10.3.0.sdk/usr/include/ ; do
  94. AC_CHECK_HEADERS($d/getopt.h, [], [CFLAGS="$CFLAGS -I$d"])
  95. done])
  96. AC_CHECK_HEADER(/usr/include/nptl/pthread.h,
  97. [CFLAGS="$CFLAGS -I/usr/include/nptl"])
  98. # functions and libraries
  99. AC_CHECK_FUNC(getopt_long, [],
  100. AC_MSG_ERROR([*** JACK requires GNU getopt_long]))
  101. AC_CHECK_FUNC(gethostent, [], AC_CHECK_LIB(nsl, gethostent))
  102. AC_CHECK_FUNC(setsockopt, [], AC_CHECK_LIB(socket, setsockopt))
  103. AC_CHECK_FUNC(connect, [], AC_CHECK_LIB(inet, connect))
  104. AC_CHECK_FUNC(dlopen, [],
  105. AC_CHECK_LIB(dl, dlopen, [],
  106. AC_MSG_ERROR([*** JACK requires dynamic load support])))
  107. AC_CHECK_FUNC(pthread_create, [],
  108. AC_CHECK_LIB(pthread, pthread_create, [],
  109. AC_MSG_ERROR([*** JACK requires POSIX threads support])))
  110. AC_CHECK_FUNCS(on_exit atexit)
  111. AC_CHECK_FUNCS(posix_memalign)
  112. AC_CHECK_LIB(m, sin)
  113. # should we use mlockall() on this platform?
  114. if test "x$JACK_DO_NOT_MLOCK" = "x"; then
  115. AC_CHECK_HEADER(sys/mman.h,
  116. [AC_CHECK_FUNC(mlockall,
  117. [AC_DEFINE(USE_MLOCK, 1, [Use POSIX memory locking])])])
  118. fi
  119. # look for system support for POSIX shm API
  120. AC_ARG_ENABLE(posix-shm,
  121. AC_HELP_STRING([--enable-posix-shm], [use POSIX shm API]),
  122. [TRY_POSIX_SHM=$enableval])
  123. if test "x$TRY_POSIX_SHM" = "xyes"
  124. then
  125. AC_CHECK_FUNC(shm_open, [],
  126. AC_CHECK_LIB(rt, shm_open, [], [TRY_POSIX_SHM=no]))
  127. fi
  128. AC_MSG_CHECKING([shared memory support])
  129. if test "x$TRY_POSIX_SHM" = "xyes"
  130. then
  131. AC_MSG_RESULT([POSIX shm_open().])
  132. AC_DEFINE(USE_POSIX_SHM,1,[Use POSIX shared memory interface])
  133. JACK_SHM_TYPE='"POSIX"'
  134. USE_POSIX_SHM="true"
  135. else
  136. AC_MSG_RESULT([System V shmget().])
  137. JACK_SHM_TYPE='"System V"'
  138. USE_POSIX_SHM="false"
  139. fi
  140. AC_DEFINE_UNQUOTED(JACK_SHM_TYPE, [$JACK_SHM_TYPE],
  141. [JACK shared memory type])
  142. AM_CONDITIONAL(USE_POSIX_SHM, $USE_POSIX_SHM)
  143. JACK_CORE_CFLAGS="-I\$(top_builddir)/config -I\$(top_srcdir) \
  144. -I\$(top_builddir) -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g"
  145. JACK_OPT_CFLAGS="$JACK_CORE_CFLAGS -march=pentium2 -mcpu=pentium4 -O3 \
  146. -ffast-math -funroll-loops -fprefetch-loop-arrays"
  147. JACK_CFLAGS="$JACK_CORE_CFLAGS $CFLAGS"
  148. dnl
  149. dnl figure out how best to optimize
  150. dnl JOQ: this should be done via config/configure.hosts
  151. dnl
  152. dnl ----------------------------------------------------------------------
  153. if test "$target_cpu" = "powerpc"; then
  154. AC_DEFINE(POWERPC, 1, "Are we running a ppc CPU?")
  155. ############################
  156. # Check for Altivec assembly
  157. ############################
  158. AC_ARG_ENABLE(altivec,
  159. [ --enable-altivec enable Altivec support (default=auto)],,
  160. [ enable_altivec=yes ])
  161. if test "x$enable_altivec" = xyes; then
  162. AC_MSG_CHECKING(whether we can compile Altivec code)
  163. AC_COMPILE_IFELSE([asm ("vand %v0, %v0, %v0");],
  164. AC_DEFINE(USE_ALTIVEC, 1, [Define to 1 if Altivec assembly is available.])
  165. AC_DEFINE(HAVE_ALTIVEC_LINUX, 1, "Is there Altivec Support ?")
  166. ALTIVEC_OPT_FLAGS="-maltivec -mabi=altivec"
  167. AC_MSG_RESULT(yes)
  168. ,
  169. enable_altivec=no
  170. AC_MSG_RESULT(no)
  171. AC_MSG_WARN([The assembler does not support the Altivec command set.])
  172. )
  173. fi
  174. dnl -mcpu=7450 does not reliably work with gcc 3.*
  175. JACK_OPT_CFLAGS="-D_REENTRANT -O2 -mcpu=7400 $ALTIVEC_OPT_FLAGS_FLAGS -mhard-float -mpowerpc-gfxopt"
  176. elif echo $target_cpu | grep "i.86" >/dev/null; then
  177. dnl Check for MMX assembly
  178. AC_ARG_ENABLE(mmx,
  179. [ --enable-mmx enable MMX support (default=auto)],,
  180. enable_mmx=yes)
  181. AC_ARG_ENABLE(sse,
  182. [ --enable-sse enable SSE support (default=auto)],,
  183. enable_sse=$enable_mmx)
  184. if test "x$enable_mmx" = xyes; then
  185. AC_MSG_CHECKING(whether we can compile MMX code)
  186. AC_COMPILE_IFELSE([asm ("movq 0, %mm0");],
  187. AC_DEFINE(USE_MMX, 1, [Define to 1 if MMX assembly is available.])
  188. AC_MSG_RESULT(yes)
  189. MMX_FLAGS="-mmmx"
  190. if test "x$enable_sse" = xyes; then
  191. AC_MSG_CHECKING(whether we can compile SSE code)
  192. AC_COMPILE_IFELSE([asm ("movntps %xmm0, 0");],
  193. AC_DEFINE(USE_SSE, 1,
  194. [Define to 1 if SSE assembly is available.])
  195. SSE_FLAGS="-msse -mfpmath=sse"
  196. AC_MSG_RESULT(yes)
  197. ,
  198. enable_sse=no
  199. AC_MSG_RESULT(no)
  200. AC_MSG_WARN(
  201. [The assembler does not support the SSE command set.]
  202. )
  203. )
  204. fi
  205. ,
  206. enable_mmx=no
  207. AC_MSG_RESULT(no)
  208. AC_MSG_WARN([The assembler does not support the MMX command set.])
  209. )
  210. fi
  211. AC_DEFINE(x86, 1, "Nope it's intel")
  212. COMMON_X86_OPT_FLAGS="-DREENTRANT -O3 -fomit-frame-pointer -ffast-math -funroll-loops -fmove-all-movables"
  213. if test "$target_cpu" = "i586"; then
  214. JACK_OPT_CFLAGS="-march=i586 "
  215. elif test "$target_cpu" = "i686"; then
  216. JACK_OPT_CFLAGS="-march=i686"
  217. else
  218. :
  219. fi
  220. JACK_OPT_CFLAGS="$COMMON_X86_OPT_FLAGS $JACK_OPT_CFLAGS $MMX_FLAGS $SSE_FLAGS"
  221. elif test "$target_cpu" = "x86_64"; then
  222. JACK_OPT_CFLAGS="-DREENTRANT -O3 -march=k8 -fomit-frame-pointer -ffast-math -funroll-loops -fmove-all-movables"
  223. fi
  224. AC_ARG_ENABLE(optimize,
  225. AC_HELP_STRING([--enable-optimize],
  226. [ask the compiler for its best optimizations]),
  227. [ if test x$enable_optimize != xno ; then
  228. JACK_CFLAGS="$JACK_CORE_CFLAGS $JACK_OPT_CFLAGS" ;
  229. fi
  230. ]
  231. )
  232. AC_SUBST(JACK_CFLAGS)
  233. dnl
  234. dnl use JACK_CFLAGS for jackd compilation
  235. dnl
  236. CFLAGS=$JACK_CFLAGS
  237. # allow buffer resizing unless --disable-resize specified
  238. buffer_resizing=yes
  239. AC_ARG_ENABLE(resize,
  240. AC_HELP_STRING([--enable-resize], [enable buffer resizing feature]),
  241. [
  242. if test x$enable_resize = xno ; then
  243. buffer_resizing=no
  244. fi
  245. if test x$buffer_resizing != xno; then
  246. AC_DEFINE(DO_BUFFER_RESIZE,,[Enable buffer resizing])
  247. fi
  248. ]
  249. )
  250. AC_ARG_ENABLE(ensure-mlock,
  251. AC_HELP_STRING([--enable-ensure-mlock],
  252. [fail if unable to lock memory]),
  253. [
  254. if test x$enable_ensure_mlock != xno ; then
  255. AC_DEFINE(ENSURE_MLOCK,,[Ensure that memory locking succeeds])
  256. fi
  257. ]
  258. )
  259. AC_ARG_ENABLE(debug,
  260. AC_HELP_STRING([--enable-debug],
  261. [enable debugging messages in jackd and libjack]),
  262. [
  263. if test x$enable_debug != xno ; then
  264. AC_DEFINE(DEBUG_ENABLED,,[Enable debugging messages])
  265. fi
  266. ]
  267. )
  268. AC_ARG_ENABLE(timestamps,
  269. AC_HELP_STRING([--enable-timestamps],
  270. [allow clients to use the JACK timestamp API]),
  271. [
  272. if test x$enable_timestamps != xno ; then
  273. AC_DEFINE(WITH_TIMESTAMPS,,[Enable JACK timestamp API])
  274. fi
  275. ]
  276. )
  277. AC_ARG_ENABLE(preemption-check,
  278. AC_HELP_STRING([--enable-preemption-check],
  279. [check for inappropriate realtime preemption]),
  280. [
  281. if test x$enable_preemption_check != xno ; then
  282. echo checking for realtime preemption bugs
  283. AC_DEFINE(DO_PREEMPTION_CHECKING,,
  284. [check realtime preemption])
  285. fi
  286. ])
  287. USE_CAPABILITIES=false
  288. AC_ARG_ENABLE(capabilities,
  289. [ --enable-capabilities use libcap to gain realtime scheduling priviledges],
  290. [ if test "x$enable_capabilities" != "xno" ; then
  291. AC_CHECK_LIB(cap, capgetp,
  292. [AC_CHECK_HEADER(sys/capability.h,
  293. [HAVE_CAPABILITIES=true],
  294. [AC_MSG_WARN([*** no kernel support for capabilities])
  295. HAVE_CAPABILITIES=false]
  296. )],
  297. [AC_MSG_WARN([*** no libcap present])
  298. HAVE_CAPABILITIES=false]
  299. )
  300. if test "x$HAVE_CAPABILITIES" = "xtrue"; then
  301. AC_CHECK_PROG(HAVE_CAPABILITIES, md5sum, true, false)
  302. fi
  303. if test "x$HAVE_CAPABILITIES" = "xfalse"; then
  304. AC_MSG_WARN([*** required program md5sum not found])
  305. fi
  306. if test "x$HAVE_CAPABILITIES" = "xfalse"; then
  307. AC_MSG_ERROR([*** Capabilities support not present. Run configure again without --enable-capabilities.])
  308. fi
  309. USE_CAPABILITIES=true
  310. AC_DEFINE(USE_CAPABILITIES,,[Enable POSIX 1.e capabilities support])
  311. fi
  312. ]
  313. )
  314. with_oldtrans=yes
  315. AC_ARG_ENABLE(oldtrans,
  316. [ --disable-oldtrans remove old transport interfaces],
  317. [ if test "x$enable_oldtrans" = "xno" ; then
  318. with_oldtrans=no
  319. fi
  320. ]
  321. )
  322. if test "x$with_oldtrans" != "xno" ; then
  323. AC_DEFINE(OLD_TRANSPORT,,[Include old transport interfaces])
  324. fi
  325. STRIPPED_JACKD=false
  326. AC_ARG_ENABLE(stripped-jackd,
  327. [ --enable-stripped-jackd strip jack before computing its md5 sum ],
  328. [ if test "x$USE_CAPABILITIES" != "xtrue" ; then
  329. AC_MSG_WARN([*** capabilities not enabled, stripped jackd has no effect])
  330. elif test "x$enable_stripped_jackd" != "xno"; then
  331. STRIPPED_JACKD=true
  332. fi
  333. ]
  334. )
  335. # plugins go in the addon dir.
  336. AS_AC_EXPAND(ADDON_DIR,${libdir}/jack)
  337. AC_SUBST(ADDON_DIR)
  338. AC_DEFINE_UNQUOTED(ADDON_DIR,"$ADDON_DIR",[Directory for plugins])
  339. AC_ARG_WITH(html-dir,
  340. [ --with-html-dir=PATH where to install the html documentation])
  341. if test "x$with_html_dir" = "x" ; then
  342. HTML_DIR='${pkgdatadir}'
  343. else
  344. HTML_DIR=$with_html_dir
  345. fi
  346. AC_SUBST(HTML_DIR)
  347. # allow specifying default tmpdir
  348. AC_ARG_WITH(default-tmpdir,
  349. [ --with-default-tmpdir=PATH where jackd and clients will put tmp files (/tmp)])
  350. if test "x$with_default_tmpdir" = "x" ; then
  351. DEFAULT_TMP_DIR=/tmp
  352. else
  353. DEFAULT_TMP_DIR=$with_default_tmpdir
  354. fi
  355. AC_SUBST(DEFAULT_TMP_DIR)
  356. AC_DEFINE_UNQUOTED(DEFAULT_TMP_DIR,"$DEFAULT_TMP_DIR",[Default tmp directory])
  357. # Check for barrier functions in the pthreads library. The default
  358. # option setting may be OS-dependent, otherwise it's "yes".
  359. test "x$USE_BARRIER" = "x" && USE_BARRIER="yes"
  360. AC_ARG_WITH(barrier,
  361. AC_HELP_STRING([--without-barrier],
  362. [avoid using pthread barrier functions]),
  363. [ USE_BARRIER=$withval ])
  364. if test "x$USE_BARRIER" = "xyes"; then
  365. AC_CHECK_LIB([pthread], [pthread_barrier_init],
  366. AC_DEFINE(USE_BARRIER, 1, [Use pthread barrier functions]))
  367. fi
  368. # Check which drivers can be built. The last one successfully
  369. # configured becomes the default JACK driver; so the order of
  370. # precedence is: alsa, oss, coreaudio, portaudio, dummy.
  371. JACK_DEFAULT_DRIVER=\"dummy\"
  372. AC_ARG_ENABLE(portaudio, [ --disable-portaudio ignore PortAudio driver ],
  373. TRY_PORTAUDIO=$enableval , TRY_PORTAUDIO=yes )
  374. HAVE_PA="false"
  375. if test "x$TRY_PORTAUDIO" = "xyes"
  376. then
  377. # check for portaudio V18
  378. AC_CHECK_LIB(portaudio, Pa_Initialize,
  379. [ AC_CHECK_HEADERS(portaudio.h,
  380. [ HAVE_PA="true"
  381. PA_LIBS=-lportaudio
  382. JACK_DEFAULT_DRIVER=\"portaudio\"
  383. ])
  384. ])
  385. AC_SUBST(PA_LIBS)
  386. fi
  387. AM_CONDITIONAL(HAVE_PA, $HAVE_PA)
  388. AC_ARG_ENABLE(coreaudio, [ --disable-coreaudio ignore CoreAudio driver ],
  389. TRY_COREAUDIO=$enableval , TRY_COREAUDIO=yes )
  390. HAVE_COREAUDIO="false"
  391. if test "x$TRY_COREAUDIO" = "xyes"
  392. then
  393. # check for coreaudio
  394. AC_CHECK_HEADERS(CoreAudio/CoreAudio.h,
  395. [ HAVE_COREAUDIO="true"
  396. JACK_DEFAULT_DRIVER=\"coreaudio\"
  397. ])
  398. fi
  399. AM_CONDITIONAL(HAVE_COREAUDIO, $HAVE_COREAUDIO)
  400. AC_ARG_ENABLE(oss, [ --disable-oss ignore OSS driver ],
  401. TRY_OSS=$enableval , TRY_OSS=yes )
  402. HAVE_OSS="false"
  403. if test "x$TRY_OSS" = "xyes"
  404. then
  405. # check for Open Sound System
  406. AC_CHECK_HEADER([sys/soundcard.h],
  407. [HAVE_OSS="true"
  408. JACK_DEFAULT_DRIVER=\"oss\"])
  409. fi
  410. AM_CONDITIONAL(HAVE_OSS, $HAVE_OSS)
  411. AC_ARG_ENABLE(alsa, [ --disable-alsa ignore ALSA driver ],
  412. TRY_ALSA=$enableval , TRY_ALSA=yes )
  413. HAVE_ALSA="false"
  414. if test "x$TRY_ALSA" = "xyes"
  415. then
  416. # check for ALSA >= 1.0.0
  417. PKG_CHECK_MODULES(alsa, alsa >= 1.0.0,
  418. [HAVE_ALSA="true"
  419. ALSA_LIBS=-lasound
  420. JACK_DEFAULT_DRIVER=\"alsa\"
  421. ], [], [-lm]
  422. )
  423. AC_SUBST(ALSA_LIBS)
  424. fi
  425. AM_CONDITIONAL(HAVE_ALSA, $HAVE_ALSA)
  426. if test "$JACK_DEFAULT_DRIVER" = \"dummy\"; then
  427. AC_MSG_WARN([Only the dummy driver can be built])
  428. fi
  429. AC_DEFINE_UNQUOTED(JACK_DEFAULT_DRIVER,
  430. [$JACK_DEFAULT_DRIVER],
  431. [Default JACK driver])
  432. # some example-clients need libsndfile
  433. HAVE_SNDFILE=false
  434. PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.0,[HAVE_SNDFILE=true], [true])
  435. if test x$HAVE_SNDFILE = xfalse; then
  436. AC_MSG_WARN([*** the jackrec example client will not be built])
  437. fi
  438. # On some systems, readline depends on termcap or ncurses. But, the
  439. # MacOSX linker complains bitterly if these libraries are explicitly
  440. # referenced.
  441. #
  442. # AC_CHECK_LIB() foolishly assumes that checking a library for an entry
  443. # point always returns the same result regardless of any dependent
  444. # libraries specified. The `unset ac_cv_lib_readline_readline' erases
  445. # the cached result to work around this problem.
  446. READLINE_DEPS=""
  447. HAVE_READLINE=true
  448. AC_CHECK_LIB(readline, readline, [:],
  449. [unset ac_cv_lib_readline_readline
  450. AC_CHECK_LIB(readline, readline, [READLINE_DEPS="-ltermcap"],
  451. [unset ac_cv_lib_readline_readline
  452. AC_CHECK_LIB(readline, readline,
  453. [READLINE_DEPS="-lncurses"], [HAVE_READLINE=false], "-lncurses")],
  454. "-ltermcap")])
  455. if test x$HAVE_READLINE = xfalse; then
  456. AC_MSG_WARN([*** the jack_transport example client will not be built])
  457. fi
  458. AC_SUBST(READLINE_DEPS)
  459. # you need doxygen to make dist.
  460. AC_CHECK_PROG(HAVE_DOXYGEN, doxygen, true, false)
  461. if test $HAVE_DOXYGEN = "false"; then
  462. AC_MSG_WARN([*** doxygen not found, docs will not be built])
  463. fi
  464. AM_CONDITIONAL(HAVE_SNDFILE, $HAVE_SNDFILE)
  465. AM_CONDITIONAL(HAVE_READLINE, $HAVE_READLINE)
  466. AM_CONDITIONAL(HAVE_DOXYGEN, $HAVE_DOXYGEN)
  467. AM_CONDITIONAL(USE_CAPABILITIES, $USE_CAPABILITIES)
  468. AM_CONDITIONAL(STRIPPED_JACKD, $STRIPPED_JACKD)
  469. AC_OUTPUT(
  470. Makefile
  471. config/Makefile
  472. config/sysdeps/Makefile
  473. doc/Makefile
  474. doc/reference.doxygen
  475. drivers/Makefile
  476. drivers/alsa/Makefile
  477. drivers/dummy/Makefile
  478. drivers/oss/Makefile
  479. drivers/portaudio/Makefile
  480. drivers/coreaudio/Makefile
  481. example-clients/Makefile
  482. jack.pc
  483. jack.spec
  484. jack/Makefile
  485. jack/version.h
  486. jackd/Makefile
  487. jackd/jackd.1
  488. libjack/Makefile
  489. )
  490. dnl
  491. dnl Output summary message
  492. dnl
  493. echo
  494. echo $PACKAGE $VERSION :
  495. echo
  496. echo \| Build with ALSA support............................... : $HAVE_ALSA
  497. echo \| Build with OSS support................................ : $HAVE_OSS
  498. echo \| Build with CoreAudio support.......................... : $HAVE_COREAUDIO
  499. echo \| Build with PortAudio support.......................... : $HAVE_PA
  500. echo \|
  501. echo \| Default driver backend................................ : $JACK_DEFAULT_DRIVER
  502. echo \| Shared memory interface............................... : $JACK_SHM_TYPE
  503. echo