Index: Makefile.in =================================================================== --- Makefile.in (revision 248140) +++ Makefile.in (working copy) @@ -61,7 +61,7 @@ PICFLAG = @PICFLAG@ GNATLIBFLAGS= -W -Wall -gnatpg -nostdinc GNATLIBCFLAGS= -g -O2 GNATLIBCFLAGS_FOR_C = -W -Wall $(GNATLIBCFLAGS) $(CFLAGS_FOR_TARGET) \ - -fexceptions -DIN_RTS @have_getipinfo@ + -fexceptions -DIN_RTS @have_getipinfo@ @have_capability@ host_subdir = @host_subdir@ GCC_DIR=$(MULTIBUILDTOP)../../$(host_subdir)/gcc Index: configure.ac =================================================================== --- configure.ac (revision 248140) +++ configure.ac (working copy) @@ -144,6 +144,10 @@ if test x$have_unwind_getipinfo = xyes; fi AC_SUBST(have_getipinfo) +# Check for +AC_CHECK_HEADER([sys/capability.h], have_capability=-DHAVE_CAPABILITY, have_capability=) +AC_SUBST(have_capability) + # Determine what GCC version number to use in filesystem paths. GCC_BASE_VER