mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-29 09:06:15 +02:00
* Check for the pthread library (db4 needs it on some platforms).
This commit is contained in:
parent
949c4fa1a8
commit
dec8fbc52b
2 changed files with 4 additions and 1 deletions
|
@ -11,6 +11,8 @@ AC_PROG_CC
|
|||
AC_PROG_CXX
|
||||
AC_PROG_RANLIB
|
||||
|
||||
AC_CHECK_LIB(pthread, pthread_mutex_init)
|
||||
|
||||
AM_CONFIG_HEADER([config.h])
|
||||
AC_CONFIG_FILES([Makefile externals/Makefile src/Makefile scripts/Makefile
|
||||
corepkgs/Makefile corepkgs/fetchurl/Makefile
|
||||
|
|
3
externals/Makefile.am
vendored
3
externals/Makefile.am
vendored
|
@ -16,7 +16,8 @@ have-db:
|
|||
build-db: have-db
|
||||
(pfx=`pwd` && \
|
||||
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 install)
|
||||
touch build-db
|
||||
|
|
Loading…
Reference in a new issue