Fixed 'distfiles' target after the removal of 'BUILT_SOURCES'.
[udpgate.git] / configure.ac
index 8cbaf6a..ac82242 100644 (file)
@@ -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")
@@ -200,11 +208,11 @@ AC_CHECK_LIB(popt,poptParseArgvString,[POPT_LIBS="-lpopt"],[AC_MSG_ERROR([UDPGat
 AC_SUBST(POPT_LIBS)
 
 GLADE_W_INIT([
-       ./src/install/acquire/ui-gnome-interface.c
-       ./src/install/acquire/ui-gnome-interface.h
-       ./src/install/acquire/ui-gnome-callbacks.h
-       ./src/install/acquire/ui-gnome-support.c
-       ./src/install/acquire/ui-gnome-support.h
+       ./src/ui-gnome-interface.c
+       ./src/ui-gnome-interface.h
+       ./src/ui-gnome-callbacks.h
+       ./src/ui-gnome-support.c
+       ./src/ui-gnome-support.h
        ])
 AC_SUBST(GNOMEUI_CFLAGS)
 AC_SUBST(GNOMEUI_LIBS)
@@ -235,6 +243,7 @@ udpgate.spec
 ./macros/glade-w.sh
 Makefile
 ./macros/Makefile
+./init.d/Makefile
 ./src/Makefile
 ])