summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Holland-Moritz <mhx-perl@gmx.net>2004-07-02 14:44:37 +0000
committerMarcus Holland-Moritz <mhx-perl@gmx.net>2004-07-02 14:44:37 +0000
commitad5a63fe9396219f88b25d62a50a1bc7fb7f0c96 (patch)
tree546f9b6648779b80294648e022afb35e940fb61b
parent8577d3ae96899bac4092bfa95d3d1591dde1dbd3 (diff)
downloadperl-ad5a63fe9396219f88b25d62a50a1bc7fb7f0c96.tar.gz
More microperl tweaks.
p4raw-id: //depot/perl@23027
-rw-r--r--Makefile.micro3
-rw-r--r--README.micro6
-rw-r--r--uconfig.h10
-rwxr-xr-xuconfig.sh11
4 files changed, 15 insertions, 15 deletions
diff --git a/Makefile.micro b/Makefile.micro
index b509448aeb..735215ba28 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 7f12c70a17..d4b2628962 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 2846c82aa6..a81a24055f 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
* <sys/types.h> 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 705bc83495..87be639524 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'