emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pretest


From: Alfred M. Szmidt
Subject: Re: Pretest
Date: Thu, 2 Nov 2006 15:10:16 +0100 (CET)

Would the following be OK?  I haven't had a chance to test it but I
see no reason why it should not work.

2006-11-02  Alfred M. Szmidt  <address@hidden>  (tiny change)

        * s/openbsd.h (LD_SWITCH_SYSTEM): Remove /usr/pkg/lib and
        /usr/pkg/lib from the library search path.
        (LD_SWITCH_X_DEFAULT): New macro.

Index: openbsd.h
===================================================================
RCS file: /cvsroot/emacs/emacs/src/s/openbsd.h,v
retrieving revision 1.8
diff -u -p -r1.8 src/s/openbsd.h
*** src/s/openbsd.h     30 Oct 2006 23:05:35 -0000      1.8
--- src/s/openbsd.h     2 Nov 2006 14:05:03 -0000
***************
*** 23,33 ****
  
  /*  Han Boetes <address@hidden> says this
      is necessary,  otherwise Emacs dumps core on elf systems.  */
! #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -Z -L/usr/pkg/lib 
-L/usr/local/lib
  
  #else
  
! #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -L/usr/pkg/lib -L/usr/local/lib
  
  #endif
  
--- 24,40 ----
  
  /*  Han Boetes <address@hidden> says this
      is necessary,  otherwise Emacs dumps core on elf systems.  */
! #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -Z
! 
! /* The version of gcc on OpenBSD doesn't search /usr/local/lib by
!    default.  */
! #define LD_SWITCH_X_DEFAULT -L/usr/local/lib
  
  #else
  
! #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp
! 
! #define LD_SWITCH_X_DEFAULT -L/usr/local/lib
  
  #endif
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]