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 \ && $(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 ? BR Grzegorz ################################################################## # Grzegorz Jakacki Huada Electronic Design # # Senior Engineer, CAD Dept. 1 Gaojiayuan, Chaoyang # # tel. +86-10-64365577 x2074 Beijing 100015, China # # Copyright (C) 2003 Grzegorz Jakacki, HED. All Rights Reserved. # ##################################################################