mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-12 14:30:42 -08:00
(HAVE_GETTIMEOFDAY): Define only if HAVE_SOCKETS.
Fix up conditionals changed recently.
This commit is contained in:
parent
4897b0a059
commit
cd23c8dbd2
1 changed files with 6 additions and 6 deletions
12
src/s/sco4.h
12
src/s/sco4.h
|
|
@ -76,12 +76,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|||
#ifdef HAVE_SOCKETS
|
||||
#define LIBS_SYSTEM -lsocket
|
||||
|
||||
/* configure can't get this right since it comes from -lsocket
|
||||
and configure doesn't know to look there. */
|
||||
#undef HAVE_XSCREENNUMBEROFSCREEN
|
||||
#define HAVE_XSCREENNUMBEROFSCREEN
|
||||
#endif
|
||||
|
||||
/* SCO has gettimeofday in socket library */
|
||||
/* Autoconf should determine this, but for now,
|
||||
play safe to avoid error rather than deleting this
|
||||
|
|
@ -91,6 +85,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_X11R5
|
||||
/* configure can't get this right linking fails unless -lsocket is used. */
|
||||
#undef HAVE_XSCREENNUMBEROFSCREEN
|
||||
#define HAVE_XSCREENNUMBEROFSCREEN
|
||||
#endif
|
||||
|
||||
/* We don't have -loldX, and we don't need it. */
|
||||
#define LIB_XMENU_LIB
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue