Changeset 21443

Show
Ignore:
Timestamp:
11.01.2010 23:24:18 (9 years ago)
Author:
davidb
Message:

More careful check for when force configure is needed

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs2-extensions/gsdl-video/trunk/cascade-make/lib/cascade-lib.bash

    r20974 r21443  
    161161distclean=0 
    162162tarclean=0 
    163 installclean=0 
    164163 
    165164if [ $# -gt 0 ] ; then 
    166165  for cmd in $* ; do 
    167166    echo $cmd 
    168     if   [ $cmd = "untar" ] ;        then force_untar=1 
    169     elif [ $cmd = "configure" ] ;    then force_config=1 
    170     elif [ $cmd = "compile" ]   ;    then compile=1 
    171     elif [ $cmd = "install" ]   ;    then install=1   
    172     elif [ $cmd = "clean" ]     ;    then clean=1   
    173     elif [ $cmd = "distclean" ] ;    then distclean=1 
    174     elif [ $cmd = "tarclean" ] ;     then tarclean=1 
    175     elif [ $cmd = "installclean" ] ; then installclean=1 
     167    if   [ $cmd = "untar" ] ;     then force_untar=1 
     168    elif [ $cmd = "configure" ] ; then force_config=1 
     169    elif [ $cmd = "compile" ]   ; then compile=1 
     170    elif [ $cmd = "install" ]   ; then install=1   
     171    elif [ $cmd = "clean" ]     ; then clean=1   
     172    elif [ $cmd = "distclean" ] ; then distclean=1 
     173    elif [ $cmd = "tarclean" ] ;  then tarclean=1 
    176174    fi 
    177175  done 
     
    185183  distclean=0 
    186184  tarclean=0 
    187   installclean=0 
    188185fi 
    189186 
    190187if [ $auto_config = "1" ] ; then 
    191   if [ ! -e $package$version/Makefile ] ; then 
     188  if [ ! -e $package$version/Makefile ] &&  [ ! -e $package$version/config.h ] ; then 
    192189    force_config=1 
    193190  fi 
     191 
    194192fi 
    195193