Tag
Hash :
37506386
Author :
Date :
2001-07-27T00:02:43
* automake.in (am_print_error): New function. (am_error): Use it. (am_file_error): Likewise. (am_line_error): Likewise. (am_conf_error): Likewise. (am_conf_line_error): Likewise. * automake.texi (Options): Document no-exeext. * automake.in (handle_options): Recognize no-exeext. (rule_define): Handle no-exeext. * tests/Makefile.am (TESTS): Added new file. * tests/exeext2.test: New file. * automake.in (make_input_list): Removed. (scan_autoconf_config_files): Don't add to make_input_list. (scan_one_autoconf_file): Don't use make_input_list. (scan_autoconf_files): Use make_list, not make_input_list. (scan_autoconf_files): Likewise. * automake.in (seen_exeext): Removed. (generate_makefile): Don't define EXEEXT or OBJEXT. (scan_one_autoconf_file): Don't check for AC_EXEEXT. (am_install_var): Don't check $seen_exeext. (handle_programs): Likewise. (rule_define): Allow x to override x$(EXEEXT), for now. (file_contents_internal): Only define rule if rule_define allows us to. * m4/init.m4 (AM_INIT_AUTOMAKE): Define EXEEXT and OBJEXT.
#! /bin/sh
# Make sure no-exeext option works.
. $srcdir/defs || exit 1
cat >> configure.in << 'END'
AC_PROG_CC
AC_EXEEXT
END
cat > Makefile.am << 'END'
bin_PROGRAMS = maude
maude:
yeah
END
$ACLOCAL
$AUTOMAKE --Werror && exit 1
echo 'AUTOMAKE_OPTIONS = no-exeext' >> Makefile.am
$AUTOMAKE --Werror