[haiku-commits] r36363 - haiku/trunk

  • From: mattmadia@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 20 Apr 2010 04:36:56 +0200 (CEST)

Author: mmadia
Date: 2010-04-20 04:36:56 +0200 (Tue, 20 Apr 2010)
New Revision: 36363
Changeset: http://dev.haiku-os.org/changeset/36363/haiku

Modified:
   haiku/trunk/configure
Log:
Reworks 36361 to not assume that greadlink is installed.


Modified: haiku/trunk/configure
===================================================================
--- haiku/trunk/configure       2010-04-20 02:18:54 UTC (rev 36362)
+++ haiku/trunk/configure       2010-04-20 02:36:56 UTC (rev 36363)
@@ -144,7 +144,11 @@
 #
 standard_gcc_settings()
 {
-       greadlink --help >/dev/null 2>&1 && readlink=greadlink || 
readlink=readlink
+       if [ `which greadlink` ]; then
+               readlink=greadlink
+       else
+               readlink=readlink
+       fi
        # PLATFORM_LINKLIBS
        gcclib=`$HAIKU_CC -print-libgcc-file-name`
        gccdir=`dirname ${gcclib}`


Other related posts: