Ticket #32325: patch-configure.ac.diff
File patch-configure.ac.diff, 1.4 KB (added by dbevans (David B. Evans), 13 years ago) |
---|
-
configure.ac
old new 145 145 dnl Compiler Warning Flags 146 146 dnl ****************************** 147 147 AS_COMPILER_FLAGS(WARNING_FLAGS, 148 "-DG_DISABLE_DEPRECATED 149 -DPANGO_DISABLE_DEPRECATED 150 -DGDK_DISABLE_DEPRECATED 148 " -DPANGO_DISABLE_DEPRECATED 151 149 -DGDK_PIXBUF_DISABLE_DEPRECATED 152 150 -DG_DISABLE_SINGLE_INCLUDES 153 151 -DGTK_DISABLE_SINGLE_INCLUDES … … 181 179 AM_CPPFLAGS="$WARNING_FLAGS -fno-strict-aliasing" 182 180 AC_SUBST(AM_CPPFLAGS) 183 181 184 LDFLAGS="$LDFLAGS -Wl,--no-undefined"182 dnl LDFLAGS="$LDFLAGS -Wl,--no-undefined" 185 183 186 184 dnl ****************************** 187 185 dnl Initialize maintainer mode … … 301 299 dnl ****************************** 302 300 dnl regex check 303 301 dnl ****************************** 304 AC_CHECK_FUNCS(regexec,,[AC_CHECK_LIB( regex,regexec,305 [REGEX_LIBS=-l regex302 AC_CHECK_FUNCS(regexec,,[AC_CHECK_LIB(gnuregex,regexec, 303 [REGEX_LIBS=-lgnuregex 306 304 AC_DEFINE(HAVE_REGEXEC,1,[Define to 1 if you have the regexec function.])], 307 305 [AC_MSG_ERROR([No regex library found])])]) 308 306 AC_SUBST(REGEX_LIBS) … … 315 313 [Prefix where libdb is installed]), 316 314 [libdb_prefix="$withval"], [libdb_prefix='${prefix}']) 317 315 318 DB_CFLAGS="-I$ libdb_prefix/include"319 DB_LIBS="-L$ libdb_prefix/lib-ldb"316 DB_CFLAGS="-I$prefix/include/db46" 317 DB_LIBS="-L$prefix/lib/db46 -ldb" 320 318 321 319 AC_MSG_CHECKING([Berkeley DB]) 322 320 save_cflags=$CFLAGS; CFLAGS=$DB_CFLAGS