* Check for the pthread library (db4 needs it on some platforms).

This commit is contained in:
Eelco Dolstra 2003-07-28 14:13:42 +00:00
parent 949c4fa1a8
commit dec8fbc52b
2 changed files with 4 additions and 1 deletions

View file

@ -11,6 +11,8 @@ AC_PROG_CC
AC_PROG_CXX AC_PROG_CXX
AC_PROG_RANLIB AC_PROG_RANLIB
AC_CHECK_LIB(pthread, pthread_mutex_init)
AM_CONFIG_HEADER([config.h]) AM_CONFIG_HEADER([config.h])
AC_CONFIG_FILES([Makefile externals/Makefile src/Makefile scripts/Makefile AC_CONFIG_FILES([Makefile externals/Makefile src/Makefile scripts/Makefile
corepkgs/Makefile corepkgs/fetchurl/Makefile corepkgs/Makefile corepkgs/fetchurl/Makefile

View file

@ -16,7 +16,8 @@ have-db:
build-db: have-db build-db: have-db
(pfx=`pwd` && \ (pfx=`pwd` && \
cd $(DB)/build_unix && \ cd $(DB)/build_unix && \
CC=$(CC) CXX=$(CXX) ../dist/configure --prefix=$$pfx/inst --enable-cxx --disable-shared && \ CC=$(CC) CXX=$(CXX) ../dist/configure --prefix=$$pfx/inst \
--enable-cxx --disable-shared && \
make && \ make && \
make install) make install)
touch build-db touch build-db