Fresco configure.ac,1.26,1.27

Tobias Hunger <[email protected]> Wed, 14 May 2003 18:18:24 -0500
Newsgroups gmane.comp.video.fresco.cvs
Message-ID <[email protected]>
Update of /cvs/fresco/Fresco
In directory purcel:/tmp/cvs-serv22841

Modified Files:
	configure.ac 
Log Message:
Remove subpackage's Makefile if that subpackage was configured before and
that packages src-tree got deleted or it is explicitly excluded during
configure.


Index: configure.ac
===================================================================
RCS file: /cvs/fresco/Fresco/configure.ac,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- configure.ac	14 May 2003 22:42:09 -0000	1.26
+++ configure.ac	14 May 2003 23:18:18 -0000	1.27
@@ -71,24 +71,38 @@
 fi
 if test -d $srcdir/GGI -a ".$config_ggi" = ".yes"; then
   AC_CONFIG_SUBDIRS(GGI)
+else
+  test -d GGI && rm -f GGI/Makefile
 fi
 if test -d $srcdir/SDL -a ".$config_sdl" = ".yes"; then
   AC_CONFIG_SUBDIRS(SDL)
+else
+  test -d SDL && rm -rf SDL/Makefile
 fi
 if test -d $srcdir/Fresco-Python -a ".$config_python_runtime" = ".yes"; then
   AC_CONFIG_SUBDIRS(Fresco-Python)
+else
+  test -d Fresco-Python && rm -f Fresco-Python/Makefile
 fi
 if test -d $srcdir/Fresco-Java -a ".$config_java_runtime" = ".yes"; then
   AC_CONFIG_SUBDIRS(Fresco-Java)
+else
+  test -d Fresco-Java && rm -f Fresco-Java/Makefile
 fi
 if test -d $srcdir/Fresco-Perl -a ".$config_perl_runtime" = ".yes"; then
   AC_CONFIG_SUBDIRS(Fresco-Perl)
+else
+  test -d Fresco-Perl && rm -f Fresco-Perl/Makefile
 fi
 if test -d $srcdir/Fresco-C++-demos -a ".$config_cxx_demos" = ".yes"; then
   AC_CONFIG_SUBDIRS(Fresco-C++-demos)
+else
+  test -d Fresco-C++-demos && rm -f Fresco-C++-demos/Makefile
 fi
 if test -d $srcdir/Fresco-Python-demos -a ".$config_python_demos" = ".yes"; then
   AC_CONFIG_SUBDIRS(Fresco-Python-demos)
+else
+  test -d Fresco-Python-demos && rm -f Fresco-Python-demos/Makefile
 fi
 if test -d $srcdir/Documentation; then
   AC_CONFIG_SUBDIRS(Documentation)