Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: HPUXDYNAMIC again



I left yesterday's autoheader fix half done, the symbol in the
configure tests was still TEST_HPUXDYNAMIC instead of HPUXDYNAMIC.

*** aczsh.m4.hpux3	Wed Dec 16 15:29:44 1998
--- aczsh.m4	Fri Dec 18 09:48:01 1998
***************
*** 56,62 ****
  $CC -c $CFLAGS $CPPFLAGS $DLCFLAGS conftest2.c 1>&5 2>&5 &&
  $DLLD -o conftest2.$DL_EXT $LDFLAGS $DLLDFLAGS conftest2.o $LIBS 1>&5 2>&5; then
      AC_TRY_RUN([
! #ifdef TEST_HPUXDYNAMIC
  #include <dl.h>
  #define RTLD_LAZY BIND_DEFERRED
  #define RTLD_GLOBAL DYNAMIC_PATH
--- 56,62 ----
  $CC -c $CFLAGS $CPPFLAGS $DLCFLAGS conftest2.c 1>&5 2>&5 &&
  $DLLD -o conftest2.$DL_EXT $LDFLAGS $DLLDFLAGS conftest2.o $LIBS 1>&5 2>&5; then
      AC_TRY_RUN([
! #ifdef HPUXDYNAMIC
  #include <dl.h>
  #define RTLD_LAZY BIND_DEFERRED
  #define RTLD_GLOBAL DYNAMIC_PATH
***************
*** 129,135 ****
  $CC -c $CFLAGS $CPPFLAGS $DLCFLAGS conftest2.c 1>&5 2>&5 &&
  $DLLD -o conftest2.$DL_EXT $LDFLAGS $DLLDFLAGS conftest2.o $LIBS 1>&5 2>&5; then
      AC_TRY_RUN([
! #ifdef TEST_HPUXDYNAMIC
  #include <dl.h>
  #define RTLD_LAZY BIND_DEFERRED
  #define RTLD_GLOBAL DYNAMIC_PATH
--- 129,135 ----
  $CC -c $CFLAGS $CPPFLAGS $DLCFLAGS conftest2.c 1>&5 2>&5 &&
  $DLLD -o conftest2.$DL_EXT $LDFLAGS $DLLDFLAGS conftest2.o $LIBS 1>&5 2>&5; then
      AC_TRY_RUN([
! #ifdef HPUXDYNAMIC
  #include <dl.h>
  #define RTLD_LAZY BIND_DEFERRED
  #define RTLD_GLOBAL DYNAMIC_PATH
***************
*** 204,210 ****
  $CC -c $CFLAGS $CPPFLAGS $DLCFLAGS conftest2.c 1>&5 2>&5 &&
  $DLLD -o conftest2.$DL_EXT $LDFLAGS $DLLDFLAGS conftest2.o $LIBS 1>&5 2>&5; then
      AC_TRY_RUN([
! #ifdef TEST_HPUXDYNAMIC
  #include <dl.h>
  #define RTLD_LAZY BIND_DEFERRED
  #define RTLD_GLOBAL DYNAMIC_PATH
--- 204,210 ----
  $CC -c $CFLAGS $CPPFLAGS $DLCFLAGS conftest2.c 1>&5 2>&5 &&
  $DLLD -o conftest2.$DL_EXT $LDFLAGS $DLLDFLAGS conftest2.o $LIBS 1>&5 2>&5; then
      AC_TRY_RUN([
! #ifdef HPUXDYNAMIC
  #include <dl.h>
  #define RTLD_LAZY BIND_DEFERRED
  #define RTLD_GLOBAL DYNAMIC_PATH
***************
*** 274,280 ****
      save_ldflags=$LDFLAGS
      LDFLAGS="$LDFLAGS $EXTRA_LDFLAGS"
      AC_TRY_RUN([
! #ifdef TEST_HPUXDYNAMIC
  #include <dl.h>
  #define RTLD_LAZY BIND_DEFERRED
  #define RTLD_GLOBAL DYNAMIC_PATH
--- 274,280 ----
      save_ldflags=$LDFLAGS
      LDFLAGS="$LDFLAGS $EXTRA_LDFLAGS"
      AC_TRY_RUN([
! #ifdef HPUXDYNAMIC
  #include <dl.h>
  #define RTLD_LAZY BIND_DEFERRED
  #define RTLD_GLOBAL DYNAMIC_PATH
***************
*** 347,353 ****
      save_ldflags=$LDFLAGS
      LDFLAGS="$LDFLAGS $EXTRA_LDFLAGS -s"
      AC_TRY_RUN([
! #ifdef TEST_HPUXDYNAMIC
  #include <dl.h>
  #define RTLD_LAZY BIND_DEFERRED
  #define RTLD_GLOBAL DYNAMIC_PATH
--- 347,353 ----
      save_ldflags=$LDFLAGS
      LDFLAGS="$LDFLAGS $EXTRA_LDFLAGS -s"
      AC_TRY_RUN([
! #ifdef HPUXDYNAMIC
  #include <dl.h>
  #define RTLD_LAZY BIND_DEFERRED
  #define RTLD_GLOBAL DYNAMIC_PATH
***************
*** 414,420 ****
  if $CC -c $CFLAGS $CPPFLAGS $DLCFLAGS conftest1.c 1>&5 2>&5 &&
  $DLLD -o conftest1.$DL_EXT $LDFLAGS $DLLDFLAGS -s conftest1.o $LIBS 1>&5 2>&5; then
      AC_TRY_RUN([
! #ifdef TEST_HPUXDYNAMIC
  #include <dl.h>
  #define RTLD_LAZY BIND_DEFERRED
  #define RTLD_GLOBAL DYNAMIC_PATH
--- 414,420 ----
  if $CC -c $CFLAGS $CPPFLAGS $DLCFLAGS conftest1.c 1>&5 2>&5 &&
  $DLLD -o conftest1.$DL_EXT $LDFLAGS $DLLDFLAGS -s conftest1.o $LIBS 1>&5 2>&5; then
      AC_TRY_RUN([
! #ifdef HPUXDYNAMIC
  #include <dl.h>
  #define RTLD_LAZY BIND_DEFERRED
  #define RTLD_GLOBAL DYNAMIC_PATH
*** configure.in.hpux3	Thu Dec 17 13:43:40 1998
--- configure.in	Fri Dec 18 09:47:35 1998
***************
*** 1008,1014 ****
      $DLLD -o conftest.$DL_EXT $LDFLAGS $DLLDFLAGS conftest.o 1>&5 2>&5 &&
      AC_TRY_RUN([
  #include <stdio.h>
! #ifdef TEST_HPUXDYNAMIC
  #include <dl.h>
  #define RTLD_LAZY BIND_DEFERRED
  #define RTLD_GLOBAL DYNAMIC_PATH
--- 1008,1014 ----
      $DLLD -o conftest.$DL_EXT $LDFLAGS $DLLDFLAGS conftest.o 1>&5 2>&5 &&
      AC_TRY_RUN([
  #include <stdio.h>
! #ifdef HPUXDYNAMIC
  #include <dl.h>
  #define RTLD_LAZY BIND_DEFERRED
  #define RTLD_GLOBAL DYNAMIC_PATH

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy



Messages sorted by: Reverse Date, Date, Thread, Author