Mercurial > hg > xemacs-beta
diff src/s/freebsd.h @ 24:4103f0995bd7 r19-15b95
Import from CVS: tag r19-15b95
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:51:03 +0200 |
parents | 376386a54a3c |
children | cc4664d4732c |
line wrap: on
line diff
--- a/src/s/freebsd.h Mon Aug 13 08:50:31 2007 +0200 +++ b/src/s/freebsd.h Mon Aug 13 08:51:03 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