Browse Source

Don't symlink os.h to OS.h on case-insensitive file systems.

git-svn-id: file:///var/svn/tigccpp/trunk@575 9552661e-59e3-4036-b4f2-dbe53926924f
kevinkofler 18 years ago
parent
commit
fc5c989921
2 changed files with 7 additions and 3 deletions
  1. 3 2
      tigcc-linux/CHANGELOG
  2. 4 1
      tigcc-linux/scripts/Install_step_3

+ 3 - 2
tigcc-linux/CHANGELOG

@@ -1,10 +1,11 @@
 Changelog for TIGCC For Linux
 
-- 2006-03-22, CVS HEAD (Kevin Kofler)
+- 2006-06-21, CVS HEAD (Kevin Kofler)
         * Updated import scripts to use a separate CVS checkout.
         * Removed empty "ide" directory, KTIGCC will be distributed separately.
         * TIGCC/*nix is now in CVS too.
-        * Fixed compilation on BSD (use GNU make) (patch by Joachim Jona).
+        * Fixed compilation on BSD (use GNU make) (patch by Jona Joachim).
+        * Don't symlink os.h to OS.h on case-insensitive file systems.
 
 - 2005-10-02, version 0.96 beta 6 r1 (Kevin Kofler)
         * Synced Win32 TIGCC 0.96 Beta 6 source tree.

+ 4 - 1
tigcc-linux/scripts/Install_step_3

@@ -7,7 +7,10 @@
 echo TIGCC script: Installing TIGCCLIB...
 rm -Rf $TIGCC/include
 cp -Rf ../tigcclib/include  $TIGCC
-ln -sf $TIGCC/include/asm/os.h $TIGCC/include/asm/OS.h
+# only symlink if the file system is case sensitive
+if [ ! -f $TIGCC/include/asm/OS.h ]
+then ln -sf $TIGCC/include/asm/os.h $TIGCC/include/asm/OS.h
+fi
 rm -Rf $TIGCC/lib
 cp -Rf ../tigcclib/lib $TIGCC
 rm -Rf $TIGCC/examples