2010-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+ Fix getopt tests to skip with Autoconf < 2.61.
+ * tests/getopt-m4sh.at (_LT_AT_GETOPT_M4SH_SETUP): Skip the test
+ if 'autom4te --language=m4sh' exits 63 because version 2.61 is
+ required. Allows the testsuite to complete successfully with
+ Autoconf 2.59 and Automake 1.9.6.
+
Tidy and fix clean and distclean rules for old testsuite.
* Makefile.am (clean-local-legacy): Use $(CONF_SUBDIRS) instead
of hard-coding the list of test directories. Use
]])
m4_pattern_forbid([m4_include])
m4_pattern_forbid([AS_INIT])
-
-$M4SH -B $abs_top_srcdir/libltdl/config options.m4sh \
- | $SED \
- -e "s,@LN_S\@,$LN_S,g" \
- -e "s,@SED\@,$SED,g" \
- > options
+AT_CHECK([$M4SH -B $abs_top_srcdir/libltdl/config options.m4sh > t-options],
+ [], [], [], [AT_CHECK([test $at_status -eq 63 && exit 77])])
+$SED "s,@LN_S\@,$LN_S,g;s,@SED\@,$SED,g" t-options > options
])# _LT_AT_GETOPT_M4SH_SETUP