From d1f4ba08df3844a0d6af5e39ac66e724e68c32b3 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 10 Nov 2004 03:08:59 +0000 Subject: r3651: Add a new configure option --with-eparserdir This allows us to call 'make eparser_idl', generate the files required by the ethereal pidl plugin, and put them in the right place. (See lorikeet/ethereal) Andrew Bartlett (This used to be commit bd9497b092335b2646a1955ea7c55ad33eb7d538) --- source4/build/smb_build/check_path.m4 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'source4/build/smb_build/check_path.m4') diff --git a/source4/build/smb_build/check_path.m4 b/source4/build/smb_build/check_path.m4 index bfd15d3d8c..5ceda46d87 100644 --- a/source4/build/smb_build/check_path.m4 +++ b/source4/build/smb_build/check_path.m4 @@ -107,6 +107,24 @@ AC_ARG_WITH(logfilebase, ;; esac]) +################################################# +# set configuration directory location +eparserdir="" + +AC_ARG_WITH(eparserdir, +[ --with-eparserdir=DIR Where to put output for the Ethereal/PIDL plugin], +[ case "$withval" in + yes|no) + # + # Just in case anybody does it + # + AC_MSG_ERROR([--with-eparserdir called without argument]) + ;; + * ) + eparserdir="$withval" + ;; + esac]) + AC_SUBST(configdir) AC_SUBST(lockdir) AC_SUBST(piddir) @@ -114,6 +132,7 @@ AC_SUBST(logfilebase) AC_SUBST(privatedir) AC_SUBST(bindir) AC_SUBST(sbindir) +AC_SUBST(eparserdir) debug=no AC_ARG_ENABLE(debug, -- cgit