Grzegorz Jakacki <jakacki@xxxxxxxxxx> writes: > Hi, > > In Makefile.in I would like to put something like this: > > test: > if test x@prefix@ = x@abs_top_builddir@/testing; then \ > $(MAKE) real-test; \ > else \ > ./configure --prefix=@abs_top_builddir@/testing \ $(srcdir)/configure ... > && $(MAKE) test; \ > fi > > My problem is that I shouldn't be simply calling './configure', since it > may have been called from another directory or with some options. Is there > a way to get a grip on configure's command line inside configure.ac ? $ac_configure_args Andreas. -- Andreas Schwab, SuSE Labs, schwab@xxxxxxx SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."