Thu Jun 2 18:47:13 PDT 2005
- Previous message: [Slony1-commit] By darcyb: Make slony bins obay --prefix when installing
- Next message: [Slony1-commit] By darcyb: repo the --PREFIX change, this evedently leades to
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message: ----------- Include PTHREAD_LIBS in LIBS under AIX, this is needed to work with --enable-thread-safety. ***note this change may be needed for other OS's that rely on PG bing compiled --thread safe*** Modified Files: -------------- slony1-engine: configure (r1.49 -> r1.50) slony1-engine/config: acx_libpq.m4 (r1.9 -> r1.10) -------------- next part -------------- Index: configure =================================================================== RCS file: /usr/local/cvsroot/slony1/slony1-engine/configure,v retrieving revision 1.49 retrieving revision 1.50 diff -Lconfigure -Lconfigure -u -w -r1.49 -r1.50 --- configure +++ configure @@ -5312,6 +5312,15 @@ fi + + +case ${host_os} in +aix*) + LIBS="$LIBS $PTHREAD_LIBS" +;; +esac + + TEMP_LDFLAGS=$LDFLAGS LDFLAGS="$TEMP_FLAGS -L$PG_LIBDIR" Index: acx_libpq.m4 =================================================================== RCS file: /usr/local/cvsroot/slony1/slony1-engine/config/acx_libpq.m4,v retrieving revision 1.9 retrieving revision 1.10 diff -Lconfig/acx_libpq.m4 -Lconfig/acx_libpq.m4 -u -w -r1.9 -r1.10 --- config/acx_libpq.m4 +++ config/acx_libpq.m4 @@ -119,6 +119,21 @@ dnl Make sure we have found the right values! dnl ----------------------------------------- +dnl ----------------------------------------- +dnl Because aix needs pg built with thread +dnl saftey we force PTHREAD_LIBS to be added +dnl to the test compile, there are more OS's +dnl that this may/should be done for +dnl + + +case ${host_os} in +aix*) + LIBS="$LIBS $PTHREAD_LIBS" +;; +esac + + TEMP_LDFLAGS=$LDFLAGS LDFLAGS="$TEMP_FLAGS -L$PG_LIBDIR"
- Previous message: [Slony1-commit] By darcyb: Make slony bins obay --prefix when installing
- Next message: [Slony1-commit] By darcyb: repo the --PREFIX change, this evedently leades to
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list