Changeset 3224 in Sophya for trunk/SophyaLib/BuildMgr/configure


Ignore:
Timestamp:
Apr 12, 2007, 11:06:59 PM (18 years ago)
Author:
ansari
Message:

Corrections dans configure (gestion flag -arch64) + nettoyage IRIX64.inc , Reza 12/04/2007

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/BuildMgr/configure

    r3223 r3224  
    415415
    416416# --- Gestion des flags modifiants les options de compilation et liste de librairies (par sed)
     417set sname = `uname`
    417418set sprgfile = $TMPDIR/compop.scom 
    418419set scmd = "/FLAGS/s/CNFPHFLF/ $compopt/g"
    419 if ($?arch64) then
     420if ( $?arch64 ) then
    420421  set a64cf = ' '
    421   if ( "$sname" == "IRIX64" ) &&  ("$SOPHYACXX" == "CC" ) set a64cf = '-64'
    422   if ( "$sname" == "AIX" ) && ( ("$SOPHYACXX" == "xlC" ) || ("$SOPHYACXX" == "xlc" ) )
    423     set a64cf = '-q64'
     422  if ( ( "$sname" == "IRIX64" ) && ("$SOPHYACXX" == "CC" ) ) set a64cf = '-64'
     423  if ( ( "$sname" == "AIX" ) && ( ("$SOPHYACXX" == "xlC" ) || ("$SOPHYACXX" == "xlc" ) ) )    set a64cf = '-q64'
    424424  set scmd = "/FLAGS/s/CNFPHFLF/$a64cf $compopt/g"
    425425endif
     
    452452echo "/*------ Code generation switch ---- */" >> $mdefname
    453453echo "/*   System selector (uname) */" >> $mdefname
    454 set sname = `uname`
     454# Fait avant - set sname = `uname`
    455455echo "#ifndef $sname" >> $mdefname
    456456echo "#define $sname 1 "  >> $mdefname
Note: See TracChangeset for help on using the changeset viewer.