[cig-commits] r19243 - seismo/3D/SPECFEM3D_GLOBE/trunk

dkomati1 at geodynamics.org dkomati1 at geodynamics.org
Thu Nov 24 14:24:32 PST 2011


Author: dkomati1
Date: 2011-11-24 14:24:31 -0800 (Thu, 24 Nov 2011)
New Revision: 19243

Modified:
   seismo/3D/SPECFEM3D_GLOBE/trunk/flags.guess
Log:
added default values for AR and RANLIB


Modified: seismo/3D/SPECFEM3D_GLOBE/trunk/flags.guess
===================================================================
--- seismo/3D/SPECFEM3D_GLOBE/trunk/flags.guess	2011-11-23 14:58:25 UTC (rev 19242)
+++ seismo/3D/SPECFEM3D_GLOBE/trunk/flags.guess	2011-11-24 22:24:31 UTC (rev 19243)
@@ -224,12 +224,12 @@
 echo FLAGS_NO_CHECK=\"$FLAGS_NO_CHECK\" | sed 's/\$/\\\$/g'
 echo FCENV=\"$FCENV\" | sed 's/\$/\\\$/g'
 
-# added by DK to make the IDRIS modifications below work
-AR="ar"
-RANLIB="ranlib"
-ARFLAGS="cru"
+# Added by IDRIS: set to default values if not passed as arguments
+if [ "X${AR}" == "X" ]; then AR="ar"; fi
+if [ "X${RANLIB}" == "X" ]; then RANLIB="ranlib"; fi
+if [ "X${ARFLAGS}" == "X" ]; then ARFLAGS="cru"; fi
 
-# Added by IDRIS to crosscompile on BlueGene/P.
+# Added by IDRIS to crosscompile on BlueGene/P
 echo AR=\"$AR\" | sed 's/\$/\\\$/g'
 echo ARFLAGS=\"$ARFLAGS\" | sed 's/\$/\\\$/g'
 echo RANLIB=\"$RANLIB\" | sed 's/\$/\\\$/g'



More information about the CIG-COMMITS mailing list