[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdesdk/kbabel/kbabeldict/modules/dbsearchengine
From:       Adriaan de Groot <groot () kde ! org>
Date:       2004-07-21 23:16:35
Message-ID: 20040721231635.73E8D9A03 () office ! kde ! org
[Download RAW message or body]

CVS commit by adridg: 

Add more specific location of db4 for systems that don't drop it in the standard includes


  M +15 -0     configure.in.in   1.15


--- kdesdk/kbabel/kbabeldict/modules/dbsearchengine/configure.in.in  #1.14:1.15
@@ -14,4 +14,12 @@
        ac_db_libraries="$withval"/lib
     ])
+AC_ARG_WITH(db-include-dir,
+    AC_HELP_STRING([--with-db-include-dir=DIR],[where the includes of Berkeley DB IV are installed]),
+    [  ac_db_includes="$withval"
+    ])
+AC_ARG_WITH(db-lib-dir,
+    AC_HELP_STRING([--with-db-lib-dir=DIR],[where the libs of Berkeley DB IV are installed]),
+    [  ac_db_libraries="$withval"
+    ])
 AC_ARG_WITH(db-name,
     AC_HELP_STRING([--with-db-name=NAME],[name of the Berkeley DB IV library (default db)]),
@@ -92,4 +100,11 @@
    AC_MSG_RESULT(-ldb4) 
    AC_DEFINE_UNQUOTED(HAVE_DB4_DB_H, 1, [DB 4 header location] )
+   ;;
+ $ac_db_name)
+   LIB_DBIV="-l$ac_db_name"
+   kde_db_header=db.h
+   AC_MSG_RESULT(user specified $ac_db_name)
+   AC_DEFINE_UNQUOTED(HAVE_DB_DB_H, 1, [DB 4 header location] )
+   ;;
 esac
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic