OS2 CONF.H file.

From: David A. Carver (DCARVER@cougar.colstate.cc.oh.us)
Date: 02/08/96


Ok, I took my lunch hour and a little bit more, but I got PL9 compiled and 
working under OS/2.  I have upload a ZIP file to cambot.res.jhu.edu, with 
the modified files.  The only program in this release that needed some 
tweaking was COMM.H.  Everything else compiled cleanly the first time.

Anyway, here is the suggest CONF.H file to use with the OS/2 port of GCC 
2.7.0 and the emx runtime system.

=======
/* src/conf.h.in.  Generated automatically from configure.in by 
autoheader.  */

/* Define if we are compiling under OS2 */
#define OS2
 
/* Define to empty if the keyword does not work.  */
#undef const

/* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
#define HAVE_SYS_WAIT_H

/* Define to `int' if <sys/types.h> doesn't define.  */
#undef pid_t

/* Define as the return type of signal handlers (int or void).  */
#define RETSIGTYPE

/* Define to `unsigned' if <sys/types.h> doesn't define.  */
#undef size_t

/* Define if you have the ANSI C header files.  */
#define STDC_HEADERS

/* Define if you can safely include both <sys/time.h> and <time.h>.  */
#define TIME_WITH_SYS_TIME

/* Define if you have the crypt function.  */
#undef HAVE_CRYPT

/* Define if you have the <assert.h> header file.  */
#define HAVE_ASSERT_H

/* Define if you have the <crypt.h> header file.  */
#undef HAVE_CRYPT_H

/* Define if you have the <errno.h> header file.  */
#define HAVE_ERRNO_H

/* Define if you have the <fcntl.h> header file.  */
#define HAVE_FCNTL_H

/* Define if you have the <limits.h> header file.  */
#define HAVE_LIMITS_H

/* Define if you have the <memory.h> header file.  */
#define HAVE_MEMORY_H

/* Define if you have the <net/errno.h> header file.  */
#undef HAVE_NET_ERRNO_H

/* Define if you have the <string.h> header file.  */
#define HAVE_STRING_H

/* Define if you have the <sys/fcntl.h> header file.  */
#define HAVE_SYS_FCNTL_H

/* Define if you have the <sys/select.h> header file.  */
#define HAVE_SYS_SELECT_H

/* Define if you have the <sys/time.h> header file.  */
#define HAVE_SYS_TIME_H

/* Define if you have the <unistd.h> header file.  */
#define HAVE_UNISTD_H

/* Define if you have the crypt library (-lcrypt).  */
#undef HAVE_LIBCRYPT

/* Define if you have the malloc library (-lmalloc).  */
#undef HAVE_LIBMALLOC

/* Define if you have the nsl library (-lnsl).  */
#undef HAVE_LIBNSL

/* Define if you have the socket library (-lsocket).  */
#define HAVE_LIBSOCKET

There ya go Jeremy.  Take a look at OS2PL9.GOOD.ZIP that I uploaded for 
the patched COMM.H file.

Dave Carver
Beidler's rules of acquistion:
2.  Every once in a while declare piece
    and feed your opponent only part of his heart.
          -- Jim Beidler, CSCC

+==================================================================+
| David Carver, Programmer Analyst        "Spooooooooonnnnnn!!!"   |      
| Columbus State Community College               -- The Tick       |
| Email: dcarver@cougar.colstate.cc.oh.us                          | 
+==================================================================+
       
                



This archive was generated by hypermail 2b30 : 12/07/00 PST