Hey again, Even know I can, and most vala-based programs do this way, I want to have more control on this. It's not I don't trust automake, I just want that --enable-vala option would work, so if is essential. % ./configure --help ... --disable-vala compile C source only, never compile with vala (default: enabled if possible) --enable-vala compile vala source to C, if possible (default: yes) ... Why do I do this? First, there is no harm for letting the user decide. Secondly, I use --disable-vala just to test weather gcc only would work. Does my approach is wrong, or not recommended? Because as default, it will do what you've said. Tal > Subject: RE: distclean rule works well, but distcheck said it doesn't. > From: nicolai.stange@xxxxxxx > To: tal_hd@xxxxxxxxxxx > Date: Mon, 15 Aug 2011 12:26:06 +0200 > CC: autoconf@xxxxxxx > > Am Montag, den 15.08.2011, 12:55 +0300 schrieb Tal Hadad: > > By the way, for enabling the --enable-vala option, I cahged the code, so here's the if statement: > > if USE_VALA > > GNOME_MPRIS_Applet_PACKAGES=@applet_PACKAGES@ > > GNOME_MPRIS_Applet_SOURCES = \ > > $(GNOME_MPRIS_Applet_VALASOURCES) > > > > VALAFLAGS= \ > > $(GNOME_MPRIS_Applet_PACKAGES) > > else > > GNOME_MPRIS_Applet_SOURCES = \ > > $(GNOME_MPRIS_Applet_VALABUILTSOURCES) > > endif > > I guess you even don't need this conditional. > GNOME_MPRIS_Applet_SOURCES = \ > $(GNOME_MPRIS_Applet_VALASOURCES) > together with AM_PROG_VALAC in your configure.ac > should suffice. According to the docs, this will also work for users > without a valac installation. > > > _______________________________________________ > Autoconf mailing list > Autoconf@xxxxxxx > https://lists.gnu.org/mailman/listinfo/autoconf _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx https://lists.gnu.org/mailman/listinfo/autoconf