summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/configure.ac
diff options
context:
space:
mode:
authorgreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>2005-12-01 19:33:42 +0000
committergreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>2005-12-01 19:33:42 +0000
commit52aaa1bf75198c635b4c34b212cbcf7cd9e4c81d (patch)
tree0c6b3edcb7e84f7f20cfd6f32a31e06acf7aba31 /libjava/classpath/configure.ac
parentf9c71cdf0be65712f9815f808d2d3d4bb82fad52 (diff)
downloadppe42-gcc-52aaa1bf75198c635b4c34b212cbcf7cd9e4c81d.tar.gz
ppe42-gcc-52aaa1bf75198c635b4c34b212cbcf7cd9e4c81d.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107828 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/configure.ac')
-rw-r--r--libjava/classpath/configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/libjava/classpath/configure.ac b/libjava/classpath/configure.ac
index d13526b5b9b..c7eacca087e 100644
--- a/libjava/classpath/configure.ac
+++ b/libjava/classpath/configure.ac
@@ -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 -----------------------------------------------------------
OpenPOWER on IntegriCloud