Commit f860c253 by Anthony Green Committed by Anthony Green

re PR bootstrap/25207 (bootstrap fails on libjava if alsa headers present but no -lasound.)

2005-12-01  Anthony Green  <green@redhat.com>

	PR bootstrap/25207
	* configure.ac: Make sure we have an alsa library in addition to
	the headers.  This extra test is required for systems with
	multilibs.
	* configure: Rebuilt.

From-SVN: r107828
parent b71b8086
2005-12-01 Anthony Green <green@redhat.com>
PR bootstrap/25207
* configure.ac: Make sure we have an alsa library in addition to
the headers. This extra test is required for systems with
multilibs.
* configure: Rebuilt.
2005-10-03 Tom Tromey <tromey@redhat.com>
* native/jawt/Makefile.in: Rebuilt.
......
......@@ -112,7 +112,9 @@ AC_ARG_ENABLE([alsa],
no) COMPILE_ALSA=no ;;
*) COMPILE_ALSA=yes ;;
esac],
[AC_CHECK_HEADERS([alsa/asoundlib.h],COMPILE_ALSA=yes,COMPILE_ALSA=no)])
[AC_CHECK_HEADERS([alsa/asoundlib.h],
[AC_CHECK_LIB([asound], [snd_seq_open], COMPILE_ALSA=yes,COMPILE_ALSA=no)],
COMPILE_ALSA=no)])
AM_CONDITIONAL(CREATE_ALSA_LIBRARIES, test "x${COMPILE_ALSA}" = xyes)
dnl -----------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment