mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
ce296ec7fc
check whether ${CPP} accepts the -o option. * win32/Makefile.sub (OUTFLAG, CPPOUTFILE): ditto. * bcc32/Makefile.sub (OUTFLAG, CPPOUTFILE): ditto. * djgpp/config.sed (OUTFLAG, CPPOUTFILE): ditto. * lib/mkmf.rb (OUTFLAG, CPPOUTFILE): use CONFIG. make easy to understand log. * mkconfig.rb (val): should not strip. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
83 lines
1.9 KiB
Sed
83 lines
1.9 KiB
Sed
/^SHELL/s,/bin/sh,$(COMSPEC),
|
|
s%@srcdir@%.%g
|
|
s%@top_srcdir@%..%
|
|
s%@CFLAGS@%-O2%g
|
|
s%@CPPFLAGS@%%g
|
|
s%@CXXFLAGS@%%g
|
|
s%@LDFLAGS@%%g
|
|
s%@LIBS@%-lm %g
|
|
s%@exec_prefix@%${prefix}%g
|
|
s%@prefix@%/usr/local%g
|
|
s%@program_transform_name@%s,x,x,%g
|
|
s%@bindir@%${exec_prefix}/bin%g
|
|
s%@sbindir@%${exec_prefix}/sbin%g
|
|
s%@libexecdir@%${exec_prefix}/libexec%g
|
|
s%@datadir@%${prefix}/share%g
|
|
s%@sysconfdir@%${prefix}/etc%g
|
|
s%@sharedstatedir@%${prefix}/com%g
|
|
s%@localstatedir@%${prefix}/var%g
|
|
s%@libdir@%${exec_prefix}/lib%g
|
|
s%@includedir@%${prefix}/include%g
|
|
s%@oldincludedir@%/usr/include%g
|
|
s%@infodir@%${prefix}/info%g
|
|
s%@mandir@%${prefix}/man%g
|
|
s%@host@%i386-pc-msdosdjgpp%g
|
|
s%@host_alias@%i386-msdosdjgpp%g
|
|
s%@host_cpu@%i386%g
|
|
s%@host_vendor@%pc%g
|
|
s%@host_os@%msdosdjgpp%g
|
|
s%@CC@%gcc%g
|
|
s%@CPP@%gcc -E%g
|
|
s%@YACC@%bison -y%g
|
|
s%@RANLIB@%ranlib%g
|
|
s%@AR@%ar%g
|
|
s%@INSTALL_PROGRAM@%${INSTALL}%g
|
|
s%@INSTALL_DATA@%${INSTALL} -m 644%g
|
|
s%@SET_MAKE@%%g
|
|
s%@LIBOBJS@% crypt.o flock.o vsnprintf.o%g
|
|
s%@ALLOCA@%%g
|
|
s%@DEFAULT_KCODE@%%g
|
|
s%@EXEEXT@%.exe%g
|
|
s%@OBJEXT@%o%g
|
|
s%@XLDFLAGS@%%g
|
|
s%@DLDFLAGS@%%g
|
|
s%@STATIC@%%g
|
|
s%@CCDLFLAGS@%%g
|
|
s%@LDSHARED@%ld%g
|
|
s%@DLEXT@%o%g
|
|
s%@STRIP@%strip%g
|
|
s%@EXTSTATIC@%%g
|
|
s%@binsuffix@%.exe%g
|
|
s%@setup@%Setup.dj%g
|
|
s%@LIBRUBY@%libruby.a%g
|
|
s%@LIBRUBY_A@%libruby.a%g
|
|
s%@LIBRUBYARG@%libruby.a%g
|
|
s%@LIBRUBY_SO@%%g
|
|
s%@SOLIBS@%%g
|
|
s%@arch@%i386-msdosdjgpp%g
|
|
;s%/bin/rm%rm%
|
|
s%@DLDLIBS@%-lc%g
|
|
s%@MAINLIBS@%%g
|
|
s%@PREP@%%
|
|
s%@RUBY_INSTALL_NAME@%ruby%g
|
|
s%@RUBY_SO_NAME@%%g
|
|
s%@arch@%i386-msdosdjgpp%g
|
|
s%@sitedir@%${prefix}/lib/ruby/site_ruby%g
|
|
s%@configure_args@%%g
|
|
s%@MINIRUBY@%./miniruby%
|
|
s%@OUTFLAG@%-o %
|
|
s%@CPPOUTFILE@%-o conftest.i%
|
|
s%@archlib@%/lib/ruby/i386-msdosdjgpp%
|
|
;s%|| true%%
|
|
;/\/dev\/null/ {
|
|
;s,/dev/null 2>&1, nul,
|
|
;s,2> /dev/null,,
|
|
;}
|
|
;/^config.status/ {
|
|
; N;N;N;N;N;d
|
|
;}
|
|
#;s%mv -f y\.tab\.c%if exist parse.c del parse.c\
|
|
# ren y_tab.c%
|
|
#;s%y\.tab\.c%y_tab.c%
|
|
/^,THIS_IS_DUMMY_PATTERN_/i\
|
|
ac_given_srcdir=.
|