Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
48957684
Commit
48957684
authored
Dec 26, 2001
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Link to the curses library only for the dlls that need it.
parent
966121cc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
21 additions
and
9 deletions
+21
-9
configure
configure
+0
-0
configure.in
configure.in
+12
-2
Makefile.in
dlls/ttydrv/Makefile.in
+1
-0
Makefile.in
dlls/winedos/Makefile.in
+1
-0
config.h.in
include/config.h.in
+6
-6
int21.c
msdos/int21.c
+1
-1
No files found.
configure
View file @
48957684
This diff is collapsed.
Click to expand it.
configure.in
View file @
48957684
...
...
@@ -363,13 +363,23 @@ else
fi
dnl **** Check which curses lib to use ***
CURSESLIBS=""
if test "$CURSES" = "yes"
then
AC_CHECK_HEADERS(ncurses.h,
AC_CHECK_LIB(ncurses,waddch),
[AC_CHECK_HEADERS(curses.h,[AC_CHECK_LIB(curses,waddch)])])
AC_CHECK_LIB(ncurses,waddch,
[AC_DEFINE(HAVE_LIBNCURSES, 1, [Define if you have the ncurses library (-lncurses)])
CURSESLIBS="-lncurses"],
[AC_CHECK_HEADERS(curses.h,
[AC_CHECK_LIB(curses,waddch,
[AC_DEFINE(HAVE_LIBCURSES, 1, [Define if you have the curses library (-lcurses)])
CURSESLIBS="-lcurses"])])]))
saved_libs="$LIBS"
LIBS="$CURSESLIBS $LIBS"
AC_CHECK_FUNCS(getbkgd resizeterm)
LIBS="$saved_libs"
fi
AC_SUBST(CURSESLIBS)
CUPSLIBS=""
dnl **** Check for CUPS ****
...
...
dlls/ttydrv/Makefile.in
View file @
48957684
...
...
@@ -5,6 +5,7 @@ VPATH = @srcdir@
MODULE
=
ttydrv
SOVERSION
=
1.0
IMPORTS
=
user32 gdi32 kernel32 ntdll
EXTRALIBS
=
@CURSESLIBS@
LDDLLFLAGS
=
@LDDLLFLAGS@
SYMBOLFILE
=
$(MODULE)
.tmp.o
...
...
dlls/winedos/Makefile.in
View file @
48957684
...
...
@@ -5,6 +5,7 @@ VPATH = @srcdir@
MODULE
=
winedos
SOVERSION
=
1.0
IMPORTS
=
user32 kernel32 ntdll
EXTRALIBS
=
@CURSESLIBS@
C_SRCS
=
\
dosaspi.c
\
...
...
include/config.h.in
View file @
48957684
...
...
@@ -409,9 +409,6 @@
/* Define if you have the <ucontext.h> header file. */
#undef HAVE_UCONTEXT_H
/* Define if you have the curses library (-lcurses). */
#undef HAVE_LIBCURSES
/* Define if you have the i386 library (-li386). */
#undef HAVE_LIBI386
...
...
@@ -421,9 +418,6 @@
/* Define if you have the mmap library (-lmmap). */
#undef HAVE_LIBMMAP
/* Define if you have the ncurses library (-lncurses). */
#undef HAVE_LIBNCURSES
/* Define if you have the ossaudio library (-lossaudio). */
#undef HAVE_LIBOSSAUDIO
...
...
@@ -469,6 +463,12 @@
/* Define if the OpenGL headers define extension typedefs */
#undef HAVE_GLEXT_PROTOTYPES
/* Define if you have the ncurses library (-lncurses) */
#undef HAVE_LIBNCURSES
/* Define if you have the curses library (-lcurses) */
#undef HAVE_LIBCURSES
/* Define if we have CUPS */
#undef HAVE_CUPS
...
...
msdos/int21.c
View file @
48957684
...
...
@@ -8,6 +8,7 @@
#include <fcntl.h>
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
#ifdef HAVE_SYS_FILE_H
# include <sys/file.h>
#endif
...
...
@@ -32,7 +33,6 @@
#include "miscemu.h"
#include "task.h"
#include "debugtools.h"
#include "console.h"
DEFAULT_DEBUG_CHANNEL
(
int21
);
#if defined(__svr4__) || defined(_SCO_DS)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment