+bimagemgr_docdir=/var/www/html
+AC_ARG_WITH(bimagemgr-docdir,
+ [ --with-bimagemgr-docdir=DIR specify bimagemgr doc root dir],
+ [
+ if test "x$withval" != "xno" ; then
+ bimagemgr_docdir=$withval
+ fi
+ ]
+)
+
+bimagemgr_binowner=root
+AC_ARG_WITH(bimagemgr-binowner,
+ [ --with-bimagemgr-binowner=USER specify bimagemgr binary file owner],
+ [
+ if test "x$withval" != "xno" ; then
+ bimagemgr_binowner=$withval
+ fi
+ ]
+)
+
+bimagemgr_bingroup=root
+AC_ARG_WITH(bimagemgr-bingroup,
+ [ --with-bimagemgr-bingroup=USER specify bimagemgr binary file group],
+ [
+ if test "x$withval" != "xno" ; then
+ bimagemgr_bingroup=$withval
+ fi
+ ]
+)
+
+bimagemgr_dataowner=apache
+AC_ARG_WITH(bimagemgr-dataowner,
+ [ --with-bimagemgr-dataowner=USER specify bimagemgr data file owner],
+ [
+ if test "x$withval" != "xno" ; then
+ bimagemgr_dataowner=$withval
+ fi
+ ]
+)
+
+bimagemgr_datagroup=apache
+AC_ARG_WITH(bimagemgr-datagroup,
+ [ --with-bimagemgr-datagroup=USER specify bimagemgr data file group],
+ [
+ if test "x$withval" != "xno" ; then
+ bimagemgr_datagroup=$withval
+ fi
+ ]
+)
+
+AC_SUBST(bimagemgr_cgidir)
+AC_SUBST(bimagemgr_docdir)
+AC_SUBST(bimagemgr_binowner)
+AC_SUBST(bimagemgr_bingroup)
+AC_SUBST(bimagemgr_dataowner)
+AC_SUBST(bimagemgr_datagroup)