apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: apr-util/build dbm.m4
Date Mon, 05 Jan 2004 12:21:46 GMT
jorton      2004/01/05 04:21:46

  Modified:    build    dbm.m4
  Log:
  * build/dbm.m4 (APU_CHECK_BERKELEY_DB): Don't bother looking for BDB
  in directories which don't exist.  Also fix 'checking checking for...'
  message.
  
  Revision  Changes    Path
  1.8       +9 -3      apr-util/build/dbm.m4
  
  Index: dbm.m4
  ===================================================================
  RCS file: /home/cvs/apr-util/build/dbm.m4,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -b -d -u -r1.7 -r1.8
  --- dbm.m4	3 Jan 2004 15:26:39 -0000	1.7
  +++ dbm.m4	5 Jan 2004 12:21:46 -0000	1.8
  @@ -70,15 +70,21 @@
           description="$header and $lib"
         ;;
         * )
  +        if test -d $bdb_place; then
           LDFLAGS="$LDFLAGS -L$bdb_place/lib"
           CPPFLAGS="$CPPFLAGS -I$bdb_place/include"
  +        else
  +          AC_MSG_CHECKING([for Berkeley DB $bdb_version in $bdb_place])
  +          AC_MSG_RESULT([directory not found])
  +          continue
  +        fi
           description="$bdb_place"
         ;;
       esac
   
       # Since there is no AC_MSG_NOTICE in autoconf 2.13, we use this
       # trick to display a message instead.
  -    AC_MSG_CHECKING([checking for Berkeley DB $bdb_version in $description])
  +    AC_MSG_CHECKING([for Berkeley DB $bdb_version in $description])
       AC_MSG_RESULT()
   
       for bdb_libname in $bdb_default_search_lib_names; do
  
  
  

Mime
View raw message