diff options
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -48,6 +48,8 @@ Optional features: --enable-pkgconfig Build and install .pc files for pkg-config [disabled] --enable-slashpackage[=ROOT] assume /package installation at ROOT [disabled] --enable-absolute-paths hardcode absolute BINDIR/foobar paths in binaries [disabled] + --with-qmail-home=DIR qmail installation directory [/var/qmail] + --with-qmailr-ids=uid:gid qmail-remote user:group [qmailr:qmail] EOF exit 0 @@ -168,7 +170,8 @@ deplibpath='' vpaths='' vpathd='' build= - +qmailhome=/var/qmail +qmailrids=qmailr:qmail for arg ; do case "$arg" in @@ -206,7 +209,8 @@ for arg ; do --disable-slashpackage) sproot= ; slashpackage=false ;; --enable-absolute-paths|--enable-absolute-paths=yes) abspath=true ;; --disable-absolute-paths|--enable-absolute-paths=no) abspath=false ;; - + --with-qmail-home=*) qmailhome=${arg#*=} ;; + --with-qmailr-ids=*) qmailrids=${arg#*=} ;; --enable-*|--disable-*|--with-*|--without-*|--*dir=*) ;; --enable-*|--disable-*|--with-*|--without-*|--*dir=*) ;; --host=*|--target=*) target=${arg#*=} ;; @@ -235,7 +239,7 @@ fi # Expand installation directories stripdir prefix -for i in exec_prefix dynlibdir libexecdir bindir libdir includedir sysconfdir pkgconfdir sysdeps sproot ; do +for i in exec_prefix dynlibdir libexecdir bindir libdir includedir sysconfdir pkgconfdir sysdeps sproot qmailhome ; do eval tmp=\${$i} eval $i=$tmp stripdir $i @@ -512,6 +516,8 @@ if $allpic ; then else echo "STATIC_LIBS_ARE_PIC :=" fi +echo "QMAIL_HOME := $qmailhome" +echo "QMAILR_IDS := $qmailrids" exec 1>&3 3>&- echo " ... done." @@ -544,6 +550,8 @@ else fi echo "#define ${package_macro_name}_LIBEXECPREFIX \"$libexecdir/\"" echo "#define ${package_macro_name}_SYSCONFPREFIX \"$sysconfdir/\"" +echo "#undef ${package_macro_name}_QMAIL_HOME" +echo "#define ${package_macro_name}_QMAIL_HOME \"$qmailhome\"" echo echo "#endif" |
