Mercurial > hg > xemacs-beta
diff src/s/freebsd.h @ 98:0d2f883870bc r20-1b1
Import from CVS: tag r20-1b1
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:13:56 +0200 |
parents | 131b0175ea99 |
children | d2f30a177268 |
line wrap: on
line diff
--- a/src/s/freebsd.h Mon Aug 13 09:12:43 2007 +0200 +++ b/src/s/freebsd.h Mon Aug 13 09:13:56 2007 +0200 @@ -33,7 +33,15 @@ #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) #define LIBS_DEBUG +/* FreeBSD 2.2 or later */ +#ifndef __FreeBSD_version +#include <osreldate.h> +#endif +#if __FreeBSD_version >= 199701 +#define LIBS_SYSTEM -lutil -lxpg4 +#else #define LIBS_SYSTEM -lutil +#endif /* XEmacs change: */ #ifdef HAVE_NCURSES #define LIBS_TERMCAP -lncurses -ltermcap