I'm trying to add autotools support to a program I wrote, but got stuck here. When I make dist, it creates
AC_PACKAGE_TARNAME-AC_PACKAGE_VERSION.tar.gz
literally, but I would like it to create alignrows-0.0.1. Here's configure.in:
AC_INIT(main.c)
VERSION=0.0.1
AM_INIT_AUTOMAKE(alignrows,$VERSION,no-define)
AM_CONFIG_HEADER(config.h)
dnl find and test the C compiler
AC_PROG_CC
AC_LANG_C
AC_PROG_MAKE_SET
AM_PATH_GSL(1.6)
AC_HEADER_STDC
AM_INIT_AUTOMAKE
dnl read Makefile.in and write Makefile
AC_OUTPUT(Makefile)
and here's Makefile.am:
AUTOMAKE_OPTIONS = gnu
LDADD = -lnetpbm -lm
bin_PROGRAMS = alignrows
alignrows_SOURCES = main.c
Thanks for any help,
Issac
_______________________________________________ vox-tech mailing list [email protected] http://lists.lugod.org/mailman/listinfo/vox-tech
