change configure to delete include/IV-3_1/InterViews before making symbolic link

[email protected] Tue, 24 Feb 2004 10:16:11 -0800
Newsgroups gmane.comp.lib.ivtools.patches
Message-ID <[email protected]>
Patch:    ivtools-040224-johnston-012
For:      ivtools-1.1.3
Author:   [email protected]
Subject:  change configure to delete include/IV-3_1/InterViews before 
making symbolic link
Requires:

This is an intermediate patch to ivtools-1.1.3.  To apply, cd to the
top-level directory of the ivtools source tree (the directory with src
and config subdirs), and apply like this:

	patch -p0 <ThisFile

Summary of Changes:

- change configure to delete include/IV-3_1/InterViews before making 
symbolic link

Index: top_ivtools/configure
diff -c top_ivtools/configure:1.2 top_ivtools/configure:1.3
*** top_ivtools/configure:1.2	Tue Feb 10 11:40:58 2004
--- ./configure	Tue Feb 24 10:09:51 2004
***************
*** 4847,4858 ****
   echo

   #make symbolic links if they do not exist
! if test ! -d src/include/IV-3_1/InterViews ; then
! 	echo "establishing symbolic link for src/include/IV-3_1/InterViews"
! 	cd src/include/IV-3_1;
! 	ln -s ../InterViews;
! 	cd ../../..;
! fi

   if test ! -f src/IV-common/listimpl.c ; then
   	echo "establishing symbolic links for src/IV-common"
--- 4847,4857 ----
   echo

   #make symbolic links if they do not exist
! echo "establishing symbolic link for src/include/IV-3_1/InterViews"
! cd src/include/IV-3_1;
! rm -rf InterViews;
! ln -s ../InterViews;
! cd ../../..;

   if test ! -f src/IV-common/listimpl.c ; then
   	echo "establishing symbolic links for src/IV-common"
Index: top_ivtools/configure.in
diff -c top_ivtools/configure.in:1.2 top_ivtools/configure.in:1.3
*** top_ivtools/configure.in:1.2	Tue Feb 10 11:40:58 2004
--- ./configure.in	Tue Feb 24 10:09:51 2004
***************
*** 394,405 ****
   echo

   #make symbolic links if they do not exist
! if test ! -d src/include/IV-3_1/InterViews ; then
! 	echo "establishing symbolic link for src/include/IV-3_1/InterViews"
! 	cd src/include/IV-3_1;
! 	ln -s ../InterViews;
! 	cd ../../..;	
! fi

   if test ! -f src/IV-common/listimpl.c ; then
   	echo "establishing symbolic links for src/IV-common"
--- 394,404 ----
   echo

   #make symbolic links if they do not exist
! echo "establishing symbolic link for src/include/IV-3_1/InterViews"
! cd src/include/IV-3_1;
! rm -rf InterViews;
! ln -s ../InterViews;
! cd ../../..;	

   if test ! -f src/IV-common/listimpl.c ; then
   	echo "establishing symbolic links for src/IV-common"
*** /dev/null	 Tue Feb 24 10:10:24 PST 2004
--- patches/ivtools-040224-johnston-012
*************** patches/ivtools-040224-johnston-012
*** 0 ****
--- 1 ----
+ ivtools-040224-johnston-012



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click