[Expat-checkins] CVS: expat configure.in,1.10,1.11
Fred L. Drake
fdrake@users.sourceforge.net
Wed, 28 Feb 2001 19:47:14 -0800
Update of /cvsroot/expat/expat
In directory usw-pr-cvs1:/tmp/cvs-serv12209
Modified Files:
configure.in
Log Message:
Sam TH:
Only configure makefiles in child directories that exist.
[...and added explanation as to why this is useful -- FLD.]
This closes SF tracker patch #403585.
Index: configure.in
===================================================================
RCS file: /cvsroot/expat/expat/configure.in,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** configure.in 2001/01/24 19:42:05 1.10
--- configure.in 2001/03/01 03:47:12 1.11
***************
*** 81,90 ****
AC_SUBST(FILEMAP_OBJ)
if test -z "$HAVE_MMAP"; then
! FILEMAP_OBJ=unixfilemap.o
else
! FILEMAP_OBJ=readfilemap.o
fi
AC_CHECK_FUNCS(memmove bcopy)
! AC_OUTPUT(Makefile lib/Makefile lib/expat.h xmlwf/Makefile examples/Makefile)
--- 81,105 ----
AC_SUBST(FILEMAP_OBJ)
if test -z "$HAVE_MMAP"; then
! FILEMAP_OBJ=unixfilemap.o
else
! FILEMAP_OBJ=readfilemap.o
fi
AC_CHECK_FUNCS(memmove bcopy)
! dnl Generate makefiles only for the directories that are present;
! dnl this allows this (and the generated configure script) to work
! dnl in "embedded distributions", where only part of the Expat sources
! dnl are included in the sources for another project.
!
! OUTPUT="Makefile lib/Makefile lib/expat.h"
! if test -d xmlwf; then
! OUTPUT="$OUTPUT xmlwf/Makefile"
! fi
! if test -d sample; then
! OUTPUT="$OUTPUT sample/Makefile"
! fi
! if test -d examples; then
! OUTPUT="$OUTPUT examples/Makefile"
! fi
! AC_OUTPUT($OUTPUT)