summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafcol.lafayette.edu>1995-06-06 01:41:07 +0000
committerAndy Dougherty <doughera@lafcol.lafayette.edu>1995-06-06 01:41:07 +0000
commit4aa0a1f7324b8447469670a1b2427c3ac2428bae (patch)
treef47ecacdb42503ee8ea8e4984302ab1aaad85431 /hints
parent005c1a0e007f6f2f3efe461d6a5930a88ccb88fb (diff)
downloadperl-4aa0a1f7324b8447469670a1b2427c3ac2428bae.tar.gz
This is my patch patch.1l for perl5.001.
To apply, change to your perl directory, run the command above, then apply with patch -p1 -N < thispatch. This patch fixes all the Configure & build problems for which I have a solution. After you apply this patch, I would recommend: make distclean # or at the very least rm config.sh sh Configure [whatever options you use] make depend make make test Patch and enjoy, Andy Dougherty doughera@lafcol.lafayette.edu Dept. of Physics Lafayette College, Easton PA 18042 Here are the file-by-file contents: Changes.Conf Updated a bit. Configure Now honors hints on <pwd.h>-related things (for CX/UX, in particular). Now honors previous values of d_stdio_ptr_lval and d_stdio_cnt_lval. DB test programs now conditionally include 'const'. MANIFEST Updated. config_H Updated. config_h.SH Include trailing /**/ on STDIO_..._LVALUE defines. hints/cxux.sh Simplified. Include info about failing test. hints/epix.sh A guess at a dynamic loading fix. hints/next_3.sh Add a few comments. lib/Benchmark.pm Ensure numeric context on number of loop iterations. op.c Spider's padlex and goto &$nonesuch patches. perl.c fputs("\tUnofficial patchlevel 1l.\n",stdout); pp_ctl.c pp_hot.c scope.c Spider's padlex and goto &$nonesuch patches.
Diffstat (limited to 'hints')
-rw-r--r--hints/cxux.sh33
-rw-r--r--hints/epix.sh2
-rw-r--r--hints/next_3.sh (renamed from hints/next_3_2.sh)5
3 files changed, 17 insertions, 23 deletions
diff --git a/hints/cxux.sh b/hints/cxux.sh
index 4946d0b05a..66608decef 100644
--- a/hints/cxux.sh
+++ b/hints/cxux.sh
@@ -75,30 +75,10 @@ ccdlflags='-Zelf -Zlink=dynamic -Wl,-Bexport -u sigaction'
lddlflags='-Zlink=so'
# Configure imagines that it sees a pw_quota field, but it is really in a
-# different structure than the one it thinks it is looking at. WARNING:
-# Setting this here in the hints file doesn't help. You need to fix this by
-# editing config.sh after Configure asks you to fix things with a shell
-# escape! (Maybe Configure should actually try to compile a routine to
-# test each field, but what a pain that would be...).
-#
-# Perhaps I should create a config.over file and add this to it now?
-#
+# different structure than the one it thinks it is looking at.
d_pwquota='undef'
-echo ''
-echo ''
-echo WARNING: Edit config.sh when Configure offers to let you do so at the
-echo end of the configuration process and manually change d_pwquota from
-echo define to undef \(or you may want to create a config.over file now\).
-echo ''
-echo ''
-
-# The following silly shell variable is set just so it will be printed out
-# immediately prior to asking the user to edit config.sh :-).
-#
-dont_forget_to_fix_d_pwquota_in_config_to_be_undef="really"
-
-# Configure sometime finds what it believes to be ndbm header files on the
+# Configure sometimes finds what it believes to be ndbm header files on the
# system and imagines that we have the NDBM library, but we really don't.
# There is something there that once resembled ndbm, but it is purely
# for internal use in some tool and has been hacked beyond recognition
@@ -110,3 +90,12 @@ i_ndbm='undef'
#
d_mymalloc='undef'
usemymalloc='n'
+
+cat <<'EOM'
+
+You will get a failure on lib/posix.t test 16 because ungetc() on
+stdin does not work if no characters have been read from stdin.
+If you type a character at the terminal where you are running
+the tests, you can fool it into thinking it worked.
+
+EOM
diff --git a/hints/epix.sh b/hints/epix.sh
index 9fd5c90e3f..25e357328f 100644
--- a/hints/epix.sh
+++ b/hints/epix.sh
@@ -61,6 +61,8 @@ if [ -r /usr/ucblib/libucb.a ]; then # If using BSD-compat. library:
fi
lddlflags="-G $ldflags" # Probably needed for dynamic loading
+# We _do_ want the -L paths in ldflags, but we don't want the -non_shared.
+lddlflags=`echo $lddlflags | sed 's/-non_shared//'`
cat <<'EOM' >&4
diff --git a/hints/next_3_2.sh b/hints/next_3.sh
index 887082e2f3..7db901c738 100644
--- a/hints/next_3_2.sh
+++ b/hints/next_3.sh
@@ -1,6 +1,10 @@
# This file has been put together by Anno Siegel <siegel@zrz.TU-Berlin.DE>
# and Andreas Koenig <k@franz.ww.TU-Berlin.DE>. Comments, questions, and
# improvements welcome!
+#
+# These hints work for NeXT 3.2 and 3.3. 3.0 has it's own
+# special hint file.
+
ccflags='-DUSE_NEXT_CTYPE'
POSIX_cflags='ccflags="-posix $ccflags"'
ldflags='-u libsys_s'
@@ -35,4 +39,3 @@ ranlib='sleep 5; /bin/ranlib'
if [ `arch` = "hppa" ]; then
pp_cflags='optimize="-g"'
fi
-