Hi, I am new to autoconf,autoheader, etc and I'd like to use a predefined header template like: my_tool.h.in /* My header input file */ #include my.h #undef HAVE_FEATURE_1 #undef HAVE_FEATURE_2 #ifdef HAVE_FEATURE_1 #include my_1.h #endif /* Some comment */ The configure.in I imagine like: AC_ARG_ENABLE(feature1, [ --enable-feature1 enable feature 1(default=no) ], [ if test "$enableeval" != "no" ; then AC_DEFINE(HAVE_FEATURE_1,1,"Have Feature 1") fi ]) AC_ARG_ENABLE(feature2, [ --enable-feature2 enable feature 2(default=no) ], [ if test "$enableeval" != "no" ; then AC_DEFINE(HAVE_FEATURE_2,1,"Have Feature 2") fi ]) AC_CONFIG_HEADER(my_tool.h) AC_OUTPUT() If I do so my predefined my_tool.h gets overwritten. Is there a way to use a predefined template file ? Thank you Markus _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf