Patch: FYI: PR 30647

Tom Tromey tromey@redhat.com
Fri Feb 9 20:53:00 GMT 2007


I'm checking this in to gcc svn and classpath.

This fixes a configury bug.  Apparently it is possible to have a
system that has dssi.h but not jack/jack.h.  This updates configure to
check for both.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	PR libgcj/30647:
	* configure: Rebuilt.
	* configure.ac: Also check for jack/jack.h.

Index: configure.ac
===================================================================
--- configure.ac	(revision 121774)
+++ configure.ac	(working copy)
@@ -191,7 +191,9 @@
                 no) COMPILE_DSSI=no ;;
                 *) COMPILE_DSSI=yes ;;
               esac],
-              [AC_CHECK_HEADERS([dssi.h],COMPILE_DSSI=yes,COMPILE_DSSI=no)])
+              [COMPILE_DSSI=no
+	       AC_CHECK_HEADERS([dssi.h], [
+	         AC_CHECK_HEADERS([jack/jack.h],COMPILE_DSSI=yes)])])
 AM_CONDITIONAL(CREATE_DSSI_LIBRARIES, test "x${COMPILE_DSSI}" = xyes)
 
 dnl -----------------------------------------------------------



More information about the Java-patches mailing list