X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=m4%2Fopenvswitch.m4;h=939f29617e346a1932bfa6d6195c93a47f994bde;hb=f973f2af2fd4452c8e182caf6a4346cf2a2a394e;hp=eca6010f5d8988b39630594e2dcf1a4414d9a703;hpb=01ca539f5c89fab1ea9a355d4cb75383dfb25da5;p=sliver-openvswitch.git diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4 index eca6010f5..939f29617 100644 --- a/m4/openvswitch.m4 +++ b/m4/openvswitch.m4 @@ -132,6 +132,16 @@ AC_DEFUN([OVS_CHECK_LOGDIR], [LOGDIR='${localstatedir}/log/${PACKAGE}']) AC_SUBST([LOGDIR])]) +dnl Checks for the directory in which to store the Open vSwitch database. +AC_DEFUN([OVS_CHECK_DBDIR], + [AC_ARG_WITH( + [dbdir], + AC_HELP_STRING([--with-dbdir=DIR], + [directory used for conf.db [[SYSCONFDIR/PACKAGE]]]), + [DBDIR=$withval], + [DBDIR='${sysconfdir}/${PACKAGE}']) + AC_SUBST([DBDIR])]) + dnl Defines HAVE_BACKTRACE if backtrace() is declared in dnl and exists in libc. AC_DEFUN([OVS_CHECK_BACKTRACE],