X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=configure.in;h=07d73997d1db326b808a4b9b0e983f8a510c093e;hb=d1b702b1220d45e441b2b9597a8cf58edb51a653;hp=d68f4f139042ce4f00df03686e1769a297ac64b3;hpb=c05210483d82bf5f3786725ff80e12444088a701;p=mmh diff --git a/configure.in b/configure.in index d68f4f1..07d7399 100644 --- a/configure.in +++ b/configure.in @@ -53,8 +53,7 @@ AC_ARG_ENABLE(masquerade, masquerade="draft_from mmailid username_extension" else masquerade="$enable_masquerade" - fi], - masquerade="draft_from mmailid username_extension") + fi], [masquerade="draft_from mmailid username_extension"]) AC_SUBST(masquerade)dnl dnl Do you want mhe support? @@ -471,7 +470,7 @@ AC_HEADER_TIOCGWINSZ AC_CHECK_HEADERS(string.h memory.h stdlib.h unistd.h errno.h fcntl.h \ limits.h crypt.h termcap.h termio.h termios.h locale.h \ langinfo.h wchar.h wctype.h iconv.h netdb.h \ - sys/param.h sys/time.h sys/utsname.h sys/stream.h \ + sys/param.h sys/time.h sys/stream.h \ arpa/inet.h arpa/ftp.h) dnl @@ -660,6 +659,18 @@ else AC_SUBST(NDBM_LIBS) fi +dnl ------------------ +dnl Set RPM build root +dnl ------------------ +dnl nmhrpm is used in the final summary, see below. The default value is +dnl reported there as ./RPM, consistent with the reporting of the default +dnl source code location as ., but its absolute path is used in the Makefile. +AC_ARG_WITH(rpmdir, + AS_HELP_STRING([--with-rpmdir=RPMDIR], [RPM build directory @<:@RPM@:>@])) + AS_IF([test x"$with_rpmdir" = x], [rpmdir='$(abs_srcdir)/RPM'; nmhrpm=./RPM], + [rpmdir="$with_rpmdir"; eval "nmhrpm=${rpmdir}"]) +AC_SUBST(rpmdir) + dnl -------------------- dnl CHECK FOR CYRUS-SASL @@ -979,6 +990,7 @@ eval "nmhbin=${bindir}"; eval "nmhbin=${nmhbin}" eval "nmhsysconf=${sysconfdir}"; eval "nmhsysconf=${nmhsysconf}" eval "nmhlib=${libdir}"; eval "nmhlib=${nmhlib}" eval "nmhman=${mandir}"; eval "nmhman=${nmhman}" +eval "nmhrpm=${nmhrpm}"; pop_kinds=no if test x"$enable_pop" = x"yes"; then @@ -1005,6 +1017,7 @@ binary install path : ${nmhbin} library install path : ${nmhlib} config files install path : ${nmhsysconf} man page install path : ${nmhman} +RPM build root : ${nmhrpm} backup prefix : ${backup_prefix} transport system : ${MTS} file locking type : ${LOCKTYPE}