diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-07-28T14·13+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-07-28T14·13+0000 |
commit | dec8fbc52bab9cc19ac97c422e79e40fa70c2b13 (patch) | |
tree | 3d0050bd594df4fe555121b3fd33f9d8c73b49a8 | |
parent | 949c4fa1a863a804bdf1f985b55d5259f18838ae (diff) |
* Check for the pthread library (db4 needs it on some platforms).
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | externals/Makefile.am | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index e60895ff7e2e..57861063de43 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/externals/Makefile.am b/externals/Makefile.am index 543c93f6db2a..01ef93455169 100644 --- a/externals/Makefile.am +++ b/externals/Makefile.am @@ -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 |