Bob Lockie <bjlockie@xxxxxxxxx> writes: > I want to have the following but having the text AH_TEMPLATE is picked up > by autoheader and a blank #undef is created. > > AC_CHECK_FILE( [acconfig.h], AC_MSG_ERROR( [the config template is created > by the AH_TEMPLATE commands in configure.in|ac so delete acconfig.h] ), ) Try enclosing the second argument of AC_CHECK_FILE in []. Underquoted arguments are the topmost source of errors. 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."