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
592ba105
Commit
592ba105
authored
Jan 20, 1999
by
Marcus Meissner
Committed by
Alexandre Julliard
Jan 20, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
autoconf: added checks for libio.h, elf.h, curses.h,ncurses.h and
fixed includers.
parent
af88f578
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
36 additions
and
12 deletions
+36
-12
configure
configure
+1
-1
configure.in
configure.in
+1
-1
ncurses.c
console/ncurses.c
+7
-1
stabs.c
debugger/stabs.c
+5
-1
config.h.in
include/config.h.in
+12
-0
console.h
include/console.h
+7
-7
port.c
misc/port.c
+3
-1
No files found.
configure
View file @
592ba105
...
...
@@ -3235,7 +3235,7 @@ else
fi
done
for
ac_hdr
in
wctype.h sys/syscall.h syscall.h sys/param.h sys/vfs.h sys/mount.h sys/statfs.h float.h linux/cdrom.h linux/ucdrom.h sys/cdio.h sys/filio.h sys/modem.h strings.h sys/strtio.h dlfcn.h unistd.h sys/sockio.h net/if.h netinet/in.h sys/file.h
for
ac_hdr
in
wctype.h sys/syscall.h syscall.h sys/param.h sys/vfs.h sys/mount.h sys/statfs.h float.h linux/cdrom.h linux/ucdrom.h sys/cdio.h sys/filio.h sys/modem.h strings.h sys/strtio.h dlfcn.h unistd.h sys/sockio.h net/if.h netinet/in.h sys/file.h
libio.h curses.h ncurses.h elf.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
...
...
configure.in
View file @
592ba105
...
...
@@ -344,7 +344,7 @@ fi
dnl **** Check for functions and header files ****
AC_CHECK_FUNCS(clone getpagesize memmove sendmsg sigaltstack strerror stricmp tcgetattr timegm usleep wait4 waitpid vfscanf)
AC_CHECK_HEADERS(wctype.h sys/syscall.h syscall.h sys/param.h sys/vfs.h sys/mount.h sys/statfs.h float.h linux/cdrom.h linux/ucdrom.h sys/cdio.h sys/filio.h sys/modem.h strings.h sys/strtio.h dlfcn.h unistd.h sys/sockio.h net/if.h netinet/in.h sys/file.h)
AC_CHECK_HEADERS(wctype.h sys/syscall.h syscall.h sys/param.h sys/vfs.h sys/mount.h sys/statfs.h float.h linux/cdrom.h linux/ucdrom.h sys/cdio.h sys/filio.h sys/modem.h strings.h sys/strtio.h dlfcn.h unistd.h sys/sockio.h net/if.h netinet/in.h sys/file.h
libio.h curses.h ncurses.h elf.h
)
AC_HEADER_STAT()
AC_C_CONST()
AC_TYPE_SIZE_T()
...
...
console/ncurses.c
View file @
592ba105
...
...
@@ -21,7 +21,13 @@
#include "debug.h"
#undef ERR
/* Use ncurses's err() */
#include <curses.h>
#ifdef HAVE_CURSES_H
# include <curses.h>
#else
# ifdef HAVE_NCURSES_H
# include <ncurses.h>
# endif
#endif
SCREEN
*
ncurses_screen
;
...
...
debugger/stabs.c
View file @
592ba105
...
...
@@ -4,6 +4,8 @@
* Copyright (C) 1996, Eric Youngdale.
*/
#include "config.h"
#include <sys/types.h>
#include <fcntl.h>
#include <sys/stat.h>
...
...
@@ -26,7 +28,9 @@
#endif
#ifdef __ELF__
#include <elf.h>
#ifdef HAVE_ELF_H
# include <elf.h>
#endif
#include <link.h>
#include <sys/mman.h>
#elif defined(__EMX__)
...
...
include/config.h.in
View file @
592ba105
...
...
@@ -126,12 +126,21 @@
/* Define if you have the waitpid function. */
#undef HAVE_WAITPID
/* Define if you have the <curses.h> header file. */
#undef HAVE_CURSES_H
/* Define if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Define if you have the <elf.h> header file. */
#undef HAVE_ELF_H
/* Define if you have the <float.h> header file. */
#undef HAVE_FLOAT_H
/* Define if you have the <libio.h> header file. */
#undef HAVE_LIBIO_H
/* Define if you have the <linux/cdrom.h> header file. */
#undef HAVE_LINUX_CDROM_H
...
...
@@ -141,6 +150,9 @@
/* Define if you have the <machine/soundcard.h> header file. */
#undef HAVE_MACHINE_SOUNDCARD_H
/* Define if you have the <ncurses.h> header file. */
#undef HAVE_NCURSES_H
/* Define if you have the <net/if.h> header file. */
#undef HAVE_NET_IF_H
...
...
include/console.h
View file @
592ba105
...
...
@@ -12,18 +12,18 @@
#include "config.h"
/* Which libs can be used for wine's curses implementation... */
#ifdef HAVE_LIBNCURSES
#define WINE_NCURSES
/* Can we compile with curses/ncurses? */
#if ( (defined(HAVE_LIBNCURSES) || defined(HAVE_LIBCURSES)) && \
(defined(HAVE_CURSES_H) || defined(HAVE_NCURSES_H)) \
)
# define WINE_NCURSES
#else
#ifdef HAVE_LIBCURSES
#define WINE_NCURSES
#endif
# undef WINE_NCURSES
#endif
#define CONSOLE_DEFAULT_DRIVER "tty"
/* If you have problems, try setting the next line to xterm */
#define CONSOLE_XTERM_PROG "
n
xterm"
/* We should check for this first... */
#define CONSOLE_XTERM_PROG "xterm"
/* We should check for this first... */
typedef
struct
CONSOLE_DRIVER
{
...
...
misc/port.c
View file @
592ba105
...
...
@@ -12,7 +12,9 @@
#include <errno.h>
#include <fcntl.h>
#include <termios.h>
#include <libio.h>
#ifdef HAVE_LIBIO_H
# include <libio.h>
#endif
#ifndef HAVE_USLEEP
#ifdef __EMX__
...
...
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