Show
Ignore:
Timestamp:
2007-04-05 15:21:47 (22 months ago)
Author:
Brendan Cully <brendan@…>
Branch:
HEAD
Message:

Teach --with-gdbm to accept a prefix (closes #2413)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • configure.ac

    r5066 r5069  
    844844    fi 
    845845 
    846     ac_prefer_gdbm=yes 
    847     AC_ARG_WITH(gdbm, AC_HELP_STRING([--without-gdbm], [Don't use gdbm even if it is available]), 
    848         ac_prefer_gdbm=$withval) 
    849     if test x$ac_prefer_gdbm != xno -a x$ac_cv_vlopen != xyes; then 
     846    AC_ARG_WITH(gdbm, AC_HELP_STRING([--without-gdbm], [Don't use gdbm even if it is available])) 
     847    if test x$with_gdbm != xno -a x$ac_cv_vlopen != xyes; then 
     848        if test "$with_gdbm" != "yes" 
     849        then 
     850          CPPFLAGS="$CPPFLAGS -I$with_gdbm/include" 
     851          LDFLAGS="$LDFLAGS -L$with_gdbm/lib" 
     852        fi 
    850853        CPPFLAGS="$OLDCPPFLAGS" 
    851854        LIBS="$OLDLIBS -lgdbm";