diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1999-01-09 16:17:13 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-01-09 16:17:13 +0000 |
commit | b691c02f8c79b7bac4a606da95849c0c7bcae239 (patch) | |
tree | 58e1c96422c191363218ef456d5221d698bafbdf /hints/dec_osf.sh | |
parent | 11b8faa4b88ddb655238bb84b542f78345a7d7bb (diff) | |
download | perl-b691c02f8c79b7bac4a606da95849c0c7bcae239.tar.gz |
Move usethreads and use64bits logic from hints to Configure.
p4raw-id: //depot/cfgperl@2592
Diffstat (limited to 'hints/dec_osf.sh')
-rw-r--r-- | hints/dec_osf.sh | 27 |
1 files changed, 4 insertions, 23 deletions
diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh index 971dd89b6e..8f1f228037 100644 --- a/hints/dec_osf.sh +++ b/hints/dec_osf.sh @@ -58,15 +58,10 @@ # and it is called GEM. Many of the options we are going to use depend # on the compiler style. -# do NOT, I repeat, *NOT* take away those leading tabs +# do NOT, I repeat, *NOT* take away the leading tabs +# Configure Black Magic (TM) # reset - _DEC_uname_r= _DEC_cc_style= - # set - _DEC_uname_r=`uname -r` - # _DEC_cc_style set soon below -# Configure Black Magic (TM) - case "$cc" in *gcc*) ;; # pass *) # compile something small: taint.c is fine for this. @@ -147,7 +142,7 @@ lddlflags='-shared -expect_unresolved "*"' # Fancy compiler suites use optimising linker as well as compiler. # <spider@Orb.Nashua.NH.US> -case "$_DEC_uname_r" in +case "$`uname -r`" in *[123].*) # old loader lddlflags="$lddlflags -O3" ;; @@ -165,7 +160,7 @@ esac # As noted above the -DDEBUGGING is added automagically by Configure if -g. case "$optimize" in *-g*) ;; # left intentionally blank -*) case "$_DEC_uname_r" in +*) case "$`uname -r`" in *[123].*) case "$useshrplib" in false|undef|'') lddlflags="$lddlflags -s" ;; @@ -177,19 +172,6 @@ case "$optimize" in ;; esac -if [ "X$usethreads" = "X$define" ]; then - # Threads interfaces changed with V4.0. - case "$_DEC_uname_r" in - *[123].*) libswanted="$libswanted pthreads mach exc c_r" - ccflags="-threads $ccflags" - ;; - *) libswanted="$libswanted pthread exc" - ccflags="-pthread $ccflags" - ;; - esac - usemymalloc='n' -fi - # # Make embedding in things like INN and Apache more memory friendly. # Keep it overridable on the Configure command line, though, so that @@ -214,7 +196,6 @@ pp_sys_cflags='ccflags="$ccflags -DNO_EFF_ONLY_OK"' # unset _DEC_cc_style -unset _DEC_uname_r # # History: |