Changeset 3398 in Sophya for trunk/SophyaLib/BuildMgr


Ignore:
Timestamp:
Nov 23, 2007, 4:38:02 PM (18 years ago)
Author:
ansari
Message:

Suite/debug modif configure pour gestion /usr/X11R6/lib en lib64 pour Linux 64 bits, Reza 23/11/2007

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/BuildMgr/configure

    r3397 r3398  
    170170end
    171171
    172 ------ Detection linux 64 bits ---
     172## ------ Detection linux 64 bits ---
    173173unset linux64
    174 if ( "$sname" == "Linux" ) then
     174if ( `uname` == "Linux" ) then
    175175  if ( `uname -m` == "x86_64" ) then
    176176    echo ' ... Linux x86_64 (64 bits) ---> -arch64 '
     
    439439set sname = `uname`
    440440set sprgfile = $TMPDIR/compop.scom 
     441echo '{' > $sprgfile
    441442set scmd = "/FLAGS/s/CNFPHFLF/ $compopt/g"
    442443if ( $?arch64 ) then
     
    449450  set scmd = "/FLAGS/s/CNFPHFLF/$a64cf $compopt/g"
    450451endif
    451 echo $scmd > $sprgfile
     452echo $scmd >> $sprgfile
    452453if ( $?nofpic ) echo "s/-fPIC/ /g" >>  $sprgfile
    453454if( $?slballinone ) then
     
    456457endif
    457458if ( $?linux64 ) then
    458   echo "?s?-L/usr/X11R6/lib?-L/usr/X11R6/lib64/?g" >>  $sprgfile
    459 endif
    460 set scmd = "sed -f $sprgfile"
     459  echo "s?-L/usr/X11R6/lib?-L/usr/X11R6/lib64?g" >>  $sprgfile
     460endif
     461echo '}' >> $sprgfile
    461462set mftmp = $TMPDIR/sopmake.inc
    462463cp $mfile $mftmp
Note: See TracChangeset for help on using the changeset viewer.