Hi, I added getopt in my packages, following the documentation. Here are the fixes I needed in Section 2.1:
LIBADD = lib/libgnu.la becomes LDADD = $(top_builddir)/lib/libgnu.a - no .la in the common case - switching to LDADD (LIBADD doesn't seem to work, app_LIBADD produces an Automake error) - adding $(top_builddir) Note: even when "adding `gl_SOURCE_BASE(DIRECTORY)' and `gl_M4_BASE(DIRECTORY)' to your configure.ac." it seems I need to explicitely specify --source-base=DIRECTORY and --m4-base=DIRECTORY during the first import. Note2: nice Git work in gnulib-tool :) But ignoring almost all files in .gitignore is a bit puzzling - git status won't show them and you're likely to miss them during the import. Why is it the case? -- Sylvain