X-Git-Url: http://git.jankratochvil.net/?p=udpgate.git;a=blobdiff_plain;f=configure.ac;h=ac82242c14804dba6f1f2be6b1070ebd67dc6b49;hp=9d3c40b02144c4570e4dd44ba1307ce94d4eec14;hb=b2f9cb29d7978ecd1c27b76670d8a99f4acd85ed;hpb=94f282965ea2f160cd58627e9c6123a3acd46798 diff --git a/configure.ac b/configure.ac index 9d3c40b..ac82242 100644 --- a/configure.ac +++ b/configure.ac @@ -58,8 +58,16 @@ AM_CONDITIONAL(MAINTAINER_MODE,[test "$USE_MAINTAINER_MODE" = "yes"]) AC_ARG_ENABLE(man-pages, [ --enable-man-pages=no/yes/auto pod2man(1) required for man pages (def.=yes)],,enable_man_pages=yes) +AC_ARG_ENABLE(bundle, + [ --enable-bundle Build single binary containing locale and init.d files (def.=no)],,enable_bundle=no) +AM_CONDITIONAL(ENABLE_BUNDLE,[ test "x$enable_bundle" = "xyes" ]) +if test "x$enable_bundle" = "xyes" +then + AC_DEFINE(ENABLE_BUNDLE,,[Build single binary containing locale and init.d files.]) +fi + PERL= AC_PATH_PROGS(PERL,perl5 perl) AM_CONDITIONAL(HAVE_PERL,test -n "$PERL") @@ -235,6 +243,7 @@ udpgate.spec ./macros/glade-w.sh Makefile ./macros/Makefile +./init.d/Makefile ./src/Makefile ])