From: Marcus Holland-Moritz Date: Fri, 2 Jul 2004 14:44:37 +0000 (+0000) Subject: More microperl tweaks. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ad5a63fe9396219f88b25d62a50a1bc7fb7f0c96;p=p5sagit%2Fp5-mst-13.2.git More microperl tweaks. p4raw-id: //depot/perl@23027 --- diff --git a/Makefile.micro b/Makefile.micro index b509448..735215b 100644 --- a/Makefile.micro +++ b/Makefile.micro @@ -33,11 +33,10 @@ clean: -rm -f $(O) microperl distclean: clean - -rm -f uconfig.h # The microconfiguration. -uconfig.h: uconfig.sh config_h.SH +regen_uconfig: $(ENV) CONFIG_SH=uconfig.sh CONFIG_H=uconfig.h sh ./config_h.SH # Do not regenerate perly.c and perly.h. diff --git a/README.micro b/README.micro index 7f12c70..d4b2628 100644 --- a/README.micro +++ b/README.micro @@ -1,4 +1,4 @@ -microperl is supposed to be able a really minimal perl, even more +microperl is supposed to be a really minimal perl, even more minimal than miniperl. No Configure is needed to build microperl, on the other hand this means that interfaces between Perl and your operating system are left very -- minimal. @@ -20,6 +20,8 @@ If you are still reading this and you are itching to try out microperl: make -f Makefile.micro +If you make changes to uconfig.sh, run + make -f Makefile.micro regen_uconfig - +to regenerate uconfig.h. diff --git a/uconfig.h b/uconfig.h index 2846c82..a81a240 100644 --- a/uconfig.h +++ b/uconfig.h @@ -1338,8 +1338,8 @@ * This symbol contains the ~name expanded version of ARCHLIB, to be used * in programs that are not prepared to deal with ~ expansion at run-time. */ -/*#define ARCHLIB "/usr/local/lib/perl5/5.7/unknown" / **/ -/*#define ARCHLIB_EXP "/usr/local/lib/perl5/5.7/unknown" / **/ +/*#define ARCHLIB "/usr/local/lib/perl5/5.9/unknown" / **/ +/*#define ARCHLIB_EXP "/usr/local/lib/perl5/5.9/unknown" / **/ /* BIN: * This symbol holds the path of the bin directory where the package will @@ -1399,8 +1399,8 @@ * This symbol contains the ~name expanded version of PRIVLIB, to be used * in programs that are not prepared to deal with ~ expansion at run-time. */ -#define PRIVLIB "/usr/local/lib/perl5/5.7" /**/ -#define PRIVLIB_EXP "/usr/local/lib/perl5/5.7" /**/ +#define PRIVLIB "/usr/local/lib/perl5/5.9" /**/ +#define PRIVLIB_EXP "/usr/local/lib/perl5/5.9" /**/ /* SITEARCH: * This symbol contains the name of the private library for this package. @@ -4265,7 +4265,7 @@ * unsigned long, int, etc. It may be necessary to include * to get any typedef'ed information. */ -#define Size_t int /* length paramater for string functions */ +#define Size_t size_t /* length paramater for string functions */ /* Uid_t_f: * This symbol defines the format string used for printing a Uid_t. diff --git a/uconfig.sh b/uconfig.sh index 705bc83..87be639 100755 --- a/uconfig.sh +++ b/uconfig.sh @@ -4,9 +4,8 @@ _o='.o' afs='false' afsroot='/afs' alignbytes='4' -apiversion='5.005' -archlib='/usr/local/lib/perl5/5.7/unknown' -archlibexp='/usr/local/lib/perl5/5.7/unknown' +archlib='/usr/local/lib/perl5/5.9/unknown' +archlibexp='/usr/local/lib/perl5/5.9/unknown' archname='unknown' asctime_r_proto='0' bin='/usr/local/bin' @@ -598,8 +597,8 @@ orderlib='false' osname='unknown' phostname='hostname' pidtype=int -privlib='/usr/local/lib/perl5/5.7' -privlibexp='/usr/local/lib/perl5/5.7' +privlib='/usr/local/lib/perl5/5.9' +privlibexp='/usr/local/lib/perl5/5.9' procselfexe='' prototype='undef' ptrsize='4' @@ -645,7 +644,7 @@ sig_num_init='0' sig_size='1' signal_t=int sizesize=4 -sizetype=int +sizetype='size_t' socksizetype='int' srand48_r_proto='0' srandom_r_proto='0'