diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2000-10-18 00:02:25 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2000-10-18 00:02:25 +0000 |
commit | b5628647ad1e48d026064e5acc0d8dc0b8021cfa (patch) | |
tree | 645c6dc3a5b3b0e24ec4f7308e9fc1b7823bb0fa /configure.in | |
parent | 2594de81d301188108c1accbd4f937a86d70db1c (diff) |
- (bal) Changed from GNU rx to PCRE on suggestion from djm.
- (bal) Integrated Sony NEWS-OS patches from NAKAJI Hirouyuki
<nakaji@tutrp.tut.ac.jp>
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/configure.in b/configure.in index c859b66d..1a57583f 100644 --- a/configure.in +++ b/configure.in @@ -119,6 +119,13 @@ case "$host" in AC_DEFINE(PAM_TTY_KLUDGE) inet6_default_4in6=yes ;; +mips-sony-bsd|mips-sony-newsos4) + AC_DEFINE(HAVE_NEWS4) + SONY=1 + AC_CHECK_LIB(iberty, xatexit, AC_DEFINE(HAVE_XATEXIT), + AC_MSG_ERROR([*** libiberty missing - please install first ***]) + ) + ;; *-*-netbsd*) need_dash_r=1 ;; @@ -257,7 +264,8 @@ AC_ARG_WITH(libs, # Checks for libraries. AC_CHECK_LIB(z, deflate, ,AC_MSG_ERROR([*** zlib missing - please install first ***])) AC_CHECK_LIB(util, login, AC_DEFINE(HAVE_LIBUTIL_LOGIN) LIBS="$LIBS -lutil") -AC_CHECK_LIB(rx, regcomp, AC_DEFINE(HAVE_LIBRX) LIBS="$LIBS -lrx") +AC_CHECK_LIB(pcre, pcre_info, + AC_DEFINE(HAVE_LIBPCRE) LIBS="$LIBS -lpcreposix -lpcre") if test -z "$no_libsocket" ; then AC_CHECK_LIB(nsl, yp_match, , ) @@ -490,6 +498,11 @@ else fi fi +# Cheap hack to ensure NEWS-OS libraries are arranged right. +if test ! -z "$SONY" ; then + LIBS="$LIBS -liberty"; +fi + # Checks for data types AC_CHECK_SIZEOF(char, 1) AC_CHECK_SIZEOF(short int, 2) |