Ticket #51863: patch-configure.2.diff

File patch-configure.2.diff, 1.2 KB (added by mohd-akram (Mohamed Akram), 8 years ago)
  • configure

    old new  
    3737installschemename="scheme"
    3838installpetitename="petite"
    3939installscriptname="scheme-script"
    40 CPPFLAGS=""
    41 CFLAGS=""
    42 LDFLAGS=""
    4340
    4441case `uname` in
    4542  Linux)
     
    290287
    291288if [ -d '.git' ] ; then
    292289  git submodule init && git submodule update || exit 1
    293 else
    294   if [ ! -f 'nanopass/nanopass.ss' ] ; then
    295     rmdir nanopass && (curl  -L -o v1.9.tar.gz https://github.com/nanopass/nanopass-framework-scheme/archive/v1.9.tar.gz && tar -zxf v1.9.tar.gz && mv nanopass-framework-scheme-1.9 nanopass && rm v1.9.tar.gz) || exit 1
    296   fi
    297 
    298   if [ ! -f 'zlib/configure' ] ; then
    299     rmdir zlib && (curl -L -o v1.2.8.tar.gz https://github.com/madler/zlib/archive/v1.2.8.tar.gz && tar -xzf v1.2.8.tar.gz && mv zlib-1.2.8 zlib && rm v1.2.8.tar.gz) || exit 1
    300   fi
    301 
    302   if [ ! -f 'stex/Mf-stex' ] ; then
    303     rmdir stex && (curl -L -o v1.2.1.tar.gz https://github.com/dybvig/stex/archive/v1.2.1.tar.gz && tar -zxf v1.2.1.tar.gz && mv stex-1.2.1 stex && rm v1.2.1.tar.gz) || exit 1
    304   fi
    305290fi
    306291
    307292./workarea $m $w
     
    336321END
    337322
    338323cat > $w/c/Mf-config << END
     324CC=$CC
    339325CPPFLAGS=$CPPFLAGS
    340326CFLAGS=$CFLAGS
    341327LDFLAGS=$LDFLAGS