Changeset 9a6060c147e3f375f75141efe7884a911021d87e for configure.in
- Timestamp:
- 03/04/08 18:13:56 (5 years ago)
- git-parent:
- Files:
-
- configure.in (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
configure.in
rbffc38f r9a6060c 71 71 ] 72 72 ) 73 AC_CHECK_LIB(pq, PQconnectdb, , 73 74 SAVELIBS="$LIBS" 75 AC_CHECK_LIB(pq, PQconnectdb, 76 [ 77 LIBS="$LIBS -lpq" 78 PGLIBS="$LIBS" 79 AC_SUBST(PGLIBS) 80 ], 74 81 [ 75 82 AC_MSG_ERROR([libpq required]) … … 81 88 [ AC_MSG_ERROR([Cannot compile/link against libpq]) ] 82 89 ) 90 LIBS="$SAVELIBS" 91 92 ######## 93 # 94 # CHECK FOR VARIOUS MODULE CRITERIA 95 # We don't track the libs themselves, as we'll just explictly link 96 # against the in the makefile if we enable them to build (by adding 97 # them to the BUILD_MODULES list). 98 # 99 ######## 100 101 # Should we build snmp checks? 102 SAVELIBS="$LIBS" 103 AC_CHECK_LIB(netsnmp, snmp_sess_open, 104 [ 105 BUILD_MODULES="$BUILD_MODULES snmp.$MODULEEXT" 106 ], 107 [ 108 AC_MSG_ERROR([No libnetsnmp, skipping snmp module]) 109 ] 110 ) 111 LIBS="$SAVELIBS" 83 112 84 113 AC_MSG_CHECKING([libxml2 cflags]) … … 296 325 fi 297 326 327 AC_SUBST(BUILD_MODULES) 328 298 329 docdir="docs" 299 330 mansubdir="man"
