[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NetBSD and OpenBSD users
From: |
Gerd Moellmann |
Subject: |
NetBSD and OpenBSD users |
Date: |
18 Sep 2001 13:34:05 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.106 |
Could users of NetBSD and OpenBSD please try the following patch to
src/s/netbsd.h? It tries to make sure that Emacs finds image libs and
alike in /usr/local without further configuration flags and alike when
it is configured, and that Emacs subsequently builds with these libs.
*** netbsd.h.~1.33.~ Tue Dec 12 11:03:50 2000
--- netbsd.h Tue Sep 18 13:28:52 2001
***************
*** 76,82 ****
/* Here is how to find X Windows. LD_SWITCH_X_SITE_AUX gives an -R option
says where to find X windows at run time. We convert it to a -rpath option
which is what OSF1 uses. */
! #define LD_SWITCH_SYSTEM `echo LD_SWITCH_X_SITE_AUX | sed -e
's/-R/-Wl,-rpath,/'`
#endif /* __ELF__ */
/* On post 1.3 releases of NetBSD, gcc -nostdlib also clears
--- 76,91 ----
/* Here is how to find X Windows. LD_SWITCH_X_SITE_AUX gives an -R option
says where to find X windows at run time. We convert it to a -rpath option
which is what OSF1 uses. */
! #define LD_SWITCH_SYSTEM_tmp `echo LD_SWITCH_X_SITE_AUX | sed -e
's/-R/-Wl,-rpath,/'`
! #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp /usr/local/lib
!
! /* The following is needed to make `configure' find Xpm, Xaw3d and
! image include and library files if using /usr/bin/gcc. That
! compiler seems to be modified to not find headers in
! /usr/local/include or libs in /usr/local/lib by default. */
!
! #define C_SWITCH_SYSTEM -I/usr/X11R6/include -I/usr/local/include
-L/usr/local/lib
!
#endif /* __ELF__ */
/* On post 1.3 releases of NetBSD, gcc -nostdlib also clears
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- NetBSD and OpenBSD users,
Gerd Moellmann <=