Ticket #51863: patch-configure.diff

File patch-configure.diff, 1.1 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)
     
    294291  if [ ! -f 'nanopass/nanopass.ss' ] ; then
    295292    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
    296293  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
    305294fi
    306295
    307296./workarea $m $w
     
    336325END
    337326
    338327cat > $w/c/Mf-config << END
     328CC=$CC
    339329CPPFLAGS=$CPPFLAGS
    340330CFLAGS=$CFLAGS
    341331LDFLAGS=$LDFLAGS