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


Ignore:
Timestamp:
May 20, 2005, 9:28:55 AM (20 years ago)
Author:
cmv
Message:

suite nouvelle structure cmv 20/05/05

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/BuildMgr/configure

    r2726 r2739  
    3434  echo 'configure [-sbase SOPHYABASE] [-scxx SOPHYACXX] [-incln] [-minc mymake.inc] '
    3535  echo '  [-extp dir1 -extp dir2 ...] [-extip dir1 -extip dir2 ... ] [-extlp dir1 -extlp dir2 ... ]'
    36   echo '  [-noext fits -noext fftw -noext lapack -noext astro -noext minuit]'
     36  echo '  [-noextlib -noext fits -noext fftw -noext lapack -noext astro -noext minuit]'
    3737  exit -1
    3838endif
     
    6363  set extpathlib = ( $extpathlib $2 )
    6464  shift
     65endif
     66if( "$1" == "-noextlib" ) then
     67  set i = 0
     68  while ( $i < $#SOPEXTOK )
     69    @ i += 1
     70    set SOPEXTOK[$i] = 0
     71  end 
    6572endif
    6673if( "$1" == "-noext" ) then
     
    172179        set file
    173180        foreach f ( *.h )
    174           grep "$f" excludeinc > /dev/null
     181          grep -q "$f:r\.h" excludeinc
    175182          if( $status != 0 ) set file = ( $file $f )
    176183        end
     
    350357echo " 7.b/ Creating $objlistname "
    351358rm -f $objlistname ; touch $objlistname
    352 foreach d ( $SOPEXT )
    353   if ( -d ../$d ) then
    354     cat ../$d/objlist.list >> $objlistname
    355   endif
    356 end
     359set i = 0
     360while ( $i < $#SOPEXT )
     361  @ i += 1
     362  if( $SOPEXTOK[$i] <= 0 ) continue
     363  set d = $SOPEXT[$i]
     364  if ( ! -d ../$d ) continue
     365  cat ../$d/objlist.list >> $objlistname
     366end 
    357367
    358368set objlistname = $sconf/libPI.objlist
Note: See TracChangeset for help on using the changeset viewer.