Changeset 19575

Show
Ignore:
Timestamp:
25.05.2009 12:22:12 (10 years ago)
Author:
kjdon
Message:

before untaring expat and sqlite, check whether the resulting directory exists or not. In a source code release, these come pre unpacked, and the targz files are not there.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/common-src/packages/configure

    r18023 r19575  
    124124echo "" 
    125125cd "$PACKAGES/expat" 
     126if test ! -d expat-1.95.8 ; 
     127then 
    126128gzip -dc expat-1.95.8.tar.gz | tar -xf - 
     129fi 
    127130 
    128131echo CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --disable-shared --with-pic --prefix=$PACKAGES/expat --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT 
     
    151154  echo "" 
    152155  cd "$PACKAGES/sqlite" 
    153   gzip -dc sqlite-amalgamation-3.5.9.tar.gz | tar -xf - 
     156  if test ! -d sqlite-amalgamation-3.5.9 ; 
     157  then 
     158    gzip -dc sqlite-amalgamation-3.5.9.tar.gz | tar -xf - 
     159  fi 
    154160  cd sqlite-amalgamation-3.5.9 && \ 
    155161    ./configure $CACHE_FILE --prefix="$PACKAGES/sqlite" --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT