Ticket #26207: patch-configure.ac.diff

File patch-configure.ac.diff, 1.1 KB (added by dbevans (David B. Evans), 14 years ago)

for the files directory

  • configure.ac

    old new  
    181181AM_CPPFLAGS="$WARNING_FLAGS -fno-strict-aliasing"
    182182AC_SUBST(AM_CPPFLAGS)
    183183
    184 LDFLAGS="$LDFLAGS -Wl,--no-undefined"
     184dnl LDFLAGS="$LDFLAGS -Wl,--no-undefined"
    185185
    186186dnl ******************************
    187187dnl Initialize maintainer mode
     
    301301dnl ******************************
    302302dnl regex check
    303303dnl ******************************
    304 AC_CHECK_FUNCS(regexec,,[AC_CHECK_LIB(regex,regexec,
    305                         [REGEX_LIBS=-lregex
     304AC_CHECK_FUNCS(regexec,,[AC_CHECK_LIB(gnuregex,regexec,
     305                        [REGEX_LIBS=-lgnuregex
    306306                        AC_DEFINE(HAVE_REGEXEC,1,[Define to 1 if you have the regexec function.])],
    307307                        [AC_MSG_ERROR([No regex library found])])])
    308308AC_SUBST(REGEX_LIBS)
     
    315315        [Prefix where libdb is installed]),
    316316        [libdb_prefix="$withval"], [libdb_prefix='${prefix}'])
    317317
    318 DB_CFLAGS="-I$libdb_prefix/include"
    319 DB_LIBS="-L$libdb_prefix/lib -ldb"
     318DB_CFLAGS="-I$prefix/include/db46"
     319DB_LIBS="-L$prefix/lib/db46 -ldb"
    320320
    321321AC_MSG_CHECKING([Berkeley DB])
    322322save_cflags=$CFLAGS; CFLAGS=$DB_CFLAGS