Ticket #26207: patch-configure.ac.diff
File patch-configure.ac.diff, 1.1 KB (added by dbevans (David B. Evans), 14 years ago) |
---|
-
configure.ac
old new 181 181 AM_CPPFLAGS="$WARNING_FLAGS -fno-strict-aliasing" 182 182 AC_SUBST(AM_CPPFLAGS) 183 183 184 LDFLAGS="$LDFLAGS -Wl,--no-undefined"184 dnl LDFLAGS="$LDFLAGS -Wl,--no-undefined" 185 185 186 186 dnl ****************************** 187 187 dnl Initialize maintainer mode … … 301 301 dnl ****************************** 302 302 dnl regex check 303 303 dnl ****************************** 304 AC_CHECK_FUNCS(regexec,,[AC_CHECK_LIB( regex,regexec,305 [REGEX_LIBS=-l regex304 AC_CHECK_FUNCS(regexec,,[AC_CHECK_LIB(gnuregex,regexec, 305 [REGEX_LIBS=-lgnuregex 306 306 AC_DEFINE(HAVE_REGEXEC,1,[Define to 1 if you have the regexec function.])], 307 307 [AC_MSG_ERROR([No regex library found])])]) 308 308 AC_SUBST(REGEX_LIBS) … … 315 315 [Prefix where libdb is installed]), 316 316 [libdb_prefix="$withval"], [libdb_prefix='${prefix}']) 317 317 318 DB_CFLAGS="-I$ libdb_prefix/include"319 DB_LIBS="-L$ libdb_prefix/lib-ldb"318 DB_CFLAGS="-I$prefix/include/db46" 319 DB_LIBS="-L$prefix/lib/db46 -ldb" 320 320 321 321 AC_MSG_CHECKING([Berkeley DB]) 322 322 save_cflags=$CFLAGS; CFLAGS=$DB_CFLAGS