Hi! (I'm not on the autoconf list, please CC me...)
In one of the ggi libraries we use AC_SUBST_FILE to insert some extra symbols to be exported from a library. These symbols are determined by configure. The exported symbols are listed in EXPSYMS.in which basically looks something like this: ------8<------ foo [EMAIL PROTECTED]@ ------8<------ configure then creates a file EXPSYMS.extra with this content (depending on which extra symbols are needed): ------8<------ _extra_foo _extra_bar ------8<------ and finally configure does this: EXTRA_SYMBOLS=EXPSYMS.extra AC_SUBST_FILE(EXTRA_SYMBOLS) AC_CONFIG_FILES([EXPSYMS]) With autoconf 2.59 this yields this EXPSYMS file: ------8<------ foo bar _extra_foo _extra_bar ------8<------ which is what is desired. With autoconf-cvs the @EXTRA_SYMBOLS@ is no longer found (it has to be alone on the line, or perhaps first on the line?). Moving @EXTRA_SYMBOLS@ to a line of its own is not a solution here since the EXPSYMS file should not have any blank lines. Should we stop (ab?)using AC_SUBST_FILE and just create the EXPSYMS file we need w/o help from autoconf? Cheers, Peter
